\n\n\n\n\n\n","import { render } from \"./ChamadoView.vue?vue&type=template&id=7403dfb9\"\nimport script from \"./ChamadoView.vue?vue&type=script&lang=js\"\nexport * from \"./ChamadoView.vue?vue&type=script&lang=js\"\n\nimport \"./ChamadoView.vue?vue&type=style&index=0&id=7403dfb9&lang=css\"\n\nimport exportComponent from \"C:\\\\SGCAD24\\\\Desenvolvimento\\\\Topinformatica\\\\FrontSite\\\\CodigoVueTopInformatica\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { createRouter, createWebHistory } from 'vue-router'\nimport Home from '../views/HomeView.vue'\nimport Sobre from '../views/SobreView.vue'\nimport Servicos from '../views/ServicosView.vue'\nimport Blog from '../views/BlogView.vue'\nimport Contato from '../views/ContatoView.vue'\nimport Login from '../views/LoginView.vue'\nimport Chamado from '../views/ChamadoView.vue'\n\n\nconst routes = [\n { path: '/', name: 'Home', component: Home },\n { path: '/Sobre', name: 'Sobre', component: Sobre },\n { path: '/Servicos/:idServico?/:nomeServico?', name: 'Servicos', component: Servicos },\n { path: '/Blog/:idBlog?/:nomeBlog?', name: 'Blog', component: Blog },\n { path: '/Contato', name: 'Contato', component: Contato },\n { path: '/Login', name: 'Login', component: Login },\n { path: '/Chamado', name: 'Chamado', component: Chamado },\n]\n\nconst router = createRouter({\n history: createWebHistory(),\n routes\n})\n\nrouter.beforeEach((to, from, next) => {\n window.scrollTo({ top: 0, behavior: 'smooth' })\n next()\n})\n\nexport default router\n","// Styles\nimport '@mdi/font/css/materialdesignicons.css'\nimport 'vuetify/styles'\n\n// Vuetify\nimport { createVuetify } from 'vuetify'\n\nexport default createVuetify(\n // https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides\n)\n","import { reactive } from 'vue';\r\n\r\nexport const loading = reactive({\r\n value: false\r\n});","import { createApp } from 'vue';\r\nimport App from './App.vue';\r\nimport router from './router';\r\nimport vuetify from './plugins/vuetify';\r\nimport VueViewer from 'v-viewer';\r\nimport moment from 'moment';\r\nimport axios from 'axios';\r\nimport Swal from 'sweetalert2';\r\nimport JSEncrypt from 'jsencrypt';\r\nimport { SHA256 } from 'crypto-js';\r\nimport Cookies from 'js-cookie';\r\nimport 'viewerjs/dist/viewer.css';\r\nimport 'swiper/swiper-bundle.css';\r\nimport 'moment/locale/pt-br'; \r\nimport SwiperCore, { Navigation, Pagination } from 'swiper/core';\r\nimport { loading } from './loading';\r\nimport TheMask from 'vue-the-mask';\r\nimport { createHead } from '@vueuse/head';\r\nimport { createGtm } from '@gtm-support/vue-gtm';\r\n\r\nSwiperCore.use([Navigation, Pagination]);\r\n\r\nconst app = createApp(App)\r\nconst head = createHead();\r\n\r\napp.use(router)\r\napp.use(vuetify)\r\napp.use(VueViewer)\r\napp.use(TheMask)\r\napp.use(head);\r\napp.use(\r\n createGtm({\r\n id: 'GTM-NHL4L67', // Your GTM single container ID, array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy'] or array of objects [{id: 'GTM-xxxxxx', queryParams: { gtm_auth: 'abc123', gtm_preview: 'env-4', gtm_cookies_win: 'x'}}, {id: 'GTM-yyyyyy', queryParams: {gtm_auth: 'abc234', gtm_preview: 'env-5', gtm_cookies_win: 'x'}}], // Your GTM single container ID or array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy']\r\n defer: false, // Script can be set to `defer` to speed up page load at the cost of less accurate results (in case visitor leaves before script is loaded, which is unlikely but possible). Defaults to false, so the script is loaded `async` by default\r\n compatibility: false, // Will add `async` and `defer` to the script tag to not block requests for old browsers that do not support `async`\r\n //nonce: '2726c7f26c', // Will add `nonce` to the script tag\r\n enabled: true, // defaults to true. Plugin can be disabled by setting this to false for Ex: enabled: !!GDPR_Cookie (optional)\r\n debug: true, // Whether or not display console logs debugs (optional)\r\n loadScript: true, // Whether or not to load the GTM Script (Helpful if you are including GTM manually, but need the dataLayer functionality in your components) (optional)\r\n vueRouter: router, // Pass the router instance to automatically sync with router (optional)\r\n trackOnNextTick: false, // Whether or not call trackView in Vue.nextTick\r\n }),\r\n);\r\n\r\n/* dados de configuração */\r\napp.config.globalProperties.$loading = loading; \r\n\r\napp.config.globalProperties.$scrollToTop = () => {\r\n window.scrollTo({\r\n top: 0,\r\n behavior: 'smooth'\r\n });\r\n};\r\n\r\napp.config.globalProperties.$Cookies = Cookies;\r\napp.config.globalProperties.$CookiesDefaults = {\r\n expires: 0.0832, // Expira em 2 a 5 horas \r\n path: '/',\r\n domain: '',\r\n secure: false,\r\n sameSite: 'strict',\r\n};\r\n\r\napp.config.globalProperties.$moment = moment\r\napp.config.globalProperties.$imgURL = 'https://controle.topinformatica-rs.com.br/imagensProducao/'\r\naxios.defaults.baseURL = 'https://controle.topinformatica-rs.com.br/api'\r\n\r\n// Obtém o dia do ano (1 a 366)\r\nconst dayOfYear = moment().dayOfYear();\r\n// Obtém o ano com 4 dígitos\r\nconst year = moment().year();\r\n// Concatena o texto com o dia do ano e o ano\r\nconst hashedCookieUsuario = SHA256(`CookieSiteAvanceTopInformatica${dayOfYear}${year}`).toString();\r\n\r\napp.config.globalProperties.$CookieUsuario = hashedCookieUsuario;\r\n\r\napp.config.globalProperties.$mensagemSucesso = function (mensagem) {\r\n Swal.fire(' ', mensagem, 'success')\r\n}\r\napp.config.globalProperties.$mensagemErro = function (mensagem) {\r\n Swal.fire(' ', mensagem, 'error')\r\n}\r\napp.config.globalProperties.$mensagemAviso = function (mensagem) {\r\n Swal.fire({\r\n position: 'top-end',\r\n icon: 'warning',\r\n title: mensagem,\r\n showConfirmButton: false,\r\n timer: 3000 // Tempo em milissegundos (3 segundos neste exemplo)\r\n })\r\n}\r\n\r\napp.config.globalProperties.$mensagemAvisoSucesso = function (mensagem) {\r\n Swal.fire({\r\n position: 'top-end',\r\n icon: 'success',\r\n title: mensagem,\r\n showConfirmButton: false,\r\n timer: 2000 // Tempo em milissegundos (3 segundos neste exemplo)\r\n })\r\n}\r\n\r\napp.config.globalProperties.$mensagemConfirma = function (mensagem) {\r\n return Swal.fire({\r\n icon: 'warning',\r\n title: mensagem,\r\n showCancelButton: true,\r\n confirmButtonText: 'Confirmar',\r\n cancelButtonText: 'Cancelar',\r\n reverseButtons: true\r\n });\r\n};\r\n\r\n// Crie uma instância do objeto JSEncrypt\r\nconst encryptor = new JSEncrypt();\r\n\r\nconst data = {\r\n server: 'mysql.topinformatica-rs.com.br',\r\n database: 'topinformatica07',\r\n user: 'topinformatica07',\r\n password: 'TOPINFO2021ava'\r\n};\r\n\r\nconst dataAcess = {\r\n ftpHost: 'ftp.topinformatica-rs.com.br',\r\n ftpUsername: 'topinformatica-rs',\r\n ftpPassword: 'TOPINFO2021ava',\r\n destinationFolderPath: '/www/controle/ImagensProducao'\r\n};\r\n// Chave de criptografia\r\nconst publicKey = `-----BEGIN PUBLIC KEY-----\r\n MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4cbwIH80zlW9eAEUjaIz\r\n eOncsBX7JX1rHpH3Oe1kj5s8FMAJkI5Lsc5Xiy7AU48BYu3Z/MnZ+Qhpxv+zpIrx\r\n JJFXmqfhmIYXStLLtYOCIC4duMfiy+KLlzrIgL/+DWsutR7D/LUDDC6ucExKDxC6\r\n vYaYzmpObqm08WhvRzbbU43mgdaPzJXbhZfPVIj9w9kN+ZDYaLydKXbBvwy5okpi\r\n wGkSKs0mR0HKFo4U+NpfBxth28QW2JRAY9CQmwqdoFAXsDTugoupNBZHb5GBn2MQ\r\n U/JXZ+VApmZCrc+4SpdxdIL7nNTEl125pf4WnWNgPLITKQrJJNhH+AOBHVRTf555\r\n cQIDAQAB\r\n -----END PUBLIC KEY-----`;\r\n// Defina as chaves na instância do JSEncrypt\r\nencryptor.setPublicKey(publicKey);\r\n\r\n// Criptografe os dados desejados\r\nconst dataString = JSON.stringify(data);\r\nconst dataAcessString = JSON.stringify(dataAcess);\r\napp.config.globalProperties.$axios = axios\r\naxios.defaults.headers.common['Authorization'] = 'Basic U2l0ZUF2YW5jZUNsaTpBdlNnY2FkMjRMdWMhNzg=';\r\naxios.defaults.headers.common['SisAvaKey'] = encryptor.encrypt(dataString);\r\naxios.defaults.headers.common['SisAvaToken'] = encryptor.encrypt(dataAcessString);\r\n\r\naxios.interceptors.request.use((config) => {\r\n // Configurações adicionais antes de fazer a chamada à API\r\n app.config.globalProperties.$loading.value = true; // Definir o estado do loader como true\r\n return config;\r\n});\r\n\r\naxios.interceptors.response.use(\r\n (response) => {\r\n // Tratamento de sucesso da resposta da API\r\n app.config.globalProperties.$loading.value = false; // Definir o estado do loader como false\r\n return response;\r\n },\r\n error => {\r\n if (error.response && error.response.status === 401) {\r\n // Tratamento de erro para status 401 (Acesso não autorizado)\r\n app.config.globalProperties.$mensagemErro(\"Acesso não autorizado.\");\r\n } else if (error.code === \"ERR_NETWORK\") {\r\n // Tratamento de erro para erro de rede\r\n app.config.globalProperties.$mensagemErro(\"Sistema fora do ar.\" + error);\r\n } else if (error.response && error.response.data && error.response.data.message) {\r\n // Tratamento de erro para outras respostas com mensagem\r\n app.config.globalProperties.$mensagemErro(error.response.data.message);\r\n } else {\r\n // Tratamento de erro genérico\r\n app.config.globalProperties.$mensagemErro(\"Falha ao conectar, contate o administrador.\");\r\n }\r\n app.config.globalProperties.$loading.value = false;\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\napp.mount('#app')\r\n\r\n\r\n\r\n\r\n\r\n\r\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\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); }","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// 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[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunksgcad\"] = self[\"webpackChunksgcad\"] || [];\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__(38); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","_createBlock","_component_v_app","_createVNode","_component_v_main","_ctx","$loading","value","_component_Loader","key","_component_Header","_component_router_view","$route","fullPath","_component_FooterPage","class","style","runat","_createElementVNode","href","src","alt","type","_createElementBlock","_hoisted_1","topo","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_toDisplayString","itiNome","_hoisted_8","_hoisted_9","itiReferencia","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","itiCampoExtra1","itiCampoExtra3","target","itiCampoExtra2","_hoisted_17","_hoisted_18","itiCampoExtra4","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_component_router_link","to","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_component_v_menu","width","activator","_withCtx","props","_component_v_btn","_mergeProps","icon","_component_v_list","_component_v_list_item","_component_v_list_item_title","_hoisted_35","_hoisted_36","name","components","data","methods","created","axios","then","response","this","catch","error","console","__exports__","_hoisted_45","callaction","itiLinkBtn1","itiTextoBtn1","dados","innerHTML","itiResumo1","redes","_Fragment","_renderList","servicos","servico","itiId","replaceAll","itiResumo2","_hoisted_38","_hoisted_39","_hoisted_40","itiDescricao1","_hoisted_42","_hoisted_43","filter","x","itiVisivel","sort","a","b","itiOrdem","log","_component_v_progress_circular","size","color","indeterminate","Header","FooterPage","Loader","render","sliders","length","insInstitucionalImagens","_component_v_carousel","slider","_component_v_carousel_item","itgId","_component_v_sheet","height","_normalizeStyle","backgroundImage","$imgURL","itgUrlImagem","backgroundSize","backgroundRepeat","itgResumo","destaques","destaque","itgNome","apresentacao","ImgfundoServico","_component_Swiper","navigation","pagination","clickable","breakpoints","slidesPerView","ImgParceiros","par","_component_SwiperSlide","suporte","Swiper","SwiperSlide","carregaMetas","useHead","title","forEach","itgVisivel","valorA","parseInt","itgOrdem","valorB","insListaGaleriaInstImagens","lgiId","lgiVisivel","sobretopo","sobretop","numeros","numero","_component_VueJsCounter","start","end","duration","clientes","cliente","VueJsCounter","imagem","role","servicotopo","menu","onClick","_withModifiers","$event","$options","carregaTexto","servicocall","_hoisted_37","setup","route","useRoute","params","idServico","blogtopo","blog","formattedDate","itiData1","newb","idBlog","$moment","format","isMobile","scrollToTop","window","scrollTo","top","behavior","innerWidth","reverse","contatotopo","contato","Nome","placeholder","Email","Telefone","Assunto","Mensagem","_cache","EnviaEmail","frameborder","allowfullscreen","tabindex","$mensagemAviso","_dadosEmail","nomeDe","nomePara","assunto","destinatario","emailResposta","textoEmail","nomeAnexo","anexo","tipoAnexo","$mensagemSucesso","logintopo","areaCliente","usuario","senha","ValidaLogin","ListClientes","cliEmail","toLowerCase","originalHash","cliSenha","valueToCompare","compareHash","SHA1","toString","compareHash2","SHA256","$mensagemErro","$router","push","$Cookies","set","cliNomeEmpresa","$CookiesDefaults","_component_center","nomeEmpresa","nomeFuncionario","numeroMaquina","_component_v_file_input","selectedFile","label","variant","onChange","handleFileChange","accept","mensagemProblema","clienteNome","checkLogin","cvalue","get","undefined","file","reader","FileReader","onload","result","split","readAsDataURL","_mensagem","routes","path","component","Home","Sobre","Servicos","Blog","Contato","Login","Chamado","router","createRouter","history","createWebHistory","beforeEach","from","next","createVuetify","loading","reactive","SwiperCore","Navigation","Pagination","app","createApp","App","head","createHead","use","vuetify","VueViewer","TheMask","createGtm","defer","compatibility","enabled","debug","loadScript","vueRouter","trackOnNextTick","config","globalProperties","$scrollToTop","Cookies","expires","domain","secure","sameSite","moment","dayOfYear","year","hashedCookieUsuario","$CookieUsuario","mensagem","Swal","position","showConfirmButton","timer","$mensagemAvisoSucesso","$mensagemConfirma","showCancelButton","confirmButtonText","cancelButtonText","reverseButtons","encryptor","JSEncrypt","server","database","user","password","dataAcess","ftpHost","ftpUsername","ftpPassword","destinationFolderPath","publicKey","setPublicKey","dataString","JSON","stringify","dataAcessString","$axios","encrypt","status","message","Promise","reject","mount","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","every","splice","r","n","getter","__esModule","d","definition","defineProperty","enumerable","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","nmd","paths","children","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}