PageSourceSearch

https://static.expo.dev/_next/static/chunks/2jewbjt2krqyr.js

js expo.dev collected 2026-09-24 08:26:24 UTC 112,324 bytes, 81 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="fe336a2b-34a2-f601-f059-8b2d8d5a0100")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19822,e=>{"use strict";var t=e.i(15010);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}e.s(["useMediaQuery",0,function(e,n){let s=(0,t.useEffectEvent)(()=>{n()});(0,t.useEffect)(function(){let t=window.matchMedia(e);function n(e){e.matches&&s()}return t.addEventListener("change",n),function(){t.removeEventListener("change",n)}},[e])}])},842568,649461,599475,834468,e=>{"use strict";var t=e.i(438232),n=e.i(928311);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function a({className:e,...s}){let r=(0,n.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:r,role:"img",...s,children:(0,t.jsx)("g",{id:"bell-01-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9.35419 21C10.0593 21.6224 10.9856 22 12 22C13.0145 22 13.9407 21.6224 14.6458 21M18 8C18 6.4087 17.3679 4.88258 16.2427 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.8826 2.63214 7.75738 3.75736C6.63216 4.88258 6.00002 6.4087 6.00002 8C6.00002 11.0902 5.22049 13.206 4.34968 14.6054C3.61515 15.7859 3.24788 16.3761 3.26134 16.5408C3.27626 16.7231 3.31488 16.7926 3.46179 16.9016C3.59448 17 4.19261 17 5.38887 17H18.6112C19.8074 17 20.4056 17 20.5382 16.9016C20.6852 16.7926 20.7238 16.7231 20.7387 16.5408C20.7522 16.3761 20.3849 15.7859 19.6504 14.6054C18.7795 13.206 18 11.0902 18 8Z"})})})}a.displayName="Bell01Icon",e.s(["Bell01Icon",0,a],842568);try{var r="u">typeof window?window:e.g;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function i({className:e,...s}){let a=(0,n.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:a,role:"img",...s,children:(0,t.jsx)("g",{id:"message-dots-circle-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7.5 12H7.51M12 12H12.01M16.5 12H16.51M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 13.1971 3.23374 14.3397 3.65806 15.3845C3.73927 15.5845 3.77988 15.6845 3.798 15.7653C3.81572 15.8443 3.8222 15.9028 3.82221 15.9839C3.82222 16.0667 3.80718 16.1569 3.77711 16.3374L3.18413 19.8952C3.12203 20.2678 3.09098 20.4541 3.14876 20.5888C3.19933 20.7067 3.29328 20.8007 3.41118 20.8512C3.54589 20.909 3.73218 20.878 4.10476 20.8159L7.66265 20.2229C7.84309 20.1928 7.9333 20.1778 8.01613 20.1778C8.09715 20.1778 8.15566 20.1843 8.23472 20.202C8.31554 20.2201 8.41552 20.2607 8.61549 20.3419C9.6603 20.7663 10.8029 21 12 21ZM8 12C8 12.2761 7.77614 12.5 7.5 12.5C7.22386 12.5 7 12.2761 7 12C7 11.7239 7.22386 11.5 7.5 11.5C7.77614 11.5 8 11.7239 8 12ZM12.5 12C12.5 12.2761 12.2761 12.5 12 12.5C11.7239 12.5 11.5 12.2761 11.5 12C11.5 11.7239 11.7239 11.5 12 11.5C12.2761 11.5 12.5 11.7239 12.5 12ZM17 12C17 12.2761 16.7761 12.5 16.5 12.5C16.2239 12.5 16 12.2761 16 12C16 11.7239 16.2239 11.5 16.5 11.5C16.7761 11.5 17 11.7239 17 12Z"})})})}i.displayName="MessageDotsCircleIcon",e.s(["MessageDotsCircleIcon",0,i],649461);var o=e.i(886282),c=e.i(15010),l=e.i(251785),d=e.i(269147),u=e.i(945753);try{var m=window;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[(new m.Error).stack]=Object.assign({},m._sentryModuleMetadata[(new m.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let p=(0,c.memo)(function({invitation:e,onDismiss:n}){let s=(0,o.readFragment)(u.InvitationCardDataDoc,e);return(0,t.jsxs)(d.LinkBase,{href:`/invitations/accept?id=${s.id}`,onClick:n,className:"group flex gap-2 rounded-2xl p-2 -outline-offset-2! hocus:bg-subtle",children:[(0,t.jsxs)("div",{className:"relative shrink-0",children:[(0,t.jsx)(l.Avatar,{profilePhoto:s.accountProfileImageUrl,name:s.accountName,isOrganization:s.isForOrganization,className:"size-6!"}),(0,t.jsx)("div",{className:"absolute -top-0.5 -right-0.5 size-2.25 rounded-full border-(--expo-theme-background-default) border-2 bg-palette-blue11 dark:border-(--expo-theme-background-hover)"})]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1 pt-1",children:[(0,t.jsx)("p",{className:"text-xs leading-[1.2] font-medium text-secondary",children:s.accountName}),(0,t.jsx)("p",{className:"text-xs leading-[1.2] font-medium text-default",children:"Invited you to join their organization"})]})]})});e.s(["InvitationCard",0,p],599475);var h=e.i(807258),x=e.i(401851),g=e.i(638459),f=e.i(492626),b=e.i(861651);try{var y=window;y._sentryModuleMetadata=y._sentryModuleMetadata||{},y._sentryModuleMetadata[(new y.Error).stack]=Object.assign({},y._sentryModuleMetadata[(new y.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let S=(0,c.memo)(function({notification:e,onDismiss:n}){let s=(0,x.format)(e.createdAt,f.dateFnsFormats.date),a=(0,b.useTouchPress)();return(0,t.jsxs)(d.LinkBase,{...a,href:function(e,t){switch(e){case"BUILD_LIMIT_THRESHOLD_EXCEEDED":case"BUILD_PLAN_CREDIT_THRESHOLD_EXCEEDED":return`/accounts/${t}/settings/billing`;case"BUILD_COMPLETE":case"BUILD_ERRORED":case"SUBMISSION_COMPLETE":case"SUBMISSION_ERRORED":case"TEST":return"/";default:return}}(e.event,e.accountName),onClick:n,"data-track-click":g.events.NOTIFICATION_CARD_CLICKED,className:"flex gap-2 rounded-2xl p-2 -outline-offset-2! no-touch-callout press:bg-subtle can-hover:hocus:bg-subtle",children:[(0,t.jsxs)("div",{className:"relative shrink-0",children:[(0,t.jsx)("div",{className:"flex size-6 items-center justify-center rounded-full",children:(e.event,(0,t.jsx)(h.BuildIcon,{className:"icon-xs text-icon-default"}))}),!e.isRead&&(0,t.jsx)("div",{className:"absolute -top-0.5 -right-0.5 size-2.25 rounded-full border-(--expo-theme-background-default) border-2 bg-palette-blue11 dark:border-(--expo-theme-background-hover)"})]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1 pt-1",children:[(0,t.jsx)("p",{className:"text-xs leading-[1.2] font-medium text-secondary",children:e.accountName}),(0,t.jsx)("p",{className:"text-xs leading-[1.2] font-medium text-default",children:e.websiteMessage}),(0,t.jsx)("p",{className:"text-2xs leading-[1.2] font-medium text-secondary",children:s})]})]})});e.s(["NotificationCard",0,S],834468)},576522,e=>{"use strict";var t=e.i(438232),n=e.i(928311);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function a({className:e,...s}){let r=(0,n.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:r,role:"img",...s,children:(0,t.jsx)("g",{id:"flag-01-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 15C4 15 5 14 8 14C11 14 13 16 16 16C19 16 20 15 20 15V3C20 3 19 4 16 4C13 4 11 2 8 2C5 2 4 3 4 3L4 22"})})})}a.displayName="Flag01Icon",e.s(["Flag01Icon",0,a])},428483,e=>{"use strict";var t=e.i(438232),n=e.i(928311);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function a({className:e,...s}){let r=(0,n.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:r,role:"img",...s,children:(0,t.jsx)("g",{id:"notification-box-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 4H7.8
2C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V13M20.1213 3.87868C21.2929 5.05025 21.2929 6.94975 20.1213 8.12132C18.9497 9.29289 17.0503 9.29289 15.8787 8.12132C14.7071 6.94975 14.7071 5.05025 15.8787 3.87868C17.0503 2.70711 18.9497 2.70711 20.1213 3.87868Z"})})})}a.displayName="NotificationBoxIcon",e.s(["NotificationBoxIcon",0,a])},498568,945753,e=>{"use strict";var t=e.i(438232),n=e.i(514089),s=e.i(138413),a=e.i(15010),r=e.i(326383);try{var i=window;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}var o=e.i(512347);try{var c=window;c._sentryModuleMetadata=c._sentryModuleMetadata||{},c._sentryModuleMetadata[(new c.Error).stack]=Object.assign({},c._sentryModuleMetadata[(new c.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let l=(0,o.graphql)(`
3  mutation UpdateAllNotificationsReadState {
4    websiteNotifications {
5      updateAllWebsiteNotificationReadStateAsRead
6    }
7  }
8`);try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let u=(0,o.graphql)(`
9  fragment InvitationCardData on UserInvitation {
10    id
11    accountName
12    accountProfileImageUrl
13    isForOrganization
14  }
15`);e.s(["InvitationCardDataDoc",0,u],945753);try{var m=window;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[(new m.Error).stack]=Object.assign({},m._sentryModuleMetadata[(new m.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let p=(0,o.graphql)(`
16    query PendingInvitations {
17      me {
18        __typename
19        id
20        ... on User {
21          emailVerified
22          pendingUserInvitations {
23            ...InvitationCardData
24          }
25        }
26      }
27    }
28  `,[u]);try{var h=window;h._sentryModuleMetadata=h._sentryModuleMetadata||{},h._sentryModuleMetadata[(new h.Error).stack]=Object.assign({},h._sentryModuleMetadata[(new h.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let x=(0,o.graphql)(`
29  query WebsiteNotificationsPaginated($after: String, $first: Int, $before: String, $last: Int) {
30    meUserActor {
31      id
32      websiteNotificationsPaginated(after: $after, first: $first, before: $before, last: $last) {
33        edges {
34          node {
35            id
36            event
37            createdAt
38            isRead
39            accountName
40            websiteMessage
41          }
42        }
43        pageInfo {
44          hasNextPage
45          hasPreviousPage
46          startCursor
47          endCursor
48        }
49      }
50    }
51  }
52`);var g=e.i(592359);try{var f=window;f._sentryModuleMetadata=f._sentryModuleMetadata||{},f._sentryModuleMetadata[(new f.Error).stack]=Object.assign({},f._sentryModuleMetadata[(new f.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let b=(0,a.createContext)({notifications:[],hasNotifications:!1,hasNewUnreadNotification:!1,loading:!1,hasNextPage:!1,fetchMoreNotificationsAsync:async()=>{},markAllAsRead:()=>{},pendingInvitations:[],hasPendingInvitations:!1,needsEmailVerification:!1});e.s(["NotificationsProvider",0,function({children:e,skip:i}){var o,c;let[d,u]=(0,a.useState)(!1),[m,h]=(0,a.useState)(!1);o=(0,a.useCallback)(()=>{h(!0)},[]),c=!i&&!m,(0,a.useEffect)(()=>{if(!c)return;let e=!1;function t(){e||(e=!0,o())}if("function"==typeof requestIdleCallback){let e=requestIdleCallback(()=>{t()});return()=>{cancelIdleCallback(e)}}let n=setTimeout(()=>{t()},200);return()=>{clearTimeout(n)}},[c,o]);let f=(i??!1)||!m,{data:y,refetch:S}=(0,s.useQuery)(p,{skip:f}),C=y?.me?.__typename==="User"?y.me:null,I=(0,a.useMemo)(()=>C?.pendingUserInvitations?.filter(r.notEmpty)??[],[C?.pendingUserInvitations]),v=I.length>0,E=null!==C&&C?.emailVerified===!1&&(C?.pendingUserInvitations?.length??0)>
520,{data:j,loading:M,error:_,fetchMore:w,refetch:N,startPolling:k,stopPolling:O}=(0,s.useQuery)(x,{variables:{first:5},skip:f}),[T,P]=(0,a.useState)(!1);T||M||!j||P(!0);let A=!T;(0,a.useEffect)(()=>{_&&(0,r.isApolloGraphQLNonTransient)(_)&&O()},[_,O]);let R=j?.meUserActor?.websiteNotificationsPaginated,D=(0,a.useMemo)(()=>R?.edges?.map(({node:e})=>e)??[],[R]),L=D.length>0,B=R?.pageInfo.hasNextPage??!1,[U]=(0,n.useMutation)(l,{refetchQueries:[{query:x,variables:{first:5}}]}),[H,G]=(0,a.useState)();if(D!==H){G(D);let e=D[0];e&&!e.isRead&&u(!0)}(0,g.useRefetchOnRefocus)(N,{enabled:!f}),(0,g.useRefetchOnRefocus)(S,{enabled:!f,staleTimeSeconds:120}),(0,a.useEffect)(()=>{if(!f)return k(3e4),()=>{O()}},[f,k,O]);let J=(0,a.useCallback)(async()=>{await w({variables:{first:5,after:R?.pageInfo.endCursor}})},[w,R?.pageInfo.endCursor]),V=(0,a.useCallback)(()=>{U(),setTimeout(()=>{u(!1)},150)},[U]),z=d||v||E,F=(0,a.useMemo)(()=>({notifications:D,hasNotifications:L,hasNewUnreadNotification:z,loading:A,hasNextPage:B,fetchMoreNotificationsAsync:J,markAllAsRead:V,pendingInvitations:I,hasPendingInvitations:v,needsEmailVerification:E}),[D,L,z,A,B,J,V,I,v,E]);return(0,t.jsx)(b.Provider,{value:F,children:e})},"useNotificationsContext",0,function(){return(0,a.use)(b)}],498568)},568640,e=>{"use strict";var t,n=e.i(438232),s=e.i(618566),a=e.i(15010),r=e.i(144395);try{var i=window;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let o={ACCOUNT:0,PROJECT:0,USER_SETTINGS:0,HOSTING_DEPLOYMENT:0,UPDATE_DETAILS:0,MOBILE:0},c=o,l=(0,a.createContext)({isProjectSettingsOpen:!0,setIsProjectSettingsOpen:()=>{},isAccountSettingsOpen:!0,setIsAccountSettingsOpen:()=>{},isHostingOpen:!0,setIsHostingOpen:()=>{},isUpdatesOpen:!0,setIsUpdatesOpen:()=>{},isBuildsOpen:!0,setIsBuildsOpen:()=>{},isObserveOpen:!0,setIsObserveOpen:()=>{},selectedSidebarItem:null,scrollPositions:c}),d=[r.SidebarItem.PROJECT_OVERVIEW,r.SidebarItem.PROJECT_SETTINGS_OVERVIEW,r.SidebarItem.PROJECT_SETTINGS_CREDENTIALS,r.SidebarItem.PROJECT_SETTINGS_GITHUB,r.SidebarItem.PROJECT_SETTINGS_ENVIRONMENT_VARIABLES],u=[r.SidebarItem.PROJECT_HOSTING,r.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS,r.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_OVERVIEW,r.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_METRICS,r.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_REQUESTS,r.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_LOGS,r.SidebarItem.PROJECT_HOSTING_METRICS,r.SidebarItem.PROJECT_HOSTING_CRASHES,r.SidebarItem.PROJECT_HOSTING_REQUESTS,r.SidebarItem.PROJECT_HOSTING_SETTINGS],m=[r.SidebarItem.PROJECT_BUILDS,r.SidebarItem.PROJECT_DEVELOPMENT_BUILDS,r.SidebarItem.PROJECT_SUBMISSIONS],p=[r.SidebarItem.PROJECT_RUNTIMES,r.SidebarItem.PROJECT_UPDATE_GROUPS,r.SidebarItem.PROJECT_BRANCHES,r.SidebarItem.PROJECT_CHANNELS],h=[r.SidebarItem.PROJECT_OBSERVE,r.SidebarItem.PROJECT_OBSERVE_OVERVIEW,r.SidebarItem.PROJECT_OBSERVE_METRICS,r.SidebarItem.PROJECT_OBSERVE_EAS_UPDATE,r.SidebarItem.PROJECT_OBSERVE_NAVIGATION,r.SidebarItem.PROJECT_OBSERVE_EVENTS,r.SidebarItem.PROJECT_OBSERVE_ERRORS];var x=((t={}).ACCOUNT="ACCOUNT",t.PROJECT="PROJECT",t.USER_SETTINGS="USER_SETTINGS",t.HOSTING_DEPLOYMENT="HOSTING_DEPLOYMENT",t.UPDATE_DETAILS="UPDATE_DETAILS",t.MOBILE="MOBILE",t);e.s(["SidebarContext",0,l,"SidebarGroup",()=>x,"SidebarProvider",0,function({children:e}){let t=(0,s.usePathname)(),i=(0,r.getSelectedSidebarItem)(t??"",null)??null,[o,x]=(0,a.useState)(!!i&&d.includes(i)),[g,f]=(0,a.useState)(!0),[b,y]=(0,a.useState)(!!i&&u.includes(i)),[S,C]=(0,a.useState)(!!i&&m.includes(i)),[I,v]=(0,a.useState)(!!i&&p.includes(i)),[E,j]=(0,a.useState)(!!i&&h.includes(i));return(0,a.useEffect)(()=>{i&&(u.includes(i)&&y(!0),p.includes(i)&&v(!0),m.includes(i)&&C(!0),h.includes(i)&&j(!0),d.includes(i)&&x(!0))},[i]),(0,n.jsx)(l.Provider,{value:{isProjectSettingsOpen:o,setIsProjectSettingsOpen:x,isAccountSettingsOpen:g,setIsAccountSettingsOpen:f,isHostingOpen:b,setIsHostingOpen:y,isUpdatesOpen:I,setIsUpdatesOpen:v,isBuildsOpen:S,setIsBuildsOpen:C,isObserveOpen:E,setIsObserveOpen:j,selectedSidebarItem:i,scrollPositions:c},children:e})},"getSidebarGroup",0,function(e){return e?.startsWith("PROJECT_")?e.startsWith("PROJECT_HOSTING_DEPLOYMENTS_")?"HOSTING_DEPLOYMENT":e.startsWith("PROJECT_UPDATE_GROUP_")?"UPDATE_DETAILS":"PROJECT":e?.startsWith("USER_
52SETTINGS")?"USER_SETTINGS":e?.startsWith("MOBILE")?"MOBILE":"ACCOUNT"},"setSidebarGroupScroll",0,function(e,t){c={...o,[e]:t}},"useSidebarContext",0,function(){return(0,a.use)(l)}])},404633,e=>{"use strict";var t=e.i(326383);try{var n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function s(e){return/^\/settings.*/.test(e)}function a(e){return s(e)||/^\/accounts\/[^/]+\/settings.*/.test(e)}function r(e){return!e.startsWith("/accounts")&&!e.startsWith("/settings")&&!e.startsWith("/snacks")&&!e.startsWith("/admin")}function i(e){return/accounts\/\[.*?]/.test(decodeURIComponent(e))}e.s(["getPageName",0,function(e,n,r=""){return"/graphiql"===n||n.startsWith("/__/graphiql")?"GraphiQL":s(n)?"User settings":a(n)?(0,t.isPersonalAccount)(r,e)?"Account settings":(0,t.isTeamAccount)(r,e)?"Team settings":"Organization settings":null},"hasAccountSelector",0,function(e){return!i(e)&&(!!(["/","/snacks"].includes(e)||a(e)||e.startsWith("/accounts/")||e.startsWith("/admin"))||(/^\/[^/]+$/.test(e)&&!e.startsWith("/accounts"),!1))},"isIndeterminateRoute",0,i,"isPublicRoute",0,r,"shouldShowTopBarOnDesktop",0,function(e){return("/settings/verify"===e||r(e)||i(e))&&"/"!==e}])},643872,10589,496134,860473,393357,e=>{"use strict";var t=e.i(438232),n=e.i(138413),s=e.i(383793),a=e.i(506316),r=e.i(886282),i=e.i(618566),o=e.i(54513),c=e.i(196284),l=e.i(300272),d=e.i(978803),u=e.i(285908),m=e.i(969275),p=e.i(807258),h=e.i(252155),x=e.i(71209),g=e.i(273157),f=e.i(91949),b=e.i(589263),y=e.i(413282),S=e.i(475221),C=e.i(385762),I=e.i(161135),v=e.i(479481),E=e.i(359211),j=e.i(428483),M=e.i(280890),_=e.i(953086),w=e.i(928311);try{var N="u">typeof window?window:e.g;N._sentryModuleMetadata=N._sentryModuleMetadata||{},N._sentryModuleMetadata[(new N.Error).stack]=Object.assign({},N._sentryModuleMetadata[(new N.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function k({className:e,...n}){let s=(0,w.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:s,role:"img",...n,children:(0,t.jsx)("g",{id:"slash-divider-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 22L17 2"})})})}k.displayName="SlashDividerIcon";var O=e.i(15010),T=e.i(488171),P=e.i(19822),A=e.i(861651),R=e.i(498568),D=e.i(186704),L=e.i(568640),B=e.i(624369),U=e.i(88653),H=e.i(846932),G=e.i(947414);try{var J="u">typeof window?window:e.g;J._sentryModuleMetadata=J._sentryModuleMetadata||{},J._sentryModuleMetadata[(new J.Error).stack]=Object.assign({},J._sentryModuleMetadata[(new J.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}class V{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}cancel(){this.componentControls.forEach(e=>{e.cancel()})}stop(){this.componentControls.forEach(e=>{e.stop()})}}let z=()=>new V;function F(){return(0,G.useConstant)(z)}var K=e.i(887652),W=e.i(772328),$=e.i(850179),q=e.i(269147),Y=e.i(404633),Q=e.i(256686),X=e.i(997060),Z=e.i(38808),ee=e.i(842568),et=e.i(649461),en=e.i(638459),es=e.i(771058),ea=e.i(599475),er=e.i(945753),ei=e.i(834468);try{var eo=window;eo._sentryModuleMetadata=eo._sentryModuleMetadata||{},eo._sentryModuleMetadata[(new eo.Error).stack]=Object.assign({},eo._sentryModuleMetadata[(new eo.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function ec({dragControls:e}){let n=(0,A.useTouchPress)(),[a,i]=(0,O.useState)(!1),o=(0,O.useRef)(null),c=(0,O.useRef)(!1),l=(0,O.useRef)(null),[d,u]=(0,O.useState)(null),{notifications:m,hasNotifications:p,hasNewUnreadNotification:h,loading:x,hasNextPage:g,fetchMoreNotificationsAsync:b,markAllAsRead:y,pendingInvitations:S,hasPendingInvitations:C,needsEmailVerification:I}=(0,R.useNotificationsContext)(),v=(0,O.useRef)(!1),E=(0,O.useEffectEvent)(()=>
52{if(!a){v.current=!1;return}if(v.current||!g||c.current)return;let e=o.current;e&&e.scrollHeight<=e.clientHeight&&(v.current=!0,c.current=!0,b().finally(()=>{c.current=!1}))});return(0,O.useEffect)(()=>{E()},[a,g]),(0,O.useLayoutEffect)(()=>{u(l.current?.getBoundingClientRect())},[]),(0,t.jsxs)("div",{className:"relative shrink-0 px-4 pb-4",onPointerDown:t=>{a||e.start(t)},children:[(0,t.jsx)(U.AnimatePresence,{children:a&&(0,t.jsx)(H.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"fixed inset-0 z-607 bg-palette-black/30 backdrop-blur-[3.5px] will-change-[opacity] backface-hidden",onClick:()=>{y(),i(!1)}})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"opacity-0",style:{width:d?.width,height:d?.height}}),(0,t.jsxs)("div",{ref:l,className:(0,s.mergeClasses)("absolute top-0 z-10 flex w-full flex-col overflow-hidden rounded-3xl border-[0.5px] border-secondary bg-default shadow-xs transition-shadow can-hover:hover:shadow-sm has-press:shadow-sm",a&&"z-608 shadow-md"),children:[(0,t.jsxs)(B.ButtonBase,{...n,"aria-label":"Notifications","data-track-click":en.events.HEADER_NOTIFICATIONS_CLICKED,className:"flex w-full items-center justify-between p-4 select-none",onClick:function(){a&&y(),i(!a)},children:[(0,t.jsxs)("div",{className:"relative flex size-6 shrink-0 items-center justify-center rounded-full",children:[(0,t.jsx)(ee.Bell01Icon,{className:"icon-sm text-icon-default"}),(0,t.jsx)("div",{className:(0,s.mergeClasses)("absolute top-0 right-0 size-1.25 rounded-full bg-palette-blue11 transition-opacity duration-300",h?"opacity-100":"opacity-0")})]}),(0,t.jsx)("p",{className:"flex-1 text-center font-mono text-xs leading-none font-medium tracking-[-0.5px] text-secondary uppercase",children:"Notifications"}),(0,t.jsx)(f.ChevronDownIcon,{className:(0,s.mergeClasses)("size-5 shrink-0 text-icon-secondary transition-transform duration-200",a&&"rotate-180")})]}),(0,t.jsx)("div",{className:(0,s.mergeClasses)("grid overflow-clip transition-[grid-template-rows] duration-300 ease-[cubic-bezier(0.32,0.72,0,1)]",a?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsxs)("div",{ref:o,onScroll:function(){let e=o.current;if(null!==e&&!c.current&&g){let{scrollHeight:t,scrollTop:n,clientHeight:s}=e;n>=t-s-100&&(c.current=!0,b().finally(()=>{c.current=!1}))}},onPointerDown:e=>{e.stopPropagation()},className:(0,s.mergeClasses)("mt-1 flex max-h-[35vh] flex-col gap-1 overflow-y-auto overscroll-contain px-2 pb-2 transition-opacity duration-300",a?"opacity-100 delay-100":"opacity-0"),children:[x&&(0,t.jsx)("div",{className:"flex items-center justify-center p-4",children:(0,t.jsx)(es.ActivityIndicator,{})}),I&&(0,t.jsxs)(q.LinkBase,{href:"/settings#email",className:"group flex gap-2 rounded-2xl p-2 -outline-offset-2! hocus:bg-subtle",children:[(0,t.jsxs)("div",{className:"relative shrink-0",children:[(0,t.jsx)("div",{className:"flex size-6 items-center justify-center rounded-full bg-element",children:(0,t.jsx)(et.MessageDotsCircleIcon,{className:"icon-xs text-icon-secondary"})}),(0,t.jsx)("div",{className:"absolute -top-0.5 -right-0.5 size-2.25 rounded-full border-(--expo-theme-background-default) border-2 bg-palette-blue11 dark:border-(--expo-theme-background-hover)"})]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1 pt-0.5",children:[(0,t.jsx)("p",{className:"text-xs leading-[1.6] font-medium text-default",children:"Verify your email"}),(0,t.jsx)("p",{className:"text-xs leading-[1.6] font-medium text-secondary",children:"Verify your email to view pending invitations."})]})]}),C&&!I&&S.map(e=>(0,t.jsx)(ea.InvitationCard,{invitation:e,onDismiss:()=>{i(!1)}},(0,r.readFragment)(er.InvitationCardDataDoc,e).id)),p?m.map(e=>(0,t.jsx)(ei.NotificationCard,{notification:e,onDismiss:()=>{y(),i(!1)}},e.id)):!x&&!C&&!I&&(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-2xl bg-element p-2",children:[(0,t.jsx)("div",{className:"flex size-6 shrink-0 items-center justify-center rounded-full",children:(0,t.jsx)(et.MessageDotsCircleIcon,{className:"icon-sm text-icon-secondary"})}),(0,t.jsx)("p",{className:"text-xs leading-[1.6] font-medium text-secondary",children:"No notifications"})]})]})})})]})]})]})}var el=e.i(364597),ed=e.i(687607);try{var eu=window;eu._sentryModuleMetadata=eu._sentryModuleMetadata||{},eu._sentryModuleMetadata[(new eu.Error).stack]=Object.assign({},eu._sentryModuleMetadata[(new eu.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function em(e="https://snack.expo.dev"){return{label:"Dev tools",entries:[{name:"Expo SDK",url:"https://docs.expo.dev/versions/latest/",openInNewTab:!0},{name:"Expo CLI",url:"/tools"},{name:"Expo MCP",url:"https://docs.expo.dev/mcp/",openInNewTab:!0},{name:"Expo Go",url:"/go"},{name:"Snack",url:`${e}/`,openInNewTab:!0},{name:"Orbit",url:"/orbit"}]}}let ep=em(),eh={label:"Services",entries:[{name:"Workflows",url:"/services/workflows"},{name:"Build",url:"/services#build"},{name:"Submit",url:"/services#submit"},{name:"Update",url:"/services#update"},{name:"Hosting",url:"/services/hosting"},{name:"Launch",url:"/services/launch"},{name:"Observe",tag:"new",url:"/services/eas-observe"},{name:"Simulators",tag:"preview",url:"/services/simulators"}]},ex={label:"Explore",entries:[{name:"Changelog",url:"/changelog"},{name:"Expo Services (EAS)",url:"/services"},{name:"Contact",url:"/contact"},{name:"AI",url:"/ai"}]},eg={label:"by type",entries:[{name:"Enterprise",url:"/solutions/enterprise"},{name:"Startup",url:"/solutions/startups"},{name:"Solo devs",url:"/solutions/solo-devs"},{name:"React web devs",url:"/solutions/expo-for-react-web-devs"}]},ef={label:"by industry",entries:[{name:"E-commerce",url:"/solutions/ecom"},{name:"Crypto",url:"/solutions/crypto"},{name:"Finserv",url:"/solutions/financial-services"},{name:"Healthcare",url:"/solutions/expo-healthcare"},{name:"QSR",url:"/solutions/qsr"}]},eb={label:"Resources",entries:[{name:"Customers",url:"/customers"},{name:"Support",url:"/support"}]};e.s(["explore",0,ex,"getProducts",0,em,"products",0,ep,"resources",0,eb,"services",0,eh,"solutionsByCompanySize",0,eg,"solutionsByIndustry",0,ef],10589);var ey=e.i(780501),eS=e.i(966228);try{var eC=window;eC._sentryModuleMetadata=eC._sentryModuleMetadata||{},eC._sentryModuleMetadata[(new eC.Error).stack]=Object.assign({},eC._sentryModuleMetadata[(new eC.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function eI({onDismiss:e,snackUrl:n}){let[a,r]=(0,O.useState)(null),i=n?em(n):ep;return(0,t.jsxs)("div",{className:(0,s.mergeClasses)("[content-visibility:auto] flex flex-1 flex-col gap-1 px-4 py-2",a&&"[&>a]:opacity-50 [&>[data-state=closed]]:opacity-50"),children:[(0,t.jsx)(ev,{title:"Docs",href:"https://docs.expo.dev",openInNewTab:!0,onClick:e}),(0,t.jsx)(eE,{title:"Products",open:"products"===a,onOpenChange:e=>{r(e?"products":null)},groups:[i,eh,ex],onDismiss:e}),(0,t.jsx)(eE,{title:"Solutions",open:"solutions"===a,onOpenChange:e=>{r(e?"solutions":null)},groups:[eg,ef,eb],onDismiss:e}),(0,t.jsx)(ev,{title:"Enterprise",href:"/solutions/enterprise",onClick:e}),(0,t.jsx)(ev,{title:"Pricing",href:"/pricing",onClick:e}),(0,t.jsx)(ev,{title:"Blog",href:"/blog",onClick:e})]})}function ev({title:e,href:n,openInNewTab:s,onClick:a}){let r=(0,A.useTouchPress)();return(0,t.jsxs)("a",{href:n,target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0,onClick:a,draggable:!1,...r,className:"flex items-center rounded-lg p-4 text-base font-semibold text-default transition-[color,opacity] no-drag press:bg-hover can-hover:hocus:bg-hover",children:[e,s&&(0,t.jsx)(el.ArrowUpRightIcon,{className:"ml-1 icon-sm text-icon-secondary"})]})}function eE({title:e,open:n,onOpenChange:a,groups:r,onDismiss:i}){let o=(0,A.useTouchPress)();return(0,t.jsxs)(ed.Root,{open:n,onOpenChange:a,className:"transition-opacity",children:[(0,t.jsx)(ed.Trigger,{asChild:!0,children:(0,t.jsxs)(B.ButtonBase,{...o,className:"flex w-full cursor-pointer items-center justify-between rounded-lg p-4 transition-colors press:bg-hover can-hover:hocus:bg-hover",children:[(0,t.jsx)("span",{className:"text-base font-semibold text-default",children:e}),(0,t.jsx)(f.ChevronDownIcon,{className:(0,s.mergeClasses)("icon-sm text-icon-secondary transition-transform duration-200",n&&"rotate-180")}
52)]})}),(0,t.jsx)(ed.Content,{className:"grid data-[state=closed]:animate-collapsibleClosed data-[state=open]:animate-collapsibleOpen",children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:"flex flex-col gap-6 px-1 py-4",children:r.map(e=>(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("p",{className:"px-3 pb-2 font-mono text-xs font-medium tracking-[-0.5px] text-quaternary uppercase",children:e.label}),e.entries.map(e=>(0,t.jsx)(ey.SidebarLink,{title:e.name,rightSlot:e.tag||e.openInNewTab?(0,t.jsxs)(t.Fragment,{children:[e.tag&&(0,t.jsx)(eS.Tag,{title:e.tag,theme:"default",size:"xs"}),e.openInNewTab&&(0,t.jsx)(el.ArrowUpRightIcon,{className:"icon-sm text-icon-secondary"})]}):void 0,href:e.url,onClick:i},e.name))]},e.label))})})})]})}try{var ej=window;ej._sentryModuleMetadata=ej._sentryModuleMetadata||{},ej._sentryModuleMetadata[(new ej.Error).stack]=Object.assign({},ej._sentryModuleMetadata[(new ej.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function eM(e){(0,O.useEffect)(()=>{if(!e)return;let t=e=>{e.preventDefault(),document.body.style.zoom="1"},n=e=>{e.preventDefault(),document.body.style.zoom="1"},s=e=>{e.preventDefault(),document.body.style.zoom="1"},a=requestAnimationFrame(()=>{document.addEventListener("gesturestart",t),document.addEventListener("gesturechange",n),document.addEventListener("gestureend",s)});return()=>{cancelAnimationFrame(a),requestAnimationFrame(()=>{document.removeEventListener("gesturestart",t),document.removeEventListener("gesturechange",n),document.removeEventListener("gestureend",s)})}},[e])}try{var e_=window;e_._sentryModuleMetadata=e_._sentryModuleMetadata||{},e_._sentryModuleMetadata[(new e_.Error).stack]=Object.assign({},e_._sentryModuleMetadata[(new e_.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function ew({onDismiss:e,onExitStart:n,triggerCloseRef:a,onDragStateChange:r,pageTheme:o,snackUrl:c}){var u;let p=(0,d.useMaybeCurrentAccountName)(),h=(0,l.useMaybeCurrentUser)(),{setOpen:x}=(0,D.useSearchDialogContext)(),{hasNotifications:g,hasNewUnreadNotification:f,hasPendingInvitations:b,needsEmailVerification:y}=(0,R.useNotificationsContext)(),S=(0,i.usePathname)(),C=(0,i.useSearchParams)(),I=Object.fromEntries(C?.entries()??[]),v=(0,O.useRef)(S);(0,O.useEffect)(()=>{v.current!==S&&(v.current=S,e())},[S,e]);let E=h&&p&&!(0,Y.isPublicRoute)(S),j=(0,W.useReducedMotion)(),[_,w]=(0,O.useState)(!1);u=!_,(0,O.useEffect)(()=>{if(!u)return;let e=document.documentElement,t=document.body,n=Math.max(0,window.innerWidth-e.clientWidth),s=document.createElement("style");s.setAttribute("data-scroll-lock",""),s.textContent=`body{--removed-body-scroll-bar-size:${n}px;}`;let a=requestAnimationFrame(()=>{document.head.appendChild(s),e.setAttribute("data-scroll-locked","1"),t.setAttribute("data-scroll-locked","1")});return()=>{cancelAnimationFrame(a),requestAnimationFrame(()=>{e.removeAttribute("data-scroll-locked"),t.removeAttribute("data-scroll-locked"),s.remove()})}},[u]),eM(!_);let[N,k]=(0,O.useState)("none"),P=F(),A=(0,O.useRef)(null),L=(0,O.useRef)(null),G=(0,O.useRef)(0),J=(0,O.useRef)(0),V=(0,O.useRef)(!1),z=(0,O.useRef)(!1),ee=(0,O.useRef)(""),et=(0,O.useRef)(!1),en=(0,O.useRef)(!1),es=(0,O.useRef)(null),ea=(0,K.useMotionValue)(0),er=(0,O.useRef)(null),[ei]=(0,O.useState)(function(){return window.innerHeight});(0,O.useEffect)(()=>ea.on("change",e=>{if(!er.current)return;let t=Math.min(Math.max(Math.abs(e)/(.35*ei),0),1);er.current.style.opacity=String(1-t)}),[ea,ei]);let eo=(0,O.useCallback)((e="none")=>{k(e),er.current&&(er.current.style.transition=j?"none":"opacity 0.2s linear",er.current.style.opacity="0"),w(!0),n?.()},[n,j]);function el(e){z.current=!1,G.current=e.clientY,J.current=e.clientX,V.current=!1,ee.current=e.pointerType;let t=A.current;if(t&&(et.current=t.scrollTop<=0,en.current=t.scrollTop+t.clientHeight>=t.scrollHeight-1),e.currentTarget.setPointerCapture(e.pointerId),"touch"===e.pointerType&&(et.current||en.current)){let t=e.currentTarget,n=et.current,s=en.current,a=G.current,r=e=>{if(V.current)return void i();let t=e.touches[0];if(!t)return;let r=t.clientY-a;(n&&r>0||s&&r<0)&&e.preventDefault()},i=()=>{t.removeEventListener("touchmove",r),t.removeEventListener("touchend",i),t.removeEventListener("touchcancel",i),es.current=null};es.current?.(),es.current=i,t.addEventListener("touchmove",r,{passive:!1}),t.addEventListener("touchend",i,{passive:!0}),t.addEventListener("touchcancel",i,{passive:!0})}}function ed(e){if(V.current||!e.currentTarget.hasPointerCapture(e.pointerId))return;let t=e.clientY-G.current,n=Math.abs(t),s="mouse"===ee.current,a=A.current&&A.current.scrollTop<=3,r=A.current&&A.current.scrollTop+A.current.clientHeight>=A.current.scrollHeight-2;n>(s?8:4)&&(s||t>0&&a&&et.current||t<0&&r&&en.current)&&(V.current=!0,z.current=!0,L.current?.classList.add("pointer-events-none"),A.current&&(A.current.style.overscrollBehavior="none",A.current.style.overflow="hidden"),e.currentTarget.releasePointerCapture(e.pointerId),P.start(e))}function eu(){es.current?.(),A.current&&(A.current.style.overscrollBehavior="",A.current.style.overflow=""),L.current?.classList.remove("pointer-events-none"),V.current=!1}function em(e){if(V.current)return void eu();if(L.current?.classList.remove("pointer-events-none"),"touch"===e.pointerType)z.current||e.currentTarget.releasePointerCapture(e.pointerId);else if(!z.current){let t=Math.abs(e.clientY-G.current),n=Math.abs(e.clientX-J.current);if(t<8&&n<8){let t=document.elementFromPoint(e.clientX,e.clientY);for(;t&&!(t instanceof HTMLElement);)t=t.parentElement;if(t&&t instanceof HTMLElement){let e=t.closest('a, button, [role="button"], [data-clickable]');e&&e instanceof HTMLElement&&e.click()}}}}return(0,O.useEffect)(()=>(a&&(a.current=eo),()=>{a&&(a.current=null)}),[a,eo]),(0,T.createPortal)((0,t.jsxs)("div",{className:"pointer-events-auto absolute inset-0 z-600",children:[(0,t.jsx)("div",{ref:er,className:(0,s.mergeClasses)("fixed inset-0 z-dialogOverlay-600 touch-none bg-default will-change-[op
52acity]","dark"===o&&"dark-theme"),style:{opacity:1},onClick:()=>{eo()}}),(0,t.jsx)("div",{className:"pointer-events-auto fixed inset-0 z-600 overflow-hidden overscroll-none",children:(0,t.jsx)("div",{className:"flex min-h-[calc(100%+1px)] flex-col items-stretch justify-start",children:(0,t.jsx)("div",{className:"sticky top-0 h-[calc(100dvh)] w-full",children:(0,t.jsxs)(H.motion.div,{animate:_?{y:"down"===N?"120%":"up"===N?"-120%":0,opacity:0,scale:.77}:{y:0,opacity:1,scale:1},initial:!j&&{scale:.9,opacity:0},onAnimationComplete:()=>{_&&e()},drag:"y",dragControls:P,dragListener:!1,dragConstraints:{top:0,bottom:0,left:0,right:0},dragElastic:.55,dragSnapToOrigin:!0,dragTransition:{bounceStiffness:500,bounceDamping:30},onDragStart:()=>{r?.(!0)},onDragEnd:(e,t)=>{eu(),Math.sign(t.offset.y)===Math.sign(t.velocity.y)&&(Math.abs(t.offset.y)>200||Math.abs(t.velocity.y)>1e3)?eo(t.offset.y>0?"down":"up"):r?.(!1)},transition:j?{duration:0}:_?{type:"spring",stiffness:400,damping:32}:{type:"spring",stiffness:350,damping:30},className:(0,s.mergeClasses)("absolute inset-x-0 top-0 z-dialogContent-601 flex h-[calc(100dvh)] flex-col bg-default will-change-[opacity,transform] no-touch-callout select-none backface-hidden","dark"===o&&"dark-theme"),style:{y:ea},children:[(0,t.jsxs)("div",{className:"flex shrink-0 touch-none flex-col",onPointerDown:function(e){P.start(e)},onPointerUp:()=>{r?.(!1)},onPointerCancel:()=>{r?.(!1)},children:[(0,t.jsxs)("div",{className:(0,s.mergeClasses)("flex items-center justify-between p-4",!E&&"border-b-[0.5px] border-b-transparent opacity-0"),children:[(0,t.jsx)(m.Logo,{forceWordmark:!0}),(0,t.jsx)("div",{className:"size-9"})]}),(0,t.jsx)(U.AnimatePresence,{initial:!1,children:h&&(E?g||b||y:f||b||y)&&(0,t.jsx)(H.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},children:(0,t.jsx)(ec,{dragControls:P})},"notification-bell")}),!E&&h&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 px-4 pb-1",children:[(0,t.jsx)(q.LinkBase,{isStyled:!0,className:"no-drag",href:`/accounts/${p}`,draggable:!1,onClick:e,children:(0,t.jsx)($.Button,{theme:"tertiary",block:!0,children:"Dashboard"})}),(0,t.jsxs)(B.ButtonBase,{className:"w-full items-center gap-2 rounded-full border border-secondary bg-subtle px-3 py-2",onClick:()=>{x(!0),e()},children:[(0,t.jsx)(M.SearchMdIcon,{className:"size-4.5 text-icon-secondary"}),(0,t.jsx)("span",{className:"text-base font-medium text-quaternary",children:"Search Expo"})]})]}),!E&&!h&&(0,t.jsxs)("div",{className:"flex gap-2 px-4 pb-4",children:[(0,t.jsx)(q.LinkBase,{className:"w-full no-drag",draggable:!1,href:(0,Z.appendRedirectParams)("/login",I),onClick:e,children:(0,t.jsx)($.Button,{block:!0,className:"w-full",theme:"tertiary",children:"Log in"})}),(0,t.jsx)(q.LinkBase,{isStyled:!0,className:"w-full no-drag",draggable:!1,href:(0,Z.appendRedirectParams)("/signup",I),onClick:e,children:(0,t.jsx)($.Button,{block:!0,className:"w-full",theme:"primary",children:"Sign up"})})]})]}),E?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:A,style:{scrollbarGutter:"stable"},className:(0,s.mergeClasses)("flex flex-1 flex-col overflow-y-auto overscroll-contain","mask-[linear-gradient(transparent,black_10px,black_calc(100%-16px),transparent),linear-gradient(black,black)]","mask-position-[left,right] mask-size-[calc(100%-8px)_100%,8px_100%] mask-no-repeat"),onPointerDown:el,onPointerMove:ed,onPointerUp:em,onPointerCancel:()=>{eu()},children:(0,t.jsx)("div",{ref:L,className:"[-webkit-tap-highlight-color:transparent] flex touch-manipulation flex-col gap-4 px-4 pt-2 pb-4 [&_.monospace]:px-4 [&_.monospace]:py-2 [&_a]:px-4 [&_a]:py-2 [&_p]:font-medium",children:(0,t.jsx)(Q.SidebarLinks,{onClick:e,section:"account"})})}),(0,t.jsx)("div",{className:"shrink-0 px-4 pt-4 pb-6",children:(0,t.jsx)(X.UserDropdown,{showBackdrop:!0})})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{ref:A,className:(0,s.mergeClasses)("flex flex-1 flex-col overflow-y-auto overscroll-contain","mask-[linear-gradient(transparent,black_10px,black_calc(100%-16px),transparent),linear-gradient(black,black)]","mask-position-[left,right] mask-size-[calc(100%-8px)_100%,8px_100%] mask-no-repeat"),style:{scrollbarGutter:"stable"},onPointerDown:el,onPointerMove:ed,onPointerUp:em,onPointerCancel:()=>{eu()},children:(0,t.jsx)("div",{ref:L,className:"[-webkit-tap-highlight-color:transparent] flex flex-1 touch-manipulation flex-col [&_p]:font-medium",children:(0,t.jsx)(eI,{onDismiss:e,snackUrl:c})})})})]})})})})]}),document.body)}e.s(["MobileNavigation",0,ew],496134);try{var eN=window;eN._sentryModuleMetadata=eN._sentryModuleMetadata||{},eN._sentryModuleMetadata[(new eN.Error).stack]=Object.assign({},eN._sentryModuleMetadata[(new eN.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let ek=(0,O.memo)(function({ref:e,isMenuOpen:n,hasNewUnreadNotification:a,onClick:r,style:i}){return(0,t.jsxs)(B.ButtonBase,{ref:e,id:"mobile-menu","aria-label":n?"Close menu":"Open menu",className:"relative flex size-9 items-center justify-center rounded-3xl bg-element can-hover:bg-hover",style:i,onClick:r,children:[(0,t.jsx)("div",{className:(0,s.mergeClasses)("absolute top-[14.64%] right-[14.64%] z-10 size-1.75 translate-x-1/2 -translate-y-1/2 roun
52ded-full bg-palette-blue11 transition-opacity duration-300",a?"opacity-100":"opacity-0")}),(0,t.jsxs)("div",{className:"relative flex size-4 flex-col items-center justify-center",children:[(0,t.jsx)("span",{className:(0,s.mergeClasses)("absolute h-[1.5px] w-3.5 rounded-full bg-icon-default transition-transform duration-300 motion-reduce:transition-none",n?"rotate-45":"-translate-y-0.75")}),(0,t.jsx)("span",{className:(0,s.mergeClasses)("absolute h-[1.5px] w-3.5 rounded-full bg-icon-default transition-transform duration-300 motion-reduce:transition-none",n?"-rotate-45":"translate-y-0.75")})]})]})});e.s(["AnimatedMenuButton",0,ek],860473);var eO=e.i(365115),eT=e.i(449492),eP=e.i(895420),eA=e.i(777780);try{var eR=window;eR._sentryModuleMetadata=eR._sentryModuleMetadata||{},eR._sentryModuleMetadata[(new eR.Error).stack]=Object.assign({},eR._sentryModuleMetadata[(new eR.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let eD={top:0,bottom:0},eL={type:"spring",stiffness:260,damping:28,mass:.85};function eB({isOpen:e,topOffset:n,onCloseStart:s,onDismiss:a,section:r="project"}){let i=(0,d.useCurrentAccountName)();(0,O.useEffect)(()=>{if(!e)return;let t=document.documentElement,n=document.body,s=requestAnimationFrame(()=>{t.setAttribute("data-scroll-locked","1"),n.setAttribute("data-scroll-locked","1"),t.setAttribute("data-scroll-locked-keep-scrollbar","1"),n.setAttribute("data-scroll-locked-keep-scrollbar","1")});return()=>{cancelAnimationFrame(s),requestAnimationFrame(()=>{t.removeAttribute("data-scroll-locked"),n.removeAttribute("data-scroll-locked"),t.removeAttribute("data-scroll-locked-keep-scrollbar"),n.removeAttribute("data-scroll-locked-keep-scrollbar")})}},[e]),eM(e);let[o,c]=(0,O.useState)(!1),l=(0,O.useRef)("down"),u=F(),m=(0,K.useMotionValue)(0),p=(0,K.useMotionValue)(0),h=(0,A.useTouchPress)(),[x]=(0,O.useState)(function(){return window.innerHeight}),g=(0,eP.useTransform)(m,[-(.5*x),0,.5*x],[.92,1,.92]);(0,O.useEffect)(function(){e&&(m.jump(0),p.set(0))},[e,m,p]);let f=(0,O.useCallback)((e="down")=>{l.current=e,(0,eT.animate)(p,0,{duration:.35}),s?.(),(0,eT.animate)(m,"down"===e?1.2*x:-(1.2*x),{type:"tween",duration:.35,ease:[.32,.72,0,1],onComplete:()=>{c(!1),a()}}),c(!0)},[p,m,x,s,a]),b=(0,O.useRef)(null),y=(0,O.useRef)(null),S=(0,O.useRef)(0),C=(0,O.useRef)(0),I=(0,O.useRef)(!1),v=(0,O.useRef)(""),E=(0,O.useRef)(!1),j=(0,O.useRef)(!1),M=(0,O.useRef)(null);return e||o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"pointer-events-auto fixed inset-0 z-dialogOverlay-600",onClick:()=>{f()}}),(0,t.jsx)(H.motion.div,{style:{opacity:p,top:0,height:"calc(100dvh)"},className:"absolute left-0 -z-1 w-dvw bg-default transition-colors duration-200 will-change-[opacity] backface-hidden"}),(0,t.jsx)(H.motion.div,{animate:{y:0,opacity:1,scale:1},initial:{opacity:0,scale:.95},onUpdate:e=>{if(o)return;let t=Number(e.opacity??1),n=0;void 0!==e.y&&(n=Math.min(Math.max(Math.abs(Number(e.y))/(.35*x),0),1)),p.set(t*(1-n))},drag:"y",dragControls:u,dragListener:!1,dragConstraints:eD,dragElastic:.55,onDragEnd:(e,t)=>{M.current?.(),y.current?.classList.remove("pointer-events-none"),I.current=!1,b.current&&(b.current.style.overscrollBehavior="",b.current.style.overflow=""),Math.sign(t.offset.y)===Math.sign(t.velocity.y)&&(Math.abs(t.offset.y)>200||Math.abs(t.velocity.y)>1e3)?f(t.offset.y>0?"down":"up"):(0,eT.animate)(m,0,{type:"spring",stiffness:500,damping:30})},transition:eL,className:"pointer-events-auto fixed inset-x-0 z-dialogContent-601 mx-4 will-change-transform no-touch-callout select-none backface-hidden",style:{top:n,bottom:16,y:m,scale:g},children:(0,t.jsx)("div",{className:"flex h-full flex-col overflow-hidden rounded-3xl border-[0.5px] border-default bg-default shadow-md",children:(0,t.jsx)("div",{ref:b,className:"flex flex-1 flex-col overflow-y-auto overscroll-contain",style:{scrollbarGutter:"stable"},onPointerDown:function(e){S.current=e.clientY,C.current=e.clientX,I.current=!1,v.current=e.pointerType;let t=b.current;if(t&&(E.current=t.scrollTop<=0,j.current=t.scrollTop+t.clientHeight>=t.scrollHeight-1),e.currentTarget.setPointerCapture(e.pointerId),"touch"===e.pointerType&&(E.current||j.current)){let t=e.currentTarget,n=E.current,s=j.
52current,a=S.current,r=e=>{if(I.current)return void i();let t=e.touches[0];if(!t)return;let r=t.clientY-a;(n&&r>0||s&&r<0)&&e.preventDefault()},i=()=>{t.removeEventListener("touchmove",r),t.removeEventListener("touchend",i),t.removeEventListener("touchcancel",i),M.current=null};M.current?.(),M.current=i,t.addEventListener("touchmove",r,{passive:!1}),t.addEventListener("touchend",i,{passive:!0}),t.addEventListener("touchcancel",i,{passive:!0})}},onPointerMove:function(e){if(I.current||!e.currentTarget.hasPointerCapture(e.pointerId))return;let t=e.clientY-S.current,n=Math.abs(t),s="mouse"===v.current,a=b.current&&b.current.scrollTop<=3,r=b.current&&b.current.scrollTop+b.current.clientHeight>=b.current.scrollHeight-1;n>(s?8:4)&&(s||t>0&&a&&E.current||t<0&&r&&j.current)&&(I.current=!0,y.current?.classList.add("pointer-events-none"),b.current&&(b.current.style.overscrollBehavior="none",b.current.style.overflow="hidden"),e.currentTarget.releasePointerCapture(e.pointerId),u.start(e))},onPointerUp:function(e){if(!I.current)if(y.current?.classList.remove("pointer-events-none"),"touch"===e.pointerType)e.currentTarget.releasePointerCapture(e.pointerId);else{let t=Math.abs(e.clientY-S.current),n=Math.abs(e.clientX-C.current);if(t<8&&n<8){let t=document.elementFromPoint(e.clientX,e.clientY);if(t&&t instanceof HTMLElement){let e=t.closest('a, button, [role="button"], [data-clickable]');e&&e instanceof HTMLElement&&e.click()}}}},onPointerCancel:()=>{M.current?.(),y.current?.classList.remove("pointer-events-none"),I.current=!1,b.current&&(b.current.style.overscrollBehavior="",b.current.style.overflow="")},children:(0,t.jsxs)("div",{ref:y,className:"[-webkit-tap-highlight-color:transparent] flex touch-manipulation flex-col gap-2 p-2 [&_.monospace]:py-4 [&_p]:font-medium [&_a]:rounded-2xl [&_a]:px-4 [&_a]:py-2 [&_button]:rounded-2xl [&_button]:px-4",children:["project"===r&&(0,t.jsxs)(q.LinkBase,{...h,href:`/accounts/${i}`,onClick:a,className:"flex items-center gap-2 rounded-2xl px-4 py-2 text-secondary transition no-touch-callout press:bg-hover can-hover:hocus:bg-hover",children:[(0,t.jsx)(eO.ArrowLeftIcon,{className:"icon-sm shrink-0 text-icon-secondary"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"Account"})]}),"user-settings"===r?(0,t.jsx)(eA.UserSettings,{onClick:a}):(0,t.jsx)(Q.SidebarLinks,{onClick:a,section:"account"===r?"account":"project"})]})})})})]}):null}try{var eU=window;eU._sentryModuleMetadata=eU._sentryModuleMetadata||{},eU._sentryModuleMetadata[(new eU.Error).stack]=Object.assign({},eU._sentryModuleMetadata[(new eU.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function eH(){let e=(0,O.useRef)(null),t=(0,O.useRef)(null),[n,s]=(0,O.useState)(!1),[a,r]=(0,O.useState)(!1),[i,o]=(0,O.useState)(!1),[c,l]=(0,O.useState)(),d=(0,O.useCallback)(function(){l(e.current?.getBoundingClientRect().top)},[]),u=(0,O.useCallback)(function(t){e.current=t,l(t?.getBoundingClientRect().top)},[]);(0,P.useMediaQuery)("(min-width: 1024px)",(0,O.useCallback)(()=>{s(!1),r(!1),o(!1)},[]));let m=(0,O.useCallback)(()=>{s(!1),t.current?.()},[]),p=(0,O.useCallback)(()=>{d(),s(e=>e?(t.current?.(),!1):(r(!0),requestAnimationFrame(()=>{s(!0)}),e))},[d]),h=(0,O.useCallback)(()=>{r(!1),s(!1),o(!1)},[]),x=(0,O.useCallback)(()=>{s(!1),r(!1)},[]);return{menuButtonRef:u,menuButtonTop:c,triggerCloseRef:t,isMenuOpen:n,setIsMenuOpen:s,isNavVisible:a,isDragging:i,setIsDragging:o,toggleMenu:p,closeMenu:m,onNavDismiss:h,resetMenu:x}}e.s(["useMenuToggle",0,eH],393357);var eG=e.i(532070),eJ=e.i(251785),eV=e.i(326999);try{var ez=window;ez._sentryModuleMetadata=ez._sentryModuleMetadata||{},ez._sentryModuleMetadata[(new ez.Error).stack]=Object.assign({},ez._sentryModuleMetadata[(new ez.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let eF={open:{y:0},closed:{y:"100%"}},eK={top:0},eW={top:.12,bottom:1},e$={bounceStiffness:300,bounceDamping:25},eq={type:"spring",stiffness:600,damping:35,mass:.5};function eY({open:e,onOpenChange:n,title:a,footer:r,children:i}){eM(e),(0,P.useMediaQuery)("(min-width: 1024px)",(0,O.useCallback)(()=>{n(!1)},[n]));let o=F(),c=(0,O.useRef)(null),l=(0,O.useRef)(null),d=(0,O.useRef)(0),u=(0,O.useRef)(0),m=(0,O.useRef)(!1),p=(0,O.useRef)(""),h=(0,K.useMotionValue)(0),x=(0,K.useMotionValue)(0),g=(0,O.useRef)(null);return(0,t.jsx)(eV.Root,{open:e,onOpenChange:n,children:(0,t.jsx)(U.AnimatePresence,{children:e&&(0,t.jsxs)(eV.Portal,{forceMount:!0,children:[(0,t.jsx)(eV.Overlay,{asChild:!0,children:(0,t.jsx)(H.motion.div,{style:{opacity:x},className:"pointer-events-none fixed inset-0 z-dialogOverlay-600 bg-palette-black/60 backdrop-blur-[3.5px] will-change-[op
52acity] select-none"})}),(0,t.jsx)(eV.Content,{asChild:!0,children:(0,t.jsxs)(H.motion.div,{ref:g,animate:"open",variants:eF,initial:"closed",exit:"closed",drag:"y",dragControls:o,dragListener:!1,dragConstraints:eK,dragElastic:eW,dragSnapToOrigin:!0,dragTransition:e$,onUpdate:e=>{let t;if("string"==typeof e.y)t=parseFloat(e.y)/100;else{let n=g.current?.offsetHeight??1;t=e.y/n}t=Math.min(Math.max(t,0),1),x.set(1-Math.pow(t,2))},onDragEnd:(e,t)=>{l.current?.classList.remove("pointer-events-none"),m.current=!1,(t.offset.y>80||t.velocity.y>400)&&n(!1)},transition:eq,style:{y:h},className:(0,s.mergeClasses)("fixed inset-x-0 bottom-[-20vh] z-dialogContent-601 flex max-h-[calc(50dvh+20vh)]","flex-col overflow-hidden rounded-t-3xl bg-default pb-[20vh]","select-none focus-visible:outline-none","will-change-transform no-touch-callout backface-hidden"),children:[(0,t.jsx)("div",{className:"flex cursor-grab touch-none justify-center pt-3 pb-1 active:cursor-grabbing",onPointerDown:e=>{o.start(e)},children:(0,t.jsx)("div",{className:"h-1 w-8 rounded-full bg-tertiary"})}),(0,t.jsx)(eV.Title,{className:"sr-only",children:a}),(0,t.jsx)(eV.Description,{className:"sr-only",children:a}),(0,t.jsx)("div",{ref:c,className:(0,s.mergeClasses)("flex flex-1 flex-col overflow-y-auto overscroll-contain active:cursor-grabbing","mask-[linear-gradient(transparent,black_16px,black_calc(100%-16px),transparent),linear-gradient(black,black)]","mask-position-[left,right] mask-size-[calc(100%-8px)_100%,8px_100%] mask-no-repeat"),onPointerDown:function(e){d.current=e.clientY,u.current=e.clientX,m.current=!1,p.current=e.pointerType,l.current?.classList.add("pointer-events-none"),e.currentTarget.setPointerCapture(e.pointerId)},onPointerMove:function(e){if(m.current||!e.currentTarget.hasPointerCapture(e.pointerId))return;let t=e.clientY-d.current,n="mouse"===p.current,s=c.current&&c.current.scrollTop<=0,a=c.current&&c.current.scrollTop+c.current.clientHeight>=c.current.scrollHeight-1;(t>8&&(n||s)||t<-8&&(n||a))&&(m.current=!0,e.currentTarget.releasePointerCapture(e.pointerId),o.start(e))},onPointerUp:function(e){if(l.current?.classList.remove("pointer-events-none"),m.current)return;let t=Math.abs(e.clientY-d.current),n=Math.abs(e.clientX-u.current);if(t<8&&n<8){let t=document.elementFromPoint(e.clientX,e.clientY);if(t&&t instanceof HTMLElement){let e=t.closest('a, button, [role="button"], [data-clickable]');e&&e instanceof HTMLElement&&e.click()}}},onPointerCancel:()=>{l.current?.classList.remove("pointer-events-none"),m.current=!1},children:(0,t.jsx)("div",{ref:l,className:"flex flex-col gap-0.5 p-2 py-4",children:i})}),r?(0,t.jsx)("div",{className:"shrink-0 px-2 py-1 pb-2",onPointerDown:e=>{o.start(e)},children:r}):null]})})]})})})}var eQ=e.i(937779),eX=e.i(369258);try{var eZ=window;eZ._sentryModuleMetadata=eZ._sentryModuleMetadata||{},eZ._sentryModuleMetadata[(new eZ.Error).stack]=Object.assign({},eZ._sentryModuleMetadata[(new eZ.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function e0({compact:e=!1,accounts:n,disabled:s=!1}){let a=(0,d.useCurrentAccountName)(),i=(0,l.useCurrentUser)(),[o,u]=(0,O.useState)(!1),m=(0,A.useTouchPress)(),p=n??i.accounts,{selectedAccount:h}=(0,eX.useSelectedAccount)(p),x=h?(0,r.readFragment)(c.AccountIdentityDataDoc,h):null,g=a??x?.name,b=p.find(e=>(0,r.readFragment)(c.AccountIdentityDataDoc,e).name===g),y=b?(0,r.readFragment)(c.AccountIdentityDataDoc,b):null,S=y?.profileImageUrl,C=y?.displayName??y?.ownerUserActor?.fullName??y?.name??a;return(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsxs)(B.ButtonBase,{...m,className:"flex shrink-0 items-center gap-2.5 rounded-3xl border-[0.5px] border-secondary bg-default p-2 shadow-xs transition select-none dark:bg-hover press:shadow-sm can-hover:hover:shadow-sm",disabled:s,onClick:()=>{u(!0)},children:[(0,t.jsx)(eJ.Avatar,{profilePhoto:S,name:C,isOrganization:y?.ownerUserActor===null,className:"pointer-events-none size-5 select-none [&>svg]:size-3"}),!e&&(0,t.jsx)("p",{className:"max-w-35 truncate text-sm font-medium text-secondary",children:C}),(0,t.jsx)(f.ChevronDownIcon,{className:"icon-xs text-icon-secondary"})]}),(0,t.jsx)(eY,{open:o,onOpenChange:u,title:"Select account",footer:(0,t.jsx)(eG.CreateOrganizationItem,{onClose:()=>{u(!1)}}),children:(0,t.jsx)(eQ.AccountSelectorContent,{accounts:p,selectedAccountName:g,onClose:()=>{u(!1)},renderCreateOrgOutside:!0})})]})}var e1=e.i(779428);try{var e2=window;e2._sentryModuleMetadata=e2._sentryModuleMetadata||{},e2._sentryModuleMetadata[(new e2.Error).stack]=Object.assign({},e2._sentryModuleMetadata[(new e2.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function e5({children:e,enabled:n}){return n?(0,t.jsx)("div",{className:"flex flex-col gap-1 rounded-full ring-(--amber-7) ring-2",children:e}):(0,t.jsx)(t.Fragment,{children:e})}function e3({accountName:e,compact:s}){let a=(0,l.useCurrentUser)(),{data:i,loading:o}=(0,n.useQuery)(e1.AccountSelectorDoc,{variables:{accountName:e}}),d=!a.accounts.some(t=>(0,r.readFragment)(c.AccountIdentityDataDoc,t).name===e);if(o&&!i)return(0,t.jsx)(e5,{enabled:d,children:(0,t.jsx)(e0,{disabled:!0,compact:s})});if(!d)return(0,t.jsx)(e0,{compact:s});let u=i?.account.byName,m=u?.ownerUserActor,p=m?m.accounts:u?[u]:[];return(0,t.jsx)(e5,{enabled:d,children:(0,t.jsx)(e0,{accounts:p,compact:s})})}var e8=e.i(107799),e6=e.i(963489),e7=e.i(265384),e4=e.i(553295),e9=e.i(326383),te=e.i(306381),tt=e.i(99664),tn=e.i(348026),ts=e.i(555113),ta=e.i(867025),tr=e.i(309739),ti=e.i(77565),to=e.i(125189);try{var tc=window;tc._sentryModuleMetadata=tc._sentryModuleMetadata||{},tc._sentryModuleMetadata[(new tc.Error).stack]=Object.assign({},tc._sentryModuleMetadata[(new tc.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function tl(){let e=(0,d.useCurrentAccountName)(),{projectSlug:s,fullName:a}=(0,u.useMaybeCurrentProject)(),[i,o]=(0,O.useState)(!1),[m,p]=(0,O.useState)(!1),h=(0,A.useTouchPress)(),x=(0,tn.useProjectCreationDialog)(),{accountNotFound:g,projectNotFound:b}=(0,tt.useProjectNotFound)(e,s??null),y=(0,te.useMatchesMedia)("mobile",!0),S=(0,l.useCurrentUser)(),C=S.accounts.find(t=>(0,r.readFragment)(c.AccountIdentityDataDoc,t).name===e),I=C?(0,r.readFragment)(c.AccountIdentityDataDoc,C):null,v=!!I&&((0,e9.viewerHasPermissionOnAccount)(I,"PUBLISH")||(0,e9.isOwnerOrAdminOrImplicitOwner)(I,S.username)),[E,{data:j,fetchMore:M,networkStatus:_,variables:w}]=(0,e6.useLazyQuery)(tr.ProjectSelectorDoc,{fetchPolicy:"cache-and-network"}),N=y&&!g&&(!s||m);(0,O.useEffect)(()=>{N&&E({variables:{first:25,accountName:e}})},[e,E,N]);let k=_===e8.NetworkStatus.loading,T=w.accountName===e?j:void 0,{edges:P,pageInfo:R}=T?T.account.byName.appsPaginated:{edges:[]},{data:D,loading:L}
52=(0,n.useQuery)(ti.ProjectSelectorAppDoc,{variables:{fullName:a},skip:!y||!s||g}),U=T?.meUserActor?.pinnedApps.filter(t=>t.ownerAccount.name===e)??[],H=U.map(e=>e.id),G=P.map(e=>e.node).filter(e=>!H.includes(e.id)),J=G.find(e=>e.slug===s),V=D?.app.byFullName??J,z=!!s,F=z||U.length>0||G.length>0,K=J?.profileImageUrl??V?.profileImageUrl,W=N&&(w.accountName!==e||k&&!T),$=z&&L&&!V,q=b?"Project not found":z?V?.name??s??"":W?"Loading…":F?"Select project":v?"Create new project":"No projects";function Y(){y&&!g&&p(!0)}return(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsxs)(B.ButtonBase,{...h,className:"flex w-full items-center gap-2.5 rounded-3xl border-[0.5px] border-secondary bg-default p-2 shadow-xs transition disabled:cursor-default disabled:opacity-60 disabled:shadow-xs dark:bg-hover press:shadow-sm can-hover:hover:shadow-sm",disabled:g,onMouseEnter:Y,onPointerDown:Y,onClick:function(){if(!g&&(!W||z)){if(p(!0),!F){v&&x&&x.openCreateDialog();return}o(!0)}},children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[b?(0,t.jsx)("div",{className:"flex size-5 shrink-0 items-center justify-center",children:(0,t.jsx)(e7.FolderIcon,{className:"icon-sm text-icon-secondary"})}):$?(0,t.jsx)(ts.ContentLoading,{loading:!0,className:"rounded-full",height:20,width:20}):z?(0,t.jsx)(ta.ProjectIcon,{profileImageUrl:K,name:q,className:"size-5 shrink-0 rounded-full text-[10px]",size:32}):W?(0,t.jsx)("div",{className:"flex size-5 shrink-0 items-center justify-center",children:(0,t.jsx)(es.ActivityIndicator,{size:"sm",className:"size-4 text-icon-secondary"})}):F||!v?(0,t.jsx)("div",{className:"flex size-5 shrink-0 items-center justify-center",children:(0,t.jsx)(e7.FolderIcon,{className:"icon-sm text-icon-secondary"})}):(0,t.jsx)("div",{className:"flex size-5 shrink-0 items-center justify-center",children:(0,t.jsx)(e4.PlusIcon,{className:"icon-sm text-icon-secondary"})}),$?(0,t.jsx)(ts.ContentLoading,{loading:!0,height:14,width:96}):(0,t.jsx)("p",{className:"truncate text-sm font-medium text-secondary select-none",children:q})]}),(z||F)&&(0,t.jsx)(f.ChevronDownIcon,{className:"icon-xs shrink-0 text-icon-secondary"})]}),(0,t.jsx)(eY,{open:i,onOpenChange:o,title:"Select project",footer:x&&v?(0,t.jsx)(to.CreateProjectItem,{onClose:function(){o(!1),x?.openCreateDialog()}}):void 0,children:(0,t.jsx)(to.ProjectSelectorContent,{accountName:e,projectSlug:s??void 0,onClose:()=>{o(!1)},loading:W||$,pinnedApps:U,projects:G,pinnedAppIds:H,hasNextPage:R?.hasNextPage??!1,endCursor:R?.endCursor,fetchMore:M})})]})}var td=e.i(144395);try{var tu=window;tu._sentryModuleMetadata=tu._sentryModuleMetadata||{},tu._sentryModuleMetadata[(new tu.Error).stack]=Object.assign({},tu._sentryModuleMetadata[(new tu.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let tm={[td.SidebarItem.PROJECT_OVERVIEW]:{name:"Overview",Icon:v.LayoutAlt02Icon},[td.SidebarItem.PROJECT_INSIGHTS]:{name:"Insights",Icon:y.DataIcon},[td.SidebarItem.PROJECT_USAGE]:{name:"Usage",Icon:E.LineChartUp02Icon},[td.SidebarItem.PROJECT_OBSERVE]:{name:"Observe",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_OBSERVE_OVERVIEW]:{name:"Overview",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_OBSERVE_GETTING_STARTED]:{name:"Observe",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_OBSERVE_METRICS]:{name:"Metrics",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_OBSERVE_EAS_UPDATE]:{name:"Updates",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_OBSERVE_NAVIGATION]:{name:"Navigation",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_OBSERVE_EVENTS]:{name:"Events",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_OBSERVE_ERRORS]:{name:"Errors",Icon:x.ActivityIcon},[td.SidebarItem.PROJECT_WORKFLOWS]:{name:"Workflows",Icon:S.Dataflow03Icon},[td.SidebarItem.PROJECT_DEVELOPMENT_BUILDS]:{name:"Development builds",Icon:p.BuildIcon},[td.SidebarItem.PROJECT_BUILDS]:{name:"Builds",Icon:p.BuildIcon},[td.SidebarItem.PROJECT_SUBMISSIONS]:{name:"Submissions",Icon:h.EasSubmitIcon},[td.SidebarItem.PROJECT_CHANNELS]:{name:"Channels",Icon:I.LayersTwo02Icon},[td.SidebarItem.PROJECT_UPDATE_GROUPS]:{name:"Update groups",Icon:I.LayersTwo02Icon},[td.SidebarItem.PROJECT_BRANCHES]:{name:"Branches",Icon:I.LayersTwo02Icon},[td.SidebarItem.PROJECT_RUNTIMES]:{name:"Runtimes",Icon:I.LayersTwo02Icon},[td.SidebarItem.PROJECT_HOSTING]:{name:"Hosting",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS]:{name:"Deployments",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_METRICS]:{name:"Metrics",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_CRASHES]:{name:"Crashes",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_REQUESTS]:{name:"Requests",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_SETTINGS]:{name:"Hosting settings",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_OVERVIEW]:{name:"Deployment",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_METRICS]:{name:"Deployment metrics",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_REQUESTS]:{name:"Deployment requests",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_LOGS]:{name:"Deployment logs",Icon:b.Cloud01Icon},[td.SidebarItem.PROJECT_UPDATE_GROUP_OVERVIEW]:{name:"Update group",Icon:I.LayersTwo02Icon},[td.SidebarItem.PROJECT_UPDATE_GROUP_ANDROID]:{name:"Update (Android)",Icon:I.LayersTwo02Icon},[td.SidebarItem.PROJECT_UPDATE_GROUP_IOS]:{name:"Update (iOS)",Icon:I.LayersTwo02Icon},[td.SidebarItem.PROJECT_PUSH_NOTIFICATIONS]:{name:"Push notifications",Icon:j.NotificationBoxIcon}
52,[td.SidebarItem.PROJECT_FINGERPRINTS]:{name:"Fingerprints",Icon:C.FileSearch02Icon},[td.SidebarItem.PROJECT_SETTINGS_OVERVIEW]:{name:"General",Icon:_.Settings01Icon},[td.SidebarItem.PROJECT_SETTINGS_CREDENTIALS]:{name:"Credentials",Icon:_.Settings01Icon},[td.SidebarItem.PROJECT_SETTINGS_GITHUB]:{name:"GitHub",Icon:_.Settings01Icon},[td.SidebarItem.PROJECT_SETTINGS_ENVIRONMENT_VARIABLES]:{name:"Environment variables",Icon:g.BracketsXIcon}},tp={name:"Overview",Icon:v.LayoutAlt02Icon};function th({className:e}){let n=(0,d.useCurrentAccountName)(),{projectSlug:a}=(0,u.useMaybeCurrentProject)(),r=(0,l.useCurrentUser)(),{setOpen:o}=(0,D.useSearchDialogContext)(),{selectedSidebarItem:c}=(0,L.useSidebarContext)(),{hasNewUnreadNotification:m}=(0,R.useNotificationsContext)(),p=(0,A.useTouchPress)(),h=r.isExpoAdmin&&r.isStaffModeEnabled,x=(0,i.usePathname)(),g=(0,O.useRef)(null),{menuButtonRef:b,triggerCloseRef:y,isMenuOpen:S,setIsMenuOpen:C,isNavVisible:I,isDragging:v,setIsDragging:E,menuButtonTop:j,toggleMenu:_,closeMenu:w,onNavDismiss:N,resetMenu:U}=eH(),[H,G]=(0,O.useState)(!1),[J,V]=(0,O.useState)(0);(0,P.useMediaQuery)("(min-width: 788px)",(0,O.useCallback)(()=>{G(!1)},[]));let z=(0,O.useRef)(x),F=(0,O.useEffectEvent)(()=>{z.current!==x&&(z.current=x,U(),G(!1))});(0,O.useEffect)(()=>{F()},[x]);let K=a?"project":null,W="project"===K&&c&&tm[c]||tp;return(0,t.jsxs)("div",{className:e,children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-1",children:[h?(0,t.jsx)(e3,{accountName:n,compact:!0}):(0,t.jsx)(e0,{compact:!0}),(0,t.jsx)(k,{className:"size-5 shrink-0 text-icon-quaternary"}),(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(tl,{})})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsx)(B.ButtonBase,{"aria-label":"Search",className:"flex items-center rounded-3xl bg-element p-2.5 hocus:bg-hover",onClick:()=>{o(!0)},children:(0,t.jsx)(M.SearchMdIcon,{className:"icon-sm"})}),(0,t.jsx)("div",{ref:b,className:"flex items-center",children:(0,t.jsx)(ek,{isMenuOpen:S,hasNewUnreadNotification:m,onClick:()=>{_(),G(!1)}})}),I&&(0,T.createPortal)((0,t.jsx)("div",{className:"fixed right-[calc(16px+var(--removed-body-scroll-bar-size,0px))] z-602 lg:right-[calc(24px+var(--removed-body-scroll-bar-size,0px))]",style:{top:j,opacity:+!v,transition:"opacity 150ms ease",pointerEvents:"auto"},children:(0,t.jsx)(ek,{isMenuOpen:S,hasNewUnreadNotification:m,onClick:()=>{w(),G(!1)}})}),document.body)]}),K&&(0,t.jsx)("div",{ref:g,className:"w-full pt-2",children:(0,t.jsxs)(B.ButtonBase,{...p,className:"flex w-full items-center justify-between rounded-3xl border-[0.5px] border-secondary bg-default px-3.5 py-2 shadow-xs select-none press:shadow-sm can-hover:hover:shadow-sm",onClick:function(){!H&&g.current&&V((g.current.querySelector("button")??g.current).getBoundingClientRect().bottom+10),G(!H),w()},children:[(0,t.jsxs)("div",{className:"flex flex-1 items-center gap-2",children:[(0,t.jsx)(W.Icon,{className:"icon-sm text-icon-default"}),(0,t.jsx)("span",{className:"text-sm font-medium text-default",children:W.name})]}),(0,t.jsx)(f.ChevronDownIcon,{className:(0,s.mergeClasses)("icon-sm text-icon-default transition-transform duration-200",H&&"rotate-180")})]})}),I&&(0,t.jsx)(ew,{onDismiss:N,onExitStart:()=>{C(!1)},triggerCloseRef:y,onDragStateChange:E}),K&&(0,t.jsx)(eB,{isOpen:H,topOffset:J,section:K,onCloseStart:()=>{G(!1)},onDismiss:()=>{G(!1)}})]})}try{var tx=window;tx._sentryModuleMetadata=tx._sentryModuleMetadata||{},tx._sentryModuleMetadata[(new tx.Error).stack]=Object.assign({},tx._sentryModuleMetadata[(new tx.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function tg(){let{selectedAccount:e,selectedAccountIcon:n}=(0,eX.useSelectedAccount)(),s=e?(0,r.readFragment)(c.AccountIdentityDataDoc,e):null;return(0,t.jsx)(eJ.Avatar,{profilePhoto:n,name:s?.ownerUserActor?.fullName??s?.name,isOrganization:s?.ownerUserActor===null})}var tf=e.i(492073);try{var tb=window;tb._sentryModuleMetadata=tb._sentryModuleMetadata||{},tb._sentryModuleMetadata[(new tb.Error).stack]=Object.assign({},tb._sentryModuleMetadata[(new tb.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}e.s(["AccountBar",0,function({pageTheme:e,navClassName:p}){let h=(0,d.useCurrentAccountName)(),{projectSlug:x,fullName:g}=(0,u.useMaybeCurrentProject)(),f=(0,l.useCurrentUser)(),b=(0,i.usePathname)(),y=(0,Y.shouldShowTopBarOnDesktop)(b),S=!f.accounts.some(e=>
52(0,r.readFragment)(c.AccountIdentityDataDoc,e).name===h),C=!x||!f.isExpoAdmin&&S,{data:I}=(0,n.useQuery)(ti.ProjectSelectorAppDoc,{variables:{fullName:g},skip:C}),v=I?.app.byFullName,E=(0,Y.isIndeterminateRoute)(b)?"/":`/accounts/${h}`,j=(0,Y.isPublicRoute)(b)?"/home":E,{ref:M,inView:_}=(0,o.useInView)({initialInView:!0});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:M,"aria-hidden":!0,className:"pointer-events-none -mb-px h-px"}),(0,t.jsx)("nav",{"data-track-location":"navigation",className:(0,s.mergeClasses)("relative isolate z-1 items-center justify-center","dark"===e&&"bg-palette-black",!y&&"hidden max-md:flex","max-md:sticky max-md:top-0 max-md:z-100 max-md:bg-default max-md:py-4","max-md:border-b-[0.5px] max-md:border-b-transparent max-md:transition-[box-shadow,border-color] max-md:duration-150",!_&&"max-md:border-b-default max-md:shadow-[0_4px_12px_-4px_rgb(0_0_0/0.08)]",p),children:(0,t.jsxs)(tf.Content,{className:"flex items-center justify-between py-4 max-md:h-auto max-md:px-4 max-md:py-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 overflow-hidden max-md:hidden",children:[(0,t.jsx)("div",{className:"mr-2",children:(0,t.jsx)(m.Logo,{forceWordmark:!0,href:j})}),(0,Y.hasAccountSelector)(b)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tg,{}),x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.ChevronRightIcon,{className:"icon-sm text-icon-secondary"}),(0,t.jsx)(ta.ProjectIcon,{name:v?.name??x,profileImageUrl:v?.profileImageUrl,className:"size-6 text-xs",size:32}),(0,t.jsx)("span",{className:"text-sm max-md:hidden",children:v?.name??x})]}),(0,Y.getPageName)(f,b)&&!x&&(0,t.jsxs)(t.Fragment,{children:[(0,Y.hasAccountSelector)(b)&&(0,t.jsx)(a.ChevronRightIcon,{className:"text-icon-secondary"}),(0,t.jsx)("p",{className:"truncate font-medium",children:(0,Y.getPageName)(f,b,h)})]})]})]}),(0,t.jsx)(th,{className:"hidden max-md:flex max-md:min-w-0 max-md:flex-1 max-md:flex-wrap max-md:items-center max-md:gap-2"})]})})]})}],643872)},969275,e=>{"use strict";var t=e.i(438232),n=e.i(383793),s=e.i(618566),a=e.i(15010),r=e.i(624369);try{var i=window;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let o=(0,a.memo)(function({className:e,href:a="/",forceWordmark:i=!1}){let o=(0,s.useRouter)();return(0,t.jsxs)(r.ButtonBase,{onClick:function(e){e.preventDefault(),o?o.push(a):window.location.assign(a)},onContextMenu:function(e){e.preventDefault(),o?.push("/brand")},"aria-label":"Navigate to home",className:e,children:[(0,t.jsx)(n.WordMarkLogo,{title:"Expo home",className:(0,n.mergeClasses)("w-18 text-default",!i&&"max-md:hidden")}),!i&&(0,t.jsx)(n.Logo,{title:"Expo home",className:"hidden text-default max-md:flex"})]})});e.s(["Logo",0,o])},36258,e=>{"use strict";var t=e.i(438232),n=e.i(411852),s=e.i(15010),a=e.i(186704);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let i=(0,s.lazy)(()=>e.A(407264).then(e=>({default:e.SearchDialog})));function o(){let{setOpen:e}=(0,a.useSearchDialogContext)();return(0,n.useCommandMenuShortcut)(e),null}e.s(["Search",0,function(){let{hasOpened:e}=(0,a.useSearchDialogContext)();return e?(0,t.jsx)(s.Suspense,{fallback:(0,t.jsx)(o,{}),children:(0,t.jsx)(i,{})}):(0,t.jsx)(o,{})}])},256686,780501,923337,e=>{"use strict";var t=e.i(438232),n=e.i(138413),s=e.i(383793),a=e.i(807258),r=e.i(252155),i=e.i(576636),o=e.i(71209),c=e.i(365115),l=e.i(673371),d=e.i(273157),u=e.i(589263),m=e.i(621591),p=e.i(719534),h=e.i(413282),x=e.i(475221),g=e.i(385762),f=e.i(289514),b=e.i(161135),y=e.i(479481),S=e.i(359211),C=e.i(428483),I=e.i(489655),v=e.i(553803),E=e.i(406468),j=e.i(886282),M=e.i(618566),_=e.i(669706),w=e.i(490840),N=e.i(326383),k=e.i(505886),O=e.i(285206),T=e.i(196284),P=e.i(506993),A=e.i(300272),R=e.i(568640),D=e.i(372218),L=e.i(978803),B=e.i(285908),U=e.i(312481),H=e.i(966228),G=e.i(790933),J=e.i(407868),V=e.i(506316),z=e.i(687607),F=e.i(861651);try{var K=window;K._sentryModuleMetadata=K._sentryModuleMetadata||{},K._sentryModuleMetadata[(new K.Error).stack]=Object.assign({},K._sentryModuleMetadata[(new K.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function W({Icon:e,title:n,children:a,open:r,onOpenChange:i}){let o=(0,F.useTouchPress)();return(0,t.jsxs)(z.Root,{className:"mt-0.5 first:mt-0",open:r,onOpenChange:i,children:[(0,t.jsxs)(z.Trigger,{...o,className:(0,s.mergeClasses)("flex w-full cursor-pointer items-center gap-2 rounded-lg border-x-[0.5px] border-transparent px-3 py-2","transition-colors focus-visible:-outline-offset-3 press:bg-hover can-hover:hocus:bg-hover"),children:[e&&(0,t.jsx)(e,{className:"icon-sm shrink-0"}),(0,t.jsx)("p",{className:"min-w-0 truncate text-sm",children:n}),(0,t.jsx)(V.ChevronRightIcon,{className:(0,s.mergeClasses)("icon-sm shrink-0 transform text-icon-secondary transition-transform duration-200",r&&"rotate-90")})]}),(0,t.jsx)(z.Content,{className:"grid data-[state=closed]:animate-collapsibleClosed data-[state=open]:animate-collapsibleOpen",children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:(0,s.mergeClasses)("flex flex-col pl-6",r&&"mt-0.5"),children:a})})})]})}var $=e.i(868510),q=e.i(992690),Y=e.i(269147);try{var Q=window;Q._sentryModuleMetadata=Q._sentryModuleMetadata||{},Q._sentryModuleMetadata[(new Q.Error).stack]=Object.assign({},Q._sentryModuleMetadata[(new Q.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function X({title:e,Icon:n,href:a,onClick:r,rightSlot:i,disabled:o,disabledHint:c,isSelected:l,className:d,destructive:u,ref:m}){let p=(0,F.useTouchPress)();return(0,t.jsx)("div",{className:"relative mt-0.5 first:mt-0",ref:m,children:(0,t.jsxs)(Y.LinkBase,{...p,className:(0,s.mergeClasses)("flex cursor-pointer items-center justify-between gap-2 rounded-lg border-x-[0.5px] border-transparent px-3 py-2 transition-colors focus-visible:-outline-offset-3",!o&&"no-touch-callout select-none press:bg-hover can-hover:hocus:bg-hover",u&&"press:bg-danger can-hover:hocus:bg-danger",l&&!o&&"bg-selected press:bg-selected can-hover:hocus:bg-selected",o&&"cursor-not-allowed opacity-60",d),href:a,onClick:r,disabled:o,children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[n&&(0,t.jsx)(n,{className:(0,s.mergeClasses)("icon-sm",l&&!o&&"text-default",o&&"text-icon-quaternary",u&&"text-icon-danger")}),(0,t.jsx)("p",{className:(0,s.mergeClasses)("min-w-0 text-sm",l&&!o&&"font-medium text-default",o&&"text-secondary",u&&"text-danger"),children:e})]}
52),!!(i||o&&c)&&(0,t.jsxs)("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[i,!!(o&&c)&&(0,t.jsx)(q.Popover,{trigger:(0,t.jsx)("button",{type:"button",className:"flex cursor-pointer items-center","aria-label":"Show hint",children:(0,t.jsx)($.HelpCircleIcon,{className:"icon-sm text-icon-secondary"})}),sideOffset:8,className:"min-w-50",children:(0,t.jsx)("p",{className:"p-4 text-sm",children:c})})]})]})})}e.s(["SidebarLink",0,X],780501);var Z=e.i(144395);try{var ee=window;ee._sentryModuleMetadata=ee._sentryModuleMetadata||{},ee._sentryModuleMetadata[(new ee.Error).stack]=Object.assign({},ee._sentryModuleMetadata[(new ee.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function et({accountName:e,projectSlug:n,selectedSidebarItem:s,onClick:a}){let r=(0,J.useObservePlanGate)("easUpdate"),i=(0,J.useObservePlanGate)("navigation"),c=(0,J.useObservePlanGate)("events"),l=(0,J.useObservePlanGate)("errors"),{isObserveOpen:d,setIsObserveOpen:u}=(0,R.useSidebarContext)(),m=(0,G.useObserveFilterQuery)(),p=t=>(0,w.getProjectPath)(e,n,t)+m;return(0,t.jsxs)(W,{title:"Observe",Icon:o.ActivityIcon,open:d,onOpenChange:u,children:[(0,t.jsx)(X,{title:"Overview",href:p("observe/overview"),isSelected:s===Z.SidebarItem.PROJECT_OBSERVE_OVERVIEW,onClick:a}),(0,t.jsx)(X,{title:"Metrics",href:p("observe/metrics"),isSelected:s===Z.SidebarItem.PROJECT_OBSERVE_METRICS,onClick:a}),(0,t.jsx)(X,{title:"Updates",href:p("observe/updates"),isSelected:s===Z.SidebarItem.PROJECT_OBSERVE_EAS_UPDATE,onClick:a,disabled:r.disabled,disabledHint:r.disabledHint}),(0,t.jsx)(X,{title:"Navigation",href:p("observe/navigation"),isSelected:s===Z.SidebarItem.PROJECT_OBSERVE_NAVIGATION,onClick:a,disabled:i.disabled,disabledHint:i.disabledHint}),(0,t.jsx)(X,{title:"Events",href:p("observe/events"),isSelected:s===Z.SidebarItem.PROJECT_OBSERVE_EVENTS,onClick:a,disabled:c.disabled,disabledHint:c.disabledHint}),(0,t.jsx)(X,{title:"Errors",href:p("observe/errors"),isSelected:s===Z.SidebarItem.PROJECT_OBSERVE_ERRORS,onClick:a,disabled:l.disabled,disabledHint:l.disabledHint})]})}try{var en=window;en._sentryModuleMetadata=en._sentryModuleMetadata||{},en._sentryModuleMetadata[(new en.Error).stack]=Object.assign({},en._sentryModuleMetadata[(new en.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function es({title:e}){return(0,t.jsx)("p",{className:"monospace border-x-[0.5px] border-transparent px-3 py-2 text-xs leading-[100%] font-medium tracking-[-0.5px] text-tertiary uppercase",children:e})}e.s(["SidebarSectionHeader",0,es],923337);var ea=e.i(14434),er=e.i(871445),ei=e.i(512347);try{var eo=window;eo._sentryModuleMetadata=eo._sentryModuleMetadata||{},eo._sentryModuleMetadata[(new eo.Error).stack]=Object.assign({},eo._sentryModuleMetadata[(new eo.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let ec=(0,ei.graphql)(`
53  query UpdatePlatformsByGroupId($group: ID!) {
54    updatesByGroup(group: $group) {
55      id
56      platform
57    }
58  }
59`);try{var el=window;el._sentryModuleMetadata=el._sentryModuleMetadata||{},el._sentryModuleMetadata[(new el.Error).stack]=Object.assign({},el._sentryModuleMetadata[(new el.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function ed({updateGroupId:e,selectedSidebarItem:s,onClick:a}){let{getProjectLink:r}=(0,B.useCurrentProject)(),{data:i,loading:o}=(0,n.useQuery)(ec,{variables:{group:e}}),c=i?.updatesByGroup.map(e=>e.platform)??[],l=c.includes("android"),d=c.includes("ios");return(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Update group details"}),(0,t.jsx)(X,{title:"Overview",href:r(`updates/${e}`),Icon:b.LayersTwo02Icon,isSelected:s===Z.SidebarItem.PROJECT_UPDATE_GROUP_OVERVIEW,onClick:a}),(0,t.jsx)(X,{title:"Android",href:r(`updates/${e}
59/android`),Icon:ea.AndroidIcon,isSelected:s===Z.SidebarItem.PROJECT_UPDATE_GROUP_ANDROID,onClick:a,disabled:!l,disabledHint:!o&&"There is no Android update in this group."}),(0,t.jsx)(X,{title:"iOS",href:r(`updates/${e}/ios`),Icon:er.AppleIcon,isSelected:s===Z.SidebarItem.PROJECT_UPDATE_GROUP_IOS,onClick:a,disabled:!d,disabledHint:!o&&"There is no iOS update in this group."})]})}try{var eu=window;eu._sentryModuleMetadata=eu._sentryModuleMetadata||{},eu._sentryModuleMetadata[(new eu.Error).stack]=Object.assign({},eu._sentryModuleMetadata[(new eu.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function em({disabled:e,children:n}){return(0,t.jsx)("div",{className:(0,s.mergeClasses)("flex flex-col gap-[inherit]",e&&"pointer-events-none opacity-30"),children:n})}e.s(["SidebarLinks",0,function({onClick:e,section:G="all"}){let J=(0,L.useCurrentAccountName)(),{projectSlug:V,fullName:z}=(0,B.useMaybeCurrentProject)(),{deploymentId:F,updateGroupId:K}=(0,M.useParams)(),$=(0,A.useCurrentUser)(),{selectedSidebarItem:q}=(0,R.useSidebarContext)(),{data:Y,error:Q}=(0,n.useQuery)(O.AppDevDomainNameDoc,{variables:{fullName:z},skip:!z,errorPolicy:"all"}),ee=Y?.app.byFullName,en=!!ee?.devDomainName?.name,ea=!!V&&!!Q&&!ee,er=encodeURIComponent(J),ei=$.accounts.find(e=>(0,j.readFragment)(T.AccountIdentityDataDoc,e).name===J),eo=ei?(0,j.readFragment)(T.AccountIdentityDataDoc,ei):null,ec=!!ei&&(0,j.readFragment)(P.AccountSubscriptionDataDoc,ei).subscription?.status==="past_due",el=eo?.ownerUserActor?.__typename==="SSOUser",eu=!!F,ep=!!K,eh=!!(eu||ep),{isPlan:ex}=(0,D.useAccountIsPlan)(J,"Enterprise"),eg=(0,k.useAccountNotFound)(J),ef=(0,Z.isBillingPageDisabled)($,J),eb=(0,Z.isEnvironmentVariablesPageDisabled)($,J),ey=$.isExpoAdmin&&$.isStaffModeEnabled,eS=!!eo&&!!$.username&&(0,N.isOwnerOrAdminOrImplicitOwner)(eo,$.username)&&!el,eC=!!eo&&!!$.username&&(0,N.isDeveloperOrImplicitOwner)(eo,$.username),eI=(0,U.useHasNeverSentObserveData)(),ev=(0,_.useDeviceRunSessionsAccountFeatureGate)().isEnabled(),{isHostingOpen:eE,setIsHostingOpen:ej,isUpdatesOpen:eM,setIsUpdatesOpen:e_}=(0,R.useSidebarContext)(),ew="account"===G,eN=!ew&&V&&!eh&&ec,ek=q!==Z.SidebarItem.ACCOUNT_SETTINGS_NEW_BILLING&&ec,eO=(0,t.jsxs)("div",{children:[!ew&&V&&!eh&&(0,t.jsx)(X,{title:"Account",Icon:c.ArrowLeftIcon,href:`/accounts/${er}`,isSelected:q===Z.SidebarItem.ACCOUNT_HOME,onClick:e}),eN&&(0,t.jsx)(X,{title:"Payment failed",Icon:E.XCircleSolidIcon,href:`/accounts/${er}/settings/billing`,destructive:!0,rightSlot:(0,t.jsx)(l.ArrowRightIcon,{className:"icon-xs text-icon-danger"}),onClick:e}),!ew&&V&&eu&&(0,t.jsx)(X,{title:"Deployments",Icon:c.ArrowLeftIcon,href:(0,w.getProjectPath)(J,V,"hosting/deployments"),isSelected:q===Z.SidebarItem.ACCOUNT_HOME,onClick:e}),!ew&&V&&ep&&(0,t.jsx)(X,{title:"Update groups",Icon:c.ArrowLeftIcon,href:(0,w.getProjectPath)(J,V,"updates"),isSelected:q===Z.SidebarItem.ACCOUNT_HOME,onClick:e}),(ew||!V)&&(0,t.jsx)(X,{title:"Overview",Icon:y.LayoutAlt02Icon,href:`/accounts/${er}`,isSelected:q===Z.SidebarItem.ACCOUNT_HOME,onClick:e}),!ew&&!V&&(0,N.isPersonalAccount)(J,$)&&(0,t.jsx)(X,{title:"Snacks",Icon:s.SnackLogo,href:`/accounts/${er}/snacks`,isSelected:q===Z.SidebarItem.ACCOUNT_SNACKS,onClick:e}),(ew||!V)&&(0,t.jsx)(X,{title:"Usage",href:`/accounts/${er}/settings/usage`,Icon:S.LineChartUp02Icon,isSelected:q===Z.SidebarItem.ACCOUNT_USAGE,onClick:e}),(ew||!V)&&(0,t.jsx)(X,{title:"Runners",href:`/accounts/${er}/settings/runners`,Icon:m.CpuChip01Icon,isSelected:q===Z.SidebarItem.ACCOUNT_RUNNERS,onClick:e})]}),eT=V&&!eh&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Project"}),(0,t.jsx)(X,{title:"Overview",href:(0,w.getProjectPath)(J,V),Icon:f.Grid01Icon,isSelected:q===Z.SidebarItem.PROJECT_OVERVIEW,onClick:e}),(0,t.jsx)(X,{title:"Insights",href:(0,w.getProjectPath)(J,V,"insights"),Icon:h.DataIcon,isSelected:q===Z.SidebarItem.PROJECT_INSIGHTS,onClick:e}),(0,t.jsx)(X,{title:"Usage",href:(0,w.getProjectPath)(J,V,"usage"),Icon:S.LineChartUp02Icon,isSelected:q===Z.SidebarItem.PROJECT_USAGE,onClick:e}),!1!==eI?(0,t.jsx)(X,{title:"Observe",href:(0,w.getProjectPath)(J,V,"observe/getting-started"),Icon:o.ActivityIcon,isSelected:q===Z.SidebarItem.PROJECT_OBSERVE_GETTING_STARTED||q===Z.SidebarItem.PROJECT_OBSERVE,onClick:e}):null,!1===eI&&(0,t.jsx)(et,{accountName:J,projectSlug:V,selectedSidebarItem:q,onClick:e})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Develop"}),(0,t.jsx)(X,{title:"Workflows",href:(0,w.getProjectPath)(J,V,"workflows"),Icon:x.Dataflow03Icon,isSelected:q===Z.SidebarItem.PROJECT_WORKFLOWS,onClick:e}),(0,t.jsx)(X,{title:"Development builds",href:(0,w.getProjectPath)(J,V,"development-builds"),Icon:a.BuildIcon,isSelected:q===Z.SidebarItem.PROJECT_DEVELOPMENT_BUILDS,onClick:e})]}),(ev||$.isExpoAdmin)&&(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Review"}),(0,t.jsx)(X,{title:"Simulator sessions",href:(0,w.getProjectPath)(J,V,"simulator-sessions"),Icon:i.Smartphone02Icon,isSelected:q===Z.SidebarItem.PROJECT_DEVICE_RUN_SESSIONS,onClick:e})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Deploy"}),(0,t.jsx)(X,{title:"Builds",href:(0,w.getProjectPath)(J,V,"builds"),Icon:a.BuildIcon,isSelected:q===Z.SidebarItem.PROJECT_BUILDS,onClick:e}),(0,t.jsx)(X,{title:"Submissions",href:(0,w.getProjectPath)(J,V,"submissions"),Icon:r.EasSubmitIcon,isSelected:q===Z.SidebarItem.PROJECT_SUB
59MISSIONS,onClick:e}),(0,t.jsxs)(W,{title:"Over-the-air updates",Icon:b.LayersTwo02Icon,open:eM,onOpenChange:e_,children:[(0,t.jsx)(X,{title:"Channels",href:(0,w.getProjectPath)(J,V,"channels"),isSelected:q===Z.SidebarItem.PROJECT_CHANNELS,onClick:e}),(0,t.jsx)(X,{title:"Update groups",href:(0,w.getProjectPath)(J,V,"updates"),isSelected:q===Z.SidebarItem.PROJECT_UPDATE_GROUPS,onClick:e}),(0,t.jsx)(X,{title:"Branches",href:(0,w.getProjectPath)(J,V,"branches"),isSelected:q===Z.SidebarItem.PROJECT_BRANCHES,onClick:e}),(0,t.jsx)(X,{title:"Runtimes",href:(0,w.getProjectPath)(J,V,"runtimes"),isSelected:q===Z.SidebarItem.PROJECT_RUNTIMES,onClick:e})]}),en?(0,t.jsxs)(W,{title:"Hosting",Icon:u.Cloud01Icon,open:eE,onOpenChange:ej,children:[(0,t.jsx)(X,{title:"Overview",href:(0,w.getProjectPath)(J,V,"hosting"),isSelected:q===Z.SidebarItem.PROJECT_HOSTING,onClick:e}),(0,t.jsx)(X,{title:"Deployments",href:(0,w.getProjectPath)(J,V,"hosting/deployments"),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS,onClick:e}),(0,t.jsx)(X,{title:"Metrics",href:(0,w.getProjectPath)(J,V,"hosting/metrics"),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_METRICS,onClick:e}),(0,t.jsx)(X,{title:"Crashes",href:(0,w.getProjectPath)(J,V,"hosting/crashes"),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_CRASHES,onClick:e}),(0,t.jsx)(X,{title:"Requests",href:(0,w.getProjectPath)(J,V,"hosting/requests"),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_REQUESTS,onClick:e})]}):null,en?null:(0,t.jsx)(X,{title:"Hosting",href:(0,w.getProjectPath)(J,V,"hosting"),Icon:u.Cloud01Icon,isSelected:q===Z.SidebarItem.PROJECT_HOSTING,onClick:e}),(0,t.jsx)(X,{title:"Push notifications",href:(0,w.getProjectPath)(J,V,"push-notifications"),Icon:C.NotificationBoxIcon,isSelected:q===Z.SidebarItem.PROJECT_PUSH_NOTIFICATIONS,onClick:e})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Entities"}),(0,t.jsx)(X,{title:"Caches",href:(0,w.getProjectPath)(J,V,"caches"),isSelected:q===Z.SidebarItem.PROJECT_BUILD_CACHES,onClick:e}),(0,t.jsx)(X,{title:"Fingerprints",href:(0,w.getProjectPath)(J,V,"fingerprints"),isSelected:q===Z.SidebarItem.PROJECT_FINGERPRINTS,onClick:e})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Project settings"}),(0,t.jsx)(X,{title:"General",href:(0,w.getProjectPath)(J,V,"settings"),isSelected:q===Z.SidebarItem.PROJECT_SETTINGS_OVERVIEW,onClick:e}),(0,t.jsx)(X,{title:"Credentials",href:(0,w.getProjectPath)(J,V,"credentials"),isSelected:q===Z.SidebarItem.PROJECT_SETTINGS_CREDENTIALS,disabled:!$.isExpoAdmin&&(!eo||!(0,N.isDeveloperOrImplicitOwner)(eo,$.username)),disabledHint:"Users with Viewer role cannot access Android & iOS credentials. If you need access contact your organization Admin.",onClick:e}),(0,t.jsx)(X,{title:"Environment variables",href:(0,w.getProjectPath)(J,V,"environment-variables"),isSelected:q===Z.SidebarItem.PROJECT_SETTINGS_ENVIRONMENT_VARIABLES,onClick:e,disabled:eb,disabledHint:"Users with Viewer role cannot access project-wide environment variables. If you need access contact your organization Admin."}),en&&(0,t.jsx)(X,{title:"Hosting",href:(0,w.getProjectPath)(J,V,"hosting/settings"),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_SETTINGS,onClick:e}),(0,t.jsx)(X,{title:"GitHub",href:(0,w.getProjectPath)(J,V,"github"),isSelected:q===Z.SidebarItem.PROJECT_SETTINGS_GITHUB,onClick:e})]})]}),eP=V&&eu&&(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Deployment details"}),(0,t.jsx)(X,{title:"Overview",href:(0,w.getProjectPath)(J,V,`hosting/deployments/${F}`),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_OVERVIEW,onClick:e}),(0,t.jsx)(X,{title:"Metrics",href:(0,w.getProjectPath)(J,V,`hosting/deployments/${F}/metrics`),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_METRICS,onClick:e}),(0,t.jsx)(X,{title:"Requests",href:(0,w.getProjectPath)(J,V,`hosting/deployments/${F}/requests`),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_REQUESTS,onClick:e}),(0,t.jsx)(X,{title:"Logs",href:(0,w.getProjectPath)(J,V,`hosting/deployments/${F}/logs`),isSelected:q===Z.SidebarItem.PROJECT_HOSTING_DEPLOYMENTS_LOGS,onClick:e})]}),eA=V&&ep&&K&&(0,t.jsx)(ed,{updateGroupId:K,selectedSidebarItem:q,onClick:e}),eR=(!V||"account"===G)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:(0,Z.getAccountSectionName)((0,N.isPersonalAccount)(J,$),(0,N.isTeamA
59ccount)(J,$))}),(0,t.jsx)(X,{title:"Members",href:`/accounts/${er}/settings/members`,Icon:v.Users01Icon,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_MEMBERS,onClick:e}),(0,t.jsx)(X,{title:"Environment variables",href:`/accounts/${er}/settings/environment-variables`,Icon:d.BracketsXIcon,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_ENVIRONMENT_VARIABLES,onClick:e,disabled:eb,disabledHint:"Users with Viewer role cannot access account-wide environment variables. If you need access contact your organization Admin."}),(ex||$.isExpoAdmin)&&(0,t.jsx)(X,{title:"Audit logs",href:`/accounts/${er}/settings/audit-logs`,Icon:g.FileSearch02Icon,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_AUDIT_LOGS,onClick:e,disabled:!ex&&!ey,disabledHint:"Enable staff mode to access this page as an Expo admin."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Subscription"}),(0,t.jsx)(X,{title:"Billing",href:`/accounts/${er}/settings/billing`,Icon:p.CreditCard02Icon,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_NEW_BILLING,onClick:e,rightSlot:ek&&(0,t.jsx)(H.Tag,{size:"xs",theme:"red",title:"Payment failed",Icon:E.XCircleSolidIcon}),disabled:ef,disabledHint:el?"Billing is not available for SSO user personal accounts.":"Members with a Developer or Viewer role cannot access this page. Contact a member with an Owner or Admin role to gain access."}),(0,t.jsx)(X,{title:"Receipts",href:`/accounts/${er}/settings/receipts`,Icon:I.ReceiptIcon,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_RECEIPTS,onClick:e,disabled:!ey&&!eS,disabledHint:$.isExpoAdmin&&!$.isStaffModeEnabled?"Enable staff mode to access this page as an Expo admin.":el?"Billing is not available for SSO user personal accounts.":"Members with a Developer or Viewer role cannot access this page. Contact a member with an Owner or Admin role to gain access."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Credentials"}),(0,t.jsx)(X,{title:"Android & iOS credentials",href:`/accounts/${er}/settings/credentials`,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_CREDENTIALS,onClick:e,disabled:!ey&&!eC,disabledHint:$.isExpoAdmin&&!$.isStaffModeEnabled?"Enable staff mode to access this page as an Expo admin.":"Users with Viewer role cannot access Android & iOS credentials. If you need access contact your organization Admin."}),(0,t.jsx)(X,{title:"Access tokens",href:`/accounts/${er}/settings/access-tokens`,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_ACCESS_TOKENS,onClick:e}),(0,t.jsx)(X,{title:"Apple devices",href:`/accounts/${er}/settings/apple-devices`,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_APPLE_DEVICES,onClick:e})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(es,{title:"Settings"}),(0,t.jsx)(X,{title:(0,Z.getSettingsPageName)((0,N.isPersonalAccount)(J,$),(0,N.isTeamA
59ccount)(J,$)),href:`/accounts/${er}/settings`,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_OVERVIEW,onClick:e}),(0,t.jsx)(X,{title:"Email notifications",href:`/accounts/${er}/settings/email-notifications`,isSelected:q===Z.SidebarItem.ACCOUNT_SETTINGS_EMAIL_NOTIFICATIONS,onClick:e})]})]}),eD=eg||ea;return"project"===G?(0,t.jsxs)(em,{disabled:eD,children:[eT,eP,eA]}):"account"===G?(0,t.jsxs)(em,{disabled:eg,children:[eO,eR]}):(0,t.jsxs)(em,{disabled:eg,children:[eO,V?(0,t.jsxs)(em,{disabled:eD,children:[eP,eA,eT]}):null,eR]})}],256686)},777780,e=>{"use strict";var t=e.i(438232),n=e.i(365115),s=e.i(339586),a=e.i(385762),r=e.i(653133),i=e.i(185865),o=e.i(461428),c=e.i(124925),l=e.i(68209),d=e.i(953086),u=e.i(377105),m=e.i(928311);try{var p="u">typeof window?window:e.g;p._sentryModuleMetadata=p._sentryModuleMetadata||{},p._sentryModuleMetadata[(new p.Error).stack]=Object.assign({},p._sentryModuleMetadata[(new p.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function h({className:e,...n}){let s=(0,m.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:s,role:"img",...n,children:(0,t.jsx)("g",{id:"user-circle-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5.3163 19.4384C5.92462 18.0052 7.34492 17 9 17H15C16.6551 17 18.0754 18.0052 18.6837 19.4384M16 9.5C16 11.7091 14.2091 13.5 12 13.5C9.79086 13.5 8 11.7091 8 9.5C8 7.29086 9.79086 5.5 12 5.5C14.2091 5.5 16 7.29086 16 9.5ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"})})})}h.displayName="UserCircleIcon";var x=e.i(553803),g=e.i(618566),f=e.i(922204),b=e.i(978803),y=e.i(780501),S=e.i(923337);try{var C=window;C._sentryModuleMetadata=C._sentryModuleMetadata||{},C._sentryModuleMetadata[(new C.Error).stack]=Object.assign({},C._sentryModuleMetadata[(new C.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}e.s(["UserSettings",0,function({onClick:e,isSSOUser:m}){let p=(0,b.useCurrentAccountName)(),C=(0,g.usePathname)(),I=(0,f.useLocationHash)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:(0,t.jsx)(y.SidebarLink,{title:"Back to dashboard",Icon:n.ArrowLeftIcon,href:`/accounts/${p}`,isSelected:!1,onClick:e})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(S.SidebarSectionHeader,{title:"On this page"}),(0,t.jsx)(y.SidebarLink,{title:"Overview",href:"/settings#overview",Icon:d.Settings01Icon,isSelected:"/settings"===C&&null!==I&&(""===I||"#overview"===I),onClick:e}),(0,t.jsx)(y.SidebarLink,{title:"About you",href:"/settings#profile",Icon:h,isSelected:"/settings"===C&&"#profile"===I,onClick:e}),!m&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.SidebarLink,{title:"Email",href:"/settings#email",Icon:c.Mail01Icon,isSelected:"/settings"===C&&"#email"===I,onClick:e}),(0,t.jsx)(y.SidebarLink,{title:"Sign-in methods",href:"/settings#sign-in-methods",Icon:i.Lock01Icon,isSelected:"/settings"===C&&"#sign-in-methods"===I,onClick:e}),(0,t.jsx)(y.SidebarLink,{title:"Two-factor authentication",href:"/settings#two-factor-auth",Icon:l.PasscodeLockIcon,isSelected:"/settings"===C&&"#two-factor-auth"===I,onClick:e})]}),(0,t.jsx)(y.SidebarLink,{title:"Connections",href:"/settings#connections",Icon:r.Link03Icon,isSelected:"/settings"===C&&"#connections"===I,onClick:e}),!m&&(0,t.jsx)(y.SidebarLink,{title:"Convert to organization",href:"/settings#convert-account",Icon:x.Users01Icon,isSelected:"/settings"===C&&"#convert-account"===I,onClick:e}),(0,t.jsx)(y.SidebarLink,{title:"Rename account",href:"/settings#rename-account",Icon:s.AtSignIcon,isSelected:"/settings"===C&&"#rename-account"===I,onClick:e}),(0,t.jsx)(y.SidebarLink,{title:"Log out of sessions",href:"/settings#delete-sessions",Icon:o.LogOut03Icon,isSelected:"/settings"===C&&"#delete-sessions"===I,onClick:e})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(S.SidebarSectionHeader,{title:"Danger zone"}),(0,t.jsx)(y.SidebarLink,{title:"Delete account",href:"/settings#delete-account",Icon:u.Trash03Icon,isSelected:"/settings"===C&&"#delete-account"===I,onClick:e})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(S.SidebarSectionHeader,{title:"More settings"}),(0,t.jsx)(y.SidebarLink,{title:"Security activity",href:"/settings/security-activity",Icon:a.FileSearch02Icon,isSelected:C.startsWith("/settings/security-activity"),onClick:e})]})]})}],777780)},937779,779428,e=>{"use strict";var t=e.i(438232),n=e.i(886282),s=e.i(196284),a=e.i(300272),r=e.i(532070),i=e.i(144395),o=e.i(124224),c=e.i(369258);try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[(new l.Error).stack]=Object.assign({},l._sentryModuleMetadata[(new l.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}e.s(["AccountSelectorContent",0,function({selectedAccountName:e,accounts:l,onClose:d,onSelect:u,showCreateOrganization:m=!0,showPersonalAccount:p=!0,applyHref:h=!0,renderCreateOrgOutside:x=!1}){let g=(0,a.useCurrentUser)(),f=l??g.accounts,{organizationAccounts:b,personalAccountOrExpoAdminUserAccount:y,teamAccounts:S}=(0,c.useSelectedAccount)(f),C=y?(0,n.readFragment)(s.AccountIdentityDataDoc,y):null,I=C?.ownerUserActor?.__typename==="SSOUser",v=e=>{e||d()};return(0,t.jsxs)(t.Fragment,{children:[C?.ownerUserActor&&p&&(0,t.jsx)(o.AccountListItem,{accountName:C.name,displayName:C.displayName??C.ownerUserActor?.fullName??C.name,profileImageUrl:C.profileImageUrl,isSelected:e===C?.name,onSelect:u,applyHref:h,setIsVisible:v}),S.length>0&&(0,i.sortByAccountName)(S).map(a=>{let r=(0,n.readFragment)(s.AccountIdentityDataDoc,a);return(0,t.jsx)(o.AccountListItem,{displayName:r.displayName??r.ownerUserActor?.fullName??r.name,accountName:r.name,profileImageUrl:r.profileImageUrl,isSelected:e===r.name,onSelect:u,applyHref:h,setIsVisible:v},r.id)}),b.length>0&&(0,i.sortByAccountName)(b).map(a=>{let r=(0,n.readFragment)(s.AccountIdentityDataDoc,a);return(0,t.jsx)(o.AccountListItem,{displayName:r.displayName??r.name,accountName:r.name,profileImageUrl:r.profileImageUrl,isSelected:e===r.name,setIsVisible:v,onSelect:u,applyHref:h,isOrganizationAccount:!0},r.id)}),!I&&m&&!x&&(0,t.jsx)(r.CreateOrganizationItem,{onClose:d}),(!C?.ownerUserActor||!p)&&0===S.length&&0===b.length&&!m&&(0,t.jsx)("div",{className:"p-2 text-center",children:(0,t.jsx)("p",{className:"text-xs text-secondary",children:"No accounts available"})})]})}],937779);var d=e.i(484733),u=e.i(512347),m=e.i(228294),p=e.i(506993);try{var h=window;h._sentryModuleMetadata=h._sentryModuleMetadata||{},h._sentryModuleMetadata[(new h.Error).stack]=Object.assign({},h._sentryModuleMetadata[(new h.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}let x=(0,u.graphql)(`
60    query AccountSelector($accountName: String!) {
61      account {
62        byName(accountName: $accountName) {
63          ...AccountIdentityData
64          ...AccountSubscriptionData
65          ...AccountFeatureGatesData
66          ...AccountStatusData
67          ownerUserActor {
68            id
69            accounts {
70              ...AccountIdentityData
71              ...AccountSubscriptionData
72              ...AccountFeatureGatesData
73              ...AccountStatusData
74            }
75          }
76        }
77      }
78    }
79  `,[s.AccountIdentityDataDoc,p.AccountSubscriptionDataDoc,d.AccountFeatureGatesDataDoc,m.AccountStatusDataDoc]);e.s(["AccountSelectorDoc",0,x],779428)},997060,e=>{"use strict";var t=e.i(438232),n=e.i(383793),s=e.i(509934),a=e.i(540666),r=e.i(88653),i=e.i(846932),o=e.i(15010),c=e.i(202691),l=e.i(326383),d=e.i(19822),u=e.i(861651),m=e.i(300272),p=e.i(887989),h=e.i(251785),x=e.i(624369),g=e.i(372090),f=e.i(326999),b=e.i(959411),y=e.i(488049),S=e.i(513209),C=e.i(761274);try{var I=window;I._sentryModuleMetadata=I._sentryModuleMetadata||{},I._sentryModuleMetadata[(new I.Error).stack]=Object.assign({},I._sentryModuleMetadata[(new I.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function v({isOpen:e,onDismiss:n,currentUser:s}){return(0,t.jsx)(S.DialogRoot,{open:e,onOpenChange:e=>{e||n()},children:(0,t.jsxs)(y.DialogContent,{className:"w-100 max-w-[90vw]",children:[(0,t.jsx)(b.VisuallyHidden,{children:(0,t.jsx)(f.Title,{children:"Share feedback"})}),(0,t.jsx)(b.VisuallyHidden,{asChild:!0,children:(0,t.jsx)(f.Description,{children:"Share feedback, report an issue, or contact Expo support."})}),(0,t.jsx)(C.PopoverFeedbackContents,{isVisible:e,onDismiss:n,currentUser:s,analyticsSource:"user-menu"})]})})}var E=e.i(707592),j=e.i(759989),M=e.i(364597),_=e.i(745348),w=e.i(327906),N=e.i(506316),k=e.i(140914),O=e.i(928311);try{var T="u">typeof window?window:e.g;T._sentryModuleMetadata=T._sentryModuleMetadata||{},T._sentryModuleMetadata[(new T.Error).stack]=Object.assign({},T._sentryModuleMetadata[(new T.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function P({className:e,...n}){let s=(0,O.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:s,role:"img",...n,children:(0,t.jsx)("g",{id:"file-code-01-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 2.26953V6.40007C14 6.96012 14 7.24015 14.109 7.45406C14.2049 7.64222 14.3578 7.7952 14.546 7.89108C14.7599 8.00007 15.0399 8.00007 15.6 8.00007H19.7305M14 17.5L16.5 15L14 12.5M10 12.5L7.5 15L10 17.5M20 9.98822V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V6.8C4 5.11984 4 4.27976 4.32698 3.63803C4.6146 3.07354 5.07354 2.6146 5.63803 2.32698C6.27976 2 7.11984 2 8.8 2H12.0118C12.7455 2 13.1124 2 13.4577 2.08289C13.7638 2.15638 14.0564 2.27759 14.3249 2.44208C14.6276 2.6276 14.887 2.88703 15.4059 3.40589L18.5941 6.59411C19.113 7.11297 19.3724 7.3724 19.5579 7.67515C19.7224 7.94356 19.8436 8.2362 19.9171 8.5423C20 8.88757 20 9.25445 20 9.98822Z"})})})}P.displayName="FileCode01Icon";var A=e.i(576522);try{var R="u">typeof window?window:e.g;R._sentryModuleMetadata=R._sentryModuleMetadata||{},R._sentryModuleMetadata[(new R.Error).stack]=Object.assign({},R._sentryModuleMetadata[(new R.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function D({className:e,...n}){let s=(0,O.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:s,role:"img",...n,children:(0,t.jsx)("g",{id:"globe-01-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 12H22M2 12C2 17.5228 6.47715 22 12 22M2 12C2 6.47715 6.47715 2 12 2M22 12C22 17.5228 17.5228 22 12 22M22 12C22 6.47715 17.5228 2 12 2M12 2C14.5013 4.73835 15.9228 8.29203 16 12C15.9228 15.708 14.5013 19.2616 12 22M12 2C9.49872 4.73835 8.07725 8.29203 8 12C8.07725 15.708 9.49872 19.2616 12 22"})})})}D.displayName="Globe01Icon";var L=e.i(960480),B=e.i(461428);try{var U="u">typeof window?window:e.g;U._sentryModuleMetadata=U._sentryModuleMetadata||{},U._sentryModuleMetadata[(new U.Error).stack]=Object.assign({},U._sentryModuleMetadata[(new U.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function H({className:e,...n}){let s=(0,O.mergeClasses)("icon-md text-icon-default translate-z shrink-0",e);return(0,t.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:s,role:"img",...n,children:(0,t.jsx)("g",{id:"message-chat-circle-outline-icon",children:(0,t.jsx)("path",{id:"Icon",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6.09436 11.2288C6.03221 10.8282 5.99996 10.4179 5.99996 10C5.99996 5.58172 9.60525 2 14.0526 2C18.4999 2 22.1052 5.58172 22.1052 10C22.1052 10.9981 21.9213 11.9535 21.5852 12.8345C21.5154 13.0175 21.4804 13.109 21.4646 13.1804C21.4489 13.2512 21.4428 13.301 21.4411 13.3735C21.4394 13.4466 21.4493 13.5272 21.4692 13.6883L21.8717 16.9585C21.9153 17.3125 21.9371 17.4895 21.8782 17.6182C21.8266 17.731 21.735 17.8205 21.6211 17.8695C21.4911 17.9254 21.3146 17.8995 20.9617 17.8478L17.7765 17.3809C17.6101 17.3565 17.527 17.3443 17.4512 17.3448C17.3763 17.3452 17.3245 17.3507 17.2511 17.3661C17.177 17.3817 17.0823 17.4172 16.893 17.4881C16.0097 17.819 15.0524 18 14.0526 18C13.6344 18 13.2237 17.9683 12.8227 17.9073M7.63158 22C10.5965 22 13 19.5376 13 16.5C13 13.4624 10.5965 11 7.63158 11C4.66668 11 2.26316 13.4624 2.26316 16.5C2.26316 17.1106 2.36028 17.6979 2.53955 18.2467C2.61533 18.4787 2.65322 18.5947 2.66566 18.6739C2.67864 18.7567 2.68091 18.8031 2.67608 18.8867C2.67145 18.9668 2.65141 19.0573 2.61134 19.2383L2 22L4.9948 21.591C5.15827 21.5687 5.24 21.5575 5.31137 21.558C5.38652 21.5585 5.42641 21.5626 5.50011 21.5773C5.5701 21.5912 5.67416 21.6279 5.88227 21.7014C6.43059 21.8949 7.01911 22 7.63158 22Z"})})})}H.displayName="MessageChatCircleIcon";var G=e.i(227854),J=e.i(953086),V=e.i(53269),z=e.i(492581),F=e.i(915560),K=e.i(269147),W=e.i(276320);try{var $=window;$._sentryModuleMetadata=$._sentryModuleMetadata||{},$._sentryModuleMetadata[(new $.Error).stack]=Object.assign({},$._sentryModuleMetadata[(new $.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}var q=e.i(829156);try{var Y=window;Y._sentryModuleMetadata=Y._sentryModuleMetadata||{},Y._sentryModuleMetadata[(new Y.Error).stack]=Object.assign({},Y._sentryModuleMetadata[(new Y.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}function Q({label:e,Icon:s,href:r,onSelect:i,rightSlot:o,destructive:c,isSelected:l,...d}){let m=(0,u.useTouchPress)(),p=(0,t.jsxs)(a.Item,{...m,className:(0,n.mergeClasses)("flex w-full cursor-pointer items-center justify-between gap-2 rounded-xl py-2.5 pr-2 pl-3 transition-colors no-touch-callout select-none","hover:outline-0 dark:hocus:bg-element dark:press:bg-element press:bg-hover can-hover:hocus:bg-hover",l&&"bg-hover dark:bg-element"),onSelect:()=>{i?.()},...d,children:[(0,t.jsxs)("div",{className:(0,n.mergeClasses)("flex flex-1 items-center gap-2 text-secondary",c&&"text-danger"),children:[s&&(0,t.jsx)(s,{className:(0,n.mergeClasses)("icon-sm shrink-0",c&&"text-icon-danger")}),(0,t.jsx)("p",{className:"truncate text-sm font-medium tracking-normal",children:e})]}),o]});return r?(0,t.jsx)(K.LinkBase,{href:r,children:p}):p}function X({label:e,Icon:s,children:o,id:c,openId:l,onToggle:d}){let m=l===c,p=(0,u.useTouchPress)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden md:contents",children:(0,t.jsxs)(a.Sub,{children:[(0,t.jsxs)(a.SubTrigger,{className:(0,n.mergeClasses)("flex w-full cursor-pointer items-center justify-between gap-2 rounded-xl py-2.5 pr-2 pl-3 transition-colors select-none","hover:bg-hover hover:outline-0 dark:hover:bg-element","dark:data-[state=open]:bg-element data-[state=open]:bg-hover"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-secondary",children:[s&&(0,t.jsx)(s,{className:"icon-sm shrink-0"}),(0,t.jsx)("p",{className:"text-sm font-medium tracking-normal",children:e})]}),(0,t.jsx)(N.ChevronRightIcon,{className:"icon-sm text-icon-secondary"})]}),(0,t.jsx)(a.Portal,{children:(0,t.jsx)(a.SubContent,{className:(0,n.mergeClasses)("z-606 flex flex-col gap-0.5 rounded-3xl border-[0.5px] border-secondary bg-default p-2 shadow-md dark:border-default dark:bg-hover","min-w-35"),sideOffset:18,alignOffset:-8,collisionPadding:16,children:o})})]})}),(0,t.jsxs)("div",{className:"md:hidden",children:[(0,t.jsxs)(a.Item,{...p,className:(0,n.mergeClasses)("flex w-full cursor-pointer items-center justify-between gap-2 rounded-xl py-2.5 pr-2 pl-3 transition-colors select-none","dar
79k:can-hover:hocus:bg-element dark:press:bg-element press:bg-hover can-hover:hocus:bg-hover can-hover:hocus:outline-0",m&&"bg-hover dark:bg-element"),onSelect:e=>{e.preventDefault(),d(c)},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-secondary",children:[s&&(0,t.jsx)(s,{className:"icon-sm shrink-0"}),(0,t.jsx)("p",{className:"text-sm font-medium tracking-normal",children:e})]}),(0,t.jsx)(N.ChevronRightIcon,{className:(0,n.mergeClasses)("icon-sm text-icon-secondary transition-transform",m&&"rotate-90")})]}),(0,t.jsx)(r.AnimatePresence,{children:m&&(0,t.jsx)(i.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.15,ease:"easeOut"},className:"overflow-hidden",children:(0,t.jsx)("div",{className:"mt-2 flex flex-col gap-0.5 pl-4",children:o})})})]})]})}function Z({onOpenFeedback:e,onOpenStaffMode:s,onDisableStaffMode:a}){let r,i,l=(0,m.useCurrentUser)(),{themeName:d,setAutoMode:u,setDarkMode:h,setLightMode:x}=(0,n.useTheme)(),[g,f]=(0,o.useState)(null);function b(e){f(g===e?null:e)}let y=(r=(0,W.useApolloClient)(),i=(0,p.useAPIV2Client)(),async function(){let{endSessionRedirectUrl:e}=await (0,c.handleLogoutAsync)(i,r);e?window.location.href=e:window.location.href="/"});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q,{label:"Homepage",Icon:D,href:"/home"}),(0,t.jsx)(Q,{label:"Docs",Icon:_.BookOpen01Icon,href:"https://docs.expo.dev",rightSlot:(0,t.jsx)(M.ArrowUpRightIcon,{className:"icon-sm text-icon-secondary"})}),(0,t.jsx)(Q,{label:"Snacks",Icon:n.SnackLogo,href:`/accounts/${l.primaryAccount.name}/snacks`,rightSlot:(0,t.jsx)(M.ArrowUpRightIcon,{className:"icon-sm text-icon-secondary"})}),(0,t.jsxs)(X,{label:"Theme",Icon:V.Contrast02SolidIcon,id:"theme",openId:g,onToggle:b,children:[(0,t.jsx)(Q,{label:"Light",Icon:F.SunSolidIcon,onSelect:x,isSelected:d===n.Themes.LIGHT,rightSlot:d===n.Themes.LIGHT?(0,t.jsx)(w.CheckIcon,{className:"icon-sm"}):void 0}),(0,t.jsx)(Q,{label:"Dark",Icon:z.Moon01SolidIcon,onSelect:h,isSelected:d===n.Themes.DARK,rightSlot:d===n.Themes.DARK?(0,t.jsx)(w.CheckIcon,{className:"icon-sm"}):void 0}),(0,t.jsx)(Q,{label:"Auto",Icon:V.Contrast02SolidIcon,onSelect:u,isSelected:d===n.Themes.AUTO,rightSlot:d===n.Themes.AUTO?(0,t.jsx)(w.CheckIcon,{className:"icon-sm"}):void 0})]}),(0,t.jsx)(Q,{label:"User settings",Icon:J.Settings01Icon,href:"/settings"}),(0,t.jsx)(Q,{label:"Share feedback",Icon:H,onSelect:e}),(0,t.jsx)(Q,{label:"Get help",Icon:L.LifeBuoy01Icon,href:"/support"}),l.isExpoAdmin&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(X,{label:"Expo admin",Icon:E.BadgeIcon,id:"staff",openId:g,onToggle:b,children:[(0,t.jsx)(Q,{label:"Browser cache",Icon:k.Database01Icon,href:"/admin/browser-cache"}),(0,t.jsx)(Q,{label:"Feature gates",Icon:A.Flag01Icon,href:"/admin/feature-gates"}),(0,t.jsx)(Q,{label:"Manage annotations",Icon:G.NotificationMessageIcon,href:"/admin/annotations"}),(0,t.jsx)(Q,{label:"Sentry test",Icon:j.AlertCircleIcon,href:"/admin/sentry-test"}),(0,t.jsx)(Q,{label:"GraphiQL",Icon:P,href:"/graphiql"})]}),(0,t.jsx)(Q,{label:"Staff mode",Icon:E.BadgeIcon,onSelect:l.isStaffModeEnabled?a:s,rightSlot:(0,t.jsx)(q.Switch,{value:l.isStaffModeEnabled,size:"sm"})})]}),(0,t.jsx)(Q,{label:"Log out",Icon:B.LogOut03Icon,onSelect:y,destructive:!0,"data-testid":"logout-button"})]})}try{var ee=window;ee._sentryModuleMetadata=ee._sentryModuleMetadata||{},ee._sentryModuleMetadata[(new ee.Error).stack]=Object.assign({},ee._sentryModuleMetadata[(new ee.Error).stack],{"_sentryBundlerPluginAppKey:expo-website":!0})}catch(e){}e.s(["UserDropdown",0,function({showBackdrop:e=!1}){let f=(0,m.useCurrentUser)(),b=(0,p.useAPIV2Client)(),[y,S]=(0,o.useState)(!1),[C,I]=(0,o.useState)(!1),[E,j]=(0,o.useState)(!1),M=(0,u.useTouchPress)();async function _(){f?.isExpoAdmin&&(await c.handleDowngradeStaffModeSessionAsync(b),window.location.reload())}(0,d.useMediaQuery)("(max-width: 787px)",(0,o.useCallback)(()=>{S(!1)},[]));let w=f.primaryAccount,N=f.fullName??w?.name,k=(0,l.getUserDisplayName)(f);return(0,t.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,t.jsxs)(a.Root,{open:y,onOpenChange:S,children:[(0,t.jsx)(r.AnimatePresence,{children:e&&y&&(0,t.jsx)(i.motion.div,{initial:{opacity:0}
79,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"absolute inset-0 z-overDialog-605 bg-palette-black/30"})}),(0,t.jsx)(a.Trigger,{asChild:!0,children:(0,t.jsxs)(x.ButtonBase,{...M,className:"relative z-606 min-w-0 flex-1 cursor-pointer items-center justify-between gap-1 rounded-full p-2 text-left no-touch-callout select-none press:bg-hover can-hover:hocus:bg-hover data-[state=open]:bg-hover","data-testid":"viewer-menu",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2 truncate",children:[(0,t.jsx)(h.Avatar,{name:N,profilePhoto:f.primaryAccount.profileImageUrl,alt:"User menu"}),(0,t.jsx)("p",{className:"truncate text-sm font-medium",children:k})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[f.isExpoAdmin&&(0,t.jsx)("span",{className:(0,n.mergeClasses)("shrink-0 rounded-full p-1 text-[8px] leading-[100%] font-medium text-palette-white uppercase",...f.isStaffModeEnabled?["bg-(--amber-7) dark:bg-(--amber-7)"]:["bg-icon-info dark:bg-info dark:text-info"]),children:"Staff"}),(0,t.jsx)(s.DotsVerticalIcon,{className:"icon-sm text-icon-quaternary"})]})]})}),(0,t.jsx)(a.Portal,{forceMount:!0,children:(0,t.jsx)(r.AnimatePresence,{children:y&&(0,t.jsx)(a.Content,{asChild:!0,hideWhenDetached:!0,forceMount:!0,side:"top",sideOffset:8,collisionPadding:{left:8,right:8},children:(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0,transition:{type:"spring",stiffness:400,damping:25}},exit:{opacity:0,y:8,transition:{duration:.15,ease:"easeIn"}},className:(0,n.mergeClasses)("z-overDialog-605 flex w-(--radix-dropdown-menu-trigger-width) flex-col gap-0.5 rounded-3xl border-[0.5px] border-secondary bg-default p-2 shadow-md","dark:border-default dark:bg-hover"),children:(0,t.jsx)(Z,{onOpenFeedback:()=>{I(!0)},onOpenStaffMode:()=>{j(!0)},onDisableStaffMode:()=>{_()}})})})})})]}),(0,t.jsx)(v,{isOpen:C,onDismiss:()=>{I(!1)},currentUser:f}),(0,t.jsx)(g.StaffModeDialog,{isOpen:f?.isExpoAdmin&&E,onRequestClose:()=>{j(!1)}})]})}],997060)}]);
80
81//# debugId=fe336a2b-34a2-f601-f059-8b2d8d5a0100

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.