{"version":3,"file":"Relive_Section.DQLtmbOo.mjs","names":["useState","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/gOsZP8w8269HiZabQdwx/mXyTgp5axSBOXMKYrop0/Relive_Section.js"],"sourcesContent":["\"use client\";import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useRef,useState,useEffect}from\"react\";// Framer property controls (types provided by Framer at runtime)\n// @ts-ignore - Framer provides these types at runtime\nimport{addPropertyControls,ControlType}from\"framer\";const DEFAULT_IMAGES=[{src:\"https://framerusercontent.com/images/3BlWlTFit4mBPvuCmOWjkZ7oqE.avif\",alt:\"START Summit 2025 - Networking\"},{src:\"https://framerusercontent.com/images/7s34nfo9onZ7cVwD7NBJzH5hzQ.avif\",alt:\"START Summit 2025 - Main Stage\"},{src:\"https://framerusercontent.com/images/AfK9vqc4EFTsb3oMwwzSWEhwc.avif\",alt:\"START Summit 2025 - Workshops\"},{src:\"https://framerusercontent.com/images/c5MA2r7IBy6vlkqcNM8m340Y.avif\",alt:\"START Summit 2025 - Startup Fair\"},{src:\"https://framerusercontent.com/images/GkHHmSutv7j4oc6uGuE3dfV5c.avif\",alt:\"START Summit 2025 - Afterparty\"},{src:\"https://framerusercontent.com/images/uilVbY2VJmtDZCV5bD1ewdFxRKY.avif\",alt:\"START Summit 2025 - Community\"}];function getYouTubeVideoId(url){if(!url)return null;// Extract video ID from various YouTube URL formats\nconst patterns=[/(?:youtube\\.com\\/watch\\?v=|youtu\\.be\\/|youtube\\.com\\/embed\\/)([^&\\n?#]+)/,/^([a-zA-Z0-9_-]{11})$/];for(const pattern of patterns){const match=url.match(pattern);if(match&&match[1]){return match[1];}}return null;}function getYouTubeEmbedUrl(url){const videoId=getYouTubeVideoId(url);if(!videoId)return\"\";return`https://www.youtube.com/embed/${videoId}?si=OZ_KnPQAkTXUoFuh&autoplay=1`;}function getYouTubeThumbnailUrl(url){const videoId=getYouTubeVideoId(url);if(!videoId)return\"\";// Use maxresdefault for highest quality, fallback to hqdefault\nreturn`https://img.youtube.com/vi/${videoId}/maxresdefault.jpg`;}export default function ReliveSection({title=\"Relive START Summit 2025\",subtitle=\"Experience the energy, connections, and moments that made START Summit 2025 unforgettable.\",youtubeLink=\"https://www.youtube.com/embed/Wq0tYweBlwI?si=OZ_KnPQAkTXUoFuh\",images=DEFAULT_IMAGES}){const[isVisible,setIsVisible]=useState(false);const[currentImageIndex,setCurrentImageIndex]=useState(0);const[isAutoPlaying,setIsAutoPlaying]=useState(true);const[isHovered,setIsHovered]=useState(false);const[isMounted,setIsMounted]=useState(false);const[isVideoPlaying,setIsVideoPlaying]=useState(false);const[touchStart,setTouchStart]=useState(null);const[touchEnd,setTouchEnd]=useState(null);const sectionRef=useRef(null);const carouselRef=useRef(null);const autoPlayIntervalRef=useRef(null);const safeImages=Array.isArray(images)&&images.length>0?images:DEFAULT_IMAGES;const youtubeEmbedUrl=getYouTubeEmbedUrl(youtubeLink);const youtubeThumbnailUrl=getYouTubeThumbnailUrl(youtubeLink);const hasVideo=!!youtubeLink&&!!getYouTubeVideoId(youtubeLink);const handlePlayClick=()=>{setIsVideoPlaying(true);};useEffect(()=>{setIsMounted(true);},[]);useEffect(()=>{const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting){setIsVisible(true);}},{threshold:.1});const element=sectionRef.current;if(element){observer.observe(element);}return()=>{observer.disconnect();};},[]);useEffect(()=>{if(!isAutoPlaying||!isVisible||isHovered||safeImages.length===0)return;autoPlayIntervalRef.current=setInterval(()=>{setCurrentImageIndex(prev=>(prev+1)%safeImages.length);},5e3);return()=>{if(autoPlayIntervalRef.current){clearInterval(autoPlayIntervalRef.current);}};},[isAutoPlaying,isVisible,isHovered,safeImages.length]);const goToNext=()=>{setCurrentImageIndex(prev=>(prev+1)%safeImages.length);setIsAutoPlaying(false);setTimeout(()=>setIsAutoPlaying(true),1e4);};const goToPrev=()=>{setCurrentImageIndex(prev=>(prev-1+safeImages.length)%safeImages.length);setIsAutoPlaying(false);setTimeout(()=>setIsAutoPlaying(true),1e4);};const goToImage=index=>{setCurrentImageIndex(index);setIsAutoPlaying(false);setTimeout(()=>setIsAutoPlaying(true),1e4);};// Touch handlers for swipe\nconst minSwipeDistance=50;const onTouchStart=e=>{setTouchEnd(null);setTouchStart(e.targetTouches[0].clientX);};const onTouchMove=e=>{setTouchEnd(e.targetTouches[0].clientX);};const onTouchEnd=()=>{if(!touchStart||!touchEnd)return;const distance=touchStart-touchEnd;const isLeftSwipe=distance>minSwipeDistance;const isRightSwipe=distance<-minSwipeDistance;if(isLeftSwipe){goToNext();}if(isRightSwipe){goToPrev();}};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        .aftermovie-section {\n          position: relative;\n          padding: 2rem 0 3rem 0;\n          background: #000000;\n          overflow: hidden;\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section {\n            padding: 1.5rem 0 2rem 0;\n          }\n        }\n\n        .aftermovie-section__background {\n          position: absolute;\n          top: 0;\n          left: 0;\n          right: 0;\n          bottom: 0;\n          z-index: 0;\n          pointer-events: none;\n        }\n\n        .aftermovie-section__gradient {\n          position: absolute;\n          width: 600px;\n          height: 600px;\n          border-radius: 50%;\n          filter: blur(100px);\n          opacity: 0.1;\n          animation: aftermovieGradientFloat 20s ease-in-out infinite;\n        }\n\n        @keyframes aftermovieGradientFloat {\n          0%, 100% {\n            transform: translate(0, 0) scale(1);\n          }\n          50% {\n            transform: translate(30px, -30px) scale(1.1);\n          }\n        }\n\n        .aftermovie-section__gradient--left {\n          top: -150px;\n          left: -150px;\n          background: radial-gradient(circle, rgba(188, 34, 99, 0.4) 0%, transparent 70%);\n        }\n\n        .aftermovie-section__gradient--right {\n          bottom: -150px;\n          right: -150px;\n          background: radial-gradient(circle, rgba(255, 39, 112, 0.4) 0%, transparent 70%);\n          animation-delay: 2s;\n        }\n\n        .aftermovie-section__container {\n          max-width: 1280px;\n          margin-left: auto;\n          margin-right: auto;\n          padding-left: 1.5rem;\n          padding-right: 1.5rem;\n          position: relative;\n          z-index: 1;\n        }\n\n        @media (max-width: 429px) {\n          .aftermovie-section__container {\n            padding-left: 0.75rem;\n            padding-right: 0.75rem;\n          }\n        }\n\n        .aftermovie-section__header {\n          text-align: center;\n          margin-bottom: 4rem;\n          opacity: 0;\n          transform: translateY(30px);\n          transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);\n        }\n\n        .aftermovie-section__header--visible {\n          opacity: 1;\n          transform: translateY(0);\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__header {\n            margin-bottom: 3rem;\n          }\n        }\n\n        .aftermovie-section__title {\n          font-family: \"Prompt\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n          font-size: 3rem;\n          font-weight: 700;\n          color: #ffffff;\n          line-height: 1.2;\n          margin: 0 0 1rem 0;\n          letter-spacing: -0.02em;\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__title {\n            font-size: 2.25rem;\n          }\n        }\n\n        .aftermovie-section__subtitle {\n          font-family: \"Prompt\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n          font-size: 1.125rem;\n          color: rgba(255, 255, 255, 0.7);\n          line-height: 1.7;\n          margin: 0;\n          max-width: 600px;\n          margin-left: auto;\n          margin-right: auto;\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__subtitle {\n            font-size: 1rem;\n          }\n        }\n\n        .aftermovie-section__grid {\n          display: grid;\n          grid-template-columns: 1fr 1fr;\n          gap: 3rem;\n          align-items: stretch;\n        }\n\n        @media (max-width: 1023px) {\n          .aftermovie-section__grid {\n            grid-template-columns: 1fr;\n            gap: 3rem;\n          }\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__grid {\n            gap: 2.5rem;\n          }\n        }\n\n        .aftermovie-section__video-wrapper {\n          opacity: 0;\n          transform: translateY(40px);\n          transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;\n        }\n\n        .aftermovie-section__video-wrapper--visible {\n          opacity: 1;\n          transform: translateY(0);\n        }\n\n        .aftermovie-section__video-container {\n          position: relative;\n          border-radius: 20px;\n          overflow: hidden;\n          background: rgba(255, 255, 255, 0.02);\n          border: 1px solid rgba(255, 255, 255, 0.08);\n          backdrop-filter: blur(10px);\n          -webkit-backdrop-filter: blur(10px);\n          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);\n          transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n          height: 100%;\n          display: flex;\n          flex-direction: column;\n        }\n\n        .aftermovie-section__video-container:hover {\n          border-color: rgba(188, 34, 99, 0.3);\n          box-shadow: 0 25px 80px rgba(188, 34, 99, 0.2);\n          transform: translateY(-4px);\n        }\n\n        .aftermovie-section__video-aspect {\n          position: relative;\n          width: 100%;\n          padding-bottom: 56.25%;\n          background: #000000;\n          overflow: hidden;\n        }\n\n        .aftermovie-section__video {\n          position: absolute;\n          top: 0;\n          left: 0;\n          width: 100%;\n          height: 100%;\n          border: none;\n          border-radius: 20px;\n        }\n\n        .aftermovie-section__video-overlay {\n          position: absolute;\n          top: 0;\n          left: 0;\n          right: 0;\n          bottom: 0;\n          pointer-events: none;\n          background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);\n          border-radius: 20px;\n        }\n\n        .aftermovie-section__video-thumbnail {\n          position: absolute;\n          top: 0;\n          left: 0;\n          width: 100%;\n          height: 100%;\n          object-fit: cover;\n          border-radius: 20px;\n          transition: opacity 0.3s ease;\n        }\n\n        .aftermovie-section__video-thumbnail--hidden {\n          opacity: 0;\n          pointer-events: none;\n        }\n\n        .aftermovie-section__video-play-button {\n          position: absolute;\n          top: 50%;\n          left: 50%;\n          transform: translate(-50%, -50%);\n          z-index: 5;\n          width: 80px;\n          height: 80px;\n          border-radius: 50%;\n          background: rgba(188, 34, 99, 0.9);\n          border: 3px solid rgba(255, 255, 255, 0.9);\n          display: flex;\n          align-items: center;\n          justify-content: center;\n          cursor: pointer;\n          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n          box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);\n          backdrop-filter: blur(10px);\n          -webkit-backdrop-filter: blur(10px);\n        }\n\n        .aftermovie-section__video-play-button:hover {\n          background: rgba(188, 34, 99, 1);\n          transform: translate(-50%, -50%) scale(1.1);\n          box-shadow: 0 12px 40px rgba(188, 34, 99, 0.5);\n        }\n\n        .aftermovie-section__video-play-button:active {\n          transform: translate(-50%, -50%) scale(0.95);\n        }\n\n        .aftermovie-section__video-play-button--hidden {\n          opacity: 0;\n          pointer-events: none;\n          transform: translate(-50%, -50%) scale(0.8);\n        }\n\n        .aftermovie-section__video-play-icon {\n          width: 0;\n          height: 0;\n          border-left: 28px solid rgba(255, 255, 255, 1);\n          border-top: 18px solid transparent;\n          border-bottom: 18px solid transparent;\n          margin-left: 6px;\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__video-play-button {\n            width: 64px;\n            height: 64px;\n            border-width: 2px;\n          }\n\n          .aftermovie-section__video-play-icon {\n            border-left-width: 22px;\n            border-top-width: 14px;\n            border-bottom-width: 14px;\n            margin-left: 5px;\n          }\n        }\n\n        .aftermovie-section__carousel-wrapper {\n          opacity: 0;\n          transform: translateY(40px);\n          transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;\n        }\n\n        .aftermovie-section__carousel-wrapper--visible {\n          opacity: 1;\n          transform: translateY(0);\n        }\n\n        .aftermovie-section__carousel-container {\n          position: relative;\n          border-radius: 20px;\n          overflow: hidden;\n          background: rgba(255, 255, 255, 0.02);\n          border: 1px solid rgba(255, 255, 255, 0.08);\n          backdrop-filter: blur(10px);\n          -webkit-backdrop-filter: blur(10px);\n          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);\n          transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n          height: 100%;\n          display: flex;\n          flex-direction: column;\n          user-select: none;\n          -webkit-user-select: none;\n          -moz-user-select: none;\n          -ms-user-select: none;\n          touch-action: pan-y;\n          cursor: grab;\n        }\n\n        .aftermovie-section__carousel-container:active {\n          cursor: grabbing;\n        }\n\n        .aftermovie-section__carousel-container:hover {\n          border-color: rgba(188, 34, 99, 0.3);\n          box-shadow: 0 25px 80px rgba(188, 34, 99, 0.2);\n        }\n\n        .aftermovie-section__carousel {\n          position: relative;\n          width: 100%;\n          padding-bottom: 56.25%;\n          overflow: hidden;\n        }\n\n        .aftermovie-section__carousel-item {\n          position: absolute;\n          top: 0;\n          left: 0;\n          width: 100%;\n          height: 100%;\n          opacity: 0;\n          transform: translateX(100%) scale(0.9);\n          transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n          pointer-events: none;\n        }\n\n        .aftermovie-section__carousel-item--active {\n          opacity: 1;\n          transform: translateX(0) scale(1);\n          pointer-events: auto;\n          z-index: 2;\n        }\n\n        .aftermovie-section__carousel-item--prev {\n          transform: translateX(-100%) scale(0.9);\n        }\n\n        .aftermovie-section__carousel-item--next {\n          transform: translateX(100%) scale(0.9);\n        }\n\n        .aftermovie-section__carousel-image-wrapper {\n          position: relative;\n          width: 100%;\n          height: 100%;\n          overflow: hidden;\n        }\n\n        .aftermovie-section__carousel-image {\n          width: 100%;\n          height: 100%;\n          object-fit: cover;\n          transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n        }\n\n        .aftermovie-section__carousel-item--active .aftermovie-section__carousel-image {\n          transform: scale(1.05);\n        }\n\n        .aftermovie-section__carousel-image-placeholder {\n          width: 100%;\n          height: 100%;\n          background: rgba(255, 255, 255, 0.05);\n        }\n\n        .aftermovie-section__carousel-image-fade {\n          position: absolute;\n          bottom: 0;\n          left: 0;\n          right: 0;\n          height: 40%;\n          background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 20%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);\n          opacity: 0;\n          transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n          pointer-events: none;\n          z-index: 1;\n        }\n\n        .aftermovie-section__carousel-container:hover .aftermovie-section__carousel-item--active .aftermovie-section__carousel-image-fade {\n          opacity: 1;\n        }\n\n        .aftermovie-section__carousel-image-label {\n          position: absolute;\n          bottom: 1.5rem;\n          left: 0;\n          right: 0;\n          padding: 1.5rem;\n          color: #ffffff;\n          font-family: \"Prompt\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n          font-size: 0.9375rem;\n          font-weight: 500;\n          opacity: 0;\n          transform: translateY(20px);\n          transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n          pointer-events: none;\n          z-index: 2;\n        }\n\n        .aftermovie-section__carousel-container:hover .aftermovie-section__carousel-item--active .aftermovie-section__carousel-image-label {\n          opacity: 1;\n          transform: translateY(0);\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__carousel-image-fade {\n            height: 35%;\n          }\n\n          .aftermovie-section__carousel-image-label {\n            bottom: 1.25rem;\n            padding: 1rem;\n            font-size: 0.875rem;\n          }\n        }\n\n        .aftermovie-section__carousel-button {\n          position: absolute;\n          top: 50%;\n          transform: translateY(-50%);\n          z-index: 10;\n          width: 3rem;\n          height: 3rem;\n          border-radius: 50%;\n          background: rgba(0, 0, 0, 0.6);\n          border: 1px solid rgba(255, 255, 255, 0.2);\n          color: #ffffff;\n          display: flex;\n          align-items: center;\n          justify-content: center;\n          cursor: pointer;\n          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n          backdrop-filter: blur(10px);\n          -webkit-backdrop-filter: blur(10px);\n        }\n\n        .aftermovie-section__carousel-button:hover {\n          background: rgba(188, 34, 99, 0.8);\n          border-color: rgba(188, 34, 99, 1);\n          transform: translateY(-50%) scale(1.1);\n        }\n\n        .aftermovie-section__carousel-button:active {\n          transform: translateY(-50%) scale(0.95);\n        }\n\n        .aftermovie-section__carousel-button--prev {\n          left: 1rem;\n        }\n\n        .aftermovie-section__carousel-button--next {\n          right: 1rem;\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__carousel-button {\n            width: 2.5rem;\n            height: 2.5rem;\n          }\n\n          .aftermovie-section__carousel-button--prev {\n            left: 0.5rem;\n          }\n\n          .aftermovie-section__carousel-button--next {\n            right: 0.5rem;\n          }\n        }\n\n        .aftermovie-section__carousel-indicators {\n          position: absolute;\n          bottom: 1.5rem;\n          left: 50%;\n          transform: translateX(-50%);\n          z-index: 10;\n          display: flex;\n          gap: 0.5rem;\n          align-items: center;\n        }\n\n        .aftermovie-section__carousel-indicator {\n          width: 0.5rem;\n          height: 0.5rem;\n          border-radius: 50%;\n          background: rgba(255, 255, 255, 0.3);\n          border: none;\n          cursor: pointer;\n          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n          padding: 0;\n        }\n\n        .aftermovie-section__carousel-indicator:hover {\n          background: rgba(255, 255, 255, 0.5);\n          transform: scale(1.2);\n        }\n\n        .aftermovie-section__carousel-indicator--active {\n          width: 2rem;\n          height: 0.5rem;\n          border-radius: 0.25rem;\n          background: #bc2263;\n          box-shadow: 0 0 12px rgba(188, 34, 99, 0.6);\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__carousel-indicators {\n            bottom: 1rem;\n          }\n        }\n\n        .aftermovie-section__divider {\n          width: 100%;\n          height: 1px;\n          margin-top: 4rem;\n          background: linear-gradient(\n            to right,\n            transparent 0%,\n            rgba(188, 34, 99, 0.2) 20%,\n            rgba(188, 34, 99, 0.4) 50%,\n            rgba(255, 39, 112, 0.4) 50%,\n            rgba(255, 39, 112, 0.2) 80%,\n            transparent 100%\n          );\n          position: relative;\n        }\n\n        .aftermovie-section__divider::after {\n          content: \"\";\n          position: absolute;\n          top: 0;\n          left: 0;\n          right: 0;\n          height: 1px;\n          background: linear-gradient(\n            to right,\n            transparent 0%,\n            rgba(188, 34, 99, 0.3) 50%,\n            rgba(255, 39, 112, 0.3) 50%,\n            transparent 100%\n          );\n          filter: blur(0.5px);\n        }\n\n        @media (max-width: 768px) {\n          .aftermovie-section__divider {\n            margin-top: 3rem;\n          }\n        }\n      `}),/*#__PURE__*/_jsxs(\"section\",{ref:sectionRef,className:\"aftermovie-section\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"aftermovie-section__background\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__gradient aftermovie-section__gradient--left\"}),/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__gradient aftermovie-section__gradient--right\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"aftermovie-section__container\",children:[/*#__PURE__*/_jsxs(\"div\",{className:`aftermovie-section__header ${isVisible?\"aftermovie-section__header--visible\":\"\"}`,children:[/*#__PURE__*/_jsx(\"h2\",{className:\"aftermovie-section__title\",children:title}),/*#__PURE__*/_jsx(\"p\",{className:\"aftermovie-section__subtitle\",children:subtitle})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"aftermovie-section__grid\",children:[/*#__PURE__*/_jsx(\"div\",{className:`aftermovie-section__video-wrapper ${isVisible?\"aftermovie-section__video-wrapper--visible\":\"\"}`,children:/*#__PURE__*/_jsxs(\"div\",{className:\"aftermovie-section__video-container\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"aftermovie-section__video-aspect\",children:[isMounted&&isVisible&&hasVideo&&youtubeThumbnailUrl&&/*#__PURE__*/_jsx(\"img\",{src:youtubeThumbnailUrl,alt:\"Video thumbnail\",className:`aftermovie-section__video-thumbnail ${isVideoPlaying?\"aftermovie-section__video-thumbnail--hidden\":\"\"}`,loading:\"lazy\"}),isMounted&&hasVideo&&!isVideoPlaying&&/*#__PURE__*/_jsx(\"button\",{className:`aftermovie-section__video-play-button ${isVideoPlaying?\"aftermovie-section__video-play-button--hidden\":\"\"}`,onClick:handlePlayClick,\"aria-label\":\"Play video\",children:/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__video-play-icon\"})}),isMounted&&isVideoPlaying&&youtubeEmbedUrl&&/*#__PURE__*/_jsx(\"iframe\",{className:\"aftermovie-section__video\",width:\"560\",height:\"315\",src:youtubeEmbedUrl,title:\"YouTube video player\",frameBorder:\"0\",allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\",referrerPolicy:\"strict-origin-when-cross-origin\",allowFullScreen:true})]}),/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__video-overlay\"})]})}),/*#__PURE__*/_jsx(\"div\",{className:`aftermovie-section__carousel-wrapper ${isVisible?\"aftermovie-section__carousel-wrapper--visible\":\"\"}`,children:/*#__PURE__*/_jsxs(\"div\",{className:\"aftermovie-section__carousel-container\",onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),onTouchStart:onTouchStart,onTouchMove:onTouchMove,onTouchEnd:onTouchEnd,children:[/*#__PURE__*/_jsx(\"div\",{ref:carouselRef,className:\"aftermovie-section__carousel\",children:safeImages.map((image,index)=>/*#__PURE__*/_jsx(\"div\",{className:`aftermovie-section__carousel-item ${index===currentImageIndex?\"aftermovie-section__carousel-item--active\":\"\"} ${index<currentImageIndex?\"aftermovie-section__carousel-item--prev\":\"\"} ${index>currentImageIndex?\"aftermovie-section__carousel-item--next\":\"\"}`,children:/*#__PURE__*/_jsxs(\"div\",{className:\"aftermovie-section__carousel-image-wrapper\",children:[isMounted&&image.src?/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,className:\"aftermovie-section__carousel-image\",loading:\"lazy\"}):/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__carousel-image-placeholder\"}),/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__carousel-image-fade\"}),/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__carousel-image-label\",children:image.alt})]})},index))}),safeImages.length>1&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{className:\"aftermovie-section__carousel-button aftermovie-section__carousel-button--prev\",onClick:goToPrev,\"aria-label\":\"Previous image\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12.5 5L7.5 10L12.5 15\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"button\",{className:\"aftermovie-section__carousel-button aftermovie-section__carousel-button--next\",onClick:goToNext,\"aria-label\":\"Next image\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7.5 5L12.5 10L7.5 15\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__carousel-indicators\",children:safeImages.map((_,index)=>/*#__PURE__*/_jsx(\"button\",{className:`aftermovie-section__carousel-indicator ${index===currentImageIndex?\"aftermovie-section__carousel-indicator--active\":\"\"}`,onClick:()=>goToImage(index),\"aria-label\":`Go to image ${index+1}`},index))})]})]})})]}),/*#__PURE__*/_jsx(\"div\",{className:\"aftermovie-section__divider\"})]})]})]});}addPropertyControls(ReliveSection,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Relive START Summit 2025\"},subtitle:{type:ControlType.String,title:\"Subtitle\",defaultValue:\"Experience the energy, connections, and moments that made START Summit 2025 unforgettable.\"},youtubeLink:{type:ControlType.String,title:\"YouTube Link\",defaultValue:\"https://www.youtube.com/embed/Wq0tYweBlwI?si=OZ_KnPQAkTXUoFuh\"},images:{title:\"Images\",type:ControlType.Array,control:{type:ControlType.Object,controls:{src:{type:ControlType.Image,title:\"Image\"},alt:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"Image\"}}},defaultValue:DEFAULT_IMAGES}});\nexport const __FramerMetadata__ = {\"exports\":{\"ReliveSectionProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ReliveSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Relive_Section.map"],"mappings":"iMAEovB,SAAS,EAAkB,EAAI,CAAC,GAAG,CAAC,EAAI,OAAO,KAC/qB,IAAI,IAAM,IAA/G,CAAC,2EAA2E,wBAAwB,CAA+B,CAAC,IAAM,EAAM,EAAI,MAAM,EAAQ,CAAC,GAAG,GAAO,EAAM,GAAI,OAAO,EAAM,GAAK,OAAO,KAAM,SAAS,EAAmB,EAAI,CAAC,IAAM,EAAQ,EAAkB,EAAI,CAAsB,OAAjB,EAAuB,iCAAiC,EAAQ,iCAAlD,GAAoF,SAAS,EAAuB,EAAI,CAAC,IAAM,EAAQ,EAAkB,EAAI,CAC1d,OAD+d,EACzd,8BAA8B,EAAQ,oBADic,GAC5a,SAAwB,EAAc,CAAC,QAAM,2BAA2B,WAAS,6FAA6F,cAAY,gEAAgE,SAAO,GAAgB,CAAC,GAAK,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAM,CAAC,EAAkB,GAAsBA,EAAS,EAAE,CAAM,CAAC,EAAc,GAAkBA,EAAS,GAAK,CAAM,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAM,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAM,CAAC,EAAe,GAAmBA,EAAS,GAAM,CAAM,CAAC,EAAW,GAAeA,EAAS,KAAK,CAAM,C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