{"version":3,"file":"default-utils.js@_0.45.DLXacSLv.mjs","names":["Children","useRef","useMemo","useState","useCallback","useRef","useState","useMemo"],"sources":["https:/framerusercontent.com/modules/B2xAlJLcN0gOnt11mSPw/plhC5PVnCMllW5QXjFK5/Ticker.js","https:/framerusercontent.com/modules/SpjVC5bE1mmk965eGHN6/a4Jqn0kPxF91YUny58Z8/LineDrawSVG.js","https:/framer.com/m/framer/default-utils.js@^0.45.0"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Children,useLayoutEffect,useEffect,useState,useRef,useMemo,useCallback,cloneElement,startTransition,forwardRef,useImperativeHandle}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useReducedMotion,LayoutGroup,useInView,useMotionValue,useTransform,motion,frame}from\"framer-motion\";import{resize}from\"@motionone/dom\";const MAX_DUPLICATED_ITEMS=100;const directionTransformers={left:offset=>`translateX(-${offset}px)`,right:offset=>`translateX(${offset}px)`,top:offset=>`translateY(-${offset}px)`,bottom:offset=>`translateY(${offset}px)`};/**\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Ticker(props){/* Props */let{slots=[],gap,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft,speed,hoverFactor,direction,alignment,sizingOptions,fadeOptions,style}=props;const{fadeContent,overflow,fadeWidth,fadeInset,fadeAlpha}=fadeOptions;const{widthType,heightType}=sizingOptions;const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;/* Checks */const currentTarget=RenderTarget.current();const isCanvas=currentTarget===RenderTarget.canvas||currentTarget===RenderTarget.export;const writingDirection=useWritingDirection();// Remove empty slots (such as hidden layers)\nconst filteredSlots=slots.filter(Boolean);const numChildren=Children.count(filteredSlots);const hasChildren=numChildren>0;const offset=useMotionValue(0);const resolvedDirection=getTickerResolvedDirection(direction===true?\"left\":direction,writingDirection);const isHorizontal=resolvedDirection===\"left\"||resolvedDirection===\"right\";const transformer=directionTransformers[resolvedDirection];const transform=useTransform(offset,transformer);/* Refs and State */const parentRef=useRef(null);const childrenRef=useMemo(()=>{return[{current:null},{current:null}];},[]);const[size,setSize]=useState({parent:null,children:null});/* Arrays */let clonedChildren=null;let dupedChildren=[];/* Duplicate value */let duplicateBy=0;let opacity=0;if(isCanvas){duplicateBy=numChildren?Math.floor(10/numChildren):0;opacity=1;}if(!isCanvas&&hasChildren&&size.parent){duplicateBy=Math.round(size.parent/size.children*2)+1;duplicateBy=Math.min(duplicateBy,MAX_DUPLICATED_ITEMS);opacity=1;}/* Measure parent and child */const measure=useCallback(()=>{if(hasChildren&&parentRef.current){const parentLength=isHorizontal?parentRef.current.offsetWidth:parentRef.current.offsetHeight;const start=childrenRef[0].current?isHorizontal?childrenRef[0].current.offsetLeft:childrenRef[0].current.offsetTop:0;const end=childrenRef[1].current?isHorizontal?childrenRef[1].current.offsetLeft+childrenRef[1].current.offsetWidth:childrenRef[1].current.offsetTop+childrenRef[1].current.offsetHeight:0;const childrenLength=end-start+gap;startTransition(()=>{setSize({parent:parentLength,children:childrenLength});});}},[]);const childrenStyles=isCanvas?{contentVisibility:\"auto\"}:{};/* Add refs to first and last child */if(hasChildren){// TODO: These conditional hooks will be unsafe if hasChildren ever changes outside the canvas.\nif(!isCanvas){/**\n             * Track whether this is the initial resize event. By default this will fire on mount,\n             * which we do in the useEffect. We should only fire it on subsequent resizes.\n             */let initialResize=useRef(true);useLayoutEffect(()=>{frame.read(measure,false,true);return resize(parentRef.current,({contentSize})=>{if(!initialResize.current&&(contentSize.width||contentSize.height)){frame.read(measure,false,true);}initialResize.current=false;});},[]);}clonedChildren=Children.map(filteredSlots,(child,index)=>{let ref;if(index===0){ref=childrenRef[writingDirection===\"rtl\"&&isHorizontal?1:0];}if(index===filteredSlots.length-1){ref=childrenRef[writingDirection===\"rtl\"&&isHorizontal?0:1];}const size={width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\"};return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",children:/*#__PURE__*/_jsx(Wrapper,{ref:ref,style:size,children:/*#__PURE__*/cloneElement(child,{style:{...child.props?.style,...size,flexShrink:0,...childrenStyles},layoutId:child.props.layoutId?child.props.layoutId+\"-original-\"+index:undefined},child.props?.children)})});});}const isInView=isCanvas?true:useInView(parentRef);if(!isCanvas){for(let i=0;i<duplicateBy;i++){dupedChildren=dupedChildren.concat(Children.map(filteredSlots,(child,childIndex)=>{const size={width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\",willChange:!isInView?undefined:\"transform\"};return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",children:/*#__PURE__*/_jsx(Wrapper,{style:size,children:/*#__PURE__*/cloneElement(child,{key:i+\" \"+childIndex,style:{...child.props?.style,width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\",flexShrink:0,...childrenStyles},layoutId:child.props.layoutId?child.props.layoutId+\"-dupe-\"+i:undefined},child.props?.children)},i+\"li\"+childIndex)},i+\"lg\"+childIndex);}));}}const animateToValue=size.children+size.children*Math.round(size.parent/size.children);const initialTime=useRef(null);const prevTime=useRef(null);const xOrY=useRef(0);const isHover=useRef(false);const isReducedMotion=useReducedMotion();const listRef=useRef(null);const animationRef=useRef(null);/**\n     * Setup animations\n     */if(!isCanvas){useEffect(()=>{if(isReducedMotion||!animateToValue||!speed){return;}animationRef.current=listRef.current.animate({transform:[transformer(0),transformer(animateToValue)]},{duration:Math.abs(animateToValue)/speed*1e3,iterations:Infinity,iterationStart:writingDirection===\"rtl\"?1:0,easing:\"linear\"});return()=>animationRef.current.cancel();},[hoverFactor,animateToValue,speed,writingDirection]);const playOrPause=useCallback(()=>{if(!animationRef.current)return;const hidden=document.hidden;if(isInView&&!hidden&&animationRef.current.playState===\"paused\"){animationRef.current.play();}else if((!isInView||hidden)&&animationRef.current.playState===\"running\"){animationRef.current.pause();}},[isInView]);useEffect(()=>{playOrPause();},[isInView,hoverFactor,animateToValue,speed]);useEffect(()=>{document.addEventListener(\"visibilitychange\",playOrPause);return()=>{document.removeEventListener(\"visibilitychange\",playOrPause);};},[playOrPause]);}/* Fades */const fadeDirection=isHorizontal?\"to right\":\"to bottom\";const fadeWidthStart=fadeWidth/2;const fadeWidthEnd=100-fadeWidth/2;const fadeInsetStart=clamp(fadeInset,0,fadeWidthStart);const fadeInsetEnd=100-fadeInset;const fadeMask=`linear-gradient(${fadeDirection}, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetStart}%, rgba(0, 0, 0, 1) ${fadeWidthStart}%, rgba(0, 0, 0, 1) ${fadeWidthEnd}%, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetEnd}%)`;/* Empty state */if(!hasChildren){return /*#__PURE__*/_jsxs(\"section\",{style:placeholderStyles,children:[/*#__PURE__*/_jsx(\"div\",{style:emojiStyles,children:\"✨\"}),/*#__PURE__*/_jsx(\"p\",{style:titleStyles,children:\"Connect to Content\"}),/*#__PURE__*/_jsx(\"p\",{style:subtitleStyles,children:\"Add layers or components to infinitely loop on your page.\"})]});}return /*#__PURE__*/_jsx(\"section\",{style:{...containerStyle,opacity:opacity,WebkitMaskImage:fadeContent?fadeMask:undefined,maskImage:fadeContent?fadeMask:undefined,overflow:overflow?\"visible\":\"hidden\",padding:paddingValue},ref:parentRef,children:/*#__PURE__*/_jsxs(motion.ul,{ref:listRef,style:{...containerStyle,gap:gap,top:direction===\"bottom\"&&isValidNumber(animateToValue)?-animateToValue:undefined,left:direction===\"right\"&&isValidNumber(animateToValue)?animateToValue*(writingDirection===\"rtl\"?1:-1):undefined,placeItems:alignment,position:\"relative\",flexDirection:isHorizontal?\"row\":\"column\",...style,willChange:isCanvas||!isInView?\"auto\":\"transform\",transform:transformer(0)},onMouseEnter:()=>{isHover.current=true;if(animationRef.current){// TODO Replace with updatePlaybackRate when Chrome bugs sorted\nanimationRef.current.playbackRate=hoverFactor;}},onMouseLeave:()=>{isHover.current=false;if(animationRef.current){// TODO Replace with updatePlaybackRate when Chrome bugs sorted\nanimationRef.current.playbackRate=1;}},children:[clonedChildren,dupedChildren]})});}const Wrapper=/*#__PURE__*/forwardRef(({children,...props},ref)=>{const innerRef=useRef();const inView=useInView(innerRef);useImperativeHandle(ref,()=>innerRef.current);useEffect(()=>{const current=innerRef.current;if(!current)return;// for a11y: Manage tabIndex on focusable descendants & aria-hidden on the parent.\nif(inView){current.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.dataset.origTabIndex;if(orig)el.tabIndex=orig;else el.removeAttribute(\"tabIndex\");});}else{current.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.getAttribute(\"tabIndex\");if(orig)el.dataset.origTabIndex=orig;el.tabIndex=-1;});}},[inView]);return /*#__PURE__*/_jsx(\"li\",{...props,\"aria-hidden\":!inView,ref:innerRef,children:children});});/* Default Properties */Ticker.defaultProps={gap:10,padding:10,sizingOptions:{widthType:true,heightType:true},fadeOptions:{fadeContent:true,overflow:false,fadeWidth:25,fadeAlpha:0,fadeInset:0},direction:true};/* Property Controls */addPropertyControls(Ticker,{slots:{type:ControlType.Array,title:\"Children\",control:{type:ControlType.ComponentInstance}},speed:{type:ControlType.Number,title:\"Speed\",min:0,max:1e3,defaultValue:100,unit:\"%\",displayStepper:true,step:5},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"left\",\"right\",\"top\",\"bottom\"],optionIcons:[\"direction-left\",\"direction-right\",\"direction-up\",\"direction-down\"],optionTitles:[\"Left\",\"Right\",\"Top\",\"Bottom\"],defaultValue:\"left\",displaySegmentedControl:true},alignment:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionIcons:{direction:{right:[\"align-top\",\"align-middle\",\"align-bottom\"],left:[\"align-top\",\"align-middle\",\"align-bottom\"],top:[\"align-left\",\"align-center\",\"align-right\"],bottom:[\"align-left\",\"align-center\",\"align-right\"]}},defaultValue:\"center\",displaySegmentedControl:true},gap:{type:ControlType.Number,title:\"Gap\"},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},sizingOptions:{type:ControlType.Object,title:\"Sizing\",controls:{widthType:{type:ControlType.Boolean,title:\"Width\",enabledTitle:\"Auto\",disabledTitle:\"Stretch\",defaultValue:true},heightType:{type:ControlType.Boolean,title:\"Height\",enabledTitle:\"Auto\",disabledTitle:\"Stretch\",defaultValue:true}}},fadeOptions:{type:ControlType.Object,title:\"Clipping\",controls:{fadeContent:{type:ControlType.Boolean,title:\"Fade\",defaultValue:true},overflow:{type:ControlType.Boolean,title:\"Overflow\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false,hidden(props){return props.fadeContent===true;}},fadeWidth:{type:ControlType.Number,title:\"Width\",defaultValue:25,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeInset:{type:ControlType.Number,title:\"Inset\",defaultValue:0,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeAlpha:{type:ControlType.Number,title:\"Opacity\",defaultValue:0,min:0,max:1,step:.05,hidden(props){return props.fadeContent===false;}}}},hoverFactor:{type:ControlType.Number,title:\"Hover\",min:0,max:1,unit:\"x\",defaultValue:1,step:.1,displayStepper:true,description:\"Slows down the speed while you are hovering.\"}});/* Placeholder Styles */const containerStyle={display:\"flex\",width:\"100%\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\",placeItems:\"center\",margin:0,padding:0,listStyleType:\"none\",textIndent:\"none\"};/* Styles */const placeholderStyles={display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",color:\"#96F\",background:\"rgba(136, 85, 255, 0.1)\",fontSize:11,overflow:\"hidden\",padding:\"20px 20px 30px 20px\"};const emojiStyles={fontSize:32,marginBottom:10};const titleStyles={margin:0,marginBottom:10,fontWeight:600,textAlign:\"center\"};const subtitleStyles={margin:0,opacity:.7,maxWidth:150,lineHeight:1.5,textAlign:\"center\"};/* Clamp function, used for fadeInset */const clamp=(num,min,max)=>Math.min(Math.max(num,min),max);const isValidNumber=value=>typeof value===\"number\"&&!isNaN(value);function useWritingDirection(){if(!window||!window.document||!window.document.documentElement)return\"ltr\";return window.document.documentElement.dir===\"rtl\"?\"rtl\":\"ltr\";}function getTickerResolvedDirection(direction,writingDirection){if(writingDirection!==\"rtl\")return direction;if(direction===\"left\")return\"right\";if(direction===\"right\")return\"left\";return direction;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Ticker\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ticker.map","// Line Draw Component with scroll-based and viewport-triggered animation modes\n// Supports SVG path drawing with customizable stroke, colors, transitions, and scroll triggers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useMemo,startTransition}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{motion,useInView,useScroll,useTransform,useMotionValue}from\"framer-motion\";// Helper functions to convert SVG shapes to path data\nfunction lineToPath(x1,y1,x2,y2){return`M ${x1} ${y1} L ${x2} ${y2}`;}function circleToPath(cx,cy,r){const cxNum=parseFloat(cx);const cyNum=parseFloat(cy);const rNum=parseFloat(r);return`M ${cxNum-rNum} ${cyNum} A ${rNum} ${rNum} 0 1 0 ${cxNum+rNum} ${cyNum} A ${rNum} ${rNum} 0 1 0 ${cxNum-rNum} ${cyNum}`;}function ellipseToPath(cx,cy,rx,ry){const cxNum=parseFloat(cx);const cyNum=parseFloat(cy);const rxNum=parseFloat(rx);const ryNum=parseFloat(ry);return`M ${cxNum-rxNum} ${cyNum} A ${rxNum} ${ryNum} 0 1 0 ${cxNum+rxNum} ${cyNum} A ${rxNum} ${ryNum} 0 1 0 ${cxNum-rxNum} ${cyNum}`;}function rectToPath(x,y,width,height){const xNum=parseFloat(x);const yNum=parseFloat(y);const wNum=parseFloat(width);const hNum=parseFloat(height);return`M ${xNum} ${yNum} L ${xNum+wNum} ${yNum} L ${xNum+wNum} ${yNum+hNum} L ${xNum} ${yNum+hNum} Z`;}function polylineToPath(points){const coords=points.trim().split(/\\s+|,/).filter(p=>p);if(coords.length<2)return\"\";let path=`M ${coords[0]} ${coords[1]}`;for(let i=2;i<coords.length;i+=2){path+=` L ${coords[i]} ${coords[i+1]}`;}return path;}function polygonToPath(points){return polylineToPath(points)+\" Z\";}/**\n * Line Draw\n * \n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 400\n * \n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function LineDrawSVG(props){const{svgCode='<svg viewBox=\"0 0 100 100\"><path d=\"M10,50 Q30,10 50,50 T90,50\" fill=\"none\"/></svg>',mode=\"viewport\",strokeColor=\"#000000\",strokeWidth=2,lineCap=\"round\",lineJoin=\"round\",viewportAmount=.5,transition,replay=false,replayDelay=1,scrollStartId=\"\",scrollEndId=\"\"}=props;const containerRef=useRef(null);const svgRef=useRef(null);const[pathLengths,setPathLengths]=useState([]);const[isAnimating,setIsAnimating]=useState(false);const[replayKey,setReplayKey]=useState(0);const isStatic=useIsStaticRenderer();const isInView=useInView(containerRef,{amount:viewportAmount,once:!replay});// Scroll progress tracking\nconst scrollProgress=useMotionValue(0);const{scrollYProgress}=useScroll();const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Parse SVG and extract paths\nconst{viewBox,pathsData}=useMemo(()=>{if(typeof window===\"undefined\"){return{viewBox:\"0 0 100 100\",pathsData:[]};}const parser=new DOMParser;const doc=parser.parseFromString(svgCode,\"image/svg+xml\");const svg=doc.querySelector(\"svg\");if(!svg){return{viewBox:\"0 0 100 100\",pathsData:[]};}const vb=svg.getAttribute(\"viewBox\")||\"0 0 100 100\";const pathElements=Array.from(svg.querySelectorAll(\"path, polyline, polygon, line, circle, ellipse, rect\"));const extractedPaths=pathElements.map(path=>{const tagName=path.tagName.toLowerCase();const data={tagName};if(tagName===\"path\"){data.d=path.getAttribute(\"d\")||\"\";}else if(tagName===\"polyline\"||tagName===\"polygon\"){data.points=path.getAttribute(\"points\")||\"\";}else if(tagName===\"line\"){data.x1=path.getAttribute(\"x1\")||\"0\";data.y1=path.getAttribute(\"y1\")||\"0\";data.x2=path.getAttribute(\"x2\")||\"0\";data.y2=path.getAttribute(\"y2\")||\"0\";}else if(tagName===\"circle\"){data.cx=path.getAttribute(\"cx\")||\"0\";data.cy=path.getAttribute(\"cy\")||\"0\";data.r=path.getAttribute(\"r\")||\"0\";}else if(tagName===\"ellipse\"){data.cx=path.getAttribute(\"cx\")||\"0\";data.cy=path.getAttribute(\"cy\")||\"0\";data.rx=path.getAttribute(\"rx\")||\"0\";data.ry=path.getAttribute(\"ry\")||\"0\";}else if(tagName===\"rect\"){data.x=path.getAttribute(\"x\")||\"0\";data.y=path.getAttribute(\"y\")||\"0\";data.width=path.getAttribute(\"width\")||\"0\";data.height=path.getAttribute(\"height\")||\"0\";}return data;});return{viewBox:vb,pathsData:extractedPaths};},[svgCode]);// Calculate path lengths\nuseEffect(()=>{if(!svgRef.current||isStatic)return;const lengths=[];const pathElements=svgRef.current.querySelectorAll(\"path, polyline, polygon, line, circle, ellipse, rect\");pathElements.forEach(path=>{if(path instanceof SVGGeometryElement){const length=path.getTotalLength();lengths.push(length);}});startTransition(()=>setPathLengths(lengths));},[svgCode,isStatic]);// Handle scroll-based animation\nuseEffect(()=>{if(mode!==\"scroll\"||isStatic||typeof window===\"undefined\")return;const updateScrollProgress=()=>{const scrollY=window.scrollY;const windowHeight=window.innerHeight;let startElement=null;let endElement=null;// If no IDs are set, use the component itself as trigger\nif(!scrollStartId&&!scrollEndId){if(containerRef.current){const rect=containerRef.current.getBoundingClientRect();const elementTop=scrollY+rect.top;const elementBottom=elementTop+rect.height;const scrollStart=elementTop-windowHeight;const scrollEnd=elementBottom-windowHeight;const totalDistance=scrollEnd-scrollStart;const currentProgress=scrollY-scrollStart;const progress=Math.max(0,Math.min(1,currentProgress/totalDistance));scrollProgress.set(progress);}return;}if(scrollStartId){startElement=document.getElementById(scrollStartId);}if(scrollEndId){endElement=document.getElementById(scrollEndId);}if(!startElement){scrollProgress.set(0);return;}const startRect=startElement.getBoundingClientRect();const startTop=scrollY+startRect.top;const startBottom=startTop+startRect.height;let endTop=startBottom;if(endElement){const endRect=endElement.getBoundingClientRect();endTop=scrollY+endRect.top;}const scrollStart=startTop-windowHeight;const scrollEnd=endTop-windowHeight;const totalDistance=scrollEnd-scrollStart;const currentProgress=scrollY-scrollStart;const progress=Math.max(0,Math.min(1,currentProgress/totalDistance));scrollProgress.set(progress);};updateScrollProgress();window.addEventListener(\"scroll\",updateScrollProgress);window.addEventListener(\"resize\",updateScrollProgress);return()=>{window.removeEventListener(\"scroll\",updateScrollProgress);window.removeEventListener(\"resize\",updateScrollProgress);};},[mode,scrollStartId,scrollEndId,scrollProgress,isStatic]);// Handle viewport-based replay\nuseEffect(()=>{if(mode!==\"viewport\"||!replay||!isInView||isStatic)return;const timer=setTimeout(()=>{startTransition(()=>setReplayKey(prev=>prev+1));},replayDelay*1e3);return()=>clearTimeout(timer);},[isInView,replay,replayDelay,mode,isStatic]);// Trigger animation state\nuseEffect(()=>{if(mode===\"viewport\"){if(isInView){startTransition(()=>setIsAnimating(true));}else if(!replay){// Reset animation state when leaving viewport if replay is off\nstartTransition(()=>{setIsAnimating(false);setReplayKey(prev=>prev+1);});}}},[isInView,mode,replay]);if(pathsData.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#999\",fontSize:14},children:\"Invalid SVG\"});}return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"svg\",{ref:svgRef,viewBox:viewBox,style:{width:\"100%\",height:\"100%\",overflow:\"visible\"},children:pathsData.map((pathData,index)=>{const{tagName}=pathData;let pathD=\"\";if(tagName===\"path\"){pathD=pathData.d||\"\";}else if(tagName===\"polyline\"){pathD=polylineToPath(pathData.points||\"\");}else if(tagName===\"polygon\"){pathD=polygonToPath(pathData.points||\"\");}else if(tagName===\"line\"){pathD=lineToPath(pathData.x1||\"0\",pathData.y1||\"0\",pathData.x2||\"0\",pathData.y2||\"0\");}else if(tagName===\"circle\"){pathD=circleToPath(pathData.cx||\"0\",pathData.cy||\"0\",pathData.r||\"0\");}else if(tagName===\"ellipse\"){pathD=ellipseToPath(pathData.cx||\"0\",pathData.cy||\"0\",pathData.rx||\"0\",pathData.ry||\"0\");}else if(tagName===\"rect\"){pathD=rectToPath(pathData.x||\"0\",pathData.y||\"0\",pathData.width||\"0\",pathData.height||\"0\");}if(!pathD)return null;const pathLength=pathLengths[index]||1e3;// Show fully drawn SVG in canvas mode\nif(isCanvas){return /*#__PURE__*/_jsx(\"path\",{d:pathD,stroke:strokeColor,strokeWidth:strokeWidth,strokeLinecap:lineCap,strokeLinejoin:lineJoin,fill:\"none\"},index);}if(mode===\"viewport\"){return /*#__PURE__*/_jsx(motion.path,{d:pathD,stroke:strokeColor,strokeWidth:strokeWidth,strokeLinecap:lineCap,strokeLinejoin:lineJoin,fill:\"none\",strokeDasharray:pathLength,initial:{strokeDashoffset:pathLength},animate:{strokeDashoffset:isAnimating?0:pathLength},transition:transition||{duration:2,ease:\"easeInOut\"}},`${index}-${replayKey}`);}else{const drawProgress=useTransform(scrollProgress,[0,1],[pathLength,0]);return /*#__PURE__*/_jsx(motion.path,{d:pathD,stroke:strokeColor,strokeWidth:strokeWidth,strokeLinecap:lineCap,strokeLinejoin:lineJoin,fill:\"none\",strokeDasharray:pathLength,style:{strokeDashoffset:drawProgress}},index);}})})});}addPropertyControls(LineDrawSVG,{svgCode:{type:ControlType.String,title:\"SVG Code\",displayTextArea:true,defaultValue:'<svg viewBox=\"0 0 484 1819\"><path d=\"M462.869 23C29.3691 404.5 181.869 732 220.869 797C259.869 862 410.869 896.045 410.869 756.5C410.869 554.5 43.8593 567 31.3691 767.5C21.8691 920 198.369 1123 246.869 1389C285.669 1601.8 182.369 1748 125.869 1794.5\" fill=\"none\"/></svg>'},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"viewport\",\"scroll\"],optionTitles:[\"Viewport\",\"Scroll\"],defaultValue:\"viewport\",displaySegmentedControl:true},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#000000\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:20,min:.5,max:100,step:.5},lineCap:{type:ControlType.Enum,title:\"Line Cap\",options:[\"round\",\"butt\",\"square\"],optionTitles:[\"Round\",\"Cut\",\"Square\"],defaultValue:\"round\",displaySegmentedControl:true},lineJoin:{type:ControlType.Enum,title:\"Line Join\",options:[\"round\",\"miter\",\"bevel\"],optionTitles:[\"Round\",\"Miter\",\"Bevel\"],defaultValue:\"round\",displaySegmentedControl:true},viewportAmount:{type:ControlType.Number,title:\"Viewport Trigger\",defaultValue:.5,min:0,max:1,step:.1,hidden:({mode})=>mode!==\"viewport\"},transition:{type:ControlType.Transition,title:\"Transition\",hidden:({mode})=>mode!==\"viewport\"},replay:{type:ControlType.Boolean,title:\"Replay\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:({mode})=>mode!==\"viewport\"},replayDelay:{type:ControlType.Number,title:\"Replay Delay\",defaultValue:1,min:0,max:10,step:.5,unit:\"s\",hidden:({mode,replay})=>mode!==\"viewport\"||!replay},scrollStartId:{type:ControlType.String,title:\"Start Section ID\",defaultValue:\"\",placeholder:\"section-id\",hidden:({mode})=>mode!==\"scroll\"},scrollEndId:{type:ControlType.String,title:\"End Section ID\",defaultValue:\"\",placeholder:\"section-id\",hidden:({mode})=>mode!==\"scroll\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LineDrawSVG\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"400\",\"framerIntrinsicHeight\":\"400\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LineDrawSVG.map","/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n"],"mappings":"weASG,SAAwB,EAAO,EAAM,CAAY,GAAG,CAAC,QAAM,CAAC,EAAE,MAAI,UAAQ,iBAAe,aAAW,eAAa,iBAAc,cAAY,QAAM,cAAY,YAAU,YAAU,gBAAc,cAAY,SAAO,EAAW,CAAC,eAAY,YAAS,YAAU,YAAU,aAAW,EAAiB,CAAC,YAAU,cAAY,EAAoB,EAAa,EAAe,GAAG,EAAW,KAAK,EAAa,KAAK,GAAc,KAAK,EAAY,IAAI,GAAG,EAAQ,IAAsB,GAAc,EAAa,QAAQ,EAAQ,EAAS,KAAgB,EAAa,QAAQ,KAAgB,EAAa,OAAa,EAAiB,EAAoB,EACxnB,EAAc,EAAM,OAAO,OAAO,EAAQ,GAAYA,EAAS,MAAM,CAAa,EAAQ,EAAY,GAAY,EAAQ,GAAO,GAAe,CAAC,EAAQ,GAAkB,EAA2B,IAAY,GAAK,OAAO,EAAU,CAAgB,EAAQ,EAAa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