{"version":3,"file":"BorderBeamFrame.BmSAdRYL.mjs","names":["useRef","useId","useState","startTransition","Children"],"sources":["https:/framerusercontent.com/modules/wIpxML6mm0VVRCKa0hTP/Rp2nZELQxM9v9ShYenf8/BorderBeamFrame.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Children,cloneElement,isValidElement,startTransition,useEffect,useId,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{animate,useMotionValue}from\"framer-motion\";const palettes={water:[\"#54D7FF\",\"#2F6EFF\",\"#8B7CFF\"],colorful:[\"#FF3264\",\"#28BCAA\",\"#8255FF\"],mono:[\"#FFFFFF\",\"#B9C1CC\",\"#FFFFFF\"],sunset:[\"#FFD257\",\"#FF7849\",\"#F13C79\"]};const defaultPauseTransition={type:\"tween\",duration:1.1,ease:[.22,1,.36,1]};const componentCSS=`\n@property --bbf-progress {\n    syntax: \"<number>\";\n    initial-value: 0;\n    inherits: true;\n}\n@keyframes bbf-pulse-path {\n    0%, 100% { opacity: calc(var(--bbf-strength) * 0.34); }\n    50% { opacity: var(--bbf-strength); }\n}\n.bbf-content > * {\n    width: 100% !important;\n    height: 100% !important;\n}\n@media (prefers-reduced-motion: reduce) {\n    [data-border-beam-frame] .bbf-motion {\n        animation: none !important;\n    }\n}\n`;function clamp(value,min,max){return Math.max(min,Math.min(max,value));}function radiusToPixels(value,width,height){const firstValue=value.trim().split(/[\\s/]+/)[0]||\"0\";const limit=Math.max(0,Math.min(width,height)/2);const parsed=Number.parseFloat(firstValue);if(!Number.isFinite(parsed))return 0;if(firstValue.endsWith(\"%\"))return clamp(parsed/100*limit*2,0,limit);return clamp(parsed,0,limit);}function colorAt(colors,progress){const t=clamp(progress,0,1);if(t<=.5){const mix=Math.round(t*200);return`color-mix(in srgb, ${colors[0]} ${100-mix}%, ${colors[1]} ${mix}%)`;}const mix=Math.round((t-.5)*200);return`color-mix(in srgb, ${colors[1]} ${100-mix}%, ${colors[2]} ${mix}%)`;}function curveAt(progress,curve){const t=clamp(progress,0,1);if(curve===\"smooth\")return t*t*(3-2*t);if(curve===\"ease-in\")return t*t;if(curve===\"ease-out\")return 1-(1-t)*(1-t);return t;}function opacityAt(opacities,progress,curve){const t=clamp(progress,0,1);const start=clamp(opacities[0],0,1);const middle=clamp(opacities[1],0,1);const end=clamp(opacities[2],0,1);if(t<=.5){const local=curveAt(t*2,curve);return start+(middle-start)*local;}const local=curveAt((t-.5)*2,curve);return middle+(end-middle)*local;}function createSegments(colors,opacities,opacityCurve,beamLength,segmentCount){const count=Math.max(2,Math.round(segmentCount));const slice=beamLength/count;const overlap=Math.min(.16,slice*.16);return Array.from({length:count},(_,index)=>{const progress=(index+.5)/count;return{color:colorAt(colors,progress),dashLength:slice+overlap,dashStart:-(index*slice),opacity:opacityAt(opacities,progress,opacityCurve)};});}/**\n * Border Beam Frame\n *\n * A reusable parent frame that moves a gradient beam at constant speed along\n * the true rounded perimeter of one slotted Frame, Stack, or Component.\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 40\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function BorderBeamFrame(props){const{content,mode=\"orbit\",palette=\"water\",colorStart=\"#54D7FF\",colorMid=\"#2F6EFF\",colorEnd=\"#8B7CFF\",duration=2.8,direction=\"normal\",beamLength=22,borderWidth=1.5,opacityStart=.04,opacityMid=1,opacityEnd=.04,opacityCurve=\"smooth\",borderRadius=\"999px\",glow=7,glowSpread=2,glowSide=\"inner\",glowColorMode=\"beam\",glowColorStart=\"#54D7FF\",glowColorMid=\"#2F6EFF\",glowColorEnd=\"#8B7CFF\",glowStrength=.72,strength=.9,baseBorderColor=\"rgba(47, 110, 255, 0.18)\",active=true,pauseOnHover=false,pauseTransition=defaultPauseTransition,style}=props;const isStatic=useIsStaticRenderer();const rootRef=useRef(null);const filterId=useId().replace(/:/g,\"\");const orbitSpeed=useMotionValue(1);const orbitProgress=useRef(0);const[isVisible,setIsVisible]=useState(true);const[isHovered,setIsHovered]=useState(false);const[size,setSize]=useState({width:200,height:40});useEffect(()=>{if(typeof window===\"undefined\")return;const root=rootRef.current;if(!root)return;const updateSize=()=>{const rect=root.getBoundingClientRect();const width=Math.max(1,rect.width);const height=Math.max(1,rect.height);startTransition(()=>{setSize(current=>Math.abs(current.width-width)<.1&&Math.abs(current.height-height)<.1?current:{width,height});});};updateSize();if(typeof ResizeObserver===\"undefined\")return;const observer=new ResizeObserver(updateSize);observer.observe(root);return()=>observer.disconnect();},[]);useEffect(()=>{if(isStatic||typeof window===\"undefined\")return;const root=rootRef.current;if(!root||typeof IntersectionObserver===\"undefined\")return;const observer=new IntersectionObserver(([entry])=>startTransition(()=>setIsVisible(entry.isIntersecting)),{rootMargin:\"192px\"});observer.observe(root);return()=>observer.disconnect();},[isStatic]);const beamColors=palette===\"custom\"?[colorStart,colorMid,colorEnd]:palettes[palette];const glowColors=glowColorMode===\"custom\"?[glowColorStart,glowColorMid,glowColorEnd]:beamColors;const safeLength=clamp(beamLength,4,80);const safeStrength=clamp(strength,0,1);const safeGlowBlur=clamp(glow,0,100);const safeGlowStrength=clamp(glowStrength,0,1);const safeGlowSpread=clamp(glowSpread,0,24);const safeDuration=Math.max(.4,duration);const shouldAnimate=active&&isVisible&&!isStatic;const inset=Math.max(.5,borderWidth/2);const rectWidth=Math.max(.5,size.width-inset*2);const rectHeight=Math.max(.5,size.height-inset*2);const radius=Math.max(0,radiusToPixels(borderRadius,size.width,size.height)-inset);const straightPerimeter=Math.max(0,2*(rectWidth+rectHeight-radius*4));const perimeter=straightPerimeter+Math.PI*radius*2;const beamPixelLength=perimeter*safeLength/100;const segmentCount=Math.round(clamp(beamPixelLength/1.15,36,128));const beamOpacities=[opacityStart,opacityMid,opacityEnd];const beamSegments=createSegments(beamColors,beamOpacities,opacityCurve,safeLength,segmentCount);const glowSegments=createSegments(glowColors,beamOpacities,opacityCurve,safeLength,segmentCount);const previewProgress=isStatic?-13:0;const glowStrokeWidth=borderWidth+safeGlowSpread*2;const filledContent=Children.map(content,child=>{if(!/*#__PURE__*/isValidElement(child))return child;return /*#__PURE__*/cloneElement(child,{style:{...child.props.style,width:\"100%\",height:\"100%\"}});});useEffect(()=>{const target=active&&!(pauseOnHover&&isHovered&&mode===\"orbit\")?1:0;if(isStatic){orbitSpeed.set(target);return;}const controls=animate(orbitSpeed,target,pauseTransition);return()=>controls.stop();},[active,isHovered,isStatic,mode,orbitSpeed,pauseOnHover,pauseTransition]);useEffect(()=>{if(isStatic||mode!==\"orbit\"||!active||!isVisible||typeof window===\"undefined\"){return;}if(window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches){return;}const root=rootRef.current;if(!root)return;const directionSign=direction===\"normal\"?-1:1;let frame=0;let previousTime=window.performance.now();const update=time=>{const elapsed=Math.min(Math.max(time-previousTime,0),64);previousTime=time;orbitProgress.current+=directionSign*(elapsed/(safeDuration*1e3))*100*clamp(orbitSpeed.get(),0,1);if(Math.abs(orbitProgress.current)>=100){orbitProgress.current%=100;}root.style.setProperty(\"--bbf-progress\",String(orbitProgress.current));frame=window.requestAnimationFrame(update);};frame=window.requestAnimationFrame(update);return()=>window.cancelAnimationFrame(frame);},[active,direction,isStatic,isVisible,mode,orbitSpeed,safeDuration]);const renderBeamLayer=(layerName,segments,layerStrength,strokeWidth,blurAmount,spreadAmount)=>{const blurId=`${filterId}-${layerName}`;const filterReach=blurAmount*4+spreadAmount*2;const animated=active&&!isStatic&&mode===\"pulse\";return /*#__PURE__*/_jsxs(\"svg\",{\"aria-hidden\":\"true\",viewBox:`0 0 ${size.width} ${size.height}`,preserveAspectRatio:\"none\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",overflow:\"visible\",pointerEvents:\"none\"},children:[blurAmount>0&&/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"filter\",{id:blurId,filterUnits:\"userSpaceOnUse\",x:-filterReach,y:-filterReach,width:size.width+filterReach*2,height:size.height+filterReach*2,colorInterpolationFilters:\"sRGB\",children:[/*#__PURE__*/_jsx(\"feGaussianBlur\",{in:\"SourceGraphic\",stdDeviation:Math.max(.45,blurAmount*.42),result:\"wide-blur\"}),/*#__PURE__*/_jsx(\"feComponentTransfer\",{in:\"wide-blur\",result:\"wide-bloom\",children:/*#__PURE__*/_jsx(\"feFuncA\",{type:\"linear\",slope:1.55})}),/*#__PURE__*/_jsx(\"feGaussianBlur\",{in:\"SourceGraphic\",stdDeviation:Math.max(.35,blurAmount*.13),result:\"tight-blur\"}),/*#__PURE__*/_jsx(\"feComponentTransfer\",{in:\"tight-blur\",result:\"tight-bloom\",children:/*#__PURE__*/_jsx(\"feFuncA\",{type:\"linear\",slope:1.18})}),/*#__PURE__*/_jsxs(\"feMerge\",{children:[/*#__PURE__*/_jsx(\"feMergeNode\",{in:\"wide-bloom\"}),/*#__PURE__*/_jsx(\"feMergeNode\",{in:\"tight-bloom\"})]})]})}),/*#__PURE__*/_jsx(\"g\",{className:\"bbf-motion\",filter:blurAmount>0?`url(#${blurId})`:undefined,style:{opacity:active?layerStrength:0,animationName:animated?\"bbf-pulse-path\":\"none\",animationDuration:`${safeDuration}s`,animationTimingFunction:\"ease-in-out\",animationIterationCount:\"infinite\",animationPlayState:shouldAnimate?\"running\":\"paused\",transition:\"opacity 240ms ease\",[\"--bbf-strength\"]:layerStrength},children:segments.map((segment,index)=>/*#__PURE__*/_jsx(\"rect\",{x:inset,y:inset,width:rectWidth,height:rectHeight,rx:radius,ry:radius,pathLength:100,fill:\"none\",stroke:segment.color,strokeWidth:strokeWidth,strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeOpacity:segment.opacity,strokeDasharray:`${segment.dashLength} ${100-segment.dashLength}`,style:{strokeDashoffset:\"calc(var(--bbf-dash-start) + var(--bbf-progress))\",[\"--bbf-dash-start\"]:segment.dashStart}},`${layerName}-${index}`))})]});};const rootStyle={...style,position:\"relative\",display:\"grid\",width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,overflow:\"visible\",isolation:\"isolate\",borderRadius,boxShadow:baseBorderColor===\"transparent\"?\"none\":`inset 0 0 0 ${borderWidth}px ${baseBorderColor}`,[\"--bbf-progress\"]:previewProgress};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,\"data-border-beam-frame\":true,onPointerEnter:()=>{if(pauseOnHover&&mode===\"orbit\")setIsHovered(true);},onPointerLeave:()=>setIsHovered(false),style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:componentCSS}),safeGlowBlur>0&&(glowSide===\"outer\"||glowSide===\"both\")&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"visible\",borderRadius,pointerEvents:\"none\",zIndex:0},children:renderBeamLayer(\"outer-glow\",glowSegments,safeGlowStrength,glowStrokeWidth,safeGlowBlur,safeGlowSpread)}),/*#__PURE__*/_jsx(\"div\",{className:\"bbf-content\",style:{position:\"relative\",zIndex:1,gridArea:\"1 / 1\",display:\"flex\",width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,borderRadius},children:content?filledContent:/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius,background:\"rgba(47, 110, 255, 0.06)\",color:\"rgba(32, 54, 90, 0.62)\",font:\"500 12px/1.2 Inter, sans-serif\"},children:\"Add content\"})}),safeGlowBlur>0&&(glowSide===\"inner\"||glowSide===\"both\")&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",borderRadius,pointerEvents:\"none\",zIndex:2},children:renderBeamLayer(\"inner-glow\",glowSegments,safeGlowStrength,glowStrokeWidth,safeGlowBlur,safeGlowSpread)}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"visible\",borderRadius,pointerEvents:\"none\",zIndex:3},children:renderBeamLayer(\"beam\",beamSegments,safeStrength,borderWidth,0,0)})]});}addPropertyControls(BorderBeamFrame,{content:{type:ControlType.Slot,title:\"Content\",maxCount:1},mode:{type:ControlType.Enum,title:\"Motion\",options:[\"orbit\",\"pulse\"],optionTitles:[\"Orbit\",\"Pulse\"],defaultValue:\"orbit\",displaySegmentedControl:true},palette:{type:ControlType.Enum,title:\"Beam Palette\",options:[\"water\",\"colorful\",\"mono\",\"sunset\",\"custom\"],optionTitles:[\"Water\",\"Colorful\",\"Mono\",\"Sunset\",\"Custom\"],defaultValue:\"water\"},colorStart:{type:ControlType.Color,title:\"Beam Start\",defaultValue:\"#54D7FF\",hidden:({palette})=>palette!==\"custom\"},colorMid:{type:ControlType.Color,title:\"Beam Middle\",defaultValue:\"#2F6EFF\",hidden:({palette})=>palette!==\"custom\"},colorEnd:{type:ControlType.Color,title:\"Beam End\",defaultValue:\"#8B7CFF\",hidden:({palette})=>palette!==\"custom\"},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:2.8,min:.4,max:16,step:.1,unit:\"s\"},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"normal\",\"reverse\"],optionTitles:[\"Clockwise\",\"Counter\"],defaultValue:\"normal\",displaySegmentedControl:true,hidden:({mode})=>mode!==\"orbit\"},beamLength:{type:ControlType.Number,title:\"Beam Length\",defaultValue:22,min:4,max:80,step:1,unit:\"%\"},borderWidth:{type:ControlType.Number,title:\"Beam Width\",defaultValue:1.5,min:.5,max:8,step:.5,unit:\"px\"},strength:{type:ControlType.Number,title:\"Beam Strength\",defaultValue:.9,min:0,max:1,step:.05},opacityStart:{type:ControlType.Number,title:\"Start Opacity\",defaultValue:.04,min:0,max:1,step:.05},opacityMid:{type:ControlType.Number,title:\"Middle Opacity\",defaultValue:1,min:0,max:1,step:.05},opacityEnd:{type:ControlType.Number,title:\"End Opacity\",defaultValue:.04,min:0,max:1,step:.05},opacityCurve:{type:ControlType.Enum,title:\"Opacity Fade\",options:[\"linear\",\"smooth\",\"ease-in\",\"ease-out\"],optionTitles:[\"Linear\",\"Smooth\",\"Ease In\",\"Ease Out\"],defaultValue:\"smooth\"},borderRadius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"999px\"},glow:{type:ControlType.Number,title:\"Glow Blur\",defaultValue:7,min:0,max:100,step:1,unit:\"px\"},glowSpread:{type:ControlType.Number,title:\"Glow Spread\",defaultValue:2,min:0,max:24,step:.5,unit:\"px\",hidden:({glow})=>(glow??0)<=0},glowSide:{type:ControlType.Enum,title:\"Glow Side\",options:[\"inner\",\"outer\",\"both\"],optionTitles:[\"Inner\",\"Outer\",\"Both\"],defaultValue:\"inner\",displaySegmentedControl:true,hidden:({glow})=>(glow??0)<=0},glowStrength:{type:ControlType.Number,title:\"Glow Strength\",defaultValue:.72,min:0,max:1,step:.05,hidden:({glow})=>(glow??0)<=0},glowColorMode:{type:ControlType.Enum,title:\"Glow Colors\",options:[\"beam\",\"custom\"],optionTitles:[\"Match Beam\",\"Custom\"],defaultValue:\"beam\",displaySegmentedControl:true,hidden:({glow})=>(glow??0)<=0},glowColorStart:{type:ControlType.Color,title:\"Glow Start\",defaultValue:\"#54D7FF\",hidden:({glow,glowColorMode})=>(glow??0)<=0||glowColorMode!==\"custom\"},glowColorMid:{type:ControlType.Color,title:\"Glow Middle\",defaultValue:\"#2F6EFF\",hidden:({glow,glowColorMode})=>(glow??0)<=0||glowColorMode!==\"custom\"},glowColorEnd:{type:ControlType.Color,title:\"Glow End\",defaultValue:\"#8B7CFF\",hidden:({glow,glowColorMode})=>(glow??0)<=0||glowColorMode!==\"custom\"},baseBorderColor:{type:ControlType.Color,title:\"Base Border\",defaultValue:\"rgba(47, 110, 255, 0.18)\"},active:{type:ControlType.Boolean,title:\"Active\",defaultValue:true},pauseOnHover:{type:ControlType.Boolean,title:\"Hover Pause\",defaultValue:false,hidden:({mode})=>mode!==\"orbit\"},pauseTransition:{type:ControlType.Transition,title:\"Pause Transition\",defaultValue:defaultPauseTransition,hidden:({mode,pauseOnHover})=>mode!==\"orbit\"||!pauseOnHover}});BorderBeamFrame.displayName=\"Border Beam Frame\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BorderBeamFrame\",\"slots\":[\"content\"],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BorderBeamFrame.map"],"mappings":"uTAmBE,SAAS,EAAM,EAAM,EAAI,EAAI,CAAC,OAAO,KAAK,IAAI,EAAI,KAAK,IAAI,EAAI,CAAK,CAAC,CAAE,CAAC,SAAS,GAAe,EAAM,EAAM,EAAO,CAAC,IAAM,EAAW,EAAM,KAAK,CAAC,CAAC,MAAM,QAAQ,CAAC,CAAC,IAAI,IAAU,EAAM,KAAK,IAAI,EAAE,KAAK,IAAI,EAAM,CAAM,EAAE,CAAC,EAAQ,EAAO,OAAO,WAAW,CAAU,EAA4G,OAAtG,OAAO,SAAS,CAAM,EAAc,EAAW,SAAS,GAAG,EAAS,EAAM,EAAO,IAAI,EAAM,EAAE,EAAE,CAAK,EAAS,EAAM,EAAO,EAAE,CAAK,EAAlG,CAAoG,CAAC,SAAS,EAAQ,EAAO,EAAS,CAAC,IAAM,EAAE,EAAM,EAAS,EAAE,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,IAAM,EAAI,KAAK,MAAM,EAAE,GAAG,EAAE,MAAM,sBAAsB,EAAO,GAAG,GAAG,IAAI,EAAI,KAAK,EAAO,GAAG,GAAG,EAAI,GAAI,CAAC,IAAM,EAAI,KAAK,OAAO,EAAE,IAAI,GAAG,EAAE,MAAM,sBAAsB,EAAO,GAAG,GAAG,IAAI,EAAI,KAAK,EAAO,GAAG,GAAG,EAAI,GAAI,CAAC,SAAS,EAAQ,EAAS,EAAM,CAAC,IAAM,EAAE,EAAM,EAAS,EAAE,CAAC,EAAoH,OA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