PageSourceSearch

https://progressofm.net.br/js/custom.js?7217

js progressofm.net.br collected 2026-10-08 12:14:10 UTC 2,051 bytes, 64 lines download raw bytes

1// jQuery(function($) {
2//     $.mask.definitions["~"] = "[+-]";
3//     $("input[type=tel]").focusout(function() {
4//         var phone, element;
5//         element = $(this);
6//         element.unmask();
7//         phone = element.val().replace(/\D/g, "");
8//         if (phone.length > 10) {
9//             element.mask("(99) 99999-999?9")
10//         } else {
11//             element.mask("(99) 9999-9999?9")
12//         }
13//     }).trigger("focusout")
14// });
15
16
17// $('.input').focus(function() {
18//     $(this).parent().addClass('on-focus');
19// }).blur(function() {
20//     if ($(this).val() === '') {
21//         $(this).parent().removeClass('on-focus');
22//     }
23// });
24$(document).ready(function() {
25    $('[data-toggle="tooltip"]').tooltip();
26});
27
28//validar e-mail formulário
29function validate_email() {
30    var email = document.getElementById('email');
31    var filter = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
32    if (!filter.test(email.value)) {
33        alert('Por favor, digite um endereço de e-mail válido');
34        email.focus;
35        return false;
36    }
37}
38
39//pesquisar input
40$(".search-btn").click(function() {
41    $('body').addClass('no-scroll');
42    $(".wrapper").removeClass("d-none");
43    $(".wrapper").addClass("active");
44    //$(this).css("display", "none");
45    $(".search-data").fadeIn(500);
46    $(".close-btn").fadeIn(500);
47    $(".search-data .line").addClass("active");
48    setTimeout(function() {
49        $("input").focus();
50        $(".search-data label").fadeIn(500);
51        $(".search-data span").fadeIn(500);
52    }, 800);
53});
54$(".close-btn").click(function() {
55    $('body').removeClass('no-scroll');
56    $(".wrapper").removeClass("active");
57    $(".search-btn").fadeIn(800);
58    $(".search-data").fadeOut(500);
59    $(".close-btn").fadeOut(500);
60    $(".search-data .line").removeClass("active");
61    $("input").val("");
62    $(".search-data label").fadeOut(500);
63    $(".search-data span").fadeOut(500);
64});

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.