1"use strict";(self.webpackChunkcbs_all_access=self.webpackChunkcbs_all_access||[]).push([[37786],{71977:(e,t,i)=>{function r(e,t,i="string",s=[]){return e&&"object"==typeof e?(Object.keys(e).forEach(a=>{"object"==typeof e[a]?r(e[a],t,i,s):typeof e[a]!==i||s.includes(a)||(e[a]=t(e[a]))}),e):e}i.d(t,{R:()=>r})},72370:(e,t,i)=>{i.r(t),i.d(t,{Aggregate:()=>k});var r=i(39289),s=i(91617),a=i(668),n=i(41774),o=i(88917),c=i(74641);function m(e){const t=[];try{Object.keys(e.features||{}).forEach(e=>{switch(e){case c.DT.ajax:t.push("xhr");break;case c.DT.jserrors:t.push("err");break;case c.DT.genericEvents:t.push("ins");break;case c.DT.sessionTrace:t.push("stn");break;case c.DT.softNav:t.push("spa")}})}catch(e){}return t}var u=i(94719);var h=i(12435),f=i(36015),d=i(84905),p=i(52452),T=i(62390),l=i(55896),g=i(82378);const y=new l.U(T.S.TIME_TO_FIRST_BYTE);if(r.il&&(0,r.Wt)()&&!r.Tt&&window===window.parent)(0,g.mr)(({value:e,attribution:t})=>{y.isValid||y.update({value:e,attrs:{navigationEntry:t.navigationEntry}})});else if(!y.isValid){const e={};for(let t in r._A?.performance?.timing||{})e[t]=Math.max(r._A?.performance?.timing[t]-r.sK,0);y.update({value:e.responseStart,attrs:{navigationEntry:e}})}var v=i(50265),b=i(3227),D=i(33180),R=i(88083);class w{#e;#t;#i;#r=!1;#s=0;constructor(e){this.#e=e,this.processStoredDiff(),(0,D.t)(performance.now,Date.now)}#a(){try{const e=Date.now()-r.sK-performance.now();if(e>1e3){e-this.#s>1e3&&(this.#s=e,this.#e&&(0,R.p)(b.xS,["Generic/TimeKeeper/ClockDrift/Detected",e],void 0,c.DT.metrics,this.#e.agentRef.ee))}}catch(e){}}get ready(){return this.#r}get correctedOriginTime(){return this.#t}get localTimeDiff(){return this.#i}processRumRequest(e,t,i,s){if(this.processStoredDiff(),this.#r)return;if(!s)throw new Error("nrServerTime not found");const a=t+(i-t)/2;if(this.#t=Math.floor(s-a),this.#i=r.sK-this.#t,isNaN(this.#t))throw new Error("Failed to correct browser time to server time");this.#e?.write({serverTimeDiff:this.#i}),this.#r=!0}convertRelativeTimestamp(e){return this.#a(),r.sK+e+this.#s}convertAbsoluteTimestamp(e){return this.#a(),e-r.sK-this.#s}correctAbsoluteTimestamp(e){return this.#a(),e-this.#i}correctRelativeTimestamp(e){return this.#a(),this.correctAbsoluteTimestamp(this.convertRelativeTimestamp(e))}processStoredDiff(){if(this.#r)return;const e=this.#e?.read()?.serverTimeDiff;"number"!=typeof e||isNaN(e)||(this.#i=e,this.#t=r.sK-this.#i,this.#r=!0)}}var B=i(71977),S=i(19487),E=i(35456),K=i(23307);class k extends f.m{static featureName=o.t;constructor(e){if(super(e,o.t),this.sentRum=!1,this.timeToFirstByte=0,this.firstByteToWindowLoad=0,this.firstByteToDomContent=0,this.retries=0,!(0,n.J)(e.info))return this.ee.abort(),(0,h.Z)(43);e.runtime.timeKeeper=new w(e.runtime.session),r.il?(y.subscribe(({value:e,attrs:t})=>{const i=t.navigationEntry;this.timeToFirstByte=Math.max(e,this.timeToFirstByte),this.firstByteToWindowLoad=Math.max(Math.round(i.loadEventEnd-this.timeToFirstByte),this.firstByteToWindowLoad),this.firstByteToDomContent=Math.max(Math.round(i.domContentLoadedEventEnd-this.timeToFirstByte),this.firstByteToDomContent)}),setTimeout(this.sendRum.bind(this),0)):this.sendRum()}sendRum(e=this.agentRef.info.jsAttributes){const t=this.agentRef.info,i={};t.queueTime&&(i.qt=t.queueTime),t.applicationTime&&(i.ap=t.applicationTime),i.be=this.timeToFirstByte,i.fe=this.firstByteToWindowLoad,i.dc=this.firstByteToDomContent;const n={tt:t.ttGuid,us:t.user,ac:t.account,pr:t.product,af:m(this.agentRef).join(","),...i,xx:t.extra,ua:t.userAttributes,at:t.atts};this.agentRef.runtime.session&&(n.fsh=Number(this.agentRef.runtime.session.isNew));let o=(0,B.R)({ja:{...e,webdriverDetected:K.z}},this.obfuscator.obfuscateString.bind(this.obfuscator),"string");if(r._A.performance){const e=(0,r.Wt)();if(e){const t={timing:(0,s.wu)(r.sK,e,{}),navigation:(0,s.uB)(e,{})};n.perf=(0,a.P)(t)}else if("undefined"!=typeof PerformanceTiming){const e={timing:(0,s.wu)(r.sK,r._A.performance.timing,{},!0),navigation:(0,s.uB)(r._A.performance.navigation,{})};n.perf=(0,a.P)(e)}}n.fp=p.U.current.value,n.fcp=d.y.current.value,this.queryStringsBuilder=()=>{this.rumStartTime=(0,v.z)();const e=this.agentRef.runtime.timeKeeper;return e?.ready&&(n.timestamp=Math.floor(e.correctRelativeTimestamp(this.rumStartTime))),n},this.events.add(o),this.agentRef.runtime.harvester.triggerHarvestFor(this,{sendEmptyBody:!0}).ranSend&&(this.sentRum=!0)}serializer(e){return e[0]}postHarvestCleanup({sent:e,status:t,responseText:i,xhr:r,retry:s}){const a=(0,v.z)();let n,o;try{({app:n,...o}=JSON.parse(i))}catch(e){(0,h.Z)(53,e)}if(super.postHarvestCleanup({sent:e,retry:s}),this.isRetrying&&this.retries++<1)setTimeout(()=>this.agentRef.runtime.harvester.triggerHarvestFor(this,{sendEmptyBody:!0}),5e3);else{if(t>=400||0===t){(0,h.Z)(18,t),this.blocked=!0;const e=new TextEncoder,i="BCS/Error/",r={sm:[{params:{name:i+t},stats:{c:1}},{params:{name:i+"Dropped/Bytes"},stats:{c:1,t:Object.values(newrelic.ee.backlog).reduce((t,i)=>{if(!i)return t;return t+e.encode(i).byteLength},0)}},{params:{name:i+"Duration/Ms"},stats:{c:1,t:a-this.rumStartTime}}]};return(0,S.l)(this.agentRef,{endpoint:c.r3[c.DT.metrics],payload:{body:r},submitMethod:(0,E.qD)(),featureName:c.DT.metrics}),void this.ee.abort()}try{const e=this.agentRef.runtime.timeKeeper.ready;if(this.agentRef.runtime.timeKeeper.processRumRequest(r,this.rumStartTime,a,n.nrServerTime),!this.agentRef.runtime.timeKeeper.ready)throw new Error("TimeKeeper not ready");const t=this.agentRef.runtime.timeKeeper.correctedOriginTime-n.nrServerTime;e&&t>0&&this.reportSupportabilityMetric("Generic/TimeKeeper/InvalidTimestamp/Seen",t)}catch(e){return this.ee.abort(),this.blocked=!0,void(0,h.Z)(17,e)}Object.keys(this.agentRef.runtime.appMetadata).length||(this.agentRef.runtime.appMetadata=n),this.drain(),this.agentRef.runtime.harvester.startTimer(),function(e,t){e&&"object"==typeof e&&!t.runtime.activatedFeatures&&(t.ee.emit("rumresp",[e]),t.runtime.activatedFeatures=e,(0,u.i)({loaded:!0,drained:!0,type:"lifecycle",name:"load",feature:void 0,data:e}))}(o,this.agentRef)}}}}}]); 2//# sourceMappingURL=page_view_event-aggregate-4bfe51db1edd79baee72.min.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.