{"id":9119,"date":"2026-10-24T22:50:35","date_gmt":"2026-10-24T22:50:35","guid":{"rendered":"https:\/\/crediq.com\/hn\/?page_id=9119"},"modified":"2026-10-28T16:38:34","modified_gmt":"2026-10-28T16:38:34","slug":"micrediq","status":"publish","type":"page","link":"https:\/\/crediq.com\/hn\/micrediq\/","title":{"rendered":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!"},"content":{"rendered":"\t<div id=\"gap-1806915419\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1806915419 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<div class=\"row\"  id=\"row-951408425\">\n\n\t<div id=\"col-139671190\" class=\"col small-12 large-12\"  >\n\t\t\t\t<div class=\"col-inner text-center\"  >\n\t\t\t\n\t\t\t\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_239226631\">\n\t\t<a class=\"\" href=\"https:\/\/crediq.com\/hn\/\" >\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"2971\" height=\"842\" src=\"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ.png\" class=\"attachment-original size-original\" alt=\"\" srcset=\"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ.png 2971w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ-300x85.png 300w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ-1024x290.png 1024w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ-768x218.png 768w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ-1536x435.png 1536w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ-2048x580.png 2048w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2025\/04\/LogoCQ-600x170.png 600w\" sizes=\"auto, (max-width: 2971px) 100vw, 2971px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\t\t\n<style>\n#image_239226631 {\n  width: 40%;\n}\n@media (min-width:550px) {\n  #image_239226631 {\n    width: 24%;\n  }\n}\n<\/style>\n\t<\/div>\n\t\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_1060106957\">\n\t\t\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1640\" height=\"624\" src=\"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN.webp\" class=\"attachment-original size-original\" alt=\"\" srcset=\"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN.webp 1640w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN-300x114.webp 300w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN-1024x390.webp 1024w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN-768x292.webp 768w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN-1536x584.webp 1536w, https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN-600x228.webp 600w\" sizes=\"auto, (max-width: 1640px) 100vw, 1640px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n<style>\n#image_1060106957 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t<div id=\"gap-1535380224\" class=\"gap-element clearfix\" style=\"display:block; height:auto;\">\n\t\t\n<style>\n#gap-1535380224 {\n  padding-top: 30px;\n}\n<\/style>\n\t<\/div>\n\t\n<h1 style=\"text-align: center; font-size: 2rem;\"><strong>\u00a1Precalif\u00edcate!<\/strong><\/h1>\n<h2 style=\"text-align: center\"><strong>\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!<\/strong><\/h2>\n<div class=\"row align-center\"  id=\"row-2523128\">\n\n\t<div id=\"col-1211680640\" class=\"col medium-10 small-12 large-10\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<p>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.0.2\/dist\/js\/bootstrap.bundle.min.js\"\r\n    integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn\/tWtIaxVXM\"\r\n    crossorigin=\"anonymous\"><\/script>\r\n\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/sweetalert2@11\"><\/script>\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/inputmask@5.0.8\/dist\/jquery.inputmask.min.js\"><\/script>\r\n<script>\r\n    let segmentos = [];\r\n    let tipoDocumento = [\r\n        { CodigoElemento: \"ZIDEXT\", DescripcionElemento: \"Identificacion extranjera\", Atributo1Valor: \"SI\", Atributo2Valor: \"NO\", Atributo3Valor: \"SI\", Atributo4Valor: \"SI\" },\r\n        { CodigoElemento: \"ZRUCHN\", DescripcionElemento: \"Registro Tributario (RUC)\", Atributo1Valor: \"SI\", Atributo2Valor: \"NO\", Atributo3Valor: \"SI\", Atributo4Valor: \"SI\" },\r\n        { CodigoElemento: \"ZTI\", DescripcionElemento: \"Tarjeta de Identidad o DNI\", Atributo1Valor: \"SI\", Atributo2Valor: \"NO\", Atributo3Valor: \"SI\", Atributo4Valor: \"NO\" }\r\n    ];\r\n    let tipoPersona = [];\r\n    let tipoTransporte = [];\r\n    let tipoVehiculo = [];\r\n    let monedas = [];\r\n    let titulares = [];\r\n    var paisdesdeelqueseestanavegando = [];\r\n    let tipoTransporteElegido;\r\n    let tipoProductoElegido;\r\n    let titularTransporteElegido;\r\n    let tipoCotizacion;\r\n    let codigoCanalEngage = undefined;\r\n    var formatoDocumento = {};\r\n    var country = \"HN\";\r\n    var request_url = \"https:\/\/digital.crediq.com\/\";\r\n    var site_url = \"https:\/\/crediq.com\/\";\r\n    const monedasyrangos = [\r\n        {\r\n            codigo: \"USD\",\r\n            simbolo: \"$\",\r\n            valorMinimo: 741,\r\n            valorMaximo: 100000,\r\n            saltos: 100,\r\n        },\r\n        {\r\n            codigo: \"HNL\",\r\n            simbolo: \"L\",\r\n            valorMinimo: 18500,\r\n            valorMaximo: 2500000,\r\n            saltos: 500,\r\n        }\r\n    ];\r\n    function textIncludes(text, search) {\r\n        text = text.toUpperCase();\r\n        text = normalizeText(text);\r\n        search = search.toUpperCase();\r\n        return text.includes(search);\r\n    }\r\n\r\n    function reverseString(str) {\r\n        \/\/ Step 1. Use the split() method to return a new array\r\n        var splitString = str.split(\"\"); \/\/ var splitString = \"hello\".split(\"\");\r\n        \/\/ [\"h\", \"e\", \"l\", \"l\", \"o\"]\r\n\r\n        \/\/ Step 2. Use the reverse() method to reverse the new created array\r\n        var reverseArray = splitString.reverse(); \/\/ var reverseArray = [\"h\", \"e\", \"l\", \"l\", \"o\"].reverse();\r\n        \/\/ [\"o\", \"l\", \"l\", \"e\", \"h\"]\r\n\r\n        \/\/ Step 3. Use the join() method to join all elements of the array into a string\r\n        var joinArray = reverseArray.join(\"\"); \/\/ var joinArray = [\"o\", \"l\", \"l\", \"e\", \"h\"].join(\"\");\r\n        \/\/ \"olleh\"\r\n\r\n        \/\/Step 4. Return the reversed string\r\n        return joinArray; \/\/ \"olleh\"\r\n    }\r\n\r\n    function PutCommasInPlace(string) {\r\n        let LFPFormatted = \"\";\r\n        for (var i = 0; i < string.length; i++) {\r\n            if (i != 0) {\r\n                if (i % 3 != 0) {\r\n                    LFPFormatted += string[i];\r\n                } else {\r\n                    \/\/if i%3 == 0\r\n                    LFPFormatted += \",\" + string[i];\r\n                }\r\n            } else {\r\n                LFPFormatted += string[i];\r\n            }\r\n        }\r\n        return reverseString(LFPFormatted);\r\n    }\r\n\r\n    function AddCommasToStringWithOnePoint(parameter) {\r\n        \/\/this parameter must follow the format: '1234567.89'\r\n        \/\/the input is restricted to only allow one point\r\n        let received = \"\";\r\n        let result = \"\";\r\n        let LFPFormatted = \"\";\r\n        if (typeof parameter === \"string\") {\r\n            received = parameter;\r\n        } else {\r\n            received = parameter.toString();\r\n        }\r\n        const array = received.split(\".\");\r\n        if (array.length == 2) {\r\n            let rightFromPoint = reverseString(array[0]);\r\n            let leftFromPoint = array[1];\r\n            LFPFormatted = PutCommasInPlace(rightFromPoint);\r\n            return LFPFormatted + \".\" + leftFromPoint;\r\n        } else if (array.length == 1) {\r\n            \/\/it means theres was no point to make the split\r\n            let tmp = reverseString(array[0]);\r\n            return PutCommasInPlace(tmp) + \".00\";\r\n        }\r\n    }\r\n    function redirectPost(location, args) {\r\n        \/\/console.log(\"Sending data to SD \", args);\r\n        showLoader();\r\n        try {\r\n            var form = '';\r\n            $.each(args, function (key, value) {\r\n                value = (value !== undefined && value !== null) ? String(value) : \"\";\r\n                value = value.replace(\/\"\/g, '&quot;');\r\n                form += '<input type=\"hidden\" name=\"' + key + '\" value=\"' + value + '\">';\r\n            });\r\n            $('<form action=\"' + location + '\" method=\"POST\">' + form + '<\/form>').appendTo($(document.body)).submit();\r\n        } catch (e) {\r\n            showErrorMessage(\"No se pudo cargar la p\u00e1gina solicitada. Intente nuevamente.\");\r\n            console.log(e);\r\n        }\r\n    }\r\n    function stringToFloat(initString) {\r\n        let strToConv = initString.split(\",\");\r\n        var newString = \"\";\r\n        var numToReturn = 0.0;\r\n        if (strToConv.length > 1) {\r\n            for (var i = 0; i < strToConv.length; i++) {\r\n                newString += strToConv[i];\r\n            }\r\n            numToReturn = parseFloat(newString);\r\n            return numToReturn;\r\n        } else {\r\n            numToReturn = parseFloat(strToConv);\r\n            return numToReturn;\r\n        }\r\n    }\r\n    const restriccionesporpaises = [\r\n        {\r\n            countryman: \"SV\",\r\n            mostrarInterruptorSeguro: \"si\",\r\n            propiedadSeguroEnPeticion: \"si\",\r\n            marcaobligatoria: \"no\",\r\n            modeloobligatorio: \"no\",\r\n            factoresDeCuotas: \"si\",\r\n            requiereUsoVehiculo: \"si\",\r\n            usarGrupoSegmentoVehiculo: \"si\",\r\n            usarGrupoSegmentoMoto: \"si\",\r\n            cotizacionMotoPorPerfil: \"no\",\r\n            leyendaMontoFinanciar: \"Monto a financiar: \",\r\n            txtReclamoPt1: \"La cuota arriba mostrada es una estimaci\u00f3n con la condiciones vigentes.\",\r\n            txtReclamoPt2: \"V\u00e1lido por 30 d\u00edas. Para ver detalle de condiciones descargar el Plan. Para un plan a la medida lo invitamos a precalificarse en el bot\u00f3n \u201cPrecalificar\u201d en pantalla de descarga.\",\r\n            disclaimerSeguro: \"*El seguro de da\u00f1os ofertado es para uso personal. Para otros usos comun\u00edcate con un ejecutivo aqu\u00ed: &nbsp;<a style='text-decoration:none' href='http:\/\/wa.me\/50375428109' target='_blank'><img src='https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/images\/Iconos\/Oficial\/whatsapp_outline.png' style='max-height: 45px; margin-top: -1px;'>&nbsp;<\/a>\",\r\n        },\r\n        {\r\n            countryman: \"NI\",\r\n            mostrarInterruptorSeguro: \"no\",\r\n            propiedadSeguroEnPeticion: \"no\",\r\n            marcaobligatoria: \"no\",\r\n            modeloobligatorio: \"no\",\r\n            factoresDeCuotas: \"no\",\r\n            requiereUsoVehiculo: \"no\",\r\n            usarGrupoSegmentoVehiculo: \"si\",\r\n            usarGrupoSegmentoMoto: \"no\",\r\n            cotizacionMotoPorPerfil: \"si\",\r\n            leyendaMontoFinanciar: \"Monto a financiar: \",\r\n            txtReclamoPt1: \"La cuota arriba mostrada es una estimaci\u00f3n con la condiciones vigentes.\",\r\n            txtReclamoPt2: \"V\u00e1lido por 30 d\u00edas. Para ver detalle de condiciones descargar el Plan. Para un plan a la medida lo invitamos a precalificarse en el bot\u00f3n \u201cPrecalificar\u201d en pantalla de descarga.\",\r\n            disclaimerSeguro: \"*Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\",\r\n        },\r\n        {\r\n            countryman: \"CR\",\r\n            mostrarInterruptorSeguro: \"no\",\r\n            propiedadSeguroEnPeticion: \"no\",\r\n            marcaobligatoria: \"si\",\r\n            modeloobligatorio: \"no\",\r\n            factoresDeCuotas: \"no\",\r\n            requiereUsoVehiculo: \"si\",\r\n            usarGrupoSegmentoVehiculo: \"si\",\r\n            usarGrupoSegmentoMoto: \"si\",\r\n            cotizacionMotoPorPerfil: \"si\",\r\n            leyendaMontoFinanciar: \"Monto a financiar: \",\r\n            txtReclamoPt1: \"La cuota arriba mostrada es una estimaci\u00f3n con la condiciones vigentes.\",\r\n            txtReclamoPt2: \"V\u00e1lido por 30 d\u00edas. Para ver detalle de condiciones descargar el Plan. Para un plan a la medida lo invitamos a precalificarse en el bot\u00f3n \u201cPrecalificar\u201d en pantalla de descarga.\",\r\n            disclaimerSeguro: \"*Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\r\n        },\r\n        {\r\n            countryman: \"GT\",\r\n            mostrarInterruptorSeguro: \"no\",\r\n            propiedadSeguroEnPeticion: \"no\",\r\n            marcaobligatoria: \"si\",\r\n            modeloobligatorio: \"si\",\r\n            factoresDeCuotas: \"no\",\r\n            requiereUsoVehiculo: \"si\",\r\n            usarGrupoSegmentoVehiculo: \"si\",\r\n            usarGrupoSegmentoMoto: \"si\",\r\n            cotizacionMotoPorPerfil: \"no\",\r\n            leyendaMontoFinanciar: \"Monto a financiar: \",\r\n            txtReclamoPt1: \"La cuota arriba mostrada es una estimaci\u00f3n con la condiciones vigentes.\",\r\n            txtReclamoPt2: \"V\u00e1lido por 30 d\u00edas. Para ver detalle de condiciones descargar el Plan. Para un plan a la medida lo invitamos a precalificarse en el bot\u00f3n \u201cPrecalificar\u201d en pantalla de descarga.\",\r\n            disclaimerSeguro: \"*Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\",\r\n        },\r\n        {\r\n            countryman: \"HN\",\r\n            mostrarInterruptorSeguro: \"no\",\r\n            propiedadSeguroEnPeticion: \"no\",\r\n            marcaobligatoria: \"no\",\r\n            modeloobligatorio: \"no\",\r\n            factoresDeCuotas: \"no\",\r\n            requiereUsoVehiculo: \"si\",\r\n            usarGrupoSegmentoVehiculo: \"si\",\r\n            usarGrupoSegmentoMoto: \"si\",\r\n            cotizacionMotoPorPerfil: \"si\",\r\n            leyendaMontoFinanciar: \"Monto a financiar: \",\r\n            txtReclamoPt1: \"La cuota arriba mostrada es una estimaci\u00f3n con la condiciones vigentes.\",\r\n            txtReclamoPt2: \"V\u00e1lido por 30 d\u00edas. Para ver detalle de condiciones descargar el Plan. Para un plan a la medida lo invitamos a precalificarse en el bot\u00f3n \u201cPrecalificar\u201d en pantalla de descarga.\",\r\n            disclaimerSeguro: \"*Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\",\r\n        },\r\n    ];\r\n    paisdesdeelqueseestanavegando = restriccionesporpaises.filter(pasi => pasi.countryman == (country || \"CR\"));\r\n    var defaultDiacriticsRemovalMap = [{\r\n        'base': 'A',\r\n        'letters': \/[\\u0041\\u24B6\\uFF21\\u00C0\\u00C1\\u00C2\\u1EA6\\u1EA4\\u1EAA\\u1EA8\\u00C3\\u0100\\u0102\\u1EB0\\u1EAE\\u1EB4\\u1EB2\\u0226\\u01E0\\u00C4\\u01DE\\u1EA2\\u00C5\\u01FA\\u01CD\\u0200\\u0202\\u1EA0\\u1EAC\\u1EB6\\u1E00\\u0104\\u023A\\u2C6F]\/g\r\n    },\r\n    {\r\n        'base': 'AA',\r\n        'letters': \/[\\uA732]\/g\r\n    },\r\n    {\r\n        'base': 'AE',\r\n        'letters': \/[\\u00C6\\u01FC\\u01E2]\/g\r\n    },\r\n    {\r\n        'base': 'AO',\r\n        'letters': \/[\\uA734]\/g\r\n    },\r\n    {\r\n        'base': 'AU',\r\n        'letters': \/[\\uA736]\/g\r\n    },\r\n    {\r\n        'base': 'AV',\r\n        'letters': \/[\\uA738\\uA73A]\/g\r\n    },\r\n    {\r\n        'base': 'AY',\r\n        'letters': \/[\\uA73C]\/g\r\n    },\r\n    {\r\n        'base': 'B',\r\n        'letters': \/[\\u0042\\u24B7\\uFF22\\u1E02\\u1E04\\u1E06\\u0243\\u0182\\u0181]\/g\r\n    },\r\n    {\r\n        'base': 'C',\r\n        'letters': \/[\\u0043\\u24B8\\uFF23\\u0106\\u0108\\u010A\\u010C\\u00C7\\u1E08\\u0187\\u023B\\uA73E]\/g\r\n    },\r\n    {\r\n        'base': 'D',\r\n        'letters': \/[\\u0044\\u24B9\\uFF24\\u1E0A\\u010E\\u1E0C\\u1E10\\u1E12\\u1E0E\\u0110\\u018B\\u018A\\u0189\\uA779]\/g\r\n    },\r\n    {\r\n        'base': 'DZ',\r\n        'letters': \/[\\u01F1\\u01C4]\/g\r\n    },\r\n    {\r\n        'base': 'Dz',\r\n        'letters': \/[\\u01F2\\u01C5]\/g\r\n    },\r\n    {\r\n        'base': 'E',\r\n        'letters': \/[\\u0045\\u24BA\\uFF25\\u00C8\\u00C9\\u00CA\\u1EC0\\u1EBE\\u1EC4\\u1EC2\\u1EBC\\u0112\\u1E14\\u1E16\\u0114\\u0116\\u00CB\\u1EBA\\u011A\\u0204\\u0206\\u1EB8\\u1EC6\\u0228\\u1E1C\\u0118\\u1E18\\u1E1A\\u0190\\u018E]\/g\r\n    },\r\n    {\r\n        'base': 'F',\r\n        'letters': \/[\\u0046\\u24BB\\uFF26\\u1E1E\\u0191\\uA77B]\/g\r\n    },\r\n    {\r\n        'base': 'G',\r\n        'letters': \/[\\u0047\\u24BC\\uFF27\\u01F4\\u011C\\u1E20\\u011E\\u0120\\u01E6\\u0122\\u01E4\\u0193\\uA7A0\\uA77D\\uA77E]\/g\r\n    },\r\n    {\r\n        'base': 'H',\r\n        'letters': \/[\\u0048\\u24BD\\uFF28\\u0124\\u1E22\\u1E26\\u021E\\u1E24\\u1E28\\u1E2A\\u0126\\u2C67\\u2C75\\uA78D]\/g\r\n    },\r\n    {\r\n        'base': 'I',\r\n        'letters': \/[\\u0049\\u24BE\\uFF29\\u00CC\\u00CD\\u00CE\\u0128\\u012A\\u012C\\u0130\\u00CF\\u1E2E\\u1EC8\\u01CF\\u0208\\u020A\\u1ECA\\u012E\\u1E2C\\u0197]\/g\r\n    },\r\n    {\r\n        'base': 'J',\r\n        'letters': \/[\\u004A\\u24BF\\uFF2A\\u0134\\u0248]\/g\r\n    },\r\n    {\r\n        'base': 'K',\r\n        'letters': \/[\\u004B\\u24C0\\uFF2B\\u1E30\\u01E8\\u1E32\\u0136\\u1E34\\u0198\\u2C69\\uA740\\uA742\\uA744\\uA7A2]\/g\r\n    },\r\n    {\r\n        'base': 'L',\r\n        'letters': \/[\\u004C\\u24C1\\uFF2C\\u013F\\u0139\\u013D\\u1E36\\u1E38\\u013B\\u1E3C\\u1E3A\\u0141\\u023D\\u2C62\\u2C60\\uA748\\uA746\\uA780]\/g\r\n    },\r\n    {\r\n        'base': 'LJ',\r\n        'letters': \/[\\u01C7]\/g\r\n    },\r\n    {\r\n        'base': 'Lj',\r\n        'letters': \/[\\u01C8]\/g\r\n    },\r\n    {\r\n        'base': 'M',\r\n        'letters': \/[\\u004D\\u24C2\\uFF2D\\u1E3E\\u1E40\\u1E42\\u2C6E\\u019C]\/g\r\n    },\r\n    {\r\n        'base': 'N',\r\n        'letters': \/[\\u004E\\u24C3\\uFF2E\\u01F8\\u0143\\u00D1\\u1E44\\u0147\\u1E46\\u0145\\u1E4A\\u1E48\\u0220\\u019D\\uA790\\uA7A4]\/g\r\n    },\r\n    {\r\n        'base': 'NJ',\r\n        'letters': \/[\\u01CA]\/g\r\n    },\r\n    {\r\n        'base': 'Nj',\r\n        'letters': \/[\\u01CB]\/g\r\n    },\r\n    {\r\n        'base': 'O',\r\n        'letters': \/[\\u004F\\u24C4\\uFF2F\\u00D2\\u00D3\\u00D4\\u1ED2\\u1ED0\\u1ED6\\u1ED4\\u00D5\\u1E4C\\u022C\\u1E4E\\u014C\\u1E50\\u1E52\\u014E\\u022E\\u0230\\u00D6\\u022A\\u1ECE\\u0150\\u01D1\\u020C\\u020E\\u01A0\\u1EDC\\u1EDA\\u1EE0\\u1EDE\\u1EE2\\u1ECC\\u1ED8\\u01EA\\u01EC\\u00D8\\u01FE\\u0186\\u019F\\uA74A\\uA74C]\/g\r\n    },\r\n    {\r\n        'base': 'OI',\r\n        'letters': \/[\\u01A2]\/g\r\n    },\r\n    {\r\n        'base': 'OO',\r\n        'letters': \/[\\uA74E]\/g\r\n    },\r\n    {\r\n        'base': 'OU',\r\n        'letters': \/[\\u0222]\/g\r\n    },\r\n    {\r\n        'base': 'P',\r\n        'letters': \/[\\u0050\\u24C5\\uFF30\\u1E54\\u1E56\\u01A4\\u2C63\\uA750\\uA752\\uA754]\/g\r\n    },\r\n    {\r\n        'base': 'Q',\r\n        'letters': \/[\\u0051\\u24C6\\uFF31\\uA756\\uA758\\u024A]\/g\r\n    },\r\n    {\r\n        'base': 'R',\r\n        'letters': \/[\\u0052\\u24C7\\uFF32\\u0154\\u1E58\\u0158\\u0210\\u0212\\u1E5A\\u1E5C\\u0156\\u1E5E\\u024C\\u2C64\\uA75A\\uA7A6\\uA782]\/g\r\n    },\r\n    {\r\n        'base': 'S',\r\n        'letters': \/[\\u0053\\u24C8\\uFF33\\u1E9E\\u015A\\u1E64\\u015C\\u1E60\\u0160\\u1E66\\u1E62\\u1E68\\u0218\\u015E\\u2C7E\\uA7A8\\uA784]\/g\r\n    },\r\n    {\r\n        'base': 'T',\r\n        'letters': \/[\\u0054\\u24C9\\uFF34\\u1E6A\\u0164\\u1E6C\\u021A\\u0162\\u1E70\\u1E6E\\u0166\\u01AC\\u01AE\\u023E\\uA786]\/g\r\n    },\r\n    {\r\n        'base': 'TZ',\r\n        'letters': \/[\\uA728]\/g\r\n    },\r\n    {\r\n        'base': 'U',\r\n        'letters': \/[\\u0055\\u24CA\\uFF35\\u00D9\\u00DA\\u00DB\\u0168\\u1E78\\u016A\\u1E7A\\u016C\\u00DC\\u01DB\\u01D7\\u01D5\\u01D9\\u1EE6\\u016E\\u0170\\u01D3\\u0214\\u0216\\u01AF\\u1EEA\\u1EE8\\u1EEE\\u1EEC\\u1EF0\\u1EE4\\u1E72\\u0172\\u1E76\\u1E74\\u0244]\/g\r\n    },\r\n    {\r\n        'base': 'V',\r\n        'letters': \/[\\u0056\\u24CB\\uFF36\\u1E7C\\u1E7E\\u01B2\\uA75E\\u0245]\/g\r\n    },\r\n    {\r\n        'base': 'VY',\r\n        'letters': \/[\\uA760]\/g\r\n    },\r\n    {\r\n        'base': 'W',\r\n        'letters': \/[\\u0057\\u24CC\\uFF37\\u1E80\\u1E82\\u0174\\u1E86\\u1E84\\u1E88\\u2C72]\/g\r\n    },\r\n    {\r\n        'base': 'X',\r\n        'letters': \/[\\u0058\\u24CD\\uFF38\\u1E8A\\u1E8C]\/g\r\n    },\r\n    {\r\n        'base': 'Y',\r\n        'letters': \/[\\u0059\\u24CE\\uFF39\\u1EF2\\u00DD\\u0176\\u1EF8\\u0232\\u1E8E\\u0178\\u1EF6\\u1EF4\\u01B3\\u024E\\u1EFE]\/g\r\n    },\r\n    {\r\n        'base': 'Z',\r\n        'letters': \/[\\u005A\\u24CF\\uFF3A\\u0179\\u1E90\\u017B\\u017D\\u1E92\\u1E94\\u01B5\\u0224\\u2C7F\\u2C6B\\uA762]\/g\r\n    },\r\n    {\r\n        'base': 'a',\r\n        'letters': \/[\\u0061\\u24D0\\uFF41\\u1E9A\\u00E0\\u00E1\\u00E2\\u1EA7\\u1EA5\\u1EAB\\u1EA9\\u00E3\\u0101\\u0103\\u1EB1\\u1EAF\\u1EB5\\u1EB3\\u0227\\u01E1\\u00E4\\u01DF\\u1EA3\\u00E5\\u01FB\\u01CE\\u0201\\u0203\\u1EA1\\u1EAD\\u1EB7\\u1E01\\u0105\\u2C65\\u0250]\/g\r\n    },\r\n    {\r\n        'base': 'aa',\r\n        'letters': \/[\\uA733]\/g\r\n    },\r\n    {\r\n        'base': 'ae',\r\n        'letters': \/[\\u00E6\\u01FD\\u01E3]\/g\r\n    },\r\n    {\r\n        'base': 'ao',\r\n        'letters': \/[\\uA735]\/g\r\n    },\r\n    {\r\n        'base': 'au',\r\n        'letters': \/[\\uA737]\/g\r\n    },\r\n    {\r\n        'base': 'av',\r\n        'letters': \/[\\uA739\\uA73B]\/g\r\n    },\r\n    {\r\n        'base': 'ay',\r\n        'letters': \/[\\uA73D]\/g\r\n    },\r\n    {\r\n        'base': 'b',\r\n        'letters': \/[\\u0062\\u24D1\\uFF42\\u1E03\\u1E05\\u1E07\\u0180\\u0183\\u0253]\/g\r\n    },\r\n    {\r\n        'base': 'c',\r\n        'letters': \/[\\u0063\\u24D2\\uFF43\\u0107\\u0109\\u010B\\u010D\\u00E7\\u1E09\\u0188\\u023C\\uA73F\\u2184]\/g\r\n    },\r\n    {\r\n        'base': 'd',\r\n        'letters': \/[\\u0064\\u24D3\\uFF44\\u1E0B\\u010F\\u1E0D\\u1E11\\u1E13\\u1E0F\\u0111\\u018C\\u0256\\u0257\\uA77A]\/g\r\n    },\r\n    {\r\n        'base': 'dz',\r\n        'letters': \/[\\u01F3\\u01C6]\/g\r\n    },\r\n    {\r\n        'base': 'e',\r\n        'letters': \/[\\u0065\\u24D4\\uFF45\\u00E8\\u00E9\\u00EA\\u1EC1\\u1EBF\\u1EC5\\u1EC3\\u1EBD\\u0113\\u1E15\\u1E17\\u0115\\u0117\\u00EB\\u1EBB\\u011B\\u0205\\u0207\\u1EB9\\u1EC7\\u0229\\u1E1D\\u0119\\u1E19\\u1E1B\\u0247\\u025B\\u01DD]\/g\r\n    },\r\n    {\r\n        'base': 'f',\r\n        'letters': \/[\\u0066\\u24D5\\uFF46\\u1E1F\\u0192\\uA77C]\/g\r\n    },\r\n    {\r\n        'base': 'g',\r\n        'letters': \/[\\u0067\\u24D6\\uFF47\\u01F5\\u011D\\u1E21\\u011F\\u0121\\u01E7\\u0123\\u01E5\\u0260\\uA7A1\\u1D79\\uA77F]\/g\r\n    },\r\n    {\r\n        'base': 'h',\r\n        'letters': \/[\\u0068\\u24D7\\uFF48\\u0125\\u1E23\\u1E27\\u021F\\u1E25\\u1E29\\u1E2B\\u1E96\\u0127\\u2C68\\u2C76\\u0265]\/g\r\n    },\r\n    {\r\n        'base': 'hv',\r\n        'letters': \/[\\u0195]\/g\r\n    },\r\n    {\r\n        'base': 'i',\r\n        'letters': \/[\\u0069\\u24D8\\uFF49\\u00EC\\u00ED\\u00EE\\u0129\\u012B\\u012D\\u00EF\\u1E2F\\u1EC9\\u01D0\\u0209\\u020B\\u1ECB\\u012F\\u1E2D\\u0268\\u0131]\/g\r\n    },\r\n    {\r\n        'base': 'j',\r\n        'letters': \/[\\u006A\\u24D9\\uFF4A\\u0135\\u01F0\\u0249]\/g\r\n    },\r\n    {\r\n        'base': 'k',\r\n        'letters': \/[\\u006B\\u24DA\\uFF4B\\u1E31\\u01E9\\u1E33\\u0137\\u1E35\\u0199\\u2C6A\\uA741\\uA743\\uA745\\uA7A3]\/g\r\n    },\r\n    {\r\n        'base': 'l',\r\n        'letters': \/[\\u006C\\u24DB\\uFF4C\\u0140\\u013A\\u013E\\u1E37\\u1E39\\u013C\\u1E3D\\u1E3B\\u017F\\u0142\\u019A\\u026B\\u2C61\\uA749\\uA781\\uA747]\/g\r\n    },\r\n    {\r\n        'base': 'lj',\r\n        'letters': \/[\\u01C9]\/g\r\n    },\r\n    {\r\n        'base': 'm',\r\n        'letters': \/[\\u006D\\u24DC\\uFF4D\\u1E3F\\u1E41\\u1E43\\u0271\\u026F]\/g\r\n    },\r\n    {\r\n        'base': 'n',\r\n        'letters': \/[\\u006E\\u24DD\\uFF4E\\u01F9\\u0144\\u00F1\\u1E45\\u0148\\u1E47\\u0146\\u1E4B\\u1E49\\u019E\\u0272\\u0149\\uA791\\uA7A5]\/g\r\n    },\r\n    {\r\n        'base': 'nj',\r\n        'letters': \/[\\u01CC]\/g\r\n    },\r\n    {\r\n        'base': 'o',\r\n        'letters': \/[\\u006F\\u24DE\\uFF4F\\u00F2\\u00F3\\u00F4\\u1ED3\\u1ED1\\u1ED7\\u1ED5\\u00F5\\u1E4D\\u022D\\u1E4F\\u014D\\u1E51\\u1E53\\u014F\\u022F\\u0231\\u00F6\\u022B\\u1ECF\\u0151\\u01D2\\u020D\\u020F\\u01A1\\u1EDD\\u1EDB\\u1EE1\\u1EDF\\u1EE3\\u1ECD\\u1ED9\\u01EB\\u01ED\\u00F8\\u01FF\\u0254\\uA74B\\uA74D\\u0275]\/g\r\n    },\r\n    {\r\n        'base': 'oi',\r\n        'letters': \/[\\u01A3]\/g\r\n    },\r\n    {\r\n        'base': 'ou',\r\n        'letters': \/[\\u0223]\/g\r\n    },\r\n    {\r\n        'base': 'oo',\r\n        'letters': \/[\\uA74F]\/g\r\n    },\r\n    {\r\n        'base': 'p',\r\n        'letters': \/[\\u0070\\u24DF\\uFF50\\u1E55\\u1E57\\u01A5\\u1D7D\\uA751\\uA753\\uA755]\/g\r\n    },\r\n    {\r\n        'base': 'q',\r\n        'letters': \/[\\u0071\\u24E0\\uFF51\\u024B\\uA757\\uA759]\/g\r\n    },\r\n    {\r\n        'base': 'r',\r\n        'letters': \/[\\u0072\\u24E1\\uFF52\\u0155\\u1E59\\u0159\\u0211\\u0213\\u1E5B\\u1E5D\\u0157\\u1E5F\\u024D\\u027D\\uA75B\\uA7A7\\uA783]\/g\r\n    },\r\n    {\r\n        'base': 's',\r\n        'letters': \/[\\u0073\\u24E2\\uFF53\\u00DF\\u015B\\u1E65\\u015D\\u1E61\\u0161\\u1E67\\u1E63\\u1E69\\u0219\\u015F\\u023F\\uA7A9\\uA785\\u1E9B]\/g\r\n    },\r\n    {\r\n        'base': 't',\r\n        'letters': \/[\\u0074\\u24E3\\uFF54\\u1E6B\\u1E97\\u0165\\u1E6D\\u021B\\u0163\\u1E71\\u1E6F\\u0167\\u01AD\\u0288\\u2C66\\uA787]\/g\r\n    },\r\n    {\r\n        'base': 'tz',\r\n        'letters': \/[\\uA729]\/g\r\n    },\r\n    {\r\n        'base': 'u',\r\n        'letters': \/[\\u0075\\u24E4\\uFF55\\u00F9\\u00FA\\u00FB\\u0169\\u1E79\\u016B\\u1E7B\\u016D\\u00FC\\u01DC\\u01D8\\u01D6\\u01DA\\u1EE7\\u016F\\u0171\\u01D4\\u0215\\u0217\\u01B0\\u1EEB\\u1EE9\\u1EEF\\u1EED\\u1EF1\\u1EE5\\u1E73\\u0173\\u1E77\\u1E75\\u0289]\/g\r\n    },\r\n    {\r\n        'base': 'v',\r\n        'letters': \/[\\u0076\\u24E5\\uFF56\\u1E7D\\u1E7F\\u028B\\uA75F\\u028C]\/g\r\n    },\r\n    {\r\n        'base': 'vy',\r\n        'letters': \/[\\uA761]\/g\r\n    },\r\n    {\r\n        'base': 'w',\r\n        'letters': \/[\\u0077\\u24E6\\uFF57\\u1E81\\u1E83\\u0175\\u1E87\\u1E85\\u1E98\\u1E89\\u2C73]\/g\r\n    },\r\n    {\r\n        'base': 'x',\r\n        'letters': \/[\\u0078\\u24E7\\uFF58\\u1E8B\\u1E8D]\/g\r\n    },\r\n    {\r\n        'base': 'y',\r\n        'letters': \/[\\u0079\\u24E8\\uFF59\\u1EF3\\u00FD\\u0177\\u1EF9\\u0233\\u1E8F\\u00FF\\u1EF7\\u1E99\\u1EF5\\u01B4\\u024F\\u1EFF]\/g\r\n    },\r\n    {\r\n        'base': 'z',\r\n        'letters': \/[\\u007A\\u24E9\\uFF5A\\u017A\\u1E91\\u017C\\u017E\\u1E93\\u1E95\\u01B6\\u0225\\u0240\\u2C6C\\uA763]\/g\r\n    }\r\n    ];\r\n    function cambiarTipoVehiculo(idSelect = \"segmento\") {\r\n        let valsegmento = true;\r\n        if (paisdesdeelqueseestanavegando && paisdesdeelqueseestanavegando.length > 0) {\r\n            if (tipoCotizacion == \"MOTO\") {\r\n                valsegmento = paisdesdeelqueseestanavegando[0].usarGrupoSegmentoMoto == \"si\";\r\n            } else {\r\n                valsegmento = paisdesdeelqueseestanavegando[0].usarGrupoSegmentoVehiculo == \"si\";\r\n            }\r\n        }\r\n        getSegmentos(valsegmento).then((d) => {\r\n            let segmentoDefecto = getDefaultValue(segmentos);\r\n            llenarSelectCatalogosGenericos(idSelect, segmentos, segmentoDefecto, \"Seleccione un segmento\");\r\n        }).catch(error => {\r\n            console.log(error);\r\n            if (typeof precalificadorInitFailedHandler === \"function\") {\r\n                return precalificadorInitFailedHandler();\r\n            }\r\n        });\r\n    }\r\n    function getDefaultValue(arreglo) {\r\n        let variableDefecto = null;\r\n        $.each(arreglo, function (i, val) {\r\n            if (\r\n                (val.Atributo1Nombre.toLocaleLowerCase().indexOf(\"defecto\") > 0 &&\r\n                    val.Atributo1Valor == \"SI\") ||\r\n                (val.Atributo2Nombre.toLocaleLowerCase().indexOf(\"defecto\") > 0 &&\r\n                    val.Atributo2Valor == \"SI\") ||\r\n                (val.Atributo3Nombre.toLocaleLowerCase().indexOf(\"defecto\") > 0 &&\r\n                    val.Atributo3Valor == \"SI\")\r\n            ) {\r\n                variableDefecto = val.CodigoElemento;\r\n            }\r\n        });\r\n        return variableDefecto;\r\n    }\r\n\r\n\r\n    var formatosDocumentos = [{\r\n        codigoEngage: \"ZCRESV\",\r\n        pais: \"SV\",\r\n        nombre: \"Carnet de Residente\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZDUI\",\r\n        pais: \"SV\",\r\n        nombre: \"DUI\",\r\n        inputMask: \"99999999-9\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZNIT\",\r\n        pais: \"SV\",\r\n        nombre: \"NIT\",\r\n        inputMask: \"9999-999999-999-9\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZPASSV\",\r\n        pais: \"SV\",\r\n        nombre: \"Pasaporte (Clientes El Salvador)\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZREGSV\",\r\n        pais: \"SV\",\r\n        nombre: \"Registro Fiscal\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZCNNI\",\r\n        pais: \"NI\",\r\n        nombre: \"C\u00e9dula NI\",\r\n        inputMask: \"9999999999999a\",\r\n        funcionValidadora: function (nroDocumento) {\r\n            try {\r\n                const VALID_CHARS = \"ABCDEFGHJKLMNPQRSTUVWXY\";\r\n                const MOD_ARGUMENT_TOKEN = 23;\r\n                nroDocumento = nroDocumento\r\n                    .trim()\r\n                    .replaceAll(\"_\", \"\")\r\n                    .replaceAll(\"-\", \"\");\r\n\r\n                if (nroDocumento.length != 14) {\r\n                    return false;\r\n                }\r\n                const numericPart = nroDocumento.substring(0, 13);\r\n                const stringPart = nroDocumento.substring(13, 14);\r\n\r\n                if (!isNaN(stringPart)) return false;\r\n\r\n                if (isNaN(numericPart)) return false;\r\n\r\n                let modArgument =\r\n                    parseFloat(numericPart) -\r\n                    Math.floor(parseFloat(numericPart) \/ MOD_ARGUMENT_TOKEN) *\r\n                    MOD_ARGUMENT_TOKEN;\r\n\r\n                if (modArgument >= 0 && modArgument <= 22) {\r\n                    const formedId =\r\n                        numericPart + VALID_CHARS.substring(modArgument, modArgument + 1);\r\n                    if (nroDocumento.toUpperCase() == formedId) {\r\n                        return true;\r\n                    }\r\n                }\r\n            } catch (e) {\r\n                console.log(e);\r\n            }\r\n            return false;\r\n        },\r\n    },\r\n    {\r\n        codigoEngage: \"ZCRENI\",\r\n        pais: \"NI\",\r\n        nombre: \"C\u00e9dula de Residencia NI\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZPASNI\",\r\n        pais: \"NI\",\r\n        nombre: \"Pasaporte (Clientes Nicaragua)\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZRUC\",\r\n        pais: \"NI\",\r\n        nombre: \"Registro Unico de Contribuyente\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZCRECR\",\r\n        pais: \"CR\",\r\n        nombre: \"C\u00e9dula de Residente - CR\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZDIMEX\",\r\n        pais: \"CR\",\r\n        nombre: \"Dimex\",\r\n        inputMask: \"999999999999\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZNITE\",\r\n        pais: \"CR\",\r\n        nombre: \"Nite\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZCN\",\r\n        pais: \"CR\",\r\n        nombre: \"C\u00e9dula Natural\",\r\n        inputMask: \"999999999\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZPASCR\",\r\n        pais: \"CR\",\r\n        nombre: \"Pasaporte (Clientes Costa Rica)\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZCJ\",\r\n        pais: \"CR\",\r\n        nombre: \"C\u00e9dula Jur\u00eddica\",\r\n        inputMask: \"9999999999\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZIDEXT\",\r\n        pais: \"HN\",\r\n        nombre: \"Identificacion extranjera\",\r\n        inputMask: \"\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZRUCHN\",\r\n        pais: \"HN\",\r\n        nombre: \"Registro Tributario (RUC)\",\r\n        inputMask: \"99999999999999\",\r\n    },\r\n    {\r\n        codigoEngage: \"ZTI\",\r\n        pais: \"HN\",\r\n        nombre: \"Tarjeta de Identidad o DNI\",\r\n        inputMask: \"9999-9999-99999\",\r\n    },\r\n    ];\r\n\r\n    function doCotizadorRequest(\r\n        data,\r\n        showErrors = true,\r\n        serviceErrorHeader = \"Se ha producido un error\"\r\n    ) {\r\n        if (\r\n            codigoCanalEngage != undefined &&\r\n            codigoCanalEngage != null &&\r\n            codigoCanalEngage != \"\"\r\n        ) {\r\n            data[\"canal\"] = codigoCanalEngage;\r\n        }\r\n        return new Promise(function (resolve, reject) {\r\n            try {\r\n                $.ajax({\r\n                    url: request_url + \"wp-content\/themes\/digitaltheme\/commons\/cotizadorRequestHandler.php\",\r\n                    type: \"POST\",\r\n                    data: data,\r\n                    beforeSend: function () {\r\n                        showLoader();\r\n                    },\r\n                    success: function (response) {\r\n                        if (response.succeed == \"true\" || response.succeed) {\r\n                            resolve(response);\r\n                        } else {\r\n                            let error =\r\n                                response.error != undefined && response.error.message != undefined ?\r\n                                    response.error.message :\r\n                                    response.error != undefined ?\r\n                                        response.error :\r\n                                        \"Ha ocurrido un error al obtener los datos.\";\r\n                            if (showErrors) {\r\n                                \/\/showErrorMessage(error, serviceErrorHeader);\r\n                                error = \"<span style='font-size: 16px'>\" + error + \"<\/span>\";\r\n                                showErrorMessage(error, \"\");\r\n                            }\r\n                            reject(error);\r\n                        }\r\n                    },\r\n                    error: function (error) {\r\n                        if (showErrors) {\r\n                            showErrorMessage(\r\n                                \"<span style='font-size: 16px'>Ha ocurrido un error al consultar los datos.<\/span>\",\r\n                                \"\"\r\n                            );\r\n                        }\r\n                        reject(error);\r\n                    },\r\n                    complete: function (response) {\r\n                        hideLoader();\r\n                    },\r\n                });\r\n            } catch (e) {\r\n                if (showErrors) {\r\n                    showErrorMessage(\r\n                        \"<span style='font-size: 16px'>Ha ocurrido un error. Contacte con soporte.<\/span>\",\r\n                        \"\"\r\n                    );\r\n                }\r\n                reject(e);\r\n            }\r\n        });\r\n    }\r\n    function getOrigenComercial() {\r\n        let codigoCatalogo = \"ORIGEN_COMERCIAL\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            \/\/ Origen comercial predeterminado para Honduras: Z54 (Q360 MKT - HN)\r\n            localStorage.setItem('origen', 'Z54');\r\n        });\r\n    }\r\n\r\n    function showLoader() {\r\n        $(\"#cq-loader\").removeClass(\"hidden\");\r\n    }\r\n\r\n    function hideLoader() {\r\n        $(\"#cq-loader\").addClass(\"hidden\");\r\n    }\r\n    function showWarningMessage(message, title = \"Atenci\u00f3n\") {\r\n        hideLoader();\r\n        Swal.fire({\r\n            icon: \"warning\",\r\n            title: title,\r\n            html: message,\r\n        });\r\n    }\r\n\r\n    function showErrorMessage(message, title = \"Oops...\") {\r\n        hideLoader();\r\n        return Swal.fire({\r\n            icon: \"error\",\r\n            title: title,\r\n            html: message,\r\n        });\r\n    }\r\n\r\n    function showSuccessMessage(message, title = \"\u00c9xito\") {\r\n        hideLoader();\r\n        return Swal.fire({\r\n            icon: \"success\",\r\n            title: title,\r\n            html: message,\r\n        });\r\n    }\r\n\r\n\r\n\r\n\r\n    function checkCountry() {\r\n        let path = window.location.pathname;\r\n        let match = path.match(\/\\\/([^\/]+)\/);\r\n        let countryPath = match && match[1] ? match[1].toLowerCase() : \"hn\";\r\n\r\n        if (countryPath == \"sv\" || countryPath == \"hn\" || countryPath == \"gt\" || countryPath == \"ni\" || countryPath == \"cr\") {\r\n            countryPath = countryPath.toLocaleUpperCase();\r\n        } else {\r\n            countryPath = \"HN\";\r\n        }\r\n\r\n        country = \"HN\";\r\n    }\r\n\r\n    function precalificadorInitFailedHandler() {\r\n        \/\/ console.log(\"init failed\");\r\n        showErrorMessage(\"<span style='font-size: 16px'>Estimado cliente, no se ha podido iniciar el servicio de cotizaci\u00f3n, por favor intente nuevamente.<\/span>\", \"\")\r\n        return false;\r\n    }\r\n\r\n    function cargarCatalogosPrecalificado() {\r\n\r\n        getTipoPersona().then((d) => {\r\n            getDocumentos().then((d) => {\r\n                getTransportes().then((d) => {\r\n                    getMonedas().then((d) => {\r\n                        let monedaDefecto = getDefaultValue(monedas) || \"USD\";\r\n                        llenarSelectCatalogosGenericos(\"monedaIngresos\", monedas, monedaDefecto, \"Seleccione una moneda\", true, false);\r\n                        let codigomoneda = $(\"#monedaIngresos\").val() || \"USD\";\r\n                        let objres = monedasyrangos.filter(obj => obj.codigo == codigomoneda);\r\n                        simboloMoneda = (objres && objres.length > 0) ? objres[0].simbolo : \"$\";\r\n                        $(\".simbolomonedacaja\").html(simboloMoneda);\r\n                        if (codigomoneda === \"HNL\") {\r\n                            $(\"#ingresos\").attr(\"placeholder\", \"18,500\").attr(\"title\", \"Ingreso m\u00ednimo mensual: L18,500 (Lempiras)\");\r\n                            $(\"#ingresosContainer\").attr(\"title\", \"Ingreso m\u00ednimo mensual: L18,500 (Lempiras)\");\r\n                            $(\".ingresos-helper\").text(\"Ingreso m\u00ednimo mensual: L18,500 (Lempiras)\");\r\n                        } else {\r\n                            $(\"#ingresos\").attr(\"placeholder\", \"741\").attr(\"title\", \"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\");\r\n                            $(\"#ingresosContainer\").attr(\"title\", \"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\");\r\n                            $(\".ingresos-helper\").text(\"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\");\r\n                        }\r\n                        if (monedas.length > 1) {\r\n                            $(\"#contenedorSelectDivisa\").removeClass(\"hidden\");\r\n                            $(\"#contenedorSelectMoneda\").addClass(\"col large-6\");\r\n                        }\r\n\r\n                        getSegmentos().then((d) => {\r\n                            let segmentoDefecto = getDefaultValue(segmentos) || \"HN01\";\r\n                            llenarSelectCatalogosGenericos(\"segmento\", segmentos, segmentoDefecto, \"Seleccione un segmento\");\r\n                            getTitulares().then((d) => {\r\n                                getTipoProductos().then((d) => {\r\n\r\n                                    \/*\r\n                                    CODIGO PARA HABILITAR LOS RADIO BUTTON DE LOS TIPOS DE COTIZACION\r\n                                    *\/\r\n                                    let sectionT = document.title;\r\n                                    var textS = sectionT.split(\"-\");\r\n                                    var titlesection = textS[0].trim().toLowerCase();\r\n\r\n                                    let motos = false;\r\n                                    let vehiculos = false;\r\n                                    let titularNuevos = \"\";\r\n                                    let titularUsados = \"\";\r\n                                    let codigoTransporteMotos;\r\n                                    let codigoTransporteVehiculos;\r\n                                    for (let t of tipoTransporte) {\r\n                                        if (textIncludes(t.DescripcionElemento, \"Vehiculo\")) {\r\n                                            vehiculos = true;\r\n                                            codigoTransporteVehiculos = t.CodigoElemento;\r\n                                        }\r\n                                        if (textIncludes(t.DescripcionElemento, \"Moto\")) {\r\n                                            motos = true;\r\n                                            codigoTransporteMotos = t.CodigoElemento;\r\n                                        }\r\n                                    };\r\n                                    for (let t of titulares) {\r\n                                        if (t.CodigoElemento == \"GRUPOQ\") {\r\n                                            titularNuevos = t.CodigoElemento;\r\n                                        }\r\n                                        if (t.CodigoElemento == \"TERCEROS\") {\r\n                                            titularUsados = t.CodigoElemento;\r\n                                        }\r\n                                    };\r\n                                    for (let p of tipoProducto) {\r\n                                        \/\/ console.log(\"tran\", motos);\r\n                                        if (motos) {\r\n                                            if (textIncludes(p.DescripcionElemento, \"Nuevo\") && titularNuevos != \"\") {\r\n                                                $(\"#cot_radio3\").parent().removeClass(\"hidden\");\r\n                                                $(\"#cot_radio3\").attr(\"data-transporte\", codigoTransporteMotos);\r\n                                                $(\"#cot_radio3\").attr(\"data-producto\", p.CodigoElemento);\r\n                                                $(\"#cot_radio3\").attr(\"data-titular\", titularNuevos);\r\n                                            }\r\n                                        }\r\n                                        if (vehiculos) {\r\n                                            if (textIncludes(p.DescripcionElemento, \"Nuevo\") && titularNuevos != \"\") {\r\n                                                $(\"#cot_radio1\").parent().removeClass(\"hidden\");\r\n                                                $(\"#cot_radio1\").attr(\"data-transporte\", codigoTransporteVehiculos);\r\n                                                $(\"#cot_radio1\").attr(\"data-producto\", p.CodigoElemento);\r\n                                                $(\"#cot_radio1\").attr(\"data-titular\", titularNuevos);\r\n                                            }\r\n                                            if (textIncludes(p.DescripcionElemento, \"Usado\") && titularUsados != \"\") {\r\n                                                $(\"#cot_radio2\").parent().removeClass(\"hidden\");\r\n                                                $(\"#cot_radio2\").attr(\"data-transporte\", codigoTransporteVehiculos);\r\n                                                $(\"#cot_radio2\").attr(\"data-producto\", p.CodigoElemento);\r\n                                                $(\"#cot_radio2\").attr(\"data-titular\", titularUsados);\r\n                                            }\r\n                                        }\r\n                                    };\r\n\r\n\r\n\r\n                                    $('input[name=\"cot_radio\"]').on(\"change\", function () {\r\n                                        $('input[name=\"cot_radio\"]').parent().find('label').removeClass(\"active\");\r\n                                        $(this).parent().find('label').addClass(\"active\");\r\n                                        tipoTransporteElegido = $(this).attr(\"data-transporte\");\r\n                                        tipoProductoElegido = $(this).attr(\"data-producto\");\r\n                                        titularTransporteElegido = $(this).attr(\"data-titular\");\r\n                                        tipoCotizacion = $(this).val();\r\n                                        paisdesdeelqueseestanavegando = restriccionesporpaises.filter(pasi => pasi.countryman == country);\r\n                                        cambiarTipoVehiculo(\"segmento\");\r\n                                    });\r\n                                    $(\".cuadricula-nuevo-usado:not(hidden)\").first().find(\"input[name='cot_radio']\").click();\r\n                                    $(\"#tipoDocumento\").on(\"change\", function (e) {\r\n                                        $(\"#ndocumento\").val(\"\");\r\n                                        Inputmask.remove(document.getElementById(\"ndocumento\"));\r\n                                        let tipoDocumento = $(this).val();\r\n                                        let formato = formatosDocumentos.filter(f => f.codigoEngage == tipoDocumento);\r\n                                        formatoDocumento = formato.length > 0 ? formato[0] : {};\r\n                                        if (formatoDocumento != undefined && formatoDocumento != null && formatoDocumento != {}) {\r\n                                            let mask = formatoDocumento.inputMask;\r\n                                            if (mask != undefined && mask != null && mask != \"\") {\r\n                                                Inputmask(mask).mask(document.getElementById(\"ndocumento\"));\r\n                                            }\r\n                                        }\r\n                                        if (typeof checkFormValidity === \"function\") {\r\n                                            checkFormValidity();\r\n                                        }\r\n                                    });\r\n\r\n                                    \/\/ Ocultar siempre la seleccion de vehiculo y forzar Auto nuevo activo\r\n                                    $(\"#tipVehiculos\").addClass(\"hidden\").hide();\r\n                                    $(\"#cot_radio1\").prop(\"checked\", true);\r\n                                    paisdesdeelqueseestanavegando = restriccionesporpaises.filter(pasi => pasi.countryman == country);\r\n                                    tipoTransporteElegido = $(\"#cot_radio1\").attr(\"data-transporte\") || 1;\r\n                                    tipoProductoElegido = $(\"#cot_radio1\").attr(\"data-producto\") || 1;\r\n                                    titularTransporteElegido = $(\"#cot_radio1\").attr(\"data-titular\") || \"GRUPOQ\";\r\n                                    tipoCotizacion = \"AUTO_NUEVO\";\r\n\r\n                                    cambiarTipoVehiculo(\"segmento\");\r\n                                    $(\"#segmento\").change();\r\n                                    if (typeof checkFormValidity === \"function\") {\r\n                                        checkFormValidity();\r\n                                    }\r\n                                }).catch(error => {\r\n                                    console.log(error);\r\n                                    return precalificadorInitFailedHandler();\r\n                                });\r\n                            }).catch(error => {\r\n                                console.log(error);\r\n                                return precalificadorInitFailedHandler();\r\n                            });\r\n                        }).catch(error => {\r\n                            console.log(error);\r\n                            return precalificadorInitFailedHandler();\r\n                        });\r\n                    }).catch(error => {\r\n                        console.log(error);\r\n                        return precalificadorInitFailedHandler();\r\n                    });\r\n                }).catch(error => {\r\n                    console.log(error);\r\n                    return precalificadorInitFailedHandler();\r\n                });\r\n            }).catch(error => {\r\n                console.log(error);\r\n                return precalificadorInitFailedHandler();\r\n            });\r\n        }).catch(error => {\r\n            console.log(error);\r\n            return precalificadorInitFailedHandler();\r\n        });\r\n\r\n    }\r\n    function othercolors() {\r\n        let renting = document.title;\r\n        var text = renting.split(\"-\");\r\n        var titler = text[0].trim().toLowerCase();\r\n        if (titler == \"renting\") {\r\n            $(\".terminos-condiciones\").css(\"background\", \"#ebebeb\");\r\n            $(\"#tipoDocumento\").css(\"background\", \"#fff\");\r\n            $(\"#ingresosContainer\").css(\"background\", \"#fff\");\r\n            $(\"#ingresosContainer\").css(\"color\", \"#8a8888\");\r\n            $(\"#segmento\").css(\"background\", \"#fff\");\r\n            $(\"#monedaIngresos\").css(\"background\", \"#fff\");\r\n        }\r\n    }\r\n    country = \"HN\";\r\n    function obtenerTerminos(country) {\r\n        let pais = country ? country.toUpperCase() : \"HN\";\r\n        let terminos = `<p style=\"margin: 0 0 8px 0;\">A trav\u00e9s de este canal, usted solicita a CrediQ, S.A. (en adelante, \u201cCREDIQ\u201d) una precalificaci\u00f3n como sujeto de cr\u00e9dito. Para ello, es necesario que proporcione los datos personales requeridos en esta plataforma.<\/p><p style=\"margin: 0 0 8px 0;\">Al ingresar sus datos personales y seleccionar la opci\u00f3n \u201cAcepto\u201d, usted declara y garantiza a CREDIQ que es el titular de la informaci\u00f3n proporcionada, que los datos son veraces, exactos y se encuentran actualizados. Asimismo, manifiesta haber le\u00eddo y aceptado los t\u00e9rminos, condiciones y pol\u00edticas de privacidad de la plataforma y de CREDIQ.<\/p><p style=\"margin: 0 0 8px 0;\">En consecuencia, al hacer clic en \u201cAcepto\u201d, usted autoriza y otorga su consentimiento expreso a CREDIQ para recopilar, almacenar y tratar los datos personales proporcionados, para verificar mi Central de Informaci\u00f3n Crediticia (CIC) y bur\u00f3s de cr\u00e9dito privados cuando lo estime conveniente, de manera que permita determinar su elegibilidad para optar a una oferta de financiamiento por parte de CREDIQ.<\/p><p style=\"margin: 0 0 8px 0;\">Cualquier oferta de financiamiento estar\u00e1 sujeta a la verificaci\u00f3n de su identidad y a la validaci\u00f3n de la veracidad de la informaci\u00f3n suministrada y recopilada por CREDIQ.<\/p><p style=\"margin: 0 0 8px 0;\">CREDIQ se compromete a no compartir sus datos personales con terceros, salvo en los casos permitidos por la legislaci\u00f3n aplicable o cuando sea necesario para la prestaci\u00f3n de sus servicios. Asimismo, en caso de que usted califique y decida continuar con el proceso de aprobaci\u00f3n del financiamiento, acepta suscribir, de forma f\u00edsica o electr\u00f3nica, la autorizaci\u00f3n correspondiente para la consulta de su historial crediticio.<\/p><p style=\"margin: 0;\">Adicionalmente, usted autoriza a CREDIQ a utilizar sus datos personales para enviarle informaci\u00f3n, promociones y ofertas relacionadas con sus productos y servicios, de conformidad con las pol\u00edticas de privacidad vigentes.<\/p>`;\r\n        this.terminos = terminos;\r\n        return terminos;\r\n    }\r\n\r\n    function checkFormValidity() {\r\n        const nombre = $(\"#nombrePreaprobacion\").val() ? $(\"#nombrePreaprobacion\").val().trim() : \"\";\r\n        const apellido = $(\"#apellidoPreaprobacion\").val() ? $(\"#apellidoPreaprobacion\").val().trim() : \"\";\r\n        const correo = $(\"#correoPreaprobacion\").val() ? $(\"#correoPreaprobacion\").val().trim() : \"\";\r\n        const telefono = $(\"#telefonoPreaprobacion\").val() ? $(\"#telefonoPreaprobacion\").val().trim() : \"\";\r\n        const emailReg = \/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$\/;\r\n        const segmento = $(\"#segmento\").val();\r\n        const ingresos = $(\"#ingresos\").val() ? stringToFloat($(\"#ingresos\").val()) : 0;\r\n        const tipoDoc = $(\"#tipoDocumento\").val();\r\n        const numDoc = $(\"#ndocumento\").val() ? $(\"#ndocumento\").val().trim() : \"\";\r\n        const terminos = $(\"#aceptarTerminosToggle\").prop(\"checked\");\r\n        const moneda = $(\"#monedaIngresos\").val() || \"USD\";\r\n        const minReq = (moneda === \"HNL\") ? 18500 : 741;\r\n\r\n        let isFilled = false;\r\n        if ($(\"#precalificado\").prop(\"checked\")) {\r\n            isFilled = (\r\n                nombre.length >= 3 &&\r\n                apellido.length >= 3 &&\r\n                emailReg.test(correo) &&\r\n                telefono.length === 8 &&\r\n                segmento && segmento !== \"\" && segmento !== \"0\" &&\r\n                !isNaN(ingresos) && ingresos >= minReq &&\r\n                tipoDoc && tipoDoc !== \"\" && tipoDoc !== \"0\" &&\r\n                numDoc.length > 0 &&\r\n                terminos\r\n            );\r\n        } else {\r\n            isFilled = (\r\n                nombre.length >= 3 &&\r\n                apellido.length >= 3 &&\r\n                emailReg.test(correo) &&\r\n                telefono.length === 8 &&\r\n                terminos\r\n            );\r\n        }\r\n\r\n        const $btn = $(\".btn-solicitud\");\r\n        if (isFilled) {\r\n            $btn.prop(\"disabled\", false).removeClass(\"btn-disabled\").addClass(\"btn-active\");\r\n        } else {\r\n            $btn.prop(\"disabled\", true).addClass(\"btn-disabled\").removeClass(\"btn-active\");\r\n        }\r\n        return isFilled;\r\n    }\r\n\r\n    $(document).ready(function () {\r\n        checkCountry();\r\n        country = \"HN\";\r\n        localStorage.setItem(\"current_country\", \"HN\");\r\n        localStorage.setItem(\"origen\", \"Z54\");\r\n        paisdesdeelqueseestanavegando = restriccionesporpaises.filter(pasi => pasi.countryman == \"HN\");\r\n        if (!paisdesdeelqueseestanavegando || paisdesdeelqueseestanavegando.length == 0) {\r\n            paisdesdeelqueseestanavegando = restriccionesporpaises.filter(pasi => pasi.countryman == \"HN\");\r\n        }\r\n        othercolors();\r\n\r\n        let terminosContenido = obtenerTerminos(country);\r\n        $(\".terminos-condiciones label, .terminos-texto\").html(terminosContenido);\r\n\r\n        \/\/ Inicializar siempre con el modo precalificado activo\r\n        $(\"#precalificado\").prop('checked', true);\r\n        $(\"#content-calificador\").removeClass(\"hidden\").show();\r\n        $(\".btn-solicitud\").attr(\"id\", \"precalificarBtn\");\r\n\r\n        \/\/ Ocultar siempre la seleccion de tipo de vehiculo, pero forzar Auto Nuevo activo\r\n        $(\"#tipVehiculos\").addClass(\"hidden\").hide();\r\n        $(\"#cot_radio1\").prop(\"checked\", true);\r\n        tipoCotizacion = \"AUTO_NUEVO\";\r\n        tipoTransporteElegido = 1;\r\n        tipoProductoElegido = 1;\r\n        titularTransporteElegido = \"GRUPOQ\";\r\n\r\n        \/\/ Cargar catalogos para precalificacion inmediatamente\r\n        cargarCatalogosPrecalificado();\r\n\r\n        \/\/ Validacion y habilitacion del boton en tiempo real\r\n        $(document).on(\"input change keyup blur\", \"#nombrePreaprobacion, #apellidoPreaprobacion, #correoPreaprobacion, #telefonoPreaprobacion, #segmento, #monedaIngresos, #ingresos, #tipoDocumento, #ndocumento, #aceptarTerminosToggle, #precalificado\", function () {\r\n            checkFormValidity();\r\n        });\r\n\r\n        \/\/ Asegurar estado inicial del boton (deshabilitado hasta completar formulario)\r\n        checkFormValidity();\r\n\r\n        $(\"#segmento\").on(\"change\", function (e) {\r\n            actualizarDocumentosAdmitidosPorSegmento($(this).val());\r\n            $(\"#tipoDocumento\").change();\r\n            checkFormValidity();\r\n        });\r\n\r\n        $(\"#precalificado\").on('change', function () {\r\n            \/\/ Forzar que siempre se mantenga activo\r\n            $(this).prop(\"checked\", true);\r\n            $(\"#content-calificador\").removeClass(\"hidden\").show();\r\n            $(\".btn-solicitud\").attr(\"id\", \"precalificarBtn\");\r\n            checkFormValidity();\r\n        });\r\n\r\n        $(\"#cpcsa_limpiar_btn\").on(\"click\", function () {\r\n            resetFormPrecalificado();\r\n            checkFormValidity();\r\n        });\r\n\r\n        $(\"#monedaIngresos\").on(\"change\", function (e) {\r\n            let codigomoneda = $(this).val();\r\n            let objres = monedasyrangos.filter(obj => obj.codigo == codigomoneda);\r\n            if (objres && objres.length > 0) {\r\n                simboloMoneda = objres[0].simbolo;\r\n                $(\".simbolomonedacaja\").html(objres[0].simbolo);\r\n            }\r\n            if (codigomoneda === \"HNL\") {\r\n                $(\"#ingresos\").attr(\"placeholder\", \"18,500\").attr(\"title\", \"Ingreso m\u00ednimo mensual: L18,500 (Lempiras)\");\r\n                $(\"#ingresosContainer\").attr(\"title\", \"Ingreso m\u00ednimo mensual: L18,500 (Lempiras)\");\r\n                $(\".ingresos-helper\").text(\"Ingreso m\u00ednimo mensual: L18,500 (Lempiras)\");\r\n            } else {\r\n                $(\"#ingresos\").attr(\"placeholder\", \"741\").attr(\"title\", \"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\");\r\n                $(\"#ingresosContainer\").attr(\"title\", \"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\");\r\n                $(\".ingresos-helper\").text(\"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\");\r\n            }\r\n            checkFormValidity();\r\n        });\r\n\r\n        $(\"#cot_radio1\").on(\"click\", function () {\r\n            $(\"#label_nuevousado1\").css({ \"background-color\": \"#196ab8\", \"color\": \"#ffffff\" });\r\n            $(\"#label_nuevousado2\").css({ \"background-color\": \"#ffffff\", \"color\": \"#696969\" });\r\n            $(\"#label_nuevousado3\").css({ \"background-color\": \"#ffffff\", \"color\": \"#696969\" });\r\n        });\r\n        $(\"#cot_radio2\").on(\"click\", function () {\r\n            $(\"#label_nuevousado2\").css({ \"background-color\": \"#196ab8\", \"color\": \"#ffffff\" });\r\n            $(\"#label_nuevousado1\").css({ \"background-color\": \"#ffffff\", \"color\": \"#696969\" });\r\n            $(\"#label_nuevousado3\").css({ \"background-color\": \"#ffffff\", \"color\": \"#696969\" });\r\n        });\r\n        $(\"#cot_radio3\").on(\"click\", function () {\r\n            $(\"#label_nuevousado3\").css({ \"background-color\": \"#196ab8\", \"color\": \"#ffffff\" });\r\n            $(\"#label_nuevousado1\").css({ \"background-color\": \"#ffffff\", \"color\": \"#696969\" });\r\n            $(\"#label_nuevousado2\").css({ \"background-color\": \"#ffffff\", \"color\": \"#696969\" });\r\n        });\r\n    });\r\n    function getTitulares() {\r\n        let codigoCatalogo = \"TITULAR_VEHICULO\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            titulares = d.data;\r\n        });\r\n    }\r\n    function getMonedas() {\r\n        let codigoCatalogo = \"MONEDA\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            monedas = d.data;\r\n        });\r\n    }\r\n\r\n    function getTipoVehiculos() {\r\n        let codigoCatalogo = \"TIPO_VEHICULO\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            tipoVehiculo = d.data;\r\n        });\r\n    }\r\n\r\n    function getTransportes() {\r\n        let codigoCatalogo = \"TIPO_TRANSPORTE\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            tipoTransporte = d.data;\r\n        });\r\n    }\r\n    function getTipoProductos() {\r\n        let codigoCatalogo = \"TIPO_PRODUCTO\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            tipoProducto = d.data;\r\n        });\r\n    }\r\n    function getDocumentos() {\r\n        let codigoCatalogo = \"TIPO_DOCUMENTO\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            tipoDocumento = d.data.filter((doc) => doc.Atributo3Valor == \"SI\");\r\n            \/\/no trae el atributo necesario... :)\r\n            \/\/let documentoDefecto = getDefaultValue(tipoDocumento);\r\n        });\r\n    }\r\n    function getTipoProductos() {\r\n        let codigoCatalogo = \"TIPO_PRODUCTO\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            tipoProducto = d.data;\r\n        });\r\n    }\r\n    function getTipoPersona() {\r\n        let codigoCatalogo = \"TIPO_PERSONA\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country,\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            tipoPersona = d.data;\r\n        });\r\n    }\r\n    function getSegmentos(usarGrupoSegmento = true) {\r\n        let codigoCatalogo;\r\n        codigoCatalogo = usarGrupoSegmento ? \"GRUPO_SEGMENTO\" : \"SEGMENTO\";\r\n        let data = {\r\n            method: \"consultar_catalogo\",\r\n            pais: country || \"SV\",\r\n            catalogo: codigoCatalogo,\r\n        };\r\n        return doCotizadorRequest(data).then((d) => {\r\n            segmentos = d.data;\r\n        });\r\n    }\r\n    function llenarSelectCatalogosGenericos(\r\n        identificador,\r\n        arreglo,\r\n        valorDefecto = null,\r\n        textoDefecto = \"Seleccione una opci\u00f3n\",\r\n        usarCodigoEnLugarDeDescripcion = false,\r\n        mostrarTextoDefecto = true,\r\n        nullable = false\r\n    ) {\r\n\r\n        let html = \"\";\r\n        if (mostrarTextoDefecto) {\r\n            html += \"<option selected='selected' \";\r\n            if (!nullable) {\r\n                html += \"disabled='disabled'\";\r\n            }\r\n            html += \" value=''>\" + textoDefecto + \"<\/option>\";\r\n        }\r\n        if (arreglo.length > 0) {\r\n            $.each(arreglo, function (i, val) {\r\n                let codigo = val.CodigoElemento;\r\n                let descripcion = usarCodigoEnLugarDeDescripcion ?\r\n                    codigo :\r\n                    val.DescripcionElemento;\r\n                let option =\r\n                    \"<option value='\" + codigo + \"'>\" + descripcion + \"<\/option>\";\r\n                html += option;\r\n            });\r\n        } else {\r\n            html =\r\n                \"<option selected='selected' disabled='disabled'>No hay opciones disponibles<\/option>\";\r\n        }\r\n        $(\"#\" + identificador).html(html);\r\n        if (valorDefecto != null) {\r\n            $(\"#\" + identificador).val(valorDefecto);\r\n        }\r\n    }\r\n\r\n    function normalizeText(str) {\r\n        var changes;\r\n        if (!changes) {\r\n            changes = defaultDiacriticsRemovalMap;\r\n        }\r\n        for (var i = 0; i < changes.length; i++) {\r\n            str = str.replace(changes[i].letters, changes[i].base);\r\n        }\r\n        return str;\r\n    }\r\n    function actualizarDocumentosAdmitidosPorSegmento(codigoSegmento) {\r\n        let actualValue = $(\"#tipoDocumento\").val();\r\n        let segList = segmentos.filter((d) => d.CodigoElemento == codigoSegmento);\r\n        let tipoPersonaQueAplica = \"Natural\";\r\n        if (segList && segList.length > 0) {\r\n            let seg = segList[0];\r\n            let tpList = tipoPersona.filter((t) => t.CodigoElemento == seg.Atributo3Valor);\r\n            if (tpList && tpList.length > 0) {\r\n                tipoPersonaQueAplica = normalizeText(tpList[0].DescripcionElemento);\/\/Natural||Juridica\r\n            } else if (seg.CodigoElemento === \"HN02\") {\r\n                tipoPersonaQueAplica = \"Juridica\";\r\n            }\r\n        }\r\n        let documentosAdmitidos = tipoDocumento.filter((td) => {\r\n            let aplicaPersonaNatural = td.Atributo1Valor == \"SI\";\r\n            let aplicaExtranjeros = td.Atributo2Valor == \"SI\";\r\n            let esPreaprobable = td.Atributo3Valor == \"SI\";\r\n            let aplicaPersonaJuridica = td.Atributo4Valor == \"SI\";\r\n            return esPreaprobable &&\r\n                (\r\n                    (\r\n                        tipoPersonaQueAplica == \"Natural\"\r\n                        && (aplicaPersonaNatural || aplicaExtranjeros)\r\n                    )\r\n                    ||\r\n                    (\r\n                        tipoPersonaQueAplica == \"Juridica\"\r\n                        && aplicaPersonaJuridica\r\n                    )\r\n                );\r\n        });\r\n\r\n        \/\/ Orden exacto de opciones para Honduras:\r\n        \/\/ 1. Identificacion extranjera (ZIDEXT), 2. Registro Tributario (RUC) (ZRUCHN), 3. Tarjeta de Identidad o DNI (ZTI)\r\n        const ordenHN = [\"ZIDEXT\", \"ZRUCHN\", \"ZTI\"];\r\n        documentosAdmitidos.sort((a, b) => {\r\n            let idxA = ordenHN.indexOf(a.CodigoElemento);\r\n            let idxB = ordenHN.indexOf(b.CodigoElemento);\r\n            if (idxA !== -1 && idxB !== -1) return idxA - idxB;\r\n            if (idxA !== -1) return -1;\r\n            if (idxB !== -1) return 1;\r\n            return 0;\r\n        });\r\n\r\n        llenarSelectCatalogosGenericos(\"tipoDocumento\", documentosAdmitidos, null, \"Documento de identificaci\u00f3n\");\r\n        if (actualValue && documentosAdmitidos.some(d => d.CodigoElemento === actualValue)) {\r\n            $(\"#tipoDocumento\").val(actualValue);\r\n        } else {\r\n            $(\"#tipoDocumento\").val(\"\");\r\n        }\r\n    }\r\n\r\n    function validarDocumento() {\r\n        let value = document.getElementById(\"ndocumento\").value;\r\n        let valid = true;\r\n        if (value != \"\") {\r\n            if (formatoDocumento != undefined && formatoDocumento != null) {\r\n                let mask = formatoDocumento.inputMask;\r\n                if (mask != undefined && mask != null && mask != \"\") {\r\n                    valid = Inputmask(mask).isValid(value);\r\n                    value = Inputmask(mask).unmaskedvalue(value);\r\n                }\r\n                if (formatoDocumento.funcionValidadora != undefined && formatoDocumento.funcionValidadora != null) {\r\n                    valid = formatoDocumento.funcionValidadora(value);\r\n                }\r\n            }\r\n        } else {\r\n            valid = false;\r\n        }\r\n        return valid;\r\n    }\r\n    function validateFormPre() {\r\n        let nombre = $(\"#nombrePreaprobacion\").val() ? $(\"#nombrePreaprobacion\").val().trim() : \"\";\r\n        let apellido = $(\"#apellidoPreaprobacion\").val() ? $(\"#apellidoPreaprobacion\").val().trim() : \"\";\r\n        let correo = $(\"#correoPreaprobacion\").val() ? $(\"#correoPreaprobacion\").val().trim() : \"\";\r\n        let telefono = $(\"#telefonoPreaprobacion\").val() ? $(\"#telefonoPreaprobacion\").val().trim() : \"\";\r\n        let tipoVehiculo = $(\"input[name=cot_radio]:checked\").val() || \"AUTO_NUEVO\";\r\n        let segmento = $(\"#segmento\").val();\r\n        let tipoDocumento = $(\"#tipoDocumento\").val();\r\n        let numeroDocumento = $(\"#ndocumento\").val() ? $(\"#ndocumento\").val().trim() : \"\";\r\n        let ingresos = stringToFloat($(\"#ingresos\").val());\r\n        let terminos = $(\"#aceptarTerminosToggle\").prop(\"checked\");\r\n        var emailReg = \/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$\/;\r\n        let moneda = $(\"#monedaIngresos\").val() || \"USD\";\r\n        let minReq = (moneda === \"HNL\") ? 18500 : 741;\r\n        let minTexto = (moneda === \"HNL\") ? \"L18,500.00 lempiras\" : \"$741.00\";\r\n\r\n        if (nombre == \"\" || nombre.length < 3) {\r\n            showErrorMessage(\"Por favor ingresa un nombre v\u00e1lido.\");\r\n            return false;\r\n        } else if (apellido == \"\" || apellido.length < 3) {\r\n            showErrorMessage(\"Por favor ingresa un apellido v\u00e1lido.\");\r\n            return false;\r\n        } else if (telefono == \"\" || telefono.length !== 8) {\r\n            showErrorMessage(\"Por favor verifica que tu n\u00famero de tel\u00e9fono posea 8 caracteres.\");\r\n            return false;\r\n        } else if (correo == \"\") {\r\n            showErrorMessage(\"Por favor ingresa tu correo electr\u00f3nico.\");\r\n            return false;\r\n        } else if (!emailReg.test(correo)) {\r\n            showErrorMessage(\"Por favor, ingresa un correo electr\u00f3nico v\u00e1lido.\");\r\n            return false;\r\n        } else if (tipoVehiculo == \"\" || tipoVehiculo == undefined) {\r\n            showErrorMessage(\"Por favor, selecciona el tipo de veh\u00edculo.\");\r\n            return false;\r\n        } else if (segmento == \"\" || segmento == null || segmento == \"0\") {\r\n            showErrorMessage(\"Por favor, selecciona el segmento.\");\r\n            return false;\r\n        } else if (tipoDocumento == \"\" || tipoDocumento == null || tipoDocumento == \"0\") {\r\n            showErrorMessage(\"Por favor, selecciona el tipo de documento.\");\r\n            return false;\r\n        } else if (!validarDocumento()) {\r\n            showErrorMessage(\"Por favor ingresa un n\u00famero de documento v\u00e1lido.\");\r\n            return false;\r\n        } else if (isNaN(ingresos) || ingresos <= 0) {\r\n            showErrorMessage(\"Por favor, verifica tus ingresos, debe ser mayor a 0.\");\r\n            return false;\r\n        } else if (ingresos < minReq) {\r\n            showErrorMessage(\"Estimado cliente, agradecemos su inter\u00e9s. Para aplicar a uno de nuestros financiamientos el ingreso m\u00ednimo que aceptamos es de \" + minTexto + \".\");\r\n            return false;\r\n        } else if (!terminos) {\r\n            showErrorMessage(\"Debes aceptar los t\u00e9rminos y condiciones.\");\r\n            return false;\r\n        }\r\n        return true;\r\n    }\r\n\r\n\r\n    function handleSolicitudClick(e) {\r\n        if (e && e.preventDefault) e.preventDefault();\r\n        if (!checkFormValidity()) {\r\n            return false;\r\n        }\r\n        if ($(\"#precalificado\").prop(\"checked\")) {\r\n            enviarDatosPrecalificado(e);\r\n        } else {\r\n            enviarDatos(e);\r\n        }\r\n    }\r\n\r\n    function enviarDatos(e) {\r\n        let nombre = $(\"#nombrePreaprobacion\").val() ? $(\"#nombrePreaprobacion\").val().trim() : \"\";\r\n        let apellido = $(\"#apellidoPreaprobacion\").val() ? $(\"#apellidoPreaprobacion\").val().trim() : \"\";\r\n        let correo = $(\"#correoPreaprobacion\").val() ? $(\"#correoPreaprobacion\").val().trim() : \"\";\r\n        let celular = $(\"#telefonoPreaprobacion\").val() ? $(\"#telefonoPreaprobacion\").val().trim() : \"\";\r\n        let ctipoproducto = tipoProductoElegido || \"1\";\r\n        let tipoDocumento = $(\"#tipoDocumento\").val() || \"\";\r\n        let numDocumento = $(\"#ndocumento\").val() ? $(\"#ndocumento\").val().trim() : \"\";\r\n        let aceptarTerminos = $(\"#aceptarTerminosToggle\").prop(\"checked\");\r\n\r\n        let origen = localStorage.getItem('origen');\r\n\r\n        if (origen == \"\" || origen == undefined || origen == null) {\r\n            origen = 'Z54'; \/\/ Z54 Q360 MKT - HN\r\n            localStorage.setItem('origen', 'Z54');\r\n        }\r\n\r\n        \/\/ Chequeo de pantalla existente\r\n        let urlSite = window.location.href;\r\n        let name = document.title;\r\n        let text = name.split(\"-\");\r\n        let nombrePantalla = \"[\" + urlSite + \"] Envio de formulario desde: \" + text[0].trim();\r\n\r\n        \/\/ Regular Expressions\r\n        const emailReg = \/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$\/;\r\n\r\n        let valid = true;\r\n\r\n        if (nombre == \"\" || nombre.length < 3) {\r\n            Swal.fire({\r\n                icon: \"info\",\r\n                title: \"Aviso\",\r\n                text: \"Favor ingresar su nombre\",\r\n            });\r\n            valid = false;\r\n        }\r\n\r\n        if (apellido == \"\" || apellido.length < 3) {\r\n            Swal.fire({ icon: \"info\", title: \"Aviso\", text: \"Favor ingresar su apellido\", });\r\n            valid = false;\r\n        }\r\n\r\n        if (correo == '') {\r\n            Swal.fire({ icon: \"info\", title: \"Aviso\", text: \"Favor ingresar su correo electronico\", });\r\n            valid = false;\r\n        }\r\n\r\n        if (!emailReg.test(correo)) {\r\n            Swal.fire({ icon: \"info\", title: \"Aviso\", text: \"Favor ingresar un formato correcto para su correo\", });\r\n            valid = false;\r\n        }\r\n\r\n        if (celular.length != 8) {\r\n            Swal.fire({ icon: \"info\", title: \"Aviso\", text: \"Su celular debe poseer 8 caract\u00e9res\", });\r\n            valid = false;\r\n        }\r\n\r\n        if (!aceptarTerminos) {\r\n            Swal.fire({ icon: \"info\", title: \"Aviso\", text: \"Favor aceptar los t\u00e9rminos y condiciones\", });\r\n            valid = false;\r\n        }\r\n\r\n        if (valid) {\r\n            const promiseData = new Promise((resolve, reject) => {\r\n                $.ajax({\r\n                    url: request_url + \"wp-content\/themes\/digitaltheme\/commons\/cotizadorRequestHandler.php\",\r\n                    type: \"POST\",\r\n                    data: {\r\n                        \"method\": \"realizar_gestion_datos\",\r\n                        \"origen\": origen,\r\n                        \"nombre\": nombre,\r\n                        \"apellido\": apellido,\r\n                        \"correo\": correo,\r\n                        \"celular\": celular,\r\n                        \"telefono\": celular,\r\n                        \"pais\": country,\r\n                        \"codigomedio\": \"01\",\r\n                        \"canal\": \"CQD\",\r\n                        \"tipopersona\": \"1\",\r\n                        \"tipodocumento\": tipoDocumento,\r\n                        \"ndocumento\": numDocumento,\r\n                        \"observaciones\": nombrePantalla,\r\n                        \"ctipoproducto\": ctipoproducto,\r\n                    },\r\n                    beforeSend: function () {\r\n                        showLoader();\r\n                    },\r\n                    success: function (data) {\r\n                        resolve(data);\r\n                        hideLoader();\r\n                    },\r\n                    error: function (error) {\r\n                        reject(error)\r\n                    },\r\n                    complete: function (response) {\r\n                        \/\/hideLoader();\r\n                    },\r\n                });\r\n            })\r\n            promiseData.then((data) => {\r\n                \/\/ console.log(data);\r\n                if (data.succeed == true) {\r\n                    \/\/showSuccessMessage(\"Datos de cliente enviados con \u00e9xito!\");\r\n                    let url = site_url + \"hn\/gracias\";\r\n                    localStorage.setItem(\"nombre\", nombre);\r\n                    localStorage.setItem(\"apellido\", apellido);\r\n                    localStorage.setItem(\"telefono\", celular);\r\n                    localStorage.setItem(\"celular\", celular);\r\n                    localStorage.setItem(\"correo\", correo);\r\n                    localStorage.setItem(\"tipodocumento\", tipoDocumento);\r\n                    localStorage.setItem(\"documento\", numDocumento);\r\n                    localStorage.setItem(\"tipoVehiculo\", \"AUTO_NUEVO\");\r\n                    localStorage.setItem(\"montoaprobado\", '');\r\n                    localStorage.setItem(\"cuotaaprobada\", '');\r\n                    localStorage.setItem(\"tipoaprobador\", 'preaprobador');\r\n                    localStorage.setItem(\"mensajeguia\", '');\r\n                    localStorage.setItem(\"origen\", '');\r\n                    let params = {\r\n                        montoAprobado: '',\r\n                        cuotaAprobada: '',\r\n                        origen: 'preaprobador',\r\n                        mensajeGuia: '',\r\n                        pais: country,\r\n                        nombre: nombre,\r\n                        apellido: apellido,\r\n                        telefono: celular,\r\n                        celular: celular,\r\n                        correo: correo,\r\n                        tipoDocumento: tipoDocumento,\r\n                        numeroDocumento: numDocumento,\r\n                        tipoVehiculo: 'AUTO_NUEVO'\r\n                    };\r\n                    redirectPost(url, params);\r\n                    resetForm();\r\n                } else {\r\n                    resetForm();\r\n                    let error =\r\n                        data.error != undefined && data.error.message != undefined ?\r\n                            data.error.message :\r\n                            data.error != undefined ?\r\n                                data.error :\r\n                                \"Ha ocurrido un error al obtener los datos.\";\r\n\r\n                    error = \"<span style='font-size: 16px'>\" + error + \"<\/span>\";\r\n                    showErrorMessage(error, \"\");\r\n\r\n                }\r\n            }).catch(function (error) {\r\n                resetForm();\r\n                showErrorMessage(\r\n                    \"<span style='font-size: 16px'>Ha ocurrido un error al consultar los datos.<\/span>\",\r\n                    \"\"\r\n                );\r\n            });\r\n        }\r\n    }\r\n\r\n    function enviarDatosPrecalificado(e) {\r\n        if (validateFormPre()) {\r\n            const queryString = window.location.search;\r\n            const urlParams = new URLSearchParams(queryString);\r\n            let campania = localStorage.getItem('origen');\r\n            \/*if (campania == undefined || campania == null || campania == \"\") {\r\n                campania = \"Z06\";\r\n            }*\/\r\n            let referer = urlParams.get('referer');\r\n            let pais = localStorage.getItem(\"user_session_country\");\r\n            let codigo = localStorage.getItem(\"user_session_sap_code\");\r\n            let nombre = ($(\"#nombrePreaprobacion\").val() || \"\").trim();\r\n            let apellido = ($(\"#apellidoPreaprobacion\").val() || \"\").trim();\r\n            let correo = ($(\"#correoPreaprobacion\").val() || \"\").trim();\r\n            let telefono = ($(\"#telefonoPreaprobacion\").val() || \"\").trim();\r\n            let tipoVehiculoElement = $(\"input[name=cot_radio]\").filter(':checked');\r\n            let tipoVehiculo = tipoVehiculoElement.val();\r\n            let tipoTransporteElegido = tipoVehiculoElement.attr(\"data-transporte\");\r\n            let tipoProductoElegido = tipoVehiculoElement.attr(\"data-producto\");\r\n            let titularTransporteElegido = tipoVehiculoElement.attr(\"data-titular\");\r\n            let segmento = $(\"#segmento\").val();\r\n            let seg = segmentos.filter((d) => {\r\n                return d.CodigoElemento == segmento\r\n            })[0];\r\n            let tp = tipoPersona.filter((t) => {\r\n                return t.CodigoElemento == seg.Atributo3Valor;\r\n            })[0];\r\n            tp = tp.CodigoElemento;\r\n            let tipoDocumento = $(\"#tipoDocumento\").val();\r\n            let numeroDocumento = document.getElementById(\"ndocumento\").value;\r\n            let mask = formatoDocumento.inputMask;\r\n            if (mask != undefined && mask != null && mask != \"\") {\r\n                numeroDocumento = Inputmask(mask).unmaskedvalue(numeroDocumento);\r\n            }\r\n            let moneda = $(\"#monedaIngresos\").val();\r\n            let ingresos = stringToFloat($(\"#ingresos\").val());\r\n            let marca = \"\";\r\n            let modelo = \"\";\r\n            let placa = \"\";\r\n\r\n            let tipo_vehiculo = \"\";\r\n            let uso_vehiculo = \"\";\r\n            let prima = \"\";\r\n            let valor_prima = \"\";\r\n            let producto = \"\";\r\n\r\n            if (referer == \"asesor\") {\r\n                tipo_vehiculo = localStorage.getItem(\"adviser_type_vehicle\"),\r\n                    uso_vehiculo = localStorage.getItem(\"adviser_use_vehicle\"),\r\n                    prima = localStorage.getItem(\"adviser_bounty\"),\r\n                    valor_prima = localStorage.getItem(\"adviser_bounty_value\"),\r\n                    producto = localStorage.getItem(\"adviser_product\")\r\n                let mainUrl = document.URL.split(\"?\")[0];\r\n                window.history.replaceState({}, document.title, mainUrl);\r\n            }\r\n            if (codigo == undefined || codigo == null) {\r\n                codigo = \"\";\r\n            }\r\n            if (valor_prima == undefined || valor_prima == null || valor_prima == \"\") {\r\n                valor_prima = 0;\r\n            }\r\n            showLoader();\r\n            let dataIniciarSesion = {\r\n                \"pais\": country,\r\n                \"method\": \"iniciar_sesion\",\r\n                \"nombre\": nombre,\r\n                \"apellido\": apellido,\r\n                \"telefono\": telefono,\r\n                \"celular\": telefono,\r\n                \"correo\": correo,\r\n                \"tipoPersona\": tp,\r\n                \"tipoDocumento\": tipoDocumento,\r\n                \"numeroDocumento\": numeroDocumento,\r\n                \"forzarNuevaSesion\": \"true\"\r\n            }\r\n            doCotizadorRequest(dataIniciarSesion).then(function (d) {\r\n                let segmentoPrecalificacion = $(\"#segmento option:selected\").text();\r\n                let tipoDocumentoPrecalificacion = $(\"#tipoDocumento option:selected\").text();\r\n                let idAbsolutoSesion = d.data[0].IdentificadorUnicoSesion;\r\n                let tipoSegmento;\r\n                if (tipoTransporteElegido == 1) {\r\n                    if (paisdesdeelqueseestanavegando[0].usarGrupoSegmentoVehiculo == \"si\") {\r\n                        valsegmento = true;\r\n                    }\r\n                    else {\r\n                        valsegmento = false;\r\n                    }\r\n                }\r\n                else if (tipoTransporteElegido == 2) {\r\n                    if (paisdesdeelqueseestanavegando[0].usarGrupoSegmentoMoto == \"si\") {\r\n                        valsegmento = true;\r\n                    }\r\n                    else {\r\n                        valsegmento = false;\r\n                    }\r\n                }\r\n                else {\r\n                    tipoTransporteElegido = 1;\r\n                    tipoProductoElegido = 1;\r\n                    titularTransporteElegido = \"GRUPOQ\";\r\n                    valsegmento = true;\r\n                }\r\n                tipoSegmento = (valsegmento ? \"grupoSegmento\" : \"segmento\");\r\n\r\n                \/\/nueva validacion para obtencion de origen;\r\n                if (campania == \"\" || campania == undefined || campania == null) {\r\n                    campania = 'Z54'; \/\/ Z54 Q360 MKT - HN\r\n                    localStorage.setItem('origen', 'Z54');\r\n                }\r\n\r\n                let dataPrecalificacion = {\r\n                    \"method\": \"precalificar_monto\",\r\n                    \"tipoTransporte\": tipoTransporteElegido,\r\n                    \"tipoProducto\": tipoProductoElegido,\r\n                    \"titularVehiculo\": titularTransporteElegido,\r\n                    \"moneda\": moneda,\r\n                    \"ingresos\": ingresos,\r\n                    \"pais\": country,\r\n                    \"segmentoPrecalificacion\": segmentoPrecalificacion,\r\n                    \"tipoDocumentoPrecalificacion\": tipoDocumentoPrecalificacion,\r\n                    \"nombre\": nombre,\r\n                    \"apellido\": apellido,\r\n                    \"telefono\": telefono,\r\n                    \"celular\": telefono,\r\n                    \"email\": correo,\r\n                    \"correo\": correo,\r\n                    \"origen\": campania,\r\n                    \"numeroDocumento\": numeroDocumento,\r\n                    \"identificadorUnicoSesion\": idAbsolutoSesion\r\n                };\r\n\r\n                dataPrecalificacion[tipoSegmento] = segmento;\r\n                doCotizadorRequest(dataPrecalificacion).then(function (d) {\r\n                    showLoader();\r\n                    \/\/ console.log(d);\r\n                    let res = d.data;\r\n                    let preaprobacion = res.PreAprobacionMonto;\r\n                    let mensajeGuia = d.mensajeGuia != undefined ? d.mensajeGuia : \"\";\r\n                    let montoAprobado = 0;\r\n                    let cuotaAprobada = 0;\r\n                    let isPreaprobado = false;\r\n                    let cartaOferta = res.CartaPreAprobacionMonto;\r\n                    if (preaprobacion != undefined) {\r\n                        if (preaprobacion.ResultadoPreAprobacion == \"OK\") {\r\n                            montoAprobado = parseFloat(preaprobacion.MontoMaximoPrestamo);\r\n                            cuotaAprobada = parseFloat(preaprobacion.CuotaMaxima);\r\n                            if (montoAprobado > 0 || cuotaAprobada > 0) {\r\n                                isPreaprobado = true;\r\n                            }\r\n                        }\r\n                    }\r\n                    if (isPreaprobado) {\r\n                        if (cartaOferta != undefined) {\r\n                            cartaOferta = cartaOferta.CartapreAprobacionMonto;\r\n                        }\r\n                        let monto = AddCommasToStringWithOnePoint(montoAprobado);\r\n                        let cuota = AddCommasToStringWithOnePoint(cuotaAprobada);\r\n                        let moneda = monedasyrangos.filter(m => m.codigo == $(\"#monedaIngresos\").val());\r\n                        let simbolo = moneda.length > 0 ? moneda[0].simbolo : \"\";\r\n                        cuotaAprobada = simbolo + cuota;\r\n                        montoAprobado = simbolo + monto;\r\n                        let message = \"Felicidades! CrediQ te ha preaprobado un monto m\u00e1ximo de \" + simbolo + monto + \" , y cuota m\u00e1xima de \" + simbolo + cuota + \".\";\r\n\r\n                    } else {\r\n                        montoAprobado = \"\";\r\n                        cuotaAprobada = \"\";\r\n                    }\r\n                    let url = site_url + \"hn\/gracias\";\r\n\r\n                    localStorage.setItem(\"nombre\", nombre);\r\n                    localStorage.setItem(\"apellido\", apellido);\r\n                    localStorage.setItem(\"telefono\", telefono);\r\n                    localStorage.setItem(\"celular\", telefono);\r\n                    localStorage.setItem(\"correo\", correo);\r\n                    localStorage.setItem(\"segmento\", segmento);\r\n                    localStorage.setItem(\"ingresos\", ingresos);\r\n                    localStorage.setItem(\"tipodocumento\", tipoDocumento);\r\n                    localStorage.setItem(\"documento\", numeroDocumento);\r\n                    localStorage.setItem(\"tipoVehiculo\", tipoVehiculo);\r\n\r\n                    localStorage.setItem(\"montoaprobado\", montoAprobado);\r\n                    localStorage.setItem(\"cuotaaprobada\", cuotaAprobada);\r\n                    localStorage.setItem(\"tipoaprobador\", 'preaprobador');\r\n                    localStorage.setItem(\"mensajeguia\", mensajeGuia);\r\n                    \/\/localStorage.setItem(\"origen\", ''); \r\n                    let params = {\r\n                        montoAprobado: String(montoAprobado || \"\"),\r\n                        cuotaAprobada: String(cuotaAprobada || \"\"),\r\n                        origen: 'preaprobador',\r\n                        mensajeGuia: String(mensajeGuia || \"\"),\r\n                        pais: String(country || \"HN\"),\r\n                        nombre: String(nombre || \"\"),\r\n                        apellido: String(apellido || \"\"),\r\n                        telefono: String(telefono || \"\"),\r\n                        celular: String(telefono || \"\"),\r\n                        correo: String(correo || \"\"),\r\n                        segmento: String(segmento || \"\"),\r\n                        ingresos: String(ingresos || \"\"),\r\n                        tipoDocumento: String(tipoDocumento || \"\"),\r\n                        numeroDocumento: String(numeroDocumento || \"\"),\r\n                        tipoVehiculo: String(tipoVehiculo || \"\")\r\n                    }\r\n                    redirectPost(url, params);\r\n\r\n                });\r\n            });\r\n        }\r\n    }\r\n\r\n    function resetForm() {\r\n        $(\"#nombrePreaprobacion\").val(\"\");\r\n        $(\"#apellidoPreaprobacion\").val(\"\");\r\n        $(\"#correoPreaprobacion\").val(\"\");\r\n        $(\"#telefonoPreaprobacion\").val(\"\");\r\n        $(\"#aceptarTerminosToggle\").prop(\"checked\", false);\r\n    }\r\n    function resetFormPrecalificado() {\r\n        $(\"#nombrePreaprobacion\").val(\"\");\r\n        $(\"#apellidoPreaprobacion\").val(\"\");\r\n        $(\"#correoPreaprobacion\").val(\"\");\r\n        $(\"#telefonoPreaprobacion\").val(\"\");\r\n        $(\"#aceptarTerminosToggle\").prop(\"checked\", false);\r\n        let defaultSeg = (segmentos && segmentos.length > 0) ? (getDefaultValue(segmentos) || \"HN01\") : \"HN01\";\r\n        $(\"#segmento\").val(defaultSeg).change();\r\n        $(\"#tipoDocumento\").val(\"\").change();\r\n        $(\"#monedaIngresos\").val(\"USD\").change();\r\n        $(\"#ndocumento\").val(\"\");\r\n        $(\"#ingresos\").val('');\r\n        $(\"#ingresos\").blur();\r\n        $(\"#precalificado\").prop(\"checked\", true);\r\n        $(\"#cot_radio1\").prop(\"checked\", true);\r\n        if (typeof checkFormValidity === \"function\") {\r\n            checkFormValidity();\r\n        }\r\n    }\r\n    function countryLookup() {\r\n        let ip = '';\r\n        \/\/testing IP\r\n        \/\/CR\r\n        \/\/ip = '131.108.36.12';\r\n        \/\/NI\r\n        \/\/ip = '138.185.28.39';\r\n        \/\/SV\r\n        \/\/ip = '138.99.180.12';\r\n        let url = 'https:\/\/geolocation-db.com\/json\/' + ip;\r\n        return jQuery.ajax({\r\n            url: url,\r\n            async: false,\r\n            method: \"POST\"\r\n        });\r\n    }\r\n\r\n\r\n\r\n<\/script>\r\n\r\n<style>\r\n    @font-face {\r\n        font-family: \"Poppins-Black\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-Black.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-BlackItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-BlackItalic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-Bold\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-Bold.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-BoldItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-BoldItalic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-ExtraBold\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-ExtraBold.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-ExtraBoldItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-ExtraBoldItalic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-ExtraLight\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-ExtraLight.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-ExtraLightItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-ExtraBoldItalic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-Italic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-Italic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-Light\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-Light.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-LightItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-LightItalic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-Medium\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-Medium.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-MediumItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-MediumItalic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-Regular.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-SemiBold\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-SemiBold.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-SemiBoldItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-SemiBoldItalic.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-Thin\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-Thin.ttf\");\r\n    }\r\n\r\n    @font-face {\r\n        font-family: \"Poppins-ThinItalic\";\r\n        src: url(\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/fonts\/Poppins-ThinItalic.ttf\");\r\n    }\r\n\r\n    .hidden {\r\n        display: none !important;\r\n        visibility: hidden !important;\r\n    }\r\n\r\n    .terminos-condiciones {\r\n        background-color: #ebebeb;\r\n        color: #828282;\r\n        max-height: 90px;\r\n        overflow: auto;\r\n        padding: 20px;\r\n    }\r\n\r\n    #cq-loader {\r\n        position: fixed;\r\n        top: 0;\r\n        bottom: 0;\r\n        left: 0;\r\n        right: 0;\r\n        background-color: rgb(0 0 0 \/ 45%);\r\n        z-index: 10000;\r\n        display: flex;\r\n        align-items: center;\r\n        justify-content: center;\r\n    }\r\n\r\n    #cq-loader>img {\r\n        max-width: 75px;\r\n        width: 100%;\r\n        height: auto;\r\n    }\r\n\r\n    .pretext {\r\n        display: flex;\r\n        flex-direction: row;\r\n        justify-content: flex-end;\r\n        width: calc(100%);\r\n    }\r\n\r\n    .input-color {\r\n        border-radius: 8px !important;\r\n        border: 1px solid #006cb6 !important;\r\n        height: 3rem !important;\r\n        font-size: var(--font-small) !important;\r\n    }\r\n\r\n    .select-color {\r\n        border-color: #006cb6 !important;\r\n        border-radius: 8px;\r\n        font-size: var(--font-small) !important;\r\n        color: #696969 !important;\r\n        height: 3rem;\r\n        max-width: 100%;\r\n        min-width: auto;\r\n        background: url('data:image\/svg+xml;utf-8,<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" fill=\"%23006cb6\"><path d=\"M7 10l5 5 5-5z\"\/><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><\/svg>') 100% 50% no-repeat transparent;\r\n        background-position-x: 100%;\r\n        background-position-y: 50%;\r\n        background-repeat: no-repeat;\r\n        background-position: right;\r\n        background-repeat: no-repeat;\r\n        white-space: nowrap;\r\n        overflow: hidden;\r\n        text-overflow: ellipsis;\r\n    }\r\n\r\n    .form-col {\r\n        padding: 6px 8px !important;\r\n        margin-bottom: 4px;\r\n        box-sizing: border-box;\r\n    }\r\n\r\n    .form-label {\r\n        font-size: 13.5px !important;\r\n        font-weight: 600 !important;\r\n        color: #1e293b !important;\r\n        margin-bottom: 6px !important;\r\n        display: block !important;\r\n        letter-spacing: 0.1px;\r\n    }\r\n\r\n    .required-star {\r\n        color: #e11d48;\r\n        font-weight: bold;\r\n        margin-left: 2px;\r\n    }\r\n\r\n    .input-color {\r\n        border-radius: 8px !important;\r\n        border: 1.5px solid #cbd5e1 !important;\r\n        height: 3rem !important;\r\n        font-size: 15px !important;\r\n        color: #1e293b !important;\r\n        background-color: #ffffff !important;\r\n        width: 100% !important;\r\n        padding: 0 12px !important;\r\n        box-sizing: border-box !important;\r\n        transition: border-color .2s ease, box-shadow .2s ease !important;\r\n    }\r\n\r\n    .input-color:focus {\r\n        border-color: #196ab8 !important;\r\n        box-shadow: 0 0 0 3px rgba(25, 106, 184, 0.15) !important;\r\n        outline: none !important;\r\n    }\r\n\r\n    .select-color {\r\n        border-color: #cbd5e1 !important;\r\n        border: 1.5px solid #cbd5e1 !important;\r\n        border-radius: 8px !important;\r\n        font-size: 15px !important;\r\n        color: #1e293b !important;\r\n        height: 3rem !important;\r\n        width: 100% !important;\r\n        max-width: 100% !important;\r\n        padding: 0 32px 0 12px !important;\r\n        background: #ffffff url('data:image\/svg+xml;utf-8,<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" fill=\"%23196ab8\"><path d=\"M7 10l5 5 5-5z\"\/><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><\/svg>') no-repeat right 10px center !important;\r\n        box-sizing: border-box !important;\r\n        transition: border-color .2s ease, box-shadow .2s ease !important;\r\n    }\r\n\r\n    .select-color:focus {\r\n        border-color: #196ab8 !important;\r\n        box-shadow: 0 0 0 3px rgba(25, 106, 184, 0.15) !important;\r\n        outline: none !important;\r\n    }\r\n\r\n    .divisaingresos {\r\n        display: flex !important;\r\n        flex-direction: row !important;\r\n        align-items: stretch !important;\r\n        width: 100% !important;\r\n        margin: 0 !important;\r\n        padding: 0 !important;\r\n        box-sizing: border-box !important;\r\n    }\r\n\r\n    .divisaingresos .moneda-select {\r\n        display: block !important;\r\n        width: 85px !important;\r\n        min-width: 85px !important;\r\n        max-width: 90px !important;\r\n        border-radius: 8px 0 0 8px !important;\r\n        border-right: none !important;\r\n        height: 3rem !important;\r\n        flex-shrink: 0 !important;\r\n        padding: 0 22px 0 10px !important;\r\n        font-size: 14px !important;\r\n        font-weight: 600 !important;\r\n        background-color: #f8fafc !important;\r\n    }\r\n\r\n    #ingresosContainer {\r\n        display: flex !important;\r\n        flex-direction: row !important;\r\n        align-items: center !important;\r\n        flex: 1 1 auto !important;\r\n        width: 100% !important;\r\n        border: 1.5px solid #cbd5e1 !important;\r\n        border-radius: 0 8px 8px 0 !important;\r\n        padding: 0 !important;\r\n        height: 3rem !important;\r\n        background: #ffffff !important;\r\n        box-sizing: border-box !important;\r\n        transition: border-color .2s ease, box-shadow .2s ease !important;\r\n    }\r\n\r\n    #ingresosContainer:focus-within {\r\n        border-color: #196ab8 !important;\r\n        box-shadow: 0 0 0 3px rgba(25, 106, 184, 0.15) !important;\r\n    }\r\n\r\n    #ingresos {\r\n        flex: 1 1 auto !important;\r\n        width: 100% !important;\r\n        height: 100% !important;\r\n        margin: 0 !important;\r\n        border: 0 !important;\r\n        box-shadow: none !important;\r\n        padding: 0 10px 0 4px !important;\r\n        font-size: 15px !important;\r\n        color: #1e293b !important;\r\n        background: transparent !important;\r\n        outline: none !important;\r\n    }\r\n\r\n    .simbolomonedacaja {\r\n        padding: 0 4px 0 10px !important;\r\n        font-weight: 700 !important;\r\n        color: #196ab8 !important;\r\n        font-size: 15px !important;\r\n        user-select: none !important;\r\n    }\r\n\r\n    .terminos-condiciones-card {\r\n        background-color: #f8fafc;\r\n        border: 1px solid #e2e8f0;\r\n        border-radius: 8px;\r\n        color: #64748b;\r\n        max-height: 95px;\r\n        overflow-y: auto;\r\n        padding: 12px 14px;\r\n        font-size: 12px;\r\n        line-height: 1.5;\r\n    }\r\n\r\n    .terminos-condiciones-card::-webkit-scrollbar {\r\n        width: 6px;\r\n    }\r\n\r\n    .terminos-condiciones-card::-webkit-scrollbar-thumb {\r\n        background: #cbd5e1;\r\n        border-radius: 4px;\r\n    }\r\n\r\n    .privacy-container {\r\n        display: flex;\r\n        flex-direction: row;\r\n        align-items: center;\r\n        font-size: 13.5px;\r\n        color: #334155;\r\n        padding: 8px 4px !important;\r\n    }\r\n\r\n    .form-actions-container {\r\n        display: flex !important;\r\n        flex-direction: row !important;\r\n        align-items: center !important;\r\n        justify-content: space-between !important;\r\n        gap: 12px !important;\r\n        width: 100% !important;\r\n        padding: 14px 8px 4px 8px !important;\r\n        margin-top: 6px !important;\r\n        box-sizing: border-box !important;\r\n    }\r\n\r\n    .btn-limpiar-modern {\r\n        flex: 0 0 35% !important;\r\n        max-width: 160px !important;\r\n        height: 48px !important;\r\n        border-radius: 8px !important;\r\n        border: 1.5px solid #cbd5e1 !important;\r\n        background-color: #ffffff !important;\r\n        color: #475569 !important;\r\n        font-weight: 600 !important;\r\n        font-size: 15px !important;\r\n        cursor: pointer !important;\r\n        transition: all 0.2s ease !important;\r\n        display: inline-flex !important;\r\n        align-items: center !important;\r\n        justify-content: center !important;\r\n        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;\r\n    }\r\n\r\n    .btn-limpiar-modern:hover {\r\n        background-color: #f1f5f9 !important;\r\n        color: #1e293b !important;\r\n        border-color: #94a3b8 !important;\r\n    }\r\n\r\n    .btn-solicitud-modern {\r\n        flex: 1 1 auto !important;\r\n        height: 48px !important;\r\n        border-radius: 8px !important;\r\n        border: none !important;\r\n        background: linear-gradient(135deg, #196ab8 0%, #0f4b85 100%) !important;\r\n        color: #ffffff !important;\r\n        font-weight: 700 !important;\r\n        font-size: 16px !important;\r\n        letter-spacing: 0.3px !important;\r\n        box-shadow: 0 4px 12px rgba(25, 106, 184, 0.25) !important;\r\n        cursor: pointer !important;\r\n        transition: all 0.2s ease !important;\r\n        display: inline-flex !important;\r\n        align-items: center !important;\r\n        justify-content: center !important;\r\n    }\r\n\r\n    .btn-solicitud-modern:hover:not(:disabled) {\r\n        background: linear-gradient(135deg, #1d79d1 0%, #135da6 100%) !important;\r\n        transform: translateY(-1px) !important;\r\n        box-shadow: 0 6px 16px rgba(25, 106, 184, 0.32) !important;\r\n    }\r\n\r\n    .btn-solicitud-modern:active:not(:disabled) {\r\n        transform: translateY(0) !important;\r\n    }\r\n\r\n    .btn-solicitud-modern:disabled,\r\n    .btn-solicitud-modern.btn-disabled {\r\n        opacity: 0.55 !important;\r\n        background: #94a3b8 !important;\r\n        color: #ffffff !important;\r\n        cursor: not-allowed !important;\r\n        box-shadow: none !important;\r\n        transform: none !important;\r\n        pointer-events: none !important;\r\n    }\r\n\r\n    @media (max-width: 576px) {\r\n        .form-col {\r\n            padding: 6px 4px !important;\r\n        }\r\n\r\n        .input-color,\r\n        .select-color,\r\n        #ingresos {\r\n            font-size: 16px !important;\r\n            \/* Prevents auto-zoom in mobile Safari *\/\r\n        }\r\n\r\n        .btn-limpiar-modern {\r\n            font-size: 14px !important;\r\n        }\r\n\r\n        .btn-solicitud-modern {\r\n            font-size: 15px !important;\r\n        }\r\n    }\r\n\r\n    .switch {\r\n        opacity: 0;\r\n        position: absolute;\r\n        z-index: 1;\r\n        width: 18px;\r\n        height: 18px;\r\n        cursor: pointer;\r\n    }\r\n\r\n    .switch+.lable {\r\n        position: relative;\r\n        display: inline-block;\r\n        margin: 0;\r\n        line-height: 20px;\r\n        min-height: 18px;\r\n        min-width: 18px;\r\n        font-weight: normal;\r\n        cursor: pointer;\r\n    }\r\n\r\n    .switch+.lable::before {\r\n        cursor: pointer;\r\n        font-family: fontAwesome;\r\n        font-weight: normal;\r\n        font-size: 12px;\r\n        color: #32a3ce;\r\n        content: \"\\a0\";\r\n        background-color: #fafafa;\r\n        border: 1px solid #c8c8c8;\r\n        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\r\n        border-radius: 0;\r\n        display: inline-block;\r\n        text-align: center;\r\n        height: 16px;\r\n        line-height: 14px;\r\n        min-width: 16px;\r\n        margin-right: 1px;\r\n        position: relative;\r\n        top: -1px;\r\n    }\r\n\r\n    .switch:checked+.lable::before {\r\n        display: inline-block;\r\n        \/*content: '\\f00c';*\/\r\n        background-color: #f5f8fc;\r\n        border-color: #adb8c0;\r\n        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),\r\n            inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05),\r\n            inset 15px 10px -12px rgba(255, 255, 255, 0.1);\r\n    }\r\n\r\n    \/* CSS3 on\/off switches *\/\r\n    .switch+.lable {\r\n        margin: 0 4px;\r\n        min-height: 24px;\r\n    }\r\n\r\n    .switch+.lable::before {\r\n        font-weight: normal;\r\n        font-size: 11px;\r\n        line-height: 17px;\r\n        height: 20px;\r\n        overflow: hidden;\r\n        border-radius: 15px;\r\n        background-color: #f5f5f5;\r\n        -webkit-box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);\r\n        box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);\r\n        border: 1px solid #ccc;\r\n        text-align: left;\r\n        float: left;\r\n        padding: 0;\r\n        width: 52px;\r\n        text-indent: -21px;\r\n        margin-right: 0;\r\n        -webkit-transition: text-indent 0.3s ease;\r\n        -o-transition: text-indent 0.3s ease;\r\n        transition: text-indent 0.3s ease;\r\n        top: auto;\r\n    }\r\n\r\n    .switch.switch-bootstrap+.lable::before {\r\n        font-family: FontAwesome;\r\n        \/*content: \"\\f00d\";*\/\r\n        box-shadow: none;\r\n        border-width: 0;\r\n        font-size: 16px;\r\n        background-color: #a9a9a9;\r\n        color: #f2f2f2;\r\n        width: 52px;\r\n        height: 27px;\r\n        line-height: 21px;\r\n        text-indent: 32px;\r\n        -webkit-transition: background 0.1s ease;\r\n        -o-transition: background 0.1s ease;\r\n        transition: background 0.1s ease;\r\n    }\r\n\r\n    .switch.switch-bootstrap+.lable::after {\r\n        content: \"\";\r\n        position: absolute;\r\n        top: 2px;\r\n        left: 3px;\r\n        border-radius: 12px;\r\n        box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\r\n        width: 22px;\r\n        height: 22px;\r\n        text-align: center;\r\n        background-color: #f2f2f2;\r\n        border: 4px solid #f2f2f2;\r\n        -webkit-transition: left 0.2s ease;\r\n        -o-transition: left 0.2s ease;\r\n        transition: left 0.2s ease;\r\n    }\r\n\r\n    .switch.switch-bootstrap:checked+.lable::before {\r\n        \/*content: \"\\f00c\";*\/\r\n        text-indent: 6px;\r\n        color: #fff;\r\n        border-color: #b7d3e5;\r\n    }\r\n\r\n    .switch-primary>.switch.switch-bootstrap:checked+.lable::before {\r\n        background-color: #337ab7;\r\n    }\r\n\r\n    .switch-success>.switch.switch-bootstrap:checked+.lable::before {\r\n        background-color: #5cb85c;\r\n    }\r\n\r\n    .switch-danger>.switch.switch-bootstrap:checked+.lable::before {\r\n        background-color: #d9534f;\r\n    }\r\n\r\n    .switch-info>.switch.switch-bootstrap:checked+.lable::before {\r\n        background-color: #5bc0de;\r\n    }\r\n\r\n    .switch-warning>.switch.switch-bootstrap:checked+.lable::before {\r\n        background-color: #f0ad4e;\r\n    }\r\n\r\n    .switch.switch-bootstrap:checked+.lable::after {\r\n        left: 27px;\r\n        background-color: #fff;\r\n        border: 4px solid #fff;\r\n        text-shadow: 0 -1px 0 rgba(0, 200, 0, 0.25);\r\n    }\r\n\r\n    \/* square *\/\r\n    .switch-square {\r\n        opacity: 0;\r\n        position: absolute;\r\n        z-index: 1;\r\n        width: 18px;\r\n        height: 18px;\r\n        cursor: pointer;\r\n    }\r\n\r\n    .switch-square+.lable {\r\n        position: relative;\r\n        display: inline-block;\r\n        margin: 0;\r\n        line-height: 20px;\r\n        min-height: 18px;\r\n        min-width: 18px;\r\n        font-weight: normal;\r\n        cursor: pointer;\r\n    }\r\n\r\n    .switch-square+.lable::before {\r\n        cursor: pointer;\r\n        font-family: fontAwesome;\r\n        font-weight: normal;\r\n        font-size: 12px;\r\n        color: #32a3ce;\r\n        content: \"\\a0\";\r\n        background-color: #fafafa;\r\n        border: 1px solid #c8c8c8;\r\n        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\r\n        border-radius: 0;\r\n        display: inline-block;\r\n        text-align: center;\r\n        height: 16px;\r\n        line-height: 14px;\r\n        min-width: 16px;\r\n        margin-right: 1px;\r\n        position: relative;\r\n        top: -1px;\r\n    }\r\n\r\n    .switch-square:checked+.lable::before {\r\n        display: inline-block;\r\n        \/*content: '\\f00c';*\/\r\n        background-color: #f5f8fc;\r\n        border-color: #adb8c0;\r\n        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),\r\n            inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05),\r\n            inset 15px 10px -12px rgba(255, 255, 255, 0.1);\r\n    }\r\n\r\n    \/* CSS3 on\/off switches *\/\r\n    .switch-square+.lable {\r\n        margin: 0 4px;\r\n        min-height: 24px;\r\n    }\r\n\r\n    .switch-square+.lable::before {\r\n        font-weight: normal;\r\n        font-size: 11px;\r\n        line-height: 17px;\r\n        height: 20px;\r\n        overflow: hidden;\r\n        border-radius: 2px;\r\n        background-color: #f5f5f5;\r\n        -webkit-box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);\r\n        box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);\r\n        border: 1px solid #ccc;\r\n        text-align: left;\r\n        float: left;\r\n        padding: 0;\r\n        width: 52px;\r\n        text-indent: -21px;\r\n        margin-right: 0;\r\n        -webkit-transition: text-indent 0.3s ease;\r\n        -o-transition: text-indent 0.3s ease;\r\n        transition: text-indent 0.3s ease;\r\n        top: auto;\r\n    }\r\n\r\n    .switch-square.switch-bootstrap+.lable::before {\r\n        font-family: FontAwesome;\r\n        \/*content: \"\\f00d\";*\/\r\n        box-shadow: none;\r\n        border-width: 0;\r\n        font-size: 16px;\r\n        background-color: #a9a9a9;\r\n        color: #f2f2f2;\r\n        width: 52px;\r\n        height: 22px;\r\n        line-height: 21px;\r\n        text-indent: 32px;\r\n        -webkit-transition: background 0.1s ease;\r\n        -o-transition: background 0.1s ease;\r\n        transition: background 0.1s ease;\r\n    }\r\n\r\n    .switch-square.switch-bootstrap+.lable::after {\r\n        content: \"\";\r\n        position: absolute;\r\n        top: 2px;\r\n        left: 3px;\r\n        border-radius: 12px;\r\n        box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\r\n        width: 18px;\r\n        height: 18px;\r\n        text-align: center;\r\n        background-color: #f2f2f2;\r\n        border: 4px solid #f2f2f2;\r\n        -webkit-transition: left 0.2s ease;\r\n        -o-transition: left 0.2s ease;\r\n        transition: left 0.2s ease;\r\n    }\r\n\r\n    .switch-square.switch-bootstrap:checked+.lable::before {\r\n        \/*content: \"\\f00c\";*\/\r\n        text-indent: 6px;\r\n        color: #fff;\r\n        border-color: #b7d3e5;\r\n    }\r\n\r\n    .switch-primary>.switch-square.switch-bootstrap:checked+.lable::before {\r\n        background-color: #337ab7;\r\n    }\r\n\r\n    .switch-success>.switch-square.switch-bootstrap:checked+.lable::before {\r\n        background-color: #5cb85c;\r\n    }\r\n\r\n    .switch-danger>.switch-square.switch-bootstrap:checked+.lable::before {\r\n        background-color: #d9534f;\r\n    }\r\n\r\n    .switch-info>.switch-square.switch-bootstrap:checked+.lable::before {\r\n        background-color: #5bc0de;\r\n    }\r\n\r\n    .switch-warning>.switch-square.switch-bootstrap:checked+.lable::before {\r\n        background-color: #f0ad4e;\r\n    }\r\n\r\n    .switch-square.switch-bootstrap:checked+.lable::after {\r\n        left: 32px;\r\n        background-color: #fff;\r\n        border: 4px solid #fff;\r\n        text-shadow: 0 -1px 0 rgba(0, 200, 0, 0.25);\r\n    }\r\n\r\n    .switch-square.switch-bootstrap+.lable::after {\r\n        border-radius: 2px;\r\n    }\r\n\r\n    .switch-container {\r\n        display: flex;\r\n        flex-direction: row;\r\n        align-items: center;\r\n        font-size: 14px;\r\n        color: #828282;\r\n    }\r\n\r\n    .calculadora-radios {\r\n        display: flex;\r\n        justify-content: space-around;\r\n    }\r\n\r\n    .cuadricula-nuevo-usado {\r\n        font-family: \"Open Sans\", sans-serif !important;\r\n        display: flex;\r\n        align-items: flex-end;\r\n        width: 100% !important;\r\n        padding-left: 0 !important;\r\n    }\r\n\r\n    .btn-check {\r\n        position: absolute;\r\n        clip: rect(0, 0, 0, 0);\r\n        pointer-events: none;\r\n    }\r\n\r\n    .btn-nuevo-usado {\r\n        \/*font-family: 'Poppins-SemiBold';*\/\r\n        height: 70%;\r\n        display: flex !important;\r\n        align-items: center;\r\n        justify-content: center;\r\n        width: 95%;\r\n        border-radius: 50px !important;\r\n        border-color: #196ab8 !important;\r\n        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);\r\n        font-size: 15px !important;\r\n    }\r\n\r\n    .btn {\r\n        display: inline-block;\r\n        font-weight: 400;\r\n        line-height: 1.5;\r\n        color: #212529;\r\n        text-align: center;\r\n        text-decoration: none;\r\n        vertical-align: middle;\r\n        cursor: pointer;\r\n        -webkit-user-select: none;\r\n        -moz-user-select: none;\r\n        user-select: none;\r\n        background-color: transparent;\r\n        border: 1px solid transparent;\r\n        border-top-color: transparent;\r\n        border-right-color: transparent;\r\n        border-bottom-color: transparent;\r\n        border-left-color: transparent;\r\n        padding: .375rem .75rem;\r\n        font-size: 1rem;\r\n        border-radius: .25rem;\r\n        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;\r\n    }\r\n\r\n    .bg-loaded {\r\n        background-position-y: 26% !important;\r\n    }\r\n\r\n    .divisaingresos {\r\n        display: flex;\r\n        flex-direction: row;\r\n        justify-content: center;\r\n    }\r\n<\/style>\r\n<div id=\"cq-loader\" class=\"hidden\">\r\n    <img decoding=\"async\" src=\"https:\/\/digital.crediq.com\/wp-content\/themes\/digitaltheme\/images\/loading.gif\" \/>\r\n<\/div>\r\n<form action=\"\" method=\"post\" id=\"precalificadoFormHN\" onsubmit=\"return false;\">\r\n    <div class=\"row\" style=\"margin: 0 !important;\">\r\n        <!-- Selector oculto: Auto Nuevo permanece siempre activo y seleccionado -->\r\n        <div id=\"tipVehiculos\" class=\"hidden\" style=\"display: none !important;\">\r\n            <div class=\"hidden cuadricula-nuevo-usado tip_nuevo\">\r\n                <input id=\"cot_radio1\" class=\"btn-check\" name=\"cot_radio\" type=\"radio\" value=\"AUTO_NUEVO\" checked\r\n                    data-transporte=\"1\" data-producto=\"1\" data-titular=\"GRUPOQ\" \/>\r\n                <label id=\"label_nuevousado1\" class=\"form-check-label cot-radios btn btn-nuevo-usado\"\r\n                    for=\"cot_radio1\">Auto nuevo<\/label>\r\n            <\/div>\r\n            <div class=\"hidden cuadricula-nuevo-usado tip_usado\">\r\n                <input id=\"cot_radio2\" class=\"btn-check\" name=\"cot_radio\" type=\"radio\" value=\"AUTO_USADO\"\r\n                    data-transporte=\"1\" data-producto=\"2\" data-titular=\"TERCEROS\" \/>\r\n                <label id=\"label_nuevousado2\" class=\"form-check-label cot-radios btn btn-nuevo-usado\"\r\n                    for=\"cot_radio2\">Auto usado<\/label>\r\n            <\/div>\r\n            <div class=\"hidden cuadricula-nuevo-usado tip_moto\">\r\n                <input id=\"cot_radio3\" class=\"btn-check\" name=\"cot_radio\" type=\"radio\" value=\"MOTO\" data-transporte=\"2\"\r\n                    data-producto=\"1\" data-titular=\"GRUPOQ\" \/>\r\n                <label id=\"label_nuevousado3\" class=\"form-check-label cot-radios btn btn-nuevo-usado\"\r\n                    for=\"cot_radio3\">Moto<\/label>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <div class=\"col medium-6 small-12 large-6 form-col\">\r\n            <label class=\"form-label\" for=\"nombrePreaprobacion\">Nombre <span class=\"required-star\">*<\/span><\/label>\r\n            <input type=\"text\" class=\"input-color\" id=\"nombrePreaprobacion\" name=\"nombre\" placeholder=\"Tu nombre\"\r\n                minlength=\"3\" autocomplete=\"given-name\">\r\n        <\/div>\r\n        <div class=\"col medium-6 small-12 large-6 form-col\">\r\n            <label class=\"form-label\" for=\"apellidoPreaprobacion\">Apellido <span class=\"required-star\">*<\/span><\/label>\r\n            <input type=\"text\" class=\"input-color\" id=\"apellidoPreaprobacion\" name=\"apellido\"\r\n                placeholder=\"Tu apellido\" minlength=\"3\" autocomplete=\"family-name\">\r\n        <\/div>\r\n        <div class=\"col medium-6 small-12 large-6 form-col\">\r\n            <label class=\"form-label\" for=\"correoPreaprobacion\">Correo electr\u00f3nico <span\r\n                    class=\"required-star\">*<\/span><\/label>\r\n            <input type=\"email\" class=\"input-color\" id=\"correoPreaprobacion\" name=\"correo\" placeholder=\"ejemplo@correo.com\"\r\n                autocomplete=\"email\">\r\n        <\/div>\r\n        <div class=\"col medium-6 small-12 large-6 form-col\">\r\n            <label class=\"form-label\" for=\"telefonoPreaprobacion\">Celular <span class=\"required-star\">*<\/span><\/label>\r\n            <input type=\"tel\" class=\"input-color\" id=\"telefonoPreaprobacion\" name=\"telefono\" data-name=\"celular\" placeholder=\"8 d\u00edgitos (ej: 12345678)\"\r\n                maxlength=\"8\" oninput=\"this.value = this.value.replace(\/[^0-9]\/g, '');\" autocomplete=\"tel\">\r\n        <\/div>\r\n\r\n        <!-- Toggle Deseo Precalificarme: oculto pero siempre activo -->\r\n        <div class=\"col medium-12 small-12 large-12 switch-container precalificado-container\"\r\n            style=\"display: none !important;\">\r\n            <label class=\"label-switch switch-primary\">\r\n                <input type=\"checkbox\" class=\"switch switch-bootstrap status\" name=\"checkTerminos\" id=\"precalificado\"\r\n                    value=\"1\" checked>\r\n                <span class=\"lable\"><\/span>\r\n            <\/label>\r\n            <span>Deseo Precalificarme<\/span>\r\n        <\/div>\r\n\r\n        <!-- Bloque de Precalificacion: visible por defecto -->\r\n        <div id=\"content-calificador\" class=\"col medium-12 small-12 large-12\"\r\n            style=\"margin: 0 !important; padding: 0 !important;\">\r\n            <div class=\"row\" style=\"margin: 0 !important;\">\r\n                <div class=\"col medium-6 small-12 large-6 form-col\">\r\n                    <label class=\"form-label\" for=\"segmento\">Segmento <span class=\"required-star\">*<\/span><\/label>\r\n                    <select id=\"segmento\" class=\"select-color\">\r\n                        <option value=\"\" disabled>Seleccione un segmento<\/option>\r\n                        <option value=\"HN04\">Otros Sectores<\/option>\r\n                        <option value=\"HN01\" selected>Asalariados<\/option>\r\n                        <option value=\"HN02\">Empresas Formales<\/option>\r\n                        <option value=\"HN03\">Sector Informales<\/option>\r\n                    <\/select>\r\n                <\/div>\r\n\r\n                <div class=\"col medium-6 small-12 large-6 form-col\">\r\n                    <label class=\"form-label\" for=\"ingresos\" title=\"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\">Monto de\r\n                        ingresos econ\u00f3micos <span class=\"required-star\">*<\/span><\/label>\r\n                    <div class=\"divisaingresos\">\r\n                        <select id=\"monedaIngresos\" class=\"select-color moneda-select\"\r\n                            data-gtm-form-interact-field-id=\"2\">\r\n                            <option value=\"USD\" selected>USD<\/option>\r\n                            <option value=\"HNL\">HNL<\/option>\r\n                        <\/select>\r\n                        <div id=\"ingresosContainer\" title=\"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\">\r\n                            <span class=\"simbolomonedacaja\">$<\/span>\r\n                            <input type=\"text\" value=\"\" name=\"ingresos\"\r\n                                oninput=\"this.value = this.value.replace(\/[^0-9.,]\/g, '').replace(\/(\\..*)\\.\/g, '$1');\"\r\n                                id=\"ingresos\" inputmode=\"decimal\" placeholder=\"741\"\r\n                                title=\"Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\">\r\n                        <\/div>\r\n                    <\/div>\r\n                    <small class=\"ingresos-helper\"\r\n                        style=\"display: block; font-size: 11.5px; color: #64748b; margin-top: 4px; font-weight: 500;\">\r\n                        Ingreso m\u00ednimo mensual: $741 (D\u00f3lares)\r\n                    <\/small>\r\n                <\/div>\r\n\r\n                <div class=\"col medium-6 small-12 large-6 form-col\">\r\n                    <label class=\"form-label\" for=\"tipoDocumento\">Tipo de documento <span\r\n                            class=\"required-star\">*<\/span><\/label>\r\n                    <select id=\"tipoDocumento\" class=\"select-color\">\r\n                        <option value=\"\" disabled selected>Documento de identificaci\u00f3n<\/option>\r\n                        <option value=\"ZIDEXT\">Identificacion extranjera<\/option>\r\n                        <option value=\"ZRUCHN\">Registro Tributario (RUC)<\/option>\r\n                        <option value=\"ZTI\">Tarjeta de Identidad o DNI<\/option>\r\n                    <\/select>\r\n                <\/div>\r\n                <div class=\"col medium-6 small-12 large-6 form-col\">\r\n                    <label class=\"form-label\" for=\"ndocumento\">N\u00famero de documento <span\r\n                            class=\"required-star\">*<\/span><\/label>\r\n                    <input type=\"text\" class=\"input-color\" id=\"ndocumento\" placeholder=\"N\u00famero de documento\">\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <div class=\"col medium-12 small-12 large-12 form-col\" style=\"margin-top: 6px;\">\r\n            <div class=\"terminos-condiciones-card\">\r\n                <div class=\"terminos-texto\">\r\n                    <p style=\"margin: 0 0 8px 0;\">A trav\u00e9s de este canal, usted solicita a CrediQ, S.A. (en adelante, \u201cCREDIQ\u201d) una precalificaci\u00f3n como sujeto de cr\u00e9dito. Para ello, es necesario que proporcione los datos personales requeridos en esta plataforma.<\/p>\r\n                    <p style=\"margin: 0 0 8px 0;\">Al ingresar sus datos personales y seleccionar la opci\u00f3n \u201cAcepto\u201d, usted declara y garantiza a CREDIQ que es el titular de la informaci\u00f3n proporcionada, que los datos son veraces, exactos y se encuentran actualizados. Asimismo, manifiesta haber le\u00eddo y aceptado los t\u00e9rminos, condiciones y pol\u00edticas de privacidad de la plataforma y de CREDIQ.<\/p>\r\n                    <p style=\"margin: 0 0 8px 0;\">En consecuencia, al hacer clic en \u201cAcepto\u201d, usted autoriza y otorga su consentimiento expreso a CREDIQ para recopilar, almacenar y tratar los datos personales proporcionados, para verificar mi Central de Informaci\u00f3n Crediticia (CIC) y bur\u00f3s de cr\u00e9dito privados cuando lo estime conveniente, de manera que permita determinar su elegibilidad para optar a una oferta de financiamiento por parte de CREDIQ.<\/p>\r\n                    <p style=\"margin: 0 0 8px 0;\">Cualquier oferta de financiamiento estar\u00e1 sujeta a la verificaci\u00f3n de su identidad y a la validaci\u00f3n de la veracidad de la informaci\u00f3n suministrada y recopilada por CREDIQ.<\/p>\r\n                    <p style=\"margin: 0 0 8px 0;\">CREDIQ se compromete a no compartir sus datos personales con terceros, salvo en los casos permitidos por la legislaci\u00f3n aplicable o cuando sea necesario para la prestaci\u00f3n de sus servicios. Asimismo, en caso de que usted califique y decida continuar con el proceso de aprobaci\u00f3n del financiamiento, acepta suscribir, de forma f\u00edsica o electr\u00f3nica, la autorizaci\u00f3n correspondiente para la consulta de su historial crediticio.<\/p>\r\n                    <p style=\"margin: 0;\">Adicionalmente, usted autoriza a CREDIQ a utilizar sus datos personales para enviarle informaci\u00f3n, promociones y ofertas relacionadas con sus productos y servicios, de conformidad con las pol\u00edticas de privacidad vigentes.<\/p>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <div class=\"col medium-12 small-12 large-12 switch-container privacy-container\"\r\n            style=\"padding: 10px 8px; margin: 6px 0;\">\r\n            <label class=\"label-switch switch-primary\" style=\"margin-right: 12px; cursor: pointer; flex-shrink: 0;\">\r\n                <input type=\"checkbox\" class=\"switch switch-bootstrap status\" name=\"checkTerminos\"\r\n                    id=\"aceptarTerminosToggle\" value=\"0\">\r\n                <span class=\"lable\"><\/span>\r\n            <\/label>\r\n            <span class=\"privacy-text\" style=\"font-size: 13.5px; line-height: 1.4; color: #334155;\">\r\n                Acepto mi identidad y confirmo que he le\u00eddo los <a style=\"display:contents;\" target=\"_blank\"\r\n                    href=\"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/assets\/DPO-AVP001_Aviso-de-Privacidad-CREDIQ_v1.0.pdf\"\r\n                    rel=\"noopener\"><strong style=\"color: #196ab8; text-decoration: underline;\">Avisos de\r\n                        Privacidad<\/strong><\/a>\r\n            <\/span>\r\n        <\/div>\r\n\r\n        <!-- Botones de Accion: Limpiar y Enviar Solicitud a la par -->\r\n        <div class=\"col medium-12 small-12 large-12 form-actions-container\">\r\n            <button type=\"button\" id=\"cpcsa_limpiar_btn\" class=\"btn-limpiar-modern\" title=\"Limpiar formulario\">\r\n                <svg style=\"width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px;\" fill=\"none\"\r\n                    stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\">\r\n                    <path stroke-linecap=\"round\" stroke-linejoin=\"round\"\r\n                        d=\"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15\">\r\n                    <\/path>\r\n                <\/svg>\r\n                Limpiar\r\n            <\/button>\r\n            <button type=\"button\" class=\"btn-solicitud btn-solicitud-modern\" id=\"precalificarBtn\" disabled\r\n                onclick=\"handleSolicitudClick(event)\" title=\"Completa todos los campos requeridos para enviar\">\r\n                Enviar Solicitud\r\n                <svg style=\"width: 16px; height: 16px; margin-left: 6px; vertical-align: -2px;\" fill=\"none\"\r\n                    stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\">\r\n                    <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M14 5l7 7m0 0l-7 7m7-7H3\"><\/path>\r\n                <\/svg>\r\n            <\/button>\r\n        <\/div>\r\n    <\/div>\r\n<\/form>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a1Precalif\u00edcate! \u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!<\/p>\n","protected":false},"author":242,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-blank-landingpage.php","meta":{"_acf_changed":false,"footnotes":"","_members_access_role":[],"_members_access_error":""},"class_list":["post-9119","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! - CrediQ Honduras<\/title>\n<meta name=\"description\" content=\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crediq.com\/hn\/micrediq\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!\" \/>\n<meta property=\"og:description\" content=\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crediq.com\/hn\/micrediq\/\" \/>\n<meta property=\"og:site_name\" content=\"CrediQ Honduras\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/es-la.facebook.com\/crediqhn\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-28T16:38:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1640\" \/>\n\t<meta property=\"og:image:height\" content=\"624\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!\" \/>\n<meta name=\"twitter:description\" content=\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN.webp\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/micrediq\\\/\",\"url\":\"https:\\\/\\\/crediq.com\\\/hn\\\/micrediq\\\/\",\"name\":\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! - CrediQ Honduras\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/#website\"},\"datePublished\":\"2026-10-24T22:50:35+00:00\",\"dateModified\":\"2026-10-28T16:38:34+00:00\",\"description\":\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/micrediq\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/crediq.com\\\/hn\\\/micrediq\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/micrediq\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/crediq.com\\\/hn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/#website\",\"url\":\"https:\\\/\\\/crediq.com\\\/hn\\\/\",\"name\":\"CrediQ Honduras\",\"description\":\"Financiamiento de veh\u00edculos nuevos y usados\",\"publisher\":{\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/crediq.com\\\/hn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/#organization\",\"name\":\"CrediQ Honduras\",\"url\":\"https:\\\/\\\/crediq.com\\\/hn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/crediq.com\\\/hn\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2022\\\/07\\\/1111.png\",\"contentUrl\":\"https:\\\/\\\/crediq.com\\\/hn\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2022\\\/07\\\/1111.png\",\"width\":2376,\"height\":684,\"caption\":\"CrediQ Honduras\"},\"image\":{\"@id\":\"https:\\\/\\\/crediq.com\\\/hn\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/es-la.facebook.com\\\/crediqhn\\\/\",\"https:\\\/\\\/instagram.com\\\/crediq.honduras\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! - CrediQ Honduras","description":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crediq.com\/hn\/micrediq\/","og_locale":"es_ES","og_type":"article","og_title":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!","og_description":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd","og_url":"https:\/\/crediq.com\/hn\/micrediq\/","og_site_name":"CrediQ Honduras","article_publisher":"https:\/\/es-la.facebook.com\/crediqhn\/","article_modified_time":"2026-10-28T16:38:34+00:00","og_image":[{"width":1640,"height":624,"url":"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_title":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!","twitter_description":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd","twitter_image":"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2026\/10\/Precalificate_HN.webp","twitter_misc":{"Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crediq.com\/hn\/micrediq\/","url":"https:\/\/crediq.com\/hn\/micrediq\/","name":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! - CrediQ Honduras","isPartOf":{"@id":"https:\/\/crediq.com\/hn\/#website"},"datePublished":"2026-10-24T22:50:35+00:00","dateModified":"2026-10-28T16:38:34+00:00","description":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS! Financia tu pr\u00f3ximo veh\u00edculo con CrediQ \u2022 Desde 10% prima PRECALIFICA AQU\u00cd","breadcrumb":{"@id":"https:\/\/crediq.com\/hn\/micrediq\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crediq.com\/hn\/micrediq\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crediq.com\/hn\/micrediq\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crediq.com\/hn\/"},{"@type":"ListItem","position":2,"name":"\u00a1ESTRENAR COMIENZA CON MENOS DE LO QUE IMAGINAS!"}]},{"@type":"WebSite","@id":"https:\/\/crediq.com\/hn\/#website","url":"https:\/\/crediq.com\/hn\/","name":"CrediQ Honduras","description":"Financiamiento de veh\u00edculos nuevos y usados","publisher":{"@id":"https:\/\/crediq.com\/hn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crediq.com\/hn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/crediq.com\/hn\/#organization","name":"CrediQ Honduras","url":"https:\/\/crediq.com\/hn\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/crediq.com\/hn\/#\/schema\/logo\/image\/","url":"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2022\/07\/1111.png","contentUrl":"https:\/\/crediq.com\/hn\/wp-content\/uploads\/sites\/4\/2022\/07\/1111.png","width":2376,"height":684,"caption":"CrediQ Honduras"},"image":{"@id":"https:\/\/crediq.com\/hn\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/es-la.facebook.com\/crediqhn\/","https:\/\/instagram.com\/crediq.honduras"]}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/pages\/9119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/users\/242"}],"replies":[{"embeddable":true,"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/comments?post=9119"}],"version-history":[{"count":5,"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/pages\/9119\/revisions"}],"predecessor-version":[{"id":9167,"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/pages\/9119\/revisions\/9167"}],"wp:attachment":[{"href":"https:\/\/crediq.com\/hn\/wp-json\/wp\/v2\/media?parent=9119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}