1$(document).ready(function () { 2 3 if (!window.__possuiNotificacoesPendentes) return; 4 5 Swal.fire({ 6 type: 'warning', 7 title: 'Atenção', 8 text: 'Identificamos que existem pendências vinculadas ao seu cadastro. Para continuar utilizando o sistema, é necessário acessar suas notificações e dar ciência das pendências.', 9 icon: 'warning', 10 allowOutsideClick: false, 11 allowEscapeKey: false, 12 allowEnterKey: false, 13 showConfirmButton: true, 14 confirmButtonText: 'Visualizar', 15 }).then(function (result) { 16 if (result.isConfirmed) { 17 window.location.href = window.__urlNotificacoes; 18 } 19 }); 20 21 var eventosParaBloquear = "click submit keydown touchstart"; 22 23 function bloquearInteracao(e) { 24 if ($(e.target).closest(".swal2-container").length) return; 25 26 e.stopImmediatePropagation(); 27 e.preventDefault(); 28 } 29 30 eventosParaBloquear.split(" ").forEach(function (evento) { 31 document.addEventListener(evento, bloquearInteracao, true); 32 }); 33 34 document.addEventListener("swal2-close", function () { 35 eventosParaBloquear.split(" ").forEach(function (evento) { 36 document.removeEventListener(evento, bloquearInteracao, true); 37 }); 38 }); 39 40});
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.