PageSourceSearch

https://myaccount.sbs.com.au/assets/8910a0c/index-C38go_Sp.js

js sbs.com.au collected 2026-10-01 08:34:59 UTC 7,226 bytes, 11 lines download raw bytes

1import{c as w,j as C,s as p,k as y,d as R,l as d,n as U,f as F,m as _,h as M}from"./root-BiwJlakV.js";import{A as P}from"./aggregate-base-Cz6n0qPK.js";import{a as L}from"./traverse-eGeoT8Mx.js";import"./chunk-EPOLDU6W-Cy0pbNoL.js";import"./jsx-runtime-u17CrQMm.js";import"./index-DtBkVZC2.js";import"./index-hDuMSH-s.js";import"./mutation-BhTIUPuz.js";import"./QueryClientProvider-CC4TKqza.js";import"./main-DgKiPsY3.js";import"./status-announcer-provider-twgJHQuP.js";import"./i18nInstance-CHFDjdcJ.js";import"./constant-Xkv3-n4F.js";import"./Info.es-DNkcPahO.js";import"./data-layer-ChCkY7-u.js";import"./sbs-login-instance-BSFpe7xw.js";import"./user-provider-NaoA7uDd.js";import"./preload-helper-BXl3LOEh.js";import"./helpers-Dqt3x3rr.js";const H=/([a-z0-9]+)$/i;function B(t){if(!t)return;const e=t.match(H);if(e)return e[1]}var $=/^\n+|\n+$/g,E=65530;function z(t){return W(t).replace($,"")}function W(t){var e;if(t.length>100){var r=t.length-100;e=t.slice(0,50).join(`
2`),e+=`
3< ...truncated `+r+` lines... >
4`,e+=t.slice(-50).join(`
5`)}else e=t.join(`
6`);return e}function q(t){return t.length>E?t.substr(0,E):t}function N(t){if(typeof t!="string")return"";const e=w(t),r=w(C);return e===r?"<inline>":e}var G=/function (.+?)\s*\(/,K=/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i,J=/^\s*(?:(\S*|global code)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,V=/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,Y=/^\s*at Function code \(Function code:\d+:\d+\)\s*/i;function j(t){var e=null;try{if(e=X(t),e)return e}catch{}try{if(e=Z(t),e)return e}catch{}try{if(e=x(t),e)return e}catch{}return{mode:"failed",stackString:"",frames:[]}}function X(t){if(!t.stack)return null;var e=t.stack.split(`
7`).reduce(D,{frames:[],stackLines:[],wrapperSeen:!1});return e.frames.length?{mode:"stack",name:t.name||b(t),message:t.message,stackString:z(e.stackLines),frames:e.frames}:null}function D(t,e){let r=Q(e);if(!r)return t.stackLines.push(e),t;if(ee(r.func)&&(t.wrapperSeen=!0),!t.wrapperSeen){let s=N(r.url);s!==r.url&&(e=e.replace(r.url,s),r.url=s),t.stackLines.push(e),t.frames.push(r)}return t}function Q(t){var e=t.match(J);if(e||(e=t.match(K)),e)return{url:e[2],func:e[1]!=="Anonymous function"&&e[1]!=="global code"&&e[1]||null,line:+e[3],column:e[4]?+e[4]:null};if(t.match(V)||t.match(Y)||t==="anonymous")return{func:"evaluated code"}}function Z(t){if(!("line"in t))return null;var e=t.name||b(t);if(!t.sourceURL)return{mode:"sourceline",name:e,message:t.message,stackString:e+": "+t.message+`
8    in evaluated code`,frames:[{func:"evaluated code"}]};var r=N(t.sourceURL),s=e+": "+t.message+`
9    at `+r;return t.line&&(s+=":"+t.line,t.column&&(s+=":"+t.column)),{mode:"sourceline",name:e,message:t.message,stackString:s,frames:[{url:r,line:t.line,column:t.column}]}}function x(t){var e=t.name||b(t);return e?{mode:"nameonly",name:e,message:t.message,stackString:e+": "+t.message,frames:[]}:null}function b(t){var e=G.exec(String(t.constructor));return e&&e.length>1?e[1]:"unknown"}function ee(t){return t&&t.indexOf("nrWrapper")>=0}function S(t){var e=0,r;if(!t||!t.length)return e;for(var s=0;s<t.length;s++)r=t.charCodeAt(s),e=(e<<5)-e+r,e=e|0;return e}const A="Rrweb",I="Security-Policy";function te(t,e,r){const s={shouldSwallow:e||!1,reason:r||"Other"},n=t.frames?.[0];if(!n||typeof t?.message!="string")return s;const o=n?.url?.match(/nr-(.*)-recorder.min.js/),m=n?.url?.match(/rrweb/),c=n?.url?.match(/recorder/),u=t.message.toLowerCase().match(/an attempt was made to break through the security policy of the user agent/);return o||m?(s.shouldSwallow=!0,s.reason=A,u&&(s.reason+="-"+I)):c&&u&&(s.shouldSwallow=!0,s.reason=A+"-"+I),s}function re(t){let e="";if(!t?.cause)return e;if(t.cause instanceof Error){const r=j(t.cause);e=r.stackString||t.cause.stack,r.message&&!e.includes(r.message)&&(e=r.message+`
10`+e),r.name&&!e.includes(r.name)&&(e=r.name+": "+e)}else e=typeof t.cause=="string"?t.cause:p(t.cause);return e||=t.cause.toString(),e}class ye extends P{static featureName=y;constructor(e){super(e,y),this.harvestOpts.aggregatorTypes=["err","ierr","xhr"],this.stackReported={},this.observedAt={},this.pageviewReported={},this.errorOnPage=!1,R("err",(...r)=>this.storeError(...r),this.featureName,this.ee),R("ierr",(...r)=>this.storeError(...r),this.featureName,this.ee),R("returnJserror",(r,s)=>this.#e(r,s),this.featureName,this.ee),this.waitForFlags(["err"]).then(([r])=>{r?this.drain():(this.blocked=!0,this.deregisterDrain())})}serializer(e){return L(e,this.obfuscator.obfuscateString.bind(this.obfuscator),"string")}queryStringsBuilder(e){const r={},s=p(this.agentRef.runtime.releaseIds);return s!=="{}"&&(r.ri=s),e?.err?.length&&(this.errorOnPage||(r.pve="1",this.errorOnPage=!0),this.agentRef.features?.[d.sessionReplay]?.featAggregate?.replayIsActive()||e.err.forEach(n=>delete n.params.hasReplay)),r}buildCanonicalStackString(e){for(var r="",s=0;s<e.frames.length;s++){var n=e.frames[s],o=B(n.func);r&&(r+=`
11`),o&&(r+=o+"@"),typeof n.url=="string"&&(r+=n.url),n.line&&(r+=":"+n.line)}return r}storeError(e,r,s,n,o,m,c){if(!e)return;r=r||U();let u;if(!s&&this.agentRef.runtime.onerror&&(u=this.agentRef.runtime.onerror(e),u&&!(typeof u.group=="str
11ing"&&u.group.length)))return;var i=j(e);const{shouldSwallow:v,reason:k}=te(i,s,m);if(v){this.reportSupportabilityMetric("Internal/Error/"+k);return}var h=this.buildCanonicalStackString(i);const l=re(e),a={stackHash:S(h),exceptionClass:i.name,request_uri:F?.location.pathname,...l&&{cause:l}};i.message&&(a.message=""+i.message),u?.group&&(a.errorGroup=u.group),o&&!c&&(a.hasReplay=o);var f=S("".concat(i.name,"_").concat(i.message,"_").concat(i.stackString,"_").concat(a.hasReplay?1:0,"_").concat(c?.id||"container"));this.stackReported[f]?a.browser_stack_hash=S(i.stackString):(this.stackReported[f]=!0,a.stack_trace=q(i.stackString),this.observedAt[f]=Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(r))),a.releaseIds=p(this.agentRef.runtime.releaseIds),this.pageviewReported[f]||(a.pageview=1,this.pageviewReported[f]=!0),a.firstOccurrenceTimestamp=this.observedAt[f],a.timestamp=Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(r));var T="err",O={time:r};const g=[T,f,a,O,n];c||_("trace-jserror",g,void 0,d.sessionTrace,this.ee),!this.blocked&&(e.__newrelic?.[this.agentIdentifier]&&(a._interactionId=e.__newrelic[this.agentIdentifier].interactionId,a._interactionNodeId=e.__newrelic[this.agentIdentifier].interactionNodeId),e.__newrelic?.socketId&&(n.socketId=e.__newrelic.socketId),c||(!!this.agentRef.features?.[d.softNav]?_("jserror",[g],void 0,d.softNav,this.ee):this.#e(g,!1)),c&&this.#e([...g,c],!1,a._softNavAttributes))}#e(e,r={}){let[s,n,o,m,c,u]=e;const i={...M(u,this)};Object.entries(this.agentRef.info.jsAttributes).forEach(([l,a])=>h(l,a)),Object.entries(r).forEach(([l,a])=>h(l,a)),o.browserInteractionId&&(n+=o.browserInteractionId),c&&Object.entries(c).forEach(([l,a])=>h(l,a));const v=S(p(i)),k=n+":"+v;this.events.add([s,k,o,m,i]);function h(l,a){i[l]=a&&typeof a=="object"?p(a):a}}}export{ye 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.