{"version":3,"file":"AccountManager.l7ObAMfp.mjs","names":["React"],"sources":["https:/framerusercontent.com/modules/d0QJmNDrg2IaiUFU8Rkc/NNUf8FHRg2X9vfpQ5QEE/AccountManager.js"],"sourcesContent":["//@ts-ignore\nimport{jsx as _jsx}from\"react/jsx-runtime\";import React from\"react\";import{useOutsetaUserSnapshot}from\"https://framerusercontent.com/modules/XsIXfInWYK7u1C1TRJrL/J81N4zU5hcb9rCM1PdGZ/OutsetaUserStore.js\";const CONNECT_BANNER_DISMISS_STORAGE_PREFIX=\"academy-connect-banner-dismissed-v1\";const CONNECT_BANNER_DISMISS_EVENT=\"academy-connect-banner-dismissed\";const connectBannerDismissListeners=new Set;function getConnectBannerDismissUserKey(user){if(!user)return\"anonymous\";const candidate=user[\"Person.Uid\"]||user[\"Uid\"]||user[\"Account.Uid\"]||user[\"Email\"]||user[\"Account.Name\"]||\"\";const key=typeof candidate===\"string\"?candidate.trim().toLowerCase():String(candidate).trim().toLowerCase();return key||\"anonymous\";}function getConnectBannerDismissStorageKey(user){return`${CONNECT_BANNER_DISMISS_STORAGE_PREFIX}:${getConnectBannerDismissUserKey(user)}`;}function isConnectBannerDismissed(user){if(typeof window===\"undefined\")return false;try{const key=getConnectBannerDismissStorageKey(user);return window.localStorage.getItem(key)===\"1\";}catch(_error){return false;}}function notifyConnectBannerDismissChanged(){connectBannerDismissListeners.forEach(listener=>{listener();});if(typeof window!==\"undefined\"){try{const event=typeof CustomEvent===\"function\"?new CustomEvent(CONNECT_BANNER_DISMISS_EVENT):new Event(CONNECT_BANNER_DISMISS_EVENT);window.dispatchEvent(event);}catch(_error){}}}function setConnectBannerDismissed(user){if(typeof window===\"undefined\")return;try{const key=getConnectBannerDismissStorageKey(user);window.localStorage.setItem(key,\"1\");}catch(_error){}notifyConnectBannerDismissChanged();}function subscribeToConnectBannerDismissChanges(listener){connectBannerDismissListeners.add(listener);return()=>{connectBannerDismissListeners.delete(listener);};}function getPrefersReducedMotion(){if(typeof window===\"undefined\")return false;try{return window.matchMedia?.(\"(prefers-reduced-motion: reduce)\")?.matches?true:false;}catch(_error){return false;}}function useOutsetaUserState(){const snapshot=useOutsetaUserSnapshot();return{user:snapshot.user,resolved:snapshot.resolved};}function useOutsetaUser(){return useOutsetaUserState().user;}const ACCOUNT_STAGE_LABELS={1:\"Demo\",2:\"Trialing\",3:\"Subscribing\",4:\"Cancelling\",5:\"Expired\",6:\"Trial Expired\",7:\"Past Due\"};const BILLING_RENEWAL_TERM_LABELS={1:\"Monthly\",2:\"Annual\",3:\"Quarterly\",4:\"Lifetime\"};function formatDateValue(value,options){if(!value)return\"\";const date=new Date(value);if(Number.isNaN(date.getTime()))return\"\";return date.toLocaleDateString(undefined,options??{year:\"numeric\",month:\"short\",day:\"numeric\"});}function formatCurrencyValue(value,currency=\"USD\"){if(value===null||value===undefined||value===\"\")return\"\";const number=Number(value);if(Number.isNaN(number))return String(value);return new Intl.NumberFormat(undefined,{style:\"currency\",currency}).format(number);}function composeAddress(user,baseKeys){const parts=[];baseKeys.forEach(key=>{const value=user[key];if(typeof value===\"string\"&&value.trim().length>0){parts.push(value.trim());}});return parts.join(\", \");}function getAccountStageInfo(user){if(!user)return{number:null,label:\"\"};const stageValue=user[\"Account.AccountStage\"]??user[\"AccountStage\"];const number=typeof stageValue===\"number\"?stageValue:Number(stageValue);const labelCandidate=user[\"AccountStageLabel\"];const label=typeof labelCandidate===\"string\"&&labelCandidate.trim()||ACCOUNT_STAGE_LABELS[number]||\"\";return{number:Number.isFinite(number)?number:null,label};}function createVisibilityOverride(predicate){return Component=>{return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);const visible=predicate(user);return renderWithVisibility(Component,props,visible);};};}function withFormattedUserProperty(field,formatter){return Component=>{return props=>{const user=useOutsetaUser();if(!user)return null;const value=user[field];const text=formatter(value,user)??\"\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};};}function renderWithVisibility(Component,props,isVisible){return isVisible?/*#__PURE__*/_jsx(Component,{...props}):hideComponent(Component,props);}function hideComponent(Component,props){const{style,...rest}=props;return /*#__PURE__*/_jsx(Component,{...rest,style:{...style??{},display:\"none\",opacity:0,pointerEvents:\"none\",visibility:\"hidden\",position:\"absolute\",width:0,height:0,overflow:\"hidden\",margin:0,padding:0,border:\"none\",clip:\"rect(0,0,0,0)\"}});}function withUserProperty(property,Component){return props=>{const user=useOutsetaUser();if(!user)return null;return /*#__PURE__*/_jsx(Component,{...props,text:user[property]});};}function withUserImageProperty(property,Component){return props=>{const user=useOutsetaUser();if(!user)return null;const imageSrc=user[property];if(imageSrc){return /*#__PURE__*/_jsx(Component,{...props,background:{...props.background,src:imageSrc,srcSet:undefined}});}if(props.background?.src){return /*#__PURE__*/_jsx(Component,{...props});}return null;};}export function showWithLinkedGarage61(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);const hasGarage61=!!user&&(!!user[\"Garage61Username\"]||!!user[\"Garage61Id\"]);return renderWithVisibility(Component,props,hasGarage61);};}export function showWithoutLinkedGarage61(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);if(!user)return hideComponent(Component,props);const hasGarage61=!!user[\"Garage61Username\"]||!!user[\"Garage61Id\"];return renderWithVisibility(Component,props,!hasGarage61);};}// Same as showWithoutLinkedGarage61 but also shows for anonymous/signed-out\nexport function showWithoutAnonLinkedGarage61(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);const hasGarage61=!!user&&(!!user[\"Garage61Username\"]||!!user[\"Garage61Id\"]);return renderWithVisibility(Component,props,!hasGarage61);};}export function showWithLinkediRacing(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);const hasiRacing=!!user&&(!!user[\"iRacingUsername\"]||!!user[\"iRacingId\"]);return renderWithVisibility(Component,props,hasiRacing);};}export function showWithoutLinkediRacing(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);if(!user)return hideComponent(Component,props);const hasiRacing=!!user[\"iRacingUsername\"]||!!user[\"iRacingId\"];return renderWithVisibility(Component,props,!hasiRacing);};}export function showWithLinkedDiscord(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);const hasDiscord=!!user&&(!!user[\"DiscordUsername\"]||!!user[\"DiscordId\"]);return renderWithVisibility(Component,props,hasDiscord);};}export function showWithoutLinkedDiscord(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);if(!user)return hideComponent(Component,props);const hasDiscord=!!user[\"DiscordUsername\"]||!!user[\"DiscordId\"];return renderWithVisibility(Component,props,!hasDiscord);};}export function showWithoutLinkediRacingOrDiscord(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);if(!user)return hideComponent(Component,props);const hasiRacing=!!user[\"iRacingUsername\"]||!!user[\"iRacingId\"];const hasDiscord=!!user[\"DiscordUsername\"]||!!user[\"DiscordId\"];return renderWithVisibility(Component,props,!hasiRacing||!hasDiscord);};}export function showWithoutLinkedGarage61OrDiscord(Component){return props=>{const{user,resolved}=useOutsetaUserState();const[,setDismissVersion]=React.useState(0);const[isExiting,setIsExiting]=React.useState(false);const[hasExitCompleted,setHasExitCompleted]=React.useState(false);const wasVisibleRef=React.useRef(false);React.useEffect(()=>{const handleDismissChange=()=>{React.startTransition(()=>{setDismissVersion(current=>current+1);});};const unsubscribe=subscribeToConnectBannerDismissChanges(handleDismissChange);if(typeof window!==\"undefined\"){const windowListener=()=>handleDismissChange();window.addEventListener(CONNECT_BANNER_DISMISS_EVENT,windowListener);return()=>{unsubscribe?.();window.removeEventListener(CONNECT_BANNER_DISMISS_EVENT,windowListener);};}return()=>{unsubscribe?.();};},[]);const prefersReducedMotion=getPrefersReducedMotion();const hasGarage61=!!user&&(!!user[\"Garage61Username\"]||!!user[\"Garage61Id\"]);const hasDiscord=!!user&&(!!user[\"DiscordUsername\"]||!!user[\"DiscordId\"]);const qualifiesByConnection=!!user&&(!hasGarage61||!hasDiscord);const dismissed=!!user&&isConnectBannerDismissed(user);React.useEffect(()=>{if(!user||!qualifiesByConnection||!dismissed){if(isExiting||hasExitCompleted){React.startTransition(()=>{setIsExiting(false);});React.startTransition(()=>{setHasExitCompleted(false);});}return;}if(prefersReducedMotion||!wasVisibleRef.current){if(isExiting){React.startTransition(()=>{setIsExiting(false);});}if(!hasExitCompleted){React.startTransition(()=>{setHasExitCompleted(true);});}return;}if(hasExitCompleted||isExiting)return;React.startTransition(()=>{setIsExiting(true);});const timeoutId=window.setTimeout(()=>{React.startTransition(()=>{setIsExiting(false);});React.startTransition(()=>{setHasExitCompleted(true);});},280);return()=>{window.clearTimeout(timeoutId);};},[dismissed,hasExitCompleted,isExiting,prefersReducedMotion,qualifiesByConnection,user]);const shouldShowNormally=!!user&&qualifiesByConnection&&!dismissed&&!hasExitCompleted;React.useEffect(()=>{wasVisibleRef.current=shouldShowNormally;},[shouldShowNormally]);if(!resolved)return hideComponent(Component,props);if(!user)return hideComponent(Component,props);if(!qualifiesByConnection)return hideComponent(Component,props);if(dismissed&&!isExiting)return hideComponent(Component,props);if(hasExitCompleted)return hideComponent(Component,props);if(isExiting){return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style??{},opacity:0,transform:\"translateY(6px) scale(0.98)\",maxHeight:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,overflow:\"hidden\",pointerEvents:\"none\",visibility:\"hidden\",transition:\"opacity 280ms ease, transform 280ms ease, max-height 280ms ease, margin 280ms ease, padding 280ms ease\"}});}return renderWithVisibility(Component,props,shouldShowNormally);};}export function withConnectBannerDismissButton(Component){return props=>{const user=useOutsetaUser();const handleClick=React.useCallback(event=>{setConnectBannerDismissed(user);props.onClick?.(event);},[props.onClick,user]);return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}export function showWithLinkedGoogle(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);const hasGoogle=!!user&&!!user[\"GoogleId\"];return renderWithVisibility(Component,props,hasGoogle);};}export function showWithoutLinkedGoogle(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);if(!user)return hideComponent(Component,props);const hasGoogle=!!user[\"GoogleId\"];return renderWithVisibility(Component,props,!hasGoogle);};}export function withAccountName(Component){return withUserProperty(\"Account.Name\",Component);}export function withAccountSubscriptionUid(Component){return withUserProperty(\"Account.CurrentSubscription.Plan.Uid\",Component);}export function withAccountSubscriptionName(Component){return withUserProperty(\"Account.CurrentSubscription.Plan.Name\",Component);}export function withAccountSubscriptionDescription(Component){return withUserProperty(\"Account.CurrentSubscription.Plan.Description\",Component);}export function withGarage61Username(Component){return withUserProperty(\"Garage61Username\",Component);}export function withiRacingId(Component){return withUserProperty(\"iRacingId\",Component);}export function withiRacingUsername(Component){return withUserProperty(\"iRacingUsername\",Component);}export function withDiscordUsername(Component){return withUserProperty(\"DiscordUsername\",Component);}export function withDiscordHandle(Component){return props=>{const user=useOutsetaUser();if(!user)return null;const username=typeof user[\"DiscordUsername\"]===\"string\"?user[\"DiscordUsername\"].trim():\"\";const fallbackId=typeof user[\"DiscordId\"]===\"string\"?user[\"DiscordId\"].trim():\"\";const text=username||fallbackId;if(!text)return null;return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withGoogleId(Component){return withUserProperty(\"GoogleId\",Component);}export function withGoogleEmail(Component){return withUserProperty(\"GoogleEmail\",Component);}export function withUserFirstName(Component){return withUserProperty(\"FirstName\",Component);}export function withUserLastName(Component){return withUserProperty(\"LastName\",Component);}export function withUserFullName(Component){return withUserProperty(\"FullName\",Component);}export function withUserEmail(Component){return withUserProperty(\"Email\",Component);}export function withUserAvatar(Component){return withUserImageProperty(\"ProfileImageS3Url\",Component);}export function withUserPhoneMobile(Component){return withUserProperty(\"PhoneMobile\",Component);}export function withUserPhoneWork(Component){return withUserProperty(\"PhoneWork\",Component);}export function withUserTimezone(Component){return withUserProperty(\"Timezone\",Component);}export function withUserMailingAddress(Component){return props=>{const user=useOutsetaUser();if(!user)return null;const personAddress=composeAddress(user,[\"MailingAddress.AddressLine1\",\"MailingAddress.AddressLine2\",\"MailingAddress.City\",\"MailingAddress.State\",\"MailingAddress.PostalCode\"]);const accountAddress=composeAddress(user,[\"Account.MailingAddress.AddressLine1\",\"Account.MailingAddress.AddressLine2\",\"Account.MailingAddress.City\",\"Account.MailingAddress.State\",\"Account.MailingAddress.PostalCode\"]);const text=personAddress||accountAddress||\"\";return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withAccountBillingAddress(Component){return props=>{const user=useOutsetaUser();if(!user)return null;const text=composeAddress(user,[\"Account.BillingAddress.AddressLine1\",\"Account.BillingAddress.AddressLine2\",\"Account.BillingAddress.City\",\"Account.BillingAddress.State\",\"Account.BillingAddress.PostalCode\"]);return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withAccountStage(Component){return withFormattedUserProperty(\"Account.AccountStage\",value=>{if(value===null||value===undefined)return\"\";return String(value);})(Component);}export function withAccountStageLabel(Component){return props=>{const user=useOutsetaUser();if(!user)return null;const{label}=getAccountStageInfo(user);return /*#__PURE__*/_jsx(Component,{...props,text:label});};}export function withAccountUid(Component){return withUserProperty(\"Account.Uid\",Component);}export function withAccountCreatedDate(Component){return withFormattedUserProperty(\"Account.Created\",value=>formatDateValue(value))(Component);}export function withAccountRenewalDate(Component){return withFormattedUserProperty(\"Account.CurrentSubscription.RenewalDate\",value=>formatDateValue(value))(Component);}export function withAccountPlanMonthlyRate(Component){return withFormattedUserProperty(\"Account.CurrentSubscription.Plan.MonthlyRate\",value=>formatCurrencyValue(value))(Component);}export function withAccountPlanAnnualRate(Component){return withFormattedUserProperty(\"Account.CurrentSubscription.Plan.AnnualRate\",value=>formatCurrencyValue(value))(Component);}export function withAccountBillingRenewalTerm(Component){return withFormattedUserProperty(\"Account.CurrentSubscription.BillingRenewalTerm\",value=>{const termNumber=typeof value===\"number\"?value:Number(value);return BILLING_RENEWAL_TERM_LABELS[termNumber]||\"\";})(Component);}export function withAccountCurrentAddOns(Component){return props=>{const user=useOutsetaUser();if(!user)return null;const addOns=Array.isArray(user.CurrentAddOnUids)?user.CurrentAddOnUids:[];const text=addOns.join(\", \");return /*#__PURE__*/_jsx(Component,{...props,text:text});};}export function withEmailOptInStatus(Component){return withFormattedUserProperty(\"OptInEmail\",value=>value?\"Subscribed\":\"Unsubscribed\")(Component);}export const showWhenEmailOptedIn=createVisibilityOverride(user=>!!user?.OptInEmail);export const showWhenEmailOptedOut=createVisibilityOverride(user=>!user?.OptInEmail);export const showWhenAccountIsTrialing=createVisibilityOverride(user=>getAccountStageInfo(user).number===2);export const showWhenAccountIsSubscribing=createVisibilityOverride(user=>getAccountStageInfo(user).number===3);export const showWhenAccountIsPastDue=createVisibilityOverride(user=>getAccountStageInfo(user).number===7);export const showWhenAccountIsCancelled=createVisibilityOverride(user=>getAccountStageInfo(user).number===5||getAccountStageInfo(user).number===4);export function showWhenHasPaidPlan(Component){return createVisibilityOverride(user=>!!user?.HasAnyPaidPlan)(Component);}export function showWhenOnlyOnFreePlan(Component){return createVisibilityOverride(user=>!!user&&!!user.HasFreePlan&&!user.HasAnyPaidPlan)(Component);}export const showWhenPasswordMustChange=createVisibilityOverride(user=>!!user?.PasswordMustChange);export const showWhenHasLinkedAccounts=createVisibilityOverride(user=>!!user?.Garage61Id||!!user?.iRacingId||!!user?.GoogleId||!!user?.DiscordUsername);/** Hero / membership gates. Declared as `export function` so Framer lists them as overrides. */export function showForAnonymous(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);return renderWithVisibility(Component,props,!user);};}export function showForAuthenticated(Component){return props=>{const{user,resolved}=useOutsetaUserState();if(!resolved)return hideComponent(Component,props);return renderWithVisibility(Component,props,!!user);};}export function showWhenHasGoldPlan(Component){return createVisibilityOverride(user=>!!user?.HasGoldPlan)(Component);}export function showWhenSignedInWithoutGold(Component){return createVisibilityOverride(user=>!!user&&!user.HasGoldPlan)(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withAccountSubscriptionName\":{\"type\":\"reactHoc\",\"name\":\"withAccountSubscriptionName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountCurrentAddOns\":{\"type\":\"reactHoc\",\"name\":\"withAccountCurrentAddOns\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withiRacingUsername\":{\"type\":\"reactHoc\",\"name\":\"withiRacingUsername\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenHasLinkedAccounts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountCreatedDate\":{\"type\":\"reactHoc\",\"name\":\"withAccountCreatedDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithoutLinkediRacing\":{\"type\":\"reactHoc\",\"name\":\"showWithoutLinkediRacing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenPasswordMustChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenAccountIsTrialing\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGoogleId\":{\"type\":\"reactHoc\",\"name\":\"withGoogleId\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithLinkedGoogle\":{\"type\":\"reactHoc\",\"name\":\"showWithLinkedGoogle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithLinkedDiscord\":{\"type\":\"reactHoc\",\"name\":\"showWithLinkedDiscord\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDiscordHandle\":{\"type\":\"reactHoc\",\"name\":\"withDiscordHandle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenAccountIsSubscribing\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenAccountIsCancelled\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGoogleEmail\":{\"type\":\"reactHoc\",\"name\":\"withGoogleEmail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenAccountIsPastDue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withiRacingId\":{\"type\":\"reactHoc\",\"name\":\"withiRacingId\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountUid\":{\"type\":\"reactHoc\",\"name\":\"withAccountUid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithLinkediRacing\":{\"type\":\"reactHoc\",\"name\":\"showWithLinkediRacing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountStage\":{\"type\":\"reactHoc\",\"name\":\"withAccountStage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountBillingRenewalTerm\":{\"type\":\"reactHoc\",\"name\":\"withAccountBillingRenewalTerm\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenOnlyOnFreePlan\":{\"type\":\"reactHoc\",\"name\":\"showWhenOnlyOnFreePlan\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountStageLabel\":{\"type\":\"reactHoc\",\"name\":\"withAccountStageLabel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserTimezone\":{\"type\":\"reactHoc\",\"name\":\"withUserTimezone\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithoutLinkediRacingOrDiscord\":{\"type\":\"reactHoc\",\"name\":\"showWithoutLinkediRacingOrDiscord\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithoutLinkedGarage61OrDiscord\":{\"type\":\"reactHoc\",\"name\":\"showWithoutLinkedGarage61OrDiscord\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenEmailOptedOut\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGarage61Username\":{\"type\":\"reactHoc\",\"name\":\"withGarage61Username\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithoutLinkedGoogle\":{\"type\":\"reactHoc\",\"name\":\"showWithoutLinkedGoogle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithLinkedGarage61\":{\"type\":\"reactHoc\",\"name\":\"showWithLinkedGarage61\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountSubscriptionUid\":{\"type\":\"reactHoc\",\"name\":\"withAccountSubscriptionUid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showForAuthenticated\":{\"type\":\"reactHoc\",\"name\":\"showForAuthenticated\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountSubscriptionDescription\":{\"type\":\"reactHoc\",\"name\":\"withAccountSubscriptionDescription\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenEmailOptedIn\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserPhoneWork\":{\"type\":\"reactHoc\",\"name\":\"withUserPhoneWork\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserFullName\":{\"type\":\"reactHoc\",\"name\":\"withUserFullName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithoutAnonLinkedGarage61\":{\"type\":\"reactHoc\",\"name\":\"showWithoutAnonLinkedGarage61\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountBillingAddress\":{\"type\":\"reactHoc\",\"name\":\"withAccountBillingAddress\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenSignedInWithoutGold\":{\"type\":\"reactHoc\",\"name\":\"showWhenSignedInWithoutGold\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserMailingAddress\":{\"type\":\"reactHoc\",\"name\":\"withUserMailingAddress\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserAvatar\":{\"type\":\"reactHoc\",\"name\":\"withUserAvatar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showForAnonymous\":{\"type\":\"reactHoc\",\"name\":\"showForAnonymous\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountName\":{\"type\":\"reactHoc\",\"name\":\"withAccountName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenHasPaidPlan\":{\"type\":\"reactHoc\",\"name\":\"showWhenHasPaidPlan\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithoutLinkedGarage61\":{\"type\":\"reactHoc\",\"name\":\"showWithoutLinkedGarage61\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserLastName\":{\"type\":\"reactHoc\",\"name\":\"withUserLastName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserPhoneMobile\":{\"type\":\"reactHoc\",\"name\":\"withUserPhoneMobile\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDiscordUsername\":{\"type\":\"reactHoc\",\"name\":\"withDiscordUsername\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserFirstName\":{\"type\":\"reactHoc\",\"name\":\"withUserFirstName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountPlanMonthlyRate\":{\"type\":\"reactHoc\",\"name\":\"withAccountPlanMonthlyRate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountPlanAnnualRate\":{\"type\":\"reactHoc\",\"name\":\"withAccountPlanAnnualRate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAccountRenewalDate\":{\"type\":\"reactHoc\",\"name\":\"withAccountRenewalDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withUserEmail\":{\"type\":\"reactHoc\",\"name\":\"withUserEmail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWhenHasGoldPlan\":{\"type\":\"reactHoc\",\"name\":\"showWhenHasGoldPlan\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"showWithoutLinkedDiscord\":{\"type\":\"reactHoc\",\"name\":\"showWithoutLinkedDiscord\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEmailOptInStatus\":{\"type\":\"reactHoc\",\"name\":\"withEmailOptInStatus\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withConnectBannerDismissButton\":{\"type\":\"reactHoc\",\"name\":\"withConnectBanner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