PageSourceSearch

https://www.data.vic.gov.au/_nuxt/DaPR03wt.js

js data.vic.gov.au collected 2026-09-24 09:04:42 UTC 4,356 bytes, 1 lines download raw bytes

1import{U as M,$ as A,t as C,k as p,aY as N,z as l,O as y,n as R,w as d,aR as O,F as b}from"./CFuRW1p9.js";import{a as E,b as v}from"./CHjjxeJZ.js";import{F as S}from"./Bn3uZlqu.js";import{t as k,g as x}from"./CfU3HWah.js";import{T as K,a as B}from"./DtYBOOxq.js";import{A as D}from"./CYfiufGJ.js";import{w as P,a as j,f as q}from"./CLynRndx.js";import{s as L,g as _}from"./9O3jH46-.js";import{O as H}from"./BDC0d0wx.js";import"./2kXm08UW.js";import"./CuZYu5JK.js";import"./dR0QLUNx.js";import"./BjSRmwQ1.js";import"./Cu3lSKd-.js";class se extends D{static featureName=S;constructor(t){if(super(t,S),this.isSessionTrackingEnabled=M(t.init)&&!!t.runtime.session,this.sentRum=!1,this.timeToFirstByte=0,this.firstByteToWindowLoad=0,this.firstByteToDomContent=0,this.retries=0,this.obfuscator=new H(t,A.PVE),t.runtime.timeKeeper=new K(t.runtime.session),C){const e=this.isSessionTrackingEnabled&&t.runtime.session?.state.cachedRumResponse;if(e){const{app:s,...i}=e;Object.keys(this.agentRef.runtime.appMetadata).length||(t.runtime.appMetadata=s),this.drain(),t.runtime.harvester.startTimer(),B(i,t)}k.subscribe(({value:s,attrs:i})=>{const o=i.navigationEntry;this.timeToFirstByte=Math.max(s,this.timeToFirstByte),this.firstByteToWindowLoad=Math.max(Math.round(o.loadEventEnd-this.timeToFirstByte),this.firstByteToWindowLoad),this.firstByteToDomContent=Math.max(Math.round(o.domContentLoadedEventEnd-this.timeToFirstByte),this.firstByteToDomContent)}),setTimeout(this.sendRum.bind(this),0)}else this.sendRum()}sendRum(t=this.agentRef.info.jsAttributes){const e=this.agentRef.info,s={};e.queueTime&&(s.qt=e.queueTime),e.applicationTime&&(s.ap=e.applicationTime),s.be=this.timeToFirstByte,s.fe=this.firstByteToWindowLoad,s.dc=this.firstByteToDomContent;const i={tt:e.ttGuid,us:e.user,ac:e.account,pr:e.product,af:x(this.agentRef).join(","),...s,xx:e.extra,ua:e.userAttributes,at:e.atts};this.agentRef.runtime.session&&(i.fsh=+!this.agentRef.runtime.session.state.cachedRumResponse);let o=this.obfuscator.traverseAndObfuscateEvents({ja:{...t,webdriverDetected:P}});if(p.performance){const a=N();if(a){const r={timing:v(y,a,{}),navigation:E(a,{})};i.perf=l(r)}else if(typeof PerformanceTiming<"u"){const r={timing:v(y,p.performance.timing,{},!0),navigation:E(p.performance.navigation,{})};i.perf=l(r)}}i.fp=j.current.value,i.fcp=q.current.value,this.queryStringsBuilder=()=>{this.rumStartTime=R();const a=this.agentRef.runtime.timeKeeper;return a?.ready&&(i.timestamp=Math.floor(a.correctRelativeTimestamp(this.rumStartTime))),i},this.events.add(o),this.agentRef.runtime.harvester.triggerHarvestFor(this).ranSend&&(this.sentRum=!0)}serializer(t){return t[0]}postHarvestCleanup({sent:t,status:e,responseText:s,xhr:i,retry:o}){const a=R();let r,h;const c=!!this.agentRef.runtime.session?.state.cachedRumResponse;try{({app:r,...h}=JSON.parse(s))}catch(n){d(53,n)}const F=this.isSessionTrackingEnabled&&!c&&!!r;if(c){let{app:n,...m}=this.agentRef.runtime.session.state.cachedRumResponse;r??=n,h=m}if(super.postHarvestCleanup({sent:t,retry:o&&!c}),this.isRetrying&&this.retries++<1){setTimeout(()=>this.agentRef.runtime.harvester.triggerHarvestFor(this),5e3);return}if(e>=400||e===0){d(18,e);const n=new TextEncoder,m=Object.values(newrelic.ee.backlog).reduce((g,T)=>{if(!T)return g;const w=n.encode(T);return g+w.byteLength},0),u="BCS/Error/",f=[{params:{name:u+e},stats:{c:1}},{params:{name:u+"Duration/Ms"},stats:{c:1,t:a-this.rumStartTime}}];if(c||f.push({params:{name:u+"Dropped/Bytes"},stats:{c:1,t:m}}),L(this.agentRef,{endpoint:O[b.metrics],payload:{body:{sm:f}},submitMethod:_(),featureName:b.metrics}),!c){this.blocked=!0,this.ee.abort();return}}else F&&this.agentRef.runtime.session.write({cachedRumResponse:{app:r,...h}});try{const n=this.agentRef.runtime.timeKeeper.ready;if(this.agentRef.runtime.timeKeeper.processRumRequest(i,this.rumStartTime,a,r.nrServerTime),!this.agentRef.runtime.timeKeeper.ready)throw new Error("TimeKeeper not ready");const m=this.agentRef.runtime.timeKeeper.correctedOriginTime-r.nrServerTime;n&&m>0&&this.reportSupportabilityMetric("Generic/TimeKeeper/InvalidTimestamp/Seen",m)}catch(n){this.ee.abort(),this.blocked=!0,d(17,n);return}Object.keys(this.agentRef.runtime.appMetadata).length||(this.agentRef.runtime.appMetadata=r),this.drain(),this.agentRef.runtime.harvester.startTimer(),B(h,this.agentRef)}}
1export{se as Aggregate};

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.