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m/next@14.2.3_@babel+core@7.24.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/api/navigation.js","webpack://_N_E/./src/layers/presentation/components/common/AnimatedContent.tsx","webpack://_N_E/./node_modules/.pnpm/framer-motion@11.11.13_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/utils/resolve-element.mjs","webpack://_N_E/./node_modules/.pnpm/framer-motion@11.11.13_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/dom/viewport/index.mjs","webpack://_N_E/./node_modules/.pnpm/framer-motion@11.11.13_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/utils/use-in-view.mjs","webpack://_N_E/./src/layers/presentation/components/common/AnimatedText.tsx","webpack://_N_E/./src/layers/presentation/utils/animation/smoothScroll.ts","webpack://_N_E/./src/layers/presentation/components/landing-blocks/Hero.tsx","webpack://_N_E/./src/layers/presentation/components/landing-blocks/Search.tsx","webpack://_N_E/./src/layers/presentation/components/landing-blocks/SearchBar.tsx","webpack://_N_E/./node_modules/.pnpm/framer-motion@11.11.13_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/create.mjs","webpack://_N_E/./node_modules/.pnpm/framer-motion@11.11.13_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/node_modules/.pnpm/next@14.2.3_@babel+core@7.24.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/image-component.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src2150190915/src/right2hope/src/layers/presentation/components/common/AnimatedContent.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/src/layers/presentation/components/common/AnimatedText.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src2150190915/src/right2hope/src/layers/presentation/components/landing-blocks/Hero.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src2150190915/src/right2hope/src/layers/presentation/components/landing-blocks/Search.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src2150190915/src/right2hope/src/layers/presentation/components/landing-blocks/SearchBar.tsx\");\n","export * from \"../client/components/navigation\";\n\n//# sourceMappingURL=navigation.js.map","'use client';\n\nimport React from 'react';\n\ninterface AnimatedContentProps {\n hero: React.ReactNode;\n sections: React.ReactNode[];\n}\n\nconst AnimatedContent: React.FC = ({ hero, sections }) => {\n return (\n
\n {hero}\n {sections}\n
\n );\n};\n\nexport default AnimatedContent;\n","import { invariant } from '../../../utils/errors.mjs';\n\nfunction resolveElements(elements, scope, selectorCache) {\n var _a;\n if (typeof elements === \"string\") {\n let root = document;\n if (scope) {\n invariant(Boolean(scope.current), \"Scope provided, but no element detected.\");\n root = scope.current;\n }\n if (selectorCache) {\n (_a = selectorCache[elements]) !== null && _a !== void 0 ? _a : (selectorCache[elements] = root.querySelectorAll(elements));\n elements = selectorCache[elements];\n }\n else {\n elements = root.querySelectorAll(elements);\n }\n }\n else if (elements instanceof Element) {\n elements = [elements];\n }\n /**\n * Return an empty array\n */\n return Array.from(elements || []);\n}\n\nexport { resolveElements };\n","import { resolveElements } from '../utils/resolve-element.mjs';\n\nconst thresholds = {\n some: 0,\n all: 1,\n};\nfunction inView(elementOrSelector, onStart, { root, margin: rootMargin, amount = \"some\" } = {}) {\n const elements = resolveElements(elementOrSelector);\n const activeIntersections = new WeakMap();\n const onIntersectionChange = (entries) => {\n entries.forEach((entry) => {\n const onEnd = activeIntersections.get(entry.target);\n /**\n * If there's no change to the intersection, we don't need to\n * do anything here.\n */\n if (entry.isIntersecting === Boolean(onEnd))\n return;\n if (entry.isIntersecting) {\n const newOnEnd = onStart(entry);\n if (typeof newOnEnd === \"function\") {\n activeIntersections.set(entry.target, newOnEnd);\n }\n else {\n observer.unobserve(entry.target);\n }\n }\n else if (onEnd) {\n onEnd(entry);\n activeIntersections.delete(entry.target);\n }\n });\n };\n const observer = new IntersectionObserver(onIntersectionChange, {\n root,\n rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholds[amount],\n });\n elements.forEach((element) => observer.observe(element));\n return () => observer.disconnect();\n}\n\nexport { inView };\n","import { useState, useEffect } from 'react';\nimport { inView } from '../render/dom/viewport/index.mjs';\n\nfunction useInView(ref, { root, margin, amount, once = false } = {}) {\n const [isInView, setInView] = useState(false);\n useEffect(() => {\n if (!ref.current || (once && isInView))\n return;\n const onEnter = () => {\n setInView(true);\n return once ? undefined : () => setInView(false);\n };\n const options = {\n root: (root && root.current) || undefined,\n margin,\n amount,\n };\n return inView(ref.current, onEnter, options);\n }, [root, ref, margin, once, amount]);\n return isInView;\n}\n\nexport { useInView };\n","'use client';\n\nimport React from 'react';\nimport { motion, useInView } from 'framer-motion';\nimport { useRef } from 'react';\n\ninterface AnimatedTextProps {\n children: React.ReactNode;\n className?: string;\n delay?: number;\n}\n\nconst AnimatedText: React.FC = ({ children, className = '', delay = 0 }) => {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true, margin: '-50px' });\n\n return (\n \n {children}\n \n );\n};\n\ninterface AnimatedHTMLProps {\n html: string;\n className?: string;\n delay?: number;\n}\n\nexport const AnimatedHTML: React.FC = ({ html, className = '', delay = 0 }) => {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true, margin: '-50px' });\n\n return (\n \n );\n};\n\nexport default AnimatedText;\n","export function smoothScroll(target: string, duration = 1000) {\n const targetElement = document.querySelector(target);\n if (!targetElement) return;\n\n const targetPosition = targetElement.getBoundingClientRect().top + window.pageYOffset;\n const startPosition = window.pageYOffset;\n const distance = targetPosition - startPosition;\n let startTime: number | null = null;\n\n function animation(currentTime: number) {\n if (startTime === null) startTime = currentTime;\n const timeElapsed = currentTime - startTime;\n const run = ease(timeElapsed, startPosition, distance, duration);\n window.scrollTo(0, run);\n if (timeElapsed < duration) requestAnimationFrame(animation);\n }\n\n function ease(t: number, b: number, c: number, d: number) {\n t /= d / 2;\n if (t < 1) return (c / 2) * t * t + b;\n t--;\n return (-c / 2) * (t * (t - 2) - 1) + b;\n }\n\n requestAnimationFrame(animation);\n}\n","'use client';\n\nimport { useRouter } from 'next/navigation';\nimport React, { useEffect } from 'react';\nimport { smoothScroll } from '../../utils/animation/smoothScroll';\n\ninterface HeroProps {\n title: string;\n subtitle: string;\n buttonText: string;\n buttonHref: string;\n rightTitle: string;\n rightDescription: string;\n backgroundImage: string;\n background?: string;\n titleColor?: string;\n}\n\nconst Hero: React.FC = ({\n title,\n subtitle,\n buttonText,\n buttonHref,\n rightTitle,\n rightDescription,\n backgroundImage,\n background = 'bg-white',\n titleColor = 'text-black',\n}) => {\n const router = useRouter();\n\n useEffect(() => {\n const handleClick = (e: MouseEvent) => {\n e.preventDefault();\n const isAnchor = buttonHref.startsWith('#');\n\n if (isAnchor) {\n smoothScroll(buttonHref);\n } else {\n router.push(buttonHref);\n }\n };\n\n const button = document.querySelector('a[href=\"' + buttonHref + '\"]');\n if (button) {\n button.addEventListener('click', handleClick as EventListener);\n }\n\n return () => {\n if (button) {\n button.removeEventListener('click', handleClick as EventListener);\n }\n };\n }, [buttonHref, router]);\n\n return (\n \n
\n
\n
\n \n

{subtitle}

\n \n {buttonText}\n \n
\n
\n
\n

{rightTitle}

\n

{rightDescription}

\n
\n
\n
\n
\n \n );\n};\n\nexport default Hero;\n","'use client';\n\nimport React, { useState } from 'react';\nimport { useRouter } from 'next/navigation';\n\ninterface SearchProps {\n title: string;\n placeholder: string;\n buttonText: string;\n searchUrl: string;\n}\n\nconst Search: React.FC = ({ title, placeholder, buttonText, searchUrl }) => {\n const [searchQuery, setSearchQuery] = useState('');\n const router = useRouter();\n\n const handleSubmit = (e: React.FormEvent) => {\n e.preventDefault();\n const encodedQuery = encodeURIComponent(searchQuery);\n const fullUrl = `${searchUrl}#query=${encodedQuery}`;\n router.push(fullUrl);\n };\n\n return (\n
\n
\n
\n \n
\n
\n
\n
\n \n search query\n \n setSearchQuery(e.target.value)}\n className=\"w-full pt-10 pb-4 sm:pt-14 sm:pb-6 px-6 sm:px-10 pr-48 rounded-full border-2 border-gray-200 focus:outline-none focus:ring-2 focus:ring-gray-200 focus:border-transparent text-xl\"\n />\n \n {buttonText}\n \n
\n
\n
\n
\n
\n );\n};\n\nexport default Search;\n","'use client';\n\nimport { useRouter } from 'next/navigation';\nimport React, { useEffect, useState } from 'react';\n\ninterface SearchBarProps {\n placeholder: string;\n buttonText: string;\n searchUrl: string;\n className?: string;\n background?: string;\n titleColor?: string;\n}\n\nconst SearchBar: React.FC = ({\n placeholder,\n buttonText,\n searchUrl,\n className = '',\n background = 'bg-secondary',\n titleColor = 'text-black',\n}) => {\n const [searchQuery, setSearchQuery] = useState('');\n const [currentPlaceholder, setCurrentPlaceholder] = useState('');\n const router = useRouter();\n\n useEffect(() => {\n // Array of example cancer conditions moved inside useEffect\n const placeholders = [\n 'Breast Cancer',\n 'Basal Cell Skin Cancer',\n 'Melanoma',\n 'Leukemia',\n 'Lymphoma',\n 'Ovarian Cancer',\n 'Pancreatic Cancer',\n ];\n\n let currentIndex = 0;\n let currentChar = 0;\n let isDeleting = false;\n let timeoutId: NodeJS.Timeout;\n\n const animatePlaceholder = () => {\n const currentText = placeholders[currentIndex];\n\n if (isDeleting) {\n setCurrentPlaceholder(currentText.substring(0, currentChar));\n currentChar--;\n\n if (currentChar === 0) {\n isDeleting = false;\n currentIndex = (currentIndex + 1) % placeholders.length;\n }\n } else {\n setCurrentPlaceholder(currentText.substring(0, currentChar));\n currentChar++;\n\n if (currentChar > currentText.length) {\n isDeleting = true;\n // Pause at the end of the word\n timeoutId = setTimeout(animatePlaceholder, 3000);\n return;\n }\n }\n\n // Typing speed\n const speed = isDeleting ? 50 : 100;\n timeoutId = setTimeout(animatePlaceholder, speed);\n };\n\n animatePlaceholder();\n\n return () => {\n if (timeoutId) clearTimeout(timeoutId);\n };\n }, []); // Empty dependency array since placeholders is now inside\n\n const handleSubmit = (e: React.FormEvent) => {\n e.preventDefault();\n const encodedQuery = encodeURIComponent(searchQuery);\n const fullUrl = `${searchUrl}#query=${encodedQuery}`;\n router.push(fullUrl);\n };\n\n return (\n \n
\n
\n \n\n setSearchQuery(e.target.value)}\n className=\"rh-searchbar-input\"\n />\n\n \n
\n
\n \n );\n};\n\nexport default SearchBar;\n","import { animations } from '../../../motion/features/animations.mjs';\nimport { drag } from '../../../motion/features/drag.mjs';\nimport { gestureAnimations } from '../../../motion/features/gestures.mjs';\nimport { layout } from '../../../motion/features/layout.mjs';\nimport { createMotionComponentFactory } from '../create-factory.mjs';\nimport { createDomVisualElement } from '../../dom/create-visual-element.mjs';\n\nconst createMotionComponent = /*@__PURE__*/ createMotionComponentFactory({\n ...animations,\n ...gestureAnimations,\n ...drag,\n ...layout,\n}, createDomVisualElement);\n\nexport { createMotionComponent };\n","import { createDOMMotionComponentProxy } from '../create-proxy.mjs';\nimport { createMotionComponent } from './create.mjs';\n\nconst motion = /*@__PURE__*/ createDOMMotionComponentProxy(createMotionComponent);\n\nexport { motion };\n"],"names":["Promise","resolve","then","__webpack_require__","t","bind","__webpack_exports__","hero","sections","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","className","thresholds","some","all","useInView","ref","root","margin","amount","once","isInView","setInView","react","useState","useEffect","current","options","undefined","inView","elementOrSelector","onStart","rootMargin","elements","querySelectorAll","Element","Array","from","activeIntersections","WeakMap","observer","IntersectionObserver","entries","forEach","onEnd","get","entry","target","Boolean","isIntersecting","newOnEnd","set","unobserve","delete","threshold","observe","element","disconnect","AnimatedHTML","html","delay","useRef","jsx_runtime","jsx","motion","variants","hidden","opacity","y","visible","initial","animate","transition","duration","ease","dangerouslySetInnerHTML","__html","common_AnimatedText","children","landing_blocks_Hero","title","subtitle","buttonText","buttonHref","rightTitle","rightDescription","backgroundImage","background","titleColor","router","useRouter","handleClick","e","preventDefault","startsWith","smoothScroll","targetElement","document","querySelector","targetPosition","getBoundingClientRect","top","window","pageYOffset","startPosition","distance","startTime","requestAnimationFrame","animation","currentTime","timeElapsed","run","d","c","scrollTo","push","button","addEventListener","removeEventListener","concat","id","style","h1","p","a","href","h2","placeholder","searchUrl","searchQuery","setSearchQuery","section","form","onSubmit","encodedQuery","encodeURIComponent","fullUrl","label","htmlFor","input","type","value","onChange","currentPlaceholder","setCurrentPlaceholder","timeoutId","placeholders","currentIndex","currentChar","isDeleting","animatePlaceholder","currentText","substring","length","setTimeout","clearTimeout","createMotionComponent","create_factory","x","animations","s","gestures","E","drag","o","layout","b","create_visual_element","create_proxy"],"sourceRoot":""}