1// requires: cookieman.js, Bootstrap-JS 2/** global: cookieman */ 3cookieman.theme = (function () { 4 "use strict"; 5 let modal = $('#cookieman-modal'); 6 7 cookieman.show = function () { 8 modal.fadeIn(300); 9 modal.css('display', '-webkit-box'); 10 }; 11 cookieman.hide = function () { 12 modal.fadeOut(300); 13 $(document).trigger('cookieman-updated'); 14 }; 15 16 $(document).on('click', '.button--cookie', function(e) { 17 e.preventDefault(); 18 19 cookieman.show(); 20 }); 21 22 $(document).on('click', '.button--consent', function(e) { 23 e.preventDefault(); 24 25 cookieman.consent($(e.target).data('consent-group')); 26 $(document).trigger('cookieman-updated'); 27 }); 28 29 $('.cookieModal__background').click(function () { 30 cookieman.hide(); 31 }); 32}());
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.