{"version":3,"file":"ReZero_UserDataProvider_Local.MQxCQRUr.mjs","names":["createClient"],"sources":["https:/framerusercontent.com/modules/F4iL63PqQYpcO64feNRk/WzK1fShPAeuXtFgFXVhU/ReZero_UserDataProvider_Local.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// @ts-ignore\nimport{createClient}from\"https://esm.sh/@supabase/supabase-js@2\";const emptyUserData={isLoading:false,isAuthenticated:false,isLoggedIn:false,isProfileComplete:false,needsProfileCompletion:false,isAccountLinked:false,linkedProviders:[],provider:\"\",name:\"\",email:\"\",phone:\"\",birthdate:\"\",gender:\"\",interests:[]};const pendingSocialProfileCompletionKey=\"rzPendingSocialProfileCompletionRedirect\";const pendingSocialProfileCompletionTtl=10*60*1e3// 10 minutes\n;function getAuthGateCompatibleUserData(userData){if(!userData?.isAuthenticated||userData?.isLoggedIn){return userData;}return{...userData,isLoggedIn:true};}function publishUserData(userData){if(typeof window===\"undefined\")return;const publishedUserData=getAuthGateCompatibleUserData(userData);window.__rzUserData=publishedUserData;try{if(userData.isAuthenticated||userData.isLoggedIn){window.sessionStorage.setItem(\"rzUserData\",JSON.stringify(userData));}else{window.sessionStorage.removeItem(\"rzUserData\");}}catch(error){console.warn(\"[RZ] user data storage sync failed:\",error);}window.dispatchEvent(new CustomEvent(\"rzUserDataLoaded\",{detail:publishedUserData}));window.setTimeout(()=>syncInjectedLogoutButton(publishedUserData),0);window.setTimeout(()=>syncInjectedLogoutButton(publishedUserData),350);}const injectedLogoutButtonAttribute=\"data-rz-injected-logout-button\";function getPlainElementText(element){return(element?.textContent||\"\").replace(/\\s+/g,\" \").trim();}function isVisibleElement(element){if(typeof window===\"undefined\"||!element)return false;const rect=element.getBoundingClientRect();const style=window.getComputedStyle(element);return rect.width>0&&rect.height>0&&rect.bottom>0&&rect.right>0&&rect.top<window.innerHeight&&rect.left<window.innerWidth&&style.display!==\"none\"&&style.visibility!==\"hidden\"&&style.opacity!==\"0\";}function findVisibleMypageLink(){if(typeof document===\"undefined\")return null;const candidates=Array.from(document.querySelectorAll(\"a,button,[role='button']\"));return candidates.find(element=>{const text=getPlainElementText(element);const href=element.getAttribute(\"href\")||\"\";return isVisibleElement(element)&&(text===\"마이페이지\"||/(^|\\/)mypage(\\?|#|$)/.test(href));})||null;}function hasFramerTextStructure(element){return Boolean(element.querySelector(\".framer-text, [data-framer-component-type='RichTextContainer']\"));}function setClonedLogoutText(logoutElement){const textElements=Array.from(logoutElement.querySelectorAll(\".framer-text\"));const textElement=textElements.find(element=>getPlainElementText(element)===\"마이페이지\")||textElements.find(element=>getPlainElementText(element).length>0);if(textElement){textElement.textContent=\"로그아웃\";return;}const richTextElements=Array.from(logoutElement.querySelectorAll(\"[data-framer-component-type='RichTextContainer']\"));const richTextElement=richTextElements.find(element=>getPlainElementText(element).length>0);if(richTextElement){richTextElement.textContent=\"로그아웃\";return;}logoutElement.textContent=\"로그아웃\";}function createInjectedLogoutElement(reference){const logoutElement=reference.cloneNode(true);logoutElement.removeAttribute(\"id\");logoutElement.querySelectorAll(\"[id]\").forEach(element=>{element.removeAttribute(\"id\");});logoutElement.setAttribute(injectedLogoutButtonAttribute,\"true\");logoutElement.setAttribute(\"aria-label\",\"로그아웃\");logoutElement.setAttribute(\"role\",\"button\");logoutElement.removeAttribute(\"target\");logoutElement.removeAttribute(\"rel\");if(logoutElement instanceof HTMLAnchorElement){logoutElement.setAttribute(\"href\",\"#\");}setClonedLogoutText(logoutElement);logoutElement.style.cursor=\"pointer\";return logoutElement;}function shouldReplaceInjectedLogoutElement(existing,reference){if(!existing)return true;const referenceElement=reference;return existing.tagName!==referenceElement.tagName||existing.className!==referenceElement.className||hasFramerTextStructure(reference)&&!hasFramerTextStructure(existing);}function getVisiblePreviousElementSibling(element){let sibling=element.previousElementSibling;while(sibling){if(isVisibleElement(sibling))return sibling;sibling=sibling.previousElementSibling;}return null;}function getVerticalGapBeforeElement(element){const previousElement=getVisiblePreviousElementSibling(element);if(!previousElement)return null;const previousRect=previousElement.getBoundingClientRect();const elementRect=element.getBoundingClientRect();const gap=elementRect.top-previousRect.bottom;return gap>=0&&gap<=80?gap:null;}function alignInjectedLogoutPosition(logoutElement,mypageLink){if(typeof window===\"undefined\")return;const expectedGap=getVerticalGapBeforeElement(mypageLink);const targetGap=expectedGap??16;logoutElement.style.marginTop=\"\";const mypageRect=mypageLink.getBoundingClientRect();const logoutRect=logoutElement.getBoundingClientRect();const currentGap=logoutRect.top-mypageRect.bottom;const missingGap=targetGap-currentGap;if(Math.abs(missingGap)<=1)return;const currentMarginTop=parseFloat(window.getComputedStyle(logoutElement).marginTop||\"0\");const nextMarginTop=Math.max(0,currentMarginTop+missingGap);logoutElement.style.marginTop=nextMarginTop+\"px\";}function syncInjectedLogoutButton(userData){if(typeof document===\"undefined\"||typeof window===\"undefined\")return;const existing=document.querySelector(\"[\"+injectedLogoutButtonAttribute+\"]\");const shouldShow=Boolean(userData?.isAuthenticated||userData?.isLoggedIn);if(!shouldShow){existing?.remove();return;}const mypageLink=findVisibleMypageLink();if(!mypageLink||!mypageLink.parentElement)return;let logoutElement=existing;if(shouldReplaceInjectedLogoutElement(existing,mypageLink)){const nextLogoutElement=createInjectedLogoutElement(mypageLink);existing?.replaceWith(nextLogoutElement);logoutElement=nextLogoutElement;}else if(logoutElement){setClonedLogoutText(logoutElement);logoutElement.setAttribute(\"aria-label\",\"로그아웃\");logoutElement.setAttribute(\"role\",\"button\");}if(!logoutElement)return;logoutElement.onclick=event=>{event.preventDefault();event.stopPropagation();window.__rzInjectedLogout?.();};if(logoutElement.previousElementSibling!==mypageLink){mypageLink.parentElement.insertBefore(logoutElement,mypageLink.nextSibling);}alignInjectedLogoutPosition(logoutElement,mypageLink);}function getNormalizedRedirectTarget(link){if(typeof window===\"undefined\")return null;const trimmedLink=link.trim();if(!trimmedLink)return null;try{const targetUrl=new URL(trimmedLink,window.location.origin);return{href:targetUrl.origin===window.location.origin?`${targetUrl.pathname}${targetUrl.search}${targetUrl.hash}`:targetUrl.href,pathname:targetUrl.pathname,comparable:targetUrl.origin===window.location.origin?`${targetUrl.pathname}${targetUrl.search}${targetUrl.hash}`:targetUrl.href};}catch(error){console.error(\"[RZ] invalid profileCompletePath:\",trimmedLink,error);return null;}}function normalizePhone(value){if(value&&typeof value===\"object\"){return`${value.countryCode??\"\"} ${value.phone??\"\"}`.trim();}return value??\"\";}const requiredProfileFieldList=[\"name\",\"phone\",\"birthdate\"];function getRequiredFields(){return requiredProfileFieldList;}function getPathList(value){return(value||\"\").split(\",\").map(path=>path.trim()).filter(Boolean);}function isCurrentPathIncluded(paths){if(typeof window===\"undefined\")return false;const currentPath=window.location.pathname;return paths.some(path=>{const cleanPath=path.startsWith(\"/\")?path:`/${path}`;return currentPath===cleanPath||currentPath.startsWith(`${cleanPath}/`);});}function getEventElement(target){if(target instanceof Element)return target;if(target instanceof Text)return target.parentElement;return null;}function normalizeText(value){return(value||\"\").replace(/\\s+/g,\" \").trim().toLowerCase();}function looksLikeLogout(text){return text.includes(\"로그아웃\")||text.includes(\"logout\");}function isLogoutTarget(target){const element=getEventElement(target);if(!element)return false;const clickable=element.closest(\"button, a, [role='button'], [data-framer-name]\");if(!clickable)return false;const labels=[clickable.getAttribute?.(\"aria-label\"),clickable.getAttribute?.(\"title\"),clickable.getAttribute?.(\"data-framer-name\")].map(normalizeText).filter(Boolean);const ownText=normalizeText(clickable.textContent||\"\");const matchedByLabel=labels.some(looksLikeLogout);const matchedByText=ownText===\"로그아웃\"||ownText===\"logout\"||looksLikeLogout(ownText)&&ownText.length<=10;const matched=matchedByLabel||matchedByText;return matched;}function getCachedUserData(){if(typeof window===\"undefined\")return null;if(window.__rzUserData)return window.__rzUserData;try{const raw=window.sessionStorage.getItem(\"rzUserData\");if(!raw)return null;return JSON.parse(raw);}catch(_error){return null;}}function markPendingSocialProfileCompletionRedirect(){if(typeof window===\"undefined\")return;const value=String(Date.now());try{window.sessionStorage.setItem(pendingSocialProfileCompletionKey,value);}catch(_error){}try{window.localStorage.setItem(pendingSocialProfileCompletionKey,value);}catch(_error){}}function hasPendingSocialProfileCompletionRedirect(){if(typeof window===\"undefined\")return false;try{const sessionRaw=window.sessionStorage.getItem(pendingSocialProfileCompletionKey);const localRaw=window.localStorage.getItem(pendingSocialProfileCompletionKey);const now=Date.now();const isValidTimestamp=raw=>{if(!raw)return false;const timestamp=Number(raw);if(Number.isNaN(timestamp))return false;return now-timestamp<=pendingSocialProfileCompletionTtl;};if(isValidTimestamp(sessionRaw)||isValidTimestamp(localRaw)){return true;}try{window.sessionStorage.removeItem(pendingSocialProfileCompletionKey);}catch(_error){}try{window.localStorage.removeItem(pendingSocialProfileCompletionKey);}catch(_error){}return false;}catch(_error){return false;}}function clearPendingSocialProfileCompletionRedirect(){if(typeof window===\"undefined\")return;try{window.sessionStorage.removeItem(pendingSocialProfileCompletionKey);}catch(_error){}try{window.localStorage.removeItem(pendingSocialProfileCompletionKey);}catch(_error){}}function isSignInPath(){return typeof window!==\"undefined\"&&(window.location.pathname===\"/signin\"||window.location.pathname.endsWith(\"/signin\"));}function isSocialLoginTarget(target){const element=getEventElement(target);if(!element)return false;const clickable=element.closest(\"button, a, [role='button'], [data-framer-name]\");if(!clickable)return false;const labels=[clickable.textContent||\"\",clickable.getAttribute?.(\"aria-label\")||\"\",clickable.getAttribute?.(\"title\")||\"\",clickable.getAttribute?.(\"data-framer-name\")||\"\"].map(normalizeText).filter(Boolean);const providerKeywords=[\"네이버\",\"naver\",\"구글\",\"google\",\"카카오\",\"kakao\"];return labels.some(label=>providerKeywords.some(keyword=>label.includes(keyword)));}function shouldResumeProfileCompletion(userData){const notLinked=!userData?.isAccountLinked;return Boolean(notLinked&&(userData?.needsProfileCompletion===true||userData?.isAuthenticated===true&&userData?.isProfileComplete===false&&isOAuthProvider(userData?.provider)));}function wait(ms){return new Promise(resolve=>setTimeout(resolve,ms));}function getAuthProviders(authUser){const providers=[];const appProvider=authUser?.app_metadata?.provider;if(typeof appProvider===\"string\"&&appProvider.trim()){providers.push(appProvider);}const identityProviders=Array.isArray(authUser?.identities)?authUser.identities.map(identity=>identity?.provider).filter(provider=>typeof provider===\"string\"&&provider.trim()):[];for(const provider of identityProviders){providers.push(provider);}const deduped=[];for(const provider of providers){if(!deduped.includes(provider))deduped.push(provider);}return deduped;}function getAuthProvider(authUser){return getAuthProviders(authUser)[0]||\"\";}function hasLinkedEmailOAuthIdentity(authUser){const providers=getAuthProviders(authUser);return providers.includes(\"email\")&&providers.some(isOAuthProvider);}function isAnonymousAuthUser(authUser){return Boolean(authUser?.is_anonymous||authUser?.app_metadata?.provider===\"anonymous\"||authUser?.identities?.some(identity=>identity?.provider===\"anonymous\"));}function isOAuthProvider(provider){return Boolean(provider&&provider!==\"email\");}function hasValue(value){if(value===undefined||value===null)return false;if(typeof value===\"string\")return value.trim().length>0;if(Array.isArray(value))return value.length>0;if(typeof value===\"object\")return Object.keys(value).length>0;return true;}function firstValue(...values){return values.find(value=>hasValue(value))??\"\";}function getProfileValues(data,authUser,phoneValue){const metadata=authUser?.user_metadata??{};return{name:firstValue(data?.name,data?.full_name,metadata.full_name,metadata.name),email:firstValue(data?.email,authUser?.email,metadata.email),phone:phoneValue,birthdate:firstValue(data?.birthdate,data?.birthDate,data?.birth_date,data?.birthday,data?.dateOfBirth),gender:firstValue(data?.gender,data?.sex),interests:data?.interests??[]};}function getMissingFields(profileValues,requiredFields){return requiredFields.filter(field=>!hasValue(profileValues?.[field]));}function clearSupabaseAuthStorage(projectId){if(typeof window===\"undefined\")return;const exactKey=`sb-${projectId}-auth-token`;try{window.localStorage.removeItem(\"rzUserData\");window.sessionStorage.removeItem(\"rzUserData\");window.localStorage.removeItem(exactKey);window.sessionStorage.removeItem(exactKey);for(let index=window.localStorage.length-1;index>=0;index-=1){const key=window.localStorage.key(index);if(key?.startsWith(\"sb-\")&&key.includes(\"auth-token\")){window.localStorage.removeItem(key);}}for(let index=window.sessionStorage.length-1;index>=0;index-=1){const key=window.sessionStorage.key(index);if(key?.startsWith(\"sb-\")&&key.includes(\"auth-token\")){window.sessionStorage.removeItem(key);}}}catch(error){console.warn(\"[RZ] auth storage cleanup failed:\",error);}}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n *//** @framerDisableUnlink */export default function ReZero_UserDataProvider_Local(props){const{supabaseProjectId,supabaseAnonKey,tableName,profileCompletePath,redirectIncompleteProfiles,authRequiredPaths,signedOutRedirectPath}=props;useEffect(()=>{if(typeof window===\"undefined\")return;if(!supabaseProjectId||!supabaseAnonKey){publishUserData(emptyUserData);return;}const supabaseUrl=`https://${supabaseProjectId}.supabase.co`;const supabase=createClient(supabaseUrl,supabaseAnonKey);window.__rzSupabase=supabase;let isMounted=true;let redirectHandled=false;let signedOutRedirectHandled=false;const handleInjectedLogout=async()=>{const shouldLogout=window.confirm(\"로그아웃 하시겠습니까?\");if(!shouldLogout)return;await supabase.auth.signOut().catch(error=>{console.warn(\"[RZ] injected logout failed:\",error);});clearAllAuthStorage(supabaseProjectId);publishUserData(emptyUserData);const redirectTarget=getNormalizedRedirectTarget(signedOutRedirectPath||\"/\");if(redirectTarget)window.location.href=redirectTarget.href;};window.__rzInjectedLogout=handleInjectedLogout;const injectedLogoutSyncTimer=window.setInterval(()=>{syncInjectedLogoutButton(window.__rzUserData||getCachedUserData());},700);window.setTimeout(()=>syncInjectedLogoutButton(window.__rzUserData||getCachedUserData()),120);window.setTimeout(()=>syncInjectedLogoutButton(window.__rzUserData||getCachedUserData()),900);async function notifyAccountLinked(session){const isOAuthCallback=window.location.hash.includes(\"access_token\")||window.location.search.includes(\"code=\");if(!isOAuthCallback)return;const{data}=await supabase.auth.getUser().catch(()=>({data:{user:null}}));const authUser=data?.user||session?.user;if(!authUser||!hasLinkedEmailOAuthIdentity(authUser))return;const linkedProviders=getAuthProviders(authUser);const dedupeKey=`rzLinkedAccountNoticeShown:${authUser.id}:${linkedProviders.join(\",\")}`;try{if(window.sessionStorage.getItem(dedupeKey))return;window.sessionStorage.setItem(dedupeKey,String(true));}catch(_error){}alert(\"기존 이메일 계정과 소셜 계정이 연결됐습니다.\\n앞으로 두 방법 모두로 로그인하실 수 있어요.\");}function redirectToProfileCompleteIfNeeded(shouldRedirect){if(!shouldRedirect||redirectHandled)return;const completionPath=profileCompletePath||\"/signup-social\";const redirectTarget=getNormalizedRedirectTarget(completionPath);if(!redirectTarget)return;const isAlreadyOnCompletionPage=window.location.pathname===redirectTarget.pathname;if(isAlreadyOnCompletionPage)return;redirectHandled=true;console.log(\"[RZ][PROFILE_REDIRECT]\",{href:redirectTarget.href,path:window.location.pathname});window.location.replace(redirectTarget.href);}function redirectSignedOutFromProtectedPage(){if(signedOutRedirectHandled)return;const protectedPaths=getPathList(authRequiredPaths||\"/mypage\");if(!isCurrentPathIncluded(protectedPaths))return;const redirectTarget=getNormalizedRedirectTarget(signedOutRedirectPath||\"/\");if(!redirectTarget)return;const isAlreadyOnTarget=window.location.pathname===redirectTarget.pathname;if(isAlreadyOnTarget)return;signedOutRedirectHandled=true;window.location.replace(redirectTarget.href);}async function guardProtectedPageAccess(){const protectedPaths=getPathList(authRequiredPaths||\"/mypage\");if(!isCurrentPathIncluded(protectedPaths))return;const liveUserData=window.__rzUserData;if(liveUserData&&liveUserData.isAuthenticated===false&&liveUserData.isLoggedIn===false){redirectSignedOutFromProtectedPage();return;}const{data}=await supabase.auth.getSession().catch(()=>({data:{session:null}}));if(!data?.session||isAnonymousAuthUser(data.session.user)){redirectSignedOutFromProtectedPage();}}function handleProtectedLogoutClick(event){const protectedPaths=getPathList(authRequiredPaths||\"/mypage\");if(!isCurrentPathIncluded(protectedPaths))return;const logout=isLogoutTarget(event.target);if(!logout)return;window.setTimeout(redirectSignedOutFromProtectedPage,120);window.setTimeout(redirectSignedOutFromProtectedPage,600);}function handleProfileCompletionResumeClick(event){if(!isSignInPath())return;if(!isSocialLoginTarget(event.target))return;markPendingSocialProfileCompletionRedirect();const cachedUserData=getCachedUserData();if(!shouldResumeProfileCompletion(cachedUserData))return;event.preventDefault();event.stopPropagation();event.stopImmediatePropagation?.();event.nativeEvent?.stopImmediatePropagation?.();clearPendingSocialProfileCompletionRedirect();redirectToProfileCompleteIfNeeded(true);}async function fetchRegistrationWithRetry(table,userId){let lastResult={data:null,error:null};for(let attempt=0;attempt<3;attempt+=1){lastResult=await supabase.from(table).select(\"*\").eq(\"user_id\",userId).maybeSingle();if(lastResult.error||lastResult.data)return lastResult;if(attempt<2)await wait(350);}return lastResult;}async function fetchUserDataWithSession(session){const table=tableName||\"registrations\";const requiredFields=getRequiredFields();const{data:authUserData,error:authUserError}=await supabase.auth.getUser();const authUser=authUserData?.user;if(authUserError||!authUser){await supabase.auth.signOut({scope:\"local\"}).catch(()=>{});clearSupabaseAuthStorage(supabaseProjectId);if(isMounted)publishUserData(emptyUserData);redirectSignedOutFromProtectedPage();return;}const provider=getAuthProvider(authUser);if(isAnonymousAuthUser(authUser)){if(!isMounted)return;publishUserData({...emptyUserData,provider:\"anonymous\"});redirectSignedOutFromProtectedPage();return;}const{data,error}=await fetchRegistrationWithRetry(table,authUser.id);const phoneValue=normalizePhone(data?.phone);const profileValues=getProfileValues(data,authUser,phoneValue);if(error){if(!isMounted)return;publishUserData({...emptyUserData,isAuthenticated:true,provider,name:profileValues.name,email:profileValues.email,needsProfileCompletion:true});return;}const completionValues={name:profileValues.name,phone:phoneValue,birthdate:profileValues.birthdate};const missingFields=getMissingFields(completionValues,requiredFields);const complete=missingFields.length===0;const linkedProviders=getAuthProviders(authUser);const hasLinkedEmailOAuthAccount=hasLinkedEmailOAuthIdentity(authUser);const isOAuthUser=isOAuthProvider(provider)&&!hasLinkedEmailOAuthAccount;const loggedIn=complete||!isOAuthUser;const isOAuthCallback=window.location.hash.includes(\"access_token\")||window.location.search.includes(\"code=\");const protectedPaths=getPathList(authRequiredPaths||\"/mypage\");const isOnProtectedPath=isCurrentPathIncluded(protectedPaths);const hasPendingSocialProfileCompletion=hasPendingSocialProfileCompletionRedirect();const shouldCompleteProfile=Boolean(session?.user)&&!complete&&isOAuthUser&&redirectIncompleteProfiles!==false&&(isOAuthCallback||isOnProtectedPath||hasPendingSocialProfileCompletion);console.log(\"[RZ][PROFILE_GATE]\",{path:window.location.pathname,provider,complete,isOAuthUser,hasLinkedEmailOAuthAccount,linkedProviders,isOAuthCallback,isOnProtectedPath,hasPendingSocialProfileCompletion,shouldCompleteProfile,missingFields});if(complete||!isOAuthUser){clearPendingSocialProfileCompletionRedirect();}if(!isMounted)return;publishUserData({isLoading:false,isAuthenticated:true,isLoggedIn:loggedIn,isProfileComplete:complete,needsProfileCompletion:!complete&&isOAuthUser,isAccountLinked:hasLinkedEmailOAuthAccount,linkedProviders,provider,name:profileValues.name,email:profileValues.email,phone:profileValues.phone,birthdate:profileValues.birthdate,gender:profileValues.gender,interests:profileValues.interests});if(shouldCompleteProfile){clearPendingSocialProfileCompletionRedirect();}redirectToProfileCompleteIfNeeded(shouldCompleteProfile);}const{data:{subscription}}=supabase.auth.onAuthStateChange((_event,session)=>{if(!isMounted)return;if(session){notifyAccountLinked(session);fetchUserDataWithSession(session);}else{publishUserData(emptyUserData);redirectSignedOutFromProtectedPage();}});supabase.auth.getSession().then(({data})=>{if(!isMounted)return;if(data?.session){notifyAccountLinked(data.session);fetchUserDataWithSession(data.session);}else{publishUserData(emptyUserData);redirectSignedOutFromProtectedPage();}}).catch(()=>{});window.addEventListener(\"click\",handleProtectedLogoutClick,true);window.addEventListener(\"pointerdown\",handleProfileCompletionResumeClick,true);window.addEventListener(\"mousedown\",handleProfileCompletionResumeClick,true);window.addEventListener(\"click\",handleProfileCompletionResumeClick,true);window.addEventListener(\"touchstart\",handleProfileCompletionResumeClick,true);const protectedGuardTimer=window.setInterval(guardProtectedPageAccess,1e3);window.setTimeout(guardProtectedPageAccess,700);return()=>{isMounted=false;window.removeEventListener(\"click\",handleProtectedLogoutClick,true);window.removeEventListener(\"pointerdown\",handleProfileCompletionResumeClick,true);window.removeEventListener(\"mousedown\",handleProfileCompletionResumeClick,true);window.removeEventListener(\"click\",handleProfileCompletionResumeClick,true);window.removeEventListener(\"touchstart\",handleProfileCompletionResumeClick,true);window.clearInterval(protectedGuardTimer);window.clearInterval(injectedLogoutSyncTimer);document.querySelector(\"[\"+injectedLogoutButtonAttribute+\"]\")?.remove();if(window.__rzInjectedLogout===handleInjectedLogout){delete window.__rzInjectedLogout;}subscription.unsubscribe();};},[supabaseProjectId,supabaseAnonKey,tableName,profileCompletePath,redirectIncompleteProfiles,authRequiredPaths,signedOutRedirectPath]);if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",backgroundColor:\"rgba(59, 130, 246, 0.08)\",color:\"#3b82f6\",fontSize:\"11px\",fontWeight:\"bold\",border:\"1px dashed #3b82f6\",borderRadius:\"8px\",whiteSpace:\"nowrap\",minWidth:\"max-content\",padding:\"0 12px\"},children:\"관제탑 (Provider)\"});}return null;}ReZero_UserDataProvider_Local.defaultProps={tableName:\"registrations\",profileCompletePath:\"/signup-social\",profileCompleteMessage:\"회원가입이 아직 완료되지 않았어요.\\n연락처를 등록하셔야 모든 서비스를 이용하실 수 있어요.\",requiredProfileFields:\"name,phone,birthdate\",redirectIncompleteProfiles:true,authRequiredPaths:\"/mypage\",signedOutRedirectPath:\"/\"};addPropertyControls(ReZero_UserDataProvider_Local,{supabaseProjectId:{type:ControlType.String,title:\"Project ID\",placeholder:\"wnpsddhsrocxywfbyruo\"},supabaseAnonKey:{type:ControlType.String,title:\"Anon Key\"},tableName:{type:ControlType.String,title:\"테이블 이름\",defaultValue:\"registrations\"},profileCompletePath:{type:ControlType.Link,title:\"프로필 완성 페이지\",defaultValue:\"/signup-social\",description:\"소셜 로그인 후 필수 정보 미등록 유저를 이 페이지로 이동시킵니다.\"},profileCompleteMessage:{type:ControlType.String,title:\"알림 메시지\",defaultValue:\"회원가입이 아직 완료되지 않았어요.\\n연락처를 등록하셔야 모든 서비스를 이용하실 수 있어요.\"},requiredProfileFields:{type:ControlType.String,title:\"필수 필드\",defaultValue:\"name,phone,birthdate\",description:\"현재 완료 기준은 name, phone, birthdate 세 개로 고정되어 있습니다.\"},redirectIncompleteProfiles:{type:ControlType.Boolean,title:\"미완성 이동\",enabledTitle:\"ON\",disabledTitle:\"OFF\",defaultValue:true},authRequiredPaths:{type:ControlType.String,title:\"로그인 필요 경로\",defaultValue:\"/mypage\",description:\"쉼표로 여러 경로를 입력할 수 있습니다.\"},signedOutRedirectPath:{type:ControlType.Link,title:\"로그아웃 이동\",defaultValue:\"/\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ReZero_UserDataProvider_Local\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ReZero_UserDataProvider_Local.map"],"mappings":"uPAEC,SAAS,EAA8B,EAAS,CAAuE,MAAnE,CAAC,GAAU,iBAAiB,GAAU,WAAmB,EAAgB,CAAC,GAAG,EAAS,WAAW,EAAI,CAAE,CAAC,SAAS,EAAgB,EAAS,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,EAAkB,EAA8B,CAAQ,EAAE,EAAO,aAAa,EAAkB,GAAG,CAAI,EAAS,iBAAiB,EAAS,WAAY,EAAO,eAAe,QAAQ,aAAa,KAAK,UAAU,CAAQ,CAAC,EAAQ,EAAO,eAAe,WAAW,YAAY,CAAG,OAAO,EAAM,CAAC,QAAQ,KAAK,sCAAsC,CAAK,CAAE,CAAC,EAAO,cAAc,IAAI,YAAY,mBAAmB,CAAC,OAAO,CAAiB,CAAC,CAAC,EAAE,EAAO,eAAe,EAAyB,CAAiB,EAAE,CAAC,EAAE,EAAO,eAAe,EAAyB,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