{"version":3,"file":"SignOutButton.DriL4io5.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Q3yaKKwrknL1eh14rRl3/HpP3NuC0JwjtYDYaOGOr/SignOutButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{supabase}from\"https://framerusercontent.com/modules/xcIapRS8z41Gs2D6gsQG/6loPuVrMdwSyq8IYdkpU/SupabaseClient.js\";export function withSignOutButton(Component){return props=>{async function handleClick(){await supabase.auth.signOut();window.location.href=window.location.origin+\"/sign-up\";}return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withSignOutButton\":{\"type\":\"reactHoc\",\"name\":\"withSignOutButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"sKAAmK,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAAO,CAAC,eAAe,GAAa,CAAC,MAAM,EAAS,KAAK,QAAQ,EAAE,EAAO,SAAS,KAAK,EAAO,SAAS,OAAO,UAAW,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,CAAW,CAAC,CAAE,CAAE,qBAA7W,IAAwH"}