{"version":3,"file":"Lightbox.CCaa05LL.mjs","names":["useRef","useCallback","useState","useMemo","useState","useRef","useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/7qT0r3So12155VV5Jq5x/Video.js","https:/framerusercontent.com/modules/ulG5bhh0KrwOkFIIyHWS/pQVWf5vpgeckeyRURQsM/Lightbox.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsInCurrentNavigationTarget,RenderTarget}from\"framer\";import{isMotionValue,useInView}from\"framer-motion\";import{borderRadiusControl,defaultEvents,useIsBrowserSafari,useIsOnCanvas,useOnEnter,useOnExit,useRadius,useRenderTarget}from\"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\";// https://framer.com/m/framer/default-utils.js@^0.45.0\nimport{memo,useCallback,useEffect,useMemo,useRef,useState}from\"react\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const defaultVideo=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\";// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export function Video(props){const newProps=getProps(props);return /*#__PURE__*/_jsx(VideoMemo,{...newProps});}function usePlaybackControls(videoRef){const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const requestingPlay=useRef(false);const isPlayingRef=useRef(false);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const video=videoRef.current;if(!video)return;video.preload=\"auto\"// makes sure browsers don't throttle: https://html.spec.whatwg.org/multipage/media.html#:~:text=When%20the%20media%20resource%20is%20playing%2C%20hints%20to%20the%20user%20agent%20that%20bandwidth%20is%20to%20be%20considered%20scarce%2C%20e.g.%20suggesting%20throttling%20the%20download%20so%20that%20the%20media%20data%20is%20obtained%20at%20the%20slowest%20possible%20rate%20that%20still%20maintains%20consistent%20playback.\n;const isPlaying=video.currentTime>0&&video.onplaying&&!video.paused&&!video.ended&&video.readyState>=video.HAVE_CURRENT_DATA;if(!isPlaying&&video&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;isPlayingRef.current=true;video.play().catch(e=>{})// It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();isPlayingRef.current=false;},[]);return{play,pause,setProgress,isPlaying:isPlayingRef};}function useAutoplayBehavior({playingProp,muted,loop,playsinline,controls}){const[initialPlayingProp]=useState(()=>playingProp);const[hasPlayingPropChanged,setHasPlayingPropChanged]=useState(false);if(playingProp!==initialPlayingProp&&!hasPlayingPropChanged){setHasPlayingPropChanged(true);}const behavesAsGif=// passing `playing === true` on mount indicates that the video should\n// autoplay, like a GIF\ninitialPlayingProp&&muted&&loop&&playsinline&&!controls&&// Some users of the <Video> component use it by wrapping it with\n// another smart component and adding their own controls on top. (The\n// controls use transitions to control the video: e.g., when clicking\n// the play button, the smart component will transition to a state with\n// <Video playing={true} />.) In this case, we don't want the video to\n// behave as a gif, as it will be weird if the video suddenly started\n// acting as such (and auto-pausing when leaving the viewport) as soon\n// as the site visitor mutes it and clicks “Play”.\n!hasPlayingPropChanged;let autoplay;if(behavesAsGif)autoplay=\"on-viewport\";else if(initialPlayingProp)autoplay=\"on-mount\";else autoplay=\"no-autoplay\";return autoplay;}const VideoMemo=/*#__PURE__*/memo(function VideoInner(props){const{// default props\nsrcType=\"URL\",srcUrl,srcFile=\"\",posterEnabled=false,controls=false,playing=true,loop=true,muted=true,playsinline=true,restartOnEnter=false,objectFit=\"cover\",backgroundColor=\"rgba(0,0,0,0)\",radius=0,volume=25,startTime:startTimeProp=0,poster,playing:playingProp,progress,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp}=props;const videoRef=useRef();const isSafari=useIsBrowserSafari();const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const renderTarget=useRenderTarget();const isStaticRenderer=isOnCanvas||renderTarget===RenderTarget.export;const borderRadius=useRadius(props);// Hard-coding `autoplayBehavior` and `isInViewport` when on canvas as a\n// tiny perf optimization. isStaticRenderer won’t change through the lifecycle of\n// the component, so using these hooks conditionally should be safe\nconst autoplayBehavior=isStaticRenderer?\"no-autoplay\":useAutoplayBehavior({playingProp,muted,loop,playsinline,controls});const isInViewport=isStaticRenderer?true:useInView(videoRef);const isCloseToViewport=isStaticRenderer?false:useInView(videoRef,{margin:\"10%\",once:true});// Video elements behave oddly at 100% duration\nconst startTime=startTimeProp===100?99.9:startTimeProp;const{play,pause,setProgress,isPlaying}=usePlaybackControls(videoRef);// Pause/play via props\nuseEffect(()=>{if(isStaticRenderer)return;if(autoplayBehavior===\"on-viewport\")return;if(playingProp)play();else pause();},[autoplayBehavior,playingProp]);// Pause/play via viewport\nuseEffect(()=>{if(isStaticRenderer)return;// this also explicitly retries playing for videos that play on-mount, which could fail if they're not muted for example\nif(isInViewport&&playingProp&&autoplayBehavior!==\"no-autoplay\")play();if(autoplayBehavior!==\"on-viewport\")return;pause();},[autoplayBehavior,isInViewport,playingProp]);useEffect(()=>{if(!isOnCanvas||poster||posterEnabled||startTime||!videoRef.current)return;// forces a poster to show up when the video is in an iframe; this is needed when `poster` changes\nvideoRef.current.currentTime=.01;},[posterEnabled,poster,startTime]);/**\n     * The Video component has some effects that sync the video element with props\n     * like `startTime`, `progress`, etc. React calls these effects whenever these\n     * props change. However, it also calls them on the first mount, and this is\n     * troublesome – if we’re doing SSR, and the user changed the video state before\n     * the video was hydrated, the initial `useEffect` call will reset the video\n     * state. To avoid this, we use this flag.\n     */const isMountedAndReadyForProgressChanges=useRef(false);// Allow scrubbling via progress prop\n// 1) Handle cases when the progress prop itself changes\nuseEffect(()=>{if(!isMountedAndReadyForProgressChanges.current){isMountedAndReadyForProgressChanges.current=true;return;}const rawProgressValue=isMotionValue(progress)?progress.get():(progress??0)*.01;setProgress(// When the progress value exists (e.g. <Video startTime={10}\n// progress={50} />), we respect the `progress` value over\n// `startTime`, even if `startTime` changes. That’s because\n// `startTime` == start == changing it shouldn’t affect the current\n// progress\n(rawProgressValue??0)||// Then why fall back to `startTime` when `progress` doesn’t exist,\n// you might ask? Now, that’s for\n// - canvas UX: we want the video progress to change when the user\n//   is scrobbling the “Start Time” in component settings.\n// - backwards compatibility: maybe some users *are* scrobbling\n//   using `startTime` instead of `progress`? We don’t know, and it\n//   always supported it, so let’s not break it\n(startTime??0)/100);},[startTime,srcFile,srcUrl,progress]);// 2) Handle cases when the motion value inside the progress prop changes\nuseEffect(()=>{if(!isMotionValue(progress))return;return progress.on(\"change\",value=>setProgress(value));},[progress]);// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{let fragment=\"\";// if (\n//     startTime > 0 &&\n//     videoRef.current &&\n//     !isNaN(videoRef.current.duration) &&\n//     !isStaticRenderer\n// ) {\n//     console.log(startTime, videoRef.current.duration)\n//     fragment = `#t=${startTime * videoRef.current.duration}`\n// }\nif(srcType===\"URL\")return srcUrl+fragment;if(srcType===\"Upload\")return srcFile+fragment;},[srcType,srcFile,srcUrl,startTime]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoplayBehavior===\"on-mount\"){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=(volume??0)/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{const video=videoRef.current;if(!video)return;if(video.currentTime<.3&&startTime>0)setProgress((startTime??0)*.01);if(// when the component updates (e.g. only srcFile/url changes), and the video was already playing, keep playing\nisPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport)play();};return /*#__PURE__*/_jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>onSeeked?.(e),onPause:e=>onPause?.(e),onPlay:e=>onPlay?.(e),onEnded:e=>onEnd?.(e),autoPlay:isPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport,preload:isPlaying.current?\"auto\":isStaticRenderer&&!poster?\"metadata\":autoplayBehavior!==\"on-mount\"&&!isCloseToViewport?\"none\":// `autoplay` overrides this too\n\"metadata\",poster:posterEnabled&&!srcFile&&srcUrl===defaultVideo?\"https://framerusercontent.com/images/5ILRvlYXf72kHSVHqpa3snGzjU.jpg\":posterEnabled&&poster?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isStaticRenderer?true:muted,playsInline:playsinline,style:{cursor:!!onClick?\"pointer\":\"auto\",width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}});});Video.displayName=\"Video\";function capitalizeFirstLetter(value){return value.charAt(0).toUpperCase()+value.slice(1);}export function titleCase(value){const groups=value.match(/[A-Z]{2,}|[A-Z][a-z]+|[a-z]+|[A-Z]|\\d+/gu)||[];return groups.map(capitalizeFirstLetter).join(\" \");}const objectFitOptions=[\"cover\",\"fill\",\"contain\",\"scale-down\",\"none\"];addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[\"URL\",\"Upload\"]},srcUrl:{type:ControlType.String,title:\"URL\",defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",hidden(props){return props.srcType===\"Upload\";}},srcFile:{type:ControlType.File,title:\"File\",allowedFileTypes:[\"mp4\",\"webm\"],hidden(props){return props.srcType===\"URL\";}},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\"},...borderRadiusControl,posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\"},poster:{type:ControlType.Image,title:\"Image\",hidden:({posterEnabled})=>!posterEnabled,description:\"We recommend adding a poster. [Learn more](https://www.framer.com/help/articles/how-are-videos-optimized-in-framer/).\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\"},startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:.1,unit:\"%\"},loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:objectFitOptions,optionTitles:objectFitOptions.map(titleCase)},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\ncontrols:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\"},volume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted,defaultValue:25},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"titleCase\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"112\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"200\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video.map","/**\n * Lightbox for Framer\n * Licensed under CC0-1.0 - Free for personal and commercial use with attribution\n * Created by Stefan (x.com/hyggemethat) at pixcodrops.com\n *\n * Redistribution or modification of this work is permitted, but re-sharing or altering it\n * in a way that misrepresents authorship is not allowed. Proper attribution is required.\n *\n * Hope you enjoy using it!\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useRef,useCallback}from\"react\";import{motion,AnimatePresence}from\"framer-motion\";import{createPortal}from\"react-dom\";// Lightbox settings\nconst arrowSizeMobile=30// Size of mobile arrows\n;const arrowSizeDesktop=40// Size of desktop arrows\n;const arrowBackground=\"#4D4D4D\"// Background color of arrows\n;const arrowHoverBackground=\"#707070\"// Background color of arrows on hover\n;const closeButtonSize=30// Size of close button\n;const closeButtonBackground=\"#4D4D4D\"// Background color of close button\n;const closeButtonHoverBackground=\"#707070\"// Background color of close button on hover\n;const lightboxBackground=\"rgba(12, 12, 12, 0)\"// Background color of the lightbox\n;const imageHoverOverlay=\"transparent\"// Background color of overlay when hovering image\n;const overlayButtonBackground=\"#4D4D4D\"// Background color of the icon when hovering over the image\n;const overlayButtonHoverBackground=\"#707070\"// Background color of the icon when hovering over the image\n;// Enable scale in effect for images\nconst enableAppearEffect=false// Set to false to use fade-in only\n;// Enable zoom feature (UI will show up under images)\nconst enableZoom=true// Change to false to disable zoom\n;const zoomButtonSize=30// Size of zoom button\n;const zoomButtonBackground=\"#4D4D4D\"// Background color of zoom button\n;const zoomButtonHoverBackground=\"#707070\"// Background color of zoom button on hover\n;const maxZoomLevel=3// Maximum zoom level (3x)\n;const zoomStep=.5// How much to zoom in/out per click\n;// Gallery unique ID for multiple galleries on the same page\n// const galleryId = \"#001\" – ! Not implemented yet !\n// Store for managing the gallery\nconst galleryStore={images:[],currentIndex:0,registerImage(image){if(!this.images.includes(image)){this.images.push(image);}},getCurrentImage(){return this.images[this.currentIndex];},goNext(){this.currentIndex=(this.currentIndex+1)%this.images.length;},goPrevious(){this.currentIndex=(this.currentIndex-1+this.images.length)%this.images.length;},reset(){this.images=[];this.currentIndex=0;}};// Scroll management utilities\nconst useScrollLock=()=>{const scrollYRef=useRef(0);const lockScroll=()=>{if(typeof window===\"undefined\")return;scrollYRef.current=window.scrollY;document.body.style.position=\"fixed\";document.body.style.top=`-${scrollYRef.current}px`;document.body.style.width=\"100%\";document.body.style.overflow=\"hidden\";};const unlockScroll=()=>{if(typeof window===\"undefined\")return;document.body.style.position=\"\";document.body.style.top=\"\";document.body.style.width=\"\";document.body.style.overflow=\"unset\";window.scrollTo(0,scrollYRef.current);};return{lockScroll,unlockScroll};};// Function starts here fyi\nexport function withGallery(Component){return props=>{const[hasMounted,setHasMounted]=useState(false);const[isMobile,setIsMobile]=useState(false);const[isOpen,setIsOpen]=useState(false);const[currentImage,setCurrentImage]=useState(null);const[swipeStartX,setSwipeStartX]=useState(0);const[swipeStartY,setSwipeStartY]=useState(0);const[zoomLevel,setZoomLevel]=useState(1);const[isZoomed,setIsZoomed]=useState(false);const[panPosition,setPanPosition]=useState({x:0,y:0});const[imageDimensions,setImageDimensions]=useState({width:0,height:0});const[viewportSize,setViewportSize]=useState({width:0,height:0});const{lockScroll,unlockScroll}=useScrollLock();const imageRef=useRef(null);const[isDragging,setIsDragging]=useState(false);const[dragConstraints,setDragConstraints]=useState({top:0,bottom:0,left:0,right:0});const src=props.background?.src;if(src&&!galleryStore.images.includes(src)){galleryStore.registerImage(src);}// Calculate dynamic drag constraints based on zoom level and image dimensions\nconst calculateDragConstraints=useCallback(()=>{if(!isZoomed||!imageDimensions.width||!viewportSize.width){return{top:0,bottom:0,left:0,right:0};}const scaledWidth=imageDimensions.width*zoomLevel;const scaledHeight=imageDimensions.height*zoomLevel;const maxWidth=isMobile?viewportSize.width*.95:viewportSize.width*.9-100;const maxHeight=viewportSize.height*.85;const displayWidth=Math.min(scaledWidth,maxWidth);const displayHeight=Math.min(scaledHeight,maxHeight);// Calculate how much the image extends beyond the viewport\nconst horizontalOverflow=Math.max(0,(displayWidth-maxWidth)/2);const verticalOverflow=Math.max(0,(displayHeight-maxHeight)/2);return{top:-verticalOverflow,bottom:verticalOverflow,left:-horizontalOverflow,right:horizontalOverflow};},[zoomLevel,imageDimensions,viewportSize,isMobile,isZoomed]);// Update drag constraints when zoom level or dimensions change\nuseEffect(()=>{const newConstraints=calculateDragConstraints();setDragConstraints(newConstraints);},[calculateDragConstraints]);// Update viewport size\nuseEffect(()=>{const updateViewportSize=()=>{setViewportSize({width:window.innerWidth,height:window.innerHeight});};updateViewportSize();window.addEventListener(\"resize\",updateViewportSize);return()=>window.removeEventListener(\"resize\",updateViewportSize);},[]);// Handle image load to get dimensions\nconst handleImageLoad=useCallback(event=>{const img=event.target;setImageDimensions({width:img.naturalWidth,height:img.naturalHeight});},[]);// Add key state for forcing re-render on reset\nconst[resetKey,setResetKey]=useState(0);// Add state for triggering position reset animation\nconst[positionResetTrigger,setPositionResetTrigger]=useState(0);const resetZoomAndPan=useCallback(()=>{setZoomLevel(1);setIsZoomed(false);setPanPosition({x:0,y:0})// Reset position\n;setResetKey(prev=>prev+1)// Force re-render to clear drag state\n;},[]);const openGallery=event=>{event.stopPropagation();event.preventDefault();if(!src)return;lockScroll();setCurrentImage(src);galleryStore.currentIndex=galleryStore.images.indexOf(src);setIsOpen(true);resetZoomAndPan();};const closeGallery=useCallback(()=>{setIsOpen(false);setCurrentImage(null);unlockScroll();resetZoomAndPan();},[unlockScroll,resetZoomAndPan]);const showNextImage=useCallback(()=>{galleryStore.goNext();setCurrentImage(galleryStore.getCurrentImage());resetZoomAndPan();},[resetZoomAndPan]);const showPreviousImage=useCallback(()=>{galleryStore.goPrevious();setCurrentImage(galleryStore.getCurrentImage());resetZoomAndPan();},[resetZoomAndPan]);const handleZoomIn=useCallback(()=>{if(!enableZoom)return;const newZoomLevel=Math.min(zoomLevel+zoomStep,maxZoomLevel);setZoomLevel(newZoomLevel);setIsZoomed(newZoomLevel>1);},[zoomLevel]);const handleZoomOut=useCallback(()=>{if(!enableZoom)return;const newZoomLevel=Math.max(zoomLevel-zoomStep,1);setZoomLevel(newZoomLevel);setIsZoomed(newZoomLevel>1);if(newZoomLevel===1){setPanPosition({x:0,y:0})// Reset position\n;setResetKey(prev=>prev+1)// Force re-render to clear drag state\n;}},[zoomLevel]);const resetZoom=useCallback(()=>{if(!enableZoom)return;resetZoomAndPan();},[resetZoomAndPan]);const handleKeyDown=useCallback(event=>{if(!isOpen)return;if(event.key===\"ArrowRight\")showNextImage();if(event.key===\"ArrowLeft\")showPreviousImage();if(event.key===\"Escape\")closeGallery();if(enableZoom){if(event.key===\"+\"||event.key===\"=\")handleZoomIn();if(event.key===\"-\")handleZoomOut();if(event.key===\"0\")resetZoom();}},[isOpen,showNextImage,showPreviousImage,closeGallery,handleZoomIn,handleZoomOut,resetZoom]);// Improved touch handling (only for swipe when not zoomed)\nconst handleTouchStart=useCallback(e=>{if(isZoomed)return;// Don't handle swipe gestures when zoomed\nconst touch=e.touches[0];setSwipeStartX(touch.clientX);setSwipeStartY(touch.clientY);},[isZoomed]);const handleTouchEnd=useCallback(e=>{if(isZoomed)return;// Don't handle swipe gestures when zoomed\nconst touch=e.changedTouches[0];const deltaX=swipeStartX-touch.clientX;const deltaY=swipeStartY-touch.clientY;// Check if it's primarily a horizontal swipe\nif(Math.abs(deltaX)>Math.abs(deltaY)&&Math.abs(deltaX)>50){if(deltaX>0)showNextImage();else showPreviousImage();}},[isZoomed,swipeStartX,swipeStartY,showNextImage,showPreviousImage]);// Drag handling\nconst handleDrag=useCallback((_,info)=>{if(isZoomed&&enableZoom){// Free panning when zoomed\nreturn{x:info.offset.x,y:info.offset.y};}else if(isMobile&&!isZoomed){// Resistant drag on mobile for close gesture\nsetPanPosition({x:0,y:Math.min(Math.max(info.offset.y,-150),150)});return{x:0,y:Math.min(Math.max(info.offset.y,-150),150)};}else{// Small resistant drag on desktop\nsetPanPosition({x:0,y:Math.min(Math.max(info.offset.y,-20),20)});return{x:0,y:Math.min(Math.max(info.offset.y,-20),20)};}},[isZoomed,isMobile]);const handleDragEnd=useCallback((event,info)=>{setIsDragging(false);// Only handle closing gesture when not zoomed and on mobile\nif(!isZoomed&&isMobile){const threshold=100;const velocityThreshold=300;if(Math.abs(info.offset.y)>threshold&&Math.abs(info.velocity.y)>velocityThreshold){closeGallery();}else{// Trigger position reset\nsetPanPosition({x:0,y:0});setPositionResetTrigger(prev=>prev+1);}}else if(!isZoomed){// Reset position on desktop\nsetPanPosition({x:0,y:0});setPositionResetTrigger(prev=>prev+1);}},[isZoomed,isMobile,closeGallery]);// Double tap to zoom (mobile)\nconst handleDoubleClick=useCallback(()=>{if(!enableZoom)return;if(isZoomed){resetZoom();}else{setZoomLevel(2);setIsZoomed(true);}},[isZoomed,resetZoom]);useEffect(()=>{setHasMounted(true);return()=>{galleryStore.reset();};},[]);useEffect(()=>{const handleResize=()=>{const isMobileDevice=window.matchMedia(\"(pointer: coarse)\").matches||window.innerWidth<=768;setIsMobile(isMobileDevice);};handleResize();window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);},[]);const portalTarget=hasMounted?document.body:null;useEffect(()=>{if(isOpen){window.addEventListener(\"keydown\",handleKeyDown);}return()=>{window.removeEventListener(\"keydown\",handleKeyDown);};},[isOpen,handleKeyDown]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Component,{...props,onClick:openGallery,style:{...props.style,position:\"relative\",cursor:\"pointer\",userSelect:\"none\"},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:imageHoverOverlay,opacity:0,display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},whileHover:{opacity:1,transition:{duration:.2}},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"relative\",width:\"48px\",height:\"48px\",backgroundColor:overlayButtonBackground,opacity:1,borderRadius:\"100px\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},whileHover:{backgroundColor:overlayButtonHoverBackground,transition:{duration:.2}},children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 16 16\",fill:\"#fff\",children:/*#__PURE__*/_jsx(\"path\",{fillRule:\"evenodd\",d:\"M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z\",clipRule:\"evenodd\"})})})})}),hasMounted&&portalTarget&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(AnimatePresence,{children:isOpen&&currentImage&&/*#__PURE__*/_jsxs(motion.div,{id:\"lightbox-background\",onClick:event=>{if(!isDragging&&!isZoomed){// Check if the click was not on any interactive child elements\nif(event.target===event.currentTarget||event.target instanceof Element&&!event.target.closest(\"img, button, svg\")){closeGallery();}}},style:{position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100dvh\",background:lightboxBackground,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",zIndex:1e5,pointerEvents:\"auto\",overflow:\"hidden\"},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[/*#__PURE__*/_jsx(motion.div,{style:{width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(motion.img,{ref:imageRef,src:currentImage,loading:\"lazy\",onLoad:handleImageLoad,onDoubleClick:handleDoubleClick,style:{maxWidth:isMobile?\"95vw\":\"calc(90vw - 100px)\",maxHeight:\"85vh\",touchAction:isZoomed?\"none\":\"auto\",objectFit:\"contain\",borderRadius:\"10px\",cursor:isZoomed?\"grab\":isMobile?\"grab\":\"auto\",transform:\"translate3d(0,0,0)\"},initial:{opacity:enableAppearEffect?.8:0,scale:enableAppearEffect?.8:1},animate:{opacity:1,scale:zoomLevel,x:panPosition.x,y:panPosition.y,transitionEnd:{x:panPosition.x,y:panPosition.y}},transition:{type:\"spring\",stiffness:300,damping:30,x:{stiffness:500,damping:50},y:{stiffness:500,damping:50},when:\"beforeChildren\",key:positionResetTrigger},dragConstraints:isZoomed?dragConstraints.top!==0||dragConstraints.bottom!==0||dragConstraints.left!==0||dragConstraints.right!==0?dragConstraints:{top:-2e3,bottom:2e3,left:-1e3,right:1e3}:{top:isMobile?-150:-20,bottom:isMobile?150:20,left:0,right:0},dragTransition:isZoomed?{power:0,timeConstant:50,bounceStiffness:50,bounceDamping:20}:{power:.4,timeConstant:250,bounceStiffness:1200,bounceDamping:70},onDrag:handleDrag,onTouchStart:handleTouchStart,onTouchEnd:handleTouchEnd,drag:isZoomed?true:\"y\",dragElastic:isZoomed?0:.03,whileTap:{cursor:isZoomed||isMobile?\"grabbing\":\"grab\"},onDragStart:()=>setIsDragging(true),onDragEnd:handleDragEnd},resetKey)}),enableZoom&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:\"20px\",left:\"50%\",transform:\"translateX(-50%)\",display:\"flex\",gap:\"10px\",zIndex:100001},children:[/*#__PURE__*/_jsx(motion.div,{onClick:event=>{event.stopPropagation();handleZoomOut();},style:{width:zoomButtonSize,height:zoomButtonSize,background:zoomButtonBackground,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:zoomLevel>1?\"pointer\":\"default\",opacity:zoomLevel>1?1:.5,pointerEvents:zoomLevel>1?\"auto\":\"none\"},whileHover:{background:zoomLevel>1?zoomButtonHoverBackground:zoomButtonBackground},whileTap:{scale:zoomLevel>1?.95:1},children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12H19\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.div,{onClick:event=>{event.stopPropagation();resetZoom();},style:{width:zoomButtonSize,height:zoomButtonSize,background:zoomButtonBackground,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:isZoomed?\"pointer\":\"default\",opacity:isZoomed?1:.5,pointerEvents:isZoomed?\"auto\":\"none\"},whileHover:{background:isZoomed?zoomButtonHoverBackground:zoomButtonBackground},whileTap:{scale:isZoomed?.95:1},children:/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#fff\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M8 3v3a2 2 0 0 1-2 2H3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M21 8h-3a2 2 0 0 1-2-2V3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3 16h3a2 2 0 0 1 2 2v3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16 21v-3a2 2 0 0 1 2-2h3\"})]})}),/*#__PURE__*/_jsx(motion.div,{onClick:event=>{event.stopPropagation();handleZoomIn();},style:{width:zoomButtonSize,height:zoomButtonSize,background:zoomButtonBackground,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:zoomLevel<maxZoomLevel?\"pointer\":\"default\",opacity:zoomLevel<maxZoomLevel?1:.5,pointerEvents:zoomLevel<maxZoomLevel?\"auto\":\"none\"},whileHover:{background:zoomLevel<maxZoomLevel?zoomButtonHoverBackground:zoomButtonBackground},whileTap:{scale:zoomLevel<maxZoomLevel?.95:1},children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 5V19M5 12H19\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]}),isMobile&&galleryStore.images.length>1&&!isZoomed&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"10px\",right:\"10px\",transform:\"translateY(-50%)\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",zIndex:100001,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(motion.div,{onClick:event=>{event.stopPropagation();showPreviousImage();},style:{width:arrowSizeMobile,height:arrowSizeMobile,background:arrowBackground,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",pointerEvents:\"auto\",marginLeft:\"15px\"},whileHover:{background:arrowHoverBackground},whileTap:{scale:.95},children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 6L9 12L15 18\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.div,{onClick:event=>{event.stopPropagation();showNextImage();},style:{width:arrowSizeMobile,height:arrowSizeMobile,background:arrowBackground,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",pointerEvents:\"auto\",marginRight:\"15px\"},whileHover:{background:arrowHoverBackground},whileTap:{scale:.95},children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 6L15 12L9 18\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]}),!isMobile&&galleryStore.images.length>1&&!isZoomed&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.div,{onClick:event=>{event.stopPropagation();showPreviousImage();},style:{position:\"absolute\",top:\"50%\",left:\"30px\",transform:\"translateY(-50%)\",width:arrowSizeDesktop,height:arrowSizeDesktop,background:arrowBackground,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",zIndex:100001},whileHover:{background:arrowHoverBackground},whileTap:{scale:.95},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 6L9 12L15 18\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.div,{onClick:event=>{event.stopPropagation();showNextImage();},style:{position:\"absolute\",top:\"50%\",right:\"30px\",transform:\"translateY(-50%)\",width:arrowSizeDesktop,height:arrowSizeDesktop,background:arrowBackground,borderRadius:\"50%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",zIndex:100001},whileHover:{background:arrowHoverBackground},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 6L15 12L9 18\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]}),/*#__PURE__*/_jsx(motion.div,{onClick:closeGallery,style:{position:\"absolute\",top:\"20px\",right:\"20px\",width:closeButtonSize,height:closeButtonSize,cursor:\"pointer\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",background:closeButtonBackground,borderRadius:\"50%\",zIndex:100001},whileHover:{background:closeButtonHoverBackground},children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 6L18 18M6 18L18 6\",stroke:\"#fff\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]})}),portalTarget)]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withGallery\":{\"type\":\"reactHoc\",\"name\":\"withGallery\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lightbox.map"],"mappings":"6bAEA,SAAS,GAAS,EAAM,CAAC,GAAK,CAAC,QAAM,SAAO,UAAQ,WAAS,cAAY,aAAW,KAAG,YAAS,GAAG,GAAM,EAAM,OAAO,EAQnH,SAAgB,EAAM,EAAM,CAAgC,OAAoB,EAAK,EAAU,CAAC,GAApD,GAAS,EAAM,CAAiD,CAAC,CAAE,SAAS,GAAoB,EAAS,CAAC,IAAM,EAA4B,GAAgC,CAAO,EAAeA,EAAO,GAAM,CAAO,EAAaA,EAAO,GAAM,CAAO,EAAYC,EAAY,GAAa,CAAC,GAAG,CAAC,EAAS,QAAQ,OAAO,IAAM,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