{"version":3,"sources":["webpack:///./node_modules/core-js/internals/an-instance.js","webpack:///./src/views/ValidChat.vue?96da","webpack:///./node_modules/core-js/modules/web.dom-exception.stack.js","webpack:///./src/views/ValidChat.vue?ed2f","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/views/ValidChat.vue?445f","webpack:///./src/views/ValidChat.vue?cdfe","webpack:///./node_modules/core-js/internals/dom-exception-constants.js"],"names":["isPrototypeOf","$TypeError","TypeError","module","exports","it","Prototype","$","getBuiltIn","createPropertyDescriptor","defineProperty","f","hasOwn","anInstance","inheritIfRequired","normalizeStringArgument","DOMExceptionConstants","clearErrorStack","IS_PURE","DOM_EXCEPTION","Error","NativeDOMException","$DOMException","this","DOMExceptionPrototype","argumentsLength","arguments","length","message","undefined","name","that","error","stack","prototype","ERROR_HAS_STACK","DOM_EXCEPTION_HAS_STACK","FORCED_CONSTRUCTOR","global","constructor","forced","DOMException","PolyfilledDOMException","PolyfilledDOMExceptionPrototype","key","constant","constantName","s","c","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","model","value","callback","$$v","modal","expression","staticRenderFns","Vue","extend","data","claroOscuro","originBot","urlRedirigir","mounted","console","log","cargaEstilos","obtenerIP","methods","ChatService","obtenerIp","then","valores","window","location","search","urlParams","URLSearchParams","has","id","atob","String","get","ClientBeginInfo","JSON","parse","Ip","cargaInicial","btoa","stringify","$router","push","catch","ValidChat","resp","keyChat","localStorage","setItem","clientData","setTimeout","HomeService","CargaInicial","pais","component","VCard","VDialog","VOverlay","IndexSizeError","m","DOMStringSizeError","HierarchyRequestError","WrongDocumentError","InvalidCharacterError","NoDataAllowedError","NoModificationAllowedError","NotFoundError","NotSupportedError","InUseAttributeError","InvalidStateError","SyntaxError","InvalidModificationError","NamespaceError","InvalidAccessError","ValidationError","TypeMismatchError","SecurityError","NetworkError","AbortError","URLMismatchError","QuotaExceededError","TimeoutError","InvalidNodeTypeError","DataCloneError"],"mappings":"qGAAA,IAAIA,EAAgB,EAAQ,QAExB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efe.js","sourcesContent":["var isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\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!./ValidChat.vue?vue&type=style&index=0&id=41f1c26d&scoped=true&lang=css&\"","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('v-dialog',{attrs:{\"hide-overlay\":\"\",\"persistent\":\"\",\"width\":\"300\"},model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:\"modal\"}},[_c('v-card',{attrs:{\"color\":\"primary\"}},[_c('div',{staticClass:\"loader\",attrs:{\"id\":\"loader-5\"}},[_c('span',{staticClass:\"loader1\"}),_c('span',{staticClass:\"loader2\"}),_c('span',{staticClass:\"loader3\"}),_c('span',{staticClass:\"loader4\"})])])],1),_c('v-overlay',{attrs:{\"z-index\":5,\"value\":_vm.modal,\"opacity\":\".8\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n/* eslint-disable */\r\nimport Vue from \"vue\";\r\nimport ChatService from \"@/services/chat.service\";\r\nimport HomeService from '@/services/home.service';\r\nexport default Vue.extend({\r\n name: 'validChat',\r\n data() {\r\n return {\r\n claroOscuro:\"\",\r\n originBot:\"\",\r\n modal:true,\r\n urlRedirigir:\"\"\r\n }\r\n },\r\n mounted(){\r\n console.log(\"Validando Chat\");\r\n this.cargaEstilos();\r\n //setTimeout(()=>{\r\n this.obtenerIP();\r\n //},50000);\r\n \r\n },\r\n methods: {\r\n obtenerIP: function(){ \r\n ChatService.obtenerIp().then(data => {\r\n console.log(data.data)\r\n const valores = window.location.search;\r\n const urlParams = new URLSearchParams(valores);\r\n if(urlParams.has('id')){\r\n var id:any = atob(String(urlParams.get('id')));\r\n var ClientBeginInfo = JSON.parse(id);\r\n ClientBeginInfo.Ip=data.data;\r\n this.cargaInicial(btoa(JSON.stringify(ClientBeginInfo)));\r\n }else{\r\n this.$router.push(\"/Error\");\r\n }\r\n }).catch(()=>{\r\n console.error(\"No se pudo obtener la IP\");\r\n this.$router.push(\"/Error\");\r\n });\r\n },\r\n cargaInicial: function (ClientBeginInfo:any) {\r\n ChatService.ValidChat(ClientBeginInfo).then( resp =>{\r\n let keyChat:string = resp.data.keyChat;\r\n localStorage.setItem(\"clientData-\" + keyChat, resp.data.clientData);\r\n setTimeout(()=>{this.$router.push(resp.data.urlRedirigir);},100);\r\n }).catch(error=>{\r\n console.error(\"ocurrio un error\",error);\r\n this.$router.push(\"/Error\");\r\n });\r\n },\r\n cargaEstilos(){\r\n HomeService.CargaInicial().then((resp) => {\r\n localStorage.setItem(\"claroOscuro\", resp.data.claroOscuro);\r\n localStorage.setItem(\"originBot\", resp.data.originBot);\r\n localStorage.setItem(\"pais\", resp.data.pais);\r\n localStorage.setItem(\"urlRedirigir\", resp.data.urlRedirigir);\r\n this.urlRedirigir = resp.data.urlRedirigir;\r\n }).catch((error) =>{\r\n console.error(\"Error al realizar la carga inicial validChat\",error);\r\n });\r\n }\r\n }\r\n\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValidChat.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValidChat.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ValidChat.vue?vue&type=template&id=41f1c26d&scoped=true&\"\nimport script from \"./ValidChat.vue?vue&type=script&lang=ts&\"\nexport * from \"./ValidChat.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ValidChat.vue?vue&type=style&index=0&id=41f1c26d&scoped=true&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 \"41f1c26d\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VOverlay } from 'vuetify/lib/components/VOverlay';\ninstallComponents(component, {VCard,VDialog,VOverlay})\n","module.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n"],"sourceRoot":""}