https://krisp.ai/wp-content/themes/krisp-v4/partials/templates//se…/toggle-banner.js?ver=24.08.03.21
1$(document).ready(function () { 2 let isActive = false; 3 4 $('.toggle[data-toggle-type]').on('click', function () { 5 $(this).addClass('active'); 6 let type = $(this).data('toggle-type'); 7 if (type === 'contact_sdk') { 8 window.setTimeout(() => { 9 $('.contact_sdk').trigger('click'); 10 }, 200); 11 } else if (type && (type.indexOf('/') === 0 || /^https?:/.test(type))) { 12 // URL-valued toggle types navigate directly. 13 window.location.href = type; 14 } else { 15 window.location.href = '/contact-sales/?product=krisp-for-cx'; 16 } 17 18 window.setTimeout(() => { 19 $(this).removeClass('active'); 20 }, 800); 21 }); 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.