{"version":3,"file":"Conic_Gradient_Component.Ce1h-V0p.mjs","names":["_jsxs","_jsx","__esmMin","init_jsx_runtime","p","c","addPropertyControls","init_framer_ChujFWHC","ControlType","motion","init_framer_motion_1EwlFBEG","ConicGradientAnimation","width","height","borderColor","animationDuration","blurRadius","borderRadius","backgroundColor","overlayBorderColor","overlayMargin","text","textColor","fontSize","fontWeight","fontFamily","letterSpacing","children","init_Conic_Gradient_Component"],"sources":["https:/framerusercontent.com/modules/jsl0VzqHa1KEXpPi60BH/zqkz5VTNbsDYXS6mKba3/Conic_Gradient_Component.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";export default function ConicGradientAnimation({width,height,borderColor=\"#ff00ff\",animationDuration=6,blurRadius=2,borderRadius=0,backgroundColor=\"rgba(255, 255, 255, 0.1)\",overlayBorderColor=\"#ff00ff\",overlayMargin=1,text=\"Rotating Border\",textColor=\"#000000\",fontSize=16,fontWeight=400,fontFamily=\"Inter\",letterSpacing=0,children}){return /*#__PURE__*/_jsxs(\"div\",{style:{width:width||\"100%\",height:height||\"100%\",position:\"relative\",overflow:\"hidden\",borderRadius:`${borderRadius}px`,minWidth:\"12px\",minHeight:\"12px\"},children:[/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:\"-450%\",left:0,right:0,bottom:0,height:\"1000%\",background:`conic-gradient(transparent 200deg, ${borderColor})`,borderRadius:`${borderRadius}px`,zIndex:1},initial:{rotate:0},animate:{rotate:360},transition:{duration:animationDuration,ease:\"linear\",repeat:Infinity,repeatDelay:0}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:`${overlayMargin}px`,left:`${overlayMargin}px`,right:`${overlayMargin}px`,bottom:`${overlayMargin}px`,backdropFilter:`blur(${blurRadius}px)`,backgroundColor:backgroundColor,border:`1px solid ${overlayBorderColor}`,borderRadius:`${Math.max(0,borderRadius-overlayMargin)}px`,zIndex:2,pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",zIndex:3,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"8px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:textColor,fontSize:`${fontSize}px`,fontWeight:fontWeight,fontFamily:fontFamily,letterSpacing:`${letterSpacing}px`,textAlign:\"center\",whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",maxWidth:\"100%\",userSelect:\"none\"},children:text}),children]})]});}// Property controls for Framer\naddPropertyControls(ConicGradientAnimation,{// Animation Controls\nborderColor:{type:ControlType.Color,title:\"Conic Color\",defaultValue:\"#ff00ff\"},animationDuration:{type:ControlType.Number,title:\"Animation Duration (seconds)\",defaultValue:6,min:.5,max:20,step:.1},overlayMargin:{type:ControlType.Number,title:\"Animation Margin\",defaultValue:1,min:1,max:4,step:1},// Visual Effects\nblurRadius:{type:ControlType.Number,title:\"Blur Radius\",defaultValue:2,min:0,max:10,step:.5},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:50,step:1},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"rgba(255, 255, 255, 0.1)\"},overlayBorderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#ff00ff\"},// Content\ntext:{type:ControlType.String,title:\"Text\",defaultValue:\"Rotating Border\"},// Typography\ntextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:72,step:1},fontWeight:{type:ControlType.Number,title:\"Font Weight\",defaultValue:400,min:100,max:900,step:100},fontFamily:{type:ControlType.Enum,title:\"Font Family\",defaultValue:\"Inter\",options:[\"Inter\",\"Arial\",\"Helvetica\",\"Times New Roman\",\"Georgia\",\"Verdana\",\"Roboto\",\"Open Sans\",\"Lato\",\"Poppins\",\"Montserrat\",\"Source Sans Pro\"],optionTitles:[\"Inter\",\"Arial\",\"Helvetica\",\"Times New Roman\",\"Georgia\",\"Verdana\",\"Roboto\",\"Open Sans\",\"Lato\",\"Poppins\",\"Montserrat\",\"Source Sans Pro\"]},letterSpacing:{type:ControlType.Number,title:\"Letter Spacing\",defaultValue:0,min:-2,max:10,step:.1},children:{type:ControlType.ComponentInstance,title:\"External Content\",description:\"Link to child element when text content isn't used\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ConicGradientAnimation\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Conic_Gradient_Component.map"],"mappings":"A,oNAA+I,SAAwBW,EAAuB,CAACC,QAAMC,SAAOC,cAAY,UAAUC,oBAAkB,EAAEC,aAAW,EAAEC,eAAa,EAAEC,kBAAgB,2BAA2BC,qBAAmB,UAAUC,gBAAc,EAAEC,OAAK,kBAAkBC,YAAU,UAAUC,WAAS,GAAGC,aAAW,IAAIC,aAAW,QAAQC,gBAAc,EAAEC,YAAU,CAAC,MAAoB3B,gBAAM,MAAM,CAAC,MAAM,CAAC,MAAMY,GAAO,OAAO,OAAOC,GAAQ,OAAO,SAAS,WAAW,SAAS,SAAS,aAAa,GAAGI,EAAa,IAAI,SAAS,OAAO,UAAU,MAAM,EAAE,SAAS,CAAchB,gBAAKQ,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,QAAQ,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,QAAQ,WAAW,sCAAsCK,EAAY,GAAG,aAAa,GAAGG,EAAa,IAAI,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,GAAG,EAAE,WAAW,CAAC,SAASF,EAAkB,KAAK,SAAS,OAAO,IAAS,YAAY,CAAC,CAAC,CAAC,EAAed,gBAAK,MAAM,CAAC,MAAM,CAAC,SAAS,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