expo-dev-launcher 5.0.7 → 5.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 5.0.9 — 2024-11-04
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 5.0.8 — 2024-10-31
18
+
19
+ ### 💡 Others
20
+
21
+ - Truncate runtime version in settings screen ([#32489](https://github.com/expo/expo/pull/32489) by [@gabrieldonadel](https://github.com/gabrieldonadel))
22
+
13
23
  ## 5.0.7 — 2024-10-31
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -17,7 +17,7 @@ android {
17
17
  namespace "expo.modules.devlauncher"
18
18
  defaultConfig {
19
19
  versionCode 9
20
- versionName "5.0.7"
20
+ versionName "5.0.9"
21
21
  }
22
22
 
23
23
  buildTypes {
@@ -1317,7 +1317,7 @@ __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.
1317
1317
  __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.validateUrl=function(t){if(!n.default.parse(t,!0).protocol)return!1;return!0};var n=t(r(d[1]))}),1202,[21,1165]);
1318
1318
  __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getServerUrlFromDevSession=function(l){if(null==l||!l.url.includes('url'))return null==l?void 0:l.url;var n=decodeURIComponent(l.url).split(/([&,?,=])/),u=n.indexOf('url');return n[u+2]}}),1203,[]);
1319
1319
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.KitchenSinkScreen=function(){var e=(0,u.useToastStack)(),p=a.useState(!1),x=(0,s.default)(p,2),f=x[0],S=x[1];function h(){S(!0),setTimeout((function(){S(!1)}),1500)}return(0,j.jsxs)(t.ScrollView,{children:[(0,j.jsx)(o.SafeAreaTop,{}),(0,j.jsxs)(r.View,{padding:"medium",children:[(0,j.jsx)(r.Heading,{size:"large",children:"Kitchen Sink"}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(r.Heading,{children:"Load More Button"}),(0,j.jsx)(i.BasicButton,{label:"Load More",isLoading:f,onPress:h}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(r.Heading,{children:"FlatList Loader"}),(0,j.jsx)(l.FlatListLoader,{}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(r.Heading,{children:"Basic Buttons"}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(r.Row,{children:[(0,j.jsx)(i.BasicButton,{label:"Primary",type:"primary"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Secondary",type:"secondary"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Tertiary",type:"tertiary"})]}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(r.Row,{children:[(0,j.jsx)(i.BasicButton,{label:"Disabled",type:"disabled"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Ghost",type:"ghost"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Transparent",type:"transparent"})]}),(0,j.jsx)(r.Spacer.Vertical,{size:"large"}),(0,j.jsx)(r.Heading,{children:"Toasts"}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(r.Row,{children:[(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Warning",onPress:function(){e.push((function(){return(0,j.jsx)(c.Toasts.Warning,{children:"Hey there!"})}),{durationMs:5e3})}}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Error",onPress:function(){e.push((function(){return(0,j.jsx)(c.Toasts.Error,{children:"Hey there!"})}),{durationMs:5e3})}})]}),(0,j.jsx)(r.Spacer.Vertical,{size:"large"}),(0,j.jsx)(r.Heading,{children:"Update Rows"}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(n.EASUpdateRow,{isFirst:!0,isLoading:f,onPress:h,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,j.jsx)(r.Divider,{}),(0,j.jsx)(n.EASUpdateRow,{isLoading:f,onPress:h,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,j.jsx)(r.Divider,{}),(0,j.jsx)(n.EASUpdateRow,{isLast:!0,isLoading:f,onPress:h,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}})]})]})};var s=e(_r(d[1])),r=_r(d[2]),a=(function(e,s){if(!s&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(s);if(r&&r.has(e))return r.get(e);var a={__proto__:null},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var n=t?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(a,i,n):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a})(_r(d[3])),t=_r(d[4]),i=_r(d[5]),n=_r(d[6]),l=_r(d[7]),o=_r(d[8]),c=_r(d[9]),u=_r(d[10]),j=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var s=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:s})(e)}}),1204,[21,50,752,109,1,1180,1182,1186,1194,1152,1153,248]);
1320
- __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SettingsScreen=function(){var e=(0,S.useUser)().userData,l=s.useState(''),c=(0,r.default)(l,2)[1],h=s.useState(''),j=(0,r.default)(h,2),f=j[0],y=j[1],z=(0,p.useDevMenuPreferences)(),v=z.showsAtLaunch,T=z.setShowsAtLaunch,k=z.touchGestureEnabled,O=z.setTouchGestureEnabled,P=z.motionGestureEnabled,C=z.setMotionGestureEnabled,H=(0,x.useBuildInfo)(),D=s.useRef(null);s.useEffect((function(){return f&&(D.current=setTimeout((function(){y('')}),3e3)),function(){clearTimeout(D.current)}}),[f]);var B=(function(){var e=(0,n.default)((function*(){var e=H.runtimeVersion,n=H.sdkVersion,r=H.appName,i=H.appVersion,s=JSON.stringify({runtimeVersion:e,sdkVersion:n,appName:r,appVersion:i},null,'\t');c(''),y(s),yield(0,u.copyToClipboardAsync)(s).catch((function(e){c(e.message),y('')}))}));return function(){return e.apply(this,arguments)}})(),R=Boolean(f);return(0,w.jsx)(t.ScrollView,{testID:"DevLauncherSettingsScreen",showsVerticalScrollIndicator:!1,children:(0,w.jsxs)(a.ScreenContainer,{children:[(0,w.jsx)(o.SafeAreaTop,{}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(i.View,{px:"medium",children:(0,w.jsx)(i.Heading,{size:"large",children:"Settings"})}),(0,w.jsxs)(i.View,{py:"large",px:"medium",children:[(0,w.jsx)(i.View,{bg:"default",rounded:"large",children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",children:[(0,w.jsx)(i.ShowMenuIcon,{}),(0,w.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(i.Text,{size:"large",children:"Show menu at launch"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(t.Switch,{accessibilityRole:"switch",accessibilityLabel:"Toggle showing menu at launch",value:v,onValueChange:function(){return T(!v)}})]})}),(0,w.jsx)(i.Spacer.Vertical,{size:"large"}),(0,w.jsx)(i.View,{padding:"medium",children:(0,w.jsx)(i.Heading,{color:"secondary",children:"Menu gestures"})}),(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"none",onPress:function(){return C(!P)},accessibilityState:{checked:P},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.ShakeDeviceIcon,{}),(0,w.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(i.Text,{size:"large",color:"default",children:"Shake device"}),(0,w.jsx)(i.Spacer.Horizontal,{}),P&&(0,w.jsx)(i.CheckIcon,{})]})}),(0,w.jsx)(i.Divider,{}),(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedBottom:"large",roundedTop:"none",onPress:function(){return O(!k)},accessibilityState:{checked:k},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",bg:"default",children:[(0,w.jsx)(i.ThreeFingerPressIcon,{}),(0,w.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(i.Text,{size:"large",color:"default",children:"Three-finger long-press"}),(0,w.jsx)(i.Spacer.Horizontal,{}),k&&(0,w.jsx)(i.CheckIcon,{})]})})]}),(0,w.jsx)(i.View,{padding:"small",children:(0,w.jsx)(i.Text,{color:"secondary",size:"small",leading:"large",children:"Selected gestures will toggle the developer menu while inside a preview. The menu allows you to reload or return to home and exposes developer tools."})}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(i.View,{rounded:"large",overflow:"hidden",children:[(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{children:"Version"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(i.Text,{children:null==H?void 0:H.appVersion})]}),Boolean(H.runtimeVersion)&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.Divider,{}),(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{children:"Runtime Version"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(i.Text,{children:H.runtimeVersion})]})]}),Boolean(H.sdkVersion)&&!H.runtimeVersion&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.Divider,{}),(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{children:"SDK Version"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(i.Text,{children:H.sdkVersion})]})]}),(0,w.jsx)(i.Divider,{}),(0,w.jsx)(i.Button.FadeOnPressContainer,{onPress:B,disabled:R,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,w.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,w.jsx)(i.Text,{color:"link",size:"medium",children:R?'Copied to clipboard!':'Tap to Copy All'})})}),(null==e?void 0:e.isExpoAdmin)&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(V,{}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(b,{})]})]})]})]})})};var n=e(_r(d[1])),r=e(_r(d[2])),i=_r(d[3]),s=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=y(n);if(r&&r.has(e))return r.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&{}.hasOwnProperty.call(e,t)){var l=s?Object.getOwnPropertyDescriptor(e,t):null;l&&(l.get||l.set)?Object.defineProperty(i,t,l):i[t]=e[t]}return i.default=e,r&&r.set(e,i),i})(_r(d[4])),t=_r(d[5]),l=_r(d[6]),o=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),x=_r(d[11]),p=_r(d[12]),h=_r(d[13]),j=_r(d[14]),f=_r(d[15]),S=_r(d[16]),w=_r(d[17]);function y(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:n})(e)}function V(){var e=(0,l.useQueryClient)(),r=(0,h.useQueryOptions)(),s=r.queryOptions,t=r.setQueryOptions,o=(0,j.useToastStack)();function a(e){t(Object.assign({},s,{pageSize:e}))}function u(){return(u=(0,n.default)((function*(){yield e.resetQueries(),yield e.invalidateQueries(),null==o||o.push((function(){return(0,w.jsx)(c.Toasts.Info,{children:"Network cache was reset!"})}))}))).apply(this,arguments)}return(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.View,{padding:"medium",children:(0,w.jsx)(i.Heading,{color:"secondary",children:"Debug Settings"})}),(0,w.jsx)(i.View,{children:(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"large",onPress:function(){return u.apply(this,arguments)},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{size:"large",color:"default",children:"Clear network cache"}),(0,w.jsx)(i.Spacer.Horizontal,{})]})}),(0,w.jsx)(i.Spacer.Vertical,{size:"large"}),(0,w.jsxs)(i.View,{px:"medium",children:[(0,w.jsx)(i.Heading,{size:"small",color:"secondary",children:"Default Page Size"}),(0,w.jsx)(i.Text,{color:"secondary",size:"small",children:"Sets the number of items fetched for branches and updates"})]}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(i.View,{children:[1,5,10].map((function(e,n,r){var t=s.pageSize===e,l=0===n,o=n===r.length-1;return(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:l?'large':'none',roundedBottom:o?'large':'none',onPress:function(){return a(e)},accessibilityState:{checked:t},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{size:"large",color:"default",children:e}),(0,w.jsx)(i.Spacer.Horizontal,{}),t&&(0,w.jsx)(i.CheckIcon,{})]})}),!o&&(0,w.jsx)(i.Divider,{})]},e)}))})]})})]})}function b(){var e=(0,f.useUpdatesConfig)();return(0,w.jsxs)(i.View,{my:"medium",children:[(0,w.jsxs)(i.View,{px:"medium",children:[(0,w.jsx)(i.Heading,{color:"secondary",children:"EAS Update configuration"}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"})]}),(0,w.jsx)(i.View,{bg:"default",padding:"medium",rounded:"large",children:(0,w.jsx)(i.Text,{type:"mono",size:"small",children:JSON.stringify(e,null,2)})})]})}}),1205,[21,351,50,752,109,1,1076,1194,1188,1152,1073,1157,1159,1075,1153,1155,1163,248]);
1320
+ __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SettingsScreen=function(){var e=(0,S.useUser)().userData,l=s.useState(''),c=(0,r.default)(l,2)[1],h=s.useState(''),j=(0,r.default)(h,2),f=j[0],w=j[1],T=(0,p.useDevMenuPreferences)(),v=T.showsAtLaunch,O=T.setShowsAtLaunch,k=T.touchGestureEnabled,P=T.setTouchGestureEnabled,C=T.motionGestureEnabled,H=T.setMotionGestureEnabled,D=(0,x.useBuildInfo)(),B=s.useRef(null);s.useEffect((function(){return f&&(B.current=setTimeout((function(){w('')}),3e3)),function(){clearTimeout(B.current)}}),[f]);var R=(function(){var e=(0,n.default)((function*(){var e=D.runtimeVersion,n=D.sdkVersion,r=D.appName,i=D.appVersion,s=JSON.stringify({runtimeVersion:e,sdkVersion:n,appName:r,appVersion:i},null,'\t');c(''),w(s),yield(0,u.copyToClipboardAsync)(s).catch((function(e){c(e.message),w('')}))}));return function(){return e.apply(this,arguments)}})(),I=Boolean(f);return(0,y.jsx)(t.ScrollView,{testID:"DevLauncherSettingsScreen",showsVerticalScrollIndicator:!1,children:(0,y.jsxs)(a.ScreenContainer,{children:[(0,y.jsx)(o.SafeAreaTop,{}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(i.View,{px:"medium",children:(0,y.jsx)(i.Heading,{size:"large",children:"Settings"})}),(0,y.jsxs)(i.View,{py:"large",px:"medium",children:[(0,y.jsx)(i.View,{bg:"default",rounded:"large",children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",children:[(0,y.jsx)(i.ShowMenuIcon,{}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{size:"large",children:"Show menu at launch"}),(0,y.jsx)(i.Spacer.Horizontal,{}),(0,y.jsx)(t.Switch,{accessibilityRole:"switch",accessibilityLabel:"Toggle showing menu at launch",value:v,onValueChange:function(){return O(!v)}})]})}),(0,y.jsx)(i.Spacer.Vertical,{size:"large"}),(0,y.jsx)(i.View,{padding:"medium",children:(0,y.jsx)(i.Heading,{color:"secondary",children:"Menu gestures"})}),(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"none",onPress:function(){return H(!C)},accessibilityState:{checked:C},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.ShakeDeviceIcon,{}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{size:"large",color:"default",children:"Shake device"}),(0,y.jsx)(i.Spacer.Horizontal,{}),C&&(0,y.jsx)(i.CheckIcon,{})]})}),(0,y.jsx)(i.Divider,{}),(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedBottom:"large",roundedTop:"none",onPress:function(){return P(!k)},accessibilityState:{checked:k},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",bg:"default",children:[(0,y.jsx)(i.ThreeFingerPressIcon,{}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{size:"large",color:"default",children:"Three-finger long-press"}),(0,y.jsx)(i.Spacer.Horizontal,{}),k&&(0,y.jsx)(i.CheckIcon,{})]})})]}),(0,y.jsx)(i.View,{padding:"small",children:(0,y.jsx)(i.Text,{color:"secondary",size:"small",leading:"large",children:"Selected gestures will toggle the developer menu while inside a preview. The menu allows you to reload or return to home and exposes developer tools."})}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsxs)(i.View,{rounded:"large",overflow:"hidden",children:[(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{children:"Version"}),(0,y.jsx)(i.Spacer.Horizontal,{}),(0,y.jsx)(i.Text,{children:null==D?void 0:D.appVersion})]}),Boolean(D.runtimeVersion)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i.Divider,{}),(0,y.jsxs)(i.Row,{px:"medium",py:"small",bg:"default",children:[(0,y.jsx)(i.Text,{children:"Runtime Version"}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{style:z.runtimeVersionText,ellipsizeMode:"middle",numberOfLines:1,children:D.runtimeVersion})]})]}),Boolean(D.sdkVersion)&&!D.runtimeVersion&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i.Divider,{}),(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{children:"SDK Version"}),(0,y.jsx)(i.Spacer.Horizontal,{}),(0,y.jsx)(i.Text,{children:D.sdkVersion})]})]}),(0,y.jsx)(i.Divider,{}),(0,y.jsx)(i.Button.FadeOnPressContainer,{onPress:R,disabled:I,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,y.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,y.jsx)(i.Text,{color:"link",size:"medium",children:I?'Copied to clipboard!':'Tap to Copy All'})})}),(null==e?void 0:e.isExpoAdmin)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(V,{}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(b,{})]})]})]})]})})};var n=e(_r(d[1])),r=e(_r(d[2])),i=_r(d[3]),s=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=w(n);if(r&&r.has(e))return r.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&{}.hasOwnProperty.call(e,t)){var l=s?Object.getOwnPropertyDescriptor(e,t):null;l&&(l.get||l.set)?Object.defineProperty(i,t,l):i[t]=e[t]}return i.default=e,r&&r.set(e,i),i})(_r(d[4])),t=_r(d[5]),l=_r(d[6]),o=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),x=_r(d[11]),p=_r(d[12]),h=_r(d[13]),j=_r(d[14]),f=_r(d[15]),S=_r(d[16]),y=_r(d[17]);function w(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(w=function(e){return e?r:n})(e)}function V(){var e=(0,l.useQueryClient)(),r=(0,h.useQueryOptions)(),s=r.queryOptions,t=r.setQueryOptions,o=(0,j.useToastStack)();function a(e){t(Object.assign({},s,{pageSize:e}))}function u(){return(u=(0,n.default)((function*(){yield e.resetQueries(),yield e.invalidateQueries(),null==o||o.push((function(){return(0,y.jsx)(c.Toasts.Info,{children:"Network cache was reset!"})}))}))).apply(this,arguments)}return(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.View,{padding:"medium",children:(0,y.jsx)(i.Heading,{color:"secondary",children:"Debug Settings"})}),(0,y.jsx)(i.View,{children:(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"large",onPress:function(){return u.apply(this,arguments)},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{size:"large",color:"default",children:"Clear network cache"}),(0,y.jsx)(i.Spacer.Horizontal,{})]})}),(0,y.jsx)(i.Spacer.Vertical,{size:"large"}),(0,y.jsxs)(i.View,{px:"medium",children:[(0,y.jsx)(i.Heading,{size:"small",color:"secondary",children:"Default Page Size"}),(0,y.jsx)(i.Text,{color:"secondary",size:"small",children:"Sets the number of items fetched for branches and updates"})]}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(i.View,{children:[1,5,10].map((function(e,n,r){var t=s.pageSize===e,l=0===n,o=n===r.length-1;return(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:l?'large':'none',roundedBottom:o?'large':'none',onPress:function(){return a(e)},accessibilityState:{checked:t},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{size:"large",color:"default",children:e}),(0,y.jsx)(i.Spacer.Horizontal,{}),t&&(0,y.jsx)(i.CheckIcon,{})]})}),!o&&(0,y.jsx)(i.Divider,{})]},e)}))})]})})]})}function b(){var e=(0,f.useUpdatesConfig)();return(0,y.jsxs)(i.View,{my:"medium",children:[(0,y.jsxs)(i.View,{px:"medium",children:[(0,y.jsx)(i.Heading,{color:"secondary",children:"EAS Update configuration"}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"})]}),(0,y.jsx)(i.View,{bg:"default",padding:"medium",rounded:"large",children:(0,y.jsx)(i.Text,{type:"mono",size:"small",children:JSON.stringify(e,null,2)})})]})}var z=t.StyleSheet.create({runtimeVersionText:{flex:1,textAlign:'right'}})}),1205,[21,351,50,752,109,1,1076,1194,1188,1152,1073,1157,1159,1075,1153,1155,1163,248]);
1321
1321
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.UserProfileScreen=function(e){var l=e.navigation,p=(0,u.useUser)(),y=p.userData,w=p.selectedAccount,v=(0,c.useModalStack)(),P=(0,u.useUserActions)(),b=i.useState(!1),V=(0,r.default)(b,2),S=V[0],A=V[1],L=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('login'),A(!1)}));return function(){return e.apply(this,arguments)}})(),O=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('signup'),A(!1)}));return function(){return e.apply(this,arguments)}})(),z=null!=y;return(0,f.jsx)(s.SafeAreaView,{style:{flex:1},edges:['bottom'],children:(0,f.jsx)(o.ScrollView,{style:{flex:1},children:(0,f.jsxs)(t.View,{children:[(0,f.jsx)(x,{onClosePress:function(){l.goBack()}}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.View,{px:"medium",children:z?(0,f.jsx)(h,{userData:y,selectedAccount:w,onSelectAccount:function(e){P.setSelectedAccount(e.id)},onLogoutPress:function(){v.push((function(){return(0,f.jsx)(a.LogoutConfirmationModal,{onClosePress:function(){return v.pop()},onLogoutPress:(0,n.default)((function*(){yield P.logout(),v.pop()}))})}))}}):(0,f.jsx)(j,{isLoading:S,onLoginPress:L,onSignupPress:O})})]})})})};var n=e(_r(d[1])),r=e(_r(d[2])),t=_r(d[3]),i=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(n);if(r&&r.has(e))return r.get(e);var t={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(t,o,s):t[o]=e[o]}return t.default=e,r&&r.set(e,t),t})(_r(d[4])),o=_r(d[5]),s=_r(d[6]),l=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),f=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:n})(e)}function x(e){var n=e.onClosePress;return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsxs)(t.Row,{align:"center",children:[(0,f.jsx)(t.View,{px:"medium",children:(0,f.jsx)(t.Heading,{size:"large",children:"Account"})}),(0,f.jsx)(t.Spacer.Horizontal,{}),(0,f.jsx)(t.Button.FadeOnPressContainer,{onPress:n,accessibilityLabel:"Go Back",rounded:"full",bg:"ghost",children:(0,f.jsx)(t.View,{padding:"medium",rounded:"full",children:(0,f.jsx)(t.XIcon,{})})})]})]})}function j(e){var n=e.onLoginPress,r=e.onSignupPress,i=e.isLoading;return(0,f.jsxs)(t.View,{px:"small",py:"medium",bg:"default",rounded:"large",children:[(0,f.jsx)(t.Text,{color:"secondary",size:"small",leading:"large",children:"Log in or create an account to view local development servers and more."}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:n,disabled:i,accessibilityLabel:"Log in",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"secondary",rounded:"medium",onPress:r,disabled:i,accessibilityLabel:"Sign Up",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})}),i&&(0,f.jsx)(t.View,{style:{position:'absolute',right:0,left:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},children:(0,f.jsx)(o.ActivityIndicator,{size:"small"})})]})}function h(e){var n=e.userData,r=e.selectedAccount,i=e.onSelectAccount,o=e.onLogoutPress,s=[],a=[];for(var c of n.accounts)c&&(c.ownerUserActor?s.push(c):a.push(c));var u=[].concat(s,a);return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.View,{children:u.map((function(e,n,o){var s,a,c,u,p=n===o.length-1,x=0===n,j=e.id===(null==r?void 0:r.id);return(0,f.jsxs)(t.Button.FadeOnPressContainer,{onPress:function(){return i(e)},bg:"default",roundedBottom:p?'large':'none',roundedTop:x?'large':'none',children:[(0,f.jsxs)(t.Row,{align:"center",py:"small",px:"medium",bg:"default",children:[(0,f.jsx)(l.Avatar,{profilePhoto:null==e||null==(s=e.ownerUserActor)?void 0:s.profilePhoto,name:null!=e&&null!=(a=e.ownerUserActor)&&a.fullName?e.ownerUserActor.fullName:null==e?void 0:e.name,isOrganization:null===(null==e?void 0:e.ownerUserActor),size:"large"}),(0,f.jsx)(t.Spacer.Horizontal,{size:"small"}),(0,f.jsx)(t.View,{children:(0,f.jsx)(t.Heading,{children:null!=(c=null==(u=e.ownerUserActor)?void 0:u.username)?c:e.name})}),(0,f.jsx)(t.Spacer.Vertical,{}),j&&(0,f.jsx)(t.CheckIcon,{testID:`active-account-checkmark-${e.id}`})]}),!p&&(0,f.jsx)(t.Divider,{})]},e.id)}))}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:o,children:(0,f.jsx)(t.View,{py:"small",rounded:"medium",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})]})}}),1206,[21,351,50,752,109,1,653,1193,1207,1171,1163,248]);
1322
1322
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LogoutConfirmationModal=function(n){var o=n.onLogoutPress,i=n.onClosePress;return(0,t.jsxs)(r.BaseModal,{title:"Confirm logout",children:[(0,t.jsx)(e.Heading,{weight:"medium",children:"Are you sure you want to log out?"}),(0,t.jsx)(e.Spacer.Vertical,{size:"medium"}),(0,t.jsxs)(e.Row,{children:[(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:o,accessibilityLabel:"Log out",children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})}),(0,t.jsx)(e.Spacer.Horizontal,{size:"medium"}),(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"ghost",border:"ghost",rounded:"medium",onPress:i,children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"ghost",weight:"bold",align:"center",children:"Nevermind"})})})})]})]})};var e=_r(d[0]),r=((function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,t&&t.set(e,o)})(_r(d[1])),_r(d[2])),t=_r(d[3]);function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}}),1207,[752,109,1174,248]);
1323
1323
  __r(142);
@@ -11,8 +11,6 @@ import android.app.Activity;
11
11
  import android.content.Context;
12
12
  import android.os.Bundle;
13
13
  import android.view.View;
14
- import com.facebook.debug.holder.PrinterHolder;
15
- import com.facebook.debug.tags.ReactDebugOverlayTags;
16
14
  import com.facebook.infer.annotation.Assertions;
17
15
  import com.facebook.infer.annotation.Nullsafe;
18
16
  import com.facebook.react.bridge.JSBundleLoader;
@@ -12,7 +12,7 @@ import {
12
12
  CheckIcon,
13
13
  } from 'expo-dev-client-components';
14
14
  import * as React from 'react';
15
- import { ScrollView, Switch } from 'react-native';
15
+ import { ScrollView, Switch, StyleSheet } from 'react-native';
16
16
  import { useQueryClient } from 'react-query';
17
17
 
18
18
  import { SafeAreaTop } from '../components/SafeAreaTop';
@@ -170,10 +170,12 @@ export function SettingsScreen() {
170
170
  {Boolean(buildInfo.runtimeVersion) && (
171
171
  <>
172
172
  <Divider />
173
- <Row px="medium" py="small" align="center" bg="default">
173
+ <Row px="medium" py="small" bg="default">
174
174
  <Text>Runtime Version</Text>
175
- <Spacer.Horizontal />
176
- <Text>{buildInfo.runtimeVersion}</Text>
175
+ <Spacer.Horizontal size="small" />
176
+ <Text style={styles.runtimeVersionText} ellipsizeMode="middle" numberOfLines={1}>
177
+ {buildInfo.runtimeVersion}
178
+ </Text>
177
179
  </Row>
178
180
  </>
179
181
  )}
@@ -321,3 +323,10 @@ function UpdatesDebugSettings() {
321
323
  </View>
322
324
  );
323
325
  }
326
+
327
+ const styles = StyleSheet.create({
328
+ runtimeVersionText: {
329
+ flex: 1,
330
+ textAlign: 'right',
331
+ },
332
+ });
package/ios/main.jsbundle CHANGED
@@ -1314,7 +1314,7 @@ __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.
1314
1314
  __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.validateUrl=function(t){if(!n.default.parse(t,!0).protocol)return!1;return!0};var n=t(r(d[1]))}),1199,[21,1162]);
1315
1315
  __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getServerUrlFromDevSession=function(l){if(null==l||!l.url.includes('url'))return null==l?void 0:l.url;var n=decodeURIComponent(l.url).split(/([&,?,=])/),u=n.indexOf('url');return n[u+2]}}),1200,[]);
1316
1316
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.KitchenSinkScreen=function(){var e=(0,u.useToastStack)(),p=a.useState(!1),x=(0,s.default)(p,2),f=x[0],S=x[1];function h(){S(!0),setTimeout((function(){S(!1)}),1500)}return(0,j.jsxs)(t.ScrollView,{children:[(0,j.jsx)(o.SafeAreaTop,{}),(0,j.jsxs)(r.View,{padding:"medium",children:[(0,j.jsx)(r.Heading,{size:"large",children:"Kitchen Sink"}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(r.Heading,{children:"Load More Button"}),(0,j.jsx)(i.BasicButton,{label:"Load More",isLoading:f,onPress:h}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(r.Heading,{children:"FlatList Loader"}),(0,j.jsx)(l.FlatListLoader,{}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(r.Heading,{children:"Basic Buttons"}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(r.Row,{children:[(0,j.jsx)(i.BasicButton,{label:"Primary",type:"primary"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Secondary",type:"secondary"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Tertiary",type:"tertiary"})]}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(r.Row,{children:[(0,j.jsx)(i.BasicButton,{label:"Disabled",type:"disabled"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Ghost",type:"ghost"}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Transparent",type:"transparent"})]}),(0,j.jsx)(r.Spacer.Vertical,{size:"large"}),(0,j.jsx)(r.Heading,{children:"Toasts"}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(r.Row,{children:[(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Warning",onPress:function(){e.push((function(){return(0,j.jsx)(c.Toasts.Warning,{children:"Hey there!"})}),{durationMs:5e3})}}),(0,j.jsx)(r.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(r.Spacer.Vertical,{size:"small"}),(0,j.jsx)(i.BasicButton,{label:"Error",onPress:function(){e.push((function(){return(0,j.jsx)(c.Toasts.Error,{children:"Hey there!"})}),{durationMs:5e3})}})]}),(0,j.jsx)(r.Spacer.Vertical,{size:"large"}),(0,j.jsx)(r.Heading,{children:"Update Rows"}),(0,j.jsx)(r.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(n.EASUpdateRow,{isFirst:!0,isLoading:f,onPress:h,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,j.jsx)(r.Divider,{}),(0,j.jsx)(n.EASUpdateRow,{isLoading:f,onPress:h,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,j.jsx)(r.Divider,{}),(0,j.jsx)(n.EASUpdateRow,{isLast:!0,isLoading:f,onPress:h,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}})]})]})};var s=e(_r(d[1])),r=_r(d[2]),a=(function(e,s){if(!s&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(s);if(r&&r.has(e))return r.get(e);var a={__proto__:null},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var n=t?Object.getOwnPropertyDescriptor(e,i):null;n&&(n.get||n.set)?Object.defineProperty(a,i,n):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a})(_r(d[3])),t=_r(d[4]),i=_r(d[5]),n=_r(d[6]),l=_r(d[7]),o=_r(d[8]),c=_r(d[9]),u=_r(d[10]),j=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var s=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:s})(e)}}),1201,[21,50,749,109,1,1177,1179,1183,1191,1149,1150,250]);
1317
- __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SettingsScreen=function(){var e=(0,S.useUser)().userData,l=s.useState(''),c=(0,r.default)(l,2)[1],h=s.useState(''),j=(0,r.default)(h,2),f=j[0],y=j[1],z=(0,p.useDevMenuPreferences)(),v=z.showsAtLaunch,T=z.setShowsAtLaunch,k=z.touchGestureEnabled,O=z.setTouchGestureEnabled,P=z.motionGestureEnabled,C=z.setMotionGestureEnabled,H=(0,x.useBuildInfo)(),D=s.useRef(null);s.useEffect((function(){return f&&(D.current=setTimeout((function(){y('')}),3e3)),function(){clearTimeout(D.current)}}),[f]);var B=(function(){var e=(0,n.default)((function*(){var e=H.runtimeVersion,n=H.sdkVersion,r=H.appName,i=H.appVersion,s=JSON.stringify({runtimeVersion:e,sdkVersion:n,appName:r,appVersion:i},null,'\t');c(''),y(s),yield(0,u.copyToClipboardAsync)(s).catch((function(e){c(e.message),y('')}))}));return function(){return e.apply(this,arguments)}})(),R=Boolean(f);return(0,w.jsx)(t.ScrollView,{testID:"DevLauncherSettingsScreen",showsVerticalScrollIndicator:!1,children:(0,w.jsxs)(a.ScreenContainer,{children:[(0,w.jsx)(o.SafeAreaTop,{}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(i.View,{px:"medium",children:(0,w.jsx)(i.Heading,{size:"large",children:"Settings"})}),(0,w.jsxs)(i.View,{py:"large",px:"medium",children:[(0,w.jsx)(i.View,{bg:"default",rounded:"large",children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",children:[(0,w.jsx)(i.ShowMenuIcon,{}),(0,w.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(i.Text,{size:"large",children:"Show menu at launch"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(t.Switch,{accessibilityRole:"switch",accessibilityLabel:"Toggle showing menu at launch",value:v,onValueChange:function(){return T(!v)}})]})}),(0,w.jsx)(i.Spacer.Vertical,{size:"large"}),(0,w.jsx)(i.View,{padding:"medium",children:(0,w.jsx)(i.Heading,{color:"secondary",children:"Menu gestures"})}),(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"none",onPress:function(){return C(!P)},accessibilityState:{checked:P},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.ShakeDeviceIcon,{}),(0,w.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(i.Text,{size:"large",color:"default",children:"Shake device"}),(0,w.jsx)(i.Spacer.Horizontal,{}),P&&(0,w.jsx)(i.CheckIcon,{})]})}),(0,w.jsx)(i.Divider,{}),(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedBottom:"large",roundedTop:"none",onPress:function(){return O(!k)},accessibilityState:{checked:k},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",bg:"default",children:[(0,w.jsx)(i.ThreeFingerPressIcon,{}),(0,w.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(i.Text,{size:"large",color:"default",children:"Three-finger long-press"}),(0,w.jsx)(i.Spacer.Horizontal,{}),k&&(0,w.jsx)(i.CheckIcon,{})]})})]}),(0,w.jsx)(i.View,{padding:"small",children:(0,w.jsx)(i.Text,{color:"secondary",size:"small",leading:"large",children:"Selected gestures will toggle the developer menu while inside a preview. The menu allows you to reload or return to home and exposes developer tools."})}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(i.View,{rounded:"large",overflow:"hidden",children:[(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{children:"Version"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(i.Text,{children:null==H?void 0:H.appVersion})]}),Boolean(H.runtimeVersion)&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.Divider,{}),(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{children:"Runtime Version"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(i.Text,{children:H.runtimeVersion})]})]}),Boolean(H.sdkVersion)&&!H.runtimeVersion&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.Divider,{}),(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{children:"SDK Version"}),(0,w.jsx)(i.Spacer.Horizontal,{}),(0,w.jsx)(i.Text,{children:H.sdkVersion})]})]}),(0,w.jsx)(i.Divider,{}),(0,w.jsx)(i.Button.FadeOnPressContainer,{onPress:B,disabled:R,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,w.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,w.jsx)(i.Text,{color:"link",size:"medium",children:R?'Copied to clipboard!':'Tap to Copy All'})})}),(null==e?void 0:e.isExpoAdmin)&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(V,{}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(b,{})]})]})]})]})})};var n=e(_r(d[1])),r=e(_r(d[2])),i=_r(d[3]),s=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=y(n);if(r&&r.has(e))return r.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&{}.hasOwnProperty.call(e,t)){var l=s?Object.getOwnPropertyDescriptor(e,t):null;l&&(l.get||l.set)?Object.defineProperty(i,t,l):i[t]=e[t]}return i.default=e,r&&r.set(e,i),i})(_r(d[4])),t=_r(d[5]),l=_r(d[6]),o=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),x=_r(d[11]),p=_r(d[12]),h=_r(d[13]),j=_r(d[14]),f=_r(d[15]),S=_r(d[16]),w=_r(d[17]);function y(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:n})(e)}function V(){var e=(0,l.useQueryClient)(),r=(0,h.useQueryOptions)(),s=r.queryOptions,t=r.setQueryOptions,o=(0,j.useToastStack)();function a(e){t(Object.assign({},s,{pageSize:e}))}function u(){return(u=(0,n.default)((function*(){yield e.resetQueries(),yield e.invalidateQueries(),null==o||o.push((function(){return(0,w.jsx)(c.Toasts.Info,{children:"Network cache was reset!"})}))}))).apply(this,arguments)}return(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.View,{padding:"medium",children:(0,w.jsx)(i.Heading,{color:"secondary",children:"Debug Settings"})}),(0,w.jsx)(i.View,{children:(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"large",onPress:function(){return u.apply(this,arguments)},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{size:"large",color:"default",children:"Clear network cache"}),(0,w.jsx)(i.Spacer.Horizontal,{})]})}),(0,w.jsx)(i.Spacer.Vertical,{size:"large"}),(0,w.jsxs)(i.View,{px:"medium",children:[(0,w.jsx)(i.Heading,{size:"small",color:"secondary",children:"Default Page Size"}),(0,w.jsx)(i.Text,{color:"secondary",size:"small",children:"Sets the number of items fetched for branches and updates"})]}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(i.View,{children:[1,5,10].map((function(e,n,r){var t=s.pageSize===e,l=0===n,o=n===r.length-1;return(0,w.jsxs)(i.View,{children:[(0,w.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:l?'large':'none',roundedBottom:o?'large':'none',onPress:function(){return a(e)},accessibilityState:{checked:t},children:(0,w.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(i.Text,{size:"large",color:"default",children:e}),(0,w.jsx)(i.Spacer.Horizontal,{}),t&&(0,w.jsx)(i.CheckIcon,{})]})}),!o&&(0,w.jsx)(i.Divider,{})]},e)}))})]})})]})}function b(){var e=(0,f.useUpdatesConfig)();return(0,w.jsxs)(i.View,{my:"medium",children:[(0,w.jsxs)(i.View,{px:"medium",children:[(0,w.jsx)(i.Heading,{color:"secondary",children:"EAS Update configuration"}),(0,w.jsx)(i.Spacer.Vertical,{size:"medium"})]}),(0,w.jsx)(i.View,{bg:"default",padding:"medium",rounded:"large",children:(0,w.jsx)(i.Text,{type:"mono",size:"small",children:JSON.stringify(e,null,2)})})]})}}),1202,[21,349,50,749,109,1,1073,1191,1185,1149,1070,1154,1156,1072,1150,1152,1160,250]);
1317
+ __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.SettingsScreen=function(){var e=(0,S.useUser)().userData,l=s.useState(''),c=(0,r.default)(l,2)[1],h=s.useState(''),j=(0,r.default)(h,2),f=j[0],w=j[1],T=(0,p.useDevMenuPreferences)(),v=T.showsAtLaunch,O=T.setShowsAtLaunch,k=T.touchGestureEnabled,P=T.setTouchGestureEnabled,C=T.motionGestureEnabled,H=T.setMotionGestureEnabled,D=(0,x.useBuildInfo)(),B=s.useRef(null);s.useEffect((function(){return f&&(B.current=setTimeout((function(){w('')}),3e3)),function(){clearTimeout(B.current)}}),[f]);var R=(function(){var e=(0,n.default)((function*(){var e=D.runtimeVersion,n=D.sdkVersion,r=D.appName,i=D.appVersion,s=JSON.stringify({runtimeVersion:e,sdkVersion:n,appName:r,appVersion:i},null,'\t');c(''),w(s),yield(0,u.copyToClipboardAsync)(s).catch((function(e){c(e.message),w('')}))}));return function(){return e.apply(this,arguments)}})(),I=Boolean(f);return(0,y.jsx)(t.ScrollView,{testID:"DevLauncherSettingsScreen",showsVerticalScrollIndicator:!1,children:(0,y.jsxs)(a.ScreenContainer,{children:[(0,y.jsx)(o.SafeAreaTop,{}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(i.View,{px:"medium",children:(0,y.jsx)(i.Heading,{size:"large",children:"Settings"})}),(0,y.jsxs)(i.View,{py:"large",px:"medium",children:[(0,y.jsx)(i.View,{bg:"default",rounded:"large",children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",children:[(0,y.jsx)(i.ShowMenuIcon,{}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{size:"large",children:"Show menu at launch"}),(0,y.jsx)(i.Spacer.Horizontal,{}),(0,y.jsx)(t.Switch,{accessibilityRole:"switch",accessibilityLabel:"Toggle showing menu at launch",value:v,onValueChange:function(){return O(!v)}})]})}),(0,y.jsx)(i.Spacer.Vertical,{size:"large"}),(0,y.jsx)(i.View,{padding:"medium",children:(0,y.jsx)(i.Heading,{color:"secondary",children:"Menu gestures"})}),(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"none",onPress:function(){return H(!C)},accessibilityState:{checked:C},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.ShakeDeviceIcon,{}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{size:"large",color:"default",children:"Shake device"}),(0,y.jsx)(i.Spacer.Horizontal,{}),C&&(0,y.jsx)(i.CheckIcon,{})]})}),(0,y.jsx)(i.Divider,{}),(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedBottom:"large",roundedTop:"none",onPress:function(){return P(!k)},accessibilityState:{checked:k},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",bg:"default",children:[(0,y.jsx)(i.ThreeFingerPressIcon,{}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{size:"large",color:"default",children:"Three-finger long-press"}),(0,y.jsx)(i.Spacer.Horizontal,{}),k&&(0,y.jsx)(i.CheckIcon,{})]})})]}),(0,y.jsx)(i.View,{padding:"small",children:(0,y.jsx)(i.Text,{color:"secondary",size:"small",leading:"large",children:"Selected gestures will toggle the developer menu while inside a preview. The menu allows you to reload or return to home and exposes developer tools."})}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsxs)(i.View,{rounded:"large",overflow:"hidden",children:[(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{children:"Version"}),(0,y.jsx)(i.Spacer.Horizontal,{}),(0,y.jsx)(i.Text,{children:null==D?void 0:D.appVersion})]}),Boolean(D.runtimeVersion)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i.Divider,{}),(0,y.jsxs)(i.Row,{px:"medium",py:"small",bg:"default",children:[(0,y.jsx)(i.Text,{children:"Runtime Version"}),(0,y.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,y.jsx)(i.Text,{style:z.runtimeVersionText,ellipsizeMode:"middle",numberOfLines:1,children:D.runtimeVersion})]})]}),Boolean(D.sdkVersion)&&!D.runtimeVersion&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i.Divider,{}),(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{children:"SDK Version"}),(0,y.jsx)(i.Spacer.Horizontal,{}),(0,y.jsx)(i.Text,{children:D.sdkVersion})]})]}),(0,y.jsx)(i.Divider,{}),(0,y.jsx)(i.Button.FadeOnPressContainer,{onPress:R,disabled:I,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,y.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,y.jsx)(i.Text,{color:"link",size:"medium",children:I?'Copied to clipboard!':'Tap to Copy All'})})}),(null==e?void 0:e.isExpoAdmin)&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(V,{}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(b,{})]})]})]})]})})};var n=e(_r(d[1])),r=e(_r(d[2])),i=_r(d[3]),s=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=w(n);if(r&&r.has(e))return r.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in e)if("default"!==t&&{}.hasOwnProperty.call(e,t)){var l=s?Object.getOwnPropertyDescriptor(e,t):null;l&&(l.get||l.set)?Object.defineProperty(i,t,l):i[t]=e[t]}return i.default=e,r&&r.set(e,i),i})(_r(d[4])),t=_r(d[5]),l=_r(d[6]),o=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),x=_r(d[11]),p=_r(d[12]),h=_r(d[13]),j=_r(d[14]),f=_r(d[15]),S=_r(d[16]),y=_r(d[17]);function w(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(w=function(e){return e?r:n})(e)}function V(){var e=(0,l.useQueryClient)(),r=(0,h.useQueryOptions)(),s=r.queryOptions,t=r.setQueryOptions,o=(0,j.useToastStack)();function a(e){t(Object.assign({},s,{pageSize:e}))}function u(){return(u=(0,n.default)((function*(){yield e.resetQueries(),yield e.invalidateQueries(),null==o||o.push((function(){return(0,y.jsx)(c.Toasts.Info,{children:"Network cache was reset!"})}))}))).apply(this,arguments)}return(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.View,{padding:"medium",children:(0,y.jsx)(i.Heading,{color:"secondary",children:"Debug Settings"})}),(0,y.jsx)(i.View,{children:(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"large",onPress:function(){return u.apply(this,arguments)},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{size:"large",color:"default",children:"Clear network cache"}),(0,y.jsx)(i.Spacer.Horizontal,{})]})}),(0,y.jsx)(i.Spacer.Vertical,{size:"large"}),(0,y.jsxs)(i.View,{px:"medium",children:[(0,y.jsx)(i.Heading,{size:"small",color:"secondary",children:"Default Page Size"}),(0,y.jsx)(i.Text,{color:"secondary",size:"small",children:"Sets the number of items fetched for branches and updates"})]}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(i.View,{children:[1,5,10].map((function(e,n,r){var t=s.pageSize===e,l=0===n,o=n===r.length-1;return(0,y.jsxs)(i.View,{children:[(0,y.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:l?'large':'none',roundedBottom:o?'large':'none',onPress:function(){return a(e)},accessibilityState:{checked:t},children:(0,y.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,y.jsx)(i.Text,{size:"large",color:"default",children:e}),(0,y.jsx)(i.Spacer.Horizontal,{}),t&&(0,y.jsx)(i.CheckIcon,{})]})}),!o&&(0,y.jsx)(i.Divider,{})]},e)}))})]})})]})}function b(){var e=(0,f.useUpdatesConfig)();return(0,y.jsxs)(i.View,{my:"medium",children:[(0,y.jsxs)(i.View,{px:"medium",children:[(0,y.jsx)(i.Heading,{color:"secondary",children:"EAS Update configuration"}),(0,y.jsx)(i.Spacer.Vertical,{size:"medium"})]}),(0,y.jsx)(i.View,{bg:"default",padding:"medium",rounded:"large",children:(0,y.jsx)(i.Text,{type:"mono",size:"small",children:JSON.stringify(e,null,2)})})]})}var z=t.StyleSheet.create({runtimeVersionText:{flex:1,textAlign:'right'}})}),1202,[21,349,50,749,109,1,1073,1191,1185,1149,1070,1154,1156,1072,1150,1152,1160,250]);
1318
1318
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.UserProfileScreen=function(e){var l=e.navigation,p=(0,u.useUser)(),y=p.userData,w=p.selectedAccount,v=(0,c.useModalStack)(),P=(0,u.useUserActions)(),b=i.useState(!1),V=(0,r.default)(b,2),S=V[0],A=V[1],L=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('login'),A(!1)}));return function(){return e.apply(this,arguments)}})(),O=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('signup'),A(!1)}));return function(){return e.apply(this,arguments)}})(),z=null!=y;return(0,f.jsx)(s.SafeAreaView,{style:{flex:1},edges:['bottom'],children:(0,f.jsx)(o.ScrollView,{style:{flex:1},children:(0,f.jsxs)(t.View,{children:[(0,f.jsx)(x,{onClosePress:function(){l.goBack()}}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.View,{px:"medium",children:z?(0,f.jsx)(h,{userData:y,selectedAccount:w,onSelectAccount:function(e){P.setSelectedAccount(e.id)},onLogoutPress:function(){v.push((function(){return(0,f.jsx)(a.LogoutConfirmationModal,{onClosePress:function(){return v.pop()},onLogoutPress:(0,n.default)((function*(){yield P.logout(),v.pop()}))})}))}}):(0,f.jsx)(j,{isLoading:S,onLoginPress:L,onSignupPress:O})})]})})})};var n=e(_r(d[1])),r=e(_r(d[2])),t=_r(d[3]),i=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(n);if(r&&r.has(e))return r.get(e);var t={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(t,o,s):t[o]=e[o]}return t.default=e,r&&r.set(e,t),t})(_r(d[4])),o=_r(d[5]),s=_r(d[6]),l=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),f=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:n})(e)}function x(e){var n=e.onClosePress;return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsxs)(t.Row,{align:"center",children:[(0,f.jsx)(t.View,{px:"medium",children:(0,f.jsx)(t.Heading,{size:"large",children:"Account"})}),(0,f.jsx)(t.Spacer.Horizontal,{}),(0,f.jsx)(t.Button.FadeOnPressContainer,{onPress:n,accessibilityLabel:"Go Back",rounded:"full",bg:"ghost",children:(0,f.jsx)(t.View,{padding:"medium",rounded:"full",children:(0,f.jsx)(t.XIcon,{})})})]})]})}function j(e){var n=e.onLoginPress,r=e.onSignupPress,i=e.isLoading;return(0,f.jsxs)(t.View,{px:"small",py:"medium",bg:"default",rounded:"large",children:[(0,f.jsx)(t.Text,{color:"secondary",size:"small",leading:"large",children:"Log in or create an account to view local development servers and more."}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:n,disabled:i,accessibilityLabel:"Log in",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"secondary",rounded:"medium",onPress:r,disabled:i,accessibilityLabel:"Sign Up",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})}),i&&(0,f.jsx)(t.View,{style:{position:'absolute',right:0,left:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},children:(0,f.jsx)(o.ActivityIndicator,{size:"small"})})]})}function h(e){var n=e.userData,r=e.selectedAccount,i=e.onSelectAccount,o=e.onLogoutPress,s=[],a=[];for(var c of n.accounts)c&&(c.ownerUserActor?s.push(c):a.push(c));var u=[].concat(s,a);return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.View,{children:u.map((function(e,n,o){var s,a,c,u,p=n===o.length-1,x=0===n,j=e.id===(null==r?void 0:r.id);return(0,f.jsxs)(t.Button.FadeOnPressContainer,{onPress:function(){return i(e)},bg:"default",roundedBottom:p?'large':'none',roundedTop:x?'large':'none',children:[(0,f.jsxs)(t.Row,{align:"center",py:"small",px:"medium",bg:"default",children:[(0,f.jsx)(l.Avatar,{profilePhoto:null==e||null==(s=e.ownerUserActor)?void 0:s.profilePhoto,name:null!=e&&null!=(a=e.ownerUserActor)&&a.fullName?e.ownerUserActor.fullName:null==e?void 0:e.name,isOrganization:null===(null==e?void 0:e.ownerUserActor),size:"large"}),(0,f.jsx)(t.Spacer.Horizontal,{size:"small"}),(0,f.jsx)(t.View,{children:(0,f.jsx)(t.Heading,{children:null!=(c=null==(u=e.ownerUserActor)?void 0:u.username)?c:e.name})}),(0,f.jsx)(t.Spacer.Vertical,{}),j&&(0,f.jsx)(t.CheckIcon,{testID:`active-account-checkmark-${e.id}`})]}),!p&&(0,f.jsx)(t.Divider,{})]},e.id)}))}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:o,children:(0,f.jsx)(t.View,{py:"small",rounded:"medium",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})]})}}),1203,[21,349,50,749,109,1,650,1190,1204,1168,1160,250]);
1319
1319
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LogoutConfirmationModal=function(n){var o=n.onLogoutPress,i=n.onClosePress;return(0,t.jsxs)(r.BaseModal,{title:"Confirm logout",children:[(0,t.jsx)(e.Heading,{weight:"medium",children:"Are you sure you want to log out?"}),(0,t.jsx)(e.Spacer.Vertical,{size:"medium"}),(0,t.jsxs)(e.Row,{children:[(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:o,accessibilityLabel:"Log out",children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})}),(0,t.jsx)(e.Spacer.Horizontal,{size:"medium"}),(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"ghost",border:"ghost",rounded:"medium",onPress:i,children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"ghost",weight:"bold",align:"center",children:"Nevermind"})})})})]})]})};var e=_r(d[0]),r=((function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&{}.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,t&&t.set(e,o)})(_r(d[1])),_r(d[2])),t=_r(d[3]);function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}}),1204,[749,109,1171,250]);
1320
1320
  __r(144);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-dev-launcher",
3
3
  "title": "Expo Development Launcher",
4
- "version": "5.0.7",
4
+ "version": "5.0.9",
5
5
  "description": "Pre-release version of the Expo development launcher package for testing.",
6
6
  "main": "build/DevLauncher.js",
7
7
  "types": "build/DevLauncher.d.ts",
@@ -31,7 +31,7 @@
31
31
  "homepage": "https://docs.expo.dev",
32
32
  "dependencies": {
33
33
  "ajv": "8.11.0",
34
- "expo-dev-menu": "6.0.5",
34
+ "expo-dev-menu": "6.0.6",
35
35
  "expo-manifests": "~0.15.0",
36
36
  "resolve-from": "^5.0.0"
37
37
  },
@@ -66,5 +66,5 @@
66
66
  ],
67
67
  "testTimeout": 15000
68
68
  },
69
- "gitHead": "1f7a56b5a5bcef23ac6e55b16db53077f6a4065c"
69
+ "gitHead": "d97ae0839fa465cee14e13ca38f3c6c84c124d82"
70
70
  }