1window.RUMCollector={endpoint:rumCollectorData.endpoint,waitOnLoad:rumCollectorData.waitOnLoad||3e3,sampleRate:rumCollectorData.sampleRate||.1,initialized:!1,init(){this.initialized||navigator.sendBeacon&&(this.attachLoadListener(),this.initialized=!0)},attachLoadListener(){const t=window.requestIdleCallback||(t=>setTimeout(t,this.waitOnLoad));window.addEventListener("load",()=>{t(()=>{try{const t={type:"pageload",timestamp:(new Date).toISOString(),domain:window.location.hostname,url:window.location.href,performance:this.collectPerformanceMetrics(),resources:this.collectResourceTimings()};if(!t.performance)return;if(Math.random()>this.sampleRate)return;this.send(t)}catch(t){console.warn("RUM Collection failed:",t)}},{timeout:this.waitOnLoad})},{passive:!0})},collectPerformanceMetrics(){const t=performance.getEntriesByType("navigation")[0];if(t&&0!==t.responseEnd)return{navigationType:t.type,startTime:t.startTime,redirectStart:t.redirectStart,redirectEnd:t.redirectEnd,workerStart:t.workerStart,fetchStart:t.fetchStart,domainLookupStart:t.domainLookupStart,domainLookupEnd:t.domainLookupEnd,connectStart:t.connectStart,secureConnectionStart:t.secureConnectionStart,connectEnd:t.connectEnd,requestStart:t.requestStart,responseStart:t.responseStart,responseEnd:t.responseEnd,domInteractive:t.domInteractive,domContentLoadedEventStart:t.domContentLoadedEventStart,domContentLoadedEventEnd:t.domContentLoadedEventEnd,domComplete:t.domComplete,loadEventStart:t.loadEventStart,loadEventEnd:t.loadEventEnd,transferSize:t.transferSize}},collectResourceTimings:()=>performance.getEntriesByType("resource").filter(t=>t.name.startsWith(window.location.origin)).map(t=>({name:t.name,initiatorType:t.initiatorType,startTime:t.startTime,redirectStart:t.redirectStart,redirectEnd:t.redirectEnd,workerStart:t.workerStart,fetchStart:t.fetchStart,domainLookupStart:t.domainLookupStart,domainLookupEnd:t.domainLookupEnd,connectStart:t.connectStart,secureConnectionStart:t.secureConnectionStart,connectEnd:t.connectEnd,requestStart:t.requestStart,responseStart:t.responseStart,responseEnd:t.responseEnd,transferSize:t.transferSize,encodedBodySize:t.encodedBodySize,decodedBodySize:t.decodedBodySize})),send(t){const e=new Blob([JSON.stringify(t)],{type:"application/json"});navigator.sendBeacon(this.endpoint,e)}},RUMCollector.init();
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.