{"version":3,"file":"Testing.da96cpPS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/i8M25yBqWg81XVmTsTSj/Tub21OdnlQZuHFAZU1E7/Testing.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export default function PremiumGlowButton(props){const handleClick=()=>{if(!props.link)return;if(props.openInNewTab){window.open(props.link,\"_blank\");}else{window.location.href=props.link;}};return /*#__PURE__*/_jsxs(motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:handleClick,style:{position:\"relative\",padding:props.borderWidth,borderRadius:props.radius,overflow:\"hidden\",cursor:props.link?\"pointer\":\"default\",width:\"max-content\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",boxShadow:props.showOuterGlow?`${props.glowOffsetX}px ${props.glowOffsetY}px ${props.glowBlur}px ${props.glowSpread}px ${props.outerGlowColor}`:\"none\",textDecoration:\"none\"},transition:{type:\"spring\",stiffness:400,damping:25},children:[/*#__PURE__*/_jsx(motion.div,{animate:{rotate:360},transition:{repeat:Infinity,duration:props.spinSpeed,ease:\"linear\"},style:{position:\"absolute\",left:\"50%\",top:\"50%\",x:\"-50%\",y:\"-50%\",width:2e3,height:2e3,background:`conic-gradient(from 0deg, transparent 0%, ${props.glowColor} 20%, transparent 50%)`,zIndex:0}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",zIndex:1,background:props.enableGlass?props.glassColor:props.innerColor,backdropFilter:props.enableGlass?`blur(${props.blurAmount}px)`:\"none\",WebkitBackdropFilter:props.enableGlass?`blur(${props.blurAmount}px)`:\"none\",borderRadius:props.radius-props.borderWidth,padding:`${props.paddingY}px ${props.paddingX}px`,display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"span\",{style:{...props.font,color:props.textColor,whiteSpace:\"nowrap\"},children:props.text})})]});}PremiumGlowButton.defaultProps={text:\"Timeless Design\",glowColor:\"#00F0FF\",spinSpeed:3,link:\"\",openInNewTab:false,innerColor:\"#0D0D0D\",enableGlass:false,glassColor:\"rgba(13, 13, 13, 0.4)\",blurAmount:24,showOuterGlow:true,outerGlowColor:\"rgba(0, 240, 255, 0.25)\",glowOffsetX:0,glowOffsetY:15,glowBlur:35,glowSpread:0,textColor:\"#FFFFFF\",borderWidth:1.5,radius:100,paddingX:32,paddingY:16,font:{fontFamily:\"Inter, sans-serif\",fontSize:16,fontWeight:500,letterSpacing:0,lineHeight:\"1.5em\",textAlign:\"center\"}};addPropertyControls(PremiumGlowButton,{text:{type:ControlType.String,title:\"Text\"},font:{type:ControlType.Font,controls:\"extended\",title:\"Typography\"},textColor:{type:ControlType.Color,title:\"Text Color\"},// Link\nlink:{type:ControlType.String,title:\"Link\",placeholder:\"/contact or https://...\"},openInNewTab:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:false},// Inner Button Styling\nenableGlass:{type:ControlType.Boolean,title:\"Use Glass\"},innerColor:{type:ControlType.Color,title:\"Solid Fill\",hidden(props){return props.enableGlass===true;}},glassColor:{type:ControlType.Color,title:\"Glass Fill\",hidden(props){return props.enableGlass===false;}},blurAmount:{type:ControlType.Number,title:\"Glass Blur\",min:0,max:100,hidden(props){return props.enableGlass===false;}},// Border Glow\nglowColor:{type:ControlType.Color,title:\"Border Glow\"},spinSpeed:{type:ControlType.Number,title:\"Spin Speed\",min:.5,max:10,step:.1},borderWidth:{type:ControlType.Number,title:\"Border Width\",min:1,max:10,step:.5},// Outer Glow\nshowOuterGlow:{type:ControlType.Boolean,title:\"Outer Glow\"},outerGlowColor:{type:ControlType.Color,title:\"Shadow Color\",hidden(props){return props.showOuterGlow===false;}},glowOffsetX:{type:ControlType.Number,title:\"Offset X\",min:-50,max:50,hidden(props){return props.showOuterGlow===false;}},glowOffsetY:{type:ControlType.Number,title:\"Offset Y\",min:-50,max:50,hidden(props){return props.showOuterGlow===false;}},glowBlur:{type:ControlType.Number,title:\"Blur\",min:0,max:100,hidden(props){return props.showOuterGlow===false;}},glowSpread:{type:ControlType.Number,title:\"Spread\",min:-50,max:50,hidden(props){return props.showOuterGlow===false;}},// Structure\nradius:{type:ControlType.Number,title:\"Radius\",min:0,max:100},paddingX:{type:ControlType.Number,title:\"Pad X\",min:0,max:100},paddingY:{type:ControlType.Number,title:\"Pad Y\",min:0,max:100}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PremiumGlowButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Testing.map"],"mappings":"kOAA+I,SAAwB,EAAkB,EAAM,CAA+I,OAAoB,EAAM,EAAO,IAAI,CAAC,WAAW,CAAC,MAAM,IAAI,EAAE,SAAS,CAAC,MAAM,GAAG,EAAE,YAA3M,CAAK,EAAM,OAAe,EAAM,aAAc,EAAO,KAAK,EAAM,KAAK,QAAQ,EAAQ,EAAO,SAAS,KAAK,EAAM,KAAM,EAAyG,MAAM,CAAC,SAAS,WAAW,QAAQ,EAAM,YAAY,aAAa,EAAM,OAAO,SAAS,SAAS,OAAO,EAAM,KAAK,UAAU,UAAU,MAAM,cAAc,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,UAAU,EAAM,cAAc,GAAG,EAAM,YAAY,KAAK,EAAM,YAAY,KAAK,EAAM,SAAS,KAAK,EAAM,WAAW,KAAK,EAAM,iBAAiB,OAAO,eAAe,MAAM,EAAE,WAAW,CAAC,KAAK,SAAS,UAAU,IAAI,QAAQ,EAAE,EAAE,SAAS,CAAc,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAG,EAAE,WAAW,CAAC,OAAO,IAAS,SAAS,EAAM,UAAU,KAAK,QAAQ,EAAE,MAAM,CAAC,SAAS,WAAW,KAAK,MAAM,IAAI,MAAM,EAAE,OAAO,EAAE,OAAO,MAAM,IAAI,OAAO,IAAI,WAAW,6CAA6C,EAAM,UAAU,wBAAwB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