PageSourceSearch

https://drbanuka.com/wp-content/plugins/booknetic/app/Frontend/assets/js/booknetic-popup.js?v=4.6.0&ver=6.7.10

js drbanuka.com collected 2026-10-08 13:31:07 UTC 3,097 bytes, 83 lines download raw bytes

1(function($)
2{
3    "use strict";
4
5    $(document).ready( function()
6    {
7        $('body').append('<div class="bkntc_booking_modal" style="display: none">\n' +
8            '\n' +
9            '    <div class="content">\n' +
10            '        <div class="close_icon">\n' +
11            '            <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"\n' +
12            '                 width="20" height="20"\n' +
13            '                 viewBox="0 0 24 24"\n' +
14            '                 style=" fill:#000000;"><path d="M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z"></path></svg>\n' +
15            '        </div>\n' +
16            '        <div class="body">\n' +
17            '\n' +
18            '        </div>\n' +
19            '    </div>\n' +
20            '</div>');
21
22        let modal = $('.bkntc_booking_modal');
23        let modalX = modal.find('.close_icon');
24        let modalBody = modal.find('.body');
25
26        let closeModal = function ()
27        {
28            modal.css('display' ,'none');
29            modalBody.html('')
30            $("html,body").css('overflow','visible');
31        };
32
33        $(document).on('click', '.bnktc_booking_popup_btn', function (e)
34        {
35            e.preventDefault();
36            let data = {};
37            let btn = $(this);
38            let tenantId = $(this).attr('data-tenant-id');
39
40            data['action'] = 'bkntc_get_booking_panel';
41            data['location'] = $(this).attr('data-location');
42            data['staff'] = $(this).attr('data-staff');
43            data['service'] = $(this).attr('data-service');
44            data['category'] = $(this).attr('data-category');
45            data['theme'] = $(this).attr('data-theme');
46
47            if( tenantId > 0 ){
48                data['tenant_id'] = $(this).attr('data-tenant-id');
49            }
50
51            var ajaxObject =
52            {
53                url: window.BookneticData.ajax_url,
54                method: 'POST',
55                data: data,
56                success: function ( result )
57                {
58                    result = $(result);
59
60                    if( tenantId > 0 ){
61                        result.data('tenant_id', tenantId);
62                    }
63
64                    modalX.css('display', 'flex');
65                    modalBody.html( result );
66                },
67                error: function (jqXHR, exception)
68                {
69                    closeModal();
70                }
71            };
72
73            modal.css('display' ,'flex');
74            modalX.css('display', 'none');
75            modalBody.append('<div class="bkntc_loader_div"><img class="btn_preloader" src="'+ window.BookneticData.assets_url +'/icons/loading.svg"></div>');
76            $("html,body").css('overflow','hidden');
77            $.ajax( ajaxObject );
78        });
79
80        $(".bkntc_booking_modal .close_icon").on('click', closeModal);
81    });
82
83})(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.