!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8ceb6139-064e-5613-b2f8-f753b8c30e8d")}catch(e){}}(); (self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[363],{77637:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";var r,i={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};i.misc.hmac=function(e,t){this._hash=t=t||i.hash.sha256;var n,r=[[],[]],a=t.prototype.blockSize/32;for(this._baseHash=[new t,new t],e.length>a&&(e=t.hash(e)),n=0;n9007199254740991)throw new i.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var o=new Uint32Array(n),s=0;for(t=512+r-(512+r&511);t<=a;t+=512)this._block(o.subarray(16*s,16*(s+1))),s+=1;n.splice(0,16*s)}else for(t=512+r-(512+r&511);t<=a;t+=512)this._block(n.splice(0,16));return this},finalize:function(){var e,t=this._buffer,n=this._h;for(e=(t=i.bitArray.concat(t,[i.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this._length/4294967296)),t.push(0|this._length);t.length;)this._block(t.splice(0,16));return this.reset(),n},_init:[],_key:[],_precompute:function(){var e,t,n=0,r=2;function i(e){return 4294967296*(e-Math.floor(e))|0}for(;n<64;r++){for(t=!0,e=2;e*e<=r;e++)if(r%e==0){t=!1;break}t&&(n<8&&(this._init[n]=i(Math.pow(r,.5))),this._key[n]=i(Math.pow(r,1/3)),n++)}},_block:function(e){var t,n,r,i,a=this._h,o=this._key,s=a[0],l=a[1],c=a[2],u=a[3],d=a[4],p=a[5],h=a[6],m=a[7];for(t=0;t<64;t++)t<16?n=e[t]:(r=e[t+1&15],i=e[t+14&15],n=e[15&t]=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(i>>>17^i>>>19^i>>>10^i<<15^i<<13)+e[15&t]+e[t+9&15]|0),n=n+m+(d>>>6^d>>>11^d>>>25^d<<26^d<<21^d<<7)+(h^d&(p^h))+o[t],m=h,h=p,p=d,d=u+n|0,u=c,c=l,s=n+((l=s)&c^u&(l^c))+(l>>>2^l>>>13^l>>>22^l<<30^l<<19^l<<10)|0;a[0]=a[0]+s|0,a[1]=a[1]+l|0,a[2]=a[2]+c|0,a[3]=a[3]+u|0,a[4]=a[4]+d|0,a[5]=a[5]+p|0,a[6]=a[6]+h|0,a[7]=a[7]+m|0}},i.bitArray={bitSlice:function(e,t,n){return e=i.bitArray._shiftRight(e.slice(t/32),32-(31&t)).slice(1),void 0===n?e:i.bitArray.clamp(e,n-t)},extract:function(e,t,n){var r=Math.floor(-t-n&31);return(-32&(t+n-1^t)?e[t/32|0]<<32-r^e[t/32+1|0]>>>r:e[t/32|0]>>>r)&(1<0&&t&&(e[n-1]=i.bitArray.partial(t,e[n-1]&2147483648>>t-1,1)),e},partial:function(e,t,n){return 32===e?t:(n?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(i.bitArray.bitLength(e)!==i.bitArray.bitLength(t))return!1;var n,r=0;for(n=0;n=32;t-=32)r.push(n),n=0;if(0===t)return r.concat(e);for(a=0;a>>t),n=e[a]<<32-t;return o=e.length?e[e.length-1]:0,s=i.bitArray.getPartial(o),r.push(i.bitArray.partial(t+s&31,t+s>32?n:r.pop(),1)),r},_xor4:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,n;for(t=0;t>>24|n>>>8&65280|(65280&n)<<8|n<<24;return e}},i.codec.utf8String={fromBits:function(e){var t,n,r="",a=i.bitArray.bitLength(e);for(t=0;t>>8>>>8>>>8),n<<=8;return decodeURIComponent(escape(r))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,n=[],r=0;for(t=0;t=0&&"us-east-1"===this.region||["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0},d.prototype.createHost=function(){var e=this.isSingleRegion()?"":("s3"===this.service&&"us-east-1"!==this.region?"-":".")+this.region;return("ses"===this.service?"email":this.service)+e+".amazonaws.com"},d.prototype.prepareRequest=function(){this.parsePath();var t,n=this.request,r=n.headers;n.signQuery?(this.parsedPath.query=t=this.parsedPath.query||{},this.credentials.sessionToken&&(t["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||t["X-Amz-Expires"]||(t["X-Amz-Expires"]=86400),t["X-Amz-Date"]?this.datetime=t["X-Amz-Date"]:t["X-Amz-Date"]=this.getDateTime(),t["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",t["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString(),t["X-Amz-SignedHeaders"]=this.signedHeaders()):(n.doNotModifyHeaders||this.isCodeCommitGit||(!n.body||r["Content-Type"]||r["content-type"]||(r["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8"),!n.body||r["Content-Length"]||r["content-length"]||(r["Content-Length"]=e.byteLength(n.body)),!this.credentials.sessionToken||r["X-Amz-Security-Token"]||r["x-amz-security-token"]||(r["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||r["X-Amz-Content-Sha256"]||r["x-amz-content-sha256"]||(r["X-Amz-Content-Sha256"]=c(this.request.body||"","hex")),r["X-Amz-Date"]||r["x-amz-date"]?this.datetime=r["X-Amz-Date"]||r["x-amz-date"]:r["X-Amz-Date"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},d.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query["X-Amz-Signature"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},d.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,""),this.isCodeCommitGit&&(this.datetime=this.datetime.slice(0,-1))}return this.datetime},d.prototype.getDate=function(){return this.getDateTime().substr(0,8)},d.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")},d.prototype.signature=function(){var e=this.getDate(),t=[this.credentials.secretAccessKey,e,this.region,this.service].join(),n=s.get(t);return n||(n=l(l(l(l("AWS4"+this.credentials.secretAccessKey,e),this.region),this.service),"aws4_request"),s.set(t,n)),l(n,this.stringToSign(),"hex")},d.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),c(this.canonicalString(),"hex")].join("\n")},d.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e,t=this.parsedPath.path,n=this.parsedPath.query,r=this.request.headers,i="",o="s3"!==this.service,s="s3"===this.service||this.request.doNotEncodePath,l="s3"===this.service,d="s3"===this.service;return e="s3"===this.service&&this.request.signQuery?"UNSIGNED-PAYLOAD":this.isCodeCommitGit?"":r["X-Amz-Content-Sha256"]||r["x-amz-content-sha256"]||c(this.request.body||"","hex"),n&&(i=u(a.stringify(Object.keys(n).sort().reduce((function(e,t){return t?(e[t]=Array.isArray(n[t])?d?n[t][0]:n[t].slice().sort():n[t],e):e}),{})))),"/"!==t&&(o&&(t=t.replace(/\/{2,}/g,"/")),"/"!==(t=t.split("/").reduce((function(e,t){return o&&".."===t?e.pop():o&&"."===t||(s&&(t=decodeURIComponent(t)),e.push(u(encodeURIComponent(t)))),e}),[]).join("/"))[0]&&(t="/"+t),l&&(t=t.replace(/%2F/g,"/"))),[this.request.method||"GET",t,i,this.canonicalHeaders()+"\n",this.signedHeaders(),e].join("\n")},d.prototype.canonicalHeaders=function(){var e=this.request.headers;return Object.keys(e).sort((function(e,t){return e.toLowerCase()=0&&(n=a.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\-._~%/]/.test(e)&&(e=e.split("/").map((function(e){return encodeURIComponent(decodeURIComponent(e))})).join("/")),this.parsedPath={path:e,query:n}},d.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[""]&&delete t[""],e+"?"+u(a.stringify(t))):e},r.RequestSigner=d,r.sign=function(e,t){return new d(e,t).sign()}}).call(this,n(4))},function(e,t){var n=/^(?:(?:(([^:\/#\?]+:)?(?:(?:\/\/)(?:(?:(?:([^:@\/#\?]+)(?:\:([^:@\/#\?]*))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/;e.exports.parse=function(e){var t=n.exec(e);return{href:t[0],origin:t[1],protocol:t[2],username:t[3],password:t[4],host:t[5],hostname:t[6],port:t[7],pathname:t[8],search:t[9],hash:t[10]}},e.exports.format=function(e){var t=e.protocol?e.protocol+"//":"",n=e.port?":"+e.port:"",r="";return e.origin?r=e.origin:e.host?r=t+e.host:e.hostname&&(r=t+e.hostname+n),r+(e.pathname||"")+(e.search||"")+(e.hash||"")}},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(2),o=n.n(a);function s(e,t,n){return(s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&l(i,n.prototype),i}).apply(null,arguments)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){for(var t=1;t0&&c>l&&(c=l);for(var u=0;u=0?(d=f.substr(0,g),p=f.substr(g+1)):(d=f,p=""),h=decodeURIComponent(d),m=decodeURIComponent(p),r(o,h)?i(o[h])?o[h].push(m):o[h]=[o[h],m]:o[h]=m}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(o(e),(function(o){var s=encodeURIComponent(r(o))+n;return i(e[o])?a(e[o],(function(e){return s+encodeURIComponent(r(e))})).join(t):s+encodeURIComponent(r(e[o]))})).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r{"use strict";n.d(t,{H:()=>r});const r=({bodyInjected:e=null,bodyBlockInlineAdDesktop:t="DESKTOP_INLINE_ADVERT",bodyBlockInlineAdMobile:n="MOBILE_INLINE_ADVERT"})=>{let r={countInlineAdsDesktop:0,countInlineAdsMobile:0};return e&&e.length>0&&e.map((e=>(e.type===t&&(r.countInlineAdsDesktop+=1),e.type===n&&(r.countInlineAdsMobile+=1),r={countInlineAdsDesktop:r.countInlineAdsDesktop,countInlineAdsMobile:r.countInlineAdsMobile},r))),r}},48136:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});const r=({url:e=null,ppc:t=[{itm_medium:null,itm_source:null,itm_campaign:null,itm_content:null}]})=>{if(e){let n;if(e.startsWith("http://")||e.startsWith("https://"))try{n=new URL(e)}catch(t){return e}else{if(e.startsWith("#"))return e;try{n=new URL(e,"https://example.com/")}catch(t){return e}}if(n){const r=new URLSearchParams(n.search);if(r&&t&&(t.itm_medium&&r.has("itm_medium")&&n.searchParams.set("itm_medium",t.itm_medium),t.itm_source&&r.has("itm_source")&&n.searchParams.set("itm_source",t.itm_source),t.itm_campaign&&r.has("itm_campaign")&&n.searchParams.set("itm_campaign",t.itm_campaign),t.itm_content&&r.has("itm_content")&&n.searchParams.set("itm_content",t.itm_content)),!e.startsWith("http://")&&!e.startsWith("https://")){const t=new URLSearchParams(n.search),r=e.split("?")[0];if(r&&t)return JSON.stringify(`${r}?${t}`).replace(/"/g,"")}return JSON.stringify(n).replace(/"/g,"")}}return e}},79454:(e,t,n)=>{"use strict";function r({authors:e=[]||0,brandConfig:t={}}){var n;if(!1===e)return!1;const r={name:`${(null==t?void 0:t.name)||"Autovia"} team`,url:"",image:{src:(null==t||null===(n=t.logo)||void 0===n?void 0:n.src)||"/public/logo.png"}};if(null==e||!e.length)return[r];const i=e.slice(0,3);return e.length>3&&(i.pop(),i.push(r)),i}n.d(t,{L:()=>r})},94441:(e,t,n)=>{"use strict";function r(e,t){if(e&&"string"==typeof e&&0===e.indexOf("http"))return e;try{return new URL(e,t)}catch(t){return e}}function i({authors:e,siteUrl:t,siteName:n}){let i=[];return e&&e.length&&(i=e.map((e=>{const n=e.shortBio&&""!==e.shortBio?e.shortBio:e.bio,i=n?n.replace(/(<([^>]+)>)/gi,""):"";return{"@type":"Person",name:e.name,image:e.image&&e.image.src&&(e.image.width&&e.image.height?{"@type":"ImageObject",url:r(e.image.src,t),height:e.image.height,width:e.image.width}:r(e.image.src,t))||void 0,jobTitle:e.jobTitle||void 0,description:i,url:e.url&&r(e.url,t),sameAs:e.social&&e.social.length>=1&&e.social.map((e=>e.url))||void 0}}))),0===i.length&&(i=[{"@type":"Person",name:n?`${n} Staff`:"Staff"}]),i}n.d(t,{O:()=>i})},84030:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=({desktopRule:e,mobileRule:t})=>{const n=[];return n.slotSize=[[300,250],"fluid"],n.sizeMapping=[{viewport:[0,0],slot:t?[[300,250],"fluid"]:[]},{viewport:[760,0],slot:t?[[728,90],[300,250],"fluid"]:[]},{viewport:[980,0],slot:e?[[970,250],[970,90],[728,90],"fluid"]:[]}],n.ampSlotSize=t?[300,250]:[],n.ampSizeMapping=[{viewport:[0,0],slot:t?[300,250]:[]}],n}},77451:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(63696),i=n(77170);const a=e=>{const{layoutData:{page:{author:{bio:t,firstName:n,jobTitle:a,lastName:o,name:s,photo:l,shortBio:c,social:u},url:d}},pagination:{page:p}}=e,h=c&&""!==c?c:t,m=h?h.replace(/(<([^>]+)>)/gi,""):"";return r.createElement(i.Helmet,null,r.createElement("title",null,(f=s,(g=p)&&1!==g?`${f} | page ${g}`:f)),r.createElement("script",{type:"application/ld+json"},JSON.stringify({"@type":"Person","@context":"http://schema.org/",name:s,jobTitle:a||void 0,description:m,image:l&&l.src?{"@type":"ImageObject",url:l.src,height:l.height||void 0,width:l.width||void 0}:void 0,url:d,sameAs:u&&u.length>0&&u.map((e=>e.url))})),r.createElement("meta",{property:"twitter:description",content:m}),r.createElement("meta",{property:"twitter:title",content:s}),r.createElement("meta",{property:"og:type",content:"profile"}),r.createElement("meta",{property:"og:profile:first_name",content:n}),r.createElement("meta",{property:"og:profile:last_name",content:o}),l&&l.src?r.createElement("meta",{property:"og:image",content:l.src}):"",r.createElement("meta",{property:"og:description",content:m}),r.createElement("meta",{property:"og:title",content:s}));var f,g}},79013:(e,t,n)=>{"use strict";n.d(t,{$c:()=>d,CE:()=>s,DZ:()=>c,Lq:()=>p,OG:()=>a,TL:()=>m,WZ:()=>u,at:()=>o,eq:()=>i,vC:()=>h});var r=n(77170);const i=e=>{const{adUnitPath:t,adConfig:n,localTargeting:r,type:i,slotSize:a,sizeMapping:o}=e,s=e=>e===Object(e),{templates:l,...c}=n;let u={};i&&s(l)&&s(l[i])&&(u=l[i]);const d=[n.targeting,u.targeting,r,n.globalTargeting].filter((e=>s(e))).reduce(((e,t)=>s(t)?{...e,...t}:e),{}),p=(h={adUnitPath:t,slotSize:a,sizeMapping:o},Object.entries(h).filter((([,e])=>!Array.isArray(e)&&e||Array.isArray(e)&&e.length)).reduce(((e,[t,n])=>({...e,[t]:n})),{}));var h;return{...c,...u,...p,targeting:d}},a=()=>[Math.max(document.documentElement.clientWidth,window.innerWidth||0),Math.max(document.documentElement.clientHeight,window.innerHeight||0)],o=(e,t)=>{if(!Array.isArray(t)||0===t.length)return e;const[n]=a(),r=t.slice(0).reverse().find((({viewport:e})=>e[0]<=n));return r?r.slot:e},s=(e,t)=>[...Array.isArray(e)?e:[],...(Array.isArray(t)?t:[]).flatMap((({slot:e})=>e))].filter(Array.isArray).reduce(((e,t)=>Math.max(e,t[1])),0)||"unset",l=e=>e.find((e=>Array.isArray(e)?l(e):"string"!=typeof e&&!("number"==typeof e&&e<=2))),c=(e,t)=>{if(e&&null!=t&&t.length){var n;const r=(null==e?void 0:e.getResponseInformation)&&e.getResponseInformation(),i=null==r||null===(n=r.lineItemId)||void 0===n?void 0:n.toString();if(i)return t.includes(i)}return!1},u=e=>{if("undefined"!=typeof window&&window.googletag&&window.googletag.apiReady){const{googletag:t}=window;return t.pubads().getSlots().some((t=>t.getSlotElementId()===e))}return!1},d=e=>{if("undefined"!=typeof window&&window.googletag&&window.googletag.apiReady){const{googletag:t}=window;return t.pubads().getSlots().find((t=>t.getSlotElementId()===e))}return null},p=({slotId:e,displaySlot:t,size:n,mapping:r,headerBidding:i})=>{const{amazonHeaderBiddingEnabled:a,nonBiddableSlots:s}=i||{};if(null!=s&&s.includes(e))t();else{const i=[],s=e=>{i.includes(e)||(i.push(e),i.length>1&&t())};if("undefined"!=typeof window&&window.googletag&&window.googletag.apiReady&&"function"==typeof window.ozoneFetchBids){if(a||window.ozoneFetchBids([e],(()=>s("ozone"))),window.apstagLOADED&&a){var c;window.ozoneFetchBids(e,(()=>s("ozone")));const i=o(n,r);if(!l(i))return t();const a=()=>{window.googletag.cmd.push((()=>{window.apstag.setDisplayBids(),s("amazon")}))};return window.apstag.fetchBids({slots:[{slotID:e,slotName:null===(c=d(e))||void 0===c?void 0:c.getAdUnitPath(),sizes:i}]},a)}setTimeout((()=>{s("amazon"),s("ozone")}),4e3)}}},h=(e={})=>{if(e.length&&"undefined"!=typeof window&&window.googletag&&window.googletag.apiReady){const{googletag:t}=window;Object.keys(e).forEach((n=>{t.pubads().setTargeting(n,e[n])}))}},m=e=>{const{id:t,mergedConfig:n,firstRun:i,collapseEmptyDiv:a,breakpoints:o,outOfPage:s,headerBidding:l,immediateLoadAdSlots:c,onSlotRenderEnded:u,onSlotLoad:d,onSlotRequested:h,onSlotVisibilityChanged:m,onSlotResponseReceived:f,onImpressionViewable:g,withIas:y}=e,{adUnitPath:v,slotSize:b,sizeMapping:w,targeting:_}=n;if(!v)return;window.googletag=window.googletag||{cmd:[]};const{googletag:S}=window;S.cmd.push((()=>{if(S.pubads().getSlots().some((e=>e.getSlotElementId()===t)))return;let e={};if(e=s?S.defineOutOfPageSlot(v,t):S.defineSlot(v,b,t),e.addService(S.pubads()),e.setCollapseEmptyDiv(a),S.pubads().setCentering(!0),w){const t=S.sizeMapping();w.forEach((e=>{t.addSize(e.viewport,e.slot)})),e.defineSizeMapping(t.build());const n=[];w.forEach((e=>{n.push(window.matchMedia(`(min-width: ${e.viewport[0]}px)`))})),null!=o&&o.length&&Object.values(o).forEach((e=>{const t=window.matchMedia(e);n.includes(t)||n.push(t)})),n.forEach((t=>{t.addEventListener("change",(()=>{((e,t,n,r)=>{if("undefined"!=typeof window&&window.googletag&&window.googletag.apiReady){const{googletag:i}=window,a=e.getSlotElementId();e&&i&&p({slotId:a,displaySlot:()=>i.pubads().refresh([e]),size:t,mapping:n,headerBidding:r})}})(e,b,w,l)}))}))}_&&e&&Object.keys(_).forEach((t=>{e.setTargeting(t,_[t])})),i&&(S.pubads().addEventListener("slotRenderEnded",u),S.pubads().addEventListener("slotOnload",d),S.pubads().addEventListener("slotRequested",h),S.pubads().addEventListener("slotVisibilityChanged",m),S.pubads().addEventListener("slotResponseReceived",f),S.pubads().addEventListener("impressionViewable",g),S.pubads().disableInitialLoad(),S.enableServices()),S.display(t);const n=(null==c?void 0:c.biddableSlots)||[],A=(null==c?void 0:c.nonBiddableSlots)||[];let C=!1,x=!1;const E=n=>{const r={slotId:t,displaySlot:()=>S.pubads().refresh([e]),size:b,mapping:w,headerBidding:l};n?y({display:()=>p(r),...n}):p(r),C=!0,x=!0};A.includes(t)?E():n.includes(t)?E({iasPetTimeout:2e3}):S.pubads().enableLazyLoad({renderMarginPercent:10,mobileScaling:2}),r.store.setState((e=>({...e,[t]:{...e[t],defined:!0,initialFetched:C,displayed:x}})))}))}},78452:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});const r=e=>{try{return JSON.parse(e)}catch{return e}}},98628:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(63696),i=n(75909);const a=({query:e})=>{const t=(0,i.mK)(),[n,a]=(0,r.useReducer)(((e,t)=>{switch(t.type){case"FETCH_INIT":return{...e,isLoading:!0,isError:!1,isSuccess:!1};case"FETCH_SUCCESS":return{...e,isSuccess:!0,isError:!1,isLoading:!1,data:t.payload};case"FETCH_FAILURE":return{...e,isError:!0,isLoading:!1,isSuccess:!1};default:throw new Error}}),{isLoading:!1,isError:!1,isSuccess:!1,data:null});return{state:n,fetchData:async({variables:n})=>{a({type:"FETCH_INIT"});try{const{data:r}=await t.query({query:e,variables:n});a({type:"FETCH_SUCCESS",payload:r})}catch(e){a({type:"FETCH_FAILURE"})}}}}},26224:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(63696);const i=(e={},t)=>{const[n,i]=(0,r.useState)(e);if("undefined"!=typeof window){var a;const e=null===(a=window)||void 0===a?void 0:a.sessionStorage;window.onbeforeunload=()=>{e.clear()}}return{formData:n,handleInputChange:e=>{i({...n,[e.target.name]:e.target.value}),sessionStorage.setItem("vrm",e.target.value)},handleSubmit:e=>{e.preventDefault(),t(n)}}}},89830:(e,t,n)=>{"use strict";n.d(t,{K:()=>v});var r=n(72694),i=n.n(r);const a=e=>{var t;return null==e||null===(t=e.data)||void 0===t?void 0:t.getUkvVehicleData},o=e=>{var t;return null===(t=a(e))||void 0===t?void 0:t.error},s=e=>null!==o(e),l=e=>{var t;return null===(t=a(e))||void 0===t?void 0:t.vrm},c=()=>({mileage:null});var u=n(18762),d=n.n(u);const p=e=>{var t,n;return null!=e&&e.data&&null!=e&&null!==(t=e.data)&&void 0!==t&&t.getGovVehicleData?JSON.parse(null==e||null===(n=e.data)||void 0===n||null===(n=n.getGovVehicleData)||void 0===n?void 0:n.data):null},h=e=>{var t;return null===(t=p(e))||void 0===t?void 0:t.errorCode},m=e=>void 0!==h(e),f=e=>{var t;return null===(t=p(e))||void 0===t?void 0:t.registration},g=()=>({type:"mot"}),y=["ukv","mot"],v=e=>{if(!y.includes(e))throw new Error(`Invalid query type: ${e}. Valid types are: ${y.join(", ")}`);switch(e){case"ukv":return{query:i(),getData:a,getError:o,getHasError:s,getVrm:l,getAdditionalQueryVariables:c};case"mot":return{query:d(),getData:p,getError:h,getHasError:m,getVrm:f,getAdditionalQueryVariables:g};default:throw new Error(`Invalid query type: ${e}`)}}},52715:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var r=n(63696),i=n(28907),a=n(79214),o=n.n(a),s=n(30708),l=n(84030);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const n=o()(i,"ads.slot-1");return!!n&&r.createElement(s.Ad,c({extraClassNames:{"-full-width":!0,"-after-content":!0,"hide-mobile":!t,"hide-tablet":!t,"hide-desktop":!e},id:"refresh-after_content_1",isSkippable:!0,isSpaceReserved:!0,key:"after_content_1",targeting:{position:"after_content_1",placement:"after_content_1",refresh:"yes"}},n,(0,l.b)({desktopRule:e,mobileRule:t})))}},36573:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(63696),i=n(89778);const a=({bodyInjected:e=[],template:t="article",disableAdInjections:n=!1,bottomComponents:a=[],layoutType:o="default",topComponents:s,isMobile:l})=>r.createElement(i.nB,{bodyInjected:e,template:t,disableAdInjections:n,bottomComponents:a,layoutType:o,topComponents:s,isMobile:l})},18009:(e,t,n)=>{"use strict";n.d(t,{t:()=>p});var r=n(63696),i=n(62688),a=n.n(i),o=n(10441),s=n.n(o),l=n(77170),c=n(4855),u=n(13140);const d=({viewport:e,monetising:t,breakpoints:{desktop:n,mobile:i}})=>{const a=(0,l.useConsent)();if(!Array.isArray(t)||0===t.length||!a)return!1;const o=t.find((e=>e.service&&"digiteka"===e.service.toLowerCase()));if(!o)return!1;const d=o.config&&Array.isArray(o.config)&&o.config.reduce(((e,t)=>({...e,[t.key]:t.value})),{}),{id:p}=d;if(!p)return!1;const h=r.createElement(u.z,{id:p});return r.createElement(c._9,{range:"desktop"===e?n:i,key:s()("digiteka-")},h)};d.protoTypes={viewport:a().string,monetising:a().arrayOf(a().shape({service:a().string,enabled:a().bool,config:a().array})).isRequired,breakpoints:a().shape({desktop:a().arrayOf(a().shape({desktop:a().shape({max:a().number,min:a().number}),mobile:a().shape({max:a().number,min:a().number})}))})},d.defaultProps={viewport:"desktop",breakpoints:[{desktop:{min:1024,max:9999}},{mobile:{min:0,max:1023}}]};const p=(e={})=>r.createElement(d,e)},69692:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var r=n(63696),i=n(32696);const a=e=>!!(e&&e.url&&e.title)&&r.createElement(i.N,{extraClassNames:{"-is-gallery-related-article":!0},href:e.url},`Go to: ${e.title}`)},64094:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(63696),i=n(90352);const a=(e,t)=>r.createElement(i.m,{title:t,url:e,label:"Go to",icon:"polaris__ico-next",defaultLabel:"Go to",defualtIcon:"polaris__ico-next",direction:"prev",directions:{next:{label:"Go to",icon:"ico-next"},prev:{label:"Go back to",icon:"ico-previous"}}})},33787:(e,t,n)=>{"use strict";n.d(t,{p:()=>h});var r=n(63696),i=n(79214),a=n.n(i),o=n(28907),s=n(84030),l=n(30708),c=n(86331),u=n(46916),d=n(68994);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!e)return!1;const{articleCardProps:h={},articlesPerRow:m=3,extraClassNames:f={"polaris__review--consider":!0,"polaris__content--index-related":!0,"polaris__core-content":!0,"polaris__core-content-index":!0,"polaris__core-content-index-article":!0},pagination:{hasMore:g,isLoading:y,loadMore:v,nextUrl:b,pages:w,setPageRef:_}}=t,S={datePosition:"meta",headingSize:4};let A=null==n?void 0:n.countInlineAdsDesktop,C=null==n?void 0:n.countInlineAdsMobile,x=0,E=0;const k={label:y?"Loading...":"Load More",loadMore:v,isLoading:y,extraClassNames:{"polaris__load-more--small":!0},href:b};return r.createElement(r.Fragment,null,r.createElement("div",{"data-previous":"1",ref:_}),Object.entries(w).map((([e,t])=>r.createElement("div",{"data-page":e,key:e,ref:_},((e,t=!1)=>{const n=e.length,u=e.map((e=>({...e})));t&&n>=3&&u.splice(3,0,{component:[r.createElement(r.Fragment,{key:"native_ad"},(0,c.N)({id:"native_article",targeting:{position:"native_article",placement:"native_article",refresh:"no"}}))]});const g=a()(o,"adBreakPoints.default.desktop.default");return a()(o,"adBreakPoints.default.mobile.default").filter((e=>e<=n)).map(((e,t)=>(x+=1,C+=1,C>10&&(C=1),{name:"Mobile Ad",placement:e,position:C,adCounter:x,index:t,component:r.createElement(l.Ad,p({extraClassNames:{"hide-desktop":!0},id:`refresh-inline_${C}`,isFullWidth:!0,isSkippable:!0,isSpaceReserved:!0,key:`mobile-inline-index-article-${C}`,targetViewport:"mobile",targeting:{position:`inline_${C}`,placement:`inline_${C}`,refresh:"yes"}},(0,s.b)({desktopRule:!1,mobileRule:!0})))}))).concat(g.filter((e=>e<=n)).map(((e,t)=>(E+=1,A+=1,A>10&&(A=1),{name:"Desktop Ad",placement:e,position:A,adCounter:E,index:t,component:r.createElement(l.Ad,p({extraClassNames:{"hide-mobile":!0,"hide-tablet":!0},id:`refresh-inline_${A}`,isFullWidth:!0,isSkippable:!0,isSpaceReserved:!0,key:`desktop-inline-index-article-${A}`,targetViewport:"desktop",targeting:{position:`inline_${A}`,placement:`inline_${A}`,refresh:"yes"}},(0,s.b)({desktopRule:!0,mobileRule:!1})))})))).sort(((e,t)=>e.placement>t.placement?1:-1)).map(((e,t)=>u.splice(e.placement+t,0,e))),(0,d.A)({content:u,title:"",extraClassNames:f,articlesPerRow:m,articleCardProps:{...S,...h},isMobile:i})})(t,"1"===e)))),r.createElement("div",{className:"polaris__core-content"},g&&(0,u.e)(k)))}},68487:(e,t,n)=>{"use strict";n.d(t,{c:()=>y});var r=n(63696),i=n(30708),a=n(86331);const o=e=>{const t=new Date(e.date),n=e&&(e=>e&&e.contentType&&"whitepaper"===e.contentType.toLowerCase()?e.contentType.toLowerCase():"")(e);return{categories:e.categories||[],component:e.component||null,date:`${t.getFullYear()}-${(t.getMonth()+1).toString().padStart(2,"0")}-${t.getDate().toString().padStart(2,"0")}`,excerpt:e.excerpt||"",image:{src:e.image&&e.image.src?e.image.src:"",alt:e.image&&e.image.alt?e.image.alt:""},isSponsored:e.isSponsored||!1,kicker:e.kicker||"",link:e.link||"#",mediaType:e.primaryMediaType||"IMAGE",rating:e.rating||!1,resourceCategory:{resourceLabel:n},title:e.altTitle||e.title}},s=e=>({type:"INLINE_ADVERT",props:{extraClassNames:{"-full-width":!0},id:`refresh-inline_${e}`,isSpaceReserved:!0,label:"Advertisement - Article continues below",slotSize:[[300,250],"fluid"],sizeMapping:[{viewport:[768,0],slot:[[728,90],[300,250],"fluid"]},{viewport:[980,0],slot:[[970,250],[970,90],[728,90],"fluid"]}],ampSlotSize:e>1?[[320,480],[300,250]]:[300,250],targeting:{position:`inline_${e}`,placement:`inline_${e}`,refresh:"yes"}}}),l=e=>({...s(e).props,label:"Advertisement",extraClassNames:{"-full-width":!0,"hide-mobile":!0,"hide-tablet":!0}});var c=n(68994),u=n(10441),d=n.n(u),p=n(43724);function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let x=null==e?void 0:e.desktop,E=null==e?void 0:e.mobile,k=null==e?void 0:e.desktop,P=null==e?void 0:e.mobile;return Object.entries(b).map((([e,b])=>{const R=b.map(o),{newsletterConfig:I,promoBoxConfig:O,adBreakPoints:L}=s,N=R.length,z=R;N>0&&z[0].image&&(z[0].image.lazyLoad=!1,z[0].image.isLCPCandidate=!0);const j={...u};j["polaris__core-content-index"]=!0;const T=1===Number.parseInt(e,10);if(T&&"indexTemplate"===S){const e=[r.createElement(r.Fragment,{key:"native_ad"},(0,a.N)({id:"native_index",targeting:{position:"native_index",placement:"native_index",refresh:"no"}}))];if(z.splice(y,0,{component:e}),w&&N>=w){const e=((e={})=>{if("object"!=typeof e||0===Object.keys(e).length)return!1;const{ctaLabel:t="Sign up",ctaUrl:n="#",excerpt:i="",extraClassNames:a,image:o=null,imageSize:s=null,mainTitle:l="",title:c="",titleSize:u=4,ppc:d}=e,p="#"!==n?n&&(0,m.V)({url:n,ppc:d||null}):n;return r.createElement(f.y,{ctaLabel:t,ctaUrl:p,excerpt:i,extraClassNames:a||{},image:o,imageSize:s,mainTitle:l,title:c,titleSize:u})})({...O});z.splice(w,0,{component:e})}if(v&&N>=v){const e=(({props:e,newsletterConfig:t,additionalProps:n})=>{if(!("object"==typeof e&&0!==Object.keys(e).length||"object"==typeof t&&0!==Object.keys(t).length))return!1;const{modalOpen:i,...a}=n,{mainTitle:o,title:s,ctaLabel:l,ctaUrl:c,placeholder:u,subtitle:m,extraClassNames:f,showLink:g}=e;return r.createElement(p.S,h({key:d()(),mainTitle:t.mainTitle||o,title:t.title||s,cta_label:t.ctaLabel||l,formUrl:t.newsletterURL||t.ctaUrl||c||"",placeholder:t.placeholder||u,subtitle:t.subtitle||m,extraClassNames:f||{},showLink:t.showLink||g},a))})({props:{},newsletterConfig:I,additionalProps:{extraClassNames:I.extraClassNames}});z.splice(v,0,{component:e})}}let D=L.default.desktop.default,M=L.default.mobile.default;T&&(D=L.default.desktop.first,M=L.default.mobile.first),L[S]&&(D=L[S].desktop.default,M=L[S].mobile.default,T&&(D=L[S].desktop.first,M=L[S].mobile.first));const H=D.filter((e=>e<=N)).map((e=>(P+=1,x+=1,x>10&&(x=1),{name:"Desktop Ad",placement:e,component:r.createElement(i.Ad,g({},l(x),{id:`refresh-inline_${P}`,isSkippable:!0,isSpaceReserved:!0,key:`inlineAdDesktop_${P}`,targetViewport:"desktop"}))}))).concat(M.filter((e=>e<=N)).map((e=>{return k+=1,E+=1,E>10&&(E=1),{name:"Mobile Ad",placement:e,component:r.createElement(i.Ad,g({},(t=E,{...l(t),extraClassNames:{"-full-width":!0,"hide-desktop":!0}}),{id:`refresh-inline_${k}`,isSkippable:!0,isSpaceReserved:!0,key:`inlineAdMobile_${k}`,targetViewport:"mobile"}))};var t}))),q=[...z];H.sort(((e,t)=>e.placement>t.placement?1:-1)).map(((e,t)=>q.splice(e.placement+t,0,e)));const U=(0,c.A)({content:q,title:A,extraClassNames:j,articlesPerRow:n,articleCardProps:t,isMobile:C});return r.createElement(r.Fragment,{key:`page-${e}`},r.createElement("div",{"data-page":e,ref:_},U))}))}},61739:(e,t,n)=>{"use strict";n.d(t,{V:()=>a});var r=n(63696),i=n(21660);const a=e=>r.createElement(i.Z,{mode:"list",media:e,mediaLazyLoad:!0})},46916:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var r=n(63696),i=n(77723);const a=e=>r.createElement(i.e,{label:e.label||"Load More",load:e.loadMore||(()=>{}),isLoading:e.isLoading||!1,extraClassNames:e.extraClassNames||{},href:e.href||null})},86331:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(63696),i=n(30708);const a=({targeting:e={},label:t="",renderWhenViewable:n=!0,isNoBackground:a=!0,extraClassNames:o={},id:s="native_ad"})=>r.createElement(i.Ad,{extraClassNames:o,id:s,isNative:!0,isNoBackground:a,label:t,renderWhenViewable:n,targeting:e,type:"native"})},87001:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(63696),i=n(30708);const a=()=>["oop_1","oop_2","oop_3","oop_4"].map((e=>r.createElement(i.Ad,{id:`ad_${e}`,key:`ad_${e}`,targeting:{position:e,placement:e,refresh:"no"},outOfPage:!0})))},68994:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(63696),i=n(93747);const a=({articlesPerRow:e=3,articleCardProps:t={excerpt:null,datePosition:"bottom"},articleCardStyle:n="default",blankMessage:a=null,ctaLabel:o=null,ctaUrl:s=null,content:l=null,extraClassNames:c=null,headingSize:u=4,hideImageMinimalIndex:d=3,more:p={},showIndex:h=!1,sponsorImage:m=null,sponsorText:f=null,title:g=null})=>(null!==a||!(null===g||null===l||Array.isArray(l)&&0===l.length))&&r.createElement(i.O,{articleCardProps:t,articlesPerRow:e,articleCardStyle:n,blankMessage:a,content:l,ctaLabel:o,ctaUrl:s,extraClassNames:c,headingSize:u,hideImageMinimalIndex:d,image:m,more:p,title:g,sponsorText:f,showIndex:h}),o=({content:e,title:t,extraClassNames:n,articlesPerRow:i,articleCardProps:o,isMobile:s})=>{let l=[];const c=[];return e.forEach((e=>{e.name?("Desktop Ad"===e.name&&(s||(c.push(a({title:t,content:l,extraClassNames:n,articlesPerRow:i,articleCardProps:o})),c.push(e.component),l=[])),"Mobile Ad"===e.name&&s&&(c.push(r.createElement("div",null,a({title:t,content:l,extraClassNames:n,articlesPerRow:i,articleCardProps:o}))),c.push(e.component),l=[])):l.push(e)})),l.length>0&&c.push(a({title:t,content:l,extraClassNames:n,articlesPerRow:i,articleCardProps:o})),c}},96883:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(63696),i=n(33294);const a=({sponsor:e})=>null!==e&&r.createElement(i.f,e);a.defaultProps={sponsor:[]}},57996:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(11448);const i=()=>{if("undefined"!=typeof window){function e(e){window.dataLayer=window.dataLayer||[],window.dataLayer.find((t=>"web-vitals"===t.event&&t.event_action===e.name))||(ononline=window.dataLayer.push({event:"web-vitals",event_category:"Performance",event_action:e.name,event_value:Math.round("CLS"===e.name?1e3*e.delta:e.delta),event_label:e.id,webvitals_metric:e.name,webvitals_metric_value:Math.round("CLS"===e.name?1e3*e.delta:e.delta),webvitals_id:e.id}))}"undefined"!=typeof document&&((0,r.IN)(e),(0,r.lt)(e),(0,r.fK)(e),(0,r.zB)(e),(0,r.Ck)(e))}}}}]); //# sourceMappingURL=scripts-cfc888f5.748593c3b2cbfaaf42f7.bundle.js.map //# debugId=8ceb6139-064e-5613-b2f8-f753b8c30e8d