{"version":3,"file":"Project_Gallery_Lightbox.DMKhsiWi.mjs","names":["React.useRef","React.useState","React.useMemo","React.useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/IzkOh4OsL3PeN6AxZ04h/BA3WZM1rKr1qjGHL1Djp/Project_Gallery_Lightbox.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";// @ts-ignore Framer runtime provides react-dom for portals\nimport{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{AnimatePresence,motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ProjectGalleryLightbox(props){const{image1,image2,image3,image4,image5,image6,image7,layoutMode=\"editorial\",gap=18,tileRadius=10,viewerBackground=\"#070B0A\",controlColor=\"#F5F1E8\",viewerControlColor=\"#FFFFFF\",inlineDotPillBackground=\"rgba(20,32,25,0.8)\",inlineDotActiveColor=\"#FFFFFF\",inlineDotInactiveColor=\"rgba(255,255,255,0.45)\",animationDuration=.34,arrowSize=24,style}=props;const rootRef=React.useRef(null);const isStaticRenderer=useIsStaticRenderer();const[isMounted,setIsMounted]=React.useState(false);const[isNarrowViewer,setIsNarrowViewer]=React.useState(false);const[isNarrowLandscape,setIsNarrowLandscape]=React.useState(false);const[isPhoneInlineNav,setIsPhoneInlineNav]=React.useState(false);const[selectedIndex,setSelectedIndex]=React.useState(null);const[direction,setDirection]=React.useState(0);const[splitIndex,setSplitIndex]=React.useState(0);const inlineTouchStartX=React.useRef(0);const inlineTouchStartY=React.useRef(0);const inlineSuppressTapUntil=React.useRef(0);const resolvedSlots=React.useMemo(()=>{return[image1,image2,image3,image4,image5,image6,image7].map(item=>{if(!item)return undefined;if(typeof item===\"string\")return{src:item,alt:\"\"};return item;});},[image1,image2,image3,image4,image5,image6,image7]);const safeImages=React.useMemo(()=>{return resolvedSlots.filter(item=>Boolean(item)).filter(item=>Boolean(item?.src));},[resolvedSlots]);const splitSignatureImage=React.useMemo(()=>{const preferred=resolvedSlots[0];if(preferred?.src)return preferred;return safeImages[0];},[resolvedSlots,safeImages]);const splitGalleryImages=React.useMemo(()=>{const fromSecondOnward=resolvedSlots.slice(1).filter(item=>Boolean(item?.src));if(fromSecondOnward.length>0)return fromSecondOnward;return splitSignatureImage?.src?[splitSignatureImage]:[];},[resolvedSlots,splitSignatureImage]);const activeSplitImage=React.useMemo(()=>{if(splitGalleryImages.length===0)return undefined;const boundedIndex=Math.min(Math.max(splitIndex,0),splitGalleryImages.length-1);return splitGalleryImages[boundedIndex];},[splitGalleryImages,splitIndex]);const isOpen=selectedIndex!==null&&safeImages.length>0;const openLightbox=React.useCallback(index=>{React.startTransition(()=>{setDirection(0);setSelectedIndex(index);});},[setSelectedIndex]);const closeLightbox=React.useCallback(()=>{React.startTransition(()=>{setSelectedIndex(null);setDirection(0);});},[]);const goTo=React.useCallback(nextDirection=>{if(selectedIndex===null||safeImages.length<=1)return;const nextIndex=(selectedIndex+nextDirection+safeImages.length)%safeImages.length;React.startTransition(()=>{setDirection(nextDirection);setSelectedIndex(nextIndex);});},[selectedIndex,safeImages.length]);const goPrev=React.useCallback(()=>goTo(-1),[goTo]);const goNext=React.useCallback(()=>goTo(1),[goTo]);const goSplit=React.useCallback(nextDirection=>{if(splitGalleryImages.length<=1)return;React.startTransition(()=>{setSplitIndex(current=>(current+nextDirection+splitGalleryImages.length)%splitGalleryImages.length);});},[splitGalleryImages.length]);const openLightboxForImage=React.useCallback(image=>{if(!image)return;const index=safeImages.indexOf(image);if(index<0)return;openLightbox(index);},[openLightbox,safeImages]);React.useEffect(()=>{if(typeof window===\"undefined\")return;React.startTransition(()=>{setIsMounted(true);});return()=>{React.startTransition(()=>{setIsMounted(false);});};},[]);React.useEffect(()=>{if(typeof window===\"undefined\")return;const narrowMediaQuery=window.matchMedia(\"(max-width: 1199px)\");const narrowLandscapeMediaQuery=window.matchMedia(\"(max-width: 1199px) and (orientation: landscape)\");const phoneInlineQuery=window.matchMedia(\"(max-width: 809.98px)\");const sync=()=>{React.startTransition(()=>{setIsNarrowViewer(narrowMediaQuery.matches);setIsNarrowLandscape(narrowLandscapeMediaQuery.matches);setIsPhoneInlineNav(phoneInlineQuery.matches);});};sync();narrowMediaQuery.addEventListener(\"change\",sync);narrowLandscapeMediaQuery.addEventListener(\"change\",sync);phoneInlineQuery.addEventListener(\"change\",sync);window.addEventListener(\"resize\",sync);return()=>{narrowMediaQuery.removeEventListener(\"change\",sync);narrowLandscapeMediaQuery.removeEventListener(\"change\",sync);phoneInlineQuery.removeEventListener(\"change\",sync);window.removeEventListener(\"resize\",sync);};},[]);React.useEffect(()=>{if(typeof document!==\"undefined\"&&isOpen){const previousOverflow=document.body.style.overflow;document.body.style.overflow=\"hidden\";return()=>{document.body.style.overflow=previousOverflow;};}},[isOpen]);React.useEffect(()=>{if(typeof window===\"undefined\"||!isOpen)return;const onKeyDown=event=>{if(event.key===\"Escape\")closeLightbox();if(event.key===\"ArrowLeft\")goPrev();if(event.key===\"ArrowRight\")goNext();};window.addEventListener(\"keydown\",onKeyDown);return()=>window.removeEventListener(\"keydown\",onKeyDown);},[isOpen,closeLightbox,goPrev,goNext]);const slideVariants=React.useMemo(()=>{const duration=Math.min(Math.max(animationDuration,.1),1.2);const easeCurve=[.22,.61,.36,1];return{enter:dir=>({x:dir>=0?56:-56,opacity:0}),center:{x:0,opacity:1,transition:{duration,ease:easeCurve}},exit:dir=>({x:dir>=0?-56:56,opacity:0,transition:{duration,ease:easeCurve}})};},[animationDuration]);const desktopPattern=React.useMemo(()=>{return[{col:\"span 7\",row:\"span 2\"},{col:\"span 5\",row:\"span 2\"},{col:\"span 4\",row:\"span 2\"},{col:\"span 4\",row:\"span 2\"},{col:\"span 4\",row:\"span 2\"}];},[]);const packedDesktopPlacement=React.useMemo(()=>{if(safeImages.length===7){return[{col:\"1 / span 8\",row:\"1 / span 3\"},{col:\"9 / span 4\",row:\"1 / span 3\"},{col:\"1 / span 4\",row:\"4 / span 2\"},{col:\"5 / span 4\",row:\"4 / span 2\"},{col:\"9 / span 4\",row:\"4 / span 2\"},{col:\"1 / span 6\",row:\"6 / span 2\"},{col:\"7 / span 6\",row:\"6 / span 2\"}];}if(safeImages.length===6){return[{col:\"1 / span 8\",row:\"1 / span 3\"},{col:\"9 / span 4\",row:\"1 / span 3\"},{col:\"1 / span 4\",row:\"4 / span 2\"},{col:\"5 / span 4\",row:\"4 / span 2\"},{col:\"9 / span 4\",row:\"4 / span 2\"},{col:\"1 / span 12\",row:\"6 / span 2\"}];}return null;},[safeImages.length]);const splitArrowSize=React.useMemo(()=>Math.min(Math.max(arrowSize,12),48),[arrowSize]);const isSliderOnly=layoutMode===\"sliderOnly\";const isSplitLayout=layoutMode===\"amanSplit\"||isSliderOnly;const useViewerBottomControls=safeImages.length>1&&isNarrowViewer&&!isNarrowLandscape;const useViewerSideControls=safeImages.length>1&&(!isNarrowViewer||isNarrowLandscape);const shouldPortalViewer=isMounted&&!isStaticRenderer&&typeof document!==\"undefined\"&&Boolean(document.body);const viewerNode=/*#__PURE__*/_jsx(AnimatePresence,{initial:false,custom:direction,children:isOpen&&selectedIndex!==null&&/*#__PURE__*/_jsxs(motion.div,{role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":\"Image viewer\",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:Math.min(Math.max(animationDuration,.1),1.2)},style:{position:\"fixed\",inset:0,width:\"100vw\",minHeight:\"100vh\",height:\"100dvh\",zIndex:999,background:viewerBackground,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",padding:isNarrowViewer?isNarrowLandscape?\"max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left))\":\"max(12px, env(safe-area-inset-top)) 0 max(12px, env(safe-area-inset-bottom))\":\"clamp(20px, 3vw, 36px) clamp(32px, 6vw, 96px)\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:closeLightbox,\"aria-label\":\"Close image viewer\",style:{position:\"absolute\",top:\"max(12px, env(safe-area-inset-top))\",right:\"max(12px, env(safe-area-inset-right))\",width:44,height:44,borderRadius:999,border:`1px solid ${viewerControlColor}`,background:\"#00000000\",color:viewerControlColor,cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:3},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 6L18 18M18 6L6 18\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\"})})}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",maxWidth:isNarrowViewer?\"none\":1120,height:\"100%\",maxHeight:isNarrowViewer?\"100%\":\"76vh\",overflow:\"visible\",display:\"flex\",flexDirection:useViewerBottomControls?\"column\":\"row\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",padding:isNarrowViewer?useViewerSideControls?\"0 56px\":\"0\":safeImages.length>1?\"0 52px\":\"0\"},children:[useViewerSideControls&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:goPrev,\"aria-label\":\"Previous image\",style:{position:\"absolute\",left:8,top:\"50%\",transform:\"translateY(-50%)\",width:44,height:44,borderRadius:999,border:`1px solid ${viewerControlColor}`,background:\"#00000000\",color:viewerControlColor,cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:2},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M14.5 5.5L8 12L14.5 18.5\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:goNext,\"aria-label\":\"Next image\",style:{position:\"absolute\",right:8,top:\"50%\",transform:\"translateY(-50%)\",width:44,height:44,borderRadius:999,border:`1px solid ${viewerControlColor}`,background:\"#00000000\",color:viewerControlColor,cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:2},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9.5 5.5L16 12L9.5 18.5\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:useViewerBottomControls?\"auto\":\"100%\",flex:useViewerBottomControls?\"0 1 auto\":\"1 1 auto\",minHeight:0,overflow:\"hidden\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(AnimatePresence,{initial:false,custom:direction,mode:\"wait\",children:/*#__PURE__*/_jsx(motion.img,{custom:direction,variants:slideVariants,initial:isStaticRenderer?\"center\":\"enter\",animate:\"center\",exit:isStaticRenderer?\"center\":\"exit\",drag:safeImages.length>1?\"x\":false,dragConstraints:{left:0,right:0},dragElastic:.1,onDragEnd:(_,info)=>{const shouldNavigate=Math.abs(info.offset.x)>80||Math.abs(info.velocity.x)>500;if(!shouldNavigate)return;if(info.offset.x>0)goPrev();else goNext();},src:safeImages[selectedIndex].src,srcSet:safeImages[selectedIndex].srcSet,alt:safeImages[selectedIndex].alt||\"Selected gallery image\",style:{position:\"relative\",width:\"auto\",height:\"auto\",maxWidth:\"100%\",maxHeight:useViewerBottomControls?\"calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)) - 44px - 12px - 44px)\":\"100%\",objectFit:\"contain\",display:\"block\",userSelect:\"none\"}},`${safeImages[selectedIndex].src}-${selectedIndex}`)})}),useViewerBottomControls&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"auto\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",gap:16,marginTop:12,paddingBottom:\"max(8px, env(safe-area-inset-bottom))\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:goPrev,\"aria-label\":\"Previous image\",style:{width:44,height:44,borderRadius:999,border:`1px solid ${viewerControlColor}`,background:\"#00000000\",color:viewerControlColor,cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M14.5 5.5L8 12L14.5 18.5\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:goNext,\"aria-label\":\"Next image\",style:{width:44,height:44,borderRadius:999,border:`1px solid ${viewerControlColor}`,background:\"#00000000\",color:viewerControlColor,cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9.5 5.5L16 12L9.5 18.5\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]})]})]},\"viewer\")});return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{position:\"relative\",width:\"100%\",height:\"auto\",display:\"flex\",flexDirection:\"column\",...style},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .pgl-aman-split {\n                        display: grid;\n                        grid-template-columns: 1fr;\n                        gap: ${gap}px;\n                        width: 100%;\n                    }\n\n                    .pgl-aman-left {\n                        order: 2;\n                    }\n\n                    .pgl-aman-right {\n                        order: 1;\n                    }\n\n                    @media (min-width: 768px) {\n                        .pgl-aman-split {\n                            grid-template-columns: minmax(0, 36.8%) minmax(0, 52%);\n                            justify-content: space-between;\n                            column-gap: 0;\n                            align-items: start;\n                        }\n\n                        .pgl-aman-left {\n                            order: 1;\n                            align-self: stretch;\n                            justify-content: center;\n                            padding-top: 16px;\n                        }\n\n                        .pgl-aman-right {\n                            order: 2;\n                            transform: translateY(-16px);\n                        }\n                    }\n\n                    @media (max-width: 767px) {\n                        .pgl-grid {\n                            grid-template-columns: 1fr;\n                            grid-auto-rows: auto;\n                            grid-auto-flow: row;\n                        }\n\n                        .pgl-tile-button {\n                            grid-column: auto !important;\n                            grid-row: auto !important;\n                            width: 100% !important;\n                            min-height: 0 !important;\n                            aspect-ratio: 4 / 3 !important;\n                        }\n                    }\n\n                    @media (max-width: 809.98px) {\n                        .pgl-inline-split-arrows {\n                            display: none !important;\n                        }\n                    }\n\n                    @media (min-width: 768px) {\n                        .pgl-grid {\n                            grid-template-columns: repeat(12, minmax(0, 1fr));\n                            grid-auto-rows: 104px;\n                            grid-auto-flow: dense;\n                        }\n\n                        .pgl-tile-button {\n                            min-height: 0 !important;\n                            aspect-ratio: auto !important;\n                            height: 100%;\n                        }\n                    }\n\n                    .pgl-aman-split.pgl-slider-only {\n                        grid-template-columns: 1fr;\n                        justify-content: stretch;\n                    }\n\n                    .pgl-aman-split.pgl-slider-only .pgl-aman-left {\n                        order: 1;\n                    }\n\n                    @media (min-width: 768px) {\n                        .pgl-aman-split.pgl-slider-only {\n                            grid-template-columns: 1fr;\n                            justify-content: stretch;\n                            column-gap: 0;\n                        }\n\n                        .pgl-aman-split.pgl-slider-only .pgl-aman-left {\n                            order: 1;\n                            align-self: auto;\n                            justify-content: flex-start;\n                            padding-top: 0;\n                        }\n                    }\n                `}),isSplitLayout?/*#__PURE__*/_jsxs(\"div\",{className:`pgl-aman-split${isSliderOnly?\" pgl-slider-only\":\"\"}`,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"pgl-aman-left\",style:{position:\"relative\",display:\"flex\",flexDirection:\"column\",gap:Math.max(10,gap*.6)},children:[activeSplitImage?.src&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":`Open image: ${activeSplitImage.alt||\"Gallery image\"}`,onClick:()=>{if(Date.now()<inlineSuppressTapUntil.current){return;}openLightboxForImage(activeSplitImage);},onTouchStart:event=>{if(!isPhoneInlineNav||splitGalleryImages.length<=1)return;const touch=event.touches[0];if(!touch)return;inlineTouchStartX.current=touch.clientX;inlineTouchStartY.current=touch.clientY;},onTouchEnd:event=>{if(!isPhoneInlineNav||splitGalleryImages.length<=1)return;const touch=event.changedTouches[0];if(!touch)return;const dx=touch.clientX-inlineTouchStartX.current;const dy=touch.clientY-inlineTouchStartY.current;const isHorizontalSwipe=Math.abs(dx)>=40&&Math.abs(dx)>Math.abs(dy);if(!isHorizontalSwipe){inlineSuppressTapUntil.current=0;return;}inlineSuppressTapUntil.current=Date.now()+350;if(dx<0)goSplit(1);else goSplit(-1);},style:{position:\"relative\",border:\"none\",margin:0,padding:0,background:\"transparent\",cursor:\"pointer\",borderRadius:tileRadius,overflow:\"hidden\",width:\"100%\",aspectRatio:\"4 / 5\",touchAction:\"pan-y\"},children:/*#__PURE__*/_jsx(AnimatePresence,{initial:false,custom:splitIndex,mode:\"wait\",children:/*#__PURE__*/_jsx(motion.img,{custom:splitIndex,variants:slideVariants,initial:isStaticRenderer?\"center\":\"enter\",animate:\"center\",exit:isStaticRenderer?\"center\":\"exit\",src:activeSplitImage.src,srcSet:activeSplitImage.srcSet,alt:activeSplitImage.alt||\"Gallery image\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}},`${activeSplitImage.src}-${splitIndex}`)})}),splitGalleryImages.length>1&&isPhoneInlineNav&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",bottom:16,transform:\"translateX(-50%)\",display:\"flex\",alignItems:\"center\",gap:0,padding:\"3px 6px\",borderRadius:999,background:inlineDotPillBackground,backdropFilter:\"blur(8px)\",WebkitBackdropFilter:\"blur(8px)\",zIndex:2},children:splitGalleryImages.map((dotImage,index)=>{const isActive=index===splitIndex;const dotLabel=dotImage.alt||`Gallery image ${index+1}`;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":`Show ${dotLabel}`,\"aria-current\":isActive?true:undefined,\"aria-pressed\":isActive,onClick:event=>{event.stopPropagation();React.startTransition(()=>{setSplitIndex(index);});inlineSuppressTapUntil.current=0;},onKeyDown:event=>{if(event.key!==\"Enter\"&&event.key!==\" \")return;event.stopPropagation();},style:{width:15,height:15,border:\"none\",background:\"transparent\",cursor:\"pointer\",padding:0,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:999,WebkitTapHighlightColor:\"transparent\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:6,height:6,borderRadius:999,background:isActive?inlineDotActiveColor:inlineDotInactiveColor,display:\"block\"}})},`split-dot-${dotImage.src||index}-${index}`);})})]}),splitGalleryImages.length>1&&/*#__PURE__*/_jsxs(\"div\",{className:\"pgl-inline-split-arrows\",style:{position:\"relative\",display:\"flex\",justifyContent:\"flex-end\",gap:8},children:[/*#__PURE__*/_jsx(motion.button,{type:\"button\",onClick:()=>goSplit(-1),\"aria-label\":\"Previous gallery image\",whileHover:{opacity:.55},whileTap:{opacity:.4},transition:{duration:.18},style:{width:44,height:44,border:\"none\",background:\"transparent\",color:controlColor,cursor:\"pointer\",padding:0,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:splitArrowSize,height:splitArrowSize,viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M14.5 5.5L8 12L14.5 18.5\",stroke:\"currentColor\",strokeWidth:\"1.75\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(motion.button,{type:\"button\",onClick:()=>goSplit(1),\"aria-label\":\"Next gallery image\",whileHover:{opacity:.55},whileTap:{opacity:.4},transition:{duration:.18},style:{width:44,height:44,border:\"none\",background:\"transparent\",color:controlColor,cursor:\"pointer\",padding:0,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:splitArrowSize,height:splitArrowSize,viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9.5 5.5L16 12L9.5 18.5\",stroke:\"currentColor\",strokeWidth:\"1.75\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]})]}),!isSliderOnly&&splitSignatureImage?.src&&/*#__PURE__*/_jsx(\"button\",{className:\"pgl-aman-right\",type:\"button\",\"aria-label\":`Open signature image: ${splitSignatureImage.alt||\"Signature image\"}`,onClick:()=>openLightboxForImage(splitSignatureImage),style:{position:\"relative\",border:\"none\",margin:0,padding:0,background:\"transparent\",cursor:\"pointer\",borderRadius:tileRadius,overflow:\"hidden\",width:\"100%\",aspectRatio:\"4 / 5\"},children:/*#__PURE__*/_jsx(\"img\",{src:splitSignatureImage.src,srcSet:splitSignatureImage.srcSet,alt:splitSignatureImage.alt||\"Signature image\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})})]}):/*#__PURE__*/_jsx(\"div\",{className:\"pgl-grid\",style:{position:\"relative\",display:\"grid\",gap:`${gap}px`,width:\"100%\"},children:safeImages.map((item,index)=>{const pattern=desktopPattern[index%desktopPattern.length];const isLast=index===safeImages.length-1;const isWideEnd=layoutMode===\"editorialWideEnd\"&&isLast&&safeImages.length>2;const altText=item.alt||`Gallery image ${index+1}`;const packedPlacement=packedDesktopPlacement?.[index];return /*#__PURE__*/_jsx(\"button\",{className:\"pgl-tile-button\",type:\"button\",onClick:()=>openLightbox(index),\"aria-label\":`Open image ${index+1}: ${altText}`,style:{position:\"relative\",border:\"none\",margin:0,padding:0,background:\"transparent\",cursor:\"pointer\",borderRadius:tileRadius,overflow:\"hidden\",width:\"100%\",gridColumn:packedPlacement?packedPlacement.col:isWideEnd?\"span 12\":pattern.col,gridRow:packedPlacement?packedPlacement.row:isWideEnd?\"span 2\":pattern.row},children:/*#__PURE__*/_jsx(\"img\",{src:item.src,srcSet:item.srcSet,alt:altText,loading:index<2?\"eager\":\"lazy\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})},`${item.src||\"image\"}-${index}`);})})]}),shouldPortalViewer?/*#__PURE__*/createPortal(viewerNode,document.body):viewerNode]});}addPropertyControls(ProjectGalleryLightbox,{image1:{title:\"Image 1\",type:ControlType.ResponsiveImage},image2:{title:\"Image 2\",type:ControlType.ResponsiveImage},image3:{title:\"Image 3\",type:ControlType.ResponsiveImage},image4:{title:\"Image 4\",type:ControlType.ResponsiveImage},image5:{title:\"Image 5\",type:ControlType.ResponsiveImage},image6:{title:\"Image 6\",type:ControlType.ResponsiveImage},image7:{title:\"Image 7\",type:ControlType.ResponsiveImage},layoutMode:{title:\"Layout\",type:ControlType.Enum,defaultValue:\"editorial\",options:[\"editorial\",\"editorialWideEnd\",\"amanSplit\",\"sliderOnly\"],optionTitles:[\"Editorial\",\"Editorial + Wide End\",\"Aman Split Gallery\",\"Slider Only\"]},gap:{title:\"Gap\",type:ControlType.Number,defaultValue:18,min:0,max:40,step:1,unit:\"px\"},tileRadius:{title:\"Tile Radius\",type:ControlType.Number,defaultValue:10,min:0,max:48,step:1,unit:\"px\"},viewerBackground:{title:\"Viewer BG\",type:ControlType.Color,defaultValue:\"#070B0A\"},controlColor:{title:\"Control\",type:ControlType.Color,defaultValue:\"#F5F1E8\"},viewerControlColor:{title:\"Viewer Ctrl\",type:ControlType.Color,defaultValue:\"#FFFFFF\"},inlineDotPillBackground:{title:\"Inline Pill BG\",type:ControlType.Color,defaultValue:\"rgba(20,32,25,0.8)\"},inlineDotActiveColor:{title:\"Inline Dot On\",type:ControlType.Color,defaultValue:\"#FFFFFF\"},inlineDotInactiveColor:{title:\"Inline Dot Off\",type:ControlType.Color,defaultValue:\"rgba(255,255,255,0.45)\"},animationDuration:{title:\"Anim\",type:ControlType.Number,defaultValue:.34,min:.1,max:1.2,step:.01,unit:\"s\"},arrowSize:{title:\"Arrow Size\",type:ControlType.Number,defaultValue:24,min:12,max:48,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectGalleryLightbox\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Project_Gallery_Lightbox.map"],"mappings":"qTAIG,SAAwB,EAAuB,EAAM,CAAC,GAAK,CAAC,SAAO,SAAO,SAAO,SAAO,SAAO,SAAO,SAAO,aAAW,YAAY,MAAI,GAAG,aAAW,GAAG,oBAAiB,UAAU,gBAAa,UAAU,qBAAmB,UAAU,2BAAwB,qBAAqB,wBAAqB,UAAU,0BAAuB,yBAAyB,oBAAkB,IAAI,aAAU,GAAG,UAAO,EAAY,GAAQA,EAAa,IAAI,EAAQ,EAAiB,GAAoB,EAAO,CAAC,GAAU,GAAcC,EAAe,EAAK,EAAO,CAAC,EAAe,IAAmBA,EAAe,EAAK,EAAO,CAAC,EAAkB,IAAsBA,EAAe,EAAK,EAAO,CAAC,EAAiB,IAAqBA,EAAe,EAAK,EAAO,CAAC,EAAc,GAAkBA,EAAe,IAAI,EA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