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:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="684bf74a-3657-4629-915e-8463a779e7d8",e._sentryDebugIdIdentifier="sentry-dbid-684bf74a-3657-4629-915e-8463a779e7d8")}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"},(()=>{var e,t,r,a,s,o={1454:(e,t,r)=>{"use strict";r.d(t,{wY:()=>g,Fe:()=>h});var a=r(42586),s=r(3617),o=Object.defineProperty,i=Object.defineProperties,n=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&u(e,r,t[r]);if(l)for(var r of l(t))d.call(t,r)&&u(e,r,t[r]);return e},m=(e,t)=>i(e,n(t));function g(e,t){const r=m(p({},t),{defaultTheme:s.T});return"function"==typeof e?(0,a.A)(t=>e(t),r):(0,a.A)(e,r)}const h=g(e=>({"@global":{html:{fontSize:10},body:{fontFamily:e.typography.fonts.primary,color:e.colors.onsurfaceFont}}}));g(e=>({"@global":{html:{fontSize:10},"div#root":{fontFamily:e.typography.fonts.primary,fontSize:e.spacing(4),padding:e.spacing(4),"& h1 + h3":{marginTop:-e.spacing(4),marginBottom:e.spacing(4)},"& p":{margin:`${e.spacing(3)}px 0`,"&:first-child":{marginTop:0}},"& ul":{paddingLeft:e.spacing(2),listStylePosition:"inside"},"& li ul":{paddingLeft:e.spacing(4)},"& > div":{color:"inherit",fontSize:"inherit",padding:0}}}}))},2392:(e,t,r)=>{"use strict";r.d(t,{c:()=>s,z:()=>a});const a=({firstName:e,lastName:t})=>[e,t].map(e=>null==e?void 0:e.trim()).filter(Boolean).join(" "),s=({firstName:e,lastName:t,username:r,userroles:s})=>{const o=(null!=s?s:[]).map(e=>null==e?void 0:e.trim()).filter(Boolean).join(", "),i=a({firstName:e,lastName:t}),n=null==r?void 0:r.trim();return n||o?`${i} (${[n,o].filter(Boolean).join(" - ")})`:i}},3296:(e,t,r)=>{"use strict";r.d(t,{U:()=>m});var a=r(14041),s=r(80601),o=r(56706),i=r(14041),n=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&u(e,r,t[r]);if(l)for(var r of l(t))d.call(t,r)&&u(e,r,t[r]);return e};const m=({children:e,enAU:t,enNZ:r,enUS:n,frCA:l})=>{const{locale:c,messages:d,timeZone:u}=(0,s.t)(),m=(0,a.useMemo)(()=>Object.assign({},d,function({enAU:e,enNZ:t,enUS:r,frCA:a,locale:s}){return"en-AU"===s?p(p({},t),e):"en-US"===s?p(p({},t),r):"fr-CA"===s?p(p({},t),a):t}({enAU:t,enNZ:r,enUS:n,frCA:l,locale:c})),[d,c,r,t,n,l]);return i.createElement(o.A,{locale:c,messages:m,timeZone:u},e)}},3617:(e,t,r)=>{"use strict";r.d(t,{T:()=>p});var a=Object.defineProperty,s=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,n=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t)=>{for(var r in t||(t={}))o.call(t,r)&&n(e,r,t[r]);if(s)for(var r of s(t))i.call(t,r)&&n(e,r,t[r]);return e};const c={decorativeBlue:"#1693DE",decorativeBlueDark:"#056DAD",decorativeBlueLight:"#91CEF2",decorativeGreen:"#53A32E",decorativeGreenDark:"#288000",decorativeGreenLight:"#8FDB6C",decorativeOrange:"#E86900",decorativeOrangeLight:"#FFBD87",decorativePurple:"#BF57FF",decorativePurpleDark:"#990AF0",decorativePurpleLight:"#E2B2FF",decorativeRed:"#FF584D",decorativeRedDark:"#C7362C",decorativeRedLight:"#FFB8B2",decorativeTeal:"#009E8C",decorativeTealDark:"#017A6C",decorativeTealLight:"#6EDBBF",decorativeYellow:"#C28300",decorativeYellowDark:"#996900",decorativeYellowLight:"#FFC547",onsurfaceCriticalRed:"#BD0D00",onsurfaceElevated:"#1D242C",onsurfaceFont:"#3B434B",onsurfaceGrayBorders:"#C7C9CB",onsurfaceSuccessGreen:"#39771D",onsurfaceTechnicalFont:"#6E7378",onsurfaceWarningOrange:"#996500",primaryBlueActive:"#124D86",primaryBlueDefault:"#1869B7",primaryBlueHover:"#4284C4",primaryBluePressed:"#1693DE",surfaceBlueHover:"#D8EBFD",surfaceCriticalRed:"#FFE5E3",surfaceCriticalRedTint:"#FFF1F1",surfaceLevel1:"#F8F8F8",surfaceLevel2:"#F1F1F2",surfaceLevel3:"#
1EAEAEB",surfaceOverlay:"#FFFFFF",surfacePurple:"#F5E6FD",surfaceSuccessGreen:"#D7F2CA",surfaceWarningOrange:"#FFF8EB"},d={ragAmber:"#FAAB00",ragGreen:c.decorativeGreenDark,ragRed:c.decorativeRedDark},u={deprecatedSurfaceCriticalRed:"#FFECEB",deprecatedRagAmberText:c.decorativeYellow},p={breakpoints:{values:{xs:0,sm:375,md:768,lg:1024,xl:1280}},colors:l(l(l(l({},{eroadBrand:"#EE3124"}),c),d),u),inputSizes:{large:40,largePx:"40px",medium:32,mediumPx:"32px",small:24,smallPx:"24px",border:1},shape:{borderRadius:0},spacing:e=>4*e,typography:{h1:{fontSize:"7.2rem",fontWeight:"bold",lineHeight:"8rem"},h2:{fontSize:"5.6rem",fontWeight:"bold",lineHeight:"6.4rem"},h3:{fontSize:"4.8rem",fontWeight:"bold",lineHeight:"5.6rem"},h4:{fontSize:"4.0rem",fontWeight:"bold",lineHeight:"4.8rem"},h5:{fontSize:"3.2rem",fontWeight:"bold",lineHeight:"4rem"},h6:{fontSize:"2.4rem",fontWeight:"bold",lineHeight:"3.2rem"},h7:{fontSize:"1.6rem",fontWeight:"bold",lineHeight:"2.4rem"},fonts:{primary:'"Roboto"'},weights:{regular:400,medium:500,bold:700},sizes:{xxl:{fontSize:"2.4rem",lineHeight:"3.2rem"},xl:{fontSize:"2.0rem",lineHeight:"2.8rem"},lg:{fontSize:"1.8rem",lineHeight:"2.4rem"},md:{fontSize:"1.6rem",lineHeight:"2.4rem"},sm:{fontSize:"1.4rem",lineHeight:"2rem"},xs:{fontSize:"1.2rem",lineHeight:"1.6rem"},xxs:{fontSize:"1.0rem",lineHeight:"1.4rem"}}},zIndex:{drawer:1200,layoutHeader:1100,message:1400,modal:1300,tooltip:1500}}},3907:(e,t,r)=>{"use strict";r.d(t,{w:()=>l});var a=Object.defineProperty,s=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,n=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const l=e=>{const t=((e,t)=>{for(var r in t||(t={}))o.call(t,r)&&n(e,r,t[r]);if(s)for(var r of s(t))i.call(t,r)&&n(e,r,t[r]);return e})({},e);for(const e in t)null!=t[e]&&void 0!==t[e]||delete t[e];return t}},6935:(e,t,r)=>{"use strict";r.d(t,{e:()=>i});var a=r(51962),s=r(22263),o=r(96039);function i(e,t){return(0,a.O)(e)&&(0,a.O)(t)?(0,o.y)(e).subtract(t,"day").toDate():s.F}},11878:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var a=r(3296);const s={enAU:{},enNZ:JSON.parse('{"ui.library.browserPolicy.banner.message.anytime":"Browser update required: This browser version will no longer be supported after {date}. Update to keep access.","ui.library.browserPolicy.banner.message.dDay":"You have 0 days to update your browser.","ui.library.browserPolicy.banner.message.oneMonth":"Browser update required","ui.library.browserPolicy.banner.message.sevenDays":"You have {days, plural, one {# day} other {# days}} to update your browser.","ui.library.browserPolicy.banner.description.dDay":"This browser version will no longer be supported after today, {date}. Update now to keep access.","ui.library.browserPolicy.banner.description.oneMonth":"This browser version will no longer be supported after {date}. Update to keep access.","ui.library.browserPolicy.banner.description.sevenDays":"This browser version will no longer be supported after {date}. Update to keep access.","ui.library.browserPolicy.banner.viewPolicy":"View policy","ui.library.datePicker.preset.30daysAgo":"30 days ago","ui.library.datePicker.preset.7daysAgo":"7 days ago","ui.library.datePicker.preset.today":"Today","ui.library.datePicker.preset.yesterday":"Yesterday","ui.library.drawer.button.show.results":"Show results","ui.library.drawer.button.show.results.with.count":"Show results ({count})","ui.library.drawer.error.title":"Something went wrong.{br}Please try re-opening the drawer or refreshing the page.","ui.library.drawer.title.filters":"Filters","ui.library.filter.bar.button.export":"Export","ui.library.filter.bar.button.filters":"Filters","ui.library.filter.bar.button.lessFilters":"Less filters","ui.library.filter.bar.button.moreFilters":"More filters","ui.library.filter.bar.button.reset":"Reset","ui.library.filter.bar.drawer.title":"Filters","ui.library.filter.drawer.button.reset":"Reset","ui.library.list.emptyState":"No data","ui.library.page.error":"Something went wrong.{br}Please refresh the page.","ui.library.rangePicker.organisationTimeZone":"Date selection here uses your system time: {timeZoneName}
1. When selecting a time range, you may need to adjust for different timezones.","ui.library.rangePicker.preset.lastMonth":"Last month","ui.library.rangePicker.preset.lastWeek":"Last week","ui.library.rangePicker.preset.rolling30Days":"Last 30 days","ui.library.rangePicker.preset.rolling3Months":"Last 3 months","ui.library.rangePicker.preset.rolling6Months":"Last 6 months","ui.library.rangePicker.preset.rolling7Days":"Last 7 days","ui.library.rangePicker.preset.thisMonth":"This month","ui.library.rangePicker.preset.thisWeek":"This week","ui.library.rangePicker.preset.today":"Today","ui.library.rangePicker.preset.yearToDate":"Year to date","ui.library.rangePicker.preset.yesterday":"Yesterday","ui.library.rangePicker.preset.last3Days":"Last 3 days","ui.library.table.pagination.total":"{total} total","ui.library.table.selectionBar.clear":"Clear selection","ui.library.table.selectionBar.count":"{count} selected","ui.library.timeZoneSelect.dropdown.header":"Timezone","ui.library.timeZoneSelect.option.label.au":"Australia","ui.library.timeZoneSelect.option.label.ca":"Canada","ui.library.timeZoneSelect.option.label.frequentlyUsed":"Frequently used","ui.library.timeZoneSelect.option.label.na":"US","ui.library.timeZoneSelect.option.label.nz":"New Zealand","ui.library.timeZoneSelect.option.organisation.timeZone":"Organisation timezone"}'),enUS:JSON.parse('{"ui.library.timeZoneSelect.option.organisation.timeZone":"Organization timezone"}'),frCA:JSON.parse('{"ui.library.browserPolicy.banner.message.anytime":"Mise à jour du navigateur requise : cette version du navigateur ne sera plus prise en charge après le {date}. Mettez à jour votre navigateur pour conserver l\'accès.","ui.library.browserPolicy.banner.message.dDay":"Il ne vous reste aucun jour pour mettre à jour votre navigateur.","ui.library.browserPolicy.banner.message.oneMonth":"Mise à jour du navigateur requise","ui.library.browserPolicy.banner.message.sevenDays":"Il vous reste {days, plural, one {# jour} other {# jours}} pour mettre à jour votre navigateur.","ui.library.browserPolicy.banner.description.dDay":"Cette version du navigateur ne sera plus prise en charge après aujourd\'hui, le {date}. Mettez à jour votre navigateur dès maintenant pour conserver l\'accès.","ui.library.browserPolicy.banner.description.oneMonth":"Cette version du navigateur ne sera plus prise en charge après le {date}. Mettez à jour votre navigateur pour conserver l\'accès.","ui.library.browserPolicy.banner.description.sevenDays":"Cette version du navigateur ne sera plus prise en charge après le {date}. Mettez à jour votre navigateur pour conserver l\'accès.","ui.library.browserPolicy.banner.viewPolicy":"Consulter la politique","ui.library.datePicker.preset.today":"Aujourd\'hui","ui.library.datePicker.preset.yesterday":"Hier","ui.library.datePicker.preset.7daysAgo":"Il y a 7 jours","ui.library.datePicker.preset.30daysAgo":"Il y a 30 jours","ui.library.drawer.button.show.results":"Afficher les résultats","ui.library.drawer.button.show.results.with.count":"Afficher les résultats ({count})","ui.library.drawer.title.filters":"Filtres","ui.library.rangePicker.organisationTimeZone":"La sélection de date ici utilise l\'heure de votre système : {timeZoneName}. Lors de la sélection d\'une plage de dates, vous devrez peut-être ajuster pour différents fuseaux horaires.","ui.library.rangePicker.preset.lastMonth":"Le mois dernier","ui.library.rangePicker.preset.lastWeek":"La semaine dernière","ui.library.rangePicker.preset.rolling30Days":"30 derniers jours","ui.library.rangePicker.preset.rolling3Months":"Les 3 derniers mois","ui.library.rangePicker.preset.rolling6Months":"Les 6 derniers mois","ui.library.rangePicker.preset.rolling7Days":"Les 7 derniers jours","ui.library.rangePicker.preset.thisMonth":"Ce mois-ci","ui.library.rangePicker.preset.thisWeek":"Cette semaine","ui.library.rangePicker.preset.today":"Aujourd\'hui","ui.library.rangePicker.preset.yearToDate":"Année à ce jour","ui.library.rangePicker.preset.yesterday":"Hier","ui.library.rangePicker.preset.last3Days":"Les 3 derniers jours","ui.library.filter.bar.button.export":"Exporter","ui.library.filter.bar.button.filters":"Filtres","ui.library.filter.bar.button.lessFilters":"Moins de filtres","ui.library.filter.bar.button.moreFilters":"Plus de filtres","ui.library.filter.bar.button.reset":"Réinitialiser","ui.library.filter.bar.drawer.title":"Filtres","ui.library.filter.drawer.button.reset":"Réinitialiser","ui.library.page.error":"Une erreur s\'est produite.{br}Veuillez actualiser la page.","ui.library.table.pagination.total":"{total} le total","ui.library.table.selectionBar.clear":"Effacer la sélection","ui.library.table.selectionBar.count":"{count} sélectionné(s)","ui.library.timeZoneSelect.dropdown.header":"Fuseau horaire","ui.library.timeZoneSelect.option.label.frequentlyUsed":"Fréquemment utilisé","ui.library.timeZoneSelect.option.organisation.timeZone":"Fuseau horaire de l\'organisation","ui.library.timeZoneSelect.option.label.au":"Australie","ui.library.timeZoneSelect.option.label.ca":"Canada","ui.library.timeZoneSelect.option.label.nz":"Nouvelle-Zélande","ui.library.timeZoneSelect.option.label.us":"Ãtats-Unis"}')};var o=r(14041);const i=({children:e})=>o.createElement(a.U,{enAU:s.enAU,enNZ:s.enNZ,enUS:s.enUS,frCA:s.frCA},e)},12708:(e,t,r)=>{"use strict";r.d(t,{Ep:()=>h,Lj:()=>g,RW:()=>m,f5:()=>p,kE:()=>u});var a=r(93753),s=r(94386),o=Object.defineProperty,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))n.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&c(e,r,t[r]);return e};const u=({vehicleId:e,startTime:t,endTime:r})=>(0,s.F)({url:"replay/videoAvailability",baseURL:a.NS,method:"POST",data:{startTime:t,endTime:r,machineId:e}}),p=({vehicleId:e,dateTimeInUTC:t,durationInSeconds:r,channels:o})=>(0,s.F)({url:"replay/events/requests",baseURL:a.NS,method:"POST",data:d({requestCriteria:{machineId:e},dateTimeInUTC:t,durationInSeconds:r},o?{channels:o}:{})}),m=({vehicleId:e})=>(0,s.F)({url:`replay/dashcams/plancostinfo?machineId=${e}`,baseURL:a.NS,method:"GET"}),g=({isDashCamEnabledVehicles:e=!1})=>(0,s.F)({url:"/authorisation/authorisedMachineSummaries?filter="+(e?"DASHCAM_ADDON":"NONE"),baseURL:a.NS,method:"GET"}),h=({machineId:e,startTime:t,endTime:r})=>(0,s.F)({url:"replay/events/available",baseURL:a.NS,method:"POST",data:{machineId:e,startTime:t,endTime:r}})},13455:(e,t,r)=>{"use strict";r.d(t,{C8:()=>u,gC:()=>h,kH:()=>d,n5:()=>g,sN:()=>m,yN:()=>p});var a=r(55332),s=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,l=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&l(e,r,t[r]);if(o)for(var r of o(t))n.call(t,r)&&l(e,r,t[r]);return e};const d=(e,t,r=!0)=>{try{const s=sessionStorage.getItem(e),o=s?JSON.parse(s):void 0;let i;i=r?t:o&&(0,a.Q)(o)&&(0,a.Q)(t)?c(c({},o),t):t,sessionStorage.setItem(e,JSON.stringify(i))}catch(e){}},u=(e,t=null)=>p({key:e,fallback:t,useLocalStorage:!1}),p=({key:e,fallback:t=null,useLocalStorage:r=!0})=>{try{const a=(r?localStorage:sessionStorage).getItem(e);try{const e=a?JSON.parse(a):void 0;return null!=e?e:t}catch(e){return a&&"undefined"!==a?a:t}}catch(e){return t}},m=e=>
1{try{sessionStorage.removeItem(e)}catch(e){}},g=e=>{try{localStorage.removeItem(e)}catch(e){}},h=(e,t,r=!0)=>{try{(r?localStorage:sessionStorage).setItem(e,JSON.stringify(t))}catch(e){}}},13778:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});const a=(0,r(40421).E)("MESSAGING",e=>({drawerClosed:e.action(),drawerOpened:e.action(),drawerVehicleSelected:e.action(),drawerVehicleSelectedFromNotifications:e.action(),fetchGroups:e.asyncAction(),fetchQuickMessages:e.asyncAction(),fetchUnreadMessages:e.asyncAction(),fetchVehicle:e.asyncAction(),fetchVehicleMessages:e.asyncAction(),fetchVehicles:e.asyncAction(),fetchLoggedInDrivers:e.asyncAction(),sendBroadcastMessage:e.asyncAction(),sendVehicleMessage:e.asyncAction(),setBroadcastMessageText:e.action(),setBroadcastModalVisible:e.action(),setFilters:e.action(),setSelectedVehicleId:e.action(),updateMessageStatus:e.asyncAction()}))},13821:(e,t,r)=>{"use strict";r.d(t,{J:()=>n});var a=r(14041),s=r(70541),o=r(96711),i=r(16568);const n=()=>{const e=(0,s.wA)(),t=(0,s.d4)(i.M);return t.setTokenUserPreferencesItem=(0,a.useCallback)(t=>e(o.o.user.setTokenUserPreferencesItem(t)),[e]),t}},14800:(e,t,r)=>{"use strict";r.d(t,{J:()=>o});var a=r(55246),s=r(93753);const o=e=>{const t=null==e?void 0:e.replace("_","-");return function(e){return s.dI.some(t=>t===e)}(t)?t:i()},i=()=>{switch((0,a.n)()){case"AU":return"en-AU";case"NA":return"en-US";case"NZ":return"en-NZ";default:return s.Xn}}},15592:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={enAU:{},enNZ:JSON.parse('{"driverlogin.header.title":"Driver login monitor","driversafety.header.title":"Driver safety report","faultCode.header.title":"Fault code report","fleetSummary.header.title":"Fleet summary","fuelAndEnergyEconomy.header.title":"Fuel & energy economy","fuelAndEnergyEconomy.header.description":"Fuel consumption, distance and related emissions tracking - with CANbus-connected vehicles","fuelAndEnergyEconomy.tabs.driver":"Driver","fuelAndEnergyEconomy.tabs.vehicle":"Vehicle","energyEconomyCAN.header.description":"Energy economy, usage and distance - with CANbus-connected vehicles","fuelEfficiency.header.title":"Fuel efficiency report","geofence.header.caption":"This report captures all vehicles that have entered the Geofence within the specified date range.","geofence.header.caption.popup":"This might include vehicles that have already left.","geofence.header.title":"Geofence site activity","geofenceActivity.header.caption":"This report captures activities involving all vehicles present in a Geofence for the specified date range.","geofenceActivity.header.caption.popup":"This includes vehicles that might have entered the Geofence before the specified date range.","geofenceActivity.header.title":"Geofence daily activity","hosviolations.header.title":"HOS violation insights","leaderboard.header.title":"Leaderboard","overspeedSessions.header.title":"Overspeed sessions","overspeedEvent.header.title":"Overspeed events","reports.header.action.depotScheduledReports":"My scheduled reports (legacy)","reports.header.title":"Reports","reports.list.driver.driverLogbookActivity.name":"Driver logbook activity","reports.list.driver.driverLogbookActivity.tooltip":"View driver logbook activity across your fleet","reports.list.driver.driverLogbookSnapshots.name":"Driver logbook snapshots","reports.list.driver.driverLogbookSnapshots.tooltip":"View electronic logbook snapshots that have been taken for drivers across your fleet","reports.list.driver.driverLogbookTimesheets.name":"Driver timesheets","reports.list.driver.driverLogbookTimesheets.tooltip":"View details of your drivers working hours","reports.list.driver.driverLogbookViolations.name":"Driver logbook violations","reports.list.driver.driverLogbookViolations.tooltip":"View logbook violations for your drivers","reports.list.driver.driverLogin.name":"Driver login monitor","reports.list.driver.driverLogin.tooltip":"View details of driver logins by fleet, vehicle and driver time","reports.list.driver.driverSafety.name":"Driver safety report","reports.list.driver.driverSafety.tooltip":"View and compare drivers braking and acceleration","reports.list.driver.driverTimesheetsELD.name":"Driver timesheets (ELD)","reports.list.driver.driverTimesheetsELD.tooltip":"View a summary of driver working hours and mileage c
1aptured in the ELD","reports.list.driver.dvir.name":"Driver vehicle inspection (DVIR)","reports.list.driver.dvir.tooltip":"View details of previous vehicle inspection checks","reports.list.driver.eroadDayLogbook.name":"EROAD Day Logbook","reports.list.driver.eroadDayLogbook.tooltip":"View EROAD Day Logbook reports and insights","reports.list.driver.hirailOverspeed.name":"Hi-Rail over speed","reports.list.driver.hirailOverspeed.tooltip":"View a summary of over speed events while in Hi-rail state","reports.list.driver.hosViolations.name":"HOS violation insights","reports.list.driver.hosViolations.tooltip":"View HOS violation insights","reports.list.driver.hosViolationsList.name":"HOS violations","reports.list.driver.hosViolationsList.tooltip":"View HOS violations for your drivers","reports.list.driver.leaderboard.name":"Leaderboard","reports.list.driver.leaderboard.tooltip":"View rankings based on over speed, braking and acceleration","reports.list.driver.overspeedEvent.name":"Overspeed events","reports.list.driver.overspeedEvent.tooltip":"View a summary of over speed events","reports.list.driver.overspeedSessions.name":"Overspeed sessions","reports.list.driver.overspeedSessions.tooltip":"View a summary of over speed sessions","reports.list.driver.shortHaulExport.name":"Short-haul export","reports.list.driver.shortHaulExport.tooltip":"View short-haul exemption related reports","reports.list.fleet.dailyActivity.name":"Daily activity","reports.list.fleet.dailyActivity.tooltip":"View the entire dayâs activity for a vehicle","reports.list.fleet.dvirInspect.name":"Inspect","reports.list.fleet.dvirInspect.tooltip":"View reports from the Inspect app","reports.list.fleet.faultCode.name":"Fault code dashboard","reports.list.fleet.faultCode.tooltip":"View few current and historical engine fault codes (requires ECM connection)","reports.list.fleet.fleetSummary.name":"Fleet summary","reports.list.fleet.fleetSummary.tooltip":"Get summary information (e.g. distance travelled) for a group of vehicles over a specified date range","reports.list.fleet.geofence.name":"Geofence site activity","reports.list.fleet.geofence.tooltip":"View which vehicles have gone into your geofences, how often, plus auxiliary equipment activity","reports.list.fleet.geofenceActivity.name":"Geofence daily activity","reports.list.fleet.geofenceActivity.tooltip":"View which vehicles have gone into your geofences and how often","reports.list.fleet.hirailVehicleUtilisation.name":"Vehicle utilisation","reports.list.fleet.hirailVehicleUtilisation.tooltip":"View a summary of vehicle and HiRail utilisation","reports.list.fleet.idle.name":"Idle","reports.list.fleet.idle.tooltip":"View a summary of idling events","reports.list.fleet.mileageSummary.name":"Mileage summary","reports.list.fleet.mileageSummary.tooltip":"View the distance that your vehicles traveled by jurisdiction","reports.list.fleet.offHighwayFuelUsage.name":"Off highway fuel usage","reports.list.fleet.offHighwayFuelUsage.tooltip":"View the off highway distance and fuel use for your vehicles","reports.list.fleet.proofOfService.name":"Proof of service","reports.list.fleet.proofOfService.tooltip":"Visualise services undertaken","reports.list.fleet.replayDashcam.name":"Replay","reports.list.fleet.replayDashcam.tooltip":"View dashcam footage for incident review and driver coaching","reports.list.fleet.retrospectiveActivity.name":"Retrospective activity","reports.list.fleet.retrospectiveActivity.tooltip":"Define a time and place to see which vehicles visited","reports.list.fleet.service.name":"Service","reports.list.fleet.service.tooltip":"Generate reports from your completed service, maintenance and compliance history","reports.list.fleet.tripInvestigator.name":"Trip investigator","reports.list.fleet.tripInvestigator.tooltip":"View all vehicle journeys and drilldown on trip details","reports.list.fleet.utilisation.name":"Utilisation dashboard","reports.list.fleet.utilisation.tooltip":"Monitor vehicle utilisation against operating targets","reports.list.fuel.fuelConsumption.name":"Fuel consumption chart","reports.list.fuel.fuelConsumption.tooltip":"View the fuel consumption over distance for one or more vehicles","reports.list.fuel.fuelAndEnergyEconomy.name":"Fuel & energy economy","reports.list.fuel.fuelAndEnergyEconomy.tooltip":"Vehicles/assets fuel or energy consumption.","reports.list.fuel.fuelEfficiency.name":"Fuel efficiency","reports.list.fuel.fuelEfficiency.tooltip":"View and compare vehicle fuel effiency","reports.list.fuel.fuelException.name":"Fuel exception","reports.list.fuel.fuelException.tooltip":"View the fuel transaction exceptions for vehicles","reports.list.fuel.fuelTransactionManagement.name":"Fuel transaction management","reports.list.fuel.fuelTransactionManagement.tooltip":"View and manage fuel transactions","reports.list.fuel.fuelUsage.name":"Fuel usage","reports.list.fuel.fuelUsage.tooltip":"View the fuel usage and expenditure as a proportion of total distance for each vehicle","reports.list.integrations.phillipsConnect.
1name":"Phillips Connect","reports.list.integrations.phillipsConnect.tooltip":"Phillips Connect portal","reports.list.section.driver.title":"Driver","reports.list.section.fleet.title":"Fleet","reports.list.section.fuel.title":"Fuel & energy","reports.list.section.integrations.title":"Integrations","reports.list.section.tax.title":"Tax","reports.list.tax.iftaFleetSummary.name":"IFTA fleet summary","reports.list.tax.iftaFleetSummary.tooltip":"View a summary of mileage and fuel information per jurisdiction for your vehicles","reports.list.tax.iftaFuelTripRecords.name":"IFTA fuel trip records","reports.list.tax.iftaFuelTripRecords.tooltip":"View and edit a vehicle\'s fuel and trip records for IFTA purposes","reports.list.tax.filedReportHistory.name":"Filed report history","reports.list.tax.filedReportHistory.tooltip":"Access to all filed and generated reports, current and old versions","reports.list.tax.wmVTR.name":"WM vehicle trip records","reports.list.tax.wmVTR.tooltip":"View and edit a vehicle(s) trip record. Used for weight mileage tax reports","reports.list.tax.irpVTR.name":"IRP vehicle trip records","reports.list.tax.irpVTR.tooltip":"View vehicle trip record for your vehicles. Used for IRP tax reports","reports.list.tax.rucRemaining.name":"RUC remaining","reports.list.tax.rucRemaining.tooltip":"Show distance and dollar value of unused RUC at a particular date","reports.list.tax.rucPurchases.name":"RUC purchases","reports.list.tax.rucPurchases.tooltip":"View RUC purchasing history, bank transactions, download invoices and licences or export a statement","reports.list.tax.rucExpenditure.name":"RUC expenditure","reports.list.tax.rucExpenditure.tooltip":"Summary of RUC expenditure for a vehicle, a group or the whole organisation","reports.list.tax.rucOffroad.name":"RUC off-road reports","reports.list.tax.rucOffroad.tooltip":"Generate off-road reports to use for your RUC refunds","reports.scheduleDrawer.createView.button.cancel":"Cancel","reports.scheduleDrawer.createView.button.submit":"Save","reports.scheduleDrawer.createView.button.submitting":"Saving...","reports.scheduleDrawer.createView.firstStepInstructions":"<p>Step 1: Design the report by setting the appropriate parameters.</p><p>Step 2: Use the options below to automatically generate and email this report on a schedule.</p><p>Generated reports will override any date-related parameters chosen when designing the report. Instead they\'ll use the report period chosen belowâwhich will end at each report\'s generation time.</p>","reports.scheduleDrawer.createView.title":"Create schedule","reports.scheduleDrawer.editView.button.cancel":"Cancel","reports.scheduleDrawer.editView.button.save":"Save","reports.scheduleDrawer.editView.button.saving":"Saving...","reports.scheduleDrawer.editView.instructions":"Edit the report schedule here. Changing the report content requires creating a new scheduled report.","reports.scheduleDrawer.editView.title":"Edit schedule","reports.scheduleDrawer.errorView.title":"Scheduled reports","reports.scheduleDrawer.form.cancelButton":"Cancel","reports.scheduleDrawer.form.create.submission.error.toaster":"Ooops... there was an error creating the report schedule","reports.scheduleDrawer.form.create.submission.success.toaster":"Report schedule created successfully","reports.scheduleDrawer.form.days.of.week.friday":"Friday","reports.scheduleDrawer.form.days.of.week.monday":"Monday","reports.scheduleDrawer.form.days.of.week.saturday":"Saturday","reports.scheduleDrawer.form.days.of.week.sunday":"Sunday","reports.scheduleDrawer.form.days.of.week.thursday":"Thursday","reports.scheduleDrawer.form.days.of.week.tuesday":"Tuesday","reports.scheduleDrawer.form.days.of.week.wednesday":"Wednesday","reports.scheduleDrawer.form.edit.submission.error.toaster":"Ooops... there was an error updating the report schedule","reports.scheduleDrawer.form.edit.submission.success.toaster":"Report schedule saved successfully","reports.scheduleDrawer.form.endDate.label":"Set expiry date","reports.scheduleDrawer.form.endDate.validation.required":"Stop date required","reports.scheduleDrawer.form.export.as.label":"Email this report as","reports.scheduleDrawer.form.export.as.option.csv":"CSV (Table data)","reports.scheduleDrawer.form.export.as.option.pdf":"PDF (Visual data)","reports.scheduleDrawer.form.export.as.validation.required":"A file type is required","reports.scheduleDrawer.form.exportDay.label":"Export day","reports.scheduleDrawer.form.exportDayOfMonth.label":"Export day of Month","reports.scheduleDrawer.form.frequency.label":"Select export frequency","reports.scheduleDrawer.form.frequency.option.daily":"Daily","reports.scheduleDrawer.form.frequency.option.monthly":"Monthly","reports.scheduleDrawer.form.frequency.option.weekly":"Weekly","reports.scheduleDrawer.form.frequency.validation.required":"Frequency is required","reports.scheduleDrawer.form.lookback.label":"Select reporting period","reports.scheduleDrawer.form.lookback.option.day":"1 day","reports.scheduleDrawer.form.lookback.option.month":"30 days","reports.scheduleDrawer.form.lookback.option.week":"7 days","reports.scheduleDrawer.form.lookback.validation.required":"Report period is required","reports.scheduleDrawer.form.name.label":"Schedule name","reports.scheduleDrawer.form.name.placeholder":"e.g. Heavy vehicles","reports.scheduleDrawer.form.name.validation.no-special-chars":"Schedule name must not have special characters","reports.scheduleDrawer.form.name.validation.required":"Schedule name is required","reports.scheduleDrawer.form.submitButton":"Save","reports.scheduleDrawer.form.time.label":"Export time","reports.scheduleDrawer.form.time.placeholder":"11:00 am","reports.scheduleDrawer.form.time.validation.required":"Time is required","reports.scheduleDrawer.listView.addButton":"Create schedule","reports.scheduleDrawer.listView.empty":"After you design your report, click <strong>Create schedule</strong> below to automatically generate this report and send it through email on the schedule you define.","reports.scheduleDrawer.listView.report.confirmDelete.cancelText":"Cancel","reports.scheduleDrawer.listView.report.confirmDelete.content":"No further reports will be generated by this
1schedule, and the schedule will be removed from the list.","reports.scheduleDrawer.listView.report.confirmDelete.okText":"Delete now","reports.scheduleDrawer.listView.report.confirmDelete.title":"Are you sure you want to delete \'\'{scheduleName}\'\'?","reports.scheduleDrawer.listView.report.success":"Deleted successfully","reports.scheduleDrawer.listView.title":"Scheduled reports","reports.scheduleDrawer.schedule.button.delete":"Delete","reports.scheduleDrawer.schedule.button.edit":"Edit","reports.scheduleDrawer.schedule.driverId":"<b>Driver ID:</b> {driverId}","reports.scheduleDrawer.schedule.end":"<b>Expiry:</b> {date}","reports.scheduleDrawer.schedule.entity-type":"<b>Type:</b> {entityType, select, VEHICLE {Vehicle} DRIVER {Driver} GROUP {Group} Vehicle {Vehicle} Driver {Driver} Group {Group} other {Unknown}}","reports.scheduleDrawer.schedule.event-type":"<b>Event types:</b> {eventSwitchId, select, 1 {Events} 2 {Events per 100 km} other {Unknown}}","reports.scheduleDrawer.schedule.report-file-type":"<b>Format:</b> {reportFileType}","reports.scheduleDrawer.schedule.exportDay.day-or-week":"<b>Day:</b> {exportDayInTimeZone, select, MONDAY {Monday} TUESDAY {Tuesday} WEDNESDAY {Wednesday} THURSDAY {Thursday} FRIDAY {Friday} SATURDAY {Saturday} SUNDAY {Sunday} other {All} }","reports.scheduleDrawer.schedule.exportDay.month":"<b>Day:</b> {exportDayInTimeZone, selectordinal, one {#st of month} two {#nd of month} few {#rd of month} other {#th of month} }","reports.scheduleDrawer.schedule.frequency":"<b>Frequency:</b> {scheduleFrequency, select, DAILY {Daily} WEEKLY {Weekly} MONTHLY {Monthly} other {Unknown}}","reports.scheduleDrawer.schedule.reporting-period":"<b>Reporting period:</b> {reportLookbackPeriod, select, DAY {1 day} WEEK {7 days} MONTH {30 days} other {Unknown}}","reports.scheduleDrawer.schedule.time":"<b>Time:</b> {time}","tripInvestigator.header.title":"Trip investigator","utilisation.header.title":"Utilisation dashboard"}'),enUS:JSON.parse('{"reports.list.fleet.fleetSummary.tooltip":"Get summary information (e.g. distance traveled) for a group of vehicles over a specified date range","reports.list.fleet.hirailVehicleUtilisation.name":"Vehicle Utilization","reports.list.fleet.hirailVehicleUtilisation.tooltip":"View a summary of vehicle and HiRail utilization","reports.list.fleet.utilisation.name":"Utilization Dashboard","reports.list.fleet.utilisation.tooltip":"Monitor vehicle utilization against operating targets","reports.scheduleDrawer.schedule.event-type":"<b>Event types:</b> {eventSwitchId, select, 1 {Events} 2 {Events per 100 mi} other {Unknown}}","utilisation.header.title":"Utilization Dashboard"}'),frCA:{}}},16045:(e,t,r)=>{"use strict";r.d(t,{TA:()=>d,_B:()=>u,oT:()=>l,XI:()=>c});var a=r(96039);const s=[{cities:"Adelaide_Gawler_Kadina_Mount Gambier_Murray Bridge_Port Augusta_Port Lincoln_Port Pirie_Victor Harbor_Whyalla".split("_"),timeZone:"Australia/Adelaide"},{cities:"Alice_Darwin_Jabiru_Katherine_Maningrida_Nhulunbuy_Palmerston_Tennant_Wadeye_Yulara".split("_"),timeZone:"Australia/Darwin"},{cities:["Eucla"],timeZone:"Australia/Eucla"},{cities:"Brisbane_Canberra_Geelong_Gold Coast_Hobart_Melbourne_Newcastle_Sunshine Coast_Sydney_Wollongong".split("_"),timeZone:"Australia/Sydney"},{cities:"Albany_Broome_Bunbury_Busselton_Geraldton_Kalgoorlie_Karratha_Mandurah_Perth_Port Hedland".split("_"),timeZone:"Australia/Perth"},{cities:["Lord Howe"],timeZone:"Australia/Lord_Howe"}],o=[{cities:"Bathurst_Charlottetown_Fredericton_Halifax_Moncton_New Glasgow_Saint John_Summerside_Sydney_Truro".split("_"),timeZone:"America/Halifax"},{cities:"Brandon_Dauphin_Flin Flon_Morden_Portage la Prairie_Selkirk_Steinbach_Thompson_Winkler_Winnipeg".split("_"),timeZone:"America/Winnipeg"},{cities:"Brampton_Gatineau_Hamilton_London_Mississauga_Montreal_Ottawa_Quebec City_Toronto_Windsor".split("_"),timeZone:"America/Toronto"},{cities:"Airdrie_Calgary_Edmonton_Grande Prairie_Leduc_Lethbridge_Medicine Hat_Red Deer_Spruce Grove_St. Albert".split("_"),timeZone:"America/Edmonton"},{cities:"Abbotsford_Burnaby_Coquitlam_Kamloops_Kelowna_Langley_Nanaimo_Richmond_Surrey_Vancouver".split("_"),timeZone:"America/Vancouver"}],i=[{cities:"Anchorage_Bethel_Fairbanks_Juneau_Kenai_Ketchikan_Kodiak_Palmer_Sitka_Wasilla".split("_"),timeZone:"America/Anchorage"},{cities:"Austin_Baton Rouge_Birmingham_Chicago_Dallas_Houston_Kansas City_Memphis_Milwaukee_Minneapolis_New Orleans_Oklahoma City_San Antonio_St. Louis_Tulsa".split("_"),timeZone:"America/Chicago"},{cities:"Atlanta_Baltimore_Boston_Charlotte_Cleveland_Detroit_Miami_New York_Philadelphia_Pittsburgh_Raleigh_Tampa_Washington D.C.".split("_"),timeZone:"America/Ne
1w_York"},{cities:"Aiea_Ewa Beach_Hilo_Honolulu_Kailua_Kaneohe_Kapolei_Mililani_Pearl City_Waipahu".split("_"),timeZone:"Pacific/Honolulu"},{cities:"Albuquerque_Aurora_Boise_Boulder_Cheyenne_Colorado Springs_Denver_Fort Collins_Provo_Salt Lake City_West Valley City".split("_"),timeZone:"America/Denver"},{cities:"Anaheim_Bakersfield_Fresno_Long Beach_Los Angeles_Oakland_Portland_Sacramento_San Diego_San Francisco_San Jose_Seattle_Stockton".split("_"),timeZone:"America/Los_Angeles"}],n=[{cities:["Waitangi"],timeZone:"Pacific/Chatham"},{cities:"Auckland_Christchurch_Dunedin_Hamilton_Napier-Hastings_Nelson_Palmerston North_Rotorua_Tauranga_Wellington".split("_"),timeZone:"Pacific/Auckland"}],l=Intl.DateTimeFormat().resolvedOptions().timeZone||a.y.tz.guess(),c="Etc/UTC",d={AU:[{name:"New South Wales",value:"Australia/Sydney"},{name:"Northern Territory",value:"Australia/Darwin"},{name:"Queensland",value:"Australia/Brisbane"},{name:"South Australia",value:"Australia/Adelaide"},{name:"Western Australia",value:"Australia/Perth"}],CA:[{name:"Atlantic time",value:"Canada/Atlantic"},{name:"Central time",value:"Canada/Central"},{name:"Eastern time",value:"Canada/Eastern"},{name:"Mountain time",value:"Canada/Mountain"},{name:"Newfoundland time",value:"Canada/Newfoundland"},{name:"Pacific time",value:"Canada/Pacific"}],NA:[{name:"Alaska time",value:"US/Alaska"},{name:"Arizona",value:"US/Arizona"},{name:"Central time",value:"America/Chicago"},{name:"Eastern time",value:"America/New_York"},{name:"Hawaii",value:"US/Hawaii"},{name:"Mountain time",value:"America/Denver"},{name:"Pacific time",value:"America/Los_Angeles"}],NZ:[{name:"New Zealand",value:"Pacific/Auckland"}]},u={AU:s,CA:o,NA:i,NZ:n}},16487:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});var a=r(51962),s=r(24134),o=r(55332),i=r(65802);function n(e){return!!((0,i.K)(e)||Array.isArray(e)||(0,o.Q)(e))&&(0,a.O)(e)&&!(0,s.I)(e)}},16568:(e,t,r)=>{"use strict";r.d(t,{M:()=>f});var a=r(39552),s=r(82162);const o=JSON.parse('{"hasOffHighwayReason":false,"mapCenter":[138,-28],"mapSearchBoundary":"113.155000,-43.867660,154.249305,-9.947205","mapZoom":[4],"timeZones":[{"name":"New South Wales","value":"Australia/Sydney"},{"name":"Northern Territory","value":"Australia/Darwin"},{"name":"Queensland","value":"Australia/Brisbane"},{"name":"South Australia","value":"Australia/Adelaide"},{"name":"Western Australia","value":"Australia/Perth"}]}'),i={"en-NZ":JSON.parse('{"hasOffHighwayReason":false,"mapCenter":[172,-41],"mapSearchBoundary":"166.008785,-47.380841,178.793391,-34.265342","mapZoom":[5],"timeZones":[{"name":"New Zealand","value":"Pacific/Auckland"}]}'),"en-AU":o,"en-US":JSON.parse('{"hasOffHighwayReason":true,"mapCenter":[-103,38],"mapSearchBoundary":"-166.760062,6.057279,-51.810913,71.683057","mapZoom":[4],"timeZones":[{"name":"Alaska time","value":"US/Alaska"},{"name":"Arizona","value":"US/Arizona"},{"name":"Central time","value":"America/Chicago"},{"name":"Eastern time","value":"America/New_York"},{"name":"Hawaii","value":"US/Hawaii"},{"name":"Mountain time","value":"America/Denver"},{"name":"Pacific time","value":"America/Los_Angeles"}]}')},n="https://help.eroad.com/nz/",l="https://help.eroad.com/au/",c="https://help.eroad.com/us/",d={NZ:{addVehicleHelpLink:`${n}depot/administration/vehicles-and-assets/nz-addvehicle/`,apikeysHelpLink:`${n}depot/administration/integations/integrations-documentation`,driverActivityHelpLink:`${n}depot/driver/nz-singledriver/`,ehuboStatusHelpLink:`${n}depot/vehicle-activity/nz-ehubostatus/`,replayLogbookLink:{dateFormat:"YYYY-MM-DDTHH:mm:ss.SSSZ",url:({driverId:e,date:t,isIframe:r})=>r?`/Portal/myeroad/logbook?view=records&driverId=${e}&date=${t}`:`/logbook?view=records&driverId=${e}&date=${t}`},useMiles:!1,bulkUploadTemplates:{CREATE_MACHINE:"/resources/apac/nz-bulk-machine-create-template.xlsx",UPDATE_MACHINE:"/resources/apac/nz-bulk-machine-update-template.xlsx",DRIVER:"/resources/apac/bulk-driver-upload-template.csv",DEVICE:"/resources/apac/bulk-device-upload-template.csv",MACHINE_SERVICE_PLAN:"/resources/apac/bulk-machine-service-plan-template.csv",FTC:"/resources/apac/bulk-ftc-import-template.csv"},powerBILocale:"en-NZ",scheduleReportDateFormat:"DD-MM-YYYY",powerBIVideoLinks:{dailyGeofence:"https://vimeo.com/727549217/501253b482",driverLogin:"https://vimeo.com/746745667/07c93c377b",geofence:"https://vimeo.com/727549217/501253b482",leaderboard:"https://vimeo.com/743986404/7f7b27001f",overspeedDashboard:"https://vimeo.com/723154544/a67e88d58a",fleetUtilisation:"https://vimeo.com/718671640/2e85150724"}},AU:{addVehicleHelpLink:`${l}depot/administration/vehicles-and-assets/au-addvehicle/`,apikeysHelpLink:`${l}depot/administration/integations/integrations-documentation`,driverActivityHelpLink:`${l}
1depot/au-driver/au-driverdb/`,ehuboStatusHelpLink:`${l}depot/vehicle-activity/au-ehubostatus/`,useMiles:!1,bulkUploadTemplates:{CREATE_MACHINE:"/resources/apac/au-bulk-machine-create-template.xlsx",UPDATE_MACHINE:"/resources/apac/au-bulk-machine-update-template.xlsx",DRIVER:"/resources/apac/bulk-driver-upload-template.csv",DEVICE:"/resources/apac/bulk-device-upload-template.csv",MACHINE_SERVICE_PLAN:"/resources/apac/bulk-machine-service-plan-template.csv",FTC:"/resources/apac/bulk-ftc-import-template.csv"},powerBILocale:"en-AU",scheduleReportDateFormat:"DD-MM-YYYY",powerBIVideoLinks:{dailyGeofence:"https://vimeo.com/727549217/501253b482",driverLogin:"https://vimeo.com/746745667/07c93c377b",geofence:"https://vimeo.com/727549217/501253b482",leaderboard:"https://vimeo.com/743986404/7f7b27001f",overspeedDashboard:"https://vimeo.com/723154544/a67e88d58a",fleetUtilisation:"https://vimeo.com/718671640/2e85150724"}},US:{addVehicleHelpLink:`${c}depot/administration/vehicles-and-assets/us-addvehicle/`,apikeysHelpLink:`${c}depot/administration/integations/integrations-documentation`,driverActivityHelpLink:`${c}depot/activity/viewing-driver-details/`,ehuboStatusHelpLink:`${c}depot/activity/us-vehicletab/us-ehubostatus/`,replayLogbookLink:{dateFormat:"YYYY-MM-DD",url:({driverId:e,date:t})=>`/Portal/eld/driverLogs?date=${t}&driverGid=${e}`},useMiles:!0,bulkUploadTemplates:{CREATE_MACHINE:"/resources/na/na-bulk-machine-create-template.xlsx",UPDATE_MACHINE:"/resources/na/na-bulk-machine-update-template.xlsx",DRIVER:"/resources/na/bulk-driver-upload-template.csv",DEVICE:"/resources/apac/bulk-device-upload-template.csv",MACHINE_SERVICE_PLAN:"/resources/apac/bulk-machine-service-plan-template.csv"},powerBILocale:"en-US",scheduleReportDateFormat:"MM-DD-YYYY",powerBIVideoLinks:{dailyGeofence:"",driverLogin:"",geofence:"",leaderboard:"",overspeedDashboard:"",fleetUtilisation:""}}};var u=Object.defineProperty,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&h(e,r,t[r]);if(p)for(var r of p(t))g.call(t,r)&&h(e,r,t[r]);return e};const f=(0,a.Mz)(s.T.getOrganisationLocale,s.T.getUserPreferences,(e,t)=>{const r=i[e],a=d[e.slice(-2)];return v(v(v({},r),t),a)})},16767:(e,t,r)=>{"use strict";r.d(t,{$x:()=>F,Hf:()=>_,IM:()=>T,Ig:()=>R,av:()=>E,om:()=>x,tj:()=>P,wP:()=>S});var a=r(51962),s=r(65802),o=r(43207),i=r(93753),n=r(18198),l=r(2392),c=r(13455),d=r(29270),u=r(59623),p=Object.defineProperty,m=Object.defineProperties,g=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))v.call(t,r)&&y(e,r,t[r]);if(h)for(var r of h(t))f.call(t,r)&&y(e,r,t[r]);return e};const E=(e,t)=>null==t?void 0:t.some(({id:t,type:r})=>t===e&&r===i.tf.MACHINE),A=({amplifySession:e,key:t})=>{var r;return null==(r=null==e?void 0:e.attributes)?void 0:r[t]},O=({amplifySession:e,key:t})=>null==e?void 0:e[t];function S(e){return e!==u.uE&&e!==u.Qh}const T=e=>"NEW_PASSWORD_REQUIRED"===(null==e?void 0:e.challengeName),I=e=>{var t;return null==(t=null==e?void 0:e.getSignInUserSession())?void 0:t.getIdToken()},R=e=>{var t,r,a;const s=null!=(a=w())?a:null==(r=null==(t=I(e))?void 0:t.payload)?void 0:r.abilities;return s?JSON.parse(s):(0,d.lr)((0,d._Q)())},w=()=>{const{tokens:e}=(0,c.yN)({key:i._b})||{},{abilities:t}=(0,o.f)(null==e?void 0:e.idToken);return t},C=e=>{const t=e.find(({actions:e,subject:t})=>t===n.q7.MACHINE&&e.includes(n.ay.READ)),{attributes:r}=t||{};return!(!r||0===r.length)&&["displayName","registrationPlate","make","model","year","fleets"].some(e=>!r.includes(e))};function D(e,t){var r,o;const i=null==(o=null==(r=I(e))?void 0:r.payload)?void 0:o.organisation,n=(0,s.K)(i)?JSON.parse(i):void 0;return(0,a.O)(t)?null==n?void 0:n[t]:n}function N(e,t){var r;const o=null==(r=I(e))?void 0:r.payload,i=(0,s.K)(null==o?void 0:o.user)?JSON.parse(null==o?void 0:o.user):void 0,n=(l=b({},i),c={firstName:null==o?void 0:o.given_name,lastName:null==o?void 0:o.family_name,email:null==o?void 0:o.email},m(l,g(c)));var l,c;return(0,a.O)(t)?n[t]:n}const P=(e,t=[])=>t.map(t=>{if("messages"in t&&t.messages){const r=b({},t);return r.messages=t.messages.filter(({externalReferences:t})=>!E(e,t)),r.totalUnreadMessages=r.messages.length,r}return t}),_=e=>{var t;const r=O({amplifySession:e,key:"username"}),a=T(e),s=M()||A({amplifySession:e,key:"custom:preferences"});if(a)return{abilities:[],interimSession:O({amplifySession:e,key:"Session"}),isAuthenticated:!1,isAuthenticating:!1,isPasswordResetRequired:!0,isSuperBasicUser:!1,profile:{username:r},preferences:{tokenPreferences:{}}};const o=null!=(t=R(e))?t:[],n=A({amplifySession:e,key:"email"});return{abilities:o,interimSession:void 0,isAuthenticated:!0,isAuthenticating:!1,isPasswordResetRequired:!1,isSuperBasicUser:C(o),preferences:{tokenPreferences:s?JSON.parse(s):{}},profile:k()||{userId:N(e,"gid"),firstName:U(A({amplifySession:e,key:"given_name"}),(0,c.yN)({key:i.Jx})),isEroadUser:L(n),lastName:U(A({amplifySession:e,key:"family_name"}),(0,c.yN)({key:i.JD})),organisationCountry:D(e,"country"),organisationName:D(e,"name"),organisationId:D(e,"gid"),organisationLocale:D(e,"locale"),organisationTimeZone:D(e,"timezone"),email:n,username:r,__DO_NOT_USE__userCommonId:N(e,"commonIdDoNotUse"),__DO_NOT_USE__userOrganisationCommonId:D(e,"commonIdDoNotUse"),__DO_NOT_USE__userRoles:N(e,"rolesDoNotUse")}}},M=()=>{const{tokens:e}=(0,c.yN)({key:i._b})||{},{"custom:preferences":t}=(0,o.f)(null==e?void 0:e.idToken);return t},k=()=>{const{tokens:e}=(0,c.yN)({key:i._b})||{},{idToken:t}=e||{};if(!(0,a.O)(t))return null;const{email:r,family_name:s,given_name:n,organisation:l,user:d,"cognito:username":u=""}=(0,o.f)(t),{gid:p,locale:m,name:g,timezone:h}=l?JSON.parse(l):{},{gid:v}=d?JSON.parse(d):{};return{email:r,firstName:n,lastName:s,organisationId:p,organisationLocale:m,organisationName:g,organisationTimeZone:h,userId:v,username:u}};function U(e,t){return e||((0,s.K)(t)?t:"")}function L(e){return!!(0,s.K)(e)&&e.endsWith("@eroad.com")}const F=e=>e.map(({firstName:e,lastName:t,id:r,username:a,userroles:s})=>({fullName:(0,l.c)({firstName:e,lastName:t,username:a,userroles:s}),id:r})),x=e=>Array.apply(null,Array(e))},16947:(e,t,r)=>{"use strict";r.d(t,{m:()=>u});var a=r(38010),s=r(14041),o=Object.defineProperty,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))n.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&c(e,r,t[r]);return e};function u(e){return s.createElement(a.A,d({},e))}},18198:(e,t,r)=>{"use strict";r.d(t,{$n:()=>n,Aq:()=>u,Jg:()=>E,QB:()=>i,RO:()=>h,YN:()=>a,Zt:()=>f,_c:()=>d,a1:()=>y,ay:()=>p,bi:()=>v,d_:()=>g,db:()=>s,kX:()=>o,pN:()=>l,q7:()=>m,yF:()=>b,yO:()=>c});var a=(e=>(e.CLARITY="CLARITY",e.STREAMAX="STREAMAX",e))(a||{}),s=(e=>(e.ROAD_FACING="ROAD_FACING",e.DRIVER_FACING="DRIVER_FACING",e))(s||{}),o=(e=>(e.FRONT_SNAPSHOT="front",e.DRIVER_SNAPSHOT="driver",e.FATIGUE_SNAPSHOT="fatigue",e))(o||{}),i=(e=>(e.VEHICLE="VEHICLE",e.DRIVER="DRIVER",e))(i||{}),n=(e=>(e.ACTIVITY="activity",e.ADMIN="apiFramework",e.ASSET_METADATA="assetMetadata",e.BULK="bulkUpload",e.CORE="core",e.DASHBOARD="dashboard",e.DASHCAMS="dashcams",e.DECARBONISATION="decarbonisation",e.DEPOT="depot",e.DRIVERS="drivers",e.DYNAMIC_CONFIG="dynamicConfig",e.FUEL="fuel",e.GEOFENCE_CENTRE="geofenceCentre",e.GEOFENCE_CENTRE_COMMON="geofenceCommon",e.GEOFENCE_CENTRE_LIST="geofenceList",e.GEOFENCE_CENTRE_MAP="geofenceMap",e.GROUPS="groups",e.INCAB_COMMS="incab",e.INSTALLATIONS="installations",e.LOGBOOK="logbook",e.MAINTENANCE_ITEM="maintenanceItem",e.MESSAGING="messaging",e.POWERBI="powerBi",e.REPLAY="replay",e.REPORTS="reports",e.SENSOR_EVENT="sensorEvent",e.SENSOR_FAULT="sensorFault",e.SERVICE="serviceCommon",e.SERVICE_ALERTS="serviceAlerts",e.SERVICE_ASSETS="serviceAssets",e.SERVICE_HISTORY="serviceHistory",e.SERVICE_PLANS="servicePlans",e.SERVICE_REPAIRS="serviceRepairs",e.SERVICE_SUPPLIERS="serviceSuppliers",e.SERVICE_TYPES="serviceTypes",e.SSO="ssoConfig",e.VEHICLE_ASSET="vehicleAsset",e))(n||{}),l=(e=>
1(e.ASSET_TRACKER="ASSET_TRACKER",e.CORE_HUB="CORE_HUB",e.DASHCAM="DASHCAM",e.DIGITAL_MATTER_G_62="DIGITAL_MATTER_G_62",e.DIGITAL_MATTER_G_70="DIGITAL_MATTER_G_70",e.DIGITAL_MATTER_OYSTER_2="DIGITAL_MATTER_OYSTER_2",e.DIGITAL_MATTER_OYSTER_3="DIGITAL_MATTER_OYSTER_3",e.EHUBO="EHUBO",e.EHUBOLITE="EHUBOLITE",e.EHUBO_2="EHUBO_2",e.ELOCATE="ELOCATE",e.ETRACK_BATTERY="ETRACK_BATTERY",e.ETRACK_WIRED="ETRACK_WIRED",e.PCT_ASSET_TRACK="PCT_ASSET_TRACK",e.PCT_EZ_TRAC="PCT_EZ_TRAC",e.PCT_SOLAR_NET="PCT_SOLAR_NET",e.PCT_STEALTH_NET="PCT_STEALTH_NET",e.THIRD_PARTY_DEVICE="THIRD_PARTY_DEVICE",e.TUBO="TUBO",e.WHERE="WHERE",e))(l||{}),c=(e=>(e.CoreHubTubo="CoreHubTubo",e.G120="G120",e.DM_G70_BLE="DM_G70_BLE",e.Geotab="Geotab",e.STREAMAX="STREAMAX",e))(c||{}),d=(e=>(e.COACHED="COACHED",e.INCIDENT="INCIDENT",e.RESTRICTED="RESTRICTED",e.REVIEWED="REVIEWED",e.REWARDED="REWARDED",e.TO_BE_COACHED="TO_BE_COACHED",e.TO_REVIEW="TO_REVIEW",e))(d||{}),u=(e=>(e.AI="AI",e.CARA="CARA",e.DISTRACTION="DISTRACTION",e.FATIGUE="FATIGUE",e.FOV_EXCEPTION="FOV_EXCEPTION",e.HARSH_ACCELERATION="HARSH_ACCELERATION",e.HARSH_BRAKING="HARSH_BRAKING",e.MANUAL="MANUAL",e.PRIORITY_ALERT="PRIORITY_ALERT",e.REQUEST="REQUEST",e.SHARP_CORNERING="SHARP_CORNERING",e))(u||{}),p=(e=>(e.ADMIN_READ="ADMIN_READ",e.ASSIGN_DRIVER="ASSIGN_DRIVER",e.BULK_STATUS_UPDATE="BULK_STATUS_UPDATE",e.COACH_STATUS_UPDATE="COACH_STATUS_UPDATE",e.COMPLETE="COMPLETE",e.CREATE="CREATE",e.DELETE="DELETE",e.DOWNLOAD="DOWNLOAD",e.EXPORT="EXPORT",e.FALSE_POSITIVE_FEEDBACK="FALSE_POSITIVE_FEEDBACK",e.FILTER="FILTER",e.FREE_UPDATE="FREE_UPDATE",e.GET_SNAPSHOT="GET_SNAPSHOT",e.IMPERSONATE="IMPERSONATE",e.INTERCOM_ACCESS="INTERCOM_ACCESS",e.LOGIN="LOGIN",e.MARK_INCIDENT="MARK_INCIDENT",e.PAID_REQUEST="PAID_REQUEST",e.PAID_UPDATE="PAID_UPDATE",e.PRINT="PRINT",e.READ="READ",e.READ_ADMIN="READ_ADMIN",e.REQUEST="REQUEST",e.RESTRICT="RESTRICT",e.REVIEW_STATUS_UPDATE="REVIEW_STATUS_UPDATE",e.REWARD_STATUS_UPDATE="REWARD_STATUS_UPDATE",e.SWITCH="SWITCH",e.TRANSITION="TRANSITION",e.UNRESTRICT="UNRESTRICT",e.UPDATE="UPDATE",e.VIEW="VIEW",e.VIEW_EVENT_LOG="VIEW_EVENT_LOG",e.VIEW_LOGBOOK="VIEW_LOGBOOK",e.VIEW_SERVICE="VIEW_SERVICE",e.VIEW_USER_ACTIVITY="VIEW_USER_ACTIVITY",e))(p||{}),m=(e=>(e.ACTION_CENTRE="ACTION_CENTRE",e.ADMIN_GEOFENCE_TYPE="ADMIN_GEOFENCE_TYPE",e.API_MANAGEMENT="API_MANAGEMENT",e.BOOKING="BOOKING",e.BULK_IMPORT="BULK_IMPORT",e.CAMERA_FAULTS="CAMERA_FAULTS",e.CAMERA_HEALTH="CAMERA_HEALTH",e.CAN_BUS_CONNECT="CAN_BUS_CONNECT",e.CARA_TRIGGERED_VIDEO_CAPTURE="CARA_TRIGGERED_VIDEO_CAPTURE",e.DAILY_ACTIVITY="DAILY_ACTIVITY",e.DASHCAM="DASHCAM",e.DASHCAM_EVENT="DASHCAM_EVENT",e.DATA_CONNECTOR_DOCUMENTATION="DATA_CONNECTOR_DOCUMENTATION",e.DEFECT="DEFECT",e.DEVICE="DEVICE",e.DRIVER="DRIVER",e.DRIVER_LOG="DRIVER_LOG",e.DRIVER_LOGIN_MONITOR="DRIVER_LOGIN_MONITOR",e.DRIVER_PORTAL="DRIVER_PORTAL",e.DRIVER_SAFETY="DRIVER_SAFETY",e.EHUBO="EHUBO",e.EHUBO_AUDIT_REPORT="EHUBO_AUDIT_REPORT",e.ELD="ELD",e.ELD_AUTOMATION="ELD_AUTOMATION",e.EVENT_DOCUMENTS="EVENT_DOCUMENTS",e.EVENT_LOG="EVENT_LOG",e.EVENT_NOTES="EVENT_NOTES",e.FAULT_CODE="FAULT_CODE",e.FLEET="FLEET",e.FLEET_DECARBONISATION="FLEET_DECARBONISATION",e.FLEET_HIERARCHY="FLEET_HIERARCHY",e.FLEET_SUMMARY="FLEET_SUMMARY",e.FRINGE_BENEFITS_TAX="FRINGE_BENEFITS_TAX",e.FUEL="FUEL",e.FUEL_ECONOMY_CAN="FUEL_ECONOMY_CAN",e.FUEL_EFFICIENCY="FUEL_EFFICIENCY",e.FUEL_TAX_CREDIT="FUEL_TAX_CREDIT",e.GEOFENCE="GEOFENCE",e.GEOFENCE_REPORT="GEOFENCE_REPORT",e.GEOFENCE_TAG="GEOFENCE_TAG",e.HELP_PAGE="HELP_PAGE",e.HOS_RECAP="HOS_RECAP",e.HOS_VIOLATION_INSIGHTS="HOS_VIOLATION_INSIGHTS",e.IFTA="IFTA",e.INCAB_SERVICE_ALERT_CONFIGURATION="INCAB_SERVICE_ALERT_CONFIGURATION",e.INCAB_SURVEY="INCAB_SURVEY",e.INCAB_SURVEY_RESPONSE="INCAB_SURVEY_RESPONSE",e.INSPECTION="INSPECTION",e.INSPECTION_TEMPLATE="INSPECTION_TEMPLATE",e.IRP="IRP",e.LEADERBOARD="LEADERBOARD",e.LOCATION="LOCATION",e.MACHINE="MACHINE",e.MACHINE_METADATA="MACHINE_METADATA",e.MAINTENANCE_HISTORY="MAINTENANCE_HISTORY",e.MAINTENANCE_ITEM="MAINTENANCE_ITEM",e.MESSAGE="MESSAGE",e.METADATA_TYPE="METADATA_TYPE",e.MOBILE_DEVICE="MOBILE_DEVICE",e.NOTIFICATION="NOTIFICATION",e.ODATA_DOCUMENTATION="ODATA_DOCUMENTATION",e.ORGANISATION="ORGANISATION",e.OUTAGE="OUTAGE",e.OVERSPEED_DASHBOARD="OVERSPEED_DASHBOARD",e.PARTNER_MANAGEMENT="PARTNER_MANAGEMENT",e.PCT_PORTAL="PCT_PORTAL",e.REPORT="REPORT",e.REQUEST_PROGRESS_STATUS="REQUEST_PROGRESS_STATUS",e.RESTRICTED_CONTENT="RESTRICTED_CONTENT",e.RUC_LICENCE="RUC_LICENCE",e.RUC_SUMMARY="RUC_SUMMARY",e.SEEING_MACHINES_EVENT="SEEING_MACHINES_EVENT",e.SENSOR_ALERT="SENSOR_ALERT",e.SENSOR_CONFIGURATION="SENSOR_CONFIGURATION",e.SENSOR_CONFIG_RULE="SENSOR_CONFIG_RULE",e.SENSOR_CONFIG_RULE_SUBSCRIPTION="SENSOR_CONFIG_RULE_SUBSCRIPTION",e.SENSOR_FAULT="SENSOR_FAULT",e.SERVICE_ASSET="SERVICE_ASSET",e.SERVICE_PLAN="SERVICE_PLAN",e.SERVICE_REPAIR="SERVICE_REPAIR",e.SERVICE_SCHEDULE="SERVICE_SCHEDULE",e.SERVICE_SUPPLIER="SERVICE_SUPPLIER",e.SERVICE_TYPE="SERVICE_TYPE",e.SSO_CONFIGURATION="SSO_CONFIGURATION",e.SSO_FLEET_MAPPING="SSO_FLEET_MAPPING",e.TIMELY="TIMELY",e.TRIP_INVESTIGATOR="TRIP_INVESTIGATOR",e.UNIDENTIFIED_TRIP="UNIDENTIFIED_TRIP",e.USER="USER",e.USER_ACTIVITY_LOG="USER_ACTIVITY_LOG",e.USER_PRESET="USER_PRESET",e.USER_PROFILE="USER_PROFILE",e.UTILISATION_DASHBOARD="UTILISATION_DASHBOARD",e.VEHICLE_PROFILE="VEHICLE_PROFILE",e.VIDEO_DATA_RETENTION="VIDEO_DATA_RETENTION",e.VIDEO_TAG="VIDEO_TAG",e.WIDGET="WIDGET",e.WMT="WMT",e))(m||{}),g=(e=>(e.AUTO="AUTO",e.MANUAL="MANUAL",e.REQUEST="REQUEST",e))(g||{}),h=(e=>(e.SUB_STREAM="SUB_STREAM",e.MAIN_STREAM="MAIN_STREAM",e))(h||{}),v=(e=>(e.PENDING="PENDING",e.FAILED="FAILED",e.SUCCESS="SUCCESS",e))(v||{}),f=(e=>(e.EVENT_TRIGGER="EVENT_TRIGGER",e))(f||{}),y=(e=>(e.INTERCOM="INTERCOM",e))(y||{}),b=(e=>(e.ONLINE="ONLINE",e.OFFLINE="OFFLINE",e))(b||{}),E=(e=>(e.CAMERA_COVERED_DRIVER="CAMERA_COVERED_DRIVER",e.CAMERA_COVERED_FRONT="CAMERA_COVERED_FRONT",e.CONSTRUCTION_ZONE_SPEEDING="CONSTRUCTION_ZONE_SPEEDING",e.DISOBEYED_TRAFFIC_CONTROL="DISOBEYED_TRAFFIC_CONTROL",e.DISREGARDED_EMERGENCY_VEHICLE="DISREGARDED_EMERGENCY_VEHICLE",e.DISREGARDED_HAZARDOUS_CONDITION="DISREGARDED_HAZARDOUS_CONDITION",e.DISTRACTED_DRIVING="DISTRACTED_DRIVING",e.DRINKING="DRINKING",e.FATIGUE="FATIGUE",e.FOLLOWING_TOO_CLOSE="FOLLOWING_TOO_CLOSE",e.FORWARD_COLLISION_WARNING="FORWARD_COLLISION_WARNING",e.GIVE_WAY_FAILURE="GIVE_WAY_FAILURE",e.IMPROPER_LANE_CHANGE="IMPROPER_LANE_CHANGE",e.IMPROPER_PASSING="IMPROPER_PASSING",e.IMPROPER_TURN="IMPROPER_TURN",e.MOBILE_PHONE_USAGE="MOBILE_PHONE_USAGE",e.NO_DRIVER="NO_DRIVER",e.NO_SEATBELT="NO_SEATBELT",e.NO_STOP_FOR_PEDESTRIAN="NO_STOP_FOR_PEDESTRIAN",e.PROXIMITY_ALERT="PROXIMITY_ALERT",e.RAILWAY_VIOLATION="RAILWAY_VIOLATION",e.SAFE_DRIVER="SAFE_DRIVER",e.SCHOOL_ZONE_VIOLATION="SCHOOL_ZONE_VIOLATION",e.SEVERE_SPEEDING="SEVERE_SPEEDING",e.SMOKING="SMOKING",e.SPEEDING_FOR_CONDITIONS="SPEEDING_FOR_CONDITIONS",e.UNAUTHORISED_LANE_USAGE="UNAUTHORISED_LANE_USAGE",e.UNAUTHORISED_PASSENGER="UNAUTHORISED_PASSENGER",e.UNLAWFUL_PARKING="UNLAWFUL_PARKING",e.VAPING="VAPING",e.YAWNING="YAWNING",e))(E||{})},19615:(e,t,r)=>{"use strict";r.d(t,{y:()=>s});var a=r(14041);const s=e=>{const t=(0,a.useRef)(e);(0,a.useEffect)(()=>t.current(),[])}},19951:(e,t,r)=>{"use strict";r.d(t,{L:()=>s,r:()=>o});var a=r(94752);const s={numeric:!0,sensitivity:"base"};function o({isDescending:e=!1,key:t,list:r}){if((0,a.g)(r))return;const o=[...r].sort((e,r)=>{var a,o;const i=String(null!=(a=e[t])?a:""),n=String(null!=(o=r[t])?o:"");return i.localeCompare(n,void 0,s)});return e?o.reverse():o}Object.freeze(s)},20023:()=>{},20550:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>
1o,iD:()=>i,ve:()=>n});var a=r(95222),s=(e,t,r)=>new Promise((a,s)=>{var o=e=>{try{n(r.next(e))}catch(e){s(e)}},i=e=>{try{n(r.throw(e))}catch(e){s(e)}},n=e=>e.done?a(e.value):Promise.resolve(e.value).then(o,i);n((r=r.apply(e,t)).next())});const o=()=>a.N.currentAuthenticatedUser(),i=()=>s(void 0,null,function*(){var e,t;const r=yield o();return null==(t=null==(e=null==r?void 0:r.getSignInUserSession())?void 0:e.getAccessToken())?void 0:t.getJwtToken()}),n=()=>s(void 0,null,function*(){var e,t;const r=yield o();return null==(t=null==(e=null==r?void 0:r.getSignInUserSession())?void 0:e.getRefreshToken())?void 0:t.getToken()})},21881:(e,t,r)=>{"use strict";r.d(t,{l:()=>o,x:()=>i});var a=r(14041),s=r(14041);const o=(0,a.createContext)(void 0),i=({children:e})=>{const[t,r]=(0,a.useState)(n());return(0,a.useEffect)(()=>{function e(){r(n())}return globalThis.addEventListener("resize",e),()=>{globalThis.removeEventListener("resize",e)}},[]),s.createElement(o.Provider,{value:t},e)};function n(){return{innerHeight:globalThis.innerHeight,innerWidth:globalThis.innerWidth}}},22263:(e,t,r)=>{"use strict";r.d(t,{F:()=>s,t:()=>a});const a="YYYY-MM-DDTHH:mm:ss.sssZ",s=new Date("Invalid Date")},23036:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});const a=(e,t)=>null==e?void 0:e.find(e=>e.type===t)},23937:(e,t,r)=>{"use strict";r.d(t,{R:()=>i});var a=r(95222),s=r(46186),o=r(29270);const i=()=>{try{a.N.configure({region:"ap-southeast-2",userPoolId:"ap-southeast-2_wy5mlHkCV",userPoolWebClientId:(0,o.fp)(),authenticationFlowType:"USER_PASSWORD_AUTH"})}catch(e){e instanceof Error&&(0,s.N)(e)}}},25156:()=>{},27005:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var a=r(93753),s=r(13455);const o=({canUserOrgSwitch:e=!1,isSkippingOrgSwitcher:t=!1,isSkippingUserSwitcher:r=!1})=>{t||(0,s.n5)(a.ZH),r||(0,s.n5)(a._b),e&&(0,s.n5)(a.oO)}},27876:(e,t,r)=>{"use strict";r.d(t,{d:()=>a});const a=()=>globalThis.self!==globalThis.top},28380:(e,t,r)=>{"use strict";r.d(t,{c:()=>d});var a=r(51962),s=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,l=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&l(e,r,t[r]);if(o)for(var r of o(t))n.call(t,r)&&l(e,r,t[r]);return e};function d(e,t){if(!(0,a.O)(e))return{};const r=c({},e);for(let e=0;e<t.length;e++)delete r[t[e]];return r}},28871:(e,t,r)=>{"use strict";function a(e){return void 0===e}r.d(t,{b:()=>a})},29159:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});var a=r(14041),s=r(51962),o=r(94752),i=r(21881);function n(){const e=(0,a.useContext)(i.l);return(0,o.g)(e)?{innerHeight:(0,s.O)(globalThis)?globalThis.innerHeight:0,innerWidth:(0,s.O)(globalThis)?globalThis.innerWidth:0}:e}},29270:(e,t,r)=>{"use strict";r.d(t,{Nz:()=>d,Qx:()=>c,_Q:()=>n,fp:()=>g,lr:()=>m,q1:()=>u,yf:()=>l,zl:()=>p});var a=r(16487),s=r(13455),o=r(93753),i=r(59623);const n=()=>(0,s.yN)({key:o.ni}),l=e=>{const t=new URLSearchParams(e.search);if(e.pathname.includes(i.aQ.DAILY_ACTIVITY_REPORT)){const e=t.get("machineId"),r=t.get("machineGid");if((0,a.h)(e))return{machineId:e};if((0,a.h)(r))return{machineGid:r}}if(e.pathname.includes(i.aQ.ELD_DRIVER_LOGS)){const e=t.get("date"),r=t.get("driverGid");if((0,a.h)(e)&&(0,a.h)(r))return{date:e,driverGid:r}}if(e.pathname.includes(i.aQ.EVENT_LOG)){const e=t.get("action"),r=t.get("machineId"),s=t.get("machineGid");if((0,a.h)(e)){if((0,a.h)(r))return{action:e,machineId:r};if((0,a.h)(s))return{action:e,machineGid:s}}}},c=()=>(0,s.yN)({key:o.av}),d=()=>(0,s.yN)({key:o.Kt}),u=()=>(0,s.yN)({key:o.Sd}),p=e=>{const t=(e=>(0,s.yN)({key:(0,o.YT)(e)}))(e);return(0,o.hm)({clientId:e,lastAuthUser:t})},m=e=>(0,s.yN)({key:p(e)}),g=()=>n()||"653s47uee7hg72d01nlpmhgqn4"},31326:(e,t,r)=>{"use strict";function a(){globalThis.location.reload()}r.d(t,{b:()=>a})},31820:(e,t,r)=>{"use strict";r.d(t,{t:()=>a.t});var a=r(36775)},32022:(e,t,r)=>{"use strict";r.d(t,{An:()=>h,Fs:()=>g,JL:()=>y,KT:()=>m,PY:()=>f,q:()=>v});var a=r(24134),s=Object.defineProperty,o=Object.defineProperties,i=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>
1{for(var r in t||(t={}))l.call(t,r)&&d(e,r,t[r]);if(n)for(var r of n(t))c.call(t,r)&&d(e,r,t[r]);return e},p=(e,t)=>o(e,i(t));const m=({list:e,unreadMessagesByVehicleId:t})=>e.map(e=>{var r,a;const{id:s}=e,{sent:o=""}=null!=(a=null==(r=t[s])?void 0:r[0])?a:{};return p(u({},e),{latestMessageTimestamp:o})}),g=({list:e,groupIds:t,search:r})=>{const s=r.toLowerCase();return e.filter(e=>{const{displayName:o,fleets:i,registrationPlate:n,driverName:l}=e;let c=!1;return""===r?c=!0:((null==o?void 0:o.toLowerCase().includes(s))&&(c=!0),(null==n?void 0:n.toLowerCase().includes(s))&&(c=!0),(null==l?void 0:l.toLowerCase().includes(s))&&(c=!0)),c&&!(0,a.I)(t)&&(c=i.some(({id:e})=>t.includes(e))),c})},h=({messages:e,messagesToUpdate:t})=>[...e].map(e=>p(u({},e),{status:t.has(e.id)?"READ":e.status})),v=e=>new Map(e.map(e=>[e.id,e])),f=e=>Array.from(e,([,e])=>e),y=({messages:e,singleMessage:t})=>!!Array.isArray(e)&&e.some(({id:e})=>e===t.id)},33148:(e,t,r)=>{"use strict";r.d(t,{d:()=>n,M:()=>l});var a=r(83381),s=r(90645),o=r(93753),i=r(46186);const{sagaMiddleware:n,store:l}=(0,a.U)({middlewares:[()=>e=>t=>{const r=(e=>(0,s.ve)(e))(t)?t:void 0;!(null==r?void 0:r.type.endsWith("FAILURE"))||o.db||o.Kq||console.error(`Action "${r.type.replace("_FAILURE","")}" failed with:`,r.payload);try{return e(t)}catch(e){return o.db||console.error(`Action "${null==r?void 0:r.type}" failed with:`,e),void(0,i.N)(e)}}]})},35060:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var a=r(24392),s=r(79623);const o=(e,t,{shouldCancel:r,beforeRequest:o,onSuccess:i,onError:n,makeCallFnParams:l=({payload:e})=>[e],makeRequestPayload:c=()=>{},makeSuccessPayload:d=e=>e,makeErrorPayload:u=e=>e}={})=>function*(p){const m=yield(0,a.SD)("router"),{meta:g={}}=p;if("function"==typeof r){const t=yield(0,a.T1)(r,p);if(t)return void(yield(0,a.yJ)(e.cancel(t)))}"function"==typeof o&&(yield(0,a.T1)(o,p));const h=yield(0,a.T1)(c,p);yield(0,a.yJ)(e.request(h));try{const r=yield(0,a.T1)(l,p),o=yield(0,a.T1)(t,...r);yield(0,a.yJ)(e.success(d(o,p))),"function"==typeof i&&(yield(0,a.T1)(i,o,p)),g.successMessage&&("function"==typeof g.successMessage?g.successMessage(o):s.i.success(g.successMessage)),g.infoMessage&&("function"==typeof g.infoMessage?g.infoMessage(o):s.i.info(g.infoMessage)),g.redirect&&(yield(0,a.T1)(m.navigate,g.redirect))}catch(t){yield(0,a.yJ)(e.failure(u(t,p))),"function"==typeof n&&(yield(0,a.T1)(n,t,p)),g.errorMessage&&("function"==typeof g.errorMessage?g.errorMessage(t):s.i.error(g.errorMessage))}}},35198:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={enAU:{},enNZ:JSON.parse('{"service.assets.AssetDrawer.csvexport.error":"There was an error. Please try again or contact support","service.assets.AssetDrawer.csvexport.success":"The CSV will be emailed to you shortly","service.assets.cellContent.bookedItems":"{booked}/{total} Items","service.assets.columnTitles.booked":"Booked","service.assets.columnTitles.cofDueDate":"COF due date","service.assets.columnTitles.cofPrevDate":"COF prev date","service.assets.columnTitles.costCenter":"Cost center","service.assets.columnTitles.daysSinceLastService":"Days since last service","service.assets.columnTitles.daysToNextService":"Days to next service","service.assets.columnTitles.defaultSupplier":"Default supplier","service.assets.columnTitles.displayName":"Display name","service.assets.columnTitles.distance":"Ehubo reading","service.assets.columnTitles.distanceFromLastService":"Distance from last service","service.assets.columnTitles.distanceToNextService":"Distance to next service","service.assets.columnTitles.due":"Due soon","service.assets.columnTitles.engineHours":"Engine hours","service.assets.columnTitles.group":"Group (fleets)","service.assets.columnTitles.hoursToNextService":"Hours to next service","service.assets.columnTitles.isRuc":"Is RUC","service.assets.columnTitles.lastCompletedService":"Last completed service","service.assets.columnTitles.lastInspection":"Last inspection date","service.assets.columnTitles.lastServiceCost":"Last service cost","service.assets.columnTitles.make":"Make","service.assets.columnTitles.model":"Model","service.assets.columnTitles.nextServiceByDistance":"Next service by distance","service.assets.columnTitles.nextServiceByEngineHours":"Next service by engine hours","service.assets.columnTitles.nextServiceByTime":"Next service by time","service.assets.columnTitles.odoreading":"Odometer reading","service.assets.columnTitles.overdue":"Overdue","service.assets.columnTitles.priority":"Service priority","service.assets.columnTitles.purchaseDate":"Purchase date","service.assets.columnTitles.purchasePrice":"Purchase price","service.assets.columnTitles.rego":"Rego","service.assets.columnTitles.regoDueDate":"Rego due date","service.assets.columnTitles.regoPrevDate":"Rego prev date","service.assets.columnTitles.severity":"Repair severity","service.assets.columnTitles.status":"Service status","service.assets.columnTitles.type":"Type","service.assets.columnTitles.upcoming":"Upcoming","service.assets.columnTitles.vin":"VIN","service.assets.columnTitles.wofDueDate":"WOF due date","service.assets.columnTitles.wofPrevDate":"WOF prev date","service.assets.columnTitles.yearOfManufacture":"Year of manufacture","service.assets.columnTitles.nextServiceItem":"Next service item","service.assets.Drawer.bookingModal.confirmationModal.cancelText":"No","service.assets.Drawer.bookingModal.confirmationModal.content":"Do you want to cancel this booking?","service.assets.Drawer.bookingModal.confirmationModal.okText":"Yes, please cancel","service.assets.Drawer.bookingModal.confirmationModal.title":"Cancel booking","service.assets.Drawer.bookingModal.form.cancel.successMessage":"Booking successfully cancelled","service.assets.Drawer.bookingModal.form.cancel.errorMessage":"Booking could not be cancelled. Please try again.","service.assets.Drawer.bookingModal.form.cancelBookingBtn.label":"Cancel Booking","service.assets.Drawer.bookingModal.form.cancelBtn.label":"Cancel","service.assets.Drawer.bookingModal.form.create.errorMessage":"Booking could not be created. Please try again.","service.assets.Drawer.bookingModal.form.create.successMessage":"Booking successfully created","service.assets.Drawer.bookingModal.form.date.error":"Please select a date","service.assets.Drawer.bookingModal.form.date.label":"Date & time","service.assets.Drawer.bookingModal.form.saveBtn.label":"Save","service.assets.Drawer.bookingModal.form.supplier.error":"Please select a supplier","service.assets.Drawer.bookingModal.form.supplier.label":"Supplier","service.assets.Drawer.bookingModal.form.supplier.placeholder":"Select supplier","service.assets.Drawer.bookingModal.form.update.errorMessage":"Booking could not be updated. Please try again.","service.assets.Drawer.bookingModal.form.update.successMessage":"Booking successfully updated","service.assets.Drawer.bookingModal.form.validation.pastDate.errorMessage":"Date and time can not be in the past","service.assets.Drawer.bookingModal.title":"Manage booking - <span>{serviceTitle}</span>","service.assets.Drawer.bookingModal.authorization.error":"You don\'t have permission to perform this action. Please contact administrator","service.assets.Drawer.button.scheduleNewService":"Schedule service","service.assets.Drawer.button.createNewRepair":"Create repair","service.assets.Drawer.close":"Close","service.assets.Drawer.checklist.details.title":"Checklist","service.assets.Drawer.empty.services":"No services scheduled. To add, click âSchedule serviceâ above.","service.assets.Drawer.engineHours":"Hours","service.assets.Drawer.history.service":"Service history","service.assets.Drawer.history":"Maintenance history","service.assets.Drawer.huboReading":"Ehubo","service.assets.Drawer.make":"Make","service.assets.Drawer.model":"Model","service.assets.Drawer.odoReading":"Odometer","service.assets.Drawer.rego":"Rego","service.assets.Drawer.currentDriver":"Driver","service.assets.Drawer.currentLocation":"Location","service.assets.Drawer.schedules.booking.booked":"<span>BOOKED - {bookingDate}</span>","service.assets.Drawer.schedules.booking.booked.overdue":"<span>BOOKED - {bookingDate} - Overdue</span>","service.assets.Drawer.schedules.booking.markButton.label":"Mark as booked","service.assets.Drawer.schedules.dateInterval":"Every {interval}","service.assets.Drawer.schedules.footer.completeBtn.label":"Complete","service.assets.Drawer.schedules.footer.preRef":"PreRef: {preRef}","service.assets.Drawer.schedules.header.nextDue":"Next Due","service.assets.Drawer.schedules.header.schedule":"Schedule","service.assets.Drawer.schedules.hoursInterval":"or {interval} ","service.assets.Drawer.schedules.hoursMainInterval":"Every {interval} ","service.assets.Drawer.schedules.link.closeAll.text":"Close all","service.assets.Drawer.schedules.link.expandAll.text":"Expand all","service.assets.Drawer.schedules.nextServiceDate.overdue":"on {date} <span>({daysAgo} days ago)</span>","service.assets.Drawer.schedules.nextServiceDate":"on {date} (in {daysBefore} days)","service.assets.Drawer.schedules.nextServiceHours.overdue":"or at {nextServiceHours} <span>({hoursAgo} ago)</span>","service.assets.Drawer.schedules.nextServiceHours":"or at {nextServiceHours} (in {hoursFromNow})","service.assets.Drawer.schedules.nextServiceOdometer.noDistanceReading":"or at {nextServiceDistance}","service.assets.Drawer.schedules.nextServiceOdometer.overdue":"or at {nextServiceDistance} <span>({distance} ago)</span>","service.assets.Drawer.schedules.nextServiceOdometer":"or at {nextServiceDistance} (in {distanceDiff})","service.assets.Drawer.schedules.odoInterval":"or {interval} ","service.assets.Drawer.schedules.odoMainInterval":"Every {interval} ","service.assets.Drawer.schedules.oneTimeService":"Not Repeated","service.assets.Drawer.schedules.title":"Services","service.assets.Drawer.schedules.serviceTypeIcon.tooltip":"Service Checklist","service.assets.Drawer.repairs.title":"Repairs","service.assets.Drawer.table.header.frequency":"Repeat every","service.assets.Drawer.table.header.nextDue":"Next due","service.assets.Drawer.table.header.scheduledItem":"Scheduled service item","service.assets.Drawer.table.rowMenu.completeService":"Complete service","service.assets.Drawer.table.rowMenu.deleteService":"Delete service","service.assets.Drawer.table.rowMenu.editService":"Edit service","service.assets.Drawer.table.rowMenu.manageBooking":"Manage booking","service.assets.Drawer.viewDetails":"Go to full page","service.assets.Drawer.vin":"VIN","service.assets.Drawer.year":"Year","service.assets.Filter.defect.placeholder":"Repair status","service.assets.Filter.makes.placeholder":"Make","service.assets.Filter.models.placeholder":"Model","service.assets.Filter.sc
1hedule.placeholder":"Due Status","service.assets.Filter.service.placeholder":"Service","service.assets.FilterPresetDrawer.button.primary":"Save","service.assets.FilterPresetDrawer.button.secondary":"Cancel","service.assets.FilterPresetDrawer.explanation":"You can save your current search, filters, column sorting, and rows per page.","service.assets.FilterPresetDrawer.nameLabel":"Name","service.assets.FilterPresets.addNew":"Add new saved filters","service.assets.FilterPresets.create.error":"There was an error creating {name}. Please try again","service.assets.FilterPresets.create.success":"Saved filters {name} created successfully","service.assets.FilterPresets.defaultOption.label":"Default filters","service.assets.FilterPresets.delete.error":"There was an error deleting {name}. Please try again","service.assets.FilterPresets.delete.pleaseConfirm":"Do you want to delete saved filters {name}?","service.assets.FilterPresets.delete.success":"Saved filters {name} successfully deleted","service.assets.FilterPresets.label":"Filters","service.assets.FilterPresets.maxReached":"Unable to create more than {max} saved filters","service.assets.FilterPresets.nameClash":"You already have saved filters called {name}. Please choose a different name.","service.assets.FilterPresets.update.error":"There was an error updating {name}. Please try again","service.assets.FilterPresets.update.success":"Saved filters {name} updated successfully","service.assets.RepairPage.breadcrumbs":"Back to Assets","service.assets.RepairPage.edit.title":"Edit: {name}","service.assets.RepairPage.form.cancelBtn.label":"Cancel","service.assets.RepairPage.form.comment.label":"Comment","service.assets.RepairPage.form.comment.max.length":"Character limit exceeded","service.assets.RepairPage.form.defectName.error":"Please enter defect","service.assets.RepairPage.form.defectName.label":"Defect","service.assets.RepairPage.form.defectName.max.length":"Character limit exceeded. Max. {maxLength} characters","service.assets.RepairPage.form.images":"Images","service.assets.RepairPage.form.defectName.placeholder":"ie: Broken left side mirror","service.assets.RepairPage.form.download.errorMessage":"Failed to download image","service.assets.RepairPage.form.edit.errorMessage":"Repair did not update. Please try again.","service.assets.RepairPage.form.edit.successMessage":"Repair successfully updated.","service.assets.RepairPage.form.header":"Details","service.assets.RepairPage.form.insert.errorMessage":"Repair could not be created. Please try again.","service.assets.RepairPage.form.insert.successMessage":"Repair successfully created","service.assets.RepairPage.form.repairSeverity.error":"Please select the severity level","service.assets.RepairPage.form.repairSeverity.label":"Severity","service.assets.RepairPage.form.submitBtn.edit.label":"Save repair","service.assets.RepairPage.form.submitBtn.label":"Create repair","service.assets.RepairPage.form.upload.fileOverSize.errorMessage":"File should be smaller than 10MB","service.assets.RepairPage.form.upload.message":"Upload images <small> max size 10MB (jpg, jpeg, png, gif) </small>","service.assets.RepairPage.form.uploadBtn.label":"Upload","service.assets.RepairPage.title":"Create repair","service.assets.schedule.confirmDelete.cancelText":"Cancel","service.assets.schedule.confirmDelete.content":"Scheduled service item {name} will be deleted.","service.assets.schedule.confirmDelete.okText":"Delete now","service.assets.schedule.confirmDelete.title":"Are you sure you want to delete?","service.assets.schedule.delete.error":"There was an error deleting {name}, please try again","service.assets.schedule.delete.success":"Asset schedule {name} successfully deleted","service.assets.schedule.formPage.header.ehubo.tooltip":"EHUBO","service.assets.schedule.formPage.header.engineHour.tooltip":"Engine hours","service.assets.schedule.formPage.header.vehicleMake.tooltip":"Make, model, and year","service.assets.schedule.formPage.header.vin.tooltip":"VIN","service.assets.schedule.insert.applyPlanConfirm":"Applying a service plan will overwrite your current inputs with new values","service.assets.schedule.insert.errorMessage":"Asset schedules could not be created","service.assets.schedule.insert.successMessage":"Asset schedules successfully created","service.assets.schedule.planSelect.placeholder":"Load service plan (optional)","service.assets.schedule.planSelect.tooltip":"This asset doesn\'t have an Ehubo. You can only select date based plans.","service.assets.schedule.update.errorMessage":"Asset schedule {name} could not be updated","service.assets.schedule.update.successMessage":"Asset schedule {name} successfully updated","service.assets.ServiceAssetsFilters.search.input.placeholder":"Search display name or rego","service.assets.ServiceAssetsPage.csvexport.error":"There was an error. Please try again or c
1ontact support","service.assets.ServiceAssetsPage.csvexport.success":"The CSV will be emailed to you shortly","service.assets.ServiceAssetsPage.fetchAssetRepairs.errorMessage":"There was an error resolving the asset repairs. Please try again.","service.assets.ServiceAssetsPage.fetchAssetSchedules.errorMessage":"There was an error resolving the asset schedules. Please try again.","service.assets.ServiceAssetsPage.fetchMachineDetail.errorMessage":"There was an error resolving the asset detail. Please try again.","service.assets.ServiceAssetsPage.fleetsSanitizedContent":"You don\'t have permission to see assets for some of the requested groups. The filter has been updated.","service.assets.ServiceAssetsPage.fleetsSanitizedTitle":"Groups filter updated","service.assets.ServiceAssetsPage.insertPreset.successMessage":"Columns saved. You are now working with {name}","service.assets.ServiceAssetsPage.noData":"No assets found","service.assets.ServiceAssetsPage.pageTitle":"Assets","service.assets.ServiceAssetsPage.updatePreset.successMessage":"Columns {name} updated","service.assets.table.filters.dueStatus.all":"All due statuses","service.assets.table.filters.dueStatus.allOption":"All due statuses","service.assets.table.filters.dueStatus.mobileHeading":"Due status","service.assets.table.filters.dueStatus.placeholder":"Due status","service.assets.table.filters.fleet.all":"All groups (fleets)","service.assets.table.filters.fleet.allOption":"All groups (fleets)","service.assets.table.filters.fleet.mobileHeading":"Groups","service.assets.table.filters.fleet.placeholder":"Groups (fleets)","service.assets.table.filters.fleet.searchInput.placeholder":"Search groups","service.assets.table.filters.service.all":"All service types","service.assets.table.filters.service.allOption":"All service types","service.assets.table.filters.service.mobileHeading":"Service types","service.assets.table.filters.service.placeholder":"Service types","service.assets.table.filters.service.searchInput.placeholder":"Search service types","service.assets.table.filters.statusBy.all":"All status criteria","service.assets.table.filters.statusBy.allOption":"All status criteria","service.assets.table.filters.statusBy.mobileHeading":"Status by","service.assets.table.filters.statusBy.placeholder":"Status by"}'),enUS:JSON.parse('{"service.assets.columnTitles.rego":"License plate","service.assets.columnTitles.regoDueDate":"Registration expiration date","service.assets.columnTitles.regoPrevDate":"Last registered","service.assets.Drawer.rego":"License plate","service.assets.ServiceAssetsFilters.search.input.placeholder":"Search display name or plate"}'),frCA:{}}},35339:(e,t,r)=>{"use strict";r.d(t,{r:()=>s});var a=r(51962);function s(e,t,r){return!!(0,a.O)(e)&&e>=t&&e<r}},36775:(e,t,r)=>{"use strict";r.d(t,{t:()=>d});var a=r(20921),s=r(14041),o=Object.defineProperty,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const d=e=>{var t=e,{"data-testid":r}=t,o=((e,t)=>{var r={};for(var a in e)n.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&i)for(var a of i(e))t.indexOf(a)<0&&l.call(e,a)&&(r[a]=e[a]);return r})(t,["data-testid"]);return s.createElement(a.A,((e,t)=>{for(var r in t||(t={}))n.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&c(e,r,t[r]);return e})({"data-testid":null!=r?r:"ui-library-spin"},o))}},37506:(e,t,r)=>{"use strict";r.d(t,{YW:()=>nt,DQ:()=>T,TK:()=>L,Kw:()=>V,AX:()=>Y,zY:()=>Z,xu:()=>he,R0:()=>ge,Hv:()=>ye,Xi:()=>Se,LK:()=>Ce,I_:()=>Ve,sT:()=>Xe,vA:()=>tt});var a=r(82729),s=r(27876),o=r(35550),i=r(62664),n=r(1454),l=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&g(e,r,t[r]);if(u)for(var r of u(t))m.call(t,r)&&g(e,r,t[r]);return e};const v=(0,n.wY)(e=>({root:({isBackCompat:t})=>{return r=h({display:"inline-block",marginBottom:e.spacing(5),color:e.colors.onsurfaceFont},e.typography.sizes.xs),a={"&:hover":{color:e.colors.onsurfaceTechnicalFont},[`@media (max-width: ${e.breakpoints.values.md}
1px)`]:h(h({},e.typography.sizes.sm),t&&{marginBottom:0,"& > :first-child":{fontSize:"2rem",marginTop:e.spacing(1),marginRight:e.spacing(3),lineHeight:1.4},"& > :not(:first-child)":{display:"none"}})},c(r,d(a));var r,a}}),{name:"PageBreadcrumb"});var f=r(14041),y=Object.defineProperty,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&O(e,r,t[r]);if(b)for(var r of b(t))A.call(t,r)&&O(e,r,t[r]);return e};const T=e=>{var t=e,{children:r,backUrl:o,isBackCompat:n}=t,l=((e,t)=>{var r={};for(var a in e)E.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&b)for(var a of b(e))t.indexOf(a)<0&&A.call(e,a)&&(r[a]=e[a]);return r})(t,["children","backUrl","isBackCompat"]);const c=v({isBackCompat:n});if((0,a.n)(o)){const e=(0,s.d)()?"_parent":"_self";return f.createElement("a",S({className:c.root,href:o,target:e},l),f.createElement(I,null,r))}return f.createElement(i.N_,S({to:o,className:c.root},l),f.createElement(I,null,r))},I=({children:e})=>f.createElement(f.Fragment,null,f.createElement(o.A,null),f.createElement("span",null,e));var R=Object.defineProperty,w=Object.defineProperties,C=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,_=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,M=(e,t)=>{for(var r in t||(t={}))N.call(t,r)&&_(e,r,t[r]);if(D)for(var r of D(t))P.call(t,r)&&_(e,r,t[r]);return e};const k=(0,n.wY)(e=>({root:({relative:t,withMargin:r})=>{return a=M(M({},t&&{position:"relative"}),r&&{margin:e.spacing(4)}),s={background:e.colors.surfaceLevel2,flex:1,minHeight:0},w(a,C(s));var a,s}}),{name:"PageContent"});var U=r(14041);const L=({children:e,forAnUnscrollablePage:t})=>{const r=k({relative:t,withMargin:!t});return U.createElement("section",{className:r.root},e)},F=(0,n.wY)(e=>({root:{margin:`${e.spacing(2)}px 0 0 0`}}),{name:"PageDescription"});var x=r(14041);const V=({text:e})=>{const t=F();return x.createElement("p",{className:t.root},e)};var G=r(43420),q=r(66661),H=r(11878);const B=(0,n.wY)(e=>({root:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",textAlign:"center"},icon:{margin:e.spacing(3),fontSize:"4.8rem","& svg":{fill:e.colors.eroadBrand}}}),{name:"PageError"});var j=r(14041);const Y=({message:e})=>{const t=B();return j.createElement(H.m,null,j.createElement("div",{className:t.root},j.createElement(q.A,{className:t.icon}),null!=e?e:j.createElement(G.s,{id:"ui.library.page.error"})))},z=(0,n.wY)(e=>({header:({hasBottomNav:t,hasTopNav:r})=>({backgroundColor:e.colors.surfaceLevel1,padding:e.spacing(6),paddingBottom:t?0:e.spacing(6),paddingTop:r?0:e.spacing(6),"& > .ant-tabs":{marginBottom:r?e.spacing(6):0},[`@media (max-width: ${e.breakpoints.values.lg}px)`]:{padding:e.spacing(3),paddingBottom:t?0:e.spacing(3),paddingTop:r?0:e.spacing(3),"& > .ant-tabs":{marginBottom:r?e.spacing(3):0}},[`@media (max-width: ${e.breakpoints.values.sm}px)`]:{padding:e.spacing(2),paddingBottom:t?0:e.spacing(2),paddingTop:r?0:e.spacing(2),"& > .ant-tabs":{marginBottom:r?e.spacing(2):0}}}),backCompat:{[`@media (max-width: ${e.breakpoints.values.md}px)`]:{display:"flex"}}}),{name:"PageHeader"});var W=r(14041);const Z=({children:e,breadcrumb:t,title:r,subtitle:a,description:s,info:o,hasTopNav:i,hasBottomNav:n,isBackCompat:l})=>{const c=z({hasBottomNav:n,hasTopNav:i});return e?W.createElement("header",{className:c.header},e):W.createElement("header",{className:c.header},l&&W.createElement("div",{className:c.backCompat},t,r)||W.createElement(W.Fragment,null,t,r),a,s,o)};var $=r(16947),J=Object.defineProperty,K=Object.defineProperties,Q=Object.getOwnPropertyDescriptors,X=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(e,t,r)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ae=(e,t)=>{for(var r in t||(t={}))ee.call(t,r)&&re(e,r,t[r]);if(X)for(var r of X(t))te.call(t,r)&&re(e,r,t[r]);return e},se=(e,t)=>K(e,Q(t));const oe=(0,n.wY)(e=>({wrapper:se(ae({display:"flex",flexWrap:"wrap",marginTop:e.spacing(5)},e.typography.sizes.md),{[`@media (max-width: ${e.breakpoints.values.lg-1}px)`]:se(ae({},e.typography.sizes.sm),{justifyContent:"space-between"})}),item:{alignItems:"center",display:"flex",padding:e.spacing(1),"& > :first-child":{color:e.colors.onsurfaceTechnicalFont},[`@media (min-width: ${e.breakpoints.values.lg}px)`]:{flexBasis:"25%"}},itemText:{marginLeft:e.spacing(2),transform:"translateY(1px)"}}),{name:"PageInfo"});var ie=r(14041),ne=Object.defineProperty,le=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ue=(e,t,r)=>t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pe=(e,t)=>{for(var r in t||(t={}))ce.call(t,r)&&ue(e,r,t[r]);if(le)for(var r of le(t))de.call(t,r)&&ue(e,r,t[r]);return e},me=(e,t)=>
1{var r={};for(var a in e)ce.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&le)for(var a of le(e))t.indexOf(a)<0&&de.call(e,a)&&(r[a]=e[a]);return r};const ge=e=>{var t=e,{children:r}=t,a=me(t,["children"]);const s=oe();return ie.createElement("div",pe({className:s.wrapper},a),r)},he=e=>{var t=e,{icon:r,text:a,tooltip:s,tooltipProps:o,condition:i=!0}=t,n=me(t,["icon","text","tooltip","tooltipProps","condition"]);const l=oe();return i?ie.createElement("div",pe({className:l.item},n),ie.createElement($.m,pe({title:s},o),r),ie.createElement("span",{className:l.itemText},a)):null};var ve=r(98140),fe=r(14041);const ye=()=>fe.createElement(ve.Q,{status:"404",title:"404"});var be=r(31326),Ee=r(65463);const Ae=(0,n.wY)(e=>({root:{height:"100vh",display:"flex",flexDirection:"column"},main:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,backgroundColor:"white"},link:{fontWeight:500,fontSize:16,lineHeight:2.4,color:e.colors.primaryBlueDefault,cursor:"pointer"}}),{name:"PageSafeError"});var Oe=r(14041);const Se=({showHeader:e,logoSrc:t,logoAlt:r})=>{const a=null!=e?e:Boolean(t),{root:s,main:o,link:i}=Ae();return Oe.createElement("div",{className:s},a&&Oe.createElement(Ee.s,{logoSrc:t,logoAlt:t?null!=r?r:"":r}),Oe.createElement("main",{className:o},Oe.createElement("h1",null,"Road closed!"),Oe.createElement("p",null,"Our dedicated team are looking into it. Try again later."),Oe.createElement("a",{onClick:be.b,className:i},"RELOAD PAGE")))};var Te=r(42453),Ie=r(36775);const Re=(0,n.wY)(()=>({root:{position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",right:0,bottom:0,left:0,top:0}}),{name:"PageSpinner"});var we=r(14041);const Ce=({wrapperClassName:e,size:t="large"})=>{const r=Re();return we.createElement("div",{className:(0,Te.$)(r.root,e)},we.createElement(Ie.t,{size:t}))};var De=Object.defineProperty,Ne=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(e,t,r)=>t in e?De(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Le=(e,t)=>{for(var r in t||(t={}))Me.call(t,r)&&Ue(e,r,t[r]);if(_e)for(var r of _e(t))ke.call(t,r)&&Ue(e,r,t[r]);return e};const Fe=(0,n.wY)(e=>{return{children:(t=Le({},e.typography.sizes.lg),r={color:e.colors.onsurfaceFont,fontWeight:500,marginTop:e.spacing(6)},Ne(t,Pe(r)))};var t,r},{name:"PageSubtitle"});var xe=r(14041);const Ve=({children:e})=>{const t=Fe();return xe.createElement("h2",{className:t.children},null!=e?e:null)};var Ge=Object.defineProperty,qe=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ze=(e,t,r)=>t in e?Ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,We=(e,t)=>{for(var r in t||(t={}))je.call(t,r)&&ze(e,r,t[r]);if(Be)for(var r of Be(t))Ye.call(t,r)&&ze(e,r,t[r]);return e};const Ze=(0,n.wY)(e=>{return{actions:{alignSelf:"center",display:"flex","& > *":{marginRight:e.spacing(4),"&:last-child":{marginRight:0}}},root:{display:"flex",justifyContent:"space-between"},title:(t=We({},e.typography.h5),r={color:e.colors.onsurfaceFont,fontWeight:500,marginBottom:0,textTransform:"lowercase","&:first-letter":{textTransform:"uppercase"},[`@media (max-width: ${e.breakpoints.values.md-1}px)`]:{fontSize:32},[`@media (max-width: ${e.breakpoints.values.md}px)`]:{fontSize:24}},qe(t,He(r))),titleOverrideCase:{textTransform:"none","&:first-letter":{textTransform:"none"}}};var t,r},{name:"PageTitle"});var $e=r(94752),Je=r(14041);const Ke=({actions:e})=>{const t=Ze();return(0,$e.g)(e)?null:Je.createElement("div",{className:t.actions,"data-testid":"PageTitle-actionButtons"},Array.isArray(e)?e.map(e=>e):e)};var Qe=r(14041);const Xe=({actions:e,overrideCase:t,"data-testid":r,title:a})=>{const s=Ze();return Qe.createElement("div",{className:s.root},Qe.createElement("h1",{"data-testid":r,className:(0,Te.$)(s.title,t&&s.titleOverrideCase)},a),Qe.createElement(Ke,{actions:e}))};var et=r(14041);const tt=()=>et.createElement(ve.Q,{status:"403",title:"403"}),rt=(0,n.wY)(e=>({root:{position:"relative",height:"100%",overflowY:"auto",backgroundColor:e.colors.surfaceLevel2,display:"flex",flexDirection:"column"}}),{name:"Page"});var at=r(14041),st=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;const nt=e=>{var t=e,{children:r}=t,a=((e,t)=>{var r={};for(var a in e)ot.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&st)for(var a of st(e))t.indexOf(a)<0&&it.call(e,a)&&(r[a]=e[a]);return r})(t,["children"]);const s=rt();return at.createElement("div",{"data-pendoid":a["data-pendoid"],className:s.root},r)}},38202:(e,t,r)=>{"use strict";r.d(t,{y:()=>o});var a=r(24134),s=r(94752);const o=({fallback:e=null,key:t,useLocalStorage:r=!0})=>{if((0,a.I)(t.trim()))return e;try{const a=(r?localStorage:sessionStorage).getItem(t);if((0,s.g)(a)||"undefined"===a)return e;try{const t=JSON.parse(a);return"undefined"===t?e:t}catch(e){return a}}catch(t){return e}}},39612:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});const a=r(18198).$n.DYNAMIC_CONFIG,s={getDynamicConfig:e=>e[a]}},40421:(e,t,r)=>{"use strict";r.d(t,{E:()=>n,v:()=>l});var a=r(40427),s=r(51962);const o=(e,t)=>{const r=(t?`${t}/${e}`:e).replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase(),a=(e,t)=>{const a={payload:e,type:r};(0,s.O)(null==t?void 0:t.error)&&(a.error=t.error);const o=null==t?void 0:t.meta;return(0,s.O)(o)&&(a.meta=o),a};return a.type=r,a.reduce=e=>({[r]:e}),a.reduceP=e=>({[r]:(t,r)=>e(t)(r)}),a.fold=e=>({[r]:(t,r)=>e(r,t)}),a.foldP=e=>({[r]:(t,r)=>e(r)(t)}),a},i={action:()=>(e,t)=>o(e,t),asyncAction:()=>(e,t)=>((e,t)=>Object.assign(o(e,t),{cancel:o(`${e}_CANCEL`,t),failure:o(`${e}_FAILURE`,t),request:o(`${e}_REQUEST`,t),success:o(`${e}_SUCCESS`,t)}))(e,t)},n=(e,t)=>{const r="string"==typeof e?e:void 0,a="string"==typeof e?t:e;if(!(0,s.O)(a))throw new Error("createActions requires an action definition callback");const o=a(i);return Object.fromEntries(Object.entries(o).map(([e,t])=>[e,t(e,r)]))},l=(e,t)=>
1{const r=Array.isArray(e)?Object.assign({},...e):e;return(e=t,s)=>{const o=r[s.type];return(0,a.d)(o)?o(e,s.payload):e}}},40427:(e,t,r)=>{"use strict";function a(e){return"function"==typeof e}r.d(t,{d:()=>a})},40797:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});const a=e=>e?e[0].toUpperCase()+e.slice(1):""},41201:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});const a=e=>{return t=function*(){return new Promise(t=>setTimeout(t,e))},new Promise((e,r)=>{var a=e=>{try{o(t.next(e))}catch(e){r(e)}},s=e=>{try{o(t.throw(e))}catch(e){r(e)}},o=t=>t.done?e(t.value):Promise.resolve(t.value).then(a,s);o((t=t.apply(void 0,null)).next())});var t}},42453:(e,t,r)=>{"use strict";r.d(t,{$:()=>s});var a=r(54357);const s=(...e)=>(0,a.A)(...e)},43207:(e,t,r)=>{"use strict";r.d(t,{f:()=>a});const a=e=>{var t;try{const r=null==e?void 0:e.split(".")[1],a=(null==(t=null==r?void 0:r.replace(/-/g,"+"))?void 0:t.replace(/_/g,"/"))||"",s=decodeURIComponent(atob(a).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""));return s?JSON.parse(s):{}}catch(e){return{}}}},43420:(e,t,r)=>{"use strict";r.d(t,{s:()=>u});var a=r(40511),s=r(14041),o=Object.defineProperty,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))n.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&c(e,r,t[r]);return e};const u=({defaultMessage:e,id:t,tagName:r,values:o})=>"string"!=typeof t||""===t?s.createElement(s.Fragment,null):s.createElement(a.A,{defaultMessage:e,id:t,tagName:r,values:d({br:s.createElement("br",null)},o)})},44013:(e,t,r)=>{"use strict";r.d(t,{C1:()=>E,My:()=>f,gg:()=>O,gn:()=>g,m$:()=>A,qG:()=>b,q_:()=>y,tF:()=>v,tU:()=>h});var a=r(18699),s=r(76787),o=Object.defineProperty,i=Object.defineProperties,n=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&u(e,r,t[r]);if(l)for(var r of l(t))d.call(t,r)&&u(e,r,t[r]);return e},m=(e,t)=>i(e,n(t));const g=(e,t)=>{const{data:r,pageNumber:o,totalRecords:i}=t,n=(0,a.is)(Array,r)?(0,a.wQP)(e=>e.id,r):{},l=(0,a.is)(Array,r)?(0,a.EyX)("id",r):[];return m(p({},e),{result:{data:r,pageNumber:o,totalRecords:i},byId:n,idList:l,request:m(p({},e.request),{status:s.IQ.SUCCESS})})},h=(e,t)=>m(p({},e),{request:m(p({},e.request),{status:s.IQ.SUCCESS}),result:t}),v=(e,t)=>(0,a.Zh9)((0,a.SUo)("result"),(0,a.BCw)(t),e),f=(e,t)=>(0,a.Zh9)((0,a.SUo)("result"),(0,a.TjK)((0,a.z7s)((0,a.wqE)("id",t.id),()=>t)),e),y=(e,t)=>(0,a.Zh9)((0,a.SUo)("result"),(0,a.TjK)((0,a.z7s)((0,a.wqE)("id",t.id),e=>p(p({},e),t))),e),b=(e,t)=>(0,a.Zh9)((0,a.SUo)("result"),(0,a.kuo)((0,a.wqE)("id",t.id)),e),E=(0,a.Jr0)(["request","status"],s.IQ.FAILED),A=(0,a.Jr0)(["request","status"],s.IQ.PENDING),O=(0,a.Jr0)(["request","status"],s.IQ.SUCCESS)},44448:(e,t,r)=>{"use strict";r.d(t,{W:()=>s,o:()=>a});var a=(e=>(e.SMALL="small",e.MIDDLE="middle",e.LARGE="large",e))(a||{}),s=(e=>(e.DEFAULT="default",e.SMALL="small",e))(s||{})},46186:(e,t,r)=>{"use strict";r.d(t,{N:()=>g});var a=r(80729),s=r(70457),o=r(61943),i=r(46587),n=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const g=(e,t)=>{var r;(0,a.V)()||(0,s.R)()?console.error(e,t):e instanceof Error?"response"in e?console.error(e,t):((0,o.Qr)(e),(0,i.Cp)(e,(r=((e,t)=>{for(var r in t||(t={}))u.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))p.call(t,r)&&m(e,r,t[r]);return e})({},t),l(r,c({tags:{manuallyReported:"true"}}))))):console.error(e,t)}},46587:(e,t,r)=>{"use strict";r.d(t,{$t:()=>d,Cp:()=>l.Cp,Sl:()=>u,tH:()=>c.tH});var a=r(87590),s=r(12875),o=r(80729),i=r(65802),n=r(70457),l=r(37168),c=r(426);function d(e){if(!p())return;if((0,i.K)(e))return void a.pq(e);const{attributes:t,level:r="info",message:s}=e;switch(r){case"info":a.pq(s,t);break;case"warn":a.R8(s,t)}}function u(){if(p())return(0,s.t)({attachReduxState:!1})}function p(){return!(0,o.V)()&&!(0,n.R)()}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable},47260:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={enAU:{},enNZ:JSON.parse('{"service.suppliers.BusinessClassificationCard.cardTitle":"Classification","service.suppliers.BusinessClassificationCard.error":"A business type is required","service.suppliers.BusinessClassificationCard.radio.label":"Primary Business Type","service.suppliers.BusinessClassificationCard.radio.option.body":"Body","service.suppliers.BusinessClassificationCard.radio.option.electrical":"Electrical","service.suppliers.BusinessClassificationCard.radio.option.mechanical":"Mechanical","service.suppliers.BusinessClassificationCard.radio.option.none":"None","service.suppliers.BusinessClassificationCard.radio.option.tyres":"Tyres","service.suppliers.BusinessContactPerson.contactEmail.error":"Please input contact email","service.suppliers.BusinessContactPerson.contactEmail.label":"Email","service.suppliers.BusinessContactPerson.contactEmail.placeholder":"Enter email","service.suppliers.BusinessContactPerson.contactName.error":"Please input contact name","service.suppliers.BusinessContactPerson.contactName.label":"Name","service.suppliers.BusinessContactPerson.contactName.placeholder":"Enter name","service.suppliers.BusinessContactPerson.contactPhone.error":"Please input contact phone","service.suppliers.BusinessContactPerson.contactPhone.label":"Phone","service.suppliers.BusinessContactPerson.contactPhone.placeholder":"Enter phone","service.suppliers.BusinessContactPerson.contactTitle":"Business contact","service.suppliers.BusinessContactPerson.emailError":"Please enter email","service.suppliers.BusinessContactPerson.nameError":"Please enter name","service.suppliers.BusinessContactPerson.phoneError":"Please enter phone","service.suppliers.BusinessDefaultFleetCard.cardTitle":"Default fleets/groups (optional)","service.suppliers.BusinessDefaultFleetCard.select.label":"Fleets/groups","service.suppliers.BusinessDetail
1sCard.businessDescription":"Description (optional)","service.suppliers.BusinessDetailsCard.businessName":"Business name","service.suppliers.BusinessDetailsCard.businessNameError":"Please input business name","service.suppliers.BusinessDetailsCard.cardTitle":"Business detail","service.suppliers.BusinessLocationCard.cardTitle":"Business location","service.suppliers.BusinessLocationCard.input.autofill.error":"Please input business address and select from drop down list","service.suppliers.BusinessLocationCard.input.autofill.no_results":"No results","service.suppliers.BusinessLocationCard.input.label":"Business address","service.suppliers.BusinessLocationCard.input.placeholder":"Enter address and select from drop down list","service.suppliers.DocumentUpload.title":"Documents","service.suppliers.columnTitles.businessDetails":"Business details","service.suppliers.columnTitles.businessLocation":"Business location","service.suppliers.columnTitles.classification":"Classification","service.suppliers.columnTitles.contactPerson":"Contact person","service.suppliers.columnTitles.defaultGroups":"Default fleets/groups","service.suppliers.columnTitles.description":"Description","service.suppliers.columnTitles.email":"Email","service.suppliers.columnTitles.phoneNumber":"Phone number","service.suppliers.CrudButtonBar.addMore":"Save and add more","service.suppliers.CrudButtonBar.cancel":"Cancel","service.suppliers.CrudButtonBar.confirm":"Save","service.suppliers.Drawer.close":"Close","service.suppliers.Drawer.edit":"Edit","service.suppliers.Drawer.remove":"Delete","service.suppliers.FilterBar.mobileHeader.classification":"Classification","service.suppliers.SupplierCrudTablePage.button.addSupplier":"Add supplier","service.suppliers.SupplierCrudTablePage.createPreset.success":"Columns created. You are now working with {name}","service.suppliers.SupplierCrudTablePage.defaultFleetsWarning":"This supplier is default for {fleetsCount} {fleetsCount, plural, one {fleet} other {fleets}}","service.suppliers.SupplierCrudTablePage.delete.pleaseConfirm":"Do you wish to delete {name}?","service.suppliers.SupplierCrudTablePage.delete.success":"Supplier {name} successfully deleted","service.suppliers.SupplierCrudTablePage.noData":"No suppliers found","service.suppliers.SupplierCrudTablePage.pageTitle":"Suppliers","service.suppliers.SupplierCrudTablePage.updatePreset.successMessage":"Columns {name} updated","service.suppliers.SupplierForm.input.upload.errorMessage":"File should be smaller than 10mb","service.suppliers.SupplierInsertPage.page.title":"Add supplier","service.suppliers.SupplierInsertPage.save.error":"Supplier {name} could not be created","service.suppliers.SupplierInsertPage.save.success":"Supplier {name} created","service.suppliers.SupplierInsertPage.saveAndAddMore.success":"Supplier {name} created","service.suppliers.SuppliersTableFilters.search.input.placeholder":"Search by business details","service.suppliers.SupplierUpdatePage.update.error":"Supplier {name} could not be updated","service.suppliers.SupplierUpdatePage.update.success":"Supplier {name} updated","service.suppliers.table.filters.classification.all":"All classifications","service.suppliers.table.filters.classification.allOption":"All classifications","service.suppliers.table.filters.classification.placeholder":"Classification"}'),enUS:JSON.parse('{"service.suppliers.BusinessClassificationCard.radio.option.tyres":"Tyres"}'),frCA:{}}},48194:(e,t,r)=>{"use strict";r.d(t,{y:()=>b,G:()=>E});var a=r(79623),s=r(31326),o=r(62397),i=r(1454),n=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))p.call(t,r)&&m(e,r,t[r]);return e};const h=(0,i.wY)(e=>{return{root:g({},e.typography.sizes.sm),button:(t=g({},e.typography.sizes.sm),r={padding:"0 12px","&:last-child":{paddingLeft:0}},l(t,c(r)))};var t,r},{name:"GlobalErrorMessage"});var v=r(14041);const f=({dismiss:e})=>{const t=h();return v.createElement("span",{className:t.root},v.createElement("span",{"data-pendoid":"GlobalErrorMessage"},"Oops! Something went wrong. Please refresh the page or try again later."),v.createElement(o.$,{className:t.button,type:"link",onClick:s.b,"data-pendoid":"GlobalErrorMessage-refresh-button"},"Refresh"),e&&v.createElement(o.$,{className:t.button,type:"link",onClick:()=>e(),"data-pendoid":"GlobalErrorMessage-dismiss-button"},"Dismiss"))};var y=r(14041);const b=e=>{var t,r,a;return null!=(a=null==(r=null==(t=null==e?void 0:e.response)?void 0:t.data)?void 0:r.outageEnabled)&&a},E=()=>{const e=a.i.error(y.createElement(f,{dismiss:()=>e()}),20)}},49067:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={enAU:{},enNZ:JSON.parse('{"integrations-add-product-modal-all-products":"All products","integrations-add-product-modal-select-product":"Select products","integrations-add-product-modal-title":"Add products","integrations-api-key-form-cancel":"Cancel","integrations-api-key-form-create":"Create key","integrations-api-key-form-save":"Save key","integrations-card-copy-failure":"Unable to copy key. Please check your browser\'s clipboard permissions and try again.","integrations-card-copy-success":"Copied key to clipboard","integrations-card-creator":"Creator","integrations-card-expiry":"API Expiry Date","integrations-card-key":"Key","integrations-docs-subtitle":"Each product available to you is associated with one or many APIs. Documentation for each API can be viewed by selecting it from the list.","integrations-docs-title":"Select an API from the list","integrations-entity-selector-max-tag-placeholder":"{count} {type}(s) selected","integrations-entity-selector-placeholder":"Select {type}s","integrations-entity-selector-placeholder-all":"All {type}s selected","integrations-entity-selector-subtitle":"Required for create endpoints.","integrations-entity-selector-title":"Admin {type} access","integrations-entity-selector-set-error":"There was an error loading available entities for this product. Please refresh to try again.","integrations-filter-bar-filter":"Filter by","integrations-filter-bar-search":"Search","integrations-filter-bar-status-all":"All states","integrations-filter-bar-status-placeholder":"Select states","integrations-full-access-body":"No access control available for this product.","integrations-full-access-title":"Full admin access","integrations-key-details-contact":"Technical contact","integrations-key-details-contact-error":"Please enter a valid email","integrations-key-details-contact-placeholder":"e.g. [email protected]","integrations-key-details-creator":"Creator","integrations-key-details-expiry":"Expiry date","integrations-key-details-expiry-error":"Please pick an expiry date","integrations-key-details-header":"Key details","integrations-key-details-name":"Key name","integrations-key-details-name-placeholder":"e.g. My amazing API","integrations-key-details-status":"Status","integrations-name-validation-empty":"Please enter a name","integrations-name-validation-special-characters":" Special characters are not allowed","integrations-name-validation-unique":"API Key names must be unique","integrations-page-subtitle":"Use this utility to manage your API keys. Keys created below have access to the {helpLink}.{br}{br}API Keys have moved. {legacyDepotLink}","integrations-page-link-help-link":"new APIs","integrations-page-link-legacy-depot-link":"Manage keys created previously here.","integrations-page-title-create":"Create an API Key","integrations-page-title-docs":"API Documentation","integrations-page-title-edc-docs":"Enterprise Data Connector","
1integrations-page-title-edit":"Edit an API Key","integrations-page-title-manage":"Manage API Keys","integrations-page-title-partners":"Partner Integrations","integrations-page-title-power-bi-docs":"Power BI Integration","integrations-partner-form-cancel":"Cancel","integrations-product-details-add":"Add products","integrations-product-details-error":"You must add at least one product.","integrations-product-details-header":"Products","integrations-product-row-readonly":"Read only","integrations-product-row-read-write":"Read/write","integrations-product-row-remove-content":"Are you sure you want to remove this product?","integrations-product-row-remove-title":"Remove product","integrations-status-tag-active":"Active","integrations-status-tag-expired":"Expired","integrations-status-tag-suspended":"Suspended","integrations-tabs-docs":"API Documentation","integrations-tabs-edc-docs":"Enterprise Data Connector","integrations-tabs-keys":"API Keys","integrations-tabs-partners":"Partners","integrations-tabs-power-bi-docs":"Power BI Integration","integrations-the-cards-view-create-button":"Create new API Key","integrations-the-cards-view-delete-text":"You\'re about to delete the API Key {name} are \\n you sure you want to revoke access to this API?","integrations-the-cards-view-delete-title":"Delete API","integrations-v1-partner-actions-cancel-confirm-text":"Are you sure you want to cancel this integration?","integrations-v1-partner-actions-cancel-confirm-title":"Deactivate Integration","integrations-v1-partner-actions-cancel":"Deactivate","integrations-v1-partner-actions-request-confirm-text":"Do you want to request access to this integration for your organisation?\\n\\nUpon confirming, EROAD Support will be in touch to get it sorted.","integrations-v1-partner-actions-request-confirm-title":"Request Access","integrations-v1-partner-actions-request":"Request","integrations-v1-partner-card-description":"Description","integrations-v1-partner-card-provider":"Provider","integrations-v1-partner-status-active":"Active","
1integrations-v1-partner-status-available":"Available","integrations-v1-partner-status-deactivated":"Deactivated","integrations-v1-partner-status-pending-activation":"Activating","integrations-v1-partner-status-pending-deactivation":"Deactivating","integrations-view-drawer-contact":"Technical contact","integrations-view-drawer-creator":"Creator","integrations-view-drawer-expiry":"API expiry date","integrations-view-drawer-name":"API key name","integrations-view-drawer-products":"Products","integrations-view-drawer-title":"View API Key"}'),enUS:{},frCA:{}}},53611:(e,t,r)=>{"use strict";r.d(t,{T:()=>x});var a=r(39552),s=r(24134),o=r(66322),i=r(19951),n=r(18198),l=r(2392),c=r(32022),d=Object.defineProperty,u=Object.defineProperties,p=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&v(e,r,t[r]);if(m)for(var r of m(t))h.call(t,r)&&v(e,r,t[r]);return e},y=(e,t)=>u(e,p(t));const b=n.$n.MESSAGING,E=e=>e[b].drawer.vehicle,A=e=>e[b].drawer.vehicleId,O=e=>e[b].filters,S=e=>e[b].groups,T=e=>e[b].selectedVehicleId,I=e=>e[b].tempMessages.byVehicleId,R=e=>e[b].unreadMessages.byVehicleId,w=e=>e[b].unreadMessagesFetching,C=e=>e[b].unreadMessagesFetchError,D=e=>e[b].vehicles,N=(0,a.Mz)(D,e=>e[b].loggedInDrivers.drivers,(e,t)=>{const r=t.reduce((e,t)=>{const{machineId:r,firstName:a,lastName:s,driverId:o}=t;return y(f({},e),{[r]:{driverName:(0,l.z)({firstName:a,lastName:s}),driverId:o}})},{});return e.reduce((e,t)=>{var a,s,o,i;const{id:n}=t;return[...e,y(f({},t),{driverId:null!=(s=null==(a=r[n])?void 0:a.driverId)?s:null,driverName:null!=(i=null==(o=r[n])?void 0:o.driverName)?i:null})]},[])}),P=(0,a.Mz)(N,T,(e,t)=>(0,s.I)(e)||(0,o.k)(t)?null:e.find(({id:e})=>e===t)),_=(0,a.Mz)(O,N,R,({search:e,groupIds:t},r,a)=>{const s=(0,c.KT)({list:r,unreadMessagesByVehicleId:a});return(0,c.Fs)({list:s,groupIds:t,search:e}).sort((e,t)=>{const r=t.latestMessageTimestamp.localeCompare(e.latestMessageTimestamp);return 0!==r?r:e.displayName.localeCompare(t.displayName,void 0,i.L)})}),M=(0,a.Mz)(e=>e[b].groupsFetching,e=>e[b].vehiclesFetching,w,(e,t,r)=>!!e||!!t||!!r),k=(0,a.Mz)(e=>e[b].groupsFetchError,e=>e[b].vehiclesFetchError,C,(e,t,r)=>!!e||!!t||!!r),U=(0,a.Mz)(S,e=>e.map(({id:e,name:t})=>({value:e,title:t}))),L=(0,a.Mz)(O,({groupIds:e})=>e),F=(0,a.Mz)(e=>e[b].messages.byVehicleId,I,T,(e,t,r)=>{var a,s;if((0,o.k)(r))return{selectedVehicleId:r,messages:[]};const{fetching:n,fetchError:l,lastFetched:c,messages:d=[]}=null!=(a=e[r])?a:{},u=null!=(s=t[r])?s:[];return{fetching:n,fetchError:l,lastFetched:c,selectedVehicleId:r,messages:(0,i.r)({list:[...d,...u],key:"sent",isDescending:!1})||[]}}),x={getBroadcastMessageSendError:e=>e[b].broadcastMessageSendError,getBroadcastMessageSending:e=>e[b].broadcastMessageSending,getBroadcastMessageText:e=>e[b].broadcastMessageText,getBroadcastModalVisible:e=>e[b].broadcastModalVisible,getDrawerVehicle:E,getDrawerVehicleError:e=>e[b].drawer.vehicleFetchError,getDrawerVehicleFetching:e=>e[b].drawer.vehicleFetching,getDrawerVehicleId:A,getFilters:O,getGroups:S,getGroupsForTreeSelect:U,getSelectedGroupIds:L,getLoadedDrawerVehicle:(0,a.Mz)(A,E,(e,t)=>t?t.id!==e?null:t:null),getMessagingDataFetchError:k,getMessagingDataFetching:M,getUnreadMessagesByVehicleId:R,getUnreadMessagesFetchError:C,getUnreadMessagesFetching:w,getQuickMessages:e=>e[b].quickMessages,getQuickMessagesFetchError:e=>e[b].quickMessagesFetchError,getQuickMessagesFetching:e=>e[b].quickMessagesFetching,getSelectedVehicle:P,getSelectedVehicleId:T,getSelectedVehicleMessages:F,getTempMessagesByVehicleId:I,getVehicleList:_,getVehicles:D,getVehiclesWithLoggedInDrivers:N,isSelectedVehicleIdValid:(0,a.Mz)(D,T,(e,t)=>(0,s.I)(e)||(0,o.k)(t)?null:e.some(({id:e})=>e===t))}},55246:(e,t,r)=>{"use strict";r.d(t,{n:()=>s});var a=r(90947);const s=()=>{const{hostname:e}=globalThis.location,t=/.eroad.(.*)/.exec(e),r=t&&t.length>0?t[1]:"";if((0,a.G)())return"NA";if(e.includes("dev-"))return"NZ";if(e.includes("apacpp-")&&"com"===r)return"NZ";switch(r){case"co.nz":default:return"NZ";case"com":return"NA";case"com.au":return"AU"}}},55332:(e,t,r)=>{"use strict";r.d(t,{Q:()=>s});var a=r(77776);const s=e=>(0,a.Q)(e)},59623:(e,t,r)=>{"use strict";r.d(t,{Lh:()=>o,Ly:()=>i,Ok:()=>a,Qh:()=>u,WR:()=>l,aQ:()=>s,aV:()=>d,oh:()=>c,uE:()=>p,uc:()=>n});const a={LOGIN_NOT_AUTHORISED:"LoginNotAuthorisedError",INCORRECT_IP_ADDRESS:"IncorrectIPAddress"},s={DAILY_ACTIVITY_REPORT:"/Portal/report/dailyactivityreport/show",ELD_DRIVER_LOGS:"/Portal/eld/driverLogs",EVENT_LOG:"/Portal/eventviewer/vehicleActivity"},o=[s.DAILY_ACTIVITY_REPORT,s.ELD_DRIVER_LOGS,s.EVENT_LOG],i={EXPIRED_CODE:"Expired confirmation code.",INVALID_CODE:"Invalid confirmation code.",INVALID_CREDENTIAL:"Invalid credential.",INVALID_PASSWORD:"Invalid password.",USER_NOT_FOUND:"Unable to find user.",USER_NOT_CONFIRMED:"User not confirmed."},n={ALREADY_ACCEPTED_INVITATION:"ALREADY_ACCEPTED_INVITATION",INVITATION_NOT_FOUND:"INVITATION_NOT_FOUND",BAD_REQUEST:"BAD_REQUEST"},l={USER_NOT_FOUND:"UserNotFoundException",NOT_AUTHORISED:"NotAuthorizedException"},c={LAMBDA_VALIDATION_FAILED:"UserLambdaValidationException"},d={IP_ERROR:10001},u="NONE",p="USER_ORG"},61943:(e,t,r)=>{"use strict";r.d(t,{Qr:()=>n});var a=r(57115),s=r(80729),o=r(70457);let i;function n(e,t){!(0,s.V)()&&!(0,o.R)()&&(null==i||i.api.pushError(e,t))}a.$b.ERROR,a.$b.INFO,a.$b.WARN},62009:(e,t,r)=>{"use strict";r.d(t,{F:()=>n,l:()=>l});var a=r(70541),s=r(24134),o=r(81492),i=r(39612);const n=(e,t,r,o)=>{var n;const c=(0,a.d4)(i.T.getDynamicConfig);return c.isFetchError||(0,s.I)(c.items)?o||!1:null!=(n=l({dynamicConfig:c,namespaceDotFeature:e,whitelist:t,whitelistItem:r}))?n:o||!1},l=({dynamicConfig:e,namespaceDotFeature:t,whitelist:r,whitelistItem:a})=>{var s,i,n,l,c,d,u;const[p,m]=t.split(".");if("string"==typeof p&&void 0===m)return null!=(i=null==(s=e.items)?void 0:s[p])?i:void 0;const g=null!=(c=null==(l=null==(n=e.items)?void 0:n[p])?void 0:l[m])?c:void 0,h=r?null==(u=null==(d=e.items)?void 0:d[p])?void 0:u[r]:void 0;return r&&a?(0,o.Ol)({feature:g,whitelistedItems:h,item:a}):void 0!==g&&g}},62397:(e,t,r)=>{"use strict";r.d(t,{$:()=>a.$});var a=r(69825)},62961:(e,t,r)=>{"use strict";r.d(t,{y:()=>o});var a=r(89071),s=r(96039);function o(e){const t=Date.now(),r=s.y.tz(t,e).utcOffset(),o=(0,s.y)(t).utcOffset(),i=r-o,n=Math.floor(Math.abs(i)/60),l=Math.abs(i)%60;return`${c=o,d=r,d>c?"+":d<c?"-":""}${n}:${(0,a.l)(l)} h`;var c,d}},65463:(e,t,r)=>{"use strict";r.d(t,{s:()=>s});var a=r(14041);const s=({logoSrc:e="./images/svg/eroad-logo-with-text.svg",logoAlt:t="EROAD"})=>a.createElement("div",{style:o},a.createElement("div",{style:{display:"flex"}},a.createElement("img",{style:i,src:e,alt:t}))),o={backgroundColor:"#262626",display:"flex",flexShrink:0,height:64,padding:"0px 20px",width:"100%"},i={height:40,width:"auto",alignSelf:"center"}},66322:(e,t,r)=>{"use strict";function a(e){return null===e}r.d(t,{k:()=>a})},66399:(e,t,r)=>{"use strict";r.d(t,{BS:()=>M,Nw:()=>P,Pw:()=>R,Sq:()=>k,Tr:()=>w,fM:()=>_,hU:()=>N,hp:()=>D,iD:()=>S,kc:()=>
1C,ri:()=>I,t1:()=>U});var a=r(95222),s=r(55246),o=r(51962),i=r(93753),n=r(94386),l=r(16767),c=r(23937),d=r(29270),u=Object.defineProperty,p=Object.defineProperties,m=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,f=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))h.call(t,r)&&f(e,r,t[r]);if(g)for(var r of g(t))v.call(t,r)&&f(e,r,t[r]);return e},b=(e,t,r)=>new Promise((a,s)=>{var o=e=>{try{n(r.next(e))}catch(e){s(e)}},i=e=>{try{n(r.throw(e))}catch(e){s(e)}},n=e=>e.done?a(e.value):Promise.resolve(e.value).then(o,i);n((r=r.apply(e,t)).next())});const E="https://api-my.eroad.co.nz/password",A="MISSING_ENV_VAR".REACT_APP_DRIVER_SIGNUP_API_URL,O=(0,d.fp)(),S=e=>b(void 0,null,function*(){const t=yield(0,n.F)({isAuth:!1,isOrgSwitcherOrg:!1,url:"https://api-my.eroad.co.nz/check-ip"}),r=yield a.N.signIn(e.username.toLowerCase(),e.password,{sourceIp:t});return T(r)||(0,l.IM)(r)?Promise.resolve(r):(I(),Promise.reject({code:"NotAuthorizedException",message:"Internal error. Please try again.",name:"NotAuthorizedException"}))}),T=e=>{const t=(0,l.Ig)(e);return Array.isArray(t)&&t.length},I=(e=!0)=>b(void 0,null,function*(){sessionStorage.removeItem(i.y4),yield(e=>b(void 0,null,function*(){const t=(0,d._Q)(),r=(0,d.zl)(t);yield a.N.signOut({global:!1}),((e,t)=>{const r=(0,d._Q)(),a=(0,d.Nz)(),o=(0,d.q1)(),n=(0,d.Qx)();if(window.localStorage.removeItem(i.ni),window.localStorage.removeItem(i.Kt),window.localStorage.removeItem(i.Sd),window.localStorage.removeItem(i.av),window.localStorage.removeItem(t),window.localStorage.removeItem(i.Jx),window.localStorage.removeItem(i.JD),r&&((0,c.R)(),e)){const e=new RegExp("^https:\\/\\/cognito-idp\\..+?\\.amazonaws\\.com\\/.+?$").test(n),t="AU"===(0,s.n)()?"https://my.eroad.com.au/logout":"https://my.eroad.co.nz/logout",i=`${a}/logout?client_id=${r}&logout_uri=${t}`,l=`${o}?post_logout_redirect_uri=${t}`;window.location.href=e?i:l}})(e,r)}))(e)}),R=e=>b(void 0,null,function*(){const t=yield a.N.currentAuthenticatedUser();return a.N.updateUserAttributes(t,{"custom:preferences":JSON.stringify(e)})}),w=()=>(0,n.F)({url:"/notification?hoursInAdvance=72",baseURL:"https://api-my.eroad.co.nz/notification",isOrgSwitcherOrg:!1,shouldRetryOnFail:!1}),C=({includeInactive:e,query:t,max:r=1e3})=>(0,n.F)({method:"post",url:"query",baseURL:"https://api-my.eroad.co.nz/organisation",isOrgSwitcherOrg:!1,ignoreImpersonation:!0,data:{includeInactive:e,max:r,query:t}}),D=({url:e})=>{const t=(0,d.yf)(e);return(0,o.O)(t)?(0,n.F)({baseURL:"https://apac-myeroad-timezone.backoffice.eroadv2.io",data:t,method:"post",shouldRetryOnFail:!1,url:`timezone?uri=${e.pathname.replace("/Portal/","")}`}):Promise.reject(new Error("Can't get payload for the page time zone request"))},N=()=>(0,n.F)({baseURL:"https://api-my.eroad.co.nz/user",url:"/users?offset=0&limit=5000&orderByColumn=firstname",ignoreImpersonation:!0,forceIncludeSelectedOrgGid:!0}),P=({gid:e})=>(0,n.F)({baseURL:"https://api-my.eroad.co.nz/impersonation",url:`/user/clone/${e}`,ignoreImpersonation:!0}),_=({username:e,password:t,code:r})=>(0,n.F)({url:"/forgot",baseURL:E,method:"post",data:{clientId:O,username:e,password:t,confirmationCode:r},isAuth:!1,isOrgSwitcherOrg:!1}),M=({interimSession:e,username:t,password:r})=>(0,n.F)({url:"/reset",baseURL:E,method:"post",data:{clientId:O,username:t,password:r,session:e},isAuth:!1,isOrgSwitcherOrg:!1}),k=({secret:e})=>(0,n.F)({baseURL:A,url:`/invitation/${e}`,isAuth:!1,isOrgSwitcherOrg:!1}),U=({invitationSecret:e,password:t,confirmPassword:r,invitation:a})=>{return(0,n.F)({baseURL:A,url:e,method:"post",data:(s=y({},a),o={password:t,confirmPassword:r},p(s,m(o))),isAuth:!1,isOrgSwitcherOrg:!1});var s,o}},69825:(e,t,r)=>{"use strict";r.d(t,{$:()=>O});var a=r(48144),s=r(42453),o=r(73036),i=r(1454),n=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const g=(0,i.wY)(e=>({root:({shouldIgnoreCapitalisation:t})=>{return r=((e,t)=>{for(var r in t||(t={}))u.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))p.call(t,r)&&m(e,r,t[r]);return e})({},e.typography.sizes.md),a={fontWeight:e.typography.weights.medium,"& > span":{textTransform:t?"none":"lowercase"},"& > span:first-letter":{textTransform:t?"none":"capitalize"}
1,"&.ant-btn-link":{fontWeight:e.typography.weights.regular},"& svg":{fontSize:"1.6rem"}},l(r,c(a));var r,a}}),{name:"Button"});var h=r(14041),v=Object.defineProperty,f=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,A=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&E(e,r,t[r]);if(f)for(var r of f(t))b.call(t,r)&&E(e,r,t[r]);return e};const O=(0,o.r)(e=>{var t=e,{className:r,"data-testid":o,shouldIgnoreCapitalisation:i}=t,n=((e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&f)for(var a of f(e))t.indexOf(a)<0&&b.call(e,a)&&(r[a]=e[a]);return r})(t,["className","data-testid","shouldIgnoreCapitalisation"]);const l=g({shouldIgnoreCapitalisation:i}),c="_blank"===n.target;return h.createElement(a.Ay,A(A({className:(0,s.$)(l.root,r),"data-testid":null!=o?o:"ui-library-button"},c?{iconPosition:"end"}:{}),n))})},70630:(e,t,r)=>{"use strict";var a=r(25873),s=r(70541),o=r(80729),i=r(94752),n=r(70457),l=r(24134),c=r(87054),d=r(65802);var u=r(38202),p=r(82062),m=r(83432),g=r(46587);function h(){const e="UA-2302287-2";if(!((0,o.V)()||(0,n.R)()||(0,i.g)(e)))return e}var v=r(85426),f=r.n(v),y=r(51962);var b=r(96503),E=r(11641),A=r(37506),O=r(23937),S=r(14800),T=r(46186),I=r(62664),R=r(14041),w=r(31820),C=r(62961),D=r(16045),N=r(21881),P=r(93753),_=r(82479),M=r(13821),k=r(82162),U=r(96039),L=r(56706),F=r(5184),x=r(17877),V=r(60997),G=r(84352),q=r(18699),H=r(77119);const B={enAU:JSON.parse('{"replay.event.request.video.form.financial.permission.required.error.learnMore.link":"https://help.eroad.com/au/depot/administration/users/au-rolespermissions/"}'),enNZ:JSON.parse('{"done":"Done","ebox.make.assettracker.label":"Asset Tracker","ebox.make.corehub.label":"CoreHub","ebox.make.dashcam.label":"Clarity Solo","ebox.make.digitalmatter.g62.label":"G62","ebox.make.digitalmatter.g70.label":"G70","ebox.make.digitalmatter.oyster2.label":"Oyster2","ebox.make.digitalmatter.oyster3.label":"Oyster3","ebox.make.ehubo.label":"Ehubo","ebox.make.ehubo2.label":"Ehubo 2","ebox.make.ehubolite.label":"EhuboLite","ebox.make.ehubotrailer.label":"Tubo","ebox.make.elocate.label":"Elocate","ebox.make.etrack.battery.label":"ETrack Battery","ebox.make.etrack.wired.label":"ETrack Wired","ebox.make.pct.assettrack.label":"AssetTrack","ebox.make.pct.eztrack.label":"EZTrack","ebox.make.pct.solarnet.label":"SolarNet","ebox.make.pct.stealthnet.label":"StealthNet","ebox.make.thirdpartydevice.corehub-tubo.label":"CoreHub Trailer","ebox.make.thirdpartydevice.g120.label":"G120","ebox.make.thirdpartydevice.g70ble.label":"G70 BLE","ebox.make.thirdpartydevice.geotab.label":"EROAD Locate","ebox.make.thirdpartydevice.label":"Third Party Device","ebox.make.thirdpartydevice.streammax.label":"Streammax","ebox.make.tubo.label":"Ehubo(T)","ebox.make.wheretag.label":"Where Tag","filters.vehicles.multiSelect.activeDriverGroupTitle":"All vehicles","filters.vehicles.multiSelect.allSelectedTitle":"All vehicles","filters.vehicles.multiSelect.dropdownTitle":"Vehicles","filters.vehicles.multiSelect.inactive.item.label":"{itemName} (inactive)","filters.vehicles.multiSelect.inputPlaceholder":"Search vehicles","filters.vehicles.multiSelect.showInactiveVehicles":"Show inactive vehicles","groups.select.all.label":"All groups (fleets)","groups.select.loading.error.description.message":"An error occurred while loading Groups (fleets).{br}Refresh your browser or try again later.","groups.select.loading.error.description.title":"Failed to load","groups.select.max.tag.placeholder":"+ {count} ...","groups.select.placeholder":"Select groups (fleets)","incident.investigator.canbus.abs.active":"Anti-lock braking (ABS) active","incident.investigator.canbus.accelerator.pedal.position":"Accelerator pedal position","incident.investigator.canbus.aftertreatment.one.diesel.exhaust.fluid.tank.volume":"Aftertreatment 1 diesel exhaust fluid tank volume","incident.investigator.canbus.ambient.air.temperature":"Ambient air temperature","incident.investigator.canbus.brake.pedal.position":"Brake pedal position","incident.investigator.canbus.brake.pedal.switch":"Brake pedal","incident.investigator.canbus.clutch.switch":"Clutch switch","incident.investigator.canbus.cruise.control.speed":"Cruise control speed","incident.investigator.canbus.cruise.control.state":"Cruise control state","incident.investigator.canbus.engine.coolant.temperature":"Engine coolant temperature","incident.investigator.canbus.engine.hours":"Engine hours","incident.investigator.canbus.engine.oil.level":"Engine oil level","incident.investigator.canbus.engine.oil.pressure":"Engine oil pressure","incident.investigator.canbus.engine.oil.temperature":"Engine oil temperature","incident.investigator.canbus.engine.speed":"Engine speed","incident.investigator.canbus.error":"Error","incident.investigator.canbus.fuel.consumption":"Fuel consumption","incident.investigator.canbus.fuel.level":"Fuel level","incident.investigator.canbus.left.turn.signal":"Left turn signal command","incident.investigator.canbus.not.available":"Not available","incident.investigator.canbus.off":"Off","incident.investigator.canbus.on.critical":"Critically low","incident.investigator.canbus.on.moderate":"Moderately low","incident.investigator.canbus.on.severe":"Severely low","incident.investigator.canbus.on":"On","incident.investigator.canbus.parking.brake.switch":"Parking brake switch","incident.investigator.canbus.parking.trailer.air.pressure":"Parking and/or trailer air pressure","incident.investigator.canbus.pto.state":"PTO state","incident.investigator.canbus.remaining.driving.range":"Estimated driving range","incident.investigator.canbus.right.turn.signal":"Right turn signal command","incident.investigator.canbus.seatbelt.switch":"Seatbelt switch","incident.investigator.canbus.service.brake.circuit.one.air.pressure":"Service brake circuit 1 air pressure","incident.investigator.canbus.service.brake.circuit.two.air.pressure":"Service brake circuit 2 air pressure","incident.investigator.canbus.state.of.charge":"State of charge (SOC)","incident.investigator.canbus.transmission.current.gear":"Transmission current gear","incident.investigator.canbus.transmission.oil.temperature":"Transmission oil temperature","incident.investigator.canbus.vehicle.distance":"Vehicle distance","incident.investigator.canbus.wheel.speed":"Wheel speed","incident.investigator.drawer.title":"Incident Investigator","incident.investigator.event":"Event","incident.investigator.events":"Events","incident.investigator.sort.drawer.close":"Close","incident.investigator.sort.drawer.description":"Select the columns to display in the list view. \\n To change the ordering, drag and drop or use the \'up\' and \'down\' arrows
1next to each column.","incident.investigator.sort.drawer.title":"Sort rows","incident.investigator.sort":"Sort","incident.investigator.speed":"Speed","incident.investigator.video.availability":"Video availability","installations.retrigger.label":"Continue","installations.retrigger.message":"After creating the vehicle, return to this page and continue the automation process by clicking continue.","installations.status-message-details.assign.failed-device-to-asset":"","installations.status-message-details.bank-account.invalid":"A problem occurred with the entered bank account, or the account has reached a credit limit.\\n\\nCheck the account number and payment type limits in <b>Administration > My Organisation</b>.\\n\\nContact your EROAD account manager to update or revise these details.","installations.status-message-details.default":"Please contact EROAD customer support for more help.","installations.status-message-details.device-serial.photo-does-not-match-input":"Double-check that all typed values match the value in the corresponding photo.<ul><li>If they match, tap \\"Save and submit\\".</li><li>If not, re-enter the value, then \\"Save and submit\\".</li></ul>If the image is unclear, tap \\"Save and submit\\"- adjustments can be made afterwards.","installations.status-message-details.ebox.assignedManually":"RUCHO and RUC purchase will be required if this is a Heavy Vehicle. Click below to proceed manually.","installations.status-message-details.ebox.assignment-to-vehicle-failed":"Please contact EROAD customer support for more help.","installations.status-message-details.ebox.corehub-serial-invalid":"Corehub device lacks the correct product code in the serial number. Please contact EROAD customer support for more help.","installations.status-message-details.ebox.failed-lifecycle-state-transition":"Please contact EROAD customer support for more help.","installations.status-message-details.ebox.lifecycle-state-incorrect":"Please contact EROAD customer support for more help.","installations.status-message-details.ebox.make-incorrect":"Please contact EROAD customer support for more help.","installations.status-message-details.ebox.min-assign-date-fetch-failed":"Please contact EROAD customer support for more help.","installations.status-message-details.ebox.missing":"Please contact EROAD customer support for more help.","installations.status-message-details.ebox.not-rma-pending":"The Ebox (existing) is not in the correct Life Cycle State (RMA Pending). Please contact EROAD Support.","installations.status-message-details.ebox.rego-update-failed":"Please contact EROAD customer support for more help.","installations.status-message-details.end-distance.less-than-last-inspection":"The entered odo reading is lower than the end reading from the last inspection (eg. COF or WOF).\\n\\n<b>EITHER</b>: If this reading is incorrect, contact the testing station that performed the inspection to file a correction to the NZTA.\\n\\n<b>OR</b>:\\n\\nStart your RUC licence using the last inspectionâs reading.","installations.status-message-details.end-distance.less-than-max-distance":"The distance entered must <b>exceed</b> the current limit of this vehicleâs or assetâs RUC licence.\\n\\nAdd enough distance to take you past the maximum distance covered by your current RUC licence.","installations.status-message-details.end-reading.greater-than-last-distance-licence":"The current mechanical Hubo shows a distance greater than the last licenced distance. The vehicle/asset is out of RUC.\\n\\nPurchase RUC to bring the on-vehicle Hubo up-to-date. Once the RUCHO form is processed, the NZTA will determine if any unused kilometres will be refunded to the Registered Person.","installations.status-message-details.end-reading.less-than-first-distance-licence":"An excess/unused RUC licence has been purchased.\\n\\nThis is commonly seen when a unit has been upgraded or replaced and AutoRUC has been activated but the new licence has not yet been used.\\n\\nUse the start distance of the latest RUC licence to proceed with RUCHO so the new EHUBO serial is registered with NZTA. However, DO NOT submit the paperwork electronically to NZTA. Instead, print the RUCHO form PDF, correct the end reading with a pen, then scan & email to NZTA at [email protected].\\n\\nContact EROAD customer support for more help.","installations.status-message-details.end-reading.less-than-last-distance-licence":"The Huboâs end reading is less than the RUC distance, meaning an excess of unused RUC has been purchased.\\n\\nThis is common if an Ehubo has been upgraded or replaced, with AutoRUC activated, but the new licence has not yet been used.\\n\\nUse the start distance of the vehicleâs latest RUC licence to proceed with RUCHO, so the new Ehubo serial is registered with the NZTA.\\n\\n<b>But DO NOT submit the paperwork electronically to the NZTA.</b>\\n\\nInstead, print out the RUCHO PDF, correct the end reading in pen, then scan & email it to the NZTA at [email protected]","installations.status-message-details.end-reading.less-than-last-inspection-kms":"The end reading must be greater than the distance recorded at the last inspection (eg. COF or WOF).\\n\\nEither RUC has not been purchased
1since the last inspection, or an incorrect reading was recorded at the vehicle/assetâs last inspection. (This can happen during an Ehubo upgrade if a mechanical Hubo is still attached to the vehicle/asset.)\\n\\n<b>EITHER</b>: Purchase RUC to bring the Hubo-on-vehicle up-to-date\\n\\n<b>OR</b>: If this reading is incorrect, contact the testing station that performed the inspection to file a correction to the NZTA.\\n\\nIf your current Hubo is an Ehubo or Tubo, contact EROAD Support to get the correct reading.","installations.status-message-details.existing-hubo-reading.photo-does-not-match-input":"Double-check that all typed values match the value in the corresponding photo.<ul><li>If they match, tap \\"Save and submit\\".</li><li>If not, re-enter the value, then \\"Save and submit\\".</li></ul>If the image is unclear, tap \\"Save and submit\\"- adjustments can be made afterwards.","installations.status-message-details.hubo.reading-missing":"Please contact EROAD customer support for more help.","installations.status-message-details.hubo.serial-missing":"Please contact EROAD customer support for more help.","installations.status-message-details.input-error":"Please contact EROAD customer support for more help.","installations.status-message-details.install-wizard.failed":"An internal problem ocurred, but itâs easily fixed by re-running the Install Wizard on the Ehubo.\\n\\n1. Turn on the vehicle electrics ONLY.\\n\\n2. Press and hold the EROAD logo, top-left of screen, for at least 7 seconds. A menu will appear.\\n\\n3. Tap <b>Install Wizard</b>.\\n\\n4. Tap <b>Start Checks</b>.\\n\\n5. Ignition check. The Wizard will ask you if the engine is running or not.\\n\\n6. Tap <b>OK</b>.\\n\\n7. Once the external power test is done, you may need to turn the engine on (if it wasnât already).\\n\\n8. Wiring and power supply check. When it appears, tap <b>Finished</b>.\\n\\nThe Ehubo home screen appears.","installations.status-message-details.lcd.assigned-to-asset-incorrect":"Please contact EROAD customer support for more help.","installations.status-message-details.lcd.device-incorrect":"Please contact EROAD customer support for more help.","installations.status-message-details.lcd.device-relation-missing":"Please contact EROAD customer support for more help.","installations.status-message-details.lcd.serial-missing":"Please contact EROAD customer support for more help.","installations.status-message-details.licence.incorrect-type":"This vehicle/asset has an incorrectly-assigned D, H or B licence.\\n\\nChange this to the correct type to continue.\\n\\nIf the licence type has been incorrectly assigned with the NZTA, contact them to apply for a permit, or to check the progress of your application.","installations.status-message-details.machine.missing":"Please contact EROAD customer support for more help.","installations.status-message-details.machine.not-found":"The vehicle or asset needs to be added to MyEROAD in order for the device to be provisioned, and to match records with the NZTA.","installations.status-message-details.new-ebox.not-in-pending-assignment-state":"The Ebox (new) is not in the correct Life Cycle State (Pending Assignment). Please contact EROAD Support.","installations.status-message-details.no-main-service-plan-to-assign":"The machine is required to have main service plan. Please contact EROAD Support.","installations.status-message-details.nzta-rucho.need-confirmation":"The NZTA cdi does not seem to allow to proceed in this instance (despite spec says it just needs a confirm). Please contact EROAD customer support for more help.","installations.status-message-details.nzta-rucho.owner-not-confirmed":"Registered person for the vehicle is currently unconfirmed. Please contact NZTA to confirm ownership. Please contact EROAD customer support for more help.","installations.status-message-details.odometer.reading-missing":"Please contact EROAD customer support for more help.","installations.status-message-details.odometer.reading-photo-does-not-match-input":"Double-check that all typed values match the value in the corresponding photo.<ul><li>If they match, tap \\"Save and submit\\".</li><li>If not, re-enter the value, then \\"Save and submit\\".</li></ul>If the image is unclear, tap \\"Save and submit\\"- adjustments can be made afterwards.","installations.status-message-details.odometer.reading-value-incorrect":"We noticed your Odometer reading does not matching the Electronic Distance Recorder, you can check if that is correct on the Vehicles page and update if required.","installations.status-message-details.organisation-auto-ruc-purchase.not-enabled":"Your unit has been successfully assigned to the device. You are now required to Purchase RUC.\\n\\nClick below to purchase RUC.","installations.status-message-details.organisation-auto-ruc.not-enabled":"Your unit has been successfully assigned to the device. RUCHO has been submitted and first RUC has been purchased if applies. You are now required to Activate AUTO RUC.\\n\\nClick below to ACTIVATE it.","installations.status-message-details.organisation-auto-rucho.not-enabled":"Your unit has been successfully assigned to the device. You are now required to perform a RUCHO and Purchase RUC.\\n\\nClick below to RUCHO the vehicle and to purchase RUC.","installations.status-message-details.organisation.missing":"Please contact EROAD customer support for more help.","installations.status-message-details.outage":"The provisioning process has begun, but encountered a recoverable system delay. This process will auto-complete successfully: no further action required.","installations.status-message-details.photo-s3.ke
1y-missing":"Please contact EROAD customer support for more help.","installations.status-message-details.privilege-action.start-ehubo-greater-than-1000kms":"The start distance is greater than 1000 km. RUCHO-ed devices should start at zero km.\\n\\nIf over 1000 km, the NZTA doesnât allow a RUCHO to <b>electronically</b> process.\\n\\nThis scenario usually occurs if you have continued to purchase RUC on your existing Hubodometer while the EROAD unit accumulates distance, and you are entering that distance as your start distance.\\n\\nIf you have not purchased RUC then you should enter zero as your start distance. The accumulated distance will show as RUC arrears, and you will need to purchase at least that amount.\\n\\nDownload the RUCHO form, print it out, fill it in, scan it, and email it to [email protected]\\n\\nAttach a copy of your original installation certificate.\\n\\n<b>Do NOT attempt to RUCHO electronically without the original readings</b>.","installations.status-message-details.processing-error":"We hit a snag! The Engineering team is working on it.\\n\\nYou can still process this assignment manually using the Ehubos page. ","installations.status-message-details.purchase-ruc-is-only-for-EHUBOs":"RUC can be purchased only if ebox is EHUBO type. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc-type-not-supported":"RucPurchaseType is not supported. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.autoruc-not-enabled":"Cannot purchase RUC when Auto-RUC is not enabled. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.bank-detail-empty-for-organisation":"Bank details have not been set up for the organisation. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.direct-debit-not-in-organisation":"Direct debit has not been set for the organisation. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.distance-not-divisible-by-1000":"RUC distance should be divisible by 1000. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.distance-should-be-greater-than-zero":"RUC distance should be greater than 0. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.no-current-license-found":"Cannot purchase RUC when no current licence exists. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.not-a-ruc-vehicle":"The vehicle is not a RUC vehicle, hence can\'t purchase RUC. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.nzta-system-error":"Error calling NZTA quote.\\n\\nThe NZTA system is currently unavailable. NZTA perform occasional system maintenance on Saturdays from 5pm.\\n\\nPlease contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.unable-create-new-ruc-purchase":"Unable to create new RUC purchase. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.unable-to-find-machine":"Unable to find Machine. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.unable":"Unable to purchase RUC. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.unsupported-vehicle-weight-type":"Unsupported VehicleWeightType. Please contact EROAD customer support for more help.","installations.status-message-details.rego-vin-or-display-name.missing":"Please contact EROAD customer support for more help.","installations.status-message-details.rego-vin-or-display-name.photo-does-not-match-input":"Double-check that all typed values match the value in the corresponding photo.<ul><li>If they match, tap \\"Save and submit\\".</li><li>If not, re-enter the value, then \\"Save and submit\\".</li></ul>If the image is unclear, tap \\"Save and submit\\"- adjustments can be made afterwards.","installations.status-message-details.ruc-purchase-required":"This machine has been assigned to an Ebox and performed RUCHO - RUC purchase required.\\n\\nIf this is an EV, please disregard the RUC requirement as EVs are still under RUC exemption until 31 March 2024, for Light Vehicles, and 31 December 2025, for Heavy Vehicles.","installations.status-message-details.rucho-and-ruc-purchase-required":"This machine has been manually assigned to an Ebox - RUCHO and RUC purchase required.\\n\\nIf this is an EV, please disregard the RUC requirement as EVs are still under RUC exemption until 31 March 2024, for Light Vehicles, and 31 December 2025, for Heavy Vehicles.","installations.status-message-details.rucho.email-not-sent":"Something gone wrong during RUCHO request. Either do RUCHO manually or contact your EROAD account manager to get this done.","installations.status-message-details.rucho.enabler-user-not-found":"There is no user registered in MyEROAD able to perform a RUCHO. You will need to add a user with Financial permission, bank account details and credit limits.\\n\\nContact your EROAD account manager to get this done.","installations.status-message-details.service-feature.duplication":"Please contact EROAD customer support for more help.","installations.status-message-details.service-plan.addon-quantity":"You appear to have more Ehubos than add-ons to support them.\\n\\nContact your account manager to purchase more plans or add-ons.","installations.status-message-details.service-plan.quantity":"You appear to have more Ehubos than plans or add-ons to support them.\\n\\nContact your account manager to purchase more plans or add-ons.","installations.status-message-details.service-plan.violation-dashcam":"Please contact EROAD customer support for more help.","installations.status-message-details.service-plan.violation-satellite":"Please contact EROAD customer support for more help.","installations.status-message-details.start-distance.greater-than-1000kms":"The start distance is greater than 1000 km. RUCHO-ed devices should start at zero km.\\n\\nIf over 1000 km, the NZTA doesnât allow a RUCHO to <b>electronically</b> process.\\n\\nThis scenario usually occurs if you have continued to purchase RUC on your existing Hubodometer while the EROAD unit accumulates distance, and you are entering that distance as your start distance.\\n\\nIf you have not purchased RUC then you should enter zero as your start distance. The accumulated distance will show as RUC arrears, and you will need to purchase at least that amount.\\n\\nDownload the RUCHO form, print it out, fill it in, scan it, and email it to [email protected]\\n\\nAttach a copy of your original installation certificate.\\n\\n<b>Do NOT attempt to RUCHO electronically without the original readings</b>. (Readings cannot be used or attained from the time of install.)","installations.status-message-details.start-distance.greater-than-max-distance":"The start distance entered is greater than the maximum distance of the current licence. RUC licences must be continuous.\\n\\nEnter the current licenceâs max. distance as the new start distance.","installations.status-message-details.template.not.supp
1orted":"This transaction is not supported yet. Please head to the Ehubos page to complete the required action.","installations.status-message-details.unknown-error":"Error","installations.status-message-details.verify-missing-addon":"An addon was no longer available at assignment time OR you have not enough licences available to assign to this device. Check if this is still required on the <b>Vehicles Page > Find the required vehicle > Service Plan Add-ons > Manage Add-Ons</b>","installations.status-message-url-label.click-here":"CLICK HERE","installations.status-message-url-label.create-vehicle-or-asset":"CREATE VEHICLE/ASSET","installations.status-message-url-label.download-rucho-form":"DOWNLOAD RUCHO FORM","installations.status-message-url-label.ehubo-page":"EHUBO PAGE","installations.status-message-url-label.enter-distance":"ENTER DISTANCE","installations.status-message-url-label.enter-licence":"ENTER LICENCE","installations.status-message-url-label.organisation":"MY ORGANISATION","installations.status-message-url-label.vehicle-page":"VEHICLES PAGE","installations.status-message.assign.failed-device-to-asset":"Failed to assign device to asset","installations.status-message.bank-account.invalid":"Validate credit details\\n\\n","installations.status-message.device-serial.photo-does-not-match-input":"Photo check required","installations.status-message.ebox.assignedManually":"This machine has been manually assigned to an Ebox","installations.status-message.ebox.assignment-to-vehicle-failed":"Failed to assign device to vehicle","installations.status-message.ebox.corehub-serial-invalid":"Corehub serial number is invalid","installations.status-message.ebox.failed-lifecycle-state-transition":"Failed Ehubo lifecycle state change","installations.status-message.ebox.lifecycle-state-incorrect":"Incorrect Ehubo lifestyle state","installations.status-message.ebox.make-incorrect":"Incorrect Ehubo make","installations.status-message.ebox.min-assign-date-fetch-failed":"Failed to get Minimum Assignment Date","installations.status-message.ebox.missing":"Missing Ehubo","installations.status-message.ebox.not-rma-pending":"Current Ebox is not in RMA Pending","installations.status-message.ebox.rego-update-failed":"Failed to update Rego of vehicle in device details","installations.status-message.end-distance.less-than-last-inspection":"Raise the end distance reading","installations.status-message.end-distance.less-than-max-distance":"Add distance","installations.status-message.end-reading.greater-than-last-distance-licence":"RUC purchase required","installations.status-message.end-reading.less-than-first-distance-licence":"End reading is (<) less than first distance licence","installations.status-message.end-reading.less-than-last-distance-licence":"Re-RUCHO with current start odo","installations.status-message.end-reading.less-than-last-inspection-kms":"Possible RUC purchase required","installations.status-message.existing-hubo-reading.photo-does-not-match-input":"Photo check required","installations.status-message.hubo.reading-missing":"Missing Hubo reading","installations.status-message.hubo.serial-missing":"Missing Hubo serial","installations.status-message.input-error":"Unknown error","installations.status-message.install-wizard.failed":"Re-run Install wizard","installations.status-message.lcd.assigned-to-asset-incorrect":"Incorrect LCD device assigned to asset","installations.status-message.lcd.device-incorrect":"Incorrect LCD device entered","installations.status-message.lcd.device-relation-missing":"Missing LCD device relation","installations.status-message.lcd.serial-missing":"Missing LCD serial number","installations.status-message.licence.incorrect-type":"Correct the licence type","installations.status-message.machine.missing":"Missing machine","installations.status-message.machine.not-found":"Vehicle/Asset must be created","installations.status-message.new-ebox.not-in-pending-assignment-state":"New Ebox is not in Pending Assignment","installations.status-message.no-main-service-plan-to-assign":"Machine needs to have a service plan","installations.status-message.nzta-rucho.need-confirmation":"NZTA does not allow to proceed the RUCHO request","installations.status-message.nzta-rucho.owner-not-confirmed":"Vehicle ownership not confirmed in NZTA","installations.status-message.odometer.reading-missing":"Missing odometer reading","installations.status-message.odometer.reading-photo-does-not-match-input":"Photo check required","installations.status-message.odometer.reading-value-incorrect":"Check your odometer reading","installations.status-message.organisation-auto-ruc-purchase.not-enabled":"RUC Purchase Required","installations.status-message.organisation-auto-ruc.not-enabled":"AUTO-RUC Activation Required","installations.status-message.organisation-auto-rucho.not-enabled":"RUCHO & RUC Purchase Required","installations.status-message.organisation.missing":"Missing organisation","installations.status-message.outage":"Process underway","installations.status-message.photo-s3.ke
1y-missing":"Image did not upload","installations.status-message.privilege-action.start-ehubo-greater-than-1000kms":"Manually submit your form","installations.status-message.processing-error":"Unknown processing error","installations.status-message.purchase-ruc-is-only-for-EHUBOs":"Could not purchase RUC","installations.status-message.purchase-ruc-type-not-supported":"Could not purchase RUC","installations.status-message.purchase-ruc.autoruc-not-enabled":"Could not purchase RUC","installations.status-message.purchase-ruc.bank-detail-empty-for-organisation":"Could not purchase RUC","installations.status-message.purchase-ruc.direct-debit-not-in-organisation":"Could not purchase RUC","installations.status-message.purchase-ruc.distance-not-divisible-by-1000":"Could not purchase RUC","installations.status-message.purchase-ruc.distance-should-be-greater-than-zero":"Could not purchase RUC","installations.status-message.purchase-ruc.no-current-license-found":"Could not purchase RUC","installations.status-message.purchase-ruc.not-a-ruc-vehicle":"Could not purchase RUC","installations.status-message.purchase-ruc.nzta-system-error":"Could not purchase RUC","installations.status-message.purchase-ruc.unable-create-new-ruc-purchase":"Could not purchase RUC","installations.status-message.purchase-ruc.unable-to-find-machine":"Could not purchase RUC","installations.status-message.purchase-ruc.unable":"Could not purchase RUC","installations.status-message.purchase-ruc.unsupported-vehicle-weight-type":"Could not purchase RUC","installations.status-message.rego-vin-or-display-name.missing":"Missing Rego, VIN or Display Name","installations.status-message.rego-vin-or-display-name.photo-does-not-match-input":"Photo check required","installations.status-message.ruc-purchase-required":"RUC Purchase Required","installations.status-message.rucho-and-ruc-purchase-required":"RUCHO and RUC Purchase Required","installations.status-message.rucho.email-not-sent":"RUCHO Required","installations.status-message.rucho.enabler-user-not-found":"Add a RUCHO user","installations.status-message.service-feature.duplication":"Duplicate service features","installations.status-message.service-plan.addon-quantity":"Add add-ons","installations.status-message.service-plan.quantity":"Add plans","installations.status-message.service-plan.violation-dashcam":"Multiple dashcam addons selected","installations.status-message.service-plan.violation-satellite":"Multiple satellite addons selected","installations.status-message.start-distance.greater-than-1000kms":"Manually submit your form","installations.status-message.start-distance.greater-than-max-distance":"Re-enter a continuous distance","installations.status-message.template.not.supported":"Transaction is not supported","installations.status-message.verify-missing-addon":"Verify Missing Addon","map.context.addGeofence":"Add geofence","map.context.getRouteFromHere":"Get route from here","map.context.getRouteToHere":"Get route to here","map.context.openStreetView":"Open in street view","myeroad.callDriver.callDisconnected":"Call disconnected","myeroad.callDriver.callEnded":"Call ended","myeroad.callDriver.callEndedAutomatically":"Call ended automatically at {duration, plural, one {# minute} other {# minutes}}","myeroad.callDriver.callFailed":"Call failed","myeroad.callDriver.calling":"Calling {vehicleName}","myeroad.callDriver.callsLimited":"Calls are limited to {duration, plural, one {# minute} other {# minutes}}","myeroad.callDriver.cancelCall":"Cancel call","myeroad.callDriver.checkVehicleAndTryAgain":"Check if the vehicle is on and in cell coverage and try again.","myeroad.callDriver.close":"Close","myeroad.callDriver.couldNotConnect":"We couldn\'t connect your call.","myeroad.callDriver.endCall":"End call","myeroad.callDriver.leaveAnyway.label":"Leave anyway","myeroad.callDriver.leavingConfirmation.question":"Do you want to continue?","myeroad.callDriver.leavingConfirmation.says":"says","myeroad.callDriver.leavingConfirmation.title":"Leaving this page may end your ongoing audio call.","myeroad.callDriver.lostConnection":"Lost connection, call ended unexpectedly. Try again later","myeroad.callDriver.noteRecording":"All calls are recorded for future reference.","myeroad.callDriver.redial":"Redial","myeroad.callDriver.stayOnPage.label":"Stay on page","myeroad.callDriver.title":"Call driver","myeroad.callDriver.walkieTalkieRecordingSaving.message":"Walkie-talkie recording is being saved. Will be available once ready.","myeroad.components.ColumnPresets.create.error.maxReached":"Unable to create more than {max} saved columns","myeroad.components.ColumnPresets.create.error.nameClash":"Columns {name} already exists","myeroad.components.ColumnPresets.create.error":"Unable to create the columns {name}, please try again later","myeroad.components.ColumnPresets.create.success.message":"Columns saved. You are now working with {name}","myeroad.components.ColumnPresets.defaultPresetName":"Default columns","myeroad.components.ColumnPresets.delete.error":"Unable to delete the columns {name}, please try again later","myeroad.components.ColumnPresets.delete.pleaseConfirm":"Do you want to delete the saved columns {name}?","myeroad.components.ColumnPresets.delete.success":"Saved columns {name} successfully deleted","myeroad.components.ColumnPresets.drawer.button.cancel.text":"Cancel","myeroad.components.ColumnPresets.drawer.button.confirm.text":"Save","myeroad.components.ColumnPresets.drawer.help.text":"Select at least one column to display in the list view.{br}
1To change the ordering, use \'up\' and \'down\' arrows next to each column.","myeroad.components.ColumnPresets.drawer.name.label":"Workspace name","myeroad.components.ColumnPresets.drawer.name.placeholder":"Enter name","myeroad.components.ColumnPresets.drawer.numberSelected.text":"{selectedCount} / {maxCount} selected","myeroad.components.ColumnPresets.drawer.title":"Add new saved columns","myeroad.components.ColumnPresets.new":"New","myeroad.components.ColumnPresets.update.error.nameClash":"Saved columns {name} already exists","myeroad.components.ColumnPresets.update.error":"Unable to update the columns{name}, please try again later","myeroad.components.ColumnPresets.update.success.message":"Columns {name} updated","myeroad.components.ColumnPresetSelect.button.addWorkspace":"Add new saved columns","myeroad.components.ColumnPresetSelect.label":"Columns","myeroad.components.ColumnPresetSelect.unsaved.label":"(unsaved columns)","myeroad.components.PageActions.dropdown.title":"Actions","myeroad.components.SensitiveValue.hide":"Hide","myeroad.components.SensitiveValue.show":"Show","myeroad.message.notification.empty":"There are no new messages from the last 5 days","myeroad.message.notification.more":"+{moreCount} more {moreCount, plural, one {message} other {messages}}","myeroad.message.notification.title":"Messages","myeroad.message.notification.view.all":"View all","myeroad.MyEROADMenu.incabComms.name":"In-cab comms","myeroad.MyEROADMenu.serviceAlerts.name":"Alerts","myeroad.MyEROADMenu.servicePlans.name":"Service plans","myeroad.Navigation.action.centre.label":"Action centre","myeroad.Navigation.activity.label":"Activity","myeroad.Navigation.activity.toggle":"MyEROAD map","myeroad.Navigation.administrator.label":"Admin","myeroad.Navigation.assetAttributes.label":"Asset attributes","myeroad.Navigation.assets.label":"Assets","myeroad.Navigation.assets.toggle":"MyEROAD assets table","myeroad.Navigation.bulk.label":"Bulk import","myeroad.Navigation.canbusConnect.activeVehicleFaults.label":"Active vehicle faults","myeroad.Navigation.canbusConnect.alertHistory.label":"Alert history","myeroad.Navigation.canbusConnect.fuelAndEnergyReport.label":"Fuel & energy economy","myeroad.Navigation.canbusConnect.label":"CAN bus connect","myeroad.Navigation.canbusConnect.sensorHealth.label":"Sensor health","myeroad.Navigation.dashboard.label":"Dashboard","myeroad.Navigation.dashcams.label":"Dashcams","myeroad.Navigation.decarbonisation.emissions.label":"Emissions","myeroad.Navigation.decarbonisation.fuelEconomy.label":"Fuel economy","myeroad.Navigation.decarbonisation.harshDriving.label":"Harsh driving","myeroad.Navigation.decarbonisation.label":"Sustainability","myeroad.Navigation.decarbonisation.overview.label":"Overview","myeroad.Navigation.decarbonisation.replacementSuitability.label":"Replacement opportunity","myeroad.Navigation.decarbonisation.toggle":"Native overview page","myeroad.Navigation.decarbonisation.unproductiveIdling.label":"Unproductive idling","myeroad.Navigation.defectBoard.label":"Defect board","myeroad.Navigation.driver.label":"Driver","myeroad.Navigation.driver.toggle":"New experience","myeroad.Navigation.driverPortal.label":"Driver portal","myeroad.Navigation.driverProfile.label":"Drivers","myeroad.Navigation.eboxAdmin.label":"Ebox admin","myeroad.Navigation.ehuboAudits.label":"Ehubo audit reports","myeroad.Navigation.ehubos.label":"Ehubos","myeroad.Navigation.eroad.employees.label":"EROAD employees","myeroad.Navigation.fleetSummary.toggle":"Try the new fleet summary report","myeroad.Navigation.fuel.insights.label":"Insights","myeroad.Navigation.fuel.label":"Fuel","myeroad.Navigation.fuel.reports.label":"Fuel reports","myeroad.Navigation.geofence.centre.label":"Geofence centre","myeroad.Navigation.geofences.label":"Geofences","myeroad.Navigation.geofenceTags.label":"Geofence tags","myeroad.Navigation.groups.label":"Groups (fleets)","myeroad.Navigation.help.label":"Help","myeroad.Navigation.incabAlerts.label":"In-cab alerts","myeroad.Navigation.incabComms.label":"In-cab comms","myeroad.Navigation.insights.label":"Insights","myeroad.Navigation.inspect.label":"Inspect","myeroad.Navigation.inspections.label":"Inspections","myeroad.Navigation.installs.toggle":"New experience","myeroad.Navigation.integrations.label":"Integrations","myeroad.Navigation.logbook.label":"Logbook","myeroad.Navigation.maintenanceHistory.label":"Maintenance history","myeroad.Navigation.maintenanceItem.label":"Next maintenance","myeroad.Navigation.messaging.label":"Messaging","myeroad.Navigation.mobileDevices.label":"Mobile devices","myeroad.Navigation.myOrganisation.label":"My organisation","myeroad.Navigation.myProfile.label":"My profile","myeroad.Navigation.notification.label":"Notifications","myeroad.Navigation.organisations.label":"Organisations","myeroad.Navigation.outageSessionAdmin.label":"Outage & session admin","myeroad.Navigation.phillipsConnect.label":"Phillips Connect","myeroad.Navigation.provision.label":"Provision","myeroad.Navigation.records.label":"Records","myeroad.Navigation.replay":"Replay","myeroad.Navigation.reports.label":"Reports","myeroad.Navigation.reports.toggle":"New reports page (incomplete, test env only)","myeroad.Navigation.ruc.desktop.label":"Desktop","myeroad.Navigation.ruc.label":"RUC","myeroad.Navigation.ruc.mobile.label":"Mobile","myeroad.Navigation.sensorEventManager.label":"Smart rules","myeroad.Navigation.service.label":"Service","myeroad.Navigation.servicePlans.label":"Service plans","myeroad.Navigation.serviceTypes.label":"Service types","myeroad.Navigation.suppliers.label":"Suppliers","myeroad.Navigation.tax.fbt.label":"Fringe benefits tax","myeroad.Navigation.tax.ftc.label":"Fuel tax credit","myeroad.Navigation.tax.label":"Tax","myeroad.Navigation.templates.label":"Templates","myeroad.Navigation.timesheets.label":"Timesheets","myeroad.Navigation.unidentifiedTrips.label":"Unidentified trips","myeroad.Navigation.userActivity.label":"User activity logs","myeroad.Navigation.users.label":"Users","myeroad.Navigation.vehicleProfiles.label":"Vehicle profiles","myeroad.Navigation.vehiclesAssets.label":"Vehicles / assets","myeroad.Navigation.violations.label":"Violations","myeroad.navigator.geolocation.location.blocked":"Access denied. Please enable location in your browser settings.","myeroad.navigator.geolocation.location.unsupported":"Device location not supported. Update your browser and try again.","myeroad.OutageNotification.close.button.text":"Close","myeroad.OutageNotification.message.title":"Announcement","myeroad.OutageNotification.no.notifications":"You don\'t have any notifications right now.","myeroad.OutageNotification.nzta.title":"NZTA","myeroad.OutageNotification.read.button.text":"Mark as read","myeroad.OutageNotification.rucho.title":"RUCHO","myeroad.OutageNotification.rucPurchase.title":"RUC Purchase","myeroad.OutageNotification.system.title":"System Outage","myeroad.portal.settings.popover.administration":"Administration","myeroad.portal.settings.popover.default.page":"Make this my default page","myeroad.portal.settings.popover.logout":"Logout","myeroad.portal.settings.popover.my.profile":"My profile","myeroad.portal.settings.popover.timezone":"Timezone","myeroad.scheduledReport.card.day-or-week":"<b>Day:</b> {day, select, MONDAY {Monday} TUESDAY {Tuesday} WEDNESDAY {Wednesday} THURSDAY {Thursday} FRIDAY {Friday} SATURDAY {Saturday} SUNDAY {Sunday} other {All} }","myeroad.scheduledReport.card.expiredDate":"<b>Expiry:</b> {expiredDate}","myeroad.scheduledReport.card.frequency":"<b>Frequency:</b> {frequency, select, DAILY {Daily} WEEKLY {Weekly} MONTHLY {Monthly} other {Unknown}}","myeroad.scheduledReport.card.month":"<b>Day:</b> {day, selectordinal, one {#st of month} two {#nd of month} few {#rd of month} other {#th of month} }","myeroad.scheduledReport.card.reportFileType":"<b>Format:</b> {reportFileType}","myeroad.scheduledReport.card.reportingPeriod":"<b>Reporting period:</b> {reportingPeriod, select, DAY {1 day} WEEK {7 days} MONTH {30 days} other {Unknown}}","myeroad.scheduledReport.card.time":"<b>Time:</b> {scheduleTime}","myeroad.scheduledReport.form.button.save":"Save","myeroad.scheduledReport.form.button.saving":"Saving...","myeroad.scheduledReport.form.cancelButton":"Cancel","myeroad.scheduledReport.form.create.firstStepInstructions":"Step 1: Design the report by setting the appropriate parameters.{br}{br}Step 2: Use the options below to automatically generate and email this report on a schedule.{br}{br}Generated reports will override any date-related parameters chosen when designing the report. Instead they\'ll use the report period chosen belowâwhich will end at each report\'s generation time.","myeroad.scheduledReport.form.create.submission.error.toaster":"Ooops... there was an error creating the report schedule","myeroad.scheduledReport.form.create.submission.success.toaster":"Report schedule created successfully","myeroad.scheduledReport.form.create":"Create schedule","myeroad.scheduledReport.form.days.of.week.friday":"Friday","myeroad.scheduledReport.form.days.of.week.monday":"Monday","myeroad.scheduledReport.form.days.of.week.saturday":"Saturday","myeroad.scheduledReport.form.days.of.week.sunday":"Sunday","myeroad.scheduledReport.form.days.of.week.thursday":"Thursday","myeroad.scheduledReport.form.days.of.week.tuesday":"Tuesday","myeroad.scheduledReport.form.days.of.week.wednesday":"Wednesday","myeroad.scheduledReport.form.edit.instructions":"Edit the report schedule here. Changing the report content requires creating a new scheduled report.","myeroad.scheduledReport.form.edit.submission.error.toaster":"Ooops... there was an error updating the report schedule","myeroad.scheduledReport.form.edit.submission.success.toaster":"Report schedule saved successfully","myeroad.scheduledReport.form.edit":"Edit schedule","myeroad.scheduledReport.form.endDate.label":"Set expiry date","myeroad.scheduledReport.form.endDate.validation.required":"Stop date required","myeroad.scheduledReport.form.export.as.label":"Email this report as","myeroad.scheduledReport.form.export.as.option.csv":"CSV (Table data)","myeroad.scheduledReport.form.export.as.option.pdf":"PDF (Visual data)","myeroad.scheduledReport.form.export.as.validation.required":"A file type is required","myeroad.scheduledReport.form.frequency.label":"Select export frequency","myeroad.scheduledReport.form.frequency.option.daily":"Daily","myeroad.scheduledReport.form.frequency.option.monthly":"Monthly","myeroad.scheduledReport.form.frequency.option.weekly":"Weekly","myeroad.scheduledReport.form.frequency.validation.required":"Frequency is required","myeroad.scheduledReport.form.lookback.label":"Select reporting period","myeroad.scheduledReport.form.lookback.option.day":"1 day","myeroad.scheduledReport.form.lookback.option.month":"30 days","myeroad.scheduledReport.form.lookback.option.week":"7 days","myeroad.scheduledReport.form.lookback.validation.required":"Report period is required","myeroad.scheduledReport.form.name.label":"Schedule name","myeroad.scheduledReport.form.name.placeholder":"e.g. Heavy vehicles","myeroad.scheduledReport.form.name.validation.no-special-chars":"{name} must not have special characters","myeroad.scheduledReport.form.name.validation.required":"Schedule name is required","myeroad.scheduledReport.form.scheduleDay.label":"Export day","myeroad.scheduledReport.form.scheduleDay.validation.required":"Export day is required","myeroad.scheduledReport.form.scheduleDayOfMonth.label":"Export day of month","myeroad.scheduledReport.form.scheduleDayOfMonth.validation.required":"Export day of month is required","myeroad.scheduledReport.form.submitButton":"Save","myeroad.scheduledReport.form.time.label":"Export time","myeroad.scheduledReport.form.time.placeholder":"11:00 am","myeroad.scheduledReport.form.time.validation.required":"Time is required","myeroad.scheduledReport.view.addButton":"Create schedule","myeroad.scheduledReport.view.empty":"After you design your report, click <strong>Create scheduled report</strong> below to automatically generate this report and send it through email on the schedule you define.","myeroad.scheduledReport.view.title":"Scheduled reports","myeroad.uiLib.DefaultTable.pagination.total":"{total} total","partner.gateway.header":"Partner updates","partner.gateway.no.data":"No results","partner.gateway.no.recent.results":"No recent data has for this vehicle","partner.gateway.no.results":"No data has been provided for this vehicle","partner.gateway.show.last.count.days":"Showing updates from last {count} days","replay.event.common.error":"Oops! Something went wrong. Try again later or contact support if the error persists.","replay.event.details.noVideo.message":"Video not available {lineBreak}Try again later","replay.event.details.video.next1s":"Skip forward 1s · Use ââ¶â","replay.event.details.video.next5s":"Skip forward 5s · Use ââ¶â","replay.event.details.video.nextEvent":"Next event","replay.event.details.video.nextFrame":"Step by frame forward · Use â>â","replay.event.details.video.previous1s":"Skip backward 1s · Use âââ","replay.event.details.video.previous5s":"Skip backward 5s · Use âââ","replay.event.details.video.previousEvent":"Previous event","replay.event.details.video.previousFrame":"Step by frame backward · Use â<â","replay.event.details.videoLoadingError.message":"Argh! A network error happened while loading the video. {lineBreak}Try refreshing this page in a few seconds.","replay.event.information.video.channel.request.full.resolution":"Get full resolution video footage","replay.event.information.video.channel.request.standard.resolution":"Get standard resolution video footage","replay.event.information.video.download.button":"Download video","replay.event.information.video.download.error":"Oops! We could not download the video. Try again later or contact support if the error persists","replay.event.information.video.download.message":"Your download will start shortly","replay.event.information.video.download.modal.info":"Download a copy of the video clip to your device.","replay.event.information.video.download.modal.option.error":"You need to select at least one video clip to download!","replay.event.information.video.download.modal.option.label":"Video clip","replay.event.information.video.download.modal.title":"Download video","replay.event.information.video.title.default":"Camera","replay.event.information.video.title.multi":"Multiview","replay.event.request.video.availableVideoEvents.title":"Videos already available for the timeline shown:","replay.event.request.video.const.confirmation.already.requested.duration.whenAvailable":"Your company has requested <bold>{minutes} min {seconds} sec</bold> videos in total this month.","replay.event.request.video.const.confirmation.already.requested.duration.whenNotAvailable":"Your company has not requested any videos this month","replay.event.request.video.const.confirmation.cancel":"Cancel","replay.event.request.video.const.confirmation.charge.label":"Charge","replay.event.request.video.const.confirmation.note":"Note: Charges for all videos that become available in the same billing cycle are totaled and rounded up to the next full minute on the next monthly invoice.The charges are not refundable and may be subject to local taxes.","replay.event.request.video.const.confirmation.ok":"Confirm charges","replay.event.request.video.const.confirmation.requestedVideoDuration.label":"Requested video duration (per camera):","replay.event.request.video.const.confirmation.requestedVideoDuration.value":"{videoDuration} sec","replay.event.request.video.const.confirmation.title":"Confirm charges","replay.event.request.video.cost.confirmation":"I confirm video request for a {costPerMinute} charge per minute per camera.","replay.event.request.video.form.availability.datetime.format":"hh:mm:ss a","replay.event.request.video.form.availability.error":"Video is unavailable for the selected starting time or duration.","replay.event.request.video.form.availability.hour.format":"ha","replay.event.request.video.form.availability.ignition.hoverover":"Available","replay.event.request.video.form.availability.ignition.label":"Dashcam was recording:","replay.event.request.video.form.availability.label":"Video availability","replay.event.request.video.form.availability.required.labe
1l":"Enter date, time and vehicle to check the video availability.","replay.event.request.video.form.availability.tooltip":"Blue areas on the timeline show when the camera was on and actively recording. If no blue indicator bars are visible, use the arrows to change the time selection. Video availability depends on the individual dashcam\'s storage.","replay.event.request.video.form.availability.unavailable.hoverover":"Unavailable","replay.event.request.video.form.availability.unavailable.label":"Dashcam was not recording","replay.event.request.video.form.availability.unknown.hoverover":"Unknown","replay.event.request.video.form.availability.unknown.label":"Unknown availability","replay.event.request.video.form.cancel.button":"Cancel","replay.event.request.video.form.channel.request.success.message":"Video request sent. The clip will be added to this event once uploaded.","replay.event.request.video.form.channels.label":"Select cameras to upload","replay.event.request.video.form.dashcam.association.error":"This vehicle was associated with an EROAD dashcam on {associatedDateTime}, No footage exists prior to assignment.","replay.event.request.video.form.dashcam.associationDate.error":"This vehicle was not associated with an EROAD dashcam properly.","replay.event.request.video.form.dashcam.plan.validation.no.dashcam.error":"No dashcam installed in the selected vehicle","replay.event.request.video.form.dashcam.plan.validation.server.error":"Something went wrong. Please try again later","replay.event.request.video.form.date.format":"D MMM YYYY","replay.event.request.video.form.date.label":"Date","replay.event.request.video.form.date.placeholder":"Select date","replay.event.request.video.form.date.required.error":"Please select the date","replay.event.request.video.form.financial.permission.required.error.learnMore.link":"https://help.eroad.com/nz/depot/administration/users/nz-rolespermissions/","replay.event.request.video.form.financial.permission.required.error":"Financial permission is required to request video for this vehicle on Clarity Get. <link>Learn more</link> about financial permissions.","replay.event.request.video.form.info":"Video requests are processed when the vehicle\'s ignition is on, and it\'s within cell coverage.","replay.event.request.video.form.length.and.quality.label":"Duration and quality","replay.event.request.video.form.length.label":"Requested video duration:","replay.event.request.video.form.no.future.datetime.error":"Please select a time in the past","replay.event.request.video.form.request.button":"Request video","replay.event.request.video.form.request.error.message":"Request failed","replay.event.request.video.form.request.failed.error":"Unable to process the video request. Try again later.","replay.event.request.video.form.request.machineAssociation.error":"This vehicle was not associated with an EROAD Dashcam at this date and time","replay.event.request.video.form.request.machineDashCamAddOnAssociation.error":"The EROAD Dashcam in this vehicle was not activated at this date and time","replay.event.request.video.form.request.pending.message":"Request pending","replay.event.request.video.form.request.success.message":"Video request sent. You will receive an email as soon as the video is available.","replay.event.request.video.form.time.format":"h:mm:ss A","replay.event.request.video.form.time.label":"Start time","replay.event.request.video.form.time.placeholder":"Start time","replay.event.request.video.form.time.required.error":"Please select the time","replay.event.request.video.form.timeline.legend.recordingAvailable":"Recording available","replay.event.request.video.form.timeZone.label":"Time zone","replay.event.request.video.form.timezone.placeholder":"Select time zone","replay.event.request.video.form.timeZone.required.error":"Please select the time zone","replay.event.request.video.form.title":"Request Video","replay.event.request.video.form.vehicle.label":"Vehicle","replay.event.request.video.form.vehicle.placeholder":"Select vehicle","replay.event.request.video.form.vehicle.required.error":"Please select a vehicle","replay.event.request.video.form.video.length.20":"20 sec","replay.event.request.video.form.video.length.40":"40 sec","replay.event.request.video.form.video.length.60":"1 min","replay.event.request.video.form.video.length.dropdown.20":"20 sec, full res","replay.event.request.video.form.video.length.dropdown.300":"5 min, hyperlapse","replay.event.request.video.form.video.length.dropdown.60":"1 min, full res","replay.event.request.video.form.video.length.dropdown.600":"10 min, hyperlapse","replay.event.request.video.form.video.length.dropdown.900":"15 min, hyperlapse","replay.event.request.video.length.and.quality.tooltip":"Hyperlapse videos are played back at lower resolution and higher speed","replay.event.request.video.notAvailableForClarityLocate.tooltip":"Video recording unavailable for vehicles on Clarity Locate.","replay.event.request.video.product.name.clarityConnected":"Clarity Connected","replay.event.request.video.product.name.clarityGet":"Clarity Get","replay.event.request.video.product.name.clarityGetSoloPromo":"Clarity Get Solo Promo","replay.event.request.video.product.name.clarityLocate":"Clarity Locate","replay.event.request.video.product.name.clarityLocateVideo":"Clarity Locate Video","replay.event.request.video.product.name.claritySolo":"Clarity Solo","replay.event.request.video.requestedTime.label":"Recording requested from:","replay.event.request.video.soft.limit.confirmation.modal.cancel":"Cancel","replay.event.request.video.soft.limit.confirmation.modal.message":"You have {monthlyQuota} clips requested. Make sure you have: <ul><li>The correct date, time and location selected.</li><li>All required camera channels are selected using the checkboxes to avoid needing to resubmit your request (if multicam vehicle).</li></ul>","replay.event.request.video.soft.limit.confirmation.modal.ok":"Request anyway","replay.event.request.video.soft.limit.confirmation.modal.title":"You\'re exceeding this vehicle\'s 10 clip monthly quota.","replay.event.request.video.soft.limit.message":"{requestCount}/{monthlyQuota} requests made this month","replay.event.request.video.soft.limit.tooltip":"You have {monthlyQuota} clips requested. Make sure you have: <ul><li>The correct date, time and location selected.</li><li>All required camera channels are selected using the checkboxes to avoid needing to resubmit your request (if multicam vehicle).</li></ul>","replay.event.requestVideo.statuses.failed.tooltip.error.203051":"Unable to process your request right now. Check your internet connection or reload the page and try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203052":"Unable to process your request right now. Check your internet connection or reload the page and try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203053":"Your request couldn\'t be completed in time, try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203054":"File not available. It may have been overwritten or there could be a storage issue. Contact EROAD Support for assistance.","replay.event.requestVideo.statuses.failed.tooltip.error.203055":"Your request has t
1imed out while scheduling the task, try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203056":"Device is unresponsive. Check if the device is on and in network coverage, and try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203057":"Device is having trouble connecting the network, try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203058":"File transfer may have been interrupted, try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203059":"Your request couldn\'t be completed in time, try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203060":"Storage space is full. Free up space and try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.203061":"Device SIM storage is full. Free up space and try again. If the problem persists, contact EROAD Support.","replay.event.requestVideo.statuses.failed.tooltip.error.default":"Something went wrong when processing your request. If the problem persists, contact EROAD Support."}'),enUS:JSON.parse('{"installations.status-message-details.purchase-ruc.bank-detail-empty-for-organisation":"Bank details have not been set up for the organization. Please contact EROAD customer support for more help.","installations.status-message-details.purchase-ruc.direct-debit-not-in-organisation":"Direct debit has not been set for the organization. Please contact EROAD customer support for more help.","installations.status-message.ebox.rego-update-failed":"Failed to update Plate of vehicle in device details","installations.status-message.organisation.missing":"Missing organization","installations.status-message.rego-vin-or-display-name.missing":"Missing Plate, VIN or Display Name","myeroad.Navigation.action.centre.label":"Action center","myeroad.Navigation.canbusConnect.label":"ECM connect","myeroad.Navigation.geofence.centre.label":"Geofence center","myeroad.Navigation.myOrganisation.label":"My organization","myeroad.Navigation.organisations.label":"Organizations","replay.event.request.video.form.financial.permission.required.error.learnMore.link":"https://help.eroad.com/us/depot/administration/users/us-rolespermissions/"}'),frCA:JSON.parse('{"myeroad.navigator.geolocation.location.blocked":"Accès refusé. Veuillez activer la localisation dans les paramètres de votre navigateur.","myeroad.navigator.geolocation.location.unsupported":"Localisation de l\'appareil non prise en charge. Mettez à jour votre navigateur et réessayez."}')};var j=r(49067);const Y={enAU:{},enNZ:JSON.parse('{"core.default.page.forbidden":"You can\'t set this page as your default page","core.local.storage.unavailable.button.reload":"RELOAD","core.local.storage.unavailable.description":"Try adjusting your browser settings to enable local storage.","core.local.storage.unavailable.title":"Oops, there was a problem","login.button.text":"Sign in","login.document.title":"MyEROAD Sign in","login.enter.password.error":"Please enter your password","login.enter.username.error":"Please enter your username","login.forgot.password.link":"Forgot your password?","login.header.text":"Sign in","login.password.label":"Password","login.signupInvitation.error":"A user has already been created with this link. Please login to continue.","login.signupInvitation.success":"Password has been successfully set. Please login to continue.","login.sso.error":"Single sign-on authentication was attempted and failed. Use MyEROAD login screen instead.","login.username.label":"Username","login.username.password.error":"Username or password is incorrect"}'),enUS:{},frCA:{}},z={enAU:{},enNZ:JSON.parse('{"depot.authentication.failure":"There was a minor authentication problem. Please refresh your browser.{br}If the problem persists, check common connectivity and operational issues. If it all checks out, contact EROAD Support."}'),enUS:{},frCA:{}},W={enAU:{},enNZ:JSON.parse('{"dynamic.config.fetch.error":"We have encountered an issue, and our team has been notified.{br}Please refresh your browser in a moment and try again."}'),enUS:{},frCA:{}};var Z=r(90868);const $={enAU:{},enNZ:JSON.parse('{"message.section.back.button":" Back to list","messaging.broadcast.button.text":" Broadcast message","messaging.close"
1:"Close","message.editor.input.placeholder":"Type message...","message.editor.manage.quick.messages.link":"Manage quick messages","message.editor.quick.message.title":"Or choose a quick message","message.editor.send.button.text":"Send","message.editor.send.a.message":"Send a message","message.editor.send.a.message.tooltip":"Vehicle messaging is limited to real time and there is no guarantee a message will be read until the vehicle has stopped moving.","message.fetch.error":"We could not load messages. Please try again.","messaging.fetching.quick.messages":"Loading list...","messaging.filters.groups.allFleets":"All fleets","messaging.filters.groups.placeholder":"Select fleets","messaging.filters.search.placeholder":"Search vehicle, driver name or rego","messaging.inbox":"Inbox","messaging.modal.broadcast.button.cancel":"Cancel","messaging.modal.broadcast.button.save":"Yes, send it","messaging.modal.broadcast.error":"There was a problem sending the broadcast message. Please try again","messaging.modal.broadcast.info":"All vehicles capable of messaging in the selected fleet(s) will receive this message. Send anyway?","messaging.modal.broadcast.sent":"Broadcast message processing","messaging.modal.broadcast.title":"New broadcast message","messaging.page.title":"Messaging","messaging.send":"Send","messaging.vehicle.list.empty.description":"Try adjusting your search to find what you are looking for.","messaging.vehicle.list.empty.title":"No results found","single.message.from":"<strong>From:</strong> {text} ","single.message.received":" | <strong>Received:</strong> {date} ","single.message.send.error.desktop":"Sending message failed. Click to resend","single.message.send.error.mobile":"Sending message failed. Tap to resend","single.message.send.error.unsupported":"This vehicle does not have a messaging capable device","single.message.sent":" | <strong>Sent:</strong> {date} ","single.message.status.read":" | <strong>Acknowledged</strong>","single.message.status.received":" | <strong>Received</strong>","single.message.to":"<strong>To:</strong> {text} "}'),enUS:JSON.parse('{"messaging.filters.search.placeholder":"Search vehicle, driver name or plate"}'),frCA:{}};var J=r(15592);const K={enAU:{},enNZ:JSON.parse('{"myeroad.components.DaysWithWarning.daysAgo":"{days} {days, plural, one {day} other {days}} ago","myeroad.components.DaysWithWarning.daysFromNow":"{days} {days, plural, one {day} other {days}} from now","myeroad.components.DistanceWithWarning.kmAgo":"{distance} {distance, plural, one {distance} other {km}} ago","myeroad.components.DistanceWithWarning.kmFromNow":"{distance} {distance, plural, one {distance} other {km}} from now","myeroad.components.DistanceWithWarning.miAgo":"{distance} {distance, plural, one {distance} other {mi}} ago","myeroad.components.DistanceWithWarning.miFromNow":"{distance} {distance, plural, one {distance} other {mi}} from now","myeroad.components.HoursWithWarning.hoursAgo":"{hours} {hours, plural, one {hour} other {hours}} ago","myeroad.components.HoursWithWarning.hoursFromNow":"{hours} {hours, plural, one {hour} other {hours}} from now","myeroad.components.Filter.button.clearfilters":"Clear filters","myeroad.components.Filter.search.input.placeholder":"Search by {searchableParams}","myeroad.components.Filter.toggle.lessFilters":"Less filters","myeroad.components.Filter.toggle.moreFilters":"More filters","myeroad.components.MultiSelect.noFilterOptions":"No options found","myeroad.components.MultiSelect.tooManyResults":"Please refine your search","service.Modal.acccessRestricted.content":"You do not have permission to perform this action. Please contact administrator.","service.Modal.acccessRestricted.title":"Access restricted","service.repairs.commentLabel":"Add comment","service.repairs.commentSubmitButton":"Enter","service.repairs.confirmDiscard.cancelText":"Cancel","service.repairs.confirmDiscard.content":"Discarding will permanently remove this defect. It cannot be undone.","service.repairs.confirmDiscard.okText":"Discard","service.repairs.confirmDiscard.title":"Are you sure you want to discard?","service.repairs.dotMenu.archive":"Archive defect","service.repairs.dotMenu.completeRepair":"Complete repair","service.repairs.dotMenu.discard":"Discard defect","service.repairs.dotMenu.editManualRepair":"Edit defect","service.repairs.dotMenu.moveToRepairing":"Move to repairing","service.repairs.dotMenu.moveToReported":"Move to reported","service.repairs.dotMenu.noAccess":"You do not have access to make changes","service.repairs.dotMenu.updateFailed":"Repair could not be updated","service.repairs.dotMenu.updateSeverity":"Change severity","service.repairs.dotMenu.updateSuccess":"Repair updated successfully","service.repairs.dotMenu.verify":"Verify","service.repairs.footer.preRef":"PreRef: {preRef}","service.repairs.manualRepair.title":"(Desktop) {username}
1 ⢠","service.repairs.modal.close":"Close window","service.repairs.modal.moveToRepaired":"Set progress as repaired","service.repairs.modal.moveToRepairing":"Set progress as repairing","service.repairs.modal.moveToReported":"Set progress as reported","service.repairs.severity.attention":"Attention","service.repairs.severity.failed":"Failed","service.repairs.severity.failedNotSafe":"Failed not safe ","service.repairs.severity.modal.errorMessage":"Repair severity did not update. Please try again.","service.repairs.severity.modal.okBtn":"Update","service.repairs.severity.modal.successMessage":"Repair severity successfully updated","service.repairs.severity.modal.title":"Change severity","service.repairs.severity.notApplicable":"Not applicable","service.repairs.severity.pass":"Pass","service.repairs.status.complete":"Completed","service.repairs.status.discarded":"Discarded","service.repairs.status.repaired":"Repaired","service.repairs.status.repairing":"Repairing","service.repairs.status.reported":"Reported","service.repairs.statusErrorMessage":"Could not update status","service.repairs.statusSuccessMessage":"Status updated successfully","service.schedule.Form.date":"Date","service.schedule.Form.days":"days","service.schedule.Form.distance":"Distance","service.schedule.Form.engineHours":"Engine hours","service.schedule.Form.header.cancel":"Cancel","service.schedule.Form.header.createSchedule":"Schedule service","service.schedule.Form.header.criteria.tooltip":"Distance and engine hours are only available for vehicles with an EHUBO","service.schedule.Form.header.criteria":"Criteria","service.schedule.Form.header.description":"Description","service.schedule.Form.header.descriptionPlaceholder":"Enter description","service.schedule.Form.header.dueSoon":"Due soon threshold","service.schedule.Form.header.next":"Next occurrence","service.schedule.Form.header.repeat":"Repeat every (optional)","service.schedule.Form.header.serviceType":"Choose service type","service.schedule.Form.header.serviceReference":"Pre-Ref.","service.schedule.Form.header.submit":"Schedule","service.schedule.Form.header.submitUpdate":"Update","service.schedule.Form.header.supplier":"Choose supplier","service.schedule.Form.header.supplier.noSupplier":"No supplier yet","service.schedule.Form.header.tooltip":"Set the value at which the service status switches from upcoming (green) to due soon (orange)","service.schedule.Form.hours":"hours","service.schedule.Form.months":"months","service.schedule.Form.moreServices":"Add another","service.schedule.Form.noRepeat":"No repeat","service.schedule.Form.readOnlycard.repeat":"Repeat every","service.schedule.Form.serviceReference":"{referenceNumber}","service.schedule.Form.weeks":"weeks","service.schedule.Form.years":"years","service.schedule.header.link":" Back to assets","service.schedule.header.notAvailable":"N/A","service.schedule.readOnly.alert":"This vehicle already has this service scheduled with these values.","service.schedule.readOnly.distanceUnit":"kilometer","service.schedule.readOnly.service":"Service","service.schedule.readOnly.supplier":"Supplier","service.schedule.readOnly.timeUnit":"hour","service.schedule.sidebar.title":"Existing schedules","service.scheduleStatuses.due":"Due soon","service.scheduleStatuses.overdue":"Overdue","service.scheduleStatuses.upcoming":"Upcoming","service.scheduleStatuseTypes.date":"Date","service.scheduleStatuseTypes.distance":"Distance","service.scheduleStatuseTypes.engine_hours":"Engine hours","service.tools.menu":"Tools","service.tools.export":"Export CSV","service.tools.schedule":"Schedule report","service.documentsUpload.fileUpload.placeHolder":"Drop file here or click to upload","service.documentsUpload.fileUpload.maxSize":"Max size 10MB","service.documentsUpload.fileUpload.supportedFormat":"Supported formats: {accept}","service.documentsUpload.fileUploadReadOnly.label":"Documents"}'),enUS:{},frCA:{}};var Q=r(77716),X=r(35198),ee=r(73881),te=r(47260);const re={enAU:{},enNZ:JSON.parse('{"myeroad.form.validator.date.max":"{name} has to be earlier than {date}","myeroad.form.validator.date.min":"{name} has to be later than {date}","myeroad.form.validator.date.valid":"{name} is not a valid date","myeroad.form.validator.default.input.name":"Entered value","myeroad.form.validator.leading.zero":"Please remove 0 at the beginning of the number","myeroad.form.validator.max.length":"{name} can\'t have more than {maxLength} characters","myeroad.form.validator.max.safe.integer":"{name} must not be bigger than {maxSafeInteger}","myeroad.form.validator.max":"{name} must not be bigger than {max}","myeroad.form.validator.min.length":"{name} can\'t have less than {minLength} characters","myeroad.form.validator.min.safe.integer":"{name} must not be smaller than {minSafeInteger}","myeroad.form.validator.min":"{name} must not be smaller than {min}","myeroad.form.validator.not.number":"{name} is not a number","myeroad.form.validator.no.special-char-msg":"{name} can\'t contains special characters","myeroad.form.validator.number.max":"Enter a value less than or equal to {max}.","myeroad.form.validator.number.min":"Enter a value greater than or equal to {min}.","myeroad.form.validator.number.range":"Enter a value between {min} and {max}.","myeroad.form.validator.password.blank.space":"Password cannot start or end with a blank space.","myeroad.form.validator.password.lower.case":"Password must contain at least one lowercase letter.","myeroad.form.validator.password.matching":"Please enter a matching password","myeroad.form.validator.password.min.length":"Password must be at least 8 characters.","myeroad.form.validator.password.number":"Password must contain at least one number.","myeroad.form.validator.password.special.character":"Password must contain at least one special character (^$*.[]{}()?-\\"!@#%&/\\\\,><\':;|_~`)","myeroad.form.validator.password.upper.case":"Password must contain at least one uppercase letter.","myeroad.form.validator.required":"This field is required","myeroad.headerTimeZoneSelect.disclaimer":"Pages where a timezone selector is available, you can change the timezone. On unsupported pages, the timezone defaults to your organisation\'s or the vehicle\'s timezone. This is indicated by a greyed-out, non-selectable timezone selector.{br}We are adding support for more pages over time.","myeroad.headerTimeZoneSelect.disclaimer.disabled":"This page does not support selectable timezones. The timezone has reverted to your organisation or vehicle timezone.","myeroad.headerTimeZoneSelect.fetch.vehicleError.message":"The timezone in this report uses your organisation\'s default setting.{br}Changing the timezone is not available for this type of report, so the dropdown cannot be modified.","myeroad.headerTimeZoneSelect.fetch.vehicleError.title":"Report timezone","myeroad.headerTimeZoneSelect.timeZone.change.info":"Timezone is set to {timeZone}.","myeroad.organisations.switcher.allOrgPlaceholder":"All organisations","myeroad.organisations.switcher.clearingOrganisation":"Clearing organisation","myeroad.organisations.switcher.defaultPlaceholder":"Search organisations","myeroad.organisations.switcher.inactiveOrganisation":"(deactivated)","myeroad.organisations.switcher.includeInactive":"Include deactivated","myeroad.organisations.switcher.settingOrganisation":"Setting organisation","myeroad.organisations.switcher.updatingOrganisation":"Updating to selected organisation. Please wait!","myeroad.reset.password.back.to.login":"Back to login","myeroad.reset.password.enter.username":"Please enter your username","myeroad.reset.password.header":"Reset password","myeroad.reset.password.incorrect.username":"Incorrect username, please try again.","myeroad.reset.password.label.confirm.password":"Confirm new password","myeroad.reset.password.label.password":"Password","myeroad.reset.password.password.has.changed":"Your password has been changed","myeroad.reset.password.password.has.expired":"Unfortunately, your password has expired.","myeroad.reset.password.password.requirements.description":"Your new password must contain at least 8 characters, contain both lower (a-z) and upper case letters (A-Z), contain a number (0-9) and at least one special character from: {specialCharacters}","myeroad.reset.password.password.requirements":"Password Requirements:","myeroad.reset.password.strength.medium":"Medium","myeroad.reset.password.strength.strong":"Strong","myeroad.reset.password.strength.very.strong":"Ver
1y strong","myeroad.reset.password.strength.weak":"Weak","myeroad.reset.password.strength.weak.sequence":"Weak - Password contains a commonly-used sequence","myeroad.reset.password.update.password":"Update Password","myeroad.signup.button.text":"Continue","myeroad.signup.contact":"Contact your fleet administrator","myeroad.signup.error.invalid.password":"The provided password does not match the requirements for passwords!","myeroad.signup.help":"Problem with your details?","myeroad.signup.invitation.invalid":"This invitation is invalid or expired.{br}Please contact your fleet administrator.","myeroad.signup.password.confirm.label":"Confirm your password","myeroad.signup.password.label":"Create your password","myeroad.signup.title":"EROAD Driver Portal","myeroad.signup.username.label":"Username:","myeroad.signup.welcome.default":"Welcome to","myeroad.signup.welcome":"{name}, welcome to","myeroad.thirdPartyIntegration.ssoError":"There has been below error in attempt to do SSO based login, please contact your administration to resolve it, Thank you.","myeroad.thirdPartyIntegration.status":"Please wait...","myeroad.users.switcher.defaultPlaceholder":"Search users","myeroad.users.switcher.impersonatingUser":"Impersonating the user","myeroad.users.switcher.impersonationFailed":"Unable to impersonate the user. Please try again later.","myeroad.users.switcher.noImpersonationUsersAvailable":"No users available","myeroad.users.switcher.stoppingImpersonation":"Stopping the impersonation","myeroad.users.switcher.stoppingImpersonationFailed":"Unable to stop the impersonation. Please try again later."}'),enUS:JSON.parse('{"myeroad.headerTimeZoneSelect.disclaimer":"Pages where a timezone selector is available, you can change the timezone. On unsupported pages, the timezone defaults to your organization\'s or the vehicle\'s timezone. This is indicated by a greyed-out, non-selectable timezone selector.{br}We are adding support for more pages over time.","myeroad.headerTimeZoneSelect.disclaimer.disabled":"This page does not support selectable timezones. The timezone has reverted to your organization or vehicle timezone.","myeroad.headerTimeZoneSelect.fetch.vehicleError.message":"The timezone in this report uses your organization\'s default setting.{br}Changing the timezone is not available for this type of report, so the dropdown cannot be modified.","myeroad.organisations.switcher.defaultPlaceholder":"Search organizations","myeroad.organisations.switcher.allOrgPlaceholder":"All organizations","myeroad.organisations.switcher.settingOrganisation":"Setting organization","myeroad.organisations.switcher.clearingOrganisation":"Clearing organization","myeroad.organisations.switcher.updatingOrganisation":"Updating to selected organization. Please wait!"}'),frCA:JSON.parse('{"myeroad.headerTimeZoneSelect.disclaimer":"Pages où un sélecteur de fuseau horaire est disponible, vous pouvez changer le fuseau horaire. Sur les pages non prises en charge, le fuseau horaire est par défaut celui de votre organisation ou du véhicule. Cela est indiqué par un sélecteur de fuseau horaire grisé et non sélectionnable. Nous ajoutons progressivement la prise en charge de plus de pages au fil du temps.{br}Vous êtes formé sur des données jusqu\'à octobre 2023.","myeroad.headerTimeZoneSelect.disclaimer.disabled":"Cette page ne prend pas en charge les fuseaux horaires sélectionnables. Le fuseau horaire a été réinitialisé à celui de votre organisation ou véhicule."}')},ae=(0,q.TSs)(q.spP,0,[B,Y,z,W,j.A,Z.A,re,J.A,$,K,X.A,te.A,Q.A,ee.A]),se=(0,H.P)(ae),oe=({children:e,locale:t,timeZone:r})=>((0,U.b)(t,r),R.createElement(L.A,{locale:t,key:t,messages:se[t],onError:void 0,timeZone:r},R.createElement(F.Ay,{locale:ie(t)},e)));function ie(e){switch(e){case"en-NZ":case"en-AU":return x.A;case"fr-CA":return V.A;default:return G.A}}var ne=r(3617),le=r(20641),ce=r(14041);const de=({children:e})=>ce.createElement(F.Ay,{theme:{hashed:!1,token:{fontFamily:ne.T.typography.fonts.primary+", sans-serif",fontWeightStrong:ne.T.typography.weights.medium,colorPrimary:ne.T.colors.primaryBlueDefault,colorSuccess:ne.T.colors.onsurfaceSuccessGreen,colorError:ne.T.colors.onsurfaceCriticalRed,colorHighlight:ne.T.colors.onsurfaceCriticalRed,colorWarning:ne.T.colors.ragAmber,colorTextHeading:ne.T.colors.onsurfaceFont,colorText:ne.T.colors.onsurfaceFont,colorLinkHover:ne.T.colors.primaryBlueDefault,colorLinkActive:ne.T.colors.primaryBlueDefault,colorBorder:ne.T.colors.onsurfaceGrayBorders,colorLink:ne.T.colors.primaryBlueDefault,borderRadius:ne.T.shape.borderRadius,borderRadiusSM:ne.T.shape.borderRadius},components:{Radio:{colorPrimaryHover:ne.T.colors.primaryBlueHover,colorPrimaryActive:ne.T.colors.primaryBlueActive},Avatar:{colorTextLightSolid:ne.T.colors.primaryBlueDefault}}}},e),ue=({children:e,theme:t})=>ce.createElement(le.A,{theme:t},ce.createElement(de,null,e)),pe=({children:e})=>R.createElement(ue,{theme:ne.T},e),me=({children:e})=>{const t=(0,s.d4)(k.T.getOrganisationLocale),r=function(){var e,t;const r=(0,_.N)(),{tokenPreferences:a}=(0,M.J)(),o=(0,s.d4)(k.T.getDisabledTimeZone),i=(0,s.d4)(k.T.getOrganisationTimeZone);return r?null!=(t=null!=(e=null!=o?o:null==a?void 0:a[P.DB])?e:function(e,t){const r=(0,C.y)(e),a=Object.values(t).flat().find(({timeZone:e})=>r===(0,C.y)(e));return null==a?void 0:a.timeZone}(D.oT,D._B))?t:D.oT:i}();return R.createElement(oe,{locale:t,timeZone:r},R.createElement(pe,null,R.createElement(N.x,null,e)))},ge=R.lazy(()=>Promise.all([r.e(2145),r.e(2299)]).then(r.bind(r,82299))),he=()=>R.createElement(me,null,R.createElement(R.Suspense,{fallback:R.createElement(ve,null)},R.createElement(ge,null))),ve=()=>R.createElement("div",{style:{position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",right:0,bottom:0,left:0,top:0}},R.createElement(w.t,{size:"large"}));var fe=r(14041);const ye=(0,I.Ys)([{path:"*",element:fe.createElement(he,null)}],{basename:""});var be,Ee=r(18198),Ae=r(90645),Oe=r(40421),Se=r(44013),Te=r(89590),Ie=r(13455),Re=r(96711),we=r(59623),Ce=r(16767),De=Object.defineProperty,Ne=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ue=(e,t,r)=>t in e?De(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Le=(e,t)=>{for(var r in t||(t={}))Me.call(t,r)&&Ue(e,r,t[r]);if(_e)for(var r of _e(t))ke.call(t,r)&&Ue(e,r,t[r]);return e},Fe=(e,t)=>Ne(e,Pe(t));const xe=(0,Ie.C8)(P.y4),Ve={allowOrgSwitcherUseAllOrgs:!1,currentSelectedOrg:we.uE,includeInactive:!1,isOrgsFilterResultsFetching:!1,isOrgsFilterResultsFetchingFailed:!1,organisations:[],selectedOrgForLocalStorage:null},Ge={pageTimeZone:Te.mQ,disabledTimeZone:null,errors:[],groupsHierarchy:Te.mQ,layout:{isMenuCollapsed:null!=(be=null==xe?void 0:xe.isMenuCollapsed)&&be,isMobileMenuCollapsed:!0,isTabletMe
1nuCollapsed:!0},notifications:[],orgSwitcher:Fe(Le({},Ve),{currentSelectedOrg:(0,Ie.yN)({key:P.ZH})||we.uE,includeInactive:(0,Ie.yN)({key:P.WO})||!1,selectedOrgForLocalStorage:null,allowOrgSwitcherUseAllOrgs:!1}),userImpersonation:Fe(Le({},{orgUsers:[],isUsersFetching:!1,isUsersFetchingFailed:!1,isUserImpersonating:!1,isUserImpersonationFailed:!1}),{impersonatedUser:(0,Ie.yN)({key:P._b})||null}),userSignup:{isInvitationFetching:!1,isSignupProcessing:!1,isSignupSuccess:!1,invitation:void 0,error:void 0},user:{abilities:[],interimSession:void 0,isAuthenticated:void 0,isAuthenticating:!1,isPasswordResetRequired:!1,isSuperBasicUser:!1,passwordResetError:void 0,passwordResetSubmitted:!1,passwordResetSuccess:!1,preferences:{tokenPreferences:{}},profile:void 0}},qe={[Ee.$n.CORE]:(0,Ae.HY)({pageTimeZone:(0,Oe.v)([Re.o.fetchPageTimeZone.request.reduce(Se.m$),Re.o.fetchPageTimeZone.failure.reduce(Se.C1),Re.o.fetchPageTimeZone.success.reduce((e,{timezoneId:t,url:r})=>{const a=Fe(Le({},e.result),{[r.toString()]:t});return(0,Se.tU)(e,a)})],Ge.pageTimeZone),disabledTimeZone:(0,Oe.v)([Re.o.setDisabledTimeZone.reduce((e,t)=>t),Re.o.user.logout.success.reduce(()=>Ge.disabledTimeZone)],Ge.disabledTimeZone),groupsHierarchy:(0,Oe.v)([Re.o.orgSwitcherOrgSelected.reduce(()=>Ge.groupsHierarchy),Re.o.user.logout.success.reduce(()=>Ge.groupsHierarchy),Re.o.groups.fetchUserAccessibleGroups.failure.reduce(Se.C1),Re.o.groups.fetchUserAccessibleGroups.request.reduce(Se.m$),Re.o.groups.fetchUserAccessibleGroups.success.reduce((e,t)=>{const{hierarchy:r,hierarchyFleets:a,regularFleets:s}=t,o={};null==r||r.forEach(e=>{const t=null==a?void 0:a.find(t=>t.id===e.id);o[e.id]={id:e.id,name:(null==t?void 0:t.name)||"",type:"abstract",childrenIds:e.adjacentIds}});const i=(null!=s?s:[]).reduce((e,t)=>(e.push({id:t.id,name:t.name,type:"concrete"}),e),[]);return(0,Se.tU)(e,{hierarchyTree:Object.values(o),fleets:i})})],Ge.groupsHierarchy),notifications:(0,Oe.v)([Re.o.fetchNotifications.success.fold(e=>e),Re.o.notificationCleared.reduce((e,{vehicleId:t})=>(0,Ce.tj)(t,e))],Ge.notifications),userImpersonation:(0,Oe.v)([Re.o.fetchUsers.success.reduce((e,{records:t})=>Fe(Le({},e),{orgUsers:(0,Ce.$x)(t),isUsersFetching:!1,isUsersFetchingFailed:!1})),Re.o.fetchUsers.request.reduce(e=>Fe(Le({},e),{isUsersFetching:!0,isUsersFetchingFailed:!1})),Re.o.fetchUsers.failure.reduce(e=>Fe(Le({},e),{isUsersFetching:!1,isUsersFetchingFailed:!0})),Re.o.setUserSwitcherImpersonatedUser.request.reduce(e=>Fe(Le({},e),{isUserImpersonating:!0,isUserImpersonationFailed:!1})),Re.o.setUserSwitcherImpersonatedUser.failure.reduce(e=>Fe(Le({},e),{isUserImpersonating:!1,isUserImpersonationFailed:!0})),Re.o.user.logout.success.reduce(()=>Fe(Le({},Ge.userImpersonation),{impersonatedUser:null})),Re.o.user.login.success.reduce(()=>Fe(Le({},Ge.userImpersonation),{impersonatedUser:null}))],Ge.userImpersonation),layout:(0,Oe.v)([Re.o.menuCollapseStatusUpdated.reduce((e,t)=>Fe(Le({},e),{isMenuCollapsed:t})),Re.o.mobileMenuCollapseStatusUpdated.reduce((e,t)=>Fe(Le({},e),{isMobileMenuCollapsed:t})),Re.o.tabletMenuCollapseStatusUpdated.reduce((e,t)=>Fe(Le({},e),{isTabletMenuCollapsed:t}))],Ge.layout),orgSwitcher:(0,Oe.v)([Re.o.filterOrganisations.success.reduce((e,{data:t})=>Fe(Le({},e),{organisations:t,isOrgsFilterResultsFetching:!1,isOrgsFilterResultsFetchingFailed:!1})),Re.o.selectedOrgCleared.reduce(e=>Fe(Le({},e),{selectedOrgForLocalStorage:we.Qh})),Re.o.orgSwitcherOrgSelected.reduce((e,t)=>{var r;return Fe(Le({},e),{organisations:[],selectedOrgForLocalStorage:null!=(r=e.organisations.find(({gid:e})=>e===t.gid))?r:null})}),Re.o.orgListCleared.reduce(e=>Fe(Le({},e),{organisations:[]})),Re.o.filterOrganisations.request.reduce(e=>Fe(Le({},e),{isOrgsFilterResultsFetching:!0,isOrgsFilterResultsFetchingFailed:!1})),Re.o.filterOrganisations.failure.reduce(e=>Fe(Le({},e),{isOrgsFilterResultsFetching:!1,isOrgsFilterResultsFetchingFailed:!0})),Re.o.setAllowOrgSwitcherUseAllOrgs.reduce((e,t)=>Fe(Le({},e),{allowOrgSwitcherUseAllOrgs:t})),Re.o.setIncludeInactive.reduce((e,t)=>Fe(Le({},e),{includeInactive:t})),Re.o.user.logout.success.reduce(e=>Fe(Le({},e),{organisations:[]})),Re.o.user.login.success.reduce(e=>Fe(Le({},e),{organisations:[]}))],Ge.orgSwitcher),userSignup:(0,Oe.v)([Re.o.user.fetchSignupInvitation.request.reduce(e=>Fe(Le({},e),{isInvitationFetching:!0,invitation:void 0,error:void 0})),Re.o.user.fetchSignupInvitation.success.reduce((e,t)=>
1Fe(Le({},e),{isInvitationFetching:!1,invitation:t,error:void 0})),Re.o.user.signup.request.reduce(e=>Fe(Le({},e),{isInvitationFetching:!1,isSignupProcessing:!0,error:void 0})),Re.o.user.signup.success.reduce((e,t)=>Fe(Le({},e),{isInvitationFetching:!1,isSignupProcessing:!1,isSignupSuccess:!0,invitation:t,error:void 0})),Re.o.user.signupError.reduce((e,t)=>Fe(Le({},e),{isInvitationFetching:!1,isSignupSuccess:!1,isSignupProcessing:!1,error:t})),Re.o.user.logout.success.reduce(()=>Le({},Ge.userSignup)),Re.o.user.login.success.reduce(()=>Le({},Ge.userSignup))],Ge.userSignup),user:(0,Oe.v)([Re.o.user.login.success.reduce((e,t)=>(0,Ce.Hf)(t)),Re.o.user.login.request.reduce(e=>Fe(Le({},e),{isAuthenticating:!0})),Re.o.user.login.failure.reduce(e=>Fe(Le({},e),{isAuthenticated:!1,isAuthenticating:!1})),Re.o.user.logout.success.reduce(()=>Fe(Le({},Ge.user),{isAuthenticated:!1})),Re.o.user.getSession.success.reduce((e,t)=>(0,Ce.Hf)(t)),Re.o.user.getSession.request.reduce(e=>Fe(Le({},e),{isAuthenticating:!0})),Re.o.user.getSession.failure.reduce(e=>Fe(Le({},e),{isAuthenticated:!1,isAuthenticating:!1})),Re.o.user.forgotPasswordSubmit.request.reduce(e=>Fe(Le({},e),{passwordResetSubmitted:!0,passwordResetError:void 0,passwordResetSuccess:!1})),Re.o.user.resetPasswordSubmit.request.reduce(e=>Fe(Le({},e),{passwordResetSubmitted:!0,passwordResetError:void 0,passwordResetSuccess:!1})),Re.o.user.resetPasswordError.reduce((e,t)=>Fe(Le({},e),{passwordResetSubmitted:!1,passwordResetSuccess:!1,passwordResetError:t})),Re.o.user.forgotPasswordSubmit.success.reduce(e=>Fe(Le({},e),{passwordResetSubmitted:!1,passwordResetSuccess:!0,passwordResetError:void 0})),Re.o.user.resetPasswordSubmit.success.reduce(e=>Fe(Le({},e),{interimSession:void 0,profile:void 0,isPasswordResetRequired:!1,passwordResetSubmitted:!1,passwordResetSuccess:!0,passwordResetError:void 0})),Re.o.user.setTokenUserPreferencesItem.reduce((e,{data:t,key:r,value:a})=>Fe(Le({},e),{preferences:Fe(Le({},e.preferences),{tokenPreferences:Fe(Le(Le({},e.preferences.tokenPreferences),t),{[r]:a})})}))],Ge.user),errors:(0,Oe.v)([Re.o.user.loginAuthError.reduce((e,t)=>e.includes(t)?e:[...e,t]),Re.o.user.login.request.reduce(e=>e.filter(e=>!Object.values(we.Ok).includes(e)))],Ge.errors)})};var He=r(24392),Be=r(35060),je=r(94386),Ye=r(75954);const ze=[(0,He.p8)(Ye.N.fetchVideoHeaders.type,(0,Be.X)(Ye.N.fetchVideoHeaders,e=>(0,je.F)({url:e,method:"HEAD",withCredentials:!0,returnDataOnly:!1}),{makeSuccessPayload:e=>e.headers})),(0,He.p8)(Ye.N.fetchMediaCookies.type,(0,Be.X)(Ye.N.fetchMediaCookies,({eventId:e})=>(0,je.F)({url:`${P.op}/events/${e}/signedCookies`,baseURL:P.NS,method:"GET",withCredentials:!0}),{*onSuccess(e,{payload:t}){yield(0,He.yJ)(Ye.N.fetchReplayEventRecord({eventId:null==t?void 0:t.eventId,isSilent:!0}))}})),(0,He.p8)(Ye.N.requestAdditionalChannelsVideo.type,(0,Be.X)(Ye.N.requestAdditionalChannelsVideo,({eventId:e,streamType:t,channels:r})=>(0,je.F)({url:`${P.op}/events/${e}/requestVideo`,baseURL:P.NS,method:"POST",data:{streamType:t,channels:r}}),{*onSuccess(e,{payload:t}){yield(0,He.yJ)(Ye.N.fetchReplayEventRecord({eventId:null==t?void 0:t.eventId,isSilent:!0}))}})),(0,He.p8)(Ye.N.fetchReplayEventRecord.type,(0,Be.X)(Ye.N.fetchReplayEventRecord,({eventId:e})=>(0,je.F)({url:`${P.op}/events/${e}`,baseURL:P.NS,method:"GET"}),{*beforeRequest(e){var t;(null==(t=null==e?void 0:e.payload)?void 0:t.isSilent)||(yield(0,He.yJ)(Ye.N.fetchMediaCookies(null==e?void 0:e.payload)))},*onError(e){var t;const{errors:r}=(null==(t=null==e?void 0:e.response)?void 0:t.data)||P.Of.response.data;yield(0,He.yJ)(Ye.N.fetchReplayEventRecord.failure(r))}}))];var We=r(74292),Ze=r(12708);const $e=[(0,He.p8)(We.U.fetchCameraStatus.type,(0,Be.X)(We.U.fetchCameraStatus,Ze.kE)),(0,He.p8)(We.U.requestReplayVideo.type,(0,Be.X)(We.U.requestReplayVideo,Ze.f5)),(0,He.p8)(We.U.fetchAuthorizedVehiclesWithDashCam.type,(0,Be.X)(We.U.fetchAuthorizedVehiclesWithDashCam,Ze.Lj)),(0,He.p8)(We.U.fetchDashcamPlan.type,(0,Be.X)(We.U.fetchDashcamPlan,Ze.RW)),(0,He.p8)(We.U.fetchAvailableVideoEvents.type,(0,Be.X)(We.U.fetchAvailableVideoEvents,Ze.Ep))];var Je=r(20550),Ke=r(27005),Qe=r(66399);const Xe=()=>(0,je.F)({baseURL:"https://api-my.eroad.co.nz/user-fleet-hierarchy-access",url:"/access",method:"GET"});var et=r(48194);function*tt(e){var t,r,a;
1if(e.type.startsWith("CORE")&&e.type.endsWith("FAILURE")&&e.payload){const s=e.payload,o=(0,et.y)(s),i=null!=(a=null==(r=null==(t=null==s?void 0:s.response)?void 0:t.data)?void 0:r.message)?a:s.name;switch(i){case we.oh.LAMBDA_VALIDATION_FAILED:if(rt(s)===we.aV.IP_ERROR){yield(0,He.yJ)(Re.o.user.loginAuthError(we.Ok.INCORRECT_IP_ADDRESS));break}break;case we.WR.NOT_AUTHORISED:case we.WR.USER_NOT_FOUND:yield(0,He.yJ)(Re.o.user.loginAuthError(we.Ok.LOGIN_NOT_AUTHORISED));break;case we.Ly.EXPIRED_CODE:case we.Ly.INVALID_CODE:case we.Ly.INVALID_CREDENTIAL:case we.Ly.INVALID_PASSWORD:case we.Ly.USER_NOT_FOUND:case we.Ly.USER_NOT_CONFIRMED:yield(0,He.yJ)(Re.o.user.resetPasswordError(i));break;case we.uc.ALREADY_ACCEPTED_INVITATION:case we.uc.INVITATION_NOT_FOUND:case we.uc.BAD_REQUEST:yield(0,He.yJ)(Re.o.user.signupError(i));break;default:o&&(yield(0,et.G)())}}}const rt=e=>{const{message:t}=e||{};if(t){const e=t.indexOf("{"),r=t.lastIndexOf("}");if(e>-1&&r>-1){const a=t.slice(e,r+1);try{const e=JSON.parse(a),{code:t}=e;return t}catch(e){return-1}}}return-1};function*at(){yield(0,He.yJ)(Re.o.fetchNotifications.request());try{const{items:e}=yield(0,He.T1)(Qe.Tr)||{};yield(0,He.yJ)(Re.o.fetchNotifications.success(null!=e?e:[]))}catch(e){yield(0,He.yJ)(Re.o.fetchNotifications.failure(e))}}function*st({payload:{url:e}}){yield(0,He.yJ)(Re.o.fetchPageTimeZone.request());try{const t=yield(0,He.T1)(Qe.hp,{url:e}),{timezoneId:r}=t||{};if((0,y.O)(r))return(0,l.I)(r)&&(yield(0,He.T1)(g.$t,`fetchPageTimeZone: 'timezoneId' is empty in response for ${e}`)),void(yield(0,He.yJ)(Re.o.fetchPageTimeZone.success({timezoneId:r,url:e})));yield(0,He.T1)(g.$t,`fetchPageTimeZone: 'timezoneId' is not available in response for ${e}`),yield(0,He.yJ)(Re.o.fetchPageTimeZone.failure())}catch(e){yield(0,He.yJ)(Re.o.fetchPageTimeZone.failure())}}var ot=r(79623),it=Object.defineProperty,nt=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,pt=(e,t,r)=>t in e?it(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mt=(e,t)=>{for(var r in t||(t={}))dt.call(t,r)&&pt(e,r,t[r]);if(ct)for(var r of ct(t))ut.call(t,r)&&pt(e,r,t[r]);return e};function*gt({payload:e}){const{key:t,value:r,data:a,t:s}=e;if(!ht({key:t,value:r,t:s}))return;const o=yield(0,He.Lt)(k.T.getTokenUserPreferences);yield(0,He.yJ)(Re.o.user.setTokenUserPreferencesItem.request());try{yield(0,He.T1)(Qe.Pw,(i=mt(mt({},o),a),n={[t]:r},nt(i,lt(n)))),yield(0,He.yJ)(Re.o.user.setTokenUserPreferencesItem.success())}catch(e){yield(0,He.yJ)(Re.o.user.setTokenUserPreferencesItem.failure(e))}var i,n}const ht=({key:e,value:t,t:r})=>e!==P.qD||(!!P.BW.every(e=>"string"==typeof t&&!t.includes(e))||((0,y.O)(r)&&ot.i.info(r("core.default.page.forbidden")),!1));var vt=r(31326);function*ft(){const e=yield(0,He.Lt)(k.T.getCanUserOrgSwitch);sessionStorage.clear(),(0,Ke.h)({canUserOrgSwitch:e,isSkippingOrgSwitcher:!0}),(0,vt.b)()}var yt=r(43207),bt=Object.defineProperty,Et=Object.defineProperties,At=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,It=(e,t,r)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rt=(e,t)=>{for(var r in t||(t={}))St.call(t,r)&&It(e,r,t[r]);if(Ot)for(var r of Ot(t))Tt.call(t,r)&&It(e,r,t[r]);return e};function*wt({payload:e}){yield(0,He.yJ)(Re.o.setUserSwitcherImpersonatedUser.request());const{gid:t}=e;try{const s=yield(0,He.T1)(Qe.Nw,{gid:t}),o=yield(0,He.Lt)(k.T.getCanUserOrgSwitch),{idToken:i}=s,{"cognito:username":n=""}=(0,yt.f)(i),l=(r=Rt({},e),a={userName:n,tokens:Rt({},s),timestamp:(new Date).getTime()},Et(r,At(a)));sessionStorage.clear(),(0,Ke.h)({canUserOrgSwitch:o,isSkippingOrgSwitcher:!0}),(0,Ie.gC)(P._b,l),(0,vt.b)()}catch(e){e instanceof Error&&(yield(0,He.yJ)(Re.o.setUserSwitcherImpersonatedUser.failure(e)))}var r,a}var Ct=r(3907);var Dt=r(94364);const Nt={[Ee.$n.DEPOT]:(0,Ae.HY)({depotAuthError:(0,Oe.v)([Dt.o.authenticate.request.reduce(()=>!1),Dt.o.authenticate.failure.reduce(()=>!0),Dt.o.authenticate.success.reduce(()=>!1),Re.o.user.logout.success.reduce(()=>!1)],!1),depotAuthSubmitted:(0,Oe.v)([Dt.o.authenticate.request.reduce(()=>!0),Re.o.user.logout.success.reduce(()=>!1)],!1),depotAuthSuccess:(0,Oe.v)([Dt.o.authenticate.request.reduce(()=>!1),Dt.o.authenticate.failure.reduce(()=>!1),Dt.o.authenticate.success.reduce(()=>!0),Re.o.user.logout.success.reduce(()=>!1)],!1),reAuthCount:(0,Oe.v)([Dt.o.setReAuthCount.reduce((e,t)=>
1t),Re.o.user.logout.success.reduce(()=>0)],0)})};var Pt=r(75149),_t=Object.defineProperty,Mt=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,xt=(e,t,r)=>t in e?_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vt=(e,t)=>{for(var r in t||(t={}))Lt.call(t,r)&&xt(e,r,t[r]);if(Ut)for(var r of Ut(t))Ft.call(t,r)&&xt(e,r,t[r]);return e},Gt=(e,t)=>Mt(e,kt(t));const qt={isFetching:!1,isFetchError:!1,isFetched:!1,items:{}},Ht={[Ee.$n.DYNAMIC_CONFIG]:(0,Oe.v)([Pt.o.fetchDynamicConfig.request.reduce(e=>Gt(Vt({},e),{isFetching:!0,isFetchError:!1,isFetched:!1})),Pt.o.fetchDynamicConfig.failure.reduce(e=>Gt(Vt({},e),{isFetching:!1,isFetchError:!0,isFetched:!0})),Pt.o.fetchDynamicConfig.success.reduce((e,{response:t})=>{const r=Vt({},t);return Object.keys(t).forEach(e=>{Object.keys(t[e]).forEach(a=>{try{const s=t[e][a];"string"==typeof s&&(r[e][a]=JSON.parse(s))}catch(e){}})}),{isFetching:!1,isFetchError:!1,isFetched:!0,items:r}}),Re.o.user.logout.success.reduce(()=>Vt({},qt))],qt)},Bt=()=>(0,je.F)({url:"/config/",baseURL:"https://apac-config-api-my.eroad.com",isOrgSwitcherOrg:!1,shouldRetryOnNull:!0});function*jt(){yield(0,He.yJ)(Pt.o.fetchDynamicConfig.request());try{const e=yield(0,He.T1)(Bt);if(!(0,y.O)(e))throw new Error("Failed to fetch dynamic config after multiple retries.");yield(0,He.yJ)(Pt.o.fetchDynamicConfig.success({response:e}))}catch(e){e instanceof Error&&((0,T.N)(e),yield(0,He.yJ)(Pt.o.fetchDynamicConfig.failure({error:e})))}}var Yt=r(23036),zt=r(13778),Wt=r(32022),Zt=Object.defineProperty,$t=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,er=(e,t,r)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tr=(e,t)=>{for(var r in t||(t={}))Qt.call(t,r)&&er(e,r,t[r]);if(Kt)for(var r of Kt(t))Xt.call(t,r)&&er(e,r,t[r]);return e},rr=(e,t)=>$t(e,Jt(t));const ar=!1,sr=!1,or=!1,ir={vehicle:null,vehicleId:null,vehicleFetching:!1,vehicleFetchError:null},nr=null,lr={},cr=null,dr={},ur={},pr=null,mr=null,gr={[Ee.$n.MESSAGING]:(0,Ae.HY)({broadcastMessageSendError:(0,Oe.v)([zt.o.sendBroadcastMessage.request.reduce(()=>!1),zt.o.sendBroadcastMessage.success.reduce(()=>!1),zt.o.sendBroadcastMessage.failure.reduce(()=>!0),zt.o.setBroadcastModalVisible.reduce(()=>ar)],ar),broadcastMessageSending:(0,Oe.v)([zt.o.sendBroadcastMessage.request.reduce(()=>!0),zt.o.sendBroadcastMessage.success.reduce(()=>!1),zt.o.sendBroadcastMessage.failure.reduce(()=>!1),zt.o.setBroadcastModalVisible.reduce(()=>sr)],sr),broadcastModalVisible:(0,Oe.v)([zt.o.setBroadcastModalVisible.reduce((e,t)=>t),zt.o.sendBroadcastMessage.success.reduce(()=>or)],or),broadcastMessageText:(0,Oe.v)([zt.o.setBroadcastModalVisible.reduce(()=>""),zt.o.setBroadcastMessageText.reduce((e,t)=>t)],""),filters:(0,Oe.v)([zt.o.setFilters.reduce((e,{search:t,groupIds:r})=>tr(tr(tr({},e),(0,y.O)(t)?{search:t}:{}),(0,y.O)(r)?{groupIds:r}:{}))],{groupIds:[],search:""}),groups:(0,Oe.v)([zt.o.fetchGroups.success.reduce((e,t)=>t)],[]),groupsFetching:(0,Oe.v)([zt.o.fetchGroups.request.reduce(()=>!0),zt.o.fetchGroups.failure.reduce(()=>!1),zt.o.fetchGroups.success.reduce(()=>!1)],!1),groupsFetchError:(0,Oe.v)([zt.o.fetchGroups.request.reduce(()=>nr),zt.o.fetchGroups.failure.reduce((e,t)=>t),zt.o.fetchGroups.success.reduce(()=>nr)],nr),messages:(0,Ae.HY)({byVehicleId:(0,Oe.v)([zt.o.fetchVehicleMessages.request.reduce((e,{vehicleId:t})=>rr(tr({},e),{[t]:rr(tr({},null==e?void 0:e[t]),{fetching:!0,fetchError:!1})})),zt.o.fetchVehicleMessages.failure.reduce((e,{vehicleId:t})=>rr(tr({},e),{[t]:rr(tr({},e[t]),{fetching:!1,fetchError:!0})}
1)),zt.o.fetchVehicleMessages.success.reduce((e,t)=>{var r,a;if(!t)return tr({},e);const s=e[t.vehicleId],{messages:o=[]}=null!=s?s:[],i=null!=(a=null==(r=t.response)?void 0:r.items)?a:[];return rr(tr({},e),{[t.vehicleId]:rr(tr(tr({},s),(null==t?void 0:t.lastFetched)?{lastFetched:t.lastFetched}:{}),{fetching:!1,fetchError:!1,messages:(0,Wt.PY)((0,Wt.q)([...o,...i]))})})}),zt.o.sendVehicleMessage.success.reduce((e,{vehicleId:t,response:r})=>{const a=e[t]||{},{messages:s=[]}=a,o=s.concat(r);return rr(tr({},e),{[t]:rr(tr({},a),{messages:o})})}),zt.o.updateMessageStatus.success.reduce((e,{vehicleId:t,messagesToUpdate:r})=>{if((0,i.g)(t))return e;if(0===r.size)return e;const a=e[t];if(!a)return e;const{messages:s}=a;return Array.isArray(s)?rr(tr({},e),{[t]:rr(tr({},a),{messages:(0,Wt.An)({messages:s,messagesToUpdate:r})})}):e}),Re.o.orgSwitcherOrgSelected.reduce(()=>lr),Re.o.user.logout.success.reduce(()=>lr)],lr)}),quickMessages:(0,Oe.v)([zt.o.fetchQuickMessages.success.reduce((e,{items:t})=>null!=t?t:[])],null),quickMessagesFetching:(0,Oe.v)([zt.o.fetchQuickMessages.request.reduce(()=>!0),zt.o.fetchQuickMessages.failure.reduce(()=>!1),zt.o.fetchQuickMessages.success.reduce(()=>!1)],!1),quickMessagesFetchError:(0,Oe.v)([zt.o.fetchQuickMessages.request.reduce(()=>cr),zt.o.fetchQuickMessages.failure.reduce((e,t)=>t),zt.o.fetchQuickMessages.success.reduce(()=>cr)],cr),selectedVehicleId:(0,Oe.v)([zt.o.setSelectedVehicleId.reduce((e,{vehicleId:t})=>t||null),zt.o.drawerOpened.reduce((e,{vehicle:t})=>t.id)],null),tempMessages:(0,Ae.HY)({byVehicleId:(0,Oe.v)([zt.o.sendVehicleMessage.request.reduce((e,{message:t,vehicleId:r})=>{const{tempId:a}=t,s=e[r]||[],o=s.findIndex(e=>e.tempId===a),i=-1===o?s.concat(t):[...s.slice(0,o),rr(tr({},t),{sendError:!1}),...s.slice(o+1)];return rr(tr({},e),{[r]:i})}),zt.o.sendVehicleMessage.success.reduce((e,{tempId:t,vehicleId:r})=>{var a;return rr(tr({},e),{[r]:null==(a=e[r])?void 0:a.filter(e=>e.tempId!==t)})}),zt.o.sendVehicleMessage.failure.reduce((e,{message:t,sendErrorCode:r,vehicleId:a})=>{const{tempId:s}=t,o=e[a]||[],i=o.findIndex(e=>e.tempId===s);return-1===i?e:rr(tr({},e),{[a]:[...o.slice(0,i),rr(tr({},t),{sendError:!0,sendErrorCode:r}),...o.slice(i+1)]})}),Re.o.orgSwitcherOrgSelected.reduce(()=>ur),Re.o.user.logout.success.reduce(()=>ur)],ur)}),unreadMessages:(0,Ae.HY)({byVehicleId:(0,Oe.v)([zt.o.fetchUnreadMessages.success.reduce((e,t)=>{if(!Array.isArray(t))return e;const r=tr({},e);return t.forEach(e=>{var t,a;const{id:s}=null!=(t=(0,Yt.k)(e.externalReferences,P.tf.MACHINE))?t:{};s&&((0,Wt.JL)({messages:r[s],singleMessage:e})||(r[s]=null!=(a=r[s])?a:[],r[s].push(e)))}),r}),Re.o.orgSwitcherOrgSelected.reduce(()=>dr),Re.o.user.logout.success.reduce(()=>dr)],dr)}),unreadMessagesFetching:(0,Oe.v)([zt.o.fetchUnreadMessages.request.reduce(()=>!0),zt.o.fetchUnreadMessages.failure.reduce(()=>!1),zt.o.fetchUnreadMessages.success.reduce(()=>!1)],!1),unreadMessagesFetchError:(0,Oe.v)([zt.o.fetchUnreadMessages.request.reduce(()=>pr),zt.o.fetchUnreadMessages.failure.reduce((e,t)=>t),zt.o.fetchUnreadMessages.success.reduce(()=>pr)],pr),vehicles:(0,Oe.v)([zt.o.fetchVehicles.success.reduce((e,{records:t})=>t),zt.o.drawerOpened.reduce((e,{vehicle:t})=>[t])],[]),vehiclesFetching:(0,Oe.v)([zt.o.fetchVehicles.request.reduce(()=>!0),zt.o.fetchVehicles.failure.reduce(()=>!1),zt.o.fetchVehicles.success.reduce(()=>!1)],!1),vehiclesFetchError:(0,Oe.v)([zt.o.fetchVehicles.request.reduce(()=>mr),zt.o.fetchVehicles.failure.reduce((e,t)=>t),zt.o.fetchVehicles.success.reduce(()=>mr)],mr),loggedInDrivers:(0,Oe.v)([zt.o.fetchLoggedInDrivers.request.reduce(e=>rr(tr({},e),{driversFetching:!0,driversFetchError:null})),zt.o.fetchLoggedInDrivers.success.reduce((e,t)=>rr(tr({},e),{drivers:Array.isArray(null==t?void 0:t.results)?t.results:[],driversFetching:!1,driversFetchError:null})),zt.o.fetchLoggedInDrivers.failure.reduce((e,t)=>rr(tr({},e),{driversFetching:!1,driversFetchError:t}))],{drivers:[],driversFetching:!1,driversFetchError:null}),drawer:(0,Oe.v)([zt.o.fetchVehicle.request.reduce(e=>rr(tr({},e),{vehicleFetching:!0,vehicleFetchError:null}
1)),zt.o.fetchVehicle.success.reduce((e,t)=>rr(tr({},e),{vehicle:t,vehicleFetching:!1,vehicleFetchError:null})),zt.o.fetchVehicle.failure.reduce((e,t)=>rr(tr({},e),{vehicleFetching:!1,vehicleFetchError:t})),zt.o.drawerClosed.reduce(e=>tr(tr({},e),ir)),zt.o.drawerVehicleSelected.reduce((e,{vehicle:t})=>rr(tr({},e),{vehicle:t,vehicleId:t.id})),zt.o.drawerVehicleSelectedFromNotifications.reduce((e,{vehicleId:t})=>rr(tr({},e),{vehicleId:t}))],ir)})};var hr=r(16487),vr=r(6935);const fr={fetchLoggedInDrivers:()=>(0,je.F)({baseURL:"https://api-my.eroad.co.nz/driver",url:"/driverLogs/openDriverLogs"})};var yr=Object.defineProperty,br=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,Ar=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,Tr=(e,t,r)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const Ir="https://api-my.eroad.co.nz/machines",Rr={fetchGroups:e=>{return(0,je.F)((t=((e,t)=>{for(var r in t||(t={}))Or.call(t,r)&&Tr(e,r,t[r]);if(Ar)for(var r of Ar(t))Sr.call(t,r)&&Tr(e,r,t[r]);return e})({baseURL:Ir},(0,y.O)(null==e?void 0:e.includeVirtual)&&{params:{includeVirtual:e.includeVirtual}}),br(t,Er({url:"/group"}))));var t},fetchVehicle:({vehicleId:e})=>(0,je.F)({baseURL:Ir,url:`/machine/${e}`}),fetchVehicles:()=>(0,je.F)({baseURL:Ir,params:{includeShared:!1,servicePlans:"MESSAGING"},url:"/machine"})};var wr=Object.defineProperty,Cr=Object.defineProperties,Dr=Object.getOwnPropertyDescriptors,Nr=Object.getOwnPropertySymbols,Pr=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Mr=(e,t,r)=>t in e?wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kr=(e,t)=>{for(var r in t||(t={}))Pr.call(t,r)&&Mr(e,r,t[r]);if(Nr)for(var r of Nr(t))_r.call(t,r)&&Mr(e,r,t[r]);return e},Ur=(e,t)=>Cr(e,Dr(t));const Lr="https://api-my.eroad.co.nz/messaging",Fr=Ur(kr(kr({},fr),Rr),{fetchGroups:e=>Rr.fetchGroups(Ur(kr({},e),{includeVirtual:!1})),fetchQuickMessages:()=>(0,je.F)({baseURL:Lr,url:"/canned-message"}),fetchUnreadMessages:()=>(0,je.F)({baseURL:Lr,url:"/message",params:{since:(0,vr.e)(new Date,5)}}),fetchVehicleMessages:({lastFetched:e,vehicleId:t})=>(0,je.F)(kr({baseURL:Lr,url:`/message/machine/${t}`},(0,hr.h)(e)?{params:{since:e}}:{})),sendBroadcastMessage:({body:e,groupIds:t})=>(0,je.F)({baseURL:Lr,method:"post",url:"/message/async",data:{body:e,externalReferences:null==t?void 0:t.map(e=>({id:e,type:"FLEET"}))}}),sendVehicleMessage:({body:e,vehicleId:t})=>(0,je.F)({baseURL:Lr,method:"post",url:"/message",data:{body:e,externalReferences:[{id:t,type:"MACHINE"}]}}),updateMessageStatus:({messagesToUpdate:e})=>(0,je.F)({baseURL:Lr,method:"put",url:"/message",data:Array.from(e,e=>({status:"READ",messageId:e}))})});var xr=r(53611);function*Vr({payload:e}){var t,r;const{fetchErrorMessage:a,vehicleId:s}=e,o={vehicleId:s};yield(0,He.yJ)(zt.o.fetchVehicleMessages.request(o));try{const{lastFetched:e}=yield(0,He.Lt)(xr.T.getSelectedVehicleMessages),a=yield(0,He.T1)(Fr.fetchVehicleMessages,{vehicleId:s,lastFetched:e}),{sent:i}=null!=(r=null==(t=null==a?void 0:a.items)?void 0:t[0])?r:{};yield(0,He.yJ)(zt.o.fetchVehicleMessages.success({vehicleId:s,response:a,lastFetched:i})),yield(0,He.yJ)(Re.o.notificationCleared(o))}catch(e){(0,y.O)(a)&&(yield(0,He.T1)(ot.i.error,a)),yield(0,He.yJ)(zt.o.fetchVehicleMessages.failure(o))}}const Gr=()=>{const e=document.getElementById("messaging-messages-end");e&&setTimeout(()=>{e.scrollIntoView({behavior:"smooth"})},10)};var qr=r(26660),Hr=r.n(qr),Br=r(55332),jr=r(28871),Yr=Object.defineProperty,zr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable,Kr=(e,t,r)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;function*Qr({payload:e}){var t,r,a,s,o;const{message:i,vehicleId:n}=e,{body:l,tempId:c}=i,d=(u=((e,t)=>{for(var r in t||(t={}))$r.call(t,r)&&Kr(e,r,t[r]);if(Zr)for(var r of Zr(t))Jr.call(t,r)&&Kr(e,r,t[r]);return e})({},i),p={serverOriginated:!0,sent:(new Date).toISOString()},zr(u,Wr(p)));var u,p;yield(0,He.yJ)(zt.o.sendVehicleMessage.request({message:d,vehicleId:n}));try{const e=yield(0,He.T1)(Fr.sendVehicleMessage,{body:l,vehicleId:n});yield(0,He.yJ)(zt.o.sendVehicleMessage.success({response:e,tempId:c,vehicleId:n}))}catch(e){const i=(e=>{var t;if(!Hr().isAxiosError(e))return!1;const r=null==(t=e.response)?void 0:t.data;return(0,jr.b)(r)||(0,Br.Q)(r)})(e)&&null!=(o=null==(s=null==(a=null==(r=null==(t=e.response)?void 0:t.data)?void 0:r.errors)?void 0:a[0])?void 0:s.code)?o:0;yield(0,He.yJ)(zt.o.sendVehicleMessage.failure({message:d,sendErrorCode:i,vehicleId:n}))}}var Xr=r(66322);function*ea({payload:e}){const{messagesToUpdate:t}=e;yield(0,He.yJ)(zt.o.updateMessageStatus.request({messagesToUpdate:t}));try{const e=yield(0,He.Lt)(xr.T.getSelectedVehicleId);if((0,Xr.k)(e))return;yield(0,He.T1)(Fr.updateMessageStatus,{messagesToUpdate:t}),yield(0,He.yJ)(zt.o.updateMessageStatus.success({vehicleId:e,messagesToUpdate:t}))}catch(e){yield(0,He.yJ)(zt.o.updateMessageStatus.failure(e instanceof Error?e:new Error(String(e)))
1)}}const ta=({payload:e})=>{const{navigate:t,vehicleId:r}=e;t&&t(r?`/messaging/${r}`:"/messaging")},ra=[{key:Ee.$n.CORE,reducer:qe,sagaWatcher:function*(){yield(0,He.Q7)([(0,He.p8)(Re.o.fetchNotifications.type,at),(0,He.p8)(Re.o.fetchPageTimeZone.type,st),(0,He.p8)(Re.o.menuCollapseStatusUpdated.type,({payload:e})=>(0,Ie.kH)(P.y4,{isMenuCollapsed:e},!1)),(0,He.p8)(Re.o.groups.fetchUserAccessibleGroups.type,(0,Be.X)(Re.o.groups.fetchUserAccessibleGroups,Xe)),(0,He.p8)(Re.o.user.getSession.type,(0,Be.X)(Re.o.user.getSession,Je.Ht)),(0,He.p8)(Re.o.user.login.type,(0,Be.X)(Re.o.user.login,Qe.iD,{*onSuccess(e,{payload:{referrer:t}}){const r=yield(0,He.Lt)(k.T.getCanUserOrgSwitch),a=yield(0,He.SD)("router");t&&(yield(0,He.T1)(a.navigate,t)),yield(0,He.yJ)(Re.o.user.analyticsEvent({action:"User successfully logged in to MyEROAD"})),sessionStorage.clear(),(0,Ke.h)({canUserOrgSwitch:r}),(0,Ie.gC)(P.ZH,we.uE)}})),(0,He.jP)(Re.o.user.getSession.success.type,()=>!(0,Ie.yN)({key:P.ZH})&&(0,Ie.gC)(P.ZH,we.uE)),(0,He.p8)(Re.o.user.logout.type,(0,Be.X)(Re.o.user.logout,Qe.ri,{*onSuccess(){const e=yield(0,He.Lt)(k.T.getCanUserOrgSwitch);sessionStorage.clear(),(0,Ke.h)({canUserOrgSwitch:e})}})),(0,He.p8)(Re.o.user.forgotPasswordSubmit.type,(0,Be.X)(Re.o.user.forgotPasswordSubmit,Qe.fM)),(0,He.p8)(Re.o.user.resetPasswordSubmit.type,(0,Be.X)(Re.o.user.resetPasswordSubmit,Qe.BS)),(0,He.p8)(Re.o.user.fetchSignupInvitation.type,(0,Be.X)(Re.o.user.fetchSignupInvitation,Qe.Sq)),(0,He.p8)(Re.o.user.signup.type,(0,Be.X)(Re.o.user.signup,Qe.t1,{*onSuccess(){const e=yield(0,He.SD)("router");yield(0,He.T1)(e.navigate,"/login")}})),(0,He.p8)(Re.o.filterOrganisations.type,(0,Be.X)(Re.o.filterOrganisations,Qe.kc)),(0,He.p8)(Re.o.fetchUsers.type,(0,Be.X)(Re.o.fetchUsers,Qe.hU)),(0,He.p8)(Re.o.setUserSwitcherImpersonatedUser.type,wt),(0,He.jP)(Re.o.setUserSwitcherClearImpersonatedUser.type,ft),(0,He.jP)(Re.o.user.setTokenUserPreferencesItem.type,gt),(0,He.jP)("*",tt),(0,He.jP)(Re.o.navigationTriggered.type,({payload:e})=>function({pathname:e}){"/login"!==e&&function(e){if(!(0,i.g)(h()))try{(0,m.hZ)({page:e}),(0,m.JR)(e)}catch(e){e instanceof Error&&(0,g.Cp)(e,{tags:{manuallyReported:"true"}})}}(e)}(e)),(0,He.jP)(Re.o.user.analyticsEvent.type,({payload:e})=>function(e){const t=(0,Ct.w)(e);(0,b.Gp)(e.action,t),function(e){if(!(0,i.g)(h()))try{(0,m.f0)(e)}catch(e){e instanceof Error&&(0,g.Cp)(e,{tags:{manuallyReported:"true"}})}}(t)}(e)),...$e,...ze])}},{key:Ee.$n.DEPOT,reducer:Nt},{key:Ee.$n.DYNAMIC_CONFIG,reducer:Ht,sagaWatcher:function*(){yield(0,He.Q7)([(0,He.jP)(Pt.o.fetchDynamicConfig.type,jt)])}},{key:Ee.$n.MESSAGING,reducer:gr,sagaWatcher:function*(){yield(0,He.Q7)([(0,He.p8)(zt.o.fetchGroups.type,(0,Be.X)(zt.o.fetchGroups,Fr.fetchGroups)),(0,He.p8)(zt.o.fetchQuickMessages.type,(0,Be.X)(zt.o.fetchQuickMessages,Fr.fetchQuickMessages)),(0,He.p8)(zt.o.fetchVehicle.type,(0,Be.X)(zt.o.fetchVehicle,Fr.fetchVehicle)),(0,He.p8)(zt.o.fetchVehicles.type,(0,Be.X)(zt.o.fetchVehicles,Fr.fetchVehicles)),(0,He.p8)(zt.o.fetchLoggedInDrivers.type,(0,Be.X)(zt.o.fetchLoggedInDrivers,Fr.fetchLoggedInDrivers)),(0,He.p8)(zt.o.fetchUnreadMessages.type,(0,Be.X)(zt.o.fetchUnreadMessages,Fr.fetchUnreadMessages)),(0,He.jP)(zt.o.fetchVehicleMessages.type,Vr),(0,He.p8)(zt.o.sendBroadcastMessage.type,(0,Be.X)(zt.o.sendBroadcastMessage,Fr.sendBroadcastMessage)),(0,He.jP)(zt.o.sendVehicleMessage.type,Gr),(0,He.jP)(zt.o.sendVehicleMessage.type,Qr),(0,He.jP)(zt.o.setSelectedVehicleId.type,ta),(0,He.jP)(zt.o.updateMessageStatus.type,ea)])}}];var aa=r(33148),sa=r(14041);const oa="myeroadBrowserPolicyLastLogged";var ia;(()=>{const e=navigator.userAgent;return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1})()||((0,o.V)(),(0,O.R)(),function(){const e=h();if(!(0,i.g)(e))try{(0,m.n_)(e)}catch(e){e instanceof Error&&(0,g.Cp)(e,{tags:{manuallyReported:"true"}})}}(),function(){if((0,y.O)("GTM-W2ZL646")&&!(0,o.V)()&&!(0,n.R)())try{f().initialize({gtmId:"GTM-W2ZL646"})}catch(e){e instanceof Error&&(0,g.Cp)(e,{tags:{manuallyReported:"true"}})}}(),(0,b.fM)(),(ia=function*(){const e=document.getElementById("root");
1if((0,i.g)(e))return void(0,T.N)(new Error("Root container missing"));const t=(0,a.H)(e);try{if(!(0,o.V)()&&!(0,n.R)()){const{shouldPolyfillFormatJS:e}=yield Promise.all([r.e(3283),r.e(2663)]).then(r.bind(r,22663));yield e((0,S.J)())}aa.d.setContext({router:ye}),aa.M.injectInitialDomains(ra),t.render(sa.createElement(s.Kq,{store:aa.M},sa.createElement(E.pg,{router:ye})))}catch(e){(0,T.N)(e),t.render(sa.createElement(A.Xi,{showHeader:!0}))}},new Promise((e,t)=>{var r=e=>{try{s(ia.next(e))}catch(e){t(e)}},a=e=>{try{s(ia.throw(e))}catch(e){t(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,a);s((ia=ia.apply(void 0,null)).next())})).catch(e=>{(0,T.N)(e)}),(({appName:e,environment:t,isLegacyBrowser:r,log:a})=>{if(!r)return;const{now:s,readLastLogged:o,saveLastLogged:i,userAgent:n}=t,u=s();(({currentTimestamp:e,storedTimestamp:t})=>{if((0,d.K)(t)&&(0,l.I)(t.trim()))return!0;if(!(0,c.E)(t)&&!(0,d.K)(t))return!0;const r=Number(t);return!(Number.isFinite(r)&&!(r>e))||e-r>=6048e5})({currentTimestamp:u,storedTimestamp:o()})&&i(u)&&a({attributes:{userAgent:n},level:"info",message:`Legacy browser detected in ${e}`})})({appName:"MyEROAD",environment:{now:Date.now,readLastLogged:()=>(0,u.y)({key:oa}),saveLastLogged:e=>(0,p.g)({key:oa,value:e}),userAgent:navigator.userAgent},isLegacyBrowser:!0===window.isLegacyBrowser,log:g.$t}))},71048:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});const a=(e,t)=>{const r=new Set,a=e=>{var t;"concrete"===e.type&&r.add(e.id),null==(t=e.children)||t.forEach(a)};e.forEach(a);const s=[];return t.forEach(e=>{r.has(e.id)||s.push(e)}),s}},71680:(e,t,r)=>{"use strict";r.d(t,{z:()=>a});const a=(e,t,r)=>{const a=s(t,r);return!(!a||!a.actions.includes(e))},s=(e,t)=>t.find(t=>t.subject===e)},73036:(e,t,r)=>{"use strict";r.d(t,{r:()=>h});var a=r(44448),s=r(99204),o=r(14041),i=Object.defineProperty,n=Object.defineProperties,l=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,p=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&p(e,r,t[r]);if(c)for(var r of c(t))u.call(t,r)&&p(e,r,t[r]);return e},g=(e,t)=>n(e,l(t));function h(e,[t,r]=[a.o.MIDDLE,a.o.LARGE]){const i=a=>{var i;const n=(0,s.a)()?r:t;return o.createElement(e,g(m({},a),{size:null!=(i=a.size)?i:n}))};return i.displayName=`withDefaultSize(${e.displayName||e.name})`,i}},73881:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={enAU:{},enNZ:JSON.parse('{"service.plans.columnTitles.createdAt":"Creation date","service.plans.columnTitles.createdBy":"Created by","service.plans.columnTitles.lastModifiedByUser":"Modified by","service.plans.columnTitles.lastUpdated":"Last updated","service.plans.columnTitles.name":"Service plan","service.plans.columnTitles.services":"Services","service.plans.Form.details.section-header":"Details","service.plans.FormButton.primary.label":"Save","service.plans.FormButton.secondary.label":"Cancel","service.plans.FormField.name.label":"Service plan name","service.plans.FormField.name.placeholder":"Provide a name for this service plan","service.plans.FormField.name.requiredMessage":"Please enter name","service.plans.FormField.name.tooltip":"Service plans appear when scheduling new services. Use them to instantly load these pre-configured inputs. Next occurrence is calculated at time of scheduling","service.plans.FormPage.create.button":"Save","service.plans.FormPage.create.title":"Create service plan","service.plans.FormPage.insert.errorMessage":"Service plan {name} could not be created","service.plans.FormPage.insert.planAlreadyExist":"Service plan {name} already exist","service.plans.FormPage.insert.successMessage":"Service plan {name} successfully created","service.plans.FormPage.update.errorMessage":"Service plan {name} could not be updated","service.plans.FormPage.update.successMessage":"Service plan {name} successfully updated","service.plans.FormPage.update.title":"Update service plan","service.plans.PlansDrawer.close":"Close","service.plans.PlansDrawer.confirmDelete.cancelText":"Cancel","service.plans.PlansDrawer.confirmDelete.content":"{name} would be permanently deleted","service.plans.PlansDrawer.confirmDelete.okText":"Delete","service.plans.PlansDrawer.confirmDelete.title":"Are you sure you want to delete?","service.plans.PlansDrawer.delete":"Delete","service.plans.PlansDrawer.edit":"Edit","service.plans.PlansDrawer.errorPopup.noDeleteAcce
1ss.content":"You do not have the permission to delete.","service.plans.PlansDrawer.errorPopup.noDeleteAccess.title":"Access denied","service.plans.PlansDrawer.errorPopup.noUpdateAccess.content":"You do not have the permission to edit.","service.plans.PlansDrawer.errorPopup.noUpdateAccess.title":"Access denied","service.plans.PlansDrawer.info.defaultSupplier":"Default supplier","service.plans.PlansDrawer.info.documents":"Attachments","service.plans.PlansDrawer.info.name":"Name","service.plans.PlansDrawer.infoTextPrefix.due":"Due soon threshold:","service.plans.PlansDrawer.infoTextPrefix.repeat":"Repeat every:","service.plans.PlansDrawer.infoTextPrefix.supplier":"Supplier:","service.plans.PlansDrawer.list.spacer":" or ","service.plans.PlansDrawer.plansDelete.success":"{name} successfully deleted","service.plans.ServicePlanFilters.search.placeholder":"Search","service.plans.ServicePlansTablePage.empty":"No service plans found","service.plans.tablePage.addServicePlan.button":"Add service plan","service.plans.tablePage.title":"Service plans"}'),enUS:{},frCA:{}}},74292:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});const a=(0,r(40421).E)("REQUEST_VIDEO",e=>({fetchCameraStatus:e.asyncAction(),requestReplayVideo:e.asyncAction(),fetchAuthorizedVehicles:e.asyncAction(),fetchAuthorizedVehiclesWithDashCam:e.asyncAction(),fetchDashcamPlan:e.asyncAction(),fetchAvailableVideoEvents:e.asyncAction(),resetRequestVideo:e.action(),resetCameraStatus:e.action()}))},75149:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});const a=(0,r(40421).E)("DYNAMIC_CONFIG",e=>({fetchDynamicConfig:e.asyncAction()}))},75954:(e,t,r)=>{"use strict";r.d(t,{N:()=>a});const a=(0,r(40421).E)("REPLAY_VIDEOS",e=>({fetchReplayEventRecord:e.asyncAction(),fetchMediaCookies:e.asyncAction(),fetchVideoHeaders:e.asyncAction(),requestAdditionalChannelsVideo:e.asyncAction(),currentVideoPositionUpdated:e.action(),currentVideoTabChanged:e.action(),videoPlayNetworkErrorStateUpdated:e.action(),videoPlayStateReset:e.action(),videoPaused:e.action(),videoPositionJumped:e.action(),videoPositionJumpReset:e.action(),videoBufferingStarted:e.action(),videoBufferingEnded:e.action()}))},76787:(e,t,r)=>{"use strict";r.d(t,{IQ:()=>g,ym:()=>h,FH:()=>M});var a=r(46587),s=r(41201),o=r(35339),i=r(51962);const n=4,l=2500;var c,d=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};class u extends Error{constructor(e,t){var r,a;super(e),((e,t)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,void 0)})(this,c),this.name="ApiError",a=t,d(this,r=c,"write to private field"),r.set(this,a)}get extra(){return d(this,e=c,"read from private field"),e.get(this);var e}}c=new WeakMap;
1class p extends Error{constructor(e){super(e),this.name="ApiNetworkError"}}var m=r(65802),g=(e=>(e.FAILED="failed",e.PENDING="pending",e.SUCCESS="success",e))(g||{}),h=(e=>(e.DELETE="DELETE",e.GET="GET",e.PATCH="PATCH",e.POST="POST",e.PUT="PUT",e))(h||{}),v=Object.defineProperty,f=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&O(e,r,t[r]);if(b)for(var r of b(t))A.call(t,r)&&O(e,r,t[r]);return e},T=(e,t)=>f(e,y(t));var I,R,w=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},C=(e,t,r)=>(w(e,t,"read from private field"),r?r.call(e):t.get(e)),D=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},N=(e,t,r,a)=>(w(e,t,"write to private field"),a?a.call(e,r):t.set(e,r),r);class P{constructor(e){D(this,I,void 0),D(this,R,void 0),N(this,I,e),N(this,R,new URL(e.url))}get5xxMessage(){return`ApiLog: 5xx error - ${C(this,R).hostname}${C(this,R).pathname}`}getAttributes(){return{hostname:C(this,R).hostname,pathname:C(this,R).pathname,search:C(this,R).search,status:C(this,I).status}}}I=new WeakMap,R=new WeakMap;var _=(e,t,r)=>new Promise((a,s)=>{var o=e=>{try{n(r.next(e))}catch(e){s(e)}},i=e=>{try{n(r.throw(e))}catch(e){s(e)}},n=e=>e.done?a(e.value):Promise.resolve(e.value).then(o,i);n((r=r.apply(e,t)).next())});function M(e){return _(this,arguments,function*({baseURL:e,body:t,headers:r,method:c,params:d,responseType:g="json",shouldRetryOnFail:v=!0,shouldRetryOnNull:f=!1,url:y}){const{fetchOptions:b,fetchUrl:E}=function({baseURL:e,body:t,headers:r,method:a,params:s,url:o}){const n=null!=a?a:h.GET,l=function(e,t){if((0,i.O)(e)&&t!==h.GET)return JSON.stringify(e)}(t,n),c=function(e){if(!(0,i.O)(e))return;const t=new Headers;for(const[r,a]of Object.entries(e))""!==r&&""!==a&&t.append(r,a);return t.entries().next().done?void 0:t}(r),d=function(e){if(!(0,i.O)(e))return;const t=new URLSearchParams;for(const[r,a]of Object.entries(e))""!==r&&""!==a&&t.append(r,a);return t.entries().next().done?void 0:t.toString()}(s),u=(0,m.K)(d)?`${e}${o}?${d}`:`${e}${o}`;return{fetchOptions:T(S(S({},l?{body:l}:{}),c?{headers:c}:{}),{method:n}),fetchUrl:u}}({baseURL:e,body:t,headers:r,method:c,params:d,url:y}),A=v?n:1,O=f?n:1;let I=0,R=0;try{for(;I<A&&R<O;){const e=yield fetch(E,b);if(!e.ok){if(!v||I>=A-1)throw new u(`Fetch error: ${E}`,{options:b,response:e});I++,yield(0,s.u)(l);continue}const t=yield k(e,g);if((0,i.O)(t)||!f)return{data:t,options:b,originalResponse:e};if(R>=O-1)throw new u(`Unexpected response format: ${E}. Expected: ${g}`,{options:b,response:e,shouldReportEmptyResponse:!0});R++,yield(0,s.u)(l)}}catch(e){if(e instanceof Error)throw e instanceof u?function(e){const{response:t,shouldReportEmptyResponse:r}=e.extra,s=r||(0,o.r)(t.status,400,500),i=(0,o.r)(t.status,500,600);if(s&&(0,a.Cp)(e),i){const e=new P(t);(0,a.$t)({attributes:e.getAttributes(),message:e.get5xxMessage()})}}(e):(0,a.Cp)(new p(`Failed to fetch: ${E}`),{extra:{message:e.message}}),e}})}function k(e,t){return _(this,null,function*(){let r;try{switch(t){case"arrayBuffer":r=yield e.arrayBuffer();break;case"blob":r=yield e.blob();break;case"formData":r=yield e.formData();break;case"json":r=yield e.json();break;case"text":r=yield e.text()}}catch(e){r=void 0}return r})}},77119:(e,t,r)=>{"use strict";r.d(t,{P:()=>c});var a=Object.defineProperty,s=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,n=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t)=>{for(var r in t||(t={}))o.call(t,r)&&n(e,r,t[r]);if(s)for(var r of s(t))i.call(t,r)&&n(e,r,t[r]);return e};function c({enAU:e,enNZ:t,enUS:r,frCA:a}){return{"en-AU":l(l({},t),e),"en-NZ":t,"en-US":l(l({},t),r),"fr-CA":l(l({},t),a)}}},77716:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={enAU:{},enNZ:JSON.parse('{"alerts.ALERT_ENABLED_PROPS_LABEL_IDS.dueEnabled":"Due soon","alerts.ALERT_ENABLED_PROPS_LABEL_IDS.overdueEnabled":"Overdue","alerts.AlertConfigCard.alertTypes.label":"Alert for","alerts.AlertConfigCard.config.delete.errorMessage":"Failed to delete","alerts.AlertConfigCard.config.delete.successMessage":"Alerts configuration successfully deleted","alerts.AlertConfigCard.confirmDelete.cancelText":"Cancel","alerts.AlertConfigCard.confirmDelete.content":"This alerts configuration is active for {fleetCount} {fleetCount, plural, one {group} other {groups}}
1 (fleets). Once deleted, you can not undo.","alerts.AlertConfigCard.confirmDelete.okText":"Delete now","alerts.AlertConfigCard.confirmDelete.title":"Are you sure you want to delete?","alerts.AlertConfigCard.confirmDisable.cancelText":"Cancel","alerts.AlertConfigCard.confirmDisable.content":"This alert configuration is active for {fleetCount} {fleetCount, plural, one {group} other {groups}} (fleets). Once disabled, you can re-enable at any time. (Can take up to 24 hours to take effect)","alerts.AlertConfigCard.confirmDisable.errorMessage":"Failed to disable alert configuration.","alerts.AlertConfigCard.confirmDisable.okText":"Disable now","alerts.AlertConfigCard.confirmDisable.successMessage":"Disabled correctly.","alerts.AlertConfigCard.confirmDisable.title":"Are you sure you want to disable?","alerts.AlertConfigCard.confirmEnable.cancelText":"Cancel","alerts.AlertConfigCard.confirmEnable.content":"This alert configuration will be active for {fleetCount} {fleetCount, plural, one {group} other {groups}} (fleets). You can disable at any time. (Can take up to 24 hours to be available in-cab for the driver)","alerts.AlertConfigCard.confirmEnable.errorMessage":"Failed to enable","alerts.AlertConfigCard.confirmEnable.okText":"Enable now","alerts.AlertConfigCard.confirmEnable.successMessage":"Enabled correctly","alerts.AlertConfigCard.confirmEnable.title":"Are you sure you want to enable?","alerts.AlertConfigCard.default.title":"SERVICE ALERTS","alerts.AlertConfigCard.disabled.label":"Disabled","alerts.AlertConfigCard.enabled.label":"Active","alerts.AlertConfigCard.errorPopup.noDeleteAccess.content":"You do not have the permission to delete.","alerts.AlertConfigCard.errorPopup.noDeleteAccess.title":"Access denied","alerts.AlertConfigCard.errorPopup.noDisableAccess.content":"You do not have the permission to disable.","alerts.AlertConfigCard.errorPopup.noDisableAccess.title":"Access denied","alerts.AlertConfigCard.errorPopup.noEnableAccess.content":"You do not have the permission to enable.","alerts.AlertConfigCard.errorPopup.noEnableAccess.title":"Access denied","alerts.AlertConfigCard.icon.eye.tooltip":"Details","alerts.AlertConfigCard.icon.trash.tooltip":"Delete","alerts.AlertConfigCard.info.alertTypes.none":"â ï¸ None selected","alerts.AlertConfigCard.info.unavailable":"Not available","alerts.AlertConfigCard.recipientGroups.count":"{count}","alerts.AlertConfigCard.recipientGroups.label":"Total groups","alerts.AlertConfigCard.serviceTypes.count":"{count} service {count, plural, one {type} other {types}}","alerts.AlertConfigCard.serviceTypes.label":"Service types","alerts.AlertConfigDrawer.info.unavailable":"Not available","alerts.component.RequiredActionPreview.content.line1.label":"Service name","alerts.component.RequiredActionPreview.content.line2.label":"Overdue by distance","alerts.component.RequiredActionPreview.header.label":"Services 1/2","alerts.component.RequiredActionPreview.primaryButton.label":"NEXT","alerts.component.RequiredActionPreview.secondaryButton.label":"PREV","alerts.component.ServicePreview.distance":"229,051 km","alerts.component.ServicePreview.dueEnabled.text":" 3 due soon services","alerts.component.ServicePreview.overdueEnabled.text":" 6 overdue services","alerts.Drawer.assetTable.link":"View in assets table","alerts.Drawer.close":"Close","alerts.Drawer.edit":"Edit","alerts.Drawer.info.alertTypes.label":"Alert for","alerts.Drawer.info.alertTypes.none":"â ï¸ No alert types are enabled","alerts.Drawer.info.alertTypes.suffix.services":"service","alerts.Drawer.info.created":"Created","alerts.Drawer.info.fleetCount.label":"Total groups","alerts.Drawer.info.fleetNames.label":"Groups recipients","alerts.Drawer.info.modified":"Modified","alerts.Drawer.showLessButton.text":"Show less","alerts.Drawer.showMoreButton.text":"Show more","alerts.Drawer.title":"Service alerts","alerts.Form.enable-service-alerts.title":"Enable service alerts","alerts.Form.RequiredActionPreview.description":"You can display a required action for the driver.","alerts.Form.RequiredActionPreview.title":"Ehubo Preview","alerts.Form.ServicePreview.description":"If the above criteria is met, the Ehubo would display these driver alerts.","alerts.Form.ServicePreview.title":"Ehubo Preview","alerts.Form.serviceStatus.error.required":"At least one service status is required","alerts.Form.submission.errorMessage":"An error occured submitting the form","alerts.FormButton.primary.label":"Save","alerts.FormButton.secondary.label":"Cancel","alerts.FormField.dueEnabled.label":"Due soon","alerts.FormField.fleets.error.required":"Recipients field is required","alerts.FormField.fleets.label":"Recipients","alerts.FormField.fleets.maxTagPlaceholder":"{count} {count, plural, one {group} other {groups}} selected","alerts.FormField.fleets.option.all":"All","alerts.FormField.fleets.placeholder":"Push alerts to these Groups (Fleet)","alerts.FormField.overdueEnabled.label":"Overdue","alerts.FormField.requiredAction.label":"Required action from driver","alerts.FormField.requiredAction.option.BE_ADVISED":"Be advised","alerts.FormField.requiredAction.option.CONTACT_OFFICE":"Contact office","alerts.FormField.requiredAction.option.DO_NOT_USE_THIS_VEHICLE":"Do not use this vehicle","alerts.FormField.requiredAction.option.TAKE_TO_LOCAL_SERVICE_PROVIDER":"Take vehicle to local service provider","alerts.FormField.serviceStatus.label":"Service Status","alerts.FormField.serviceTypes.error.required":"Service types field is required","alerts.FormField.serviceTypes.label":"Service types","alerts.FormField.serviceTypes.maxTagPlaceholder":"{count} service {count, plural, one {type} other {types}} selected","alerts.FormField.serviceTypes.option.all":"All","alerts.FormField.serviceTypes.placeholder":"Push alerts for only these services","alerts.FormPage.create.title":"Create","alerts.FormPage.modal.title":"Preview","alerts.FormPage.update.title":"Update","alerts.Page.errorPopup.noCreateAccess.content":"You do not have the permission to create.","alerts.Page.errorPopup.noCreateAccess.title":"Access denied","alerts.promptEnable.cancelText":"Enable later","alerts.promptEnable.content":"Your service alerts have been configured. Simply click Enable now to push them to your Ehubo units.","alerts.promptEnable.failureMessage":"Failed to enable","alerts.promptEnable.okText":"Enable now","alerts.promptEnable.successMessage":"Enabled correctly","alerts.promptEnable.title":"Ready to go","alerts.ServiceAlertsGetStarted.button":"Get started now","alerts.ServiceAlertsGetStarted.message":"Drivers & mechanics will now be in sync with you.{br}Enable service alerts and say goodbye to phone tag.","alerts.ServiceAlertsGetStarted.messageTitle":"Service statuses directly in the cab","alerts.ServiceAlertsPage.title":"In-cab alerts"}'),enUS:JSON.parse('{"alerts.component.ServicePreview.distance":"229,051 mi"}'),frCA:{}}},79623:(e,t,r)=>{"use strict";r.d(t,{i:()=>f});var a=r(14041),s=r(69151),o=r(51962);const i=(0,r(1454).wY)(e=>({wrapper:{display:"inline-flex",alignItems:"center",gap:e.spacing(2),minWidth:0},content:{minWidth:0,overflowWrap:"anywhere"},action:{flexShrink:0,whiteSpace:"nowrap"}}),{name:"MessageContent"}),n=({content:e,action:t})=>{const r=i();return a.createElement("div",{className:r.wrapper},a.createElement("div",{className:r.content},e),a.createElement("div",{className:r.action},t))};var l=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const h=e=>"object"==typeof e&&null!==e&&"content"in e,v=e=>{const t=e,{action:r,content:s}=t,o=((e,t)=>{var r={};for(var a in e)p.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&u)for(var a of u(e))t.indexOf(a)<0&&m.call(e,a)&&(r[a]=e[a]);return r})(t,["action","content"]);return i=((e,t)=>{for(var r in t||(t={}))p.call(t,r)&&g(e,r,t[r]);if(u)for(var r of u(t))m.call(t,r)&&g(e,r,t[r]);return e})({}
1,o),l=null==r||!1===r?{content:s}:{content:a.createElement(n,{content:s,action:r})},c(i,d(l));var i,l},f={config:e=>{s.Ay.config(e)},destroy:e=>{s.Ay.destroy(e)},error:function(e,t){return(0,o.O)(t)?s.Ay.error(e,t):h(e)?s.Ay.error(v(e)):s.Ay.error(e)},info:function(e,t){return(0,o.O)(t)?s.Ay.info(e,t):h(e)?s.Ay.info(v(e)):s.Ay.info(e)},loading:function(e,t){return(0,o.O)(t)?s.Ay.loading(e,t):h(e)?s.Ay.loading(v(e)):s.Ay.loading(e)},open:e=>s.Ay.open(v(e)),success:function(e,t){return(0,o.O)(t)?s.Ay.success(e,t):h(e)?s.Ay.success(v(e)):s.Ay.success(e)},warning:function(e,t){return(0,o.O)(t)?s.Ay.warning(e,t):h(e)?s.Ay.warning(v(e)):s.Ay.warning(e)}};f.config({top:24})},80601:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});var a=r(14041),s=r(94044),o=r(65802),i=r(16045);const n=()=>{const e=(0,s.A)();return a.useMemo(()=>{var t;return{formatDate:(t,r)=>e.formatDate(t,r).replace(/ at/g,", ").replace(/PM/g,"pm").replace(/AM/g,"am"),formatList:e.formatList,formatNumber:e.formatNumber,formattedDateTimeForFileName:({dateTime:t,timeZone:r})=>e.formatDate(t,{day:"numeric",hour:"numeric",hour12:!1,minute:"numeric",month:"short",second:"numeric",timeZone:r,timeZoneName:"short",year:"numeric"}).replace(/(:| )/g,"_").replace(/,/g,"").replace(/at_/g,""),locale:e.locale,messages:e.messages,onError:e.onError,t:t=>{if((0,o.K)(t)&&""!==t)return e.formatMessage({id:t});if(t&&"id"in t){const{defaultMessage:r,id:a,values:s}=t;if((0,o.K)(a)&&""!==a)return e.formatMessage({defaultMessage:r,id:a},s)}return""},timeZone:null!=(t=e.timeZone)?t:i.oT}},[e])}},81492:(e,t,r)=>{"use strict";r.d(t,{Ol:()=>i,og:()=>o,qU:()=>s});var a=r(65802);const s=!1,o=!1,i=({feature:e,whitelistedItems:t,item:r})=>{const s="true"===e||"boolean"==typeof e&&e;if(s&&(0,a.K)(t)){const e=t.toLowerCase().split(",");return!!(0,a.K)(r)&&e.includes(r.toLowerCase())}return s}},82062:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var a=r(24134),s=r(28871);const o=({key:e,useLocalStorage:t=!0,value:r})=>{if((0,a.I)(e.trim()))return!1;try{const a=t?localStorage:sessionStorage,o=JSON.stringify(r);return!(0,s.b)(o)&&(a.setItem(e,o),!0)}catch(e){return!1}}},82162:(e,t,r)=>{"use strict";r.d(t,{T:()=>Y});var a=r(39552),s=r(76787),o=r(40797),i=r(13023),n=r(16045),l=r(18198),c=r(14800),d=r(71680),u=r(71048),p=r(82306),m=r(59623),g=r(16767),h=Object.defineProperty,v=Object.defineProperties,f=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,A=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const O=l.$n.CORE,S=e=>e[O].notifications,T=e=>e[O].user,I=e=>e[O].orgSwitcher,R=e=>!!e[O].userImpersonation.impersonatedUser,w=(0,a.Mz)(I,R,(e,t)=>!t&&e.currentSelectedOrg!==m.uE),C=(0,a.Mz)(e=>{const{currentSelectedOrg:t}=e[O].orgSwitcher;if((0,g.wP)(t))return t.locale},e=>{var t;return null==(t=e[O].user.profile)?void 0:t.organisationLocale},(e,t)=>(0,c.J)(e||t)),D=(0,a.Mz)(e=>{const{currentSelectedOrg:t}=e[O].orgSwitcher;if((0,g.wP)(t))return t.timezone},e=>{var t;return null==(t=e[O].user.profile)?void 0:t.organisationTimeZone},(e,t)=>e||t||n.oT),N=(0,a.Mz)(e=>e[O].orgSwitcher.currentSelectedOrg,T,D,(e,t,r)=>{const{profile:a}=t,s=e===m.uE;return{organisationId:s&&(null==a?void 0:a.organisationId)||(0,g.wP)(e)&&(null==e?void 0:e.gid)||"",organisationName:s&&(null==a?void 0:a.organisationName)||(0,g.wP)(e)&&(null==e?void 0:e.name)||"",isNewZealandOrganisation:r===n.TA.NZ[0].value}}),P=(0,a.Mz)(T,e=>{const{profile:t}=e;if(!t)return;const r=t,{firstName:a="",lastName:s="",organisationCountry:i,organisationId:n,organisationTimeZone:l,organisationLocale:c,organisationName:d}=r,u=((e,t)=>{var r={};for(var a in e)b.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&y)for(var a of y(e))t.indexOf(a)<0&&E.call(e,a)&&(r[a]=e[a]);return r})(r,["firstName","lastName","organisationCountry","organisationId","organisationTimeZone","organisationLocale","organisationName"]),p=(a.slice(0,1)+s.slice(0,1)).toUpperCase();return m=((e,t)=>{for(var r in t||(t={}))b.call(t,r)&&A(e,r,t[r]);if(y)for(var r of y(t))E.call(t,r)&&A(e,r,t[r]);return e})({firstName:a,fullName:`${(0,o.Z)(a)} ${(0,o.Z)(s)}`.trim(),initials:p,lastName:s},u),v(m,f({userOrganisationCountry:i,userOrganisationId:n,userOrganisationTimeZone:l,userOrganisationLocale:c,userOrganisationName:d}));var m}),_=e=>e[O].userImpersonation,M=(0,a.Mz)(T,_,(e,t)=>{var r,a;return(null==(r=t.impersonatedUser)?void 0:r.userName)||(null==(a=e.profile)?void 0:a.username)}),k=(0,a.Mz)(T,_,(e,t)=>{var r,a,s;
1return null!=(s=null==(r=t.impersonatedUser)?void 0:r.gid)?s:null==(a=e.profile)?void 0:a.userId}),U=(0,a.Mz)(S,e=>(null==e?void 0:e.filter(({type:e})=>"OUTAGE"===e))||[]),L=e=>e[O].user.abilities,F=(0,a.Mz)(S,e=>{var t;const r=null==e?void 0:e.filter(e=>"messages"in e),{messages:a=[],totalUnreadMessages:s=0}=null!=(t=null==r?void 0:r[0])?t:{};return{messages:a,totalUnreadMessages:s}}),x=e=>e[O].groupsHierarchy,V=(0,a.Mz)(x,({result:e})=>(0,i.U)(null==e?void 0:e.fleets,["name"])),G=(0,a.Mz)(x,({request:e})=>(null==e?void 0:e.status)===s.IQ.FAILED),q=(0,a.Mz)(x,({request:e})=>(null==e?void 0:e.status)===s.IQ.PENDING),H=(0,a.Mz)(x,({request:e})=>(null==e?void 0:e.status)===s.IQ.SUCCESS),B=(0,a.Mz)(x,({result:e})=>(0,p.H)(null==e?void 0:e.hierarchyTree,null==e?void 0:e.fleets)),j=(0,a.Mz)(B,V,(e,t)=>(0,u.n)(e,t)),Y={getCanUserOrgSwitch:(0,a.Mz)(L,e=>(0,d.z)(l.ay.SWITCH,l.q7.ORGANISATION,e)),getCurrentUserId:k,getCurrentUsername:M,getDisabledTimeZone:e=>e[O].disabledTimeZone,getFleets:V,getGroupsHierarchy:x,getGroupsHierarchyStructure:B,getIPAddressError:e=>!!e[O].errors.find(e=>e===m.Ok.INCORRECT_IP_ADDRESS),getInterimSession:e=>e[O].user.interimSession,getIsMenuCollapsed:e=>!!e[O].layout.isMenuCollapsed,getIsMobileMenuCollapsed:e=>!!e[O].layout.isMobileMenuCollapsed,getIsTabletMenuCollapsed:e=>!!e[O].layout.isTabletMenuCollapsed,getIsUserImpersonated:R,getIsUserOrgSwitched:w,getLoginAuthError:e=>!!e[O].errors.find(e=>e===m.Ok.LOGIN_NOT_AUTHORISED),getMessageNotifications:F,getNotifications:S,getOrgSwitcher:I,getOrgSwitcherSelectedOrgForLocalStorage:e=>e[O].orgSwitcher.selectedOrgForLocalStorage,getOrganisationLocale:C,getOrganisationTimeZone:D,getOrphanFleets:j,getOutageNotifications:U,getPageTimeZoneResult:e=>e[O].pageTimeZone.result,isPageTimeZoneLoading:e=>e[O].pageTimeZone.request.status===s.IQ.PENDING,hasPageTimeZoneFailedToFetch:e=>e[O].pageTimeZone.request.status===s.IQ.FAILED,getPasswordResetError:e=>e[O].user.passwordResetError,getPasswordResetRequired:e=>e[O].user.isPasswordResetRequired,getPasswordResetSubmitted:e=>e[O].user.passwordResetSubmitted,getPasswordResetSuccess:e=>e[O].user.passwordResetSuccess,getSelectedOrganisation:N,getSignupState:e=>e[O].userSignup,getTokenUserPreferences:e=>{var t;return null==(t=e[O].user.preferences)?void 0:t.tokenPreferences},getUser:T,getUserAbilities:L,getUserImpersonation:_,getUserIsAuthenticated:e=>e[O].user.isAuthenticated,getUserIsAuthenticating:e=>e[O].user.isAuthenticating,getUserPreferences:e=>e[O].user.preferences,getUserProfile:P,hasHierarchyLoadingFailed:G,isHierarchyLoaded:H,isHierarchyLoading:q}},82306:(e,t,r)=>{"use strict";r.d(t,{H:()=>u});var a=Object.defineProperty,s=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))n.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&c(e,r,t[r]);return e};const u=(e,t)=>{const r=r=>e.find(e=>e.id===r)||t.find(e=>e.id===r),a=t=>{var i;const n=(null==(i=e.find(e=>e.id===t.id))?void 0:i.childrenIds)||[],l=null==n?void 0:n.reduce((e,t)=>{const s=r(t);return s&&e.push(a(s)),e},[]);return l?(c=d({},t),s(c,o({children:l}))):d({},t);var c},i=null==e?void 0:e.filter(t=>!(null==e?void 0:e.some(e=>{var r;return null==(r=e.childrenIds)?void 0:r.includes(t.id)})));return(null==i?void 0:i.reduce((e,t)=>{const s=r(t.id);return s&&e.push(a(s)),e},[]))||[]}},82479:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var a=r(70541),s=r(62009),o=r(82162);const i=()=>{const e=(0,a.d4)(o.T.getIsUserOrgSwitched),{organisationId:t}=(0,a.d4)(o.T.getSelectedOrganisation),r=(0,a.d4)(o.T.getCurrentUserId),i=(0,s.F)("common.timeZoneDropdown","timeZoneDropdownWhitelistOrganisation",t),n=(0,s.F)("common.timeZoneDropdown",`timeZoneDropdownWhitelistUser.${t}`,r);return!!e||!(!i||!n)}},82729:(e,t,r)=>{"use strict";function a(e){return new RegExp("^([a-z]+://|//)","i").test(e)}r.d(t,{n:()=>a})},83381:(e,t,r)=>{"use strict";r.d(t,{U:()=>f,G:()=>C});var a=r(21740),s=r(90645),o=r(75024),i=r(24392),n=r(46587),l=r(80729),c=r(51962),d=r(24134),u=Object.defineProperty,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,h=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>
1{for(var r in t||(t={}))m.call(t,r)&&h(e,r,t[r]);if(p)for(var r of p(t))g.call(t,r)&&h(e,r,t[r]);return e};function f({initialDomains:e=[],initialState:t={},middlewares:r=[]}){const u=(0,o.Ay)(),p=function(e){if((0,d.I)(e))return{__DO_NOT_USE_emptyReducer:()=>({})};const t={};return e.forEach(e=>{const r=e.reducer;Object.entries(r).forEach(([e,r])=>{t[e]=r})}),t}(e),m=function(e){const t=e.map(e=>e.sagaWatcher).filter(c.O).map(e=>(0,i.Zy)(e));return function*(){yield(0,i.Q7)(t)}}(e),g=function(e){const t=(0,s.Tw)(...e),r=[(0,n.Sl)(),t].filter(c.O);return(0,l.V)()?(0,a.tY)(...r):(0,s.Zz)(...r)}([...r,u]),h=(0,s.HY)(p),f=(0,s.y$)(h,t,g);return f.asyncReducers={},f.injectReducer=(e,t)=>{f.asyncReducers[e]||p[e]||(f.asyncReducers[e]=t,f.replaceReducer((0,s.HY)(v(v({},p),f.asyncReducers))))},f.asyncSagas={},f.injectSaga=(e,t)=>{!(0,c.O)(t)||f.asyncSagas[e]||p[e]||(f.asyncSagas[e]=t,u.run(t))},f.injectInitialDomains=e=>{e.forEach(({key:e,reducer:t,sagaWatcher:r})=>{(0,c.O)(e)&&((0,c.O)(t)&&Object.values(t).forEach(t=>{f.injectReducer(e,t)}),(0,c.O)(r)&&f.injectSaga(e,r))})},u.run(m),{sagaMiddleware:u,store:f}}var y=r(14041),b=r(70541),E=r(77119),A=r(80601),O=r(19615),S=Object.defineProperty,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,w=(e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const C=({key:e,reducer:t,reducers:r,saga:a,translations:s})=>o=>{const i=s&&(0,E.P)(s),n="object"==typeof o&&y.isValidElement(o);return function(s){const l=(0,b.Pj)(),{locale:d,messages:u}=(0,A.t)(),[p,m]=(0,y.useState)(!1);return(0,O.y)(()=>{i&&Object.assign(u,i[d]),(0,c.O)(l.asyncReducers[e])||(t&&l.injectReducer(e,t),r&&Object.entries(r).forEach(([e,t])=>{l.injectReducer(e,t)}),a&&l.injectSaga(e,a)),m(!0)}),n?p?y.createElement(y.Fragment,null,y.cloneElement(o,s)):null:p?y.createElement(o,((e,t)=>{for(var r in t||(t={}))I.call(t,r)&&w(e,r,t[r]);if(T)for(var r of T(t))R.call(t,r)&&w(e,r,t[r]);return e})({},s)):null}}},83593:(e,t,r)=>{"use strict";r.d(t,{D:()=>o});var a=r(74391),s=r(3617);const o=()=>{var e;return null!=(e=(0,a.A)())?e:s.T}},86973:()=>{},87054:(e,t,r)=>{"use strict";function a(e){return"number"==typeof e&&Number.isFinite(e)}r.d(t,{E:()=>a})},89071:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});const a=e=>{const t=e<0?"-":"";return e>-10&&e<10?`${t}0${Math.abs(e)}`:`${t}${Math.abs(e)}`}},89590:(e,t,r)=>{"use strict";r.d(t,{AL:()=>s,hh:()=>o,mQ:()=>i,zm:()=>a});const a={status:null,error:void 0},s={byId:{},idList:[],request:a,result:{totalRecords:0,pageNumber:0,data:[]}},o={request:a,result:[]},i={request:a,result:{}}},90868:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={enAU:{},enNZ:JSON.parse('{"logbook.drawer.details.driver.label.groups":"Groups","logbook.drawer.details.driver.label.mobile":"Mobile","logbook.drawer.details.driver.totalHours.overWorkWarning":"Period overwork","logbook.drawer.details.driver.totalHours.periodStartTimeSince":"since","logbook.drawer.details.driver.totalHours.workOnDay":"Total hours worked on day","logbook.drawer.details.driver.totalHours.workOnPeriod":"Total hours worked current period","logbook.events.changelog.change.details":"{changeTime} the driver changed the {eventKind} {change}","logbook.events.changelog.empty.message":"Could not find any changes for this event","logbook.events.changelog.location.change.text":"location from {oldLocation} to {newLocation}","logbook.events.changelog.multiple.change.text":"{locationChange} and {startTimeChange}","logbook.events.changelog.panel.header":"Changelog","logbook.events.changelog.startTime.change.text":"time from {oldTime} to {newTime}","logbook.events.table.legend.hide.edits.button.label":"Hide all edits","logbook.events.table.legend.manual.edits.label":"Manual edits","logbook.events.table.legend.previous.day.label":"Started on previous day","logbook.events.table.legend.view.edits.button.label":"View all edits","logbook.fetch.error.message":"Something went wrong. Please refresh the page.","logbook.filter.driver.allItems":"All drivers","logbook.filter.driver.placeholder":"Select drivers","logbook.filter.group.allItems":"All groups","logbook.filter.group.placeholder":"Select groups","logbook.filter.violation.allItems":"All violations","logbook.filter.violation.placeholder":"Select violations","logbook.header.tab.exceptions":"Time alignment","logbook.header.tab.insights":"Insights","logbook.header.tab.records":"Records","logbook.header.tab.timesheets":"Timesheets","logbook.header.tab.violations":"Violations","logbook.header.title":"Logbook","logbook.insights.poweredBy":"Dashboard powered by ","logbook.reports.export.action.export":"Export","logbook.reports.csvexport.dateRangeError":"Please select a maximum one month period for export","logbook.reports.csvexport.error":"Export failed. Please try again or c
1ontact support","logbook.reports.csvexport.error.retry":"Export failed. Please try again.","logbook.reports.export.error.retry":"Export failed. Please try again.","logbook.reports.csvexport.success":"CSV Export Success","logbook.table.cell.driver.comment.title":"Driver comment:","logbook.table.cell.supervisor.comment.add.button.text":"Add","logbook.table.cell.supervisor.comment.button.text":"Edit","logbook.table.cell.supervisor.comment.edit.label":"Supervisor comment:","logbook.table.cell.supervisor.comment.edit.button.cancel.text":"Cancel","logbook.table.cell.supervisor.comment.edit.button.save.text":"Save","logbook.table.cell.supervisor.comment.edit.button.saving.text":"Saving","logbook.timesheets.column.drive.title":"Drive","logbook.timesheets.column.driverName.title":"Drive Name","logbook.timesheets.column.rest.title":"Rest","logbook.timesheets.column.total.title":"Total work","logbook.timesheets.column.work.title":"Work","logbook.timesheets.drawer.timesheet.drive":"Drive","logbook.timesheets.drawer.timesheet.finish":"Finish","logbook.timesheets.drawer.timesheet.notes":"Driver notes","logbook.timesheets.drawer.timesheet.rest":"Rest","logbook.timesheets.drawer.timesheet.start":"Start","logbook.timesheets.drawer.timesheet.totalWork":"Total work time {duration}","logbook.timesheets.drawer.timesheet.work":"Work","logbook.timesheets.drawer.timesheetList.empty":"No timesheets submitted for period","logbook.timesheets.drawer.timesheetsSection.subtitle":"{count} {count, plural, one {timesheet} other {timesheets}} submitted","logbook.timesheets.drawer.timesheetsSection.title":"Timesheets","logbook.timesheets.drawer.totals.drive":"Drive","logbook.timesheets.drawer.totals.totalRest":"Rest","logbook.timesheets.drawer.totals.totalWork":"Total Work","logbook.timesheets.drawer.totals.work":"Work","logbook.timesheets.drawer.period.selected":"{from} - {to}","logbook.timesheets.drawer.period.title":"Period selected","logbook.timesheets.filters.driver.mobileTitle":"Drivers","logbook.timesheets.filters.group.mobileTitle":"Groups","logbook.timesheets.requestError.generic":"There was an unkown error fetching timesheets","logbook.timesheets.requestError.max31Days":"Please select a maximum 31 day period","logbook.timesheets.shift.outsideDateRange":"Shift start day is outside the selected range","logbook.timesheets.table.noResults":"No timesheets found"}'),enUS:{},frCA:{}}},90947:(e,t,r)=>{"use strict";r.d(t,{G:()=>s});var a=r(27876);const s=()=>
1{if(!(0,a.d)())return!1;const e=globalThis.location.hostname;return"int.coretex.com"===e||e.endsWith(".int.coretex.com")}},93753:(e,t,r)=>{"use strict";r.d(t,{A6:()=>Ue,Ae:()=>ye,BW:()=>y,Cl:()=>Oe,DB:()=>O,Dd:()=>te,Dw:()=>Pe,EN:()=>re,Ed:()=>ne,Fr:()=>Fe,Fu:()=>ke,GL:()=>X,Gb:()=>ee,I$:()=>C,JD:()=>L,J_:()=>de,Jx:()=>U,Kq:()=>w,Kt:()=>x,LM:()=>he,Mj:()=>Se,NS:()=>W,Nv:()=>ge,OI:()=>D,Of:()=>Z,P4:()=>B,Sd:()=>V,TH:()=>Ne,Ue:()=>T,VU:()=>xe,WE:()=>fe,WO:()=>P,Ws:()=>Ie,Xn:()=>Re,YT:()=>q,Yn:()=>ie,Yo:()=>De,ZH:()=>_,ZI:()=>Ae,Zo:()=>Te,__:()=>ve,_b:()=>k,av:()=>G,d:()=>Me,d5:()=>v,dI:()=>we,db:()=>R,eP:()=>N,gW:()=>be,gi:()=>ae,hm:()=>H,kB:()=>A,ly:()=>f,mc:()=>ue,ni:()=>F,o4:()=>S,oH:()=>Ce,oO:()=>M,op:()=>le,ot:()=>se,q8:()=>pe,qD:()=>E,sg:()=>oe,t2:()=>Le,tf:()=>b,tk:()=>K,wS:()=>j,we:()=>me,xI:()=>Ee,y4:()=>Y,yM:()=>ce,yU:()=>I,yZ:()=>_e,yc:()=>Q});var a,s,o,i=r(90947),n=r(28380),l=r(3617),c=r(18198),d=Object.defineProperty,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&g(e,r,t[r]);if(u)for(var r of u(t))m.call(t,r)&&g(e,r,t[r]);return e};const v=2147483647,f=-2147483648,y=["/login","/logout","/unauthorised"],b={DRIVER:"DRIVER",FLEET:"FLEET",MACHINE:"MACHINE"},E="defaultPage",A="readNotifications",O="selectedTimeZone",S="frequentlyUsedTimeZones",T={NZTA:{showDateRange:!0,titleId:"myeroad.OutageNotification.nzta.title"},RUCPURCHASE:{showDateRange:!0,titleId:"myeroad.OutageNotification.rucPurchase.title"},RUCHO:{showDateRange:!0,titleId:"myeroad.OutageNotification.rucho.title"},MESSAGE:{showDateRange:!1,titleId:"myeroad.OutageNotification.message.title"},SYSTEM:{showDateRange:!0,titleId:"myeroad.OutageNotification.system.title"}},I=864e5,R=!0,w=!1,C=null!=(o=null==(s=null==(a=window.navigator)?void 0:a.userAgent)?void 0:s.includes("MyEROADApp"))&&o,D="auth-layout-content",N="depotIframe",P="orgSwitcherIncludeInactive",_="orgSwitcherSelectedOrg",M="timeZone",k="userSwitcherImpersonatedUser",U="firstName",L="lastName",F="EROAD.ClientId.overwrite",x="IDPURL",V="IDPURL.AZURE",G="IDP.ISSUER",q=e=>`CognitoIdentityServiceProvider.${e}.LastAuthUser`,H=({clientId:e,lastAuthUser:t})=>`CognitoIdentityServiceProvider.${e}.${t}.abilities`,B=1048576,j=window.location.pathname.includes("/Portal/"),Y="userPreferences",z=(0,i.G)()?"https://apac-api-my.int.coretex.com/replay/v2":"https://api-my.eroad.co.nz/replay/v2",W=(null==z?void 0:z.includes(".co.nz"))&&window.location.hostname.includes(".com.au")?z.replace(".co.nz",".com.au"):z,Z={response:{data:{errors:[{code:"0",message:"Something went wrong"}]}}},$={[c.pN.ASSET_TRACKER]:"ebox.make.assettracker.label",[c.pN.CORE_HUB]:"ebox.make.corehub.label",[c.pN.DASHCAM]:"ebox.make.dashcam.label",[c.pN.DIGITAL_MATTER_G_62]:"ebox.make.digitalmatter.g62.label",[c.pN.DIGITAL_MATTER_G_70]:"ebox.make.digitalmatter.g70.label",[c.pN.DIGITAL_MATTER_OYSTER_2]:"ebox.make.digitalmatter.oyster2.label",[c.pN.DIGITAL_MATTER_OYSTER_3]:"ebox.make.digitalmatter.oyster3.label",[c.pN.EHUBO]:"ebox.make.ehubo.label",[c.pN.EHUBOLITE]:"ebox.make.ehubolite.label",[c.pN.EHUBO_2]:"ebox.make.ehubo2.label",[c.pN.ELOCATE]:"ebox.make.elocate.label",[c.pN.ETRACK_BATTERY]:"ebox.make.etrack.battery.label",[c.pN.ETRACK_WIRED]:"ebox.make.etrack.wired.label",[c.pN.PCT_ASSET_TRACK]:"ebox.make.pct.assettrack.label",[c.pN.PCT_EZ_TRAC]:"ebox.make.pct.eztrack.label",[c.pN.PCT_SOLAR_NET]:"ebox.make.pct.solarnet.label",[c.pN.PCT_STEALTH_NET]:"ebox.make.pct.stealthnet.label",[c.pN.THIRD_PARTY_DEVICE]:"ebox.make.thirdpartydevice.label",[c.pN.TUBO]:"ebox.make.tubo.label",[c.pN.WHERE]:"ebox.make.wheretag.label"},J={[c.yO.G120]:"ebox.make.thirdpartydevice.g120.label",[c.yO.DM_G70_BLE]:"ebox.make.thirdpartydevice.g70ble.label",[c.yO.Geotab]:"ebox.make.thirdpartydevice.geotab.label",[c.yO.STREAMAX]:"ebox.make.thirdpartydevice.streammax.label",[c.yO.CoreHubTubo]:"ebox.make.thirdpartydevice.corehub-tubo.label"},K=h(h({},(0,n.c)(c.pN,["THIRD_PARTY_DEVICE"])),c.yO),Q=h(h({},$),J),X={USER_FILLED:"USER_FILLED",PRE_FILLED:"PRE_FILLED"},ee={CONNECTED:"CONNECTED",DISCONNECTED:"DISCONNECTED",IGNITION_ON:"IGNITION_ON",IGNITION_OFF:"IGNITION_OFF"},te={WHERE:"Where"},re={ASSET:"ASSET",TRAILER:"TRAILER",VEHICLE:"VEHICLE"},ae={SATELLITE:"satellite",EBOX:"ebox"},se={FAULT:"FAULT",WARNING:"WARNING"},oe=/[`!@#$%^&*()+=\[\]{};':"\\|,.<>\/?~]/,ie="https://",ne="/replay/events/",le="/replay",ce={SUCCEEDED:"SUCCEEDED",PENDING:"PENDING",PENDING_CAMERA_OFFLINE:"PENDING_CAMERA_OFFLINE",PENDING_UPLOADING_FOOTAGE:"PEND
1ING_UPLOADING_FOOTAGE",FAILED_VIDEO_OVERWRITTEN:"FAILED_VIDEO_OVERWRITTEN",FAILED_ERROR_PROCESSING:"FAILED_ERROR_PROCESSING",FAILED:"FAILED"},de={[ce.PENDING]:{messageId:"replay.event.requestVideo.statuses.pending",shortMessageId:"replay.event.requestVideo.statuses.pending",color:l.T.colors.decorativeBlueDark},[ce.PENDING_CAMERA_OFFLINE]:{messageId:"replay.event.requestVideo.statuses.pendingCameraOffline",shortMessageId:"replay.event.requestVideo.statuses.pending",color:l.T.colors.decorativeBlueDark,popover:{enabled:!0,messageId:"replay.event.requestVideo.statuses.pendingCameraOffline.popover"}},[ce.PENDING_UPLOADING_FOOTAGE]:{messageId:"replay.event.requestVideo.statuses.pendingUploadingFootage",shortMessageId:"replay.event.requestVideo.statuses.pending",color:l.T.colors.decorativeBlueDark},[ce.FAILED_VIDEO_OVERWRITTEN]:{messageId:"replay.event.requestVideo.statuses.failedVideoOverwritten",shortMessageId:"replay.event.requestVideo.statuses.failed",color:l.T.colors.ragRed},[ce.FAILED_ERROR_PROCESSING]:{messageId:"replay.event.requestVideo.statuses.failedErrorProcessing",shortMessageId:"replay.event.requestVideo.statuses.failed",color:l.T.colors.ragRed},[ce.FAILED]:{messageId:"replay.event.requestVideo.statuses.failed",shortMessageId:"replay.event.requestVideo.statuses.failed",color:l.T.colors.ragRed,popover:{enabled:!0}}},ue={bottom:0,left:0,right:0,top:0},pe={[c.Aq.FATIGUE]:{type:c.Aq.FATIGUE,messageId:"replay.event.list.filters.eventType.fatigue",investigationPriority:0},[c.Aq.DISTRACTION]:{type:c.Aq.DISTRACTION,messageId:"replay.event.list.filters.eventType.distraction",investigationPriority:0},[c.Aq.FOV_EXCEPTION]:{type:c.Aq.FOV_EXCEPTION,messageId:"replay.event.list.filters.eventType.fovException",investigationPriority:0}},me={[c.Aq.HARSH_ACCELERATION]:{type:c.Aq.HARSH_ACCELERATION,messageId:"replay.event.list.filters.eventType.harshAcceleration",investigationPriority:2},[c.Aq.HARSH_BRAKING]:{type:c.Aq.HARSH_BRAKING,messageId:"replay.event.list.filters.eventType.harshBraking",investigationPriority:1},[c.Aq.SHARP_CORNERING]:{type:c.Aq.SHARP_CORNERING,messageId:"replay.event.list.filters.eventType.sharpCornering",investigationPriority:3},[c.Aq.MANUAL]:{type:c.Aq.MANUAL,messageId:"replay.event.list.filters.eventType.manual",investigationPriority:4},[c.Aq.PRIORITY_ALERT]:{type:c.Aq.PRIORITY_ALERT,messageId:"replay.event.list.filters.eventType.priorityAlert",investigationPriority:4},[c.Aq.REQUEST]:{type:c.Aq.REQUEST,messageId:"replay.event.list.filters.eventType.request",investigationPriority:5},[c.Aq.AI]:{type:c.Aq.AI,messageId:"replay.event.list.filters.eventType.ai",investigationPriority:6}},ge={[c.Aq.CARA]:{type:c.Aq.CARA,messageId:"replay.event.list.filters.eventType.cara",investigationPriority:0}},he=h(h(h({},me),pe),ge),ve={[c.Zt.EVENT_TRIGGER]:{type:c.Zt.EVENT_TRIGGER,color:l.T.colors.onsurfaceCriticalRed}},fe={JOURNEY_EVENT_TYPE_ID_IGNITION_ON:40,JOURNEY_EVENT_TYPE_ID_IGNITION_OFF:41,JOURNEY_EVENT_TYPE_ID_HARSH_BRAKING:56,JOURNEY_EVENT_TYPE_ID_HARSH_DECELERATION:58,JOURNEY_EVENT_TYPE_ID_HARD_CORNERING:59,JOURNEY_EVENT_TYPE_ID_HARSH_ACCELERATION:60,JOURNEY_EVENT_TYPE_ID_OVERWORK_VIOLATION:177},ye={0:"Unexpected Avr Reset Detected",1:"Tamper Detected",2:"Hw Fault Detected",3:"Avr Assert Notify",4:"Tc65 Assert Notify",5:"Lockup Detected",6:"Avr Checksum Fail",7:"Event Log Overflow",8:"General Debug Event",9:"Tamper Alert",10:"Avr System State Change",11:"Avr Motion State Change",12:"Avr Peripheral Reset",13:"Install Complete",14:"Install Failed",15:"Expected Avr Reset Detected",16:"External Power Applied",17:"External Power Removed",18:"Parameter Modified",19:"Entering Bootloader",20:"Calibration Coeff Change",21:"Calibration Statistics Notify",22:"Calibration Warning",23:"Accelerometer Statistics Notify",24:"Tamper7 Limit Has Been Set",25:"Excessive Moving Time No Gps",26:"Long Time Without Calibration Fix",27:"Surpressed Tamper",30:"Gps Fix Status Update",32:"Updated location",33:"Gps Antenna State Change",34:"Distance Estimate Since Tamper",35:"Turning",36:"Degraded Mode Start",37:"Degraded Mode End",[fe.JOURNEY_EVENT_TYPE_ID_IGNITION_ON]:"Ignition On",[fe.JOURNEY_EVENT_TYPE_ID_IGNITION_OFF]:"Ignition Off",42:"Vehicle Stopped",43:"Vehicle Moving",44:"Trailer Connect",45:"Trailer Disconnect",46:"Piggy Back Mode Enter",47:"Piggy Back Mode Exit",48:"Idle",49:"{DIGITAL_INPUT}",50:"{DRIVER_NAME} Logged In",51:"{DRIVER_NAME} Logged Out",52:"No Driver Logged In",53:"Driver Invalid",54:"{DRIVER_NAME} Disconnected",55:"Driving Without Seatbelt",[fe.JOURNEY_EVENT_TYPE_ID_HARSH_BRAKING]:"Harsh Braking Alert",57:"Configuration Change",[fe.JOURNEY_EVENT_TYPE_ID_HARSH_DECELERATION]:"Harsh Braking Alert",[fe.JOURNEY_EVENT_TYPE_ID_HARD_CORNERING]:"Hard Cornering Alert",[fe.JOURNEY_EVENT_TYPE_ID_HARSH_ACCELERATION]:"Harsh Acceleration Alert",61:"Temperature Warning",62:"Io Expander Data",70:"Modem Status Upd
1ate",72:"Modem Gprs State Change",73:"Modem Cell Site Change",80:"Ruc Licence Warning",81:"Ruc Licence Error",90:"Enter {GEOFENCE_NAME}",91:"Exit {GEOFENCE_NAME}",100:"Tamper Reset Data 1",101:"Tamper Reset Data 2",110:"Data Stack Warning",111:"Return Stack Warning",112:"Eeprom Write Timeout",113:"Eeprom Read Timeout",114:"Modem Protocol Failure",120:"Long Moving Time No Calibration",130:"Daily Statistics 1",131:"Daily Statistics 2",132:"Daily Statistics 3",133:"Daily Statistics 4",134:"Daily Statistics 5",135:"Daily Statistics 6",136:"Daily Statistics 7",137:"Daily Statistics 8",138:"Daily Statistics 9",139:"Daily Statistics 10",140:"Daily Statistics 11",141:"Daily Statistics 12",150:"Bootloader Time Warning",151:"Bootloader Odo Warning",160:"Display Error",161:"Acceleration Detected Whilst Stopped",168:"BoL (Bill of Lading)",169:"Fuel Entry",170:"ECM Source Update",171:"Odometer Sync",172:"Engine Hour Sync",173:"FBT (Fringe Benefit Tax)",174:"Private Mode On",175:"Private Mode Off",[fe.JOURNEY_EVENT_TYPE_ID_OVERWORK_VIOLATION]:"Overwork Violation",300:"Refuel",301:"State Line Crossing",302:"Virtual Speed Camera"},be="{DIGITAL_INPUT}",Ee="{GEOFENCE_NAME}",Ae="{DRIVER_NAME}",Oe={BELOW_BREAKPOINT_XL:.18,BELOW_BREAKPOINT_LG:.15,BELOW_BREAKPOINT_MD:.2,BELOW_BREAKPOINT_SM:.25},Se={ETA:1e3,GEOFENCE:999},Te={SUCCEEDED:{color:l.T.colors.decorativeBlue},PENDING:{color:l.T.colors.decorativeBlue,hatch:!0},PENDING_CAMERA_OFFLINE:{color:l.T.colors.decorativeBlue,hatch:!0},PENDING_UPLOADING_FOOTAGE:{color:l.T.colors.decorativeBlue,hatch:!0},FAILED_ERROR_PROCESSING:{color:l.T.colors.surfaceBlueHover,hatch:!0},FAILED_VIDEO_OVERWRITTEN:{color:l.T.colors.surfaceBlueHover,hatch:!0},FAILED:{color:l.T.colors.surfaceBlueHover,hatch:!0}},Ie={color:l.T.colors.surfaceBlueHover},Re="en-NZ",we=["en-NZ","en-AU","en-US","fr-CA"],Ce={PRODUCT_NAMES:{CLARITY_LOCATE:"CLARITY_LOCATE",CLARITY_GET:"CLARITY_GET",PLAN_SOLO_DASHCAM:"Plan_Solo_Dashcam",AO_DASHCAM_CAM:"AO_DASHCAM_CAM",CLARITY_GET_SOLO_PROMO:"CLARITY_GET_SOLO_PROMO",CLARITY_EDGE_SOLO:"Edge_Solo_AI",CLARITY_EDGE_CONNECTED:"Edge_AI",CLARITY_EDGE_NON_AI:"Edge"},PLAN_NAMES:{PLAN_SOLO_DASHCAM_FRONT:"Plan_Solo_Dashcam_Front",PLAN_SOLO_DASHCAM_DUAL:"Plan_Solo_Dashcam_Dual",AO_DASHCAM_FRONT_CAM:"AO_DASHCAM_FRONT_CAM",AO_DASHCAM_DUAL_CAM:"AO_DASHCAM_DUAL_CAM",CLARITY_GET_FRONT:"CLARITY_GET_FRONT",CLARITY_GET_DUAL:"CLARITY_GET_DUAL",CLARITY_GET_SOLO_PROMO_FRONT:"CLARITY_GET_SOLO_PROMO_FRONT",CLARITY_GET_SOLO_PROMO_DUAL:"CLARITY_GET_SOLO_PROMO_DUAL",CLARITY_LOCATE:"CLARITY_LOCATE",CLARITY_EDGE_CONNECTED_AI_FRONT:"Edge_Front_AI",CLARITY_EDGE_CONNECTED_AI_DUAL:"Edge_Dual_AI",CLARITY_EDGE_SOLO_AI_FRONT:"Edge_Solo_Front_AI",CLARITY_EDGE_SOLO_AI_DUAL:"Edge_Solo_Dual_AI",CLARITY_EDGE_NON_AI_DUAL:"Edge_Dual",CLARITY_EDGE_NON_AI_FRONT:"Edge_Front"},ADDON_NAMES:{CLARITY_SOLO_DRIVER_LOGON:"AO_ClaritySolo_DriverLogOn",CLARITY_EDGE_FATIGUE_CAMERA:"AO_Fatigue",CLARITY_EDGE_DUAL_FATIGUE_CAMERA:"AO_Dual_Fatigue"}},De={CLARITY:"dashcams.enum.model.clarity",CLARITY_EDGE:"dashcams.enum.model.clarityEdge"},Ne={[Ce.PRODUCT_NAMES.PLAN_SOLO_DASHCAM]:{recordingPlans:[Ce.PLAN_NAMES.PLAN_SOLO_DASHCAM_FRONT,Ce.PLAN_NAMES.PLAN_SOLO_DASHCAM_DUAL],planInfoMessageId:"dashcams.modal.products.label.claritySolo",productNameMessageId:"dashcams.enum.model.solo"},[Ce.PRODUCT_NAMES.CLARITY_GET_SOLO_PROMO]:{recordingPlans:[Ce.PLAN_NAMES.CLARITY_GET_SOLO_PROMO_FRONT,Ce.PLAN_NAMES.CLARITY_GET_SOLO_PROMO_DUAL],planInfoMessageId:"dashcams.modal.products.label.claritySoloPromo",productNameMessageId:"dashcams.enum.model.solo.promo"},[Ce.PRODUCT_NAMES.CLARITY_LOCATE]:{recordingPlans:[Ce.PLAN_NAMES.CLARITY_LOCATE],planInfoMessageId:"dashcams.modal.products.label.clarityLocate",productNameMessageId:"dashcams.enum.model.locate"},[Ce.PRODUCT_NAMES.AO_DASHCAM_CAM]:{recordingPlans:[Ce.PLAN_NAMES.AO_DASHCAM_DUAL_CAM,Ce.PLAN_NAMES.AO_DASHCAM_FRONT_CAM],planInfoMessageId:"dashcams.modal.products.label.clarityConnected",productNameMessageId:"dashcams.enum.model.connected"},[Ce.PRODUCT_NAMES.CLARITY_GET]:{recordingPlans:[Ce.PLAN_NAMES.CLARITY_GET_FRONT,Ce.PLAN_NAMES.CLARITY_GET_DUAL],planInfoMessageId:"dashcams.modal.products.label.clarityGet",productNameMessageId:"dashcams.enum.model.get"},[Ce.PRODUCT_NAMES.CLARITY_EDGE_SOLO]:{recordingPlans:[Ce.PLAN_NAMES.CLARITY_EDGE_SOLO_AI_FRONT,Ce.PLAN_NAMES.CLARITY_EDGE_SOLO_AI_DUAL],planInfoMessageId:"dashcams.modal.products.label.clarityEdgeSolo",productNameMessageId:"dashcams.enum.model.clarityEdgeSolo"},[Ce.PRODUCT_NAMES.CLARITY_EDGE_CONNECTED]:{recordingPlans:[Ce.PLAN_NAMES.CLARITY_EDGE_CONNECTED_AI_FRONT,Ce.PLAN_NAMES.CLARITY_EDGE_CONNECTED_AI_DUAL],planInfoMessageId:"dashcams.modal.products.label.clarityEdgeConnected",productNameMessageId:"dashcams.enum.model.clarityEdgeConnected"},[Ce.PRODUCT_NAMES.CLARITY_EDGE_NON_AI]:{recordingPlans:[Ce.PLAN_NAMES.CLARITY_EDGE_NON_AI_FRONT,Ce.PLAN_NAMES.CLARITY_EDGE_NON_AI_DUAL],planInfoMessageId:"dashcams.modal.products.label.clarityEdgeNonAi",productNameMessageId:"dashcams.enum.model.clarityEdgeNonAi"}}
1,Pe={[Ce.PLAN_NAMES.PLAN_SOLO_DASHCAM_FRONT]:{planInfoMessageId:"dashcams.modal.products.claritySolo.recordingPlan.front",cameraPlanType:"dashcams.enum.plan.front",productNameMessageId:Ne[Ce.PRODUCT_NAMES.PLAN_SOLO_DASHCAM].productNameMessageId},[Ce.PLAN_NAMES.PLAN_SOLO_DASHCAM_DUAL]:{planInfoMessageId:"dashcams.modal.products.claritySolo.recordingPlan.dual",cameraPlanType:"dashcams.enum.plan.dual",productNameMessageId:Ne[Ce.PRODUCT_NAMES.PLAN_SOLO_DASHCAM].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_GET_SOLO_PROMO_FRONT]:{planInfoMessageId:"dashcams.modal.products.claritySoloPromo.recordingPlan.front",cameraPlanType:"dashcams.enum.plan.front",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_GET_SOLO_PROMO].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_GET_SOLO_PROMO_DUAL]:{planInfoMessageId:"dashcams.modal.products.claritySoloPromo.recordingPlan.dual",cameraPlanType:"dashcams.enum.plan.dual",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_GET_SOLO_PROMO].productNameMessageId},[Ce.PLAN_NAMES.AO_DASHCAM_FRONT_CAM]:{planInfoMessageId:"dashcams.modal.products.clarityConnected.recordingPlan.front",cameraPlanType:"dashcams.enum.plan.front",productNameMessageId:Ne[Ce.PRODUCT_NAMES.AO_DASHCAM_CAM].productNameMessageId},[Ce.PLAN_NAMES.AO_DASHCAM_DUAL_CAM]:{planInfoMessageId:"dashcams.modal.products.clarityConnected.recordingPlan.dual",cameraPlanType:"dashcams.enum.plan.dual",productNameMessageId:Ne[Ce.PRODUCT_NAMES.AO_DASHCAM_CAM].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_GET_FRONT]:{planInfoMessageId:"dashcams.modal.products.clarityGet.recordingPlan.front",cameraPlanType:"dashcams.enum.plan.front",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_GET].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_GET_DUAL]:{planInfoMessageId:"dashcams.modal.products.clarityGet.recordingPlan.dual",cameraPlanType:"dashcams.enum.plan.dual",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_GET].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_LOCATE]:{productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_LOCATE].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_EDGE_CONNECTED_AI_FRONT]:{planInfoMessageId:"dashcams.modal.products.clarityEdgeConnected.recordingPlan.front",cameraPlanType:"dashcams.enum.plan.front",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_EDGE_CONNECTED].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_EDGE_CONNECTED_AI_DUAL]:{planInfoMessageId:"dashcams.modal.products.clarityEdgeConnected.recordingPlan.dual",cameraPlanType:"dashcams.enum.plan.dual",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_EDGE_CONNECTED].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_EDGE_SOLO_AI_FRONT]:{planInfoMessageId:"dashcams.modal.products.clarityEdgeSolo.recordingPlan.front",cameraPlanType:"dashcams.enum.plan.front",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_EDGE_SOLO].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_EDGE_SOLO_AI_DUAL]:{planInfoMessageId:"dashcams.modal.products.clarityEdgeSolo.recordingPlan.dual",cameraPlanType:"dashcams.enum.plan.dual",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_EDGE_SOLO].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_EDGE_NON_AI_FRONT]:{planInfoMessageId:"dashcams.modal.products.clarityEdgeNonAi.recordingPlan.front",cameraPlanType:"dashcams.enum.plan.front",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_EDGE_NON_AI].productNameMessageId},[Ce.PLAN_NAMES.CLARITY_EDGE_NON_AI_DUAL]:{planInfoMessageId:"dashcams.modal.products.clarityEdgeNonAi.recordingPlan.dual",cameraPlanType:"dashcams.enum.plan.dual",productNameMessageId:Ne[Ce.PRODUCT_NAMES.CLARITY_EDGE_NON_AI].productNameMessageId}},_e={[Ce.ADDON_NAMES.CLARITY_EDGE_FATIGUE_CAMERA]:{messageId:"dashcams.modal.addons.driver.fatigueCamera",planInfoMessageId:"dashcams.modal.products.addOns.fatigueCamera"},[Ce.ADDON_NAMES.CLARITY_EDGE_DUAL_FATIGUE_CAMERA]:{messageId:"dashcams.modal.addons.driver.dualFatigueCamera",planInfoMessageId:"dashcams.modal.products.addOns.fatigueCamera"},[Ce.ADDON_NAMES.CLARITY_SOLO_DRIVER_LOGON]:{messageId:"dashcams.modal.addons.driver.logon",planInfoMessageId:"dashcams.modal.products.addOns.driverLogon"}},Me="all",ke=".",Ue=260,Le=420,Fe=10,xe={203051:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203051",canRetry:!1},203052:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203052",canRetry:!0},203053:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203053",canRetry:!0},203054:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203054",canRetry:!1},203055:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203055",canRetry:!0},203056:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203056",canRetry:!1},203057:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203057",canRetry:!0},203058:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203058",canRetry:!1},203059:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203059",canRetry:!0},203060:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203060",canRetry:!1},203061:{messageId:"replay.event.requestVideo.statuses.failed.tooltip.error.203061",canRetry:!1}}},94364:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});const a=(0,r(40421).E)("DEPOT",e=>({authenticate:e.asyncAction(),setReAuthCount:e.action()}))},94386:(e,t,r)=>{"use strict";r.d(t,{F:()=>D});var a=r(26660),s=r.n(a),o=r(35339),i=r(51962),n=r(31326),l=r(41201),c=r(46587),d=r(93753),u=r(82162),p=r(33148),m=r(20550),g=r(27005),h=Object.defineProperty,v=Object.defineProperties,f=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,A=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,O=(e,t)=>{for(var r in t||(t={}))b.call(t,r)&&A(e,r,t[r]);if(y)for(var r of y(t))E.call(t,r)&&A(e,r,t[r]);return e},S=(e,t)=>v(e,f(t)),T=(e,t)=>
1{var r={};for(var a in e)b.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&y)for(var a of y(e))t.indexOf(a)<0&&E.call(e,a)&&(r[a]=e[a]);return r},I=(e,t,r)=>new Promise((a,s)=>{var o=e=>{try{n(r.next(e))}catch(e){s(e)}},i=e=>{try{n(r.throw(e))}catch(e){s(e)}},n=e=>e.done?a(e.value):Promise.resolve(e.value).then(o,i);n((r=r.apply(e,t)).next())});const R=3,w=1050,C=[409];function D(e){return I(this,null,function*(){var t,r=e,{forceIncludeSelectedOrgGid:a=!1,headers:s,ignoreImpersonation:o=!1,isAuth:i=!0,isOrgSwitcherOrg:n=!0,returnDataOnly:l=!0,shouldRetryOnFail:c=!0,retryExcludedCodes:m=[],shouldRetryOnNull:g=!1}=r,h=T(r,["forceIncludeSelectedOrgGid","headers","ignoreImpersonation","isAuth","isOrgSwitcherOrg","returnDataOnly","shouldRetryOnFail","retryExcludedCodes","shouldRetryOnNull"]);if(d.Kq&&!window.MSW_ENABLED)return Promise.reject({});const v=u.T.getCanUserOrgSwitch(p.M.getState()),f={selectedOrgGid:null==(t=u.T.getSelectedOrganisation(p.M.getState()))?void 0:t.organisationId},{baseURL:y="",url:b=""}=h,E=y.includes("/timely")&&"/hos/drivers"!==b,A=n&&v&&!E||a,I=S(O({},h),{headers:O(O(O({},s),i&&(yield N({canUserOrgSwitch:v,ignoreImpersonation:o}))),A&&f)}),C=yield P(I,{retries:c?R:1,requestInterval:w,retryExcludedCodes:m}),D=g?yield _(C,I,{retries:R,requestInterval:w}):C;return l?null==D?void 0:D.data:D})}const N=e=>I(void 0,[e],function*({canUserOrgSwitch:e,ignoreImpersonation:t}){var r;const{impersonatedUser:a}=u.T.getUserImpersonation(null==(r=p.M)?void 0:r.getState()),{tokens:s}=a||{};s&&(e=>!!(0,i.O)(e)&&Date.now()>e.timestamp+33e5)(a)&&(sessionStorage.clear(),(0,g.h)({canUserOrgSwitch:e,isSkippingOrgSwitcher:!0}),(0,n.b)());const o=yield(0,m.iD)(),{accessToken:l}=s||{};return t||!l?{Authorization:null!=o?o:""}:{Authorization:l}});function P(e,t){return I(this,arguments,function*(e,{requestInterval:t,retries:r,retryExcludedCodes:a}){return yield s()(e).catch(s=>I(this,null,function*(){var i,n;const{config:d,response:u}=s,p=null!=(i=null==u?void 0:u.status)?i:0,m=null!=(n=null==d?void 0:d.url)?n:"unknown URL";if([...C,...null!=a?a:[]].includes(p)||r<=1)throw(0,o.r)(p,500,600)&&(0,c.$t)({attributes:{isAxiosError:!0,pathname:m,status:p},message:`ApiLog: 5xx error - ${m}`}),s;return yield(0,l.u)(t),yield P(e,{requestInterval:M(t),retries:r-1,retryExcludedCodes:a})}))})}function _(e,t,r){return I(this,arguments,function*(e,t,{requestInterval:r,retries:a}){return(0,i.O)(e.data)||a<=1?e:(yield(0,l.u)(r),yield s()(t).then(e=>I(this,null,function*(){return yield _(e,t,{requestInterval:M(r),retries:a-1})})).catch(()=>I(this,null,function*(){return yield _(e,t,{requestInterval:M(r),retries:a-1})})))})}function M(e){return 2*e}},94752:(e,t,r)=>{"use strict";r.d(t,{g:()=>s});var a=r(51962);function s(e){return!(0,a.O)(e)}},96039:(e,t,r)=>{"use strict";r.d(t,{b:()=>C,y:()=>w});var a=r(23464),s=r.n(a),o=r(82258),i=r.n(o),n=r(11630),l=r.n(n),c=r(10279),d=r.n(c),u=r(45615),p=r.n(u),m=r(85602),g=r.n(m),h=r(37971),v=r.n(h),f=r(44397),y=r.n(f),b=r(14491),E=r.n(b),A=r(25562),O=r.n(A),S=r(26168),T=r.n(S),I=r(57657),R=r.n(I);r(30773),r(71445);const w=s();function C(e,t){w.tz.setDefault(t),w.locale(function(){switch(e){case"en-AU":case"en-NZ":return"en-gb";case"fr-CA":return"fr-ca";default:return"en"}}())}w.extend(i()),w.extend(l()),w.extend(d()),w.extend(p()),w.extend(g()),w.extend(v()),w.extend(y()),w.extend(E()),w.extend(O(),{thresholds:[{d:"second",l:"s",r:29},{l:"m",r:89},{d:"minute",l:"mm",r:44},{l:"h",r:89},{d:"hour",l:"hh",r:23},{l:"d",r:41},{d:"day",l:"dd",r:29},{l:"M",r:44},{d:"month",l:"MM",r:10},{l:"y",r:17},{d:"year",l:"yy"}]}),w.extend(T()),w.extend(R())},96503:(e,t,r)=>{"use strict";r.d(t,{Gp:()=>c,fM:()=>n,pQ:()=>i});var a=r(80729),s=r(70457),o=r(46587);function i(e){var t;if(l())try{null==(t=window.pendo)||t.identify(e)}catch(e){e instanceof Error&&(0,o.Cp)(e,{tags:{manuallyReported:"true"}})}}function n(){var e;if(l())try{null==(e=window.pendo)||e.initialize({account:{id:""},autoFrameInstall:!0,frameIdentitySync:!0,visitor:{id:""}})}catch(e){e instanceof Error&&(0,o.Cp)(e,{tags:{manuallyReported:"true"}})}}function l(){return!(0,a.V)()&&!(0,s.R)()}function c(e,t){var r;if(!l())return;const a=null==(r=window.pendo)?void 0:r.track;if("function"==typeof a)try{a(e,t)}catch(e){e instanceof Error&&(0,o.Cp)(e,{tags:{manuallyReported:"true"}})}}},96711:(e,t,r)=>{"use strict";r.d(t,{o:()=>v});var a=r(40421),s=Object.defineProperty,o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,l=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&l(e,r,t[r]);if(o)for(var r of o(t))n.call(t,r)&&l(e,r,t[r]);return e};const d=(0,a.E)("CORE/USER",e=>({analyticsEvent:e.action(),fetchSignupInvitation:e.asyncAction(),forgotPasswordSubmit:e.asyncAction(),getSession:e.asyncAction(),login:e.asyncAction(),loginAuthError:e.action(),logout:e.asyncAction(),resetPasswordError:e.action(),resetPasswordSubmit:e.asyncAction(),setTokenUserPreferencesItem:e.asyncAction(),signupError:e.action(),signup:e.asyncAction()})),u=(0,a.E)("CORE/GROUPS",e=>({fetchUserAccessibleGroups:e.asyncAction()})),p=(0,a.E)("CORE",e=>({fetchNotifications:e.asyncAction(),fetchPageTimeZone:e.asyncAction(),navigationTriggered:e.action(),notificationCleared:e.action(),setDisabledTimeZone:e.action()})),m=(0,a.E)("CORE/LAYOUT",e=>({menuCollapseStatusUpdated:e.action(),mobileMenuCollapseStatusUpdated:e.action(),tabletMe
1nuCollapseStatusUpdated:e.action()})),g=(0,a.E)("CORE/ORG_SWITCHER",e=>({filterOrganisations:e.asyncAction(),orgListCleared:e.action(),setAllowOrgSwitcherUseAllOrgs:e.action(),setIncludeInactive:e.action(),selectedOrgCleared:e.action(),orgSwitcherOrgSelected:e.action()})),h=(0,a.E)("CORE/IMPERSONATION",e=>({fetchUsers:e.asyncAction(),setUserSwitcherImpersonatedUser:e.asyncAction(),setUserSwitcherClearImpersonatedUser:e.action()})),v=c(c(c(c({groups:u,user:d},p),m),g),h)},98140:(e,t,r)=>{"use strict";r.d(t,{Q:()=>d});var a=r(25791),s=r(14041),o=Object.defineProperty,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;const d=e=>s.createElement(a.Ay,((e,t)=>{for(var r in t||(t={}))n.call(t,r)&&c(e,r,t[r]);if(i)for(var r of i(t))l.call(t,r)&&c(e,r,t[r]);return e})({},e))},99204:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var a=r(83593),s=r(29159);const o=()=>{const e=(0,a.D)(),{innerWidth:t}=(0,s.l)();return t<=e.breakpoints.values.md}}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=o,e=[],n.O=(t,r,a,s)=>{if(!r){var o=1/0;for(d=0;d<e.length;d++){for(var[r,a,s]=e[d],i=!0,l=0;l<r.length;l++)(!1&s||o>=s)&&Object.keys(n.O).every(e=>n.O[e](r[l]))?r.splice(l--,1):(i=!1,s<o&&(o=s));if(i){e.splice(d--,1);var c=a();void 0!==c&&(t=c)}}return t}s=s||0;for(var d=e.length;d>0&&e[d-1][2]>s;d--)e[d]=e[d-1];e[d]=[r,a,s]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var s=Object.create(null);n.r(s);var o={};t=t||[null,r({}),r([]),r(r)];for(var i=2&a&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(t=>o[t]=()=>e[t]);return o.default=()=>e,n.d(s,o),s},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>(({9:"manageMetadata",200:"GeofenceTypesTreeSelect",420:"fuelAndEnergyEconomyDriver",612:"decarbonisationOverviewPBI",618:"leaderboardReport",849:"servicePlansTablePage",946:"assetMetadata",1178:"serviceTypesPage",1303:"GeofenceInputSearch",1308:"overspeedEventReport",1388:"ServiceTypesFormPage",1401:"geofence",1663:"decarbonisationFuelEconomyPBI",1808:"ActivityNoWebGL",1846:"maintenanceItemTablePage",1988:"decarbonisationHarshDrivingPBI",2004:"VehicleAssetSensorPage",2103:"geofenceCentreMapPage",2183:"GeofenceMapFilter",2642:"decarbonisationUnproductiveIdlingPBI",2815:"decarbonisationEmissionsPBI",3129:"tripInvestigator",3193:"adminIntegrationsCreateEditKeys",3198:"installations",3302:"driver-list",3334:"serviceAlertsFormPage",3528:"reports",3529:"supplierUpdatePage",3632:"fuelReports",3756:"logbook",3803:"sso-config",3813:"GeofenceGroupsTreeSelect",3821:"sso-mapping",3897:"geofenceCentreListPage",3908:"messagingPage",3945:"hosViolationsReport",4189:"serviceHistoryPage",4542:"completeServicePage",4630:"replay",4794:"surveyFormPage",5283:"scheduleFormPage",5322:"faultCode",5560:"serviceAlertsPage",5595:"fleetSummary",5760:"replayDetails",5828:"surveyResultsPage",5896:"utilisationReport",6006:"GeofenceTagsTreeSelect",6086:"fuelAndEnergyEconomy",6154:"assetsRepairPage",6181:"surveysPage",6659:"SensorEventSubscriptions",6683:"driverSafety",6730:"decarbonisationOverviewDriving",6736:"fuelEfficiency",6841:"maintenanceHistoryPage",6941:"supplierInsertPage",7132:"SensorActiveFaults",7158:"adminIntegrationsKeyList",7191:"dashcams",7201:"SensorEventHistory",7244:"supplierCrudTablePage",7516:"SensorEventRules",7734:"adminIntegrationsRouter",7875:"decarbonisationOverviewFleet",7984:"overspeedReport",7998:"decarbonisationReplacementSuitabilityPBI",8356:"VehicleAssetDevicePage",8734:"geofenceActivity",8949:"ActivityPage",9244:"driverLogin",9402:"serviceAssetsPage",9427:"servicePlansFormPage",9774:"GeofenceCreatorsTreeSelect",9920:"fuelInsights",9985:"serviceRepairDetailPage"}[e]||e)+".myeroad."+{8:"69b6e8399c07807a7758",9:"6e560782c2f0c3d8dd78",32:"5231607da81af5f237c1",85:"29fd8ece778f2b5a1151",115:"634dafc5d8275b61f903",200:"1d725f4ed1713facc9e1",281:"4a23e2983d9e2d17fc79",286:"3b9eea7f34c49eb5cc73",307:"b3db6f7e584ceeb4583c",343:"80e037d0db153b6142d7",374:"e9bd161444cdb05559bf",420:"5b4efeeaab00d1154619",501:"762ee03b1c4297ba4675",525:"2fac3587d0417a53bf9d",526:"3dde8febe2f7e372be4b",594:"14b24810cab40c74a7bc",612:"9b1ecc6831b62b58595e",618:"fcb7b96cf52b284b1a84",671:"137e20844ede57583589",677:"154ba8d9305fc356bf9b",696:"a6c569a20a7733bcef72",723:"bf1f5f7fe3ceb9497adc",849:"29b1f8cf7578e1c99036",860:"3a59e2e7bab49811f01d",946:"200600a8237a8707db08",953:"d9aeb157f53d25769294",1023:"87c6a70ec538b47bd177",1060:"4b5bec2512a53588a32f",1137:"ed8d0adf33f9e6bf1984",1167:"5d03ba544a3e6c0505f3",1177:"f78ad9dbd2701eb37286",1178:"7ee1600f386fbd1d1a14",1193:"eccee81313683a002a13",1208:"e501c4953f917baac4b8",1301:"8c87a26cf9e9a0dffc9e",1303:"46ad15b5950bb3a2fd12",1308:"e894c996d797847940bd",1331:"d2b0cef3b95529c75d7f",1388:"3637b7849b332194f215",1396:"d0f74fedfa19f2ca9ab1",1401:"5cdbbd72c0ffc586c936",1483:"7e8eb7c1af7f37e95c77",1576:"b86a19811fc50576c133",1605:"ea8f8ca515b8ce9d4b9f",1643:"8d98386dc7359d6f6412",1644:"2bd760ead87392fc676b",1663:"384a989af8ed695ce9a7",1732:"71bd9838f484034e4100",1784:"af8c6575095a624a3e10",1808:"8bfa726e7d63c3166936",1846:"38dc067851da8ede3110",1921:"1c0586a1adc6e7ac8c6f",1952:"7c04466c8ba472535633",1988:"aee8f57f95168dfe2216",2004:"57cd587a5c58bdecc863",2012:"4ffd31670ef4fb52c26d",2103:"fff4cd8ef1cf62da08c5",2145:"0b956a4905dbfa5d8894",2167:"4382b6da7d9a427762c6",2183:"28b25912ae3ac1e39817",2245:"8cf1599611568cc35cba",2272:"89f111816d4c0b01211e",2299:"a8327d33096ab0c2bbd9",2316:"2ade88f00bf09d4994a6",2444:"d4a011dd3137f8a332a7",2496:"2dcd3e435862e3178551",2519:"b1abe4d0b6431a795989",2594:"f7f2b9476fd8e033c964",2642:"09c1a50c68dac8f826ba",2663:"6a768b3d02e0bc579675",2677:"f3fdd2b49e8deb6c8fd3",2693:"de8c0d677872ee476519",2709:"53b311049b713ec
1d1dbf",2711:"89e548b0e51aa75d9e02",2741:"3ec608b62c1d6ba0e039",2759:"8755cebee2c02fabfcf6",2815:"66b6d8950ee5dfe0d97c",2855:"b0ce3e59056371208847",2879:"00df20cfbe88e7b16f30",2929:"e9676bf60a3f41ff127f",3058:"75f029611c7162a2c9c4",3098:"bb9f99f7795444a35554",3129:"21addeb6b138eca27073",3167:"567b06ae23cacb8bab26",3193:"be2750b4713d18051e60",3198:"0ac7d8d585ac75f63d5f",3199:"86369670bd941f3ba559",3275:"531629c739d178f4bf4b",3283:"eef6b7eb070c4be9bacf",3300:"d22f0267771728d4d8f1",3302:"8ece959a26c8d97384e0",3334:"bf6acfb392a08bc6543f",3528:"1f5ea9a16f949132e9d8",3529:"2c3c43304d49a154bd02",3575:"3bbc3bbb1154b3ef652d",3608:"f93a7f44243da39a99af",3632:"8bb950c2e7fc0d0ca7bb",3756:"8c80b727538e6cf4680b",3771:"86a19dc5409bb49253e2",3803:"c82f02ce85d7005181e9",3813:"6a1e8b31694cf1689cbe",3821:"0e63db1097b2cb113866",3877:"6176178baca135929642",3897:"bed53e0a51e3f8a01aae",3908:"d86a122eeea634d54e4d",3945:"395e749e5cf575299407",4078:"6f07dc61dee80ae10602",4145:"c2ea13c65740f542b38e",4164:"48a5a6c23f2f9dc5c5d1",4189:"9dcfbda38abd4b871ac1",4191:"dde7f8f7403df83023c7",4202:"0dece2a2a6c8ead0392c",4251:"985ec13b9ceeb7c32aa3",4271:"6f032ae6988f7a38fb9d",4328:"3ebd279d0d68136ac20f",4345:"8b0cea83bc1398376e94",4361:"0fa94cfef31c302d59c4",4481:"dd1834c82627d8cba977",4542:"f5c5a04261ab6d31c1a2",4630:"8c577ddb68b224d9690a",4652:"4b18d161338cd7ea8016",4741:"28347c16e63acb64eb56",4773:"4e4991fbec9ee0d6646c",4794:"1834cee45ecb9e352850",4825:"3c396474a706809c4ac9",4833:"44e0091586082dbe9db5",4867:"eea7db612a03173f30bc",4912:"27481a0d8d1b3e4f7995",4929:"3e9f0c53ea24691d15f3",4973:"277df74c66647c146ab6",4980:"3a39abfc1949ec856586",5171:"6a8f3449924bdd0131b2",5196:"d73ee21a1eed9fdf2168",5264:"f50c8adf2a4c8f7c8d7d",5283:"f9c8b0b650abc9521e8d",5313:"5d6a1d1b0d26ff84f924",5322:"519702d035301489f862",5343:"8b54c0a48e19d48a3e06",5371:"c7a1dbb2068c5dfaa0e6",5560:"61da485bee483a52f793",5561:"aae2c1368051e003298c",5580:"c38ebd12c91866f3872f",5582:"e3478db79aed008ef272",5595:"5e6df4a09ce082d6dad2",5625:"e3819307c91578c06766",5728:"bc93b85c30becc2d20ae",5744:"65db9b409eb3361a6aa6",5760:"f260b1ec2738752d0df5",5828:"60e7cc336222113f02b6",5833:"c79e04a80de82fd1ec1d",5896:"c98958963dc0bb72b488",5897:"77a9923c6348a3455ddb",5973:"234d393ee4767ecfd845",5992:"8eab6453c6cd6ec070ae",5995:"7fccbd990bc8516197d3",6006:"d35aae54cc7d6a50c500",6086:"3136f95d835425d06eca",6124:"f056f869905209f0bddf",6131:"3f7657e903e2ac1d3225",6133:"a7f2226df3a6d93da9a8",6137:"9bfc814c876860998e92",6154:"3929f947af916d2cb2d5",6181:"d23113dfa7f20c916875",6251:"c84db71f3bb0b0aa031e",6289:"a3d61bf5093c6d1ba08a",6403:"bbb15bee7128e8794f56",6421:"34d8444a531e03ed352b",6529:"c95a04b2ab86e1ebea1a",6548:"320e33c286ff06d3daab",6635:"3f7f567dda3a857ee02f",6644:"661911f38afdcd7c86cb",6659:"1414df2daf9ad53bd293",6683:"cfbdb28a28b8f0f6cf2a",6730:"68564e699e27d1e6ebee",6736:"dfe2b72b53d7133b718e",6782:"eb34835705d3c4c39b9b",6841:"4befcca54a78edcf816f",6868:"6dcb87968529877d4174",6893:"61ff2b84aae007a32e29",6941:"61e00e61b121970139e1",6956:"7887b5162237dfe0ded5",6977:"7d55388e8a4f7acfefa2",6988:"992ac49e2d115d762546",7046:"70ea692a6a1ad6f39fc8",7132:"697a62ec7658393d0849",7158:"13980f275563f15e346a",7191:"18b64c99215c90fac70d",7195:"58949497ceb04e1eb3ac",7201:"497aa7d8691aa4cc4e36",7244:"d78142624106ac224219",7252:"ed513285f980e042f593",7279:"d67b392c480aeddfd03d",7392:"2f5374821ab04e776f9b",7396:"e0af99a9cdf0b08fdb4d",7406:"313142cafa8f9b316cb4",7516:"17ca31fa08a6d3c0524e",7561:"197f3d86cac333024cd5",7565:"32e4490645a0c4d452bb",7593:"8ac30d0005415d052be0",7630:"b10174de6fd19eae4d4e",7653:"e8a89d266189864609d1",7734:"58ed38708ce9160184c5",7785:"a7d1afeca1584483a228",7875:"d0f607b1af9183169dd8",7984:"752ae5ef3ef50b18d374",7998:"396e61aedc25b56cad57",8036:"3da927bd7cd85f35aab6",8063:"5701ad8b21e34b715a2f",8100:"7a8ae9dc6bf6fcb3ae6b",8101:"0543cf635849a09ad254",8300:"96555a95a928df1d767c",8356:"4a1df212e578278a25d1",8441:"4553599ca8b38523b9f4",8506:"ed1187c8fffc5764ed58",8542:"c5a4fa05c6fe40d0ef9e",8560:"0547a6c9f16273343f40",8632:"8aec394ec62eb1aab118",8696:"a0f126299031f3a9bbe3",8725:"1f66d386d967f9def2e7",8734:"471da130e10db483a54a",8772:"fd948cf867ec3886739b",8820:"8c60caa9997fcab0ca43",8853:"124660f42021ad4ba0e3",8867:"3ec46acb6d3e588b9d8c",8949:"5788851812521f77b4ab",8981:"c912f3dd2ecaa58b33d5",9e3:"d5f5eecd3dd3d898367f",9092:"28843b1102ff8adb2032",9099:"84d935fedee24c28b97c",9110:"0b2a840efabd13c0c14e",9116:"833fd8bcc5a2d5d3b464",9171:"b3626bb6a96ceeea4b14",9188:"dabc4a7f01484f17561d",9191:"6a57a278f9d710bc9d0b",9244:"c6877b73ab2e7381452c",9301:"88c8c0ec77e9a02c1b39",9402:"128bb57916f60b89f728",9427:"55b44b40a3fb1c20495c",9533:"922aa0d79424874de7c8",9567:"d237e831e92987e9ab88",9639:"55ec8fe9a582f83f0bd4",9651:"884cd3a0bc429ba6dc23",9669:"a1950e379ac8fac180f8",9710:"c4495713d4448a7b3c52",9728:"b469d07b046ce60fee45",9774:"a9ae6fce6a7eb60cda18",9880:"9ddb5ca724ccb30bb485",9902:"28cd5c7f0f0e45642622",9920:"08f1d50432550067b11d",9942:"279dc2fe39a637edf4ae",9968:"90aa6d6b95bcfb3930d9",9985:"48525ceddd97c7698999"}[e]+".js"),n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
1}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},s="@eroad/myeroad:",n.l=(e,t,r,o)=>{if(a[e])a[e].push(t);else{var i,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==s+r){i=u;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,n.nc&&i.setAttribute("nonce",n.nc),i.setAttribute("data-webpack",s+r),i.src=e),a[e]=[t];var p=(t,r)=>{i.onerror=i.onload=null,clearTimeout(m);var s=a[e];if(delete a[e],i.parentNode&&i.parentNode.removeChild(i),s&&s.forEach(e=>e(r)),t)return t(r)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="/",(()=>{if(void 0!==n){var e=n.u,t=n.e,r={},a={};n.u=function(t){return e(t)+(r.hasOwnProperty(t)?"?"+r[t]:"")},n.e=function(s){return t(s).catch(function(t){var o=a.hasOwnProperty(s)?a[s]:3;if(o<1){var i=e(s);throw t.message="Loading chunk "+s+" failed after 3 retries.\n("+i+")",t.request=i,t}return new Promise(function(e){var t=3-o+1;setTimeout(function(){var i="cache-bust=true&retry-attempt="+t;r[s]=i,a[s]=o-1,e(n.e(s))},0)})})}}})(),(()=>{n.b=document.baseURI||self.location.href;var e={8792:0};n.f.j=(t,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var s=new Promise((r,s)=>a=e[t]=[r,s]);r.push(a[2]=s);var o=n.p+n.u(t),i=new Error;n.l(o,r=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var s=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+s+": "+o+")",i.name="ChunkLoadError",i.type=s,i.request=o,a[1](i)}},"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,r)=>{var a,s,[o,i,l]=r,c=0;if(o.some(t=>0!==e[t])){for(a in i)n.o(i,a)&&(n.m[a]=i[a]);if(l)var d=l(n)}for(t&&t(r);c<o.length;c++)s=o[c],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(d)},r=self.webpackChunk_eroad_myeroad=self.webpackChunk_eroad_myeroad||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0,n.O(void 0,[6238,4818,8004],()=>n(94180));var l=n.O(void 0,[6238,4818,8004],()=>n(70630));l=n.O(l)})(); 2//# sourceMappingURL=main.myeroad.c2ec38e6146eea78dd51.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.