{"version":3,"file":"SVGPathShimmer_Prod.CFDPP7d1.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Children","useState","useRef","useMemo","UtilsComponentMessage","__esmMin","init_npm_react_18_3_1","ie","x","oe","j","pe","ce","J","c","p","_e","de","motion","useInView","LayoutGroup","animate","useTransform","MotionConfigContext","useMotionValue","init_framer_motion_DhsWWWsN","cx","withCSS","RenderTarget","addFonts","addPropertyControls","RichText","useVariantState","init_framer_BEr93sCn","useLocaleInfo","useComponentViewport","SVG","ControlType","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","FramerW7oLCU4_B","init_W7oLCU4_B","init_jsx_runtime","config","transition","value","contextValue","props","subtitle","title","variants","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","yeAnKbEUZ","WuF2iG84P","init_Utils_Component_Message_ZVoG","SVGPathShimmer","isCanvas","hasChildren","mode","layer","reverse","direction","loop","loopMode","shapeTransition","loopDelay","svgContent","setSvgContent","isLoading","setIsLoading","loadingError","setLoadingError","currentAnimation","setCurrentAnimation","isInView","replay","progressMotionValue","scale","setScale","padding","setPadding","originalSize","setOriginalSize","containerRef","hasSvg","runAnimation","latest","fetchSVG","url","svgType","svgImage","svgFile","content","loadAndValidateSVG","trigger","measureSvg","svg","container","updateScale","containerWidth","containerHeight","newScale","newPadding","resizeObserver","svgElement","svgContents","svgViewbox","viewboxWidth","viewboxHeight","start","length","end","parsedSvgData","doc","path","width","height","parsedLayerData","svgChild","getFirstChild","attributes","pathD","stroke","strokeWidth","strokeLinecap","strokeLinejoin","element","splitAndReplace","viewBox","viewBoxWidth","viewBoxHeight","opacity","transformOpacity","strokeDashoffsetTransform","baseColor","shimmerColor","firstChild","slots","child","string","text","error","input","lowerThreshold","Mode","SVGType","init_SVGPathShimmer_Prod","\"Layer\"","\"SVG\"","\"Image\"","\"File\""],"sources":["https:/framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/DE91ZNrPshQbFJysFrO4/W7oLCU4_B.js","https:/framer.com/m/Utils-Component-Message-ZVoG.js","https:/framerusercontent.com/modules/IT2yoWfYkMOUw1y7WouH/cLHux5WXn78o6KzYK382/SVGPathShimmer_Prod.js"],"sourcesContent":["// Generated by Framer (1bcc82d)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const serializationHash=\"framer-ZpfHZ\";const variantClassNames={XvqTw0Be9:\"framer-v-jjcw9a\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,subtitle,title,width,...props})=>{return{...props,WuF2iG84P:subtitle??props.WuF2iG84P??\"Set up the component by adding background and bouncer elements to the component properties.\",yeAnKbEUZ:title??props.yeAnKbEUZ??\"Screen Saver\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,yeAnKbEUZ,WuF2iG84P,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"XvqTw0Be9\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-jjcw9a\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"XvqTw0Be9\",ref:refBinding,style:{backgroundColor:\"rgba(136, 85, 255, 0.1)\",...style},children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-uh2i08\",layoutDependency:layoutDependency,layoutId:\"aM7oiNoFL\",children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-flw0dh\",\"data-framer-name\":\"Logo\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"GthLmGmBt\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 28 28\"><g><path d=\"M 0 0 L 28 0 L 28 28 L 0 28 Z\" fill=\"transparent\"></path><path d=\"M 21 7.113 C 21 7.041 21.029 6.971 21.079 6.921 L 27.534 0.465 C 27.613 0.388 27.73 0.365 27.831 0.407 C 27.933 0.449 28 0.548 28 0.658 L 28 13.888 C 28 13.96 27.971 14.028 27.921 14.079 L 21 21 Z M 7 21 L 7 7.658 C 7 7.548 6.933 7.449 6.831 7.407 C 6.73 7.365 6.613 7.388 6.534 7.465 L 0.079 13.921 C 0.028 13.972 0 14.041 0 14.113 L 0 27.728 C 0 27.877 0.122 28 0.273 28 L 13.888 28 C 13.96 28 14.028 27.971 14.079 27.921 L 21 21 Z\" fill=\"rgb(153, 102, 255)\"></path></g></svg>',svgContentId:11036020200,withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-k3ullq\",layoutDependency:layoutDependency,layoutId:\"E3DQBYSAf\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItQm9sZA==\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"11px\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(153, 102, 255))\"},children:\"Screen Saver\"})}),className:\"framer-q0gs4u\",\"data-framer-name\":\"Title\",fonts:[\"Inter-Bold\"],layoutDependency:layoutDependency,layoutId:\"UqJwZqJjg\",style:{\"--extracted-r6o4lv\":\"rgb(153, 102, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:yeAnKbEUZ,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-font-size\":\"11px\",\"--framer-letter-spacing\":\"-0.03em\",\"--framer-line-height\":\"1.4em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(153, 102, 255, 0.7))\"},children:\"Set up the component by adding background and bouncer elements to the component properties.\"})}),className:\"framer-g5dqhc\",\"data-framer-name\":\"Subtitle\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"RJ7UF99m8\",style:{\"--extracted-r6o4lv\":\"rgba(153, 102, 255, 0.7)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:WuF2iG84P,verticalAlignment:\"top\",withExternalLayout:true})]})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ZpfHZ.framer-qanqo2, .framer-ZpfHZ .framer-qanqo2 { display: block; }\",\".framer-ZpfHZ.framer-jjcw9a { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 200px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 400px; }\",\".framer-ZpfHZ .framer-uh2i08 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 1px; }\",\".framer-ZpfHZ .framer-flw0dh { flex: none; height: 28px; position: relative; width: 28px; }\",\".framer-ZpfHZ .framer-k3ullq { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: center; max-width: 200px; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-ZpfHZ .framer-q0gs4u, .framer-ZpfHZ .framer-g5dqhc { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 200\n * @framerIntrinsicWidth 400\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"yeAnKbEUZ\":\"title\",\"WuF2iG84P\":\"subtitle\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerW7oLCU4_B=withCSS(Component,css,\"framer-ZpfHZ\");export default FramerW7oLCU4_B;FramerW7oLCU4_B.displayName=\"Utils/Component Message\";FramerW7oLCU4_B.defaultProps={height:200,width:400};addPropertyControls(FramerW7oLCU4_B,{yeAnKbEUZ:{defaultValue:\"Screen Saver\",displayTextArea:false,title:\"Title\",type:ControlType.String},WuF2iG84P:{defaultValue:\"Set up the component by adding background and bouncer elements to the component properties.\",displayTextArea:false,title:\"Subtitle\",type:ControlType.String}});addFonts(FramerW7oLCU4_B,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/VgYFWiwsAC5OYxAycRXXvhze58.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/DXD0Q7LSl7HEvDzucnyLnGBHM.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/GIryZETIX4IFypco5pYZONKhJIo.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerW7oLCU4_B\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"400\",\"framerIntrinsicHeight\":\"200\",\"framerVariables\":\"{\\\"yeAnKbEUZ\\\":\\\"title\\\",\\\"WuF2iG84P\\\":\\\"subtitle\\\"}\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./W7oLCU4_B.map","/*\n * Utils/Component Message\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/DE91ZNrPshQbFJysFrO4/W7oLCU4_B.js\"\nexport { default } from \"https://framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/DE91ZNrPshQbFJysFrO4/W7oLCU4_B.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{Children,useEffect,useState,useMemo,useRef,cloneElement}from\"react\";import{motion,useInView,animate,useMotionValue,useTransform}from\"framer-motion\";import UtilsComponentMessage from\"https://framer.com/m/Utils-Component-Message-ZVoG.js\";var Mode;(function(Mode){Mode[\"Layer\"]=\"layer\";Mode[\"SVG\"]=\"svg\";})(Mode||(Mode={}));var SVGType;(function(SVGType){SVGType[\"Image\"]=\"image\";SVGType[\"File\"]=\"file\";})(SVGType||(SVGType={}));/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n * @framerDisableUnlink\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 200\n */export default function SVGPathShimmer({mode,layer,svgType,svgImage,svgFile,baseColor,shimmerColor,length,transition,direction,loopMode,loopDelay,trigger,replay,style}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const hasChildren=mode===\"layer\"?Children.count(layer)>0:false;const reverse=direction===\"reverse\";const loop=loopMode!==\"once\";const shapeTransition={...transition,repeat:loop?Infinity:0,repeatType:loopMode===\"mirror\"?\"reverse\":loopMode,repeatDelay:loop?loopDelay:0};const[svgContent,setSvgContent]=useState(null);const[isLoading,setIsLoading]=useState(false);const[loadingError,setLoadingError]=useState(null);const[currentAnimation,setCurrentAnimation]=useState(null);const ref=useRef(null);const isInView=useInView(ref,{once:!replay&&!loop,amount:\"some\"});const progressMotionValue=useMotionValue(0);const[scale,setScale]=useState(1);const[padding,setPadding]=useState({horizontal:0,vertical:0});const[originalSize,setOriginalSize]=useState({width:0,height:0});const containerRef=useRef(null);const hasSvg=mode===\"svg\"?!!svgContent:hasChildren;const runAnimation=()=>{if(isCanvas)return;if(currentAnimation){currentAnimation.stop();}setCurrentAnimation(animate(0,1,{...shapeTransition,onUpdate:latest=>{progressMotionValue.set(latest);}}));};useEffect(()=>{async function fetchSVG(){if(mode!==\"svg\")return;setIsLoading(true);setLoadingError(null);setSvgContent(null);const url=svgType===\"image\"?svgImage?.src:svgFile;if(!url){setIsLoading(false);return;}const content=await loadAndValidateSVG(url);if(!content){setLoadingError(true);setIsLoading(false);return;}setSvgContent(content);setIsLoading(false);}fetchSVG();},[mode,svgType,svgType===\"image\"?svgImage?.src:svgFile]);useEffect(()=>{if(trigger===\"appear\"){runAnimation();}// Add cleanup function\nreturn()=>{if(currentAnimation){currentAnimation.stop();}};},[trigger,hasSvg]);useEffect(()=>{if(trigger===\"layerInView\"){if(isInView&&hasSvg){runAnimation();}else{if(currentAnimation){currentAnimation.stop();}progressMotionValue.set(0);}}},[isInView,trigger,hasSvg]);// First effect to capture original SVG size once ref is available\nuseEffect(()=>{if(!isCanvas||mode!==\"layer\"||!hasChildren)return;// Use rAF to ensure we measure after the ref is attached\nconst measureSvg=()=>{const svg=containerRef.current?.querySelector(\"div:has(> svg)\");if(!svg){requestAnimationFrame(measureSvg);return;}setOriginalSize({width:svg.offsetWidth,height:svg.offsetHeight});};requestAnimationFrame(measureSvg);},[isCanvas,mode,hasChildren]);// Second effect to handle resize observation\nuseEffect(()=>{if(!isCanvas||mode!==\"layer\"||!hasChildren||!containerRef.current)return;const container=containerRef.current;const updateScale=()=>{const containerWidth=container.offsetWidth;const containerHeight=container.offsetHeight;let newScale=1;const newPadding={horizontal:0,vertical:0};// Only proceed with scaling if we have the dimensions we need\nif(style?.width&&style?.height){if(originalSize.width&&originalSize.height){newScale=Math.min(containerWidth/originalSize.width,containerHeight/originalSize.height);}}else if(style?.width){if(originalSize.width){newScale=containerWidth/originalSize.width;newPadding.vertical=(containerHeight*newScale-containerHeight)/2;}}else if(style?.height){if(originalSize.height){newScale=containerHeight/originalSize.height;newPadding.horizontal=(containerWidth*newScale-containerWidth)/2;}}setScale(newScale);setPadding(newPadding);};const resizeObserver=new ResizeObserver(updateScale);resizeObserver.observe(container);updateScale()// Initial calculation\n;return()=>{resizeObserver.disconnect();};},[isCanvas,mode,hasChildren,originalSize.width,originalSize.height,style?.width,style?.height]);let svgElement=null;let svgContents=null;let svgViewbox=\"\";let viewboxWidth=0;let viewboxHeight=0;const start=100+length+length;const end=length;const parsedSvgData=useMemo(()=>{if(mode!==\"svg\"||!svgContent||isLoading){return null;}const parser=new DOMParser;const doc=parser.parseFromString(svgContent,\"image/svg+xml\");const svg=doc.querySelector(\"svg\");const path=doc.querySelector(\"path\");if(!svg||!path){return null;}const width=parseFloat(svg.getAttribute(\"width\")||\"100\");const height=parseFloat(svg.getAttribute(\"height\")||\"100\");const viewBox=svg.getAttribute(\"viewBox\")||`0 0 ${width} ${height}`;const pathD=path.getAttribute(\"d\")||\"\";const stroke=path.getAttribute(\"stroke\")||\"transparent\";const strokeWidth=path.getAttribute(\"stroke-width\")||\"1\";const strokeLinecap=path.getAttribute(\"stroke-linecap\")||\"round\";const strokeLinejoin=path.getAttribute(\"stroke-linejoin\")||\"round\";return{width,height,viewBox,pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin};},[mode,svgContent,isLoading]);const parsedLayerData=useMemo(()=>{if(mode!==\"layer\"||!hasChildren||isCanvas){return null;}const firstChild=getFirstChild(layer);const svgChild=getFirstChild(firstChild?.props?.svg);if(!svgChild){return null;}const attributes=svgChild.match(/[\\w-]+=\"[^\"]*\"/g);let pathD;let stroke;let strokeWidth;let strokeLinecap;let strokeLinejoin;for(const element of attributes){if(element.startsWith(\"d=\")){pathD=splitAndReplace(element);}if(element.startsWith(\"stroke=\")){stroke=splitAndReplace(element);}if(element.startsWith(\"stroke-width=\")){strokeWidth=splitAndReplace(element);}if(element.startsWith(\"stroke-linecap=\")){strokeLinecap=splitAndReplace(element);}if(element.startsWith(\"stroke-linejoin=\")){strokeLinejoin=splitAndReplace(element);}}const viewBoxMatch=svgChild.split(\"viewBox=\")[1];const viewBox=viewBoxMatch.split(\">\")[0].replace(/^\"(.+(?=\"$))\"$/,\"$1\");const viewBoxWidth=parseFloat(viewBox.split(\" \")[2]);const viewBoxHeight=parseFloat(viewBox.split(\" \")[3]);return{pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin,viewBox,viewBoxWidth,viewBoxHeight};},[mode,layer,hasChildren,isCanvas]);const opacity=useTransform(progressMotionValue,value=>{const strokeLinecap=mode===\"svg\"?parsedSvgData?.strokeLinecap:parsedLayerData?.strokeLinecap;if(strokeLinecap===\"round\"||strokeLinecap===\"square\"){return transformOpacity(value);}return 1;});const strokeDashoffsetTransform=useTransform(progressMotionValue,[0,1],reverse?[end,start]:[start,end]);if(mode===\"svg\"){if(!isLoading&&svgContent&&parsedSvgData){const{width,height,viewBox,pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin}=parsedSvgData;viewboxWidth=width;viewboxHeight=height;svgViewbox=viewBox;svgContents=[/*#__PURE__*/_jsx(\"path\",{d:pathD,stroke:baseColor||stroke,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\"}),/*#__PURE__*/_jsx(motion.path,{style:{strokeDashoffset:strokeDashoffsetTransform},strokeDasharray:`${length} 100`,d:pathD,stroke:shimmerColor,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\",pathLength:100,opacity:opacity})];}}else if(hasChildren){if(isCanvas){svgElement=getFirstChild(layer);}else if(parsedLayerData){const{pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin,viewBox,viewBoxWidth,viewBoxHeight}=parsedLayerData;svgViewbox=viewBox;viewboxWidth=viewBoxWidth;viewboxHeight=viewBoxHeight;svgContents=[/*#__PURE__*/_jsx(\"path\",{d:pathD,stroke:stroke,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\"}),/*#__PURE__*/_jsx(motion.path,{style:{strokeDashoffset:strokeDashoffsetTransform},strokeDasharray:`${length} 100`,d:pathD,stroke:shimmerColor,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\",pathLength:100,opacity:opacity})];}}// Apply the scale and padding after they're calculated\nif(svgElement&&isCanvas){svgElement=/*#__PURE__*/cloneElement(svgElement,{style:{transform:`scale(${scale})`,transformOrigin:\"center\",...svgElement.props.style}});}return svgElement||svgContents?/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",placeContent:\"center\",placeItems:\"center\",backgroundColor:\"transparent\",overflow:\"hidden\",position:\"relative\",paddingLeft:padding.horizontal,paddingRight:padding.horizontal,paddingTop:padding.vertical,paddingBottom:padding.vertical,...style},children:/*#__PURE__*/_jsx(\"div\",{\"data-tag-here\":true,ref:containerRef,style:{display:\"flex\",placeContent:\"center\",placeItems:\"center\",backgroundColor:\"transparent\",position:\"relative\",...style},children:svgElement||/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:svgViewbox,style:{width:style?.width??(style?.height?\"auto\":viewboxWidth),height:style?.height??(style?.width?\"auto\":viewboxHeight)},children:svgContents})})}):mode===\"svg\"&&!isLoading&&!svgContent&&!(svgType===\"image\"?svgImage?.src:svgFile)||mode===\"layer\"&&!hasChildren?/*#__PURE__*/_jsx(\"div\",{ref:ref,style:style,children:/*#__PURE__*/_jsx(UtilsComponentMessage,{style:style,title:loadingError?\"Error loading SVG\":\"SVG Path Shimmer\",subtitle:loadingError?\"Invalid SVG file. Please provide a valid SVG.\":\"Connect a graphic layer using the handle or upload an SVG file.\"})}):/*#__PURE__*/_jsx(\"div\",{ref:ref,style:style});}SVGPathShimmer.displayName=\"SVG Path Shimmer\";addPropertyControls(SVGPathShimmer,{mode:{type:ControlType.Enum,defaultValue:\"layer\",options:[\"layer\",\"svg\"],optionTitles:[\"Graphic\",\"SVG\"],displaySegmentedControl:true},layer:{type:ControlType.ComponentInstance,description:\"Select a Graphic layer\",hidden:props=>props.mode!==\"layer\"},svgType:{type:ControlType.Enum,defaultValue:\"image\",options:[\"image\",\"file\"],optionTitles:[\"Image\",\"File\"],displaySegmentedControl:true,title:\"SVG Type\",hidden:props=>props.mode!==\"svg\"},svgImage:{type:ControlType.ResponsiveImage,title:\"SVG\",description:\"Must be an SVG file\",hidden:props=>props.mode!==\"svg\"||props.svgType!==\"image\"},svgFile:{type:ControlType.File,allowedFileTypes:[\"svg\"],title:\"SVG\",description:\"Must be an SVG file\",hidden:props=>props.mode!==\"svg\"||props.svgType!==\"file\"},baseColor:{type:ControlType.Color,optional:true,title:\"Color\",hidden:props=>props.mode!==\"svg\"},shimmerColor:{type:ControlType.Color,title:\"Shimmer\",defaultValue:\"#0099FF\"},length:{type:ControlType.Number,defaultValue:20,min:0,max:100,step:1,unit:\"%\"},transition:{type:ControlType.Transition,defaultValue:{type:\"tween\",ease:[0,0,1,1],duration:2,delay:0}},trigger:{type:ControlType.Enum,defaultValue:\"appear\",options:[\"appear\",\"layerInView\"],optionTitles:[\"Appear\",\"Layer in View\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},loopMode:{type:ControlType.Enum,defaultValue:\"loop\",options:[\"loop\",\"mirror\",\"once\"],optionTitles:[\"Loop\",\"Mirror\",\"Once\"],displaySegmentedControl:true,title:\"Animation\"},loopDelay:{type:ControlType.Number,defaultValue:0,min:0,max:60,step:.1,hidden:props=>props.loopMode===\"once\"},replay:{type:ControlType.Boolean,defaultValue:true,hidden:props=>props.trigger!==\"layerInView\"||props.loopMode!==\"once\"},direction:{type:ControlType.Enum,defaultValue:\"default\",options:[\"default\",\"reverse\"],optionTitles:[\"Default\",\"Reverse\"],displaySegmentedControl:true,description:\"More components at [Framer University](https://frameruni.link/cc).\"}});function getFirstChild(slots){let firstChild;Children.map(slots,child=>{if(firstChild===undefined){firstChild=child;}});return firstChild;}function splitAndReplace(string){return string.split(\"=\")[1].replace(/['\"]+/g,\"\");}async function loadAndValidateSVG(url){try{const response=await fetch(url);const text=await response.text();// Basic validation that it's an SVG\nif(!text.includes(\"<svg\")||!text.includes(\"</svg>\")){return null;}return text;}catch(error){console.error(\"Error loading SVG:\",error);return null;}}function transformOpacity(input){// Ensure input is within the valid range\nif(input<0||input>1){return 0;}const lowerThreshold=.01;const upperThreshold=1-lowerThreshold;if(input<=lowerThreshold){// Linear interpolation from 0 to 1 for inputs between 0 and 0.025\nreturn input/lowerThreshold;}else if(input>=upperThreshold){// Linear interpolation from 1 to 0 for inputs between 0.975 and 1\nreturn(1-input)/lowerThreshold;}else{// All values between 0.025 and 0.975 return 1\nreturn 1;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SVGPathShimmer\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SVGPathShimmer_Prod.map"],"mappings":"A,mdAC+T,EAAkB,eAAqB,EAAkB,CAAC,UAAU,iBAAiB,EAA+L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAMsD,EAAOtD,EAAiB6B,CAAmB,EAAQ0B,EAAWC,GAAOF,EAAO,WAAiBG,EAAaxD,OAAmB,CAAC,GAAGqD,EAAO,YAAU,GAAG,CAAC,KAAK,UAAUC,CAAU,CAAC,CAAC,EAAE,MAAoB,gBAAK1B,EAAoB,SAAS,CAAC,MAAM4B,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAASjC,EAAO,OAAOtB,CAAc,EAAQ,GAAU,CAAC,SAAO,KAAG,WAAS,QAAM,QAAM,GAAGwD,MAAgB,CAAC,GAAGA,EAAM,UAAUC,GAAUD,EAAM,WAAW,8FAA8F,UAAUE,GAAOF,EAAM,WAAW,cAAc,GAAU,GAAwB,EAAM,IAAeA,EAAM,iBAAwBG,EAAS,KAAK,GAAG,EAAEH,EAAM,iBAAwBG,EAAS,KAAK,GAAG,EAWv4C,EAAgB5B,EAXw5C9B,kBAAiB,SAAS,EAAM,EAAI,CAAC,IAAM2D,EAAY1D,EAAO,IAAI,EAAQ2D,EAAWC,GAAKF,EAAkBG,EAAgB5D,EAAY,EAAO,CAAC,eAAa,aAAWmC,EAAc,EAA0BC,GAAqB,E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