{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/XG5lGx8deIgSepztfaU0/saQmrqT6o6Zsir5o3s6q/Glass_Button.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function GlassButton(props){const[isHovering,setIsHovering]=React.useState(false);const gradientBase=`linear-gradient(135deg,\n        rgba(255,255,255,0.4) 0%,\n        rgba(255,255,255,0) 41%,\n        rgba(255,255,255,0) 57%,\n        rgba(255,255,255,0.1) 100%)`;const gradientHover=`linear-gradient(135deg,\n        rgba(255,255,255,0.6) 0%,\n        rgba(255,255,255,0.15) 41%,\n        rgba(255,255,255,0.15) 57%,\n        rgba(255,255,255,0.2) 100%)`;const handleClick=()=>{if(props.link){window.open(props.link,\"_blank\");}};return /*#__PURE__*/_jsxs(\"div\",{onClick:handleClick,onMouseEnter:()=>setIsHovering(true),onMouseLeave:()=>setIsHovering(false),style:{position:\"relative\",padding:\"1px\",borderRadius:\"999px\",backgroundImage:gradientBase,backgroundSize:\"100% 100%\",backgroundRepeat:\"no-repeat\",boxShadow:props.shadow?\"0px 14px 44px rgba(0, 0, 0, 0.25)\":\"none\",cursor:\"pointer\",display:\"inline-block\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",borderRadius:\"999px\",backgroundImage:gradientHover,backgroundSize:\"100% 100%\",backgroundRepeat:\"no-repeat\",opacity:isHovering?1:0,transition:`opacity ${props.hoverTransitionSpeed}ms ease-in-out`,pointerEvents:\"none\",zIndex:1}}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 24px\",borderRadius:\"999px\",backgroundColor:\"rgba(20, 20, 20, 0.25)\",backdropFilter:\"blur(16px)\",WebkitBackdropFilter:\"blur(16px)\",color:\"#ffffff\",fontSize:props.fontSize,fontWeight:props.fontWeight,fontFamily:\"Inter, sans-serif\",textAlign:props.textAlign,lineHeight:1.2,whiteSpace:\"nowrap\",transition:\"background 0.3s ease, color 0.3s ease\",position:\"relative\",zIndex:2},children:props.label})]});}addPropertyControls(GlassButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Click Me\"},link:{type:ControlType.String,title:\"Link (optional)\",defaultValue:\"\"},shadow:{type:ControlType.Boolean,title:\"Drop Shadow\",defaultValue:true},hoverTransitionSpeed:{type:ControlType.Number,title:\"Hover Transition (ms)\",min:100,max:2e3,defaultValue:300,step:50},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:10,max:48,step:1,unit:\"px\"},fontWeight:{type:ControlType.Enum,title:\"Font Weight\",options:[\"300\",\"400\",\"500\",\"600\",\"700\"],optionTitles:[\"Light\",\"Normal\",\"Medium\",\"Semi-Bold\",\"Bold\"],defaultValue:\"500\"},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"GlassButton\":{\"type\":\"reactComponent\",\"name\":\"GlassButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Glass_Button.map"],
  "mappings": "gJAAgJ,SAASA,EAAYC,EAAM,CAAC,GAAK,CAACC,EAAWC,CAAa,EAAQC,EAAS,EAAK,EAQjH,OAAoBC,EAAM,MAAM,CAAC,QAAzF,IAAI,CAAIJ,EAAM,MAAMK,EAAO,KAAKL,EAAM,KAAK,QAAQ,CAAG,EAAuD,aAAa,IAAIE,EAAc,EAAI,EAAE,aAAa,IAAIA,EAAc,EAAK,EAAE,MAAM,CAAC,SAAS,WAAW,QAAQ,MAAM,aAAa,QAAQ,gBARxD;AAAA;AAAA;AAAA;AAAA,qCAQqF,eAAe,YAAY,iBAAiB,YAAY,UAAUF,EAAM,OAAO,oCAAoC,OAAO,OAAO,UAA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