{"version":3,"file":"Testing.DPbryTOS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Ku4jZXvV7VDMbLG1OvN3/npqfkvkBd2FgpEWyU24c/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){return /*#__PURE__*/_jsxs(motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},style:{position:\"relative\",padding:props.borderWidth,borderRadius:props.radius,overflow:\"hidden\",cursor:\"pointer\",width:\"max-content\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",// THE UPGRADE: Fully dynamic shadow engine powered by the new props\nboxShadow:props.showOuterGlow?`${props.glowOffsetX}px ${props.glowOffsetY}px ${props.glowBlur}px ${props.glowSpread}px ${props.outerGlowColor}`:\"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})})]});}// Default States\nPremiumGlowButton.defaultProps={text:\"Timeless Design\",glowColor:\"#00F0FF\",spinSpeed:3,// Solid Mode Defaults\ninnerColor:\"#0D0D0D\",// Glass Mode Defaults\nenableGlass:false,glassColor:\"rgba(13, 13, 13, 0.4)\",blurAmount:24,// NEW: Advanced Outer Glow Defaults\nshowOuterGlow: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,// Native Font Defaults\nfont:{fontFamily:\"Inter, sans-serif\",fontSize:16,fontWeight:500,letterSpacing:0,lineHeight:\"1.5em\",textAlign:\"center\"}};// The UI Settings Panel\naddPropertyControls(PremiumGlowButton,{text:{type:ControlType.String,title:\"Text\"},font:{type:ControlType.Font,controls:\"extended\",title:\"Typography\"},textColor:{type:ControlType.Color,title:\"Text Color\"},// 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 Engine\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},// NEW: Advanced Outer Glow Controls\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":"qNAA+I,SAAwB,EAAkB,EAAM,CAAC,OAAoB,EAAM,EAAO,IAAI,CAAC,WAAW,CAAC,MAAM,IAAI,EAAE,SAAS,CAAC,MAAM,GAAG,EAAE,MAAM,CAAC,SAAS,WAAW,QAAQ,EAAM,YAAY,aAAa,EAAM,OAAO,SAAS,SAAS,OAAO,UAAU,MAAM,cAAc,QAAQ,OAAO,eAAe,SAAS,WAAW,SAC3c,UAAU,EAAM,cAAc,GAAG,EAAM,YAAY,KAAK,EAAM,YAAY,KAAK,EAAM,SAAS,KAAK,EAAM,WAAW,KAAK,EAAM,iBAAiB,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,OAAO,CAAC,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,OAAO,EAAE,WAAW,EAAM,YAAY,EAAM,WAAW,EAAM,WAAW,eAAe,EAAM,YAAY,QAAQ,EAAM,WAAW,KAAK,OAAO,qBAAqB,EAAM,YAAY,QAAQ,EAAM,WAA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