Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/ondemand.codeskitter.site/build/static/js/
Upload File :
Current File : /home/users/unlimited/www/ondemand.codeskitter.site/build/static/js/305.401029f8.chunk.js

"use strict";(self.webpackChunkproject=self.webpackChunkproject||[]).push([[305],{4305:(e,n,o)=>{o.r(n),o.d(n,{default:()=>k});var r=o(84289),i=o(65043),t=o(44978),l=o(19252),s=o(68903),a=o(96446),d=o(85865),c=o(39336),u=o(42518),m=o(69369),x=o(7416),p=o(36171),h=o(79456),v=o(70549),f=o(23768),g=o(88446),j=o(43829),b=o(85369),A=o(95263),y=o(70579);const S=()=>{var e,n,o,r,S,k,_,C,w,z,R,N,D,L,$,B,E,M;const T=(0,m.u)(),I=(0,h.wA)(),W=(0,h.d4)((e=>e.Pages)),F=(0,h.d4)((e=>{var n,o;return null===(n=e.Settings)||void 0===n||null===(o=n.settings)||void 0===o?void 0:o.general_settings})),[V,X]=(0,i.useState)({name:"",email:"",subject:"",message:""}),q=e=>{const{name:n,value:o}=e.target;X((e=>({...e,[n]:o})))};(0,i.useEffect)((()=>{(async()=>{try{if(void 0===(null===W||void 0===W?void 0:W.contact)){const e=await p.A.get_settings();I((0,v._R)(e.data.contact_us.contact_us))}}catch(e){console.error("Error fetching settings:",e)}})()}),[W.contact,I]);const H=e=>{let{mapLocation:n}=e;if(!n)return(0,y.jsx)("div",{});const o=n.match(/<iframe(.*?)<\/iframe>/s);if(!o)return(0,y.jsx)("div",{});const r=o[0].replace(/(width|height)=".*?"/g,((e,n)=>"width"===n?'width="100%"':'height="450px"'));return(0,y.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})};return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(j.A,{home:(0,t.t)("home"),pageOne:(0,t.t)("contact_us")}),(0,y.jsxs)(l.A,{sx:{pr:{xs:0,md:"16px"}},className:"mainContainer",children:[(0,y.jsxs)(x.h9,{container:!0,spacing:3,borderRadius:"10px",mt:3,children:[(0,y.jsx)(s.Ay,{item:!0,xs:12,sm:12,md:4,lg:4,xl:4,children:(0,y.jsxs)(a.A,{p:{xs:"16px",md:"20px"},sx:{borderRight:"0.1px solid  #c8b4b430"},children:[(0,y.jsx)(d.A,{variant:"body1",color:null===T||void 0===T||null===(e=T.palette)||void 0===e||null===(n=e.primary)||void 0===n?void 0:n.main,fontSize:16,children:(0,t.t)("lets_talk")}),(0,y.jsx)(d.A,{variant:"h5",gutterBottom:!0,children:(0,y.jsx)("strong",{children:(0,t.t)("get_in_touch")})}),(0,y.jsxs)(a.A,{mt:6,children:[(0,y.jsxs)(a.A,{display:"flex",alignItems:"center",gap:2,mb:5,children:[(0,y.jsx)(a.A,{sx:{backgroundColor:null===T||void 0===T||null===(o=T.palette)||void 0===o||null===(r=o.primary)||void 0===r?void 0:r.main},borderRadius:"8px",p:1.5,children:(0,y.jsx)(b.E_j,{size:36,color:"#fff"})}),(0,y.jsxs)(a.A,{display:"flex",flexDirection:"column",children:[(0,y.jsx)(d.A,{variant:"body1",color:null===T||void 0===T||null===(S=T.palette)||void 0===S||null===(k=S.primary)||void 0===k?void 0:k.main,fontSize:16,children:(0,t.t)("talk_with_us")}),(0,y.jsx)(a.A,{component:"a",href:`tel: +91${null===F||void 0===F?void 0:F.phone}`,sx:{textDecoration:"none"},children:(0,y.jsx)(d.A,{sx:{textDecoration:"none"},color:T.palette.color.navLink,fontSize:18,children:(0,y.jsxs)(g.A,{href:`tel: +91${null===F||void 0===F?void 0:F.phone}`,children:[null===F||void 0===F?void 0:F.country_code," ",null===F||void 0===F?void 0:F.phone]})})})]})]}),(0,y.jsx)(c.A,{sx:{width:{xs:"100%",md:"106.5%"}}}),(0,y.jsxs)(a.A,{display:"flex",alignItems:"center",gap:2,my:5,children:[(0,y.jsx)(a.A,{sx:{backgroundColor:null===T||void 0===T||null===(_=T.palette)||void 0===_||null===(C=_.primary)||void 0===C?void 0:C.main},borderRadius:"8px",p:1.5,children:(0,y.jsx)(b.T35,{size:36,color:"#fff"})}),(0,y.jsxs)(a.A,{display:"flex",flexDirection:"column",children:[(0,y.jsx)(d.A,{variant:"body1",color:null===T||void 0===T||null===(w=T.palette)||void 0===w||null===(z=w.primary)||void 0===z?void 0:z.main,fontSize:16,children:(0,t.t)("quick_email")}),(0,y.jsx)(a.A,{component:"a",href:`mailto: ${null===F||void 0===F?void 0:F.support_email}`,sx:{textDecoration:"none"},children:(0,y.jsx)(d.A,{sx:{textDecoration:"none"},color:T.palette.color.navLink,fontSize:18,children:(0,y.jsx)(g.A,{href:"mailto:"+(null===F||void 0===F?void 0:F.support_email),children:null===F||void 0===F?void 0:F.support_email})})})]})]}),(0,y.jsx)(c.A,{sx:{width:{xs:"100%",md:"106.5%"}}}),(0,y.jsxs)(a.A,{display:"flex",alignItems:"center",gap:2,my:5,children:[(0,y.jsx)(a.A,{sx:{backgroundColor:null===T||void 0===T||null===(R=T.palette)||void 0===R||null===(N=R.primary)||void 0===N?void 0:N.main},borderRadius:"8px",p:1.5,children:(0,y.jsx)(A.sIY,{size:36,color:"#fff"})}),(0,y.jsxs)(a.A,{display:"flex",flexDirection:"column",children:[(0,y.jsx)(d.A,{variant:"body1",color:null===T||void 0===T||null===(D=T.palette)||void 0===D||null===(L=D.primary)||void 0===L?void 0:L.main,fontSize:16,children:(0,t.t)("office_address")}),(0,y.jsx)(d.A,{color:T.palette.color.navLink,fontSize:18,dangerouslySetInnerHTML:{__html:null===F||void 0===F?void 0:F.address}})]})]}),(0,y.jsx)(c.A,{sx:{width:{xs:"100%",md:"106.5%"}}}),(0,y.jsxs)(a.A,{display:"flex",alignItems:"center",gap:2,mt:5,children:[(0,y.jsx)(a.A,{sx:{backgroundColor:null===T||void 0===T||null===($=T.palette)||void 0===$||null===(B=$.primary)||void 0===B?void 0:B.main},borderRadius:"8px",p:1.5,children:(0,y.jsx)(b.w_X,{size:36,color:"#fff"})}),(0,y.jsxs)(a.A,{display:"flex",flexDirection:"column",children:[(0,y.jsx)(d.A,{variant:"body1",color:null===T||void 0===T||null===(E=T.palette)||void 0===E||null===(M=E.primary)||void 0===M?void 0:M.main,fontSize:16,children:(0,t.t)("opening_hours")}),(0,y.jsx)(d.A,{color:T.palette.color.navLink,fontSize:18,children:null===F||void 0===F?void 0:F.support_hours})]})]})]})]})}),(0,y.jsx)(s.Ay,{item:!0,xs:12,sm:12,md:8,lg:8,xl:8,sx:{pr:"24px"},mb:5,children:(0,y.jsx)(a.A,{display:{md:"block"},children:(0,y.jsxs)(a.A,{component:"form",onSubmit:async e=>{var n;if(e.preventDefault(),n=V.email,/\S+@\S+\.\S+/.test(n))try{const e=await p.A.send_message(V);!0===e.error?Object.values(e.message).forEach((e=>{f.Ay.error(e)})):(f.Ay.success(e.message),X({name:"",email:"",subject:"",message:""}))}catch(o){console.error("Error sending message:",o),f.Ay.error("Failed to send message. Please try again later.")}else f.Ay.error("Invalid email address")},padding:{xs:"16px",md:"32px"},mt:{xs:"15px",md:"80px"},height:"500px",marginTop:10,children:[(0,y.jsx)(d.A,{variant:"h3",display:{xs:"none",md:"none"},children:(0,t.t)("contact_us")}),(0,y.jsxs)(a.A,{display:{md:"flex"},sx:{position:"relative"},children:[(0,y.jsx)(d.A,{display:{xs:"none",md:"flex"},justifyContent:"start",variant:"h6",fontSize:16,children:(0,t.t)("name")}),(0,y.jsx)(d.A,{textAlign:"center",display:{xs:"none",md:"flex"},sx:{position:"absolute",left:"51.5%"},variant:"h6",fontSize:16,children:(0,t.t)("email")})]}),(0,y.jsxs)(a.A,{display:{xs:"block",md:"flex"},mb:6,children:[(0,y.jsx)(x.lX,{fullWidth:!0,size:"small",id:"name",name:"name",placeholder:"Enter Name",variant:"outlined",required:!0,sx:{marginBottom:{xs:4,md:0},marginRight:{md:2},borderRadius:"5px","& fieldset":{borderRadius:"5px"}},value:V.name,onChange:q}),(0,y.jsx)(x.lX,{fullWidth:!0,size:"small",required:!0,id:"email",name:"email",placeholder:"Enter Email",variant:"outlined",value:V.email,onChange:q,sx:{marginLeft:{xs:0,md:1},borderRadius:"5px","& fieldset":{borderRadius:"5px"}}})]}),(0,y.jsx)(d.A,{justifyContent:"start",variant:"h6",display:{xs:"none",md:"flex"},fontSize:16,children:(0,t.t)("subject")}),(0,y.jsx)(x.lX,{fullWidth:!0,size:"small",id:"subject",name:"subject",required:!0,value:V.subject,onChange:q,placeholder:"Enter Subject",variant:"outlined",sx:{marginBottom:6,borderRadius:"5px","& fieldset":{borderRadius:"5px"}}}),(0,y.jsx)(d.A,{justifyContent:"start",variant:"h6",display:{xs:"none",md:"flex"},fontSize:16,children:(0,t.t)("message")}),(0,y.jsx)(x.lX,{fullWidth:!0,multiline:!0,rows:6,id:"message",name:"message",value:V.message,required:!0,onChange:q,placeholder:"Enter Message",variant:"outlined",sx:{marginBottom:"16px",borderRadius:"5px","& fieldset":{borderRadius:"5px"}}}),(0,y.jsx)(u.A,{variant:"contained",color:"primary",type:"submit",className:"back-theme mt-2",sx:{float:"inline-end",textTransform:"none",padding:"10px 12px",backgroundColor:T.palette.background.buttonColor,"&:hover":{backgroundColor:T.palette.background.buttonColor}},children:(0,t.t)("submit_message").replace(" ","\xa0")})]})})})]}),(0,y.jsx)(a.A,{marginTop:5,marginBottom:3,ml:-3,children:(0,y.jsx)(H,{mapLocation:null===F||void 0===F?void 0:F.company_map_location})})]})]})},k=()=>((0,i.useEffect)((()=>{document.title=`${(0,t.t)("contact")} | HausMate`}),[]),(0,y.jsx)(r.A,{children:(0,y.jsx)("div",{children:(0,y.jsx)(S,{})})}))},43829:(e,n,o)=>{o.d(n,{A:()=>p});var r=o(7416),i=o(96446),t=o(22698),l=o(85865),s=o(98139),a=o.n(s),d=o(65043),c=o(67852),u=o(70579);const m=d.forwardRef(((e,n)=>{let{bsPrefix:o,fluid:r=!1,as:i="div",className:t,...l}=e;const s=(0,c.oU)(o,"container"),d="string"===typeof r?`-${r}`:"-fluid";return(0,u.jsx)(i,{ref:n,...l,className:a()(t,r?`${s}${d}`:s)})}));m.displayName="Container";const x=m,p=e=>{let{pageOne:n,home:o}=e;return(0,u.jsx)(i.A,{paddingBottom:"15px",mb:"20px",className:"breadcrumbWrapper",children:(0,u.jsxs)(x,{maxWidth:"lg",className:"mainContainer ",children:[(0,u.jsxs)(t.A,{separator:"|","aria-label":"breadcrumb",className:"mb-3 mt-1",children:[(0,u.jsx)(r.w1,{to:"/",className:"breadcrumb",sx:{marginBottom:"0px"},children:(0,u.jsx)("strong",{children:o})}),(0,u.jsx)(l.A,{color:"",children:(0,u.jsx)("strong",{children:n})})]}),(0,u.jsx)(l.A,{variant:"h4",className:"pageName",children:(0,u.jsx)("strong",{children:n})})]})})}},88446:(e,n,o)=>{o.d(n,{A:()=>_});var r=o(98587),i=o(58168),t=o(65043),l=o(58387),s=o(98610),a=o(6803),d=o(34535),c=o(98206),u=o(13574),m=o(95849),x=o(85865),p=o(92532),h=o(72372);function v(e){return(0,h.Ay)("MuiLink",e)}const f=(0,p.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var g=o(17162),j=o(67266);const b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=e=>{let{theme:n,ownerState:o}=e;const r=(e=>b[e]||e)(o.color),i=(0,g.Yn)(n,`palette.${r}`,!1)||o.color,t=(0,g.Yn)(n,`palette.${r}Channel`);return"vars"in n&&t?`rgba(${t} / 0.4)`:(0,j.X4)(i,.4)};var y=o(70579);const S=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],k=(0,d.Ay)(x.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[`underline${(0,a.A)(o.underline)}`],"button"===o.component&&n.button]}})((e=>{let{theme:n,ownerState:o}=e;return(0,i.A)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&(0,i.A)({textDecoration:"underline"},"inherit"!==o.color&&{textDecorationColor:A({theme:n,ownerState:o})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===o.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${f.focusVisible}`]:{outline:"auto"}})})),_=t.forwardRef((function(e,n){const o=(0,c.b)({props:e,name:"MuiLink"}),{className:d,color:x="primary",component:p="a",onBlur:h,onFocus:f,TypographyClasses:g,underline:j="always",variant:A="inherit",sx:_}=o,C=(0,r.A)(o,S),{isFocusVisibleRef:w,onBlur:z,onFocus:R,ref:N}=(0,u.A)(),[D,L]=t.useState(!1),$=(0,m.A)(n,N),B=(0,i.A)({},o,{color:x,component:p,focusVisible:D,underline:j,variant:A}),E=(e=>{const{classes:n,component:o,focusVisible:r,underline:i}=e,t={root:["root",`underline${(0,a.A)(i)}`,"button"===o&&"button",r&&"focusVisible"]};return(0,s.A)(t,v,n)})(B);return(0,y.jsx)(k,(0,i.A)({color:x,className:(0,l.A)(E.root,d),classes:g,component:p,onBlur:e=>{z(e),!1===w.current&&L(!1),h&&h(e)},onFocus:e=>{R(e),!0===w.current&&L(!0),f&&f(e)},ref:$,ownerState:B,variant:A,sx:[...Object.keys(b).includes(x)?[]:[{color:x}],...Array.isArray(_)?_:[_]]},C))}))}}]);
//# sourceMappingURL=305.401029f8.chunk.js.map