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a,eAAe7B,EAAS,aAAc,CAAEhK,OAAO,GACvD,C,eCNA4J,EAAoB+C,EAAI,G,eCKxB,IAAIC,EAAkB,CACrB,IAAK,GAaNhD,EAAoBU,EAAES,EAAI,SAAS8B,GAAW,OAAoC,IAA7BD,EAAgBC,EAAgB,EAGrF,IAAIC,EAAuB,SAASC,EAA4BlG,GAC/D,IAKIgD,EAAUgD,EALVtC,EAAW1D,EAAK,GAChBmG,EAAcnG,EAAK,GACnBoG,EAAUpG,EAAK,GAGI+D,EAAI,EAC3B,GAAGL,EAASnB,MAAK,SAAS8D,GAAM,OAA+B,IAAxBN,EAAgBM,EAAW,IAAI,CACrE,IAAIrD,KAAYmD,EACZpD,EAAoBgC,EAAEoB,EAAanD,KACrCD,EAAoBQ,EAAEP,GAAYmD,EAAYnD,IAGhD,GAAGoD,EAAS,IAAI3J,EAAS2J,EAAQrD,EAClC,CAEA,IADGmD,GAA4BA,EAA2BlG,GACrD+D,EAAIL,EAASM,OAAQD,IACzBiC,EAAUtC,EAASK,GAChBhB,EAAoBgC,EAAEgB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOjD,EAAoBU,EAAEhH,EAC9B,EAEI6J,EAAqBC,KAAK,kCAAoCA,KAAK,mCAAqC,GAC5GD,EAAmBE,QAAQP,EAAqBQ,KAAK,KAAM,IAC3DH,EAAmBpN,KAAO+M,EAAqBQ,KAAK,KAAMH,EAAmBpN,KAAKuN,KAAKH,G,IC/CvF,IAAII,EAAsB3D,EAAoBU,OAAEP,EAAW,CAAC,MAAM,WAAa,OAAOH,EAAoB,KAAO,IACjH2D,EAAsB3D,EAAoBU,EAAEiD,E","sources":["webpack://weather-ahead-vue2/./src/cognito-config.js","webpack://weather-ahead-vue2/./src/utils/authService.js","webpack://weather-ahead-vue2/./src/App.vue","webpack://weather-ahead-vue2/./src/App.vue?7ccd","webpack://weather-ahead-vue2/./src/home/HomePage.vue","webpack://weather-ahead-vue2/./src/home/HomePage.vue?2c09","webpack://weather-ahead-vue2/./src/utils/shared.js","webpack://weather-ahead-vue2/./src/home/RegisterForm.vue","webpack://weather-ahead-vue2/./src/home/RegisterForm.vue?28b5","webpack://weather-ahead-vue2/./src/home/VerifyForm.vue","webpack://weather-ahead-vue2/./src/home/VerifyForm.vue?a55b","webpack://weather-ahead-vue2/./src/home/SigninForm.vue","webpack://weather-ahead-vue2/./src/home/SigninForm.vue?6603","webpack://weather-ahead-vue2/./src/customize/userProfile.vue","webpack://weather-ahead-vue2/./src/customize/userProfile.vue?ed92","webpack://weather-ahead-vue2/./src/home/ForgotPassword.vue","webpack://weather-ahead-vue2/./src/home/ForgotPassword.vue?5ebf","webpack://weather-ahead-vue2/./src/legal/dataPrivacy.vue","webpack://weather-ahead-vue2/./src/legal/dataPrivacy.vue?3205","webpack://weather-ahead-vue2/./src/legal/termsConditions.vue","webpack://weather-ahead-vue2/./src/legal/termsConditions.vue?9de1","webpack://weather-ahead-vue2/./src/router/index.js","webpack://weather-ahead-vue2/./src/main.js","webpack://weather-ahead-vue2/webpack/bootstrap","webpack://weather-ahead-vue2/webpack/runtime/chunk loaded","webpack://weather-ahead-vue2/webpack/runtime/compat get default export","webpack://weather-ahead-vue2/webpack/runtime/define property getters","webpack://weather-ahead-vue2/webpack/runtime/global","webpack://weather-ahead-vue2/webpack/runtime/hasOwnProperty shorthand","webpack://weather-ahead-vue2/webpack/runtime/make namespace object","webpack://weather-ahead-vue2/webpack/runtime/publicPath","webpack://weather-ahead-vue2/webpack/runtime/jsonp chunk loading","webpack://weather-ahead-vue2/webpack/startup"],"sourcesContent":["// src/cognito-config.js\nconst cognitoConfig = {\n region: 'us-east-1', // Your AWS region\n userPoolId: 'us-east-1_qKsrXJSBS', // Your Cognito User Pool ID\n clientId: '1t5h9lfrdf662ca5jvnnsb9etb', // Your Cognito App Client ID\n};\n\nexport default cognitoConfig;","import { CognitoUserPool } from 'amazon-cognito-identity-js';\nimport cognitoConfig from '@/cognito-config.js';\n\nconst userPool = new CognitoUserPool({\n UserPoolId: cognitoConfig.userPoolId,\n ClientId: cognitoConfig.clientId\n });\n\nexport function isTokenValid() {\n return new Promise((resolve) => {\n const cognitoUser = userPool.getCurrentUser();\n if (cognitoUser != null) {\n cognitoUser.getSession((err, session) => {\n if (err) {\n console.error('Failed to get session:', err);\n resolve(false);\n } else {\n const isValid = session.isValid();\n if (!isValid) {\n // Attempt to refresh the token\n cognitoUser.refreshSession(session.getRefreshToken(), (refreshErr, newSession) => {\n if (refreshErr) {\n console.error('Failed to refresh session:', refreshErr);\n resolve(false);\n } else {\n console.log('Session refreshed successfully.');\n // Optionally update sessionStorage if you are keeping tokens there\n sessionStorage.setItem('token', newSession.getIdToken().getJwtToken());\n sessionStorage.setItem('token_expiration', newSession.getIdToken().getExpiration() * 1000);\n resolve(true);\n }\n });\n } else {\n // Session is valid, optionally update sessionStorage\n sessionStorage.setItem('token', session.getIdToken().getJwtToken());\n sessionStorage.setItem('token_expiration', session.getIdToken().getExpiration() * 1000);\n resolve(true);\n }\n }\n });\n } else {\n resolve(false);\n }\n });\n }\n\n export function signOut() {\n const cognitoUser = userPool.getCurrentUser();\n if (cognitoUser) {\n cognitoUser.signOut();\n }\n // Clear session storage or any other local storage used\n sessionStorage.clear();\n // More clean-up if necessary\n }","\n\n\n\n\n\n","import script from \"./App.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=deb2c766&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n\n","import { render } from \"./HomePage.vue?vue&type=template&id=606a3ce5&scoped=true\"\nconst script = {}\n\nimport \"./HomePage.vue?vue&type=style&index=0&id=606a3ce5&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-606a3ce5\"]])\n\nexport default __exports__","// src/utils/sharedFunctions.js\n\nexport function formatDateTime(date) {\n return date.toLocaleDateString() + ' ' + date.toLocaleTimeString();\n}\n\n// Create username from email for consistency\nexport function toUsername(email) {\n return email.replace('@', '-at-');\n}\n","\n\n\n\n\n","import script from \"./RegisterForm.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./RegisterForm.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import script from \"./VerifyForm.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./VerifyForm.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n ","import script from \"./SigninForm.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./SigninForm.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n \n \n \n \n","import script from \"./userProfile.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./userProfile.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./userProfile.vue?vue&type=style&index=0&id=3ab21cb4&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3ab21cb4\"]])\n\nexport default __exports__","\n\n\n\n ","import script from \"./ForgotPassword.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ForgotPassword.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n","import { render } from \"./dataPrivacy.vue?vue&type=template&id=15bab470&scoped=true\"\nconst script = {}\n\nimport \"./dataPrivacy.vue?vue&type=style&index=0&id=15bab470&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-15bab470\"]])\n\nexport default __exports__","\n\n","import { render } from \"./termsConditions.vue?vue&type=template&id=4a715263&scoped=true\"\nconst script = {}\n\nimport \"./termsConditions.vue?vue&type=style&index=0&id=4a715263&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4a715263\"]])\n\nexport default __exports__","import { createRouter, createWebHistory } from 'vue-router'\nimport HomePage from '@/home/HomePage.vue'\nimport RegisterForm from '@/home/RegisterForm.vue'\nimport VerifyForm from '@/home/VerifyForm.vue'\nimport SigninForm from '@/home/SigninForm.vue'\nimport UserProfile from '@/customize/userProfile.vue'\nimport ForgotPassword from '@/home/ForgotPassword.vue'\nimport dataPrivacy from '@/legal/dataPrivacy.vue'\nimport termsConditions from '@/legal/termsConditions.vue'\nimport { isTokenValid } from '@/utils/authService'\n\n\nconst routes = [\n {\n path: '/',\n name: 'home',\n component: HomePage,\n redirect: '/signin',\n children: [\n {\n path: 'register',\n name: 'register',\n component: RegisterForm\n },\n {\n path: 'verify',\n name: 'verify',\n component: VerifyForm\n },\n {\n path: 'signin',\n name: 'signin',\n component: SigninForm\n },\n {\n path: 'forgot',\n name: 'forgot',\n component: ForgotPassword\n }\n ]\n },\n {\n path: '/profile',\n name: 'profile',\n component: UserProfile,\n meta: { requiresAuth: true }\n },\n {\n path: '/data',\n name: 'data',\n component: dataPrivacy\n },\n {\n path: '/terms',\n name: 'terms',\n component: termsConditions\n }\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes\n})\n\nrouter.beforeEach(async (to, from, next) => {\n const requiresAuth = to.matched.some(record => record.meta.requiresAuth);\n const isAuthenticated = await isTokenValid();\n\n if (requiresAuth && !isAuthenticated) {\n next('/signin');\n } else {\n next();\n }\n});\n\nexport default router\n","import { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport '@/assets/variables.css';\nimport '@/assets/global.css';\n\ncreateApp(App).use(router).mount('#app')\n","// 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\t// no module.id needed\n\t\t// no module.loaded needed\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// 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__.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\t524: 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[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweather_ahead_vue2\"] = self[\"webpackChunkweather_ahead_vue2\"] || [];\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, [504], function() { return __webpack_require__(9213); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["cognitoConfig","region","userPoolId","clientId","userPool","CognitoUserPool","UserPoolId","ClientId","isTokenValid","Promise","resolve","cognitoUser","getCurrentUser","getSession","err","session","console","error","isValid","sessionStorage","setItem","getIdToken","getJwtToken","getExpiration","refreshSession","getRefreshToken","refreshErr","newSession","log","signOut","clear","router","useRouter","isToken","ref","handleSignOut","push","value","getItem","beforeEach","to","from","next","isAuth","computed","authPath","__exports__","class","_createStaticVNode","_createElementVNode","style","src","_imports_0","alt","width","height","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_4","_hoisted_5","_createVNode","_component_router_link","default","_withCtx","_createTextVNode","_","_hoisted_6","_hoisted_7","_component_router_view","_hoisted_8","_hoisted_9","script","render","toUsername","email","replace","uuid","uuidv4","password","confirmPassword","nickname","isPasswordVisible","register","async","alert","attributeList","CognitoUserAttribute","Name","Value","signUp","result","message","JSON","stringify","user","getUsername","codeInputVerify","emailVerify","verifyEmail","userData","Username","Pool","CognitoUser","confirmRegistration","signIn","authenticationData","Password","authenticationDetails","AuthenticationDetails","getUserId","getUserAttributes","attributes","userIdAttribute","find","attr","authenticateUser","onSuccess","onFailure","baseApiUrl","isLoading","userProfile","retrySettings","retryDelay","retryCount","settings","enableNotifications","isFahrenheit","city","country","location","selectFahrenheit","selectCelsius","daysOfWeek","selectedDays","countries","name","code","jwtToken","fetchUserProfile","userId","response","axios","get","headers","Authorization","data","locationInfo","locationName","dayOfWeek","setTimeout","submitForm","trim","post","encodeURIComponent","days","onMounted","newPassword","codeSent","sendCode","forgotPassword","inputVerificationCode","resetPassword","_hoisted_69","_hoisted_40","routes","path","component","HomePage","redirect","children","RegisterForm","VerifyForm","SigninForm","ForgotPassword","UserProfile","meta","requiresAuth","dataPrivacy","termsConditions","createRouter","history","createWebHistory","process","matched","some","record","isAuthenticated","createApp","App","use","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","g","globalThis","this","Function","e","window","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","id","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""}