expo-dev-menu 5.0.4 → 5.0.6
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,18 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 5.0.6 — 2024-04-25
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fix DevMenu Home icon color in dark mode. ([#28442](https://github.com/expo/expo/pull/28442) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
18
|
+
|
|
19
|
+
## 5.0.5 — 2024-04-24
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- Fixed "Missing transform.routerRoot option in Metro bundling request" error when loading the bundle. ([#28428](https://github.com/expo/expo/pull/28428) by [@kudo](https://github.com/kudo))
|
|
24
|
+
|
|
13
25
|
## 5.0.4 — 2024-04-24
|
|
14
26
|
|
|
15
27
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'host.exp.exponent'
|
|
4
|
-
version = '5.0.
|
|
4
|
+
version = '5.0.6'
|
|
5
5
|
|
|
6
6
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
7
7
|
apply from: expoModulesCorePlugin
|
|
@@ -20,7 +20,7 @@ android {
|
|
|
20
20
|
namespace "expo.modules.devmenu"
|
|
21
21
|
defaultConfig {
|
|
22
22
|
versionCode 10
|
|
23
|
-
versionName '5.0.
|
|
23
|
+
versionName '5.0.6'
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
buildTypes {
|
|
@@ -23,6 +23,8 @@ import com.facebook.soloader.SoLoader
|
|
|
23
23
|
import devmenu.com.th3rdwave.safeareacontext.SafeAreaProviderManager
|
|
24
24
|
import expo.modules.adapters.react.ModuleRegistryAdapter
|
|
25
25
|
import expo.modules.adapters.react.ReactModuleRegistryProvider
|
|
26
|
+
import expo.modules.devmenu.helpers.getPrivateDeclaredFieldValue
|
|
27
|
+
import expo.modules.devmenu.helpers.setPrivateDeclaredFieldValue
|
|
26
28
|
import expo.modules.devmenu.modules.DevMenuInternalModule
|
|
27
29
|
import expo.modules.devmenu.modules.DevMenuPreferences
|
|
28
30
|
import expo.modules.kotlin.ModulesProvider
|
|
@@ -55,6 +57,10 @@ object DevMenuReactHost {
|
|
|
55
57
|
val reactJsExceptionHandler = ReactJsExceptionHandler { _ -> }
|
|
56
58
|
val componentFactory = ComponentFactory()
|
|
57
59
|
DefaultComponentsRegistry.register(componentFactory)
|
|
60
|
+
var originalDevFlag: Boolean? = null
|
|
61
|
+
if (!useDeveloperSupport) {
|
|
62
|
+
originalDevFlag = injectDevFlag(false)
|
|
63
|
+
}
|
|
58
64
|
val reactHost = ReactHostImpl(
|
|
59
65
|
application,
|
|
60
66
|
defaultReactHostDelegate,
|
|
@@ -66,6 +72,9 @@ object DevMenuReactHost {
|
|
|
66
72
|
.apply {
|
|
67
73
|
jsEngineResolutionAlgorithm = jsResolutionAlgorithm
|
|
68
74
|
}
|
|
75
|
+
if (originalDevFlag != null) {
|
|
76
|
+
injectDevFlag(originalDevFlag)
|
|
77
|
+
}
|
|
69
78
|
if (useDeveloperSupport) {
|
|
70
79
|
injectDevServerSettings(application.applicationContext, reactHost)
|
|
71
80
|
}
|
|
@@ -145,4 +154,19 @@ object DevMenuReactHost {
|
|
|
145
154
|
Log.e(DEV_MENU_TAG, "Couldn't inject DevSettings object.", e)
|
|
146
155
|
}
|
|
147
156
|
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* TODO: Remove this after React Native 0.74.1
|
|
160
|
+
*/
|
|
161
|
+
private fun injectDevFlag(devFlag: Boolean): Boolean {
|
|
162
|
+
val reactHostClass = ReactHostImpl::class.java
|
|
163
|
+
val originalDevFlag: Boolean =
|
|
164
|
+
reactHostClass.getPrivateDeclaredFieldValue("DEV", reactHostClass)
|
|
165
|
+
reactHostClass.setPrivateDeclaredFieldValue(
|
|
166
|
+
"DEV",
|
|
167
|
+
reactHostClass,
|
|
168
|
+
devFlag
|
|
169
|
+
)
|
|
170
|
+
return originalDevFlag
|
|
171
|
+
}
|
|
148
172
|
}
|
package/app/components/Main.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { lightTheme } from '@expo/styleguide-native';
|
|
1
2
|
import {
|
|
2
3
|
View,
|
|
3
4
|
WarningIcon,
|
|
@@ -205,7 +206,7 @@ export function Main({ registeredCallbacks = [], isDevice }: MainProps) {
|
|
|
205
206
|
<View roundedBottom="large" bg="default">
|
|
206
207
|
<SettingsRowButton
|
|
207
208
|
label="Go home"
|
|
208
|
-
icon={<HomeFilledIcon />}
|
|
209
|
+
icon={<HomeFilledIcon tintColor={lightTheme.icon.default} />}
|
|
209
210
|
onPress={actions.navigateToLauncher}
|
|
210
211
|
/>
|
|
211
212
|
</View>
|
|
@@ -822,7 +822,7 @@ __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.
|
|
|
822
822
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.MenuPreferencesProvider=function(e){var r=e.children,t=e.menuPreferences,n=void 0===t?a:t;return(0,o.jsx)(s.Provider,{value:n,children:r})},_e.useMenuPreferences=function(){return f(f({},t.useContext(s)),{},{actions:{setOnboardingFinishedAsync:function(e){return n.setOnboardingFinishedAsync(e)}}})};var r=e(_r(d[1])),t=i(_r(d[2])),n=i(_r(d[3])),o=_r(d[4]);function c(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(c=function(e){return e?t:r})(e)}function i(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var a={isOnboardingFinished:!1},s=t.createContext(a)}),774,[21,40,106,748,239]);
|
|
823
823
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoadInitialData=function(e){var f=e.children,i=e.loader,l=void 0===i?(0,a.jsx)(o.Splash,{}):i,c=n.useState(!0),p=(0,t.default)(c,2),s=p[0],y=p[1];if(n.useEffect((function(){(0,u.loadFontsAsync)().then((function(){y(!1)}))}),[]),s)return l;return(0,a.jsx)(r.View,{flex:"1",children:f})};var t=e(_r(d[1])),r=_r(d[2]),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[3])),o=_r(d[4]),u=_r(d[5]),a=_r(d[6]);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}}),775,[21,52,491,106,776,748,239]);
|
|
824
824
|
__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Splash=function(){return(0,t.jsx)(e.View,{flex:"1",style:{justifyContent:'center',alignItems:'center'},bg:"default",children:(0,t.jsx)(e.ExpoLogoIcon,{style:{width:85,resizeMode:'contain'},resizeMode:"contain"})})};var e=_r(d[0]),t=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=i?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[1])),_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),776,[491,106,239]);
|
|
825
|
-
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.Main=function(e){var n,j=e.registeredCallbacks,h=void 0===j?[]:j,v=e.isDevice,V=(0,o.useAppInfo)(),y=(0,a.useDevSettings)(),z=y.devSettings,S=y.actions,D=(0,t.useClipboard)(),O=(0,t.useClipboard)();var P=Boolean(O.clipboardContent),I=z.isElementInspectorAvailable,R=z.isHotLoadingAvailable,k=z.isPerfMonitorAvailable,T=z.isRemoteDebuggingAvailable,H=[I,R,k,T].filter((function(e){return!1===e})).length>0;return(0,u.jsxs)(i.View,{flex:"1",bg:"secondary",children:[(0,u.jsx)(i.View,{py:"medium",bg:"default",children:(0,u.jsxs)(i.Row,{align:"start",children:[(0,u.jsx)(i.Spacer.Horizontal,{size:"medium"}),(0,u.jsxs)(i.Row,{align:"center",shrink:"1",children:[(0,u.jsx)(i.View,{children:(0,u.jsx)(i.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(null==V?void 0:V.appIcon)&&(0,u.jsx)(i.Image,{source:{uri:null==V?void 0:V.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,u.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,u.jsxs)(i.View,{shrink:"1",children:[(0,u.jsx)(i.Row,{style:{flexWrap:'wrap'},children:(0,u.jsx)(i.Heading,{weight:"bold",numberOfLines:1,children:null==V?void 0:V.appName})}),Boolean(null==V?void 0:V.runtimeVersion)&&(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(i.Text,{size:"small",color:"secondary",children:`Runtime version: ${null==V?void 0:V.runtimeVersion}`})}),Boolean(null==V?void 0:V.sdkVersion)&&!(null!=V&&V.runtimeVersion)&&(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(i.Text,{size:"small",color:"secondary",children:`SDK version: ${null==V?void 0:V.sdkVersion}`})})]}),(0,u.jsx)(i.Spacer.Horizontal,{}),(0,u.jsx)(i.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,u.jsx)(i.Button.FadeOnPressContainer,{onPress:x.hideMenu,bg:"ghost",rounded:"full",children:(0,u.jsx)(i.View,{padding:"micro",children:(0,u.jsx)(i.XIcon,{})})})}),(0,u.jsx)(i.Spacer.Horizontal,{size:"small"})]})]})}),(0,u.jsx)(i.Divider,{}),(0,u.jsxs)(i.View,{style:{flex:1},children:[(0,u.jsxs)(l.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(null==V?void 0:V.hostUrl)&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(i.View,{bg:"default",padding:"medium",children:[(0,u.jsx)(i.Text,{color:"secondary",children:"Connected to:"}),(0,u.jsx)(i.Spacer.Vertical,{size:"small"}),(0,u.jsx)(i.Button.FadeOnPressContainer,{bg:"default",onPress:function(){null!=V&&V.hostUrl&&D.onCopyPress(V.hostUrl)},testID:"main.copyUrlButton",children:(0,u.jsxs)(i.Row,{align:"center",children:[(0,u.jsx)(i.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,u.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,u.jsxs)(i.Row,{flex:"1",justify:"between",children:[(0,u.jsx)(i.Text,{type:"mono",numberOfLines:2,size:"small",children:null==V?void 0:V.hostUrl}),(0,u.jsx)(i.ClipboardIcon,{})]}),(0,u.jsx)(i.Spacer.Horizontal,{size:"small"})]})})]}),(0,u.jsx)(i.Divider,{})]}),h.length>0&&(0,u.jsxs)(i.View,{children:[(0,u.jsx)(i.View,{mx:"large",children:(0,u.jsx)(i.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,u.jsx)(i.Spacer.Vertical,{size:"small"}),(0,u.jsx)(i.View,{mx:"small",children:h.map((function(e,n,l){var s=0===n,r=n===l.length-1;return(0,u.jsxs)(i.View,{children:[(0,u.jsx)(i.View,{bg:"default",roundedTop:s?'large':'none',roundedBottom:r?'large':'none',children:(0,u.jsx)(b,{label:e,icon:null,onPress:function(){return(0,x.fireCallbackAsync)(e)}})}),!r&&(0,u.jsx)(i.Divider,{})]},e+n)}))}),(0,u.jsx)(i.Spacer.Vertical,{size:"medium"})]}),(0,u.jsxs)(i.View,{margin:"small",children:[(0,u.jsx)(i.View,p(p({},c.isDevLauncherInstalled?{roundedTop:'large'}:{rounded:'large'}),{},{bg:"default",children:(0,u.jsx)(b,{label:"Reload",icon:(0,u.jsx)(i.RefreshIcon,{}),onPress:S.reload})})),c.isDevLauncherInstalled&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Divider,{}),(0,u.jsx)(i.View,{roundedBottom:"large",bg:"default",children:(0,u.jsx)(b,{label:"Go home",icon:(0,u.jsx)(i.HomeFilledIcon,{}),onPress:S.navigateToLauncher})})]})]}),(0,u.jsxs)(i.View,{mx:"small",children:[(0,u.jsx)(i.View,{bg:"default",roundedTop:"large",children:(0,u.jsx)(b,{disabled:!z.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,u.jsx)(i.PerformanceIcon,{}),onPress:S.togglePerformanceMonitor})}),(0,u.jsx)(i.Divider,{}),(0,u.jsx)(i.View,{bg:"default",children:(0,u.jsx)(b,{disabled:!z.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,u.jsx)(i.InspectElementIcon,{}),onPress:S.toggleElementInspector})}),(0,u.jsx)(i.Divider,{}),z.isJSInspectorAvailable?(0,u.jsx)(i.View,{bg:"default",children:(0,u.jsx)(b,{disabled:!z.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,u.jsx)(i.DebugIcon,{}),onPress:S.openJSInspector})}):(0,u.jsx)(i.View,{bg:"default",children:(0,u.jsx)(f,{disabled:null==V||!V.sdkVersion||!s.default.lt(V.sdkVersion,'49.0.0')||!z.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,u.jsx)(i.DebugIcon,{}),isEnabled:z.isDebuggingRemotely,setIsEnabled:S.toggleDebugRemoteJS,description:null==V||!V.sdkVersion||s.default.lt(V.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(n=null==V?void 0:V.engine)?n:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,u.jsx)(i.Divider,{}),(0,u.jsx)(i.View,{bg:"default",roundedBottom:"large",children:(0,u.jsx)(f,{disabled:!z.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,u.jsx)(i.RunIcon,{}),isEnabled:z.isHotLoadingEnabled,setIsEnabled:S.toggleFastRefresh})})]}),'Hermes'===(null==V?void 0:V.engine)&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Spacer.Vertical,{size:"large"}),(0,u.jsx)(i.View,{mx:"small",children:(0,u.jsxs)(i.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,u.jsxs)(i.Row,{align:"center",children:[(0,u.jsx)(i.WarningIcon,{}),(0,u.jsx)(i.Spacer.Horizontal,{size:"tiny"}),(0,u.jsx)(i.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,u.jsx)(i.Spacer.Vertical,{size:"small"}),(0,u.jsx)(i.View,{children:(0,u.jsx)(i.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!H&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Spacer.Vertical,{size:"large"}),(0,u.jsx)(i.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,u.jsx)(i.Spacer.Vertical,{size:"large"}),(0,u.jsxs)(i.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,u.jsx)(w,{title:"Version",value:(null==V?void 0:V.appVersion)||'Unknown'}),(0,u.jsx)(i.Divider,{}),Boolean(null==V?void 0:V.runtimeVersion)&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(w,{title:"Runtime version",value:(null==V?void 0:V.runtimeVersion)||'Unknown'}),(0,u.jsx)(i.Divider,{})]}),Boolean(null==V?void 0:V.sdkVersion)&&!(null!=V&&V.runtimeVersion)&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(w,{title:"SDK Version",value:(null==V?void 0:V.sdkVersion)||'Unknown'}),(0,u.jsx)(i.Divider,{})]}),(0,u.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var e=V||{},n=e.runtimeVersion,i=e.sdkVersion,l=e.appName,s=e.appVersion;O.onCopyPress({runtimeVersion:n,sdkVersion:i,appName:l,appVersion:s})},disabled:P,children:(0,u.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,u.jsx)(i.Text,{color:"link",size:"medium",children:P?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,u.jsx)(i.Spacer.Vertical,{size:"large"}),(0,u.jsx)(i.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,u.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:S.openRNDevMenu,children:(0,u.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,u.jsx)(i.Text,{children:"Open React Native dev menu"})})})}),(0,u.jsx)(i.View,{style:{height:50}}),(0,u.jsx)(i.Spacer.Vertical,{size:"large"})]}),(0,u.jsx)(r.Onboarding,{isDevice:v})]})]})};var n=e(_r(d[1])),i=_r(d[2]),l=((function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=j(n);if(i&&i.has(e))return i.get(e);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}l.default=e,i&&i.set(e,l)})(_r(d[3])),_r(d[4])),s=e(_r(d[5])),r=_r(d[6]),o=_r(d[7]),t=_r(d[8]),a=_r(d[9]),c=_r(d[10]),x=_r(d[11]),u=_r(d[12]);function j(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(j=function(e){return e?i:n})(e)}function h(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,l)}return i}function p(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{};i%2?h(Object(l),!0).forEach((function(i){(0,n.default)(e,i,l[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):h(Object(l)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(l,n))}))}return e}function b(e){var n=e.label,l=e.icon,s=e.description,r=void 0===s?'':s,o=e.onPress,t=e.disabled;return(0,u.jsxs)(i.Button.FadeOnPressContainer,{onPress:o,bg:"default",disabled:t,children:[(0,u.jsxs)(i.Row,{padding:"small",align:"center",bg:"default",style:{opacity:t?.75:1},children:[l&&(0,u.jsx)(i.View,{width:"large",height:"large",children:l}),(0,u.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,u.jsx)(i.View,{children:(0,u.jsx)(i.Text,{children:n})}),(0,u.jsx)(i.Spacer.Horizontal,{}),(0,u.jsx)(i.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(r)&&(0,u.jsxs)(i.View,{style:{transform:[{translateY:-i.scale[3]}]},children:[(0,u.jsxs)(i.Row,{px:"small",align:"center",children:[(0,u.jsx)(i.Spacer.Horizontal,{size:"large"}),(0,u.jsx)(i.View,{shrink:"1",px:"small",children:(0,u.jsx)(i.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,u.jsx)(i.View,{width:"16"})]}),(0,u.jsx)(i.Spacer.Vertical,{size:"tiny"})]})]})}function f(e){var n=e.label,s=e.description,r=void 0===s?'':s,o=e.icon,t=e.isEnabled,a=e.setIsEnabled,c=e.disabled,x=e.testID;return(0,u.jsxs)(i.View,{style:{opacity:c?.75:1},pointerEvents:c?'none':'auto',children:[(0,u.jsxs)(i.Row,{padding:"small",align:"center",children:[(0,u.jsx)(i.View,{width:"large",height:"large",children:o}),(0,u.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,u.jsx)(i.View,{children:(0,u.jsx)(i.Text,{children:n})}),(0,u.jsx)(i.Spacer.Horizontal,{}),(0,u.jsx)(i.View,{width:"16",style:{alignItems:'flex-end'},children:(0,u.jsx)(l.Switch,{testID:x,disabled:c,value:t&&!c,onValueChange:function(){return a(!t)}})})]}),Boolean(r)&&(0,u.jsxs)(i.View,{style:{transform:[{translateY:-8}]},children:[(0,u.jsxs)(i.Row,{px:"small",align:"center",children:[(0,u.jsx)(i.Spacer.Horizontal,{size:"large"}),(0,u.jsx)(i.View,{shrink:"1",px:"small",children:(0,u.jsx)(i.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,u.jsx)(i.View,{style:{width:i.scale[16]}})]}),(0,u.jsx)(i.Spacer.Vertical,{size:"tiny"})]})]})}function w(e){var n=e.title,l=e.value;return(0,u.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",justify:"between",flex:"1",children:[(0,u.jsx)(i.Text,{size:"medium",children:n}),(0,u.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,u.jsx)(i.View,{style:{flex:1,alignItems:'flex-end'},children:(0,u.jsx)(i.Text,{size:"medium",numberOfLines:2,children:l})})]})}}),777,[21,40,491,106,1,778,825,745,826,746,747,748,239]);
|
|
825
|
+
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.Main=function(e){var n,h=e.registeredCallbacks,p=void 0===h?[]:h,V=e.isDevice,y=(0,t.useAppInfo)(),z=(0,c.useDevSettings)(),S=z.devSettings,D=z.actions,O=(0,a.useClipboard)(),P=(0,a.useClipboard)();var I=Boolean(P.clipboardContent),R=S.isElementInspectorAvailable,T=S.isHotLoadingAvailable,k=S.isPerfMonitorAvailable,H=S.isRemoteDebuggingAvailable,B=[R,T,k,H].filter((function(e){return!1===e})).length>0;return(0,j.jsxs)(l.View,{flex:"1",bg:"secondary",children:[(0,j.jsx)(l.View,{py:"medium",bg:"default",children:(0,j.jsxs)(l.Row,{align:"start",children:[(0,j.jsx)(l.Spacer.Horizontal,{size:"medium"}),(0,j.jsxs)(l.Row,{align:"center",shrink:"1",children:[(0,j.jsx)(l.View,{children:(0,j.jsx)(l.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(null==y?void 0:y.appIcon)&&(0,j.jsx)(l.Image,{source:{uri:null==y?void 0:y.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsxs)(l.View,{shrink:"1",children:[(0,j.jsx)(l.Row,{style:{flexWrap:'wrap'},children:(0,j.jsx)(l.Heading,{weight:"bold",numberOfLines:1,children:null==y?void 0:y.appName})}),Boolean(null==y?void 0:y.runtimeVersion)&&(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",children:`Runtime version: ${null==y?void 0:y.runtimeVersion}`})}),Boolean(null==y?void 0:y.sdkVersion)&&!(null!=y&&y.runtimeVersion)&&(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",children:`SDK version: ${null==y?void 0:y.sdkVersion}`})})]}),(0,j.jsx)(l.Spacer.Horizontal,{}),(0,j.jsx)(l.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,j.jsx)(l.Button.FadeOnPressContainer,{onPress:x.hideMenu,bg:"ghost",rounded:"full",children:(0,j.jsx)(l.View,{padding:"micro",children:(0,j.jsx)(l.XIcon,{})})})}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"})]})]})}),(0,j.jsx)(l.Divider,{}),(0,j.jsxs)(l.View,{style:{flex:1},children:[(0,j.jsxs)(s.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(null==y?void 0:y.hostUrl)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(l.View,{bg:"default",padding:"medium",children:[(0,j.jsx)(l.Text,{color:"secondary",children:"Connected to:"}),(0,j.jsx)(l.Spacer.Vertical,{size:"small"}),(0,j.jsx)(l.Button.FadeOnPressContainer,{bg:"default",onPress:function(){null!=y&&y.hostUrl&&O.onCopyPress(y.hostUrl)},testID:"main.copyUrlButton",children:(0,j.jsxs)(l.Row,{align:"center",children:[(0,j.jsx)(l.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsxs)(l.Row,{flex:"1",justify:"between",children:[(0,j.jsx)(l.Text,{type:"mono",numberOfLines:2,size:"small",children:null==y?void 0:y.hostUrl}),(0,j.jsx)(l.ClipboardIcon,{})]}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"})]})})]}),(0,j.jsx)(l.Divider,{})]}),p.length>0&&(0,j.jsxs)(l.View,{children:[(0,j.jsx)(l.View,{mx:"large",children:(0,j.jsx)(l.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,j.jsx)(l.Spacer.Vertical,{size:"small"}),(0,j.jsx)(l.View,{mx:"small",children:p.map((function(e,n,i){var s=0===n,r=n===i.length-1;return(0,j.jsxs)(l.View,{children:[(0,j.jsx)(l.View,{bg:"default",roundedTop:s?'large':'none',roundedBottom:r?'large':'none',children:(0,j.jsx)(f,{label:e,icon:null,onPress:function(){return(0,x.fireCallbackAsync)(e)}})}),!r&&(0,j.jsx)(l.Divider,{})]},e+n)}))}),(0,j.jsx)(l.Spacer.Vertical,{size:"medium"})]}),(0,j.jsxs)(l.View,{margin:"small",children:[(0,j.jsx)(l.View,b(b({},u.isDevLauncherInstalled?{roundedTop:'large'}:{rounded:'large'}),{},{bg:"default",children:(0,j.jsx)(f,{label:"Reload",icon:(0,j.jsx)(l.RefreshIcon,{}),onPress:D.reload})})),u.isDevLauncherInstalled&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Divider,{}),(0,j.jsx)(l.View,{roundedBottom:"large",bg:"default",children:(0,j.jsx)(f,{label:"Go home",icon:(0,j.jsx)(l.HomeFilledIcon,{tintColor:i.lightTheme.icon.default}),onPress:D.navigateToLauncher})})]})]}),(0,j.jsxs)(l.View,{mx:"small",children:[(0,j.jsx)(l.View,{bg:"default",roundedTop:"large",children:(0,j.jsx)(f,{disabled:!S.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,j.jsx)(l.PerformanceIcon,{}),onPress:D.togglePerformanceMonitor})}),(0,j.jsx)(l.Divider,{}),(0,j.jsx)(l.View,{bg:"default",children:(0,j.jsx)(f,{disabled:!S.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,j.jsx)(l.InspectElementIcon,{}),onPress:D.toggleElementInspector})}),(0,j.jsx)(l.Divider,{}),S.isJSInspectorAvailable?(0,j.jsx)(l.View,{bg:"default",children:(0,j.jsx)(f,{disabled:!S.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,j.jsx)(l.DebugIcon,{}),onPress:D.openJSInspector})}):(0,j.jsx)(l.View,{bg:"default",children:(0,j.jsx)(w,{disabled:null==y||!y.sdkVersion||!r.default.lt(y.sdkVersion,'49.0.0')||!S.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,j.jsx)(l.DebugIcon,{}),isEnabled:S.isDebuggingRemotely,setIsEnabled:D.toggleDebugRemoteJS,description:null==y||!y.sdkVersion||r.default.lt(y.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(n=null==y?void 0:y.engine)?n:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,j.jsx)(l.Divider,{}),(0,j.jsx)(l.View,{bg:"default",roundedBottom:"large",children:(0,j.jsx)(w,{disabled:!S.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,j.jsx)(l.RunIcon,{}),isEnabled:S.isHotLoadingEnabled,setIsEnabled:D.toggleFastRefresh})})]}),'Hermes'===(null==y?void 0:y.engine)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsx)(l.View,{mx:"small",children:(0,j.jsxs)(l.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,j.jsxs)(l.Row,{align:"center",children:[(0,j.jsx)(l.WarningIcon,{}),(0,j.jsx)(l.Spacer.Horizontal,{size:"tiny"}),(0,j.jsx)(l.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"small"}),(0,j.jsx)(l.View,{children:(0,j.jsx)(l.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!B&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsx)(l.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsxs)(l.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,j.jsx)(v,{title:"Version",value:(null==y?void 0:y.appVersion)||'Unknown'}),(0,j.jsx)(l.Divider,{}),Boolean(null==y?void 0:y.runtimeVersion)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(v,{title:"Runtime version",value:(null==y?void 0:y.runtimeVersion)||'Unknown'}),(0,j.jsx)(l.Divider,{})]}),Boolean(null==y?void 0:y.sdkVersion)&&!(null!=y&&y.runtimeVersion)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(v,{title:"SDK Version",value:(null==y?void 0:y.sdkVersion)||'Unknown'}),(0,j.jsx)(l.Divider,{})]}),(0,j.jsx)(l.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var e=y||{},n=e.runtimeVersion,i=e.sdkVersion,l=e.appName,s=e.appVersion;P.onCopyPress({runtimeVersion:n,sdkVersion:i,appName:l,appVersion:s})},disabled:I,children:(0,j.jsx)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,j.jsx)(l.Text,{color:"link",size:"medium",children:I?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsx)(l.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,j.jsx)(l.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:D.openRNDevMenu,children:(0,j.jsx)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,j.jsx)(l.Text,{children:"Open React Native dev menu"})})})}),(0,j.jsx)(l.View,{style:{height:50}}),(0,j.jsx)(l.Spacer.Vertical,{size:"large"})]}),(0,j.jsx)(o.Onboarding,{isDevice:V})]})]})};var n=e(_r(d[1])),i=_r(d[2]),l=_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 i=h(n);if(i&&i.has(e))return i.get(e);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}l.default=e,i&&i.set(e,l)})(_r(d[4])),_r(d[5])),r=e(_r(d[6])),o=_r(d[7]),t=_r(d[8]),a=_r(d[9]),c=_r(d[10]),u=_r(d[11]),x=_r(d[12]),j=_r(d[13]);function h(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:n})(e)}function p(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,l)}return i}function b(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{};i%2?p(Object(l),!0).forEach((function(i){(0,n.default)(e,i,l[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):p(Object(l)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(l,n))}))}return e}function f(e){var n=e.label,i=e.icon,s=e.description,r=void 0===s?'':s,o=e.onPress,t=e.disabled;return(0,j.jsxs)(l.Button.FadeOnPressContainer,{onPress:o,bg:"default",disabled:t,children:[(0,j.jsxs)(l.Row,{padding:"small",align:"center",bg:"default",style:{opacity:t?.75:1},children:[i&&(0,j.jsx)(l.View,{width:"large",height:"large",children:i}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(l.View,{children:(0,j.jsx)(l.Text,{children:n})}),(0,j.jsx)(l.Spacer.Horizontal,{}),(0,j.jsx)(l.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(r)&&(0,j.jsxs)(l.View,{style:{transform:[{translateY:-l.scale[3]}]},children:[(0,j.jsxs)(l.Row,{px:"small",align:"center",children:[(0,j.jsx)(l.Spacer.Horizontal,{size:"large"}),(0,j.jsx)(l.View,{shrink:"1",px:"small",children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,j.jsx)(l.View,{width:"16"})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"tiny"})]})]})}function w(e){var n=e.label,i=e.description,r=void 0===i?'':i,o=e.icon,t=e.isEnabled,a=e.setIsEnabled,c=e.disabled,u=e.testID;return(0,j.jsxs)(l.View,{style:{opacity:c?.75:1},pointerEvents:c?'none':'auto',children:[(0,j.jsxs)(l.Row,{padding:"small",align:"center",children:[(0,j.jsx)(l.View,{width:"large",height:"large",children:o}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(l.View,{children:(0,j.jsx)(l.Text,{children:n})}),(0,j.jsx)(l.Spacer.Horizontal,{}),(0,j.jsx)(l.View,{width:"16",style:{alignItems:'flex-end'},children:(0,j.jsx)(s.Switch,{testID:u,disabled:c,value:t&&!c,onValueChange:function(){return a(!t)}})})]}),Boolean(r)&&(0,j.jsxs)(l.View,{style:{transform:[{translateY:-8}]},children:[(0,j.jsxs)(l.Row,{px:"small",align:"center",children:[(0,j.jsx)(l.Spacer.Horizontal,{size:"large"}),(0,j.jsx)(l.View,{shrink:"1",px:"small",children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,j.jsx)(l.View,{style:{width:l.scale[16]}})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"tiny"})]})]})}function v(e){var n=e.title,i=e.value;return(0,j.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",justify:"between",flex:"1",children:[(0,j.jsx)(l.Text,{size:"medium",children:n}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(l.View,{style:{flex:1,alignItems:'flex-end'},children:(0,j.jsx)(l.Text,{size:"medium",numberOfLines:2,children:i})})]})}}),777,[21,40,495,491,106,1,778,825,745,826,746,747,748,239]);
|
|
826
826
|
__d((function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),p=r(d[5]),E=r(d[6]),S=r(d[7]),f=r(d[8]),l=r(d[9]),R=r(d[10]),_=r(d[11]),I=r(d[12]),V=r(d[13]),u=r(d[14]),C=r(d[15]),P=r(d[16]),v=r(d[17]),y=r(d[18]),L=r(d[19]),q=r(d[20]),x=r(d[21]),A=r(d[22]),M=r(d[23]),N=r(d[24]),O=r(d[25]),T=r(d[26]),Y=r(d[27]),b=r(d[28]),h=r(d[29]),j=r(d[30]),k=r(d[31]),B=r(d[32]),w=r(d[33]),z=r(d[34]),D=r(d[35]),F=r(d[36]),G=r(d[37]),H=r(d[38]),J=r(d[39]),K=r(d[40]);m.exports={parse:c,valid:p,clean:E,inc:S,diff:f,major:l,minor:R,patch:_,prerelease:I,compare:V,rcompare:u,compareLoose:C,compareBuild:P,sort:v,rsort:y,gt:L,lt:q,eq:x,neq:A,gte:M,lte:N,cmp:O,coerce:T,Comparator:Y,Range:b,satisfies:h,toComparators:j,maxSatisfying:k,minSatisfying:B,minVersion:w,validRange:z,outside:D,gtr:F,ltr:G,intersects:H,simplifyRange:J,subset:K,SemVer:o,re:t.re,src:t.src,tokens:t.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers}}),778,[779,780,782,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,813,814,815,816,817,818,819,820,821,822,823,824]);
|
|
827
827
|
__d((function(g,r,i,a,m,e,d){var E=r(d[0]),I=r(d[1]),R=I.MAX_SAFE_COMPONENT_LENGTH,N=I.MAX_SAFE_BUILD_LENGTH,L=I.MAX_LENGTH,O=r(d[2]),$=(e=m.exports={}).re=[],A=e.safeRe=[],T=e.src=[],S=e.t={},D=0,C='[a-zA-Z0-9-]',P=[['\\s',1],['\\d',L],[C,N]],F=function(I){for(var R of P){var N=E(R,2),L=N[0],O=N[1];I=I.split(`${L}*`).join(`${L}{0,${O}}`).split(`${L}+`).join(`${L}{1,${O}}`)}return I},G=function(E,I,R){var N=F(I),L=D++;O(E,L,I),S[E]=L,T[L]=I,$[L]=new RegExp(I,R?'g':void 0),A[L]=new RegExp(N,R?'g':void 0)};G('NUMERICIDENTIFIER','0|[1-9]\\d*'),G('NUMERICIDENTIFIERLOOSE','\\d+'),G('NONNUMERICIDENTIFIER',`\\d*[a-zA-Z-]${C}*`),G('MAINVERSION',`(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})`),G('MAINVERSIONLOOSE',`(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})`),G('PRERELEASEIDENTIFIER',`(?:${T[S.NUMERICIDENTIFIER]}|${T[S.NONNUMERICIDENTIFIER]})`),G('PRERELEASEIDENTIFIERLOOSE',`(?:${T[S.NUMERICIDENTIFIERLOOSE]}|${T[S.NONNUMERICIDENTIFIER]})`),G('PRERELEASE',`(?:-(${T[S.PRERELEASEIDENTIFIER]}(?:\\.${T[S.PRERELEASEIDENTIFIER]})*))`),G('PRERELEASELOOSE',`(?:-?(${T[S.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[S.PRERELEASEIDENTIFIERLOOSE]})*))`),G('BUILDIDENTIFIER',`${C}+`),G('BUILD',`(?:\\+(${T[S.BUILDIDENTIFIER]}(?:\\.${T[S.BUILDIDENTIFIER]})*))`),G('FULLPLAIN',`v?${T[S.MAINVERSION]}${T[S.PRERELEASE]}?${T[S.BUILD]}?`),G('FULL',`^${T[S.FULLPLAIN]}$`),G('LOOSEPLAIN',`[v=\\s]*${T[S.MAINVERSIONLOOSE]}${T[S.PRERELEASELOOSE]}?${T[S.BUILD]}?`),G('LOOSE',`^${T[S.LOOSEPLAIN]}$`),G('GTLT','((?:<|>)?=?)'),G('XRANGEIDENTIFIERLOOSE',`${T[S.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),G('XRANGEIDENTIFIER',`${T[S.NUMERICIDENTIFIER]}|x|X|\\*`),G('XRANGEPLAIN',`[v=\\s]*(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:${T[S.PRERELEASE]})?${T[S.BUILD]}?)?)?`),G('XRANGEPLAINLOOSE',`[v=\\s]*(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:${T[S.PRERELEASELOOSE]})?${T[S.BUILD]}?)?)?`),G('XRANGE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAIN]}$`),G('XRANGELOOSE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAINLOOSE]}$`),G('COERCEPLAIN',`(^|[^\\d])(\\d{1,${R}})(?:\\.(\\d{1,${R}}))?(?:\\.(\\d{1,${R}}))?`),G('COERCE',`${T[S.COERCEPLAIN]}(?:$|[^\\d])`),G('COERCEFULL',T[S.COERCEPLAIN]+`(?:${T[S.PRERELEASE]})?`+`(?:${T[S.BUILD]})?(?:$|[^\\d])`),G('COERCERTL',T[S.COERCE],!0),G('COERCERTLFULL',T[S.COERCEFULL],!0),G('LONETILDE','(?:~>?)'),G('TILDETRIM',`(\\s*)${T[S.LONETILDE]}\\s+`,!0),e.tildeTrimReplace='$1~',G('TILDE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAIN]}$`),G('TILDELOOSE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAINLOOSE]}$`),G('LONECARET','(?:\\^)'),G('CARETTRIM',`(\\s*)${T[S.LONECARET]}\\s+`,!0),e.caretTrimReplace='$1^',G('CARET',`^${T[S.LONECARET]}${T[S.XRANGEPLAIN]}$`),G('CARETLOOSE',`^${T[S.LONECARET]}${T[S.XRANGEPLAINLOOSE]}$`),G('COMPARATORLOOSE',`^${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]})$|^$`),G('COMPARATOR',`^${T[S.GTLT]}\\s*(${T[S.FULLPLAIN]})$|^$`),G('COMPARATORTRIM',`(\\s*)${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]}|${T[S.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace='$1$2$3',G('HYPHENRANGE',`^\\s*(${T[S.XRANGEPLAIN]})\\s+-\\s+(${T[S.XRANGEPLAIN]})\\s*$`),G('HYPHENRANGELOOSE',`^\\s*(${T[S.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[S.XRANGEPLAINLOOSE]})\\s*$`),G('STAR','(<|>)?=?\\s*\\*'),G('GTE0','^\\s*>=\\s*0\\.0\\.0\\s*$'),G('GTE0PRE','^\\s*>=\\s*0\\.0\\.0-0\\s*$')}),779,[52,780,781]);
|
|
828
828
|
__d((function(g,r,i,a,m,e,d){var E=Number.MAX_SAFE_INTEGER||9007199254740991;m.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:E,RELEASE_TYPES:['major','premajor','minor','preminor','patch','prepatch','prerelease'],SEMVER_SPEC_VERSION:'2.0.0',FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),780,[]);
|
|
@@ -819,7 +819,7 @@ __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.
|
|
|
819
819
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.MenuPreferencesProvider=function(e){var r=e.children,t=e.menuPreferences,n=void 0===t?a:t;return(0,o.jsx)(s.Provider,{value:n,children:r})},_e.useMenuPreferences=function(){return f(f({},t.useContext(s)),{},{actions:{setOnboardingFinishedAsync:function(e){return n.setOnboardingFinishedAsync(e)}}})};var r=e(_r(d[1])),t=i(_r(d[2])),n=i(_r(d[3])),o=_r(d[4]);function c(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(c=function(e){return e?t:r})(e)}function i(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var a={isOnboardingFinished:!1},s=t.createContext(a)}),771,[21,40,106,745,241]);
|
|
820
820
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoadInitialData=function(e){var f=e.children,i=e.loader,l=void 0===i?(0,a.jsx)(o.Splash,{}):i,c=n.useState(!0),p=(0,t.default)(c,2),s=p[0],y=p[1];if(n.useEffect((function(){(0,u.loadFontsAsync)().then((function(){y(!1)}))}),[]),s)return l;return(0,a.jsx)(r.View,{flex:"1",children:f})};var t=e(_r(d[1])),r=_r(d[2]),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var a=o?Object.getOwnPropertyDescriptor(e,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[3])),o=_r(d[4]),u=_r(d[5]),a=_r(d[6]);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}}),772,[21,52,488,106,773,745,241]);
|
|
821
821
|
__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Splash=function(){return(0,t.jsx)(e.View,{flex:"1",style:{justifyContent:'center',alignItems:'center'},bg:"default",children:(0,t.jsx)(e.ExpoLogoIcon,{style:{width:85,resizeMode:'contain'},resizeMode:"contain"})})};var e=_r(d[0]),t=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=i?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[1])),_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),773,[488,106,241]);
|
|
822
|
-
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.Main=function(e){var n,j=e.registeredCallbacks,h=void 0===j?[]:j,v=e.isDevice,V=(0,o.useAppInfo)(),y=(0,a.useDevSettings)(),z=y.devSettings,S=y.actions,D=(0,t.useClipboard)(),O=(0,t.useClipboard)();var P=Boolean(O.clipboardContent),I=z.isElementInspectorAvailable,R=z.isHotLoadingAvailable,k=z.isPerfMonitorAvailable,T=z.isRemoteDebuggingAvailable,H=[I,R,k,T].filter((function(e){return!1===e})).length>0;return(0,x.jsxs)(i.View,{flex:"1",bg:"secondary",children:[(0,x.jsx)(i.View,{py:"medium",bg:"default",children:(0,x.jsxs)(i.Row,{align:"start",children:[(0,x.jsx)(i.Spacer.Horizontal,{size:"medium"}),(0,x.jsxs)(i.Row,{align:"center",shrink:"1",children:[(0,x.jsx)(i.View,{children:(0,x.jsx)(i.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(null==V?void 0:V.appIcon)&&(0,x.jsx)(i.Image,{source:{uri:null==V?void 0:V.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,x.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,x.jsxs)(i.View,{shrink:"1",children:[(0,x.jsx)(i.Row,{style:{flexWrap:'wrap'},children:(0,x.jsx)(i.Heading,{weight:"bold",numberOfLines:1,children:null==V?void 0:V.appName})}),Boolean(null==V?void 0:V.runtimeVersion)&&(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(i.Text,{size:"small",color:"secondary",children:`Runtime version: ${null==V?void 0:V.runtimeVersion}`})}),Boolean(null==V?void 0:V.sdkVersion)&&!(null!=V&&V.runtimeVersion)&&(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(i.Text,{size:"small",color:"secondary",children:`SDK version: ${null==V?void 0:V.sdkVersion}`})})]}),(0,x.jsx)(i.Spacer.Horizontal,{}),(0,x.jsx)(i.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,x.jsx)(i.Button.FadeOnPressContainer,{onPress:u.hideMenu,bg:"ghost",rounded:"full",children:(0,x.jsx)(i.View,{padding:"micro",children:(0,x.jsx)(i.XIcon,{})})})}),(0,x.jsx)(i.Spacer.Horizontal,{size:"small"})]})]})}),(0,x.jsx)(i.Divider,{}),(0,x.jsxs)(i.View,{style:{flex:1},children:[(0,x.jsxs)(l.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(null==V?void 0:V.hostUrl)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(i.View,{bg:"default",padding:"medium",children:[(0,x.jsx)(i.Text,{color:"secondary",children:"Connected to:"}),(0,x.jsx)(i.Spacer.Vertical,{size:"small"}),(0,x.jsx)(i.Button.FadeOnPressContainer,{bg:"default",onPress:function(){null!=V&&V.hostUrl&&D.onCopyPress(V.hostUrl)},testID:"main.copyUrlButton",children:(0,x.jsxs)(i.Row,{align:"center",children:[(0,x.jsx)(i.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,x.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,x.jsxs)(i.Row,{flex:"1",justify:"between",children:[(0,x.jsx)(i.Text,{type:"mono",numberOfLines:2,size:"small",children:null==V?void 0:V.hostUrl}),(0,x.jsx)(i.ClipboardIcon,{})]}),(0,x.jsx)(i.Spacer.Horizontal,{size:"small"})]})})]}),(0,x.jsx)(i.Divider,{})]}),h.length>0&&(0,x.jsxs)(i.View,{children:[(0,x.jsx)(i.View,{mx:"large",children:(0,x.jsx)(i.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,x.jsx)(i.Spacer.Vertical,{size:"small"}),(0,x.jsx)(i.View,{mx:"small",children:h.map((function(e,n,l){var s=0===n,r=n===l.length-1;return(0,x.jsxs)(i.View,{children:[(0,x.jsx)(i.View,{bg:"default",roundedTop:s?'large':'none',roundedBottom:r?'large':'none',children:(0,x.jsx)(b,{label:e,icon:null,onPress:function(){return(0,u.fireCallbackAsync)(e)}})}),!r&&(0,x.jsx)(i.Divider,{})]},e+n)}))}),(0,x.jsx)(i.Spacer.Vertical,{size:"medium"})]}),(0,x.jsxs)(i.View,{margin:"small",children:[(0,x.jsx)(i.View,p(p({},c.isDevLauncherInstalled?{roundedTop:'large'}:{rounded:'large'}),{},{bg:"default",children:(0,x.jsx)(b,{label:"Reload",icon:(0,x.jsx)(i.RefreshIcon,{}),onPress:S.reload})})),c.isDevLauncherInstalled&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(i.Divider,{}),(0,x.jsx)(i.View,{roundedBottom:"large",bg:"default",children:(0,x.jsx)(b,{label:"Go home",icon:(0,x.jsx)(i.HomeFilledIcon,{}),onPress:S.navigateToLauncher})})]})]}),(0,x.jsxs)(i.View,{mx:"small",children:[(0,x.jsx)(i.View,{bg:"default",roundedTop:"large",children:(0,x.jsx)(b,{disabled:!z.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,x.jsx)(i.PerformanceIcon,{}),onPress:S.togglePerformanceMonitor})}),(0,x.jsx)(i.Divider,{}),(0,x.jsx)(i.View,{bg:"default",children:(0,x.jsx)(b,{disabled:!z.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,x.jsx)(i.InspectElementIcon,{}),onPress:S.toggleElementInspector})}),(0,x.jsx)(i.Divider,{}),z.isJSInspectorAvailable?(0,x.jsx)(i.View,{bg:"default",children:(0,x.jsx)(b,{disabled:!z.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,x.jsx)(i.DebugIcon,{}),onPress:S.openJSInspector})}):(0,x.jsx)(i.View,{bg:"default",children:(0,x.jsx)(f,{disabled:null==V||!V.sdkVersion||!s.default.lt(V.sdkVersion,'49.0.0')||!z.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,x.jsx)(i.DebugIcon,{}),isEnabled:z.isDebuggingRemotely,setIsEnabled:S.toggleDebugRemoteJS,description:null==V||!V.sdkVersion||s.default.lt(V.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(n=null==V?void 0:V.engine)?n:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,x.jsx)(i.Divider,{}),(0,x.jsx)(i.View,{bg:"default",roundedBottom:"large",children:(0,x.jsx)(f,{disabled:!z.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,x.jsx)(i.RunIcon,{}),isEnabled:z.isHotLoadingEnabled,setIsEnabled:S.toggleFastRefresh})})]}),'Hermes'===(null==V?void 0:V.engine)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(i.Spacer.Vertical,{size:"large"}),(0,x.jsx)(i.View,{mx:"small",children:(0,x.jsxs)(i.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,x.jsxs)(i.Row,{align:"center",children:[(0,x.jsx)(i.WarningIcon,{}),(0,x.jsx)(i.Spacer.Horizontal,{size:"tiny"}),(0,x.jsx)(i.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,x.jsx)(i.Spacer.Vertical,{size:"small"}),(0,x.jsx)(i.View,{children:(0,x.jsx)(i.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!H&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(i.Spacer.Vertical,{size:"large"}),(0,x.jsx)(i.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,x.jsx)(i.Spacer.Vertical,{size:"large"}),(0,x.jsxs)(i.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,x.jsx)(w,{title:"Version",value:(null==V?void 0:V.appVersion)||'Unknown'}),(0,x.jsx)(i.Divider,{}),Boolean(null==V?void 0:V.runtimeVersion)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(w,{title:"Runtime version",value:(null==V?void 0:V.runtimeVersion)||'Unknown'}),(0,x.jsx)(i.Divider,{})]}),Boolean(null==V?void 0:V.sdkVersion)&&!(null!=V&&V.runtimeVersion)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(w,{title:"SDK Version",value:(null==V?void 0:V.sdkVersion)||'Unknown'}),(0,x.jsx)(i.Divider,{})]}),(0,x.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var e=V||{},n=e.runtimeVersion,i=e.sdkVersion,l=e.appName,s=e.appVersion;O.onCopyPress({runtimeVersion:n,sdkVersion:i,appName:l,appVersion:s})},disabled:P,children:(0,x.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,x.jsx)(i.Text,{color:"link",size:"medium",children:P?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,x.jsx)(i.Spacer.Vertical,{size:"large"}),(0,x.jsx)(i.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,x.jsx)(i.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:S.openRNDevMenu,children:(0,x.jsx)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,x.jsx)(i.Text,{children:"Open React Native dev menu"})})})}),!1,(0,x.jsx)(i.Spacer.Vertical,{size:"large"})]}),(0,x.jsx)(r.Onboarding,{isDevice:v})]})]})};var n=e(_r(d[1])),i=_r(d[2]),l=((function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=j(n);if(i&&i.has(e))return i.get(e);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}l.default=e,i&&i.set(e,l)})(_r(d[3])),_r(d[4])),s=e(_r(d[5])),r=_r(d[6]),o=_r(d[7]),t=_r(d[8]),a=_r(d[9]),c=_r(d[10]),u=_r(d[11]),x=_r(d[12]);function j(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(j=function(e){return e?i:n})(e)}function h(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,l)}return i}function p(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{};i%2?h(Object(l),!0).forEach((function(i){(0,n.default)(e,i,l[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):h(Object(l)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(l,n))}))}return e}function b(e){var n=e.label,l=e.icon,s=e.description,r=void 0===s?'':s,o=e.onPress,t=e.disabled;return(0,x.jsxs)(i.Button.FadeOnPressContainer,{onPress:o,bg:"default",disabled:t,children:[(0,x.jsxs)(i.Row,{padding:"small",align:"center",bg:"default",style:{opacity:t?.75:1},children:[l&&(0,x.jsx)(i.View,{width:"large",height:"large",children:l}),(0,x.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,x.jsx)(i.View,{children:(0,x.jsx)(i.Text,{children:n})}),(0,x.jsx)(i.Spacer.Horizontal,{}),(0,x.jsx)(i.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(r)&&(0,x.jsxs)(i.View,{style:{transform:[{translateY:-i.scale[3]}]},children:[(0,x.jsxs)(i.Row,{px:"small",align:"center",children:[(0,x.jsx)(i.Spacer.Horizontal,{size:"large"}),(0,x.jsx)(i.View,{shrink:"1",px:"small",children:(0,x.jsx)(i.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,x.jsx)(i.View,{width:"16"})]}),(0,x.jsx)(i.Spacer.Vertical,{size:"tiny"})]})]})}function f(e){var n=e.label,s=e.description,r=void 0===s?'':s,o=e.icon,t=e.isEnabled,a=e.setIsEnabled,c=e.disabled,u=e.testID;return(0,x.jsxs)(i.View,{style:{opacity:c?.75:1},pointerEvents:c?'none':'auto',children:[(0,x.jsxs)(i.Row,{padding:"small",align:"center",children:[(0,x.jsx)(i.View,{width:"large",height:"large",children:o}),(0,x.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,x.jsx)(i.View,{children:(0,x.jsx)(i.Text,{children:n})}),(0,x.jsx)(i.Spacer.Horizontal,{}),(0,x.jsx)(i.View,{width:"16",style:{alignItems:'flex-end'},children:(0,x.jsx)(l.Switch,{testID:u,disabled:c,value:t&&!c,onValueChange:function(){return a(!t)}})})]}),Boolean(r)&&(0,x.jsxs)(i.View,{style:{transform:[{translateY:-8}]},children:[(0,x.jsxs)(i.Row,{px:"small",align:"center",children:[(0,x.jsx)(i.Spacer.Horizontal,{size:"large"}),(0,x.jsx)(i.View,{shrink:"1",px:"small",children:(0,x.jsx)(i.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,x.jsx)(i.View,{style:{width:i.scale[16]}})]}),(0,x.jsx)(i.Spacer.Vertical,{size:"tiny"})]})]})}function w(e){var n=e.title,l=e.value;return(0,x.jsxs)(i.Row,{px:"medium",py:"small",align:"center",bg:"default",justify:"between",flex:"1",children:[(0,x.jsx)(i.Text,{size:"medium",children:n}),(0,x.jsx)(i.Spacer.Horizontal,{size:"small"}),(0,x.jsx)(i.View,{style:{flex:1,alignItems:'flex-end'},children:(0,x.jsx)(i.Text,{size:"medium",numberOfLines:2,children:l})})]})}}),774,[21,40,488,106,1,775,822,742,823,743,744,745,241]);
|
|
822
|
+
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.Main=function(e){var n,h=e.registeredCallbacks,p=void 0===h?[]:h,V=e.isDevice,y=(0,t.useAppInfo)(),z=(0,c.useDevSettings)(),S=z.devSettings,D=z.actions,O=(0,a.useClipboard)(),P=(0,a.useClipboard)();var I=Boolean(P.clipboardContent),R=S.isElementInspectorAvailable,T=S.isHotLoadingAvailable,k=S.isPerfMonitorAvailable,H=S.isRemoteDebuggingAvailable,B=[R,T,k,H].filter((function(e){return!1===e})).length>0;return(0,j.jsxs)(l.View,{flex:"1",bg:"secondary",children:[(0,j.jsx)(l.View,{py:"medium",bg:"default",children:(0,j.jsxs)(l.Row,{align:"start",children:[(0,j.jsx)(l.Spacer.Horizontal,{size:"medium"}),(0,j.jsxs)(l.Row,{align:"center",shrink:"1",children:[(0,j.jsx)(l.View,{children:(0,j.jsx)(l.View,{height:"xl",width:"xl",overflow:"hidden",bg:"secondary",rounded:"medium",children:Boolean(null==y?void 0:y.appIcon)&&(0,j.jsx)(l.Image,{source:{uri:null==y?void 0:y.appIcon},style:{flex:1,resizeMode:'contain'}})})}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsxs)(l.View,{shrink:"1",children:[(0,j.jsx)(l.Row,{style:{flexWrap:'wrap'},children:(0,j.jsx)(l.Heading,{weight:"bold",numberOfLines:1,children:null==y?void 0:y.appName})}),Boolean(null==y?void 0:y.runtimeVersion)&&(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",children:`Runtime version: ${null==y?void 0:y.runtimeVersion}`})}),Boolean(null==y?void 0:y.sdkVersion)&&!(null!=y&&y.runtimeVersion)&&(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",children:`SDK version: ${null==y?void 0:y.sdkVersion}`})})]}),(0,j.jsx)(l.Spacer.Horizontal,{}),(0,j.jsx)(l.View,{width:"large",style:{alignSelf:'flex-start'},children:(0,j.jsx)(l.Button.FadeOnPressContainer,{onPress:x.hideMenu,bg:"ghost",rounded:"full",children:(0,j.jsx)(l.View,{padding:"micro",children:(0,j.jsx)(l.XIcon,{})})})}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"})]})]})}),(0,j.jsx)(l.Divider,{}),(0,j.jsxs)(l.View,{style:{flex:1},children:[(0,j.jsxs)(s.ScrollView,{nestedScrollEnabled:!0,children:[Boolean(null==y?void 0:y.hostUrl)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(l.View,{bg:"default",padding:"medium",children:[(0,j.jsx)(l.Text,{color:"secondary",children:"Connected to:"}),(0,j.jsx)(l.Spacer.Vertical,{size:"small"}),(0,j.jsx)(l.Button.FadeOnPressContainer,{bg:"default",onPress:function(){null!=y&&y.hostUrl&&O.onCopyPress(y.hostUrl)},testID:"main.copyUrlButton",children:(0,j.jsxs)(l.Row,{align:"center",children:[(0,j.jsx)(l.StatusIndicator,{style:{width:10,height:10},status:"success"}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsxs)(l.Row,{flex:"1",justify:"between",children:[(0,j.jsx)(l.Text,{type:"mono",numberOfLines:2,size:"small",children:null==y?void 0:y.hostUrl}),(0,j.jsx)(l.ClipboardIcon,{})]}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"})]})})]}),(0,j.jsx)(l.Divider,{})]}),p.length>0&&(0,j.jsxs)(l.View,{children:[(0,j.jsx)(l.View,{mx:"large",children:(0,j.jsx)(l.Heading,{size:"small",color:"secondary",children:"Custom Menu Items"})}),(0,j.jsx)(l.Spacer.Vertical,{size:"small"}),(0,j.jsx)(l.View,{mx:"small",children:p.map((function(e,n,i){var s=0===n,r=n===i.length-1;return(0,j.jsxs)(l.View,{children:[(0,j.jsx)(l.View,{bg:"default",roundedTop:s?'large':'none',roundedBottom:r?'large':'none',children:(0,j.jsx)(f,{label:e,icon:null,onPress:function(){return(0,x.fireCallbackAsync)(e)}})}),!r&&(0,j.jsx)(l.Divider,{})]},e+n)}))}),(0,j.jsx)(l.Spacer.Vertical,{size:"medium"})]}),(0,j.jsxs)(l.View,{margin:"small",children:[(0,j.jsx)(l.View,b(b({},u.isDevLauncherInstalled?{roundedTop:'large'}:{rounded:'large'}),{},{bg:"default",children:(0,j.jsx)(f,{label:"Reload",icon:(0,j.jsx)(l.RefreshIcon,{}),onPress:D.reload})})),u.isDevLauncherInstalled&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Divider,{}),(0,j.jsx)(l.View,{roundedBottom:"large",bg:"default",children:(0,j.jsx)(f,{label:"Go home",icon:(0,j.jsx)(l.HomeFilledIcon,{tintColor:i.lightTheme.icon.default}),onPress:D.navigateToLauncher})})]})]}),(0,j.jsxs)(l.View,{mx:"small",children:[(0,j.jsx)(l.View,{bg:"default",roundedTop:"large",children:(0,j.jsx)(f,{disabled:!S.isPerfMonitorAvailable,label:"Toggle performance monitor",icon:(0,j.jsx)(l.PerformanceIcon,{}),onPress:D.togglePerformanceMonitor})}),(0,j.jsx)(l.Divider,{}),(0,j.jsx)(l.View,{bg:"default",children:(0,j.jsx)(f,{disabled:!S.isElementInspectorAvailable,label:"Toggle element inspector",icon:(0,j.jsx)(l.InspectElementIcon,{}),onPress:D.toggleElementInspector})}),(0,j.jsx)(l.Divider,{}),S.isJSInspectorAvailable?(0,j.jsx)(l.View,{bg:"default",children:(0,j.jsx)(f,{disabled:!S.isJSInspectorAvailable,label:"Open JS debugger",icon:(0,j.jsx)(l.DebugIcon,{}),onPress:D.openJSInspector})}):(0,j.jsx)(l.View,{bg:"default",children:(0,j.jsx)(w,{disabled:null==y||!y.sdkVersion||!r.default.lt(y.sdkVersion,'49.0.0')||!S.isRemoteDebuggingAvailable,testID:"remote-js-debugger",label:"Remote JS debugger",icon:(0,j.jsx)(l.DebugIcon,{}),isEnabled:S.isDebuggingRemotely,setIsEnabled:D.toggleDebugRemoteJS,description:null==y||!y.sdkVersion||r.default.lt(y.sdkVersion,'49.0.0')?`This is not compatible with ${null!=(n=null==y?void 0:y.engine)?n:'JSC'} in this SDK version, please use Hermes to debug.`:void 0})}),(0,j.jsx)(l.Divider,{}),(0,j.jsx)(l.View,{bg:"default",roundedBottom:"large",children:(0,j.jsx)(w,{disabled:!S.isHotLoadingAvailable,testID:"fast-refresh",label:"Fast refresh",icon:(0,j.jsx)(l.RunIcon,{}),isEnabled:S.isHotLoadingEnabled,setIsEnabled:D.toggleFastRefresh})})]}),'Hermes'===(null==y?void 0:y.engine)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsx)(l.View,{mx:"small",children:(0,j.jsxs)(l.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,j.jsxs)(l.Row,{align:"center",children:[(0,j.jsx)(l.WarningIcon,{}),(0,j.jsx)(l.Spacer.Horizontal,{size:"tiny"}),(0,j.jsx)(l.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"small"}),(0,j.jsx)(l.View,{children:(0,j.jsx)(l.Text,{size:"small",color:"warning",children:"Debugging not working? Try manually reloading first"})})]})})]}),!B&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsx)(l.Text,{size:"small",color:"secondary",align:"center",children:"Some settings are unavailable for this development build."})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsxs)(l.View,{mx:"small",rounded:"large",overflow:"hidden",children:[(0,j.jsx)(v,{title:"Version",value:(null==y?void 0:y.appVersion)||'Unknown'}),(0,j.jsx)(l.Divider,{}),Boolean(null==y?void 0:y.runtimeVersion)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(v,{title:"Runtime version",value:(null==y?void 0:y.runtimeVersion)||'Unknown'}),(0,j.jsx)(l.Divider,{})]}),Boolean(null==y?void 0:y.sdkVersion)&&!(null!=y&&y.runtimeVersion)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(v,{title:"SDK Version",value:(null==y?void 0:y.sdkVersion)||'Unknown'}),(0,j.jsx)(l.Divider,{})]}),(0,j.jsx)(l.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:function(){var e=y||{},n=e.runtimeVersion,i=e.sdkVersion,l=e.appName,s=e.appVersion;P.onCopyPress({runtimeVersion:n,sdkVersion:i,appName:l,appVersion:s})},disabled:I,children:(0,j.jsx)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,j.jsx)(l.Text,{color:"link",size:"medium",children:I?'Copied to clipboard!':'Tap to Copy All'})})})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"large"}),(0,j.jsx)(l.View,{mx:"small",rounded:"large",overflow:"hidden",children:(0,j.jsx)(l.Button.FadeOnPressContainer,{bg:"default",roundedTop:"none",roundedBottom:"large",onPress:D.openRNDevMenu,children:(0,j.jsx)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,j.jsx)(l.Text,{children:"Open React Native dev menu"})})})}),!1,(0,j.jsx)(l.Spacer.Vertical,{size:"large"})]}),(0,j.jsx)(o.Onboarding,{isDevice:V})]})]})};var n=e(_r(d[1])),i=_r(d[2]),l=_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 i=h(n);if(i&&i.has(e))return i.get(e);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=s?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}l.default=e,i&&i.set(e,l)})(_r(d[4])),_r(d[5])),r=e(_r(d[6])),o=_r(d[7]),t=_r(d[8]),a=_r(d[9]),c=_r(d[10]),u=_r(d[11]),x=_r(d[12]),j=_r(d[13]);function h(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(h=function(e){return e?i:n})(e)}function p(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n&&(l=l.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,l)}return i}function b(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{};i%2?p(Object(l),!0).forEach((function(i){(0,n.default)(e,i,l[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):p(Object(l)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(l,n))}))}return e}function f(e){var n=e.label,i=e.icon,s=e.description,r=void 0===s?'':s,o=e.onPress,t=e.disabled;return(0,j.jsxs)(l.Button.FadeOnPressContainer,{onPress:o,bg:"default",disabled:t,children:[(0,j.jsxs)(l.Row,{padding:"small",align:"center",bg:"default",style:{opacity:t?.75:1},children:[i&&(0,j.jsx)(l.View,{width:"large",height:"large",children:i}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(l.View,{children:(0,j.jsx)(l.Text,{children:n})}),(0,j.jsx)(l.Spacer.Horizontal,{}),(0,j.jsx)(l.View,{width:"16",style:{alignItems:'flex-end'}})]}),Boolean(r)&&(0,j.jsxs)(l.View,{style:{transform:[{translateY:-l.scale[3]}]},children:[(0,j.jsxs)(l.Row,{px:"small",align:"center",children:[(0,j.jsx)(l.Spacer.Horizontal,{size:"large"}),(0,j.jsx)(l.View,{shrink:"1",px:"small",children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,j.jsx)(l.View,{width:"16"})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"tiny"})]})]})}function w(e){var n=e.label,i=e.description,r=void 0===i?'':i,o=e.icon,t=e.isEnabled,a=e.setIsEnabled,c=e.disabled,u=e.testID;return(0,j.jsxs)(l.View,{style:{opacity:c?.75:1},pointerEvents:c?'none':'auto',children:[(0,j.jsxs)(l.Row,{padding:"small",align:"center",children:[(0,j.jsx)(l.View,{width:"large",height:"large",children:o}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(l.View,{children:(0,j.jsx)(l.Text,{children:n})}),(0,j.jsx)(l.Spacer.Horizontal,{}),(0,j.jsx)(l.View,{width:"16",style:{alignItems:'flex-end'},children:(0,j.jsx)(s.Switch,{testID:u,disabled:c,value:t&&!c,onValueChange:function(){return a(!t)}})})]}),Boolean(r)&&(0,j.jsxs)(l.View,{style:{transform:[{translateY:-8}]},children:[(0,j.jsxs)(l.Row,{px:"small",align:"center",children:[(0,j.jsx)(l.Spacer.Horizontal,{size:"large"}),(0,j.jsx)(l.View,{shrink:"1",px:"small",children:(0,j.jsx)(l.Text,{size:"small",color:"secondary",leading:"large",children:r})}),(0,j.jsx)(l.View,{style:{width:l.scale[16]}})]}),(0,j.jsx)(l.Spacer.Vertical,{size:"tiny"})]})]})}function v(e){var n=e.title,i=e.value;return(0,j.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",justify:"between",flex:"1",children:[(0,j.jsx)(l.Text,{size:"medium",children:n}),(0,j.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(l.View,{style:{flex:1,alignItems:'flex-end'},children:(0,j.jsx)(l.Text,{size:"medium",numberOfLines:2,children:i})})]})}}),774,[21,40,492,488,106,1,775,822,742,823,743,744,745,241]);
|
|
823
823
|
__d((function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]),p=r(d[5]),E=r(d[6]),S=r(d[7]),f=r(d[8]),l=r(d[9]),R=r(d[10]),_=r(d[11]),I=r(d[12]),V=r(d[13]),u=r(d[14]),C=r(d[15]),P=r(d[16]),v=r(d[17]),y=r(d[18]),L=r(d[19]),q=r(d[20]),x=r(d[21]),A=r(d[22]),M=r(d[23]),N=r(d[24]),O=r(d[25]),T=r(d[26]),Y=r(d[27]),b=r(d[28]),h=r(d[29]),j=r(d[30]),k=r(d[31]),B=r(d[32]),w=r(d[33]),z=r(d[34]),D=r(d[35]),F=r(d[36]),G=r(d[37]),H=r(d[38]),J=r(d[39]),K=r(d[40]);m.exports={parse:c,valid:p,clean:E,inc:S,diff:f,major:l,minor:R,patch:_,prerelease:I,compare:V,rcompare:u,compareLoose:C,compareBuild:P,sort:v,rsort:y,gt:L,lt:q,eq:x,neq:A,gte:M,lte:N,cmp:O,coerce:T,Comparator:Y,Range:b,satisfies:h,toComparators:j,maxSatisfying:k,minSatisfying:B,minVersion:w,validRange:z,outside:D,gtr:F,ltr:G,intersects:H,simplifyRange:J,subset:K,SemVer:o,re:t.re,src:t.src,tokens:t.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers}}),775,[776,777,779,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,810,811,812,813,814,815,816,817,818,819,820,821]);
|
|
824
824
|
__d((function(g,r,i,a,m,e,d){var E=r(d[0]),I=r(d[1]),R=I.MAX_SAFE_COMPONENT_LENGTH,N=I.MAX_SAFE_BUILD_LENGTH,L=I.MAX_LENGTH,O=r(d[2]),$=(e=m.exports={}).re=[],A=e.safeRe=[],T=e.src=[],S=e.t={},D=0,C='[a-zA-Z0-9-]',P=[['\\s',1],['\\d',L],[C,N]],F=function(I){for(var R of P){var N=E(R,2),L=N[0],O=N[1];I=I.split(`${L}*`).join(`${L}{0,${O}}`).split(`${L}+`).join(`${L}{1,${O}}`)}return I},G=function(E,I,R){var N=F(I),L=D++;O(E,L,I),S[E]=L,T[L]=I,$[L]=new RegExp(I,R?'g':void 0),A[L]=new RegExp(N,R?'g':void 0)};G('NUMERICIDENTIFIER','0|[1-9]\\d*'),G('NUMERICIDENTIFIERLOOSE','\\d+'),G('NONNUMERICIDENTIFIER',`\\d*[a-zA-Z-]${C}*`),G('MAINVERSION',`(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})\\.(${T[S.NUMERICIDENTIFIER]})`),G('MAINVERSIONLOOSE',`(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})\\.(${T[S.NUMERICIDENTIFIERLOOSE]})`),G('PRERELEASEIDENTIFIER',`(?:${T[S.NUMERICIDENTIFIER]}|${T[S.NONNUMERICIDENTIFIER]})`),G('PRERELEASEIDENTIFIERLOOSE',`(?:${T[S.NUMERICIDENTIFIERLOOSE]}|${T[S.NONNUMERICIDENTIFIER]})`),G('PRERELEASE',`(?:-(${T[S.PRERELEASEIDENTIFIER]}(?:\\.${T[S.PRERELEASEIDENTIFIER]})*))`),G('PRERELEASELOOSE',`(?:-?(${T[S.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[S.PRERELEASEIDENTIFIERLOOSE]})*))`),G('BUILDIDENTIFIER',`${C}+`),G('BUILD',`(?:\\+(${T[S.BUILDIDENTIFIER]}(?:\\.${T[S.BUILDIDENTIFIER]})*))`),G('FULLPLAIN',`v?${T[S.MAINVERSION]}${T[S.PRERELEASE]}?${T[S.BUILD]}?`),G('FULL',`^${T[S.FULLPLAIN]}$`),G('LOOSEPLAIN',`[v=\\s]*${T[S.MAINVERSIONLOOSE]}${T[S.PRERELEASELOOSE]}?${T[S.BUILD]}?`),G('LOOSE',`^${T[S.LOOSEPLAIN]}$`),G('GTLT','((?:<|>)?=?)'),G('XRANGEIDENTIFIERLOOSE',`${T[S.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),G('XRANGEIDENTIFIER',`${T[S.NUMERICIDENTIFIER]}|x|X|\\*`),G('XRANGEPLAIN',`[v=\\s]*(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:\\.(${T[S.XRANGEIDENTIFIER]})(?:${T[S.PRERELEASE]})?${T[S.BUILD]}?)?)?`),G('XRANGEPLAINLOOSE',`[v=\\s]*(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[S.XRANGEIDENTIFIERLOOSE]})(?:${T[S.PRERELEASELOOSE]})?${T[S.BUILD]}?)?)?`),G('XRANGE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAIN]}$`),G('XRANGELOOSE',`^${T[S.GTLT]}\\s*${T[S.XRANGEPLAINLOOSE]}$`),G('COERCEPLAIN',`(^|[^\\d])(\\d{1,${R}})(?:\\.(\\d{1,${R}}))?(?:\\.(\\d{1,${R}}))?`),G('COERCE',`${T[S.COERCEPLAIN]}(?:$|[^\\d])`),G('COERCEFULL',T[S.COERCEPLAIN]+`(?:${T[S.PRERELEASE]})?`+`(?:${T[S.BUILD]})?(?:$|[^\\d])`),G('COERCERTL',T[S.COERCE],!0),G('COERCERTLFULL',T[S.COERCEFULL],!0),G('LONETILDE','(?:~>?)'),G('TILDETRIM',`(\\s*)${T[S.LONETILDE]}\\s+`,!0),e.tildeTrimReplace='$1~',G('TILDE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAIN]}$`),G('TILDELOOSE',`^${T[S.LONETILDE]}${T[S.XRANGEPLAINLOOSE]}$`),G('LONECARET','(?:\\^)'),G('CARETTRIM',`(\\s*)${T[S.LONECARET]}\\s+`,!0),e.caretTrimReplace='$1^',G('CARET',`^${T[S.LONECARET]}${T[S.XRANGEPLAIN]}$`),G('CARETLOOSE',`^${T[S.LONECARET]}${T[S.XRANGEPLAINLOOSE]}$`),G('COMPARATORLOOSE',`^${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]})$|^$`),G('COMPARATOR',`^${T[S.GTLT]}\\s*(${T[S.FULLPLAIN]})$|^$`),G('COMPARATORTRIM',`(\\s*)${T[S.GTLT]}\\s*(${T[S.LOOSEPLAIN]}|${T[S.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace='$1$2$3',G('HYPHENRANGE',`^\\s*(${T[S.XRANGEPLAIN]})\\s+-\\s+(${T[S.XRANGEPLAIN]})\\s*$`),G('HYPHENRANGELOOSE',`^\\s*(${T[S.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[S.XRANGEPLAINLOOSE]})\\s*$`),G('STAR','(<|>)?=?\\s*\\*'),G('GTE0','^\\s*>=\\s*0\\.0\\.0\\s*$'),G('GTE0PRE','^\\s*>=\\s*0\\.0\\.0-0\\s*$')}),776,[52,777,778]);
|
|
825
825
|
__d((function(g,r,i,a,m,e,d){var E=Number.MAX_SAFE_INTEGER||9007199254740991;m.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:E,RELEASE_TYPES:['major','premajor','minor','preminor','patch','prepatch','prerelease'],SEMVER_SPEC_VERSION:'2.0.0',FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}),777,[]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-menu",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Expo/React Native module with the developer menu.",
|
|
5
5
|
"main": "build/DevMenu.js",
|
|
6
6
|
"types": "build/DevMenu.d.ts",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"expo": "*"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "f47e3af17a790a34b95fe10dda8383389e7d74e2"
|
|
74
74
|
}
|