{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/project/templates/Motherboard.vue?2c61","webpack:///./src/locales sync ([a-z]{2}-[A-Z]{2})+\\.json$/","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/App.vue?03b3","webpack:///./src/App.vue?315a","webpack:///./src/components/project/templates/Motherboard.vue","webpack:///src/components/project/templates/Motherboard.vue","webpack:///./src/components/project/templates/Motherboard.vue?c5a0","webpack:///./src/components/project/templates/Motherboard.vue?9c46","webpack:///./src/router.js","webpack:///./src/utils/googleAnalytics.js","webpack:///./src/main.js","webpack:///./src/i18n.js","webpack:///./src/utils/catchError.js","webpack:///./src/store.js","webpack:///./src/App.vue?6792","webpack:///./node_modules/emerald-vue/src/assets/emeraldicons "],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","jsonpScriptSrc","p","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","code","keys","render","_vm","this","_c","_self","attrs","isLoading","hasError","staticClass","_e","theme","errorCode","staticRenderFns","components","EmdPagarmeLoader","GlobalError","computed","_objectSpread","mapGetters","appVersion","process","$store","getters","globalErrorCode","mounted","meta","content","getElementsByTagName","component","transitionName","watch","$route","to","from","toDepth","path","split","fromDepth","appMenuOpen","Vue","use","Router","base","routes","Motherboard","beforeEnter","next","merchant_id","params","includes","store","dispatch","then","res","merchant","concat","account","_to$params","account_id","profile","children","redirect","getGoogleAnalyticsSettings","settings","rawIds","ids","replace","config","productionTip","googleAnalyticsSettings","VueGtag","router","initFS","orgId","shadow","start","i18n","h","App","$mount","loadLocaleMessages","locales","require","messages","forEach","matched","match","locale","VueI18n","fallbackLocale","silentFallbackWarn","catchError","context","status","location","assign","body","errors","notifications","values","newrelic","noticeError","coreParams","environment","ProfileInstance","ProfileCore","Vuex","env","envAcronym","Store","state","globalLoading","globalError","version","mutations","setProfile","payload","identifyFs","userVars","user","displayName","first_name","last_name","email","merchantId_str","merchantName_str","userType_str","appVersion_str","identify","toggleGlobalLoading","toggleGlobalError","_ref","logFS","actions","GET_AUTHORIZATION","arguments","authorization","VUE_APP_PROFILE_URL","interaction","commit","catch","TOGGLE_GLOBAL_LOADING","_ref2","TOGGLE_GLOBAL_ERROR","_ref3","errorInfo","SET_ERROR","DELETE_AUTHORIZATION","logout","deleteCookies","webpackAsyncContext"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,G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AAK,WAC7B,IAAI3H,EAAI,IAAIiB,MAAM,uBAAyBiD,EAAM,KAEjD,MADAlE,EAAEqE,KAAO,mBACHrE,KAIR,IAAIwI,EAAMxE,EAAIE,GAAMC,EAAKqE,EAAI,GAC7B,OAAOhJ,EAAoBQ,EAAEwI,EAAI,IAAIb,MAAK,WACzC,OAAOnI,EAAoB2E,MAG7B0J,EAAoBvJ,KAAO,WAC1B,OAAOhG,OAAOgG,KAAKN,IAEpB6J,EAAoB1J,GAAK,OACzBrE,EAAOD,QAAUgO","file":"js/app.5ceab875.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"icons/icon-merchant-svg\":\"icons/icon-merchant-svg\",\"icons/icon-mundi-svg\":\"icons/icon-mundi-svg\",\"icons/icon-profile-svg\":\"icons/icon-profile-svg\",\"onboarding\":\"onboarding\"}[chunkId]||chunkId) + \".\" + {\"icons/icon-merchant-svg\":\"119cf787\",\"icons/icon-mundi-svg\":\"8d2c4b66\",\"icons/icon-profile-svg\":\"d83d9f99\",\"onboarding\":\"80f03aaa\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Motherboard.vue?vue&type=style&index=0&id=2bde35ba&prod&lang=css\"","var map = {\n\t\"./en-US.json\": \"e0e1\",\n\t\"./pt-BR.json\": \"03bd\"\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 = \"4980\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[(_vm.isLoading && !_vm.hasError)?_c('div',{staticClass:\"el-section el-centered eu-align-items_center\"},[_c('emd-pagarme-loader',{staticClass:\"fade-in\",attrs:{\"color\":'secondary'}})],1):_vm._e(),(!_vm.isLoading && _vm.hasError)?_c('global-error',{attrs:{\"theme\":_vm.theme,\"code\":_vm.errorCode}}):_vm._e(),[_c('router-view')]],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-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--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-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=163e279a\"\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=163e279a&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('transition',{attrs:{\"name\":_vm.transitionName,\"mode\":\"out-in\"}},[_c('router-view')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n
\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Motherboard.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Motherboard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Motherboard.vue?vue&type=template&id=2bde35ba\"\nimport script from \"./Motherboard.vue?vue&type=script&lang=js\"\nexport * from \"./Motherboard.vue?vue&type=script&lang=js\"\nimport style0 from \"./Motherboard.vue?vue&type=style&index=0&id=2bde35ba&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* eslint-disable */\nimport Vue from 'vue'\nimport Router from 'vue-router'\nimport store from '@/store'\nimport Motherboard from './components/project/templates/Motherboard.vue'\n\nVue.use(Router)\n\nexport default new Router({\n mode: 'hash',\n base: process.env.VUE_APP_PUBLIC_PATH,\n routes: [\n {\n path: '/:merchant_id',\n name: 'merchant',\n component: Motherboard,\n beforeEnter: (to, from, next) => {\n var { merchant_id } = to.params\n const params = { merchant_id }\n if (merchant_id.includes('merch_')) {\n store.dispatch('GET_AUTHORIZATION', params).then((res) => {\n store.dispatch('TOGGLE_GLOBAL_LOADING', false)\n if (res.merchant) next({ path: `/${params.merchant_id}/${res.merchant.account.id}/` })\n })\n } else {\n next({ name: 'default' })\n }\n }\n },\n {\n path: '/:merchant_id/:account_id',\n component: Motherboard,\n beforeEnter: (to, from, next) => {\n const { merchant_id, account_id } = to.params\n const params = { merchant_id, account_id }\n const profile = store.getters.profile\n if (!merchant_id.includes('merch_') || !account_id.includes('acc_')) {\n next({ name: 'default' })\n } else if (!profile) {\n store.dispatch('GET_AUTHORIZATION', params).then(() => {\n store.dispatch('TOGGLE_GLOBAL_LOADING', false)\n next()\n })\n } else {\n next()\n }\n },\n children: [\n {\n path: '',\n name: 'motherboard',\n redirect: { name: 'onboarding' }\n },\n {\n path: '/',\n name: 'onboarding',\n component: () => import(/* webpackChunkName: \"onboarding\" */ './views/Onboarding.vue')\n }\n ]\n },\n {\n path: '/',\n name: 'default',\n component: Motherboard,\n beforeEnter: (to, from, next) => {\n const profile = store.getters.profile\n if (!profile) {\n store.dispatch('GET_AUTHORIZATION', {}).then((res) => {\n if (res.merchant) {\n store.dispatch('TOGGLE_GLOBAL_LOADING', false)\n next({ path: `/${res.merchant.id}/${res.merchant.account.id}` })\n }\n })\n } else {\n next()\n }\n }\n },\n {\n path: '*',\n redirect: { name: 'default' }\n }\n ]\n})\n","export default function getGoogleAnalyticsSettings () {\n const settings = {}\n\n const rawIds = process.env.VUE_APP_GA_IDS\n if (!rawIds || rawIds === '[]') return {}\n const ids = rawIds.replace(/\\s/g, '').split(',')\n\n if (ids.length) {\n settings.config = { id: ids[0] }\n if (ids.length > 1) {\n ids.shift()\n settings.includes = ids.map((id) => ({ id }))\n }\n }\n return settings\n}\n","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport i18n from './i18n'\r\nimport router from './router'\r\nimport store from './store'\r\nimport VueGtag from 'vue-gtag'\r\nimport { init as initFS } from '@fullstory/browser'\r\nimport getGoogleAnalyticsSettings from './utils/googleAnalytics'\r\n// IMPORT EMERALD GLOBALY\r\nimport 'emerald-workbench/dist/emerald.pagarme.min.css'\r\n\r\nimport shadow from 'vue-shadow-dom'\r\n\r\nimport { start } from 'single-spa'\r\n\r\nVue.config.productionTip = false\r\n\r\nif (['production'].includes(process.env.VUE_APP_CORE_ENV)) {\r\n const googleAnalyticsSettings = getGoogleAnalyticsSettings()\r\n Vue.use(VueGtag, googleAnalyticsSettings, router)\r\n\r\n initFS({ orgId: 'KQA5' })\r\n}\r\nVue.use(shadow)\r\nstart()\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n i18n,\r\n render: h => h(App)\r\n}).$mount('#app')\r\n","import Vue from 'vue'\r\nimport VueI18n from 'vue-i18n'\r\n\r\nVue.use(VueI18n)\r\n\r\nfunction loadLocaleMessages () {\r\n const locales = require.context('./locales', true, /([a-z]{2}-[A-Z]{2})+\\.json$/i)\r\n const messages = {}\r\n locales.keys().forEach(key => {\r\n const matched = key.match(/([a-z]{2}-[A-Z]{2})+\\./i)\r\n if (matched && matched.length > 1) {\r\n const locale = matched[1]\r\n messages[locale] = locales(key)\r\n }\r\n })\r\n return messages\r\n}\r\n\r\nexport default new VueI18n({\r\n locale: process.env.VUE_APP_I18N_LOCALE || 'pt-BR',\r\n fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || 'pt-BR',\r\n silentFallbackWarn: true,\r\n messages: loadLocaleMessages()\r\n})\r\n","import i18n from '@/i18n'\n\nconst catchError = function (error, context) {\n if (error.status === 401) {\n context.dispatch('DELETE_AUTHORIZATION')\n window.location.assign(process.env.VUE_APP_DEFAULT_REDIRECT)\n } else if (error.status === 412) {\n if (!error.body) error.body = {}\n const messages = [{ message: i18n.t('alert.password-error') }]\n error.body.errors ? error.body.errors.push(messages) : error.body.errors = messages\n } else if (error.status === 400 && error.body.notifications) {\n const notifications = Object.values(error.body.notifications)\n const messages = notifications.map(message => { return { message: message[0] } })\n error.body.errors ? error.body.errors.push(messages) : error.body.errors = messages\n } else if (error.status !== 400 && error.status !== 422) {\n context.dispatch('TOGGLE_GLOBAL_ERROR', { status: true, code: error.status })\n }\n if (window.newrelic) { window.newrelic.noticeError(error.message) }\n return Promise.reject(error)\n}\n\nexport default catchError\n","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport ProfileCore from 'profile-js'\nimport { log as logFS, identify } from '@fullstory/browser'\nimport { version } from '@/../package.json'\n\nimport { catchError } from './utils'\n\nconst coreParams = {\n environment: process.env.VUE_APP_CORE_ENV,\n theme: process.env.VUE_APP_THEME\n}\n\nexport const ProfileInstance = new ProfileCore(coreParams)\n\nVue.use(Vuex)\n\nexport const env = ProfileInstance.envAcronym\n\nexport default new Vuex.Store({\n state: {\n profile: undefined,\n globalLoading: false,\n globalError: false,\n globalErrorCode: '',\n appVersion: version\n },\n mutations: {\n setProfile (state, payload) {\n state.profile = payload\n },\n identifyFs (state) {\n const userVars = {\n id: state.profile.user.id,\n displayName: `${state.profile.user.first_name} ${state.profile.user.last_name}`,\n email: state.profile.user.email,\n merchantId_str: state.profile.merchant ? state.profile.merchant.id : null,\n merchantName_str: state.profile.merchant ? state.profile.merchant.name : null,\n userType_str: state.profile.merchant ? state.profile.merchant.type.key : null,\n appVersion_str: version\n }\n identify(state.profile.user.email, userVars)\n },\n toggleGlobalLoading (state, status) {\n state.globalLoading = status\n },\n toggleGlobalError (state, { status, code }) {\n state.globalError = status\n state.globalErrorCode = code\n if (status && code !== 404 && code !== 403 && ['production'].includes(process.env.VUE_APP_CORE_ENV)) logFS('error', 'Error: redirected to screen 500')\n }\n },\n actions: {\n GET_AUTHORIZATION (context, params = {}) {\n return ProfileInstance.authorization.get(params, 'onboarding', process.env.VUE_APP_PROFILE_URL)\n .then(res => {\n if (window.newrelic) {\n window.newrelic.interaction()\n .setAttribute('id', res.data.user.id)\n .setAttribute('username', `${res.data.user.first_name} ${res.data.user.last_name}`)\n .setAttribute('email', res.data.user.email)\n .setAttribute('merchant_id', res.data.merchant ? res.data.merchant.name : null)\n }\n return res\n })\n .then((res) => {\n if (res.data.merchant) {\n context.commit('setProfile', res.data)\n if (['production'].includes(process.env.VUE_APP_CORE_ENV)) context.commit('identifyFs')\n }\n return Promise.resolve(res.data)\n })\n .catch((err) => {\n context.commit('toggleGlobalLoading', false)\n return catchError(err, context)\n })\n },\n TOGGLE_GLOBAL_LOADING ({ commit }, status) {\n commit('toggleGlobalLoading', status)\n },\n TOGGLE_GLOBAL_ERROR ({ commit }, errorInfo) {\n commit('toggleGlobalError', errorInfo)\n },\n SET_ERROR (context, error) {\n catchError(error, context)\n },\n DELETE_AUTHORIZATION (context, logout = false) {\n return ProfileInstance.authorization.deleteCookies('onboarding', logout)\n }\n },\n getters: {\n profile (state) {\n return state.profile\n },\n globalLoading (state) {\n return state.globalLoading\n },\n globalError (state) {\n return state.globalError\n },\n appVersion (state) {\n return state.appVersion\n },\n globalErrorCode (state) {\n return state.globalErrorCode\n }\n }\n})\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=163e279a&prod&lang=css\"","var map = {\n\t\"./merchant.svg\": [\n\t\t\"9d3b\",\n\t\t\"icons/icon-merchant-svg\"\n\t],\n\t\"./mundi.svg\": [\n\t\t\"1b40\",\n\t\t\"icons/icon-mundi-svg\"\n\t],\n\t\"./profile.svg\": [\n\t\t\"23db\",\n\t\t\"icons/icon-profile-svg\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"fc48\";\nmodule.exports = webpackAsyncContext;"],"sourceRoot":""}