1(function () { 2 if (!window.HIVE_SDK) { 3 window.HIVE_SDK = function () { 4 window.HIVE_SDK.q = window.HIVE_SDK.q || []; 5 window.HIVE_SDK.q.push(arguments); 6 }; 7 window.HIVE_SDK.q = []; 8 } 9 10 const loadScript = (retries = 3) => { 11 if (document.getElementById('HIVE_SDK')) return; 12 13 const script = document.createElement('script'); 14 script.id = 'HIVE_SDK'; 15 script.async = true; 16 script.src = 17 'https://cdn-prod.hive.co/static/js/sdk-loader.js?r=' + Math.floor(Date.now() / 60000); 18 script.onload = () => { 19 console.log('Hive SDK loaded successfully'); 20 }; 21 script.onerror = () => { 22 console.error('Failed to load Hive SDK, retries left:', retries); 23 if (retries > 0) { 24 setTimeout(() => loadScript(retries - 1), 5000); 25 } else { 26 console.error('Hive SDK failed to load after all retries.'); 27 } 28 }; 29 document.head.appendChild(script); 30 }; 31 32 if (document && document.readyState === 'loading') { 33 document.addEventListener('DOMContentLoaded', loadScript); 34 } else { 35 loadScript(); 36 } 37})();
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.