PageSourceSearch

https://centrumriviera.pl/wp-content/themes/starter-theme/assets/j…?ver=a3d1eb10bd46fbeaed742aec1cfaf2ce

js centrumriviera.pl collected 2026-09-26 16:44:49 UTC 1,476 bytes, 47 lines download raw bytes

1$(function () {
2
3    function filterStores(id) {
4        let type = $('main').data('type');
5        let infokiosk = '';
6        const params = new URLSearchParams(window.location.search);
7        if (params) {
8            infokiosk = params.get('infokiosk');
9        }
10        jQuery.ajax({
11            type: "post",
12            dataType: "json",
13            url: myAjax.ajaxurl,
14            data: {
15                action: "filterStores",
16                id: id,
17                type: type,
18                infokiosk: infokiosk
19            },
20            success: function (response) {
21                if (response.status == 200) {
22                    if (response.msg.found_posts == 0) {
23                        let url = $('.category-single[data-id="'+id+'"]').attr('href');
24                        window.location.replace(url);
25                    } else {
26                        $('#logoWrapper').html(response.html);
27                    }
28                    // notify('sukces', 'success');
29                } else {
30                    notify(response.msg, 'error');
31                }
32            },
33            error: function (response) {
34                // console.error(response);
35            }
36        });
37    }
38
39
40    $(document).on('click', '.category-single', function (e) {
41        e.preventDefault();
42        let id = $(this).data('id');
43        $(this).siblings().removeClass('active');
44        $(this).addClass('active');
45        filterStores(id);
46    });
47})

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.