"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2414],{730:function(e,l){l.Z={src:"/_next/static/media/discoutn.6701bd79.webp",height:2560,width:1466,blurDataURL:"data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAAAQAgCdASoFAAgAAkA4JagCdLoAArl8qTgAAP549DqfbKhSNS1vbWMrgPqIiEWRl/rABbuS9M9ZAAAA",blurWidth:5,blurHeight:8}},2414:function(e,l,s){s.r(l),s.d(l,{default:function(){return b}});var t=s(5893),a=s(8285),r=s(8773),i=s(7294),d=s(5675),c=s.n(d),n=s(1664),o=s.n(n),x=s(5890),h=s(3804),m=s(8506),p=s(6066),g=s(730),u={src:"/_next/static/media/free.1b0e6879.webp",height:2560,width:1466,blurDataURL:"data:image/webp;base64,UklGRlAAAABXRUJQVlA4IEQAAACwAQCdASoFAAgAAkA4JagCdADzgIkAAP7mnzM6ZZhs/edRf9Tc3tiEiinciuAoDHIUZE3Gxmpg6JJf2yxn1SxnFbYAAA==",blurWidth:5,blurHeight:8};s(1660),s(7880);var b=function(e){let{data:l,branch:s,phoneno:d,count:n}=e,[b,f]=(0,i.useState)(6),[j,v]=(0,i.useState)(""),w=e=>(null==e?void 0:e.includes("cdn"))?e:null==e?void 0:e.replace("https://ldcars.blr1.","https://ldcars.blr1.cdn."),A=null==l?void 0:l.filter(e=>e.maker_model.toLowerCase().includes(j.toLowerCase()));return(0,t.jsxs)("div",{className:" bg-white",children:[(0,t.jsxs)("p",{className:"text-black xl:text-5xl lg:text-4xl text-lg font-bold text-center py-7 capitalize",children:["Explore Our Cars in ",(null==s?void 0:s.length)?s:"Hyderabad"]}),(0,t.jsxs)("div",{className:" lg:mb-16 pl-3 flex items-center justify-center pt-2 pb-14 lg:pb-2",children:[(0,t.jsx)("input",{placeholder:"Search for your favourite car",className:"placeholder-black text-black px-4 py-3 rounded-full bg-gray-200 w-full  md:max-w-96 lg:max-w-2xl",type:"search",value:j,onChange:e=>v(e.target.value)}),(0,t.jsx)(r.U41,{size:25,className:"text-blue-500 relative right-9 lg:right-20 md:right-14"})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-x-8 gap-y-8 lg:items-start justify-center lg:pl-12 items-center text-white",children:null==A?void 0:A.slice(0,b).map((e,l)=>(0,t.jsxs)(i.Fragment,{children:[(0,t.jsxs)("div",{className:" lg:rounded-md flex flex-col  w-[100%] md:w-72 lg:h-[480px] bg-white  h-[530px] lg:hover:scale-105",children:[(0,t.jsxs)("div",{className:"relative lg:h-[480px]  h-[480px] lg:rounded-md bg-white",children:[(0,t.jsx)("div",{className:"relative z-20 bg-gradient-to-b from-black opacity-90 lg:rounded-md bottom-4",children:(0,t.jsx)("div",{className:"flex flex-col gap-2 items-end pt-5 pr-5",children:(0,t.jsx)("p",{className:"capitalize p-1 font-bold text-white bg-blue-700 rounded-md  z-50 font-manrope text-base pt-2 ",children:null==e?void 0:e.maker_model.toLowerCase()})})}),(0,t.jsxs)(p.Z,{dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,centerMode:!0,centerPadding:0,focusOnSelect:!0,arrows:!1,pauseOnFocus:!0,pauseOnHover:!0,className:"relative bottom-[4.5rem] lg:rounded-md",children:[(0,t.jsx)("div",{children:(0,t.jsx)(o(),{href:"".concat((((null==s?void 0:s.length)?s:"")+"/car-rental/"+e.maker_model).toLowerCase().replace(/ /g,"-")),children:(0,t.jsx)(c(),{className:"lg:h-[455px] h-[450px] rounded-md",width:1e3,height:1e3,alt:"cars",src:w(null==e?void 0:e.car_image_car_right_view)})})}),(0,t.jsx)("div",{onClick:()=>{},children:(0,t.jsx)(o(),{href:"".concat(("car-rental/"+e.maker_model).toLowerCase().replace(/ /g,"-")),children:(0,t.jsx)(c(),{alt:"self drive car rental",className:"lg:h-[455px] h-[450px] rounded-md",width:1e3,height:1e3,src:w(null==e?void 0:e.car_image_back_inner)})})}),(0,t.jsx)("div",{children:(0,t.jsx)(o(),{href:"".concat(("car-rental/"+e.maker_model).toLowerCase().replace(/ /g,"-")),children:(0,t.jsx)(c(),{alt:"self drive car rental",className:"lg:h-[455px] h-[450px] rounded-md",width:1e3,height:1e3,src:w(null==e?void 0:e.car_image_reading_view)})})}),(0,t.jsx)("div",{children:(0,t.jsx)(o(),{href:"".concat(("car-rental/"+e.maker_model).toLowerCase().replace(/ /g,"-")),children:(0,t.jsx)(c(),{alt:"self drive car rental",className:"lg:h-[455px] h-[450px] rounded-md",width:1e3,height:1e3,src:w(null==e?void 0:e.car_image_back_view)})})})]}),(0,t.jsxs)("div",{className:"relative z-20 bottom-[12.5rem] lg:bottom-[12.1rem] bg-gradient-to-t from-black opacity-90",children:[(0,t.jsxs)("div",{className:"flex gap-2 items-center justify-around pt-5 pr-5 pb-2",children:[(0,t.jsx)("p",{className:"font-bold text-lg shadow-black",children:"Book Now"}),(0,t.jsxs)("p",{className:"capitalize p-1 font-bold text-white bg-blue-700 rounded-md  z-50 font-manrope text-base pt-2 px-2 border-[1px] border-white",children:["₹ ",(null==e?void 0:e.price_24_hours)*24,"/day"]})]}),(0,t.jsxs)("ul",{className:"flex gap-4 justify-center text-xs pt-2 pb-6 font-bold",children:[(0,t.jsxs)("li",{className:"border-r-2 border-white flex items-center gap-1 pr-2",children:[(0,t.jsx)("span",{children:(0,t.jsx)(x.XiQ,{className:"text-orange-500"})}),(0,t.jsx)("span",{children:null==e?void 0:e.fuel_type})]}),(0,t.jsxs)("li",{className:"border-r-2 border-white flex items-center gap-1 pr-2",children:[(0,t.jsx)("span",{children:(0,t.jsx)(h.ZMl,{className:"text-blue-500"})}),(0,t.jsxs)("span",{children:[null==e?void 0:e.seater," Seater"]})]}),(0,t.jsxs)("li",{className:" flex items-center gap-1",children:[(0,t.jsx)("span",{children:(0,t.jsx)(m.gm_,{size:20,className:"text-red-600"})}),(0,t.jsx)("span",{children:null==e?void 0:e.transmission_type})]})]})]})]}),(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"z-20 relative flex justify-between  text-white bottom-[3.5rem] lg:bottom-[2.4rem]",children:(0,t.jsxs)("ul",{className:"flex w-full justify-between",children:[(0,t.jsxs)("li",{className:"bg-green-500 w-full py-4 lg:py-2 text-center lg:rounded-bl-md",children:[" ",(0,t.jsx)(o(),{href:"https://api.whatsapp.com/send?phone=+91".concat(d,"&text=Hi%0AI%20am%20looking%20for%20a%20car%20booking."),target:"_blank",children:(0,t.jsxs)("p",{className:" flex gap-1 lg:text-sm text-lg justify-center items-center",children:[(0,t.jsx)("span",{children:(0,t.jsx)(r.xpo,{size:20})})," ",(0,t.jsx)("span",{children:"Whatsappp"})]})})]}),(0,t.jsx)("li",{className:"bg-blue-500 w-full py-3 lg:py-2 lg:rounded-br-md",children:(0,t.jsx)(o(),{href:"tel:".concat(d),target:"_blank",children:(0,t.jsxs)("p",{className:" flex gap-1 lg:text-sm text-lg justify-center items-center",children:[(0,t.jsx)("span",{children:(0,t.jsx)(a.a54,{size:20})})," ",(0,t.jsx)("span",{children:"Call Us"})]})})})]})})})]}),l+1===2&&(0,t.jsx)("div",{className:" ",children:(0,t.jsx)("div",{className:"bg-[#8d398d] lg:rounded-md  flex flex-col  w-[100%] md:w-72 lg:h-[496px] h-[530px] lg:hover:scale-105 relative bottom-4",children:(0,t.jsx)("div",{children:(0,t.jsx)(c(),{src:g.Z,height:1e3,width:1e3,alt:"discount self drive car rental",className:"scale-75 mxs:scale-[0.6] lg:scale-90 relative bottom-[4rem] mxs:bottom-16 md:bottom-0 mxs:bottom- rounded-md"})})})}),l+1===4&&(0,t.jsx)("div",{className:"",children:(0,t.jsx)("div",{className:"bg-[#000000] lg:rounded-md flex flex-col  w-[100%] md:w-72 lg:h-[496px]   h-[530px] lg:hover:scale-105 relative bottom-4",children:(0,t.jsx)("div",{children:(0,t.jsx)(c(),{src:u,height:1e3,width:1e3,alt:"discount self drive car rental",className:" rounded-md bg-cover lg:h-[496px] h-[530px]"})})})})]},l))}),b<(null==A?void 0:A.length)&&(0,t.jsx)("div",{className:"text-center px-6 pb-10 lg:pt-8",children:(0,t.jsx)("button",{className:"bg-[#4508a6] text-xl font-bold text-white w-full lg:w-96 py-4 rounded-full",children:(0,t.jsx)(o(),{href:"".concat((null==s?void 0:s.length)?s:"","/explore-self-drive-cars"),children:"View all cars"})})})]})}}}]);