{"version":3,"file":"shared.Cd_CCWwP.mjs","names":["React.useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/fe1Lf7H4liMLHLAU9i3k/J9MhuFeIGJPtglxatppm/GlobalAuthGuard.js"],"sourcesContent":["// User request: Create GlobalAuthGuard.tsx exporting a default code component named GlobalAuthGuard for a Framer site using Memberstack; it must be inert on specific public paths, otherwise immediately show a full-screen cover, check getCurrentMember, and redirect unauthenticated users to /giris without content flash, while staying SSR/canvas-safe.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";// @ts-ignore Framer runtime provides this module in-project.\nimport{addPropertyControls,ControlType,RenderTarget}from\"framer\";const PUBLIC_PATHS=new Set([\"/\",\"/giris\",\"/basvurun-alindi\",\"/odeme\",\"/odeme/iban\"]);const PAYMENT_LOCK_EXEMPT_PATHS=new Set([\"/odeme-bekliyor\"]);const PLAN_ID_RENKCLUB_AKTIF=\"pln_renkclub-aktif-zc9c07wp\";const PLAN_ID_DEVRE_DISI=\"pln_devre-d--tb960j3m\";const PLAN_ID_RENKCLUB_ADMIN=\"pln_renkclub-admin-uv8q07xc\";const PLAN_ID_SAMPIYONLAR=\"pln_-ampiyonlar-y2w80a51\";const ACTIVE_PLAN_STATUSES=new Set([\"active\",\"trialing\"]);const MEMBERSTACK_CACHE_TTL_MS=1500;const CATEGORY_UNLOCKS_ENDPOINT=\"https://renkclub-admin-api.atakannkuvell.workers.dev/category-unlocks/me\";const SECURITY_2FA_STATUS_ENDPOINT=\"https://renkclub-admin-api.atakannkuvell.workers.dev/security/2fa/status\";const TWO_FA_CHALLENGE_PATH=\"/2fa-dogrula\";const TWO_FA_DEVICE_ID_KEY=\"renkclub_2fa_device_id\";const TWO_FA_SESSION_TOKEN_KEY=\"renkclub_2fa_session_token\";const TWO_FA_RETURN_TO_KEY=\"renkclub_2fa_return_to\";let sharedCategoryUnlocksPromise=null;function getSharedMemberstackWindowCache(){if(typeof window===\"undefined\")return null;const key=\"__rcMemberstackCache\";const existing=window[key];if(existing&&typeof existing===\"object\"){return existing;}const created={};window[key]=created;return created;}function getSharedCurrentMember(memberstackDom){if(!memberstackDom||typeof memberstackDom.getCurrentMember!==\"function\"){return Promise.resolve(null);}const cache=getSharedMemberstackWindowCache();if(!cache)return Promise.resolve(memberstackDom.getCurrentMember());const now=Date.now();const existing=cache.currentMember;if(existing&&existing.expiresAt>now)return existing.promise;const promise=Promise.resolve(memberstackDom.getCurrentMember()).then(result=>{if(!result?.data&&cache.currentMember?.promise===promise){delete cache.currentMember;}return result;}).catch(error=>{if(cache.currentMember?.promise===promise){delete cache.currentMember;}throw error;});cache.currentMember={promise,expiresAt:now+MEMBERSTACK_CACHE_TTL_MS};return promise;}function getSharedMemberCookie(memberstackDom){if(!memberstackDom||typeof memberstackDom.getMemberCookie!==\"function\"){return Promise.resolve(\"\");}const cache=getSharedMemberstackWindowCache();if(!cache){return Promise.resolve(memberstackDom.getMemberCookie()).then(value=>typeof value===\"string\"?value:\"\");}const now=Date.now();const existing=cache.memberCookie;if(existing&&existing.expiresAt>now)return existing.promise;const promise=Promise.resolve(memberstackDom.getMemberCookie()).then(value=>{const token=typeof value===\"string\"?value:\"\";if(!token&&cache.memberCookie?.promise===promise){delete cache.memberCookie;}return token;}).catch(error=>{if(cache.memberCookie?.promise===promise){delete cache.memberCookie;}throw error;});cache.memberCookie={promise,expiresAt:now+MEMBERSTACK_CACHE_TTL_MS};return promise;}function getSharedCategoryUnlocksPayload(request){if(typeof window===\"undefined\")return request();const key=\"__rcCategoryUnlocksPromise\";const existing=window[key];if(existing)return existing;const promise=request();const cleanup=()=>{if(window[key]===promise){delete window[key];}};void promise.then(cleanup,cleanup);window[key]=promise;return promise;}function getOrCreateTwoFactorDeviceId(){if(typeof window===\"undefined\")return\"\";try{const existing=String(window.localStorage.getItem(TWO_FA_DEVICE_ID_KEY)||\"\").trim();if(existing.length>=12)return existing;const make=()=>{if(typeof crypto!==\"undefined\"&&typeof crypto.randomUUID===\"function\"){return crypto.randomUUID();}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}-${Math.random().toString(36).slice(2)}`;};const created=`${make()}-${make()}`;window.localStorage.setItem(TWO_FA_DEVICE_ID_KEY,created);return created;}catch(_error){return\"\";}}function getTwoFactorSessionToken(){if(typeof window===\"undefined\")return\"\";try{return String(window.localStorage.getItem(TWO_FA_SESSION_TOKEN_KEY)||\"\").trim();}catch(_error){return\"\";}}function rememberTwoFactorReturnPath(path){if(typeof window===\"undefined\")return;try{const safe=path.startsWith(\"/\")&&path!==TWO_FA_CHALLENGE_PATH?path:\"/egitimler\";window.sessionStorage.setItem(TWO_FA_RETURN_TO_KEY,safe);}catch(_error){}}async function resolveTwoFactorGate(memberstackDom,currentPath){if(currentPath===TWO_FA_CHALLENGE_PATH)return\"allow\";let token=\"\";try{token=String(await getSharedMemberCookie(memberstackDom)||\"\").trim();}catch(_error){return\"allow\";}if(!token)return\"allow\";const deviceId=getOrCreateTwoFactorDeviceId();const sessionToken=getTwoFactorSessionToken();const headers={Authorization:`Bearer ${token}`};if(deviceId)headers[\"X-RenkClub-Device-Id\"]=deviceId;if(sessionToken)headers[\"X-RenkClub-2FA-Token\"]=sessionToken;try{const response=await fetch(SECURITY_2FA_STATUS_ENDPOINT,{method:\"GET\",headers});if(!response.ok)return\"allow\";const payload=await response.json().catch(()=>null);const twoFactor=payload?.twoFactor;if(!twoFactor?.enabled){try{window.localStorage.removeItem(TWO_FA_SESSION_TOKEN_KEY);}catch(_error){}return\"allow\";}if(twoFactor?.sessionVerified===true)return\"allow\";const returnPath=`${window.location.pathname}${window.location.search||\"\"}${window.location.hash||\"\"}`;rememberTwoFactorReturnPath(returnPath);return\"challenge\";}catch(_error){// 2FA servisine geçici olarak ulaşılamadığında temel Memberstack erişimini bozma.\nreturn\"allow\";}}function normalizePathname(pathname){const raw=String(pathname||\"\").trim();let pathOnly=raw;const hashIndex=pathOnly.indexOf(\"#\");if(hashIndex>=0)pathOnly=pathOnly.slice(0,hashIndex);const queryIndex=pathOnly.indexOf(\"?\");if(queryIndex>=0)pathOnly=pathOnly.slice(0,queryIndex);let decoded=pathOnly;try{decoded=decodeURIComponent(pathOnly);}catch(_error){decoded=pathOnly;}const trimmed=decoded.trim().toLowerCase();if(!trimmed)return\"/\";const withLeadingSlash=trimmed.startsWith(\"/\")?trimmed:`/${trimmed}`;if(withLeadingSlash.length===1)return withLeadingSlash;return withLeadingSlash.replace(/\\/+$/,\"\");}function isPublicPath(pathname){const normalizedPathname=normalizePathname(pathname);return PUBLIC_PATHS.has(normalizedPathname)||normalizedPathname===\"/politikalar\"||normalizedPathname.startsWith(\"/politikalar/\");}function isPaymentLockExemptPath(pathname){const normalizedPathname=normalizePathname(pathname);return isPublicPath(normalizedPathname)||PAYMENT_LOCK_EXEMPT_PATHS.has(normalizedPathname);}function isAffiliatePanelPath(pathname){const normalizedPathname=normalizePathname(pathname);return normalizedPathname===\"/panel/affiliate\"||normalizedPathname.startsWith(\"/panel/affiliate/\");}function hasAffiliateAccess(member){const value=member?.customFields?.[\"affiliate-access\"];if(value===true)return true;const normalized=String(value??\"\").trim().toLowerCase();return normalized===\"true\"||normalized===\"1\"||normalized===\"evet\"||normalized===\"yes\";}function isSampiyonlarPath(pathname){const normalizedPathname=normalizePathname(pathname);return normalizedPathname===\"/egitimler/sampiyonlar\"||normalizedPathname.startsWith(\"/egitimler/sampiyonlar/\");}function readEgitimlerCategorySlug(pathname){const normalizedPathname=normalizePathname(pathname);const match=normalizedPathname.match(/^\\/egitimler\\/([^/]+)$/);if(!match?.[1])return\"\";return match[1];}function extractCategoryRecords(payload){if(Array.isArray(payload?.categories))return payload.categories;if(Array.isArray(payload))return payload;if(Array.isArray(payload?.data?.categories))return payload.data.categories;return[];}async function getSharedCategoryUnlockRecords(memberstackDom){if(sharedCategoryUnlocksPromise)return sharedCategoryUnlocksPromise;sharedCategoryUnlocksPromise=(async()=>{if(!memberstackDom||typeof memberstackDom.getMemberCookie!==\"function\")return null;let token=\"\";try{const tokenRaw=await getSharedMemberCookie(memberstackDom);token=typeof tokenRaw===\"string\"?tokenRaw.trim():\"\";}catch(_error){return null;}if(!token)return null;try{const json=await getSharedCategoryUnlocksPayload(async()=>{const response=await fetch(CATEGORY_UNLOCKS_ENDPOINT,{method:\"GET\",headers:{Authorization:`Bearer ${token}`}});if(!response.ok)throw new Error(`unlock_fetch_failed_${response.status}`);return response.json();});return extractCategoryRecords(json);}catch(_error){return null;}})();const currentPromise=sharedCategoryUnlocksPromise;const cleanup=()=>{if(sharedCategoryUnlocksPromise===currentPromise){sharedCategoryUnlocksPromise=null;}};void currentPromise.then(cleanup,cleanup);return sharedCategoryUnlocksPromise;}function isLockedCategoryPath(pathname,records){const normalizedPathname=normalizePathname(pathname);const slug=readEgitimlerCategorySlug(normalizedPathname);if(!slug)return false;for(const record of records){const normalizedRoute=normalizePathname(record?.route??\"\");const normalizedSlug=normalizeStringValue(record?.slug);const routeMatches=Boolean(normalizedRoute)&&normalizedRoute===normalizedPathname;const slugMatches=Boolean(normalizedSlug)&&normalizedSlug===slug;if(!routeMatches&&!slugMatches)continue;const locked=Boolean(record?.locked);const unlocked=Boolean(record?.unlocked);if(locked&&!unlocked)return true;}return false;}function normalizeStringValue(value){if(typeof value!==\"string\")return\"\";return value.trim().toLowerCase();}function readFirstString(values){for(const value of values){const normalized=normalizeStringValue(value);if(normalized)return normalized;}return\"\";}function isPlanConnectionActive(connection){const status=readFirstString([connection?.status,connection?.state,connection?.planStatus,connection?.connectionStatus]);if(!status)return true;return ACTIVE_PLAN_STATUSES.has(status);}function getPlanIdFromConnection(connection){const candidates=[connection?.planId,connection?.plan?.id,connection?.price?.plan?.id,connection?.membership?.id];for(const candidate of candidates){const normalized=normalizeStringValue(candidate);if(normalized)return normalized;}return\"\";}function resolveActiveMemberPlanIds(member){const planIds=new Set;const planConnections=Array.isArray(member?.planConnections)?member.planConnections:[];for(const connection of planConnections){if(!isPlanConnectionActive(connection))continue;const planId=getPlanIdFromConnection(connection);if(planId)planIds.add(planId);}return planIds;}function getMemberPlanFlags(member){const activePlanIds=resolveActiveMemberPlanIds(member);return{hasAdminPlan:activePlanIds.has(PLAN_ID_RENKCLUB_ADMIN),hasDevreDisiPlan:activePlanIds.has(PLAN_ID_DEVRE_DISI),hasAktifPlan:activePlanIds.has(PLAN_ID_RENKCLUB_AKTIF),hasSampiyonlarPlan:activePlanIds.has(PLAN_ID_SAMPIYONLAR)};}function isCanvasRenderTarget(){try{const target=RenderTarget.current();return target===RenderTarget.canvas||target===RenderTarget.export||target===RenderTarget.thumbnail;}catch(_error){return false;}}async function waitForMemberstackDom(maxWaitMs,pollEveryMs){if(typeof window===\"undefined\")return null;const startedAt=Date.now();while(Date.now()-startedAt<maxWaitMs){const memberstackDom=window?.$memberstackDom;if(memberstackDom&&typeof memberstackDom.getCurrentMember===\"function\"){return memberstackDom;}await new Promise(resolve=>{window.setTimeout(()=>resolve(),pollEveryMs);});}return null;}function getSharedGuardRun(){if(typeof window===\"undefined\")return null;const existing=window.__rcGlobalAuthGuardRun;if(existing&&typeof existing===\"object\"&&typeof existing.path===\"string\"&&existing.promise){return existing;}return null;}function setSharedGuardRun(run){if(typeof window===\"undefined\")return;window.__rcGlobalAuthGuardRun=run;}function clearSharedGuardRun(run){if(typeof window===\"undefined\")return;if(window.__rcGlobalAuthGuardRun===run){delete window.__rcGlobalAuthGuardRun;}}async function resolveAuthOutcome(currentPath){const memberstackDom=await waitForMemberstackDom(5e3,150);if(!memberstackDom){return{type:\"redirect\",path:\"/giris\"};}const result=await getSharedCurrentMember(memberstackDom);const member=result?.data??result;const isLoggedIn=Boolean(member&&member.id);if(!isLoggedIn){return{type:\"redirect\",path:\"/giris\"};}if(currentPath===TWO_FA_CHALLENGE_PATH){return{type:\"allow\"};}const twoFactorGate=await resolveTwoFactorGate(memberstackDom,currentPath);if(twoFactorGate===\"challenge\"){return{type:\"redirect\",path:TWO_FA_CHALLENGE_PATH};}const{hasAdminPlan,hasDevreDisiPlan,hasAktifPlan,hasSampiyonlarPlan}=getMemberPlanFlags(member);const affiliateAccess=hasAffiliateAccess(member);if(currentPath===\"/sistem\"&&!hasAdminPlan){return{type:\"redirect\",path:affiliateAccess?\"/panel/affiliate\":\"/odeme-bekliyor\"};}if(hasAdminPlan){return{type:\"allow\"};}// Affiliate access is independent from customer payment plans.\n// Affiliate-only members may use only the affiliate panel.\n// Members who are both active customers and affiliates keep normal customer access too.\nif(affiliateAccess&&isAffiliatePanelPath(currentPath)){return{type:\"allow\"};}if(affiliateAccess&&!hasAktifPlan&&!hasDevreDisiPlan){return{type:\"redirect\",path:\"/panel/affiliate\"};}if(isPaymentLockExemptPath(currentPath)){return{type:\"allow\"};}if(hasDevreDisiPlan){return{type:\"redirect\",path:\"/odeme-bekliyor\"};}if(hasAktifPlan){if(isSampiyonlarPath(currentPath)&&!hasAdminPlan&&!hasSampiyonlarPlan){return{type:\"deny-sampiyonlar\"};}const categorySlug=readEgitimlerCategorySlug(currentPath);const isCategoryPath=Boolean(categorySlug)&&currentPath!==\"/egitimler\"&&!isSampiyonlarPath(currentPath);if(isCategoryPath){const categoryRecords=await getSharedCategoryUnlockRecords(memberstackDom);if(Array.isArray(categoryRecords)&&isLockedCategoryPath(currentPath,categoryRecords)){return{type:\"redirect\",path:\"/egitimler\"};}}return{type:\"allow\"};}return{type:\"redirect\",path:\"/odeme-bekliyor\"};}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function GlobalAuthGuard(props){const{backgroundColor}=props;const[showCover,setShowCover]=React.useState(()=>{if(typeof window===\"undefined\")return false;if(isCanvasRenderTarget())return false;return!isPublicPath(window.location.pathname);});const[showSampiyonlarDenied,setShowSampiyonlarDenied]=React.useState(false);React.useEffect(()=>{if(typeof window===\"undefined\")return;if(isCanvasRenderTarget()){React.startTransition(()=>{setShowCover(false);setShowSampiyonlarDenied(false);});return;}const currentPath=normalizePathname(window.location.pathname);if(isPublicPath(currentPath)){React.startTransition(()=>{setShowCover(false);setShowSampiyonlarDenied(false);});return;}let cancelled=false;React.startTransition(()=>{setShowCover(true);setShowSampiyonlarDenied(false);});(async()=>{try{const existingRun=getSharedGuardRun();const run=existingRun&&existingRun.path===currentPath?existingRun:(()=>{const promise=resolveAuthOutcome(currentPath);const created={path:currentPath,promise};setSharedGuardRun(created);void promise.then(()=>clearSharedGuardRun(created),()=>clearSharedGuardRun(created));return created;})();const outcome=await run.promise;if(cancelled)return;if(outcome.type===\"allow\"){React.startTransition(()=>setShowCover(false));return;}if(outcome.type===\"deny-sampiyonlar\"){React.startTransition(()=>{setShowCover(true);setShowSampiyonlarDenied(true);});return;}window.location.replace(outcome.path);}catch(_error){if(cancelled)return;window.location.replace(\"/giris\");}})();return()=>{cancelled=true;};},[]);if(typeof window===\"undefined\")return null;if(isCanvasRenderTarget())return null;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:1,height:1,pointerEvents:\"none\"}}),showCover?/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"fixed\",inset:0,zIndex:2147483647,background:backgroundColor},children:showSampiyonlarDenied?/*#__PURE__*/_jsxs(\"div\",{role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":\"Erişim izni gerekli\",style:{position:\"absolute\",inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:20,boxSizing:\"border-box\",background:\"#0A0A0A\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",width:680,height:680,right:-180,top:-220,borderRadius:999,background:\"radial-gradient(50% 50% at 50% 50%, rgba(227,176,75,0.18) 0%, rgba(227,176,75,0) 70%)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",width:760,height:760,left:-260,bottom:-280,borderRadius:999,background:\"radial-gradient(50% 50% at 50% 50%, rgba(227,176,75,0.18) 0%, rgba(227,176,75,0) 70%)\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",maxWidth:460,background:\"#111111\",border:\"1px solid rgba(227,176,75,0.22)\",borderRadius:16,padding:24,boxSizing:\"border-box\",color:\"#FFFFFF\",boxShadow:\"0 20px 60px rgba(0,0,0,0.5)\",fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,fontSize:28,fontWeight:700,lineHeight:1.12,letterSpacing:\"-0.02em\",color:\"#FFFFFF\"},children:\"Bu alana erişimin yok.\"}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"12px 0 0\",fontSize:15,lineHeight:1.5,color:\"rgba(255,255,255,0.64)\"},children:\"Şampiyonlar b\\xf6l\\xfcm\\xfc yalnızca erişim verilen \\xfcyelere a\\xe7ıktır.\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/panel/erisim\",onMouseEnter:event=>{event.currentTarget.style.filter=\"brightness(1.03)\";},onMouseLeave:event=>{event.currentTarget.style.filter=\"brightness(1)\";},style:{marginTop:18,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:12,padding:\"10px 14px\",textDecoration:\"none\",background:\"#E3B04B\",border:\"1px solid rgba(227,176,75,0.4)\",color:\"#111111\",fontSize:14,fontWeight:600,transition:\"filter 0.15s ease\",filter:\"brightness(1)\"},children:\"Panele D\\xf6n\"})]})]}):null}):null]});}addPropertyControls(GlobalAuthGuard,{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlobalAuthGuard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__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