1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4776],{14776:function(e,o,a){a.r(o),a.d(o,{GlobalModal:function(){return v}});var l=a(63696),t=a(97074),d=a(71154),n=a(51254),r=a(26443),s=a(37394),i=a(57536),u=a(37771),c=a(91785),p=a(5826),m=a(650),g=a(85437);const h=(0,c.AH)("",""),f=(0,c.AH)("padding:",g.c.gapMedium,";",(0,p.HG)(m.f.md),"{padding:",g.c.gapExtraLarge,";}",""),v=()=>{var e;const{allMarketoForms:o}=d.f,{getVehicleData:a}=(0,n.i)(),{0:p,1:m}=(0,l.useState)(null),{0:g,1:v}=(0,l.useState)(!1),{0:b,1:k}=(0,l.useState)(""),w=null===(e=o.bookATestDrivePopup)||void 0===e?void 0:e.formId,M=(null==p?void 0:p.formBannerImage)||null,C=(null==p?void 0:p.name)||"",F=e=>{const o=a(e);m(o||null)},D=e=>{k(t.ec.FormBookTestDrive.heading),F(e),v(!0)};return(0,l.useEffect)((()=>{window.openPopUpTestDriveForm=D}),[]),(0,c.Y)(u.a,{modalShowed:g,closeModal:()=>{v(!1),m(null)},modalHeading:b,modalWrapperCustom:r.Du,modalContentCustom:r.pW},(0,c.Y)("div",{css:h},M&&(0,c.Y)(i.i,{srcWebp:M.srcWebp,srcFallback:M.srcFallback,height:M.height,width:M.width,alt:M.imageAlt})),(0,c.Y)("div",{css:f},(0,c.Y)(s.MarketoForm,{formId:w,formType:"modal_auto_popup",selectedModel:C,onModelChange:F})))}}}]);
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.