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AA5E,EAAAM,GAAA,EAACqD,EAAAA,EAAMA,CAAAA,CAACM,YAAW,OAGzB,qBEvFAyC,EAAAC,OAAA,EAAkB,8FCAlBD,EAAAC,OAAA,EAAkB,0jBCAlBD,EAAAC,OAAA,EAAkB,6OCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/","webpack://_N_E/./components/organisms/earn-section/index.tsx","webpack://_N_E/./components/organisms/ad-section/index.tsx","webpack://_N_E/./pages/index.tsx","webpack://_N_E/./templates/default-layout/index.tsx","webpack://_N_E/./templates/intermediate-layout/index.tsx","webpack://_N_E/./templates/user-layout/index.tsx","webpack://_N_E/./templates/index.tsx","webpack://_N_E/./components/organisms/ad-section/index.module.scss","webpack://_N_E/./components/organisms/earn-section/index.module.scss","webpack://_N_E/./templates/intermediate-layout/index.module.scss","webpack://_N_E/./templates/user-layout/index.module.scss","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import styles from './index.module.scss'\nimport Link from 'next/link'\nimport Image from 'next/image'\nimport { useAppSelector } from '@/state/hooks'\nimport { selectBanners } from '..'\nimport { useEffect, useRef, useState } from 'react'\nimport { IBanner } from '@/interfaces'\n\nexport default function EarnSection() {\n const listBanner: IBanner[] = useAppSelector(selectBanners)\n\n const divRef = useRef(null)\n const titleOne = listBanner[1]?.titleOne\n const titleTwo = listBanner[1]?.titleTwo\n const description = listBanner[1]?.description\n const url = listBanner[1]?.image?.url\n const src = listBanner[1]?.logo?.url\n const [datosCargados, setDatosCargados] = useState(false)\n const [imagenUrl, setImagenUrl] = useState('')\n\n useEffect(() => {\n if (listBanner.length > 0) {\n setDatosCargados(true)\n }\n }, [listBanner])\n\n useEffect(() => {\n const cambiarEstilos = () => {\n const divElement = divRef.current\n if (divElement !== null) {\n divElement.style.backgroundImage =\n url !== undefined ? `url('${url}'` : ''\n setImagenUrl(src !== undefined ? src : '')\n }\n }\n\n if (datosCargados) {\n cambiarEstilos()\n }\n }, [datosCargados, url, src])\n\n return (\n
\n
\n
\n

\n {titleOne} {titleTwo}\n

\n
\n {imagenUrl !== '' && (\n \n )}\n

\n {description}\n

\n
\n \n ¡Únete aquí!\n \n
\n
\n
\n
\n
\n )\n}\n","import styles from './index.module.scss'\nimport Link from 'next/link'\nimport Image from 'next/image'\nimport { useEffect, useState } from 'react'\nimport { useAppSelector } from '@/state/hooks'\nimport { IBanner } from '@/interfaces'\nimport { selectBanners } from '..'\n\nexport default function AdSection() {\n const listBanner: IBanner[] = useAppSelector(selectBanners)\n\n const srcDesktop = listBanner[2]?.image?.url\n const srcMobile = listBanner[2]?.logo?.url\n const [screenWidth, setScreenWidth] = useState(0)\n const [imagenUrl, setImagenUrl] = useState('')\n const [datosCargados, setDatosCargados] = useState(false)\n\n const cambiarEstilos = (src: string | undefined) => {\n const setSrc: string = src !== undefined ? src : ''\n setImagenUrl(setSrc)\n }\n\n useEffect(() => {\n function handleResize() {\n const newScreenWidth = window.innerWidth\n setScreenWidth(newScreenWidth)\n const setSrc: string | undefined =\n newScreenWidth <= 767 ? srcMobile : srcDesktop\n cambiarEstilos(setSrc)\n }\n\n window.addEventListener('resize', handleResize)\n handleResize()\n\n return () => {\n window.removeEventListener('resize', handleResize)\n }\n }, [srcDesktop, srcMobile, screenWidth])\n\n useEffect(() => {\n if (listBanner.length > 0) {\n setDatosCargados(true)\n }\n }, [listBanner])\n\n useEffect(() => {\n if (datosCargados) {\n cambiarEstilos(screenWidth <= 767 ? srcMobile : srcDesktop)\n }\n }, [datosCargados, srcDesktop, srcMobile, screenWidth])\n\n return (\n
\n \n
\n {imagenUrl !== '' && (\n \n )}\n
\n \n
\n )\n}\n","import { useEffect } from 'react'\nimport { GetStaticPropsResult } from 'next'\nimport { SEO, setBrands } from '@molecules/index'\nimport {\n BrandsSection,\n BmodelSection,\n BenefitsSection,\n setBenefits,\n setBanners,\n TestimonialsSection,\n FaqsSection,\n MetricsSection\n} from '@organisms/index'\nimport { DefaultLayout } from '@templates/index'\nimport { useAppDispatch } from '@/state/hooks'\nimport {\n IBanner,\n IBannersListCollection,\n IBenefit,\n IBenefitsListCollection,\n IBrand,\n IBrandsListCollection,\n IFaq,\n IFaqsListCollection,\n ITestimonial,\n ITestimonialsListCollection\n} from '@/interfaces'\nimport { apolloClient, GET_HOME_DATA } from '@/client'\nimport HeroSection from '@organisms/hero-section'\nimport EarnSection from '@organisms/earn-section'\nimport AdSection from '@organisms/ad-section'\n\ninterface IHomeProps {\n brands?: IBrand[]\n benefits?: IBenefit[]\n testimonials?: ITestimonial[]\n faqs?: IFaq[]\n banners?: IBanner[]\n}\n\nexport default function Home({\n brands = [],\n benefits = [],\n testimonials = [],\n faqs = [],\n banners = []\n}: IHomeProps) {\n const dispatch = useAppDispatch()\n\n useEffect(() => {\n dispatch(setBrands(brands))\n dispatch(setBenefits(benefits))\n dispatch(setBanners(banners))\n }, [dispatch, brands, benefits, banners])\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport async function getStaticProps(): Promise<\n GetStaticPropsResult\n> {\n const props: IHomeProps = {}\n\n await apolloClient\n .query<{\n brandsListCollection: IBrandsListCollection\n benefitsListCollection: IBenefitsListCollection\n testimonialsListCollection: ITestimonialsListCollection\n faqsListCollection: IFaqsListCollection\n bannersListCollection: IBannersListCollection\n }>({\n query: GET_HOME_DATA\n })\n .then(async ({ data }: any) => {\n props.brands =\n data.brandsListCollection.items === undefined\n ? []\n : data.brandsListCollection.items[0].brandsCollection?.items\n\n props.benefits =\n data.benefitsListCollection.items === undefined\n ? []\n : data.benefitsListCollection.items[0].benefitsCollection?.items\n\n props.testimonials =\n data.testimonialsListCollection.items === undefined\n ? []\n : data.testimonialsListCollection.items[0].testimonialsCollection\n ?.items\n\n props.faqs =\n data.faqsListCollection.items === undefined\n ? []\n : data.faqsListCollection.items[0].faqsCollection?.items\n\n props.banners =\n data.bannersListCollection.items === undefined\n ? []\n : data.bannersListCollection.items[0].bannersCollection?.items\n\n await apolloClient.resetStore()\n })\n .catch((error: any) => console.log(error))\n\n return { props, revalidate: 10 }\n}\n","import { FloatingButton } from '@atoms/index'\nimport { Footer, NavBar } from '@organisms/index'\nimport { PropsWithChildren } from 'react'\n\ninterface DefaultLayoutProps extends PropsWithChildren {\n displayFloatingButton?: boolean\n}\nexport default function DefaultLayout({\n children,\n displayFloatingButton = true\n}: DefaultLayoutProps) {\n return (\n <>\n \n
{children}
\n \n