{"version":3,"file":"ImageCompare.d2LBtkVW.mjs","names":["useRef","useState","useCallback","useMemo","startTransition","_Fragment","__esmMin","pe","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","navigator","window","te","_e","p","c","init_jsx_runtime","ce","de","ControlType","useIsStaticRenderer","addPropertyControls","init_framer_Bf4_tcb2","throttle","inThrottle","args","func","limit","ImageCompare","props","extractImageUrl","imgObj","after","afterImage","before","beforeImage","isHorizontal","orientation","containerRef","position","setPosition","initialPosition","isDragging","setIsDragging","isHovered","setIsHovered","isTouching","setIsTouching","lastTouchRef","velocityRef","isStatic","updatePositionFromEvent","rect","clientPos","rectSize","touch","now","deltaTime","deltaX","deltaY","sensitivity","touchSensitivity","newPosition","offset","throttledUpdatePosition","handleInteractionStart","isTouch","handleInteractionMove","handleInteractionEnd","momentum","currentPos","newPos","snapToCenter","handleKeyDown","handleGlobalMove","handleGlobalEnd","handleScale","hoverEffect","shadowStyle","showShadow","backgroundShadowStyle","showBackgroundShadow","backgroundShadowBlur","backgroundShadowSpread","backgroundShadowColor","getIconSVG","useCustomIcon","customIcon","handleSize","iconColor","getColorFilter","iconSize","rotation","iconType","color","hex","r","g","b","s","showBorder","borderWidth","borderColor","showLabels","labelPosition","labelFont","labelColor","beforeLabel","afterLabel","l","handleStyle","dividerWidth","dividerColor","handleColor","init_ImageCompare","sourceType"],"sources":["https:/framerusercontent.com/modules/8KwFdUnNKTcJf6bB19fb/U1sJ9qmFUyGlVYjAMdex/ImageCompare.js"],"sourcesContent":["// Before and After Image Comparison component with draggable slider\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useCallback,useEffect,useRef,useState,startTransition,useMemo}from\"react\";// Throttle function for performance\nfunction throttle(func,limit){let inThrottle;return function(...args){if(!inThrottle){func.apply(this,args);inThrottle=true;setTimeout(()=>inThrottle=false,limit);}};}/**\n * Before and After Image Comparison\n *\n * A component that allows users to compare two images by dragging a slider.\n * Supports both horizontal and vertical orientations with customizable styling.\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */function ImageCompare(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,showLabels=true,beforeLabel=\"Before\",afterLabel=\"After\",labelFont,labelColor=\"#FFFFFF\",labelPosition=\"overlay\",handleStyle=\"both\",handleColor=\"#FFFFFF\",handleSize=40,dividerColor=\"#FFFFFF\",dividerWidth=2,showShadow=true,borderRadius=12,hoverEffect=true,backgroundColor=\"#F5F5F5\",useCustomIcon=false,iconType=\"arrows\",customIcon=\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",iconColor=\"rgba(0, 0, 0, 0.7)\",touchSensitivity=1,snapToCenter=false,smoothTransitions=true,showBorder=false,borderColor=\"#E0E0E0\",borderWidth=1,showBackgroundShadow=false,backgroundShadowColor=\"rgba(0, 0, 0, 0.15)\",backgroundShadowBlur=24,backgroundShadowSpread=0}=props;// Helper to get image URL and alt text from prop object (object or legacy Image type)\nconst extractImageUrl=imgObj=>{if(imgObj&&typeof imgObj===\"object\"){// If sourceType is link and link is present => use link as image src\nif(imgObj.sourceType===\"link\"&&typeof imgObj.link===\"string\"&&imgObj.link.trim().length>0){return{url:imgObj.link.trim(),alt:imgObj.link||\"Image\"};}// If sourceType is upload and ResponsiveImage exists\nif(imgObj.sourceType===\"upload\"&&imgObj.image&&imgObj.image.src){return{url:imgObj.image.src,alt:imgObj.image.alt||\"Image\"};}// If only src available (legacy or fallback)\nif(imgObj.src){return{url:imgObj.src,alt:imgObj.alt||\"Image\"};}}return{url:\"\",alt:\"Image\"};};const after=extractImageUrl(afterImage);const before=extractImageUrl(beforeImage);const isHorizontal=orientation===\"horizontal\";const containerRef=useRef(null);const[position,setPosition]=useState(initialPosition);const[isDragging,setIsDragging]=useState(false);const[isHovered,setIsHovered]=useState(false);const[isTouching,setIsTouching]=useState(false);const lastTouchRef=useRef(null);const velocityRef=useRef({x:0,y:0});const isStatic=useIsStaticRenderer();const updatePositionFromEvent=useCallback(e=>{if(!containerRef.current)return;const rect=containerRef.current.getBoundingClientRect();let clientPos,rectSize;// Enhanced touch handling\nif(e.touches&&e.touches[0]){const touch=e.touches[0];clientPos=isHorizontal?touch.clientX:touch.clientY;// Track velocity for momentum\nconst now=Date.now();if(lastTouchRef.current){const deltaTime=now-lastTouchRef.current.time;if(deltaTime>0){const deltaX=touch.clientX-lastTouchRef.current.x;const deltaY=touch.clientY-lastTouchRef.current.y;velocityRef.current={x:deltaX/deltaTime,y:deltaY/deltaTime};}}lastTouchRef.current={x:touch.clientX,y:touch.clientY,time:now};}else{clientPos=isHorizontal?e.clientX:e.clientY;}if(isHorizontal){rectSize=rect.width;clientPos=clientPos-rect.left;}else{rectSize=rect.height;clientPos=clientPos-rect.top;}// Apply touch sensitivity multiplier\nconst sensitivity=e.touches?touchSensitivity:1;let newPosition=Math.max(0,Math.min(100,clientPos/rectSize*100));// Apply sensitivity adjustment for touch\nif(e.touches&&sensitivity!==1){const center=50;const offset=(newPosition-center)*sensitivity;newPosition=Math.max(0,Math.min(100,center+offset));}startTransition(()=>setPosition(newPosition));},[isHorizontal,touchSensitivity]);// Throttled version for better performance\nconst throttledUpdatePosition=useMemo(()=>throttle(updatePositionFromEvent,16),[updatePositionFromEvent]);const handleInteractionStart=useCallback(e=>{e.preventDefault();const isTouch=e.touches&&e.touches[0];startTransition(()=>{setIsDragging(true);if(isTouch)setIsTouching(true);});// Haptic feedback for mobile devices\nif(isTouch&&typeof window!==\"undefined\"&&\"vibrate\"in navigator){navigator.vibrate(10);}updatePositionFromEvent(e);},[updatePositionFromEvent]);const handleInteractionMove=useCallback(e=>{if(!isDragging)return;e.preventDefault();throttledUpdatePosition(e);},[isDragging,throttledUpdatePosition]);const handleInteractionEnd=useCallback(()=>{// Apply momentum for touch interactions\nif(isTouching&&velocityRef.current){const velocity=isHorizontal?velocityRef.current.x:velocityRef.current.y;const momentum=velocity*50// Adjust momentum factor\n;if(Math.abs(momentum)>1){const currentPos=position;const newPos=Math.max(0,Math.min(100,currentPos+momentum));if(newPos!==currentPos){startTransition(()=>setPosition(newPos));}}}// Snap to center if enabled\nif(snapToCenter&&Math.abs(position-50)<10){startTransition(()=>setPosition(50));}startTransition(()=>{setIsDragging(false);setIsTouching(false);});lastTouchRef.current=null;velocityRef.current={x:0,y:0};},[isTouching,isHorizontal,position,snapToCenter]);const handleKeyDown=useCallback(e=>{const step=5;let newPosition=position;if(isHorizontal){if(e.key===\"ArrowLeft\")newPosition=Math.max(0,position-step);if(e.key===\"ArrowRight\")newPosition=Math.min(100,position+step);}else{if(e.key===\"ArrowUp\")newPosition=Math.max(0,position-step);if(e.key===\"ArrowDown\")newPosition=Math.min(100,position+step);}// Reset to initial position on 'r' key or 'Home' key\nif(e.key===\"r\"||e.key===\"R\"||e.key===\"Home\"){newPosition=initialPosition;}// Snap to center on 'c' key\nif(e.key===\"c\"||e.key===\"C\"){newPosition=50;}if(newPosition!==position){e.preventDefault();startTransition(()=>setPosition(newPosition));}},[position,isHorizontal,initialPosition]);// Enhanced event listeners with better touch support\nuseEffect(()=>{if(isStatic)return;const handleGlobalMove=e=>handleInteractionMove(e);const handleGlobalEnd=()=>handleInteractionEnd();if(isDragging){window.addEventListener(\"mousemove\",handleGlobalMove);window.addEventListener(\"mouseup\",handleGlobalEnd);window.addEventListener(\"touchmove\",handleGlobalMove,{passive:false});window.addEventListener(\"touchend\",handleGlobalEnd,{passive:true});window.addEventListener(\"touchcancel\",handleGlobalEnd,{passive:true});}return()=>{window.removeEventListener(\"mousemove\",handleGlobalMove);window.removeEventListener(\"mouseup\",handleGlobalEnd);window.removeEventListener(\"touchmove\",handleGlobalMove);window.removeEventListener(\"touchend\",handleGlobalEnd);window.removeEventListener(\"touchcancel\",handleGlobalEnd);};},[isDragging,handleInteractionMove,handleInteractionEnd,isStatic]);const handleDoubleClick=useCallback(()=>{startTransition(()=>setPosition(initialPosition));},[initialPosition]);const handleScale=hoverEffect&&(isHovered||isDragging)?1.1:1;const shadowStyle=showShadow?\"0 8px 32px rgba(0, 0, 0, 0.12)\":\"none\";const backgroundShadowStyle=showBackgroundShadow?`0 0 ${backgroundShadowBlur}px ${backgroundShadowSpread}px ${backgroundShadowColor}`:\"none\";const getIconSVG=()=>{if(useCustomIcon){return /*#__PURE__*/_jsx(\"img\",{src:customIcon,alt:\"Custom handle icon\",style:{width:handleSize*.5,height:handleSize*.5,objectFit:\"contain\",filter:iconColor!==\"rgba(0, 0, 0, 0.7)\"?`brightness(0) saturate(100%) ${getColorFilter(iconColor)}`:\"none\"}});}const iconSize=handleSize*.4;const strokeWidth=\"2.5\";const rotation=isHorizontal?\"rotate(0deg)\":\"rotate(90deg)\";switch(iconType){case\"arrows\":return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:\"2px\",transform:rotation},children:[/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize*.7,height:iconSize*.7,strokeWidth:strokeWidth,stroke:iconColor,fill:\"none\",\"aria-label\":\"Left arrow\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 18l-6-6 6-6\"})}),/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize*.7,height:iconSize*.7,strokeWidth:strokeWidth,stroke:iconColor,fill:\"none\",\"aria-label\":\"Right arrow\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 18l6-6-6-6\"})})]});case\"chevrons\":return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize,height:iconSize,strokeWidth:strokeWidth,stroke:iconColor,fill:\"none\",style:{transform:rotation},\"aria-label\":\"Drag handle\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6 15l6 6 6-6\"})]});case\"drag\":return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize,height:iconSize,strokeWidth:strokeWidth,stroke:iconColor,fill:\"none\",style:{transform:rotation},\"aria-label\":\"Drag handle\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"12\",r:\"1\",fill:iconColor}),/*#__PURE__*/_jsx(\"circle\",{cx:\"15\",cy:\"12\",r:\"1\",fill:iconColor}),/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"8\",r:\"1\",fill:iconColor}),/*#__PURE__*/_jsx(\"circle\",{cx:\"15\",cy:\"8\",r:\"1\",fill:iconColor}),/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"16\",r:\"1\",fill:iconColor}),/*#__PURE__*/_jsx(\"circle\",{cx:\"15\",cy:\"16\",r:\"1\",fill:iconColor})]});case\"resize\":return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize,height:iconSize,strokeWidth:strokeWidth,stroke:iconColor,fill:\"none\",style:{transform:rotation},\"aria-label\":\"Drag handle\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3\"})});case\"move\":return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize,height:iconSize,strokeWidth:strokeWidth,stroke:iconColor,fill:\"none\",style:{transform:rotation},\"aria-label\":\"Drag handle\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 9l-3 3 3 3M9 5l3-3 3 3M15 19l-3 3-3-3M19 9l3 3-3 3M2 12h20M12 2v20\"})});default:return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:iconSize,height:iconSize,strokeWidth:strokeWidth,stroke:iconColor,fill:\"none\",style:{transform:rotation},\"aria-label\":\"Drag handle\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 11l5-5 5 5M7 13l5 5 5-5\"})});}};const getColorFilter=color=>{// Simple color filter approximation for SVG images\nif(color.includes(\"#\")){const hex=color.replace(\"#\",\"\");const r=parseInt(hex.substr(0,2),16);const g=parseInt(hex.substr(2,2),16);const b=parseInt(hex.substr(4,2),16);return`sepia(100%) saturate(1000%) hue-rotate(${Math.atan2(g-r,b-r)*180/Math.PI}deg)`;}return\"none\";};return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",backgroundColor,borderRadius,overflow:\"hidden\",boxShadow:[shadowStyle,backgroundShadowStyle].filter(s=>s!==\"none\").join(\", \")||\"none\",border:showBorder?`${borderWidth}px solid ${borderColor}`:\"none\",transition:\"box-shadow 0.3s ease\"},children:[showLabels&&labelPosition!==\"overlay\"&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:labelPosition===\"top\"?\"12px\":\"auto\",bottom:labelPosition===\"bottom\"?\"12px\":\"auto\",left:\"12px\",right:\"12px\",display:\"flex\",justifyContent:\"space-between\",zIndex:4,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...labelFont,color:labelColor,backgroundColor:\"rgba(0, 0, 0, 0.6)\",padding:\"4px 8px\",borderRadius:\"4px\",fontSize:\"12px\"},children:beforeLabel}),/*#__PURE__*/_jsx(\"span\",{style:{...labelFont,color:labelColor,backgroundColor:\"rgba(0, 0, 0, 0.6)\",padding:\"4px 8px\",borderRadius:\"4px\",fontSize:\"12px\"},children:afterLabel})]}),/*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",cursor:isDragging?isHorizontal?\"ew-resize\":\"ns-resize\":\"pointer\",userSelect:\"none\",touchAction:\"none\"},onMouseDown:isStatic?undefined:handleInteractionStart,onTouchStart:isStatic?undefined:handleInteractionStart,onMouseEnter:()=>startTransition(()=>setIsHovered(true)),onMouseLeave:()=>startTransition(()=>setIsHovered(false)),onKeyDown:handleKeyDown,tabIndex:0,role:\"slider\",\"aria-valuenow\":position,\"aria-valuemin\":0,\"aria-valuemax\":100,\"aria-orientation\":orientation,\"aria-label\":\"Image comparison slider\",children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundImage:`url(${after.url})`,backgroundSize:\"cover\",backgroundPosition:\"center\"},\"aria-label\":after.alt,role:\"img\"}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundImage:`url(${before.url})`,backgroundSize:\"cover\",backgroundPosition:\"center\",clipPath:isHorizontal?`inset(0 ${100-position}% 0 0)`:`inset(0 0 ${100-position}% 0)`,transition:isDragging?\"none\":\"clip-path 0.1s ease\"},\"aria-label\":before.alt,role:\"img\"}),showLabels&&labelPosition===\"overlay\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"16px\",left:\"16px\",...labelFont,color:labelColor,backgroundColor:\"rgba(0, 0, 0, 0.6)\",padding:\"6px 12px\",borderRadius:\"6px\",fontSize:\"14px\",pointerEvents:\"none\",zIndex:3},children:beforeLabel}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"16px\",right:\"16px\",...labelFont,color:labelColor,backgroundColor:\"rgba(0, 0, 0, 0.6)\",padding:\"6px 12px\",borderRadius:\"6px\",fontSize:\"14px\",pointerEvents:\"none\",zIndex:3},children:afterLabel})]}),(handleStyle===\"line\"||handleStyle===\"both\")&&/*#__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:\"0 0 8px rgba(0, 0, 0, 0.3)\",transform:isHorizontal?`translateX(-${dividerWidth/2}px)`:`translateY(-${dividerWidth/2}px)`,zIndex:2,transition:isDragging?\"none\":\"all 0.2s ease\"}}),(handleStyle===\"circle\"||handleStyle===\"both\")&&/*#__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:\"50%\",backgroundColor:handleColor,border:`3px solid ${handleColor}`,boxShadow:`\n\t\t\t\t\t\t\t\t0 4px 12px rgba(0, 0, 0, 0.25),\n\t\t\t\t\t\t\t\t0 0 0 4px rgba(255, 255, 255, 0.1),\n\t\t\t\t\t\t\t\t0 0 20px rgba(255, 255, 255, 0.3)${isHovered||isDragging?`, \n\t\t\t\t\t\t\t\t0 0 30px ${handleColor}60, \n\t\t\t\t\t\t\t\t0 0 50px ${handleColor}40,\n\t\t\t\t\t\t\t\t0 0 70px ${handleColor}20`:\"\"}\n\t\t\t\t\t\t\t`,transform:`translate(-50%, -50%) scale(${handleScale})`,cursor:isHorizontal?\"ew-resize\":\"ns-resize\",zIndex:3,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",transition:isDragging?\"none\":\"transform 0.2s ease, box-shadow 0.3s ease\"},children:getIconSVG()})]})]});}addPropertyControls(ImageCompare,{beforeImage:{type:ControlType.Object,title:\"Before Image\",controls:{sourceType:{type:ControlType.Enum,options:[\"upload\",\"link\"],optionTitles:[\"Upload\",\"Link\"],defaultValue:\"upload\"},image:{type:ControlType.ResponsiveImage,title:\"Image Upload\",hidden:({sourceType})=>sourceType!==\"upload\"},link:{type:ControlType.String,title:\"Image Link\",placeholder:\"Paste image link…\",hidden:({sourceType})=>sourceType!==\"link\"}},defaultValue:{sourceType:\"upload\",image:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Before image\"},link:\"\"}},afterImage:{type:ControlType.Object,title:\"After Image\",controls:{sourceType:{type:ControlType.Enum,options:[\"upload\",\"link\"],optionTitles:[\"Upload\",\"Link\"],defaultValue:\"upload\"},image:{type:ControlType.ResponsiveImage,title:\"Image Upload\",hidden:({sourceType})=>sourceType!==\"upload\"},link:{type:ControlType.String,title:\"Image Link\",placeholder:\"Paste image link…\",hidden:({sourceType})=>sourceType!==\"link\"}},defaultValue:{sourceType:\"upload\",image:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"After image\"},link:\"\"}},orientation:{type:ControlType.Enum,title:\"Orientation\",description:\"Choose whether the slider moves horizontally (left-right) or vertically (up-down)\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],defaultValue:\"horizontal\",displaySegmentedControl:true},initialPosition:{type:ControlType.Number,title:\"Initial Position\",description:\"Set the starting position of the slider (0% = fully before, 100% = fully after)\",defaultValue:50,min:0,max:100,step:1,unit:\"%\"},showLabels:{type:ControlType.Boolean,title:\"Show Labels\",description:\"Display 'Before' and 'After' text labels on the component\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},beforeLabel:{type:ControlType.String,title:\"Before Label\",description:\"Customize the text for the 'before' label\",defaultValue:\"Before\",hidden:({showLabels})=>!showLabels},afterLabel:{type:ControlType.String,title:\"After Label\",description:\"Customize the text for the 'after' label\",defaultValue:\"After\",hidden:({showLabels})=>!showLabels},labelPosition:{type:ControlType.Enum,title:\"Label Position\",description:\"Choose where to position the before/after labels\",options:[\"top\",\"bottom\",\"overlay\"],optionTitles:[\"Top\",\"Bottom\",\"Overlay\"],defaultValue:\"overlay\",displaySegmentedControl:true,hidden:({showLabels})=>!showLabels},labelFont:{type:ControlType.Font,title:\"Label Font\",description:\"Customize the typography for the before/after labels\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({showLabels})=>!showLabels},labelColor:{type:ControlType.Color,title:\"Label Color\",description:\"Set the text color for the before/after labels\",defaultValue:\"#FFFFFF\",hidden:({showLabels})=>!showLabels},handleStyle:{type:ControlType.Enum,title:\"Handle Style\",description:\"Choose the visual style of the draggable handle\",options:[\"circle\",\"line\",\"both\"],optionTitles:[\"Circle\",\"Line\",\"Both\"],defaultValue:\"both\",displaySegmentedControl:true},handleColor:{type:ControlType.Color,title:\"Handle Color\",description:\"Set the color of the draggable handle and divider line\",defaultValue:\"#FFFFFF\"},handleSize:{type:ControlType.Number,title:\"Handle Size\",description:\"Adjust the size of the circular handle (when visible)\",defaultValue:40,min:20,max:80,step:2,unit:\"px\",hidden:({handleStyle})=>handleStyle===\"line\"},useCustomIcon:{type:ControlType.Boolean,title:\"Icon Type\",description:\"Choose between preset icons or upload a custom icon for the handle\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Library\",hidden:({handleStyle})=>handleStyle===\"line\"},iconType:{type:ControlType.Enum,title:\"Icon Style\",description:\"Select from a library of preset icons for the handle\",options:[\"arrows\",\"chevrons\",\"drag\",\"resize\",\"move\"],optionTitles:[\"Arrows\",\"Chevrons\",\"Drag Dots\",\"Resize\",\"Move\"],defaultValue:\"arrows\",hidden:({handleStyle,useCustomIcon})=>handleStyle===\"line\"||useCustomIcon},customIcon:{type:ControlType.File,title:\"Custom Icon\",description:\"Upload your own SVG or image file to use as the handle icon\",allowedFileTypes:[\"svg\",\"png\",\"jpg\",\"jpeg\",\"gif\",\"webp\"],hidden:({handleStyle,useCustomIcon})=>handleStyle===\"line\"||!useCustomIcon},iconColor:{type:ControlType.Color,title:\"Icon Color\",description:\"Set the color of the icon inside the handle\",defaultValue:\"rgba(0, 0, 0, 0.7)\",hidden:({handleStyle})=>handleStyle===\"line\"},dividerColor:{type:ControlType.Color,title:\"Divider Color\",description:\"Set the color of the dividing line between the two images\",defaultValue:\"#FFFFFF\",hidden:({handleStyle})=>handleStyle===\"circle\"},dividerWidth:{type:ControlType.Number,title:\"Divider Width\",description:\"Adjust the thickness of the dividing line\",defaultValue:2,min:1,max:8,step:1,unit:\"px\",hidden:({handleStyle})=>handleStyle===\"circle\"},hoverEffect:{type:ControlType.Boolean,title:\"Hover Effect\",description:\"Enable scaling and glow effects when hovering over the handle\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},showShadow:{type:ControlType.Boolean,title:\"Shadow\",description:\"Add a subtle drop shadow to the entire component\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showBorder:{type:ControlType.Boolean,title:\"Border\",description:\"Add a border around the entire component\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},borderColor:{type:ControlType.Color,title:\"Border Color\",description:\"Set the color of the component border\",defaultValue:\"#E0E0E0\",hidden:({showBorder})=>!showBorder},borderWidth:{type:ControlType.Number,title:\"Border Width\",description:\"Adjust the thickness of the component border\",defaultValue:1,min:1,max:8,step:1,unit:\"px\",hidden:({showBorder})=>!showBorder},borderRadius:{type:ControlType.Number,title:\"Border Radius\",description:\"Set the roundness of the component corners\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"},backgroundColor:{type:ControlType.Color,title:\"Background\",description:\"Set the background color visible behind the images\",defaultValue:\"#F5F5F5\"},showBackgroundShadow:{type:ControlType.Boolean,title:\"Background Shadow\",description:\"Add a shadow effect around the entire component background\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},backgroundShadowColor:{type:ControlType.Color,title:\"Shadow Color\",description:\"Set the color of the background shadow\",defaultValue:\"rgba(0, 0, 0, 0.15)\",hidden:({showBackgroundShadow})=>!showBackgroundShadow},backgroundShadowBlur:{type:ControlType.Number,title:\"Shadow Blur\",description:\"Adjust the blur radius of the background shadow\",defaultValue:24,min:0,max:50,step:1,unit:\"px\",hidden:({showBackgroundShadow})=>!showBackgroundShadow},backgroundShadowSpread:{type:ControlType.Number,title:\"Shadow Spread\",description:\"Control how much the background shadow spreads outward\",defaultValue:0,min:-20,max:20,step:1,unit:\"px\",hidden:({showBackgroundShadow})=>!showBackgroundShadow}});export default ImageCompare;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageCompare\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageCompare.map"],"mappings":"A,mPAEA,SAASwB,EAAS,EAAK,EAAM,CAAC,IAAIC,EAAW,OAAO,SAAS,GAAGC,EAAK,CAAKD,IAAYE,EAAK,MAAM,KAAKD,CAAI,EAAE,EAAW,GAAK,eAAe,EAAW,GAAME,CAAK,EAAG,CAAE,CAWnK,SAASC,EAAa,EAAM,CAAC,GAAK,CAAC,cAAY,CAAC,IAAI,sEAAsE,IAAI,cAAc,EAAE,aAAW,CAAC,IAAI,oEAAoE,IAAI,aAAa,EAAE,cAAY,aAAa,kBAAgB,GAAG,aAAW,GAAK,cAAY,SAAS,aAAW,QAAQ,YAAU,aAAW,UAAU,gBAAc,UAAU,cAAY,OAAO,cAAY,UAAU,aAAW,GAAG,eAAa,UAAU,eAAa,EAAE,cAAW,GAAK,gBAAa,GAAG,eAAY,GAAK,mBAAgB,UAAU,iBAAc,GAAM,YAAS,SAAS,aAAW,sEAAsE,YAAU,qBAAqB,mBAAiB,EAAE,eAAa,GAAM,qBAAkB,GAAK,cAAW,GAAM,eAAY,UAAU,eAAY,EAAE,wBAAqB,GAAM,yBAAsB,sBAAsB,wBAAqB,GAAG,0BAAuB,GAAGC,EACt7BC,EAAgB,GAAQ,CAAC,GAAGC,GAAQ,OAAOA,GAAS,SAAS,CACnE,GAAGA,EAAO,aAA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