{"version":3,"file":"BeforeAfterImage.C5FSy7ru.mjs","names":["useRef","useState","useCallback","startTransition","useEffect","_jsx","_jsxs","__esmMin","init_ssg_sandbox_shims","te","init_npm_react_18_3_1","_e","de","init_jsx_runtime","ne","p","ce","window","init_framer_ChujFWHC","useIsStaticRenderer","ControlType","addPropertyControls","BeforeAfterImage","props","beforeImage","afterImage","orientation","initialPosition","interactionMode","dividerColor","dividerWidth","dividerShadow","dividerShadowColor","dividerShadowBlur","showHandle","handleColor","handleSize","handleShape","handleIcon","handleIconColor","showLabels","beforeLabel","afterLabel","labelFont","labelColor","labelBackgroundColor","labelPadding","labelBorderRadius","beforeLabelPosition","afterLabelPosition","enableKeyboard","enableHover","hoverOpacity","transitionDuration","borderRadius","customHandleIcon","isHorizontal","containerRef","position","setPosition","isDragging","setIsDragging","isHovering","setIsHovering","touchStartPos","isStatic","updatePositionFromEvent","rect","clientX","clientY","x","newPosition","y","handleClick","handleDoubleClick","handleMouseDown","handleMouseMove","handleMouseUp","handleTouchStart","touch","handleTouchMove","deltaX","deltaY","handleTouchEnd","handleKeyDown","step","handleGlobalMouseMove","handleGlobalMouseUp","handleGlobalTouchMove","handleGlobalTouchEnd","renderIcon","iconSize","dividerShadowStyle","handleOpacity","getLabelPositionStyles","baseStyles","init_BeforeAfterImage"],"sources":["https:/framerusercontent.com/modules/5zvKKhtF5qOMVmrpU4R0/DvlRngRvcfRsURT5ETTG/BeforeAfterImage.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useCallback,useEffect,useRef,useState,startTransition}from\"react\";/**\n * Before After Image Comparison\n *\n * A fully customizable component for comparing two images with a draggable divider.\n * Supports horizontal/vertical orientation, custom handles, labels, and keyboard navigation.\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function BeforeAfterImage(props){const{beforeImage={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Before image\"},afterImage={src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"After image\"},orientation=\"horizontal\",initialPosition=50,interactionMode=\"drag\",dividerColor=\"#FFFFFF\",dividerWidth=3,dividerShadow=true,dividerShadowColor=\"#000000\",dividerShadowBlur=8,showHandle=true,handleColor=\"#FFFFFF\",handleSize=48,handleShape=\"circle\",handleIcon=\"arrows\",handleIconColor=\"#000000\",showLabels=true,beforeLabel=\"Before\",afterLabel=\"After\",labelFont,labelColor=\"#FFFFFF\",labelBackgroundColor=\"#000000\",labelPadding=8,labelBorderRadius=4,beforeLabelPosition=\"top-left\",afterLabelPosition=\"top-right\",enableKeyboard=true,enableHover=true,hoverOpacity=.8,transitionDuration=.2,borderRadius=0,customHandleIcon}=props;const isHorizontal=orientation===\"horizontal\";const containerRef=useRef(null);const[position,setPosition]=useState(initialPosition);const[isDragging,setIsDragging]=useState(false);const[isHovering,setIsHovering]=useState(false);const touchStartPos=useRef(null);const isStatic=useIsStaticRenderer();const updatePositionFromEvent=useCallback(e=>{if(!containerRef.current)return;const rect=containerRef.current.getBoundingClientRect();// Handle both mouse and touch events\nconst clientX=\"touches\"in e?e.touches[0]?.clientX:e.clientX;const clientY=\"touches\"in e?e.touches[0]?.clientY:e.clientY;if(isHorizontal){const x=clientX-rect.left;const newPosition=Math.max(0,Math.min(100,x/rect.width*100));startTransition(()=>setPosition(newPosition));}else{const y=clientY-rect.top;const newPosition=Math.max(0,Math.min(100,y/rect.height*100));startTransition(()=>setPosition(newPosition));}},[isHorizontal]);const handleClick=useCallback(e=>{if(!isDragging){updatePositionFromEvent(e);}},[isDragging,updatePositionFromEvent]);const handleDoubleClick=()=>{startTransition(()=>setPosition(initialPosition));};const handleMouseDown=e=>{e.preventDefault();startTransition(()=>setIsDragging(true));};const handleMouseMove=useCallback(e=>{if(!isDragging||!containerRef.current)return;updatePositionFromEvent(e);},[isDragging,updatePositionFromEvent]);const handleMouseUp=useCallback(()=>{startTransition(()=>setIsDragging(false));},[]);const handleTouchStart=e=>{const touch=e.touches[0];touchStartPos.current={x:touch.clientX,y:touch.clientY};startTransition(()=>setIsDragging(true));};const handleTouchMove=useCallback(e=>{if(!isDragging||!containerRef.current||!touchStartPos.current)return;const touch=e.touches[0];const deltaX=Math.abs(touch.clientX-touchStartPos.current.x);const deltaY=Math.abs(touch.clientY-touchStartPos.current.y);// For horizontal slider, prevent default only if moving more horizontally than vertically\n// For vertical slider, prevent default only if moving more vertically than horizontally\nif(isHorizontal&&deltaX>deltaY){e.preventDefault();}else if(!isHorizontal&&deltaY>deltaX){e.preventDefault();}// Only update position if we're moving in the slider's direction\nif(isHorizontal&&deltaX>deltaY||!isHorizontal&&deltaY>deltaX){updatePositionFromEvent(e);}},[isDragging,updatePositionFromEvent,isHorizontal]);const handleTouchEnd=useCallback(()=>{touchStartPos.current=null;startTransition(()=>setIsDragging(false));},[]);const handleKeyDown=useCallback(e=>{if(!enableKeyboard)return;const step=e.shiftKey?10:1;let newPosition=position;if(isHorizontal){if(e.key===\"ArrowLeft\"){newPosition=Math.max(0,position-step);}else if(e.key===\"ArrowRight\"){newPosition=Math.min(100,position+step);}}else{if(e.key===\"ArrowUp\"){newPosition=Math.max(0,position-step);}else if(e.key===\"ArrowDown\"){newPosition=Math.min(100,position+step);}}if(e.key===\"Home\"){newPosition=0;}else if(e.key===\"End\"){newPosition=100;}if(newPosition!==position){e.preventDefault();startTransition(()=>setPosition(newPosition));}},[position,isHorizontal,enableKeyboard]);useEffect(()=>{if(isStatic)return;const handleGlobalMouseMove=e=>handleMouseMove(e);const handleGlobalMouseUp=()=>handleMouseUp();const handleGlobalTouchMove=e=>handleTouchMove(e);const handleGlobalTouchEnd=()=>handleTouchEnd();if(isDragging){window.addEventListener(\"mousemove\",handleGlobalMouseMove);window.addEventListener(\"mouseup\",handleGlobalMouseUp);window.addEventListener(\"touchmove\",handleGlobalTouchMove,{passive:false});window.addEventListener(\"touchend\",handleGlobalTouchEnd);}return()=>{window.removeEventListener(\"mousemove\",handleGlobalMouseMove);window.removeEventListener(\"mouseup\",handleGlobalMouseUp);window.removeEventListener(\"touchmove\",handleGlobalTouchMove);window.removeEventListener(\"touchend\",handleGlobalTouchEnd);};},[isDragging,handleMouseMove,handleMouseUp,handleTouchMove,handleTouchEnd,isStatic]);const renderIcon=()=>{if(handleIcon===\"none\")return null;const iconSize=handleSize*.5;// Custom icon image\nif(customHandleIcon&&customHandleIcon.src){return /*#__PURE__*/_jsx(\"img\",{src:customHandleIcon.src,srcSet:customHandleIcon.srcSet,alt:customHandleIcon.alt||\"Handle icon\",style:{width:iconSize,height:iconSize,objectFit:\"contain\"}});}if(handleIcon===\"arrows\"){return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize,height:iconSize,strokeWidth:\"2.5\",stroke:handleIconColor,fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M13 5l6 6m-6 6l6-6m-6 0l-6 6m6-6l-6-6\"})});}if(handleIcon===\"chevrons\"){return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize,height:iconSize,strokeWidth:\"2.5\",stroke:handleIconColor,fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M11 17l-5-5 5-5M18 17l-5-5 5-5\"})});}return null;};const dividerShadowStyle=dividerShadow?`0 0 ${dividerShadowBlur}px ${dividerShadowColor}`:\"none\";const handleOpacity=enableHover&&isHovering?hoverOpacity:1;const getLabelPositionStyles=position=>{const baseStyles={position:\"absolute\"};switch(position){case\"top-left\":return{...baseStyles,top:16,left:16};case\"top-right\":return{...baseStyles,top:16,right:16};case\"bottom-left\":return{...baseStyles,bottom:16,left:16};case\"bottom-right\":return{...baseStyles,bottom:16,right:16};default:return{...baseStyles,top:16,left:16};}};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",cursor:isDragging?isHorizontal?\"ew-resize\":\"ns-resize\":\"pointer\",userSelect:\"none\",borderRadius:`${borderRadius}px`},onClick:isStatic?undefined:handleClick,onMouseMove:isStatic?undefined:e=>{if(interactionMode===\"hover\"){updatePositionFromEvent(e);}},onMouseDown:isStatic?undefined:handleMouseDown,onMouseUp:isStatic?undefined:handleMouseUp,onTouchStart:isStatic?undefined:handleTouchStart,onMouseEnter:()=>startTransition(()=>setIsHovering(true)),onMouseLeave:()=>startTransition(()=>setIsHovering(false)),onDoubleClick:handleDoubleClick,onKeyDown:enableKeyboard?handleKeyDown:undefined,tabIndex:enableKeyboard?0:undefined,role:\"slider\",\"aria-valuenow\":position,\"aria-valuemin\":0,\"aria-valuemax\":100,\"aria-orientation\":orientation,\"aria-label\":\"Image comparison slider\",children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(\"img\",{src:afterImage.src,srcSet:afterImage.srcSet,alt:afterImage.alt||\"After image\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}),showLabels&&/*#__PURE__*/_jsx(\"div\",{style:{...getLabelPositionStyles(afterLabelPosition),backgroundColor:labelBackgroundColor,color:labelColor,padding:`${labelPadding}px ${labelPadding*1.5}px`,borderRadius:labelBorderRadius,...labelFont,pointerEvents:\"none\"},children:afterLabel})]}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",clipPath:isHorizontal?`inset(0 ${100-position}% 0 0)`:`inset(0 0 ${100-position}% 0)`,transition:isDragging?\"none\":`clip-path ${transitionDuration}s ease-out`},children:[/*#__PURE__*/_jsx(\"img\",{src:beforeImage.src,srcSet:beforeImage.srcSet,alt:beforeImage.alt||\"Before image\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}),showLabels&&/*#__PURE__*/_jsx(\"div\",{style:{...getLabelPositionStyles(beforeLabelPosition),backgroundColor:labelBackgroundColor,color:labelColor,padding:`${labelPadding}px ${labelPadding*1.5}px`,borderRadius:labelBorderRadius,...labelFont,pointerEvents:\"none\"},children:beforeLabel})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:isHorizontal?0:`${position}%`,left:isHorizontal?`${position}%`:0,width:isHorizontal?`${dividerWidth}px`:\"100%\",height:isHorizontal?\"100%\":`${dividerWidth}px`,backgroundColor:dividerColor,boxShadow:dividerShadowStyle,transform:isHorizontal?`translateX(-${dividerWidth/2}px)`:`translateY(-${dividerWidth/2}px)`,cursor:isHorizontal?\"ew-resize\":\"ns-resize\",zIndex:2,transition:isDragging?\"none\":`all ${transitionDuration}s ease-out`},onMouseDown:isStatic?undefined:handleMouseDown,onTouchStart:isStatic?undefined:handleTouchStart}),showHandle&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:isHorizontal?`calc(50% - ${handleSize/2}px)`:`${position}%`,left:isHorizontal?`${position}%`:`calc(50% - ${handleSize/2}px)`,width:`${handleSize}px`,height:`${handleSize}px`,borderRadius:handleShape===\"circle\"?\"50%\":`${labelBorderRadius}px`,backgroundColor:handleColor,border:`2px solid ${handleColor}`,boxShadow:dividerShadowStyle,transform:isHorizontal?`translateX(-${handleSize/2}px)`:`translateY(-${handleSize/2}px)`,cursor:isHorizontal?\"ew-resize\":\"ns-resize\",zIndex:3,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",opacity:handleOpacity,transition:isDragging?`opacity ${transitionDuration}s ease-out`:`all ${transitionDuration}s ease-out`},onMouseDown:isStatic?undefined:handleMouseDown,onTouchStart:isStatic?undefined:handleTouchStart,children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:\"100%\",transform:isHorizontal?\"rotate(90deg)\":\"rotate(0deg)\"},children:renderIcon()})})]});}addPropertyControls(BeforeAfterImage,{beforeImage:{type:ControlType.ResponsiveImage,title:\"Before Image\"},afterImage:{type:ControlType.ResponsiveImage,title:\"After Image\"},borderRadius:{type:ControlType.Number,title:\"Corner Radius\",defaultValue:0,min:0,max:50,step:1,unit:\"px\"},orientation:{type:ControlType.Enum,title:\"Orientation\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],defaultValue:\"horizontal\",displaySegmentedControl:true},initialPosition:{type:ControlType.Number,title:\"Initial Position\",defaultValue:50,min:0,max:100,step:1,unit:\"%\"},interactionMode:{type:ControlType.Enum,title:\"Interaction Mode\",options:[\"hover\",\"drag\"],optionTitles:[\"Hover\",\"Click & Drag\"],defaultValue:\"drag\",displaySegmentedControl:true},dividerColor:{type:ControlType.Color,title:\"Divider Color\",defaultValue:\"#FFFFFF\"},dividerWidth:{type:ControlType.Number,title:\"Divider Width\",defaultValue:3,min:1,max:20,step:1,unit:\"px\"},dividerShadow:{type:ControlType.Boolean,title:\"Divider Shadow\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},dividerShadowColor:{type:ControlType.Color,title:\"Shadow Color\",defaultValue:\"#000000\",hidden:({dividerShadow})=>!dividerShadow},dividerShadowBlur:{type:ControlType.Number,title:\"Shadow Blur\",defaultValue:8,min:0,max:30,step:1,unit:\"px\",hidden:({dividerShadow})=>!dividerShadow},showHandle:{type:ControlType.Boolean,title:\"Show Handle\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},handleColor:{type:ControlType.Color,title:\"Handle Color\",defaultValue:\"#FFFFFF\",hidden:({showHandle})=>!showHandle},handleSize:{type:ControlType.Number,title:\"Handle Size\",defaultValue:48,min:24,max:100,step:2,unit:\"px\",hidden:({showHandle})=>!showHandle},handleShape:{type:ControlType.Enum,title:\"Handle Shape\",options:[\"circle\",\"square\"],optionTitles:[\"Circle\",\"Square\"],defaultValue:\"circle\",displaySegmentedControl:true,hidden:({showHandle})=>!showHandle},handleIcon:{type:ControlType.Enum,title:\"Handle Icon\",options:[\"arrows\",\"chevrons\",\"none\"],optionTitles:[\"Arrows\",\"Chevrons\",\"None\"],defaultValue:\"arrows\",hidden:({showHandle})=>!showHandle},customHandleIcon:{type:ControlType.ResponsiveImage,title:\"Custom Icon\",hidden:({showHandle})=>!showHandle},handleIconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#000000\",hidden:({showHandle,handleIcon,customHandleIcon})=>!showHandle||handleIcon===\"none\"||!!(customHandleIcon&&customHandleIcon.src)},showLabels:{type:ControlType.Boolean,title:\"Show Labels\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},beforeLabel:{type:ControlType.String,title:\"Before Label\",defaultValue:\"Before\",hidden:({showLabels})=>!showLabels},beforeLabelPosition:{type:ControlType.Enum,title:\"Before Position\",options:[\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"],optionTitles:[\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"top-left\",hidden:({showLabels})=>!showLabels},afterLabel:{type:ControlType.String,title:\"After Label\",defaultValue:\"After\",hidden:({showLabels})=>!showLabels},afterLabelPosition:{type:ControlType.Enum,title:\"After Position\",options:[\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"],optionTitles:[\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"top-right\",hidden:({showLabels})=>!showLabels},labelFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},hidden:({showLabels})=>!showLabels},labelColor:{type:ControlType.Color,title:\"Label Text\",defaultValue:\"#FFFFFF\",hidden:({showLabels})=>!showLabels},labelBackgroundColor:{type:ControlType.Color,title:\"Label Background\",defaultValue:\"#000000\",hidden:({showLabels})=>!showLabels},labelPadding:{type:ControlType.Number,title:\"Label Padding\",defaultValue:8,min:4,max:20,step:1,unit:\"px\",hidden:({showLabels})=>!showLabels},labelBorderRadius:{type:ControlType.Number,title:\"Label Radius\",defaultValue:4,min:0,max:20,step:1,unit:\"px\",hidden:({showLabels})=>!showLabels},enableKeyboard:{type:ControlType.Boolean,title:\"Keyboard Nav\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},enableHover:{type:ControlType.Boolean,title:\"Hover Effect\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},hoverOpacity:{type:ControlType.Number,title:\"Hover Opacity\",defaultValue:.8,min:0,max:1,step:.1,hidden:({enableHover})=>!enableHover},transitionDuration:{type:ControlType.Number,title:\"Transition Speed\",defaultValue:.2,min:0,max:1,step:.05,unit:\"s\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BeforeAfterImage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"400\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BeforeAfterImage.map"],"mappings":"A,qOAWG,SAAwBsB,EAAiBC,EAAM,CAAC,GAAK,CAACC,cAAY,CAAC,IAAI,sEAAsE,IAAI,cAAc,EAAEC,aAAW,CAAC,IAAI,oEAAoE,IAAI,aAAa,EAAEC,cAAY,aAAaC,kBAAgB,GAAGC,kBAAgB,OAAOC,eAAa,UAAUC,eAAa,EAAEC,gBAAc,GAAKC,qBAAmB,UAAUC,oBAAkB,EAAEC,cAAW,GAAKC,cAAY,UAAUC,aAAW,GAAGC,eAAY,SAASC,aAAW,SAASC,kBAAgB,UAAUC,aAAW,GAAKC,cAAY,SAASC,cAAW,QAAQC,YAAUC,aAAW,UAAUC,uBAAqB,UAAUC,eAAa,EAAEC,oBAAkB,EAAEC,uBAAoB,WAAWC,sBAAmB,YAA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