PageSourceSearch

https://my.eroad.co.nz/preload.myeroad.0a47b61a08d293f84b25.js

js eroad.co.nz collected 2026-09-26 07:45:57 UTC 8,643 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(e){}}(),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(e){}}();try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2d6d16ef-dc40-44d1-be1a-a1824a732aac",e._sentryDebugIdIdentifier="sentry-dbid-2d6d16ef-dc40-44d1-be1a-a1824a732aac")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"10.1.5092-apac"},(()=>{"use strict";var e,n={31392:(e,n,o)=>{var t=o(65802);function r(){const e="apac";return!!(0,t.K)(e)&&["apacpp","napp","test"].includes(e)}function a(){const e="apac";return!!(0,t.K)(e)&&["apac","na"].includes(e)}var i=o(57115),l=o(58843),s=o(55056),d=o(446),u=o(51962),c=o(80729),f=o(24134),p=o(70457),v=o(85728);function g(e){var n;if(!function(e){return e.type===v.f.EXCEPTION}(e))return e;const{payload:o}=e;return function(e,n){const{value:o}=e;return!!(null==n?void 0:n.startsWith("file:///"))||(!!(null==n?void 0:n.includes("/Portal"))||!!(null==o?void 0:o.includes("ResizeObserver loop completed with undelivered notifications")))}(o,null==(n=e.meta.page)?void 0:n.url)?null:e}let b;i.$b.ERROR,i.$b.INFO,i.$b.WARN;var m=o(70306),y=o(18018);let h=0;function w(e,n){return function({exception:e,request:n}){var o,t,r,a,i,l,s,d,u,c,f;const p=null==n?void 0:n.url,v=null==(o=null==e?void 0:e.values)?void 0:o[0],g=null==v?void 0:v.stacktrace,b=null==v?void 0:v.value,m=null==v?void 0:v.type;return"AbortError"===m&&"Fetch is aborted"===b||("Error"===m&&"Attempting to run(), but is already running."===b||(!("mapbox-gl/dist/mapbox-gl"!==(null==(r=null==(t=null==g?void 0:g.frames)?void 0:t[0])?void 0:r.module)&&!(null==(l=null==(i=null==(a=null==g?void 0:g.frames)?void 0:a[0])?void 0:i.filename)?void 0:l.includes("mapbox-gl/dist/mapbox-gl"))||"Failed to fetch"!==b)||(!("mapbox-gl/dist/mapbox-gl"!==(null==(d=null==(s=null==g?void 0:g.frames)?void 0:s[1])?void 0:d.module)&&!(null==(f=null==(c=null==(u=null==g?void 0:g.frames)?void 0:u[1])?void 0:c.filename)?void 0:f.includes("mapbox-gl/dist/mapbox-gl")))||(!!(null==b?void 0:b.includes("Cannot read properties of undefined (reading 'isMoving')"))||(!!(null==b?void 0:b.toLocaleLowerCase().match(/framebuffer error \d/))||(!!(null==b?void 0:b.includes("this._onEaseFrame is not a function"))||(!!(null==b?void 0:b.includes("Non-Error exception captured with keys: _pendo_"))||(!!(null==b?void 0:b.includes("ResizeObserver loop"))||('{"isTrusted":false}'===b||(!!(null==p?void 0:p.startsWith("file:///"))||!!(null==p?void 0:p.includes("/Portal"))))))))))))}(e)||function({originalException:e}){if(e instanceof Error){const{message:n,stack:o}=e;return!!((null==o?void 0:o.includes("at pendo.messageReceiver"))||(null==o?void 0:o.includes("continuePlacement"))||(null==o?void 0:o.includes("An image with this name already exists."))||(null==o?void 0:o.includes("Not enough storage is available to complete this operation."))||n.includes("layout.get')")||n.includes("Not enough storage is available to complete this operation.")||n.includes("undefined is not an object (evaluating '")||n.includes("An image with this name already exists.")||n.includes("No image with this name exists."))}return!1}(n)?null:(h+=1,h>20?null:e)}var O=Object.defineProperty,x=Object.defineProperties,S=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,k=(e,n,o)=>n in e?O(e,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[n]=o;function E(e){var n=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var o=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(n);
1return o?o[2]?decodeURIComponent(o[2].replace(/\+/g," ")):"":null}function R(e,n){var o=e.split("?");if(o.length>=2){for(var t=encodeURIComponent(n)+"=",r=o[1].split(/[&;]/g),a=r.length;a-- >0;)-1!==r[a].lastIndexOf(t,0)&&r.splice(a,1);return o[0]+(r.length>0?"?"+r.join("&"):"")}return e}(a()||r())&&function({dsn:e,tracesSampler:n,tracesSampleRate:o}){!(0,c.V)()&&!(0,p.R)()&&(0,m.T)({_experiments:{enableLogs:!0},beforeSend:w,dsn:e,environment:"apac",integrations:[(0,y.dp)({beforeStartSpan:e=>{return n=((e,n)=>{for(var o in n||(n={}))I.call(n,o)&&k(e,o,n[o]);if(T)for(var o of T(n))_.call(n,o)&&k(e,o,n[o]);return e})({},e),o={name:e.name.replace(/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i,":guid")},x(n,S(o));var n,o}})],release:"10.1.5092-apac",tracesSampler:n,tracesSampleRate:o})}({dsn:"https://[email protected]/5401292",tracesSampler:({name:e})=>r()?.05:e.includes("/activity")?.001:"/Portal/tracking/tracking"===e?.005:.01}),a()&&(window.isLegacyBrowser||function({app:e,ignoreUrls:n,url:o}){!(0,c.V)()&&!(0,p.R)()&&((0,u.O)(b)||Object.values(e).some(e=>(0,f.I)(null==e?void 0:e.trim()))||(0,f.I)(null==o?void 0:o.trim())||(b=(0,l.p)({app:e,beforeSend:g,consoleInstrumentation:{disabledLevels:[i.$b.DEBUG,i.$b.TRACE,i.$b.LOG,i.$b.INFO,i.$b.WARN]},ignoreUrls:n,instrumentations:[...(0,s.w)(),new d.v],sessionTracking:{samplingRate:.01},url:o})))}({app:{environment:"apac",name:"myeroad",version:"10.1.5092-apac"},ignoreUrls:[/data:image\/svg\+xml/,/analytics\.google\.com/,/api\.mapbox\.com/,/app\.pendo\.io/,/google-analytics\.com/,/maps\.hereapi\.com/,/sentry\.io/],url:"https://faro-collector-prod-au-southeast-1.grafana.net/collect/dba5f76c93b5014510ed2524b01facbb"})),(()=>{var e=E("clientId"),n=E("lastAuthUser"),o=E("refreshToken");if(o&&e&&n){var t="CognitoIdentityServiceProvider."+e+".",r=t+n+".",a=JSON.parse(JSON.stringify(localStorage));for(var i in a)-1!==i.indexOf(t)&&-1===i.indexOf(n)&&i!==t+"LastAuthUser"&&window.localStorage.removeItem(i);var l,s=function(e){try{return JSON.parse(atob(e.split(".")[1]))}catch(e){return}}(window.localStorage.getItem(r+"accessToken"));void 0!==s&&(l=s.exp),window.localStorage.setItem(t+"LastAuthUser",n),window.localStorage.setItem(r+"refreshToken",o);var d=!0;"number"==typeof l&&(d=(new Date).getTime()>1e3*l),d&&(window.localStorage.setItem(r+"idToken","null"),window.localStorage.setItem(r+"accessToken","null")),window.location.href=R(R(R(window.location.href,"clientId"),"lastAuthUser"),"refreshToken")}})()}},o={};function t(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return n[e].call(a.exports,a,a.exports,t),a.exports}t.m=n,t.amdO={},e=[],t.O=(n,o,r,a)=>{if(!o){var i=1/0;for(u=0;u<e.length;u++){for(var[o,r,a]=e[u],l=!0,s=0;s<o.length;s++)(!1&a||i>=a)&&Object.keys(t.O).every(e=>t.O[e](o[s]))?o.splice(s--,1):(l=!1,a<i&&(i=a));if(l){e.splice(u--,1);var d=r();void 0!==d&&(n=d)}}return n}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,r,a]},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{if(void 0!==t){var e=t.u,n=t.e,o={},r={};t.u=function(n){return e(n)+(o.hasOwnProperty(n)?"?"+o[n]:"")},t.e=function(a){return n(a).catch(function(n){var i=r.hasOwnProperty(a)?r[a]:3;if(i<1){var l=e(a);throw n.message="Loading chunk "+a+" failed after 3 retries.\n("+l+")",n.request=l,n}return new Promise(function(e){var n=3-i+1;setTimeout(function(){var l="cache-bust=true&retry-attempt="+n;o[a]=l,r[a]=i-1,e(t.e(a))},0)})})}}})(),(()=>{var e={914:0};t.O.j=n=>0===e[n];var n=(n,o)=>{var r,a,[i,l,s]=o,d=0;if(i.some(n=>0!==e[n])){for(r in l)t.o(l,r)&&(t.m[r]=l[r]);if(s)var u=s(t)}for(n&&n(o);d<i.length;d++)a=i[d],t.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return t.O(u)},o=self.webpackChunk_eroad_myeroad=self.webpackChunk_eroad_myeroad||[];o.forEach(n.bind(null,0)),o.push=n.bind(null,o.push.bind(o))})();var r=t.O(void 0,[6238,5848,8004],()=>t(31392));r=t.O(r)})();
2//# sourceMappingURL=preload.myeroad.0a47b61a08d293f84b25.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.