{"version":3,"file":"simonclosed.BOeWjV88.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/M4zBCz0ffmnP2UBXUddr/TcEa0j0YResdGK8ag0Fa/simonclosed.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function GoogleCalendarButton(props){const{text,background,hoverBackground,color,radius,fontSize,paddingX,paddingY}=props;const calendarUrl=\"https://calendar.google.com/calendar/u/0/r/eventedit?text=Organic+Scaling+Session+with+Simon&dates=20260829T120000Z/20260829T121500Z\";const[isHovered,setIsHovered]=React.useState(false);const[isPressed,setIsPressed]=React.useState(false);return /*#__PURE__*/_jsx(\"a\",{href:calendarUrl,target:\"_blank\",rel:\"noopener noreferrer\",onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>{setIsHovered(false);setIsPressed(false);},onMouseDown:()=>setIsPressed(true),onMouseUp:()=>setIsPressed(false),style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",background:isHovered?hoverBackground:background,color:color,borderRadius:radius,fontFamily:\"Inter, sans-serif\",fontSize:fontSize,fontWeight:600,textDecoration:\"none\",whiteSpace:\"nowrap\",padding:`${paddingY}px ${paddingX}px`,cursor:\"pointer\",userSelect:\"none\",transform:isPressed?\"scale(0.97)\":isHovered?\"scale(1.01)\":\"scale(1)\",boxShadow:isHovered?\"0 0 22px rgba(255,255,255,0.45)\":\"none\",transition:\"background 180ms ease, box-shadow 180ms ease, transform 100ms ease\"},children:text});}GoogleCalendarButton.defaultProps={text:\"Book Your Organic Scaling Session\",background:\"#D9D9D9\",hoverBackground:\"#FFFFFF\",color:\"#303030\",radius:100,fontSize:32,paddingX:24,paddingY:16};addPropertyControls(GoogleCalendarButton,{text:{type:ControlType.String,title:\"Text\"},background:{type:ControlType.Color,title:\"Background\"},hoverBackground:{type:ControlType.Color,title:\"Hover\"},color:{type:ControlType.Color,title:\"Text\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:200,step:1},fontSize:{type:ControlType.Number,title:\"Font Size\",min:8,max:80,step:1},paddingX:{type:ControlType.Number,title:\"Padding X\",min:0,max:200,step:1},paddingY:{type:ControlType.Number,title:\"Padding Y\",min:0,max:100,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GoogleCalendarButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./simonclosed.map"],"mappings":"0KAA2H,SAAwB,EAAqB,EAAM,CAAC,GAAK,CAAC,OAAK,aAAW,kBAAgB,QAAM,SAAO,WAAS,WAAS,YAAU,EAAoK,CAAC,EAAU,GAAcA,EAAe,EAAK,EAAO,CAAC,EAAU,GAAcA,EAAe,EAAK,EAAE,OAAoB,EAAK,IAAI,CAAC,KAAK,uIAAY,OAAO,SAAS,IAAI,sBAAsB,iBAAiB,EAAa,EAAI,EAAE,iBAAiB,CAAC,EAAa,EAAK,EAAE,EAAa,EAAK,CAAE,EAAE,gBAAgB,EAAa,EAAI,EAAE,cAAc,EAAa,EAAK,EAAE,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,UAAU,aAAa,WAAW,EAAU,EAAgB,EAAiB,QAAM,aAAa,EAAO,WAAW,oBAA6B,WAAS,WAAW,IAAI,eAAe,OAAO,WAAW,SAAS,QAAQ,GAAG,EAAS,KAAK,EAAS,IAAI,OAAO,UAAU,WAAW,OAAO,UAAU,EAAU,cAAc,EAAU,cAAc,WAAW,UAAU,EAAU,kCAAkC,OAAO,WAAW,oEAAoE,EAAE,SAAS,CAAI,CAAC,CAAE,iBAAnzC,IAA4B,IAAoD,EAAouC,EAAqB,aAAa,CAAC,KAAK,oCAAoC,WAAW,UAAU,gBAAgB,UAAU,MAAM,UAAU,OAAO,IAAI,SAAS,GAAG,SAAS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