try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e8a1c4b3-3158-4fb5-80ae-8fc17ea782f2`,e._sentryDebugIdIdentifier=`sentry-dbid-e8a1c4b3-3158-4fb5-80ae-8fc17ea782f2`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Hm as n,Oi as r,Qm as i,Yh as a,Zm as o,_r as s,eh as c,jg as l,ng as u,xr as d}from"./entry.client-mpghtlrl.js";import{t as f}from"./useStreamAwareSignIn-ku96et8t.js";var p=t(),m=e(l(),1),h=u(),g=e=>{let t=(0,p.c)(5),{handlePress:r}=e,{locSignInOrSignUp:i}=n(),a;t[0]===i?a=t[1]:(a=i(),t[0]=i,t[1]=a);let o;return t[2]!==r||t[3]!==a?(o=(0,h.jsx)(d,{alignment:`center`,as:`button`,className:`w-full`,kind:`brand`,onPress:r,children:a}),t[2]=r,t[3]=a,t[4]=o):o=t[4],o},_=s(g,()=>{let{dialog:e}=o(),{trackUserAction:t}=i(),{mutate:n}=a(e.mutations.goBack.getOptions()),r=e.keys.guide.fullPath,{handleSignIn:s}=f({onDismiss:(0,m.useCallback)(()=>{t(`CloseModal`,{modalType:r,dismissMethod:`sideEffect`},`Press`),n()},[n,r,t])});return{handlePress:s}}),v=r(()=>(0,h.jsx)(_.useComponent(),{}),`GuideSignInButton`),y=`GuideNotifications`;function b(e,t){return{locDeleteAll:()=>e(`Delete all`,{ns:y,shortKey:`menu_delete_all`}),locMarkAllAsRead:()=>e(`Mark all as read`,{ns:y,shortKey:`menu_mark_all_as_read`}),locNotifications:()=>e(`Notifications`,{ns:y,shortKey:`notifications_button`}),locShowUnreadOnly:()=>e(`Unread`,{ns:y,shortKey:`filter_unread`}),locShowAll:()=>e(`All`,{ns:y,shortKey:`filter_all`}),locViewNotificationSettings:()=>e(`View notification settings`,{ns:y,shortKey:`menu_view_notification_settings`}),locEmptyNotificationsTitle:()=>e(`No notifications`,{ns:y,shortKey:`no_notifications_title`}),locEmptyUnreadNotificationsTitle:()=>e(`No unread notifications`,{ns:y,shortKey:`no_unread_notifications_title`}),locEmptyNotificationsSubtitle:()=>e(`You'll see invites, friend requests, and other notifications here.`,{ns:y,shortKey:`no_notifications_subtitle`}),locEmptyNotificationsLightweightSubtitle:()=>e(`You'll see your notifications here. Sign in to send and receive game invites, friend requests, and more.`,{ns:y,shortKey:`no_notifications_lightweight_subtitle`}),locLightweightSignInPrompt:()=>e(`Sign in to save these achievements to your profile.`,{ns:y,shortKey:`lightweight_sign_in_prompt`})}}var x=()=>c(y,b);export{v as n,g as r,x as t};