{"version":3,"file":"ModernPreloader.DatXmxf9.mjs","names":["useRef","useState","p","useMemo","overlapPx","_Fragment"],"sources":["https:/framerusercontent.com/modules/XBQC9Gy4lV4tG8EZSgVu/gYnaQj3A87d8iUVv8ukN/ModernPreloader.js"],"sourcesContent":["\"use client\";import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useRef,startTransition,useMemo}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer,RenderTarget}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 600\n */export default function ModernPreloader(props){const{effectType,blindsDirection,blindsCount,blindsColor,logo,backgroundColor,logoDuration,logoDisappearDuration,pauseDuration,blindsDuration,blindsDelay,fadeOutDuration,logoSize,stopZoomLogo,inverse,inverseTransform,showInEditor,style}=props;const hasLogo=!!(logo&&logo.trim());const isStatic=useIsStaticRenderer();const isCanvas=RenderTarget.current()===RenderTarget.canvas;// ===== gates =====\nconst rootRef=useRef(null);const[isTabActive,setIsTabActive]=useState(typeof document!==\"undefined\"?document.visibilityState===\"visible\":true);const[inViewport,setInViewport]=useState(false);const[hasStarted,setHasStarted]=useState(false);// Scroll lock refs\nconst scrollLockedRef=useRef(false);const originalHtmlOverflowRef=useRef(null);const originalBodyOverflowRef=useRef(null);useEffect(()=>{const onVis=()=>setIsTabActive(document.visibilityState===\"visible\");window.addEventListener(\"visibilitychange\",onVis);window.addEventListener(\"focus\",onVis);window.addEventListener(\"blur\",onVis);return()=>{window.removeEventListener(\"visibilitychange\",onVis);window.removeEventListener(\"focus\",onVis);window.removeEventListener(\"blur\",onVis);};},[]);useEffect(()=>{if(!rootRef.current)return;const io=new IntersectionObserver(entries=>{for(const e of entries){if(e.isIntersecting&&e.intersectionRatio>=.25)setInViewport(true);}},{threshold:[0,.25,.5,.75,1],rootMargin:\"0px 0px -20% 0px\"});io.observe(rootRef.current);return()=>io.disconnect();},[]);useEffect(()=>{if(hasStarted)return;if(isStatic||RenderTarget.current()===RenderTarget.thumbnail)return;if(isTabActive&&inViewport)setHasStarted(true);},[isTabActive,inViewport,hasStarted,isStatic]);// ===== stages/progress =====\nconst[stage,setStage]=useState(\"idle\");const effectStartRef=useRef(0);const effectTotalRef=useRef(0);const[logoProgress,setLogoProgress]=useState(0);const[logoDisappearProgress,setLogoDisappearProgress]=useState(0);const[effectProgress,setEffectProgress]=useState(0);const[fadeOut,setFadeOut]=useState(0);const[isDone,setIsDone]=useState(false);// ===== global scroll lock while preloader is active =====\nuseEffect(()=>{// Only lock scroll in live preview/published, not in editor or static/thumbnail.\nif(typeof document===\"undefined\")return;const isLive=!isStatic&&!isCanvas;if(isLive&&hasStarted&&!isDone){if(!scrollLockedRef.current){scrollLockedRef.current=true;originalHtmlOverflowRef.current=document.documentElement.style.overflow||\"\";originalBodyOverflowRef.current=document.body.style.overflow||\"\";document.documentElement.style.overflow=\"hidden\";document.body.style.overflow=\"hidden\";}}else if(scrollLockedRef.current){// Restore scroll when animation is finished or component is no longer live.\nscrollLockedRef.current=false;document.documentElement.style.overflow=originalHtmlOverflowRef.current??\"\";document.body.style.overflow=originalBodyOverflowRef.current??\"\";}// Safety cleanup in case component unmounts mid-animation.\nreturn()=>{if(scrollLockedRef.current){scrollLockedRef.current=false;document.documentElement.style.overflow=originalHtmlOverflowRef.current??\"\";document.body.style.overflow=originalBodyOverflowRef.current??\"\";}};},[hasStarted,isDone,isStatic,isCanvas]);// ===== sequence =====\nuseEffect(()=>{if(!hasStarted)return;let t1,t2,t3;startTransition(()=>setStage(\"logo\"));t1=window.setTimeout(()=>{startTransition(()=>setStage(\"logoDisappear\"));t2=window.setTimeout(()=>{startTransition(()=>setStage(\"pause\"));t3=window.setTimeout(()=>{startTransition(()=>setStage(\"blinds\"));effectStartRef.current=Date.now();const needsStagger=effectType===\"blinds\"||effectType===\"diagonalBlinds\"||effectType===\"verticalColumns\"||effectType===\"horizontalRows\";effectTotalRef.current=needsStagger?blindsDuration+blindsDelay:blindsDuration;},pauseDuration);},logoDisappearDuration);},logoDuration);return()=>{clearTimeout(t1);clearTimeout(t2);clearTimeout(t3);};// eslint-disable-next-line react-hooks/exhaustive-deps\n},[hasStarted,logoDuration,logoDisappearDuration,pauseDuration,effectType,blindsDuration,blindsDelay]);// ===== logo appear/disappear =====\nuseEffect(()=>{if(stage!==\"logo\"||isStatic)return;let raf=0;const start=performance.now();const tick=now=>{const p=Math.min(1,(now-start)/logoDuration);setLogoProgress(p);if(p<1)raf=requestAnimationFrame(tick);};raf=requestAnimationFrame(tick);return()=>cancelAnimationFrame(raf);},[stage,logoDuration,isStatic]);useEffect(()=>{if(stage!==\"logoDisappear\"||isStatic)return;let raf=0;const start=performance.now();const tick=now=>{const p=Math.min(1,(now-start)/logoDisappearDuration);setLogoDisappearProgress(p);if(p<1)raf=requestAnimationFrame(tick);};raf=requestAnimationFrame(tick);return()=>cancelAnimationFrame(raf);},[stage,logoDisappearDuration,isStatic]);// ===== effect driver + overlapped fade-out =====\nconst easeInCubic=t=>t*t*t;useEffect(()=>{if(stage!==\"blinds\"||isStatic)return;let raf=0;const total=Math.max(1,effectTotalRef.current||0);const fadeMs=Math.max(0,Math.min(fadeOutDuration??0,total));const tick=()=>{const elapsed=Date.now()-effectStartRef.current;const p=Math.min(1,elapsed/total);setEffectProgress(p);if(fadeMs>0){const fadeStart=total-fadeMs;if(elapsed>=fadeStart){const fp=Math.min(1,(elapsed-fadeStart)/fadeMs);setFadeOut(easeInCubic(fp));}}if(elapsed<total)raf=requestAnimationFrame(tick);else{if(fadeMs===0)setFadeOut(1);startTransition(()=>setIsDone(true));}};raf=requestAnimationFrame(tick);return()=>cancelAnimationFrame(raf);},[stage,fadeOutDuration,isStatic]);// ===== Strips-based effects =====\nconst strips=useMemo(()=>{const aaPx=.75;if(effectType!==\"blinds\"&&effectType!==\"diagonalBlinds\"&&effectType!==\"verticalColumns\"&&effectType!==\"horizontalRows\")return null;const arr=Array.from({length:blindsCount});const items=arr.map((_,i)=>{let sizeMul=1;let localProgress=effectProgress;if(stage===\"blinds\"){if(effectType===\"verticalColumns\"||effectType===\"horizontalRows\"||effectType===\"blinds\"||effectType===\"diagonalBlinds\"){const stagger=blindsDelay/blindsCount*i;const total=blindsDuration+blindsDelay;const current=effectProgress*total;const start=stagger;const end=stagger+blindsDuration;if(current>=end)localProgress=1;else if(current<=start)localProgress=0;else localProgress=(current-start)/blindsDuration;}const eased=1-Math.pow(1-localProgress,4);sizeMul=1-eased;}if(effectType===\"blinds\"){if(blindsDirection===\"vertical\"){const segLeft=100/blindsCount*i;if(inverseTransform){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`calc(${segLeft}% - ${aaPx/2}px)`,top:0,width:`calc(${100/blindsCount}% + ${aaPx}px)`,height:\"100%\",background:blindsColor,transformOrigin:\"right center\",transform:`scaleX(${sizeMul}) translateZ(0)`,willChange:\"transform\",backfaceVisibility:\"hidden\"}},i);}return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`calc(${segLeft}% - ${aaPx/2}px)`,top:0,width:sizeMul>0?`calc(${100/blindsCount*sizeMul}% + ${aaPx}px)`:\"0%\",height:\"100%\",background:blindsColor,willChange:\"width\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"}},i);}else{const segTop=100/blindsCount*i;if(inverseTransform){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`calc(${segTop}% - ${aaPx/2}px)`,left:0,height:`calc(${100/blindsCount}% + ${aaPx}px)`,width:\"100%\",background:blindsColor,transformOrigin:\"center bottom\",transform:`scaleY(${sizeMul}) translateZ(0)`,willChange:\"transform\",backfaceVisibility:\"hidden\"}},i);}return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`calc(${segTop}% - ${aaPx/2}px)`,left:0,height:sizeMul>0?`calc(${100/blindsCount*sizeMul}% + ${aaPx}px)`:\"0%\",width:\"100%\",background:blindsColor,willChange:\"height\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"}},i);}}if(effectType===\"diagonalBlinds\"){const base=100/blindsCount;if(inverseTransform){const rightPct=base*(i+1);const widthPct=base*sizeMul;const overlapPx=Math.max(0,Math.min(1,sizeMul));const leftCalc=`calc(${rightPct}% - ${widthPct}% - ${overlapPx}px)`;const widthCalc=`calc(${widthPct}% + ${overlapPx}px)`;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:leftCalc,top:0,width:widthCalc,height:\"100%\",background:blindsColor,willChange:\"width,left\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"}},i);}const overlapPx=Math.max(0,Math.min(1,sizeMul));return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${base*i}%`,top:0,width:sizeMul>0?`calc(${base*sizeMul}% + ${overlapPx}px)`:\"0%\",height:\"100%\",background:blindsColor,willChange:\"width\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"}},i);}// --- VERTICAL COLUMNS (fast start → slow end, staggered) ---\nif(effectType===\"verticalColumns\"){const base=100/blindsCount;const total=blindsDuration+blindsDelay;const perItemStagger=blindsCount>1?blindsDelay/(blindsCount-1):0;const stagger=perItemStagger*i;const current=effectProgress*total;let p=0;if(current<=stagger)p=0;else if(current>=stagger+blindsDuration)p=1;else p=(current-stagger)/blindsDuration;// very smooth: fast start, slow end\nconst easeOutQuint=t=>1-Math.pow(1-t,5);const eased=easeOutQuint(p);const ty=eased*110;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${base*i}%`,top:0,width:`${base}%`,height:\"100%\",background:blindsColor,transform:`translateY(${ty}%) translateZ(0)`,willChange:\"transform\",backfaceVisibility:\"hidden\"}},i);}// --- HORIZONTAL ROWS (fast start → slow end, staggered) ---\nif(effectType===\"horizontalRows\"){const base=100/blindsCount;const total=blindsDuration+blindsDelay;const perItemStagger=blindsCount>1?blindsDelay/(blindsCount-1):0;const stagger=perItemStagger*i;const current=effectProgress*total;let p=0;if(current<=stagger)p=0;else if(current>=stagger+blindsDuration)p=1;else p=(current-stagger)/blindsDuration;const easeOutQuint=t=>1-Math.pow(1-t,5);const eased=easeOutQuint(p);const tx=eased*110;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`${base*i}%`,left:0,width:\"100%\",height:`${base}%`,background:blindsColor,transform:`translateX(${tx}%) translateZ(0)`,willChange:\"transform\",backfaceVisibility:\"hidden\"}},i);}return null;});if(effectType===\"diagonalBlinds\"){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",width:\"200%\",height:\"200%\",transform:`translate(-50%, -50%) rotate(${inverse?-45:45}deg)`,transformOrigin:\"center center\",backfaceVisibility:\"hidden\"},children:items});}return items;},[effectType,blindsCount,blindsColor,blindsDirection,effectProgress,stage,blindsDuration,blindsDelay,isDone,inverse,inverseTransform]);// ===== Overlays: non-strips + centerOpen + verticalMove =====\nconst effectOverlay=useMemo(()=>{if(effectType===\"blinds\"||effectType===\"diagonalBlinds\"||effectType===\"verticalColumns\"||effectType===\"horizontalRows\")return null;const overlayStyle={position:\"absolute\",inset:0,background:blindsColor,zIndex:5,transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"};const progress=stage===\"blinds\"?effectProgress:0;switch(effectType){case\"fade\":{overlayStyle.opacity=1-progress;return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"slideUp\":{const eased=1-Math.pow(1-progress,4);overlayStyle.transform=`translateY(-${eased*100}%) translateZ(0)`;return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"slideDown\":{const eased=1-Math.pow(1-progress,4);overlayStyle.transform=`translateY(${eased*100}%) translateZ(0)`;return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"slideLeft\":{const eased=1-Math.pow(1-progress,4);overlayStyle.transform=`translateX(-${eased*100}%) translateZ(0)`;return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"slideRight\":{const eased=1-Math.pow(1-progress,4);overlayStyle.transform=`translateX(${eased*100}%) translateZ(0)`;return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"zoom\":{const eased=1-Math.pow(1-progress,4);overlayStyle.transform=`scale(${1-eased}) translateZ(0)`;overlayStyle.transformOrigin=\"center center\";return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"circleReveal\":{const easedIn=Math.pow(progress,4);const holePct=easedIn*150;const mask=`radial-gradient(circle at 50% 50%, transparent ${holePct}%, black ${holePct}%)`;overlayStyle.background=blindsColor;// @ts-ignore\noverlayStyle.WebkitMaskImage=mask;// @ts-ignore\noverlayStyle.maskImage=mask;return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"cornerReveal\":{const eased=1-Math.pow(1-progress,4);const cp=eased*100;overlayStyle.clipPath=inverse?`polygon(0 0, ${100-cp}% 0, 100% ${cp}%, 100% 100%, ${cp}% 100%, 0 ${100-cp}%)`:`polygon(${cp}% 0, 100% 0, 100% ${100-cp}%, ${100-cp}% 100%, 0 100%, 0 ${cp}%)`;return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});}case\"centerOpen\":{const eased=1-Math.pow(1-progress,4);const pad=2;if(!inverse){if(!inverseTransform){const leftTx=-100*eased;const rightTx=100*eased;const half={position:\"absolute\",top:0,height:\"100%\",width:`calc(50% + ${pad}px)`,background:blindsColor,willChange:\"transform\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{...half,left:`-${pad}px`,transform:`translateX(${leftTx}%)`}}),/*#__PURE__*/_jsx(\"div\",{style:{...half,left:\"50%\",transform:`translateX(${rightTx}%)`}})]});}else{const half={position:\"absolute\",top:0,height:\"100%\",width:`calc(50% + ${pad}px)`,background:blindsColor,willChange:\"transform\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{...half,left:0,transformOrigin:\"right center\",transform:`scaleX(${1-eased})`}}),/*#__PURE__*/_jsx(\"div\",{style:{...half,left:\"50%\",transformOrigin:\"left center\",transform:`scaleX(${1-eased})`}})]});}}else{if(!inverseTransform){const topTy=-100*eased;const botTy=100*eased;const halfV={position:\"absolute\",left:0,width:\"100%\",height:`calc(50% + ${pad}px)`,background:blindsColor,willChange:\"transform\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{...halfV,top:`-${pad}px`,transform:`translateY(${topTy}%)`}}),/*#__PURE__*/_jsx(\"div\",{style:{...halfV,top:\"50%\",transform:`translateY(${botTy}%)`}})]});}else{const halfV={position:\"absolute\",left:0,width:\"100%\",height:`calc(50% + ${pad}px)`,background:blindsColor,willChange:\"transform\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{...halfV,top:0,transformOrigin:\"center bottom\",transform:`scaleY(${1-eased})`}}),/*#__PURE__*/_jsx(\"div\",{style:{...halfV,top:\"50%\",transformOrigin:\"center top\",transform:`scaleY(${1-eased})`}})]});}}}case\"verticalMove\":{const eased=1-Math.pow(1-progress,4);const up=-100*eased;const down=100*eased;const half={position:\"absolute\",top:0,height:\"100%\",width:\"50%\",background:blindsColor,willChange:\"transform\",transform:\"translateZ(0)\",backfaceVisibility:\"hidden\"};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{...half,left:0,transform:`translateY(${up}%)`}}),/*#__PURE__*/_jsx(\"div\",{style:{...half,left:\"50%\",transform:`translateY(${down}%)`}})]});}}return /*#__PURE__*/_jsx(\"div\",{style:overlayStyle});},[effectType,blindsColor,effectProgress,stage,inverse,inverseTransform]);// ===== Canvas preview =====\nif(isCanvas&&!hasStarted){if(!showInEditor)return null;const pad=2;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",background:backgroundColor,overflow:\"hidden\"},children:[effectType===\"centerOpen\"||effectType===\"verticalMove\"?!inverse?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`-${pad}px`,top:0,width:`calc(50% + ${pad}px)`,height:\"100%\",background:blindsColor}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:0,width:`calc(50% + ${pad}px)`,height:\"100%\",background:blindsColor}})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:`-${pad}px`,width:\"100%\",height:`calc(50% + ${pad}px)`,background:blindsColor}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:\"50%\",width:\"100%\",height:`calc(50% + ${pad}px)`,background:blindsColor}})]}):effectType===\"verticalColumns\"?Array.from({length:blindsCount}).map((_,i)=>{const base=100/blindsCount;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${base*i}%`,top:0,width:`${base}%`,height:\"100%\",background:blindsColor}},i);}):effectType===\"horizontalRows\"?Array.from({length:blindsCount}).map((_,i)=>{const base=100/blindsCount;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`${base*i}%`,left:0,width:\"100%\",height:`${base}%`,background:blindsColor}},i);}):/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:blindsColor}}),hasLogo&&/*#__PURE__*/_jsx(\"img\",{src:logo,alt:\"Logo\",style:{position:\"absolute\",left:\"50%\",top:\"50%\",transform:\"translate(-50%, -50%)\",width:`${logoSize}%`,height:\"auto\",objectFit:\"contain\"}})]});}// Editor hide\nif(!showInEditor&&RenderTarget.current()===RenderTarget.canvas)return null;// ===== Thumbnail preview =====\nif(isStatic||RenderTarget.current()===RenderTarget.thumbnail){const pad=2;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",background:backgroundColor,overflow:\"hidden\"},children:[effectType===\"diagonalBlinds\"?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",width:\"200%\",height:\"200%\",transform:`translate(-50%, -50%) rotate(${inverse?-45:45}deg)`,transformOrigin:\"center center\"},children:Array.from({length:blindsCount}).map((_,i)=>{const w=100/blindsCount;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${w*i}%`,top:0,width:`calc(${w}% + 1px)`,height:\"100%\",background:blindsColor}},i);})}):effectType===\"blinds\"?Array.from({length:blindsCount}).map((_,i)=>{const s=100/blindsCount;return /*#__PURE__*/_jsx(\"div\",{style:blindsDirection===\"vertical\"?{position:\"absolute\",left:`calc(${s*i}% - 0.375px)`,top:0,width:`calc(${s}% + 0.75px)`,height:\"100%\",background:blindsColor}:{position:\"absolute\",top:`calc(${s*i}% - 0.375px)`,left:0,height:`calc(${s}% + 0.75px)`,width:\"100%\",background:blindsColor}},i);}):effectType===\"centerOpen\"||effectType===\"verticalMove\"?!inverse?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`-2px`,top:0,width:`calc(50% + 2px)`,height:\"100%\",background:blindsColor}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:0,width:`calc(50% + 2px)`,height:\"100%\",background:blindsColor}})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:`-2px`,width:\"100%\",height:`calc(50% + 2px)`,background:blindsColor}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:\"50%\",width:\"100%\",height:`calc(50% + 2px)`,background:blindsColor}})]}):effectType===\"verticalColumns\"?Array.from({length:blindsCount}).map((_,i)=>{const base=100/blindsCount;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${base*i}%`,top:0,width:`${base}%`,height:\"100%\",background:blindsColor}},i);}):effectType===\"horizontalRows\"?Array.from({length:blindsCount}).map((_,i)=>{const base=100/blindsCount;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`${base*i}%`,left:0,width:\"100%\",height:`${base}%`,background:blindsColor}},i);}):/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:blindsColor}}),hasLogo&&/*#__PURE__*/_jsx(\"img\",{src:logo,alt:\"Logo\",style:{position:\"absolute\",left:\"50%\",top:\"50%\",transform:\"translate(-50%, -50%)\",width:`${logoSize}%`,height:\"auto\",objectFit:\"contain\"}})]});}if(isDone)return null;// ===== logo easing =====\nconst easeOutCubic=t=>1-Math.pow(1-t,3);const logoOpacity=stage===\"logo\"?easeOutCubic(logoProgress):stage===\"logoDisappear\"?1-logoDisappearProgress:0;const logoScale=stopZoomLogo?1:stage===\"logo\"?.8+logoProgress*.2:stage===\"logoDisappear\"?1-logoDisappearProgress*.3:1;// ===== runtime =====\nreturn /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",opacity:1-fadeOut,pointerEvents:fadeOut>0?\"none\":\"auto\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",inset:0,background:backgroundColor,overflow:\"hidden\"},children:[hasLogo&&(stage===\"logo\"||stage===\"logoDisappear\")&&/*#__PURE__*/_jsx(\"img\",{src:logo,alt:\"Logo\",style:{position:\"absolute\",left:\"50%\",top:\"50%\",transform:`translate(-50%, -50%) scale(${logoScale})`,width:`${logoSize}%`,height:\"auto\",objectFit:\"contain\",zIndex:10,opacity:logoOpacity,willChange:\"opacity, transform\"}}),strips??effectOverlay]})});}// ===== controls =====\naddPropertyControls(ModernPreloader,{showInEditor:{type:ControlType.Boolean,title:\"Show in Editor\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},effectType:{type:ControlType.Enum,title:\"Effect Type\",options:[\"blinds\",\"diagonalBlinds\",\"fade\",\"slideUp\",\"slideDown\",\"slideLeft\",\"slideRight\",\"zoom\",\"circleReveal\",\"cornerReveal\",\"centerOpen\",\"verticalMove\",\"verticalColumns\",\"horizontalRows\"],optionTitles:[\"Blinds\",\"Diagonal Blinds\",\"Fade\",\"Slide Up\",\"Slide Down\",\"Slide Left\",\"Slide Right\",\"Zoom\",\"Circle Reveal\",\"Corner Reveal\",\"Center Open\",\"Vertical Move\",\"Vertical Columns\",\"Horizontal Rows\"],defaultValue:\"blinds\"},blindsDirection:{type:ControlType.Enum,title:\"Direction\",options:[\"vertical\",\"horizontal\"],optionTitles:[\"Vertical\",\"Horizontal\"],defaultValue:\"vertical\",displaySegmentedControl:true,hidden:({effectType})=>effectType!==\"blinds\"},blindsCount:{type:ControlType.Number,title:\"Blinds Count\",defaultValue:8,min:2,max:24,step:1,hidden:({effectType})=>!(effectType===\"blinds\"||effectType===\"diagonalBlinds\"||effectType===\"verticalColumns\"||effectType===\"horizontalRows\")},blindsColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"#000000\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(255, 255, 255, 0)\"},logo:{type:ControlType.File,title:\"Logo\",allowedFileTypes:[\"png\",\"jpg\",\"jpeg\",\"svg\"]},logoSize:{type:ControlType.Number,title:\"Logo Size\",defaultValue:40,min:5,max:100,step:1,unit:\"%\"},stopZoomLogo:{type:ControlType.Boolean,title:\"Stop Zoom Logo\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},logoDuration:{type:ControlType.Number,title:\"Logo Appear (ms)\",defaultValue:200,min:100,max:5e3,step:50},logoDisappearDuration:{type:ControlType.Number,title:\"Logo Disappear (ms)\",defaultValue:400,min:100,max:2e3,step:50},pauseDuration:{type:ControlType.Number,title:\"Pause (ms)\",defaultValue:300,min:0,max:3e3,step:50},blindsDuration:{type:ControlType.Number,title:\"Effect Time (ms)\",defaultValue:1200,min:200,max:5e3,step:100},blindsDelay:{type:ControlType.Number,title:\"Stagger (ms)\",defaultValue:400,min:0,max:2e3,step:50,hidden:({effectType})=>effectType===\"centerOpen\"||effectType===\"verticalMove\"},fadeOutDuration:{type:ControlType.Number,title:\"Fade Out (ms)\",defaultValue:600,min:0,max:4e3,step:50},inverse:{type:ControlType.Boolean,title:\"Flip\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:({effectType})=>!(effectType===\"diagonalBlinds\"||effectType===\"cornerReveal\"||effectType===\"centerOpen\"||effectType===\"verticalMove\")},inverseTransform:{type:ControlType.Boolean,title:\"Inverse Transform\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:({effectType})=>!(effectType===\"blinds\"||effectType===\"diagonalBlinds\"||effectType===\"centerOpen\")}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ModernPreloader\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"800\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ModernPreloader.map"],"mappings":"4OAKG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,aAAW,kBAAgB,cAAY,cAAY,OAAK,kBAAgB,eAAa,wBAAsB,gBAAc,iBAAe,cAAY,kBAAgB,WAAS,eAAa,UAAQ,mBAAiB,eAAa,SAAO,EAAY,EAAQ,CAAC,EAAE,GAAM,EAAK,MAAM,EAAQ,EAAS,GAAqB,CAAO,EAAS,EAAa,SAAS,GAAG,EAAa,OAC7Z,EAAQA,EAAO,KAAK,CAAM,CAAC,EAAY,GAAgBC,EAAS,OAAO,SAAW,IAAY,SAAS,kBAAkB,UAAU,GAAK,CAAM,CAAC,EAAW,IAAeA,E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