{"version":3,"file":"fIoJplDL7.B4wHT-Rx.mjs","names":["useMemo","patternWidth"],"sources":["https:/framerusercontent.com/modules/ovMYgDwRMeLGoqpHDNAF/gjYhowwknowXOhxsGYnU/DashedLineScroller.js","https:/framerusercontent.com/modules/hNDb9YwFcP3KDgwwGoJZ/Uxq94r6c2AAMad6WFhAK/fIoJplDL7.js"],"sourcesContent":["// Animated dashed line with infinite horizontal scrolling\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useMemo}from\"react\";/**\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 5\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight fixed\n */export default function DashedLineScroller(props){const{thickness=4,dashColor=\"#000000\",dashLength=20,gapLength=10,dashCount=50,animationSpeed=5}=props;const isStatic=useIsStaticRenderer();// Ensure minimum thickness of 5px for canvas visibility\nconst actualThickness=Math.max(thickness,5);const{totalWidth,patternWidth}=useMemo(()=>{const patternWidth=dashLength+gapLength;const totalWidth=patternWidth*dashCount;return{totalWidth,patternWidth};},[dashLength,gapLength,dashCount]);const dashes=useMemo(()=>{return Array.from({length:dashCount*2},(_,i)=>/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:i*(dashLength+gapLength),top:0,width:dashLength,height:actualThickness,backgroundColor:dashColor}},i));},[dashCount,dashLength,gapLength,actualThickness,dashColor]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:Math.max(actualThickness,5),minHeight:5,overflow:\"hidden\",position:\"relative\",...props.style},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:0,left:0,width:totalWidth*2,height:actualThickness},animate:isStatic?{}:{x:[-patternWidth,0]},transition:{duration:animationSpeed,repeat:Infinity,ease:\"linear\"},children:dashes})});}addPropertyControls(DashedLineScroller,{thickness:{type:ControlType.Number,title:\"Thickness\",defaultValue:4,max:100,step:.1,unit:\"px\"},dashColor:{type:ControlType.Color,title:\"Dash Color\",defaultValue:\"#000000\"},dashLength:{type:ControlType.Number,title:\"Dash Length\",defaultValue:20,max:100,step:1,unit:\"px\"},gapLength:{type:ControlType.Number,title:\"Gap Length\",defaultValue:10,max:50,step:1,unit:\"px\"},dashCount:{type:ControlType.Number,title:\"Dash Count\",defaultValue:50,max:200,step:1},animationSpeed:{type:ControlType.Number,title:\"Animation Speed\",defaultValue:5,max:20,step:.1,unit:\"s\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DashedLineScroller\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"5\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DashedLineScroller.map","// Generated by Framer (ba156f5)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;JetBrains Mono-700\",\"GF;JetBrains Mono-800\",\"GF;JetBrains Mono-800italic\",\"GF;JetBrains Mono-700italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"JetBrains Mono\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/jetbrainsmono/v23/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8L6tjOFmUsaaDhw.woff2\",weight:\"700\"},{family:\"JetBrains Mono\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/jetbrainsmono/v23/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8SKtjOFmUsaaDhw.woff2\",weight:\"800\"},{family:\"JetBrains Mono\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/jetbrainsmono/v23/tDba2o-flEEny0FZhsfKu5WU4xD-IQ-PuZJJXxfpAO8LeVOVk6OThxPA.woff2\",weight:\"800\"},{family:\"JetBrains Mono\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/jetbrainsmono/v23/tDba2o-flEEny0FZhsfKu5WU4xD-IQ-PuZJJXxfpAO9seVOVk6OThxPA.woff2\",weight:\"700\"}]}];export const css=['.framer-cvcuU .framer-styles-preset-zhei5v:not(.rich-text-wrapper), .framer-cvcuU .framer-styles-preset-zhei5v.rich-text-wrapper p { --framer-font-family: \"JetBrains Mono\", monospace; --framer-font-family-bold: \"JetBrains Mono\", monospace; --framer-font-family-bold-italic: \"JetBrains Mono\", monospace; --framer-font-family-italic: \"JetBrains Mono\", monospace; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 800; --framer-font-weight-bold-italic: 800; --framer-font-weight-italic: 700; --framer-letter-spacing: 1px; --framer-line-height: 110%; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }'];export const className=\"framer-cvcuU\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"0OAMG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,YAAU,EAAE,YAAU,UAAU,aAAW,GAAG,YAAU,GAAG,YAAU,GAAG,iBAAe,GAAG,EAAY,EAAS,GAAqB,CACzL,EAAgB,KAAK,IAAI,EAAU,EAAE,CAAM,CAAC,aAAW,gBAAcA,MAAY,CAAC,IAAMC,EAAa,EAAW,EAAkD,MAAM,CAAC,WAA9BA,EAAa,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