PageSourceSearch

https://www.cybersecuritydive.com/static/js/dist/searchTracking.bundle.js?281219230926

js cybersecuritydive.com collected 2026-09-24 07:31:49 UTC 4,188 bytes, 2 lines download raw bytes

1!function(){"use strict";var e,t={},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.rv=function(){return"1.5.2"},n.ruid="[email protected]";for(var a=new Uint8Array(16),i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=[],o=0;o<256;++o)s.push((o+256).toString(16).substr(1));var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase();if(!("string"==typeof r&&i.test(r)))throw TypeError("Stringified UUID is invalid");return r},u=function(t,r,n){var i=(t=t||{}).random||(t.rng||function(){if(!e&&!(e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(a)})();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,r){n=n||0;for(var s=0;s<16;++s)r[n+s]=i[s];return r}return c(i)};function l(e){"function"==typeof window.pushGTMEvent&&window.pushGTMEvent(e)}function d({eventName:e,searchTerm:t,searchOrigin:r}){["search_executed","search_executed_related_question"].includes(e)&&l({event:e,search_term:t,search_origin:r})}window.ourLocalStorage=(()=>{let{localStorage:e}=window;return{setItem:(t,r)=>{try{e.setItem(t,r)}catch(e){}},getItem:t=>{try{let r=e.getItem(t);if(""!==r)return JSON.parse(r);return r}catch(e){return""}}}})();var _=window.ourLocalStorage;let h="dive_search_tracking",p=new WeakSet;$(document).on("submit","form[data-search-track]",e=>{try{!function(e){let t=($(e).find('input[name="q"]').val()||"").trim();if(!t||p.has(e))return;p.add(e);let r=e.dataset.searchTrackingUrl||e.action||window.location.href;d({eventName:"search_executed",searchTerm:t,searchOrigin:e.classList.contains("semantic-search-form")?"search_page":"nav_bar"});let n=function(){let e=_.getItem(h);return e&&"object"==typeof e?e:{}}(),a=(n.query||"").trim().toLowerCase();if(a&&a===t.toLowerCase())return;let i=u();!function(e,t){let r=JSON.stringify(t);try{var n;if(null==(n=navigator)?void 0:n.sendBeacon){let t=new Blob([r],{type:"application/json"});if(navigator.sendBeacon(e,t))return}fetch(e,{method:"POST",body:r,headers:{"Content-Type":"application/json"},keepalive:!0,credentials:"same-origin"}).catch(()=>{})}catch(e){}}(r,{uuid:i,search_query:t,subscriber_status:function(){try{var e,t,r,n,a,i;let s=(window.siteName||"").toLowerCase();if(!s)return!1;let{jstag:o}=window,c=(null==o||null==(t=o.config)||null==(e=t.user)?void 0:e.segments)||(null==o||null==(i=o.loader)||null==(a=i.entity)||null==(n=a.data)||null==(r=n.user)?void 0:r.segments)||[];if(!c.length)return!1;return("education dive"===s?["any_higher_ed_dive_subs","any_k12_dive_subs"]:[`any_${s.replace(/ /g,"_").replace("-","")}_subs`]).some(e=>c.includes(e))}catch(e){return!1}}(),previous_search_uuid:n.uuid||null,previous_search_query:n.query||null}),_.setItem(h,JSON.stringify({uuid:i,query:t}))}(e.currentTarget)}catch(e){}}),$(document).on("click",".semantic-search-paa__link, .menu-search-paa__link",e=>{let t=$(e.currentTarget);d({eventName:"search_executed_related_question",searchTerm:t.text().trim(),searchOrigin:t.hasClass("menu-search-paa__link")?"nav_bar":"search_page"})}),$(document).on("click",".semantic-search-card__link, .semantic-search-feed__title a",e=>{l(function(e){let t=e.closest(".semantic-search-card"),r=t.length>0;return{event:"search_result_selected",search_term:$("#id_q").val()||"",result_title:r?e.find(".semantic-search-card__title").text().trim():e.text().trim(),result_url:e.attr("href")||"",result_content_type:e.attr("data-content-type")||"",result_top_match:r,...r?{result_top_match_position:parseInt(t.attr("data-card-index"),10)+1}:{result_top_match_position:void 0}}}($(e.currentTarget)))})}();
2//# sourceMappingURL=searchTracking.bundle.js.map

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.