1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8455],{47031:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return t(49689)}])},98271:function(e,l,t){"use strict";var s=t(85893);t(67294),l.Z=e=>{let{data:l,onInputChange:t}=e,{required:r,label:a,inputKey:n}=l;return(0,s.jsxs)("fieldset",{className:"border border-light-grey-color w-full h-12 rounded-md mb-7",children:[(0,s.jsxs)("legend",{className:"mx-3 px-1 text-xs",children:[a," ",r?"*":""]}),(0,s.jsx)("div",{className:"flex flex-row justify-start text-sm text-Default items-center px-3",children:(0,s.jsx)("input",{placeholder:"Date of birth",type:"text",onFocus:e=>e.target.type="date",id:n,className:"flex flex-row-reverse gap-2 mx-0 w-full border-0 placeholder:text-[#47556980] bg-transparent focus:outline-none placeholder:text-sm rounded-md px-2",name:n,onChange:t})})]})}},81798:function(e,l,t){"use strict";var s=t(85893),r=t(84267),a=t(67294),n=t(86501),o=t(34057);l.Z=e=>{let{data:l,onInputChange:t}=e,[i,d]=a.useState([]),{inputKey:c,placeholder:u,required:x,label:h}=l,[m,p]=(0,a.useState)(!1),f=async e=>{if(p(!0),e.target.files.length>0){let s=await (0,r.eg)(e.target.files);if(200===s.status){if(p(!1),Array.isArray(s.data)){let e={target:{name:c,value:s.data}};d(i),t(e),n.ZP.success("File uploaded successfully")}else{var l;n.ZP.error((null===(l=s.data)||void 0===l?void 0:l.message)||"")}}else n.ZP.error("File upload failed")}else n.ZP.error("No file selected")};return(0,s.jsxs)("fieldset",{className:"border border-light-grey-color w-full h-12 rounded-md mb-7",children:[(0,s.jsxs)("legend",{className:"mx-3 px-1 text-xs",children:[h," ",x?"*":""]}),(0,s.jsxs)("div",{className:"flex flex-row justify-start text-sm text-Default items-center px-3",children:[(0,s.jsx)("input",{placeholder:u,type:"file",id:"file",className:"flex flex-row-reverse gap-2 mx-0 w-full border-0 placeholder:text-[#47556980] bg-transparent focus:outline-none placeholder:text-sm rounded-md px-2",name:c,onChange:f,disabled:m}),m&&(0,s.jsxs)("div",{className:"ml-3",children:[(0,s.jsx)(o.Z,{loading:m})," "]})]})]})}},31966:function(e,l,t){"use strict";var s=t(85893);t(67294);var r=t(86703);l.Z=e=>{let{data:l,value:t,onInputChange:a}=e,{type:n,inputKey:o,placeholder:i,options:d,required:c,label:u}=l;return(0,s.jsxs)("fieldset",{className:"border border-light-grey-color w-full h-12 rounded-md ",children:[(0,s.jsxs)("legend",{className:"mx-3 px-1 text-xs",children:[u," ",c?"*":""]}),(0,s.jsxs)("div",{className:"flex flex-row justify-start items-center px-4",children:[(0,s.jsx)("div",{className:"relative w-4 h-4",children:(0,s.jsx)(r.default,{src:"/icons/Profile_Red.svg",alt:"d"})}),(0,s.jsx)("input",{type:"number",name:o,value:t,placeholder:i,onChange:a,className:"w-full border-0 placeholder:text-[#47556980] bg-transparent focus:outline-none placeholder:text-PH_Default placeholder:text-sm rounded-md px-2"})]})]})}},18772:function(e,l,t){"use strict";var s=t(85893);t(67294);var r=t(86703);l.Z=e=>{let{data:l,onInputChange:t,value:a}=e,{placeholder:n,required:o,label:i,image:d}=l;return(0,s.jsxs)("fieldset",{className:"border border-light-grey-color w-full rounded-md",children:[(0,s.jsxs)("legend",{className:"mx-3 px-1 text-xs",children:[i,o?"*":""]}),(0,s.jsxs)("div",{className:"flex flex-row justify-start items-start h-20 px-4",children:[(0,s.jsx)("div",{className:"relative w-4 h-4 my-0.5",children:(0,s.jsx)(r.default,{src:d||"/icons/Profile_Red.svg",alt:"d"})}),(0,s.jsx)("textarea",{name:l.inputKey,value:a,onChange:t,placeholder:n,className:"w-full h-full border-0 placeholder:text-[#47556980] bg-transparent focus:outline-none placeholder:text-PH_Default placeholder:text-sm rounded-md pl-2",style:{height:"70px",resize:"none",overflowY:"auto"}})]})]})}},71722:function(e,l,t){"use strict";var s=t(85893);t(67294);var r=t(86703);l.Z=e=>{let{data:l,onInputChange:t,value:a}=e,{type:n,placeholder:o,options:i,required:d,label:c,image:u}=l;return(0,s.jsxs)("fieldset",{className:"border border-light-grey-color w-full h-12 rounded-md ",children:[(0,s.jsxs)("legend",{className:"mx-3 px-1 text-xs",children:[c,d?"*":""]}),(0,s.jsxs)("div",{className:"flex flex-row justify-start items-center px-4",children:[(0,s.jsx)("div",{className:"relative w-4 h-4",children:(0,s.jsx)(r.default,{src:u||"/icons/Profile_Red.svg",alt:"d"})}),(0,s.jsx)("input",{type:"text",name:l.inputKey,value:a,onChange:t,placeholder:o,className:"w-full border-0 placeholder:text-[#47556980] bg-transparent focus:outline-none placeholder:text-PH_Default placeholder:text-sm rounded-md px-2"})]})]})}},60955:function(e,l,t){"use strict";var s=t(85893),r=t(67294);l.Z=e=>{let{data:l,onInputChange:t}=e,[a,n]=(0,r.useState)([]),{inputKey:o,options:i,required:d,label:c}=l,u=e=>{let l=a.includes(e)?a.filter(l=>l!==e):[...a,e];n(l),t({target:{name:o,value:l}})};return(0,s.jsxs)("fieldset",{className:"border border-light-grey-color w-full rounded-md p-3",children:[(0,s.jsxs)("legend",{className:"mx-3 px-1 text-xs",children:[c," ",d?"*":""]}),(0,s.jsx)("div",{className:"flex flex-col space-y-2",children:i.map(e=>(0,s.jsxs)("label",{className:"flex items-center space-x-2 border-b border-gray-200 pb-2",children:[(0,s.jsx)("input",{type:"checkbox",checked:a.includes(e.value),name:o,onChange:()=>u(e.value),className:"form-checkbox h-4 w-4 text-blue-600 border-gray-300 rounded"}),(0,s.jsx)("span",{className:"text-sm text-gray-700",children:e.label})]},e.value))})]})}},78922:function(e,l,t){"use strict";var s=t(85893);t(67294),l.Z=e=>{let{data:l,value:t,onInputChange:r}=e,{inputKey:a,options:n,required:o,label:i}=l;return(0,s.jsxs)("fieldset",{className:"border border-light-grey-color w-full h-12 rounded-md",children:[(0,s.jsxs)("legend",{className:"mx-3 px-1 text-xs",children:[i," ",o?"*":""]}),(0,s.jsx)("div",{className:"flex flex-row justify-start items-center pl-2 pr-3",children:(0,s.jsxs)("select",{name:a,onChange:r,value:null!=t?t:"",className:"focus:ring-blue-500 focus:border-blue-500 dark:bg-white dark:border-gray-600 dark:placeholder-gray-400 dark:text-[#47556980] dark:focus:ring-blue-500 dark:focus:border-blue-500 border-0 text-Default text-opacity-50 text-sm bg-white w-full focus:outline-none hover:border-black placeholder:text-PH_Default placeholder:text-sm rounded-md px-2",children:[(0,s.jsxs)("option",{value:"",disabled:!0,className:"text-gray-400",children:["Select ",i]}),n.map(e=>(0,s.jsx)("option",{value:e.value,className:"text-sm",children:e.label},e.value))]})})]})}},49689:function(e,l,t){"use strict";t.r(l);var s=t(85893),r=t(86703),a=t(98271),n=t(81798),o=t(31966),i=t(18772),d=t(71722),c=t(60955),u=t(78922),x=t(11163),h=t(67294),m=t(86501);let p={fullName:{type:"text",placeholder:"Enter First Name",defaultValue:"Enter First Name",required:!0,label:"Full Name",isOTPRequired:!1,priority:1,value:"",inputKey:"fullName"},phone:{type:"number",placeholder:"Enter Phone Number without +91",defaultValue:"",required:!0,label:"Phone",isOTPRequired:!0,priority:3,error:null,value:"",inputKey:"phone"},email:{type:"text",placeholder:"Enter Email",defaultValue:"",required:!1,label:"Email",isOTPRequired:!0,priority:4,error:null,value:"",inputKey:"email"},enquiry:{type:"textarea",placeholder:"Enter your enquiry",defaultValue:"",required:!1,label:"Enquiry",isOTPRequired:!0,priority:5,error:null,value:"",inputKey:"enquiry"}};l.default=()=>{let[e,l]=(0,h.useState)(!1),[t,f]=(0,h.useState)({fullName:"",phone:"",email:"",enquiry:""}),g=(0,x.useRouter)(),j=e=>{let{name:l,value:s}=e.target;Object.keys(t).includes(l)&&(f(e=>({...e,[l]:s})),b())},b=()=>{for(let e of Object.keys(t).filter(e=>p[e].required))if(""===t[e]){l(!1);return}l(!0)};return(0,s.jsx)("section",{className:"bg-white py-8 px-4 xs:px-6 sm:px-8 lg:py-16 md:px-12 lg:px-16 xl:px-20 xxl:px-24 3xl:px-35",children:(0,s.jsxs)("div",{className:"flex flex-col gap-8 md:flex-row lg:justify-center lg:gap-12 my-auto",children:[(0,s.jsx)("div",{className:"w-full lg:w-1/2 h-auto",children:(0,s.jsxs)("div",{className:"px-6 py-8 bg-white shadow-lg rounded-lg lg:max-w-lg mx-auto",children:[(0,s.jsx)("h1",{className:"text-xl font-semibold text-gray-800 lg:text-2xl mb-6",children:"Submit Your Enquiry Here"}),(0,s.jsx)("div",{className:"overflow-y-scroll max-h-[60vh] scrollbar-hide rounded-lg shadow-lg",children:(0,s.jsxs)("section",{className:"flex flex-col gap-3 p-4",children:[Object.keys(p).map(e=>{let l={data:p[e],value:t[e].value,onInputChange:j};
1switch(p[e].type){case"select":return(0,s.jsx)(u.Z,{...l},e);case"multi-select":return(0,s.jsx)(c.Z,{...l},e);case"text":return(0,s.jsx)(d.Z,{...l},e);case"number":return(0,s.jsx)(o.Z,{...l},e);case"date":return(0,s.jsx)(a.Z,{...l},e);case"file":return(0,s.jsx)(n.Z,{...l},e);case"textarea":return(0,s.jsx)(i.Z,{...l},e);default:return null}}),(0,s.jsx)("button",{className:"".concat(e?"bg-BluntRed text-white":"bg-gray-400 text-gray-50"," h-10 w-full rounded-lg"),onClick:()=>{if(!e){m.ZP.error("Please fill all the required fields");return}},children:"Submit Enquiry"})]})})]})}),(0,s.jsxs)("div",{className:"w-full lg:w-1/2 m-auto",children:[(0,s.jsx)("h1",{className:"text-2xl font-semibold text-BluntRed capitalize lg:text-3xl mb-6",children:"Contact us for more info"}),(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("p",{className:"flex items-start space-x-2",children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6 text-BluntRed",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:[(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]}),(0,s.jsx)("span",{className:"text-gray-700",children:"Krishnappa Garden, C V Raman Nagar, Bengaluru Karnataka 560093"})]}),(0,s.jsxs)("p",{className:"flex items-start space-x-2",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6 text-BluntRed",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),(0,s.jsx)("span",{className:"text-gray-700",children:"(+91) 9869929292"})]}),(0,s.jsxs)("p",{className:"flex items-start space-x-2",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6 text-BluntRed",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),(0,s.jsx)("span",{className:"text-gray-700",children:"[email protected]"})]}),(0,s.jsxs)("div",{className:"mt-6",children:[(0,s.jsx)("h3",{className:"text-gray-600 mb-3",children:"Follow us"}),(0,s.jsxs)("div",{className:"flex gap-4",children:[(0,s.jsx)(r.default,{src:"/icons/fb-icon.png",alt:"Facebook",width:30,height:30,onClick:()=>g.push("https://www.facebook.com/p/Bookmypooja-100081370088277/")}),(0,s.jsx)(r.default,{src:"/icons/instagram.svg",alt:"Instagram",width:30,height:30,onClick:()=>g.push("https://www.instagram.com/bookmypooja.online/")}),(0,s.jsx)(r.default,{src:"/icons/linkedin.svg",alt:"LinkedIn",width:30,height:30,onClick:()=>g.push("https://www.linkedin.com/company/bookmypooja1/")}),(0,s.jsx)(r.default,{src:"/icons/x-icon.png",alt:"X",width:30,height:30,onClick:()=>g.push("https://x.com/bookmypooja1?t=NIv60KKoU47ytqTN996lmQ&s=08")}),(0,s.jsx)(r.default,{src:"/icons/youtube.svg",alt:"YouTube",width:30,height:30,onClick:()=>g.push("https://www.youtube.com/@bookmypoojaonline242")})]})]})]})]})]})})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=47031)}),_N_E=e.O()}]); 2//# sourceMappingURL=contact-us-e472cec5c6484d67.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.