{"version":3,"file":"SignupButton.DcUyP_b2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/KRGYPpcxkQD7QPMuWhAf/fWH787R7ANf8mAkoOZz7/ProfileMenuwithDarkMode.js","https:/framerusercontent.com/modules/1hMZh2POpxpSTe3pIvH9/PMbsnnBcW6PJDfYWWPLr/SignupButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{createClient}from\"@supabase/supabase-js\";import{useState,useEffect}from\"react\";export default function ProfileMenu(props){const[isLoggedIn,setIsLoggedIn]=useState(false);const[userEmail,setUserEmail]=useState(null);const[username,setUsername]=useState(null);const[loading,setLoading]=useState(true);const[isMenuOpen,setIsMenuOpen]=useState(false);// Get theme-specific colors\nconst colors=props.darkMode?{// Dark mode colors\nbuttonBg:props.buttonBgDark||\"#333333\",buttonBgHover:props.buttonBgHoverDark||\"#374151\",buttonBorder:props.buttonBorderDark||\"#374151\",iconColor:props.iconColorDark||\"#D1D5DB\",menuBg:props.menuBgDark||\"#1F2937\",menuBorder:props.menuBorderDark||\"#374151\",menuItemHover:props.menuItemHoverDark||\"#2D3748\",textPrimary:props.textPrimaryDark||\"#F9FAFB\",textSecondary:props.textSecondaryDark||\"#9CA3AF\",divider:props.dividerDark||\"#374151\"}:{// Light mode colors\nbuttonBg:\"white\",buttonBgHover:\"#F9FAFB\",buttonBorder:props.buttonBorderColor||\"#E5E7EB\",iconColor:props.iconColor||\"#545454\",menuBg:\"white\",menuBorder:\"#E5E7EB\",menuItemHover:\"#F9FAFB\",textPrimary:\"#111827\",textSecondary:\"#6B7280\",divider:\"#E5E7EB\"};// Create Supabase client and check auth on mount\nuseEffect(()=>{async function checkAuth(){try{setLoading(true);// Create Supabase client\nconst supabase=createClient(props.supabaseUrl,props.supabaseKey);// Check if user is logged in\nconst{data:{session},error}=await supabase.auth.getSession();if(error)throw error;if(session){setIsLoggedIn(true);setUserEmail(session.user.email);// Fetch profile data to get username\nconst{data:profileData,error:profileError}=await supabase.from(\"customer_profiles\").select(\"username, first_name, last_name\").eq(\"email\",session.user.email).maybeSingle();if(!profileError&&profileData){// Use username if available, otherwise use first name or email\nconst displayName=profileData.username||(profileData.first_name?`${profileData.first_name}${profileData.last_name?\" \"+profileData.last_name.charAt(0):\"\"}`:session.user.email.split(\"@\")[0]);setUsername(displayName);}else{// Fallback to email username if no profile\nsetUsername(session.user.email.split(\"@\")[0]);}}else{setIsLoggedIn(false);setUserEmail(null);setUsername(null);}}catch(error){console.error(\"Auth check error:\",error);}finally{setLoading(false);}}checkAuth();},[props.supabaseUrl,props.supabaseKey]);// Handle sign out\nconst handleSignOut=async()=>{try{setLoading(true);const supabase=createClient(props.supabaseUrl,props.supabaseKey);const{error}=await supabase.auth.signOut();if(error)throw error;setIsLoggedIn(false);setUserEmail(null);setUsername(null);setIsMenuOpen(false);if(props.onSignOut){props.onSignOut();}// Redirect to home page or reload\nif(props.redirectAfterSignOut){window.location.href=props.redirectAfterSignOut;}}catch(error){console.error(\"Sign out error:\",error);}finally{setLoading(false);}};// Handle menu item clicks\nconst handleMenuItemClick=option=>{setIsMenuOpen(false);switch(option){case\"profile\":if(props.profileUrl){window.location.href=props.profileUrl;}if(props.onProfileClick){props.onProfileClick();}break;case\"help\":if(props.helpUrl){window.location.href=props.helpUrl;}if(props.onHelpClick){props.onHelpClick();}break;case\"signin\":if(props.signInUrl){window.location.href=props.signInUrl;}if(props.onSignInClick){props.onSignInClick();}break;default:break;}};// Close menu when clicking outside\nuseEffect(()=>{const handleClickOutside=event=>{if(isMenuOpen&&!event.target.closest(\".profile-menu-container\")){setIsMenuOpen(false);}};document.addEventListener(\"mousedown\",handleClickOutside);return()=>{document.removeEventListener(\"mousedown\",handleClickOutside);};},[isMenuOpen]);return /*#__PURE__*/_jsxs(\"div\",{className:\"profile-menu-container\",style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>isLoggedIn?setIsMenuOpen(!isMenuOpen):handleMenuItemClick(\"signin\"),style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:props.buttonSize||\"40px\",height:props.buttonSize||\"40px\",borderRadius:props.buttonRadius||\"8px\",backgroundColor:colors.buttonBg,border:`1px solid ${colors.buttonBorder}`,cursor:loading?\"default\":\"pointer\",transition:\"all 0.2s ease\",color:colors.iconColor,position:\"relative\",padding:\"4px\"},onMouseEnter:e=>{if(!loading){e.currentTarget.style.backgroundColor=colors.buttonBgHover;}},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=colors.buttonBg;},\"aria-label\":isLoggedIn?\"Open user menu\":\"Sign in\",disabled:loading,children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 6C13.93 6 15.5 7.57 15.5 9.5C15.5 11.43 13.93 13 12 13C10.07 13 8.5 11.43 8.5 9.5C8.5 7.57 10.07 6 12 6ZM12 20C9.97 20 8.1 19.33 6.66 18.12C6.39 17.9 6.22 17.58 6.22 17.24C6.22 15.7 7.5 14.42 9.04 14.42H14.96C16.5 14.42 17.78 15.7 17.78 17.24C17.78 17.58 17.61 17.9 17.34 18.12C15.9 19.33 14.03 20 12 20Z\",fill:\"currentColor\"})})}),isLoggedIn&&isMenuOpen&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:\"calc(100% + 8px)\",right:0,width:props.menuWidth||\"200px\",backgroundColor:colors.menuBg,borderRadius:\"8px\",boxShadow:props.darkMode?\"0 4px 12px rgba(0, 0, 0, 0.4)\":\"0 4px 12px rgba(0, 0, 0, 0.1)\",border:`1px solid ${colors.menuBorder}`,zIndex:1e3,fontFamily:props.fontFamily||\"Inter, sans-serif\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"12px 16px\",borderBottom:`1px solid ${colors.divider}`},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"14px\",color:colors.textSecondary,marginBottom:\"4px\"},children:\"Signed in as\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"16px\",fontWeight:500,color:colors.textPrimary,wordBreak:\"break-word\"},children:username||userEmail})]}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{onClick:()=>handleMenuItemClick(\"profile\"),style:{padding:\"10px 16px\",cursor:\"pointer\",color:colors.textPrimary,fontSize:\"14px\",transition:\"background-color 0.2s\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=colors.menuItemHover;},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"transparent\";},children:props.profileLabel||\"My Profile\"}),/*#__PURE__*/_jsx(\"div\",{onClick:()=>handleMenuItemClick(\"help\"),style:{padding:\"10px 16px\",cursor:\"pointer\",color:colors.textPrimary,fontSize:\"14px\",transition:\"background-color 0.2s\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=colors.menuItemHover;},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"transparent\";},children:props.helpLabel||\"Help\"}),/*#__PURE__*/_jsx(\"div\",{style:{height:\"1px\",backgroundColor:colors.divider,margin:\"4px 0\"}}),/*#__PURE__*/_jsx(\"div\",{onClick:handleSignOut,style:{padding:\"10px 16px\",cursor:\"pointer\",color:colors.textPrimary,fontSize:\"14px\",transition:\"background-color 0.2s\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=colors.menuItemHover;},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"transparent\";},children:props.signOutLabel||\"Log out\"})]})]})]});}// Default props\nProfileMenu.defaultProps={supabaseUrl:\"https://cdsiwgwtdvrbkdphoyjp.supabase.co\",supabaseKey:\"\",darkMode:false,buttonSize:\"40px\",buttonRadius:\"8px\",buttonBorderColor:\"#E5E7EB\",iconColor:\"#545454\",// Dark mode defaults\nbuttonBgDark:\"#1F2937\",buttonBgHoverDark:\"#374151\",buttonBorderDark:\"#374151\",iconColorDark:\"#D1D5DB\",menuBgDark:\"#1F2937\",menuBorderDark:\"#374151\",menuItemHoverDark:\"#2D3748\",textPrimaryDark:\"#F9FAFB\",textSecondaryDark:\"#9CA3AF\",dividerDark:\"#374151\",// Other defaults\nmenuWidth:\"240px\",fontFamily:\"Inter, sans-serif\",signInUrl:\"/signin\",profileUrl:\"/profile\",helpUrl:\"/help\",redirectAfterSignOut:\"/\",profileLabel:\"My Profile\",helpLabel:\"Help\",signOutLabel:\"Log out\"};// Property controls\naddPropertyControls(ProfileMenu,{// Theme Toggle\ndarkMode:{type:ControlType.Boolean,title:\"Dark Mode\",defaultValue:false},// Supabase Configuration\nsupabaseUrl:{type:ControlType.String,title:\"Supabase URL\",defaultValue:\"https://cdsiwgwtdvrbkdphoyjp.supabase.co\"},supabaseKey:{type:ControlType.String,title:\"Supabase Key\",defaultValue:\"\"},// Light Mode Styling\nbuttonSize:{type:ControlType.String,title:\"Button Size\",defaultValue:\"40px\"},buttonRadius:{type:ControlType.String,title:\"Button Radius\",defaultValue:\"8px\"},buttonBorderColor:{type:ControlType.Color,title:\"Button Border (Light)\",defaultValue:\"#E5E7EB\"},iconColor:{type:ControlType.Color,title:\"Icon Color (Light)\",defaultValue:\"#545454\"},// Dark Mode Styling\nbuttonBorderDark:{type:ControlType.Color,title:\"Button Border (Dark)\",defaultValue:\"#374151\",hidden:props=>!props.darkMode},iconColorDark:{type:ControlType.Color,title:\"Icon Color (Dark)\",defaultValue:\"#D1D5DB\",hidden:props=>!props.darkMode},menuBgDark:{type:ControlType.Color,title:\"Menu Background (Dark)\",defaultValue:\"#1F2937\",hidden:props=>!props.darkMode},textPrimaryDark:{type:ControlType.Color,title:\"Primary Text (Dark)\",defaultValue:\"#F9FAFB\",hidden:props=>!props.darkMode},textSecondaryDark:{type:ControlType.Color,title:\"Secondary Text (Dark)\",defaultValue:\"#9CA3AF\",hidden:props=>!props.darkMode},// Menu Styling\nmenuWidth:{type:ControlType.String,title:\"Menu Width\",defaultValue:\"240px\"},fontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Inter, sans-serif\"},// URLs\nsignInUrl:{type:ControlType.String,title:\"Sign In URL\",defaultValue:\"/signin\"},profileUrl:{type:ControlType.String,title:\"Profile URL\",defaultValue:\"/profile\"},helpUrl:{type:ControlType.String,title:\"Help URL\",defaultValue:\"/help\"},redirectAfterSignOut:{type:ControlType.String,title:\"Redirect After Sign Out\",defaultValue:\"/\"},// Labels\nprofileLabel:{type:ControlType.String,title:\"Profile Label\",defaultValue:\"My Profile\"},helpLabel:{type:ControlType.String,title:\"Help Label\",defaultValue:\"Help\"},signOutLabel:{type:ControlType.String,title:\"Sign Out Label\",defaultValue:\"Log out\"},// Event Handlers\nonProfileClick:{type:ControlType.EventHandler,title:\"On Profile Click\"},onHelpClick:{type:ControlType.EventHandler,title:\"On Help Click\"},onSignInClick:{type:ControlType.EventHandler,title:\"On Sign In Click\"},onSignOut:{type:ControlType.EventHandler,title:\"On Sign Out\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProfileMenu\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProfileMenuwithDarkMode.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{createClient}from\"@supabase/supabase-js\";import{useState,useEffect}from\"react\";export default function SignupButton(props){// Authentication state\nconst[isLoggedIn,setIsLoggedIn]=useState(false);const[isGuestUser,setIsGuestUser]=useState(false);const[loading,setLoading]=useState(true);// Check authentication state when component mounts\nuseEffect(()=>{if(props.useTestData){// Use test data in preview mode\nsetIsLoggedIn(props.testLoggedIn);setIsGuestUser(props.testIsGuest);setLoading(false);return;}async function checkAuth(){try{setLoading(true);// Create Supabase client\nconst supabase=createClient(props.supabaseUrl,props.supabaseKey);// Check if user is logged in\nconst{data:{session},error}=await supabase.auth.getSession();if(error){console.error(\"Auth check error:\",error);setLoading(false);return;}if(session){setIsLoggedIn(true);// Check if the user is a guest user by checking profile\nconst{data:profileData}=await supabase.from(\"customer_profiles\").select(\"role\").eq(\"email\",session.user.email).maybeSingle();// If role is 'guest', or if explicitly set in metadata\nconst isGuest=profileData?.role===\"guest\"||session.user.app_metadata?.is_guest===true||session.user.user_metadata?.is_guest===true;setIsGuestUser(isGuest);}else{setIsLoggedIn(false);setIsGuestUser(false);}}catch(error){console.error(\"Auth check error:\",error);}finally{setLoading(false);}}checkAuth();},[props.supabaseUrl,props.supabaseKey,props.useTestData,props.testLoggedIn,props.testIsGuest]);// Handle button click\nconst handleClick=()=>{if(props.onClick){props.onClick();}else if(props.url){window.location.href=props.url;}};// Determine if the button should be shown\nconst shouldShow=props.forceShow||!isLoggedIn||isGuestUser;// Don't render anything if button shouldn't be shown\nif(!shouldShow&&!loading){return null;}// Option to show a placeholder during loading\nif(loading&&!props.showDuringLoading){if(props.showPlaceholder){return /*#__PURE__*/_jsx(\"div\",{style:{width:props.width||\"auto\",height:props.height||\"40px\",opacity:.5,backgroundColor:props.backgroundColor||\"transparent\"}});}return null;}// Render the button if we should show it\nreturn /*#__PURE__*/_jsxs(\"button\",{onClick:handleClick,style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",padding:props.padding||\"8px 16px\",backgroundColor:props.backgroundColor||\"#2563EB\",color:props.textColor||\"white\",border:props.border||\"none\",borderRadius:props.borderRadius||\"6px\",fontSize:props.fontSize||\"14px\",fontWeight:props.fontWeight||500,fontFamily:props.fontFamily||\"Inter, sans-serif\",cursor:\"pointer\",transition:\"background-color 0.2s\",width:props.width||\"auto\",height:props.height||\"40px\",opacity:loading?.7:1,boxShadow:props.shadow||\"none\",textDecoration:\"none\",whiteSpace:\"nowrap\",overflow:\"hidden\"},disabled:loading,children:[loading&&props.showLoadingIndicator?/*#__PURE__*/_jsx(\"div\",{style:{width:\"14px\",height:\"14px\",borderRadius:\"50%\",border:\"2px solid rgba(255,255,255,0.3)\",borderTopColor:\"white\",animation:\"spin 0.7s linear infinite\",marginRight:props.text?\"8px\":\"0\"}}):null,props.iconBefore&&/*#__PURE__*/_jsx(\"div\",{style:{marginRight:\"8px\"},children:props.iconBefore}),props.text||\"Sign up\",props.iconAfter&&/*#__PURE__*/_jsx(\"div\",{style:{marginLeft:\"8px\"},children:props.iconAfter}),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes spin {\n                    0% { transform: rotate(0deg); }\n                    100% { transform: rotate(360deg); }\n                }\n                `})]});}// Default props\nSignupButton.defaultProps={text:\"Sign up\",backgroundColor:\"#2563EB\",textColor:\"white\",url:\"/signup\",fontFamily:\"Inter, sans-serif\",borderRadius:\"6px\",supabaseUrl:\"https://cdsiwgwtdvrbkdphoyjp.supabase.co\",supabaseKey:\"\",forceShow:false,showDuringLoading:false,useTestData:false,testLoggedIn:false,testIsGuest:false};// Property controls for Framer\naddPropertyControls(SignupButton,{// Content\ntext:{type:ControlType.String,title:\"Text\",defaultValue:\"Sign up\"},url:{type:ControlType.String,title:\"URL\",defaultValue:\"/signup\"},// Appearance\nbackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#2563EB\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"white\"},padding:{type:ControlType.String,title:\"Padding\",defaultValue:\"8px 16px\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:10,max:24,step:1,displayStepper:true},fontWeight:{type:ControlType.Number,title:\"Font Weight\",defaultValue:500,min:300,max:900,step:100,displayStepper:true},fontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Inter, sans-serif\"},width:{type:ControlType.String,title:\"Width\",defaultValue:\"auto\"},height:{type:ControlType.String,title:\"Height\",defaultValue:\"40px\"},borderRadius:{type:ControlType.String,title:\"Border Radius\",defaultValue:\"6px\"},border:{type:ControlType.String,title:\"Border\",defaultValue:\"none\"},shadow:{type:ControlType.String,title:\"Shadow\",defaultValue:\"none\"},// Authentication\nsupabaseUrl:{type:ControlType.String,title:\"Supabase URL\",defaultValue:\"https://cdsiwgwtdvrbkdphoyjp.supabase.co\",group:\"Authentication\"},supabaseKey:{type:ControlType.String,title:\"Supabase Key\",defaultValue:\"\",group:\"Authentication\"},forceShow:{type:ControlType.Boolean,title:\"Force Show\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",group:\"Authentication\"},// Testing & Development\nuseTestData:{type:ControlType.Boolean,title:\"Use Test Data\",defaultValue:false,group:\"Testing\"},testLoggedIn:{type:ControlType.Boolean,title:\"Test: Is Logged In\",defaultValue:false,hidden:props=>!props.useTestData,group:\"Testing\"},testIsGuest:{type:ControlType.Boolean,title:\"Test: Is Guest User\",defaultValue:false,hidden:props=>!props.useTestData,group:\"Testing\"},// Loading behavior\nshowDuringLoading:{type:ControlType.Boolean,title:\"Show While Loading\",defaultValue:false,group:\"Loading\"},showPlaceholder:{type:ControlType.Boolean,title:\"Show Placeholder\",defaultValue:false,hidden:props=>props.showDuringLoading,group:\"Loading\"},showLoadingIndicator:{type:ControlType.Boolean,title:\"Show Spinner\",defaultValue:true,group:\"Loading\"},// Event handlers\nonClick:{type:ControlType.EventHandler,title:\"On Click\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignupButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignupButton.map"],"mappings":"+XAAmM,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,EAAW,EAAc,CAAC,GAAS,EAAM,CAAM,CAAC,EAAU,EAAa,CAAC,EAAS,KAAK,CAAM,CAAC,EAAS,EAAY,CAAC,EAAS,KAAK,CAAM,CAAC,EAAQ,EAAW,CAAC,GAAS,EAAK,CAAM,CAAC,EA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