\n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./app.vue?vue&type=template&id=8466cace&\"\nimport script from \"./app.vue?vue&type=script&lang=js&\"\nexport * from \"./app.vue?vue&type=script&lang=js&\"\nimport style0 from \"./app.vue?vue&type=style&index=0&id=8466cace&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Globally register all base components for convenience, because they\n// will be used very frequently. Components are registered using the\n// PascalCased version of their file name.\n\nimport Vue from 'vue'\nimport upperFirst from 'lodash/upperFirst'\nimport camelCase from 'lodash/camelCase'\n\n// https://webpack.js.org/guides/dependency-management/#require-context\nconst requireComponent = require.context(\n // Look for files in the current directory\n '.',\n // Do not look in subdirectories\n false,\n // Only include \"_base-\" prefixed .vue files\n /_base-[\\w-]+\\.vue$/\n)\n\n// For each matching file name...\nrequireComponent.keys().forEach((fileName) => {\n // Get the component config\n const componentConfig = requireComponent(fileName)\n // Get the PascalCase version of the component name\n const componentName = upperFirst(\n camelCase(\n fileName\n // Remove the \"./_\" from the beginning\n .replace(/^\\.\\/_/, '')\n // Remove the file extension from the end\n .replace(/\\.\\w+$/, '')\n )\n )\n // Globally register the component\n Vue.component(componentName, componentConfig.default || componentConfig)\n})\n","import Vue from 'vue'\nimport App from './app'\nimport router from '@router'\nimport store from '@state/store'\nimport '@components/_globals'\nimport Notifications from 'vue-notification'\n\nimport BootstrapVue from 'bootstrap-vue'\nimport VueMask from 'vue-the-mask'\nimport moment from 'moment'\nimport axios from 'axios'\n\n// Don't warn about using the dev version of Vue in development.\nVue.config.productionTip = process.env.NODE_ENV === 'production'\n\n// If running inside Cypress...\nif (process.env.VUE_APP_TEST === 'e2e') {\n // Ensure tests fail when Vue emits an error.\n Vue.config.errorHandler = window.Cypress.cy.onUncaughtException\n}\n\nVue.use(BootstrapVue)\nVue.use(Notifications)\nVue.use(VueMask)\n\nVue.filter('formatYesNo', function (value) {\n if (value) {\n return 'Yes'\n }\n return 'No'\n})\n\nVue.filter('formatDate', function (value) {\n if (value) {\n return moment(String(value)).format('DD/MM/YYYY')\n }\n})\n\nVue.filter('formatAge', function (value) {\n if (value) {\n var today = new Date();\n var birthDate = new Date(value)\n var age = today.getFullYear() - birthDate.getFullYear()\n var m = today.getMonth() - birthDate.getMonth();\n if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {\n age--;\n }\n return age;\n }\n})\n\nVue.filter('formatPhone', function (valor) {\n if (valor) {\n return valor.substring(0, 3) + ' (' + valor.substring(3, 5) + ') ' + valor.substring(5, 10) + '-' + valor.substring(10, 14)\n }\n})\n\nVue.filter('formatDateHour', function (value) {\n if (value) {\n return moment.parseZone(String(value)).format('DD/MM/YYYY HH:mm')\n }\n})\n\nVue.filter('formatDateTime', function (value) {\n if (value) {\n return moment.parseZone(String(value)).format('DD/MM/YYYY HH:mm:ss')\n }\n})\n\nVue.filter('escapeHtml', function (html) {\n if (html) {\n return html.replace(/<\\/?[^>]+>/ig, \" \"); \n }\n})\n\nVue.filter('formatCurrency', function (value) {\n if (value) {\n var formated = (value).toFixed(2).replace('.', ',')\n return 'R$ ' + (formated).toLocaleString('pt-BR')\n }\n})\n\nVue.filter('formatCPF', function (value) {\n if (value) {\n value = value.padStart(11, '0')\n value = value.replace(/^(\\d{3})(\\d{3})(\\d{3})(\\d{2})/, '$1.$2.$3-$4')\n return value\n }\n})\n\nVue.prototype.$http = axios; \n\naxios.interceptors.response.use(\n response => response,\n error => {\n const { status } = error.response\n if (status === 401) {\n if (router.currentRoute.name !== 'login') {\n router.push({ name: 'login' })\n }\n }\n console.log(error.response)\n var msg = (error.response.data.message) ? error.response.data.message : error.response.status + ' ' + error.response.statusText\n Vue.notify({group: 'alert', type: 'error', title: 'Request Error', text: msg})\n return Promise.reject(error)\n }\n)\n// Vue.prototype.$axios = axios\n\n\nconst app = new Vue({\n router,\n store,\n render: (h) => h(App),\n}).$mount('#app')\n\n// If running e2e tests...\nif (process.env.VUE_APP_TEST === 'e2e') {\n // Attach the app to the window, which can be useful\n // for manually setting state in Cypress commands\n // such as `cy.logIn()`.\n window.__app__ = app\n}\n","module.exports = __webpack_public_path__ + \"img/logo-dark.308a985f.png\";","export { default } from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-0-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-0-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-0-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=style&index=0&id=5b22c1e8&prod&lang=scss&module=true&\"; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-0-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-0-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-0-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=style&index=0&id=5b22c1e8&prod&lang=scss&module=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./nav-bar.vue?vue&type=style&index=0&id=4e8a71bc&prod&lang=scss&\"","// Register each file as a corresponding Vuex module. Module nesting\n// will mirror [sub-]directory hierarchy and modules are namespaced\n// as the camelCase equivalent of their file name.\n\nimport camelCase from 'lodash/camelCase'\n\nconst modulesCache = {}\nconst storeData = { modules: {} }\n\n;(function updateModules() {\n // Allow us to dynamically require all Vuex module files.\n // https://webpack.js.org/guides/dependency-management/#require-context\n const requireModule = require.context(\n // Search for files in the current directory.\n '.',\n // Search for files in subdirectories.\n true,\n // Include any .js files that are not this file or a unit test.\n /^((?!index|\\.unit\\.).)*\\.js$/\n )\n\n // For every Vuex module...\n requireModule.keys().forEach((fileName) => {\n const moduleDefinition = requireModule(fileName)\n\n // Skip the module during hot reload if it refers to the\n // same module definition as the one we have cached.\n if (modulesCache[fileName] === moduleDefinition) return\n\n // Update the module cache, for efficient hot reloading.\n modulesCache[fileName] = moduleDefinition\n\n // Get the module path as an array.\n const modulePath = fileName\n // Remove the \"./\" from the beginning.\n .replace(/^\\.\\//, '')\n // Remove the file extension from the end.\n .replace(/\\.\\w+$/, '')\n // Split nested modules into an array path.\n .split(/\\//)\n // camelCase all module namespaces and names.\n .map(camelCase)\n\n // Get the modules object for the current path.\n const { modules } = getNamespace(storeData, modulePath)\n\n // Add the module to our modules object.\n modules[modulePath.pop()] = {\n // Modules are namespaced by default.\n namespaced: true,\n ...moduleDefinition,\n }\n })\n\n // If the environment supports hot reloading...\n if (module.hot) {\n // Whenever any Vuex module is updated...\n module.hot.accept(requireModule.id, () => {\n // Update `storeData.modules` with the latest definitions.\n updateModules()\n // Trigger a hot update in the store.\n require('../store').default.hotUpdate({ modules: storeData.modules })\n })\n }\n})()\n\n// Recursively get the namespace of a Vuex module, even if nested.\nfunction getNamespace(subtree, path) {\n if (path.length === 1) return subtree\n\n const namespace = path.shift()\n subtree.modules[namespace] = {\n modules: {},\n namespaced: true,\n ...subtree.modules[namespace],\n }\n return getNamespace(subtree.modules[namespace], path)\n}\n\nexport default storeData.modules\n","import allModules from '@state/modules'\nimport store from '@state/store'\n\nexport default function dispatchActionForAllModules(\n actionName,\n { modules = allModules, modulePrefix = '', flags = {} } = {}\n) {\n // For every module...\n for (const moduleName in modules) {\n const moduleDefinition = modules[moduleName]\n\n // If the action is defined on the module...\n if (moduleDefinition.actions && moduleDefinition.actions[actionName]) {\n // Dispatch the action if the module is namespaced. Otherwise,\n // set a flag to dispatch the action globally at the end.\n if (moduleDefinition.namespaced) {\n store.dispatch(`${modulePrefix}${moduleName}/${actionName}`)\n } else {\n flags.dispatchGlobal = true\n }\n }\n\n // If there are any nested sub-modules...\n if (moduleDefinition.modules) {\n // Also dispatch the action for these sub-modules.\n dispatchActionForAllModules(actionName, {\n modules: moduleDefinition.modules,\n modulePrefix: modulePrefix + moduleName + '/',\n flags,\n })\n }\n }\n\n // If this is the root and at least one non-namespaced module\n // was found with the action...\n if (!modulePrefix && flags.dispatchGlobal) {\n // Dispatch the action globally.\n store.dispatch(actionName)\n }\n}\n","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport dispatchActionForAllModules from '@utils/dispatch-action-for-all-modules'\n\nimport modules from './modules'\n\nVue.use(Vuex)\n\nconst store = new Vuex.Store({\n modules\n})\n\nexport default store\n\ndispatchActionForAllModules('init')\n","export { default } from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-0-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-0-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-0-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_404.vue?vue&type=style&index=0&id=519f36fc&prod&lang=scss&module=true&\"; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-0-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-0-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-0-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-0-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_404.vue?vue&type=style&index=0&id=519f36fc&prod&lang=scss&module=true&\"","import store from '@state/store'\n\nexport default [\n {\n path: '/',\n name: 'home',\n component: () => lazyLoadView(import('@views/app/dashboard/index')),\n redirect: '/app/dashboard',\n meta: {\n authRequired: true,\n agencyRequired: true\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/dashboard',\n name: 'dashboard',\n component: () => lazyLoadView(import('@views/app/dashboard/index')),\n meta: {\n authRequired: true,\n agencyRequired: true\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {}\n }),\n },\n {\n path: '/app/self-cv/general-data',\n name: 'self-cv',\n component: () => lazyLoadView(import('@views/app/self-cv/general-data')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_SELF_CV']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {}\n }),\n },\n {\n path: '/app/self-cv/curriculum',\n component: () => lazyLoadView(import('@views/app/self-cv/curriculum')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_SELF_CV']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/self-cv/apply-selection-process-list',\n component: () =>\n lazyLoadView(import('@views/app/selection-process/apply-list')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_SELF_CV']\n }, \n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {}\n })\n },\n {\n path: '/app/candidate/general-data/:id?',\n name: 'general-data',\n component: () => lazyLoadView(import('@views/app/candidate/general-data')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_CANDIDATE_AGENCY']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/candidate/curriculum/:id',\n component: () =>\n lazyLoadView(import('@views/app/candidate/curriculum-list')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_CANDIDATE_AGENCY']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/selection-process',\n component: () =>\n lazyLoadView(import('@views/app/selection-process/index')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_SELECTION_PROCESS']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n }, \n {\n path: '/app/selection-process/project',\n name: 'projeto',\n component: () =>\n lazyLoadView(import('@views/app/selection-process/projeto')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_SELECTION_PROJECT']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/selection-process-list',\n component: () =>\n lazyLoadView(import('@views/app/selection-process/list')),\n meta: {\n authRequired: false,\n agencyRequired: false\n },\n props: true,\n }, \n {\n path: '/app/settings-aoe',\n component: () => lazyLoadView(import('@views/app/settings/areas_expertise')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_CONFIG_AGENCY']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/settings-users',\n component: () => lazyLoadView(import('@views/app/settings/users')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_USER_AGENCY']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/settings-fields',\n component: () => lazyLoadView(import('@views/app/settings/fields')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_CONFIG_AGENCY']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/search-candidate/:id?',\n name: 'search-candidate',\n component: () => lazyLoadView(import('@views/app/search/search')),\n meta: {\n authRequired: true,\n agencyRequired: true,\n routeRoles: ['F_SEARCH', 'NOVA_FUNCAO']\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/app/profile',\n name: 'profile',\n component: () => lazyLoadView(import('@views/app/settings/profile')),\n meta: {\n authRequired: true,\n agencyRequired: true\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n agency: store.state.auth.currentAgency || {},\n }),\n },\n {\n path: '/login',\n name: 'login',\n component: () => lazyLoadView(import('@views/login/login')),\n meta: {\n beforeResolve(routeTo, routeFrom, next) {\n // If the user is already logged in\n if (store.getters['auth/loggedIn']) {\n // Redirect to the home page instead\n next({ name: 'home' })\n } else {\n // Continue to the login page\n next()\n }\n },\n },\n },\n {\n path: '/forget-password',\n name: 'forgetPassword',\n component: () => lazyLoadView(import('@views/login/forgetPassword')),\n meta: {\n beforeResolve(routeTo, routeFrom, next) {\n // If the user is already logged in\n if (store.getters['auth/loggedIn']) {\n // Redirect to the home page instead\n next({ name: 'home' })\n } else {\n // Continue to the login page\n next()\n }\n },\n },\n },\n {\n path: '/new-password/:token',\n name: 'newPassword',\n component: () => lazyLoadView(import('@views/login/newPassword')),\n meta: {\n beforeResolve(routeTo, routeFrom, next) {\n // If the user is already logged in\n if (store.getters['auth/loggedIn']) {\n // Redirect to the home page instead\n next({ name: 'home' })\n } else {\n // Continue to the login page\n next()\n }\n },\n },\n },\n {\n path: '/load-agency',\n name: 'loadAgency',\n component: () => lazyLoadView(import('@views/login/loadAgency')),\n meta: {\n authRequired: true,\n agencyRequired: false\n },\n props: (route) => ({\n user: store.state.auth.currentUser || {},\n }),\n },\n {\n path: '/logout',\n name: 'logout',\n meta: {\n authRequired: true,\n agencyRequired: false,\n beforeResolve(routeTo, routeFrom, next) {\n store.dispatch('auth/logOut')\n\n const authRequiredOnPreviousRoute = routeFrom.matched.some(\n (route) => route.meta.authRequired\n )\n next(authRequiredOnPreviousRoute ? { name: 'home' } : { ...routeFrom })\n },\n },\n },\n {\n path: '/404',\n name: '404',\n component: require('@views/_404').default,\n props: true,\n },\n {\n path: '*',\n redirect: '404',\n },\n]\n\n// Lazy-loads view components, but with better UX. A loading view\n// will be used if the component takes a while to load, falling\n// back to a timeout view in case the page fails to load. You can\n// use this component to lazy-load a route with:\n//\n// component: () => lazyLoadView(import('@views/my-view'))\n//\n// NOTE: Components loaded with this strategy DO NOT have access\n// to in-component guards, such as beforeRouteEnter,\n// beforeRouteUpdate, and beforeRouteLeave. You must either use\n// route-level guards instead or lazy-load the component directly:\n//\n// component: () => import('@views/my-view')\n//\nfunction lazyLoadView(AsyncView) {\n const AsyncHandler = () => ({\n component: AsyncView,\n // A component to use while the component is loading.\n loading: require('@views/_loading').default,\n // Delay before showing the loading component.\n // Default: 200 (milliseconds).\n delay: 400,\n // A fallback component in case the timeout is exceeded\n // when loading the component.\n error: require('@views/_timeout').default,\n // Time before giving up trying to load the component.\n // Default: Infinity (milliseconds).\n timeout: 10000,\n })\n\n return Promise.resolve({\n functional: true,\n render(h, { data, children }) {\n // Transparently pass any props or children\n // to the view component.\n return h(AsyncHandler, data, children)\n },\n })\n}\n","import Vue from 'vue'\nimport VueRouter from 'vue-router'\n// https://github.com/declandewet/vue-meta\nimport VueMeta from 'vue-meta'\n// Adds a loading bar at the top during page loads.\nimport NProgress from 'nprogress/nprogress'\nimport store from '@state/store'\nimport routes from './routes'\n\n\nVue.use(VueRouter)\nVue.use(VueMeta, {\n // The component option name that vue-meta looks for meta info on.\n keyName: 'page',\n})\n\nconst router = new VueRouter({\n routes,\n // Use the HTML5 history API (i.e. normal-looking routes)\n // instead of routes with hashes (e.g. example.com/#/about).\n // This may require some server configuration in production:\n // https://router.vuejs.org/en/essentials/history-mode.html#example-server-configurations\n mode: 'history',\n // Simulate native-like scroll behavior when navigating to a new\n // route and using back/forward buttons.\n scrollBehavior(to, from, savedPosition) {\n if (savedPosition) {\n return savedPosition\n } else {\n return { x: 0, y: 0 }\n }\n },\n})\n\n// Before each route evaluates...\nrouter.beforeEach((routeTo, routeFrom, next) => {\n // Check if auth is required on this route\n // (including nested routes).\n const authRequired = routeTo.matched.some((route) => route.meta.authRequired)\n const agencyRequired = routeTo.matched.some((route) => route.meta.agencyRequired)\n const routeRoles = routeTo.meta.routeRoles\n\n // if(!authRequired && !agencyRequired) {\n // return next()\n // }\n\n if ( routeRoles ) {\n const roleOk = routeRoles.some((r) => store.state.auth.currentUser.userRoles.includes(r))\n \n if (!roleOk) {\n next({ name: '404' })\n }\n }\n\n // If auth isn't required for the route, just continue.\n if (!authRequired) {\n if (store.getters['auth/loggedIn']) {\n if (!store.getters['auth/inAgency']) {\n next({ name: 'loadAgency' })\n }\n }\n return next()\n }\n\n // Verifica se está logado\n if (store.getters['auth/loggedIn']) {\n // Validate the local user token...\n return store.dispatch('auth/validate').then((validUser) => {\n if (agencyRequired) {\n if (!store.getters['auth/inAgency']) {\n next({ name: 'loadAgency' })\n }\n }\n\n if (!validUser) {\n redirectToLogin()\n } else {\n if (store.state.auth.currentUser.userRoles && store.state.auth.currentUser.userRoles.find(f => f === 'F_SELF_CV') && routeTo.name === 'dashboard') {\n next({ name: 'self-cv' })\n } else if (store.state.auth.currentUser.userRoles && store.state.auth.currentUser.userRoles.find(f => f === 'F_SELECTION_PROJECT') && routeTo.name === 'dashboard') {\n next({ name: 'projeto' })\n } else {next()}\n }\n })\n }\n\n redirectToLogin()\n\n function redirectToLogin () {\n next({ name: 'login' })\n }\n})\n\nrouter.beforeResolve(async (routeTo, routeFrom, next) => {\n // Create a `beforeResolve` hook, which fires whenever\n // `beforeRouteEnter` and `beforeRouteUpdate` would. This\n // allows us to ensure data is fetched even when params change,\n // but the resolved route does not. We put it in `meta` to\n // indicate that it's a hook we created, rather than part of\n // Vue Router (yet?).\n try {\n // For each matched route...\n for (const route of routeTo.matched) {\n await new Promise((resolve, reject) => {\n // If a `beforeResolve` hook is defined, call it with\n // the same arguments as the `beforeEnter` hook.\n if (route.meta && route.meta.beforeResolve) {\n route.meta.beforeResolve(routeTo, routeFrom, (...args) => {\n // If the user chose to redirect...\n if (args.length) {\n // If redirecting to the same route we're coming from...\n if (routeFrom.name === args[0].name) {\n // Complete the animation of the route progress bar.\n NProgress.done()\n }\n // Complete the redirect.\n next(...args)\n reject(new Error('Redirected'))\n } else {\n resolve()\n }\n })\n } else {\n // Otherwise, continue resolving the route.\n resolve()\n }\n })\n }\n // If a `beforeResolve` hook chose to redirect, just return.\n } catch (error) {\n return\n }\n\n // If we reach this point, continue resolving the route.\n next()\n})\n\n// When each route is finished evaluating...\nrouter.afterEach((routeTo, routeFrom) => {\n // Complete the animation of the route progress bar.\n NProgress.done()\n})\n\nexport default router\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=style&index=0&id=8466cace&prod&lang=scss&\"","function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = \"b526\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('Layout',[_c('div',{staticClass:\"row justify-content-center\"},[_c('div',{staticClass:\"col-md-8 col-lg-6 col-xl-5\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body p-4\"},[_c('div',{staticClass:\"error-ghost text-center\"},[_c('svg',{staticClass:\"ghost\",attrs:{\"id\":\"Layer_1\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"x\":\"0px\",\"y\":\"0px\",\"width\":\"127.433px\",\"height\":\"132.743px\",\"viewBox\":\"0 0 127.433 132.743\",\"enable-background\":\"new 0 0 127.433 132.743\",\"xml:space\":\"preserve\"}},[_c('path',{attrs:{\"fill\":\"#f79fac\",\"d\":\"M116.223,125.064c1.032-1.183,1.323-2.73,1.391-3.747V54.76c0,0-4.625-34.875-36.125-44.375\\n s-66,6.625-72.125,44l-0.781,63.219c0.062,4.197,1.105,6.177,1.808,7.006c1.94,1.811,5.408,3.465,10.099-0.6\\n c7.5-6.5,8.375-10,12.75-6.875s5.875,9.75,13.625,9.25s12.75-9,13.75-9.625s4.375-1.875,7,1.25s5.375,8.25,12.875,7.875\\n s12.625-8.375,12.625-8.375s2.25-3.875,7.25,0.375s7.625,9.75,14.375,8.125C114.739,126.01,115.412,125.902,116.223,125.064z\"}}),_c('circle',{attrs:{\"fill\":\"#013E51\",\"cx\":\"86.238\",\"cy\":\"57.885\",\"r\":\"6.667\"}}),_c('circle',{attrs:{\"fill\":\"#013E51\",\"cx\":\"40.072\",\"cy\":\"57.885\",\"r\":\"6.667\"}}),_c('path',{attrs:{\"fill\":\"#013E51\",\"d\":\"M71.916,62.782c0.05-1.108-0.809-2.046-1.917-2.095c-0.673-0.03-1.28,0.279-1.667,0.771\\n c-0.758,0.766-2.483,2.235-4.696,2.358c-1.696,0.094-3.438-0.625-5.191-2.137c-0.003-0.003-0.007-0.006-0.011-0.009l0.002,0.005\\n c-0.332-0.294-0.757-0.488-1.235-0.509c-1.108-0.049-2.046,0.809-2.095,1.917c-0.032,0.724,0.327,1.37,0.887,1.749\\n c-0.001,0-0.002-0.001-0.003-0.001c2.221,1.871,4.536,2.88,6.912,2.986c0.333,0.014,0.67,0.012,1.007-0.01\\n c3.163-0.191,5.572-1.942,6.888-3.166l0.452-0.453c0.021-0.019,0.04-0.041,0.06-0.061l0.034-0.034\\n c-0.007,0.007-0.015,0.014-0.021,0.02C71.666,63.771,71.892,63.307,71.916,62.782z\"}}),_c('circle',{attrs:{\"fill\":\"#FCEFED\",\"stroke\":\"#FEEBE6\",\"stroke-miterlimit\":\"10\",\"cx\":\"18.614\",\"cy\":\"99.426\",\"r\":\"3.292\"}}),_c('circle',{attrs:{\"fill\":\"#FCEFED\",\"stroke\":\"#FEEBE6\",\"stroke-miterlimit\":\"10\",\"cx\":\"95.364\",\"cy\":\"28.676\",\"r\":\"3.291\"}}),_c('circle',{attrs:{\"fill\":\"#FCEFED\",\"stroke\":\"#FEEBE6\",\"stroke-miterlimit\":\"10\",\"cx\":\"24.739\",\"cy\":\"93.551\",\"r\":\"2.667\"}}),_c('circle',{attrs:{\"fill\":\"#FCEFED\",\"stroke\":\"#FEEBE6\",\"stroke-miterlimit\":\"10\",\"cx\":\"101.489\",\"cy\":\"33.051\",\"r\":\"2.666\"}}),_c('circle',{attrs:{\"fill\":\"#FCEFED\",\"stroke\":\"#FEEBE6\",\"stroke-miterlimit\":\"10\",\"cx\":\"18.738\",\"cy\":\"87.717\",\"r\":\"2.833\"}}),_c('path',{attrs:{\"fill\":\"#FCEFED\",\"stroke\":\"#FEEBE6\",\"stroke-miterlimit\":\"10\",\"d\":\"M116.279,55.814c-0.021-0.286-2.323-28.744-30.221-41.012\\n c-7.806-3.433-15.777-5.173-23.691-5.173c-16.889,0-30.283,7.783-37.187,15.067c-9.229,9.736-13.84,26.712-14.191,30.259\\n l-0.748,62.332c0.149,2.133,1.389,6.167,5.019,6.167c1.891,0,4.074-1.083,6.672-3.311c4.96-4.251,7.424-6.295,9.226-6.295\\n c1.339,0,2.712,1.213,5.102,3.762c4.121,4.396,7.461,6.355,10.833,6.355c2.713,0,5.311-1.296,7.942-3.962\\n c3.104-3.145,5.701-5.239,8.285-5.239c2.116,0,4.441,1.421,7.317,4.473c2.638,2.8,5.674,4.219,9.022,4.219\\n c4.835,0,8.991-2.959,11.27-5.728l0.086-0.104c1.809-2.2,3.237-3.938,5.312-3.938c2.208,0,5.271,1.942,9.359,5.936\\n c0.54,0.743,3.552,4.674,6.86,4.674c1.37,0,2.559-0.65,3.531-1.932l0.203-0.268L116.279,55.814z M114.281,121.405\\n c-0.526,0.599-1.096,0.891-1.734,0.891c-2.053,0-4.51-2.82-5.283-3.907l-0.116-0.136c-4.638-4.541-7.975-6.566-10.82-6.566\\n c-3.021,0-4.884,2.267-6.857,4.667l-0.086,0.104c-1.896,2.307-5.582,4.999-9.725,4.999c-2.775,0-5.322-1.208-7.567-3.59\\n c-3.325-3.528-6.03-5.102-8.772-5.102c-3.278,0-6.251,2.332-9.708,5.835c-2.236,2.265-4.368,3.366-6.518,3.366\\n c-2.772,0-5.664-1.765-9.374-5.723c-2.488-2.654-4.29-4.395-6.561-4.395c-2.515,0-5.045,2.077-10.527,6.777\\n c-2.727,2.337-4.426,2.828-5.37,2.828c-2.662,0-3.017-4.225-3.021-4.225l0.745-62.163c0.332-3.321,4.767-19.625,13.647-28.995\\n c3.893-4.106,10.387-8.632,18.602-11.504c-0.458,0.503-0.744,1.165-0.744,1.898c0,1.565,1.269,2.833,2.833,2.833\\n c1.564,0,2.833-1.269,2.833-2.833c0-1.355-0.954-2.485-2.226-2.764c4.419-1.285,9.269-2.074,14.437-2.074\\n c7.636,0,15.336,1.684,22.887,5.004c26.766,11.771,29.011,39.047,29.027,39.251V121.405z\"}})])]),_c('div',{staticClass:\"text-center\"},[_c('p',{staticClass:\"text-muted mb-0 mt-3\",staticStyle:{\"line-height\":\"20px\"}},[_vm._v(\"You do not have access rights to this page.\")]),_c('p',{staticClass:\"text-muted mb-0 mt-1\",staticStyle:{\"line-height\":\"20px\"}},[_vm._v(\"Please check with your Admin if you believe this is wrong.\")]),_c('router-link',{staticClass:\"btn btn-primary mt-3\",attrs:{\"tag\":\"a\",\"to\":\"/\"}},[_c('i',{staticClass:\"mdi mdi-reply mr-1\"}),_vm._v(\" Return Home\")])],1)])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n \n
\n
\n
\n\n
\n\n
\n \n
\n\n
\n \n
You do not have access rights to this page.
\n
Please check with your Admin if you believe this is wrong.
\n\n Return Home\n
\n\n
\n
\n \n\n
\n
\n \n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_404.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_404.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_404.vue?vue&type=template&id=519f36fc&\"\nimport script from \"./_404.vue?vue&type=script&lang=js&\"\nexport * from \"./_404.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_404.vue?vue&type=style&index=0&id=519f36fc&prod&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var map = {\n\t\"./auth.js\": \"11c0\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) { // check for number or string\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 id;\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"cfa9\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('Layout',[_c('h1',{class:_vm.$style.title},[_vm._v(\"\\n The page timed out while loading. Are you sure you're still connected to\\n the Internet?\\n \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n \n
\n The page timed out while loading. Are you sure you're still connected to\n the Internet?\n
\n \n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_timeout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./_timeout.vue?vue&type=template&id=5b22c1e8&\"\nimport script from \"./_timeout.vue?vue&type=script&lang=js&\"\nexport * from \"./_timeout.vue?vue&type=script&lang=js&\"\nimport style0 from \"./_timeout.vue?vue&type=style&index=0&id=5b22c1e8&prod&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}