{"version":3,"file":"MaskReveal.Cegu16yt.mjs","names":["useRef","useState","useMemo","__esmMin","init_npm_react_18_3_1","pe","ce","init_jsx_runtime","c","_e","de","useInView","motion","init_framer_motion_DhsWWWsN","RenderTarget","addPropertyControls","init_framer_BkYB2Gqq","ControlType","ImageMaskReveal","props","isCanvas","containerRef","isInView","repeat","layerStart","isSectionInView","setIsSectionInView","trigger","sectionId","sectionElement","observer","entry","viewportPosition","shouldAnimate","closedClip","getClosedClip","effectType","direction","anchor","initialExpand","radius","openClip","getOpenClip","maskVariants","mode","getHiddenContentState","state","zoomContent","zoomLevel","getVisibleContentState","contentVariants","currentVariant","activeTransition","transition","delay","style","maskSrc","placeholderStyle","mediaType","src","videoSource","videoUrl","videoFile","embedInfo","getVideoEmbed","videoPoster","videoAutoPlay","videoMuted","videoLoop","videoControls","videoPlaysInline","imageSrc","altText","init_MaskReveal","round","effect","dir","val","initExpand","url","ytMatch","id","params","settings","vimeoMatch"],"sources":["https:/framerusercontent.com/modules/ksjK9arSU8MIxwWIzzAf/GfpQCdmwWfqRsbZ8yEqz/MaskReveal.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef,useState,useEffect,useMemo}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,useInView}from\"framer-motion\";// =========================================\n// 2. Helper Logic\n// =========================================\nconst getClosedClip=(effect,dir,anchor,initExpand,radius)=>{const round=radius>0?` round ${radius}px`:\"\";switch(effect){case\"reveal\":case\"slide\":if(dir===\"top\")return`inset(100% 0 0 0${round})`;if(dir===\"bottom\")return`inset(0 0 100% 0${round})`;if(dir===\"left\")return`inset(0 0 0 100%${round})`;if(dir===\"right\")return`inset(0 100% 0 0${round})`;return`inset(100% 0 0 0${round})`;case\"expand\":const val=(100-initExpand)/2;return`inset(${val}% ${val}% ${val}% ${val}%${round})`;case\"resize\":const anchorMap={center:`inset(50% 50% 50% 50%${round})`,top:`inset(0 0 100% 0${round})`,\"top-left\":`inset(0 100% 100% 0${round})`,\"top-right\":`inset(0 0 100% 100%${round})`,bottom:`inset(100% 0 0 0${round})`,\"bottom-left\":`inset(100% 100% 0 0${round})`,\"bottom-right\":`inset(100% 0 0 100%${round})`,left:`inset(0 100% 0 0${round})`,right:`inset(0 0 0 100%${round})`};return anchorMap[anchor]||`inset(50% 50% 50% 50%${round})`;default:return`inset(100% 0 0 0${round})`;}};const getOpenClip=radius=>{const round=radius>0?` round ${radius}px`:\"\";return`inset(0% 0% 0% 0%${round})`;};// Detecção e Formatação de URL de Vídeo (Youtube/Vimeo)\nconst getVideoEmbed=(url,settings)=>{if(!url)return{type:\"native\",src:\"\"};// YouTube\nconst ytMatch=url.match(/(?:youtu\\.be\\/|youtube\\.com\\/(?:embed\\/|v\\/|watch\\?v=|watch\\?.+&v=))([^#&?]*)/);if(ytMatch&&ytMatch[1]){const id=ytMatch[1];const params=new URLSearchParams;if(settings.videoAutoPlay)params.set(\"autoplay\",\"1\");if(settings.videoMuted)params.set(\"mute\",\"1\");if(settings.videoLoop){params.set(\"loop\",\"1\");params.set(\"playlist\",id)// Necessário para loop no YT\n;}if(!settings.videoControls)params.set(\"controls\",\"0\");params.set(\"playsinline\",settings.videoPlaysInline?\"1\":\"0\");params.set(\"rel\",\"0\");return{type:\"youtube\",src:`https://www.youtube.com/embed/${id}?${params.toString()}`};}// Vimeo\nconst vimeoMatch=url.match(/(?:vimeo\\.com\\/)(\\d+)/);if(vimeoMatch&&vimeoMatch[1]){const id=vimeoMatch[1];const params=new URLSearchParams;if(settings.videoAutoPlay)params.set(\"autoplay\",\"1\");if(settings.videoMuted)params.set(\"muted\",\"1\");if(settings.videoLoop)params.set(\"loop\",\"1\");if(!settings.videoControls)params.set(\"controls\",\"0\");params.set(\"background\",settings.videoControls?\"0\":\"1\")// Modo background remove UI\n;return{type:\"vimeo\",src:`https://player.vimeo.com/video/${id}?${params.toString()}`};}// Fallback: Link direto (mp4, mov, etc)\nreturn{type:\"native\",src:url};};// =========================================\n// 3. Main Component\n// =========================================\n/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ImageMaskReveal(props){const{mediaType,imageSrc,altText,videoSource,videoFile,videoUrl,videoPoster,videoAutoPlay,videoLoop,videoMuted,videoControls,videoPlaysInline,maskSrc,objectFit,mode,trigger,sectionId,viewportPosition,layerStart,repeat,transition,delay,effectType,direction,zoomContent,zoomLevel,anchor,initialExpand,radius}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const containerRef=useRef(null);// --- LOGIC: LAYER START AMOUNT ---\nconst getAmount=()=>{switch(layerStart){case\"top\":return .1;case\"center\":return .5;case\"bottom\":return .9;default:return .3;}};// --- TRIGGER LOGIC: LAYER IN VIEW ---\nconst isInView=useInView(containerRef,{once:!repeat,amount:getAmount()});// --- TRIGGER LOGIC: SECTION ID ---\nconst[isSectionInView,setIsSectionInView]=useState(false);useEffect(()=>{if(trigger!==\"sectionInView\"||!sectionId||isCanvas)return;const sectionElement=document.getElementById(sectionId);if(!sectionElement)return;const marginMap={end:\"0px 0px -10% 0px\",center:\"0px 0px -50% 0px\",start:\"0px 0px -90% 0px\"};const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting)setIsSectionInView(true);else if(repeat)setIsSectionInView(false);},{threshold:0,rootMargin:marginMap[viewportPosition]||\"0px 0px -10% 0px\"});observer.observe(sectionElement);return()=>observer.disconnect();},[trigger,sectionId,viewportPosition,repeat,isCanvas]);// --- DECISION MATRIX ---\nconst shouldAnimate=useMemo(()=>{if(isCanvas)return true;if(trigger===\"sectionInView\")return isSectionInView;if(trigger===\"layerInView\")return isInView;return isInView;},[isCanvas,trigger,isInView,isSectionInView]);// --- Variants Logic ---\nconst closedClip=getClosedClip(effectType,direction,anchor,initialExpand,radius);const openClip=getOpenClip(radius);const maskVariants={hidden:{clipPath:mode===\"In\"?closedClip:openClip,WebkitClipPath:mode===\"In\"?closedClip:openClip},visible:{clipPath:mode===\"In\"?openClip:closedClip,WebkitClipPath:mode===\"In\"?openClip:closedClip}};const getHiddenContentState=()=>{const scaleVal=zoomContent?zoomLevel/100:1;const state={scale:scaleVal,x:0,y:0};if(effectType===\"slide\"){const offset=\"15%\";if(direction===\"top\")state.y=offset;if(direction===\"bottom\")state.y=`-${offset}`;if(direction===\"left\")state.x=offset;if(direction===\"right\")state.x=`-${offset}`;}return state;};const getVisibleContentState=()=>({scale:1,x:0,y:0});const contentVariants={hidden:mode===\"In\"?getHiddenContentState():getVisibleContentState(),visible:mode===\"In\"?getVisibleContentState():getHiddenContentState()};const currentVariant=useMemo(()=>{if(isCanvas)return mode===\"In\"?\"visible\":\"hidden\";return shouldAnimate?\"visible\":\"hidden\";},[isCanvas,mode,shouldAnimate]);const activeTransition={...transition,delay:delay||0};// Render Helpers\nconst renderMedia=()=>{const style={width:\"100%\",height:\"100%\",objectFit,willChange:\"transform\",WebkitMaskImage:maskSrc?`url(${maskSrc})`:undefined,maskImage:maskSrc?`url(${maskSrc})`:undefined,WebkitMaskSize:\"contain\",WebkitMaskPosition:\"center\",WebkitMaskRepeat:\"no-repeat\"};const placeholderStyle={...style,background:\"rgba(136, 85, 255, 0.1)\"};if(mediaType===\"video\"){const src=videoSource===\"url\"?videoUrl:videoFile;const embedInfo=videoSource===\"url\"?getVideoEmbed(videoUrl,{videoAutoPlay,videoMuted,videoLoop,videoControls,videoPlaysInline}):{type:\"native\",src:videoFile};if(!src)return /*#__PURE__*/_jsx(\"div\",{style:placeholderStyle});// Renderização de Iframe (YouTube/Vimeo)\nif(embedInfo.type!==\"native\"){return /*#__PURE__*/_jsx(motion.iframe,{src:embedInfo.src,variants:contentVariants,transition:activeTransition,style:{...style,border:0,pointerEvents:videoControls?\"auto\":\"none\"},allow:\"autoplay; fullscreen; picture-in-picture\"});}// Renderização Nativa (File or Direct MP4 URL)\nreturn /*#__PURE__*/_jsx(motion.video,{src:src,poster:videoPoster,autoPlay:videoAutoPlay&&!isCanvas,muted:videoMuted,loop:videoLoop,controls:videoControls,playsInline:videoPlaysInline,variants:contentVariants,transition:activeTransition,style:style});}if(!imageSrc)return /*#__PURE__*/_jsx(\"div\",{style:placeholderStyle});return /*#__PURE__*/_jsx(motion.img,{src:imageSrc,alt:altText,variants:contentVariants,transition:activeTransition,style:style});};return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",position:\"relative\",isolation:\"isolate\",overflow:\"hidden\",borderRadius:radius},children:/*#__PURE__*/_jsx(motion.div,{initial:isCanvas?currentVariant:\"hidden\",animate:currentVariant,variants:maskVariants,transition:activeTransition,style:{width:\"100%\",height:\"100%\",backgroundColor:\"transparent\",willChange:\"clip-path\",cursor:\"default\",transformOrigin:\"center center\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:renderMedia()})});}// =========================================\n// 4. Property Controls\n// =========================================\naddPropertyControls(ImageMaskReveal,{// --- CONTENT: MEDIA TYPE ---\nmediaType:{type:ControlType.SegmentedEnum,title:\"Media\",options:[\"image\",\"video\"],optionTitles:[\"Image\",\"Video\"],defaultValue:\"image\"},// --- CONTENT: IMAGE PROPS ---\nimageSrc:{type:ControlType.Image,title:\"Image\",hidden:props=>props.mediaType!==\"image\"},altText:{type:ControlType.String,title:\"Alt Text\",defaultValue:\"\",hidden:props=>props.mediaType!==\"image\",description:\"Important for accessibility.\"},// --- CONTENT: VIDEO PROPS ---\nvideoSource:{type:ControlType.SegmentedEnum,title:\"Source\",options:[\"file\",\"url\"],optionTitles:[\"File\",\"URL\"],defaultValue:\"file\",hidden:props=>props.mediaType!==\"video\"},videoFile:{type:ControlType.File,title:\"File\",allowedFileTypes:[\"mp4\",\"webm\"],hidden:props=>props.mediaType!==\"video\"||props.videoSource!==\"file\"},videoUrl:{type:ControlType.String,title:\"URL\",placeholder:\"YouTube, Vimeo, or MP4 link\",hidden:props=>props.mediaType!==\"video\"||props.videoSource!==\"url\"},videoPoster:{type:ControlType.Image,title:\"Poster\",hidden:props=>props.mediaType!==\"video\"},videoAutoPlay:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:true,hidden:props=>props.mediaType!==\"video\"},videoLoop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:true,hidden:props=>props.mediaType!==\"video\"},videoMuted:{type:ControlType.Boolean,title:\"Muted\",defaultValue:true,hidden:props=>props.mediaType!==\"video\"},videoControls:{type:ControlType.Boolean,title:\"Controls\",defaultValue:false,hidden:props=>props.mediaType!==\"video\"},videoPlaysInline:{type:ControlType.Boolean,title:\"Inline\",defaultValue:true,hidden:props=>props.mediaType!==\"video\"},// --- COMMON SETTINGS ---\nobjectFit:{type:ControlType.Enum,title:\"Fit\",options:[\"cover\",\"contain\"],defaultValue:\"cover\"},maskSrc:{type:ControlType.Image,title:\"Alpha Mask\"},// --- TRIGGER ---\ntrigger:{type:ControlType.Enum,title:\"Trigger\",options:[\"layerInView\",\"sectionInView\"],optionTitles:[\"Layer in View\",\"Section in View\"],defaultValue:\"layerInView\"},// 1. Props for \"Layer In View\"\nlayerStart:{type:ControlType.SegmentedEnum,title:\"Start\",options:[\"top\",\"center\",\"bottom\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"center\",hidden:props=>props.trigger!==\"layerInView\",description:\"Determines when the animation starts based on element visibility.\"},// 2. Props for \"Section In View\"\nsectionId:{type:ControlType.String,title:\"Section\",placeholder:\"e.g. hero-section\",hidden:props=>props.trigger!==\"sectionInView\",description:\"1. Select the target Frame on canvas.\\n2. Add a 'Scroll Section' with a unique name.\\n3. Paste that name here.\"},viewportPosition:{type:ControlType.SegmentedEnum,title:\"Viewport\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"end\",hidden:props=>props.trigger!==\"sectionInView\"},// --- SETTINGS (Shared) ---\nmode:{type:ControlType.SegmentedEnum,title:\"Mode\",options:[\"In\",\"Out\"],defaultValue:\"In\"},repeat:{type:ControlType.Boolean,title:\"Repeat\",defaultValue:false},// --- EFFECT ---\neffectType:{type:ControlType.Enum,title:\"Effect\",options:[\"reveal\",\"resize\",\"slide\",\"expand\"],optionTitles:[\"Reveal\",\"Resize\",\"Slide In\",\"Expand\"],defaultValue:\"reveal\"},direction:{type:ControlType.SegmentedEnum,title:\"Direction\",options:[\"top\",\"bottom\",\"left\",\"right\"],optionTitles:[\"↑\",\"↓\",\"←\",\"→\"],defaultValue:\"top\",hidden:props=>props.effectType!==\"reveal\"&&props.effectType!==\"slide\"},anchor:{type:ControlType.Enum,title:\"Anchor\",options:[\"center\",\"top\",\"top-left\",\"top-right\",\"bottom\",\"bottom-left\",\"bottom-right\",\"left\",\"right\"],defaultValue:\"center\",hidden:props=>props.effectType!==\"resize\"},initialExpand:{type:ControlType.Number,title:\"Start Size\",defaultValue:0,min:0,max:100,unit:\"%\",hidden:props=>props.effectType!==\"expand\"},// --- FINE TUNING ---\nzoomContent:{type:ControlType.Boolean,title:\"Zoom Fx\",defaultValue:true,hidden:props=>props.effectType===\"slide\"},zoomLevel:{type:ControlType.Number,title:\"Scale %\",min:100,max:200,defaultValue:120,unit:\"%\",hidden:props=>!props.zoomContent||props.effectType===\"slide\"},transition:{type:ControlType.Transition,title:\"Timing\",defaultValue:{type:\"tween\",ease:\"easeInOut\",duration:.8}},delay:{type:ControlType.Number,title:\"Delay\",min:0,max:2,step:.1,unit:\"s\",defaultValue:0},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,defaultValue:0,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageMaskReveal\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MaskReveal.map"],"mappings":"A,iQAgBG,SAAwBkB,EAAgB,EAAM,CAAC,GAAK,CAAC,YAAU,WAAS,UAAQ,cAAY,YAAU,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