{"version":3,"file":"ImageReveal._UnW2w_D.mjs","names":["useRef","useState","useCallback"],"sources":["https:/framerusercontent.com/modules/TTkXqTpVyqmvu9bKxaQp/Ks2dMbZfqMqYMAbPbUH8/ImageReveal.js"],"sourcesContent":["// Image reveal component with cursor-based masking effects\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * Image Reveal Component\n * \n * Superimposes two images and reveals the bottom image through cursor-based masking effects.\n * \n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 300\n * \n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageReveal(props){const{topImage={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Top image\"},bottomImage={src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Bottom image\"},revealOrder=\"normal\",maskType=\"circle\",maskSize=100,customMaskImage={src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Custom mask\"},maskMode=\"alpha\",cursorSpeed=1,showCursorOutline=false,cursorOutlineColor=\"#FFFFFF\",cursorOutlineWidth=2,cursorIconType=\"default\",customCursorIcon=\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",cursorIconSize=32}=props;const containerRef=useRef(null);const canvasRef=useRef(null);const[mousePosition,setMousePosition]=useState({x:50,y:50});const[targetPosition,setTargetPosition]=useState({x:50,y:50});const[isHovering,setIsHovering]=useState(false);const[isTouching,setIsTouching]=useState(false);const[containerDimensions,setContainerDimensions]=useState({width:0,height:0});const[maskImageDimensions,setMaskImageDimensions]=useState({width:0,height:0});const isStatic=useIsStaticRenderer();const animationFrameRef=useRef();const maskImageRef=useRef(null);// Load mask image dimensions to maintain aspect ratio\nuseEffect(()=>{if(maskType!==\"custom\"||!customMaskImage.src)return;const img=new Image;img.crossOrigin=\"anonymous\";img.onload=()=>{setMaskImageDimensions({width:img.naturalWidth,height:img.naturalHeight});maskImageRef.current=img;};img.src=customMaskImage.src;},[maskType,customMaskImage.src]);// Update container dimensions when needed\nuseEffect(()=>{if(!containerRef.current||isStatic)return;const updateDimensions=()=>{if(containerRef.current){const rect=containerRef.current.getBoundingClientRect();setContainerDimensions({width:rect.width,height:rect.height});// Update canvas dimensions with device pixel ratio for crisp rendering\nif(canvasRef.current){const dpr=typeof window!==\"undefined\"?window.devicePixelRatio||1:1;canvasRef.current.width=rect.width*dpr;canvasRef.current.height=rect.height*dpr;const ctx=canvasRef.current.getContext(\"2d\");if(ctx){ctx.scale(dpr,dpr);// Enable image smoothing for better quality\nctx.imageSmoothingEnabled=true;ctx.imageSmoothingQuality=\"high\";}}}};updateDimensions();if(typeof window!==\"undefined\"){window.addEventListener(\"resize\",updateDimensions);return()=>window.removeEventListener(\"resize\",updateDimensions);}},[isStatic]);// Draw on canvas to track revealed areas\nuseEffect(()=>{if(!canvasRef.current||isStatic||!isHovering&&!isTouching)return;const canvas=canvasRef.current;const ctx=canvas.getContext(\"2d\");if(!ctx)return;const dpr=typeof window!==\"undefined\"?window.devicePixelRatio||1:1;const x=mousePosition.x/100*(canvas.width/dpr);const y=mousePosition.y/100*(canvas.height/dpr);// Ensure image smoothing is enabled\nctx.imageSmoothingEnabled=true;ctx.imageSmoothingQuality=\"high\";ctx.fillStyle=\"white\";ctx.globalCompositeOperation=\"source-over\";if(maskType===\"circle\"){ctx.beginPath();// Increase the radius slightly to ensure edge coverage\nconst radius=maskSize/2*1.1;ctx.arc(x,y,radius,0,Math.PI*2);ctx.fill();}else if(maskType===\"custom\"&&maskImageRef.current&&maskImageDimensions.width>0){// Draw the custom mask image onto the canvas\nconst aspectRatio=maskImageDimensions.width/maskImageDimensions.height;let maskWidth=maskSize*1.1;let maskHeight=maskSize/aspectRatio*1.1;if(maskHeight>maskSize*1.1){maskHeight=maskSize*1.1;maskWidth=maskSize*aspectRatio*1.1;}// Use the mask mode to determine how to draw\nif(maskMode===\"alpha\"){// Draw the image directly - its alpha channel will be used\nctx.drawImage(maskImageRef.current,x-maskWidth/2,y-maskHeight/2,maskWidth,maskHeight);}else{// Luminous mode - convert to grayscale and use as mask\nconst tempCanvas=document.createElement(\"canvas\");const tempDpr=typeof window!==\"undefined\"?window.devicePixelRatio||1:1;tempCanvas.width=maskWidth*tempDpr;tempCanvas.height=maskHeight*tempDpr;const tempCtx=tempCanvas.getContext(\"2d\");if(tempCtx){tempCtx.scale(tempDpr,tempDpr);tempCtx.imageSmoothingEnabled=true;tempCtx.imageSmoothingQuality=\"high\";tempCtx.drawImage(maskImageRef.current,0,0,maskWidth,maskHeight);const imageData=tempCtx.getImageData(0,0,maskWidth*tempDpr,maskHeight*tempDpr);const data=imageData.data;// Convert to grayscale\nfor(let i=0;i<data.length;i+=4){const gray=data[i]*.299+data[i+1]*.587+data[i+2]*.114;data[i]=data[i+1]=data[i+2]=255;data[i+3]=gray// Use luminosity as alpha\n;}tempCtx.putImageData(imageData,0,0);ctx.drawImage(tempCanvas,x-maskWidth/2,y-maskHeight/2,maskWidth,maskHeight);}}}},[mousePosition,isHovering,isTouching,maskType,maskSize,customMaskImage.src,maskImageDimensions,isStatic,maskMode]);// Smooth follow animation\nuseEffect(()=>{if(isStatic||cursorSpeed>=1)return;const animate=()=>{setMousePosition(current=>{const dx=targetPosition.x-current.x;const dy=targetPosition.y-current.y;const distance=Math.sqrt(dx*dx+dy*dy);if(distance<.1){return targetPosition;}const speed=cursorSpeed*.1;return{x:current.x+dx*speed,y:current.y+dy*speed};});animationFrameRef.current=requestAnimationFrame(animate);};animationFrameRef.current=requestAnimationFrame(animate);return()=>{if(animationFrameRef.current){cancelAnimationFrame(animationFrameRef.current);}};},[targetPosition,cursorSpeed,isStatic]);const updatePosition=useCallback((clientX,clientY)=>{if(!containerRef.current||isStatic)return;const rect=containerRef.current.getBoundingClientRect();const x=(clientX-rect.left)/rect.width*100;const y=(clientY-rect.top)/rect.height*100;if(cursorSpeed>=1){setMousePosition({x,y});}else{setTargetPosition({x,y});}},[isStatic,cursorSpeed]);const handleMouseMove=useCallback(e=>{updatePosition(e.clientX,e.clientY);},[updatePosition]);const handleMouseEnter=useCallback(()=>{if(!isStatic){setIsHovering(true);}},[isStatic]);const handleMouseLeave=useCallback(()=>{if(!isStatic){setIsHovering(false);}},[isStatic]);const handleTouchStart=useCallback(e=>{if(!isStatic){e.preventDefault();setIsTouching(true);const touch=e.touches[0];updatePosition(touch.clientX,touch.clientY);}},[isStatic,updatePosition]);const handleTouchMove=useCallback(e=>{if(!isStatic&&isTouching){e.preventDefault();const touch=e.touches[0];updatePosition(touch.clientX,touch.clientY);}},[isStatic,isTouching,updatePosition]);const handleTouchEnd=useCallback(e=>{if(!isStatic){e.preventDefault();setIsTouching(false);}},[isStatic]);const getMaskPath=useCallback(()=>{const{x,y}=mousePosition;const size=maskSize/2;switch(maskType){case\"circle\":return`circle(${size}px at ${x}% ${y}%)`;case\"custom\":// For custom mask, we'll use a different approach with mask-image\nreturn`circle(${size}px at ${x}% ${y}%)`;default:return`circle(${size}px at ${x}% ${y}%)`;}},[mousePosition,maskType,maskSize]);const displayImage=revealOrder===\"inverted\"?bottomImage:topImage;const revealImage=revealOrder===\"inverted\"?topImage:bottomImage;const shouldShowMask=(isHovering||isTouching)&&!isStatic;// Convert canvas to data URL for use as mask\nconst[canvasMaskUrl,setCanvasMaskUrl]=useState(\"\");useEffect(()=>{if(!canvasRef.current||isStatic)return;const updateMask=()=>{if(canvasRef.current){const url=canvasRef.current.toDataURL();setCanvasMaskUrl(url);}};// Update mask continuously\nconst interval=setInterval(updateMask,16)// ~60fps\n;return()=>clearInterval(interval);},[isStatic]);return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",cursor:isStatic?\"default\":\"none\",touchAction:\"none\",...props.style},onMouseMove:handleMouseMove,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,onTouchStart:handleTouchStart,onTouchMove:handleTouchMove,onTouchEnd:handleTouchEnd,children:[/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{position:\"absolute\",top:0,left:0,display:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundImage:`url(${displayImage.src})`,backgroundSize:\"cover\",backgroundPosition:\"center center\",backgroundRepeat:\"no-repeat\"},role:\"img\",\"aria-label\":displayImage.alt}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundImage:`url(${revealImage.src})`,backgroundSize:\"cover\",backgroundPosition:\"center center\",backgroundRepeat:\"no-repeat\",...canvasMaskUrl?{maskImage:`url(${canvasMaskUrl})`,WebkitMaskImage:`url(${canvasMaskUrl})`,maskSize:\"100% 100%\",WebkitMaskSize:\"100% 100%\",maskRepeat:\"no-repeat\",WebkitMaskRepeat:\"no-repeat\"}:{opacity:0}},role:\"img\",\"aria-label\":revealImage.alt}),(maskType===\"circle\"&&showCursorOutline||maskType===\"custom\"&&false)&&shouldShowMask&&(maskType===\"circle\"||maskType===\"custom\"&&customMaskImage.src)&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${mousePosition.x}%`,top:`${mousePosition.y}%`,width:maskType===\"circle\"?`${maskSize}px`:(()=>{if(maskImageDimensions.width>0){const aspectRatio=maskImageDimensions.width/maskImageDimensions.height;let maskWidth=maskSize;let maskHeight=maskSize/aspectRatio;if(maskHeight>maskSize){maskHeight=maskSize;maskWidth=maskSize*aspectRatio;}return`${maskWidth}px`;}return`${maskSize}px`;})(),height:maskType===\"circle\"?`${maskSize}px`:(()=>{if(maskImageDimensions.width>0){const aspectRatio=maskImageDimensions.width/maskImageDimensions.height;let maskWidth=maskSize;let maskHeight=maskSize/aspectRatio;if(maskHeight>maskSize){maskHeight=maskSize;maskWidth=maskSize*aspectRatio;}return`${maskHeight}px`;}return`${maskSize}px`;})(),border:`${cursorOutlineWidth}px solid ${cursorOutlineColor}`,borderRadius:maskType===\"circle\"?\"50%\":\"0\",transform:\"translate(-50%, -50%)\",pointerEvents:\"none\",zIndex:10}}),shouldShowMask&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${mousePosition.x}%`,top:`${mousePosition.y}%`,transform:\"translate(-50%, -50%)\",pointerEvents:\"none\",zIndex:20},children:cursorIconType===\"default\"?/*#__PURE__*/_jsxs(\"svg\",{width:\"32\",height:\"32\",viewBox:\"0 0 32 32\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"8\",y:\"20\",width:\"4\",height:\"10\",rx:\"2\",fill:\"white\",stroke:\"black\",strokeWidth:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"6\",y:\"8\",width:\"8\",height:\"14\",rx:\"1\",fill:\"white\",stroke:\"black\",strokeWidth:\"1\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"8\",y:\"10\",width:\"4\",height:\"8\",rx:\"0.5\",fill:\"black\",opacity:\"0.3\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"10\",y1:\"11\",x2:\"10\",y2:\"17\",stroke:\"silver\",strokeWidth:\"1.5\"})]}):/*#__PURE__*/_jsx(\"img\",{src:customCursorIcon,alt:\"Custom cursor\",style:{width:`${cursorIconSize}px`,height:`${cursorIconSize}px`,objectFit:\"contain\"}})})]});}addPropertyControls(ImageReveal,{topImage:{type:ControlType.ResponsiveImage,title:\"Top Image\"},bottomImage:{type:ControlType.ResponsiveImage,title:\"Bottom Image\"},revealOrder:{type:ControlType.Enum,title:\"Reveal Order\",options:[\"normal\",\"inverted\"],optionTitles:[\"Normal\",\"Inverted\"],defaultValue:\"normal\",displaySegmentedControl:true},maskType:{type:ControlType.Enum,title:\"Mask Shape\",options:[\"circle\",\"custom\"],optionTitles:[\"Circle\",\"Custom\"],defaultValue:\"circle\",displaySegmentedControl:true},customMaskImage:{type:ControlType.ResponsiveImage,title:\"Custom Mask\",hidden:({maskType})=>maskType!==\"custom\"},maskMode:{type:ControlType.Enum,title:\"Mask Mode\",options:[\"alpha\",\"luminous\"],optionTitles:[\"Alpha\",\"Luminous\"],defaultValue:\"alpha\",displaySegmentedControl:true,hidden:({maskType})=>maskType!==\"custom\"},maskSize:{type:ControlType.Number,title:\"Mask Size\",defaultValue:100,min:20,max:500,step:10,unit:\"px\"},showCursorOutline:{type:ControlType.Boolean,title:\"Cursor Outline\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\",hidden:({maskType})=>maskType!==\"circle\"},cursorOutlineColor:{type:ControlType.Color,title:\"Outline Color\",defaultValue:\"#FFFFFF\",hidden:({showCursorOutline,maskType})=>!showCursorOutline||maskType!==\"circle\"},cursorOutlineWidth:{type:ControlType.Number,title:\"Outline Width\",defaultValue:2,min:1,max:10,step:1,unit:\"px\",hidden:({showCursorOutline,maskType})=>!showCursorOutline||maskType!==\"circle\"},cursorSpeed:{type:ControlType.Number,title:\"Cursor Speed\",defaultValue:1,min:.1,max:1,step:.1,displayStepper:true},cursorIconType:{type:ControlType.Enum,title:\"Cursor Icon\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Custom\"],defaultValue:\"default\",displaySegmentedControl:true},customCursorIcon:{type:ControlType.File,title:\"Custom Icon\",allowedFileTypes:[\"jpg\",\"jpeg\",\"png\",\"gif\",\"webp\",\"svg\"],hidden:({cursorIconType})=>cursorIconType!==\"custom\"},cursorIconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:32,min:16,max:128,step:4,unit:\"px\",hidden:({cursorIconType})=>cursorIconType!==\"custom\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageReveal\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutHeight\":\"fixed\",\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