PageSourceSearch

https://meatinfo.ru/1680707159/js/reports-popup.js

js meatinfo.ru collected 2026-10-02 11:04:49 UTC 818 bytes, 22 lines download raw bytes

1/**
2 * Popup-баннер со ссылкой на аналитический отчёт
3 */
4$(function () {
5    /**
6     * Закрытие модального окна.
7     *
8     * Класс кнопки закрытия - `close-popup`.
9     * Элемент должен находиться на первом уровне иерархии от элемента модалки.
10     */
11
12     $('.close-popup').on('click', function () {
13        let repId = $(this).attr("data-id");
14        let id = $.cookie('rep_alert' + repId).split(';')[0];
15        $.cookie('rep_alert' + repId, id + ';1', {expires: 31, path: '/', domain: '.' + document.domain}); 
16        $(this).parent().fadeOut(500);
17    })
18
19    setTimeout(() => {
20        $('#analytical-report').removeClass('analytical-report--hidden')
21    }, 5000)
22})

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.