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F,EAAmBzlB,KAAOqlB,EAAqBM,KAAK,KAAMF,EAAmBzlB,KAAK2lB,KAAKF,I,GC/CvF,IAAIG,EAAsBjD,EAAoBY,OAAE9Y,EAAW,CAAC,MAAM,WAAa,OAAOkY,EAAoB,SAC1GiD,EAAsBjD,EAAoBY,EAAEqC,I","sources":["webpack://glortire-frontend/./src/App.vue","webpack://glortire-frontend/./src/App.vue?d5d2","webpack://glortire-frontend/./src/views/Home.vue?bf35","webpack://glortire-frontend/./src/views/Home.vue?a375","webpack://glortire-frontend/./src/views/Home.vue","webpack://glortire-frontend/./src/assets/images/logo.svg","webpack://glortire-frontend/./src/views/Login.vue?f2b3","webpack://glortire-frontend/./src/router/routes.ts","webpack://glortire-frontend/./src/api/sub/base-api.ts","webpack://glortire-frontend/./src/api/sub/admin-api.ts","webpack://glortire-frontend/./src/api/sub/user-api.ts","webpack://glortire-frontend/./src/api/index.ts","webpack://glortire-frontend/./src/components/Loader.vue?881c","webpack://glortire-frontend/./src/components/Loader.vue?c61b","webpack://glortire-frontend/./src/components/Loader.vue","webpack://glortire-frontend/./src/views/Login.vue?d764","webpack://glortire-frontend/./src/views/Login.vue","webpack://glortire-frontend/./src/views/ResetPassword.vue?9c74","webpack://glortire-frontend/./src/components/Modal.vue?8d15","webpack://glortire-frontend/./src/components/Modal.vue?ebad","webpack://glortire-frontend/./src/components/Modal.vue","webpack://glortire-frontend/./src/views/ResetPassword.vue?213e","webpack://glortire-frontend/./src/views/ResetPassword.vue","webpack://glortire-frontend/./src/assets/images/logo_white.svg","webpack://glortire-frontend/./src/views/app/AppBase.vue?3deb","webpack://glortire-frontend/./src/components/AppDropdownMenu.vue?a610","webpack://glortire-frontend/./src/components/AppDropdownMenu.vue?ed2b","webpack://glortire-frontend/./src/components/AppDropdownMenu.vue","webpack://glortire-frontend/./src/views/app/AppBase.vue?8f92","webpack://glortire-frontend/./src/views/app/AppBase.vue","webpack://glortire-frontend/./src/views/app/AppCreate.vue?1ec0","webpack://glortire-frontend/./src/views/app/AppCreate.vue?e571","webpack://glortire-frontend/./src/views/app/AppCreate.vue","webpack://glortire-frontend/./src/views/app/AppSelect.vue?1dc3","webpack://glortire-frontend/./src/views/app/AppSelect.vue?1015","webpack://glortire-frontend/./src/views/app/AppSelect.vue","webpack://glortire-frontend/./src/views/Privacy.vue?c578","webpack://glortire-frontend/./src/views/Privacy.vue?df30","webpack://glortire-frontend/./src/views/Privacy.vue","webpack://glortire-frontend/./src/views/PrivacyIrish.vue?b32f","webpack://glortire-frontend/./src/views/PrivacyIrish.vue?aab5","webpack://glortire-frontend/./src/views/PrivacyIrish.vue","webpack://glortire-frontend/./src/views/app/tabs/AppDashboard.vue?0ddc","webpack://glortire-frontend/./src/components/RoundDropdownMenu.vue?cd4d","webpack://glortire-frontend/./src/components/RoundDropdownMenu.vue?64de","webpack://glortire-frontend/./src/components/RoundDropdownMenu.vue","webpack://glortire-frontend/./src/components/Button.vue?fe1a","webpack://glortire-frontend/./src/components/Button.vue?b7cd","webpack://glortire-frontend/./src/components/Button.vue","webpack://glortire-frontend/./src/components/AddPhoneVotesModal.vue?d26b","webpack://glortire-frontend/./src/components/AddPhoneVotesModal.vue?9ca3","webpack://glortire-frontend/./src/components/AddPhoneVotesModal.vue","webpack://glortire-frontend/./src/views/app/tabs/AppDashboard.vue?7b48","webpack://glortire-frontend/./src/views/app/tabs/AppDashboard.vue","webpack://glortire-frontend/./src/views/app/tabs/AppContestants.vue?619e","webpack://glortire-frontend/./src/types/types.ts","webpack://glortire-frontend/./src/components/ListComponent.vue?439a","webpack://glortire-frontend/./src/components/ListCell.vue?081d","webpack://glortire-frontend/./src/components/ListCell.vue?cc5b","webpack://glortire-frontend/./src/components/ListCell.vue","webpack://glortire-frontend/./src/components/ListComponent.vue?810d","webpack://glortire-frontend/./src/components/ListComponent.vue","webpack://glortire-frontend/./src/components/SlideOverComponent.vue?53fd","webpack://glortire-frontend/./src/components/SlideOverComponent.vue?9ef1","webpack://glortire-frontend/./src/components/SlideOverComponent.vue","webpack://glortire-frontend/./src/components/ContestantEditComponent.vue?9d7a","webpack://glortire-frontend/./src/components/AttributeEditCreateDetailsComponent.vue?b4a5","webpack://glortire-frontend/./src/components/FileUploader.vue?f8eb","webpack://glortire-frontend/./src/components/FileUploader.vue?98da","webpack://glortire-frontend/./src/components/FileUploader.vue","webpack://glortire-frontend/./src/components/AttributeEditCreateDetailsComponent.vue?09a8","webpack://glortire-frontend/./src/components/AttributeEditCreateDetailsComponent.vue","webpack://glortire-frontend/./src/types/attributes.ts","webpack://glortire-frontend/./src/components/ContestantEditComponent.vue?1d76","webpack://glortire-frontend/./src/components/ContestantEditComponent.vue","webpack://glortire-frontend/./src/views/app/tabs/AppContestants.vue?d07d","webpack://glortire-frontend/./src/views/app/tabs/AppContestants.vue","webpack://glortire-frontend/./src/views/app/tabs/AppJudges.vue?0020","webpack://glortire-frontend/./src/components/JudgeEditComponent.vue?ec06","webpack://glortire-frontend/./src/components/JudgeEditComponent.vue?82bf","webpack://glortire-frontend/./src/components/JudgeEditComponent.vue","webpack://glortire-frontend/./src/views/app/tabs/AppJudges.vue?4a89","webpack://glortire-frontend/./src/views/app/tabs/AppJudges.vue","webpack://glortire-frontend/./src/views/app/tabs/AppMentors.vue?b81b","webpack://glortire-frontend/./src/components/MentorEditComponent.vue?d5e6","webpack://glortire-frontend/./src/components/MentorEditComponent.vue?df89","webpack://glortire-frontend/./src/components/MentorEditComponent.vue","webpack://glortire-frontend/./src/views/app/tabs/AppMentors.vue?8e90","webpack://glortire-frontend/./src/views/app/tabs/AppMentors.vue","webpack://glortire-frontend/./src/views/app/tabs/AppPushNotification.vue?9b6c","webpack://glortire-frontend/./src/views/app/tabs/AppPushNotification.vue?fc37","webpack://glortire-frontend/./src/views/app/tabs/AppPushNotification.vue","webpack://glortire-frontend/./src/views/app/tabs/AppUsers.vue?ceb6","webpack://glortire-frontend/./src/components/AppUserDetailComponent.vue?8b8b","webpack://glortire-frontend/./src/components/AppUserDetailComponent.vue?37da","webpack://glortire-frontend/./src/components/AppUserDetailComponent.vue","webpack://glortire-frontend/./src/views/app/tabs/AppUsers.vue?28ed","webpack://glortire-frontend/./src/views/app/tabs/AppUsers.vue","webpack://glortire-frontend/./src/views/app/tabs/AppRounds.vue?5810","webpack://glortire-frontend/./src/components/RoundEditComponent.vue?94ec","webpack://glortire-frontend/./src/components/AddUpdateVotingWindowModal.vue?c8fc","webpack://glortire-frontend/./src/components/AddUpdateVotingWindowModal.vue?4f5d","webpack://glortire-frontend/./src/components/AddUpdateVotingWindowModal.vue","webpack://glortire-frontend/./src/components/RoundEditComponent.vue?7032","webpack://glortire-frontend/./src/components/RoundEditComponent.vue","webpack://glortire-frontend/./src/views/app/tabs/AppRounds.vue?ba5c","webpack://glortire-frontend/./src/views/app/tabs/AppRounds.vue","webpack://glortire-frontend/./src/views/app/tabs/AppRoundResult.vue?b62a","webpack://glortire-frontend/./src/views/app/tabs/AppRoundResult.vue?cb28","webpack://glortire-frontend/./src/views/app/tabs/AppRoundResult.vue","webpack://glortire-frontend/./src/router/routes/tabs.ts","webpack://glortire-frontend/./src/store/modules/user.ts","webpack://glortire-frontend/./src/store/index.ts","webpack://glortire-frontend/./src/router/index.ts","webpack://glortire-frontend/./src/main.ts","webpack://glortire-frontend//codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/moment/locale|sync|/^\\.\\/.*$/","webpack://glortire-frontend/webpack/bootstrap","webpack://glortire-frontend/webpack/runtime/chunk loaded","webpack://glortire-frontend/webpack/runtime/compat get default export","webpack://glortire-frontend/webpack/runtime/define property getters","webpack://glortire-frontend/webpack/runtime/global","webpack://glortire-frontend/webpack/runtime/hasOwnProperty shorthand","webpack://glortire-frontend/webpack/runtime/make namespace object","webpack://glortire-frontend/webpack/runtime/node module decorator","webpack://glortire-frontend/webpack/runtime/publicPath","webpack://glortire-frontend/webpack/runtime/jsonp chunk loading","webpack://glortire-frontend/webpack/startup"],"sourcesContent":["\n\n\n","import { render } from \"./App.vue?vue&type=template&id=1db9a753\"\nconst script = {}\n\nimport \"./App.vue?vue&type=style&index=0&id=1db9a753&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createStaticVNode as _createStaticVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4e085028\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"home\" }\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"
\\\"Download\\\"Get
\", 1)\nconst _hoisted_3 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _hoisted_3))\n}","\nimport { Options, Vue} from 'vue-class-component'\n\n@Options({name: 'Index'})\nexport default class Index extends Vue {\n\n}\n","import { render } from \"./Home.vue?vue&type=template&id=4e085028&scoped=true&ts=true\"\nimport script from \"./Home.vue?vue&type=script&lang=ts\"\nexport * from \"./Home.vue?vue&type=script&lang=ts\"\n\nimport \"./Home.vue?vue&type=style&index=0&id=4e085028&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4e085028\"]])\n\nexport default __exports__","export default __webpack_public_path__ + \"img/logo.34002320.svg\";","import { createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/images/logo.svg'\n\n\nconst _hoisted_1 = { class: \"min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"max-w-md w-full space-y-8\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-auto h-16 w-auto\",\n src: _imports_0,\n alt: \"Logo\"\n }),\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mt-6 text-center text-3xl font-extrabold text-gray-900\" }, \" Sign in to your account \")\n], -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"input\", {\n type: \"hidden\",\n name: \"remember\",\n value: \"true\"\n}, null, -1)\nconst _hoisted_5 = { class: \"rounded-md shadow-sm -space-y-px\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"email-address\",\n class: \"sr-only\"\n}, \"Email address\", -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"password\",\n class: \"sr-only\"\n}, \"Password\", -1)\nconst _hoisted_8 = { class: \"flex flex-col gap-4 w-full items-start\" }\nconst _hoisted_9 = {\n key: 1,\n class: \"text-md text-red-600 font-bold w-full text-center\"\n}\nconst _hoisted_10 = { class: \"absolute left-0 inset-y-0 flex items-center pl-3\" }\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\" Sign in \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_LockClosedIcon = _resolveComponent(\"LockClosedIcon\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_ctx.loading || _ctx.error)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"form\", {\n class: \"mt-8 space-y-6\",\n onSubmit: _cache[4] || (_cache[4] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", null, [\n _hoisted_6,\n _withDirectives(_createElementVNode(\"input\", {\n id: \"email-address\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.emailAddress) = $event)),\n name: \"email\",\n type: \"email\",\n autocomplete: \"email\",\n required: \"\",\n class: \"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm\",\n placeholder: \"Email address\"\n }, null, 512), [\n [_vModelText, _ctx.emailAddress]\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_7,\n _withDirectives(_createElementVNode(\"input\", {\n id: \"password\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.password) = $event)),\n name: \"password\",\n type: \"password\",\n autocomplete: \"current-password\",\n required: \"\",\n class: \"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm\",\n placeholder: \"Password\"\n }, null, 512), [\n [_vModelText, _ctx.password]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.showForgotPassword)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.forgotPasswordPressed())),\n class: \"font-medium text-sm text-indigo-600 hover:text-indigo-500 cursor-pointer\"\n }, \" Forgot your password? \"))\n : _createCommentVNode(\"\", true),\n (_ctx.error)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, \"Error logging you in\"))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"button\", {\n type: \"submit\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.loginPressed())),\n class: \"group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\"\n }, [\n _createElementVNode(\"span\", _hoisted_10, [\n _createVNode(_component_LockClosedIcon, {\n class: \"h-5 w-5 text-indigo-500 group-hover:text-indigo-400\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _hoisted_11\n ])\n ])\n ], 32)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_Loader, { key: 1 }))\n : _createCommentVNode(\"\", true)\n ]))\n}","import Vue from 'vue'\nimport router from '@/router';\n\nexport enum StandardRoutes {\n // Outside of app\n Home = 'home',\n Login = 'login',\n ResetPassword = 'resetPassword',\n PrivacyPolicy = 'privacyPolicy',\n PrivacyPolicyIrish = 'privacyPolicyIrish'\n}\n\nexport enum AppRoutes {\n AppBase = 'AppBase',\n AppSelect = 'AppSelect',\n AppCreate = 'AppCreate'\n // Add app, other full screen app routes\n}\n\nexport enum AppTabRoutes {\n Dashboard = 'dashboard',\n Users = 'users',\n Contestants = 'contestants',\n PushNotification = 'pushnotification',\n Mentors = 'mentors',\n Judges = 'judges',\n VotingWindows = 'votingWindows',\n Rounds = \"rounds\",\n RoundResults = \"roundResults\"\n}\n\n\ntype AllRoutes = StandardRoutes | AppRoutes | AppTabRoutes \n\nexport default class Routes {\n\n static readonly Standard = StandardRoutes;\n static readonly AppRoutes = AppRoutes;\n static readonly AppTabRoutes = AppTabRoutes;\n \n\n static currentRoute: AllRoutes = StandardRoutes.Home;\n \n static go(route: AllRoutes, data: any = null) {\n\n if (data) {\n const dataToSend: any = { name: route }\n if (data.props) { dataToSend.props = data.props }\n if (data.query) { dataToSend.query = data.query }\n if (data.params) { dataToSend.params = data.params } \n\n router.push(dataToSend)\n .then(() => this.currentRoute = route)\n .catch((error) => {\n console.log(error)\n })\n } else {\n if (this.currentRoute !== route) {\n const newRoute = route as string\n router.push({ name: newRoute })\n .then(() =>{\n this.currentRoute = route\n })\n .catch((error)=> {\n console.log(error)\n })\n }\n }\n \n }\n\n static redirect(route: string) {\n router.push({ path: route })\n .catch((error) => {})\n }\n\n static clearQuery() {\n router.push({ query: {} }).catch((error) => {})\n }\n\n static updateCurrentRoute(newRoute: string) {\n const route = newRoute as AllRoutes\n if (route) {\n this.currentRoute = route\n }\n }\n\n}","import { AxiosInstance } from 'axios'\n\nexport default class BaseApi {\n\n api: AxiosInstance\n \n constructor(parentApi: AxiosInstance) {\n \n if (!parentApi) {\n throw new Error('Missing a required paramater.');\n }\n\n this.api = parentApi;\n }\n\n baseURL() {\n const url = process.env.VUE_APP_WEB_SERVER ? process.env.VUE_APP_WEB_SERVER : 'http://localhost:1337'\n return `${url}`\n }\n\n}","import BaseAPI from '@/api/sub/base-api'\nimport { ContestantPayload, CreateFileUploadPayload, JudgePayload, MentorPayload, RoundPayload, RoundResultPayload, VotingWindowPayload } from '@/types/payloads'\n\nimport { \n App,\n Contestant, FileUploadResponse, Judge, Mentor, Round, RoundResult, SearchUserResponse, VoteResults, VotingWindow,\n} from '@/types/types'\nimport { AxiosResponse } from 'axios'\n// import { ErrorCode, BillingBasis } from '@/enums';\n\nexport default class AdminAPI extends BaseAPI {\n\n /**\n * Create new App for user\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async createApp(appName: string): Promise> {\n return this.api.post(`${this.baseURL()}/apps`, {appName: appName})\n }\n\n /**\n * Gets contestants for appId\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async getContestantsForAppId(appId: string): Promise> {\n return this.api.get(`${this.baseURL()}/${appId}/contestants`)\n }\n\n /**\n * Create contestant\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async createContestantsForAppId(appId: string, payload: ContestantPayload): Promise> {\n return this.api.post(`${this.baseURL()}/${appId}/contestants`, payload)\n }\n\n /**\n * Update contestant\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async updateContestantsForAppId(appId: string, contestantId: number, payload: ContestantPayload): Promise> {\n return this.api.put(`${this.baseURL()}/${appId}/contestants/${contestantId}`, payload)\n }\n\n /**\n * Gets mentors for appId\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async getMentorsForAppId(appId: string): Promise> {\n return this.api.get(`${this.baseURL()}/${appId}/mentors`)\n }\n\n /**\n * Gets judges for appId\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async getJudgesForAppId(appId: string): Promise> {\n return this.api.get(`${this.baseURL()}/${appId}/judges`)\n }\n\n /**\n * Gets file upload URL \n * \n * @returns {Promise}\n * @memberof AdminAPI\n */\n async postFileUploadURL(appId: string, payload: CreateFileUploadPayload): Promise> {\n return this.api.post(`${this.baseURL()}/${appId}/generate-upload-link`, payload)\n }\n \n\n\n /**\n * Create judge\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async createJudgeForAppId(appId: string, payload: JudgePayload): Promise> {\n return this.api.post(`${this.baseURL()}/${appId}/judges`, payload)\n }\n\n /**\n * Update judge\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async updateJudgeForAppId(appId: string, judgeId: number, payload: JudgePayload): Promise> {\n return this.api.put(`${this.baseURL()}/${appId}/judges/${judgeId}`, payload)\n }\n\n /**\n * Create mentor\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async createMentorForAppId(appId: string, payload: MentorPayload): Promise> {\n return this.api.post(`${this.baseURL()}/${appId}/mentors`, payload)\n }\n\n /**\n * Update mentor\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async updateMentorForAppId(appId: string, mentorId: number, payload: MentorPayload): Promise> {\n return this.api.put(`${this.baseURL()}/${appId}/mentors/${mentorId}`, payload)\n }\n \n /**\n * Gets rounds for appId\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async getRoundsForAppId(appId: string): Promise> {\n return this.api.get(`${this.baseURL()}/${appId}/rounds`)\n }\n\n /**\n * Create round\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async createRoundForAppId(appId: string, payload: RoundPayload): Promise> {\n return this.api.post(`${this.baseURL()}/${appId}/rounds`, payload)\n }\n \n /**\n * Update round\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async updateRoundForAppId(appId: string, roundId: number, payload: RoundPayload): Promise> {\n return this.api.put(`${this.baseURL()}/${appId}/rounds/${roundId}`, payload)\n }\n\n /**\n * Search for App Users\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async searchForUsers(appId: string, query: string): Promise> {\n return this.api.get(`${this.baseURL()}/${appId}/users/search`, {\n params: {\n searchTerm: query,\n limit: 100,\n skip: 0\n }\n })\n }\n\n\n /**\n * Create voting window\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async createWindowForAppId(appId: string, payload: VotingWindowPayload): Promise> {\n return this.api.post(`${this.baseURL()}/${appId}/votingwindow`, payload)\n }\n\n /**\n * Update round\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async updateWindowForAppId(appId: string, windowId: number, payload: VotingWindowPayload): Promise> {\n return this.api.put(`${this.baseURL()}/${appId}/votingwindow/${windowId}`, payload)\n }\n \n /**\n * Set Round Result\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async setRoundResultForRound(appId: string, roundId: number, payload: RoundResultPayload): Promise> {\n return this.api.post(`${this.baseURL()}/${appId}/rounds/${roundId}/result`, payload)\n }\n\n /**\n * Get Results for Round\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async getVoteResultForRound(appId: string, roundId: number): Promise> {\n return this.api.get(`${this.baseURL()}/${appId}/rounds/${roundId}/votes`)\n }\n\n /**\n * Add phone votes for contestant\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async addPhoneVotesToWindow(appId: string, contestantId: number, windowId: number, votes: number): Promise {\n return this.api.post(`${this.baseURL()}/${appId}/contestant/${contestantId}/phone_vote`, {\n votingWindow: windowId,\n value: votes\n })\n }\n\n\n /**\n * Send notification to all users\n *\n * @returns {Promise}\n * @memberof AdminAPI\n */\n async sendNotificationToAllUsers(appId: string, message: string): Promise {\n return this.api.post(`${this.baseURL()}/${appId}/push/send`, {\n message: message\n })\n }\n}","import BaseAPI from '@/api/sub/base-api'\nimport { \n User,\n} from '@/types/types'\n\nimport { \n LoginPayload,\n} from '@/types/payloads'\nimport { AxiosResponse } from 'axios'\n// import { ErrorCode, BillingBasis } from '@/enums';\n\nexport default class UserAPI extends BaseAPI {\n\n \n /**\n * Logs in admin user\n *\n * @returns {Promise}\n * @memberof UserAPI\n */\n async login(email: string, password: string): Promise> {\n\n return this.api.post, LoginPayload>(`${this.baseURL()}/login`, {\n email: email,\n password: password\n })\n }\n\n /**\n * Logs out user\n *\n * @returns {Promise}\n * @memberof UserAPI\n */\n async logout(): Promise> {\n return this.api.post(`${this.baseURL()}/logout`)\n }\n\n /**\n * Gets current user with Apps\n *\n * @returns {Promise}\n * @memberof UserAPI\n */\n async getUser(): Promise> {\n return this.api.get(`${this.baseURL()}/user`)\n }\n\n /**\n * Resets Password for app user\n *\n * @returns {Promise}\n * @memberof UserAPI\n */\n async resetAppUserPassword(token: string, password: string): Promise> {\n return this.api.post(`${this.baseURL()}/resetpassword`, {\n token: token,\n password: password\n })\n }\n\n}","import Vue from 'vue'\nimport axios from 'axios'\n\nimport AdminAPI from '@/api/sub/admin-api'\nimport UserAPI from './sub/user-api';\n\nconst api = axios.create({\n withCredentials: true,\n});\n\n// api.interceptors.response.use(\n// (response) => {\n// return Promise.resolve(response);\n// },\n// (error: any) => {\n\n\n// if (error && error.response && error.response.status) {\n \n// // the user is unauthorised so we kick them\n// if (error.response.status === ErrorCode.ERROR_UNAUTHORIZED) {\n// Vue.prototype.$alerts.hideAlerts();\n// Vue.prototype.$alerts.notify({\n// title: 'Sorry',\n// message: 'We need to you to log in again',\n// error: true,\n// })\n\n// store.dispatch('logout')\n\n// }\n\n// }\n\n// Vue.prototype.$log.error(error.message.toLowerCase())\n\n// return Promise.reject(error);\n\n// },\n// );\n\nconst adminAPI = new AdminAPI(api);\nconst userAPI = new UserAPI(api);\n\n// // Run a healthcheck, failure will redirect the user to an error message\n// miscAPI.healthCheck()\n// .catch((error) => {\n// if (error && (typeof error.response === 'undefined')) {\n// Routes.go(StandardRoutes.NetworkError)\n// }\n// Vue.prototype.$log.error(error)\n// })\n\nexport {\n api as API,\n adminAPI as AdminAPI,\n userAPI as UserAPI\n}\n","import { openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c97d1bbc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"loader\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}","\nimport { Options, Vue } from \"vue-class-component\";\n\n\n@Options({\n name: \"Loader\"\n})\nexport default class Loader extends Vue { \n}\n\n","import { render } from \"./Loader.vue?vue&type=template&id=c97d1bbc&scoped=true&ts=true\"\nimport script from \"./Loader.vue?vue&type=script&lang=ts\"\nexport * from \"./Loader.vue?vue&type=script&lang=ts\"\n\nimport \"./Loader.vue?vue&type=style&index=0&id=c97d1bbc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c97d1bbc\"]])\n\nexport default __exports__","\nimport { LockClosedIcon } from '@heroicons/vue/solid'\nimport Routes, { AppRoutes } from '@/router/routes'\nimport { Options, Vue } from 'vue-class-component'\nimport { UserAPI } from '@/api'\nimport Loader from '@/components/Loader.vue'\n\n@Options({\n components: {\n LockClosedIcon,\n Loader\n }\n})\nexport default class Login extends Vue {\n\n emailAddress: string = ''\n password: string = ''\n \n showForgotPassword = false\n loading: boolean = false\n error: boolean = false\n\n async loginPressed() {\n this.loading = true\n this.error = false\n\n try {\n const user = (await UserAPI.login(this.emailAddress, this.password)).data\n if (user.defaultApp) {\n Routes.go(AppRoutes.AppBase, { params: {appId: user.defaultApp}})\n } else {\n Routes.go(AppRoutes.AppSelect)\n }\n } catch (err) {\n console.error(err)\n this.error = true\n } finally {\n this.loading = false\n }\n \n }\n\n forgotPasswordPressed() {\n //TODO: Go to Forgot password\n }\n}\n","import { render } from \"./Login.vue?vue&type=template&id=2e922b78&ts=true\"\nimport script from \"./Login.vue?vue&type=script&lang=ts\"\nexport * from \"./Login.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, withDirectives as _withDirectives, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createBlock as _createBlock, createVNode as _createVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers, withCtx as _withCtx, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '@/assets/images/logo.svg'\n\n\nconst _hoisted_1 = { class: \"min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-auto h-28 w-auto\",\n src: _imports_0,\n alt: \"Logo\"\n }),\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mt-8 text-center text-2xl font-medium text-gray-900\" }, \" Success: Your password has been changed, you may now login to the app \")\n], -1)\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = {\n key: 1,\n class: \"max-w-md w-full space-y-8\"\n}\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-auto h-16 w-auto\",\n src: _imports_0,\n alt: \"Logo\"\n }),\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mt-6 text-center text-3xl font-extrabold text-gray-900\" }, \" Reset your password \")\n], -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"input\", {\n type: \"hidden\",\n name: \"remember\",\n value: \"true\"\n}, null, -1)\nconst _hoisted_8 = { class: \"rounded-md shadow-sm -space-y-px\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"password\",\n class: \"sr-only\"\n}, \"Password\", -1)\nconst _hoisted_10 = [\"readonly\"]\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"re_password\",\n class: \"sr-only\"\n}, \"Re-enter Password\", -1)\nconst _hoisted_12 = [\"readonly\"]\nconst _hoisted_13 = {\n key: 0,\n class: \"text-left font-medium text-red-600\"\n}\nconst _hoisted_14 = { class: \"flex flex-col items-center\" }\nconst _hoisted_15 = { class: \"absolute left-0 inset-y-0 flex items-center pl-3\" }\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\" Reset password \")\nconst _hoisted_17 = { key: 2 }\nconst _hoisted_18 = { class: \"flex flex-col items-center\" }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mt-8 text-center text-2xl font-extrabold text-gray-900\" }, \" Error: Incorrect reset password link \", -1)\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\"Error!\")\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"p\", null, \"Failed to reset password. Would you like to try again?\", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_LockClosedIcon = _resolveComponent(\"LockClosedIcon\")!\n const _component_ExclamationIcon = _resolveComponent(\"ExclamationIcon\")!\n const _component_Modal = _resolveComponent(\"Modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.success)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _hoisted_4))\n : (_ctx.token)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"form\", {\n class: \"mt-8 space-y-6\",\n onSubmit: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _hoisted_7,\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", null, [\n _hoisted_9,\n _withDirectives(_createElementVNode(\"input\", {\n id: \"password\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.password) = $event)),\n readonly: _ctx.loading,\n name: \"password\",\n type: \"password\",\n autocomplete: \"new-password\",\n required: \"\",\n minlength: \"10\",\n class: \"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm\",\n placeholder: \"Password\"\n }, null, 8, _hoisted_10), [\n [_vModelText, _ctx.password]\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_11,\n _withDirectives(_createElementVNode(\"input\", {\n id: \"re_password\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.re_password) = $event)),\n readonly: _ctx.loading,\n name: \"password\",\n type: \"password\",\n autocomplete: \"new-password\",\n required: \"\",\n minlength: \"10\",\n class: \"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm\",\n placeholder: \"Re-enter Password\"\n }, null, 8, _hoisted_12), [\n [_vModelText, _ctx.re_password]\n ])\n ])\n ]),\n (_ctx.validationError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, _toDisplayString(_ctx.validationError), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_14, [\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_Loader, {\n key: 0,\n class: \"h-2 w-2\"\n }))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n type: \"submit\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.resetPressedPressed())),\n class: \"group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\"\n }, [\n _createElementVNode(\"span\", _hoisted_15, [\n _createVNode(_component_LockClosedIcon, {\n class: \"h-5 w-5 text-indigo-500 group-hover:text-indigo-400\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _hoisted_16\n ]))\n ])\n ], 32)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_ExclamationIcon, {\n class: \"h-16 w-16 text-red-600\",\n \"aria-hidden\": \"true\"\n }),\n _hoisted_19\n ])\n ]))\n ]),\n _createVNode(_component_Modal, {\n modelValue: _ctx.error,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.error) = $event)),\n destructive: true,\n onConfirm: _ctx.resetPressedPressed,\n onCancel: _ctx.modalCancel,\n confirmTitle: \"Retry\"\n }, {\n title: _withCtx(() => [\n _hoisted_20\n ]),\n default: _withCtx(() => [\n _hoisted_21\n ]),\n _: 1\n }, 8, [\"modelValue\", \"onConfirm\", \"onCancel\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, mergeProps as _mergeProps, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"sm:flex sm:items-start\" }\nconst _hoisted_2 = { class: \"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left\" }\nconst _hoisted_3 = { class: \"text-lg leading-6 font-medium text-gray-900\" }\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\" Deactivate account \")\nconst _hoisted_5 = { class: \"mt-2\" }\nconst _hoisted_6 = { class: \"text-sm text-gray-500\" }\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\" Are you sure you want to deactivate your account? All of your data will be permanently removed from our servers forever. This action cannot be undone. \")\nconst _hoisted_8 = { class: \"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse\" }\nconst _hoisted_9 = [\"onClick\"]\nconst _hoisted_10 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ExclamationIcon = _resolveComponent(\"ExclamationIcon\")!\n const _component_CheckIcon = _resolveComponent(\"CheckIcon\")!\n const _component_VueFinalModal = _resolveComponent(\"VueFinalModal\")!\n\n return (_openBlock(), _createBlock(_component_VueFinalModal, _mergeProps(_ctx.$attrs, {\n classes: \"flex justify-center items-center\",\n \"content-class\": \"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6\"\n }), {\n default: _withCtx(({ params, close }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10\", [_ctx.destructive ? 'bg-red-100' : 'bg-green-100']])\n }, [\n (_ctx.destructive)\n ? (_openBlock(), _createBlock(_component_ExclamationIcon, {\n key: 0,\n class: \"h-6 w-6 text-red-600\",\n \"aria-hidden\": \"true\"\n }))\n : (_openBlock(), _createBlock(_component_CheckIcon, {\n key: 1,\n class: \"h-6 w-6 text-green-600\",\n \"aria-hidden\": \"true\"\n }))\n ], 2),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"title\", {}, () => [\n _hoisted_4\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"p\", _hoisted_6, [\n _renderSlot(_ctx.$slots, \"default\", { params: params }, () => [\n _hoisted_7\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: _normalizeClass([\"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white focus:outline-none focus:ring-2 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm\", [_ctx.destructive ? 'bg-red-600 hover:bg-red-700 focus:ring-red-500' : 'bg-indigo-600 hover:bg-indigo-700 focus:ring-indigo-500']]),\n onClick: ($event: any) => (_ctx.$emit('confirm', close))\n }, _toDisplayString(_ctx.confirmTitle), 11, _hoisted_9),\n (_ctx.showCancel)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n class: \"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm\",\n onClick: ($event: any) => (_ctx.$emit('cancel', close))\n }, \" Cancel \", 8, _hoisted_10))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 3\n }, 16))\n}","\nimport { Options, Vue } from \"vue-class-component\";\n// @ts-ignore\nimport { VueFinalModal } from 'vue-final-modal'\nimport { ExclamationIcon, CheckIcon } from '@heroicons/vue/outline'\nimport { Prop } from \"vue-property-decorator\";\n\n@Options({\n name: \"Modal\",\n inheritAttrs: false,\n emits: ['cancel', 'confirm'],\n components: {\n VueFinalModal,\n ExclamationIcon,\n CheckIcon\n }\n})\nexport default class Modal extends Vue { \n @Prop({ type: Boolean, default: true}) destructive: Boolean = true\n @Prop({ type: String, default: \"Ok\" }) confirmTitle: String = \"Ok\"\n @Prop({ type: Boolean, default: true }) showCancel: Boolean = true\n\n}\n\n","import { render } from \"./Modal.vue?vue&type=template&id=67360038&ts=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { UserAPI } from '@/api';\nimport { LockClosedIcon } from '@heroicons/vue/solid'\nimport { Options, Vue } from 'vue-class-component'\nimport { ExclamationIcon } from '@heroicons/vue/outline'\nimport { useRoute } from 'vue-router';\nimport Modal from '@/components/Modal.vue'\nimport Loader from '@/components/Loader.vue'\n@Options({\n components: {\n LockClosedIcon,\n Modal,\n ExclamationIcon,\n Loader\n }\n})\nexport default class ResetPassword extends Vue {\n \n password: string = ''\n re_password: string = ''\n \n loading: boolean = false\n validationError: string | null = null\n success: boolean = false\n error: boolean = false\n\n private token: string | null = null\n\n mounted() {\n const route = useRoute();\n this.token = route.params.token as string\n }\n\n resetPressedPressed() {\n \n this.error = false\n if (!this.token) {\n return\n }\n\n if (!this.password || !this.re_password) {\n //Missing one \n this.validationError = \"Please enter both passwords\"\n return\n }\n\n if (this.password != this.re_password) {\n //Not matching\n this.validationError = \"Passwords do not match\"\n return\n }\n\n if (this.password.length < 10) {\n //Too short\n this.validationError = \"Please enter a password at least 10 characters long\"\n return\n }\n\n this.validationError = null\n this.loading = true\n\n UserAPI.resetAppUserPassword(this.token, this.password)\n .then(() => {\n this.loading = false\n this.success = true \n })\n .catch((error) => {\n console.error(error)\n this.loading = false\n this.success = false\n this.error = true\n })\n }\n\n modalCancel() {\n this.error = false\n }\n\n}\n","import { render } from \"./ResetPassword.vue?vue&type=template&id=5eae075a&ts=true\"\nimport script from \"./ResetPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./ResetPassword.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export default __webpack_public_path__ + \"img/logo_white.976a5f0b.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, Transition as _Transition, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/logo_white.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7b78f107\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"h-screen flex overflow-hidden bg-gray-100\" }\nconst _hoisted_2 = { class: \"relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-indigo-700\" }\nconst _hoisted_3 = { class: \"absolute top-0 right-0 -mr-12 pt-2\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close sidebar\", -1))\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-shrink-0 flex items-center px-4\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"h-8 w-auto\",\n src: _imports_0,\n alt: \"Workflow\"\n }),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-white ml-4 font-bold\" }, \"Glor Tire\")\n], -1))\nconst _hoisted_6 = { class: \"mt-5 flex-1 h-0 overflow-y-auto\" }\nconst _hoisted_7 = { class: \"px-2 space-y-1\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"flex-shrink-0 w-14\",\n \"aria-hidden\": \"true\"\n}, null, -1))\nconst _hoisted_9 = { class: \"hidden bg-indigo-700 md:flex md:flex-shrink-0\" }\nconst _hoisted_10 = { class: \"flex flex-col w-64\" }\nconst _hoisted_11 = { class: \"flex flex-col flex-grow pt-5 pb-4 overflow-y-auto\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex items-center flex-shrink-0 px-4\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"h-8 w-auto\",\n src: _imports_0,\n alt: \"Workflow\"\n }),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-white ml-4 font-bold\" }, \"Glor Tire\")\n], -1))\nconst _hoisted_13 = { class: \"mt-5 flex-1 flex flex-col\" }\nconst _hoisted_14 = { class: \"flex-1 px-2 space-y-1\" }\nconst _hoisted_15 = { class: \"flex flex-col w-0 flex-1\" }\nconst _hoisted_16 = { class: \"relative z-10 flex-shrink-0 flex h-16 bg-white shadow\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Open sidebar\", -1))\nconst _hoisted_18 = { class: \"flex-1 px-4 flex justify-between\" }\nconst _hoisted_19 = { class: \"flex-1 flex items-center\" }\nconst _hoisted_20 = { class: \"ml-4 flex items-center md:ml-6\" }\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Open user menu\", -1))\nconst _hoisted_22 = [\"href\", \"onClick\"]\nconst _hoisted_23 = { class: \"flex-1 relative overflow-y-auto focus:outline-none\" }\nconst _hoisted_24 = { class: \"py-6 min-h-full flex\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_DialogOverlay = _resolveComponent(\"DialogOverlay\")!\n const _component_TransitionChild = _resolveComponent(\"TransitionChild\")!\n const _component_XIcon = _resolveComponent(\"XIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n const _component_TransitionRoot = _resolveComponent(\"TransitionRoot\")!\n const _component_MenuAlt2Icon = _resolveComponent(\"MenuAlt2Icon\")!\n const _component_AppDropdownMenu = _resolveComponent(\"AppDropdownMenu\")!\n const _component_UserCircleIcon = _resolveComponent(\"UserCircleIcon\")!\n const _component_MenuButton = _resolveComponent(\"MenuButton\")!\n const _component_MenuItem = _resolveComponent(\"MenuItem\")!\n const _component_MenuItems = _resolveComponent(\"MenuItems\")!\n const _component_Menu = _resolveComponent(\"Menu\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_TransitionRoot, {\n as: \"template\",\n show: _ctx.sidebarOpen\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Dialog, {\n as: \"div\",\n class: \"fixed inset-0 flex z-40 md:hidden\",\n onClose: _cache[2] || (_cache[2] = ($event: any) => (_ctx.sidebarOpen = false))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"transition-opacity ease-linear duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"transition-opacity ease-linear duration-300\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_DialogOverlay, { class: \"fixed inset-0 bg-gray-600 bg-opacity-75\" })\n ]),\n _: 1\n }),\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"transition ease-in-out duration-300 transform\",\n \"enter-from\": \"-translate-x-full\",\n \"enter-to\": \"translate-x-0\",\n leave: \"transition ease-in-out duration-300 transform\",\n \"leave-from\": \"translate-x-0\",\n \"leave-to\": \"-translate-x-full\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"ease-in-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in-out duration-300\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.sidebarOpen = false))\n }, [\n _hoisted_4,\n _createVNode(_component_XIcon, {\n class: \"h-6 w-6 text-white\",\n \"aria-hidden\": \"true\"\n })\n ])\n ])\n ]),\n _: 1\n }),\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"nav\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.navigation, (item) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.sidebarOpen = false)),\n key: item.name,\n to: { name: item.route },\n class: \"nav-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-indigo-100 hover:bg-indigo-600\"\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon), {\n class: \"mr-4 flex-shrink-0 h-6 w-6 text-indigo-300\",\n \"aria-hidden\": \"true\"\n })),\n _createTextVNode(\" \" + _toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"]))\n }), 128))\n ])\n ])\n ])\n ]),\n _: 1\n }),\n _hoisted_8\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"nav\", _hoisted_14, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.navigation, (item) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n key: item.name,\n to: { name: item.route },\n class: \"nav-link group flex items-center px-2 py-2 text-sm font-medium rounded-md text-indigo-100 hover:bg-indigo-600\"\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(item.icon), {\n class: \"mr-3 flex-shrink-0 h-6 w-6 text-indigo-300\",\n \"aria-hidden\": \"true\"\n })),\n _createTextVNode(\" \" + _toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"]))\n }), 128))\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"px-4 border-r border-gray-200 text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500 md:hidden\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.sidebarOpen = true))\n }, [\n _hoisted_17,\n _createVNode(_component_MenuAlt2Icon, {\n class: \"h-6 w-6\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_AppDropdownMenu)\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_Menu, {\n as: \"div\",\n class: \"ml-3 relative\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_component_MenuButton, { class: \"max-w-xs bg-white flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 text-indigo-600\" }, {\n default: _withCtx(() => [\n _hoisted_21,\n _createVNode(_component_UserCircleIcon, { class: \"h-9 w-9\" })\n ]),\n _: 1\n })\n ]),\n _createVNode(_Transition, {\n \"enter-active-class\": \"transition ease-out duration-100\",\n \"enter-from-class\": \"transform opacity-0 scale-95\",\n \"enter-to-class\": \"transform opacity-100 scale-100\",\n \"leave-active-class\": \"transition ease-in duration-75\",\n \"leave-from-class\": \"transform opacity-100 scale-100\",\n \"leave-to-class\": \"transform opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_MenuItems, { class: \"origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.userNavigation, (item) => {\n return (_openBlock(), _createBlock(_component_MenuItem, {\n key: item.name\n }, {\n default: _withCtx(({ active }) => [\n _createElementVNode(\"div\", {\n href: item.href,\n onClick: item.onClick,\n class: _normalizeClass([active ? 'bg-gray-100' : '', 'block px-4 py-2 text-sm text-gray-700 cursor-pointer'])\n }, _toDisplayString(item.name), 11, _hoisted_22)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _createElementVNode(\"main\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_router_view)\n ])\n ])\n ])\n ]))\n}","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, createBlock as _createBlock, Transition as _Transition } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createTextVNode(\" Select season \")\nconst _hoisted_2 = { class: \"relative\" }\nconst _hoisted_3 = { class: \"inline-flex shadow-sm rounded-md divide-x divide-indigo-600\" }\nconst _hoisted_4 = { class: \"relative z-0 inline-flex shadow-sm rounded-md\" }\nconst _hoisted_5 = { class: \"relative inline-flex items-center py-2 pl-3 pr-4 border border-transparent rounded-l-md text-white\" }\nconst _hoisted_6 = { class: \"ml-2.5 text-sm font-medium\" }\nconst _hoisted_7 = { class: \"p-2\" }\nconst _hoisted_8 = [\"onClick\"]\nconst _hoisted_9 = { class: \"flex flex-col items-start\" }\nconst _hoisted_10 = { class: \"flex justify-between\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ListboxLabel = _resolveComponent(\"ListboxLabel\")!\n const _component_ChevronDownIcon = _resolveComponent(\"ChevronDownIcon\")!\n const _component_ListboxButton = _resolveComponent(\"ListboxButton\")!\n const _component_ListboxOption = _resolveComponent(\"ListboxOption\")!\n const _component_ListboxOptions = _resolveComponent(\"ListboxOptions\")!\n const _component_Listbox = _resolveComponent(\"Listbox\")!\n\n return (_openBlock(), _createBlock(_component_Listbox, {\n as: \"div\",\n modelValue: _ctx.selectedApp,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedApp) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ListboxLabel, { class: \"sr-only\" }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ListboxButton, { class: \"relative inline-flex items-center bg-indigo-500 rounded-md text-sm font-medium text-white hover:bg-indigo-600 focus:outline-none focus:z-10 focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-50 focus:ring-indigo-500 divide-x divide-indigo-800\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(_ctx.getCurrentAppName()), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_ChevronDownIcon, {\n class: \"h-5 w-5 text-white\",\n \"aria-hidden\": \"true\"\n })\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(_Transition, {\n \"leave-active-class\": \"transition ease-in duration-100\",\n \"leave-from-class\": \"opacity-100\",\n \"leave-to-class\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ListboxOptions, { class: \"origin-top-left absolute z-10 left-0 mt-2 w-60 rounded-md shadow-lg overflow-hidden bg-white divide-y divide-gray-200 ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option, index) => {\n return (_openBlock(), _createBlock(_component_ListboxOption, {\n as: \"template\",\n key: option.key,\n value: option\n }, {\n default: _withCtx(({ active }) => [\n _createElementVNode(\"li\", {\n onClick: ($event: any) => (_ctx.didSelectOption(index)),\n class: _normalizeClass([\"cursor-pointer\", [active ? 'text-white bg-indigo-500' : 'text-gray-900', 'select-none relative p-4 text-sm']])\n }, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"p\", {\n class: _normalizeClass(option == _ctx.selectedApp ? 'font-semibold' : 'font-normal')\n }, _toDisplayString(option.title), 3)\n ]),\n (option.subtitle)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 0,\n class: _normalizeClass([\"text-left\", [active ? 'text-indigo-200' : 'text-gray-500', 'mt-2']])\n }, _toDisplayString(option.subtitle), 3))\n : _createCommentVNode(\"\", true)\n ])\n ], 10, _hoisted_8)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}","\nimport Routes, { AppRoutes } from '@/router/routes'\nimport { App, AppSelection } from '@/types/types'\nimport { Listbox, ListboxButton, ListboxLabel, ListboxOption, ListboxOptions } from '@headlessui/vue'\nimport { ChevronDownIcon } from '@heroicons/vue/solid'\nimport moment from 'moment'\nimport { Options, Vue } from 'vue-class-component'\n\n@Options( {\n components: {\n Listbox,\n ListboxButton,\n ListboxLabel,\n ListboxOption,\n ListboxOptions,\n ChevronDownIcon,\n }\n})\nexport default class AppDropdownMenu extends Vue {\n\n private options: AppSelection[] = []\n private selectedApp: AppSelection | null = null\n\n mounted() {\n const userApps = this.$store.state.user.user?.apps ?? []\n const appId = this.$route.params.appId as string\n let initialIndex: number = -1\n\n this.options = userApps.map( (app, index) => {\n\n if (app.appId === appId) {\n initialIndex = index\n }\n\n return { \n title: app.name,\n subtitle: this.formattedDateForApp(app),\n app: app,\n key: \"\"+app.id\n }\n })\n\n this.options.push( {\n title: 'Create new season',\n key: \"create_app_key\"\n })\n\n if (initialIndex !== -1){\n this.selectedApp = this.options[initialIndex]\n }\n\n }\n\n getCurrentAppName() {\n return this.selectedApp?.title ?? \"Select App\"\n }\n\n didSelectOption(index: number) {\n const option = this.options[index]\n if (option.app) {\n this.didSelectApp(option.app)\n } else {\n this.createAppPressed()\n }\n }\n\n createAppPressed() {\n Routes.go(AppRoutes.AppCreate)\n }\n\n didSelectApp(app: App) { \n Routes.go(AppRoutes.AppBase, {\n params: {appId: app.appId}\n })\n }\n\n formattedDateForApp(app: App) {\n return moment(app.createdAt).format('MM/DD/YYYY')\n }\n\n}\n","import { render } from \"./AppDropdownMenu.vue?vue&type=template&id=d2e56018&ts=true\"\nimport script from \"./AppDropdownMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./AppDropdownMenu.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { ref, RenderFunction } from 'vue'\nimport {\n Dialog,\n DialogOverlay,\n Menu,\n MenuButton,\n MenuItem,\n MenuItems,\n TransitionChild,\n TransitionRoot,\n} from '@headlessui/vue'\nimport {\n AcademicCapIcon,\n BellIcon,\n ChartBarIcon,\n MenuAlt2Icon,\n MusicNoteIcon,\n ScaleIcon,\n SpeakerphoneIcon,\n UsersIcon,\n XIcon,\n UserCircleIcon,\n TableIcon\n} from '@heroicons/vue/outline'\nimport { SearchIcon } from '@heroicons/vue/solid'\nimport Routes, { AppTabRoutes, StandardRoutes } from '@/router/routes'\nimport { Options, Vue } from 'vue-class-component'\nimport { UserAPI } from '@/api'\nimport AppDropdownMenu from '@/components/AppDropdownMenu.vue'\n\n@Options( {\n components: {\n Dialog,\n DialogOverlay,\n Menu,\n MenuButton,\n MenuItem,\n MenuItems,\n TransitionChild,\n TransitionRoot,\n BellIcon,\n MenuAlt2Icon,\n SearchIcon,\n XIcon,\n AppDropdownMenu,\n UserCircleIcon,\n TableIcon\n }\n})\nexport default class AppBase extends Vue {\n \n signOutPressed = async () => {\n console.log(\"Sign out pressed\")\n try {\n await UserAPI.logout()\n Routes.go(StandardRoutes.Home)\n } catch (err) {\n console.error(err)\n // TODO: Show Errors\n }\n }\n\n userNavigation: { name: String, onClick: () => void}[] = [\n { name: 'Sign out', onClick: this.signOutPressed },\n ]\n\n navigation: { name: String, route: AppTabRoutes, icon: RenderFunction }[]= [\n { name: 'Dashboard', route: AppTabRoutes.Dashboard, icon: ChartBarIcon },\n { name: 'Rounds', route: AppTabRoutes.Rounds, icon: TableIcon },\n { name: 'Push Notification', route: AppTabRoutes.PushNotification, icon: SpeakerphoneIcon },\n { name: 'Users', route: AppTabRoutes.Users, icon: UsersIcon },\n { name: 'Contestants', route: AppTabRoutes.Contestants, icon: MusicNoteIcon },\n { name: 'Mentors', route: AppTabRoutes.Mentors, icon: AcademicCapIcon },\n { name: 'Judges', route: AppTabRoutes.Judges, icon: ScaleIcon },\n // { name: 'Voting Windows', route: AppTabRoutes.VotingWindows, icon: ClipboardCheckIcon },\n ]\n\n sidebarOpen = ref(false)\n\n}\n","import { render } from \"./AppBase.vue?vue&type=template&id=7b78f107&scoped=true&ts=true\"\nimport script from \"./AppBase.vue?vue&type=script&lang=ts\"\nexport * from \"./AppBase.vue?vue&type=script&lang=ts\"\n\nimport \"./AppBase.vue?vue&type=style&index=0&id=7b78f107&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7b78f107\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/images/logo.svg'\n\n\nconst _hoisted_1 = { class: \"min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"max-w-md w-full space-y-8\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-auto h-16 w-auto\",\n src: _imports_0,\n alt: \"Logo\"\n }),\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mt-6 text-center text-3xl font-extrabold text-gray-900\" }, \" Create Season \")\n], -1)\nconst _hoisted_4 = { class: \"rounded-md shadow-sm -space-y-px\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"app-name\",\n class: \"sr-only\"\n}, \"Season name\", -1)\nconst _hoisted_6 = { class: \"inset-y-0 flex items-center pr-2\" }\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\" Create \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PlusIcon = _resolveComponent(\"PlusIcon\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"form\", {\n class: \"mt-8 space-y-6\",\n onSubmit: _cache[2] || (_cache[2] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _withDirectives(_createElementVNode(\"input\", {\n id: \"app-name\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.appName) = $event)),\n name: \"appname\",\n type: \"text\",\n required: \"\",\n class: \"appearance-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm\",\n placeholder: \"Season name\"\n }, null, 512), [\n [_vModelText, _ctx.appName]\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"button\", {\n type: \"submit\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.createAppPressed())),\n class: \"group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\"\n }, [\n _createElementVNode(\"span\", _hoisted_6, [\n _createVNode(_component_PlusIcon, {\n class: \"h-5 w-5 text-indigo-500 group-hover:text-indigo-400\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _hoisted_7\n ])\n ])\n ], 32)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_Loader, { key: 1 }))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { AdminAPI } from '@/api'\nimport Loader from '@/components/Loader.vue'\nimport Routes, { AppRoutes } from '@/router/routes'\nimport { PlusIcon } from '@heroicons/vue/solid'\nimport { Options, Vue} from 'vue-class-component'\n\n@Options({\n name: 'AppCreate',\n components: {\n PlusIcon,\n Loader\n }\n })\nexport default class AppCreate extends Vue {\n \n appName: string = \"\"\n loading: Boolean = false\n\n async createAppPressed() {\n this.loading = true\n try {\n const app = (await AdminAPI.createApp(this.appName)).data\n await this.$store.dispatch('user/fetchCurrentUser')\n Routes.go(AppRoutes.AppBase, {\n params: {appId: app.appId}\n })\n } catch ( error) {\n alert(\"Failed to create new season\");\n } finally {\n this.loading = false\n }\n\n }\n}\n\n","import { render } from \"./AppCreate.vue?vue&type=template&id=e9405df2&ts=true\"\nimport script from \"./AppCreate.vue?vue&type=script&lang=ts\"\nexport * from \"./AppCreate.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4c9043a1\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"app-select-base\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"bg-white shadow overflow-hidden sm:rounded-md w-full sm:w-3/5\"\n}\nconst _hoisted_3 = {\n role: \"list\",\n class: \"divide-y divide-gray-200\"\n}\nconst _hoisted_4 = [\"onClick\"]\nconst _hoisted_5 = { class: \"px-4 py-4 flex items-center sm:px-6\" }\nconst _hoisted_6 = { class: \"min-w-0 flex-1 sm:flex sm:items-center sm:justify-between\" }\nconst _hoisted_7 = { class: \"truncate\" }\nconst _hoisted_8 = { class: \"flex text-sm\" }\nconst _hoisted_9 = { class: \"font-medium text-indigo-600 truncate\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"mt-2 flex\"\n}\nconst _hoisted_11 = { class: \"flex items-center text-sm text-gray-500\" }\nconst _hoisted_12 = { class: \"ml-5 flex-shrink-0\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"mt-2 block text-sm font-medium text-gray-900\" }, \" Create a new season \", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CalendarIcon = _resolveComponent(\"CalendarIcon\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_PlusIcon = _resolveComponent(\"PlusIcon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.options.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"ul\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: option.key\n }, [\n _createElementVNode(\"div\", {\n onClick: ($event: any) => (_ctx.didSelectOption(index)),\n class: \"block hover:bg-gray-50 cursor-pointer\"\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(option.title), 1)\n ]),\n (option.subtitle)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_CalendarIcon, {\n class: \"flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n }),\n _createElementVNode(\"div\", null, _toDisplayString(option.subtitle), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_ChevronRightIcon, {\n class: \"h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n })\n ])\n ])\n ], 8, _hoisted_4)\n ]))\n }), 128))\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n type: \"button\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.createAppPressed && _ctx.createAppPressed(...args))),\n class: \"relative block min-w-min border-2 border-gray-300 border-dashed rounded-lg p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\"\n }, [\n _createVNode(_component_PlusIcon),\n _hoisted_13\n ]))\n ]))\n}","\nimport { App } from '@/types/types'\nimport { Options, Vue} from 'vue-class-component'\n\nimport {\n PlusIcon\n} from '@heroicons/vue/outline'\nimport { CalendarIcon, ChevronRightIcon } from '@heroicons/vue/solid'\n\nimport Routes, { AppRoutes } from '@/router/routes'\nimport moment from 'moment'\n\n@Options({name: 'AppSelect',\n components:{\n PlusIcon,\n ChevronRightIcon,\n CalendarIcon\n }\n})\nexport default class AppSelect extends Vue {\n \n private options: {title: string, subtitle?: string, app?: App, key: string }[] = []\n\n mounted() {\n const userApps = this.$store.state.user.user?.apps ?? []\n\n this.options = userApps.map( app => {\n return { \n title: app.name,\n subtitle: this.formattedDateForApp(app),\n app: app,\n key: \"\"+app.id\n }\n })\n\n this.options.push( {\n title: 'Create new season',\n key: \"create_app_key\"\n })\n\n }\n\n didSelectOption(index: number) {\n const option = this.options[index]\n if (option.app) {\n this.didSelectApp(option.app)\n } else {\n this.createAppPressed()\n }\n }\n\n createAppPressed() {\n Routes.go(AppRoutes.AppCreate)\n }\n\n didSelectApp(app: App) { \n Routes.go(AppRoutes.AppBase, {\n params: {appId: app.appId}\n })\n }\n\n formattedDateForApp(app: App) {\n return moment(app.createdAt).format('MM/DD/YYYY')\n }\n\n}\n","import { render } from \"./AppSelect.vue?vue&type=template&id=4c9043a1&scoped=true&ts=true\"\nimport script from \"./AppSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./AppSelect.vue?vue&type=script&lang=ts\"\n\nimport \"./AppSelect.vue?vue&type=style&index=0&id=4c9043a1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4c9043a1\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createStaticVNode as _createStaticVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f01da49a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex-col items-start text-left p-4 sm:px-10 px-2\" }\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"

Privacy Policy

Last updated: December 13, 2021

This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.

We use Your Personal data to provide and improve the Service. By using the Service, You agree to the collection and use of information in accordance with this Privacy Policy.

Interpretation and Definitions

Interpretation

The words of which the initial letter is capitalized have meanings defined under the following conditions. The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.

Definitions

For the purposes of this Privacy Policy:

  • Account means a unique account created for You to access our Service or parts of our Service.

  • Affiliate means an entity that controls, is controlled by or is under common control with a party, where "control" means ownership of 50% or more of the shares, equity interest or other securities entitled to vote for election of directors or other managing authority.

  • Application means the software program provided by the Company downloaded by You on any electronic device, named Glor Tire

  • Company (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to TG4, Baile na hAbhann, Co na Gaillimhe.

    For the purpose of the GDPR, the Company is the Data Controller.

  • Country refers to: Ireland

  • Data Controller, for the purposes of the GDPR (General Data Protection Regulation), refers to the Company as the legal person which alone or jointly with others determines the purposes and means of the processing of Personal Data.

  • Device means any device that can access the Service such as a computer, a cellphone or a digital tablet.

  • Personal Data is any information that relates to an identified or identifiable individual.

    For the purposes for GDPR, Personal Data means any information relating to You such as a name, an identification number, location data, online identifier or to one or more factors specific to the physical, physiological, genetic, mental, economic, cultural or social identity.

  • Service refers to the Application.

  • Service Provider means any natural or legal person who processes the data on behalf of the Company. It refers to third-party companies or individuals employed by the Company to facilitate the Service, to provide the Service on behalf of the Company, to perform services related to the Service or to assist the Company in analyzing how the Service is used. For the purpose of the GDPR, Service Providers are considered Data Processors.

  • Third-party Social Media Service refers to any website or any social network website through which a User can log in or create an account to use the Service.

  • Usage Data refers to data collected automatically, either generated by the use of the Service or from the Service infrastructure itself (for example, the duration of a page visit).

  • You means the individual accessing or using the Service, or the company, or other legal entity on behalf of which such individual is accessing or using the Service, as applicable.

    Under GDPR (General Data Protection Regulation), You can be referred to as the Data Subject or as the User as you are the individual using the Service.

Collecting and Using Your Personal Data

Types of Data Collected

Personal Data

While using Our Service, We may ask You to provide Us with certain personally identifiable information that can be used to contact or identify You. Personally identifiable information may include, but is not limited to:

  • Email address

  • Address, State, Province, ZIP/Postal code, City

  • Usage Data

Usage Data

Usage Data is collected automatically when using the Service.

Usage Data may include information such as Your Device's Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that You visit, the time and date of Your visit, the time spent on those pages, unique device identifiers and other diagnostic data.

When You access the Service by or through a mobile device, We may collect certain information automatically, including, but not limited to, the type of mobile device You use, Your mobile device unique ID, the IP address of Your mobile device, Your mobile operating system, the type of mobile Internet browser You use, unique device identifiers and other diagnostic data.

We may also collect information that Your browser sends whenever You visit our Service or when You access the Service by or through a mobile device.

Information from Third-Party Social Media Services

The Company allows You to create an account and log in to use the Service through the following Third-party Social Media Services:

  • Facebook
  • Sign in with Apple

If You decide to register through or otherwise grant us access to a Third-Party Social Media Service, We may collect Personal data that is already associated with Your Third-Party Social Media Service's account, such as Your name or Your email address.

You may also have the option of sharing additional information with the Company through Your Third-Party Social Media Service's account. If You choose to provide such information and Personal Data, during registration or otherwise, You are giving the Company permission to use, share, and store it in a manner consistent with this Privacy Policy.

Use of Your Personal Data

The Company may use Personal Data for the following purposes:

  • To provide and maintain our Service, including to monitor the usage of our Service.

  • To manage Your Account: to manage Your registration as a user of the Service. The Personal Data You provide can give You access to different functionalities of the Service that are available to You as a registered user.

  • For the performance of a contract: the development, compliance and undertaking of the purchase contract for the products, items or services You have purchased or of any other contract with Us through the Service.

  • To contact You: To contact You by email, telephone calls, SMS, or other equivalent forms of electronic communication, such as a mobile application's push notifications regarding updates or informative communications related to the functionalities, products or contracted services, including the security updates, when necessary or reasonable for their implementation.

  • To manage Your requests: To attend and manage Your requests to Us.

  • For business transfers: We may use Your information to evaluate or conduct a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of Our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by Us about our Service users is among the assets transferred.

  • For other purposes: We may use Your information for other purposes, such as data analysis, identifying usage trends, determining the effectiveness of our promotional campaigns and to evaluate and improve our Service, products, services, marketing and your experience.

We may share Your personal information in the following situations:

  • With Service Providers: We may share Your personal information with Service Providers to monitor and analyze the use of our Service, for payment processing, to contact You.
  • For business transfers: We may share or transfer Your personal information in connection with, or during negotiations of, any merger, sale of Company assets, financing, or acquisition of all or a portion of Our business to another company.
  • With Affiliates: We may share Your information with Our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include Our parent company and any other subsidiaries, joint venture partners or other companies that We control or that are under common control with Us.
  • With Your consent: We may disclose Your personal information for any other purpose with Your consent.

Retention of Your Personal Data

The Company will retain Your Personal Data only for as long as is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data to the extent necessary to comply with our legal obligations (for example, if we are required to retain your data to comply with applicable laws), resolve disputes, and enforce our legal agreements and policies.

The Company will also retain Usage Data for internal analysis purposes. Usage Data is generally retained for a shorter period of time, except when this data is used to strengthen the security or to improve the functionality of Our Service, or We are legally obligated to retain this data for longer time periods.

Transfer of Your Personal Data

Your information, including Personal Data, is processed at the Company's operating offices and in any other places where the parties involved in the processing are located. It means that this information may be transferred to — and maintained on — computers located outside of Your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from Your jurisdiction.

Your consent to this Privacy Policy followed by Your submission of such information represents Your agreement to that transfer.

The Company will take all steps reasonably necessary to ensure that Your data is treated securely and in accordance with this Privacy Policy and no transfer of Your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of Your data and other personal information.

Disclosure of Your Personal Data

Business Transactions

If the Company is involved in a merger, acquisition or asset sale, Your Personal Data may be transferred. We will provide notice before Your Personal Data is transferred and becomes subject to a different Privacy Policy.

Law enforcement

Under certain circumstances, the Company may be required to disclose Your Personal Data if required to do so by law or in response to valid requests by public authorities (e.g. a court or a government agency).

Other legal requirements

The Company may disclose Your Personal Data in the good faith belief that such action is necessary to:

  • Comply with a legal obligation
  • Protect and defend the rights or property of the Company
  • Prevent or investigate possible wrongdoing in connection with the Service
  • Protect the personal safety of Users of the Service or the public
  • Protect against legal liability

Security of Your Personal Data

The security of Your Personal Data is important to Us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While We strive to use commercially acceptable means to protect Your Personal Data, We cannot guarantee its absolute security.

Detailed Information on the Processing of Your Personal Data

The Service Providers We use may have access to Your Personal Data. These third-party vendors collect, store, use, process and transfer information about Your activity on Our Service in accordance with their Privacy Policies.

Analytics

We may use third-party Service providers to monitor and analyze the use of our Service.

Payments

We may provide paid products and/or services within the Service. In that case, we may use third-party services for payment processing (e.g. payment processors).

We will not store or collect Your payment card details. That information is provided directly to Our third-party payment processors whose use of Your personal information is governed by their Privacy Policy. These payment processors adhere to the standards set by PCI-DSS as managed by the PCI Security Standards Council, which is a joint effort of brands like Visa, Mastercard, American Express and Discover. PCI-DSS requirements help ensure the secure handling of payment information.

GDPR Privacy

Legal Basis for Processing Personal Data under GDPR

We may process Personal Data under the following conditions:

  • Consent: You have given Your consent for processing Personal Data for one or more specific purposes.
  • Performance of a contract: Provision of Personal Data is necessary for the performance of an agreement with You and/or for any pre-contractual obligations thereof.
  • Legal obligations: Processing Personal Data is necessary for compliance with a legal obligation to which the Company is subject.
  • Vital interests: Processing Personal Data is necessary in order to protect Your vital interests or of another natural person.
  • Public interests: Processing Personal Data is related to a task that is carried out in the public interest or in the exercise of official authority vested in the Company.
  • Legitimate interests: Processing Personal Data is necessary for the purposes of the legitimate interests pursued by the Company.

In any case, the Company will gladly help to clarify the specific legal basis that applies to the processing, and in particular whether the provision of Personal Data is a statutory or contractual requirement, or a requirement necessary to enter into a contract.

Your Rights under the GDPR

The Company undertakes to respect the confidentiality of Your Personal Data and to guarantee You can exercise Your rights.

You have the right under this Privacy Policy, and by law if You are within the EU, to:

  • Request access to Your Personal Data. The right to access, update or delete the information We have on You. Whenever made possible, you can access, update or request deletion of Your Personal Data directly within Your account settings section. If you are unable to perform these actions yourself, please contact Us to assist You. This also enables You to receive a copy of the Personal Data We hold about You.
  • Request correction of the Personal Data that We hold about You. You have the right to have any incomplete or inaccurate information We hold about You corrected.
  • Object to processing of Your Personal Data. This right exists where We are relying on a legitimate interest as the legal basis for Our processing and there is something about Your particular situation, which makes You want to object to our processing of Your Personal Data on this ground. You also have the right to object where We are processing Your Personal Data for direct marketing purposes.
  • Request erasure of Your Personal Data. You have the right to ask Us to delete or remove Personal Data when there is no good reason for Us to continue processing it.
  • Request the transfer of Your Personal Data. We will provide to You, or to a third-party You have chosen, Your Personal Data in a structured, commonly used, machine-readable format. Please note that this right only applies to automated information which You initially provided consent for Us to use or where We used the information to perform a contract with You.
  • Withdraw Your consent. You have the right to withdraw Your consent on using your Personal Data. If You withdraw Your consent, We may not be able to provide You with access to certain specific functionalities of the Service.

Exercising of Your GDPR Data Protection Rights

You may exercise Your rights of access, rectification, cancellation and opposition by contacting Us. Please note that we may ask You to verify Your identity before responding to such requests. If You make a request, We will try our best to respond to You as soon as possible.

You have the right to complain to a Data Protection Authority about Our collection and use of Your Personal Data. For more information, if You are in the European Economic Area (EEA), please contact Your local data protection authority in the EEA.

Children's Privacy

Our Service does not address anyone under the age of 13. We do not knowingly collect personally identifiable information from anyone under the age of 13. If You are a parent or guardian and You are aware that Your child has provided Us with Personal Data, please contact Us. If We become aware that We have collected Personal Data from anyone under the age of 13 without verification of parental consent, We take steps to remove that information from Our servers.

If We need to rely on consent as a legal basis for processing Your information and Your country requires consent from a parent, We may require Your parent's consent before We collect and use that information.

Links to Other Websites

Our Service may contain links to other websites that are not operated by Us. If You click on a third party link, You will be directed to that third party's site. We strongly advise You to review the Privacy Policy of every site You visit.

We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.

Changes to this Privacy Policy

We may update Our Privacy Policy from time to time. We will notify You of any changes by posting the new Privacy Policy on this page.

We will let You know via email and/or a prominent notice on Our Service, prior to the change becoming effective and update the "Last updated" date at the top of this Privacy Policy.

You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

Contact Us

If you have any questions about this Privacy Policy, You can contact us:

  • By email: dp@tg4.ie
\", 81)\nconst _hoisted_83 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _hoisted_83))\n}","\nimport { Options, Vue} from 'vue-class-component'\n\n@Options({name: 'Privacy'})\nexport default class Privacy extends Vue {\n\n}\n","import { render } from \"./Privacy.vue?vue&type=template&id=f01da49a&scoped=true&ts=true\"\nimport script from \"./Privacy.vue?vue&type=script&lang=ts\"\nexport * from \"./Privacy.vue?vue&type=script&lang=ts\"\n\nimport \"./Privacy.vue?vue&type=style&index=0&id=f01da49a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f01da49a\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createStaticVNode as _createStaticVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4e6bcf74\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex flex-col items-start text-left p-4 sm:px-10 px-2\" }\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"

Privacy Policy

Last updated: December 13, 2021

This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.

We use Your Personal data to provide and improve the Service. By using the Service, You agree to the collection and use of information in accordance with this Privacy Policy.

Interpretation and Definitions

Interpretation

The words of which the initial letter is capitalized have meanings defined under the following conditions. The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.

Definitions

For the purposes of this Privacy Policy:

  • Account means a unique account created for You to access our Service or parts of our Service.

  • Affiliate means an entity that controls, is controlled by or is under common control with a party, where "control" means ownership of 50% or more of the shares, equity interest or other securities entitled to vote for election of directors or other managing authority.

  • Application means the software program provided by the Company downloaded by You on any electronic device, named Glor Tire

  • Company (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to TG4, Baile na hAbhann, Co na Gaillimhe.

    For the purpose of the GDPR, the Company is the Data Controller.

  • Country refers to: Ireland

  • Data Controller, for the purposes of the GDPR (General Data Protection Regulation), refers to the Company as the legal person which alone or jointly with others determines the purposes and means of the processing of Personal Data.

  • Device means any device that can access the Service such as a computer, a cellphone or a digital tablet.

  • Personal Data is any information that relates to an identified or identifiable individual.

    For the purposes for GDPR, Personal Data means any information relating to You such as a name, an identification number, location data, online identifier or to one or more factors specific to the physical, physiological, genetic, mental, economic, cultural or social identity.

  • Service refers to the Application.

  • Service Provider means any natural or legal person who processes the data on behalf of the Company. It refers to third-party companies or individuals employed by the Company to facilitate the Service, to provide the Service on behalf of the Company, to perform services related to the Service or to assist the Company in analyzing how the Service is used. For the purpose of the GDPR, Service Providers are considered Data Processors.

  • Third-party Social Media Service refers to any website or any social network website through which a User can log in or create an account to use the Service.

  • Usage Data refers to data collected automatically, either generated by the use of the Service or from the Service infrastructure itself (for example, the duration of a page visit).

  • You means the individual accessing or using the Service, or the company, or other legal entity on behalf of which such individual is accessing or using the Service, as applicable.

    Under GDPR (General Data Protection Regulation), You can be referred to as the Data Subject or as the User as you are the individual using the Service.

Collecting and Using Your Personal Data

Types of Data Collected

Personal Data

While using Our Service, We may ask You to provide Us with certain personally identifiable information that can be used to contact or identify You. Personally identifiable information may include, but is not limited to:

  • Email address

  • Address, State, Province, ZIP/Postal code, City

  • Usage Data

Usage Data

Usage Data is collected automatically when using the Service.

Usage Data may include information such as Your Device's Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that You visit, the time and date of Your visit, the time spent on those pages, unique device identifiers and other diagnostic data.

When You access the Service by or through a mobile device, We may collect certain information automatically, including, but not limited to, the type of mobile device You use, Your mobile device unique ID, the IP address of Your mobile device, Your mobile operating system, the type of mobile Internet browser You use, unique device identifiers and other diagnostic data.

We may also collect information that Your browser sends whenever You visit our Service or when You access the Service by or through a mobile device.

Information from Third-Party Social Media Services

The Company allows You to create an account and log in to use the Service through the following Third-party Social Media Services:

  • Facebook
  • Sign in with Apple

If You decide to register through or otherwise grant us access to a Third-Party Social Media Service, We may collect Personal data that is already associated with Your Third-Party Social Media Service's account, such as Your name or Your email address.

You may also have the option of sharing additional information with the Company through Your Third-Party Social Media Service's account. If You choose to provide such information and Personal Data, during registration or otherwise, You are giving the Company permission to use, share, and store it in a manner consistent with this Privacy Policy.

Use of Your Personal Data

The Company may use Personal Data for the following purposes:

  • To provide and maintain our Service, including to monitor the usage of our Service.

  • To manage Your Account: to manage Your registration as a user of the Service. The Personal Data You provide can give You access to different functionalities of the Service that are available to You as a registered user.

  • For the performance of a contract: the development, compliance and undertaking of the purchase contract for the products, items or services You have purchased or of any other contract with Us through the Service.

  • To contact You: To contact You by email, telephone calls, SMS, or other equivalent forms of electronic communication, such as a mobile application's push notifications regarding updates or informative communications related to the functionalities, products or contracted services, including the security updates, when necessary or reasonable for their implementation.

  • To manage Your requests: To attend and manage Your requests to Us.

  • For business transfers: We may use Your information to evaluate or conduct a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of Our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by Us about our Service users is among the assets transferred.

  • For other purposes: We may use Your information for other purposes, such as data analysis, identifying usage trends, determining the effectiveness of our promotional campaigns and to evaluate and improve our Service, products, services, marketing and your experience.

We may share Your personal information in the following situations:

  • With Service Providers: We may share Your personal information with Service Providers to monitor and analyze the use of our Service, for payment processing, to contact You.
  • For business transfers: We may share or transfer Your personal information in connection with, or during negotiations of, any merger, sale of Company assets, financing, or acquisition of all or a portion of Our business to another company.
  • With Affiliates: We may share Your information with Our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include Our parent company and any other subsidiaries, joint venture partners or other companies that We control or that are under common control with Us.
  • With Your consent: We may disclose Your personal information for any other purpose with Your consent.

Retention of Your Personal Data

The Company will retain Your Personal Data only for as long as is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data to the extent necessary to comply with our legal obligations (for example, if we are required to retain your data to comply with applicable laws), resolve disputes, and enforce our legal agreements and policies.

The Company will also retain Usage Data for internal analysis purposes. Usage Data is generally retained for a shorter period of time, except when this data is used to strengthen the security or to improve the functionality of Our Service, or We are legally obligated to retain this data for longer time periods.

Transfer of Your Personal Data

Your information, including Personal Data, is processed at the Company's operating offices and in any other places where the parties involved in the processing are located. It means that this information may be transferred to — and maintained on — computers located outside of Your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from Your jurisdiction.

Your consent to this Privacy Policy followed by Your submission of such information represents Your agreement to that transfer.

The Company will take all steps reasonably necessary to ensure that Your data is treated securely and in accordance with this Privacy Policy and no transfer of Your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of Your data and other personal information.

Disclosure of Your Personal Data

Business Transactions

If the Company is involved in a merger, acquisition or asset sale, Your Personal Data may be transferred. We will provide notice before Your Personal Data is transferred and becomes subject to a different Privacy Policy.

Law enforcement

Under certain circumstances, the Company may be required to disclose Your Personal Data if required to do so by law or in response to valid requests by public authorities (e.g. a court or a government agency).

Other legal requirements

The Company may disclose Your Personal Data in the good faith belief that such action is necessary to:

  • Comply with a legal obligation
  • Protect and defend the rights or property of the Company
  • Prevent or investigate possible wrongdoing in connection with the Service
  • Protect the personal safety of Users of the Service or the public
  • Protect against legal liability

Security of Your Personal Data

The security of Your Personal Data is important to Us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While We strive to use commercially acceptable means to protect Your Personal Data, We cannot guarantee its absolute security.

Detailed Information on the Processing of Your Personal Data

The Service Providers We use may have access to Your Personal Data. These third-party vendors collect, store, use, process and transfer information about Your activity on Our Service in accordance with their Privacy Policies.

Analytics

We may use third-party Service providers to monitor and analyze the use of our Service.

Payments

We may provide paid products and/or services within the Service. In that case, we may use third-party services for payment processing (e.g. payment processors).

We will not store or collect Your payment card details. That information is provided directly to Our third-party payment processors whose use of Your personal information is governed by their Privacy Policy. These payment processors adhere to the standards set by PCI-DSS as managed by the PCI Security Standards Council, which is a joint effort of brands like Visa, Mastercard, American Express and Discover. PCI-DSS requirements help ensure the secure handling of payment information.

GDPR Privacy

Legal Basis for Processing Personal Data under GDPR

We may process Personal Data under the following conditions:

  • Consent: You have given Your consent for processing Personal Data for one or more specific purposes.
  • Performance of a contract: Provision of Personal Data is necessary for the performance of an agreement with You and/or for any pre-contractual obligations thereof.
  • Legal obligations: Processing Personal Data is necessary for compliance with a legal obligation to which the Company is subject.
  • Vital interests: Processing Personal Data is necessary in order to protect Your vital interests or of another natural person.
  • Public interests: Processing Personal Data is related to a task that is carried out in the public interest or in the exercise of official authority vested in the Company.
  • Legitimate interests: Processing Personal Data is necessary for the purposes of the legitimate interests pursued by the Company.

In any case, the Company will gladly help to clarify the specific legal basis that applies to the processing, and in particular whether the provision of Personal Data is a statutory or contractual requirement, or a requirement necessary to enter into a contract.

Your Rights under the GDPR

The Company undertakes to respect the confidentiality of Your Personal Data and to guarantee You can exercise Your rights.

You have the right under this Privacy Policy, and by law if You are within the EU, to:

  • Request access to Your Personal Data. The right to access, update or delete the information We have on You. Whenever made possible, you can access, update or request deletion of Your Personal Data directly within Your account settings section. If you are unable to perform these actions yourself, please contact Us to assist You. This also enables You to receive a copy of the Personal Data We hold about You.
  • Request correction of the Personal Data that We hold about You. You have the right to have any incomplete or inaccurate information We hold about You corrected.
  • Object to processing of Your Personal Data. This right exists where We are relying on a legitimate interest as the legal basis for Our processing and there is something about Your particular situation, which makes You want to object to our processing of Your Personal Data on this ground. You also have the right to object where We are processing Your Personal Data for direct marketing purposes.
  • Request erasure of Your Personal Data. You have the right to ask Us to delete or remove Personal Data when there is no good reason for Us to continue processing it.
  • Request the transfer of Your Personal Data. We will provide to You, or to a third-party You have chosen, Your Personal Data in a structured, commonly used, machine-readable format. Please note that this right only applies to automated information which You initially provided consent for Us to use or where We used the information to perform a contract with You.
  • Withdraw Your consent. You have the right to withdraw Your consent on using your Personal Data. If You withdraw Your consent, We may not be able to provide You with access to certain specific functionalities of the Service.

Exercising of Your GDPR Data Protection Rights

You may exercise Your rights of access, rectification, cancellation and opposition by contacting Us. Please note that we may ask You to verify Your identity before responding to such requests. If You make a request, We will try our best to respond to You as soon as possible.

You have the right to complain to a Data Protection Authority about Our collection and use of Your Personal Data. For more information, if You are in the European Economic Area (EEA), please contact Your local data protection authority in the EEA.

Children's Privacy

Our Service does not address anyone under the age of 13. We do not knowingly collect personally identifiable information from anyone under the age of 13. If You are a parent or guardian and You are aware that Your child has provided Us with Personal Data, please contact Us. If We become aware that We have collected Personal Data from anyone under the age of 13 without verification of parental consent, We take steps to remove that information from Our servers.

If We need to rely on consent as a legal basis for processing Your information and Your country requires consent from a parent, We may require Your parent's consent before We collect and use that information.

Links to Other Websites

Our Service may contain links to other websites that are not operated by Us. If You click on a third party link, You will be directed to that third party's site. We strongly advise You to review the Privacy Policy of every site You visit.

We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.

Changes to this Privacy Policy

We may update Our Privacy Policy from time to time. We will notify You of any changes by posting the new Privacy Policy on this page.

We will let You know via email and/or a prominent notice on Our Service, prior to the change becoming effective and update the "Last updated" date at the top of this Privacy Policy.

You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

Contact Us

If you have any questions about this Privacy Policy, You can contact us:

  • By email: dp@tg4.ie
\", 81)\nconst _hoisted_83 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _hoisted_83))\n}","\nimport { Options, Vue} from 'vue-class-component'\n\n@Options({name: 'PrivacyIrish'})\nexport default class PrivacyIrish extends Vue {\n\n}\n","import { render } from \"./PrivacyIrish.vue?vue&type=template&id=4e6bcf74&scoped=true&ts=true\"\nimport script from \"./PrivacyIrish.vue?vue&type=script&lang=ts\"\nexport * from \"./PrivacyIrish.vue?vue&type=script&lang=ts\"\n\nimport \"./PrivacyIrish.vue?vue&type=style&index=0&id=4e6bcf74&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4e6bcf74\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5cd3b091\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"base\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"round_results_loading_error_container\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 font-semibold\" }, \"Loading\", -1))\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = {\n key: 1,\n class: \"round_results_loading_error_container\"\n}\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 font-semibold\" }, \"Error\", -1))\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = {\n key: 2,\n class: \"my-8\"\n}\nconst _hoisted_10 = { class: \"graph_inner_container\" }\nconst _hoisted_11 = {\n key: 3,\n class: \"list-wrapper sm:rounded-md shadow divide-y divide-purple-300\"\n}\nconst _hoisted_12 = { class: \"list-cell-contestant-section\" }\nconst _hoisted_13 = [\"src\"]\nconst _hoisted_14 = { class: \"flex-grow text-left\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-semibold\" }, \"Window:\", -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-semibold\" }, \"Phone Votes:\", -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-semibold\" }, \"App Votes:\", -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-semibold\" }, \"Total:\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_RoundDropdownMenu = _resolveComponent(\"RoundDropdownMenu\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_ExclamationIcon = _resolveComponent(\"ExclamationIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_apexchart = _resolveComponent(\"apexchart\")!\n const _component_PhoneIcon = _resolveComponent(\"PhoneIcon\")!\n const _component_AddPhoneVotesModal = _resolveComponent(\"AddPhoneVotesModal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_RoundDropdownMenu, {\n class: \"round_selection_drop_down\",\n options: _ctx.roundOptions,\n initialOption: _ctx.selectedOption,\n onDidSelectOption: _ctx.didSelectRound\n }, null, 8, [\"options\", \"initialOption\", \"onDidSelectOption\"]),\n (_ctx.loading || _ctx.loadingResults)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_Loader),\n _hoisted_3,\n (_ctx.loadingResults)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, \"Calculating results, please wait...\"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.error || _ctx.resultserror)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _hoisted_6,\n (_ctx.error)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, \"Failed to load rounds\"))\n : _createCommentVNode(\"\", true),\n (_ctx.resultserror)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, \"Failed to load round results\"))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n onClick: _ctx.retryPressed,\n title: \"Retry\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ExclamationIcon)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roundResults)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n (_ctx.graphOptions)\n ? (_openBlock(), _createBlock(_component_apexchart, {\n key: 0,\n type: \"bar\",\n options: _ctx.graphOptions,\n series: _ctx.graphSeries\n }, null, 8, [\"options\", \"series\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.roundResults)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.roundResults.contestantResults, (contestantResult) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"list-cell\",\n key: contestantResult.contestant\n }, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"img\", {\n class: \"inline-block h-10 w-10 rounded-full object-cover\",\n src: _ctx.contestantMap[contestantResult.contestant].profilePhoto\n }, null, 8, _hoisted_13),\n _createElementVNode(\"div\", _hoisted_14, _toDisplayString(_ctx.contestantMap[contestantResult.contestant].name), 1)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(contestantResult.votesPerWindow, (windowVotes) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"list-cell-window-container\",\n key: windowVotes.window\n }, [\n _createElementVNode(\"div\", null, [\n _hoisted_15,\n _createTextVNode(\" \" + _toDisplayString(_ctx.voteWindowTitle(windowVotes.window)), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_16,\n _createTextVNode(\" \" + _toDisplayString(windowVotes.phoneVotes.toLocaleString()), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_17,\n _createTextVNode(\" \" + _toDisplayString(windowVotes.appVotes.toLocaleString()), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_18,\n _createTextVNode(\" \" + _toDisplayString(windowVotes.totalVotes.toLocaleString()), 1)\n ]),\n _createVNode(_component_Button, {\n class: \"mt-4\",\n onClick: _withModifiers(($event: any) => (_ctx.addPhoneVotes(windowVotes.window, contestantResult.contestant)), [\"stop\"]),\n title: \"Add phone votes\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PhoneIcon)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]))\n }), 128))\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.selectedWindow && _ctx.selectedContestant)\n ? (_openBlock(), _createBlock(_component_AddPhoneVotesModal, {\n key: 0,\n modelValue: _ctx.showPhoneVotesModal,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.showPhoneVotesModal) = $event)),\n votingWindow: _ctx.selectedWindow,\n contestant: _ctx.selectedContestant,\n onConfirm: _ctx.didUpdatePhoneVotes,\n onCancel: _ctx.modalCancel\n }, null, 8, [\"modelValue\", \"votingWindow\", \"contestant\", \"onConfirm\", \"onCancel\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createBlock as _createBlock, Transition as _Transition } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createTextVNode(\" Select round \")\nconst _hoisted_2 = { class: \"relative\" }\nconst _hoisted_3 = { class: \"inline-flex shadow-sm rounded-md divide-x divide-indigo-600 w-full\" }\nconst _hoisted_4 = { class: \"relative z-0 inline-flex shadow-sm rounded-md w-full\" }\nconst _hoisted_5 = { class: \"relative inline-flex items-center py-2 pl-3 pr-4 border border-transparent rounded-l-md text-white flex-grow\" }\nconst _hoisted_6 = { class: \"ml-2.5 text-sm font-medium\" }\nconst _hoisted_7 = { class: \"p-2\" }\nconst _hoisted_8 = { class: \"flex flex-col items-start\" }\nconst _hoisted_9 = { class: \"flex justify-between\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ListboxLabel = _resolveComponent(\"ListboxLabel\")!\n const _component_ChevronDownIcon = _resolveComponent(\"ChevronDownIcon\")!\n const _component_ListboxButton = _resolveComponent(\"ListboxButton\")!\n const _component_ListboxOption = _resolveComponent(\"ListboxOption\")!\n const _component_ListboxOptions = _resolveComponent(\"ListboxOptions\")!\n const _component_Listbox = _resolveComponent(\"Listbox\")!\n\n return (_openBlock(), _createBlock(_component_Listbox, {\n as: \"div\",\n modelValue: _ctx.selectedOption,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.selectedOption) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ListboxLabel, { class: \"sr-only\" }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_ListboxButton, { class: \"w-full relative inline-flex items-center bg-indigo-500 rounded-md text-sm font-medium text-white hover:bg-indigo-600 focus:outline-none focus:z-10 focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-50 focus:ring-indigo-500 divide-x divide-indigo-800\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(_ctx.getCurrentOptionName()), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_ChevronDownIcon, {\n class: \"h-5 w-5 text-white\",\n \"aria-hidden\": \"true\"\n })\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(_Transition, {\n \"leave-active-class\": \"transition ease-in duration-100\",\n \"leave-from-class\": \"opacity-100\",\n \"leave-to-class\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ListboxOptions, { class: \"origin-top-right absolute z-10 right-0 mt-2 w-full z-20 rounded-md shadow-lg overflow-hidden bg-white divide-y divide-gray-200 ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option) => {\n return (_openBlock(), _createBlock(_component_ListboxOption, {\n as: \"template\",\n key: option.key,\n value: option\n }, {\n default: _withCtx(({ active }) => [\n _createElementVNode(\"li\", {\n class: _normalizeClass([\"cursor-pointer\", [active ? 'text-white bg-indigo-500' : 'text-gray-900', 'select-none relative p-4 text-sm']])\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", {\n class: _normalizeClass(option == _ctx.selectedOption ? 'font-semibold' : 'font-normal')\n }, _toDisplayString(option.title), 3)\n ])\n ])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}","\nimport { DropDownOption } from '@/types/types'\nimport { Listbox, ListboxButton, ListboxLabel, ListboxOption, ListboxOptions } from '@headlessui/vue'\nimport { ChevronDownIcon } from '@heroicons/vue/solid'\nimport { Options, Vue } from 'vue-class-component'\nimport { Prop, Watch } from 'vue-property-decorator'\n\n@Options( {\n components: {\n Listbox,\n ListboxButton,\n ListboxLabel,\n ListboxOption,\n ListboxOptions,\n ChevronDownIcon,\n },\n emits: [\n 'didSelectOption'\n ]\n})\nexport default class RoundDropdownMenu extends Vue {\n\n @Prop({}) options: DropDownOption[] = [] \n @Prop({}) initialOption: DropDownOption | null = null\n\n private selectedOption: DropDownOption | null = null\n\n\n @Watch('initialOption')\n updateParams() {\n this.selectedOption = this.initialOption\n }\n\n created() {\n this.selectedOption = this.initialOption\n }\n\n getCurrentOptionName() {\n return this.selectedOption?.title ?? \"Select Round\"\n }\n\n @Watch('selectedOption')\n emitSelection() {\n if (this.selectedOption) {\n this.$emit('didSelectOption', this.selectedOption.object)\n }\n }\n}\n","import { render } from \"./RoundDropdownMenu.vue?vue&type=template&id=2c65df9e&ts=true\"\nimport script from \"./RoundDropdownMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./RoundDropdownMenu.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"disabled\"]\nconst _hoisted_2 = {\n class: \"-ml-1 mr-2 h-5 w-5\",\n \"aria-hidden\": \"true\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"button\", {\n type: \"button\",\n disabled: _ctx.disabled,\n class: _normalizeClass([_ctx.getClasses(), \"inline-flex items-center justify-center px-4 py-2 border shadow-sm text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _createTextVNode(\" \" + _toDisplayString(_ctx.title), 1)\n ], 10, _hoisted_1))\n}","\nimport { Options, Vue } from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\n\n\n@Options({\n name: \"Button\"\n})\nexport default class Button extends Vue { \n @Prop({ type: String, require: true }) readonly title!: string\n @Prop({ type: Boolean, default: true }) readonly primary!: boolean\n @Prop({ type: Boolean, default: false }) readonly disabled!: boolean\n\n getClasses(){\n if (this.primary) {\n return ['bg-indigo-600', 'border-transparent', 'text-white', 'hover:bg-indigo-700' ]\n } else {\n return ['bg-white', 'border-gray-300', 'text-gray-700', 'hover:bg-gray-50']\n }\n }\n \n}\n","import { render } from \"./Button.vue?vue&type=template&id=1c8d1889&ts=true\"\nimport script from \"./Button.vue?vue&type=script&lang=ts\"\nexport * from \"./Button.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"sm:flex sm:items-start\" }\nconst _hoisted_2 = { class: \"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full sm:mx-0 sm:h-10 sm:w-10 bg-green-100\" }\nconst _hoisted_3 = { class: \"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full\" }\nconst _hoisted_4 = { class: \"text-lg mt-2 leading-6 font-medium text-gray-900\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"my-8 flex flex-col gap-7\"\n}\nconst _hoisted_6 = { class: \"rounded-md flex-grow flex flex-row items-center p-1\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"vote_input\",\n class: \"flex-grow attribute-title font-medium text-base text-indigo-600 pt-1\"\n}, \"Number of phone votes\", -1)\nconst _hoisted_8 = {\n key: 1,\n class: \"flex flex-col items-center justify-center min-w-full h-40\"\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse\"\n}\nconst _hoisted_10 = [\"onClick\"]\nconst _hoisted_11 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ClipboardCheckIcon = _resolveComponent(\"ClipboardCheckIcon\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_VueFinalModal = _resolveComponent(\"VueFinalModal\")!\n\n return (_openBlock(), _createBlock(_component_VueFinalModal, _mergeProps(_ctx.$attrs, {\n classes: \"flex justify-center items-center\",\n \"content-class\": \"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left shadow-xl overflow-y-scroll max-h-screen my-8 transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6\"\n }), {\n default: _withCtx(({ close }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_ClipboardCheckIcon, {\n class: \"h-6 w-6 text-green-600\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(_ctx.title), 1),\n (!_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _withDirectives(_createElementVNode(\"input\", {\n type: \"number\",\n name: \"vote_input\",\n placeholder: \"Number of votes\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.numberOfVotes) = $event)),\n class: \"block w-full sm:text-sm rounded-md border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500\"\n }, null, 512), [\n [_vModelText, _ctx.numberOfVotes]\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(_component_Loader)\n ]))\n ])\n ]),\n (!_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white focus:outline-none focus:ring-2 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm bg-indigo-600 hover:bg-indigo-700 focus:ring-indigo-500\",\n onClick: ($event: any) => (_ctx.savePressed(close))\n }, \" Save \", 8, _hoisted_10),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm\",\n onClick: ($event: any) => (_ctx.$emit('cancel', close))\n }, \" Cancel \", 8, _hoisted_11)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 16))\n}","\nimport { Options, Vue } from \"vue-class-component\";\n// @ts-ignore\nimport { VueFinalModal } from 'vue-final-modal'\nimport { ClipboardCheckIcon } from '@heroicons/vue/outline'\n\n// @ts-ignore\nimport flatPickr from 'vue-flatpickr-component';\nimport 'flatpickr/dist/flatpickr.css';\nimport Loader from \"./Loader.vue\";\nimport { Prop, Watch } from \"vue-property-decorator\";\nimport { Contestant, VotingWindow } from \"@/types/types\";\nimport { AdminAPI } from \"@/api\";\nimport moment from 'moment'\n\n@Options({\n name: \"AddPhoneVotesModal\",\n emits: ['cancel', 'confirm'],\n components: {\n VueFinalModal,\n ClipboardCheckIcon,\n flatPickr,\n Loader\n }\n})\nexport default class AddPhoneVotesModal extends Vue { \n\n private numberOfVotes: string | null = null\n private loading = false\n\n @Prop({required: true}) votingWindow!: VotingWindow\n @Prop({required: true}) contestant!: Contestant\n\n\n @Watch('votingWindow')\n updateParams() { \n this.numberOfVotes = null\n }\n\n created() {\n this.updateParams()\n }\n\n get title() {\n const openTimeFormatted = moment(this.votingWindow.openingTime).format('MMMM Do, HH:mm:ss')\n const closingimeFormatted = moment(this.votingWindow.closingTime).format('Do, HH:mm:ss')\n return `Add phone votes for ${this.contestant.firstName} for vote window ${openTimeFormatted} -> ${closingimeFormatted}` \n }\n\n async savePressed(close: any) {\n\n const votesString = this.numberOfVotes\n\n if (!votesString) {\n return;\n }\n\n const votesValue = parseInt(votesString)\n if (votesValue.toString() != votesString) {\n alert(\"Please enter valid number of votes\");\n return\n }\n\n \n this.loading = true\n const appId = this.$route.params.appId as string\n try {\n await AdminAPI.addPhoneVotesToWindow(appId, this.contestant.id, this.votingWindow.id, votesValue)\n this.$emit('confirm', close)\n } catch (error) {\n console.log(error)\n alert(\"Failed to add phone votes\");\n } finally {\n this.loading = false\n } \n }\n} \n\n","import { render } from \"./AddPhoneVotesModal.vue?vue&type=template&id=475c101a&ts=true\"\nimport script from \"./AddPhoneVotesModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AddPhoneVotesModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { Options, Vue} from 'vue-class-component'\nimport RoundDropdownMenu from '@/components/RoundDropdownMenu.vue'\nimport { Contestant, DropDownOption, GraphOptions, GraphSeries, Round, VoteResults, VotingWindow } from '@/types/types'\nimport { AdminAPI } from '@/api'\nimport { Watch } from 'vue-property-decorator'\nimport { ExclamationIcon } from '@heroicons/vue/solid'\nimport moment from 'moment'\n\nimport Loader from '@/components/Loader.vue'\nimport Button from '@/components/Button.vue'\nimport { PhoneIcon } from '@heroicons/vue/outline'\nimport AddPhoneVotesModal from '@/components/AddPhoneVotesModal.vue'\n\n@Options({\n components: {\n RoundDropdownMenu,\n Loader,\n Button,\n ExclamationIcon,\n PhoneIcon,\n AddPhoneVotesModal\n }\n})\nexport default class AppDashboard extends Vue {\n \n private loading: Boolean = false\n private error: Boolean = false\n\n private selectedRound: Round | null = null\n private loadingResults: Boolean = false\n private resultserror: Boolean = false\n\n private roundOptions: DropDownOption[] = []\n private selectedOption: DropDownOption | null = null\n \n private roundResults: VoteResults | null = null\n\n private contestantMap: {[key: number]: Contestant} = {}\n private windowMap: {[key: number]: VotingWindow} = {}\n\n private graphOptions: GraphOptions | null = null\n private graphSeries: GraphSeries[] = []\n\n private showPhoneVotesModal:boolean = false\n private selectedContestant: Contestant | null = null\n private selectedWindow: VotingWindow | null = null\n\n @Watch('$route')\n routeDidChange() {\n console.log(\"App Round did change\")\n this.loadAppData()\n }\n\n async mounted() {\n this.loadAppData()\n }\n\n async loadAppData() {\n const appId = this.$route.params.appId as string\n this.error = false\n try {\n this.loading = true\n const rounds = (await AdminAPI.getRoundsForAppId(appId)).data\n\n this.roundOptions = rounds.map( (round) => {\n return {\n title: round.name,\n object: round,\n key: round.id.toString()\n }\n })\n if (this.roundOptions.length) {\n this.selectedOption = this.roundOptions[0]\n }\n\n this.loading = false\n } catch (err) {\n this.loading = false\n this.error = true\n }\n }\n\n async didSelectRound(round: Round) {\n this.selectedRound = round\n this.resultserror = false\n try {\n this.roundResults = null\n this.loadingResults = true\n const appId = this.$route.params.appId as string\n this.roundResults = (await AdminAPI.getVoteResultForRound(appId, round.id)).data\n\n this.roundResults.round.contestants.forEach((contestant) => {\n this.contestantMap[contestant.id] = contestant\n })\n\n this.roundResults.round.votingWindows.forEach((window) => {\n this.windowMap[window.id] = window\n })\n\n this.formulateGraphDataFromResult()\n } catch (err) {\n console.error(err)\n this.resultserror = true\n } finally {\n this.loadingResults = false\n }\n\n }\n\n formulateGraphDataFromResult() {\n\n let contestantNames: string[] = []\n let totalVotesForContestants: number[] = []\n\n this.roundResults?.contestantResults.forEach( contestantRes => {\n\n contestantNames.push(this.contestantMap[contestantRes.contestant].name)\n \n const totalVotes = contestantRes.votesPerWindow.reduce((travelingTotal, voteResults) => travelingTotal + voteResults.totalVotes, 0)\n totalVotesForContestants.push(totalVotes)\n } )\n\n\n this.graphOptions = {\n chart: {\n id: 'round-results'\n },\n xaxis: {\n // Contestants\n categories: contestantNames\n }\n }\n\n this.graphSeries = [\n {\n name: 'Total Votes',\n //Totals\n data: totalVotesForContestants\n }\n ]\n\n }\n\n retryPressed() {\n if (this.error) {\n this.loadAppData()\n } else if (this.selectedRound){\n this.didSelectRound(this.selectedRound)\n }\n }\n\n voteWindowTitle(windowId: number) {\n const window = this.windowMap[windowId]\n const openTimeFormatted = moment(window.openingTime).format('MMMM Do YYYY, HH:mm:ss')\n const closingimeFormatted = moment(window.closingTime).format('MMMM Do YYYY, HH:mm:ss')\n\n return openTimeFormatted + \" -> \" + closingimeFormatted\n }\n\n\n\n addPhoneVotes(windowId: number, contestantId: number) {\n this.selectedWindow = this.windowMap[windowId]\n this.selectedContestant = this.contestantMap[contestantId]\n this.showPhoneVotesModal = true\n }\n\nmodalCancel(close: any) {\n close();\n }\n\n didUpdatePhoneVotes(close: any) {\n \n close();\n if(this.selectedRound) {\n this.didSelectRound(this.selectedRound)\n }\n }\n\n}\n","import { render } from \"./AppDashboard.vue?vue&type=template&id=5cd3b091&scoped=true&ts=true\"\nimport script from \"./AppDashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./AppDashboard.vue?vue&type=script&lang=ts\"\n\nimport \"./AppDashboard.vue?vue&type=style&index=0&id=5cd3b091&lang=postcss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5cd3b091\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-76315e98\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"contestants-base\" }\nconst _hoisted_2 = { class: \"contestants-header-horizontal mx-6\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-left text-3xl text-indigo-600 flex-grow\" }, \"Contestants\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PlusIcon = _resolveComponent(\"PlusIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ListComponent = _resolveComponent(\"ListComponent\")!\n const _component_ContestantEditComponent = _resolveComponent(\"ContestantEditComponent\")!\n const _component_SlideOverComponent = _resolveComponent(\"SlideOverComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_Button, {\n onClick: _ctx.goToCreateContestant,\n title: \"Add\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PlusIcon)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createVNode(_component_ListComponent, {\n class: \"list-component\",\n onDidSelectListItem: _ctx.itemPressed,\n squareImage: true,\n loading: _ctx.loading,\n error: _ctx.error,\n emptyStateText: \"Add new contestant\",\n listConfig: _ctx.listConfig,\n retryPressed: _ctx.loadData,\n emptyStatePressed: _ctx.goToCreateContestant\n }, null, 8, [\"onDidSelectListItem\", \"loading\", \"error\", \"listConfig\", \"retryPressed\", \"emptyStatePressed\"])\n ]),\n _createVNode(_component_SlideOverComponent, {\n open: _ctx.openDrawer,\n \"onUpdate:open\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.openDrawer) = $event)),\n drawerDismissable: _ctx.drawerDismissable\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ContestantEditComponent, {\n contestantToView: _ctx.contestantToView,\n drawerDismissable: _ctx.drawerDismissable,\n \"onUpdate:drawerDismissable\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.drawerDismissable) = $event)),\n mode: _ctx.attributeMode,\n onDetailsComponentDidComplete: _ctx.didCompleteDetailsComponent,\n onDismissSlideOver: _cache[1] || (_cache[1] = ($event: any) => (_ctx.openDrawer = false))\n }, null, 8, [\"contestantToView\", \"drawerDismissable\", \"mode\", \"onDetailsComponentDidComplete\"])\n ]),\n _: 1\n }, 8, [\"open\", \"drawerDismissable\"])\n ], 64))\n}","export interface User {\n id: number,\n appId?: string,\n defaultApp?: string\n apps?: App[]\n}\n\nexport interface App {\n id: number,\n appId: string,\n name: string\n createdAt: string\n}\n\nexport interface ListCellConfiguration {\n title: string,\n subtitle?: string,\n imageURL?: string,\n attributes: ListCellAttributes[],\n item: any\n}\n\nexport interface ListCellAttributes {\n title: string,\n value: string\n}\n\n\nexport interface Contestant {\n id: number,\n name: string,\n firstName: string,\n lastName: string,\n descriptionIrish: string,\n description: string,\n profilePhoto: string,\n location: string,\n locationIrish: string,\n twitterHandle?: string,\n twitterText?: string,\n twitterTextIrish?: string,\n eliminated: boolean,\n createdAt: string\n}\n\n\nexport interface Mentor {\n id: number,\n name: string,\n firstName: string,\n lastName: string,\n descriptionIrish: string,\n description: string,\n profilePhoto: string,\n twitterHandle?: string,\n contestants: Contestant[]\n}\n\n\nexport interface Judge {\n id: number,\n name: string,\n firstName: string,\n lastName: string,\n descriptionIrish: string,\n description: string,\n profilePhoto: string,\n twitterHandle?: string,\n}\n\nexport interface AppSelection {\n title: string,\n subtitle?: string,\n app?: App,\n key: string \n}\n\nexport interface FileUploadResponse {\n url: string\n}\n\nexport interface Round {\n id: number,\n name: string,\n name_irish: string,\n subtitle?: string,\n subtitle_irish?: string,\n startDate: string,\n publicVote: Boolean,\n isPubliclyVisible: Boolean,\n result?: RoundResult,\n contestants: Contestant[],\n judges: Judge[],\n votingWindows: VotingWindow[]\n contestantsIneligibleForVote: number[]\n}\n\nexport interface VotingWindow{\n id: number,\n openingTime: string,\n closingTime: string,\n active: boolean\n}\n\nexport interface RoundResult {\n id: number,\n type: string,\n contestants: Contestant[]\n eliminatedContestants: number[],\n winningContestants: number[]\n}\n\nexport interface SearchUserResponse {\n skip: number,\n limit: number,\n count: number,\n users: User[]\n}\n\nexport interface User {\n id: number,\n email: string,\n name: string,\n fbId: string,\n appleId: string,\n age?: string,\n sex?: string,\n location?: string,\n remainingVotes: number,\n deletedAccount?: boolean,\n purchases: Purchase[]\n votes: Vote[]\n}\n\nexport interface Purchase {\n id: number,\n votes: number,\n price: number,\n transactionId: string,\n localeId: string,\n createdAt: string\n}\n\nexport interface Vote {\n contestantName: string,\n type: string\n}\n\nexport enum AttributeMode {\n CREATE = \"CREATE\",\n VIEW_EDIT = \"VIEW_EDIT\"\n}\n\n\nexport enum AttributeModalMode {\n SAVE = \"SAVE\",\n CANCEL = \"CANCEL\",\n MISSING_REQUIRED_FIELD = \"MISSING_REQUIRED_FIELD\",\n ERROR = \"ERROR\"\n}\n\nexport enum RoundResultsModalMode {\n CONTESTANT_CROSSOVER = \"CONTESTANT_CROSSOVER\",\n ERROR = \"ERROR\",\n SUCCESS = \"SUCCESS\"\n}\n\nexport interface VoteResults {\n round: Round,\n contestantResults: ContestantResult[]\n}\n\nexport interface ContestantResult {\n contestant: number,\n votesPerWindow: WindowResult[]\n}\n\nexport interface WindowResult {\n window: number,\n phoneVotes: number,\n appVotes: number,\n totalVotes: number\n}\n\n\nexport interface DropDownOption {\n title: string,\n object: Round,\n key: string \n}\n\nexport interface GraphOptions {\n chart: {id: string}\n xaxis: { categories: string[]}\n}\n\nexport interface GraphSeries {\n name: string\n data: number[]\n}","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6eb16802\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"list-wrapper sm:rounded-md shadow divide-y divide-gray-200\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"other-states-wrapper\"\n}\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { class: \"text-center\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", { class: \"mt-2 text-sm font-medium text-gray-900\" }, \"Error\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"mt-1 text-sm text-gray-500\" }, \" Failed to load \", -1))\nconst _hoisted_7 = { class: \"mt-6\" }\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\" Retry \")\nconst _hoisted_9 = [\"disabled\"]\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"mx-auto h-12 w-12 text-gray-400\",\n xmlns: \"http://www.w3.org/2000/svg\",\n stroke: \"currentColor\",\n fill: \"none\",\n viewBox: \"0 0 48 48\",\n \"aria-hidden\": \"true\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n \"stroke-width\": \"2\",\n d: \"M8 14v20c0 4.418 7.163 8 16 8 1.381 0 2.721-.087 4-.252M8 14c0 4.418 7.163 8 16 8s16-3.582 16-8M8 14c0-4.418 7.163-8 16-8s16 3.582 16 8m0 0v14m0-4c0 4.418-7.163 8-16 8S8 28.418 8 24m32 10v6m0 0v6m0-6h6m-6 0h-6\"\n })\n], -1))\nconst _hoisted_11 = { class: \"mt-2 block text-sm font-medium text-gray-900\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ListCell = _resolveComponent(\"ListCell\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_RefreshIcon = _resolveComponent(\"RefreshIcon\")!\n\n return (_ctx.listConfig && _ctx.listConfig.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.listConfig, (config, index) => {\n return (_openBlock(), _createBlock(_component_ListCell, {\n key: config.title,\n squareImage: _ctx.squareImage,\n configuration: config,\n onClick: ($event: any) => (_ctx.didSelect(config, index))\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", {\n item: config.item\n }, undefined, true)\n ]),\n _: 2\n }, 1032, [\"squareImage\", \"configuration\", \"onClick\"]))\n }), 128))\n ]))\n : (_ctx.error || _ctx.loading || (_ctx.listConfig && _ctx.listConfig.length == 0))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_Loader, { key: 0 }))\n : (_ctx.error)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.retryPressed && _ctx.retryPressed(...args))),\n type: \"button\",\n class: \"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\"\n }, [\n _createVNode(_component_RefreshIcon, {\n class: \"-ml-1 mr-2 h-5 w-5\",\n \"aria-hidden\": \"true\"\n }),\n _hoisted_8\n ])\n ])\n ])\n ]))\n : (_ctx.listConfig && _ctx.listConfig.length == 0)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 2,\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.emptyStatePressed && _ctx.emptyStatePressed(...args))),\n type: \"button\",\n disabled: !_ctx.emptyStatePressed,\n class: _normalizeClass([\"relative block rounded-lg p-12 text-center w-1/3\", [_ctx.emptyStatePressed ? 'hover:border-gray-400 border-2 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 border-gray-300 border-dashed' : 'cursor-default']])\n }, [\n _hoisted_10,\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.emptyStateText), 1)\n ], 10, _hoisted_9))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}","import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, renderSlot as _renderSlot, resolveComponent as _resolveComponent, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-627bbece\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"list-cell-main-wrapper hover:bg-gray-50 cursor-pointer\" }\nconst _hoisted_2 = { class: \"list-cell-horizontal-chevron-wrapper\" }\nconst _hoisted_3 = { class: \"list-cell-vertical-content-wrapper\" }\nconst _hoisted_4 = { class: \"list-cell-top-header\" }\nconst _hoisted_5 = { class: \"list-cell-title-subtitle-wrapper\" }\nconst _hoisted_6 = { class: \"list-cell-title font-medium text-left text-2xl text-b\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"list-cell-subtitle font-regular text-left text-1xl text-indigo-600\"\n}\nconst _hoisted_8 = { class: \"list-cell-attribute-list-wrapper\" }\nconst _hoisted_9 = { class: \"list-cell-attribute-title font-medium text-left text-1xl text-indigo-600\" }\nconst _hoisted_10 = { class: \"list-cell-attribute-value font-regular text-left text-1xl text-black\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_ctx.configuration.imageURL)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"list-cell-image shadow\", {'square': _ctx.squareImage}]),\n style: _normalizeStyle(_ctx.applyImageStyle())\n }, null, 6))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.configuration.title), 1),\n (_ctx.configuration.subtitle)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _toDisplayString(_ctx.configuration.subtitle), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.configuration.attributes, (attr) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: attr.title,\n class: \"list-cell-attibute-wrapper\"\n }, [\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(attr.title), 1),\n _createElementVNode(\"div\", _hoisted_10, _toDisplayString(attr.value), 1)\n ]))\n }), 128))\n ]),\n _renderSlot(_ctx.$slots, \"default\", {\n item: _ctx.configuration.item\n }, undefined, true)\n ]),\n _createVNode(_component_ChevronRightIcon, {\n class: \"h-5 w-5 ml-4 flex-shrink-0 text-gray-400\",\n \"aria-hidden\": \"true\"\n })\n ])\n ]))\n}","\nimport { ListCellConfiguration } from '@/types/types';\nimport { Options, Vue } from 'vue-class-component';\nimport { Prop } from 'vue-property-decorator'\nimport { ChevronRightIcon } from '@heroicons/vue/solid'\n\n@Options({\n components: {\n ChevronRightIcon\n }\n})\nexport default class ListCell extends Vue {\n\n @Prop({ type: Boolean, default: false }) readonly squareImage!: Boolean\n\n @Prop({ require: true }) readonly configuration!: ListCellConfiguration\n\n applyImageStyle() {\n return {\n 'background-image': 'url(' + this.configuration.imageURL + ')'\n }\n }\n\n\n}\n","import { render } from \"./ListCell.vue?vue&type=template&id=627bbece&scoped=true&ts=true\"\nimport script from \"./ListCell.vue?vue&type=script&lang=ts\"\nexport * from \"./ListCell.vue?vue&type=script&lang=ts\"\n\nimport \"./ListCell.vue?vue&type=style&index=0&id=627bbece&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-627bbece\"]])\n\nexport default __exports__","\nimport { ListCellConfiguration } from '@/types/types';\nimport { Options, Vue } from 'vue-class-component';\nimport { Prop } from 'vue-property-decorator'\nimport Loader from '@/components/Loader.vue'\nimport ListCell from '@/components/ListCell.vue'\nimport { RefreshIcon } from '@heroicons/vue/solid'\n\n@Options({\n components: {\n Loader,\n ListCell,\n RefreshIcon\n }\n})\nexport default class ListComponent extends Vue {\n\n @Prop({ type: Boolean, default: false }) readonly squareImage!: Boolean\n\n @Prop({ type: Boolean, default: false }) readonly loading!: Boolean\n @Prop({ type: Boolean, default: false }) readonly error!: Boolean\n\n @Prop({ type: String, default: \"Create new\" }) readonly emptyStateText!: String\n \n @Prop() readonly listConfig?: ListCellConfiguration[]\n\n @Prop({ required: false }) emptyStatePressed?: Function;\n @Prop({ required: true }) retryPressed!: Function;\n\n\n didSelect(config: ListCellConfiguration, index: number) {\n \n this.$emit('did-select-list-item', { config: config, index: index})\n }\n\n\n}\n","import { render } from \"./ListComponent.vue?vue&type=template&id=6eb16802&scoped=true&ts=true\"\nimport script from \"./ListComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./ListComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./ListComponent.vue?vue&type=style&index=0&id=6eb16802&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6eb16802\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"absolute inset-0 overflow-hidden\" }\nconst _hoisted_2 = { class: \"fixed inset-y-0 right-0 sm:pl-10 max-w-full flex\" }\nconst _hoisted_3 = { class: \"w-screen max-w-4xl\" }\nconst _hoisted_4 = { class: \"h-full flex flex-col py-6 bg-white shadow-xl overflow-y-scroll\" }\nconst _hoisted_5 = { class: \"px-4 sm:px-6\" }\nconst _hoisted_6 = { class: \"flex items-start justify-between\" }\nconst _hoisted_7 = { class: \"ml-3 h-7 flex items-center\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close panel\", -1)\nconst _hoisted_9 = { class: \"mt-6 relative flex-1 px-4 sm:px-6\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_DialogOverlay = _resolveComponent(\"DialogOverlay\")!\n const _component_TransitionChild = _resolveComponent(\"TransitionChild\")!\n const _component_DialogTitle = _resolveComponent(\"DialogTitle\")!\n const _component_XIcon = _resolveComponent(\"XIcon\")!\n const _component_Dialog = _resolveComponent(\"Dialog\")!\n const _component_TransitionRoot = _resolveComponent(\"TransitionRoot\")!\n\n return (_openBlock(), _createBlock(_component_TransitionRoot, {\n as: \"template\",\n class: \"z-20\",\n show: _ctx.open\n }, {\n default: _withCtx(() => [\n _createVNode(_component_Dialog, {\n as: \"div\",\n class: \"fixed inset-0 overflow-hidden\",\n onClose: _cache[1] || (_cache[1] = ($event: any) => (_ctx.shouldClose()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"ease-in-out duration-500\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in-out duration-500\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_DialogOverlay, { class: \"absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_TransitionChild, {\n as: \"template\",\n enter: \"transform transition ease-in-out duration-500 sm:duration-700\",\n \"enter-from\": \"translate-x-full\",\n \"enter-to\": \"translate-x-0\",\n leave: \"transform transition ease-in-out duration-500 sm:duration-700\",\n \"leave-from\": \"translate-x-0\",\n \"leave-to\": \"translate-x-full\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_DialogTitle, { class: \"text-lg font-medium text-gray-900\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.title), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_7, [\n (_ctx.drawerDismissable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n type: \"button\",\n class: \"bg-white rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.shouldClose()))\n }, [\n _hoisted_8,\n _createVNode(_component_XIcon, {\n class: \"h-6 w-6\",\n \"aria-hidden\": \"true\"\n })\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ])\n ])\n ]),\n _: 3\n })\n ])\n ])\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"show\"]))\n}","\nimport { Dialog, DialogOverlay, DialogTitle, TransitionChild, TransitionRoot } from '@headlessui/vue'\nimport { XIcon } from '@heroicons/vue/outline'\nimport { Prop } from 'vue-property-decorator'\nimport { Options, Vue } from 'vue-class-component'\n\n@Options({\n components: {\n Dialog,\n DialogOverlay,\n DialogTitle,\n TransitionChild,\n TransitionRoot,\n XIcon\n }\n})\nexport default class SlideOverComponent extends Vue {\n\n @Prop({type: Boolean, default: false }) open: Boolean = false\n @Prop({type: Boolean, default: true }) drawerDismissable: Boolean = true\n @Prop({type: String, default: \"\" }) title!: string\n\n shouldClose() { \n if (this.drawerDismissable) {\n this.$emit('update:open', false)\n }\n }\n\n}\n","import { render } from \"./SlideOverComponent.vue?vue&type=template&id=383e9cdd&ts=true\"\nimport script from \"./SlideOverComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./SlideOverComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AttributeEditCreateDetailsComponent = _resolveComponent(\"AttributeEditCreateDetailsComponent\")!\n\n return (_openBlock(), _createBlock(_component_AttributeEditCreateDetailsComponent, {\n title: _ctx.titleText,\n subtitle: _ctx.subtitleText,\n loading: _ctx.loading,\n error: _ctx.error,\n onSaveConfirmed: _ctx.savePressed,\n onErrorShown: _cache[0] || (_cache[0] = ($event: any) => (_ctx.error = false)),\n onEditModeChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('update:drawerDismissable', !$event))),\n createMode: _ctx.mode === 'CREATE',\n onDismiss: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('dismissSlideOver'))),\n attributes: _ctx.getAttributesForContestant()\n }, null, 8, [\"title\", \"subtitle\", \"loading\", \"error\", \"onSaveConfirmed\", \"createMode\", \"attributes\"]))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, vShow as _vShow, withCtx as _withCtx, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, vModelText as _vModelText, normalizeClass as _normalizeClass, vModelCheckbox as _vModelCheckbox, createBlock as _createBlock, vModelSelect as _vModelSelect, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5beae48c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"details-main-vertical-wrapper divide-y\" }\nconst _hoisted_2 = { class: \"details-header-section\" }\nconst _hoisted_3 = { class: \"details-title-subtitle-wrapper\" }\nconst _hoisted_4 = { class: \"font-reg text-left text-3xl text-indigo-600\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"font-regular text-left text-base text-gray-500\"\n}\nconst _hoisted_6 = { class: \"details-main-inputs-wrapper divide-y\" }\nconst _hoisted_7 = [\"for\"]\nconst _hoisted_8 = {\n key: 0,\n class: \"text-red-600\"\n}\nconst _hoisted_9 = { class: \"attribute-value-wrapper\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"w-full flex flex-col items-stretch\"\n}\nconst _hoisted_11 = [\"src\"]\nconst _hoisted_12 = {\n key: 1,\n class: \"flex flex-col items-center\"\n}\nconst _hoisted_13 = { class: \"max-w-lg flex flex-col items-center p-6 border-2 border-gray-300 border-dashed rounded-md px-20\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm text-gray-600\" }, \" Missing image \", -1))\nconst _hoisted_15 = { key: 2 }\nconst _hoisted_16 = [\"name\", \"id\", \"readonly\", \"disabled\", \"placeholder\", \"onUpdate:modelValue\"]\nconst _hoisted_17 = {\n key: 2,\n class: \"w-full flex flex-row items-center gap-2\"\n}\nconst _hoisted_18 = [\"for\"]\nconst _hoisted_19 = [\"name\", \"id\", \"disabled\", \"onUpdate:modelValue\"]\nconst _hoisted_20 = {\n key: 3,\n class: \"h-auto block w-full\"\n}\nconst _hoisted_21 = {\n key: 0,\n class: \"mt-2 text-sm text-gray-500\"\n}\nconst _hoisted_22 = {\n key: 5,\n class: \"flex flex-col flex-grow\"\n}\nconst _hoisted_23 = {\n key: 0,\n class: \"flex flex-row items-center gap-2 my-2\"\n}\nconst _hoisted_24 = [\"src\"]\nconst _hoisted_25 = [\"for\"]\nconst _hoisted_26 = [\"id\", \"value\", \"onUpdate:modelValue\"]\nconst _hoisted_27 = {\n key: 0,\n class: \"block w-full sm:text-sm my-1 mx-2 text-gray-500\"\n}\nconst _hoisted_28 = {\n key: 6,\n class: \"flex flex-col flex-grow\"\n}\nconst _hoisted_29 = [\"name\", \"id\", \"disabled\", \"onUpdate:modelValue\"]\nconst _hoisted_30 = { disabled: \"\" }\nconst _hoisted_31 = [\"value\"]\nconst _hoisted_32 = {\n key: 7,\n class: \"flex flex-col flex-grow gap-6\"\n}\nconst _hoisted_33 = { class: \"font-normal text-indigo-600\" }\nconst _hoisted_34 = { class: \"font-normal text-black\" }\nconst _hoisted_35 = {\n key: 0,\n class: \"details-buttons-bottom-wrapper\"\n}\nconst _hoisted_36 = {\n key: 0,\n class: \"loading-overlay\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PencilAltIcon = _resolveComponent(\"PencilAltIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_BanIcon = _resolveComponent(\"BanIcon\")!\n const _component_FileUploader = _resolveComponent(\"FileUploader\")!\n const _component_contenteditable = _resolveComponent(\"contenteditable\")!\n const _component_flat_pickr = _resolveComponent(\"flat-pickr\")!\n const _component_XIcon = _resolveComponent(\"XIcon\")!\n const _component_SaveIcon = _resolveComponent(\"SaveIcon\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_Modal = _resolveComponent(\"Modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.title), 1),\n (_ctx.subtitle)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, _toDisplayString(_ctx.subtitle), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _withDirectives(_createVNode(_component_Button, {\n title: \"Edit\",\n onClick: _ctx.editPressed\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PencilAltIcon)\n ]),\n _: 1\n }, 8, [\"onClick\"]), [\n [_vShow, !_ctx.editMode && !_ctx.viewOnly]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.attributes, (attr) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: attr.key,\n class: \"attribute-wrapper\"\n }, [\n _createElementVNode(\"label\", {\n for: attr.key,\n class: \"attribute-title font-medium text-left text-base text-indigo-600 pt-1\"\n }, [\n _createTextVNode(_toDisplayString(attr.title) + \" \", 1),\n (attr.required)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, \"*\"))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_7),\n _createElementVNode(\"div\", _hoisted_9, [\n (attr.type == 'IMAGE')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (_ctx.outputValues[attr.key])\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"shadow-sm rounded-md\",\n src: _ctx.outputValues[attr.key]\n }, null, 8, _hoisted_11))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_BanIcon, { class: \"h-6 w-6\" }),\n _hoisted_14\n ])\n ])),\n (_ctx.editMode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createVNode(_component_FileUploader, {\n class: \"mt-2\",\n appId: _ctx.appId,\n attributeKey: attr.key,\n uploadComplete: _ctx.fileUploadComplete,\n uploadCancelled: _ctx.uploadCancelled,\n uploading: _ctx.uploading\n }, null, 8, [\"appId\", \"attributeKey\", \"uploadComplete\", \"uploadCancelled\", \"uploading\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : (attr.type == 'TEXT')\n ? _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 1,\n type: \"text\",\n name: attr.key,\n id: attr.key,\n readonly: !_ctx.editMode,\n disabled: !_ctx.editMode || _ctx.loading,\n placeholder: _ctx.editMode ? attr.placeholder : '',\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.outputValues[attr.key]) = $event),\n class: _normalizeClass([[_ctx.editMode ? 'border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500' : 'border-none'], \"block w-full sm:text-sm rounded-md\"])\n }, null, 10, _hoisted_16)), [\n [_vModelText, _ctx.outputValues[attr.key]]\n ])\n : (attr.type == 'BOOLEAN')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"label\", {\n class: _normalizeClass([\"flex-grow rounded-md px-2 py-2\", [_ctx.editMode ? 'hover:bg-indigo-100' : '']]),\n for: attr.key\n }, _toDisplayString(attr.title) + _toDisplayString(_ctx.outputValues[attr.key] == true ? ' enabled' : ' disabled'), 11, _hoisted_18),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n name: attr.key,\n id: attr.key,\n disabled: !_ctx.editMode || _ctx.loading,\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.outputValues[attr.key]) = $event),\n class: \"sm:text-sm rounded-md mx-2 w-8 h-8\"\n }, null, 8, _hoisted_19), [\n [_vModelCheckbox, _ctx.outputValues[attr.key]]\n ])\n ]))\n : (attr.type == 'LONG_TEXT')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createVNode(_component_contenteditable, {\n tag: \"div\",\n name: attr.key,\n id: attr.key,\n readonly: !_ctx.editMode,\n disabled: !_ctx.editMode || _ctx.loading,\n contenteditable: _ctx.editMode,\n modelValue: _ctx.outputValues[attr.key],\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.outputValues[attr.key]) = $event),\n noHTML: true,\n type: \"text\",\n class: _normalizeClass([[_ctx.editMode ? 'border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500' : 'border-none'], \"h-auto block w-full sm:text-sm border rounded-md\"])\n }, null, 8, [\"name\", \"id\", \"readonly\", \"disabled\", \"contenteditable\", \"modelValue\", \"onUpdate:modelValue\", \"class\"]),\n (_ctx.editMode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, _toDisplayString(attr.placeholder), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : (attr.type == 'DATE_TIME')\n ? (_openBlock(), _createBlock(_component_flat_pickr, {\n key: 4,\n id: attr.key,\n readonly: !_ctx.editMode,\n disabled: !_ctx.editMode || _ctx.loading,\n placeholder: _ctx.editMode ? attr.placeholder : '',\n config: {\n time_24hr: true,\n enableTime: true,\n static: true,\n altInput: true,\n dateFormat: 'YYYY-MM-DD HH:mm',\n altFormat: 'YYYY-MM-DD HH:mm',\n allowInput: true,\n parseDate: _ctx.parseDate,\n formatDate: _ctx.formatDate\n },\n modelValue: _ctx.outputValues[attr.key],\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.outputValues[attr.key]) = $event),\n class: _normalizeClass([[_ctx.editMode ? 'border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500' : 'border-none'], \"h-auto block w-full sm:text-sm border rounded-md\"])\n }, null, 8, [\"id\", \"readonly\", \"disabled\", \"placeholder\", \"config\", \"modelValue\", \"onUpdate:modelValue\", \"class\"]))\n : (attr.type == 'MULTI_SELECT' && attr.options.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(attr.options, (option) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: attr.key + option.value\n }, [\n (_ctx.editMode || _ctx.isOptionSelected(attr.key, option))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_23, [\n (option.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"inline-block h-10 w-10 rounded-full object-cover\",\n src: option.imageUrl\n }, null, 8, _hoisted_24))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"rounded-md flex-grow flex flex-row items-center\", [_ctx.editMode ? 'hover:bg-indigo-100' : '']])\n }, [\n _createElementVNode(\"label\", {\n for: attr.key + option.value,\n class: \"flex-grow font-reg text-left align-middle text-gray-600 cursor-pointer block py-3 px-2\"\n }, _toDisplayString(option.title), 9, _hoisted_25),\n (_ctx.editMode)\n ? _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 0,\n type: \"checkbox\",\n id: attr.key + option.value,\n value: option.value,\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.outputValues[attr.key]) = $event),\n class: \"rounded-full px-2 mr-2 h-5 w-5 cursor-pointer\"\n }, null, 8, _hoisted_26)), [\n [_vModelCheckbox, _ctx.outputValues[attr.key]]\n ])\n : _createCommentVNode(\"\", true)\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128)),\n (_ctx.outputValues[attr.key].length == 0 && !_ctx.editMode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_27, \" No \" + _toDisplayString(attr.title) + \" selected \", 1))\n : _createCommentVNode(\"\", true)\n ]))\n : (attr.type == 'SINGLE_SELECT' && attr.options.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28, [\n _withDirectives(_createElementVNode(\"select\", {\n name: attr.key,\n id: attr.key,\n disabled: !_ctx.editMode || _ctx.loading,\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.outputValues[attr.key]) = $event),\n class: \"sm:text-sm rounded-md mx-2 h-8\"\n }, [\n _createElementVNode(\"option\", _hoisted_30, _toDisplayString(attr.placeholder), 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(attr.options, (option) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: attr.key + option.value,\n value: option.value\n }, _toDisplayString(option.title), 9, _hoisted_31))\n }), 128))\n ], 8, _hoisted_29), [\n [_vModelSelect, _ctx.outputValues[attr.key]]\n ])\n ]))\n : (attr.type == 'CHILD_OBJECTS')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(attr.childObjectAttributes, (child) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: child.id,\n class: \"border-solid border p-2 shadow-md rounded-md flex flex-col gap\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(child.attributes, (childAttr) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: child.id+childAttr.title,\n class: \"flex flex-row gap-2\"\n }, [\n _createElementVNode(\"div\", _hoisted_33, _toDisplayString(childAttr.title) + \": \", 1),\n _createElementVNode(\"div\", _hoisted_34, _toDisplayString(childAttr.value), 1)\n ]))\n }), 128))\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128)),\n _renderSlot(_ctx.$slots, \"default\", { outputValues: _ctx.outputValues }, undefined, true)\n ]),\n (_ctx.editMode && !_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_35, [\n _createVNode(_component_Button, {\n title: \"Cancel\",\n primary: false,\n onClick: _ctx.cancelPressed\n }, {\n default: _withCtx(() => [\n _createVNode(_component_XIcon)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n title: \"Save\",\n onClick: _ctx.savePressed,\n disabled: _ctx.uploading\n }, {\n default: _withCtx(() => [\n _createVNode(_component_SaveIcon)\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_36, [\n _createVNode(_component_Loader)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Modal, {\n modelValue: _ctx.showModal,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.showModal) = $event)),\n destructive: _ctx.modalDistructive,\n onConfirm: _ctx.modalConfirm,\n onCancel: _ctx.modalCancel,\n confirmTitle: _ctx.modalConfirmButtonTitle\n }, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.modalTitle), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.modalMessage), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"destructive\", \"onConfirm\", \"onCancel\", \"confirmTitle\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_FilePond = _resolveComponent(\"FilePond\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"file-upload-container\", { pending: !_ctx.uploading }])\n }, [\n _createVNode(_component_FilePond, {\n name: \"filepond[]\",\n ref: \"pond\",\n \"label-idle\": `Drag & Drop your image or Browse `,\n \"allow-multiple\": false,\n \"accepted-file-types\": _ctx.acceptedFileTypes,\n maxFileSize: \"20MB\",\n server: _ctx.server,\n beforeAddFile: _ctx.beforeAddFile,\n files: _ctx.files,\n onInit: _ctx.filePondReady,\n onProcessfileabort: _ctx.fileAbort,\n onRemovefile: _ctx.fileAbort,\n imageResizeTargetWidth: 800,\n imageResizeTargetHeight: 800,\n allowImageResize: true,\n imageResizeUpscale: false,\n imageTransformVariantsIncludeDefault: true,\n imageCropAspectRatio: '3:2'\n }, null, 8, [\"accepted-file-types\", \"server\", \"beforeAddFile\", \"files\", \"onInit\", \"onProcessfileabort\", \"onRemovefile\"])\n ], 2))\n}","\n// @ts-nocheck\nimport { Prop } from \"vue-property-decorator\"\nimport vueFilePond from \"vue-filepond\"\nimport FilePondPluginFileValidateType from \"filepond-plugin-file-validate-type\"\nimport FilePondPluginFileValidateSize from \"filepond-plugin-file-validate-size\"\nimport FilePondPluginImageResize from 'filepond-plugin-image-resize';\nimport FilePondPluginImageTransform from 'filepond-plugin-image-transform';\n\nimport FilePingPluginCrop from 'filepond-plugin-image-crop';\n\nimport { Options, Vue } from \"vue-class-component\";\nimport { AdminAPI } from \"@/api\";\nimport { CreateFileUploadPayload } from \"@/types/payloads\";\nimport { v4 as uuidv4 } from 'uuid';\n\nconst FilePond = vueFilePond(FilePondPluginFileValidateType, FilePondPluginFileValidateSize, FilePondPluginImageResize, FilePondPluginImageTransform, FilePingPluginCrop)\n\n@Options({\n name: \"FileUploader\",\n components: {\n FilePond\n }\n})\nexport default class FileUploader extends Vue {\n\n @Prop({required: true}) attributeKey!: string\n @Prop({required: true}) uploadComplete!: Function\n @Prop({required: true}) uploadCancelled!: Function\n @Prop({required: true}) uploading!: boolean\n @Prop({required: true}) appId!: string\n\n filePond: any = null\n files: any[] = []\n server = {}\n fileUploadURL?: string\n fileGetURL?: string\n\n\n created() {\n this.server = {\n process: this.processFile,\n revert: () => {},\n remove: () => {},\n }\n }\n\n acceptedFileTypes = [\n 'image/*',\n ].join(',')\n\n filePondReady() {\n this.filePond = this.$refs.pond\n }\n\n browse() {\n this.filePond.browse()\n }\n\n fileAbort() {\n this.uploadCancelled(this.attributeKey)\n }\n\n beforeAddFile(pond) {\n\n // eslint-disable-next-line\n return new Promise(async(resolve, _) => {\n \n let file = pond.file\n let fileExtension = file.name.substring(file.name.indexOf('.'))\n\n this.$emit('update:uploading', true)\n\n try {\n file.header = await this.setFileHeader(file)\n } catch (err) {\n // Vue.prototype.$log.error(err)\n console.error(err)\n file.error = 'There was an error processing your file'\n resolve(false)\n return\n }\n\n \n let filePayload: CreateFileUploadPayload = {\n name: uuidv4() + fileExtension,\n size: file.size,\n type: file.type,\n header: file.header\n };\n\n try {\n const uploadURL = (await AdminAPI.postFileUploadURL(this.appId, filePayload)).data.url\n this.fileUploadURL = uploadURL\n this.fileGetURL = uploadURL.split(\"?\")[0]\n } catch (err) {\n Vue.prototype.$log.error(err)\n file.error = 'Sorry this file type is not supported'\n resolve(true) // continue as an error will be shown in processFile\n return\n }\n\n resolve(true)\n\n })\n }\n\n processFile(fieldName, files, metadata, load, error, progress, abort) {\n try {\n //N.B when using custom server and transforms we actually get a blob back so need to recreate the file\n const file = new File([files], \"output_image\");\n if (file.error) {\n error(file.error)\n return\n }\n console.log(\"Uploading to: \", this.fileUploadURL)\n const request = new XMLHttpRequest();\n request.open('PUT', this.fileUploadURL);\n\n request.setRequestHeader('Content-Type', file.type)\n \n // Should call the progress method to update the progress to 100% before calling load\n // Setting computable to false switches the loading indicator to infinite mode\n request.upload.onprogress = (e) => {\n progress(e.lengthComputable, e.loaded, e.total);\n };\n\n // Should call the load method when done and pass the returned server file id\n // this server file id is then used later on when reverting or restoring a file\n // so your server knows which file to return without exposing that info to the client\n const _this = this\n request.onload = function() {\n if (request.status >= 200 && request.status < 300) {\n load(request.responseText);\n _this.uploadComplete(_this.attributeKey, _this.fileGetURL)\n _this.$emit('update:uploading', false)\n }\n else {\n // Can call the error method if something is wrong, should exit after\n error('Sorry there was an error uploading your file')\n }\n };\n\n\n // Start the upload \n request.send(file)\n \n // Should expose an abort method so the request can be cancelled\n return {\n abort: () => {\n // This function is entered if the user has tapped the cancel button\n request.abort()\n abort()\n }\n };\n } catch (err) {\n console.error(err)\n error(err)\n return\n }\n }\n\n async setFileHeader(file) {\n return new Promise((resolve, reject) => {\n var fileReader = new FileReader();\n fileReader.onloadend = (readFile) => {\n if (readFile && readFile.target && readFile.target.result) {\n let result: any = readFile.target.result\n var arr = (new Uint8Array(result)).subarray(0, 4);\n var header = \"\";\n for(var i = 0; i < arr.length; i++) {\n header += arr[i].toString(16);\n }\n resolve(header)\n }\n };\n fileReader.onerror = reject\n fileReader.readAsArrayBuffer(file.slice(0, 4))\n })\n }\n\n}\n\n\n","import { render } from \"./FileUploader.vue?vue&type=template&id=44737234&scoped=true&ts=true\"\nimport script from \"./FileUploader.vue?vue&type=script&lang=ts\"\nexport * from \"./FileUploader.vue?vue&type=script&lang=ts\"\n\nimport \"./FileUploader.vue?vue&type=style&index=0&id=44737234&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-44737234\"]])\n\nexport default __exports__","\nimport { Options, Vue } from \"vue-class-component\";\nimport { Prop, Watch } from 'vue-property-decorator'\nimport Button from '@/components/Button.vue'\nimport { PencilAltIcon, SaveIcon, XIcon, BanIcon, UploadIcon, PlusIcon } from '@heroicons/vue/solid'\nimport { AttributeMultiSelectOption, AttributeState } from '@/types/attributes'\nimport contenteditable from 'vue-contenteditable'\nimport FileUploader from '@/components/FileUploader.vue'\nimport Loader from '@/components/Loader.vue'\nimport Modal from '@/components/Modal.vue'\n// @ts-ignore\nimport flatPickr from 'vue-flatpickr-component';\nimport 'flatpickr/dist/flatpickr.css';\nimport { AttributeModalMode } from \"@/types/types\";\nimport moment from \"moment\";\n\n@Options({\n name: \"AttributeEditCreateDetailsComponent\",\n components: {\n Button,\n PencilAltIcon,\n SaveIcon,\n XIcon,\n BanIcon,\n UploadIcon,\n contenteditable,\n flatPickr,\n FileUploader,\n Loader,\n Modal,\n PlusIcon\n },\n emits: [\n 'saveConfirmed', 'editModeChange', 'errorShown', 'dismiss'\n ]\n})\nexport default class AttributeEditCreateDetailsComponent extends Vue { \n @Prop({type: String, require: true}) title!: string\n @Prop({type: String, require: false}) subtitle?: string\n @Prop({type: Boolean, default: false}) loading: boolean = false\n @Prop({type: Boolean, default: false}) createMode: boolean = false\n @Prop({type: Boolean, default: false}) viewOnly: boolean = false\n\n @Prop({type: Boolean, default: false}) error: boolean = false\n\n private editMode: boolean = false\n\n @Prop({require: true}) attributes!: AttributeState[]\n \n private uploading = false\n private showModal = false\n private modalType: AttributeModalMode = AttributeModalMode.SAVE\n\n private outputValues: {[key: string]: any} = {}\n private appId: string = \"\"\n\n created() {\n this.editMode = this.createMode\n this.$emit('editModeChange', this.editMode)\n this.appId = this.$route.params.appId as string\n this.attributes.forEach(attr => {\n this.outputValues[attr.key] = attr.value\n });\n \n }\n\n editPressed() {\n this.editMode = true\n this.$emit('editModeChange', this.editMode)\n }\n\n turnOffEditMode() {\n this.editMode = false\n this.$emit('editModeChange', this.editMode)\n }\n\n cancelPressed() {\n\n const valueChanges = this.calculateChanges()\n\n if (Object.keys(valueChanges).length === 0) {\n if (this.createMode) {\n this.$emit('dismiss')\n } else {\n this.turnOffEditMode()\n }\n } else {\n this.showModalForType(AttributeModalMode.CANCEL)\n }\n }\n\n @Watch('error')\n errorDidOccur() {\n if (this.error){\n this.$emit('errorShown')\n this.showModalForType(AttributeModalMode.ERROR)\n }\n }\n\n savePressed() {\n \n const validState = this.isValidStateForSave()\n\n if (!validState.isValid) {\n this.showModalForType(AttributeModalMode.MISSING_REQUIRED_FIELD)\n return\n }\n\n this.showModalForType(AttributeModalMode.SAVE)\n\n }\n\n modalConfirm() {\n // some code...\n this.showModal = false\n \n switch (this.modalType) {\n case AttributeModalMode.CANCEL:\n if (this.createMode) {\n //Create only so close\n this.$emit('dismiss')\n } else {\n //Dismiss changes\n this.attributes.forEach(attr => {\n this.outputValues[attr.key] = attr.value\n });\n this.turnOffEditMode()\n } \n return\n case AttributeModalMode.SAVE:\n case AttributeModalMode.ERROR:\n //Retry on error\n this.$emit('saveConfirmed', this.calculateChanges())\n return \n default:\n return\n }\n\n\n }\n\n modalCancel(close: any) {\n close()\n }\n\n formatDate(date: string, format: string): string {\n // locale can also be used\n return moment(date).format(format);\n }\n\n parseDate(datestr: string, format: string): Date {\n return moment(datestr, format, true).toDate();\n }\n\n isValidStateForSave(): {isValid: Boolean, attributeTitle?: string} {\n let isValid = true\n let attributeTitle: string | undefined = undefined\n \n for (let attr of this.attributes) {\n if (attr.required) {\n if (!this.outputValues[attr.key]) {\n console.log(`Attribute ${attr.title} not valid: ${this.outputValues[attr.key]}`)\n isValid = false\n attributeTitle = attr.title\n break;\n }\n }\n }\n\n return {isValid, attributeTitle}\n\n }\n\n isOptionSelected(key: string, option: AttributeMultiSelectOption) {\n\n const currentValue = this.outputValues[key]\n return currentValue.indexOf(option.value) !== -1\n }\n\n calculateChanges() {\n \n const changes: ({key: string, value: any } | undefined)[] = this.attributes.map(attr => {\n \n if (attr.value !== this.outputValues[attr.key]) {\n return { key: attr.key, value: this.outputValues[attr.key] }\n } else {\n return undefined\n }\n \n });\n\n return changes.filter(n => n)\n }\n\n fileUploadComplete(key: string, fileGetURL: string) {\n this.outputValues[key] = fileGetURL\n }\n\n uploadCancelled(key: string) {\n\n const originalValue = this.attributes.find( attr => {\n return attr.key === key\n })\n \n this.outputValues[key] = originalValue?.value\n\n }\n\n showModalForType(type: AttributeModalMode) {\n this.modalType = type\n this.showModal = true\n }\n\n get modalDistructive() {\n switch (this.modalType) {\n case AttributeModalMode.SAVE:\n return false\n default:\n return true \n }\n }\n\n get modalTitle() {\n switch (this.modalType) {\n case AttributeModalMode.CANCEL:\n return \"Cancel\"\n case AttributeModalMode.SAVE:\n return \"Save\"\n case AttributeModalMode.MISSING_REQUIRED_FIELD:\n return \"Error - Missing required field\"\n case AttributeModalMode.ERROR:\n return \"Error\"\n default:\n return \"\"\n }\n }\n\n get modalConfirmButtonTitle() {\n switch (this.modalType) {\n case AttributeModalMode.CANCEL:\n return \"Ok\"\n case AttributeModalMode.SAVE:\n return \"Save\"\n case AttributeModalMode.MISSING_REQUIRED_FIELD:\n return \"Ok\"\n case AttributeModalMode.ERROR:\n return \"Retry\"\n default:\n return \"\"\n }\n }\n\n get modalMessage() {\n switch (this.modalType) {\n case AttributeModalMode.CANCEL:\n return \"Are you sure you want to cancel? All data will be discarded\"\n case AttributeModalMode.SAVE:\n return \"Are you sure you want to save?\"\n case AttributeModalMode.MISSING_REQUIRED_FIELD:\n\n // eslint-disable-next-line no-case-declarations\n const validState = this.isValidStateForSave()\n\n if (validState.attributeTitle) {\n return \"Missing value for \" + validState.attributeTitle\n } else {\n return \"Please check you have completed all information\"\n }\n case AttributeModalMode.ERROR:\n return \"An error occured while saving your changes\"\n default:\n return \"\"\n }\n }\n\n}\n\n","import { render } from \"./AttributeEditCreateDetailsComponent.vue?vue&type=template&id=5beae48c&scoped=true&ts=true\"\nimport script from \"./AttributeEditCreateDetailsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./AttributeEditCreateDetailsComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./AttributeEditCreateDetailsComponent.vue?vue&type=style&index=0&id=5beae48c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5beae48c\"]])\n\nexport default __exports__","export enum AttributeType {\n TEXT = \"TEXT\",\n BOOLEAN = \"BOOLEAN\",\n DATE_TIME = \"DATE_TIME\",\n LONG_TEXT = \"LONG_TEXT\",\n IMAGE = \"IMAGE\",\n MULTI_SELECT = \"MULTI_SELECT\",\n SINGLE_SELECT = \"SINGLE_SELECT\",\n CHILD_OBJECTS = \"CHILD_OBJECTS\",\n}\n\n\nexport interface AttributeState {\n type: AttributeType,\n required: boolean,\n title: string,\n value?: string | number[] | Boolean,\n placeholder: string,\n key: string,\n options?: AttributeMultiSelectOption[]\n childObjectAttributes?: ChildObjectAttributes[]\n}\n\nexport interface AttributeMultiSelectOption {\n imageUrl?: string,\n value: number | string,\n title: string\n}\n\nexport interface ChildObjectAttributes {\n id: number\n attributes: {title: string, value: string}[]\n}","\nimport { Options, Vue } from \"vue-class-component\";\nimport { Prop } from 'vue-property-decorator'\nimport AttributeEditCreateDetailsComponent from '@/components/AttributeEditCreateDetailsComponent.vue'\nimport { AttributeMode, Contestant } from \"@/types/types\";\nimport { AttributeState, AttributeType } from \"@/types/attributes\";\nimport { ContestantPayload } from \"@/types/payloads\";\nimport { AdminAPI } from \"@/api\";\n\n\n@Options({\n name: \"ContestantEditComponent\",\n components: {\n AttributeEditCreateDetailsComponent\n },\n emits: ['detailsComponentDidComplete', 'update:drawerDismissable', 'dismissSlideOver']\n})\nexport default class ContestantEditComponent extends Vue { \n\n @Prop() contestantToView: Contestant | null = null\n @Prop({require: true}) mode: AttributeMode = AttributeMode.CREATE\n @Prop({type: Boolean, default: true }) drawerDismissable: Boolean = true\n \n private loading: boolean = false\n private error: boolean = false\n\n get titleText() {\n if (this.contestantToView) {\n return this.contestantToView.name\n } else {\n return \"Create Contestant\"\n }\n }\n\n get subtitleText() {\n if (this.contestantToView) {\n return \"View and edit\"\n } else {\n return null\n }\n }\n\n savePressed(changes: {key: string, value: string }[]) {\n let payload: {[key:string]: any} = {}\n changes.forEach( obj => \n payload[obj.key] = obj.value\n )\n\n switch (this.mode) {\n case AttributeMode.CREATE:\n this.createContestant(payload)\n return;\n case AttributeMode.VIEW_EDIT:\n this.updateContestant(payload)\n return;\n }\n }\n\n async createContestant(payload: ContestantPayload) {\n\n this.loading = true\n const appId = this.$route.params.appId as string\n try {\n await AdminAPI.createContestantsForAppId(appId, payload)\n this.error = false\n this.$emit('detailsComponentDidComplete')\n } catch (err) {\n console.error(err)\n this.error = true\n } finally {\n this.loading = false\n }\n }\n\n async updateContestant(payload: ContestantPayload) {\n const contestantId = this.contestantToView?.id\n\n if (!contestantId) {\n this.error = true\n return\n }\n \n this.loading = true\n const appId = this.$route.params.appId as string\n try {\n await AdminAPI.updateContestantsForAppId(appId, contestantId, payload)\n this.$emit('detailsComponentDidComplete')\n } catch (err) {\n console.error(err)\n this.error = true\n } finally {\n this.loading = false\n }\n\n}\n\n getAttributesForContestant(): AttributeState[] {\n \n return [\n {type: AttributeType.IMAGE, required: true, title: \"Image\", value: this.contestantToView?.profilePhoto, placeholder: \"Profile Photo\", key: \"profilePhoto\"},\n {type: AttributeType.TEXT, required: true, title: \"First Name\", value: this.contestantToView?.firstName, placeholder: \"Enter First name\", key: \"firstName\"},\n {type: AttributeType.TEXT, required: true, title: \"Last Name\", value: this.contestantToView?.lastName, placeholder: \"Enter Last name\", key: \"lastName\"},\n {type: AttributeType.LONG_TEXT, required: true, title: \"Description\", value: this.contestantToView?.description, placeholder: \"Enter Description\", key: \"description\"},\n {type: AttributeType.LONG_TEXT, required: true, title: \"Description Irish\", value: this.contestantToView?.descriptionIrish, placeholder: \"Enter Description in Irish\", key: \"descriptionIrish\"},\n {type: AttributeType.TEXT, required: true, title: \"Location\", value: this.contestantToView?.location, placeholder: \"Enter Location\", key: \"location\"},\n {type: AttributeType.TEXT, required: true, title: \"Location Irish\", value: this.contestantToView?.locationIrish, placeholder: \"Enter Location in Irish\", key: \"locationIrish\"},\n {type: AttributeType.TEXT, required: false, title: \"Twitter Handle\", value: this.contestantToView?.twitterHandle, placeholder: \"Enter Twitter Handle\", key: \"twitterHandle\"},\n {type: AttributeType.LONG_TEXT, required: false, title: \"Twitter Share Text\", value: this.contestantToView?.twitterText, placeholder: \"Enter Share text for Twitter\", key: \"twitterText\"},\n {type: AttributeType.LONG_TEXT, required: false, title: \"Twitter Share Text Irish\", value: this.contestantToView?.twitterTextIrish, placeholder: \"Enter Share text for Twitter in Irish\", key: \"twitterTextIrish\"},\n ]\n }\n \n}\n\n","import { render } from \"./ContestantEditComponent.vue?vue&type=template&id=95ca0fcc&ts=true\"\nimport script from \"./ContestantEditComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./ContestantEditComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { AdminAPI } from '@/api'\nimport { AttributeMode, Contestant, ListCellAttributes, ListCellConfiguration } from '@/types/types'\nimport { Options, Vue} from 'vue-class-component'\nimport ListComponent from '@/components/ListComponent.vue'\nimport { PlusIcon } from '@heroicons/vue/solid'\nimport SlideOverComponent from '@/components/SlideOverComponent.vue'\nimport ContestantEditComponent from '@/components/ContestantEditComponent.vue'\nimport Button from '@/components/Button.vue'\n\n@Options({\n components: {\n ListComponent,\n PlusIcon,\n Button,\n SlideOverComponent,\n ContestantEditComponent\n }\n})\nexport default class AppContestants extends Vue {\n\n private loading: Boolean = false\n private error: Boolean = false\n\n private listConfig: ListCellConfiguration[] = []\n private openDrawer = false\n private drawerDismissable = true\n private attributeMode: AttributeMode = AttributeMode.CREATE\n private contestantToView: Contestant | null = null\n\n mounted() {\n this.loadData()\n }\n\n async loadData() {\n const appId = this.$route.params.appId as string\n try {\n this.loading = true\n const contestants = (await AdminAPI.getContestantsForAppId(appId)).data\n this.mapToListConfig(contestants)\n this.loading = false\n } catch (err) {\n this.loading = false\n this.error = true\n }\n }\n\n mapToListConfig(contestants: Contestant[]) {\n\n this.listConfig = contestants.map( contestant => {\n\n const attrs: ListCellAttributes[] = []\n\n attrs.push({title: \"Description\", value: contestant.description})\n attrs.push({title: \"Description Irish\", value: contestant.descriptionIrish})\n\n attrs.push({title: \"Twitter\", value: contestant.twitterHandle ?? \"N/A\"})\n\n return {\n title: contestant.name,\n subtitle: contestant.location,\n imageURL: contestant.profilePhoto,\n attributes: attrs,\n item: contestant\n }\n })\n\n }\n\n goToCreateContestant() {\n this.contestantToView = null\n this.attributeMode = AttributeMode.CREATE\n this.openDrawer = true\n }\n\n itemPressed(payload: any) {\n const contestant = payload.config.item as Contestant\n this.attributeMode = AttributeMode.VIEW_EDIT\n this.contestantToView = contestant\n this.openDrawer = true\n }\n\n didCompleteDetailsComponent() {\n this.openDrawer = false\n this.contestantToView = null\n this.loadData()\n }\n\n}\n","import { render } from \"./AppContestants.vue?vue&type=template&id=76315e98&scoped=true&ts=true\"\nimport script from \"./AppContestants.vue?vue&type=script&lang=ts\"\nexport * from \"./AppContestants.vue?vue&type=script&lang=ts\"\n\nimport \"./AppContestants.vue?vue&type=style&index=0&id=76315e98&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-76315e98\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b2726c60\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"judges-base\" }\nconst _hoisted_2 = { class: \"judges-header-horizontal mx-6\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-left text-3xl text-indigo-600 flex-grow\" }, \"Judges\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PlusIcon = _resolveComponent(\"PlusIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ListComponent = _resolveComponent(\"ListComponent\")!\n const _component_JudgeEditComponent = _resolveComponent(\"JudgeEditComponent\")!\n const _component_SlideOverComponent = _resolveComponent(\"SlideOverComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_Button, {\n onClick: _ctx.goToCreateJudge,\n title: \"Add\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PlusIcon)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createVNode(_component_ListComponent, {\n class: \"list-component\",\n onDidSelectListItem: _ctx.itemPressed,\n squareImage: true,\n loading: _ctx.loading,\n error: _ctx.error,\n emptyStateText: \"Add new judge\",\n listConfig: _ctx.listConfig,\n retryPressed: _ctx.loadData,\n emptyStatePressed: _ctx.goToCreateJudge\n }, null, 8, [\"onDidSelectListItem\", \"loading\", \"error\", \"listConfig\", \"retryPressed\", \"emptyStatePressed\"])\n ]),\n _createVNode(_component_SlideOverComponent, {\n open: _ctx.openDrawer,\n \"onUpdate:open\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.openDrawer) = $event)),\n drawerDismissable: _ctx.drawerDismissable\n }, {\n default: _withCtx(() => [\n _createVNode(_component_JudgeEditComponent, {\n judgeToView: _ctx.judgeToView,\n drawerDismissable: _ctx.drawerDismissable,\n \"onUpdate:drawerDismissable\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.drawerDismissable) = $event)),\n mode: _ctx.attributeMode,\n onDetailsComponentDidComplete: _ctx.didCompleteDetailsComponent,\n onDismissSlideOver: _cache[1] || (_cache[1] = ($event: any) => (_ctx.openDrawer = false))\n }, null, 8, [\"judgeToView\", \"drawerDismissable\", \"mode\", \"onDetailsComponentDidComplete\"])\n ]),\n _: 1\n }, 8, [\"open\", \"drawerDismissable\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AttributeEditCreateDetailsComponent = _resolveComponent(\"AttributeEditCreateDetailsComponent\")!\n\n return (_openBlock(), _createBlock(_component_AttributeEditCreateDetailsComponent, {\n title: _ctx.titleText,\n subtitle: _ctx.subtitleText,\n loading: _ctx.loading,\n error: _ctx.error,\n onSaveConfirmed: _ctx.savePressed,\n onErrorShown: _cache[0] || (_cache[0] = ($event: any) => (_ctx.error = false)),\n onEditModeChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('update:drawerDismissable', !$event))),\n onDismiss: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('dismissSlideOver'))),\n createMode: _ctx.mode === 'CREATE',\n attributes: _ctx.getAttributesForJudge()\n }, null, 8, [\"title\", \"subtitle\", \"loading\", \"error\", \"onSaveConfirmed\", \"createMode\", \"attributes\"]))\n}","\nimport { Options, Vue } from \"vue-class-component\";\nimport { Prop } from 'vue-property-decorator'\nimport AttributeEditCreateDetailsComponent from '@/components/AttributeEditCreateDetailsComponent.vue'\nimport { AttributeMode, Judge } from \"@/types/types\";\nimport { AttributeState, AttributeType } from \"@/types/attributes\";\nimport { JudgePayload } from \"@/types/payloads\";\nimport { AdminAPI } from \"@/api\";\n\n\n@Options({\n name: \"JudgeEditComponent\",\n components: {\n AttributeEditCreateDetailsComponent\n },\n emits: ['detailsComponentDidComplete', 'update:drawerDismissable', 'dismissSlideOver']\n})\nexport default class JudgeEditComponent extends Vue { \n\n @Prop() judgeToView: Judge | null = null\n @Prop({require: true}) mode: AttributeMode = AttributeMode.CREATE\n @Prop({type: Boolean, default: true }) drawerDismissable: Boolean = true\n \n private loading: boolean = false\n private error: boolean = false\n\n get titleText() {\n if (this.judgeToView) {\n return this.judgeToView.name\n } else {\n return \"Create Judge\"\n }\n }\n\n get subtitleText() {\n if (this.judgeToView) {\n return \"View and edit\"\n } else {\n return null\n }\n }\n\n savePressed(changes: {key: string, value: string }[]) {\n let payload: {[key:string]: any} = {}\n changes.forEach( obj => \n payload[obj.key] = obj.value\n )\n\n switch (this.mode) {\n case AttributeMode.CREATE:\n this.createJudge(payload)\n return;\n case AttributeMode.VIEW_EDIT:\n this.updateJudge(payload)\n return;\n }\n }\n\n async createJudge(payload: JudgePayload) {\n \n this.error = false\n this.loading = true\n const appId = this.$route.params.appId as string\n try {\n await AdminAPI.createJudgeForAppId(appId, payload)\n this.$emit('detailsComponentDidComplete')\n } catch (err) {\n console.error(err)\n this.error = true\n } finally {\n this.loading = false\n }\n }\n\n async updateJudge(payload: JudgePayload) {\n const judgeId = this.judgeToView?.id\n\n if (!judgeId) {\n this.error = true\n return\n }\n \n this.loading = true\n const appId = this.$route.params.appId as string\n try {\n await AdminAPI.updateJudgeForAppId(appId, judgeId, payload)\n this.$emit('detailsComponentDidComplete')\n } catch (err) {\n console.error(err)\n this.error = true\n } finally {\n this.loading = false\n }\n\n}\n\n getAttributesForJudge(): AttributeState[] {\n \n return [\n {type: AttributeType.IMAGE, required: true, title: \"Image\", value: this.judgeToView?.profilePhoto, placeholder: \"Profile Photo\", key: \"profilePhoto\"},\n {type: AttributeType.TEXT, required: true, title: \"First Name\", value: this.judgeToView?.firstName, placeholder: \"Enter First name\", key: \"firstName\"},\n {type: AttributeType.TEXT, required: true, title: \"Last Name\", value: this.judgeToView?.lastName, placeholder: \"Enter Last name\", key: \"lastName\"},\n {type: AttributeType.LONG_TEXT, required: true, title: \"Description\", value: this.judgeToView?.description, placeholder: \"Enter Description\", key: \"description\"},\n {type: AttributeType.LONG_TEXT, required: true, title: \"Description Irish\", value: this.judgeToView?.descriptionIrish, placeholder: \"Enter Description in Irish\", key: \"descriptionIrish\"},\n {type: AttributeType.TEXT, required: false, title: \"Twitter Handle\", value: this.judgeToView?.twitterHandle, placeholder: \"Enter Twitter Handle\", key: \"twitterHandle\"}\n ]\n }\n \n}\n\n","import { render } from \"./JudgeEditComponent.vue?vue&type=template&id=d381e304&ts=true\"\nimport script from \"./JudgeEditComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./JudgeEditComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { AdminAPI } from '@/api'\nimport { AttributeMode, Judge, ListCellAttributes, ListCellConfiguration } from '@/types/types'\nimport { Options, Vue} from 'vue-class-component'\nimport ListComponent from '@/components/ListComponent.vue'\nimport { PlusIcon } from '@heroicons/vue/solid'\nimport SlideOverComponent from '@/components/SlideOverComponent.vue'\nimport JudgeEditComponent from '@/components/JudgeEditComponent.vue'\nimport Button from '@/components/Button.vue'\n\n@Options({\n components: {\n ListComponent,\n PlusIcon,\n Button,\n SlideOverComponent,\n JudgeEditComponent\n }\n})\nexport default class AppJudges extends Vue {\n private loading: Boolean = false\n private error: Boolean = false\n\n private listConfig: ListCellConfiguration[] = []\n private openDrawer = false\n private drawerDismissable = true\n private attributeMode: AttributeMode = AttributeMode.CREATE\n private judgeToView: Judge | null = null\n\n mounted() {\n this.loadData()\n }\n\n async loadData() {\n const appId = this.$route.params.appId as string\n try {\n this.loading = true\n const judges = (await AdminAPI.getJudgesForAppId(appId)).data\n this.mapToListConfig(judges)\n this.loading = false\n } catch (err) {\n this.loading = false\n this.error = true\n }\n\n }\n\n mapToListConfig(judges: Judge[]) {\n\n this.listConfig = judges.map( judge => {\n\n const attrs: ListCellAttributes[] = []\n\n attrs.push({title: \"Description\", value: judge.description})\n attrs.push({title: \"Description Irish\", value: judge.descriptionIrish})\n\n attrs.push({title: \"Twitter\", value: judge.twitterHandle ?? \"N/A\"})\n\n return {\n title: judge.name,\n imageURL: judge.profilePhoto,\n attributes: attrs,\n item: judge\n }\n })\n\n }\n\n goToCreateJudge() {\n this.judgeToView = null\n this.attributeMode = AttributeMode.CREATE\n this.openDrawer = true\n }\n\n itemPressed(payload: any) {\n const judge = payload.config.item as Judge\n this.attributeMode = AttributeMode.VIEW_EDIT\n this.judgeToView = judge\n this.openDrawer = true\n }\n\n didCompleteDetailsComponent() {\n this.openDrawer = false\n this.judgeToView = null\n this.loadData()\n }\n\n}\n","import { render } from \"./AppJudges.vue?vue&type=template&id=b2726c60&scoped=true&ts=true\"\nimport script from \"./AppJudges.vue?vue&type=script&lang=ts\"\nexport * from \"./AppJudges.vue?vue&type=script&lang=ts\"\n\nimport \"./AppJudges.vue?vue&type=style&index=0&id=b2726c60&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b2726c60\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-24d95740\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"mentors-base\" }\nconst _hoisted_2 = { class: \"mentors-header-horizontal mx-6\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-left text-3xl text-indigo-600 flex-grow\" }, \"Mentors\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PlusIcon = _resolveComponent(\"PlusIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ListComponent = _resolveComponent(\"ListComponent\")!\n const _component_MentorEditComponent = _resolveComponent(\"MentorEditComponent\")!\n const _component_SlideOverComponent = _resolveComponent(\"SlideOverComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_Button, {\n onClick: _ctx.goToCreateMentor,\n title: \"Add\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PlusIcon)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createVNode(_component_ListComponent, {\n class: \"list-component\",\n onDidSelectListItem: _ctx.itemPressed,\n squareImage: false,\n loading: _ctx.loading,\n error: _ctx.error,\n emptyStateText: \"Add new mentor\",\n listConfig: _ctx.listConfig,\n retryPressed: _ctx.loadData,\n emptyStatePressed: _ctx.goToCreateMentor\n }, null, 8, [\"onDidSelectListItem\", \"loading\", \"error\", \"listConfig\", \"retryPressed\", \"emptyStatePressed\"])\n ]),\n _createVNode(_component_SlideOverComponent, {\n open: _ctx.openDrawer,\n \"onUpdate:open\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.openDrawer) = $event)),\n drawerDismissable: _ctx.drawerDismissable\n }, {\n default: _withCtx(() => [\n _createVNode(_component_MentorEditComponent, {\n mentorToView: _ctx.mentorToView,\n drawerDismissable: _ctx.drawerDismissable,\n \"onUpdate:drawerDismissable\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.drawerDismissable) = $event)),\n mode: _ctx.attributeMode,\n onDetailsComponentDidComplete: _ctx.didCompleteDetailsComponent,\n onDismissSlideOver: _cache[1] || (_cache[1] = ($event: any) => (_ctx.openDrawer = false))\n }, null, 8, [\"mentorToView\", \"drawerDismissable\", \"mode\", \"onDetailsComponentDidComplete\"])\n ]),\n _: 1\n }, 8, [\"open\", \"drawerDismissable\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AttributeEditCreateDetailsComponent = _resolveComponent(\"AttributeEditCreateDetailsComponent\")!\n\n return (_openBlock(), _createBlock(_component_AttributeEditCreateDetailsComponent, {\n title: _ctx.titleText,\n subtitle: _ctx.subtitleText,\n loading: _ctx.loading,\n error: _ctx.error,\n onSaveConfirmed: _ctx.savePressed,\n onErrorShown: _cache[0] || (_cache[0] = ($event: any) => (_ctx.error = false)),\n onEditModeChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('update:drawerDismissable', !$event))),\n createMode: _ctx.mode === 'CREATE',\n onDismiss: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('dismissSlideOver'))),\n attributes: _ctx.getAttributesForContestant()\n }, null, 8, [\"title\", \"subtitle\", \"loading\", \"error\", \"onSaveConfirmed\", \"createMode\", \"attributes\"]))\n}","\nimport { Options, Vue } from \"vue-class-component\";\nimport { Prop } from 'vue-property-decorator'\nimport AttributeEditCreateDetailsComponent from '@/components/AttributeEditCreateDetailsComponent.vue'\nimport { AttributeMode, Contestant, Mentor } from \"@/types/types\";\nimport { AttributeMultiSelectOption, AttributeState, AttributeType } from \"@/types/attributes\";\nimport { MentorPayload } from \"@/types/payloads\";\nimport { AdminAPI } from \"@/api\";\n\n\n@Options({\n name: \"MentorEditComponent\",\n components: {\n AttributeEditCreateDetailsComponent\n },\n emits: ['detailsComponentDidComplete', 'update:drawerDismissable', 'dismissSlideOver']\n})\nexport default class MentorEditComponent extends Vue { \n\n @Prop() mentorToView: Mentor | null = null\n @Prop({require: true}) mode: AttributeMode = AttributeMode.CREATE\n @Prop({type: Boolean, default: true }) drawerDismissable: Boolean = true\n \n private loading: boolean = false\n private error: boolean = false\n\n private contestants: Contestant[] = []\n async mounted() {\n const appId = this.$route.params.appId as string\n this.contestants = (await AdminAPI.getContestantsForAppId(appId)).data\n\n }\n\n get titleText() {\n if (this.mentorToView) {\n return this.mentorToView.name\n } else {\n return \"Create Mentor\"\n }\n }\n\n get subtitleText() {\n if (this.mentorToView) {\n return \"View and edit\"\n } else {\n return null\n }\n }\n\n savePressed(changes: {key: string, value: any }[]) {\n let payload: {[key:string]: any} = {}\n changes.forEach( obj => \n payload[obj.key] = obj.value\n )\n\n const updatedPayload = payload as MentorPayload\n\n switch (this.mode) {\n case AttributeMode.CREATE:\n this.createMentor(updatedPayload)\n return;\n case AttributeMode.VIEW_EDIT:\n this.updateMentor(updatedPayload)\n return;\n }\n }\n\n async createMentor(payload: MentorPayload) {\n\n this.loading = true\n this.error = false\n const appId = this.$route.params.appId as string\n try {\n await AdminAPI.createMentorForAppId(appId, payload)\n this.$emit('detailsComponentDidComplete')\n } catch (err) {\n console.error(err)\n this.error = true\n } finally {\n this.loading = false\n }\n }\n\n async updateMentor(payload: MentorPayload) {\n const mentorId = this.mentorToView?.id\n\n if (!mentorId) {\n this.error = true\n return\n }\n \n this.loading = true\n const appId = this.$route.params.appId as string\n try {\n await AdminAPI.updateMentorForAppId(appId, mentorId, payload)\n this.$emit('detailsComponentDidComplete')\n } catch (err) {\n console.error(err)\n this.error = true\n } finally {\n this.loading = false\n }\n\n}\n\n getAttributesForContestant(): AttributeState[] {\n \n const options: AttributeMultiSelectOption[] = this.contestants.map((contestant) => {\n return {value: contestant.id, title: contestant.name, imageUrl: contestant.profilePhoto}\n })\n\n const currentMenteeIds = this.mentorToView?.contestants.map( contestant => contestant.id ) ?? []\n\n return [\n {type: AttributeType.IMAGE, required: true, title: \"Image\", value: this.mentorToView?.profilePhoto, placeholder: \"Profile Photo\", key: \"profilePhoto\"},\n {type: AttributeType.TEXT, required: true, title: \"First Name\", value: this.mentorToView?.firstName, placeholder: \"Enter First name\", key: \"firstName\"},\n {type: AttributeType.TEXT, required: true, title: \"Last Name\", value: this.mentorToView?.lastName, placeholder: \"Enter Last name\", key: \"lastName\"},\n {type: AttributeType.LONG_TEXT, required: true, title: \"Description\", value: this.mentorToView?.description, placeholder: \"Enter Description\", key: \"description\"},\n {type: AttributeType.LONG_TEXT, required: true, title: \"Description Irish\", value: this.mentorToView?.descriptionIrish, placeholder: \"Enter Description in Irish\", key: \"descriptionIrish\"},\n {type: AttributeType.TEXT, required: false, title: \"Twitter Handle\", value: this.mentorToView?.twitterHandle, placeholder: \"Enter Twitter Handle\", key: \"twitterHandle\"},\n {type: AttributeType.MULTI_SELECT, required: false, title: \"Contestants\", value: currentMenteeIds, placeholder: \"Select options\", key: \"contestants\", options: options},\n ]\n }\n \n}\n\n","import { render } from \"./MentorEditComponent.vue?vue&type=template&id=39795474&ts=true\"\nimport script from \"./MentorEditComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MentorEditComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { AdminAPI } from '@/api'\nimport { Mentor, ListCellAttributes, ListCellConfiguration, AttributeMode } from '@/types/types'\nimport { Options, Vue} from 'vue-class-component'\nimport ListComponent from '@/components/ListComponent.vue'\nimport { PlusIcon } from '@heroicons/vue/solid'\nimport SlideOverComponent from '@/components/SlideOverComponent.vue'\nimport MentorEditComponent from '@/components/MentorEditComponent.vue'\nimport Button from '@/components/Button.vue'\n@Options({\n components: {\n ListComponent,\n PlusIcon,\n Button,\n SlideOverComponent,\n MentorEditComponent\n }\n})\nexport default class AppMentors extends Vue {\n private loading: Boolean = false\n private error: Boolean = false\n\n private listConfig: ListCellConfiguration[] = []\n private openDrawer = false\n private drawerDismissable = true\n private attributeMode: AttributeMode = AttributeMode.CREATE\n private mentorToView: Mentor | null = null\n\n mounted() {\n this.loadData()\n }\n\n async loadData() {\n const appId = this.$route.params.appId as string\n try {\n this.loading = true\n const mentors = (await AdminAPI.getMentorsForAppId(appId)).data\n this.mapToListConfig(mentors)\n this.loading = false\n } catch (err) {\n this.loading = false\n this.error = true\n }\n\n }\n\n mapToListConfig(mentors: Mentor[]) {\n\n this.listConfig = mentors.map( mentor => {\n\n const attrs: ListCellAttributes[] = []\n\n attrs.push({title: \"Description\", value: mentor.description})\n attrs.push({title: \"Description Irish\", value: mentor.descriptionIrish})\n\n return {\n title: mentor.name,\n imageURL: mentor.profilePhoto,\n attributes: attrs,\n item: mentor\n }\n })\n\n }\n\n goToCreateMentor() {\n this.mentorToView = null\n this.attributeMode = AttributeMode.CREATE\n this.openDrawer = true\n }\n\n itemPressed(payload: any) {\n const mentor = payload.config.item as Mentor\n this.attributeMode = AttributeMode.VIEW_EDIT\n this.mentorToView = mentor\n this.openDrawer = true\n }\n\n didCompleteDetailsComponent() {\n this.openDrawer = false\n this.mentorToView = null\n this.loadData()\n }\n\n\n}\n","import { render } from \"./AppMentors.vue?vue&type=template&id=24d95740&scoped=true&ts=true\"\nimport script from \"./AppMentors.vue?vue&type=script&lang=ts\"\nexport * from \"./AppMentors.vue?vue&type=script&lang=ts\"\n\nimport \"./AppMentors.vue?vue&type=style&index=0&id=24d95740&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-24d95740\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0a6c4dee\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"base\" }\nconst _hoisted_2 = { class: \"flex flex-col flex-grow items-center justify-center\" }\nconst _hoisted_3 = { class: \"bg-white overflow-hidden shadow rounded-lg flex flex-col md:w-2/3 max-w-3xl\" }\nconst _hoisted_4 = { class: \"px-4 py-5 sm:p-6 w-full\" }\nconst _hoisted_5 = { class: \"w-full space-y-8\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h2\", { class: \"mt-2 text-center text-3xl font-medium text-indigo-600\" }, \" Send Push Notification \", -1))\nconst _hoisted_7 = [\"disabled\"]\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Warning!\")\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", null, \"Are you sure you want to send a push notification? This will go to all users of the app.\", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SpeakerphoneIcon = _resolveComponent(\"SpeakerphoneIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_Modal = _resolveComponent(\"Modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _withDirectives(_createElementVNode(\"textarea\", {\n type: \"text\",\n rows: \"6\",\n maxlength: \"110\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.pushText) = $event)),\n disabled: _ctx.loading,\n name: \"Notification Message\",\n placeholder: \"Enter Notification text\",\n class: \"block w-full text-xl font-medium rounded-md border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500\"\n }, null, 8, _hoisted_7), [\n [_vModelText, _ctx.pushText]\n ]),\n (!_ctx.loading)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n title: \"Send Notification\",\n disabled: _ctx.pushText.length === 0,\n onClick: _ctx.sendNotification,\n class: \"w-full\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_SpeakerphoneIcon)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_Loader, {\n key: 1,\n class: \"mx-auto\"\n }))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ]),\n _createVNode(_component_Modal, {\n modelValue: _ctx.showModal,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.showModal) = $event)),\n destructive: false,\n onConfirm: _ctx.modalConfirm,\n onCancel: _ctx.modalCancel,\n confirmTitle: \"Send\"\n }, {\n title: _withCtx(() => [\n _hoisted_8\n ]),\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"modelValue\", \"onConfirm\", \"onCancel\"])\n ], 64))\n}","\nimport { Options, Vue} from 'vue-class-component'\nimport Button from '@/components/Button.vue'\nimport Modal from '@/components/Modal.vue'\nimport {\n SpeakerphoneIcon\n} from '@heroicons/vue/outline'\nimport { AdminAPI } from '@/api'\nimport Loader from '@/components/Loader.vue'\n\n@Options({\n components: {\n Button,\n SpeakerphoneIcon,\n Modal,\n Loader\n }\n})\nexport default class AppPushNotifications extends Vue {\n\n private showModal = false\n private pushText = \"\"\n private loading = false\n\n sendNotification() {\n this.showModal = true\n }\n\n async modalConfirm() {\n this.showModal = false\n const appId = this.$route.params.appId as string\n this.loading = true\n try {\n await AdminAPI.sendNotificationToAllUsers(appId, this.pushText)\n this.pushText = \"\"\n } catch (err) {\n alert(\"Failed to send notification\");\n } finally {\n this.loading = false\n }\n\n }\n\n modalCancel() {\n this.showModal = false\n }\n}\n","import { render } from \"./AppPushNotification.vue?vue&type=template&id=0a6c4dee&scoped=true&ts=true\"\nimport script from \"./AppPushNotification.vue?vue&type=script&lang=ts\"\nexport * from \"./AppPushNotification.vue?vue&type=script&lang=ts\"\n\nimport \"./AppPushNotification.vue?vue&type=style&index=0&id=0a6c4dee&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0a6c4dee\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, vModelText as _vModelText, withKeys as _withKeys, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3338bf4b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"base\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mx-6 font-medium text-left text-3xl text-indigo-600\" }, \"Users\", -1))\nconst _hoisted_3 = { class: \"user-search-search-container\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SearchIcon = _resolveComponent(\"SearchIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_ListComponent = _resolveComponent(\"ListComponent\")!\n const _component_AppUserDetailComponent = _resolveComponent(\"AppUserDetailComponent\")!\n const _component_SlideOverComponent = _resolveComponent(\"SlideOverComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _withDirectives(_createElementVNode(\"input\", {\n id: \"searchbar\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.queryText) = $event)),\n name: \"search\",\n type: \"text\",\n autofocus: \"\",\n onKeyup: _cache[1] || (_cache[1] = _withKeys(\n//@ts-ignore\n(...args) => (_ctx.searchForQuery && _ctx.searchForQuery(...args)), [\"enter\"])),\n class: \"appearance-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm rounded-md\",\n placeholder: \"Search \"\n }, null, 544), [\n [_vModelText, _ctx.queryText]\n ]),\n _createVNode(_component_Button, {\n title: \"Search\",\n disabled: _ctx.queryText.length === 0,\n onClick: _ctx.searchForQuery,\n class: \"rounded-r-md\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_SearchIcon)\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ]),\n _createVNode(_component_ListComponent, {\n class: \"list-component\",\n onDidSelectListItem: _ctx.itemPressed,\n squareImage: true,\n loading: _ctx.loading,\n error: _ctx.error,\n emptyStateText: \"No Users found\",\n listConfig: _ctx.listConfig,\n retryPressed: _ctx.searchForQuery\n }, null, 8, [\"onDidSelectListItem\", \"loading\", \"error\", \"listConfig\", \"retryPressed\"])\n ]),\n _createVNode(_component_SlideOverComponent, {\n open: _ctx.openDrawer,\n \"onUpdate:open\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.openDrawer) = $event)),\n drawerDismissable: _ctx.drawerDismissable\n }, {\n default: _withCtx(() => [\n _createVNode(_component_AppUserDetailComponent, {\n userToView: _ctx.userToView,\n drawerDismissable: _ctx.drawerDismissable,\n \"onUpdate:drawerDismissable\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.drawerDismissable) = $event)),\n onDetailsComponentDidComplete: _ctx.didCompleteDetailsComponent,\n onDismissSlideOver: _cache[3] || (_cache[3] = ($event: any) => (_ctx.openDrawer = false))\n }, null, 8, [\"userToView\", \"drawerDismissable\", \"onDetailsComponentDidComplete\"])\n ]),\n _: 1\n }, 8, [\"open\", \"drawerDismissable\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AttributeEditCreateDetailsComponent = _resolveComponent(\"AttributeEditCreateDetailsComponent\")!\n\n return (_openBlock(), _createBlock(_component_AttributeEditCreateDetailsComponent, {\n title: _ctx.titleText,\n subtitle: _ctx.subtitleText,\n loading: _ctx.loading,\n error: _ctx.error,\n viewOnly: true,\n onDismiss: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('dismissSlideOver'))),\n attributes: _ctx.getAttributesForContestant()\n }, null, 8, [\"title\", \"subtitle\", \"loading\", \"error\", \"attributes\"]))\n}","\nimport { Options, Vue } from \"vue-class-component\";\nimport { Prop } from 'vue-property-decorator'\nimport AttributeEditCreateDetailsComponent from '@/components/AttributeEditCreateDetailsComponent.vue'\nimport { User } from \"@/types/types\";\nimport { AttributeState, AttributeType, ChildObjectAttributes } from \"@/types/attributes\";\nimport moment from \"moment\";\n\n\n@Options({\n name: \"AppUserDetailComponent\",\n components: {\n AttributeEditCreateDetailsComponent\n },\n emits: ['detailsComponentDidComplete', 'update:drawerDismissable', 'dismissSlideOver']\n})\nexport default class AppUserDetailComponent extends Vue { \n\n @Prop( {required: true} ) userToView!: User\n @Prop({type: Boolean, default: true }) drawerDismissable: Boolean = true\n \n private loading: boolean = false\n private error: boolean = false\n\n get titleText() {\n return \"User\"\n }\n\n get subtitleText() {\n return this.userToView.email ?? this.userToView.fbId ?? this.userToView.appleId ?? this.userToView.id\n }\n\n\n getAttributesForContestant(): AttributeState[] {\n\n const purchasesChildAttributes: ChildObjectAttributes[] = this.userToView.purchases.map( purchase => {\n\n const formattedPurchasesCount = new Intl.NumberFormat('en-IE', { style: 'currency', currency: 'EUR' }).format(purchase.price / 100)\n\n return {\n id: purchase.id,\n attributes: [\n {title: \"Votes\", value: purchase.votes.toString()},\n {title: \"Price\", value: formattedPurchasesCount},\n {title: \"Locale\", value: purchase.localeId},\n {title: \"Transaction ID\", value: purchase.transactionId},\n {title: \"Date\", value: this.formatDate(purchase.createdAt)}\n ]\n }\n }) ?? []\n\n return [\n {type: AttributeType.TEXT, required: false, title: \"Email\", value: this.userToView.email, placeholder: \"\", key: \"email\"},\n {type: AttributeType.TEXT, required: false, title: \"Facebook Id\", value: this.userToView.fbId, placeholder: \"\", key: \"fbId\"},\n {type: AttributeType.TEXT, required: false, title: \"Apple Id\", value: this.userToView.appleId, placeholder: \"\", key: \"appleId\"},\n {type: AttributeType.TEXT, required: false, title: \"Age\", value: this.userToView.age, placeholder: \"\", key: \"age\"},\n {type: AttributeType.TEXT, required: false, title: \"Sex\", value: this.userToView.sex, placeholder: \"\", key: \"sex\"},\n {type: AttributeType.TEXT, required: false, title: \"Location\", value: this.userToView.location, placeholder: \"\", key: \"location\"},\n {type: AttributeType.TEXT, required: false, title: \"Remaining Votes\", value: this.userToView.remainingVotes.toString(), placeholder: \"\", key: \"remainingVotes\"},\n {type: AttributeType.TEXT, required: false, title: \"Deleted Account\", value: (this.userToView.deletedAccount ?? false).toString(), placeholder: \"\", key: \"deletedAccount\"},\n\n {type: AttributeType.CHILD_OBJECTS, required: false, title: \"Purchases\", value: [], placeholder: \"Purchasses Windows\", key: \"purchases\", childObjectAttributes: purchasesChildAttributes},\n \n ]\n }\n \n formatDate(date: string) {\n return moment(date).format('MMMM Do YYYY, HH:mm:ss')\n }\n}\n\n","import { render } from \"./AppUserDetailComponent.vue?vue&type=template&id=7731eefd&ts=true\"\nimport script from \"./AppUserDetailComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./AppUserDetailComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { AdminAPI } from '@/api'\nimport { ListCellAttributes, ListCellConfiguration, User } from '@/types/types'\nimport { Options, Vue} from 'vue-class-component'\nimport Button from '@/components/Button.vue'\nimport ListComponent from '@/components/ListComponent.vue'\n\nimport {\n SearchIcon\n} from '@heroicons/vue/outline'\nimport SlideOverComponent from '@/components/SlideOverComponent.vue'\nimport AppUserDetailComponent from '@/components/AppUserDetailComponent.vue'\n\n@Options({\n components: {\n Button,\n SearchIcon,\n ListComponent,\n SlideOverComponent,\n AppUserDetailComponent\n }\n})\nexport default class AppUsers extends Vue {\n \n private loading: Boolean = false\n private error: Boolean = false\n\n private listConfig: ListCellConfiguration[] | null = null\n private openDrawer = false\n private drawerDismissable = true\n private userToView: User | null = null\n\n private queryText: string = \"\"\n\n\n async searchForQuery() {\n const appId = this.$route.params.appId as string\n try {\n this.loading = true\n const searchResults = (await AdminAPI.searchForUsers(appId, this.queryText)).data\n this.mapToListConfig(searchResults.users)\n this.loading = false\n } catch (err) {\n this.loading = false\n this.error = true\n }\n }\n\n mapToListConfig(users: User[]) {\n\n this.listConfig = users.map( user => {\n\n const attrs: ListCellAttributes[] = []\n\n const purchasesCount = user.purchases.reduce((travelingTotal, purchase) => travelingTotal + purchase.price, 0)\n const votesCount = user.votes.length\n const votesRemaining = user.remainingVotes\n\n\n const formattedPurchasesCount = new Intl.NumberFormat('en-IE', { style: 'currency', currency: 'EUR' }).format(purchasesCount / 100)\n\n attrs.push({title: \"Votes remaining\", value: votesRemaining.toString()})\n attrs.push({title: \"Votes cast\", value: votesCount.toString()})\n attrs.push({title: \"Purchases\", value: formattedPurchasesCount})\n\n let loginType = '';\n if (user.appleId) {\n loginType = \"Sign in With Apple\"\n } else if (user.fbId) {\n loginType = \"Facebook\"\n } else {\n loginType = \"Email Password\"\n }\n\n\n return {\n title: user.email ?? user.fbId ?? user.appleId ?? \"No information found\",\n subtitle: `Account type: ${loginType}`,\n imageURL: undefined,\n attributes: attrs,\n item: user\n }\n })\n }\n\n itemPressed(payload: any) {\n const user = payload.config.item as User\n this.userToView = user\n this.openDrawer = true\n }\n\n didCompleteDetailsComponent() {\n this.openDrawer = false\n this.userToView = null\n }\n\n}\n","import { render } from \"./AppUsers.vue?vue&type=template&id=3338bf4b&scoped=true&ts=true\"\nimport script from \"./AppUsers.vue?vue&type=script&lang=ts\"\nexport * from \"./AppUsers.vue?vue&type=script&lang=ts\"\n\nimport \"./AppUsers.vue?vue&type=style&index=0&id=3338bf4b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3338bf4b\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-20f51377\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"contestants-base\" }\nconst _hoisted_2 = { class: \"contestants-header-horizontal mx-6\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-left text-3xl text-indigo-600 flex-grow\" }, \"Rounds\", -1))\nconst _hoisted_4 = { class: \"flex flex-col items-start gap-2 mt-4\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-xl text-black\" }, \"Round Result\", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"bg-gray-300 w-full h-[1px]\" }, null, -1))\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-left text-base text-indigo-600\" }, \" Winning Contestants: \", -1))\nconst _hoisted_10 = [\"src\"]\nconst _hoisted_11 = { key: 1 }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-left text-base text-indigo-600 mt-4\" }, \" Eliminated Contestants: \", -1))\nconst _hoisted_13 = [\"src\"]\nconst _hoisted_14 = { key: 2 }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-medium text-left text-base text-indigo-600 mt-4\" }, \" Contestants through to next round: \", -1))\nconst _hoisted_16 = [\"src\"]\nconst _hoisted_17 = {\n key: 1,\n class: \"font-medium text-left text-base text-indigo-600 mb-4\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PlusIcon = _resolveComponent(\"PlusIcon\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_CakeIcon = _resolveComponent(\"CakeIcon\")!\n const _component_ListComponent = _resolveComponent(\"ListComponent\")!\n const _component_RoundEditComponent = _resolveComponent(\"RoundEditComponent\")!\n const _component_SlideOverComponent = _resolveComponent(\"SlideOverComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createVNode(_component_Button, {\n onClick: _ctx.goToCreateRound,\n title: \"Add\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PlusIcon)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _createVNode(_component_ListComponent, {\n class: \"list-component\",\n onDidSelectListItem: _ctx.itemPressed,\n squareImage: true,\n loading: _ctx.loading,\n error: _ctx.error,\n emptyStateText: \"Add new round\",\n listConfig: _ctx.listConfig,\n retryPressed: _ctx.loadData,\n emptyStatePressed: _ctx.goToCreateRound\n }, {\n default: _withCtx((slotprops) => [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n (slotprops.item.result)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n (_ctx.getWinningContestants(slotprops.item).length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _hoisted_9,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getWinningContestants(slotprops.item), (contestant) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"contestant_name_title\",\n key: 'WIN' + contestant.id\n }, [\n _createElementVNode(\"img\", {\n class: \"inline-block h-7 w-7 rounded-full object-cover mr-2 mt-1\",\n src: contestant.profilePhoto\n }, null, 8, _hoisted_10),\n _createTextVNode(\" \" + _toDisplayString(contestant.name), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.getEliminatedContestants(slotprops.item).length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _hoisted_12,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getEliminatedContestants(slotprops.item), (contestant) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"contestant_name_title\",\n key: 'ELIM' + contestant.id\n }, [\n _createElementVNode(\"img\", {\n class: \"inline-block h-7 w-7 rounded-full object-cover mr-2 mt-1\",\n src: contestant.profilePhoto\n }, null, 8, _hoisted_13),\n _createTextVNode(\" \" + _toDisplayString(contestant.name), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.getContestantsThroughToNextRound(slotprops.item).length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _hoisted_15,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getContestantsThroughToNextRound(slotprops.item), (contestant) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"contestant_name_title\",\n key: 'THROUGH' + contestant.id\n }, [\n _createElementVNode(\"img\", {\n class: \"inline-block h-7 w-7 rounded-full object-cover mr-2 mt-1\",\n src: contestant.profilePhoto\n }, null, 8, _hoisted_16),\n _createTextVNode(\" \" + _toDisplayString(contestant.name), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_17, \" No results set \")),\n _createVNode(_component_Button, {\n onClick: _withModifiers(($event: any) => (_ctx.setRoundResultForRound(slotprops.item)), [\"stop\"]),\n title: \"Set result\",\n class: \"mt-4\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_CakeIcon)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"onDidSelectListItem\", \"loading\", \"error\", \"listConfig\", \"retryPressed\", \"emptyStatePressed\"])\n ]),\n _createVNode(_component_SlideOverComponent, {\n open: _ctx.openDrawer,\n \"onUpdate:open\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.openDrawer) = $event)),\n drawerDismissable: _ctx.drawerDismissable\n }, {\n default: _withCtx(() => [\n _createVNode(_component_RoundEditComponent, {\n roundToView: _ctx.roundToView,\n drawerDismissable: _ctx.drawerDismissable,\n \"onUpdate:drawerDismissable\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.drawerDismissable) = $event)),\n mode: _ctx.attributeMode,\n onDetailsComponentDidComplete: _ctx.didCompleteDetailsComponent,\n onDismissSlideOver: _cache[1] || (_cache[1] = ($event: any) => (_ctx.openDrawer = false))\n }, null, 8, [\"roundToView\", \"drawerDismissable\", \"mode\", \"onDetailsComponentDidComplete\"])\n ]),\n _: 1\n }, 8, [\"open\", \"drawerDismissable\"])\n ], 64))\n}","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9756a4c0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"attribute-wrapper\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { class: \"attribute-title font-medium text-left text-base text-indigo-600 pt-1\" }, [\n /*#__PURE__*/_createTextVNode(\" Voting Windows \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-600\" }, \"*\")\n], -1))\nconst _hoisted_3 = { class: \"attribute-value-wrapper\" }\nconst _hoisted_4 = { class: \"flex flex-col flex-grow gap-6 mt-2\" }\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = { class: \"flex flex-col gap-2 ml-4\" }\nconst _hoisted_7 = { class: \"flex flex-row gap-2\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-normal text-indigo-600\" }, \"Open time:\", -1))\nconst _hoisted_9 = { class: \"font-normal text-black\" }\nconst _hoisted_10 = { class: \"flex flex-row gap-2\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-normal text-indigo-600\" }, \"Close time:\", -1))\nconst _hoisted_12 = { class: \"font-normal text-black\" }\nconst _hoisted_13 = { class: \"flex flex-row gap-2\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-normal text-indigo-600\" }, \"Active:\", -1))\nconst _hoisted_15 = { class: \"font-normal text-black\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-sm font-medium text-gray-600\" }, \" Add Voting window \", -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CalendarIcon = _resolveComponent(\"CalendarIcon\")!\n const _component_PlusIcon = _resolveComponent(\"PlusIcon\")!\n const _component_AttributeEditCreateDetailsComponent = _resolveComponent(\"AttributeEditCreateDetailsComponent\")!\n const _component_AddUpdateVotingWindowModal = _resolveComponent(\"AddUpdateVotingWindowModal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_AttributeEditCreateDetailsComponent, {\n title: _ctx.titleText,\n subtitle: _ctx.subtitleText,\n loading: _ctx.loading,\n error: _ctx.error,\n onSaveConfirmed: _ctx.savePressed,\n onErrorShown: _cache[1] || (_cache[1] = ($event: any) => (_ctx.error = false)),\n onEditModeChange: _cache[2] || (_cache[2] = ($event: any) => (_ctx.editModeDidChange(!$event))),\n createMode: _ctx.mode === 'CREATE',\n onDismiss: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('dismissSlideOver'))),\n attributes: _ctx.getAttributesForRound()\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.votingWindows, (window) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: window.id,\n onClick: ($event: any) => (_ctx.didSelectWindowToEdit(window)),\n class: \"border-solid border p-2 rounded-md flex shadow-md flex-row cursor-pointer hover:bg-indigo-100 mr-2\"\n }, [\n _createVNode(_component_CalendarIcon, { class: \"w-6 h-6\" }),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(_ctx.formatDate(window.openingTime)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString(_ctx.formatDate(window.closingTime)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"div\", _hoisted_15, _toDisplayString(window.active), 1)\n ])\n ])\n ], 8, _hoisted_5))\n }), 128)),\n (_ctx.editMode)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.showAppUpdateModal && _ctx.showAppUpdateModal(...args))),\n type: \"button\",\n class: \"flex flex-row justify-center rounded-lg p-4 m-1 hover:border-gray-400 border-2 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 border-gray-300 border-dashed\"\n }, [\n _createVNode(_component_PlusIcon, { class: \"h-5 w-5\" }),\n _hoisted_16\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\", \"loading\", \"error\", \"onSaveConfirmed\", \"createMode\", \"attributes\"]),\n _createVNode(_component_AddUpdateVotingWindowModal, {\n modelValue: _ctx.showVotingWindowsModal,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.showVotingWindowsModal) = $event)),\n votingWindow: _ctx.votingWindowToEdit,\n onConfirm: _ctx.didUpdateCreateVotingWindow,\n onCancel: _ctx.modalCancel\n }, null, 8, [\"modelValue\", \"votingWindow\", \"onConfirm\", \"onCancel\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"sm:flex sm:items-start\" }\nconst _hoisted_2 = { class: \"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full sm:mx-0 sm:h-10 sm:w-10 bg-green-100\" }\nconst _hoisted_3 = { class: \"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full\" }\nconst _hoisted_4 = { class: \"text-lg mt-2 leading-6 font-medium text-gray-900\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"my-8 flex flex-col gap-7\"\n}\nconst _hoisted_6 = { class: \"flex flec-row gap-3\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"start_time\",\n class: \"attribute-title font-medium text-left text-base text-indigo-600 pt-1\"\n}, [\n /*#__PURE__*/_createTextVNode(\" Start date \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-600\" }, \"*\")\n], -1)\nconst _hoisted_8 = { class: \"flex flec-row gap-3\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"end_time\",\n class: \"attribute-title font-medium text-left text-base text-indigo-600 pt-1\"\n}, [\n /*#__PURE__*/_createTextVNode(\" End date \"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-600\" }, \"*\")\n], -1)\nconst _hoisted_10 = { class: \"rounded-md flex-grow flex flex-row items-center hover:bg-indigo-100 p-1 cursor-pointer\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"active_toggle\",\n class: \"flex-grow attribute-title font-medium text-base text-indigo-600 pt-1 cursor-pointer\"\n}, [\n /*#__PURE__*/_createTextVNode(\"Active\"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-600\" }, \"*\")\n], -1)\nconst _hoisted_12 = {\n key: 1,\n class: \"flex flex-col items-center justify-center min-w-full h-40\"\n}\nconst _hoisted_13 = { class: \"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse\" }\nconst _hoisted_14 = [\"onClick\"]\nconst _hoisted_15 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ClipboardCheckIcon = _resolveComponent(\"ClipboardCheckIcon\")!\n const _component_flat_pickr = _resolveComponent(\"flat-pickr\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_VueFinalModal = _resolveComponent(\"VueFinalModal\")!\n\n return (_openBlock(), _createBlock(_component_VueFinalModal, _mergeProps(_ctx.$attrs, {\n classes: \"flex justify-center items-center\",\n \"content-class\": \"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left shadow-xl overflow-y-scroll max-h-screen my-8 transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6\"\n }), {\n default: _withCtx(({ close }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_ClipboardCheckIcon, {\n class: \"h-6 w-6 text-green-600\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(_ctx.title), 1),\n (!_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n _createVNode(_component_flat_pickr, {\n id: \"start_time\",\n disabled: _ctx.loading,\n config: {\n time_24hr: true,\n enableTime: true,\n static: true,\n inline: true,\n altInput: true,\n dateFormat: 'YYYY-MM-DD HH:mm',\n altFormat: 'YYYY-MM-DD HH:mm',\n allowInput: true,\n parseDate: _ctx.parseDate,\n formatDate: _ctx.formatDate\n },\n placeholder: \"Enter Start date\",\n modelValue: _ctx.startTime,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.startTime) = $event)),\n class: \"h-auto block w-full sm:text-sm border rounded-md border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500\"\n }, null, 8, [\"disabled\", \"config\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_flat_pickr, {\n id: \"end_time\",\n disabled: _ctx.loading,\n config: {\n time_24hr: true,\n enableTime: true,\n static: true,\n inline: true,\n altInput: true,\n dateFormat: 'YYYY-MM-DD HH:mm',\n altFormat: 'YYYY-MM-DD HH:mm',\n allowInput: true,\n parseDate: _ctx.parseDate,\n formatDate: _ctx.formatDate},\n placeholder: \"Enter End date\",\n modelValue: _ctx.closingTime,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.closingTime) = $event)),\n class: \"h-auto block w-full sm:text-sm border rounded-md border-gray-300 shadow-sm focus:ring-indigo-500 focus:border-indigo-500\"\n }, null, 8, [\"disabled\", \"config\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n id: \"active_toggle\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.active) = $event)),\n class: \"rounded-full px-2 mr-2 h-5 w-5 cursor-pointer\"\n }, null, 512), [\n [_vModelCheckbox, _ctx.active]\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createVNode(_component_Loader)\n ]))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 text-base font-medium text-white focus:outline-none focus:ring-2 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm bg-indigo-600 hover:bg-indigo-700 focus:ring-indigo-500\",\n onClick: ($event: any) => (_ctx.savePressed(close))\n }, \" Save \", 8, _hoisted_14),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm\",\n onClick: ($event: any) => (_ctx.$emit('cancel', close))\n }, \" Cancel \", 8, _hoisted_15)\n ])\n ]),\n _: 1\n }, 16))\n}","\nimport { Options, Vue } from \"vue-class-component\";\n// @ts-ignore\nimport { VueFinalModal } from 'vue-final-modal'\nimport { ClipboardCheckIcon } from '@heroicons/vue/outline'\n\n// @ts-ignore\nimport flatPickr from 'vue-flatpickr-component';\nimport 'flatpickr/dist/flatpickr.css';\nimport Loader from \"./Loader.vue\";\nimport { Prop, Watch } from \"vue-property-decorator\";\nimport { VotingWindow } from \"@/types/types\";\nimport { AdminAPI } from \"@/api\";\nimport moment from \"moment\";\n\n@Options({\n name: \"AddUpdateVotingWindowModal\",\n emits: ['cancel', 'confirm'],\n components: {\n VueFinalModal,\n ClipboardCheckIcon,\n flatPickr,\n Loader\n }\n})\nexport default class AddUpdateVotingWindowModal extends Vue { \n\n private startTime: string | null = null\n private closingTime: string | null = null\n private active: boolean = false\n private loading = false\n\n @Prop() votingWindow: VotingWindow | null = null\n\n @Watch('votingWindow')\n updateParams() {\n this.startTime = this.votingWindow?.openingTime ?? null\n this.closingTime = this.votingWindow?.closingTime ?? null\n this.active = this.votingWindow?.active ?? false\n }\n\n created() {\n this.updateParams()\n }\n\n get title() {\n if (this.votingWindow) {\n return \"Edit Voting window\"\n } else {\n return \"Create Voting window\"\n }\n }\n\n async savePressed(close: any) {\n\n const startTime = this.startTime\n const closingTime = this.closingTime\n\n if (!startTime || !closingTime) {\n return;\n }\n\n //Convert to UTC time\n const startTimeAtUTC = moment(startTime, 'YYYY-MM-DD HH:mm:ss').utc().format('YYYY-MM-DD HH:mm:ss')\n const closingTimeAtUTC = moment(closingTime, 'YYYY-MM-DD HH:mm:ss').utc().format('YYYY-MM-DD HH:mm:ss')\n\n if (!startTimeAtUTC || !closingTimeAtUTC) {\n return;\n }\n\n this.loading = true\n const appId = this.$route.params.appId as string\n let window: VotingWindow | null = null\n try {\n\n if (this.votingWindow) {\n window = (await AdminAPI.updateWindowForAppId(appId, this.votingWindow.id, {\n openingTime: startTimeAtUTC,\n closingTime: closingTimeAtUTC,\n active: this.active\n })).data\n } else {\n window = (await AdminAPI.createWindowForAppId(appId, {\n openingTime: startTimeAtUTC,\n closingTime: closingTimeAtUTC,\n active: this.active,\n \n })).data\n }\n } catch (error) {\n console.log(error)\n }\n this.loading = false\n console.log(window)\n this.$emit('confirm', window, close)\n }\n \n formatDate(date: string, format: string): string {\n // locale can also be used\n return moment(date).format(format);\n }\n\n parseDate(datestr: string, format: string): Date {\n return moment(datestr, format, true).toDate();\n }\n} \n\n","import { render } from \"./AddUpdateVotingWindowModal.vue?vue&type=template&id=129f9ae5&ts=true\"\nimport script from \"./AddUpdateVotingWindowModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AddUpdateVotingWindowModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { Options, Vue } from \"vue-class-component\";\nimport { Prop } from \"vue-property-decorator\";\nimport AttributeEditCreateDetailsComponent from \"@/components/AttributeEditCreateDetailsComponent.vue\";\nimport {\n AttributeMode,\n Contestant,\n Judge,\n Round,\n VotingWindow,\n} from \"@/types/types\";\nimport {\n AttributeMultiSelectOption,\n AttributeState,\n AttributeType,\n} from \"@/types/attributes\";\nimport { RoundPayload } from \"@/types/payloads\";\nimport { AdminAPI } from \"@/api\";\nimport AddUpdateVotingWindowModal from \"./AddUpdateVotingWindowModal.vue\";\nimport { CalendarIcon, PlusIcon } from \"@heroicons/vue/outline\";\nimport moment from \"moment\";\n\n@Options({\n name: \"RoundEditComponent\",\n components: {\n AttributeEditCreateDetailsComponent,\n AddUpdateVotingWindowModal,\n PlusIcon,\n CalendarIcon\n },\n emits: [\n \"detailsComponentDidComplete\",\n \"update:drawerDismissable\",\n \"dismissSlideOver\",\n ],\n})\nexport default class RoundEditComponent extends Vue {\n @Prop() roundToView: Round | null = null;\n @Prop({ require: true }) mode: AttributeMode = AttributeMode.CREATE;\n @Prop({ type: Boolean, default: true }) drawerDismissable: Boolean = true;\n\n private votingWindowToEdit: VotingWindow | null = null\n\n private loading: boolean = false;\n private error: boolean = false;\n private showVotingWindowsModal: boolean = false;\n private editMode = false;\n private votingWindows: VotingWindow[] = [];\n\n get titleText() {\n if (this.roundToView) {\n return this.roundToView.name;\n } else {\n return \"Create Round\";\n }\n }\n\n get subtitleText() {\n if (this.roundToView) {\n return \"View and edit\";\n } else {\n return null;\n }\n }\n\n private contestants: Contestant[] = [];\n private judges: Judge[] = [];\n async mounted() {\n const appId = this.$route.params.appId as string;\n this.votingWindows = this.roundToView?.votingWindows ?? [];\n this.contestants = (await AdminAPI.getContestantsForAppId(appId)).data;\n this.judges = (await AdminAPI.getJudgesForAppId(appId)).data;\n }\n \n formatDate(date: string) {\n return moment(date).format('MMMM Do YYYY, HH:mm:ss')\n }\n\n editModeDidChange(event: boolean) {\n this.editMode = !event;\n this.$emit(\"update:drawerDismissable\", event);\n }\n\n savePressed(changes: { key: string; value: string }[]) {\n\n let payload: { [key: string]: any } = {};\n changes.forEach((obj) => (payload[obj.key] = obj.value));\n\n if (this.votingWindows.length == 0 && payload['publicVote']) {\n alert(\"Please create at least one voting window\");\n return\n }\n const windowIds = this.votingWindows.map( window => window.id)\n payload.votingWindows = windowIds\n switch (this.mode) {\n case AttributeMode.CREATE:\n this.createRound(payload as RoundPayload);\n return;\n case AttributeMode.VIEW_EDIT:\n this.updateRound(payload as RoundPayload);\n return;\n }\n }\n\n async createRound(payload: RoundPayload) {\n this.loading = true\n this.error = false\n const appId = this.$route.params.appId as string;\n try {\n await AdminAPI.createRoundForAppId(appId, payload);\n this.$emit(\"detailsComponentDidComplete\");\n } catch (err) {\n console.error(err);\n this.error = true;\n } finally {\n this.loading = false;\n }\n }\n\n async updateRound(payload: RoundPayload) {\n const roundId = this.roundToView?.id;\n\n if (!roundId) {\n this.error = true;\n return;\n }\n\n this.loading = true;\n const appId = this.$route.params.appId as string;\n try {\n await AdminAPI.updateRoundForAppId(appId, roundId, payload);\n this.$emit(\"detailsComponentDidComplete\");\n } catch (err) {\n console.error(err);\n this.error = true;\n } finally {\n this.loading = false;\n }\n }\n\n getAttributesForRound(): AttributeState[] {\n const contestantOptions: AttributeMultiSelectOption[] =\n this.contestants.map((contestant) => {\n return {\n value: contestant.id,\n title: contestant.name,\n imageUrl: contestant.profilePhoto,\n };\n });\n\n const currentContestantIds =\n this.roundToView?.contestants.map((contestant) => contestant.id) ?? [];\n\n const judgeOptions: AttributeMultiSelectOption[] = this.judges.map(\n (contestant) => {\n return {\n value: contestant.id,\n title: contestant.name,\n imageUrl: contestant.profilePhoto,\n };\n }\n );\n\n const currentJudgeIds = this.roundToView?.judges.map((judge) => judge.id) ?? [];\n\n return [\n {\n type: AttributeType.TEXT,\n required: true,\n title: \"Name\",\n value: this.roundToView?.name,\n placeholder: \"Round Name\",\n key: \"name\",\n },\n {\n type: AttributeType.TEXT,\n required: true,\n title: \"Name Irish\",\n value: this.roundToView?.name_irish,\n placeholder: \"Round Name in irish\",\n key: \"name_irish\",\n },\n {\n type: AttributeType.TEXT,\n required: false,\n title: \"Subtitle\",\n value: this.roundToView?.subtitle,\n placeholder: \"Round subtitle\",\n key: \"subtitle\",\n },\n {\n type: AttributeType.TEXT,\n required: false,\n title: \"Subtitle Irish\",\n value: this.roundToView?.subtitle_irish,\n placeholder: \"Round subtitle in Irish\",\n key: \"subtitle_irish\",\n },\n {\n type: AttributeType.BOOLEAN,\n required: false,\n title: \"Public vote\",\n value: this.roundToView?.publicVote,\n placeholder: \"Public voting enabled\",\n key: \"publicVote\",\n },\n {\n type: AttributeType.BOOLEAN,\n required: false,\n title: \"Are contestants publicly visible yet?\",\n value: this.roundToView?.isPubliclyVisible,\n placeholder: \"Should the app show contestants and judges for this round yet?\",\n key: \"isPubliclyVisible\",\n },\n {\n type: AttributeType.DATE_TIME,\n required: true,\n title: \"Start Date\",\n value: this.roundToView?.startDate,\n placeholder: \"Round start date\",\n key: \"startDate\",\n },\n {\n type: AttributeType.MULTI_SELECT,\n required: true,\n title: \"Contestants\",\n value: currentContestantIds,\n placeholder: \"Select Contestants\",\n key: \"contestants\",\n options: contestantOptions,\n },\n {\n type: AttributeType.MULTI_SELECT,\n required: true,\n title: \"Contestants ineligible to vote\",\n value: this.roundToView?.contestantsIneligibleForVote ?? [],\n placeholder: \"Select Contestants to not include in vote (safe)\",\n key: \"contestantsIneligibleForVote\",\n options: contestantOptions,\n },\n {\n type: AttributeType.MULTI_SELECT,\n required: true,\n title: \"Judges\",\n value: currentJudgeIds,\n placeholder: \"Select Judges\",\n key: \"judges\",\n options: judgeOptions,\n },\n ];\n }\n\n didSelectWindowToEdit(window: VotingWindow) {\n this.votingWindowToEdit = window\n this.showVotingWindowsModal = true\n }\n\n showAppUpdateModal() {\n this.votingWindowToEdit = null\n this.showVotingWindowsModal = true\n }\n\n modalCancel(close: any) {\n close();\n }\n\n didUpdateCreateVotingWindow(window: VotingWindow, close: any) {\n \n close();\n const originalWindowIndex = this.votingWindows.findIndex( oldWindow => {\n return oldWindow.id === window.id\n })\n if (originalWindowIndex == -1) {\n this.votingWindows.push(window)\n } else {\n this.votingWindows[originalWindowIndex] = window\n }\n \n }\n}\n","import { render } from \"./RoundEditComponent.vue?vue&type=template&id=9756a4c0&scoped=true&ts=true\"\nimport script from \"./RoundEditComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./RoundEditComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./RoundEditComponent.vue?vue&type=style&index=0&id=9756a4c0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9756a4c0\"]])\n\nexport default __exports__","\nimport { AdminAPI } from '@/api'\nimport { AttributeMode, ListCellAttributes, ListCellConfiguration, Round } from '@/types/types'\nimport { Options, Vue} from 'vue-class-component'\nimport ListComponent from '@/components/ListComponent.vue'\nimport { PlusIcon } from '@heroicons/vue/solid'\nimport SlideOverComponent from '@/components/SlideOverComponent.vue'\nimport RoundEditComponent from '@/components/RoundEditComponent.vue'\nimport Button from '@/components/Button.vue'\nimport moment from 'moment'\nimport { CakeIcon } from '@heroicons/vue/outline'\nimport Routes, { AppTabRoutes } from '@/router/routes'\n\n@Options({\n components: {\n ListComponent,\n PlusIcon,\n Button,\n SlideOverComponent,\n RoundEditComponent,\n CakeIcon\n }\n})\nexport default class AppRounds extends Vue {\n\n private loading: Boolean = false\n private error: Boolean = false\n\n private listConfig: ListCellConfiguration[] = []\n private openDrawer = false\n private drawerDismissable = true\n private attributeMode: AttributeMode = AttributeMode.CREATE\n private roundToView: Round| null = null\n\n mounted() {\n this.loadData()\n }\n\n async loadData() {\n const appId = this.$route.params.appId as string\n try {\n this.loading = true\n const contestants = (await AdminAPI.getRoundsForAppId(appId)).data\n this.mapToListConfig(contestants)\n this.loading = false\n } catch (err) {\n this.loading = false\n this.error = true\n }\n }\n\n mapToListConfig(rounds: Round[]) {\n\n this.listConfig = rounds.map( round => {\n\n const attrs: ListCellAttributes[] = []\n\n attrs.push({title: \"Public voting:\", value: round.publicVote ? 'Yes' : 'No'})\n attrs.push({title: \"Are contestants and judges visible to public?\", value: round.isPubliclyVisible ? 'Yes': 'No'})\n \n const date = moment(round.startDate).format('MMMM Do YYYY, HH:mm:ss')\n \n return {\n title: round.name,\n subtitle: `Starts: ${date}`,\n imageURL: undefined,\n attributes: attrs,\n item: round\n }\n })\n\n }\n\n goToCreateRound() {\n this.roundToView = null\n this.attributeMode = AttributeMode.CREATE\n this.openDrawer = true\n }\n\n itemPressed(payload: any) {\n const roundToView = payload.config.item as Round\n this.attributeMode = AttributeMode.VIEW_EDIT\n this.roundToView = roundToView\n this.openDrawer = true\n }\n\n didCompleteDetailsComponent() {\n this.openDrawer = false\n this.roundToView = null\n this.loadData()\n }\n\n setRoundResultForRound(item: Round) {\n const appId = this.$route.params.appId as string\n Routes.go(AppTabRoutes.RoundResults, {\n params: {\n appId: appId,\n roundId: item.id}\n })\n \n }\n\n getWinningContestants(item: Round) {\n return item.contestants.filter( (contestant) => {\n return item.result?.winningContestants.indexOf(contestant.id) !== -1\n } )\n\n }\n\n getEliminatedContestants(item: Round) {\n return item.contestants.filter( (contestant) => {\n return item.result?.eliminatedContestants.indexOf(contestant.id) !== -1\n } )\n }\n\n\n getContestantsThroughToNextRound(item: Round) {\n return item.contestants.filter( (contestant) => {\n return item.result?.eliminatedContestants.indexOf(contestant.id) === -1 && item.result?.winningContestants.indexOf(contestant.id) === -1\n } )\n }\n\n}\n","import { render } from \"./AppRounds.vue?vue&type=template&id=20f51377&scoped=true&ts=true\"\nimport script from \"./AppRounds.vue?vue&type=script&lang=ts\"\nexport * from \"./AppRounds.vue?vue&type=script&lang=ts\"\n\nimport \"./AppRounds.vue?vue&type=style&index=0&id=20f51377&lang=postcss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-20f51377\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-64006811\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"contestants-base p-6\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"pt-8 w-full flex flex-col items-start mx-4 gap-2 text-left\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-bold text-indigo-600 xl text-xl\" }, \"Results Outcome:\", -1))\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Set \")\nconst _hoisted_6 = { class: \"italic\" }\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\" as \")\nconst _hoisted_8 = { class: \"font-bold\" }\nconst _hoisted_9 = { key: 1 }\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Set \")\nconst _hoisted_11 = { class: \"italic\" }\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\" as \")\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-bold\" }, \"Eliminated\", -1))\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Set \")\nconst _hoisted_15 = { class: \"italic\" }\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\" to \")\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"font-bold\" }, \"progress to next round\", -1))\nconst _hoisted_18 = {\n key: 1,\n class: \"flex flex-col justify-center items-center w-full min-h-full\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AttributeEditCreateDetailsComponent = _resolveComponent(\"AttributeEditCreateDetailsComponent\")!\n const _component_Loader = _resolveComponent(\"Loader\")!\n const _component_Modal = _resolveComponent(\"Modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.round && !_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_AttributeEditCreateDetailsComponent, {\n title: _ctx.title,\n loading: _ctx.loading,\n error: _ctx.error,\n onSaveConfirmed: _ctx.savePressed,\n onErrorShown: _cache[0] || (_cache[0] = ($event: any) => (_ctx.error = false)),\n createMode: true,\n onDismiss: _cache[1] || (_cache[1] = ($event: any) => (_ctx.cancelConfirmed())),\n attributes: _ctx.getAttributesForRoundresult()\n }, {\n default: _withCtx((slotprops) => [\n (slotprops.outputValues.winnersResultType)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _hoisted_3,\n (slotprops.outputValues.winningContestants.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.contestantNamesForIds(slotprops.outputValues.winningContestants)), 1),\n _hoisted_7,\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.mapTypeToText(slotprops.outputValues.winnersResultType)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (slotprops.outputValues.eliminatedContestants.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _hoisted_10,\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(_ctx.contestantNamesForIds(slotprops.outputValues.eliminatedContestants)), 1),\n _hoisted_12,\n _hoisted_13\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _hoisted_14,\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(_ctx.contestantNamesForIdsNotIn(slotprops.outputValues.winningContestants + slotprops.outputValues.eliminatedContestants)), 1),\n _hoisted_16,\n _hoisted_17\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"title\", \"loading\", \"error\", \"onSaveConfirmed\", \"attributes\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createVNode(_component_Loader)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Modal, {\n modelValue: _ctx.showModal,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.showModal) = $event)),\n destructive: _ctx.modalDestructive,\n showCancel: _ctx.modalDestructive,\n onConfirm: _ctx.modalConfirm,\n onCancel: _ctx.modalCancel,\n confirmTitle: \"Ok\"\n }, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.modalTitle), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.modalMessage), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"destructive\", \"showCancel\", \"onConfirm\", \"onCancel\"])\n ], 64))\n}","\nimport { AdminAPI } from '@/api'\nimport { Options, Vue} from 'vue-class-component'\nimport AttributeEditCreateDetailsComponent from '@/components/AttributeEditCreateDetailsComponent.vue'\nimport { AttributeMultiSelectOption, AttributeType } from '@/types/attributes'\nimport { Contestant, Round, RoundResultsModalMode } from '@/types/types'\nimport { RoundResultPayload } from '@/types/payloads'\nimport Loader from '@/components/Loader.vue'\nimport Modal from '@/components/Modal.vue'\n\n@Options({\n components: {\n AttributeEditCreateDetailsComponent,\n Loader,\n Modal\n }\n})\nexport default class AppRoundResults extends Vue {\n\n private loading: Boolean = false\n private error: Boolean = false\n private showModal: Boolean = false\n private modalType: RoundResultsModalMode = RoundResultsModalMode.CONTESTANT_CROSSOVER\n private contestants: Contestant[] = []\n private round: Round | null = null\n\n async mounted() {\n this.loadData()\n }\n\n async loadData() {\n const appId = this.$route.params.appId as string\n const roundId = this.$route.params.roundId as string\n try {\n const parsedRoundId = parseInt(roundId)\n this.loading = true\n const rounds = (await AdminAPI.getRoundsForAppId(appId)).data\n\n const foundRound = rounds.find( (round) => parsedRoundId == round.id)\n if (foundRound) {\n this.round = foundRound\n this.contestants = foundRound.contestants\n } \n\n //Ensure we at least have the round as per query param\n\n } catch (err) {\n console.error(err)\n } finally {\n this.loading = false\n }\n }\n get title() {\n return `Create result for ${this.round?.name}`\n }\n\n async savePressed(changes: {key: string, value: any }[]) {\n let payload: {[key:string]: any} = {}\n changes.forEach( obj => \n payload[obj.key] = obj.value\n )\n\n const winningContestants: number[] = payload[\"winningContestants\"] ?? []\n const eliminatedContestants: number[] = payload[\"eliminatedContestants\"] ?? []\n\n //Check we dont have a contestant in both lists\n\n const intersectionArray = winningContestants.filter(value => eliminatedContestants.includes(value));\n\n if (intersectionArray.length != 0) {\n //We have duplicates\n //Show Alert\n this.showModalForType(RoundResultsModalMode.CONTESTANT_CROSSOVER)\n return\n }\n\n const resultPayload: RoundResultPayload = {\n winningContestants: winningContestants,\n eliminatedContestants: eliminatedContestants,\n winnersResultType: payload['winnersResultType']\n }\n\n this.loading = true\n const appId = this.$route.params.appId as string\n try {\n const roundId = this.$route.params.roundId as string\n const parsedRoundId = parseInt(roundId)\n await AdminAPI.setRoundResultForRound(appId, parsedRoundId, resultPayload)\n \n //Show success\n this.showModalForType(RoundResultsModalMode.SUCCESS)\n } catch (err) {\n console.error(err)\n this.showModalForType(RoundResultsModalMode.ERROR)\n } finally {\n this.loading = false\n }\n }\n\n cancelConfirmed() {\n this.$router.go(-1)\n }\n\n getAttributesForRoundresult() {\n\n //Get contestants eligible to vote\n const options: AttributeMultiSelectOption[] = this.contestants.filter( contestant => this.round?.contestantsIneligibleForVote.indexOf(contestant.id) == -1 ).map((contestant) => {\n return {value: contestant.id, title: contestant.name, imageUrl: contestant.profilePhoto}\n })\n\n const options2: AttributeMultiSelectOption[] = this.contestants.filter( contestant => this.round?.contestantsIneligibleForVote.indexOf(contestant.id) == -1 ).map((contestant) => {\n return {value: contestant.id, title: contestant.name, imageUrl: contestant.profilePhoto}\n })\n\n const options3: AttributeMultiSelectOption[] = [\n {value: 'WINNER', title: 'Winner'},\n {value: 'SAFE', title: 'Safe'},\n ]\n\n return [\n {type: AttributeType.MULTI_SELECT, required: false, title: \"Winning Contestants:\", value: [], placeholder: \"Select winners\", key: \"winningContestants\", options: options},\n {type: AttributeType.SINGLE_SELECT, required: true, title: \"Mark winners as:\", value: '', placeholder: \"Select one\", key: \"winnersResultType\", options: options3},\n {type: AttributeType.MULTI_SELECT, required: false, title: \"Eliminated Contestants:\", value: [], placeholder: \"Select eliminated\", key: \"eliminatedContestants\", options: options2},\n ]\n }\n\n modalConfirm() {\n this.showModal = false\n if (this.modalType == RoundResultsModalMode.SUCCESS){\n this.$router.go(-1)\n }\n }\n\n modalCancel(close: any) {\n close()\n }\n\n showModalForType(type: RoundResultsModalMode) {\n this.modalType = type\n this.showModal = true\n }\n\n get modalMessage() {\n switch (this.modalType) {\n case RoundResultsModalMode.CONTESTANT_CROSSOVER:\n return \"A contestant cannot be both eliminated and winning\"\n case RoundResultsModalMode.ERROR:\n return \"An error occured while saving your changes\"\n case RoundResultsModalMode.SUCCESS:\n return \"Results set\"\n default:\n return \"\"\n }\n }\n\n get modalDestructive() {\n switch (this.modalType) {\n case RoundResultsModalMode.SUCCESS:\n return false\n default:\n return true \n }\n }\n\n get modalTitle() {\n switch (this.modalType) {\n case RoundResultsModalMode.SUCCESS:\n return \"Success\"\n default:\n return \"Error\"\n }\n }\n\n contestantNamesForIds(contestantIds: number[]) {\n return this.contestants.filter( contestant => contestantIds.indexOf(contestant.id) !== -1 ).map(contestant => contestant.name).join(', ')\n }\n\n contestantNamesForIdsNotIn(contestantIds: number[]) {\n return this.contestants.filter( contestant => contestantIds.indexOf(contestant.id) === -1 ).map(contestant => contestant.name).join(', ')\n }\n\n mapTypeToText(resultType: string) {\n switch (resultType) {\n case 'SAFE':\n return \"Safe\"\n case 'WINNER':\n return 'Winning'\n }\n }\n\n}\n","import { render } from \"./AppRoundResult.vue?vue&type=template&id=64006811&scoped=true&ts=true\"\nimport script from \"./AppRoundResult.vue?vue&type=script&lang=ts\"\nexport * from \"./AppRoundResult.vue?vue&type=script&lang=ts\"\n\nimport \"./AppRoundResult.vue?vue&type=style&index=0&id=64006811&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src2136927339/src/GlorTireAdminWebApp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-64006811\"]])\n\nexport default __exports__","\n\nimport Routes from '@/router/routes'\nimport { RouteRecordRaw } from 'vue-router'\nimport AppDashboard from '@/views/app/tabs/AppDashboard.vue'\nimport AppContestants from '@/views/app/tabs/AppContestants.vue'\nimport AppJudges from '@/views/app/tabs/AppJudges.vue'\nimport AppMentors from '@/views/app/tabs/AppMentors.vue'\nimport AppPushNotification from '@/views/app/tabs/AppPushNotification.vue'\nimport AppUsers from '@/views/app/tabs/AppUsers.vue'\nimport AppVotingWindows from '@/views/app/tabs/AppVotingWindows.vue'\nimport AppRounds from '@/views/app/tabs/AppRounds.vue'\nimport AppRoundResult from '@/views/app/tabs/AppRoundResult.vue'\n\n\nconst AppChildRoutes: RouteRecordRaw[] = [\n {\n path: '/app/:appId/dashboard',\n name: Routes.AppTabRoutes.Dashboard,\n component: AppDashboard\n },\n {\n path: '/app/:appId/contestants',\n name: Routes.AppTabRoutes.Contestants,\n component: AppContestants,\n },\n {\n path: '/app/:appId/judges',\n name: Routes.AppTabRoutes.Judges,\n component: AppJudges,\n },\n {\n path: '/app/:appId/mentors',\n name: Routes.AppTabRoutes.Mentors,\n component: AppMentors,\n },\n {\n path: '/app/:appId/pushnotification',\n name: Routes.AppTabRoutes.PushNotification,\n component: AppPushNotification,\n },\n {\n path: '/app/:appId/users',\n name: Routes.AppTabRoutes.Users,\n component: AppUsers,\n },\n {\n path: '/app/:appId/rounds',\n name: Routes.AppTabRoutes.Rounds,\n component: AppRounds,\n },\n {\n path: '/app/:appId/rounds/:roundId/result',\n name: Routes.AppTabRoutes.RoundResults,\n component: AppRoundResult,\n },\n // {\n // path: '/app/:appId/votingwindows',\n // name: Routes.AppTabRoutes.VotingWindows,\n // component: AppVotingWindows,\n // },\n\n]\n\nexport default AppChildRoutes ","import { UserAPI } from '@/api';\nimport { User } from '@/types/types'\nimport { ActionTree, GetterTree, MutationTree } from 'vuex';\nimport { RootState } from '..';\n\n// initial state\n// shape: [{ id, quantity }]\nexport type UserState = {\n user: User | null;\n}\n\nconst state: UserState = {\n user: null\n}\n\n// getters\nexport type Getters = {\n currentUser(state: UserState): User | null;\n}\n\nconst getters: GetterTree & Getters = {\n currentUser: (state) => state.user,\n};\n\n\n// actions\nconst actions: ActionTree = {\n async fetchCurrentUser ({ commit }): Promise {\n \n // eslint-disable-next-line\n return new Promise(async (resolve, reject) => {\n\n try {\n const user = (await UserAPI.getUser()).data\n commit('setCurrentUser', { user })\n resolve(user)\n } catch (err) {\n console.error(err)\n commit('clearCurrentUser')\n reject(err)\n }\n })\n },\n}\n\n// mutations\nconst mutations: MutationTree = {\n\n setCurrentUser (state, { user }) {\n\n state.user = user\n },\n\n clearCurrentUser(state) {\n state.user = null\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n modules: { }\n}","import { createStore, createLogger } from 'vuex'\nimport user, { UserState } from '@/store/modules/user'\n\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport type RootState = {\n user: UserState;\n};\n\nexport default createStore({\n modules: {\n user,\n },\n strict: debug,\n plugins: debug ? [createLogger()] : []\n})","import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'\nimport Home from '../views/Home.vue'\nimport Login from '../views/Login.vue'\nimport ResetPassword from '../views/ResetPassword.vue'\nimport AppBase from '../views/app/AppBase.vue'\nimport AppCreate from '../views/app/AppCreate.vue'\nimport AppSelect from '../views/app/AppSelect.vue'\nimport Privacy from '../views/Privacy.vue'\nimport PrivacyIrish from '../views/PrivacyIrish.vue'\n\n\nimport Routes, { AppRoutes, AppTabRoutes, StandardRoutes } from './routes'\nimport AppChildRoutes from './routes/tabs'\nimport store from '@/store';\nimport { App, User } from '@/types/types'\n\nconst routes: Array = [\n {\n path: '/',\n name: StandardRoutes.Home,\n component: Home\n },\n {\n path: '/login',\n name: StandardRoutes.Login,\n component: Login,\n meta: {\n loginRequired: false,\n },\n },\n {\n path: '/resetpassword/:token',\n name: StandardRoutes.ResetPassword,\n component: ResetPassword,\n meta: {\n loginRequired: false,\n },\n },\n {\n path: '/privacypolicy',\n name: StandardRoutes.PrivacyPolicy,\n component: Privacy,\n meta: {\n loginRequired: false,\n },\n },\n {\n path: '/priobhaideachas',\n name: StandardRoutes.PrivacyPolicyIrish,\n component: PrivacyIrish,\n meta: {\n loginRequired: false,\n },\n },\n {\n path: '/remove_account',\n component: PrivacyIrish, //Ignored\n meta: {\n externalRedirect: \"https://docs.google.com/forms/d/e/1FAIpQLScygKzJeCwn-9YhWhfr2i0IADgWbezUZhBw0Ph-qNnsYYXmkQ/viewform?usp=dialog\"\n }\n },\n {\n path: '/app',\n name: AppRoutes.AppSelect,\n component: AppSelect,\n meta: {\n loginRequired: true,\n },\n },\n {\n path: '/app/create',\n name: AppRoutes.AppCreate,\n component: AppCreate,\n meta: {\n loginRequired: true,\n },\n },\n {\n path: '/app/:appId',\n name: AppRoutes.AppBase,\n redirect: to => ({\n name: AppTabRoutes.Dashboard,\n params: { appId: to.params.appId },\n }),\n component: AppBase,\n meta: {\n loginRequired: true,\n },\n children: AppChildRoutes\n }\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes\n})\n\nrouter.beforeEach( async (to, from, next) => {\n\n // Vue.prototype.$Progress.start();\n\n let loggedInUser: User | null = store.state.user.user\n const loginRequired = to.matched.some(record => record.meta.loginRequired)\n const noAccessWhenLoggedIn = to.matched.some(record => record.meta.noAccessWhenLoggedin)\n\n // Vue.prototype.$log.info('ROUTER', {\n // to: to.path,\n // loginRequired: loginRequired,\n // isAdminOnlyRoute: isAdminOnlyRoute,\n // noAccessWhenLoggedIn: noAccessWhenLoggedIn,\n // userLoggedIn: userLoggedIn,\n // userIsAdmin: userIsAdmin,\n // user: user,\n // accessToken: accessToken,\n // })\n const externalRedirect = to.meta.externalRedirect\n if (externalRedirect && typeof externalRedirect === \"string\") {\n window.location.replace(externalRedirect)\n return\n }\n\n //If we need to be logged in and we dont have a user in the store try get current user using cookie\n if (loginRequired && !loggedInUser) {\n console.log(\"User should be logged in but nothing in store\")\n try {\n const user = await store.dispatch('user/fetchCurrentUser')\n loggedInUser = user\n } catch (err) {\n //Couldn't get user, log them out and go to login\n console.log(\"Failed to load user - Move to login\")\n next({\n name: Routes.Standard.Login,\n query: { redirect: to.fullPath },\n })\n return\n }\n }\n\n const appIdToAccess = to.params.appId\n\n //If we are trying to get at an appId as param check we should have access to it\n if (appIdToAccess && loggedInUser) {\n \n const validApp = loggedInUser.apps?.find( app => app.appId === appIdToAccess )\n\n if (!validApp) {\n console.log(\"User tried to access invalid app / App id no access to\")\n \n //Since we are logged in lets redirect back to app select\n\n next({\n name: Routes.AppRoutes.AppSelect,\n })\n return\n }\n\n } else if (appIdToAccess && !loggedInUser && loginRequired) {\n //Somehow trying to get at an appId without being logged in\n console.log(\"User not logged in and tried to access appId URL\")\n next({\n name: Routes.Standard.Login,\n query: { redirect: to.fullPath },\n })\n return\n }\n\n\n // All checks complete, continue to route\n // Vue.prototype.$log.info('ROUTER', 'Route check complete', to)\n next()\n return\n\n // // If the user has logged in but there is no user data in the store\n // if ((userLoggedIn || accessToken) && !user) {\n // Vue.prototype.$log.info('ROUTER', 'User is logged in but there is no user data in the store, fetching the current user')\n // await store.dispatch('fetchCurrentUser')\n // .then(async(newUser: User) => {\n // user = newUser\n // userIsAdmin = user.staffRole === StaffRole.SUPERADMIN\n // userLoggedIn = true\n // })\n // .catch((error) => {\n // userLoggedIn = false\n // user = null\n // Vue.prototype.$log.error(error)\n // })\n // }\n\n // // Login required, but the user is not logged in\n // if (loginRequired && (!userLoggedIn && !user)) {\n // Vue.prototype.$log.info('ROUTER', 'User trying to access logged in only route while not logged in', userLoggedIn, user)\n // next({\n // name: Routes.Standard.Login,\n // query: { redirect: to.fullPath },\n // })\n // return\n // }\n\n // // User is logged in but is trying to access a route which cannot be access while logged in\n // if (noAccessWhenLoggedIn && userLoggedIn) {\n // Vue.prototype.$log.info('ROUTER', 'Logged in user trying to access route which can only be accessed while logged out', to)\n // next({ path: '/app' })\n // return\n // }\n\n // // No admin user trying to access an admin only route\n // if (isAdminOnlyRoute && !userIsAdmin) {\n // Vue.prototype.$log.info('ROUTER', 'Non admin user trying to access an admin only route', to)\n // next({ path: '/app' })\n // return\n // }\n\n // // All checks complete, continue to route\n // Vue.prototype.$log.info('ROUTER', 'Route check complete', to)\n // next()\n // return\n\n});\n\n\nrouter.afterEach((to) => {\n // const spinner = document.getElementById('fullscreen-spinner-overlay');\n // if (spinner) {\n // spinner.classList.add('hidden');\n // setTimeout(() => {\n // if (spinner.parentNode){\n // spinner.parentNode.removeChild(spinner);\n // }\n // }, 1000);\n // }\n let name: string = ''\n if (to.path) { name = to.path; }\n const toName = to.name\n if (toName) { name = toName; }\n // if (Vue.prototype.$analytics) {\n // Vue.prototype.$analytics.trackPageView(name);\n // }\n Routes.updateCurrentRoute(name);\n // Vue.prototype.$Progress.finish();\n});\n\nexport default router\n","import { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport VueLogger from 'vuejs3-logger';\nimport store from '@/store'\n// @ts-ignore\nimport { vfmPlugin } from 'vue-final-modal'\nimport './main.css'\nimport VueApexCharts from \"vue3-apexcharts\";\n\nconst isProduction = process.env.NODE_ENV === 'production';\n \nconst options = {\n isEnabled: true,\n logLevel : isProduction ? 'error' : 'debug',\n stringifyArguments : false,\n showLogLevel : true,\n showMethodName : true,\n separator: '|',\n showConsoleColors: true\n};\n\n\ncreateApp(App)\n .use(router)\n .use(VueLogger, options)\n .use(store)\n .use(vfmPlugin)\n .use(VueApexCharts)\n .mount('#app')\n","var map = {\n\t\"./af\": 2786,\n\t\"./af.js\": 2786,\n\t\"./ar\": 867,\n\t\"./ar-dz\": 4130,\n\t\"./ar-dz.js\": 4130,\n\t\"./ar-kw\": 6135,\n\t\"./ar-kw.js\": 6135,\n\t\"./ar-ly\": 6440,\n\t\"./ar-ly.js\": 6440,\n\t\"./ar-ma\": 7702,\n\t\"./ar-ma.js\": 7702,\n\t\"./ar-sa\": 6040,\n\t\"./ar-sa.js\": 6040,\n\t\"./ar-tn\": 7100,\n\t\"./ar-tn.js\": 7100,\n\t\"./ar.js\": 867,\n\t\"./az\": 1083,\n\t\"./az.js\": 1083,\n\t\"./be\": 9808,\n\t\"./be.js\": 9808,\n\t\"./bg\": 8338,\n\t\"./bg.js\": 8338,\n\t\"./bm\": 7438,\n\t\"./bm.js\": 7438,\n\t\"./bn\": 8905,\n\t\"./bn-bd\": 6225,\n\t\"./bn-bd.js\": 6225,\n\t\"./bn.js\": 8905,\n\t\"./bo\": 1560,\n\t\"./bo.js\": 1560,\n\t\"./br\": 1278,\n\t\"./br.js\": 1278,\n\t\"./bs\": 622,\n\t\"./bs.js\": 622,\n\t\"./ca\": 2468,\n\t\"./ca.js\": 2468,\n\t\"./cs\": 5822,\n\t\"./cs.js\": 5822,\n\t\"./cv\": 877,\n\t\"./cv.js\": 877,\n\t\"./cy\": 7373,\n\t\"./cy.js\": 7373,\n\t\"./da\": 4780,\n\t\"./da.js\": 4780,\n\t\"./de\": 9740,\n\t\"./de-at\": 217,\n\t\"./de-at.js\": 217,\n\t\"./de-ch\": 894,\n\t\"./de-ch.js\": 894,\n\t\"./de.js\": 9740,\n\t\"./dv\": 5300,\n\t\"./dv.js\": 5300,\n\t\"./el\": 837,\n\t\"./el.js\": 837,\n\t\"./en-au\": 8348,\n\t\"./en-au.js\": 8348,\n\t\"./en-ca\": 7925,\n\t\"./en-ca.js\": 7925,\n\t\"./en-gb\": 2243,\n\t\"./en-gb.js\": 2243,\n\t\"./en-ie\": 6436,\n\t\"./en-ie.js\": 6436,\n\t\"./en-il\": 7207,\n\t\"./en-il.js\": 7207,\n\t\"./en-in\": 4175,\n\t\"./en-in.js\": 4175,\n\t\"./en-nz\": 6319,\n\t\"./en-nz.js\": 6319,\n\t\"./en-sg\": 1662,\n\t\"./en-sg.js\": 1662,\n\t\"./eo\": 2915,\n\t\"./eo.js\": 2915,\n\t\"./es\": 7093,\n\t\"./es-do\": 5251,\n\t\"./es-do.js\": 5251,\n\t\"./es-mx\": 6112,\n\t\"./es-mx.js\": 6112,\n\t\"./es-us\": 1146,\n\t\"./es-us.js\": 1146,\n\t\"./es.js\": 7093,\n\t\"./et\": 5603,\n\t\"./et.js\": 5603,\n\t\"./eu\": 7763,\n\t\"./eu.js\": 7763,\n\t\"./fa\": 6959,\n\t\"./fa.js\": 6959,\n\t\"./fi\": 1897,\n\t\"./fi.js\": 1897,\n\t\"./fil\": 2549,\n\t\"./fil.js\": 2549,\n\t\"./fo\": 4694,\n\t\"./fo.js\": 4694,\n\t\"./fr\": 4470,\n\t\"./fr-ca\": 3049,\n\t\"./fr-ca.js\": 3049,\n\t\"./fr-ch\": 2330,\n\t\"./fr-ch.js\": 2330,\n\t\"./fr.js\": 4470,\n\t\"./fy\": 5044,\n\t\"./fy.js\": 5044,\n\t\"./ga\": 9295,\n\t\"./ga.js\": 9295,\n\t\"./gd\": 2101,\n\t\"./gd.js\": 2101,\n\t\"./gl\": 8794,\n\t\"./gl.js\": 8794,\n\t\"./gom-deva\": 7884,\n\t\"./gom-deva.js\": 7884,\n\t\"./gom-latn\": 3168,\n\t\"./gom-latn.js\": 3168,\n\t\"./gu\": 5349,\n\t\"./gu.js\": 5349,\n\t\"./he\": 4206,\n\t\"./he.js\": 4206,\n\t\"./hi\": 94,\n\t\"./hi.js\": 94,\n\t\"./hr\": 316,\n\t\"./hr.js\": 316,\n\t\"./hu\": 2138,\n\t\"./hu.js\": 2138,\n\t\"./hy-am\": 1423,\n\t\"./hy-am.js\": 1423,\n\t\"./id\": 9218,\n\t\"./id.js\": 9218,\n\t\"./is\": 135,\n\t\"./is.js\": 135,\n\t\"./it\": 626,\n\t\"./it-ch\": 150,\n\t\"./it-ch.js\": 150,\n\t\"./it.js\": 626,\n\t\"./ja\": 9183,\n\t\"./ja.js\": 9183,\n\t\"./jv\": 4286,\n\t\"./jv.js\": 4286,\n\t\"./ka\": 2105,\n\t\"./ka.js\": 2105,\n\t\"./kk\": 7772,\n\t\"./kk.js\": 7772,\n\t\"./km\": 8758,\n\t\"./km.js\": 8758,\n\t\"./kn\": 9282,\n\t\"./kn.js\": 9282,\n\t\"./ko\": 3730,\n\t\"./ko.js\": 3730,\n\t\"./ku\": 1408,\n\t\"./ku.js\": 1408,\n\t\"./ky\": 3291,\n\t\"./ky.js\": 3291,\n\t\"./lb\": 6841,\n\t\"./lb.js\": 6841,\n\t\"./lo\": 5466,\n\t\"./lo.js\": 5466,\n\t\"./lt\": 7010,\n\t\"./lt.js\": 7010,\n\t\"./lv\": 7595,\n\t\"./lv.js\": 7595,\n\t\"./me\": 9861,\n\t\"./me.js\": 9861,\n\t\"./mi\": 5493,\n\t\"./mi.js\": 5493,\n\t\"./mk\": 5966,\n\t\"./mk.js\": 5966,\n\t\"./ml\": 7341,\n\t\"./ml.js\": 7341,\n\t\"./mn\": 5115,\n\t\"./mn.js\": 5115,\n\t\"./mr\": 370,\n\t\"./mr.js\": 370,\n\t\"./ms\": 9847,\n\t\"./ms-my\": 1237,\n\t\"./ms-my.js\": 1237,\n\t\"./ms.js\": 9847,\n\t\"./mt\": 2126,\n\t\"./mt.js\": 2126,\n\t\"./my\": 6165,\n\t\"./my.js\": 6165,\n\t\"./nb\": 4924,\n\t\"./nb.js\": 4924,\n\t\"./ne\": 6744,\n\t\"./ne.js\": 6744,\n\t\"./nl\": 3901,\n\t\"./nl-be\": 9814,\n\t\"./nl-be.js\": 9814,\n\t\"./nl.js\": 3901,\n\t\"./nn\": 3877,\n\t\"./nn.js\": 3877,\n\t\"./oc-lnc\": 2135,\n\t\"./oc-lnc.js\": 2135,\n\t\"./pa-in\": 5858,\n\t\"./pa-in.js\": 5858,\n\t\"./pl\": 4495,\n\t\"./pl.js\": 4495,\n\t\"./pt\": 9520,\n\t\"./pt-br\": 7971,\n\t\"./pt-br.js\": 7971,\n\t\"./pt.js\": 9520,\n\t\"./ro\": 6459,\n\t\"./ro.js\": 6459,\n\t\"./ru\": 238,\n\t\"./ru.js\": 238,\n\t\"./sd\": 950,\n\t\"./sd.js\": 950,\n\t\"./se\": 490,\n\t\"./se.js\": 490,\n\t\"./si\": 124,\n\t\"./si.js\": 124,\n\t\"./sk\": 4249,\n\t\"./sk.js\": 4249,\n\t\"./sl\": 4985,\n\t\"./sl.js\": 4985,\n\t\"./sq\": 1104,\n\t\"./sq.js\": 1104,\n\t\"./sr\": 9131,\n\t\"./sr-cyrl\": 9915,\n\t\"./sr-cyrl.js\": 9915,\n\t\"./sr.js\": 9131,\n\t\"./ss\": 5893,\n\t\"./ss.js\": 5893,\n\t\"./sv\": 8760,\n\t\"./sv.js\": 8760,\n\t\"./sw\": 1172,\n\t\"./sw.js\": 1172,\n\t\"./ta\": 7333,\n\t\"./ta.js\": 7333,\n\t\"./te\": 3110,\n\t\"./te.js\": 3110,\n\t\"./tet\": 2095,\n\t\"./tet.js\": 2095,\n\t\"./tg\": 7321,\n\t\"./tg.js\": 7321,\n\t\"./th\": 9041,\n\t\"./th.js\": 9041,\n\t\"./tk\": 9005,\n\t\"./tk.js\": 9005,\n\t\"./tl-ph\": 5768,\n\t\"./tl-ph.js\": 5768,\n\t\"./tlh\": 9444,\n\t\"./tlh.js\": 9444,\n\t\"./tr\": 2397,\n\t\"./tr.js\": 2397,\n\t\"./tzl\": 8254,\n\t\"./tzl.js\": 8254,\n\t\"./tzm\": 1106,\n\t\"./tzm-latn\": 699,\n\t\"./tzm-latn.js\": 699,\n\t\"./tzm.js\": 1106,\n\t\"./ug-cn\": 9288,\n\t\"./ug-cn.js\": 9288,\n\t\"./uk\": 7691,\n\t\"./uk.js\": 7691,\n\t\"./ur\": 3795,\n\t\"./ur.js\": 3795,\n\t\"./uz\": 6791,\n\t\"./uz-latn\": 588,\n\t\"./uz-latn.js\": 588,\n\t\"./uz.js\": 6791,\n\t\"./vi\": 5666,\n\t\"./vi.js\": 5666,\n\t\"./x-pseudo\": 4378,\n\t\"./x-pseudo.js\": 4378,\n\t\"./yo\": 5805,\n\t\"./yo.js\": 5805,\n\t\"./zh-cn\": 3839,\n\t\"./zh-cn.js\": 3839,\n\t\"./zh-hk\": 5726,\n\t\"./zh-hk.js\": 5726,\n\t\"./zh-mo\": 9807,\n\t\"./zh-mo.js\": 9807,\n\t\"./zh-tw\": 4152,\n\t\"./zh-tw.js\": 4152\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 6700;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkglortire_frontend\"] = self[\"webpackChunkglortire_frontend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(8217); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["script","__exports__","render","_hoisted_1","class","_hoisted_2","_hoisted_3","_ctx","_cache","$props","$setup","$data","$options","Index","name","key","_","src","alt","_hoisted_4","type","value","_hoisted_5","_hoisted_6","for","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_component_LockClosedIcon","_component_Loader","loading","error","onSubmit","id","$event","emailAddress","autocomplete","required","placeholder","password","showForgotPassword","onClick","forgotPasswordPressed","loginPressed","StandardRoutes","AppRoutes","AppTabRoutes","Routes","route","data","dataToSend","props","query","params","then","this","currentRoute","catch","console","log","newRoute","path","Standard","Home","BaseApi","constructor","parentApi","Error","api","baseURL","url","AdminAPI","appName","post","appId","get","payload","contestantId","put","judgeId","mentorId","roundId","searchTerm","limit","skip","windowId","votes","votingWindow","message","UserAPI","email","token","withCredentials","adminAPI","userAPI","Loader","Login","user","defaultApp","AppBase","AppSelect","err","components","LockClosedIcon","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_component_ExclamationIcon","_component_Modal","success","readonly","minlength","re_password","validationError","resetPressedPressed","modelValue","destructive","onConfirm","onCancel","modalCancel","confirmTitle","title","default","_component_CheckIcon","_component_VueFinalModal","$attrs","classes","close","$slots","$emit","showCancel","Modal","Boolean","String","inheritAttrs","emits","VueFinalModal","ExclamationIcon","CheckIcon","ResetPassword","mounted","length","n","_hoisted_22","_hoisted_23","_hoisted_24","_component_DialogOverlay","_component_TransitionChild","_component_XIcon","_component_router_link","_component_Dialog","_component_TransitionRoot","_component_MenuAlt2Icon","_component_AppDropdownMenu","_component_UserCircleIcon","_component_MenuButton","_component_MenuItem","_component_MenuItems","_component_Menu","_component_router_view","as","show","sidebarOpen","onClose","enter","leave","navigation","item","to","icon","userNavigation","active","href","_component_ListboxLabel","_component_ChevronDownIcon","_component_ListboxButton","_component_ListboxOption","_component_ListboxOptions","_component_Listbox","selectedApp","getCurrentAppName","options","option","index","didSelectOption","subtitle","AppDropdownMenu","userApps","$store","state","apps","$route","initialIndex","map","app","formattedDateForApp","push","didSelectApp","createAppPressed","AppCreate","createdAt","format","Listbox","ListboxButton","ListboxLabel","ListboxOption","ListboxOptions","ChevronDownIcon","signOutPressed","async","Dashboard","ChartBarIcon","Rounds","TableIcon","PushNotification","SpeakerphoneIcon","Users","UsersIcon","Contestants","MusicNoteIcon","Mentors","AcademicCapIcon","Judges","ScaleIcon","Dialog","DialogOverlay","Menu","MenuButton","MenuItem","MenuItems","TransitionChild","TransitionRoot","BellIcon","MenuAlt2Icon","SearchIcon","XIcon","UserCircleIcon","_component_PlusIcon","dispatch","alert","PlusIcon","role","_component_CalendarIcon","_component_ChevronRightIcon","args","ChevronRightIcon","CalendarIcon","_hoisted_83","Privacy","PrivacyIrish","_component_RoundDropdownMenu","_component_Button","_component_apexchart","_component_PhoneIcon","_component_AddPhoneVotesModal","roundOptions","initialOption","selectedOption","onDidSelectOption","didSelectRound","loadingResults","resultserror","retryPressed","roundResults","graphOptions","series","graphSeries","contestantResults","contestantResult","contestant","contestantMap","profilePhoto","votesPerWindow","windowVotes","window","voteWindowTitle","phoneVotes","toLocaleString","appVotes","totalVotes","addPhoneVotes","selectedWindow","selectedContestant","showPhoneVotesModal","didUpdatePhoneVotes","getCurrentOptionName","RoundDropdownMenu","updateParams","created","emitSelection","object","disabled","getClasses","Button","primary","require","_component_ClipboardCheckIcon","numberOfVotes","savePressed","AddPhoneVotesModal","openTimeFormatted","openingTime","closingimeFormatted","closingTime","firstName","votesString","votesValue","parseInt","toString","ClipboardCheckIcon","flatPickr","AppDashboard","selectedRound","windowMap","routeDidChange","loadAppData","rounds","round","contestants","forEach","votingWindows","formulateGraphDataFromResult","contestantNames","totalVotesForContestants","contestantRes","reduce","travelingTotal","voteResults","chart","xaxis","categories","PhoneIcon","_component_ListComponent","_component_ContestantEditComponent","_component_SlideOverComponent","goToCreateContestant","onDidSelectListItem","itemPressed","squareImage","emptyStateText","listConfig","loadData","emptyStatePressed","open","openDrawer","drawerDismissable","contestantToView","mode","attributeMode","onDetailsComponentDidComplete","didCompleteDetailsComponent","onDismissSlideOver","AttributeMode","AttributeModalMode","RoundResultsModalMode","xmlns","stroke","fill","viewBox","d","_component_ListCell","_component_RefreshIcon","config","configuration","didSelect","undefined","imageURL","style","applyImageStyle","attributes","attr","ListCell","ListComponent","RefreshIcon","_component_DialogTitle","shouldClose","SlideOverComponent","DialogTitle","_component_AttributeEditCreateDetailsComponent","titleText","subtitleText","onSaveConfirmed","onErrorShown","onEditModeChange","createMode","onDismiss","getAttributesForContestant","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_component_PencilAltIcon","_component_BanIcon","_component_FileUploader","_component_contenteditable","_component_flat_pickr","_component_SaveIcon","editPressed","editMode","viewOnly","outputValues","attributeKey","uploadComplete","fileUploadComplete","uploadCancelled","uploading","tag","contenteditable","noHTML","time_24hr","enableTime","static","altInput","dateFormat","altFormat","allowInput","parseDate","formatDate","isOptionSelected","imageUrl","childObjectAttributes","child","childAttr","cancelPressed","showModal","modalDistructive","modalConfirm","modalConfirmButtonTitle","modalTitle","modalMessage","_component_FilePond","pending","ref","acceptedFileTypes","maxFileSize","server","beforeAddFile","files","onInit","filePondReady","onProcessfileabort","fileAbort","onRemovefile","imageResizeTargetWidth","imageResizeTargetHeight","allowImageResize","imageResizeUpscale","imageTransformVariantsIncludeDefault","imageCropAspectRatio","FilePond","FileUploader","filePond","join","process","processFile","revert","remove","$refs","pond","browse","Promise","resolve","file","fileExtension","substring","indexOf","header","setFileHeader","filePayload","size","uploadURL","fileUploadURL","fileGetURL","split","fieldName","metadata","load","progress","abort","File","request","XMLHttpRequest","setRequestHeader","upload","onprogress","e","lengthComputable","loaded","total","_this","onload","status","responseText","send","reject","fileReader","FileReader","onloadend","readFile","target","result","arr","Uint8Array","subarray","i","onerror","readAsArrayBuffer","slice","AttributeEditCreateDetailsComponent","modalType","SAVE","turnOffEditMode","valueChanges","calculateChanges","Object","keys","showModalForType","CANCEL","errorDidOccur","ERROR","validState","isValidStateForSave","isValid","MISSING_REQUIRED_FIELD","date","datestr","toDate","attributeTitle","currentValue","changes","filter","originalValue","find","PencilAltIcon","SaveIcon","BanIcon","UploadIcon","AttributeType","ContestantEditComponent","CREATE","obj","createContestant","VIEW_EDIT","updateContestant","IMAGE","TEXT","lastName","LONG_TEXT","description","descriptionIrish","location","locationIrish","twitterHandle","twitterText","twitterTextIrish","AppContestants","mapToListConfig","attrs","_component_JudgeEditComponent","goToCreateJudge","judgeToView","getAttributesForJudge","JudgeEditComponent","createJudge","updateJudge","AppJudges","judges","judge","_component_MentorEditComponent","goToCreateMentor","mentorToView","MentorEditComponent","updatedPayload","createMentor","updateMentor","currentMenteeIds","MULTI_SELECT","AppMentors","mentors","mentor","_component_SpeakerphoneIcon","rows","maxlength","pushText","sendNotification","AppPushNotifications","_component_SearchIcon","_component_AppUserDetailComponent","queryText","autofocus","onKeyup","searchForQuery","userToView","AppUserDetailComponent","fbId","appleId","purchasesChildAttributes","purchases","purchase","formattedPurchasesCount","Intl","NumberFormat","currency","price","localeId","transactionId","age","sex","remainingVotes","deletedAccount","CHILD_OBJECTS","AppUsers","searchResults","users","purchasesCount","votesCount","votesRemaining","loginType","_component_CakeIcon","_component_RoundEditComponent","goToCreateRound","slotprops","getWinningContestants","getEliminatedContestants","getContestantsThroughToNextRound","setRoundResultForRound","roundToView","_component_AddUpdateVotingWindowModal","editModeDidChange","getAttributesForRound","didSelectWindowToEdit","showAppUpdateModal","showVotingWindowsModal","votingWindowToEdit","didUpdateCreateVotingWindow","inline","startTime","AddUpdateVotingWindowModal","startTimeAtUTC","utc","closingTimeAtUTC","RoundEditComponent","event","windowIds","createRound","updateRound","contestantOptions","currentContestantIds","judgeOptions","currentJudgeIds","name_irish","subtitle_irish","BOOLEAN","publicVote","isPubliclyVisible","DATE_TIME","startDate","contestantsIneligibleForVote","originalWindowIndex","findIndex","oldWindow","AppRounds","RoundResults","winningContestants","eliminatedContestants","CakeIcon","cancelConfirmed","getAttributesForRoundresult","winnersResultType","contestantNamesForIds","mapTypeToText","contestantNamesForIdsNotIn","modalDestructive","AppRoundResults","CONTESTANT_CROSSOVER","parsedRoundId","foundRound","intersectionArray","includes","resultPayload","SUCCESS","$router","go","options2","options3","SINGLE_SELECT","contestantIds","resultType","AppChildRoutes","component","AppPushNotification","AppRoundResult","getters","currentUser","actions","commit","mutations","setCurrentUser","clearCurrentUser","namespaced","modules","debug","strict","plugins","routes","meta","loginRequired","PrivacyPolicy","PrivacyPolicyIrish","externalRedirect","redirect","children","router","history","beforeEach","from","next","loggedInUser","store","matched","some","record","noAccessWhenLoggedin","replace","fullPath","appIdToAccess","validApp","afterEach","toName","isProduction","isEnabled","logLevel","stringifyArguments","showLogLevel","showMethodName","separator","showConsoleColors","App","use","mount","webpackContext","req","webpackContextResolve","__webpack_require__","o","code","module","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","getter","__esModule","a","definition","defineProperty","enumerable","g","globalThis","Function","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}