1import{j as e,r as m,C as N,a as M}from"./index-DqfSOjmI.js";import{u as h,i as c,W as f,a as I,M as T,F as _,R as x,S as y,j as O,B as L,D as k,y as S,x as E,w as C}from"./AppRoutes-BLHaUkVT.js";import{M as g}from"./MainHeadingVersionTwoComp-Dda8_mxR.js";import{T as r}from"./TextInputFieldComp-DtO_VGS8.js";import{T as Z}from"./TextAreaComp-CiYebFmQ.js";import{L as A}from"./LeftIconRightTextComp-DmUIrU9k.js";import"./use-in-view-DzIi82OH.js";import"./index-JLTyUzIt.js";const P=()=>{const{t:s,translations:n}=h();return e.jsxs("div",{className:" bg-bg_dark_purple relative min-h-fit",children:[e.jsx("div",{className:"relative top-0 min-w-full flex bg-bg_dark_purple h-[80px] pt-5"}),e.jsx("img",{src:c.HERO_SECTION_BG_WITHOUT_LOGO,className:"relative h-[600px] w-[400px]w-[1440px] object-cover xxl:w-full xxl:h-auto xxl:object-contain hidden ssm:block ",alt:"background image"}),e.jsx("img",{src:c.HERO_SECTION_BG_WITHOUT_LOGO_MOBILE,className:"relative object-contain xxl:w-full xxl:h-auto xxl:object-contain block ssm:hidden",alt:"background image"}),e.jsx("div",{className:"",children:e.jsxs(f,{className:"absolute top-[50%] left-[50%] -translate-x-[50%] -translate-y-[50%] max-w-[1440px] mx-auto w-full h-full",children:[e.jsxs("svg",{className:"absolute top-[36%] hidden smlg:block animate-slow-spin duration-5000 fill-pink_color-900",width:"65",height:"64",viewBox:"0 0 65 64",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M24.1049 31.9999C24.1975 30.8755 23.6728 29.7207 22.3148 29.2345C17.3457 27.5023 0 21.6371 0 31.9999C0 42.3627 17.3765 36.4975 22.3148 34.7653C23.6728 34.3095 24.1975 33.1243 24.1049 31.9999Z"}),e.jsx("path",{d:"M32.4999 23.7341C33.6419 23.8253 34.8148 23.3086 35.3086 21.9715C37.0678 17.0788 43.0246 0 32.4999 0C21.9753 0 27.932 17.1092 29.6913 21.9715C30.1543 23.3086 31.358 23.8253 32.4999 23.7341Z"}),e.jsx("path",{d:"M23.3024 26.8643C24.5987 27.472 25.8024 27.0162 26.5432 26.1653C27.4074 25.436 27.8703 24.2508 27.253 22.9744C24.9691 18.2945 16.9135 2.06654 9.47526 9.39038C2.03699 16.7142 18.5185 24.6458 23.2716 26.8946L23.3024 26.8643Z"}),e.jsx("path",{d:"M38.4261 26.1349C39.1668 26.9858 40.3705 27.4416 41.6668 26.8339C46.4199 24.585 62.9014 16.6534 55.4631 9.32958C48.0249 2.00575 39.9693 18.2337 37.6854 22.9136C37.0681 24.19 37.531 25.3752 38.3952 26.1045L38.4261 26.1349Z"}),e.jsx("path",{d:"M36.2347 28.3226C35.2471 27.3805 33.9199 26.8335 32.5619 26.8335C31.173 26.8335 29.8458 27.3805 28.889 28.3226C27.9323 29.295 27.3767 30.6018 27.3767 31.9389C27.3767 33.3064 27.9323 34.6132 28.889 35.5552C29.8767 36.4973 31.2039 37.0443 32.5619 37.0443C33.9508 37.0443 35.2779 36.4973 36.2347 35.5552C37.1915 34.5828 37.7471 33.276 37.7471 31.9389C37.7471 30.5714 37.1915 29.2646 36.2347 28.3226Z"}),e.jsx("path",{d:"M41.6975 37.1358C40.4012 36.528 39.1975 36.9839 38.4568 37.8348C37.5926 38.5641 37.1296 39.7493 37.7469 41.0257C40.0308 45.7056 48.0864 61.9336 55.5247 54.6097C62.9629 47.2859 46.4814 39.3542 41.7284 37.1054L41.6975 37.1358Z"}),e.jsx("path",{d:"M26.5741 37.8348C25.8333 36.9839 24.6296 36.528 23.3333 37.1358C18.5802 39.3846 2.09876 47.3163 9.53703 54.6401C16.9753 61.9639 25.0309 45.736 27.3148 41.0561C27.9321 39.7797 27.4691 38.5945 26.6049 37.8652L26.5741 37.8348Z"}),e.jsx("path",{d:"M42.6852 29.2345C41.3272 29.6903 40.8025 30.8755 40.8951 31.9999C40.8025 33.1243 41.3272 34.3095 42.6852 34.7653C47.6544 36.4975 65 42.3627 65 31.9999C65 21.6371 47.6235 27.5023 42.6852 29.2345Z"}),e.jsx("path",{d:"M32.4999 40.2663C31.358 40.1751 30.1851 40.6917 29.6913 42.0289C27.932 46.9215 21.9753 64.0004 32.4999 64.0004C43.0246 64.0004 37.0678 46.8912 35.3086 42.0289C34.8456 40.6917 33.6419 40.1751 32.4999 40.2663Z"})]}),e.jsx("div",{className:"relative flex justify-center flex-col items-center w-fit top-[40%] left-[50%] -translate-x-[50%]",children:e.jsx("div",{className:"flex justify-center flex-col items-start ",children:e.jsxs("div",{className:"text-center ",children:[e.jsx("div",{className:" hidden ssm:block",children:e.jsx(g,{wordOneStyle:"text-[8vw] ssm:text-[58px]",wordThreeStyle:"text-[8vw] ssm:text-[58px]",wordTwoStyle:"text-[8vw] ssm:text-[58px]",wordOne:s(n?.contact_us_page?.title1),wordTwo:s(n?.contact_us_page?.title2),wordThree:s(n?.contact_us_page?.title3),className:"",arcStyle:"w-[50vw] h-[50vw] ssm:w-[240px] ssm:h-[240px]",svgColor:"#DCAF96"})}),e.jsx("div",{className:"block ssm:hidden mt-5",children:e.jsx(g,{wordTwoStyle:"text-[8vw] ",wordTwo:s(n?.contact_us_page?.title4),wordOne:"",wordThree:"",className:"",arcStyle:"w-[46vw] h-[46vw] ",svgColor:"#DCAF96"})})]})})}),e.jsxs("svg",{className:"absolute top-[34%] right-[20%] hidden smlg:block animate-slow-spin duration-5000 fill-atomic_tangerine_color",width:"40",height:"40",viewBox:"0 0 65 64",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M24.1049 31.9999C24.1975 30.8755 23.6728 29.7207 22.3148 29.2345C17.3457 27.5023 0 21.6371 0 31.9999C0 42.3627 17.3765 36.4975 22.3148 34.7653C23.6728 34.3095 24.1975 33.1243 24.1049 31.9999Z"}),e.jsx("path",{d:"M32.4999 23.7341C33.6419 23.8253 34.8148 23.3086 35.3086 21.9715C37.0678 17.0788 43.0246 0 32.4999 0C21.9753 0 27.932 17.1092 29.6913 21.9715C30.1543 23.3086 31.358 23.8253 32.4999 23.7341Z"}),e.jsx("path",{d:"M23.3024 26.8643C24.5987 27.472 25.8024 27.0162 26.5432 26.1653C27.4074 25.436 27.8703 24.2508 27.253 22.9744C24.9691 18.2945 16.9135 2.06654 9.47526 9.39038C2.03699 16.7142 18.5185 24.6458 23.2716 26.8946L23.3024 26.8643Z"}),e.jsx("path",{d:"M38.4261 26.1349C39.1668 26.9858 40.3705 27.4416 41.6668 26.8339C46.4199 24.585 62.9014 16.6534 55.4631 9.32958C48.0249 2.00575 39.9693 18.2337 37.6854 22.9136C37.0681 24.19 37.531 25.3752 38.3952 26.1045L38.4261 26.1349Z"}),e.jsx("path",{d:"M36.2347 28.3226C35.2471 27.3805 33.9199 26.8335 32.5619 26.8335C31.173 26.8335 29.8458 27.3805 28.889 28.3226C27.9323 29.295 27.3767 30.6018 27.3767 31.9389C27.3767 33.3064 27.9323 34.6132 28.889 35.5552C29.8767 36.4973 31.2039 37.0443 32.5619 37.0443C33.9508 37.0443 35.2779 36.4973 36.2347 35.5552C37.1915 34.5828 37.7471 33.276 37.7471 31.9389C37.7471 30.5714 37.1915 29.2646 36.2347 28.3226Z"}),e.jsx("path",{d:"M41.6975 37.1358C40.4012 36.528 39.1975 36.9839 38.4568 37.8348C37.5926 38.5641 37.1296 39.7493 37.7469 41.0257C40.0308 45.7056 48.0864 61.9336 55.5247 54.6097C62.9629 47.2859 46.4814 39.3542 41.7284 37.1054L41.6975 37.1358Z"}),e.jsx("path",{d:"M26.5741 37.8348C25.8333 36.9839 24.6296 36.528 23.3333 37.1358C18.5802 39.3846 2.09876 47.3163 9.53703 54.6401C16.9753 61.9639 25.0309 45.736 27.3148 41.0561C27.9321 39.7797 27.4691 38.5945 26.6049 37.8652L26.5741 37.8348Z"}),e.jsx("path",{d:"M42.6852 29.2345C41.3272 29.6903 40.8025 30.8755 40.8951 31.9999C40.8025 33.1243 41.3272 34.3095 42.6852 34.7653C47.6544 36.4975 65 42.3627 65 31.9999C65 21.6371 47.6235 27.5023 42.6852 29.2345Z"}),e.jsx("path",{d:"M32.4999 40.2663C31.358 40.1751 30.1851 40.6917 29.6913 42.0289C27.932 46.9215 21.9753 64.0004 32.4999 64.0004C43.0246 64.0004 37.0678 46.8912 35.3086 42.0289C34.8456 40.6917 33.6419 40.1751 32.4999 40.2663Z"})]})]})})]})},R=()=>{const[s,n]=m.useState({first_name:"",last_name:"",email:"",mobile_no:"",message:""}),[j,i]=m.useState(!1),[d,p]=m.useState(!1),u=I(),{t:a,translations:t}=h(),w=[{iconPath:c.LOCATION_ICON,text:a(t?.contact_us_page?.Location)},{iconPath:c.IC_PHONE,text:a(t?.contact_us_page?.first_phone_number)},{iconPath:c.IC_PHONE,text:a(t?.contact_us_page?.sedcond_phone_number)},{iconPath:c.IC_EMAIL,text:a(t?.contact_us_page?.first_email)},{iconPath:c.IC_EMAIL,text:a(t?.contact_us_page?.second_email)}],b=()=>!s.first_name.trim()||!s.last_name.trim()||!s.email.trim()||!s.mobile_no.trim()||!s.message.trim()?{status:!1,msg:"Please fill all fields"}:/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/.test(s.email)?s.mobile_no.trim().length<1?{status:!1,msg:"Enter mobile number"}:s.message.trim().length<10?{status:!1,msg:"Message must be at least 10 characters long"}:{status:!0,msg:""}:{status:!1,msg:"Please enter a valid email address"};async function v(){const l=b();if(l.status===!0)if(d===!0)try{i(!0);const o=await S(N,s);i(!1),E(o?.message),n({first_name:"",last_name:"",email:"",mobile_no:"",message:""}),p(!1)}catch(o){u("/404"),console.log("errro>>>>>",o),i(!1)}else C("You must agree to our privacy policy to continue.");else C(l.msg)}return e.jsxs("div",{className:"w-full bg-white",children:[e.jsx(T,{title:"Jaipur Literature Festival | Contact Us",description:"Jaipur Literature Festival is supported by partners and collaborators who share its vision of celebrating creativity, ideas, and global cultural dialogue."}),e.jsxs(f,{className:"mt-10",children:[e.jsxs(_,{className:"w-full flex flex-col smlg:flex-row gap-10",children:[e.jsxs("div",{className:" w-full smlg:w-[60%]",children:[e.jsx(x,{className:"text-[36px]",color:"text-deep_purple_color-900",text:a(t?.contact_us_page?.subheading_first)}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-col ssm:flex-row gap-5 mt-5 ssm:mt-10",children:[" ",e.jsx(r,{placeholder:a(t?.contact_us_page?.first_name),lableName:a(t?.contact_us_page?.first_name),onchange:l=>n(o=>({...o,first_name:l.target.value})),value:s.first_name}),e.jsx(r,{placeholder:a(t?.contact_us_page?.last_name),lableName:a(t?.contact_us_page?.last_name),onchange:l=>n(o=>({...o,last_name:l.target.value})),value:s.last_name})]}),e.jsxs("div",{className:"flex flex-col ssm:flex-row gap-5 mt-5 ssm:mt-10",children:[e.jsx(r,{placeholder:a(t?.contact_us_page?.phone_number),lableName:a(t?.contact_us_page?.phone_number),onchange:l=>n(o=>({...o,mobile_no:l.target.value})),value:s.mobile_no}),e.jsx(r,{placeholder:"[email protected]",lableName:"Email",onchange:l=>n(o=>({...o,email:l.target.value})),value:s.email})]})]}),e.jsx(Z,{value:s.message,onChange:l=>n(o=>({...o,message:l.target.value})),labelName:"Message",className:"mt-5 ssm:mt-10",placeholder:a(t?.contact_us_page?.Message)}),e.jsxs("div",{className:"",children:[e.jsxs("div",{className:"flex items-center gap-3 my-6 ssm:my-8",children:[e.jsx("input",{checked:d,onChange:l=>p(l.target.checked),className:"w-5 h-5 accent-pink_color-900 focus:ring-pink_color-900 cursor-pointer",type:"checkbox"}),e.jsxs(y,{className:" text-gray_color-400",text:"",children:[a(t?.contact_us_page?.agreement),e.jsxs("span",{onClick:()=>u(O.OUR_PRIVACY_AND_POLICIES),className:"text-blue_color-500 border-b-2 border-blue_color-500 cursor-pointer",children:[" ",a(t?.contact_us_page?.privacy_policy)]})]})]}),e.jsx(L,{isLoading:j,onClick:()=>v(),className:"w-full ssm:w-fit",btnName:a(t?.contact_us_page?.button)})]})]}),e.jsxs("div",{className:"w-full smlg:w-[40%]",children:[e.jsx(x,{className:"text-[34px] w-full smlg:max-w-[368px]",text:`${a(t?.contact_us_page?.subheading_second_firstline)}${a(t?.contact_us_page?.subheading_second_secondline)}`}),e.jsx("div",{className:"mt-5",children:w.map((l,o)=>e.jsx("div",{className:"border-b-[1px] border-gray_color-100 pb-2 pt-4",children:e.jsx(A,{iconPath:l?.iconPath,text:l?.text})},o))})]})]}),e.jsxs(_,{className:"mt-20",children:[e.jsx(x,{className:"text-[32px] text-center",color:"text-blue_color-900",text:a(t?.contact_us_page?.image_heading)}),e.jsx("iframe",{className:" max-w-full xsm:min-w-full h-[300px] smlg:h-[500px] object-cover mt-10",title:"Google Map",src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4273.618764646114!2d75.8021729!3d26.846188299999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x396db04c02e7277f%3A0xb403d6d0ad758385!2sHotel%20Clarks%20Amer!5e1!3m2!1sen!2sin!4v1736505328200!5m2!1sen!2sin",style:{border:0},allowFullScreen:"",loading:"lazy"})]})]}),e.jsx("div",{className:"mt-20",children:e.jsx(k,{desktopDviderImage:c.PROGRAM_LIST_SECTION_DVIDER,mobileDviderImage:c.PROGRAM_LIST_SECTION_DVIDER_MOBILE})})]})},W=()=>e.jsxs(M.Fragment,{children:[e.jsx(P,{}),e.jsx(R,{})]});
1export{W as default};
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.