1(function ($) { 2 $('.easy-sticky-sidebar a, .wordpress-cta-pro-gdpr .gdpr-content a').on('click', function (e) { 3 sticky_id = $(this).closest('[data-id]').data('id'); 4 if ( !sticky_id ) { 5 return; 6 } 7 8 $.ajaxSetup({async: false}); 9 $.post(wordpress_cta_pro.ajax_url, {action: 'wordpress_cta_pro_get_click', sticky_id}); 10 $.ajaxSetup({async: true}); 11 }) 12 13 $('.wordpress-cta-pro-gdpr .gdpr-footer a:not([href])').on('click', function (e) { 14 e.preventDefault(); 15 $(this).closest('.wordpress-cta-pro-gdpr').hide().remove(); 16 17 cookie_days = $(this).data('days'); 18 if ( cookie_days <= 0 ) { 19 cookie_days = 90000; 20 } 21 22 $.cookie('wordpress-cta-pro-gdpr', true, { expires: cookie_days}); 23 }); 24 25 $('.easy-sticky-sidebar.vertical-cta').each(function(){ 26 button_height = $(this).find('.sticky-sidebar-button').outerHeight(); 27 $(this).closest('.easy-sticky-sidebar.vertical-cta.sticky-cta').css('--buttonHeight', button_height + 'px'); 28 }); 29})(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.