{"version":3,"file":"Testing.BHvyfdNu.mjs","names":["React.useMemo","_Fragment"],"sources":["https:/framerusercontent.com/modules/GjBPAkDQGmbd5LFdQKQH/fWs2ELiRfgpLGM3MJfp9/Testing.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,Link}from\"framer\";// User request: Update PremiumGlowButton in Testing.tsx by preserving the existing design/animation/controls and adding an editable Framer Link (\"Zielseite\") plus optional \"Neuer Tab\" behavior with safe handling for unset links.\n/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function PremiumGlowButton(props){const{text=\"Timeless Design\",glowColor=\"#00F0FF\",spinSpeed=3,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={fontSize:16,variant:\"Medium\",letterSpacing:\"0em\",lineHeight:\"1.5em\",textAlign:\"center\"},zielseite=\"\",neuerTab=false}=props;const hasLink=typeof zielseite===\"string\"&&zielseite.trim().length>0;const outerStyle=React.useMemo(()=>({position:\"relative\",padding:borderWidth,borderRadius:radius,overflow:\"hidden\",cursor:hasLink?\"pointer\":\"default\",width:\"max-content\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",textDecoration:\"none\",boxShadow:showOuterGlow?`${glowOffsetX}px ${glowOffsetY}px ${glowBlur}px ${glowSpread}px ${outerGlowColor}`:\"none\"}),[borderWidth,radius,hasLink,showOuterGlow,glowOffsetX,glowOffsetY,glowBlur,glowSpread,outerGlowColor]);const buttonContent=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.div,{animate:{rotate:360},transition:{repeat:Infinity,duration: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%, ${glowColor} 20%, transparent 50%)`,zIndex:0}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",zIndex:1,background:enableGlass?glassColor:innerColor,backdropFilter:enableGlass?`blur(${blurAmount}px)`:\"none\",WebkitBackdropFilter:enableGlass?`blur(${blurAmount}px)`:\"none\",borderRadius:radius-borderWidth,padding:`${paddingY}px ${paddingX}px`,display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"span\",{style:{...font,color:textColor,whiteSpace:\"nowrap\"},children:text})})]});if(hasLink){return /*#__PURE__*/_jsx(Link,{href:zielseite,children:/*#__PURE__*/_jsx(motion.a,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:\"spring\",stiffness:400,damping:25},style:outerStyle,target:neuerTab?\"_blank\":undefined,rel:neuerTab?\"noopener noreferrer\":undefined,\"aria-label\":text,children:buttonContent})});}return /*#__PURE__*/_jsx(motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},style:outerStyle,transition:{type:\"spring\",stiffness:400,damping:25},\"aria-label\":text,children:buttonContent});}// The UI Settings Panel\naddPropertyControls(PremiumGlowButton,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Timeless Design\"},font:{type:ControlType.Font,controls:\"extended\",title:\"Typography\",defaultValue:{fontSize:16,variant:\"Medium\",letterSpacing:\"0em\",lineHeight:\"1.5em\",textAlign:\"center\"},defaultFontType:\"sans-serif\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},// Inner Button Styling\nenableGlass:{type:ControlType.Boolean,title:\"Use Glass\",defaultValue:false},innerColor:{type:ControlType.Color,title:\"Solid Fill\",defaultValue:\"#0D0D0D\",hidden(props){return props.enableGlass===true;}},glassColor:{type:ControlType.Color,title:\"Glass Fill\",defaultValue:\"rgba(13, 13, 13, 0.4)\",hidden(props){return props.enableGlass===false;}},blurAmount:{type:ControlType.Number,title:\"Glass Blur\",min:0,max:100,defaultValue:24,hidden(props){return props.enableGlass===false;}},// Border Glow Engine\nglowColor:{type:ControlType.Color,title:\"Border Glow\",defaultValue:\"#00F0FF\"},spinSpeed:{type:ControlType.Number,title:\"Spin Speed\",min:.5,max:10,step:.1,defaultValue:3},borderWidth:{type:ControlType.Number,title:\"Border Width\",min:1,max:10,step:.5,defaultValue:1.5},// NEW: Advanced Outer Glow Controls\nshowOuterGlow:{type:ControlType.Boolean,title:\"Outer Glow\",defaultValue:true},outerGlowColor:{type:ControlType.Color,title:\"Shadow Color\",defaultValue:\"rgba(0, 240, 255, 0.25)\",hidden(props){return props.showOuterGlow===false;}},glowOffsetX:{type:ControlType.Number,title:\"Offset X\",min:-50,max:50,defaultValue:0,hidden(props){return props.showOuterGlow===false;}},glowOffsetY:{type:ControlType.Number,title:\"Offset Y\",min:-50,max:50,defaultValue:15,hidden(props){return props.showOuterGlow===false;}},glowBlur:{type:ControlType.Number,title:\"Blur\",min:0,max:100,defaultValue:35,hidden(props){return props.showOuterGlow===false;}},glowSpread:{type:ControlType.Number,title:\"Spread\",min:-50,max:50,defaultValue:0,hidden(props){return props.showOuterGlow===false;}},// Structure\nradius:{type:ControlType.Number,title:\"Radius\",min:0,max:100,defaultValue:100},paddingX:{type:ControlType.Number,title:\"Pad X\",min:0,max:100,defaultValue:32},paddingY:{type:ControlType.Number,title:\"Pad Y\",min:0,max:100,defaultValue:16},zielseite:{type:ControlType.Link,title:\"Zielseite\",defaultValue:\"\"},neuerTab:{type:ControlType.Boolean,title:\"Neuer Tab\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PremiumGlowButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type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