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SAAWD,OAAOC,UAAY,IAAIC,KAAK,CAC7C,IACA,WACE,OAAO,EAAQ,KACjB,G","sources":["webpack://_N_E/./common/cachedImage.js","webpack://_N_E/./common/captcha.js","webpack://_N_E/./common/forms/index.js","webpack://_N_E/./common/modal/index.js","webpack://_N_E/./common/modal/tailwindClasses.js","webpack://_N_E/./components/home-page/index.js","webpack://_N_E/./components/home-page/tailwindClasses.js","webpack://_N_E/./pages/index.js","webpack://_N_E/"],"sourcesContent":["import Image from 'next/image';\nimport { useState } from 'react';\n\nconst CachedImage = ({ imageUrl, className, alt = 'traviya tour and travel', width = 600, height = 400 }) => {\n const encodedUrl = encodeURIComponent(imageUrl); // Correct encoding\n const cachedImageUrl = `/api/cache-image?imageUrl=${encodedUrl}`;\n\n const [hasError, setHasError] = useState(false);\n return (\n setHasError(true)}\n />\n );\n};\n\nexport default CachedImage;\n","import React, { useEffect, useState } from \"react\";\nimport Captcha from \"react-canvas-captcha\";\n\nconst CanvasCaptcha = ({\n setIsCaptchError,\n className,\n}) => {\n // State variables for managing captcha generation and user input\n const [generatedCaptcha, setGeneratedCaptcha] = useState(\"\");\n const [captchaInput, setCaptchaInput] = useState(\"\");\n const [error, setError] = useState(false);\n\n // Function to handle user input for captcha\n const handleInput = (val) => {\n setCaptchaInput(val);\n if (\n val === generatedCaptcha.toUpperCase()) {\n setIsCaptchError(false);\n setError(false)\n } else {\n setIsCaptchError(true);\n }\n if (val.length < 4) {\n setError(true)\n }\n };\n\n // Reset captcha on component mount\n useEffect(() => {\n setCaptchaInput(\"\");\n setIsCaptchError(true);\n }, [generatedCaptcha]);\n\n return (\n
\n setGeneratedCaptcha(captchaCode)}\n />\n {\n handleInput(e.target.value);\n }}\n onFocus={() => setError(true)}\n />\n {error &&
Please enter valid captcha
}\n
\n\n );\n};\n\nexport default CanvasCaptcha;\n","import { useState } from \"react\";\nimport CanvasCaptcha from \"../captcha\";\nconst ContactForm = (props) => {\n const { type = 'contact', className, onClose = () => { } } = props;\n let subject = \"\";\n\n switch (type) {\n case \"YOUTUBER\":\n subject = \"Request to register me as a Youtuber\";\n break;\n case \"GUIDE\":\n subject = \"Register me as a Guide\";\n break;\n case \"TRAVELER\":\n subject = \"Register me as a traveler\";\n break;\n case \"PLACE\":\n subject = \"Add my place to the list\";\n break;\n default:\n subject = \"New Contact Form Submission\";\n }\n const [formData, setFormData] = useState({\n name: \"\",\n email: \"\",\n mobile: \"\",\n message: \"\",\n url: \"\",\n subject: subject,\n });\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [responseMessage, setResponseMessage] = useState(\"\");\n const [isCaptchError, setIsCaptchError] = useState(true);\n\n const handleChange = (e) => {\n const { name, value } = e.target;\n setFormData({ ...formData, [name]: value });\n };\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n setIsSubmitting(true);\n\n try {\n const response = await fetch(\"/api/send-email\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify(formData),\n });\n\n const result = await response.json();\n\n if (response.ok) {\n setResponseMessage(\"Form submitted successfully!\");\n setFormData({ name: \"\", email: \"\", mobile: \"\", message: \"\" });\n onClose(\"\");\n } else {\n setResponseMessage(result.message || \"Failed to submit the form.\");\n }\n } catch (error) {\n setResponseMessage(\"An error occurred. Please try again.\");\n } finally {\n setIsSubmitting(false);\n }\n };\n\n return (\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n {type === \"YOUTUBER\" && (\n
\n \n \n
\n )}\n
\n \n \n
\n \n \n {isSubmitting ? \"Submitting...\" : \"Submit\"}\n \n \n {responseMessage &&

{responseMessage}

}\n
\n );\n};\n\nexport default ContactForm;\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { tailwindClasses } from \"./tailwindClasses\";\n\nconst Wrapper = styled.div`\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 9999;\n .modalTitle {\n font-size: 21px;\n }\n .wrapper {\n width: 460px;\n }\n .modalContent ~ div {\n padding: 0 16px;\n }\n`;\nconst Modal = ({ title, children, onClose }) => {\n const { formWrap, wrapper, modalHeader, modalContent, modalTitle } =\n tailwindClasses;\n return (\n \n
\n
\n
\n {title}{\" \"}\n \n ×\n \n
\n
\n
{children}
\n
\n
\n );\n};\n\nexport default Modal;\n","export const tailwindClasses = {\n formWrap:\n \"fixed bg-[#000] flex justify-center items-center top-[0] left-[0] right-[0] top-[0] bottom-[0] w-full h-full z-50\",\n wrapper:\n \"inset-0 rounded-[8px] bg-[#fff] overflow-hidden flex-[0_0_460px] w-[460px] max-w-[80%]\",\n modalHeader: \"bg-white w-11/12 max-w-md p-5 shadow-lg relative\",\n modalContent:\n \"flex justify-between items-center pb-2 mb-5 px-[16px] py-[16px] mb-[16px]\",\n modalTitle:\n \"text-[21px] font-bold m-0 flex justify-between px-[16px] py-[12px]\",\n};\n","import dynamic from \"next/dynamic\";\nimport Image from \"next/image\";\nimport Link from \"next/link\";\nimport { Suspense, useEffect, useState } from \"react\";\nimport { TiSocialYoutubeCircular } from \"react-icons/ti\";\nimport CachedImage from \"../../common/cachedImage\";\nimport ContactForm from \"../../common/forms\";\nimport Modal from \"../../common/modal\";\nimport { tailwindClasses } from \"./tailwindClasses\";\nconst Banner = dynamic(() => import(\"../layout/banner\"), {\n suspense: true,\n});\n\nconst Index = ({ homePage }) => {\n const [isForm, setIsForm] = useState(false);\n const [type, setType] = useState(\"\");\n const [formTitle, setFormTitle] = useState(\"Contact Us\");\n\n const onClose = (item = \"\") => {\n setIsForm(!isForm);\n setType(item);\n };\n useEffect(() => {\n if (type === \"YOUTUBER\") {\n setFormTitle(\"Register me as a Youtuber\");\n } else if (type === \"GUIDE\") {\n setFormTitle(\"Register me as a Guide\");\n } else if (type === \"TRAVELER\") {\n setFormTitle(\"Register my travel agency\");\n } else if (type === \"PLACE\") {\n setFormTitle(\"Add my attraction near me\");\n } else {\n setFormTitle(\"Contact Us\");\n }\n }, [type]);\n\n const { banner, inviteToAdd, explorePlace, whyUs, mostLikedplaces } =\n homePage;\n const { testimonialCard, headings, imgClass, articalsClass, titles } =\n tailwindClasses;\n\n return (\n
\n
\n \n
\n
\n
\n

\n {explorePlace?.heading}\n

\n
\n {explorePlace?.description}\n
\n \n {explorePlace?.label}\n \n
\n
\n\n Loading...}>\n
\n
\n

\n {mostLikedplaces?.heading}\n

\n
\n {(mostLikedplaces?.data || []).map((item, i) => {\n return (\n
\n \n
\n
\n \n
\n
\n
{item.placeName}
\n
\n {item.description}\n
\n
\n
\n \n
\n );\n })}\n
\n
\n
\n
\n Loading...}>\n
\n
\n
\n

Our Youtube Partners

\n
\n
\n {/* */}\n \n
\n Welcome to all youtubers to join us and share your youtube\n videos with us. You can also write your travel stories in\n our youtube partners page. So do not wait and click below to\n join/ enquiry.\n
\n
-Welcome: Partners-
\n
\n
\n onClose(\"YOUTUBER\")}\n className=\"btn mt-[16px] md:mt-[40px] ml-auto mr-auto block\"\n >\n Request enquiry\n \n
\n
\n
\n
\n Loading...}>\n
\n
\n

\n {inviteToAdd?.title}\n

\n
\n {(inviteToAdd?.cards || []).map((card, i) => {\n return (\n \n

\n {card?.title}\n

\n
\n {card?.descriptive}\n
\n onClose(card?.type)}\n >\n {card.label}\n \n
\n );\n })}\n
\n \n
\n
\n Loading...}>\n
\n {/*
\n

\n {stateWise?.heading} --\n

\n
\n {stateWise?.description}\n
\n \n {stateWise?.label}\n \n
*/}\n
\n
\n

Top story tellars

\n
\n
\n \n
\n I love to travel and share my stories to everyone throgh\n Traviya. I love this platform where I can share my\n experiences and chances to win exciting prizes. Also I have\n good opportuniy to to share the best places where I received\n the best services.\n
\n
-Siddhant-
\n
\n
\n \n
\n Writing a travel diary is my passion. Exploring new places\n for travel is my hobby. Also I have good opportuniy to share\n my diary with everyone via digital diary. It is fun for me\n and chance to get some rewards.\n
\n
-Lokesh-
\n
\n
\n
\n
\n
\n
\n Loading...}>\n
\n

\n {whyUs?.heading}\n

\n
\n
\n {whyUs?.data?.map((item, i) => {\n return (\n
\n
\n
\n
\n
\n {item?.why_title}\n
\n
{item?.why_description}
\n
\n
\n
\n );\n })}\n
\n
\n
\n
\n {isForm && type && (\n \n \n \n )}\n
\n );\n};\n\nexport default Index;\n","export const tailwindClasses = {\n testimonialCard:\n \"text-center mb-[148px] md:mb-[12px] shadow-lg lg:text-[20px] tracking-[0.5px] w-[300px] md:mr-[32px] flex-[0_0_360px] bg-[#fff] rounded-[8px] fle flex-wrap\",\n headings: \"text-center text-[36px] mb-[28] pt-[28px] pb-[116px] md:pb-[145px] w-[100%]\",\n imgClass: \"w-[200px] h-[200px] rounded-[50%] m-auto mt-[-100px] absolute md:static left-[0] right-[0]\",\n articalsClass:\n \"bg-[linear-gradient(#c6e7f8,#67b6cb)] bg-left-bottom bg-contain pb-[18px]\",\n titles:\n \"title text-[22px] text-[#3E0904] border-b-[2px] border-[#58A4AE] pb-[4px] mb-[4px]\",\n cardsLink:\n \"card-htestimonial-cardeading link text-center flex font-medium relative mt-[40px] max-w-fit px-[38px] py-[8px] mx-[auto] mt-[16px] lg:mt-[22px] rounded-[4px] bg-[#58A4AE] text-[#fff] uppercase text-[16px] lg:text-[18px]\",\n};\n","import Head from \"next/head\";\nimport Home from \"../components/home-page\";\nimport { fetchHomePageData } from \"../utils/api\";\n\nexport default function Index({ homePage }) {\n return (\n
\n \n {/* {placesTypeDetails?.[0]?.title && (\n {placesTypeDetails?.[0]?.title}\n )} */}\n\n {/* Meta Tags */}\n {homePage?.seo?.description && (\n \n )}\n\n {/* Open Graph Tags */}\n {homePage?.seo?.og_title && }\n {homePage?.seo?.og_image && }\n\n {homePage?.seo?.og_description && (\n \n )}\n {/* */}\n \n\n {/* Canonical Tag */}\n \n {homePage?.seo?.keywords && }\n \n \n
\n );\n}\n\nexport async function getServerSideProps(props) {\n const { req } = props;\n const isServer = req ? true : false;\n const platform = isServer ? \"server\" : \"client\";\n const homePage = await fetchHomePageData(platform);\n return {\n props: {\n homePage,\n },\n };\n}\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n "],"names":["imageUrl","className","alt","width","height","encodedUrl","encodeURIComponent","cachedImageUrl","useState","hasError","setHasError","src","unoptimized","onError","setIsCaptchError","generatedCaptcha","setGeneratedCaptcha","captchaInput","setCaptchaInput","error","setError","useEffect","boxHeight","boxWidth","captchaConfig","numberOfChars","font","textStartingX","textStartingY","style","textTransform","setCode","captchaCode","label","type","value","onChange","e","val","target","toUpperCase","length","onFocus","props","onClose","subject","name","email","mobile","message","url","formData","setFormData","isSubmitting","setIsSubmitting","responseMessage","setResponseMessage","isCaptchError","handleChange","handleSubmit","preventDefault","fetch","method","headers","body","JSON","stringify","response","json","result","ok","onSubmit","htmlFor","id","required","disabled","Wrapper","styled","title","children","onClick","Banner","dynamic","suspense","homePage","isForm","setIsForm","setType","formTitle","setFormTitle","item","banner","inviteToAdd","explorePlace","whyUs","mostLikedplaces","testimonialCard","headings","imgClass","heading","content","imgName","description","href","Suspense","fallback","data","map","i","link","img","placeName","color","cards","card","descriptive","why_title","why_description","Index","seo","og_title","property","og_image","og_description","rel","canonical_tag","keywords","window","__NEXT_P","push"],"sourceRoot":""}