expo-dev-launcher 1.1.1 → 1.2.0
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 +15 -0
- package/android/build.gradle +1 -1
- package/android/src/debug/assets/expo_dev_launcher_android.bundle +8 -8
- package/android/src/debug/java/expo/modules/devlauncher/modules/DevLauncherAuth.kt +0 -3
- package/android/src/main/java/expo/modules/devlauncher/splashscreen/DevLauncherSplashScreen.kt +20 -12
- package/android/src/main/java/expo/modules/devlauncher/splashscreen/DevLauncherSplashScreenProvider.kt +2 -33
- package/bundle/App.tsx +1 -3
- package/ios/EXDevLauncherAuth.m +14 -20
- package/ios/EXDevLauncherController.m +8 -32
- package/ios/Errors/EXDevLauncherErrorViewController.swift +3 -1
- package/ios/Manifest/EXDevLauncherManifestHelper.swift +3 -1
- package/ios/ReactDelegateHandler/ExpoDevLauncherReactDelegateHandler.swift +6 -2
- package/ios/Tests/EXDevLauncherManifestHelperTests.swift +2 -2
- package/ios/Views/EXDevLauncherErrorView.storyboard +7 -7
- package/ios/main.jsbundle +8 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,21 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 1.2.0 — 2022-08-11
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- Add landscape orienation support. ([#18509](https://github.com/expo/expo/pull/18509)) by [@ajsmth](https://github.com/ajsmth)
|
|
18
|
+
|
|
19
|
+
### 🐛 Bug fixes
|
|
20
|
+
|
|
21
|
+
- Fixed `the function must be called on main queue` error when the app is reload from the error screen on iOS. ([#18563](https://github.com/expo/expo/pull/18563) by [@lukmccall](https://github.com/lukmccall))
|
|
22
|
+
|
|
23
|
+
### 💡 Others
|
|
24
|
+
|
|
25
|
+
- Made deep link error screen on iOS show a friendlier message. ([#18467](https://github.com/expo/expo/pull/18467) by [@esamelson](https://github.com/esamelson))
|
|
26
|
+
- Added URL to deep link error screen message on iOS. ([#18511](https://github.com/expo/expo/pull/18511) by [@esamelson](https://github.com/esamelson))
|
|
27
|
+
|
|
13
28
|
## 1.1.1 — 2022-07-20
|
|
14
29
|
|
|
15
30
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -17,11 +17,11 @@ __d(function(g,r,i,a,m,e,d){m.exports=function(o,n){if(!(o instanceof n))throw n
|
|
|
17
17
|
__d(function(g,r,_i,a,m,e,d){function t(t,o){for(var n=0;n<o.length;n++){var p=o[n];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}m.exports=function(o,n,p){return n&&t(o.prototype,n),p&&t(o,p),Object.defineProperty(o,"prototype",{writable:!1}),o},m.exports.__esModule=!0,m.exports.default=m.exports},11,[]);
|
|
18
18
|
__d(function(g,r,i,a,m,_e,d){'use strict';var t=r(d[0]),e=t(r(d[1])),n=t(r(d[2])),u=t(r(d[3])),c=t(r(d[4])),f=t(r(d[5]));function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var l=(function(t){(0,u.default)(h,t);var l,s,v=(l=h,s=o(),function(){var t,e=(0,f.default)(l);if(s){var n=(0,f.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,c.default)(this,t)});function h(t,n,u,c){var f;return(0,e.default)(this,h),(f=v.call(this,n)).emitter=t,f.listener=u,f.context=c,f}return(0,n.default)(h,[{key:"remove",value:function(){this.emitter.__removeSubscription(this)}}]),h})(t(r(d[6])).default);m.exports=l},12,[6,10,11,13,15,18,19]);
|
|
19
19
|
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);m.exports=function(o,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(n&&n.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),n&&t(o,n)},m.exports.__esModule=!0,m.exports.default=m.exports},13,[14]);
|
|
20
|
-
__d(function(g,r,i,a,m,e,d){function t(o,s){return m.exports=t=Object.setPrototypeOf
|
|
20
|
+
__d(function(g,r,i,a,m,e,d){function t(o,s){return m.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,o){return t.__proto__=o,t},m.exports.__esModule=!0,m.exports.default=m.exports,t(o,s)}m.exports=t,m.exports.__esModule=!0,m.exports.default=m.exports},14,[]);
|
|
21
21
|
__d(function(g,r,i,a,m,e,d){var o=r(d[0]).default,t=r(d[1]);m.exports=function(n,u){if(u&&("object"===o(u)||"function"==typeof u))return u;if(void 0!==u)throw new TypeError("Derived constructors may only return object or undefined");return t(n)},m.exports.__esModule=!0,m.exports.default=m.exports},15,[16,17]);
|
|
22
22
|
__d(function(g,r,i,a,m,e,d){function o(t){"@babel/helpers - typeof";return m.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},m.exports.__esModule=!0,m.exports.default=m.exports,o(t)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},16,[]);
|
|
23
23
|
__d(function(g,r,i,a,m,e,d){m.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},m.exports.__esModule=!0,m.exports.default=m.exports},17,[]);
|
|
24
|
-
__d(function(g,r,i,a,m,e,d){function t(o){return m.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},m.exports.__esModule=!0,m.exports.default=m.exports,t(o)}m.exports=t,m.exports.__esModule=!0,m.exports.default=m.exports},18,[]);
|
|
24
|
+
__d(function(g,r,i,a,m,e,d){function t(o){return m.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m.exports.__esModule=!0,m.exports.default=m.exports,t(o)}m.exports=t,m.exports.__esModule=!0,m.exports.default=m.exports},18,[]);
|
|
25
25
|
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]),n=(function(){function n(s){t(this,n),this.subscriber=s}return s(n,[{key:"remove",value:function(){this.subscriber.removeSubscription(this)}}]),n})();m.exports=n},19,[10,11]);
|
|
26
26
|
__d(function(g,r,i,a,m,e,d){'use strict';var s=r(d[0]),t=r(d[1]),n=r(d[2]),o=(function(){function o(){s(this,o),this._subscriptionsForType={}}return t(o,[{key:"addSubscription",value:function(s,t){n(t.subscriber===this,'The subscriber of the subscription is incorrectly set.'),this._subscriptionsForType[s]||(this._subscriptionsForType[s]=[]);var o=this._subscriptionsForType[s].length;return this._subscriptionsForType[s].push(t),t.eventType=s,t.key=o,t}},{key:"removeAllSubscriptions",value:function(s){null==s?this._subscriptionsForType={}:delete this._subscriptionsForType[s]}},{key:"removeSubscription",value:function(s){var t=s.eventType,n=s.key,o=this._subscriptionsForType[t];o&&delete o[n]}},{key:"getSubscriptionsForType",value:function(s){return this._subscriptionsForType[s]}}]),o})();m.exports=o},20,[10,11,3]);
|
|
27
27
|
__d(function(g,r,i,a,m,e,d){'use strict';var t;t=r(d[0]),m.exports=t},21,[22]);
|
|
@@ -37,7 +37,7 @@ __d(function(g,r,i,a,m,_e,d){'use strict';r(d[0]);var n=r(d[1]),e=r(d[2]),t=r(d[
|
|
|
37
37
|
__d(function(g,r,i,a,m,e,d){m.exports=function(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t},m.exports.__esModule=!0,m.exports.default=m.exports},31,[]);
|
|
38
38
|
__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]),u=r(d[3]);function p(s){var f="function"==typeof Map?new Map:void 0;return m.exports=p=function(p){if(null===p||!n(p))return p;if("function"!=typeof p)throw new TypeError("Super expression must either be null or a function");if(void 0!==f){if(f.has(p))return f.get(p);f.set(p,s)}function s(){return u(p,arguments,t(this).constructor)}return s.prototype=Object.create(p.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),o(s,p)},m.exports.__esModule=!0,m.exports.default=m.exports,p(s)}m.exports=p,m.exports.__esModule=!0,m.exports.default=m.exports},32,[18,14,33,34]);
|
|
39
39
|
__d(function(g,r,i,a,m,e,d){m.exports=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},m.exports.__esModule=!0,m.exports.default=m.exports},33,[]);
|
|
40
|
-
__d(function(g,r,i,_a,m,e,d){var t=r(d[0]),o=r(d[1]);function p(s,u
|
|
40
|
+
__d(function(g,r,i,_a,m,e,d){var t=r(d[0]),o=r(d[1]);function p(s,n,u){return o()?(m.exports=p=Reflect.construct.bind(),m.exports.__esModule=!0,m.exports.default=m.exports):(m.exports=p=function(o,p,s){var n=[null];n.push.apply(n,p);var u=new(Function.bind.apply(o,n));return s&&t(u,s.prototype),u},m.exports.__esModule=!0,m.exports.default=m.exports),p.apply(null,arguments)}m.exports=p,m.exports.__esModule=!0,m.exports.default=m.exports},34,[14,35]);
|
|
41
41
|
__d(function(g,r,i,a,m,_e,d){m.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}},m.exports.__esModule=!0,m.exports.default=m.exports},35,[]);
|
|
42
42
|
__d(function(g,r,_i,a,m,e,d){'use strict';var t=r(d[0]);function n(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function o(o){for(var c=1;c<arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?n(Object(u),!0).forEach(function(n){t(o,n,u[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):n(Object(u)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(u,t))})}return o}var c=r(d[1]);function u(t){var n=[];for(var o of t.entries)if('FRAME'===o.type){var c=o.location,u=o.functionName;'NATIVE'!==c.type&&n.push({methodName:u,file:c.sourceUrl,lineNumber:c.line1Based,column:'SOURCE'===c.type?c.column1Based-1:c.virtualOffset0Based})}return n}m.exports=function(t){if(null==t)return[];var n=r(d[2]);return Array.isArray(t)?t:g.HermesInternal?u(c(t)):n.parse(t).map(function(t){return o(o({},t),{},{column:null!=t.column?t.column-1:null})})}},36,[31,37,38]);
|
|
43
43
|
__d(function(g,r,_i,a,m,e,d){'use strict';var t=/^ {4}at (.+?)(?: \((native)\)?| \((address at )?(.*?):(\d+):(\d+)\))$/,n=/^ {4}... skipping (\d+) frames$/;function s(s){var i=s.match(t);if(i)return{type:'FRAME',functionName:i[1],location:'native'===i[2]?{type:'NATIVE'}:'address at '===i[3]?{type:'BYTECODE',sourceUrl:i[4],line1Based:Number.parseInt(i[5],10),virtualOffset0Based:Number.parseInt(i[6],10)}:{type:'SOURCE',sourceUrl:i[4],line1Based:Number.parseInt(i[5],10),column1Based:Number.parseInt(i[6],10)}};var u=s.match(n);return u?{type:'SKIPPED',count:Number.parseInt(u[1],10)}:void 0}m.exports=function(t){for(var n=t.split(/\n/),i=[],u=-1,p=0;p<n.length;++p){var o=n[p];if(o){var c=s(o);c?i.push(c):(u=p,i=[])}}return{message:n.slice(0,u+1).join('\n'),entries:i}}},37,[]);
|
|
@@ -80,7 +80,7 @@ __d(function(g,r,i,a,m,e,d){'use strict';var t=1,n=new Set;var o={setImmediate:f
|
|
|
80
80
|
__d(function(g,r,i,a,m,e,d){'use strict';var t;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){if(arguments.length<1)throw new TypeError('queueMicrotask must be called with at least one argument (a function to call)');if('function'!=typeof n)throw new TypeError('The argument to queueMicrotask must be a function.');(t||(t=Promise.resolve())).then(n).catch(function(t){return setTimeout(function(){throw t},0)})}},74,[]);
|
|
81
81
|
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]).polyfillGlobal;n('XMLHttpRequest',function(){return r(d[1])}),n('FormData',function(){return r(d[2])}),n('fetch',function(){return r(d[3]).fetch}),n('Headers',function(){return r(d[3]).Headers}),n('Request',function(){return r(d[3]).Request}),n('Response',function(){return r(d[3]).Response}),n('WebSocket',function(){return r(d[4])}),n('Blob',function(){return r(d[5])}),n('File',function(){return r(d[6])}),n('FileReader',function(){return r(d[7])}),n('URL',function(){return r(d[8]).URL}),n('URLSearchParams',function(){return r(d[8]).URLSearchParams}),n('AbortController',function(){return r(d[9]).AbortController}),n('AbortSignal',function(){return r(d[9]).AbortSignal})},75,[61,76,93,94,96,81,101,102,104,105]);
|
|
82
82
|
__d(function(g,r,i,_a,m,_e,d){'use strict';var e=r(d[0]),t=e(r(d[1])),s=e(r(d[2])),n=e(r(d[3])),a=e(r(d[4])),o=e(r(d[5])),h=e(r(d[6])),u=e(r(d[7]));function p(e){var t=c();return function(){var s,n=(0,u.default)(e);if(t){var a=(0,u.default)(this).constructor;s=Reflect.construct(n,arguments,a)}else s=n.apply(this,arguments);return(0,h.default)(this,s)}}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=r(d[8]),_=r(d[9]),f=r(d[10]),y=r(d[11]),v=r(d[12]),R=r(d[13]);l.isAvailable&&l.addNetworkingHandler();var E=0,b=1,N=2,k=3,w=4,S={arraybuffer:'function'==typeof g.ArrayBuffer,blob:'function'==typeof g.Blob,document:!1,json:!0,text:!0,'':!0},D=['abort','error','load','loadstart','progress','timeout','loadend'],T=D.concat('readystatechange'),L=(function(e){(0,o.default)(s,e);var t=p(s);function s(){return(0,a.default)(this,s),t.apply(this,arguments)}return(0,n.default)(s)})(_.apply(void 0,D)),q=(function(e){(0,o.default)(c,e);var h=p(c);function c(){var e;return(0,a.default)(this,c),(e=h.call(this)).UNSENT=E,e.OPENED=b,e.HEADERS_RECEIVED=N,e.LOADING=k,e.DONE=w,e.readyState=E,e.status=0,e.timeout=0,e.withCredentials=!0,e.upload=new L,e._aborted=!1,e._hasError=!1,e._method=null,e._perfKey=null,e._response='',e._url=null,e._timedOut=!1,e._trackingName='unknown',e._incrementalEvents=!1,e._performanceLogger=f,e._reset(),e}return(0,n.default)(c,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.status=0,delete this.responseURL,this._requestId=null,this._cachedResponse=void 0,this._hasError=!1,this._headers={},this._response='',this._responseType='',this._sent=!1,this._lowerCaseResponseHeaders={},this._clearSubscriptions(),this._timedOut=!1}},{key:"responseType",get:function(){return this._responseType},set:function(e){if(this._sent)throw new Error("Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be set after the request has been sent.");S.hasOwnProperty(e)?(R(S[e]||'document'===e,"The provided value '"+e+"' is unsupported in this environment."),'blob'===e&&R(l.isAvailable,'Native module BlobModule is required for blob support'),this._responseType=e):console.warn("The provided value '"+e+"' is not a valid 'responseType'.")}},{key:"responseText",get:function(){if(''!==this._responseType&&'text'!==this._responseType)throw new Error("The 'responseText' property is only available if 'responseType' is set to '' or 'text', but it is '"+this._responseType+"'.");return this.readyState<k?'':this._response}},{key:"response",get:function(){var e=this.responseType;if(''===e||'text'===e)return this.readyState<k||this._hasError?'':this._response;if(this.readyState!==w)return null;if(void 0!==this._cachedResponse)return this._cachedResponse;switch(e){case'document':this._cachedResponse=null;break;case'arraybuffer':this._cachedResponse=v.toByteArray(this._response).buffer;break;case'blob':if('object'==typeof this._response&&this._response)this._cachedResponse=l.createFromOptions(this._response);else{if(''!==this._response)throw new Error("Invalid response for blob: "+this._response);this._cachedResponse=l.createFromParts([])}break;case'json':try{this._cachedResponse=JSON.parse(this._response)}catch(e){this._cachedResponse=null}break;default:this._cachedResponse=null}return this._cachedResponse}},{key:"__didCreateRequest",value:function(e){this._requestId=e,c._interceptor&&c._interceptor.requestSent(e,this._url||'',this._method||'GET',this._headers)}},{key:"__didUploadProgress",value:function(e,t,s){e===this._requestId&&this.upload.dispatchEvent({type:'progress',lengthComputable:!0,loaded:t,total:s})}},{key:"__didReceiveResponse",value:function(e,t,s,n){e===this._requestId&&(null!=this._perfKey&&this._performanceLogger.stopTimespan(this._perfKey),this.status=t,this.setResponseHeaders(s),this.setReadyState(this.HEADERS_RECEIVED),n||''===n?this.responseURL=n:delete this.responseURL,c._interceptor&&c._interceptor.responseReceived(e,n||this._url||'',t,s||{}))}},{key:"__didReceiveData",value:function(e,t){e===this._requestId&&(this._response=t,this._cachedResponse=void 0,this.setReadyState(this.LOADING),c._interceptor&&c._interceptor.dataReceived(e,t))}},{key:"__didReceiveIncrementalData",value:function(e,t,s,n){e===this._requestId&&(this._response?this._response+=t:this._response=t,c._interceptor&&c._interceptor.dataReceived(e,t),this.setReadyState(this.LOADING),this.__didReceiveDataProgress(e,s,n))}},{key:"__didReceiveDataProgress",value:function(e,t,s){e===this._requestId&&this.dispatchEvent({type:'progress',lengthComputable:s>=0,loaded:t,total:s})}},{key:"__didCompleteResponse",value:function(e,t,s){e===this._requestId&&(t&&(''!==this._responseType&&'text'!==this._responseType||(this._response=t),this._hasError=!0,s&&(this._timedOut=!0)),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE),t?c._interceptor&&c._interceptor.loadingFailed(e,t):c._interceptor&&c._interceptor.loadingFinished(e,this._response.length))}},{key:"_clearSubscriptions",value:function(){(this._subscriptions||[]).forEach(function(e){e&&e.remove()}),this._subscriptions=[]}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var e=this.responseHeaders,s=new Map;for(var n of Object.keys(e)){var a=e[n],o=n.toLowerCase(),h=s.get(o);h?(h.headerValue+=', '+a,s.set(o,h)):s.set(o,{lowerHeaderName:o,upperHeaderName:n.toUpperCase(),headerValue:a})}return(0,t.default)(s.values()).sort(function(e,t){return e.upperHeaderName<t.upperHeaderName?-1:e.upperHeaderName>t.upperHeaderName?1:0}).map(function(e){return e.lowerHeaderName+': '+e.headerValue}).join('\r\n')+'\r\n'}},{key:"getResponseHeader",value:function(e){var t=this._lowerCaseResponseHeaders[e.toLowerCase()];return void 0!==t?t:null}},{key:"setRequestHeader",value:function(e,t){if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');this._headers[e.toLowerCase()]=String(t)}},{key:"setTrackingName",value:function(e){return this._trackingName=e,this}},{key:"setPerformanceLogger",value:function(e){return this._performanceLogger=e,this}},{key:"open",value:function(e,t,s){if(this.readyState!==this.UNSENT)throw new Error('Cannot open, already sending');if(void 0!==s&&!s)throw new Error('Synchronous http requests are not supported');if(!t)throw new Error('Cannot load an empty url');this._method=e.toUpperCase(),this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"send",value:function(e){var s=this;if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');if(this._sent)throw new Error('Request has already been sent');this._sent=!0;var n=this._incrementalEvents||!!this.onreadystatechange||!!this.onprogress;this._subscriptions.push(y.addListener('didSendNetworkData',function(e){return s.__didUploadProgress.apply(s,(0,t.default)(e))})),this._subscriptions.push(y.addListener('didReceiveNetworkResponse',function(e){return s.__didReceiveResponse.apply(s,(0,t.default)(e))})),this._subscriptions.push(y.addListener('didReceiveNetworkData',function(e){return s.__didReceiveData.apply(s,(0,t.default)(e))})),this._subscriptions.push(y.addListener('didReceiveNetworkIncrementalData',function(e){return s.__didReceiveIncrementalData.apply(s,(0,t.default)(e))})),this._subscriptions.push(y.addListener('didReceiveNetworkDataProgress',function(e){return s.__didReceiveDataProgress.apply(s,(0,t.default)(e))})),this._subscriptions.push(y.addListener('didCompleteNetworkResponse',function(e){return s.__didCompleteResponse.apply(s,(0,t.default)(e))}));var a='text';'arraybuffer'===this._responseType&&(a='base64'),'blob'===this._responseType&&(a='blob');var o;o='unknown'!==s._trackingName?s._trackingName:s._url,s._perfKey='network_XMLHttpRequest_'+String(o),s._performanceLogger.startTimespan(s._perfKey),R(s._method,'XMLHttpRequest method needs to be defined (%s).',o),R(s._url,'XMLHttpRequest URL needs to be defined (%s).',o),y.sendRequest(s._method,s._trackingName,s._url,s._headers,e,a,n,s.timeout,s.__didCreateRequest.bind(s),s.withCredentials)}},{key:"abort",value:function(){this._aborted=!0,this._requestId&&y.abortRequest(this._requestId),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce(function(e,s){return e[s.toLowerCase()]=t[s],e},{})}},{key:"setReadyState",value:function(e){this.readyState=e,this.dispatchEvent({type:'readystatechange'}),e===this.DONE&&(this._aborted?this.dispatchEvent({type:'abort'}):this._hasError?this._timedOut?this.dispatchEvent({type:'timeout'}):this.dispatchEvent({type:'error'}):this.dispatchEvent({type:'load'}),this.dispatchEvent({type:'loadend'}))}},{key:"addEventListener",value:function(e,t){'readystatechange'!==e&&'progress'!==e||(this._incrementalEvents=!0),(0,s.default)((0,u.default)(c.prototype),"addEventListener",this).call(this,e,t)}}],[{key:"setInterceptor",value:function(e){c._interceptor=e}}]),c})(_.apply(void 0,(0,t.default)(T)));q.UNSENT=E,q.OPENED=b,q.HEADERS_RECEIVED=N,q.LOADING=k,q.DONE=w,q._interceptor=null,m.exports=q},76,[6,50,77,11,10,13,15,18,79,83,84,87,92,3]);
|
|
83
|
-
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);function o(){return"undefined"!=typeof Reflect&&Reflect.get?(m.exports=o=Reflect.get,m.exports.__esModule=!0,m.exports.default=m.exports):(m.exports=o=function(o,p,s){var l=t(o,p);if(l){var
|
|
83
|
+
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);function o(){return"undefined"!=typeof Reflect&&Reflect.get?(m.exports=o=Reflect.get.bind(),m.exports.__esModule=!0,m.exports.default=m.exports):(m.exports=o=function(o,p,s){var l=t(o,p);if(l){var n=Object.getOwnPropertyDescriptor(l,p);return n.get?n.get.call(arguments.length<3?o:s):n.value}},m.exports.__esModule=!0,m.exports.default=m.exports),o.apply(this,arguments)}m.exports=o,m.exports.__esModule=!0,m.exports.default=m.exports},77,[78]);
|
|
84
84
|
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);m.exports=function(o,n){for(;!Object.prototype.hasOwnProperty.call(o,n)&&null!==(o=t(o)););return o},m.exports.__esModule=!0,m.exports.default=m.exports},78,[18]);
|
|
85
85
|
__d(function(g,_r,_i,a,m,e,d){var t=_r(d[0]),r=t(_r(d[1])),l=t(_r(d[2])),o=t(_r(d[3])),n=t(_r(d[4])),u=t(_r(d[5]));function i(t,r){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),l.push.apply(l,o)}return l}function f(t){for(var l=1;l<arguments.length;l++){var o=null!=arguments[l]?arguments[l]:{};l%2?i(Object(o),!0).forEach(function(l){(0,r.default)(t,l,o[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))})}return t}var c=_r(d[6]),b=_r(d[7]);var s=(function(){function t(){(0,l.default)(this,t)}return(0,o.default)(t,null,[{key:"createFromParts",value:function(r,l){(0,u.default)(n.default,'NativeBlobModule is available.');var o='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(t){var r=16*Math.random()|0;return('x'==t?r:3&r|8).toString(16)}),i=r.map(function(t){if(t instanceof ArrayBuffer||g.ArrayBufferView&&t instanceof g.ArrayBufferView)throw new Error("Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported");return t instanceof c?{data:t.data,type:'blob'}:{data:String(t),type:'string'}}),f=i.reduce(function(t,r){return'string'===r.type?t+g.unescape(encodeURI(r.data)).length:t+r.data.size},0);return n.default.createFromParts(i,o),t.createFromOptions({blobId:o,offset:0,size:f,type:l?l.type:'',lastModified:l?l.lastModified:Date.now()})}},{key:"createFromOptions",value:function(t){return b.register(t.blobId),Object.assign(Object.create(c.prototype),{data:null==t.__collector?f(f({},t),{},{__collector:(r=t.blobId,null==g.__blobCollectorProvider?null:g.__blobCollectorProvider(r))}):t});var r}},{key:"release",value:function(t){(0,u.default)(n.default,'NativeBlobModule is available.'),b.unregister(t),b.has(t)||n.default.release(t)}},{key:"addNetworkingHandler",value:function(){(0,u.default)(n.default,'NativeBlobModule is available.'),n.default.addNetworkingHandler()}},{key:"addWebSocketHandler",value:function(t){(0,u.default)(n.default,'NativeBlobModule is available.'),n.default.addWebSocketHandler(t)}},{key:"removeWebSocketHandler",value:function(t){(0,u.default)(n.default,'NativeBlobModule is available.'),n.default.removeWebSocketHandler(t)}},{key:"sendOverSocket",value:function(t,r){(0,u.default)(n.default,'NativeBlobModule is available.'),n.default.sendOverSocket(t.data,r)}}]),t})();s.isAvailable=!!n.default,m.exports=s},79,[6,31,10,11,80,3,81,82]);
|
|
86
86
|
__d(function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in n)if("default"!==f&&Object.prototype.hasOwnProperty.call(n,f)){var s=c?Object.getOwnPropertyDescriptor(n,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=n[f]}l.default=n,u&&u.set(n,l);return l})(r(d[0])).get('BlobModule'),o=null,u=null;null!=n&&(u={getConstants:function(){return null==o&&(o=n.getConstants()),o},addNetworkingHandler:function(){n.addNetworkingHandler()},addWebSocketHandler:function(t){n.addWebSocketHandler(t)},removeWebSocketHandler:function(t){n.removeWebSocketHandler(t)},sendOverSocket:function(t,o){n.sendOverSocket(t,o)},createFromParts:function(t,o){n.createFromParts(t,o)},release:function(t){n.release(t)}});var l=u;e.default=l},80,[40]);
|
|
@@ -387,7 +387,7 @@ __d(function(g,r,i,a,m,_e,d){'use strict';var t=r(d[0]),n=r(d[1]),e=r(d[2]),u=r(
|
|
|
387
387
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicColorIOS=void 0;e.DynamicColorIOS=function(o){throw new Error('DynamicColorIOS is not available on this platform.')}},381,[]);
|
|
388
388
|
__d(function(g,r,_i,a,m,_e,d){var e=r(d[0]),t=e(r(d[1])),n=e(r(d[2])),i=e(r(d[3])),o=e(r(d[4])),c=e(r(d[5])),l=e(r(d[6])),s=e(r(d[7])),u=e(r(d[8])),v=e(r(d[9])),S=r(d[10]),f=r(d[11]),p=r(d[12]),h=e(r(d[13])),y=e(r(d[14])),w=r(d[15]),N=r(d[16]),b=["children"],C=["enabled"],k=["active","activityState","children","isNativeStack","gestureResponseDistance"],j=["active","activityState","style","onComponentRef"],O=["enabled","hasTwoStates"];function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach(function(t){(0,l.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var H='ios'===S.Platform.OS||'android'===S.Platform.OS||'windows'===S.Platform.OS,A=H;var B=!1;var F,V,D,z,q,I,E,W,M;var T={get NativeScreen(){return F=F||(0,S.requireNativeComponent)('RNSScreen')},get NativeScreenContainer(){return V=V||(0,S.requireNativeComponent)('RNSScreenContainer')},get NativeScreenNavigationContainer(){return D=D||('ios'===S.Platform.OS?(0,S.requireNativeComponent)('RNSScreenNavigationContainer'):this.NativeScreenContainer)},get NativeScreenStack(){return z=z||(0,S.requireNativeComponent)('RNSScreenStack')},get NativeScreenStackHeaderConfig(){return q=q||(0,S.requireNativeComponent)('RNSScreenStackHeaderConfig')},get NativeScreenStackHeaderSubview(){return I=I||(0,S.requireNativeComponent)('RNSScreenStackHeaderSubview')},get NativeSearchBar(){return W=W||(0,S.requireNativeComponent)('RNSSearchBar')},get NativeFullWindowOverlay(){return M=M||(0,S.requireNativeComponent)('RNSFullWindowOverlay')}};function U(e){var t=e.freeze,n=e.children,i=v.default.useState(!1),o=(0,u.default)(i,2),c=o[0],l=o[1];return t!==c&&setImmediate(function(){l(t)}),(0,N.jsx)(f.Freeze,{freeze:!!t&&c,children:n})}function _(e){var t=e.freeze,n=e.children;return B?(0,N.jsx)(U,{freeze:t,children:n}):(0,N.jsx)(N.Fragment,{children:n})}var L=(function(e){(0,i.default)(f,e);var l,u,v=(l=f,u=x(),function(){var e,t=(0,c.default)(l);if(u){var n=(0,c.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function f(){var e;(0,t.default)(this,f);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(e=v.call.apply(v,[this].concat(i))).ref=null,e.closing=new S.Animated.Value(0),e.progress=new S.Animated.Value(0),e.goingForward=new S.Animated.Value(0),e.setRef=function(t){e.ref=t,null==e.props.onComponentRef||e.props.onComponentRef(t)},e}return(0,n.default)(f,[{key:"setNativeProps",value:function(e){var t;null==(t=this.ref)||t.setNativeProps(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.enabled,i=void 0===n?A:n,o=(0,s.default)(t,C);if(i&&H){var c,l,u,v;E=E||S.Animated.createAnimatedComponent(T.NativeScreen);var f=o.active,p=o.activityState,y=o.children,w=o.isNativeStack,b=o.gestureResponseDistance,O=(0,s.default)(o,k);void 0!==f&&void 0===p&&(console.warn('It appears that you are using old version of react-navigation library. Please update @react-navigation/bottom-tabs, @react-navigation/stack and @react-navigation/drawer to version 5.10.0 or above to take full advantage of new functionality added to react-native-screens'),p=0!==f?2:0);return(0,N.jsx)(_,{freeze:0===p,children:(0,N.jsx)(E,R(R({},O),{},{activityState:p,gestureResponseDistance:{start:null!=(c=null==b?void 0:b.start)?c:-1,end:null!=(l=null==b?void 0:b.end)?l:-1,top:null!=(u=null==b?void 0:b.top)?u:-1,bottom:null!=(v=null==b?void 0:b.bottom)?v:-1},ref:function(t){var n,i;null!=t&&null!=(n=t.viewConfig)&&null!=(i=n.validAttributes)&&i.style&&(t.viewConfig.validAttributes.style=R(R({},t.viewConfig.validAttributes.style),{},{display:!1}),e.setRef(t))},onTransitionProgress:w?S.Animated.event([{nativeEvent:{progress:this.progress,closing:this.closing,goingForward:this.goingForward}}],{useNativeDriver:!0}):void 0,children:w?(0,N.jsx)(h.default.Provider,{value:{progress:this.progress,closing:this.closing,goingForward:this.goingForward},children:y}):y}))})}var x=o.active,P=o.activityState,B=o.style,F=(o.onComponentRef,(0,s.default)(o,j));return void 0!==x&&void 0===P&&(P=0!==x?2:0),(0,N.jsx)(S.Animated.View,R({style:[B,{display:0!==P?'flex':'none'}],ref:this.setRef},F))}}]),f})(v.default.Component);var G=S.StyleSheet.create({headerSubview:{position:'absolute',top:0,right:0,flexDirection:'row',alignItems:'center',justifyContent:'center'}}),J=v.default.createContext(L);m.exports={Screen:L,ScreenContainer:function(e){var t=e.enabled,n=void 0===t?A:t,i=e.hasTwoStates,o=(0,s.default)(e,O);return n&&H?i?(0,N.jsx)(T.NativeScreenNavigationContainer,R({},o)):(0,N.jsx)(T.NativeScreenContainer,R({},o)):(0,N.jsx)(S.View,R({},o))},ScreenContext:J,ScreenStack:function(e){if(B){var t=e.children,n=(0,s.default)(e,b),i=v.default.Children.count(t),o=v.default.Children.map(t,function(e,t){return(0,N.jsx)(U,{freeze:i-t>1,children:e})});return(0,N.jsx)(T.NativeScreenStack,R(R({},n),{},{children:o}))}return(0,N.jsx)(T.NativeScreenStack,R({},e))},get NativeScreen(){return T.NativeScreen},get NativeScreenContainer(){return T.NativeScreenContainer},get NativeScreenNavigationContainer(){return T.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return T.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return T.NativeScreenStackHeaderSubview},get SearchBar(){return w.isSearchBarAvailableForCurrentPlatform?T.NativeSearchBar:(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),S.View)},get FullWindowOverlay(){return'ios'!==S.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),S.View):T.NativeFullWindowOverlay},ScreenStackHeaderBackButtonImage:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,{type:"back",style:G.headerSubview,children:(0,N.jsx)(S.Image,R({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"right",style:G.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"left",style:G.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"center",style:G.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"searchBar",style:G.headerSubview}))},enableScreens:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(A=H&&e)&&!S.UIManager.getViewManagerConfig('RNSScreen')&&console.error("Screen native module hasn't been linked. Please check the react-native-screens README for more details")},enableFreeze:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=parseInt(p.version.split('.')[1]);0===t||t>=64||!e||console.warn('react-freeze library requires at least react-native 0.64. Please upgrade your react-native version in order to use this feature.'),B=e},screensEnabled:function(){return A},shouldUseActivityState:!0,useTransitionProgress:y.default,isSearchBarAvailableForCurrentPlatform:w.isSearchBarAvailableForCurrentPlatform,executeNativeBackPress:w.executeNativeBackPress}},382,[6,10,11,13,15,18,31,97,42,164,2,383,384,385,386,387,184]);
|
|
389
389
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Freeze=function(o){var u=o.freeze,c=o.children,l=o.placeholder,p=void 0===l?null:l;return(0,n.jsx)(t.Suspense,{fallback:p,children:(0,n.jsx)(f,{freeze:u,children:c})})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=o(n);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u);return u})(r(d[0])),n=r(d[1]);function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(o=function(t){return t?f:n})(t)}function f(o){var f=o.freeze,u=o.children,c=(0,t.useRef)({}).current;if(f&&!c.promise)throw c.promise=new Promise(function(t){c.resolve=t}),c.promise;if(f)throw c.promise;return c.promise&&(c.resolve(),c.promise=void 0),(0,n.jsx)(t.Fragment,{children:u})}},383,[164,184]);
|
|
390
|
-
__d(function(e,r,t,i,s,n,a){s.exports={name:"react-native",version:"0.69.
|
|
390
|
+
__d(function(e,r,t,i,s,n,a){s.exports={name:"react-native",version:"0.69.4",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=14"},"jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["!template/node_modules","!template/package-lock.json","!template/yarn.lock","android","cli.js","flow","flow-typed","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","react.gradle","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen/codegen-utils.js","scripts/codegen/generate-artifacts-executor.js","scripts/codegen/generate-specs-cli-executor.js","scripts/hermes/hermes-utils.js","scripts/hermes/prepare-hermes-for-build.js","scripts/ios-configure-glog.sh","scripts/xcode/with-environment.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/node-binary.sh","scripts/packager.sh","scripts/packager-reporter.js","scripts/react_native_pods_utils/script_phases.rb","scripts/react_native_pods_utils/script_phases.sh","scripts/react_native_pods.rb","scripts/cocoapods","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","template.config.js","template","third-party-podspecs"],scripts:{start:"react-native start",test:"jest","test-ci":"jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",flow:"flow","flow-check-ios":"flow check","flow-check-android":"flow check --flowconfig-name .flowconfig.android",lint:"eslint .","lint-ci":"./scripts/circleci/analyze_code.sh && yarn shellcheck","lint-java":"node ./scripts/lint-java.js",shellcheck:"./scripts/circleci/analyze_scripts.sh","clang-format":"clang-format -i --glob=*/**/*.{h,cpp,m,mm}",format:"npm run prettier && npm run clang-format",prettier:"prettier --write \"./**/*.{js,md,yml}\"","format-check":"prettier --list-different \"./**/*.{js,md,yml}\"","update-lock":"npx yarn-deduplicate","docker-setup-android":"docker pull reactnativecommunity/react-native-android:5.2","docker-build-android":"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .","test-android-run-instrumentation":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh","test-android-run-unit":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh","test-android-run-e2e":"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js","test-android-all":"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e","test-android-instrumentation":"yarn run docker-build-android && yarn run test-android-run-instrumentation","test-android-unit":"yarn run docker-build-android && yarn run test-android-run-unit","test-android-e2e":"yarn run docker-build-android && yarn run test-android-run-e2e","test-ios":"./scripts/objc-test.sh test"},peerDependencies:{react:"18.0.0"},dependencies:{"@jest/create-cache-key-function":"^27.0.1","@react-native-community/cli":"^8.0.4","@react-native-community/cli-platform-android":"^8.0.4","@react-native-community/cli-platform-ios":"^8.0.4","@react-native/assets":"1.0.0","@react-native/normalize-color":"2.0.0","@react-native/polyfills":"2.0.0","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","event-target-shim":"^5.0.1","hermes-engine":"~0.11.0",invariant:"^2.2.4","jsc-android":"^250230.2.1","memoize-one":"^5.0.0","metro-react-native-babel-transformer":"0.70.3","metro-runtime":"0.70.3","metro-source-map":"0.70.3",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.0.3","react-devtools-core":"4.24.0","react-native-gradle-plugin":"^0.0.7","react-refresh":"^0.4.0","react-shallow-renderer":"16.15.0","regenerator-runtime":"^0.13.2",scheduler:"^0.21.0","stacktrace-parser":"^0.1.3","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.1.4","react-native-codegen":"^0.69.1"},devDependencies:{"flow-bin":"^0.176.3",react:"18.0.0","react-test-renderer":"18.0.0","@babel/core":"^7.14.0","@babel/generator":"^7.14.0","@babel/plugin-transform-regenerator":"^7.0.0","@react-native-community/eslint-plugin":"*","@react-native/eslint-plugin-specs":">0.0.2","@reactions/component":"^2.0.2",async:"^3.2.2","babel-eslint":"^10.1.0","clang-format":"^1.2.4",connect:"^3.6.5",coveralls:"^3.1.1",eslint:"^7.32.0","eslint-config-fb-strict":"^26.0.0","eslint-config-fbjs":"^3.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^7.0.0","eslint-plugin-jest":"^25.2.4","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.26.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-react-native":"^3.11.0","eslint-plugin-relay":"^1.8.2",inquirer:"^7.1.0",jest:"^26.6.3","jest-junit":"^10.0.0",jscodeshift:"^0.13.1","metro-babel-register":"0.70.3",mkdirp:"^0.5.1",prettier:"^2.4.1",shelljs:"^0.8.5",signedsource:"^1.0.0",ws:"^6.1.4",yargs:"^15.3.1"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}},384,[]);
|
|
391
391
|
__d(function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n},385,[164]);
|
|
392
392
|
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=n.useContext(o.default);if(void 0===t)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return t};var n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[1])),o=t(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}},386,[6,164,385]);
|
|
393
393
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.executeNativeBackPress=function(){return t.BackHandler.exitApp(),!0},e.isSearchBarAvailableForCurrentPlatform=void 0;var t=r(d[0]),o=['ios','android'].includes(t.Platform.OS);e.isSearchBarAvailableForCurrentPlatform=o},387,[2]);
|
|
@@ -720,7 +720,7 @@ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{
|
|
|
720
720
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnimatedReactionWorkletFunction",{enumerable:!0,get:function(){return c.AnimatedReactionWorkletFunction}}),Object.defineProperty(e,"AnimatedStyleResult",{enumerable:!0,get:function(){return o.AnimatedStyleResult}}),Object.defineProperty(e,"Context",{enumerable:!0,get:function(){return n.Context}}),Object.defineProperty(e,"DependencyList",{enumerable:!0,get:function(){return n.DependencyList}}),Object.defineProperty(e,"DerivedValue",{enumerable:!0,get:function(){return s.DerivedValue}}),Object.defineProperty(e,"GestureHandlerEvent",{enumerable:!0,get:function(){return l.GestureHandlerEvent}}),Object.defineProperty(e,"GestureHandlers",{enumerable:!0,get:function(){return l.GestureHandlers}}),Object.defineProperty(e,"ScrollHandler",{enumerable:!0,get:function(){return b.ScrollHandler}}),Object.defineProperty(e,"ScrollHandlers",{enumerable:!0,get:function(){return b.ScrollHandlers}}),Object.defineProperty(e,"SensorType",{enumerable:!0,get:function(){return y.SensorType}}),Object.defineProperty(e,"useAnimatedGestureHandler",{enumerable:!0,get:function(){return l.useAnimatedGestureHandler}}),Object.defineProperty(e,"useAnimatedProps",{enumerable:!0,get:function(){return t.useAnimatedProps}}),Object.defineProperty(e,"useAnimatedReaction",{enumerable:!0,get:function(){return c.useAnimatedReaction}}),Object.defineProperty(e,"useAnimatedRef",{enumerable:!0,get:function(){return f.useAnimatedRef}}),Object.defineProperty(e,"useAnimatedScrollHandler",{enumerable:!0,get:function(){return b.useAnimatedScrollHandler}}),Object.defineProperty(e,"useAnimatedSensor",{enumerable:!0,get:function(){return y.useAnimatedSensor}}),Object.defineProperty(e,"useAnimatedStyle",{enumerable:!0,get:function(){return o.useAnimatedStyle}}),Object.defineProperty(e,"useDerivedValue",{enumerable:!0,get:function(){return s.useDerivedValue}}),Object.defineProperty(e,"useEvent",{enumerable:!0,get:function(){return t.useEvent}}),Object.defineProperty(e,"useHandler",{enumerable:!0,get:function(){return t.useHandler}}),Object.defineProperty(e,"useSharedValue",{enumerable:!0,get:function(){return u.useSharedValue}}),Object.defineProperty(e,"useWorkletCallback",{enumerable:!0,get:function(){return t.useWorkletCallback}});var n=r(d[0]),t=r(d[1]),u=r(d[2]),o=r(d[3]),l=r(d[4]),c=r(d[5]),f=r(d[6]),b=r(d[7]),s=r(d[8]),y=r(d[9])},714,[715,716,732,717,736,737,738,740,741,742]);
|
|
721
721
|
__d(function(g,r,i,a,m,e,d){},715,[]);
|
|
722
722
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedProps=void 0,Object.defineProperty(e,"useEvent",{enumerable:!0,get:function(){return u.useEvent}}),Object.defineProperty(e,"useHandler",{enumerable:!0,get:function(){return u.useHandler}}),e.useWorkletCallback=function(t,u){return(0,n.useCallback)(t,null!=u?u:[])};var n=r(d[0]),t=r(d[1]),u=r(d[2]),l=t.useAnimatedStyle;e.useAnimatedProps=l},716,[164,717,733]);
|
|
723
|
-
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedStyle=function(t,l,A){var h,_,k=(0,v.makeViewsRefSet)(),S=(0,v.makeViewDescriptorsSet)(),j=(0,s.useRef)(),F=Object.values(null!=(h=t._closure)?h:{}),D=A?Array.isArray(A)?A:[A]:[],R=A?(0,p.buildWorkletsHash)(D):null,O=(0,f.useSharedValue)(!0),x=(0,s.useRef)({});l?l.push(t.__workletHash):l=[].concat((0,n.default)(F),[t.__workletHash]);if(R&&l.push(R),!j.current){var P=(0,u.initialUpdaterRun)(t);(0,p.validateAnimatedStyles)(P),j.current={initial:{value:P,updater:t},remoteState:(0,o.makeRemote)({last:P}),sharableViewDescriptors:(0,o.makeMutable)([])},S.rebuildsharableViewDescriptors(j.current.sharableViewDescriptors)}l.push(null==(_=j.current)?void 0:_.sharableViewDescriptors.value);var C=j.current,T=C.initial,E=C.remoteState,U=C.sharableViewDescriptors,W=c.default.native?void 0:k;return(0,s.useEffect)(function(){var n,s,l=t,u=t.__optimalization;A&&((s=function(){var n=t();return D.forEach(function(t){t(n)}),n})._closure={updater:t,adaptersArray:D},s.asString="function _f(){const{updater,adaptersArray}=jsThis._closure;{const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;}}",s.__workletHash=0xe619afc2f63,s.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (459:18)",l=s),(0,p.canApplyOptimalisation)(l)&&!(0,y.shouldBeUseWeb)()?l=(0,p.hasColorProps)(l())?(function(){var t=function(){var t=l(),n=E.last,s=(0,p.styleDiff)(n,t);return E.last=Object.assign({},n,t),(0,p.parseColors)(s),s};return t._closure={updaterFn:l,remoteState:E,styleDiff:p.styleDiff,parseColors:p.parseColors},t.asString="function _f(){const{updaterFn,remoteState,styleDiff,parseColors}=jsThis._closure;{const newValues=updaterFn();const oldValues=remoteState.last;const diff=styleDiff(oldValues,newValues);remoteState.last=Object.assign({},oldValues,newValues);parseColors(diff);return diff;}}",t.__workletHash=5178118372497,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (471:20)",t})():(function(){var t=function(){var t=l(),n=E.last,s=(0,p.styleDiff)(n,t);return E.last=Object.assign({},n,t),s};return t._closure={updaterFn:l,remoteState:E,styleDiff:p.styleDiff},t.asString="function _f(){const{updaterFn,remoteState,styleDiff}=jsThis._closure;{const newValues=updaterFn();const oldValues=remoteState.last;const diff=styleDiff(oldValues,newValues);remoteState.last=Object.assign({},oldValues,newValues);return diff;}}",t.__workletHash=5024825431498,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (481:20)",t})():(0,y.shouldBeUseWeb)()||(u=0,l=(function(){var t=function(){var t=l();return(0,p.parseColors)(t),t};return t._closure={updaterFn:l,parseColors:p.parseColors},t.asString="function _f(){const{updaterFn,parseColors}=jsThis._closure;{const style=updaterFn();parseColors(style);return style;}}",t.__workletHash=0xd3440791ed5,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (492:18)",t})()),void 0!==typeof t.__optimalization&&(l.__optimalization=u),n=(0,y.isJest)()?(function(){var n=function(){b(U,t,E,W,O,x,D)};return n._closure={jestStyleUpdater:b,sharableViewDescriptors:U,updater:t,remoteState:E,maybeViewRef:W,animationsActive:O,animatedStyle:x,adaptersArray:D},n.asString="function _f(){const{jestStyleUpdater,sharableViewDescriptors,updater,remoteState,maybeViewRef,animationsActive,animatedStyle,adaptersArray}=jsThis._closure;{jestStyleUpdater(sharableViewDescriptors,updater,remoteState,maybeViewRef,animationsActive,animatedStyle,adaptersArray);}}",n.__workletHash=0xa4797ee89b1,n.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (504:12)",n})():(function(){var t=function(){w(U,l,E,W,O)};return t._closure={styleUpdater:w,sharableViewDescriptors:U,updaterFn:l,remoteState:E,maybeViewRef:W,animationsActive:O},t.asString="function _f(){const{styleUpdater,sharableViewDescriptors,updaterFn,remoteState,maybeViewRef,animationsActive}=jsThis._closure;{styleUpdater(sharableViewDescriptors,updaterFn,remoteState,maybeViewRef,animationsActive);}}",t.__workletHash=0xdae68c20151,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (517:12)",t})();var c=(0,o.startMapper)(n,F,[],l,U);return function(){(0,o.stopMapper)(c)}},l),(0,s.useEffect)(function(){return O.value=!0,function(){O.value=!1}},[]),V(T.value),process.env.JEST_WORKER_ID?{viewDescriptors:S,initial:T,viewsRef:k,animatedStyle:x}:{viewDescriptors:S,initial:T,viewsRef:k}};var n=t(r(d[1])),s=r(d[2]),o=r(d[3]),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var s=A(n);if(s&&s.has(t))return s.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=l?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=t[u]}o.default=t,s&&s.set(t,o);return o})(r(d[4])),u=r(d[5]),c=t(r(d[6])),f=r(d[7]),p=r(d[8]),v=r(d[9]),y=r(d[10]);function A(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,s=new WeakMap;return(A=function(t){return t?s:n})(t)}var h,_=((h=function(t,n,s){if(Array.isArray(t)&&t.forEach(function(t,o){return _(t,n&&n[o],s&&s[o])}),'object'==typeof t&&t.onFrame){var l=t,u=l.current;void 0!==s&&('object'==typeof s?void 0!==s.value?u=s.value:void 0!==s.onFrame&&(void 0!==(null==n?void 0:n.current)?u=n.current:void 0!==(null==s?void 0:s.current)&&(u=s.current)):u=s),l.callStart=function(t){l.onStart(l,u,t,n)},l.callStart((0,o.getTimestamp)()),l.callStart=null}else'object'==typeof t&&Object.keys(t).forEach(function(o){return _(t[o],n&&n[o],s&&s[o])})})._closure={getTimestamp:o.getTimestamp},h.asString="function prepareAnimation(animatedProp,lastAnimation,lastValue){const{getTimestamp}=jsThis._closure;{if(Array.isArray(animatedProp)){animatedProp.forEach(function(prop,index){return prepareAnimation(prop,lastAnimation&&lastAnimation[index],lastValue&&lastValue[index]);});}if(typeof animatedProp==='object'&&animatedProp.onFrame){const animation=animatedProp;let value=animation.current;if(lastValue!==undefined){if(typeof lastValue==='object'){if(lastValue.value!==undefined){value=lastValue.value;}else if(lastValue.onFrame!==undefined){if((lastAnimation===null||lastAnimation===void 0?void 0:lastAnimation.current)!==undefined){value=lastAnimation.current;}else if((lastValue===null||lastValue===void 0?void 0:lastValue.current)!==undefined){value=lastValue.current;}}}else{value=lastValue;}}animation.callStart=function(timestamp){animation.onStart(animation,value,timestamp,lastAnimation);};animation.callStart(getTimestamp());animation.callStart=null;}else if(typeof animatedProp==='object'){Object.keys(animatedProp).forEach(function(key){return prepareAnimation(animatedProp[key],lastAnimation&&lastAnimation[key],lastValue&&lastValue[key]);});}}}",h.__workletHash=1333702046144,h.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (67:0)",h),k=(function(){var t=function(t,n,s,o,l){if(!l.value)return!0;if(Array.isArray(t)){o[s]=[];var u=!0;return t.forEach(function(t,c){k(t,n,c,o[s],l)||(u=!1)}),u}if('object'==typeof t&&t.onFrame){var c=!0;return t.finished||(t.callStart&&(t.callStart(n),t.callStart=null),c=t.onFrame(t,n),t.timestamp=n,c&&(t.finished=!0,t.callback&&t.callback(!0))),o[s]=t.current,c}if('object'==typeof t){o[s]={};var f=!0;return Object.keys(t).forEach(function(u){k(t[u],n,u,o[s],l)||(f=!1)}),f}return o[s]=t,!0};return t._closure={},t.asString="function runAnimations(animation,timestamp,key,result,animationsActive){if(!animationsActive.value){return true;}if(Array.isArray(animation)){result[key]=[];let allFinished=true;animation.forEach(function(entry,index){if(!runAnimations(entry,timestamp,index,result[key],animationsActive)){allFinished=false;}});return allFinished;}else if(typeof animation==='object'&&animation.onFrame){let finished=true;if(!animation.finished){if(animation.callStart){animation.callStart(timestamp);animation.callStart=null;}finished=animation.onFrame(animation,timestamp);animation.timestamp=timestamp;if(finished){animation.finished=true;animation.callback&&animation.callback(true);}}result[key]=animation.current;return finished;}else if(typeof animation==='object'){result[key]={};let allFinished=true;Object.keys(animation).forEach(function(k){if(!runAnimations(animation[k],timestamp,k,result[key],animationsActive)){allFinished=false;}});return allFinished;}else{result[key]=animation;return true;}}",t.__workletHash=3625332641327,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (124:0)",t})(),w=(function(){var t=function(t,n,s,u,c){var f,v,y=null!=(f=s.animations)?f:{},A=null!=(v=n())?v:{},h=s.last,w=!1;for(var b in A){var V=A[b];(0,p.isAnimated)(V)?(_(V,y[b],h[b]),y[b]=V,w=!0):delete y[b]}if(w){var S=function n(f){var p=s.animations,v=s.last;if(s.isAnimationCancelled)s.isAnimationRunning=!1;else{var y={},A=!0;for(var h in p){k(p[h],f,h,y,c)?(v[h]=y[h],delete p[h]):A=!1}(0,l.default)(t,y,u),A?s.isAnimationRunning=!1:(0,o.requestFrame)(n)}};s.animations=y,s.isAnimationRunning||(s.isAnimationCancelled=!1,s.isAnimationRunning=!0,_frameTimestamp?S(_frameTimestamp):(0,o.requestFrame)(S)),s.last=Object.assign({},h,A);var j=(0,p.getStyleWithoutAnimations)(s.last);j&&(0,l.default)(t,j,u)}else{s.isAnimationCancelled=!0,s.animations=[];var F=(0,p.styleDiff)(h,A);s.last=Object.assign({},h,A),F&&(0,l.default)(t,A,u)}};return t._closure={isAnimated:p.isAnimated,prepareAnimation:_,runAnimations:k,updateProps:l.default,requestFrame:o.requestFrame,getStyleWithoutAnimations:p.getStyleWithoutAnimations,styleDiff:p.styleDiff},t.asString="function styleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive){const{isAnimated,prepareAnimation,runAnimations,updateProps,requestFrame,getStyleWithoutAnimations,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;for(const key in newValues){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}else{delete animations[key];}}if(hasAnimations){const frame=function(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;for(const propName in animations){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}}if(updates){updateProps(viewDescriptors,updates,maybeViewRef);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}};state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}state.last=Object.assign({},oldValues,newValues);const style=getStyleWithoutAnimations(state.last);if(style){updateProps(viewDescriptors,style,maybeViewRef);}}else{state.isAnimationCancelled=true;state.animations=[];const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(diff){updateProps(viewDescriptors,newValues,maybeViewRef);}}}}",t.__workletHash=475700015036,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (185:0)",t})(),b=(function(){var t=function(t,n,s,u,c,f){var v,y,A=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],h=null!=(v=s.animations)?v:{},w=null!=(y=n())?y:{},b=s.last,V=!1;function S(n){var p=s.animations,v=s.last;if(s.isAnimationCancelled)s.isAnimationRunning=!1;else{var y={},h=!0;Object.keys(p).forEach(function(t){k(p[t],n,t,y,c)?(v[t]=y[t],delete p[t]):h=!1}),Object.keys(y).length&&(0,l.updatePropsJestWrapper)(t,y,u,f,A),h?s.isAnimationRunning=!1:(0,o.requestFrame)(S)}}Object.keys(h).forEach(function(t){var n=w[t];(0,p.isAnimated)(n)||delete h[t]}),Object.keys(w).forEach(function(t){var n=w[t];(0,p.isAnimated)(n)&&(_(n,h[t],b[t]),h[t]=n,V=!0)}),V?(s.animations=h,s.isAnimationRunning||(s.isAnimationCancelled=!1,s.isAnimationRunning=!0,_frameTimestamp?S(_frameTimestamp):(0,o.requestFrame)(S))):(s.isAnimationCancelled=!0,s.animations=[]);var j=(0,p.styleDiff)(b,w);s.last=Object.assign({},b,w),0!==Object.keys(j).length&&(0,l.updatePropsJestWrapper)(t,j,u,f,A)};return t._closure={isAnimated:p.isAnimated,prepareAnimation:_,runAnimations:k,updatePropsJestWrapper:l.updatePropsJestWrapper,requestFrame:o.requestFrame,styleDiff:p.styleDiff},t.asString="function jestStyleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,animatedStyle,adapters=[]){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,requestFrame,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,maybeViewRef,animatedStyle,adapters);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}}else{state.isAnimationCancelled=true;state.animations=[];}const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(Object.keys(diff).length!==0){updatePropsJestWrapper(viewDescriptors,diff,maybeViewRef,animatedStyle,adapters);}}}",t.__workletHash=3969143793855,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (273:0)",t})();function V(t,n){if(Array.isArray(t))for(var s of t)V(s,n);else if('object'==typeof t&&void 0===t.value)for(var o of Object.keys(t))V(t[o],o);else if(void 0!==n&&'object'==typeof t&&void 0!==t.value)throw new Error("invalid value passed to `"+n+"`, maybe you forgot to use `.value`?")}},717,[6,50,164,706,718,720,707,732,733,735,656]);
|
|
723
|
+
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedStyle=function(t,o,y){var A,h,_=(0,p.makeViewsRefSet)(),V=(0,p.makeViewDescriptorsSet)(),S=(0,n.useRef)(),j=Object.values(null!=(A=t._closure)?A:{}),F=y?Array.isArray(y)?y:[y]:[],D=y?(0,f.buildWorkletsHash)(F):null,R=(0,c.useSharedValue)(!0),O=(0,n.useRef)({});o?o.push(t.__workletHash):o=[].concat(j,[t.__workletHash]);if(D&&o.push(D),!S.current){var x=(0,l.initialUpdaterRun)(t);(0,f.validateAnimatedStyles)(x),S.current={initial:{value:x,updater:t},remoteState:(0,s.makeRemote)({last:x}),sharableViewDescriptors:(0,s.makeMutable)([])},V.rebuildsharableViewDescriptors(S.current.sharableViewDescriptors)}o.push(null==(h=S.current)?void 0:h.sharableViewDescriptors.value);var P=S.current,C=P.initial,T=P.remoteState,E=P.sharableViewDescriptors,U=u.default.native?void 0:_;return(0,n.useEffect)(function(){var n,o,l=t,u=t.__optimalization;y&&((o=function(){var n=t();return F.forEach(function(t){t(n)}),n})._closure={updater:t,adaptersArray:F},o.asString="function _f(){const{updater,adaptersArray}=jsThis._closure;{const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;}}",o.__workletHash=0xe619afc2f63,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (459:18)",l=o),(0,f.canApplyOptimalisation)(l)&&!(0,v.shouldBeUseWeb)()?l=(0,f.hasColorProps)(l())?(function(){var t=function(){var t=l(),n=T.last,s=(0,f.styleDiff)(n,t);return T.last=Object.assign({},n,t),(0,f.parseColors)(s),s};return t._closure={updaterFn:l,remoteState:T,styleDiff:f.styleDiff,parseColors:f.parseColors},t.asString="function _f(){const{updaterFn,remoteState,styleDiff,parseColors}=jsThis._closure;{const newValues=updaterFn();const oldValues=remoteState.last;const diff=styleDiff(oldValues,newValues);remoteState.last=Object.assign({},oldValues,newValues);parseColors(diff);return diff;}}",t.__workletHash=5178118372497,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (471:20)",t})():(function(){var t=function(){var t=l(),n=T.last,s=(0,f.styleDiff)(n,t);return T.last=Object.assign({},n,t),s};return t._closure={updaterFn:l,remoteState:T,styleDiff:f.styleDiff},t.asString="function _f(){const{updaterFn,remoteState,styleDiff}=jsThis._closure;{const newValues=updaterFn();const oldValues=remoteState.last;const diff=styleDiff(oldValues,newValues);remoteState.last=Object.assign({},oldValues,newValues);return diff;}}",t.__workletHash=5024825431498,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (481:20)",t})():(0,v.shouldBeUseWeb)()||(u=0,l=(function(){var t=function(){var t=l();return(0,f.parseColors)(t),t};return t._closure={updaterFn:l,parseColors:f.parseColors},t.asString="function _f(){const{updaterFn,parseColors}=jsThis._closure;{const style=updaterFn();parseColors(style);return style;}}",t.__workletHash=0xd3440791ed5,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (492:18)",t})()),void 0!==typeof t.__optimalization&&(l.__optimalization=u),n=(0,v.isJest)()?(function(){var n=function(){w(E,t,T,U,R,O,F)};return n._closure={jestStyleUpdater:w,sharableViewDescriptors:E,updater:t,remoteState:T,maybeViewRef:U,animationsActive:R,animatedStyle:O,adaptersArray:F},n.asString="function _f(){const{jestStyleUpdater,sharableViewDescriptors,updater,remoteState,maybeViewRef,animationsActive,animatedStyle,adaptersArray}=jsThis._closure;{jestStyleUpdater(sharableViewDescriptors,updater,remoteState,maybeViewRef,animationsActive,animatedStyle,adaptersArray);}}",n.__workletHash=0xa4797ee89b1,n.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (504:12)",n})():(function(){var t=function(){k(E,l,T,U,R)};return t._closure={styleUpdater:k,sharableViewDescriptors:E,updaterFn:l,remoteState:T,maybeViewRef:U,animationsActive:R},t.asString="function _f(){const{styleUpdater,sharableViewDescriptors,updaterFn,remoteState,maybeViewRef,animationsActive}=jsThis._closure;{styleUpdater(sharableViewDescriptors,updaterFn,remoteState,maybeViewRef,animationsActive);}}",t.__workletHash=0xdae68c20151,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (517:12)",t})();var c=(0,s.startMapper)(n,j,[],l,E);return function(){(0,s.stopMapper)(c)}},o),(0,n.useEffect)(function(){return R.value=!0,function(){R.value=!1}},[]),b(C.value),process.env.JEST_WORKER_ID?{viewDescriptors:V,initial:C,viewsRef:_,animatedStyle:O}:{viewDescriptors:V,initial:C,viewsRef:_}};var n=r(d[1]),s=r(d[2]),o=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var s=y(n);if(s&&s.has(t))return s.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=l?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(o,u,c):o[u]=t[u]}o.default=t,s&&s.set(t,o);return o})(r(d[3])),l=r(d[4]),u=t(r(d[5])),c=r(d[6]),f=r(d[7]),p=r(d[8]),v=r(d[9]);function y(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,s=new WeakMap;return(y=function(t){return t?s:n})(t)}var A,h=((A=function(t,n,o){if(Array.isArray(t)&&t.forEach(function(t,s){return h(t,n&&n[s],o&&o[s])}),'object'==typeof t&&t.onFrame){var l=t,u=l.current;void 0!==o&&('object'==typeof o?void 0!==o.value?u=o.value:void 0!==o.onFrame&&(void 0!==(null==n?void 0:n.current)?u=n.current:void 0!==(null==o?void 0:o.current)&&(u=o.current)):u=o),l.callStart=function(t){l.onStart(l,u,t,n)},l.callStart((0,s.getTimestamp)()),l.callStart=null}else'object'==typeof t&&Object.keys(t).forEach(function(s){return h(t[s],n&&n[s],o&&o[s])})})._closure={getTimestamp:s.getTimestamp},A.asString="function prepareAnimation(animatedProp,lastAnimation,lastValue){const{getTimestamp}=jsThis._closure;{if(Array.isArray(animatedProp)){animatedProp.forEach(function(prop,index){return prepareAnimation(prop,lastAnimation&&lastAnimation[index],lastValue&&lastValue[index]);});}if(typeof animatedProp==='object'&&animatedProp.onFrame){const animation=animatedProp;let value=animation.current;if(lastValue!==undefined){if(typeof lastValue==='object'){if(lastValue.value!==undefined){value=lastValue.value;}else if(lastValue.onFrame!==undefined){if((lastAnimation===null||lastAnimation===void 0?void 0:lastAnimation.current)!==undefined){value=lastAnimation.current;}else if((lastValue===null||lastValue===void 0?void 0:lastValue.current)!==undefined){value=lastValue.current;}}}else{value=lastValue;}}animation.callStart=function(timestamp){animation.onStart(animation,value,timestamp,lastAnimation);};animation.callStart(getTimestamp());animation.callStart=null;}else if(typeof animatedProp==='object'){Object.keys(animatedProp).forEach(function(key){return prepareAnimation(animatedProp[key],lastAnimation&&lastAnimation[key],lastValue&&lastValue[key]);});}}}",A.__workletHash=1333702046144,A.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (67:0)",A),_=(function(){var t=function(t,n,s,o,l){if(!l.value)return!0;if(Array.isArray(t)){o[s]=[];var u=!0;return t.forEach(function(t,c){_(t,n,c,o[s],l)||(u=!1)}),u}if('object'==typeof t&&t.onFrame){var c=!0;return t.finished||(t.callStart&&(t.callStart(n),t.callStart=null),c=t.onFrame(t,n),t.timestamp=n,c&&(t.finished=!0,t.callback&&t.callback(!0))),o[s]=t.current,c}if('object'==typeof t){o[s]={};var f=!0;return Object.keys(t).forEach(function(u){_(t[u],n,u,o[s],l)||(f=!1)}),f}return o[s]=t,!0};return t._closure={},t.asString="function runAnimations(animation,timestamp,key,result,animationsActive){if(!animationsActive.value){return true;}if(Array.isArray(animation)){result[key]=[];let allFinished=true;animation.forEach(function(entry,index){if(!runAnimations(entry,timestamp,index,result[key],animationsActive)){allFinished=false;}});return allFinished;}else if(typeof animation==='object'&&animation.onFrame){let finished=true;if(!animation.finished){if(animation.callStart){animation.callStart(timestamp);animation.callStart=null;}finished=animation.onFrame(animation,timestamp);animation.timestamp=timestamp;if(finished){animation.finished=true;animation.callback&&animation.callback(true);}}result[key]=animation.current;return finished;}else if(typeof animation==='object'){result[key]={};let allFinished=true;Object.keys(animation).forEach(function(k){if(!runAnimations(animation[k],timestamp,k,result[key],animationsActive)){allFinished=false;}});return allFinished;}else{result[key]=animation;return true;}}",t.__workletHash=3625332641327,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (124:0)",t})(),k=(function(){var t=function(t,n,l,u,c){var p,v,y=null!=(p=l.animations)?p:{},A=null!=(v=n())?v:{},k=l.last,w=!1;for(var b in A){var V=A[b];(0,f.isAnimated)(V)?(h(V,y[b],k[b]),y[b]=V,w=!0):delete y[b]}if(w){var S=function n(f){var p=l.animations,v=l.last;if(l.isAnimationCancelled)l.isAnimationRunning=!1;else{var y={},A=!0;for(var h in p){_(p[h],f,h,y,c)?(v[h]=y[h],delete p[h]):A=!1}(0,o.default)(t,y,u),A?l.isAnimationRunning=!1:(0,s.requestFrame)(n)}};l.animations=y,l.isAnimationRunning||(l.isAnimationCancelled=!1,l.isAnimationRunning=!0,_frameTimestamp?S(_frameTimestamp):(0,s.requestFrame)(S)),l.last=Object.assign({},k,A);var j=(0,f.getStyleWithoutAnimations)(l.last);j&&(0,o.default)(t,j,u)}else{l.isAnimationCancelled=!0,l.animations=[];var F=(0,f.styleDiff)(k,A);l.last=Object.assign({},k,A),F&&(0,o.default)(t,A,u)}};return t._closure={isAnimated:f.isAnimated,prepareAnimation:h,runAnimations:_,updateProps:o.default,requestFrame:s.requestFrame,getStyleWithoutAnimations:f.getStyleWithoutAnimations,styleDiff:f.styleDiff},t.asString="function styleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive){const{isAnimated,prepareAnimation,runAnimations,updateProps,requestFrame,getStyleWithoutAnimations,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;for(const key in newValues){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}else{delete animations[key];}}if(hasAnimations){const frame=function(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;for(const propName in animations){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}}if(updates){updateProps(viewDescriptors,updates,maybeViewRef);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}};state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}state.last=Object.assign({},oldValues,newValues);const style=getStyleWithoutAnimations(state.last);if(style){updateProps(viewDescriptors,style,maybeViewRef);}}else{state.isAnimationCancelled=true;state.animations=[];const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(diff){updateProps(viewDescriptors,newValues,maybeViewRef);}}}}",t.__workletHash=475700015036,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (185:0)",t})(),w=(function(){var t=function(t,n,l,u,c,p){var v,y,A=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],k=null!=(v=l.animations)?v:{},w=null!=(y=n())?y:{},b=l.last,V=!1;function S(n){var f=l.animations,v=l.last;if(l.isAnimationCancelled)l.isAnimationRunning=!1;else{var y={},h=!0;Object.keys(f).forEach(function(t){_(f[t],n,t,y,c)?(v[t]=y[t],delete f[t]):h=!1}),Object.keys(y).length&&(0,o.updatePropsJestWrapper)(t,y,u,p,A),h?l.isAnimationRunning=!1:(0,s.requestFrame)(S)}}Object.keys(k).forEach(function(t){var n=w[t];(0,f.isAnimated)(n)||delete k[t]}),Object.keys(w).forEach(function(t){var n=w[t];(0,f.isAnimated)(n)&&(h(n,k[t],b[t]),k[t]=n,V=!0)}),V?(l.animations=k,l.isAnimationRunning||(l.isAnimationCancelled=!1,l.isAnimationRunning=!0,_frameTimestamp?S(_frameTimestamp):(0,s.requestFrame)(S))):(l.isAnimationCancelled=!0,l.animations=[]);var j=(0,f.styleDiff)(b,w);l.last=Object.assign({},b,w),0!==Object.keys(j).length&&(0,o.updatePropsJestWrapper)(t,j,u,p,A)};return t._closure={isAnimated:f.isAnimated,prepareAnimation:h,runAnimations:_,updatePropsJestWrapper:o.updatePropsJestWrapper,requestFrame:s.requestFrame,styleDiff:f.styleDiff},t.asString="function jestStyleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,animatedStyle,adapters=[]){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,requestFrame,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,maybeViewRef,animatedStyle,adapters);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}}else{state.isAnimationCancelled=true;state.animations=[];}const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(Object.keys(diff).length!==0){updatePropsJestWrapper(viewDescriptors,diff,maybeViewRef,animatedStyle,adapters);}}}",t.__workletHash=3969143793855,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (273:0)",t})();function b(t,n){if(Array.isArray(t))for(var s of t)b(s,n);else if('object'==typeof t&&void 0===t.value)for(var o of Object.keys(t))b(t[o],o);else if(void 0!==n&&'object'==typeof t&&void 0!==t.value)throw new Error("invalid value passed to `"+n+"`, maybe you forgot to use `.value`?")}},717,[6,164,706,718,720,707,732,733,735,656]);
|
|
724
724
|
__d(function(g,r,_i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.updatePropsJestWrapper=e.updateProps=e.default=e.colorProps=e.ColorProperties=void 0;var t=o(r(d[1])),s=r(d[2]),n=r(d[3]),p=r(d[4]),i=r(d[5]);function c(o,t){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})),s.push.apply(s,n)}return s}function u(o){for(var s=1;s<arguments.length;s++){var n=null!=arguments[s]?arguments[s]:{};s%2?c(Object(n),!0).forEach(function(s){(0,t.default)(o,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(n,t))})}return o}var l=['backgroundColor','borderBottomColor','borderColor','borderLeftColor','borderRightColor','borderTopColor','borderStartColor','borderEndColor','color','shadowColor','textDecorationColor','tintColor','textShadowColor','overlayColor'];e.colorProps=l;var f,v,P=(0,n.isConfigured)()?(0,n.makeShareable)(l):[];e.ColorProperties=P,(0,i.shouldBeUseWeb)()?((v=function(o,t,s){s&&s.items.forEach(function(o,s){(0,p._updatePropsJS)(t,o)})})._closure={_updatePropsJS:p._updatePropsJS},v.asString="function _f(_,updates,maybeViewRef){const{_updatePropsJS}=jsThis._closure;{if(maybeViewRef){maybeViewRef.items.forEach(function(item,_){_updatePropsJS(updates,item);});}}}",v.__workletHash=2597780801718,v.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/UpdateProps.ts (33:26)",f=v):f=(function(){var o=function(o,t,n){for(var p in t)-1!==P.indexOf(p)&&(t[p]=(0,s.processColor)(t[p]));o.value.forEach(function(o){_updateProps(o.tag,o.name||'RCTView',t)})};return o._closure={ColorProperties:P,processColor:s.processColor},o.asString="function _f(viewDescriptors,updates,_){const{ColorProperties,processColor}=jsThis._closure;{for(const key in updates){if(ColorProperties.indexOf(key)!==-1){updates[key]=processColor(updates[key]);}}viewDescriptors.value.forEach(function(viewDescriptor){_updateProps(viewDescriptor.tag,viewDescriptor.name||'RCTView',updates);});}}",o.__workletHash=5208286904059,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/UpdateProps.ts (46:26)",o})();var b=f;e.updateProps=b;e.updatePropsJestWrapper=function(o,t,s,n,p){p.forEach(function(o){o(t)}),n.current.value=u(u({},n.current.value),t),b(o,t,s)};var _=b;e.default=_},718,[6,31,719,706,708,656]);
|
|
725
725
|
__d(function(_g,_r,_i,_a,m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.toRGBA=e.rgbaColor=e.red=e.processColorInitially=e.processColor=e.opacity=e.isColor=e.hsvToColor=e.green=e.convertToHSVA=e.blue=e.RGBtoHSV=void 0;var r,a=_r(_d[0]),o=_r(_d[1]),t='[-+]?\\d*\\.?\\d+',n="[-+]?\\d*\\.?\\d+%",s=((r=function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return'\\(\\s*('+a.join(')\\s*,\\s*(')+')\\s*\\)'})._closure={},r.asString="function call(...args){return'\\\\(\\\\s*('+args.join(')\\\\s*,\\\\s*(')+')\\\\s*\\\\)';}",r.__workletHash=0xf903edb9b5f,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (29:0)",r),l={},c=(0,o.isConfigured)()?(0,o.makeRemote)({}):{},i=(function(){var r=function(){var r=_WORKLET?c:l;return void 0===r.rgb&&(r.rgb=new RegExp('rgb'+s(t,t,t)),r.rgba=new RegExp('rgba'+s(t,t,t,t)),r.hsl=new RegExp('hsl'+s(t,n,n)),r.hsla=new RegExp('hsla'+s(t,n,n,t)),r.hex3=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,r.hex4=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,r.hex6=/^#([0-9a-fA-F]{6})$/,r.hex8=/^#([0-9a-fA-F]{8})$/),r};return r._closure={uiCachedMatchers:c,jsCachedMatchers:l,call:s,NUMBER:t,PERCENTAGE:n},r.asString="function getMatchers(){const{uiCachedMatchers,jsCachedMatchers,call,NUMBER,PERCENTAGE}=jsThis._closure;{const cachedMatchers=_WORKLET?uiCachedMatchers:jsCachedMatchers;if(cachedMatchers.rgb===undefined){cachedMatchers.rgb=new RegExp('rgb'+call(NUMBER,NUMBER,NUMBER));cachedMatchers.rgba=new RegExp('rgba'+call(NUMBER,NUMBER,NUMBER,NUMBER));cachedMatchers.hsl=new RegExp('hsl'+call(NUMBER,PERCENTAGE,PERCENTAGE));cachedMatchers.hsla=new RegExp('hsla'+call(NUMBER,PERCENTAGE,PERCENTAGE,NUMBER));cachedMatchers.hex3=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;cachedMatchers.hex4=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;cachedMatchers.hex6=/^#([0-9a-fA-F]{6})$/;cachedMatchers.hex8=/^#([0-9a-fA-F]{8})$/;}return cachedMatchers;}}",r.__workletHash=0xaaabfe95e28,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (50:0)",r})();i();var u=(function(){var r=function(r,a,o){return o<0&&(o+=1),o>1&&(o-=1),o<.16666666666666666?r+6*(a-r)*o:o<.5?a:o<.6666666666666666?r+(a-r)*(.6666666666666666-o)*6:r};return r._closure={},r.asString="function hue2rgb(p,q,t){if(t<0){t+=1;}if(t>1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;}",r.__workletHash=3618366985414,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (79:0)",r})(),d=(function(){var r=function(r,a,o){var t=o<.5?o*(1+a):o+a-o*a,n=2*o-t,s=u(n,t,r+.3333333333333333),l=u(n,t,r),c=u(n,t,r-.3333333333333333);return Math.round(255*s)<<24|Math.round(255*l)<<16|Math.round(255*c)<<8};return r._closure={hue2rgb:u},r.asString="function hslToRgb(h,s,l){const{hue2rgb}=jsThis._closure;{const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;}}",r.__workletHash=4500055963175,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (99:0)",r})(),h=(function(){var r=function(r){var a=Number.parseInt(r,10);return a<0?0:a>255?255:a};return r._closure={},r.asString="function parse255(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}",r.__workletHash=7024550667346,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (114:0)",r})(),g=(function(){var r=function(r){return(Number.parseFloat(r)%360+360)%360/360};return r._closure={},r.asString="function parse360(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}",r.__workletHash=6683812623228,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (126:0)",r})(),v=(function(){var r=function(r){var a=Number.parseFloat(r);return a<0?0:a>1?255:Math.round(255*a)};return r._closure={},r.asString="function parse1(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}",r.__workletHash=7197247664793,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (132:0)",r})(),f=(function(){var r=function(r){var a=Number.parseFloat(r);return a<0?0:a>100?1:a/100};return r._closure={},r.asString="function parsePercentage(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}",r.__workletHash=8813932430184,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (144:0)",r})(),p=(0,o.isConfigured)()?(0,o.makeShareable)({transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}):null,b=(function(){var r=function(r){var a,o,t,n,s,l,c,u;if('number'==typeof r)return r>>>0===r&&r>=0&&r<=4294967295?r:null;if('string'!=typeof r)return null;var b,_=i();return(b=null==_?void 0:null==(a=_.hex6)?void 0:a.exec(r))?Number.parseInt(b[1]+'ff',16)>>>0:void 0!==p[r]?p[r]:(b=null==_?void 0:null==(o=_.rgb)?void 0:o.exec(r))?(h(b[1])<<24|h(b[2])<<16|h(b[3])<<8|255)>>>0:(b=null==_?void 0:null==(t=_.rgba)?void 0:t.exec(r))?(h(b[1])<<24|h(b[2])<<16|h(b[3])<<8|v(b[4]))>>>0:(b=null==_?void 0:null==(n=_.hex3)?void 0:n.exec(r))?Number.parseInt(b[1]+b[1]+b[2]+b[2]+b[3]+b[3]+'ff',16)>>>0:(b=null==_?void 0:null==(s=_.hex8)?void 0:s.exec(r))?Number.parseInt(b[1],16)>>>0:(b=null==_?void 0:null==(l=_.hex4)?void 0:l.exec(r))?Number.parseInt(b[1]+b[1]+b[2]+b[2]+b[3]+b[3]+b[4]+b[4],16)>>>0:(b=null==_?void 0:null==(c=_.hsl)?void 0:c.exec(r))?(255|d(g(b[1]),f(b[2]),f(b[3])))>>>0:(b=null==_?void 0:null==(u=_.hsla)?void 0:u.exec(r))?(d(g(b[1]),f(b[2]),f(b[3]))|v(b[4]))>>>0:null};return r._closure={getMatchers:i,names:p,parse255:h,parse1:v,hslToRgb:d,parse360:g,parsePercentage:f},r.asString="function normalizeColor(color){const{getMatchers,names,parse255,parse1,hslToRgb,parse360,parsePercentage}=jsThis._closure;{var _matchers$hex,_matchers$rgb,_matchers$rgba,_matchers$hex2,_matchers$hex3,_matchers$hex4,_matchers$hsl,_matchers$hsla;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}const matchers=getMatchers();let match;if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex=matchers.hex6)===null||_matchers$hex===void 0?void 0:_matchers$hex.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(names[color]!==undefined){return names[color];}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgb=matchers.rgb)===null||_matchers$rgb===void 0?void 0:_matchers$rgb.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgba=matchers.rgba)===null||_matchers$rgba===void 0?void 0:_matchers$rgba.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|parse1(match[4]))>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex2=matchers.hex3)===null||_matchers$hex2===void 0?void 0:_matchers$hex2.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+'ff',16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex3=matchers.hex8)===null||_matchers$hex3===void 0?void 0:_matchers$hex3.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex4=matchers.hex4)===null||_matchers$hex4===void 0?void 0:_matchers$hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsl=matchers.hsl)===null||_matchers$hsl===void 0?void 0:_matchers$hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsla=matchers.hsla)===null||_matchers$hsla===void 0?void 0:_matchers$hsla.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|parse1(match[4]))>>>0;}return null;}}",r.__workletHash=0x9c840fd31ae,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (314:0)",r})(),_=(function(){var r=function(r){return(r>>24&255)/255};return r._closure={},r.asString="function _f(c){return(c>>24&255)/255;}",r.__workletHash=0xd60a2a09964,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (426:23)",r})();e.opacity=_;var k=(function(){var r=function(r){return r>>16&255};return r._closure={},r.asString="function _f(c){return c>>16&255;}",r.__workletHash=0xba6200c4759,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (431:19)",r})();e.red=k;var x=(function(){var r=function(r){return r>>8&255};return r._closure={},r.asString="function _f(c){return c>>8&255;}",r.__workletHash=3499836539046,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (436:21)",r})();e.green=x;var C=(function(){var r=function(r){return 255&r};return r._closure={},r.asString="function _f(c){return c&255;}",r.__workletHash=0xd6ef76daabe,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (441:20)",r})();e.blue=C;var w=(function(){var r=function(r,o,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if('web'===a.Platform.OS||!_WORKLET)return"rgba("+r+", "+o+", "+t+", "+n+")";var s=16777216*Math.round(255*n)+65536*Math.round(r)+256*Math.round(o)+Math.round(t);return'android'===a.Platform.OS?s<2147483648?s:s-4294967296:s};return r._closure={Platform:{OS:a.Platform.OS}},r.asString="function _f(r,g,b,alpha=1){const{Platform}=jsThis._closure;{if(Platform.OS==='web'||!_WORKLET){return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+alpha+\")\";}const c=Math.round(alpha*255)*(1<<24)+Math.round(r)*(1<<16)+Math.round(g)*(1<<8)+Math.round(b);if(Platform.OS==='android'){return c<1<<31>>>0?c:c-4294967296;}return c;}}",r.__workletHash=3685267134575,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (446:25)",r})();e.rgbaColor=w;var y=(function(){var r=function(r,a,o){1===arguments.length&&(a=r.g,o=r.b,r=r.r);var t,n=Math.max(r,a,o),s=Math.min(r,a,o),l=n-s,c=0===n?0:l/n,i=n/255;switch(n){default:case s:t=0;break;case r:t=a-o+l*(a<o?6:0),t/=6*l;break;case a:t=o-r+2*l,t/=6*l;break;case o:t=r-a+4*l,t/=6*l}return{h:t,s:c,v:i}};return r._closure={},r.asString="function RGBtoHSV(r,g,b){if(arguments.length===1){g=r.g;b=r.b;r=r.r;}const max=Math.max(r,g,b);const min=Math.min(r,g,b);const d=max-min;const s=max===0?0:d/max;const v=max/255;let h;switch(max){default:case min:h=0;break;case r:h=g-b+d*(g<b?6:0);h/=6*d;break;case g:h=b-r+d*2;h/=6*d;break;case b:h=r-g+d*4;h/=6*d;break;}return{h:h,s:s,v:v};}",r.__workletHash=0xf0c87722021,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (478:7)",r})();e.RGBtoHSV=y;var M=(function(){var r=function(r,a,o){var t,n,s,l,c,i,u,d;switch(1===arguments.length&&(a=r.s,o=r.v,r=r.h),i=o*(1-a),u=o*(1-(c=6*r-(l=Math.floor(6*r)))*a),d=o*(1-(1-c)*a),l%6){case 0:t=o,n=d,s=i;break;case 1:t=u,n=o,s=i;break;case 2:t=i,n=o,s=d;break;case 3:t=i,n=u,s=o;break;case 4:t=d,n=i,s=o;break;case 5:t=o,n=i,s=u}return{r:Math.round(255*t),g:Math.round(255*n),b:Math.round(255*s)}};return r._closure={},r.asString="function HSVtoRGB(h,s,v){var r,g,b,i,f,p,q,t;if(arguments.length===1){s=h.s;v=h.v;h=h.h;}i=Math.floor(h*6);f=h*6-i;p=v*(1-s);q=v*(1-f*s);t=v*(1-(1-f)*s);switch(i%6){case 0:r=v,g=t,b=p;break;case 1:r=q,g=v,b=p;break;case 2:r=p,g=v,b=t;break;case 3:r=p,g=q,b=v;break;case 4:r=t,g=p,b=v;break;case 5:r=v,g=p,b=q;break;}return{r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)};}",r.__workletHash=8891027662548,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (531:0)",r})(),S=(function(){var r=function(r,a,o){var t=M(r,a,o),n=t.r,s=t.g,l=t.b;return w(n,s,l)};return r._closure={HSVtoRGB:M,rgbaColor:w},r.asString="function _f(h,s,v){const{HSVtoRGB,rgbaColor}=jsThis._closure;{const{r:r,g:g,b:b}=HSVtoRGB(h,s,v);return rgbaColor(r,g,b);}}",r.__workletHash=0xad5827cb6d2,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (573:26)",r})();e.hsvToColor=S;var R=(function(){var r=function(r){if(null===r||void 0===r||'number'==typeof r)return r;var a=b(r);return null!==a&&void 0!==a?'number'!=typeof a?null:a=(a<<24|a>>>8)>>>0:void 0};return r._closure={normalizeColor:b},r.asString="function processColorInitially(color){const{normalizeColor}=jsThis._closure;{if(color===null||color===undefined||typeof color==='number'){return color;}let normalizedColor=normalizeColor(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}normalizedColor=(normalizedColor<<24|normalizedColor>>>8)>>>0;return normalizedColor;}}",r.__workletHash=9042500432441,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (583:7)",r})();e.processColorInitially=R;var H=(function(){var r=function(r){return'string'==typeof r&&null!=R(r)};return r._closure={processColorInitially:R},r.asString="function isColor(value){const{processColorInitially}=jsThis._closure;{if(typeof value!=='string'){return false;}return processColorInitially(value)!=null;}}",r.__workletHash=1808885354308,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (605:7)",r})();e.isColor=H;var z=(function(){var r=function(r){var o=R(r);if(null!==o&&void 0!==o)return'number'!=typeof o?null:('android'===a.Platform.OS&&(o|=0),o)};return r._closure={processColorInitially:R,Platform:{OS:a.Platform.OS}},r.asString="function processColor(color){const{processColorInitially,Platform}=jsThis._closure;{let normalizedColor=processColorInitially(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}if(Platform.OS==='android'){normalizedColor=normalizedColor|0x0;}return normalizedColor;}}",r.__workletHash=0xe59d552167e,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (613:7)",r})();e.processColor=z;var E=(function(){var r=function(r){var a=R(r),o=(a>>>24)/255,t=y(a<<8>>>24,a<<16>>>24,a<<24>>>24);return[t.h,t.s,t.v,o]};return r._closure={processColorInitially:R,RGBtoHSV:y},r.asString="function convertToHSVA(color){const{processColorInitially,RGBtoHSV}=jsThis._closure;{const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=processedColor<<8>>>24;const g=processedColor<<16>>>24;const b=processedColor<<24>>>24;const{h:h,s:s,v:v}=RGBtoHSV(r,g,b);return[h,s,v,a];}}",r.__workletHash=0xb07725cb4ca,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (637:7)",r})();e.convertToHSVA=E;var $=(function(){var r=function(r){var a=M(r[0],r[1],r[2]);return"rgba("+a.r+", "+a.g+", "+a.b+", "+r[3]+")"};return r._closure={HSVtoRGB:M},r.asString="function toRGBA(HSVA){const{HSVtoRGB}=jsThis._closure;{const{r:r,g:g,b:b}=HSVtoRGB(HSVA[0],HSVA[1],HSVA[2]);return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+HSVA[3]+\")\";}}",r.__workletHash=6249111174588,r.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/Colors.ts (648:7)",r})();e.toRGBA=$},719,[2,706]);
|
|
726
726
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DecayAnimation",{enumerable:!0,get:function(){return c.DecayAnimation}}),Object.defineProperty(e,"DelayAnimation",{enumerable:!0,get:function(){return n.DelayAnimation}}),Object.defineProperty(e,"HigherOrderAnimation",{enumerable:!0,get:function(){return n.HigherOrderAnimation}}),Object.defineProperty(e,"NextAnimation",{enumerable:!0,get:function(){return n.NextAnimation}}),Object.defineProperty(e,"RepeatAnimation",{enumerable:!0,get:function(){return n.RepeatAnimation}}),Object.defineProperty(e,"SequenceAnimation",{enumerable:!0,get:function(){return n.SequenceAnimation}}),Object.defineProperty(e,"SpringAnimation",{enumerable:!0,get:function(){return o.SpringAnimation}}),Object.defineProperty(e,"StyleLayoutAnimation",{enumerable:!0,get:function(){return n.StyleLayoutAnimation}}),Object.defineProperty(e,"TimingAnimation",{enumerable:!0,get:function(){return u.TimingAnimation}}),Object.defineProperty(e,"cancelAnimation",{enumerable:!0,get:function(){return t.cancelAnimation}}),Object.defineProperty(e,"defineAnimation",{enumerable:!0,get:function(){return t.defineAnimation}}),Object.defineProperty(e,"initialUpdaterRun",{enumerable:!0,get:function(){return t.initialUpdaterRun}}),Object.defineProperty(e,"withDecay",{enumerable:!0,get:function(){return c.withDecay}}),Object.defineProperty(e,"withDelay",{enumerable:!0,get:function(){return f.withDelay}}),Object.defineProperty(e,"withRepeat",{enumerable:!0,get:function(){return b.withRepeat}}),Object.defineProperty(e,"withSequence",{enumerable:!0,get:function(){return y.withSequence}}),Object.defineProperty(e,"withSpring",{enumerable:!0,get:function(){return o.withSpring}}),Object.defineProperty(e,"withStyleAnimation",{enumerable:!0,get:function(){return l.withStyleAnimation}}),Object.defineProperty(e,"withTiming",{enumerable:!0,get:function(){return u.withTiming}});var n=r(d[0]),t=r(d[1]),u=r(d[2]),o=r(d[3]),c=r(d[4]),f=r(d[5]),b=r(d[6]),y=r(d[7]),l=r(d[8])},720,[721,722,723,726,727,728,729,730,731]);
|
|
@@ -744,7 +744,7 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.u
|
|
|
744
744
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedRef=function(){var o=(0,u.useSharedValue)(-1),c=(0,n.useRef)();if(!c.current){var s=((l=function(n){return n&&(o.value=(0,t.getTag)(n),s.current=n),o.value})._closure={tag:o,getTag:t.getTag,fun:s},l.asString="function _f(component){const{tag,getTag,fun}=jsThis._closure;{if(component){tag.value=getTag(component);fun.current=component;}return tag.value;}}",l.__workletHash=2837072662922,l.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedRef.ts (11:61)",l);Object.defineProperty(s,'current',{value:null,writable:!0,enumerable:!1}),c.current=s}var l;return c.current};var n=r(d[0]),t=r(d[1]),u=r(d[2])},738,[164,739,732]);
|
|
745
745
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getTag=function(n){return(0,t.findNodeHandle)(n)},e.setGestureState=e.scrollTo=e.measure=void 0;var t=r(d[0]);var n,o=(0,r(d[1]).shouldBeUseWeb)(),s=((n=function(t){if(!_WORKLET||o)return console.warn('[reanimated.measure] method cannot be used for web or Chrome Debugger'),{x:NaN,y:NaN,width:NaN,height:NaN,pageX:NaN,pageY:NaN};var n=t(),s=_measure(n);if(-1234567===s.x)throw new Error("The view with tag "+n+" could not be measured");return s})._closure={isNativeIndefined:o,NaN:NaN},n.asString="function measure(animatedRef){const{isNativeIndefined,NaN}=jsThis._closure;{if(!_WORKLET||isNativeIndefined){console.warn('[reanimated.measure] method cannot be used for web or Chrome Debugger');return{x:NaN,y:NaN,width:NaN,height:NaN,pageX:NaN,pageY:NaN};}const viewTag=animatedRef();const result=_measure(viewTag);if(result.x===-1234567){throw new Error(\"The view with tag \"+viewTag+\" could not be measured\");}return result;}}",n.__workletHash=0xf582ec62270,n.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/NativeMethods.ts (26:7)",n);e.measure=s;var u=(function(){var t=function(t,n,s,u){if(_WORKLET&&!o){var c=t();_scrollTo(c,n,s,u)}};return t._closure={isNativeIndefined:o},t.asString="function scrollTo(animatedRef,x,y,animated){const{isNativeIndefined}=jsThis._closure;{if(!_WORKLET||isNativeIndefined){return;}const viewTag=animatedRef();_scrollTo(viewTag,x,y,animated);}}",t.__workletHash=0xe4db76aeb62,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/NativeMethods.ts (51:7)",t})();e.scrollTo=u;var c=(function(){var t=function(t,n){_WORKLET&&!o?_setGestureState(t,n):console.warn('[Reanimated] You can not use setGestureState in non-worklet function.')};return t._closure={isNativeIndefined:o},t.asString="function setGestureState(handlerTag,newState){const{isNativeIndefined}=jsThis._closure;{if(!_WORKLET||isNativeIndefined){console.warn('[Reanimated] You can not use setGestureState in non-worklet function.');return;}_setGestureState(handlerTag,newState);}}",t.__workletHash=3665262151737,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/NativeMethods.ts (65:7)",t})();e.setGestureState=c},739,[2,656]);
|
|
746
746
|
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedScrollHandler=function(o,t){var l='function'==typeof o?{onScroll:o}:o,c=(0,n.useHandler)(l,t),s=c.context,u=c.doDependenciesDiffer,v=['onScroll'];void 0!==l.onBeginDrag&&v.push('onScrollBeginDrag');void 0!==l.onEndDrag&&v.push('onScrollEndDrag');void 0!==l.onMomentumBegin&&v.push('onMomentumScrollBegin');void 0!==l.onMomentumEnd&&v.push('onMomentumScrollEnd');return(0,n.useEvent)((S=function(n){var o=l.onScroll,t=l.onBeginDrag,c=l.onEndDrag,u=l.onMomentumBegin,v=l.onMomentumEnd;o&&n.eventName.endsWith('onScroll')?o(n,s):t&&n.eventName.endsWith('onScrollBeginDrag')?t(n,s):c&&n.eventName.endsWith('onScrollEndDrag')?c(n,s):u&&n.eventName.endsWith('onMomentumScrollBegin')?u(n,s):v&&n.eventName.endsWith('onMomentumScrollEnd')&&v(n,s)},S._closure={scrollHandlers:l,context:s},S.asString="function _f(event){const{scrollHandlers,context}=jsThis._closure;{const{onScroll:onScroll,onBeginDrag:onBeginDrag,onEndDrag:onEndDrag,onMomentumBegin:onMomentumBegin,onMomentumEnd:onMomentumEnd}=scrollHandlers;if(onScroll&&event.eventName.endsWith('onScroll')){onScroll(event,context);}else if(onBeginDrag&&event.eventName.endsWith('onScrollBeginDrag')){onBeginDrag(event,context);}else if(onEndDrag&&event.eventName.endsWith('onScrollEndDrag')){onEndDrag(event,context);}else if(onMomentumBegin&&event.eventName.endsWith('onMomentumScrollBegin')){onMomentumBegin(event,context);}else if(onMomentumEnd&&event.eventName.endsWith('onMomentumScrollEnd')){onMomentumEnd(event,context);}}}",S.__workletHash=0x9f5d625e09e,S.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useAnimatedScrollHandler.ts (53:4)",S),v,u);var S};var n=r(d[0])},740,[716]);
|
|
747
|
-
__d(function(g,r,i,a,m,e,d){
|
|
747
|
+
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useDerivedValue=function(s,o){var c,l=(0,u.useRef)(null),_=Object.values(null!=(c=s._closure)?c:{});void 0===o?o=[].concat(_,[s.__workletHash]):o.push(s.__workletHash);null===l.current&&(l.current=(0,t.makeMutable)((0,n.initialUpdaterRun)(s)));var f=l.current;return(0,u.useEffect)(function(){var u,n=((u=function(){f.value=s()})._closure={sharedValue:f,processor:s},u.asString="function _f(){const{sharedValue,processor}=jsThis._closure;{sharedValue.value=processor();}}",u.__workletHash=0xb31b2ea47c9,u.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/hook/useDerivedValue.ts (31:16)",u),o=(0,t.startMapper)(n,_,[f]);return function(){(0,t.stopMapper)(o)}},o),(0,u.useEffect)(function(){return function(){l.current=null}},[]),f};var u=r(d[0]),n=r(d[1]),t=r(d[2])},741,[164,720,706]);
|
|
748
748
|
__d(function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.SensorType=void 0,e.useAnimatedSensor=function(n,u){var s=(0,c.useRef)({sensor:null,unregister:function(){},isAvailable:!1,config:{interval:0}});if(null===s.current.sensor){var l;s.current.config=f({interval:10},u),l=n===t.ROTATION?{qw:0,qx:0,qy:0,qz:0,yaw:0,pitch:0,roll:0}:{x:0,y:0,z:0},s.current.sensor=(0,o.makeMutable)(l)}return(0,c.useEffect)(function(){s.current.config=f({interval:10},u);var t=i.default.registerSensor(n,s.current.config.interval,s.current.sensor);return-1!==t?(s.current.unregister=function(){return i.default.unregisterSensor(t)},s.current.isAvailable=!0):(s.current.unregister=function(){},s.current.isAvailable=!1),function(){s.current.unregister()}},[n,u]),s.current};var t,u=n(r(d[1])),c=r(d[2]),o=r(d[3]),i=n(r(d[4]));function s(n,t){var u=Object.keys(n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);t&&(c=c.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),u.push.apply(u,c)}return u}function f(n){for(var t=1;t<arguments.length;t++){var c=null!=arguments[t]?arguments[t]:{};t%2?s(Object(c),!0).forEach(function(t){(0,u.default)(n,t,c[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(c)):s(Object(c)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(c,t))})}return n}e.SensorType=t,(function(n){n[n.ACCELEROMETER=1]="ACCELEROMETER",n[n.GYROSCOPE=2]="GYROSCOPE",n[n.GRAVITY=3]="GRAVITY",n[n.MAGNETIC_FIELD=4]="MAGNETIC_FIELD",n[n.ROTATION=5]="ROTATION"})(t||(e.SensorType=t={}))},742,[6,31,164,706,707]);
|
|
749
749
|
__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.interpolate=e.Extrapolation=void 0;var n,o=t(r(d[1]));e.Extrapolation=n,(function(t){t.IDENTITY="identity",t.CLAMP="clamp",t.EXTEND="extend"})(n||(e.Extrapolation=n={}));var i,p=((i=function(t){return void 0!==t.__nodeId})._closure={},i.asString="function isNode(x){return x.__nodeId!==undefined;}",i.__workletHash=0xa64d4085391,i.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolation.ts (37:0)",i),u=(function(){var t=function(t,o,i,p,u,l){switch(t){case n.IDENTITY:return l;case n.CLAMP:return o*i<o*p?p:u;case n.EXTEND:default:return i}};return t._closure={Extrapolation:{IDENTITY:n.IDENTITY,CLAMP:n.CLAMP,EXTEND:n.EXTEND}},t.asString="function getVal(type,coef,val,leftEdgeOutput,rightEdgeOutput,x){const{Extrapolation}=jsThis._closure;{switch(type){case Extrapolation.IDENTITY:return x;case Extrapolation.CLAMP:if(coef*val<coef*leftEdgeOutput){return leftEdgeOutput;}return rightEdgeOutput;case Extrapolation.EXTEND:default:return val;}}}",t.__workletHash=0xfb17117293f,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolation.ts (42:0)",t})(),l=(function(){var t=function(t){return t===n.EXTEND||t===n.CLAMP||t===n.IDENTITY};return t._closure={Extrapolation:{EXTEND:n.EXTEND,CLAMP:n.CLAMP,IDENTITY:n.IDENTITY}},t.asString="function isExtrapolate(value){const{Extrapolation}=jsThis._closure;{return value===Extrapolation.EXTEND||value===Extrapolation.CLAMP||value===Extrapolation.IDENTITY;}}",t.__workletHash=0x94b22a16c5c,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolation.ts (66:0)",t})(),E=(function(){var t=function(t){var o={extrapolateLeft:n.EXTEND,extrapolateRight:n.EXTEND};if(!t)return o;if('string'==typeof t){if(!l(t))throw new Error("Reanimated: not supported value for \"interpolate\" \nSupported values: [\"extend\", \"clamp\", \"identity\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\n Valid example:\n interpolate(value, [inputRange], [outputRange], \"clamp\")");return o.extrapolateLeft=t,o.extrapolateRight=t,o}if(t.extrapolateLeft&&!l(t.extrapolateLeft)||t.extrapolateRight&&!l(t.extrapolateRight))throw new Error("Reanimated: not supported value for \"interpolate\" \nSupported values: [\"extend\", \"clamp\", \"identity\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\n Valid example:\n interpolate(value, [inputRange], [outputRange], {\n extrapolateLeft: Extrapolation.CLAMP,\n extrapolateRight: Extrapolation.IDENTITY\n }})");return Object.assign(o,t),o};return t._closure={Extrapolation:{EXTEND:n.EXTEND},isExtrapolate:l},t.asString="function validateType(type){const{Extrapolation,isExtrapolate}=jsThis._closure;{const extrapolationConfig={extrapolateLeft:Extrapolation.EXTEND,extrapolateRight:Extrapolation.EXTEND};if(!type){return extrapolationConfig;}if(typeof type==='string'){if(!isExtrapolate(type)){throw new Error(\"Reanimated: not supported value for \\\"interpolate\\\" \\nSupported values: [\\\"extend\\\", \\\"clamp\\\", \\\"identity\\\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\\n Valid example:\\n interpolate(value, [inputRange], [outputRange], \\\"clamp\\\")\");}extrapolationConfig.extrapolateLeft=type;extrapolationConfig.extrapolateRight=type;return extrapolationConfig;}if(type.extrapolateLeft&&!isExtrapolate(type.extrapolateLeft)||type.extrapolateRight&&!isExtrapolate(type.extrapolateRight)){throw new Error(\"Reanimated: not supported value for \\\"interpolate\\\" \\nSupported values: [\\\"extend\\\", \\\"clamp\\\", \\\"identity\\\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\\n Valid example:\\n interpolate(value, [inputRange], [outputRange], {\\n extrapolateLeft: Extrapolation.CLAMP,\\n extrapolateRight: Extrapolation.IDENTITY\\n }})\");}Object.assign(extrapolationConfig,type);return extrapolationConfig;}}",t.__workletHash=7740971206170,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolation.ts (78:0)",t})(),s=(function(){var t=function(t,n,o){var i=n.leftEdgeInput,p=n.rightEdgeInput,l=n.leftEdgeOutput,E=n.rightEdgeOutput;if(p-i==0)return l;var s=l+(t-i)/(p-i)*(E-l),f=E>=l?1:-1;return f*s<f*l?u(o.extrapolateLeft,f,s,l,E,t):f*s>f*E?u(o.extrapolateRight,f,s,l,E,t):s};return t._closure={getVal:u},t.asString="function internalInterpolate(x,narrowedInput,extrapolationConfig){const{getVal}=jsThis._closure;{const{leftEdgeInput:leftEdgeInput,rightEdgeInput:rightEdgeInput,leftEdgeOutput:leftEdgeOutput,rightEdgeOutput:rightEdgeOutput}=narrowedInput;if(rightEdgeInput-leftEdgeInput===0)return leftEdgeOutput;const progress=(x-leftEdgeInput)/(rightEdgeInput-leftEdgeInput);const val=leftEdgeOutput+progress*(rightEdgeOutput-leftEdgeOutput);const coef=rightEdgeOutput>=leftEdgeOutput?1:-1;if(coef*val<coef*leftEdgeOutput){return getVal(extrapolationConfig.extrapolateLeft,coef,val,leftEdgeOutput,rightEdgeOutput,x);}else if(coef*val>coef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;}}",t.__workletHash=8108992359068,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolation.ts (120:0)",t})(),f=(function(){var t=function(t,n,i,u){if(n.length<2||i.length<2)throw Error('Interpolation input and output should contain at least two values.');var l=E(u);if(p(t))return console.warn("interpolate() was renamed to interpolateNode() in Reanimated 2. Please use interpolateNode() instead"),(0,o.default)(t,{inputRange:n,outputRange:i,extrapolateLeft:l.extrapolateLeft,extrapolateRight:l.extrapolateRight});var f=n.length,x={leftEdgeInput:n[0],rightEdgeInput:n[1],leftEdgeOutput:i[0],rightEdgeOutput:i[1]};if(f>2)if(t>n[f-1])x.leftEdgeInput=n[f-2],x.rightEdgeInput=n[f-1],x.leftEdgeOutput=i[f-2],x.rightEdgeOutput=i[f-1];else for(var c=1;c<f;++c)if(t<=n[c]){x.leftEdgeInput=n[c-1],x.rightEdgeInput=n[c],x.leftEdgeOutput=i[c-1],x.rightEdgeOutput=i[c];break}return s(t,x,l)};return t._closure={validateType:E,isNode:p,interpolateNode:o.default,internalInterpolate:s},t.asString="function interpolate(x,input,output,type){const{validateType,isNode,interpolateNode,internalInterpolate}=jsThis._closure;{if(input.length<2||output.length<2){throw Error('Interpolation input and output should contain at least two values.');}const extrapolationConfig=validateType(type);if(isNode(x)){console.warn(\"interpolate() was renamed to interpolateNode() in Reanimated 2. Please use interpolateNode() instead\");return interpolateNode(x,{inputRange:input,outputRange:output,extrapolateLeft:extrapolationConfig.extrapolateLeft,extrapolateRight:extrapolationConfig.extrapolateRight});}const length=input.length;const narrowedInput={leftEdgeInput:input[0],rightEdgeInput:input[1],leftEdgeOutput:output[0],rightEdgeOutput:output[1]};if(length>2){if(x>input[length-1]){narrowedInput.leftEdgeInput=input[length-2];narrowedInput.rightEdgeInput=input[length-1];narrowedInput.leftEdgeOutput=output[length-2];narrowedInput.rightEdgeOutput=output[length-1];}else{for(let i=1;i<length;++i){if(x<=input[i]){narrowedInput.leftEdgeInput=input[i-1];narrowedInput.rightEdgeInput=input[i];narrowedInput.leftEdgeOutput=output[i-1];narrowedInput.rightEdgeOutput=output[i];break;}}}}return internalInterpolate(x,narrowedInput,extrapolationConfig);}}",t.__workletHash=0xcea890c6107,t.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolation.ts (158:7)",t})();e.interpolate=f},743,[6,678]);
|
|
750
750
|
__d(function(_g,_r,_i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.interpolateSharableColor=e.interpolateColor=e.ColorSpace=void 0,e.useInterpolateConfig=function(o,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.RGB;return(0,s.useSharedValue)({inputRange:o,outputRange:t,colorSpace:l,cache:(0,a.makeMutable)(null)})};var o,r,t=_r(d[0]),a=_r(d[1]),l=_r(d[2]),n=_r(d[3]),s=_r(d[4]),p=((o=function(o,r,a){var s=(0,l.interpolate)(o,r,a.h,n.Extrapolate.CLAMP),p=(0,l.interpolate)(o,r,a.s,n.Extrapolate.CLAMP),c=(0,l.interpolate)(o,r,a.v,n.Extrapolate.CLAMP);return(0,t.hsvToColor)(s,p,c)})._closure={interpolate:l.interpolate,Extrapolate:{CLAMP:n.Extrapolate.CLAMP},hsvToColor:t.hsvToColor},o.asString="function _f(value,inputRange,colors){const{interpolate,Extrapolate,hsvToColor}=jsThis._closure;{const h=interpolate(value,inputRange,colors.h,Extrapolate.CLAMP);const s=interpolate(value,inputRange,colors.s,Extrapolate.CLAMP);const v=interpolate(value,inputRange,colors.v,Extrapolate.CLAMP);return hsvToColor(h,s,v);}}",o.__workletHash=8523421253831,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts (18:29)",o),c=(function(){var o=function(o,r,a){var s=(0,l.interpolate)(o,r,a.r,n.Extrapolate.CLAMP),p=(0,l.interpolate)(o,r,a.g,n.Extrapolate.CLAMP),c=(0,l.interpolate)(o,r,a.b,n.Extrapolate.CLAMP),i=(0,l.interpolate)(o,r,a.a,n.Extrapolate.CLAMP);return(0,t.rgbaColor)(s,p,c,i)};return o._closure={interpolate:l.interpolate,Extrapolate:{CLAMP:n.Extrapolate.CLAMP},rgbaColor:t.rgbaColor},o.asString="function _f(value,inputRange,colors){const{interpolate,Extrapolate,rgbaColor}=jsThis._closure;{const r=interpolate(value,inputRange,colors.r,Extrapolate.CLAMP);const g=interpolate(value,inputRange,colors.g,Extrapolate.CLAMP);const b=interpolate(value,inputRange,colors.b,Extrapolate.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolate.CLAMP);return rgbaColor(r,g,b,a);}}",o.__workletHash=9163961585023,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts (30:29)",o})(),i=(function(){var o=function(o){for(var r=[],a=[],l=[],n=[],s=0;s<o.length;++s){var p=o[s],c=(0,t.processColor)(p);null!==c&&void 0!==c&&(r.push((0,t.red)(c)),a.push((0,t.green)(c)),l.push((0,t.blue)(c)),n.push((0,t.opacity)(c)))}return{r:r,g:a,b:l,a:n}};return o._closure={processColor:t.processColor,red:t.red,green:t.green,blue:t.blue,opacity:t.opacity},o.asString="function _f(colors){const{processColor,red,green,blue,opacity}=jsThis._closure;{const r=[];const g=[];const b=[];const a=[];for(let i=0;i<colors.length;++i){const color=colors[i];const processedColor=processColor(color);if(processedColor!==null&&processedColor!==undefined){r.push(red(processedColor));g.push(green(processedColor));b.push(blue(processedColor));a.push(opacity(processedColor));}}return{r:r,g:g,b:b,a:a};}}",o.__workletHash=3521870636649,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts (50:26)",o})(),u=(function(){var o=function(o){for(var r=[],a=[],l=[],n=0;n<o.length;++n){var s=o[n],p=(0,t.RGBtoHSV)((0,t.processColor)(s));p&&(r.push(p.h),a.push(p.s),l.push(p.v))}return{h:r,s:a,v:l}};return o._closure={RGBtoHSV:t.RGBtoHSV,processColor:t.processColor},o.asString="function _f(colors){const{RGBtoHSV,processColor}=jsThis._closure;{const h=[];const s=[];const v=[];for(let i=0;i<colors.length;++i){const color=colors[i];const processedColor=RGBtoHSV(processColor(color));if(processedColor){h.push(processedColor.h);s.push(processedColor.s);v.push(processedColor.v);}}return{h:h,s:s,v:v};}}",o.__workletHash=1607676561695,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts (79:26)",o})(),v=(function(){var o=function(o,r,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'RGB';if('HSV'===a)return p(o,r,u(t));if('RGB'===a)return c(o,r,i(t));throw new Error("Invalid color space provided: "+a+". Supported values are: ['RGB', 'HSV']")};return o._closure={interpolateColorsHSV:p,getInterpolateHSV:u,interpolateColorsRGB:c,getInterpolateRGB:i},o.asString="function _f(value,inputRange,outputRange,colorSpace='RGB'){const{interpolateColorsHSV,getInterpolateHSV,interpolateColorsRGB,getInterpolateRGB}=jsThis._closure;{if(colorSpace==='HSV'){return interpolateColorsHSV(value,inputRange,getInterpolateHSV(outputRange));}else if(colorSpace==='RGB'){return interpolateColorsRGB(value,inputRange,getInterpolateRGB(outputRange));}throw new Error(\"Invalid color space provided: \"+colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=3318264077187,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts (98:32)",o})();e.interpolateColor=v,e.ColorSpace=r,(function(o){o[o.RGB=0]="RGB",o[o.HSV=1]="HSV"})(r||(e.ColorSpace=r={}));var C=(function(){var o=function(o,t){var a=t.value.cache.value;if(t.value.colorSpace===r.RGB)return a||(a=i(t.value.outputRange),t.value.cache.value=a),c(o,t.value.inputRange,a);if(t.value.colorSpace===r.HSV)return a||(a=u(t.value.outputRange),t.value.cache.value=a),p(o,t.value.inputRange,a);throw new Error("Invalid color space provided: "+t.value.colorSpace+". Supported values are: ['RGB', 'HSV']")};return o._closure={ColorSpace:{RGB:r.RGB,HSV:r.HSV},getInterpolateRGB:i,interpolateColorsRGB:c,getInterpolateHSV:u,interpolateColorsHSV:p},o.asString="function _f(value,interpolateConfig){const{ColorSpace,getInterpolateRGB,interpolateColorsRGB,getInterpolateHSV,interpolateColorsHSV}=jsThis._closure;{let colors=interpolateConfig.value.cache.value;if(interpolateConfig.value.colorSpace===ColorSpace.RGB){if(!colors){colors=getInterpolateRGB(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsRGB(value,interpolateConfig.value.inputRange,colors);}else if(interpolateConfig.value.colorSpace===ColorSpace.HSV){if(!colors){colors=getInterpolateHSV(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsHSV(value,interpolateConfig.value.inputRange,colors);}throw new Error(\"Invalid color space provided: \"+interpolateConfig.value.colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=0xf190ead19fd,o.__location="/Users/lukasz/work/expo/packages/expo-dev-menu/vendored/react-native-reanimated/src/reanimated2/interpolateColor.ts (148:40)",o})();e.interpolateSharableColor=C},744,[719,706,743,698,732]);
|
|
@@ -1247,7 +1247,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";var n=r(d[0]);e.__esModule=!0,e.focusMa
|
|
|
1247
1247
|
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);m.exports=function(o,p){o.prototype=Object.create(p.prototype),o.prototype.constructor=o,t(o,p)},m.exports.__esModule=!0,m.exports.default=m.exports},1241,[14]);
|
|
1248
1248
|
__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.Subscribable=void 0;var n=(function(){function n(){this.listeners=[]}var s=n.prototype;return s.subscribe=function(n){var s=this,t=n||function(){};return this.listeners.push(t),this.onSubscribe(),function(){s.listeners=s.listeners.filter(function(n){return n!==t}),s.onUnsubscribe()}},s.hasListeners=function(){return this.listeners.length>0},s.onSubscribe=function(){},s.onUnsubscribe=function(){},n})();e.Subscribable=n},1242,[]);
|
|
1249
1249
|
__d(function(g,r,_i,_a,m,e,d){"use strict";var t=r(d[0]);e.__esModule=!0,e.noop=function(){return},e.functionalUpdate=function(t,n){return'function'==typeof t?t(n):t},e.isValidTimeout=function(t){return'number'==typeof t&&t>=0&&t!==1/0},e.ensureQueryKeyArray=i,e.difference=function(t,n){return t.filter(function(t){return-1===n.indexOf(t)})},e.replaceAt=function(t,n,u){var i=t.slice(0);return i[n]=u,i},e.timeUntilStale=function(t,n){return Math.max(t+(n||0)-Date.now(),0)},e.parseQueryArgs=function(t,u,i){if(!v(t))return t;if('function'==typeof u)return(0,n.default)({},i,{queryKey:t,queryFn:u});return(0,n.default)({},u,{queryKey:t})},e.parseMutationArgs=function(t,u,i){if(v(t))return'function'==typeof u?(0,n.default)({},i,{mutationKey:t,mutationFn:u}):(0,n.default)({},u,{mutationKey:t});if('function'==typeof t)return(0,n.default)({},u,{mutationFn:t});return(0,n.default)({},t)},e.parseFilterArgs=function(t,u,i){return v(t)?[(0,n.default)({},u,{queryKey:t}),i]:[t||{},u]},e.parseMutationFilterArgs=function(t,u){return v(t)?(0,n.default)({},u,{mutationKey:t}):t},e.mapQueryStatusFilter=o,e.matchQuery=function(t,n){var u=t.active,i=t.exact,a=t.fetching,c=t.inactive,s=t.predicate,l=t.queryKey,p=t.stale;if(v(l))if(i){if(n.queryHash!==f(l,n.options))return!1}else if(!y(n.queryKey,l))return!1;var h=o(u,c);if('none'===h)return!1;if('all'!==h){var b=n.isActive();if('active'===h&&!b)return!1;if('inactive'===h&&b)return!1}if('boolean'==typeof p&&n.isStale()!==p)return!1;if('boolean'==typeof a&&n.isFetching()!==a)return!1;if(s&&!s(n))return!1;return!0},e.matchMutation=function(t,n){var u=t.exact,i=t.fetching,o=t.predicate,f=t.mutationKey;if(v(f)){if(!n.options.mutationKey)return!1;if(u){if(a(n.options.mutationKey)!==a(f))return!1}else if(!y(n.options.mutationKey,f))return!1}if('boolean'==typeof i&&'loading'===n.state.status!==i)return!1;if(o&&!o(n))return!1;return!0},e.hashQueryKeyByOptions=f,e.hashQueryKey=a,e.stableValueHash=c,e.partialMatchKey=y,e.partialDeepEqual=s,e.replaceEqualDeep=function t(n,u){if(n===u)return n;var i=Array.isArray(n)&&Array.isArray(u);if(i||l(n)&&l(u)){for(var o=i?n.length:Object.keys(n).length,f=i?u:Object.keys(u),a=f.length,c=i?[]:{},y=0,s=0;s<a;s++){var p=i?s:f[s];c[p]=t(n[p],u[p]),c[p]===n[p]&&y++}return o===a&&y===o?n:c}return u},e.shallowEqualObjects=function(t,n){if(t&&!n||n&&!t)return!1;for(var u in t)if(t[u]!==n[u])return!1;return!0},e.isPlainObject=l,e.isQueryKey=v,e.isError=function(t){return t instanceof Error},e.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},e.scheduleMicrotask=function(t){Promise.resolve().then(t).catch(function(t){return setTimeout(function(){throw t})})},e.getAbortController=function(){if('function'==typeof AbortController)return new AbortController},e.isServer=void 0;var n=t(r(d[1])),u='undefined'==typeof window;function i(t){return Array.isArray(t)?t:[t]}function o(t,n){return!0===t&&!0===n||null==t&&null==n?'all':!1===t&&!1===n?'none':(null!=t?t:!n)?'active':'inactive'}function f(t,n){return((null==n?void 0:n.queryKeyHashFn)||a)(t)}function a(t){return c(i(t))}function c(t){return JSON.stringify(t,function(t,n){return l(n)?Object.keys(n).sort().reduce(function(t,u){return t[u]=n[u],t},{}):n})}function y(t,n){return s(i(t),i(n))}function s(t,n){return t===n||typeof t==typeof n&&(!(!t||!n||'object'!=typeof t||'object'!=typeof n)&&!Object.keys(n).some(function(u){return!s(t[u],n[u])}))}function l(t){if(!p(t))return!1;var n=t.constructor;if(void 0===n)return!0;var u=n.prototype;return!!p(u)&&!!u.hasOwnProperty('isPrototypeOf')}function p(t){return'[object Object]'===Object.prototype.toString.call(t)}function v(t){return'string'==typeof t||Array.isArray(t)}e.isServer=u},1243,[6,1244]);
|
|
1250
|
-
__d(function(g,r,_i,a,m,e,d){function t(){return m.exports=t=Object.assign
|
|
1250
|
+
__d(function(g,r,_i,a,m,e,d){function t(){return m.exports=t=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var s=arguments[o];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},m.exports.__esModule=!0,m.exports.default=m.exports,t.apply(this,arguments)}m.exports=t,m.exports.__esModule=!0,m.exports.default=m.exports},1244,[]);
|
|
1251
1251
|
__d(function(g,r,i,a,m,e,d){"use strict";var n=r(d[0]);e.__esModule=!0,e.onlineManager=e.OnlineManager=void 0;var t=n(r(d[1])),o=r(d[2]),s=r(d[3]),l=(function(n){function o(){var t;return(t=n.call(this)||this).setup=function(n){var t;if(!s.isServer&&(null==(t=window)?void 0:t.addEventListener)){var o=function(){return n()};return window.addEventListener('online',o,!1),window.addEventListener('offline',o,!1),function(){window.removeEventListener('online',o),window.removeEventListener('offline',o)}}},t}(0,t.default)(o,n);var l=o.prototype;return l.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},l.onUnsubscribe=function(){var n;this.hasListeners()||(null==(n=this.cleanup)||n.call(this),this.cleanup=void 0)},l.setEventListener=function(n){var t,o=this;this.setup=n,null==(t=this.cleanup)||t.call(this),this.cleanup=n(function(n){'boolean'==typeof n?o.setOnline(n):o.onOnline()})},l.setOnline=function(n){this.online=n,n&&this.onOnline()},l.onOnline=function(){this.listeners.forEach(function(n){n()})},l.isOnline=function(){return'boolean'==typeof this.online?this.online:'undefined'==typeof navigator||void 0===navigator.onLine||navigator.onLine},o})(o.Subscribable);e.OnlineManager=l;var u=new l;e.onlineManager=u},1245,[6,1241,1242,1243]);
|
|
1252
1252
|
__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]);e.__esModule=!0,e.QueryCache=void 0;var n=t(r(d[1])),u=r(d[2]),s=r(d[3]),o=r(d[4]),c=(function(t){function c(n){var u;return(u=t.call(this)||this).config=n||{},u.queries=[],u.queriesMap={},u}(0,n.default)(c,t);var f=c.prototype;return f.build=function(t,n,o){var c,f=n.queryKey,h=null!=(c=n.queryHash)?c:(0,u.hashQueryKeyByOptions)(f,n),y=this.get(h);return y||(y=new s.Query({cache:this,queryKey:f,queryHash:h,options:t.defaultQueryOptions(n),state:o,defaultOptions:t.getQueryDefaults(f),meta:n.meta}),this.add(y)),y},f.add=function(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:'queryAdded',query:t}))},f.remove=function(t){var n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(function(n){return n!==t}),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:'queryRemoved',query:t}))},f.clear=function(){var t=this;o.notifyManager.batch(function(){t.queries.forEach(function(n){t.remove(n)})})},f.get=function(t){return this.queriesMap[t]},f.getAll=function(){return this.queries},f.find=function(t,n){var s=(0,u.parseFilterArgs)(t,n)[0];return void 0===s.exact&&(s.exact=!0),this.queries.find(function(t){return(0,u.matchQuery)(s,t)})},f.findAll=function(t,n){var s=(0,u.parseFilterArgs)(t,n)[0];return Object.keys(s).length>0?this.queries.filter(function(t){return(0,u.matchQuery)(s,t)}):this.queries},f.notify=function(t){var n=this;o.notifyManager.batch(function(){n.listeners.forEach(function(n){n(t)})})},f.onFocus=function(){var t=this;o.notifyManager.batch(function(){t.queries.forEach(function(t){t.onFocus()})})},f.onOnline=function(){var t=this;o.notifyManager.batch(function(){t.queries.forEach(function(t){t.onOnline()})})},c})(r(d[5]).Subscribable);e.QueryCache=c},1246,[6,1241,1243,1247,1248,1242]);
|
|
1253
1253
|
__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]);e.__esModule=!0,e.Query=void 0;var s=t(r(d[1])),n=r(d[2]),o=r(d[3]),u=r(d[4]),c=r(d[5]),h=(function(){function t(t){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=t.meta,this.scheduleGc()}var h=t.prototype;return h.setOptions=function(t){var n;this.options=(0,s.default)({},this.defaultOptions,t),this.meta=null==t?void 0:t.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(n=this.options.cacheTime)?n:3e5)},h.setDefaultOptions=function(t){this.defaultOptions=t},h.scheduleGc=function(){var t=this;this.clearGcTimeout(),(0,n.isValidTimeout)(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){t.optionalRemove()},this.cacheTime))},h.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},h.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},h.setData=function(t,s){var o,u,c=this.state.data,h=(0,n.functionalUpdate)(t,c);return(null==(o=(u=this.options).isDataEqual)?void 0:o.call(u,c,h))?h=c:!1!==this.options.structuralSharing&&(h=(0,n.replaceEqualDeep)(c,h)),this.dispatch({data:h,type:'success',dataUpdatedAt:null==s?void 0:s.updatedAt}),h},h.setState=function(t,s){this.dispatch({type:'setState',state:t,setStateOptions:s})},h.cancel=function(t){var s,o=this.promise;return null==(s=this.retryer)||s.cancel(t),o?o.then(n.noop).catch(n.noop):Promise.resolve()},h.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},h.reset=function(){this.destroy(),this.setState(this.initialState)},h.isActive=function(){return this.observers.some(function(t){return!1!==t.options.enabled})},h.isFetching=function(){return this.state.isFetching},h.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(t){return t.getCurrentResult().isStale})},h.isStaleByTime=function(t){return void 0===t&&(t=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,n.timeUntilStale)(this.state.dataUpdatedAt,t)},h.onFocus=function(){var t,s=this.observers.find(function(t){return t.shouldFetchOnWindowFocus()});s&&s.refetch(),null==(t=this.retryer)||t.continue()},h.onOnline=function(){var t,s=this.observers.find(function(t){return t.shouldFetchOnReconnect()});s&&s.refetch(),null==(t=this.retryer)||t.continue()},h.addObserver=function(t){-1===this.observers.indexOf(t)&&(this.observers.push(t),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:'observerAdded',query:this,observer:t}))},h.removeObserver=function(t){-1!==this.observers.indexOf(t)&&(this.observers=this.observers.filter(function(s){return s!==t}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:'observerRemoved',query:this,observer:t}))},h.getObserversCount=function(){return this.observers.length},h.invalidate=function(){this.state.isInvalidated||this.dispatch({type:'invalidate'})},h.fetch=function(t,s){var o,h,l,f=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==s?void 0:s.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var p;return null==(p=this.retryer)||p.continueRetry(),this.promise}if(t&&this.setOptions(t),!this.options.queryFn){var v=this.observers.find(function(t){return t.options.queryFn});v&&this.setOptions(v.options)}var y=(0,n.ensureQueryKeyArray)(this.queryKey),b=(0,n.getAbortController)(),F={queryKey:y,pageParam:void 0,meta:this.meta};Object.defineProperty(F,'signal',{enumerable:!0,get:function(){if(b)return f.abortSignalConsumed=!0,b.signal}});var C,O,S={fetchOptions:s,options:this.options,queryKey:y,state:this.state,fetchFn:function(){return f.options.queryFn?(f.abortSignalConsumed=!1,f.options.queryFn(F)):Promise.reject('Missing queryFn')},meta:this.meta};(null==(o=this.options.behavior)?void 0:o.onFetch)&&(null==(C=this.options.behavior)||C.onFetch(S));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(h=S.fetchOptions)?void 0:h.meta))||this.dispatch({type:'fetch',meta:null==(O=S.fetchOptions)?void 0:O.meta});return this.retryer=new c.Retryer({fn:S.fetchFn,abort:null==b?void 0:null==(l=b.abort)?void 0:l.bind(b),onSuccess:function(t){f.setData(t),null==f.cache.config.onSuccess||f.cache.config.onSuccess(t,f),0===f.cacheTime&&f.optionalRemove()},onError:function(t){(0,c.isCancelledError)(t)&&t.silent||f.dispatch({type:'error',error:t}),(0,c.isCancelledError)(t)||(null==f.cache.config.onError||f.cache.config.onError(t,f),(0,u.getLogger)().error(t)),0===f.cacheTime&&f.optionalRemove()},onFail:function(){f.dispatch({type:'failed'})},onPause:function(){f.dispatch({type:'pause'})},onContinue:function(){f.dispatch({type:'continue'})},retry:S.options.retry,retryDelay:S.options.retryDelay}),this.promise=this.retryer.promise,this.promise},h.dispatch=function(t){var s=this;this.state=this.reducer(this.state,t),o.notifyManager.batch(function(){s.observers.forEach(function(s){s.onQueryUpdate(t)}),s.cache.notify({query:s,type:'queryUpdated',action:t})})},h.getDefaultState=function(t){var s='function'==typeof t.initialData?t.initialData():t.initialData,n=void 0!==t.initialData?'function'==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0,o=void 0!==s;return{data:s,dataUpdateCount:0,dataUpdatedAt:o?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:o?'success':'idle'}},h.reducer=function(t,n){var o,u;switch(n.type){case'failed':return(0,s.default)({},t,{fetchFailureCount:t.fetchFailureCount+1});case'pause':return(0,s.default)({},t,{isPaused:!0});case'continue':return(0,s.default)({},t,{isPaused:!1});case'fetch':return(0,s.default)({},t,{fetchFailureCount:0,fetchMeta:null!=(o=n.meta)?o:null,isFetching:!0,isPaused:!1},!t.dataUpdatedAt&&{error:null,status:'loading'});case'success':return(0,s.default)({},t,{data:n.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(u=n.dataUpdatedAt)?u:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:'success'});case'error':var h=n.error;return(0,c.isCancelledError)(h)&&h.revert&&this.revertState?(0,s.default)({},this.revertState):(0,s.default)({},t,{error:h,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:'error'});case'invalidate':return(0,s.default)({},t,{isInvalidated:!0});case'setState':return(0,s.default)({},t,n.state);default:return t}},t})();e.Query=h},1247,[6,1244,1243,1248,1249,1239]);
|
|
@@ -16,15 +16,12 @@ class DevLauncherAuth(reactContext: ReactApplicationContext?) :
|
|
|
16
16
|
|
|
17
17
|
private val localStore = reactApplicationContext.getSharedPreferences(SessionStore, Context.MODE_PRIVATE)
|
|
18
18
|
|
|
19
|
-
private val devMenuManager = DevMenuManager
|
|
20
|
-
|
|
21
19
|
override fun getName(): String {
|
|
22
20
|
return "EXDevLauncherAuth"
|
|
23
21
|
}
|
|
24
22
|
|
|
25
23
|
@ReactMethod
|
|
26
24
|
fun setSessionAsync(session: String?, promise: Promise) {
|
|
27
|
-
devMenuManager.getExpoApiClient().setSessionSecret(session)
|
|
28
25
|
saveSessionToLocalStorage(session)
|
|
29
26
|
promise.resolve(null)
|
|
30
27
|
}
|
package/android/src/main/java/expo/modules/devlauncher/splashscreen/DevLauncherSplashScreen.kt
CHANGED
|
@@ -2,27 +2,35 @@ package expo.modules.devlauncher.splashscreen
|
|
|
2
2
|
|
|
3
3
|
import android.annotation.SuppressLint
|
|
4
4
|
import android.content.Context
|
|
5
|
-
import android.
|
|
5
|
+
import android.graphics.Color
|
|
6
|
+
import android.util.TypedValue
|
|
7
|
+
import android.widget.ImageView
|
|
6
8
|
import android.widget.LinearLayout
|
|
7
9
|
import android.widget.RelativeLayout
|
|
8
|
-
import android.widget.TextView
|
|
9
10
|
import expo.modules.devlauncher.R
|
|
10
11
|
|
|
11
12
|
@SuppressLint("ViewConstructor")
|
|
12
13
|
class DevLauncherSplashScreen(
|
|
13
14
|
context: Context,
|
|
14
|
-
textColor: Int
|
|
15
15
|
) : RelativeLayout(context) {
|
|
16
16
|
init {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
setBackgroundColor(Color.WHITE)
|
|
18
|
+
|
|
19
|
+
val imageWidthDPI = 85f
|
|
20
|
+
val imageWidthPixels = TypedValue.applyDimension(
|
|
21
|
+
TypedValue.COMPLEX_UNIT_DIP,
|
|
22
|
+
imageWidthDPI,
|
|
23
|
+
context.resources.displayMetrics
|
|
24
24
|
)
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
|
|
26
|
+
val imageView = ImageView(context)
|
|
27
|
+
imageView.setImageResource(R.drawable._expodevclientcomponents_assets_logoicon)
|
|
28
|
+
imageView.layoutParams = LayoutParams(
|
|
29
|
+
imageWidthPixels.toInt(),
|
|
30
|
+
LinearLayout.LayoutParams.WRAP_CONTENT,
|
|
31
|
+
).apply {
|
|
32
|
+
addRule(CENTER_IN_PARENT, TRUE)
|
|
33
|
+
}
|
|
34
|
+
addView(imageView)
|
|
27
35
|
}
|
|
28
36
|
}
|
|
@@ -1,49 +1,18 @@
|
|
|
1
1
|
package expo.modules.devlauncher.splashscreen
|
|
2
2
|
|
|
3
3
|
import android.app.Activity
|
|
4
|
-
import android.content.Context
|
|
5
|
-
import android.graphics.Color
|
|
6
4
|
import android.view.ViewGroup
|
|
7
|
-
import androidx.core.graphics.ColorUtils
|
|
8
5
|
|
|
9
6
|
class DevLauncherSplashScreenProvider {
|
|
10
7
|
fun attachSplashScreenViewAsync(activity: Activity): DevLauncherSplashScreen? {
|
|
11
8
|
val contentView = activity.findViewById<ViewGroup>(android.R.id.content)
|
|
12
9
|
?: return null
|
|
13
|
-
|
|
10
|
+
|
|
14
11
|
val splashScreenView = DevLauncherSplashScreen(
|
|
15
12
|
activity,
|
|
16
|
-
getTextColorForBackgroundColor(backgroundColor)
|
|
17
13
|
)
|
|
18
|
-
splashScreenView.setBackgroundColor(backgroundColor)
|
|
19
|
-
contentView.addView(splashScreenView)
|
|
20
14
|
|
|
15
|
+
contentView.addView(splashScreenView)
|
|
21
16
|
return splashScreenView
|
|
22
17
|
}
|
|
23
|
-
|
|
24
|
-
private fun getBackgroundColor(context: Context): Int {
|
|
25
|
-
val expoSplashScreenColor = context
|
|
26
|
-
.resources
|
|
27
|
-
.getIdentifier(
|
|
28
|
-
"splashscreen_background",
|
|
29
|
-
"drawable",
|
|
30
|
-
context.packageName
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
return if (expoSplashScreenColor == 0) {
|
|
34
|
-
// splashscreen_background doesn't exist
|
|
35
|
-
Color.parseColor("#000020")
|
|
36
|
-
} else {
|
|
37
|
-
expoSplashScreenColor
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
private fun getTextColorForBackgroundColor(backgroundColor: Int): Int {
|
|
42
|
-
val luminance = ColorUtils.calculateLuminance(backgroundColor)
|
|
43
|
-
return if (luminance > 0.5) {
|
|
44
|
-
Color.BLACK
|
|
45
|
-
} else {
|
|
46
|
-
Color.WHITE
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
18
|
}
|
package/bundle/App.tsx
CHANGED
|
@@ -21,9 +21,7 @@ import { UserProfileScreen } from './screens/UserProfileScreen';
|
|
|
21
21
|
const Tab = createBottomTabNavigator();
|
|
22
22
|
const Stack = createStackNavigator();
|
|
23
23
|
|
|
24
|
-
type LauncherAppProps = {
|
|
25
|
-
isSimulator?: boolean;
|
|
26
|
-
};
|
|
24
|
+
type LauncherAppProps = {};
|
|
27
25
|
|
|
28
26
|
export function App(props: LauncherAppProps) {
|
|
29
27
|
return (
|