PageSourceSearch

https://my.eroad.co.nz/6238.myeroad.b9ee4bd5558c750dae44.js

js eroad.co.nz collected 2026-09-26 07:45:54 UTC 13,160 bytes, 2 lines download raw bytes

1!function(){try{("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).__faroGitHash_myeroad="5ce3e63ee526711d9fdee9e150f093852f3a7cc4"}catch(t){}}(),function(){try{("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).__faroBundleId_myeroad="10.1.5092-apac"}catch(t){}}();try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="dd6a9f15-1626-4566-91cf-1922fe383bc8",t._sentryDebugIdIdentifier="sentry-dbid-dd6a9f15-1626-4566-91cf-1922fe383bc8")}catch(t){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"10.1.5092-apac"},(self.webpackChunk_eroad_myeroad=self.webpackChunk_eroad_myeroad||[]).push([[6238],{2586:(t,e,n)=>{n.d(e,{U:()=>s});const s="production"},4899:(t,e,n)=>{n.d(e,{h:()=>p});var s=n(43223),i=n(83103),o=n(77297);class r{constructor(t,e){let n,s;n=t||new i.H,s=e||new i.H,this._stack=[{scope:n}],this._isolationScope=s}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return(0,o.Qg)(n)?n.then(t=>(this._popScope(),t),t=>{throw this._popScope(),t}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function c(){const t=(0,s.EU)(),e=(0,s.Se)(t);return e.stack=e.stack||new r((0,s.BY)("defaultCurrentScope",()=>new i.H),(0,s.BY)("defaultIsolationScope",()=>new i.H))}function a(t){return c().withScope(t)}function h(t,e){const n=c();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function u(t){return c().withScope(()=>t(c().getIsolationScope()))}function p(t){const e=(0,s.Se)(t);return e.acs?e.acs:{withIsolationScope:u,withScope:a,withSetScope:h,withSetIsolationScope:(t,e)=>u(e),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}},7365:(t,e,n)=>{n.d(e,{T:()=>s});const s="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},8081:(t,e,n)=>{function s(t){return null!=t&&"function"!=typeof t&&function(t){return Number.isSafeInteger(t)&&t>=0}(t.length)}n.d(e,{X:()=>s})},8850:(t,e,n)=>{function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}n.d(e,{b:()=>s})},25626:(t,e,n)=>{n.d(e,{f:()=>r,r:()=>o});var s=n(21722);const i="_sentrySpan";function o(t,e){e?(0,s.my)(t,i,e):delete t[i]}function r(t){return t[i]}},30197:(t,e,n)=>{n.d(e,{N:()=>i});var s=n(8850);function i(t){return null!==t&&"object"==typeof t&&"[object Arguments]"===(0,s.b)(t)}},30721:(t,e,n)=>{n.d(e,{M:()=>s});const s="9.31.0"},35734:(t,e,n)=>{n.d(e,{I:()=>c});var s=n(30197),i=n(8081),o=n(76076),r=n(50364);function c(t){if(null==t)return!0;if((0,i.X)(t))return!!("function"==typeof t.splice||"string"==typeof t||"undefined"!=typeof Buffer&&Buffer.isBuffer(t)||(0,o.i)(t)||(0,s.N)(t))&&0===t.length;if("object"==typeof t){if(t instanceof Map||t instanceof Set)return 0===t.size;const e=Object.keys(t);return(0,r.v)(t)?0===e.filter(t=>"constructor"!==t).length:0===e.length}return!0}},42731:(t,e,n)=>{n.d(e,{l:()=>o});var s=n(45436),i=n(40685);function o(t,e,n,o){const r={};return e?.sdk&&(r.sdk={name:e.sdk.name,version:e.sdk.version}),n&&o&&(r.dsn=(0,s.SB)(o)),(0,i.h4)(r,[(c=t,[{type:"log",item_count:c.length,content_type:"application/vnd.sentry.items.log+json"},{items:c}])]);var c}},43223:(t,e,n)=>{n.d(e,{BY:()=>c,EU:()=>o,Se:()=>r});var s=n(30721),i=n(89170);function o(){return r(i.O),i.O}function r(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||s.M,e[s.M]=e[s.M]||{}}function c(t,e,n=i.O){const o=n.__SENTRY__=n.__SENTRY__||{},r=o[s.M]=o[s.M]||{};return r[t]||(r[t]=e())}},45436:(t,e,n)=>{n.d(e,{AD:()=>u,SB:()=>c,ay:()=>h});var s=n(7365),i=n(40417);const o=/^o(\d+)\./,r=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function c(t,e=!1){const{host:n,path:s,pass:i,port:o,projectId:r,protocol:c,publicKey:a}=t;return`${c}://${a}${e&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${s?`${s}/`:s}${r}`}function a(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function h(t){const e=t.match(o);return e?.[1]}function u(t){const e="string"==typeof t?function(t){const e=r.exec(t);if(!e)return void(0,i.pq)(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});const[n,s,o="",c="",h="",u=""]=e.slice(1);let p="",_=u;const d=_.split("/");if(d.length>1&&(p=d.slice(0,-1).join("/"),_=d.pop()),_){const t=_.match(/^\d+/);t&&(_=t[0])}return a({host:c,pass:o,path:p,projectId:_,port:h,protocol:n,publicKey:s})}(t):a(t);if(e&&function(t){if(!s.T)return!0;const{port:e,projectId:n,protocol:o}=t;return!(["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(i.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(o)?e&&isNaN(parseInt(e,10))&&(i.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},50364:(t,e,n)=>{function s(t){const e=t?.constructor;return t===("function"==typeof e?e.prototype:Object.prototype)}n.d(e,{v:()=>s})},53314:(t,e,n)=>{n.d(e,{T:()=>s});const s="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},56813:(t,e,n)=>{function s(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}n.d(e,{i:()=>s})},59511:(t,e,n)=>{n.d(e,{f:()=>i});var s=n(67099);function i(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=t||(0,s.KU)()?.getOptions();return!(!e||null==e.tracesSampleRate&&!e.tracesSampler)}},67099:(t,e,n)=>{n.d(e,{KU:()=>p,m6:()=>h,o5:()=>c,rm:()=>a,v4:()=>u,vn:()=>_});var s=n(4899),i=n(43223),o=n(83103),r=n(74904);function c(){const t=(0,i.EU)();return(0,s.h)(t).getCurrentScope()}function a(){const t=(0,i.EU)();return(0,s.h)(t).getIsolationScope()}function h(){return(0,i.BY)("globalScope",()=>new o.H)}function u(...t){const e=(0,i.EU)(),n=(0,s.h)(e);if(2===t.length){const[e,s]=t;return e?n.withSetScope(e,s):n.withScope(s)}return n.withScope(t[0])}function p(){return c().getClient()}function _(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:s,propagationSpanId:i}=e,o={trace_id:n,span_id:i||(0,r.Z)()};return s&&(o.parent_span_id=s),o}},74904:(t,e,n)=>{n.d(e,{Z:()=>o,e:()=>i});var s=n(28261);function i(){return(0,s.eJ)()}function o(){return(0,s.eJ)().substring(16)}},76076:(t,e,n)=>{n.d(e,{i:()=>i});var s=n(56813);function i(t){return(0,s.i)(t)}},82549:(t,e,n)=>{n.d(e,{Z:()=>c});var s=n(67099),i=n(40417),o=n(76208);const r=100;function c(t,e){const n=(0,s.KU)(),c=(0,s.rm)();if(!n)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:h=r}=n.getOptions();if(h<=0)return;const u={timestamp:(0,o.lu)(),...t},p=a?(0,i.pq)(()=>a(u,e)):u;null!==p&&(n.emit&&n.emit("beforeAddBreadcrumb",p,e),c.addBreadcrumb(p,h))}},83103:(t,e,n)=>{n.d(e,{H:()=>_});
1var s=n(87655),i=n(77297),o=n(40417),r=n(88213),c=n(28261),a=n(74904),h=n(25626),u=n(27976),p=n(76208);class _{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,a.e)(),sampleRand:Math.random()}}clone(){const t=new _;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,(0,h.r)(t,(0,h.f)(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,s.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,n=e instanceof _?e.getScopeData():(0,i.Qd)(e)?t:void 0,{tags:s,extra:o,user:r,contexts:c,level:a,fingerprint:h=[],propagationContext:u}=n||{};return this._tags={...this._tags,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},r&&Object.keys(r).length&&(this._user=r),a&&(this._level=a),h.length&&(this._fingerprint=h),u&&(this._propagationContext=u),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,h.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,a.e)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const s={timestamp:(0,p.lu)(),...t,message:t.message?(0,u.xv)(t.message,2048):t.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,h.f)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=(0,r.h)(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}
1captureException(t,e){const n=e?.event_id||(0,c.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture exception!"),n;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},this),n}captureMessage(t,e,n){const s=n?.event_id||(0,c.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture message!"),s;const i=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:s},this),s}captureEvent(t,e){const n=e?.event_id||(0,c.eJ)();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(o.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}},88213:(t,e,n)=>{function s(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;const i={...t};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=s(i[t],e[t],n-1));return i}n.d(e,{h:()=>s})},89170:(t,e,n)=>{n.d(e,{O:()=>s});const s=globalThis}}]);
2//# sourceMappingURL=6238.myeroad.b9ee4bd5558c750dae44.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.