PageSourceSearch

https://www.tiempoar.com.ar/wp-content/themes/tiempo-argentino/balancer/js/tar-balancer-ajax.js?ver=1.4.07

js tiempoar.com.ar collected 2026-10-02 03:24:36 UTC 3,543 bytes, 111 lines download raw bytes

1(function($) {
2    //console.log('tiempo balancer');
3
4    // $(document).ready(function() {
5    //     var tagOpen = localStorage.getItem('tagOpen');
6    //     if (tagOpen) {
7    //         $('#cloud-tag-container').hide();
8    //     }
9    //
10    //     $("#close-cloud-tag").on("click", function() {
11    //         $("#cloud-tag-container").slideUp();
12    //
13    //
14    //         if (!tagOpen || tagOpen === null) {
15    //             localStorage.setItem('tagOpen', true);
16    //         }
17    //
18    //     });
19    //
20    //     $('#listo-cloud').on('click', function() {
21    //         if (!tagOpen || tagOpen === null) {
22    //             localStorage.setItem('tagOpen', true);
23    //         }
24    //         $("#cloud-tag-container").slideUp();
25    //
26    //     });
27    // });
28
29
30
31    // $(document).ready(function() {
32    //     $(".cloud-item").on("click", function() {
33    //         var id = $(this).data("id");
34    //         $(this).parent().parent().remove();
35    //         $.ajax({
36    //             type: "post",
37    //             url: balancer_cloud_ajax.url,
38    //             data: {
39    //                 action: balancer_cloud_ajax.action,
40    //                 id: id
41    //             },
42    //             success: function(res) {
43    //                 console.log(res);
44    //             },
45    //             error: function(res) {
46    //                 console.log(res);
47    //             }
48    //         });
49    //     });
50    // });
51
52    $(document).ready(function() {
53        $("#personalize-city").on("keyup", function() {
54            if ($(this).val().length > 3) {
55                $.ajax({
56                    type: "post",
57                    url: balancer_place_ajax.url,
58                    data: {
59                        action: balancer_place_ajax.action,
60                        b_search: $(this).val()
61                    },
62                    success: function(res) {
63                        $("#autocompletar").html(res);
64                    },
65                    error: function(res) {
66                        console.log(res);
67                    }
68                });
69            }
70        });
71    });
72
73    $(document).on("click", ".suggest", function() {
74        $("#personalize-city").val($(this).text());
75        $("#suggest-ul").remove();
76    });
77
78    $(document).ready(function() {
79        $(".topic").on("change", function() {
80            var temaID = $(this).attr("id");
81            var temaIDSelector = $("#" + temaID);
82            if ($(this).is(":checked")) {
83                $(temaIDSelector).parent().parent().addClass("theme-selected");
84            } else {
85                $(temaIDSelector).parent().parent().removeClass("theme-selected");
86            }
87        });
88
89        $(".post-item").on("change", function() {
90            var temaID = $(this).attr("name");
91            //var temaIDSelector = $('#' + temaID);
92            if ($(this).is(":checked")) {
93                $(this).parent().parent().addClass("art-selected");
94            } else {
95                $(this).parent().parent().removeClass("art-selected");
96            }
97        });
98
99        $(".photo").on("change", function() {
100            // var temaID = $(this).attr('name')
101            // var temaIDSelector = $('#' + temaID);
102
103            if ($(this).is(":checked")) {
104                $(this).parent().parent().parent().addClass("photo-selected");
105            } else {
106                $(this).parent().parent().parent().removeClass("photo-selected");
107            }
108        });
109    });
110
111})(jQuery);

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.