1jQuery(function($){const $paises={"CO":"Colombia","EC":"Ecuador","PA":"Panamá",};$(document).on("click",".select-page-tel .btn-pais-tel",function(e){e.stopPropagation();const $dropdown=$(this).closest(".select-page-tel").find(".caja-opciones-tel");$(".caja-opciones-tel").not($dropdown).addClass("oculto");$dropdown.toggleClass("oculto")});$(document).on("click",function(e){if(!$(e.target).closest(".select-page-tel").length){$(".caja-opciones-tel").addClass("oculto")}});$(document).on("click",".caja-opciones-tel .item-pais",function(e){e.preventDefault();e.stopPropagation();const $pais=$(this).attr("valor");const $imagen=$(this).find("img").attr("src");const $indicativo=$(this).attr("indicativo");const $largo=$(this).attr("largo");const $selectContainer=$(this).closest(".select-page-tel");const $inputPais=$selectContainer.find("input[type='hidden']");$inputPais.val($pais);$selectContainer.find(".icono-bandera-tel").attr("src",$imagen);$selectContainer.find(".indicativo").text("+"+$indicativo);const $telefonoInput=$selectContainer.closest("form").find("input[name='telefono'], input[id='telefono']");$selectContainer.find(".caja-opciones-tel").addClass("oculto")});$(document).on("change keyup","input[name='telefono'], input[id='telefono']",function(){const $input=$(this);const $indicativo=$input.closest("form").find(".indicativo").text();setTimeout(function(){const valor=$indicativo+$input.val();if(valor){const $telefonoSelect=$input.closest("form").find("#telefono-select");const $mobileSelect=$input.closest("form").find("#mobile-select");if($telefonoSelect.length>0){$telefonoSelect.val(valor)} 2if($mobileSelect.length>0){$mobileSelect.val(valor)}}},100)})})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.