expo-dev-launcher 4.0.16 → 4.0.18
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,14 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 4.0.18 — 2024-06-10
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
17
|
+
## 4.0.17 — 2024-06-06
|
|
18
|
+
|
|
19
|
+
_This version does not introduce any user-facing changes._
|
|
20
|
+
|
|
13
21
|
## 4.0.16 — 2024-05-29
|
|
14
22
|
|
|
15
23
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -3,6 +3,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
3
3
|
!(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach((function(n,t){e[n]=!0})),e}function t(n,t,a){if(n.formatValueCalls++,n.formatValueCalls>200)return`[TOO BIG formatValueCalls ${n.formatValueCalls} exceeded limit of 200]`;var c=r(n,t);if(c)return c;var f=Object.keys(t),p=e(f);if(d(t)&&(f.indexOf('message')>=0||f.indexOf('description')>=0))return o(t);if(0===f.length){if(v(t)){var g=t.name?': '+t.name:'';return n.stylize('[Function'+g+']','special')}if(s(t))return n.stylize(RegExp.prototype.toString.call(t),'regexp');if(y(t))return n.stylize(Date.prototype.toString.call(t),'date');if(d(t))return o(t)}var h,m,b='',j=!1,O=['{','}'];(h=t,Array.isArray(h)&&(j=!0,O=['[',']']),v(t))&&(b=' [Function'+(t.name?': '+t.name:'')+']');return s(t)&&(b=' '+RegExp.prototype.toString.call(t)),y(t)&&(b=' '+Date.prototype.toUTCString.call(t)),d(t)&&(b=' '+o(t)),0!==f.length||j&&0!=t.length?a<0?s(t)?n.stylize(RegExp.prototype.toString.call(t),'regexp'):n.stylize('[Object]','special'):(n.seen.push(t),m=j?i(n,t,a,p,f):f.map((function(e){return l(n,t,a,p,e,j)})),n.seen.pop(),u(m,b,O)):O[0]+b+O[1]}function r(n,e){if(p(e))return n.stylize('undefined','undefined');if('string'==typeof e){var t="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,'string')}return f(e)?n.stylize(''+e,'number'):a(e)?n.stylize(''+e,'boolean'):c(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,t,r,o){for(var i=[],u=0,a=e.length;u<a;++u)m(e,String(u))?i.push(l(n,e,t,r,String(u),!0)):i.push('');return o.forEach((function(o){o.match(/^\d+$/)||i.push(l(n,e,t,r,o,!0))})),i}function l(n,e,r,o,i,l){var u,a,f;if((f=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=f.set?n.stylize('[Getter/Setter]','special'):n.stylize('[Getter]','special'):f.set&&(a=n.stylize('[Setter]','special')),m(o,i)||(u='['+i+']'),a||(n.seen.indexOf(f.value)<0?(a=c(r)?t(n,f.value,null):t(n,f.value,r-1)).indexOf('\n')>-1&&(a=l?a.split('\n').map((function(n){return' '+n})).join('\n').slice(2):'\n'+a.split('\n').map((function(n){return' '+n})).join('\n')):a=n.stylize('[Circular]','special')),p(u)){if(l&&i.match(/^\d+$/))return a;(u=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,u.length-1),u=n.stylize(u,'name')):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,'string'))}return u+': '+a}function u(n,e,t){return n.reduce((function(n,e){return e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1}),0)>60?t[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+t[1]:t[0]+e+' '+n.join(', ')+' '+t[1]}function a(n){return'boolean'==typeof n}function c(n){return null===n}function f(n){return'number'==typeof n}function p(n){return void 0===n}function s(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function m(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,r){return t({seen:[],formatValueCalls:0,stylize:n},e,r.depth)}})(),t=0,r=1,o=2,i=3,l=[];l[t]='debug',l[r]='log',l[o]='warning',l[i]='error';function u(t){return function(){var r;r=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,(function(n){return e(n,{depth:10})})).join(', ');var u=arguments[0],a=t;'string'==typeof u&&'Warning: '===u.slice(0,9)&&a>=i&&(a=o),n.__inspectorLog&&n.__inspectorLog(l[a],r,[].slice.call(arguments),1),c.length&&(r=f('',r)),n.nativeLoggingHook(r,a)}}function a(n,e){return Array.apply(null,Array(e)).map((function(){return n}))}var c=[];function f(n,e){return c.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:u(i),info:u(r),log:u(r),warn:u(o),trace:u(t),debug:u(t),table:function(e){if(!Array.isArray(e)){var t=e;for(var o in e=[],t)if(t.hasOwnProperty(o)){var i=t[o];i["(index)"]=o,e.push(i)}}if(0!==e.length){var l=Object.keys(e[0]).sort(),u=[],c=[];l.forEach((function(n,t){c[t]=n.length;for(var r=0;r<e.length;r++){var o=(e[r][n]||'?').toString();u[r]=u[r]||[],u[r][t]=o,c[t]=Math.max(c[t],o.length)}}));for(var f=g(c.map((function(n){return a('-',n).join('')})),'-'),p=[g(l),f],s=0;s<e.length;s++)p.push(g(u[s]));n.nativeLoggingHook('\n'+p.join('\n'),r)}else n.nativeLoggingHook('',r);function g(n,e){var t=n.map((function(n,e){return n+a(' ',c[e]-n.length).join('')}));return e=e||' ',t.join(e+'|'+e)}},group:function(e){n.nativeLoggingHook(f("\u2510",e),r),c.push("\u2502")},groupEnd:function(){c.pop(),n.nativeLoggingHook(f("\u2518"),r)},groupCollapsed:function(e){n.nativeLoggingHook(f("\u2518",e),r),c.push("\u2502")},assert:function(e,t){e||n.nativeLoggingHook('Assertion failed: '+t,i)}},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}else if(!n.console){var p=function(){},s=n.print||p;n.console={debug:s,error:s,info:s,log:s,trace:s,warn:s,assert:function(n,e){n||s('Assertion failed: '+e)},clear:p,dir:p,dirxml:p,group:p,groupCollapsed:p,groupEnd:p,profile:p,profileEnd:p,table:p},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
|
|
4
4
|
!(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,o,e){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return console.warn('A function must be passed to ErrorUtils.guard, got ',n),null;var o=null!=(u=null!=r?r:n.name)?u:'<generated guard>';return function(){for(var r=arguments.length,u=new Array(r),e=0;e<r;e++)u[e]=arguments[e];return l.applyWithGuard(n,null!=t?t:this,u,null,o)}}};n.ErrorUtils=l})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
|
|
5
5
|
(function(global){try{global.$$require_external="undefined"==typeof expo?eval("require"):function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}catch(e){global.$$require_external=function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
|
|
6
|
+
'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window&&window;
|
|
6
7
|
__d((function(g,r,i,a,m,e,d){r(d[0])}),0,[1]);
|
|
7
8
|
__d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]);n.LogBox.ignoreLogs(['EventEmitter']),(0,t.enableScreens)(!1),n.AppRegistry.registerComponent('main',(function(){return o.App}))}),1,[2,465,490]);
|
|
8
9
|
__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);r(d[1]);m.exports={get registerCallableModule(){return r(d[2]).default},get AccessibilityInfo(){return r(d[3]).default},get ActivityIndicator(){return r(d[4]).default},get Button(){return r(d[5]).default},get DrawerLayoutAndroid(){return r(d[6])},get FlatList(){return r(d[7])},get Image(){return r(d[8])},get ImageBackground(){return r(d[9])},get InputAccessoryView(){return r(d[10]).default},get KeyboardAvoidingView(){return r(d[11]).default},get Modal(){return r(d[12])},get Pressable(){return r(d[13]).default},get ProgressBarAndroid(){return t('progress-bar-android-moved',"ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. See https://github.com/react-native-progress-view/progress-bar-android"),r(d[14])},get RefreshControl(){return r(d[15])},get SafeAreaView(){return r(d[16]).default},get ScrollView(){return r(d[17])},get SectionList(){return r(d[18]).default},get StatusBar(){return r(d[19])},get Switch(){return r(d[20]).default},get Text(){return r(d[21])},get TextInput(){return r(d[22])},get Touchable(){return r(d[23]).default},get TouchableHighlight(){return r(d[24])},get TouchableNativeFeedback(){return r(d[25])},get TouchableOpacity(){return r(d[26])},get TouchableWithoutFeedback(){return r(d[27])},get View(){return r(d[28])},get VirtualizedList(){return r(d[29])},get VirtualizedSectionList(){return r(d[30])},get ActionSheetIOS(){return r(d[31])},get Alert(){return r(d[32])},get Animated(){return r(d[33]).default},get Appearance(){return r(d[34])},get AppRegistry(){return r(d[35])},get AppState(){return r(d[36])},get BackHandler(){return r(d[37])},get Clipboard(){return t('clipboard-moved',"Clipboard has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-clipboard/clipboard' instead of 'react-native'. See https://github.com/react-native-clipboard/clipboard"),r(d[38])},get DeviceInfo(){return r(d[39])},get DevSettings(){return r(d[40])},get Dimensions(){return r(d[41]).default},get Easing(){return r(d[42]).default},get findNodeHandle(){return r(d[43]).findNodeHandle},get I18nManager(){return r(d[44])},get InteractionManager(){return r(d[45])},get Keyboard(){return r(d[46])},get LayoutAnimation(){return r(d[47])},get Linking(){return r(d[48])},get LogBox(){return r(d[49]).default},get NativeDialogManagerAndroid(){return r(d[50]).default},get NativeEventEmitter(){return r(d[51]).default},get Networking(){return r(d[52]).default},get PanResponder(){return r(d[53]).default},get PermissionsAndroid(){return r(d[54])},get PixelRatio(){return r(d[55]).default},get PushNotificationIOS(){return t('pushNotificationIOS-moved',"PushNotificationIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. See https://github.com/react-native-push-notification/ios"),r(d[56])},get Settings(){return r(d[57])},get Share(){return r(d[58])},get StyleSheet(){return r(d[59])},get Systrace(){return r(d[60])},get ToastAndroid(){return r(d[61])},get TurboModuleRegistry(){return r(d[62])},get UIManager(){return r(d[63])},get unstable_batchedUpdates(){return r(d[43]).unstable_batchedUpdates},get useAnimatedValue(){return r(d[64]).default},get useColorScheme(){return r(d[65]).default},get useWindowDimensions(){return r(d[66]).default},get UTFSequence(){return r(d[67]).default},get Vibration(){return r(d[68])},get YellowBox(){return r(d[69])},get DeviceEventEmitter(){return r(d[70]).default},get DynamicColorIOS(){return r(d[71]).DynamicColorIOS},get NativeAppEventEmitter(){return r(d[72])},get NativeModules(){return r(d[73])},get Platform(){return r(d[74])},get PlatformColor(){return r(d[75]).PlatformColor},get processColor(){return r(d[76]).default},get requireNativeComponent(){return r(d[77]).default},get RootTagContext(){return r(d[78]).RootTagContext},get unstable_enableLogBox(){return function(){return console.warn('LogBox is enabled by default so there is no need to call unstable_enableLogBox() anymore. This is a no op and will be removed in the next version.')}}}}),2,[3,4,5,24,256,263,378,320,339,386,387,390,391,400,257,350,402,355,375,379,403,264,408,409,413,276,277,414,237,415,416,417,203,278,420,221,424,245,428,431,432,82,291,36,397,288,361,362,435,440,205,181,180,441,443,81,446,449,450,242,19,453,51,92,456,457,458,459,460,463,25,464,216,52,58,72,69,261,243]);
|
|
@@ -453,7 +454,7 @@ __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0
|
|
|
453
454
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]),t=_r(d[1]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.__INTERNAL_VIEW_CONFIG=_e.Commands=void 0;e(_r(d[2])),e(_r(d[3])),(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},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(o,u,i):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[4]));function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}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)}var o=_r(d[5]),a=_r(d[6]).ConditionallyIgnoredEventHandlers,u=_r(d[7]).dispatchCommand,i=_e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'AndroidSwitch',bubblingEventTypes:{topChange:{phasedRegistrationNames:{captured:'onChangeCapture',bubbled:'onChange'}}},validAttributes:(function(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?r(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({disabled:!0,enabled:!0,thumbColor:{process:_r(d[8]).default},trackColorForFalse:{process:_r(d[8]).default},trackColorForTrue:{process:_r(d[8]).default},value:!0,on:!0,thumbTintColor:{process:_r(d[8]).default},trackTintColor:{process:_r(d[8]).default}},a({onChange:!0}))};_e.default=o.get('AndroidSwitch',(function(){return i})),_e.Commands={setNativeValue:function(e,t){u(e,"setNativeValue",[t])}}}),405,[22,41,109,260,107,65,104,36,69]);
|
|
454
455
|
__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0});var e={};_e.default=void 0;var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in _e&&_e[r]===t[r]||Object.defineProperty(_e,r,{enumerable:!0,get:function(){return t[r]}}))}));_e.default=t.default}),406,[407]);
|
|
455
456
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]),t=_r(d[1]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.__INTERNAL_VIEW_CONFIG=_e.Commands=void 0;e(_r(d[2])),e(_r(d[3])),(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},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var c=a?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[4]));function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}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)}var o=_r(d[5]),a=_r(d[6]).ConditionallyIgnoredEventHandlers,u=_r(d[7]).dispatchCommand,c=_e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RCTSwitch',bubblingEventTypes:{topChange:{phasedRegistrationNames:{captured:'onChangeCapture',bubbled:'onChange'}}},validAttributes:(function(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?r(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({disabled:!0,value:!0,tintColor:{process:_r(d[8]).default},onTintColor:{process:_r(d[8]).default},thumbTintColor:{process:_r(d[8]).default},thumbColor:{process:_r(d[8]).default},trackColorForFalse:{process:_r(d[8]).default},trackColorForTrue:{process:_r(d[8]).default}},a({onChange:!0}))};_e.default=o.get('RCTSwitch',(function(){return c})),_e.Commands={setValue:function(e,t){u(e,"setValue",[t])}}}),407,[22,41,109,260,107,65,104,36,69]);
|
|
456
|
-
__d((function(g,_r,_i,_a,m,_e,d){var e,t,n=_r(d[0]),l=n(_r(d[1])),r=n(_r(d[2])),o=n(_r(d[3])),u=n(_r(d[4])),a=n(_r(d[5])),i=n(_r(d[6])),c=n(_r(d[7])),s=n(_r(d[8])),f=n(_r(d[9])),p=n(_r(d[10])),b=n(_r(d[11])),y=n(_r(d[12])),v=n(_r(d[13])),h=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=j(t);if(n&&n.has(e))return n.get(e);var l={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=r?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(l,o,u):l[o]=e[o]}return l.default=e,n&&n.set(e,l),l})(_r(d[14])),x=h,O=_r(d[15]),C=["aria-busy","aria-checked","aria-disabled","aria-expanded","aria-selected","accessibilityState","id","tabIndex","selection","selectionColor","selectionHandleColor","cursorColor"],S=["onBlur","onFocus"],w=["allowFontScaling","rejectResponderTermination","underlineColorAndroid","autoComplete","textContentType","readOnly","editable","enterKeyHint","returnKeyType","inputMode","showSoftInputOnFocus","keyboardType"];function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(j=function(e){return e?n:t})(e)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(n){var l,i,w,j=n['aria-busy'],T=n['aria-checked'],F=n['aria-disabled'],P=n['aria-expanded'],k=n['aria-selected'],A=n.accessibilityState,B=n.id,R=n.tabIndex,E=n.selection,D=n.selectionColor,_=n.selectionHandleColor,H=n.cursorColor,M=(0,o.default)(n,C),L=(0,h.useRef)(null),K=null==E?null:{start:E.start,end:null!=(l=E.end)?l:E.start},V=(0,h.useState)(0),W=(0,r.default)(V,2),z=W[0],N=W[1],U=(0,h.useState)(n.value),q=(0,r.default)(U,2),G=q[0],J=q[1],Q=(0,h.useState)({selection:
|
|
457
|
+
__d((function(g,_r,_i,_a,m,_e,d){var e,t,n=_r(d[0]),l=n(_r(d[1])),r=n(_r(d[2])),o=n(_r(d[3])),u=n(_r(d[4])),a=n(_r(d[5])),i=n(_r(d[6])),c=n(_r(d[7])),s=n(_r(d[8])),f=n(_r(d[9])),p=n(_r(d[10])),b=n(_r(d[11])),y=n(_r(d[12])),v=n(_r(d[13])),h=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=j(t);if(n&&n.has(e))return n.get(e);var l={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=r?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(l,o,u):l[o]=e[o]}return l.default=e,n&&n.set(e,l),l})(_r(d[14])),x=h,O=_r(d[15]),C=["aria-busy","aria-checked","aria-disabled","aria-expanded","aria-selected","accessibilityState","id","tabIndex","selection","selectionColor","selectionHandleColor","cursorColor"],S=["onBlur","onFocus"],w=["allowFontScaling","rejectResponderTermination","underlineColorAndroid","autoComplete","textContentType","readOnly","editable","enterKeyHint","returnKeyType","inputMode","showSoftInputOnFocus","keyboardType"];function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(j=function(e){return e?n:t})(e)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(n){var l,i,w,j=n['aria-busy'],T=n['aria-checked'],F=n['aria-disabled'],P=n['aria-expanded'],k=n['aria-selected'],A=n.accessibilityState,B=n.id,R=n.tabIndex,E=n.selection,D=n.selectionColor,_=n.selectionHandleColor,H=n.cursorColor,M=(0,o.default)(n,C),L=(0,h.useRef)(null),K=null==E?null:{start:E.start,end:null!=(l=E.end)?l:E.start},V=(0,h.useState)(0),W=(0,r.default)(V,2),z=W[0],N=W[1],U=(0,h.useState)(n.value),q=(0,r.default)(U,2),G=q[0],J=q[1],Q=(0,h.useState)({selection:{start:-1,end:-1},mostRecentEventCount:z}),X=(0,r.default)(Q,2),Y=X[0],Z=X[1],$=Y.selection;w=t||void n.multiline;var ee='string'==typeof n.value?n.value:'string'==typeof n.defaultValue?n.defaultValue:'';(0,h.useLayoutEffect)((function(){var e,t,l={};(G!==n.value&&'string'==typeof n.value&&(l.text=n.value,J(n.value)),K&&$&&($.start!==K.start||$.end!==K.end)&&(l.selection=K,Z({selection:K,mostRecentEventCount:z})),0!==Object.keys(l).length)&&(null!=L.current&&w.setTextAndSelection(L.current,z,ee,null!=(e=null==K?void 0:K.start)?e:-1,null!=(t=null==K?void 0:K.end)?t:-1))}),[z,L,n.value,n.defaultValue,G,K,$,ee,w]),(0,h.useLayoutEffect)((function(){var e=L.current;if(null!=e)return b.default.registerInput(e),function(){b.default.unregisterInput(e),b.default.currentlyFocusedInput()===e&&(0,v.default)(e).blur()}}),[L]);var te,ne,le=(0,h.useCallback)((function(e){L.current=e,null!=e&&Object.assign(e,{clear:function(){null!=L.current&&w.setTextAndSelection(L.current,z,'',0,0)},isFocused:function(){return b.default.currentlyFocusedInput()===L.current},getNativeRef:function(){return L.current},setSelection:function(e,t){null!=L.current&&w.setTextAndSelection(L.current,z,null,e,t)}})}),[z,w]),re=(0,p.default)(le,n.forwardedRef),oe=null!=(i=n.multiline)&&i;ne=null!=n.submitBehavior?oe||'newline'!==n.submitBehavior?n.submitBehavior:'blurAndSubmit':oe?!0===n.blurOnSubmit?'blurAndSubmit':'newline':!1!==n.blurOnSubmit?'blurAndSubmit':'submit';var ue=!1!==n.accessible,ae=!1!==n.focusable,ie=n.editable,ce=n.hitSlop,de=n.onPress,se=n.onPressIn,fe=n.onPressOut,pe=n.rejectResponderTermination,be=x.useMemo((function(){return{hitSlop:ce,onPress:function(e){null==de||de(e),!1!==ie&&null!=L.current&&L.current.focus()},onPressIn:se,onPressOut:fe,cancelable:null}}),[ie,ce,de,se,fe,pe]),ye=n.caretHidden;f.default.isTesting&&(ye=!0);var ve,me=(0,u.default)(be)||{},he=(me.onBlur,me.onFocus,(0,o.default)(me,S));null==A&&null==j&&null==T&&null==F&&null==P&&null==k||(ve={busy:null!=j?j:null==A?void 0:A.busy,checked:null!=T?T:null==A?void 0:A.checked,disabled:null!=F?F:null==A?void 0:A.disabled,expanded:null!=P?P:null==A?void 0:A.expanded,selected:null!=k?k:null==A?void 0:A.selected});var ge,xe,Oe,Ce=(0,a.default)(n.style),Se=n.autoCapitalize||'sentences',we=null!=(ge=null==n?void 0:n['aria-labelledby'])?ge:null==n?void 0:n.accessibilityLabelledBy,je=null!=(xe=n.placeholder)?xe:'',Te=n.children,Ie=x.Children.count(Te);(0,y.default)(!(null!=n.value&&Ie),'Cannot specify both value and children.'),Ie>1&&(Te=(0,O.jsx)(c.default,{children:Te}));var Fe={selectionColor:D,selectionHandleColor:void 0===_?D:_,cursorColor:void 0===H?D:H};return te=(0,O.jsx)(e,I(I(I(I({ref:re},M),Fe),he),{},{accessibilityState:ve,accessibilityLabelledBy:we,accessible:ue,autoCapitalize:Se,submitBehavior:ne,caretHidden:ye,children:Te,disableFullscreenUI:n.disableFullscreenUI,focusable:void 0!==R?!R:ae,mostRecentEventCount:z,nativeID:null!=B?B:n.nativeID,numberOfLines:null!=(Oe=n.rows)?Oe:n.numberOfLines,onBlur:function(e){b.default.blurInput(L.current),n.onBlur&&n.onBlur(e)},onChange:function(e){var t=e.nativeEvent.text;n.onChange&&n.onChange(e),n.onChangeText&&n.onChangeText(t),null!=L.current&&(J(t),N(e.nativeEvent.eventCount))},onFocus:function(e){b.default.focusInput(L.current),n.onFocus&&n.onFocus(e)},onScroll:function(e){n.onScroll&&n.onScroll(e)},onSelectionChange:function(e){n.onSelectionChange&&n.onSelectionChange(e),null!=L.current&&Z({selection:e.nativeEvent.selection,mostRecentEventCount:z})},placeholder:je,style:Ce,text:ee,textBreakStrategy:n.textBreakStrategy})),(0,O.jsx)(s.default.Provider,{value:!0,children:te})}e=_r(d[16]).default,t=_r(d[16]).Commands;var P={enter:'default',done:'done',go:'go',next:'next',previous:'previous',search:'search',send:'send'},k={none:'default',text:'default',decimal:'decimal-pad',numeric:'number-pad',tel:'phone-pad',search:'default',email:'email-address',url:'url'},A={'address-line1':'postal-address-region','address-line2':'postal-address-locality',bday:'birthdate-full','bday-day':'birthdate-day','bday-month':'birthdate-month','bday-year':'birthdate-year','cc-csc':'cc-csc','cc-exp':'cc-exp','cc-exp-month':'cc-exp-month','cc-exp-year':'cc-exp-year','cc-number':'cc-number',country:'postal-address-country','current-password':'password',email:'email','honorific-prefix':'name-prefix','honorific-suffix':'name-suffix',name:'name','additional-name':'name-middle','family-name':'name-family','given-name':'name-given','new-password':'password-new',off:'off','one-time-code':'sms-otp','postal-code':'postal-code',sex:'gender','street-address':'street-address',tel:'tel','tel-country-code':'tel-country-code','tel-national':'tel-national',username:'username'},B=x.forwardRef((function(e,t){var n,l=e.allowFontScaling,r=void 0===l||l,u=e.rejectResponderTermination,i=void 0===u||u,c=e.underlineColorAndroid,s=void 0===c?'transparent':c,f=e.autoComplete,p=e.textContentType,b=e.readOnly,y=e.editable,v=e.enterKeyHint,h=e.returnKeyType,x=e.inputMode,C=e.showSoftInputOnFocus,S=e.keyboardType,j=(0,o.default)(e,w),T=(0,a.default)(j.style);return null!=(null==T?void 0:T.verticalAlign)&&(T.textAlignVertical=R[T.verticalAlign],delete T.verticalAlign),(0,O.jsx)(F,I(I({allowFontScaling:r,rejectResponderTermination:i,underlineColorAndroid:s,editable:void 0!==b?!b:y,returnKeyType:v?P[v]:h,keyboardType:x?k[x]:S,showSoftInputOnFocus:null==x?C:'none'!==x,autoComplete:null!=(n=A[f])?n:f,textContentType:p},j),{},{forwardedRef:t,style:T}))}));B.displayName='TextInput',B.State={currentlyFocusedInput:b.default.currentlyFocusedInput,currentlyFocusedField:b.default.currentlyFocusedField,focusTextInput:b.default.focusTextInput,blurTextInput:b.default.blurTextInput};i.default.create({multilineDefault:{paddingTop:5}});var R={auto:'auto',top:'top',bottom:'bottom',middle:'center'};m.exports=B}),408,[22,41,53,191,267,113,242,264,238,58,307,63,4,94,107,240,64]);
|
|
457
458
|
__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(_r(d[1])),o=t(_r(d[2])),i=(_r(d[3]),t(_r(d[4]))),s=t(_r(d[5])),E=t(_r(d[6])),n=t(_r(d[7])),a=t(_r(d[8]));(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=r(e);if(o&&o.has(t))return o.get(t);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var E in t)if("default"!==E&&Object.prototype.hasOwnProperty.call(t,E)){var n=s?Object.getOwnPropertyDescriptor(t,E):null;n&&(n.get||n.set)?Object.defineProperty(i,E,n):i[E]=t[E]}i.default=t,o&&o.set(t,i)})(_r(d[9])),_r(d[10]);function r(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,o=new WeakMap;return(r=function(t){return t?o:e})(t)}function l(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function u(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var h=function(t){var e=t.touches,o=t.changedTouches,i=e&&e.length>0,s=o&&o.length>0;return!i&&s?o[0]:i?e[0]:t},R='NOT_RESPONDER',c='RESPONDER_INACTIVE_PRESS_IN',_='RESPONDER_INACTIVE_PRESS_OUT',S='RESPONDER_ACTIVE_PRESS_IN',P='RESPONDER_ACTIVE_PRESS_OUT',T='RESPONDER_ACTIVE_LONG_PRESS_IN',D='RESPONDER_ACTIVE_LONG_PRESS_OUT',O='ERROR',N={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},p=u(u({},N),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),f=u(u({},N),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),b=u(u({},N),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),A='DELAY',I='RESPONDER_GRANT',L='RESPONDER_RELEASE',y='RESPONDER_TERMINATED',v='ENTER_PRESS_RECT',C='LEAVE_PRESS_RECT',G='LONG_PRESS_DETECTED',V={NOT_RESPONDER:{DELAY:O,RESPONDER_GRANT:c,RESPONDER_RELEASE:O,RESPONDER_TERMINATED:O,ENTER_PRESS_RECT:O,LEAVE_PRESS_RECT:O,LONG_PRESS_DETECTED:O},RESPONDER_INACTIVE_PRESS_IN:{DELAY:S,RESPONDER_GRANT:O,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:c,LEAVE_PRESS_RECT:_,LONG_PRESS_DETECTED:O},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:P,RESPONDER_GRANT:O,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:c,LEAVE_PRESS_RECT:_,LONG_PRESS_DETECTED:O},RESPONDER_ACTIVE_PRESS_IN:{DELAY:O,RESPONDER_GRANT:O,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:S,LEAVE_PRESS_RECT:P,LONG_PRESS_DETECTED:T},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:O,RESPONDER_GRANT:O,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:S,LEAVE_PRESS_RECT:P,LONG_PRESS_DETECTED:O},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:O,RESPONDER_GRANT:O,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:T,LEAVE_PRESS_RECT:D,LONG_PRESS_DETECTED:T},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:O,RESPONDER_GRANT:O,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:T,LEAVE_PRESS_RECT:D,LONG_PRESS_DETECTED:O},error:{DELAY:R,RESPONDER_GRANT:c,RESPONDER_RELEASE:R,RESPONDER_TERMINATED:R,ENTER_PRESS_RECT:R,LEAVE_PRESS_RECT:R,LONG_PRESS_DETECTED:R}},H={componentDidMount:function(){s.default.isTV},componentWillUnmount:function(){this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var e=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=R,this.state.touchable.responderID=e,this._receiveSignal(I,t);var o=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(o=isNaN(o)?130:o)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),o):this._handleDelay(t);var i=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;i=isNaN(i)?370:i,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),i+o)},touchableHandleResponderRelease:function(t){this.pressInLocation=null,this._receiveSignal(L,t)},touchableHandleResponderTerminate:function(t){this.pressInLocation=null,this._receiveSignal(y,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.positionOnActivate){var e=this.state.touchable.positionOnActivate,o=this.state.touchable.dimensionsOnActivate,i=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},s=i.left,E=i.top,n=i.right,a=i.bottom,r=this.touchableGetHitSlop?this.touchableGetHitSlop():null;r&&(s+=r.left||0,E+=r.top||0,n+=r.right||0,a+=r.bottom||0);var l=h(t.nativeEvent),u=l&&l.pageX,R=l&&l.pageY;if(this.pressInLocation)this._getDistanceBetweenPoints(u,R,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout();if(u>e.left-s&&R>e.top-E&&u<e.left+o.width+n&&R<e.top+o.height+a){var _=this.state.touchable.touchState;this._receiveSignal(v,t),this.state.touchable.touchState===c&&_!==c&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(C,t)}},touchableHandleFocus:function(t){this.props.onFocus&&this.props.onFocus(t)},touchableHandleBlur:function(t){this.props.onBlur&&this.props.onBlur(t)},_remeasureMetricsOnActivation:function(){var t=this.state.touchable.responderID;null!=t&&('number'==typeof t?i.default.measure(t,this._handleQueryLayout):t.measure(this._handleQueryLayout))},_handleQueryLayout:function(t,e,o,i,s,E){(t||e||o||i||s||E)&&(this.state.touchable.positionOnActivate&&a.default.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&n.default.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=a.default.getPooled(s,E),this.state.touchable.dimensionsOnActivate=n.default.getPooled(o,i))},_handleDelay:function(t){this.touchableDelayTimeout=null,this._receiveSignal(A,t)},_handleLongDelay:function(t){this.longPressDelayTimeout=null;var e=this.state.touchable.touchState;e!==S&&e!==T||this._receiveSignal(G,t)},_receiveSignal:function(t,e){var o=this.state.touchable.responderID,i=this.state.touchable.touchState,s=V[i]&&V[i][t];if(o||t!==L){if(!s)throw new Error('Unrecognized signal `'+t+'` or state `'+i+'` for Touchable responder `'+typeof this.state.touchable.responderID=='number'?this.state.touchable.responderID:"host component`");if(s===O)throw new Error('Touchable cannot transition from `'+i+'` to `'+t+'` for responder `'+typeof this.state.touchable.responderID=='number'?this.state.touchable.responderID:"<<host component>>`");i!==s&&(this._performSideEffectsForTransition(i,s,t,e),this.state.touchable.touchState=s)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(t){return t===S||t===T},_savePressInLocation:function(t){var e=h(t.nativeEvent),o=e&&e.pageX,i=e&&e.pageY,s=e&&e.locationX,E=e&&e.locationY;this.pressInLocation={pageX:o,pageY:i,locationX:s,locationY:E}},_getDistanceBetweenPoints:function(t,e,o,i){var s=t-o,E=e-i;return Math.sqrt(s*s+E*E)},_performSideEffectsForTransition:function(t,e,o,i){var s=this._isHighlight(t),n=this._isHighlight(e);(o===y||o===L)&&this._cancelLongPressDelayTimeout();var a=t===R&&e===c,r=!p[t]&&p[e];if((a||r)&&this._remeasureMetricsOnActivation(),f[t]&&o===G&&this.touchableHandleLongPress&&this.touchableHandleLongPress(i),n&&!s?this._startHighlight(i):!n&&s&&this._endHighlight(i),f[t]&&o===L){var l=!!this.props.onLongPress,u=b[t]&&(!l||!this.touchableLongPressCancelsPress());(!b[t]||u)&&this.touchableHandlePress&&(n||s||(this._startHighlight(i),this._endHighlight(i)),this.props.touchSoundDisabled||E.default.playTouchSound(),this.touchableHandlePress(i))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_startHighlight:function(t){this._savePressInLocation(t),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(t)},_endHighlight:function(t){var e=this;this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout((function(){e.touchableHandleActivePressOut(t)}),this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(t))},withoutDefaultFocusAndBlur:{}},M=(H.touchableHandleFocus,H.touchableHandleBlur,(0,e.default)(H,["touchableHandleFocus","touchableHandleBlur"]));H.withoutDefaultFocusAndBlur=M;var w={Mixin:H,renderDebugView:function(t){t.color,t.hitSlop;return null}};_e.default=w}),409,[22,191,41,265,92,58,269,410,412,107,240]);
|
|
458
459
|
__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(r(d[1])),o=t.default.twoArgumentPooler;function n(t,o){this.width=t,this.height=o}n.prototype.destructor=function(){this.width=null,this.height=null},n.getPooledFromElement=function(t){return n.getPooled(t.offsetWidth,t.offsetHeight)},t.default.addPoolingTo(n,o),m.exports=n}),410,[22,411]);
|
|
459
460
|
__d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0])(r(d[1])),o=function(n){var o=this;if(o.instancePool.length){var t=o.instancePool.pop();return o.call(t,n),t}return new o(n)},t=function(o){var t=this;(0,n.default)(o instanceof t,'Trying to release an instance into a pool of a different type.'),o.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(o)},l=o,c={addPoolingTo:function(n,o){var c=n;return c.instancePool=[],c.getPooled=o||l,c.poolSize||(c.poolSize=10),c.release=t,c},oneArgumentPooler:o,twoArgumentPooler:function(n,o){var t=this;if(t.instancePool.length){var l=t.instancePool.pop();return t.call(l,n,o),l}return new t(n,o)},threeArgumentPooler:function(n,o,t){var l=this;if(l.instancePool.length){var c=l.instancePool.pop();return l.call(c,n,o,t),c}return new l(n,o,t)},fourArgumentPooler:function(n,o,t,l){var c=this;if(c.instancePool.length){var s=c.instancePool.pop();return c.call(s,n,o,t,l),s}return new c(n,o,t,l)}};m.exports=c}),411,[22,4]);
|
package/ios/main.jsbundle
CHANGED
|
@@ -3,6 +3,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
|
|
|
3
3
|
!(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach((function(n,t){e[n]=!0})),e}function t(n,t,a){if(n.formatValueCalls++,n.formatValueCalls>200)return`[TOO BIG formatValueCalls ${n.formatValueCalls} exceeded limit of 200]`;var c=r(n,t);if(c)return c;var f=Object.keys(t),p=e(f);if(d(t)&&(f.indexOf('message')>=0||f.indexOf('description')>=0))return o(t);if(0===f.length){if(v(t)){var g=t.name?': '+t.name:'';return n.stylize('[Function'+g+']','special')}if(s(t))return n.stylize(RegExp.prototype.toString.call(t),'regexp');if(y(t))return n.stylize(Date.prototype.toString.call(t),'date');if(d(t))return o(t)}var h,m,b='',j=!1,O=['{','}'];(h=t,Array.isArray(h)&&(j=!0,O=['[',']']),v(t))&&(b=' [Function'+(t.name?': '+t.name:'')+']');return s(t)&&(b=' '+RegExp.prototype.toString.call(t)),y(t)&&(b=' '+Date.prototype.toUTCString.call(t)),d(t)&&(b=' '+o(t)),0!==f.length||j&&0!=t.length?a<0?s(t)?n.stylize(RegExp.prototype.toString.call(t),'regexp'):n.stylize('[Object]','special'):(n.seen.push(t),m=j?i(n,t,a,p,f):f.map((function(e){return l(n,t,a,p,e,j)})),n.seen.pop(),u(m,b,O)):O[0]+b+O[1]}function r(n,e){if(p(e))return n.stylize('undefined','undefined');if('string'==typeof e){var t="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,'string')}return f(e)?n.stylize(''+e,'number'):a(e)?n.stylize(''+e,'boolean'):c(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,t,r,o){for(var i=[],u=0,a=e.length;u<a;++u)m(e,String(u))?i.push(l(n,e,t,r,String(u),!0)):i.push('');return o.forEach((function(o){o.match(/^\d+$/)||i.push(l(n,e,t,r,o,!0))})),i}function l(n,e,r,o,i,l){var u,a,f;if((f=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=f.set?n.stylize('[Getter/Setter]','special'):n.stylize('[Getter]','special'):f.set&&(a=n.stylize('[Setter]','special')),m(o,i)||(u='['+i+']'),a||(n.seen.indexOf(f.value)<0?(a=c(r)?t(n,f.value,null):t(n,f.value,r-1)).indexOf('\n')>-1&&(a=l?a.split('\n').map((function(n){return' '+n})).join('\n').slice(2):'\n'+a.split('\n').map((function(n){return' '+n})).join('\n')):a=n.stylize('[Circular]','special')),p(u)){if(l&&i.match(/^\d+$/))return a;(u=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,u.length-1),u=n.stylize(u,'name')):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,'string'))}return u+': '+a}function u(n,e,t){return n.reduce((function(n,e){return e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1}),0)>60?t[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+t[1]:t[0]+e+' '+n.join(', ')+' '+t[1]}function a(n){return'boolean'==typeof n}function c(n){return null===n}function f(n){return'number'==typeof n}function p(n){return void 0===n}function s(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function m(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,r){return t({seen:[],formatValueCalls:0,stylize:n},e,r.depth)}})(),t=0,r=1,o=2,i=3,l=[];l[t]='debug',l[r]='log',l[o]='warning',l[i]='error';function u(t){return function(){var r;r=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,(function(n){return e(n,{depth:10})})).join(', ');var u=arguments[0],a=t;'string'==typeof u&&'Warning: '===u.slice(0,9)&&a>=i&&(a=o),n.__inspectorLog&&n.__inspectorLog(l[a],r,[].slice.call(arguments),1),c.length&&(r=f('',r)),n.nativeLoggingHook(r,a)}}function a(n,e){return Array.apply(null,Array(e)).map((function(){return n}))}var c=[];function f(n,e){return c.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:u(i),info:u(r),log:u(r),warn:u(o),trace:u(t),debug:u(t),table:function(e){if(!Array.isArray(e)){var t=e;for(var o in e=[],t)if(t.hasOwnProperty(o)){var i=t[o];i["(index)"]=o,e.push(i)}}if(0!==e.length){var l=Object.keys(e[0]).sort(),u=[],c=[];l.forEach((function(n,t){c[t]=n.length;for(var r=0;r<e.length;r++){var o=(e[r][n]||'?').toString();u[r]=u[r]||[],u[r][t]=o,c[t]=Math.max(c[t],o.length)}}));for(var f=g(c.map((function(n){return a('-',n).join('')})),'-'),p=[g(l),f],s=0;s<e.length;s++)p.push(g(u[s]));n.nativeLoggingHook('\n'+p.join('\n'),r)}else n.nativeLoggingHook('',r);function g(n,e){var t=n.map((function(n,e){return n+a(' ',c[e]-n.length).join('')}));return e=e||' ',t.join(e+'|'+e)}},group:function(e){n.nativeLoggingHook(f("\u2510",e),r),c.push("\u2502")},groupEnd:function(){c.pop(),n.nativeLoggingHook(f("\u2518"),r)},groupCollapsed:function(e){n.nativeLoggingHook(f("\u2518",e),r),c.push("\u2502")},assert:function(e,t){e||n.nativeLoggingHook('Assertion failed: '+t,i)}},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}else if(!n.console){var p=function(){},s=n.print||p;n.console={debug:s,error:s,info:s,log:s,trace:s,warn:s,assert:function(n,e){n||s('Assertion failed: '+e)},clear:p,dir:p,dirxml:p,group:p,groupCollapsed:p,groupEnd:p,profile:p,profileEnd:p,table:p},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
|
|
4
4
|
!(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,o,e){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return console.warn('A function must be passed to ErrorUtils.guard, got ',n),null;var o=null!=(u=null!=r?r:n.name)?u:'<generated guard>';return function(){for(var r=arguments.length,u=new Array(r),e=0;e<r;e++)u[e]=arguments[e];return l.applyWithGuard(n,null!=t?t:this,u,null,o)}}};n.ErrorUtils=l})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
|
|
5
5
|
(function(global){try{global.$$require_external="undefined"==typeof expo?eval("require"):function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}catch(e){global.$$require_external=function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
|
|
6
|
+
'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window&&window;
|
|
6
7
|
__d((function(g,r,i,a,m,e,d){r(d[0])}),0,[1]);
|
|
7
8
|
__d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]);n.LogBox.ignoreLogs(['EventEmitter']),(0,t.enableScreens)(!1),n.AppRegistry.registerComponent('main',(function(){return o.App}))}),1,[2,462,487]);
|
|
8
9
|
__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);r(d[1]);m.exports={get registerCallableModule(){return r(d[2]).default},get AccessibilityInfo(){return r(d[3]).default},get ActivityIndicator(){return r(d[4]).default},get Button(){return r(d[5]).default},get DrawerLayoutAndroid(){return r(d[6])},get FlatList(){return r(d[7])},get Image(){return r(d[8])},get ImageBackground(){return r(d[9])},get InputAccessoryView(){return r(d[10]).default},get KeyboardAvoidingView(){return r(d[11]).default},get Modal(){return r(d[12])},get Pressable(){return r(d[13]).default},get ProgressBarAndroid(){return t('progress-bar-android-moved',"ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. See https://github.com/react-native-progress-view/progress-bar-android"),r(d[14])},get RefreshControl(){return r(d[15])},get SafeAreaView(){return r(d[16]).default},get ScrollView(){return r(d[17])},get SectionList(){return r(d[18]).default},get StatusBar(){return r(d[19])},get Switch(){return r(d[20]).default},get Text(){return r(d[21])},get TextInput(){return r(d[22])},get Touchable(){return r(d[23]).default},get TouchableHighlight(){return r(d[24])},get TouchableNativeFeedback(){return r(d[25])},get TouchableOpacity(){return r(d[26])},get TouchableWithoutFeedback(){return r(d[27])},get View(){return r(d[28])},get VirtualizedList(){return r(d[29])},get VirtualizedSectionList(){return r(d[30])},get ActionSheetIOS(){return r(d[31])},get Alert(){return r(d[32])},get Animated(){return r(d[33]).default},get Appearance(){return r(d[34])},get AppRegistry(){return r(d[35])},get AppState(){return r(d[36])},get BackHandler(){return r(d[37])},get Clipboard(){return t('clipboard-moved',"Clipboard has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-clipboard/clipboard' instead of 'react-native'. See https://github.com/react-native-clipboard/clipboard"),r(d[38])},get DeviceInfo(){return r(d[39])},get DevSettings(){return r(d[40])},get Dimensions(){return r(d[41]).default},get Easing(){return r(d[42]).default},get findNodeHandle(){return r(d[43]).findNodeHandle},get I18nManager(){return r(d[44])},get InteractionManager(){return r(d[45])},get Keyboard(){return r(d[46])},get LayoutAnimation(){return r(d[47])},get Linking(){return r(d[48])},get LogBox(){return r(d[49]).default},get NativeDialogManagerAndroid(){return r(d[50]).default},get NativeEventEmitter(){return r(d[51]).default},get Networking(){return r(d[52]).default},get PanResponder(){return r(d[53]).default},get PermissionsAndroid(){return r(d[54])},get PixelRatio(){return r(d[55]).default},get PushNotificationIOS(){return t('pushNotificationIOS-moved',"PushNotificationIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. See https://github.com/react-native-push-notification/ios"),r(d[56])},get Settings(){return r(d[57])},get Share(){return r(d[58])},get StyleSheet(){return r(d[59])},get Systrace(){return r(d[60])},get ToastAndroid(){return r(d[61])},get TurboModuleRegistry(){return r(d[62])},get UIManager(){return r(d[63])},get unstable_batchedUpdates(){return r(d[43]).unstable_batchedUpdates},get useAnimatedValue(){return r(d[64]).default},get useColorScheme(){return r(d[65]).default},get useWindowDimensions(){return r(d[66]).default},get UTFSequence(){return r(d[67]).default},get Vibration(){return r(d[68])},get YellowBox(){return r(d[69])},get DeviceEventEmitter(){return r(d[70]).default},get DynamicColorIOS(){return r(d[71]).DynamicColorIOS},get NativeAppEventEmitter(){return r(d[72])},get NativeModules(){return r(d[73])},get Platform(){return r(d[74])},get PlatformColor(){return r(d[75]).PlatformColor},get processColor(){return r(d[76]).default},get requireNativeComponent(){return r(d[77]).default},get RootTagContext(){return r(d[78]).RootTagContext},get unstable_enableLogBox(){return function(){return console.warn('LogBox is enabled by default so there is no need to call unstable_enableLogBox() anymore. This is a no op and will be removed in the next version.')}}}}),2,[3,4,5,24,255,261,375,318,337,376,377,380,381,390,392,347,393,352,372,396,397,262,402,404,408,274,275,409,239,410,411,412,205,276,415,223,419,247,423,426,427,82,289,36,387,286,358,359,430,435,436,194,182,438,440,81,443,446,449,244,19,452,51,92,453,454,455,456,457,460,25,461,218,52,58,72,69,259,245]);
|
|
@@ -447,7 +448,7 @@ __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0
|
|
|
447
448
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]),t=_r(d[1]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.__INTERNAL_VIEW_CONFIG=_e.Commands=void 0;e(_r(d[2])),e(_r(d[3])),(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},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(o,u,i):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[4]));function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}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)}var o=_r(d[5]),a=_r(d[6]).ConditionallyIgnoredEventHandlers,u=_r(d[7]).dispatchCommand,i=_e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'AndroidSwitch',bubblingEventTypes:{topChange:{phasedRegistrationNames:{captured:'onChangeCapture',bubbled:'onChange'}}},validAttributes:(function(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?r(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({disabled:!0,enabled:!0,thumbColor:{process:_r(d[8]).default},trackColorForFalse:{process:_r(d[8]).default},trackColorForTrue:{process:_r(d[8]).default},value:!0,on:!0,thumbTintColor:{process:_r(d[8]).default},trackTintColor:{process:_r(d[8]).default}},a({onChange:!0}))};_e.default=o.get('AndroidSwitch',(function(){return i})),_e.Commands={setNativeValue:function(e,t){u(e,"setNativeValue",[t])}}}),399,[22,41,109,258,107,65,104,36,69]);
|
|
448
449
|
__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0});var e={};_e.default=void 0;var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in _e&&_e[r]===t[r]||Object.defineProperty(_e,r,{enumerable:!0,get:function(){return t[r]}}))}));_e.default=t.default}),400,[401]);
|
|
449
450
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]),t=_r(d[1]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.__INTERNAL_VIEW_CONFIG=_e.Commands=void 0;e(_r(d[2])),e(_r(d[3])),(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},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var c=a?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[4]));function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}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)}var o=_r(d[5]),a=_r(d[6]).ConditionallyIgnoredEventHandlers,u=_r(d[7]).dispatchCommand,c=_e.__INTERNAL_VIEW_CONFIG={uiViewClassName:'RCTSwitch',bubblingEventTypes:{topChange:{phasedRegistrationNames:{captured:'onChangeCapture',bubbled:'onChange'}}},validAttributes:(function(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?r(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({disabled:!0,value:!0,tintColor:{process:_r(d[8]).default},onTintColor:{process:_r(d[8]).default},thumbTintColor:{process:_r(d[8]).default},thumbColor:{process:_r(d[8]).default},trackColorForFalse:{process:_r(d[8]).default},trackColorForTrue:{process:_r(d[8]).default}},a({onChange:!0}))};_e.default=o.get('RCTSwitch',(function(){return c})),_e.Commands={setValue:function(e,t){u(e,"setValue",[t])}}}),401,[22,41,109,258,107,65,104,36,69]);
|
|
450
|
-
__d((function(g,_r,_i,_a,m,_e,d){var e,n,t,r,l=_r(d[0]),a=l(_r(d[1])),o=l(_r(d[2])),u=l(_r(d[3])),i=l(_r(d[4])),c=l(_r(d[5])),s=l(_r(d[6])),f=(l(_r(d[7])),l(_r(d[8]))),p=l(_r(d[9])),y=l(_r(d[10])),b=l(_r(d[11])),v=(l(_r(d[12])),l(_r(d[13]))),C=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w(n);if(t&&t.has(e))return t.get(e);var r={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=l?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r})(_r(d[14])),h=C,S=_r(d[15]),x=["aria-busy","aria-checked","aria-disabled","aria-expanded","aria-selected","accessibilityState","id","tabIndex","selection","selectionColor","selectionHandleColor","cursorColor"],O=["onBlur","onFocus"],T=["allowFontScaling","rejectResponderTermination","underlineColorAndroid","autoComplete","textContentType","readOnly","editable","enterKeyHint","returnKeyType","inputMode","showSoftInputOnFocus","keyboardType"];function w(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(w=function(e){return e?t:n})(e)}function j(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?j(Object(t),!0).forEach((function(n){(0,a.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):j(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}e=_r(d[16]).default,n=_r(d[16]).Commands,t=_r(d[17]).default,r=_r(d[17]).Commands;var I=function(){return!0};function F(l){var a,T,w,j=l['aria-busy'],F=l['aria-checked'],A=l['aria-disabled'],E=l['aria-expanded'],k=l['aria-selected'],R=l.accessibilityState,D=l.id,N=l.tabIndex,M=l.selection,B=
|
|
451
|
+
__d((function(g,_r,_i,_a,m,_e,d){var e,n,t,r,l=_r(d[0]),a=l(_r(d[1])),o=l(_r(d[2])),u=l(_r(d[3])),i=l(_r(d[4])),c=l(_r(d[5])),s=l(_r(d[6])),f=(l(_r(d[7])),l(_r(d[8]))),p=l(_r(d[9])),y=l(_r(d[10])),b=l(_r(d[11])),v=(l(_r(d[12])),l(_r(d[13]))),C=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=w(n);if(t&&t.has(e))return t.get(e);var r={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=l?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r})(_r(d[14])),h=C,S=_r(d[15]),x=["aria-busy","aria-checked","aria-disabled","aria-expanded","aria-selected","accessibilityState","id","tabIndex","selection","selectionColor","selectionHandleColor","cursorColor"],O=["onBlur","onFocus"],T=["allowFontScaling","rejectResponderTermination","underlineColorAndroid","autoComplete","textContentType","readOnly","editable","enterKeyHint","returnKeyType","inputMode","showSoftInputOnFocus","keyboardType"];function w(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(w=function(e){return e?t:n})(e)}function j(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?j(Object(t),!0).forEach((function(n){(0,a.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):j(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}e=_r(d[16]).default,n=_r(d[16]).Commands,t=_r(d[17]).default,r=_r(d[17]).Commands;var I=function(){return!0};function F(l){var a,T,w,j=l['aria-busy'],F=l['aria-checked'],A=l['aria-disabled'],E=l['aria-expanded'],k=l['aria-selected'],R=l.accessibilityState,D=l.id,N=l.tabIndex,M=l.selection,B=l.selectionColor,K=(l.selectionHandleColor,l.cursorColor,(0,u.default)(l,x)),H=(0,C.useRef)(null),z=null==M?null:{start:M.start,end:null!=(a=M.end)?a:M.start},L=(0,C.useState)(0),V=(0,o.default)(L,2),W=V[0],Y=V[1],G=(0,C.useState)(l.value),U=(0,o.default)(G,2),q=U[0],J=U[1],Q=(0,C.useState)({selection:{start:-1,end:-1},mostRecentEventCount:W}),X=(0,o.default)(Q,2),Z=X[0],$=X[1],ee=Z.selection;w=!0===l.multiline?r:n;var ne='string'==typeof l.value?l.value:'string'==typeof l.defaultValue?l.defaultValue:'';(0,C.useLayoutEffect)((function(){var e,n,t={};(q!==l.value&&'string'==typeof l.value&&(t.text=l.value,J(l.value)),z&&ee&&(ee.start!==z.start||ee.end!==z.end)&&(t.selection=z,$({selection:z,mostRecentEventCount:W})),0!==Object.keys(t).length)&&(null!=H.current&&w.setTextAndSelection(H.current,W,ne,null!=(e=null==z?void 0:z.start)?e:-1,null!=(n=null==z?void 0:z.end)?n:-1))}),[W,H,l.value,l.defaultValue,q,z,ee,ne,w]),(0,C.useLayoutEffect)((function(){var e=H.current;if(null!=e)return b.default.registerInput(e),function(){b.default.unregisterInput(e),b.default.currentlyFocusedInput()===e&&(0,v.default)(e).blur()}}),[H]);var te,re,le=(0,C.useCallback)((function(e){H.current=e,null!=e&&Object.assign(e,{clear:function(){null!=H.current&&w.setTextAndSelection(H.current,W,'',0,0)},isFocused:function(){return b.default.currentlyFocusedInput()===H.current},getNativeRef:function(){return H.current},setSelection:function(e,n){null!=H.current&&w.setTextAndSelection(H.current,W,null,e,n)}})}),[W,w]),ae=(0,y.default)(le,l.forwardedRef),oe=null!=(T=l.multiline)&&T;re=null!=l.submitBehavior?oe||'newline'!==l.submitBehavior?l.submitBehavior:'blurAndSubmit':oe?!0===l.blurOnSubmit?'blurAndSubmit':'newline':!1!==l.blurOnSubmit?'blurAndSubmit':'submit';var ue=!1!==l.accessible,ie=!1!==l.focusable,ce=l.editable,de=l.hitSlop,se=l.onPress,fe=l.onPressIn,pe=l.onPressOut,ye=l.rejectResponderTermination,be=h.useMemo((function(){return{hitSlop:de,onPress:function(e){null==se||se(e),!1!==ce&&null!=H.current&&H.current.focus()},onPressIn:fe,onPressOut:pe,cancelable:!ye}}),[ce,de,se,fe,pe,ye]),me=l.caretHidden;p.default.isTesting&&(me=!0);var ve,Ce=(0,i.default)(be)||{},ge=(Ce.onBlur,Ce.onFocus,(0,u.default)(Ce,O));null==R&&null==j&&null==F&&null==A&&null==E&&null==k||(ve={busy:null!=j?j:null==R?void 0:R.busy,checked:null!=F?F:null==R?void 0:R.checked,disabled:null!=A?A:null==R?void 0:R.disabled,expanded:null!=E?E:null==R?void 0:R.expanded,selected:null!=k?k:null==R?void 0:R.selected});var he=(0,c.default)(l.style),Se=!0===l.multiline?t:e,xe=!0===l.multiline&&(null==he||null==he.padding&&null==he.paddingVertical&&null==he.paddingTop),Oe=(l.unstable_onChangeSync||l.unstable_onChangeTextSync)&&!(l.onChange||l.onChangeText);return te=(0,S.jsx)(Se,P(P(P({ref:ae},K),ge),{},{accessibilityState:ve,accessible:ue,submitBehavior:re,caretHidden:me,dataDetectorTypes:l.dataDetectorTypes,focusable:void 0!==N?!N:ie,mostRecentEventCount:W,nativeID:null!=D?D:l.nativeID,onBlur:function(e){b.default.blurInput(H.current),l.onBlur&&l.onBlur(e)},onKeyPressSync:l.unstable_onKeyPressSync,onChange:function(e){var n=e.nativeEvent.text;l.onChange&&l.onChange(e),l.onChangeText&&l.onChangeText(n),null!=H.current&&(J(n),Y(e.nativeEvent.eventCount))},onChangeSync:!0===Oe?function(e){var n=e.nativeEvent.text;l.unstable_onChangeSync&&l.unstable_onChangeSync(e),l.unstable_onChangeTextSync&&l.unstable_onChangeTextSync(n),null!=H.current&&(J(n),Y(e.nativeEvent.eventCount))}:null,onContentSizeChange:l.onContentSizeChange,onFocus:function(e){b.default.focusInput(H.current),l.onFocus&&l.onFocus(e)},onScroll:function(e){l.onScroll&&l.onScroll(e)},onSelectionChange:function(e){l.onSelectionChange&&l.onSelectionChange(e),null!=H.current&&$({selection:e.nativeEvent.selection,mostRecentEventCount:W})},onSelectionChangeShouldSetResponder:I,selection:z,selectionColor:B,style:s.default.compose(xe?_.multilineDefault:null,he),text:ne})),(0,S.jsx)(f.default.Provider,{value:!0,children:te})}var A={enter:'default',done:'done',go:'go',next:'next',previous:'previous',search:'search',send:'send'},E={none:'default',text:'default',decimal:'decimal-pad',numeric:'number-pad',tel:'phone-pad',search:'web-search',email:'email-address',url:'url'},k={'address-line1':'streetAddressLine1','address-line2':'streetAddressLine2',bday:'birthdate','bday-day':'birthdateDay','bday-month':'birthdateMonth','bday-year':'birthdateYear','cc-csc':'creditCardSecurityCode','cc-exp-month':'creditCardExpirationMonth','cc-exp-year':'creditCardExpirationYear','cc-exp':'creditCardExpiration','cc-given-name':'creditCardGivenName','cc-additional-name':'creditCardMiddleName','cc-family-name':'creditCardFamilyName','cc-name':'creditCardName','cc-number':'creditCardNumber','cc-type':'creditCardType','current-password':'password',country:'countryName',email:'emailAddress',name:'name','additional-name':'middleName','family-name':'familyName','given-name':'givenName',nickname:'nickname','honorific-prefix':'namePrefix','honorific-suffix':'nameSuffix','new-password':'newPassword',off:'none','one-time-code':'oneTimeCode',organization:'organizationName','organization-title':'jobTitle','postal-code':'postalCode','street-address':'fullStreetAddress',tel:'telephoneNumber',url:'URL',username:'username'},R=h.forwardRef((function(e,n){var t=e.allowFontScaling,r=void 0===t||t,l=e.rejectResponderTermination,a=void 0===l||l,o=e.underlineColorAndroid,i=void 0===o?'transparent':o,s=e.autoComplete,f=e.textContentType,p=e.readOnly,y=e.editable,b=e.enterKeyHint,v=e.returnKeyType,C=e.inputMode,h=e.showSoftInputOnFocus,x=e.keyboardType,O=(0,u.default)(e,T),w=(0,c.default)(O.style);return null!=(null==w?void 0:w.verticalAlign)&&(w.textAlignVertical=D[w.verticalAlign],delete w.verticalAlign),(0,S.jsx)(F,P(P({allowFontScaling:r,rejectResponderTermination:a,underlineColorAndroid:i,editable:void 0!==p?!p:y,returnKeyType:b?A[b]:v,keyboardType:C?E[C]:x,showSoftInputOnFocus:null==C?h:'none'!==C,autoComplete:void 0,textContentType:null!=f?f:s&&s in k?k[s]:f},O),{},{forwardedRef:n,style:w}))}));R.displayName='TextInput',R.State={currentlyFocusedInput:b.default.currentlyFocusedInput,currentlyFocusedField:b.default.currentlyFocusedField,focusTextInput:b.default.focusTextInput,blurTextInput:b.default.blurTextInput};var _=s.default.create({multilineDefault:{paddingTop:5}}),D={auto:'auto',top:'top',bottom:'bottom',middle:'center'};m.exports=R}),402,[22,41,53,192,265,113,244,262,240,58,305,63,4,94,107,242,110,403]);
|
|
451
452
|
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.__INTERNAL_VIEW_CONFIG=_e.Commands=void 0;var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.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 a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=e(_r(d[3])),o=e(_r(d[4]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach((function(r){(0,t.default)(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}_e.Commands=(0,n.default)({supportedCommands:['focus','blur','setTextAndSelection']});var c=_e.__INTERNAL_VIEW_CONFIG=a(a({uiViewClassName:'RCTMultilineTextInputView'},o.default),{},{validAttributes:a(a({},o.default.validAttributes),{},{dataDetectorTypes:!0})}),f=r.get('RCTMultilineTextInputView',(function(){return c}));_e.default=f}),403,[22,41,65,109,111]);
|
|
452
453
|
__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(_r(d[1])),o=t(_r(d[2])),i=(_r(d[3]),t(_r(d[4]))),s=t(_r(d[5])),E=(t(_r(d[6])),t(_r(d[7]))),n=t(_r(d[8]));(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=a(e);if(o&&o.has(t))return o.get(t);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var E in t)if("default"!==E&&Object.prototype.hasOwnProperty.call(t,E)){var n=s?Object.getOwnPropertyDescriptor(t,E):null;n&&(n.get||n.set)?Object.defineProperty(i,E,n):i[E]=t[E]}i.default=t,o&&o.set(t,i)})(_r(d[9])),_r(d[10]);function a(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,o=new WeakMap;return(a=function(t){return t?o:e})(t)}function r(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u=function(t){var e=t.touches,o=t.changedTouches,i=e&&e.length>0,s=o&&o.length>0;return!i&&s?o[0]:i?e[0]:t},h='NOT_RESPONDER',R='RESPONDER_INACTIVE_PRESS_IN',c='RESPONDER_INACTIVE_PRESS_OUT',_='RESPONDER_ACTIVE_PRESS_IN',S='RESPONDER_ACTIVE_PRESS_OUT',P='RESPONDER_ACTIVE_LONG_PRESS_IN',T='RESPONDER_ACTIVE_LONG_PRESS_OUT',D='ERROR',O={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},N=l(l({},O),{},{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),p=l(l({},O),{},{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),f=l(l({},O),{},{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),b='DELAY',A='RESPONDER_GRANT',I='RESPONDER_RELEASE',L='RESPONDER_TERMINATED',y='ENTER_PRESS_RECT',v='LEAVE_PRESS_RECT',C='LONG_PRESS_DETECTED',G={NOT_RESPONDER:{DELAY:D,RESPONDER_GRANT:R,RESPONDER_RELEASE:D,RESPONDER_TERMINATED:D,ENTER_PRESS_RECT:D,LEAVE_PRESS_RECT:D,LONG_PRESS_DETECTED:D},RESPONDER_INACTIVE_PRESS_IN:{DELAY:_,RESPONDER_GRANT:D,RESPONDER_RELEASE:h,RESPONDER_TERMINATED:h,ENTER_PRESS_RECT:R,LEAVE_PRESS_RECT:c,LONG_PRESS_DETECTED:D},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:S,RESPONDER_GRANT:D,RESPONDER_RELEASE:h,RESPONDER_TERMINATED:h,ENTER_PRESS_RECT:R,LEAVE_PRESS_RECT:c,LONG_PRESS_DETECTED:D},RESPONDER_ACTIVE_PRESS_IN:{DELAY:D,RESPONDER_GRANT:D,RESPONDER_RELEASE:h,RESPONDER_TERMINATED:h,ENTER_PRESS_RECT:_,LEAVE_PRESS_RECT:S,LONG_PRESS_DETECTED:P},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:D,RESPONDER_GRANT:D,RESPONDER_RELEASE:h,RESPONDER_TERMINATED:h,ENTER_PRESS_RECT:_,LEAVE_PRESS_RECT:S,LONG_PRESS_DETECTED:D},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:D,RESPONDER_GRANT:D,RESPONDER_RELEASE:h,RESPONDER_TERMINATED:h,ENTER_PRESS_RECT:P,LEAVE_PRESS_RECT:T,LONG_PRESS_DETECTED:P},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:D,RESPONDER_GRANT:D,RESPONDER_RELEASE:h,RESPONDER_TERMINATED:h,ENTER_PRESS_RECT:P,LEAVE_PRESS_RECT:T,LONG_PRESS_DETECTED:D},error:{DELAY:h,RESPONDER_GRANT:R,RESPONDER_RELEASE:h,RESPONDER_TERMINATED:h,ENTER_PRESS_RECT:h,LEAVE_PRESS_RECT:h,LONG_PRESS_DETECTED:h}},V={componentDidMount:function(){s.default.isTV},componentWillUnmount:function(){this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var e=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=h,this.state.touchable.responderID=e,this._receiveSignal(A,t);var o=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(o=isNaN(o)?130:o)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),o):this._handleDelay(t);var i=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;i=isNaN(i)?370:i,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),i+o)},touchableHandleResponderRelease:function(t){this.pressInLocation=null,this._receiveSignal(I,t)},touchableHandleResponderTerminate:function(t){this.pressInLocation=null,this._receiveSignal(L,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.positionOnActivate){var e=this.state.touchable.positionOnActivate,o=this.state.touchable.dimensionsOnActivate,i=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},s=i.left,E=i.top,n=i.right,a=i.bottom,r=this.touchableGetHitSlop?this.touchableGetHitSlop():null;r&&(s+=r.left||0,E+=r.top||0,n+=r.right||0,a+=r.bottom||0);var l=u(t.nativeEvent),h=l&&l.pageX,c=l&&l.pageY;if(this.pressInLocation)this._getDistanceBetweenPoints(h,c,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout();if(h>e.left-s&&c>e.top-E&&h<e.left+o.width+n&&c<e.top+o.height+a){var _=this.state.touchable.touchState;this._receiveSignal(y,t),this.state.touchable.touchState===R&&_!==R&&this._cancelLongPressDelayTimeout()}else this._cancelLongPressDelayTimeout(),this._receiveSignal(v,t)}},touchableHandleFocus:function(t){this.props.onFocus&&this.props.onFocus(t)},touchableHandleBlur:function(t){this.props.onBlur&&this.props.onBlur(t)},_remeasureMetricsOnActivation:function(){var t=this.state.touchable.responderID;null!=t&&('number'==typeof t?i.default.measure(t,this._handleQueryLayout):t.measure(this._handleQueryLayout))},_handleQueryLayout:function(t,e,o,i,s,a){(t||e||o||i||s||a)&&(this.state.touchable.positionOnActivate&&n.default.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&E.default.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=n.default.getPooled(s,a),this.state.touchable.dimensionsOnActivate=E.default.getPooled(o,i))},_handleDelay:function(t){this.touchableDelayTimeout=null,this._receiveSignal(b,t)},_handleLongDelay:function(t){this.longPressDelayTimeout=null;var e=this.state.touchable.touchState;e!==_&&e!==P||this._receiveSignal(C,t)},_receiveSignal:function(t,e){var o=this.state.touchable.responderID,i=this.state.touchable.touchState,s=G[i]&&G[i][t];if(o||t!==I){if(!s)throw new Error('Unrecognized signal `'+t+'` or state `'+i+'` for Touchable responder `'+typeof this.state.touchable.responderID=='number'?this.state.touchable.responderID:"host component`");if(s===D)throw new Error('Touchable cannot transition from `'+i+'` to `'+t+'` for responder `'+typeof this.state.touchable.responderID=='number'?this.state.touchable.responderID:"<<host component>>`");i!==s&&(this._performSideEffectsForTransition(i,s,t,e),this.state.touchable.touchState=s)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(t){return t===_||t===P},_savePressInLocation:function(t){var e=u(t.nativeEvent),o=e&&e.pageX,i=e&&e.pageY,s=e&&e.locationX,E=e&&e.locationY;this.pressInLocation={pageX:o,pageY:i,locationX:s,locationY:E}},_getDistanceBetweenPoints:function(t,e,o,i){var s=t-o,E=e-i;return Math.sqrt(s*s+E*E)},_performSideEffectsForTransition:function(t,e,o,i){var s=this._isHighlight(t),E=this._isHighlight(e);(o===L||o===I)&&this._cancelLongPressDelayTimeout();var n=t===h&&e===R,a=!N[t]&&N[e];if((n||a)&&this._remeasureMetricsOnActivation(),p[t]&&o===C&&this.touchableHandleLongPress&&this.touchableHandleLongPress(i),E&&!s?this._startHighlight(i):!E&&s&&this._endHighlight(i),p[t]&&o===I){var r=!!this.props.onLongPress,l=f[t]&&(!r||!this.touchableLongPressCancelsPress());(!f[t]||l)&&this.touchableHandlePress&&(E||s||(this._startHighlight(i),this._endHighlight(i)),this.touchableHandlePress(i))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_startHighlight:function(t){this._savePressInLocation(t),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(t)},_endHighlight:function(t){var e=this;this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout((function(){e.touchableHandleActivePressOut(t)}),this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(t))},withoutDefaultFocusAndBlur:{}},H=(V.touchableHandleFocus,V.touchableHandleBlur,(0,e.default)(V,["touchableHandleFocus","touchableHandleBlur"]));V.withoutDefaultFocusAndBlur=H;var M={Mixin:V,renderDebugView:function(t){t.color,t.hitSlop;return null}};_e.default=M}),404,[22,192,41,263,92,58,267,405,407,107,242]);
|
|
453
454
|
__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(r(d[1])),o=t.default.twoArgumentPooler;function n(t,o){this.width=t,this.height=o}n.prototype.destructor=function(){this.width=null,this.height=null},n.getPooledFromElement=function(t){return n.getPooled(t.offsetWidth,t.offsetHeight)},t.default.addPoolingTo(n,o),m.exports=n}),405,[22,406]);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-launcher",
|
|
3
3
|
"title": "Expo Development Launcher",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.18",
|
|
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": "5.0.
|
|
34
|
+
"expo-dev-menu": "5.0.15",
|
|
35
35
|
"expo-manifests": "~0.14.0",
|
|
36
36
|
"resolve-from": "^5.0.0",
|
|
37
37
|
"semver": "^7.6.0"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"graphql": "^16.0.1",
|
|
53
53
|
"graphql-request": "^3.6.1",
|
|
54
54
|
"react": "18.2.0",
|
|
55
|
-
"react-native": "0.74.
|
|
55
|
+
"react-native": "0.74.2",
|
|
56
56
|
"react-query": "^3.34.16",
|
|
57
57
|
"url": "^0.11.0"
|
|
58
58
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"./setupTests.ts"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "2893e9cba95261919532de0675468c601b87b017"
|
|
70
70
|
}
|
package/write_embedded_bundle.sh
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
3
|
export NODE_ENV=production
|
|
4
|
+
export EXPO_USE_FAST_RESOLVER=1
|
|
5
|
+
export EXPO_NO_TELEMETRY=1
|
|
4
6
|
|
|
5
7
|
# Generate temporary app.json for `npx expo export:embed` and indicate that we want to use JSC bundling profile.
|
|
6
8
|
# The reason to use JSC because the bundle should be compatible with both JSC and Hermes.
|
|
@@ -40,8 +42,7 @@ EXPO_BUNDLE_APP=1 npx expo export:embed \
|
|
|
40
42
|
--entry-file index.js \
|
|
41
43
|
--unstable-transform-profile default \
|
|
42
44
|
--bundle-output android/src/debug/assets/expo_dev_launcher_android.bundle \
|
|
43
|
-
--assets-dest android/src/debug/res
|
|
44
|
-
--reset-cache
|
|
45
|
+
--assets-dest android/src/debug/res
|
|
45
46
|
|
|
46
47
|
# Cleanup
|
|
47
48
|
|