(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23,7221],{5011:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/heavy-duty-trucks/[slug]",function(){return a(2613)}])},9138:function(e,t,a){"use strict";a.d(t,{Z:function(){return c}});var s=a(5893);a(7294);var n=a(9008),i=a.n(n),r=a(1163);function c(e){let{title:t,description:a,keywords:n,ogImage:c}=e,o=(0,r.useRouter)(),l=o.asPath,d=l.split("?"),u=d[0];return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(i(),{children:[(0,s.jsx)("title",{children:t||"Eicher"}),(0,s.jsx)("link",{rel:"icon",href:"/fav_icon.png"}),(0,s.jsx)("meta",{name:"keywords",content:n&&n}),(0,s.jsx)("meta",{name:"description",content:a&&a}),(0,s.jsx)("meta",{property:"og:title",content:t||"Eicher"}),(0,s.jsx)("meta",{property:"og:description",content:a&&a}),(0,s.jsx)("meta",{name:"twitter:title",content:t||"Eicher"}),(0,s.jsx)("meta",{name:"twitter:description",content:a&&a}),(0,s.jsx)("meta",{name:"twitter:image:src",content:c||"".concat("https://www.eichertrucksandbuses.com","/assets/img/logo.svg")}),(0,s.jsx)("meta",{property:"og:image",content:c||"".concat("https://www.eichertrucksandbuses.com","/assets/img/logo.svg")}),(0,s.jsx)("meta",{property:"og:type",content:"Article"}),(0,s.jsx)("meta",{name:"author",content:"Eicher Trucks & Buses"}),(0,s.jsx)("meta",{name:"google-site-verification",content:"GGsEkzliuIhug72qwzUBsOmYLKyzTHLhE-1W-0ylpjU"}),(0,s.jsx)("link",{rel:"canonical",href:"".concat("https://www.eichertrucksandbuses.com").concat(u)}),(0,s.jsx)("meta",{property:"og:url",content:"".concat("https://www.eichertrucksandbuses.com").concat(u)}),(0,s.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function (w, d, s, l, i) {\n            w[l] = w[l] || []; w[l].push({\n              'gtm.start':\n                new Date().getTime(), event: 'gtm.js'\n            }); var f = d.getElementsByTagName(s)[0],\n              j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =\n                'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);\n          })(window, document, 'script', 'dataLayer', 'GTM-568TCG7');"}}),(0,s.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n						!function(f,b,e,v,n,t,s)\n						{if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n						n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n						if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n						n.queue=[];t=b.createElement(e);t.async=!0;\n						t.src=v;s=b.getElementsByTagName(e)[0];\n						s.parentNode.insertBefore(t,s)}(window, document,'script',\n						'https://connect.facebook.net/en_US/fbevents.js');\n						fbq('init', '".concat("929224937542936","');\n						fbq('track', 'PageView');\n					")}}),(0,s.jsx)("script",{type:"text/javascript",src:"//dynamic.criteo.com/js/ld/ld.js?a=101797",async:"true"}),(0,s.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:'\n						window.criteo_q = window.criteo_q || [];\n\n						var deviceType = /iPad/.test(navigator.userAgent) ? "t" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? "m" : "d";\n\n						window.criteo_q.push(\n\n							{ event: "setAccount", account: 101797 },\n\n							{ event: "setSiteType", type: deviceType},\n\n							{ event: "viewPage" } \n						);\n					'}}),(0,s.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:'\n                        var _taq = {\n\n                            "id": "b003fa3a-adc0-4034-babb-65a24d2bbd30",\n                      \n                            "events": [],\n                      \n                            "identify": [],\n                      \n                            "property": [],\n                      \n                            "handlers": []\n                      \n                         };\n                      \n                         (function() {\n                      \n                            var ta = document.createElement(\'script\');\n                      \n                            ta.type = \'text/javascript\';\n                      \n                            ta.async = true;\n                      \n                            ta.id = "__ta";\n                      \n                            ta.src = \'//cdn-jp.gsecondscreen.com/static/ta.min.js\';\n                      \n                            var fs = document.getElementsByTagName(\'script\')[0];\n                      \n                            fs.parentNode.insertBefore(ta, fs);\n                      \n                         })();\n                        '}}),(0,s.jsx)("script",{type:"module",dangerouslySetInnerHTML:{__html:'\n                    // Import the functions you need from the SDKs you need\n                    import {\n                       initializeApp\n                    } from https://www.gstatic.com/firebasejs/9.13.0/firebase-app.js;\n                 \n                       import {\n                          getAnalytics\n                        } from https://www.gstatic.com/firebasejs/9.13.0/firebase-analytics.js;\n                 \n                       // TODO: Add SDKs for Firebase products that you want to use\n                       // https://firebase.google.com/docs/web/setup#available-libraries\n                       // Your web app\'s Firebase configuration\n                       // For Firebase JS SDK v7.20.0 and later, measurementId is optional\n                 \n                       const firebaseConfig = {\n                          apiKey: "AIzaSyBBC1zXbPh6FHtmASOu5gp5k9g97MYDmBA",\n                          authDomain: "vecvwebsite-gamooga.firebaseapp.com",\n                          projectId: "vecvwebsite-gamooga",\n                          storageBucket: "vecvwebsite-gamooga.appspot.com",\n                          messagingSenderId: "482730193961",\n                          appId: "1:482730193961:web:5aa1cc7f026c5c4fdd9838",\n                          measurementId: "G-V02MV76PJ0"\n                       };\n\n                    // Initialize Firebase\n                        const app = initializeApp(firebaseConfig);\n                        const analytics = getAnalytics(app);\n                    '}}),(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"Eicher Trucks and Buses",url:"https://eichertrucksandbuses.com/",logo:"".concat("https://www.eichertrucksandbuses.com","/assets/img/logo.svg"),sameAs:["https://www.facebook.com/ETBIndia/","https://twitter.com/ETBIndia","https://www.linkedin.com/company/ETBIndia","https://www.youtube.com/c/eichertrucksandbuses"]})}})]})})}},7221:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return c}});var s=a(5893);a(7294);var n=JSON.parse('{"nm":"loading_6","ddd":0,"h":500,"w":500,"meta":{"g":"@lottiefiles/toolkit-js 0.25.8"},"layers":[{"ty":4,"nm":"Shape Layer 2","sr":1,"st":0,"op":300,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[50,50,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"s":[360],"t":60}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"el","bm":0,"hd":false,"mn":"ADBE Vector Shape - Ellipse","nm":"Ellipse Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"s":{"a":0,"k":[300,300],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":50,"ix":5},"c":{"a":0,"k":[0.8392,0.1373,0.0902],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"tm","bm":0,"hd":false,"mn":"ADBE Vector Filter - Trim","nm":"Trim Paths 1","ix":2,"e":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[1],"t":0},{"s":[100],"t":50}],"ix":2},"o":{"a":1,"k":[{"o":{"x":0.167,"y":0.167},"i":{"x":0.833,"y":0.833},"s":[0],"t":0},{"s":[3],"t":60}],"ix":3},"s":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[0],"t":10},{"s":[99],"t":60}],"ix":1},"m":1}],"ind":1},{"ty":4,"nm":"Shape Layer 1","sr":1,"st":0,"op":300,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[50,50,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[250,250,0],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":30,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"el","bm":0,"hd":false,"mn":"ADBE Vector Shape - Ellipse","nm":"Ellipse Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"s":{"a":0,"k":[300,300],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":50,"ix":5},"c":{"a":0,"k":[0.9686,0.6353,0.6118],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":2}],"v":"5.8.1","fr":30,"op":61,"ip":0,"assets":[]}'),i=a(9260),r=a.n(i);function c(){return(0,s.jsx)("div",{className:"loader",children:(0,s.jsx)("div",{className:"innerloader",children:(0,s.jsx)(r(),{loop:!0,animationData:n,autoplay:!0,style:{width:"300px",height:"300px"}})})})}},2259:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return m}});var s=a(5893),n=a(7294),i=a(5121),r=a(7536),c=a(9755),o=a.n(c),l=a(4853),d=a(5675),u=a.n(d);function m(e){var t,a,c,d;let{truckId:m}=e,{reset:h,register:p,handleSubmit:x,formState:{errors:g}}=(0,r.cI)(),[v,j]=(0,n.useState)(),[f,y]=(0,n.useState)(),[b,w]=(0,n.useState)(""),[k,_]=(0,n.useState)(!0),[N,S]=(0,n.useState)(!1),E=(0,n.useRef)(null),[T,C]=(0,n.useState)(!1),[P,A]=(0,n.useState)(""),[B,D]=(0,n.useState)(""),[I,L]=(0,n.useState)(!0),[O,M]=(0,n.useState)(!0),[q,F]=(0,n.useState)(!1),[H,G]=(0,n.useState)(!1),V=async()=>{F(!1);let e=document.getElementById("phone_num2").value,t=new FormData;t.append("mobile",e),t.append("page_type","download-brochure");try{let a=await i.Z.request({method:"post",maxBodyLength:1/0,url:"".concat("https://cms.eichertrucksandbuses.com/","common/send_otp"),headers:{api_key_etbkey201:"api_hdy73_ssDtokan5590333344agjd625983762jh"},data:t});"success"===a.data.status?(A(a.data.otp_id),C(!0),D(""),M(!1),setTimeout(()=>{F(!0)},1e4)):D("Failed to send OTP. Please try again.")}catch(s){console.log(s),D("Error sending OTP. Please try again.")}},z=async e=>{try{let t=E.current.getValue();E.current.reset();let a=new FormData;a.append("name",e.name),a.append("product_id",m),a.append("email",e.email),a.append("contact",e.contact),a.append("otp",e.otp),a.append("otp_id",P),a.append("g-recaptcha-response",t);let s=await (0,i.Z)({url:"".concat("https://cms.eichertrucksandbuses.com/webapi/","get_truck_brochure"),method:"POST",headers:{api_key_etbkey201:"api_hdy73_ssDtokan5590333344agjd625983762jh"},data:a});s&&s.data&&s.data.errors&&D(s.data.errors),s.data[0].brochure?(S(!0),console.log(s.data[0].brochure),j(s.data[0]),h()):void 0!==s.data.errors.length?(S(!1),G(s.data.errors)):S(!1),""===b?_(!1):_(!0),document.body.classList.remove("bodyOverflw")}catch(n){console.log(n)}};(0,n.useEffect)(()=>{o()(".onlyemail").on("keyup",function(){this.value=this.value.replace(/[^0-9a-zA-z@.\.]/g,"")}),o()("#first_name").on("keypress",Y),o()("#phone_num2").on("keypress",function(e){if(8!==e.which&&0!==e.which&&(e.which<48||e.which>57)||o()(this).val().length>9)return!1}),o()("#downloadPDF").on("click",function(){o()(".popupoverlay").remove(),o()("body").removeClass("bodyOverflw"),setTimeout(()=>{window.location.reload()},1e3)}),o()("input, textarea").on("cut copy paste",function(e){e.preventDefault()}),o()("#otp").on("keypress",function(e){if(String.fromCharCode(e.which?e.which:event.keyCode).match(/[^0-9]/g))return!1})});let Y=e=>{var t=e.which?e.which:e.keyCode;return 32==t||91!=t&&92!=t&&93!=t&&94!=t&&95!=t&&96!=t&&!(t<65)&&!(t>122)},R=e=>{w(e),_(!0)},Z=()=>{""==b&&_(!1)};return(0,s.jsx)(s.Fragment,{children:N?(0,s.jsxs)("div",{className:"complete-form",children:[(0,s.jsxs)("div",{className:"iconComplete",children:[(0,s.jsx)("div",{className:"icon",children:(0,s.jsx)(u(),{width:60,height:60,src:"/assets/img/correct.png",alt:"",className:"hgtAuto"})}),(0,s.jsx)("div",{className:"thanktxt",children:"Thank You"})]}),(0,s.jsx)("a",{id:"downloadPDF",href:"".concat(v.brochure),className:"default-btn full-wd-btn",download:!0,target:"blank",children:"Download Brochure"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"formHeading",children:[(0,s.jsx)("h2",{children:"Download Brochure"}),(0,s.jsx)("span",{children:"Please fill the details alongside to begin downloading the brochure"})]}),(0,s.jsx)("div",{className:"borderbtform",children:(0,s.jsx)("form",{onSubmit:x(z),autoComplete:"off",children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{className:"input-field",type:"text",placeholder:"Enter Your Name",name:"name",id:"first_name",maxLength:30,...p("name",{required:"Please Enter Your Name"})}),(0,s.jsx)("span",{className:"error",children:null===(t=g.name)||void 0===t?void 0:t.message})]})}),(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{className:"input-field onlyemail",type:"text",placeholder:"Enter Your Email Id",name:"email",maxLength:50,...p("email",{required:"Please Enter Your Email Id",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Please Enter Valid Email Address."}})}),(0,s.jsx)("span",{className:"error",children:null===(a=g.email)||void 0===a?void 0:a.message})]})}),(0,s.jsxs)("div",{className:"col-md-12",children:[(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{className:"input-field",type:"text",placeholder:"Enter Your Contact Number",name:"contact",maxLength:10,id:"phone_num2",...p("contact",{required:"Please Enter Contact Number",pattern:{value:/^[6-9]\d{9}$/,message:"Not a valid number"}})}),(0,s.jsx)("span",{className:"error",children:null===(c=g.contact)||void 0===c?void 0:c.message})]}),!T&&(0,s.jsx)("button",{type:"button",onClick:V,className:"otp__btn",children:"Send OTP"}),q&&(0,s.jsx)("button",{type:"button",onClick:V,className:"otp__btn",children:"Resend OTP"})]}),(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("input",{disabled:O,className:"input-field",type:"text",placeholder:"Enter OTP*",name:"otp",id:"otp",maxLength:6,...p("otp",{required:"Please enter OTP"})}),(0,s.jsx)("span",{className:"error",children:null===(d=g.otp)||void 0===d?void 0:d.message}),B&&(0,s.jsx)("div",{className:"error",children:B})]})}),(0,s.jsx)("div",{className:"col-lg-12",children:(0,s.jsxs)("div",{className:"form-group text-area",children:[(0,s.jsx)("div",{className:"captcha",children:(0,s.jsx)(l.Z,{sitekey:"6LeF00shAAAAAP82rfORQruMTTsE2MNW0vnwbhmv",onChange:R,ref:E})}),k?"":(0,s.jsx)("span",{className:"error",children:"Please validate the captcha field before submitting your request."})]})}),(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)("div",{className:"form-group",children:[(0,s.jsx)("button",{onClick:Z,className:"default-btn",children:"Download"}),H&&(0,s.jsx)("div",{className:"error formError gob_text_center",children:H})]})})]})})})]})})}window.jQuery=window.$=o()},2613:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return y}});var s=a(5893),n=a(7294),i=a(9755),r=a.n(i),c=a(1664),o=a.n(c),l=a(5121),d=a(2259),u=a(1163),m=a(7221),h=a(5675),p=a.n(h),x=a(9138),g=a(2261);a(4839),a(9995);var v=a(9304),j=a(9008),f=a.n(j);window.jQuery=window.$=r();var y=!0;t.default=function(e){let{sliderData:t,fullList:a}=e;var i,c,h,j,y,b,w,k,_,N,S,E,T=null==a?void 0:a.home_banner_data;null==a||a.row;var C=null==a?void 0:null===(i=a.filters_row)||void 0===i?void 0:i.gcw_range;let[P,A]=(0,n.useState)(),[B,D]=(0,n.useState)(),[I,L]=(0,n.useState)(!1),[O,M]=(0,n.useState)(!0),[q,F]=(0,n.useState)(),[H,G]=(0,n.useState)(),[V,z]=(0,n.useState)(),Y=(0,u.useRouter)(),{slug:R}=Y.query,[Z,K]=(0,n.useState)(!1),[J,U]=(0,n.useState)(),[W,X]=(0,n.useState)(""),[$,Q]=(0,n.useState)(""),[ee,et]=(0,n.useState)(!1);(0,n.useEffect)(()=>{var e;U(window.location.pathname);let t={url:"".concat("https://cms.eichertrucksandbuses.com/webapi/","list_products_trucks?category=HD&subcategory=").concat(null==a?void 0:null===(e=a.subcategory_data)||void 0===e?void 0:e.web_subcate_name,"&vehicle_gbw=").concat(H||"","&vehicle_body_type=").concat(V||""),method:"GET",headers:{api_key_etbkey201:"api_hdy73_ssDtokan5590333344agjd625983762jh"}};(0,l.Z)(t).then(e=>{F(e.data),et(!0)}).catch(e=>console.log(e))},[null==a?void 0:null===(c=a.subcategory_data)||void 0===c?void 0:c.web_subcate_name,H,V]),(0,n.useEffect)(()=>{let e=e=>e!==Y.asPath&&K(!0),t=e=>e===Y.asPath&&K(!1);return Y.events.on("routeChangeStart",e),Y.events.on("routeChangeComplete",t),Y.events.on("routeChangeError",t),()=>{Y.events.off("routeChangeStart",e),Y.events.off("routeChangeComplete",t),Y.events.off("routeChangeError",t)}},[Y.asPath,Y.events]),setTimeout(()=>{r()(".downloadBrch a").each(function(){if("undefined"===r()(this).attr("href"))return r()(this).parent().remove()}),r()(".product-txt p").each(function(){var e=r()(this).text();e.length>130&&(e=e.substr(0,130),r()(this).html(e+"..."))})},100);let ea=Object.keys(C||{}),es=Object.entries(C||{}),en=e=>{let t=e.target.value;Q(e.target.value),G(t);let a=es.filter(e=>e[0]===t);X(""),void 0!==a[0]&&(A(a[0][1]),z("")),void 0===a[0]&&(z(""),A())},ei=e=>{z(e.target.value),X(e.target.value)},er=e=>{let t=e.target.id;localStorage.setItem("_prdSlug",JSON.stringify(t))},ec=(e,t)=>{e.preventDefault(),L(!0),D(t),document.body.classList.add("bodyOverflw")},eo=()=>{L(!1),document.body.classList.remove("bodyOverflw")},el=()=>{M(!0),G(""),z(""),Q(""),X("")},ed=()=>{M(!0)},eu={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"".concat("https://www.eichertrucksandbuses.com")},{"@type":"ListItem",position:2,name:"Product",item:"".concat("https://www.eichertrucksandbuses.com","/heavy-duty-trucks")},{"@type":"ListItem",position:3,name:"Sub-Product",item:"".concat("https://www.eichertrucksandbuses.com").concat(decodeURIComponent(Y.asPath))}]};return(0,s.jsxs)(s.Fragment,{children:[Z?(0,s.jsx)(m.default,{}):"",(0,s.jsx)(f(),{children:(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(eu)}})}),(0,s.jsx)(x.Z,{title:null==a?void 0:null===(h=a.subcategory_data)||void 0===h?void 0:h.page_title,description:null==a?void 0:null===(j=a.subcategory_data)||void 0===j?void 0:j.meta_description,keywords:null==a?void 0:null===(y=a.subcategory_data)||void 0===y?void 0:y.meta_key,ogImage:(null==a?void 0:a.home_banner_data)?null===(b=null==a?void 0:a.home_banner_data[0])||void 0===b?void 0:b.filename:"/assets/img/logo.svg"}),I?(0,s.jsx)("div",{className:"popupoverlay",children:(0,s.jsxs)("div",{className:"popupInside formBox",children:[(0,s.jsx)("div",{className:"closeBtn",onClick:eo,children:"X"}),(0,s.jsx)(d.default,{truckId:B})]})}):"",(0,s.jsxs)("section",{className:"product-sec-listing",children:[(0,s.jsx)("section",{className:"product-banner",children:(0,s.jsx)(g.tq,{pagination:!0,modules:[v.tl],className:"catProbanner",children:null==T?void 0:T.map((e,t)=>(0,s.jsx)(g.o5,{children:(0,s.jsxs)("div",{className:"item",children:[(0,s.jsx)(p(),{width:1900,height:550,src:e.filename,alt:e.alt_text,className:"desktop-banner hgtAuto"}),(0,s.jsx)(p(),{width:720,height:500,src:e.mobile_img,alt:e.alt_text,className:"mobile-banner hgtAuto"}),(0,s.jsx)("div",{className:"caption",children:(0,s.jsx)("div",{className:"wrapper",children:(0,s.jsx)("div",{className:"content-wd",dangerouslySetInnerHTML:{__html:null==e?void 0:e.banner_content}})})})]})},t))})}),(0,s.jsx)("div",{className:"bg-grey",children:(0,s.jsx)("div",{className:"wrapper",children:(0,s.jsxs)("div",{className:"filterbx clearfix",children:[(0,s.jsx)("div",{className:"left-filter",children:(0,s.jsxs)("div",{className:"change-truck",onMouseLeave:ed,children:[(0,s.jsx)("span",{onClick:()=>M(!O),children:"CHANGE TRUCKS"}),O?"":(0,s.jsxs)("ul",{className:"drpmenu",children:[(0,s.jsxs)("li",{children:[(0,s.jsx)("label",{children:"Heavy Duty Trucks"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(o(),{onClick:el,href:"/heavy-duty-trucks/haulage",children:"Haulage"})}),(0,s.jsx)("li",{children:(0,s.jsx)(o(),{onClick:el,href:"/heavy-duty-trucks/tipper",children:"Tipper"})}),(0,s.jsx)("li",{children:(0,s.jsx)(o(),{onClick:el,href:"/heavy-duty-trucks/tractor-trailer",children:"Tractor Trailer"})})]})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)("label",{children:"Light & Medium Duty trucks"}),(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(o(),{onClick:el,href:"/light-medium-duty-trucks/sub-5-ton",children:"Sub 5 Ton"})}),(0,s.jsx)("li",{children:(0,s.jsxs)(o(),{onClick:el,href:"/light-medium-duty-trucks/light-duty",children:[" ","Light Duty"]})}),(0,s.jsx)("li",{children:(0,s.jsx)(o(),{onClick:el,href:"/light-medium-duty-trucks/medium-duty",children:"Medium Duty"})}),(0,s.jsx)("li",{children:(0,s.jsx)(o(),{onClick:el,href:"/light-medium-duty-trucks/tipper",children:"Tipper"})})]})]})]})]})}),(0,s.jsxs)("div",{className:"right-filter",children:[(0,s.jsx)("div",{className:"gcw-range wd-filter",children:(0,s.jsxs)("select",{name:"",id:"",onChange:en,value:$,children:["/heavy-duty-trucks/tractor-trailer"==J?(0,s.jsx)("option",{value:"",children:"GCW Range"}):(0,s.jsx)("option",{value:"",children:"GVW Range"}),null==ea?void 0:ea.map((e,t)=>(0,s.jsx)("option",{value:e,children:e},t))]})}),(0,s.jsx)("div",{className:"body-type wd-filter",children:(0,s.jsxs)("select",{name:"",id:"",onChange:ei,value:W,children:[(0,s.jsx)("option",{value:"",children:"BODY TYPE"}),null===(w=null==P?void 0:P.body_style[0])||void 0===w?void 0:w.map((e,t)=>(0,s.jsx)("option",{value:e,children:e},t))]})})]})]})})}),(0,s.jsx)("section",{className:"breadcrum padtp-15 mg-bt50",children:(0,s.jsx)("div",{className:"wrapper",children:(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(o(),{href:"/",children:"Home"})}),(0,s.jsx)("li",{children:(0,s.jsx)(o(),{href:"/".concat(null==a?void 0:null===(k=a.category_data)||void 0===k?void 0:k.web_cate_slug),children:null==a?void 0:null===(_=a.category_data)||void 0===_?void 0:_.web_cate_name})}),(0,s.jsx)("li",{children:null==a?void 0:null===(N=a.subcategory_data)||void 0===N?void 0:N.web_subcate_name})]})})}),(0,s.jsx)("div",{className:"product-listing",children:(0,s.jsxs)("div",{className:"wrapper",children:[(0,s.jsx)("div",{className:"test",children:(0,s.jsx)("div",{className:"row",children:null==q?void 0:null===(S=q.product_data)||void 0===S?void 0:S.map((e,t)=>(0,s.jsx)("div",{className:"col-lg-4 col-md-6",children:(0,s.jsxs)("div",{className:"single-productbx",children:[(0,s.jsx)("div",{className:"product-img",children:(0,s.jsx)(o(),{href:"".concat(R,"/").concat(e.truck_slug),children:(0,s.jsx)(p(),{width:456,height:337,src:"https://cms.eichertrucksandbuses.com/uploads/truck/img/"+e.product_image,alt:"",className:"hgtAuto"})})}),(0,s.jsxs)("div",{className:"product-txt",children:[(0,s.jsx)("h2",{children:e.truck_name}),(0,s.jsx)("p",{children:e.description}),(0,s.jsx)(o(),{href:"".concat(R,"/").concat(e.truck_slug),id:e.truck_slug,className:"default-btn",onClick:er,children:"Know More"}),e.brochure&&(0,s.jsx)(o(),{href:"#",onClick:t=>ec(t,e.truck_id),className:"default-btn",children:"Download Brochure"})]})]})},t))})}),ee&&!(null==q?void 0:null===(E=q.product_data)||void 0===E?void 0:E.length)&&(0,s.jsx)("div",{className:"not-found",children:(0,s.jsxs)("div",{className:"wrapper",children:[(0,s.jsx)(p(),{width:275,height:183,src:"/assets/img/no-data-found.png",alt:"Not Search Found",className:"hgtAuto"}),"Not Search Found"]})})]})})]})]})}},9995:function(){},9008:function(e,t,a){e.exports=a(3121)}},function(e){e.O(0,[296,9260,3248,4853,9774,2888,179],function(){return e(e.s=5011)}),_N_E=e.O()}]);