1&&void 0!==arguments[1]?arguments[1]:new Set,u=f();if(n.has(u.key))return!1;if(n.add(u.key),'string'!=typeof t.target||t.target===u.key){var p=i.getStateForAction(u,t,P.current);if(null!==(p=null===p&&t.target===u.key?u:p)){if(j(t,u===p),u!==p){if((0,o.shouldPreventRemove)(y,v,u.routes,p.routes,t))return!0;c(p)}if(void 0!==h)i.shouldActionChangeFocus(t)&&void 0!==s&&h(s);return!0}}if(void 0!==O&&O(t,n))return!0;for(var b=l.length-1;b>=0;b--){if((0,l[b])(t,n))return!0}return!1}),[l,v,y,f,s,O,j,h,i,c]);return(0,o.default)({getState:f,emitter:y,beforeRemoveListeners:v}),t.useEffect((function(){return null==k?void 0:k('action',w)}),[k,w]),w};var t=i(r(d[0])),n=r(d[1])(r(d[2])),o=i(r(d[3]));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)}function i(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 i={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=f?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(i,c,s):i[c]=t[c]}return i.default=t,o&&o.set(t,i),i}}),507,[144,3,449,508]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=t.getState,l=t.emitter,v=t.beforeRemoveListeners,s=n.useContext(u.default).addKeyedListener,y=n.useContext(o.default),p=null==y?void 0:y.key;n.useEffect((function(){if(p)return null==s?void 0:s('beforeRemove',p,(function(t){var n=f();return c(l,v,n.routes,[],t)}))}),[s,v,l,f,p])},e.shouldPreventRemove=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var v=l?Object.getOwnPropertyDescriptor(t,c):null;v&&(v.get||v.set)?Object.defineProperty(o,c,v):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[2])),u=r(d[0])(r(d[3])),o=r(d[0])(r(d[4]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}var l=Symbol('VISITED_ROUTE_KEYS'),c=function(n,u,o,f,c){var v,s=f.map((function(t){return t.key})),y=o.filter((function(t){return!s.includes(t.key)})).reverse(),p=null!=(v=c[l])?v:new Set,b=Object.assign({},c,(0,t.default)({},l,p));for(var O of y){var k;if(!p.has(O.key)){if(null==(k=u[O.key])?void 0:k.call(u,b))return!0;if(p.add(O.key),n.emit({type:'beforeRemove',target:O.key,data:{action:b},canPreventDefault:!0}).defaultPrevented)return!0}}return!1};e.shouldPreventRemove=c}),508,[3,169,144,449,452]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var l=f.getState,c=f.getStateListeners,s=t.useContext(u.default).addKeyedListener,p=t.useContext(o.default),y=p?p.key:'root',v=t.useCallback((function(){var t=l(),u=t.routes.map((function(t){var n,u=null==(n=c[t.key])?void 0:n.call(c);return t.state===u?t:Object.assign({},t,{state:u})}));return(0,n.default)(t.routes,u)?t:Object.assign({},t,{routes:u})}),[l,c]);t.useEffect((function(){return null==s?void 0:s('getState',y,v)}),[s,v,y])};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 u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(o,c,s):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2])),u=r(d[1])(r(d[3])),o=r(d[1])(r(d[4]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),509,[144,3,496,449,452]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u=o.router,f=o.getState,c=o.key,l=o.setState,p=t.useContext(n.default).onRouteFocus;return t.useCallback((function(t){var n=f(),o=u.getStateForRouteFocus(n,t);o!==n&&l(o),void 0!==p&&void 0!==c&&p(c)}),[f,p,u,l,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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),510,[144,3,449]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=n.useState((function(){return(0,r(d[3]).nanoid)()})),u=(0,t.default)(o,1)[0],f=n.useContext(r(d[4]).SingleNavigatorContext);if(void 0===f)throw new Error("Couldn't register the navigator. Have you wrapped your app with 'NavigationContainer'?\n\nThis can also happen if there are multiple copies of '@react-navigation' packages installed.");return n.useEffect((function(){var t=f.register,n=f.unregister;return t(u),function(){return n(u)}}),[f,u]),u};var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var l=c?Object.getOwnPropertyDescriptor(t,p):null;l&&(l.get||l.set)?Object.defineProperty(f,p,l):f[p]=t[p]}f.default=t,u&&u.set(t,f);return f})(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),511,[3,16,144,464,447]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var u=t.useRef(null);null==u.current&&(u.current=(0,n.default)());return u.current};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=u(n);if(f&&f.has(t))return f.get(t);var o={},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(o,l,p):o[l]=t[l]}o.default=t,f&&f.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(u=function(t){return t?f:n})(t)}}),512,[144,3,460]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u){var f=(0,n.default)(),o=t.useState((function(){return u(f.getState())})),c=(0,e.default)(o,2)[1],l=t.useRef(u);return t.useEffect((function(){l.current=u})),t.useEffect((function(){return f.addListener('state',(function(e){c(l.current(e.data.state))}))}),[f]),u(f.getState())};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var f={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(f,c,l):f[c]=e[c]}f.default=e,n&&n.set(e,f);return f})(r(d[2])),n=r(d[0])(r(d[3]));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}}),513,[3,16,144,493]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c,l){var p=t.useState((function(){return(0,r(d[7]).nanoid)()})),v=(0,e.default)(p,1)[0],s=(0,u.default)(),y=(0,o.default)().key,O=(0,f.default)().setPreventRemove;t.useEffect((function(){return O(v,y,c),function(){O(v,y,!1)}}),[O,v,y,c]);var b=(0,n.default)((function(e){c&&(e.preventDefault(),l({data:e.data}))}));t.useEffect((function(){return null==s?void 0:s.addListener('beforeRemove',b)}),[s,b])};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var u={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var l=f?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(u,o,l):u[o]=e[o]}u.default=e,n&&n.set(e,u);return u})(r(d[2])),n=r(d[0])(r(d[3])),u=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),o=r(d[0])(r(d[6]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}}),514,[3,16,144,490,493,515,516,464]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(null==o)throw new Error("Couldn't find the prevent remove context. Is your component inside NavigationContent?");return o};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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),515,[144,3,488]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a route object. Is your component inside a screen in a navigator?");return o};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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),516,[144,3,452]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=S(n);if(l&&l.has(t))return l.get(t);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var c=o?Object.getOwnPropertyDescriptor(t,f):null;c&&(c.get||c.set)?Object.defineProperty(u,f,c):u[f]=t[f]}u.default=t,l&&l.set(t,u);return u})(r(d[3])),u=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),f=r(d[0])(r(d[6])),c=r(d[0])(r(d[7])),s=r(d[0])(r(d[8])),v=r(d[0])(r(d[9])),p=r(d[0])(r(d[10])),O=["theme","linking","fallback","documentTitle","onReady"];function S(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,l=new WeakMap;return(S=function(t){return t?l:n})(t)}g.REACT_NAVIGATION_DEVTOOLS=new WeakMap;var b=l.forwardRef((function(S,b){var P=S.theme,h=void 0===P?o.default:P,j=S.linking,y=S.fallback,_=void 0===y?null:y,k=S.documentTitle,A=S.onReady,F=(0,n.default)(S,O),T=!!j&&!1!==j.enabled;null!=j&&j.config&&(0,r(d[11]).validatePathConfig)(j.config);var w=l.useRef(null);(0,c.default)(w),(0,s.default)(w,k);var E=(0,v.default)(w,Object.assign({independent:F.independent,enabled:T,prefixes:[]},j)).getInitialState;l.useEffect((function(){w.current&&REACT_NAVIGATION_DEVTOOLS.set(w.current,{get linking(){var t,n,l,u;return Object.assign({},j,{enabled:T,prefixes:null!=(t=null==j?void 0:j.prefixes)?t:[],getStateFromPath:null!=(n=null==j?void 0:j.getStateFromPath)?n:r(d[11]).getStateFromPath,getPathFromState:null!=(l=null==j?void 0:j.getPathFromState)?l:r(d[11]).getPathFromState,getActionFromState:null!=(u=null==j?void 0:j.getActionFromState)?u:r(d[11]).getActionFromState})}})}));var M=(0,p.default)(E),R=(0,t.default)(M,2),x=R[0],I=R[1];l.useImperativeHandle(b,(function(){return w.current}));var N=l.useMemo((function(){return{options:j}}),[j]),C=null!=F.initialState||!T||x,D=l.useRef(A);return l.useEffect((function(){D.current=A})),l.useEffect((function(){C&&(null==D.current||D.current())}),[C]),C?(0,r(d[12]).jsx)(u.default.Provider,{value:N,children:(0,r(d[12]).jsx)(f.default,{value:h,children:(0,r(d[12]).jsx)(r(d[11]).BaseNavigationContainer,Object.assign({},F,{initialState:null==F.initialState?I:F.initialState,ref:w}))})}):_}));e.default=b}),517,[3,16,108,144,441,518,519,521,522,523,525,443,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={dark:!1,colors:{primary:'rgb(0, 122, 255)',background:'rgb(242, 242, 242)',card:'rgb(255, 255, 255)',text:'rgb(28, 28, 30)',border:'rgb(216, 216, 216)',notification:'rgb(255, 59, 48)'}};e.default=o}),518,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.value,o=n.children;return(0,r(d[3]).jsx)(t.default.Provider,{value:u,children:o})};!(function(t,u){if(!u&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=n(u);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,o&&o.set(t,f)})(r(d[0]));var t=r(d[1])(r(d[2]));function n(t){if("function"!=typeof WeakMap)return null;var u=new WeakMap,o=new WeakMap;return(n=function(t){return t?o:u})(t)}}),519,[144,3,520,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;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 u=o(n);if(u&&u.has(t))return u.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(f,c,p):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=t.createContext(n.default);u.displayName='ThemeContext';var f=u;e.default=f}),520,[144,3,518]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){t.useEffect((function(){var t=n.BackHandler.addEventListener('hardwareBackPress',(function(){var t=u.current;return null!=t&&(!!t.canGoBack()&&(t.goBack(),!0))}));return function(){return t.remove()}}),[u])};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 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[0])),n=r(d[1]);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)}}),521,[144,1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}),522,[]);
+__d((function(g,_r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(r,u){var o=u.independent,c=u.enabled,f=void 0===c||c,s=u.prefixes,l=u.filter,v=u.config,p=u.getInitialURL,h=void 0===p?function(){return Promise.race([t.Linking.getInitialURL(),new Promise((function(e){return setTimeout(e,150)}))])}:p,y=u.subscribe,b=void 0===y?function(e){var n,r=function(t){var n=t.url;return e(n)},u=t.Linking.addEventListener('url',r),o=null==(n=t.Linking.removeEventListener)?void 0:n.bind(t.Linking);return function(){null!=u&&u.remove?u.remove():null==o||o('url',r)}}:y,k=u.getStateFromPath,R=void 0===k?_r(d[4]).getStateFromPath:k,P=u.getActionFromState,w=void 0===P?_r(d[4]).getActionFromState:P;e.useEffect((function(){}),[f,o]);var L=e.useRef(f),O=e.useRef(s),j=e.useRef(l),S=e.useRef(v),_=e.useRef(h),E=e.useRef(R),M=e.useRef(w);e.useEffect((function(){L.current=f,O.current=s,j.current=l,S.current=v,_.current=h,E.current=R,M.current=w}));var F=e.useCallback((function(e){if(e&&(!j.current||j.current(e))){var t=(0,n.default)(O.current,e);return void 0!==t?E.current(t,S.current):void 0}}),[]),A=e.useCallback((function(){var e;if(L.current){var t=_.current();if(null!=t&&'string'!=typeof t)return t.then((function(e){return F(e)}));e=F(t)}var n={then:function(t){return Promise.resolve(t?t(e):e)},catch:function(){return n}};return n}),[F]);return e.useEffect((function(){return b((function(e){if(f){var t=r.current,n=t?F(e):void 0;if(t&&n){var u=t.getRootState();if(n.routes.some((function(e){return!(null!=u&&u.routeNames.includes(e.name))})))return void console.warn("The navigation state parsed from the URL contains routes not present in the root navigator. This usually means that the linking configuration doesn't match the navigation structure. See https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.");var o=M.current(n,S.current);if(void 0!==o)try{t.dispatch(o)}catch(t){console.warn("An error occurred when trying to handle the link '"+e+"': "+('object'==typeof t&&null!=t&&'message'in t?t.message:t))}else t.resetRoot(n)}}}))}),[f,F,r,b]),{getInitialState:A}};var e=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var f=o?Object.getOwnPropertyDescriptor(e,c):null;f&&(f.get||f.set)?Object.defineProperty(u,c,f):u[c]=e[c]}u.default=e,n&&n.set(e,u);return u})(_r(d[0])),t=_r(d[1]),n=_r(d[2])(_r(d[3]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}}),523,[144,1,3,524,443]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){for(var u of t){var f,c,p=null!=(f=null==(c=u.match(/^[^:]+:/))?void 0:c[0])?f:'',o=u.replace(new RegExp("^"+(0,l.default)(p)),'').replace(/\/+/g,'/').replace(/^\//,''),v=new RegExp("^"+(0,l.default)(p)+"(/)*"+o.split('.').map((function(t){return'*'===t?'[^/]+':(0,l.default)(t)})).join('\\.')),_=n.replace(/\/+/g,'/');if(v.test(_))return _.replace(v,'')}return};var l=r(d[0])(r(d[1]))}),524,[3,486]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var o=u.useState(f),c=(0,n.default)(o,1)[0],l=[!1,void 0];c.then((function(t){l=[!0,t]}));var p=u.useState(l),y=(0,n.default)(p,2),v=y[0],s=y[1],O=(0,n.default)(v,1)[0];return u.useEffect((function(){var n=!1,u=(function(){var u=(0,t.default)((function*(){var t;try{t=yield c}finally{n||s([!0,t])}}));return function(){return u.apply(this,arguments)}})();return O||u(),function(){n=!0}}),[c,O]),v};var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var o={},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(o,l,p):o[l]=t[l]}o.default=t,u&&u.set(t,o);return o})(r(d[3]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}}),525,[3,322,16,144]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=t.forwardRef((function(o,u){var f=o.children,c=o.location;t.useEffect((function(){console.error("'ServerContainer' should only be used on the server with 'react-dom/server' for SSR.")}),[]);var l={};if(u){var p={getCurrentOptions:function(){return l.options}};'function'==typeof u?u(p):u.current=p}return(0,r(d[3]).jsx)(n.default.Provider,{value:{location:c},children:(0,r(d[3]).jsx)(r(d[4]).CurrentRenderContext.Provider,{value:l,children:f})})}));e.default=u}),526,[144,3,527,192,443]);
+__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}),527,[144]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={dark:!0,colors:{primary:'rgb(10, 132, 255)',background:'rgb(1, 1, 1)',card:'rgb(18, 18, 18)',text:'rgb(229, 229, 231)',border:'rgb(39, 39, 41)',notification:'rgb(255, 69, 58)'}};e.default=o}),528,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return t.useContext(n.default)};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 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[0])),n=r(d[1])(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)}}),529,[144,3,520]);
+__d((function(g,r,i,a,m,e,d){}),530,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(r(d[3]).NavigationHelpersContext),f=t.useContext(n.default);return t.useCallback((function(t,n){var l=f.options;if(!1!==(null==l?void 0:l.enabled)){var c=o?u(o,{index:0,routes:[{name:t,params:n}]}):{index:0,routes:[{name:t,params:n}]};return null!=l&&l.getPathFromState?l.getPathFromState(c,null==l?void 0:l.config):(0,r(d[3]).getPathFromState)(c,null==l?void 0:l.config)}}),[f,o])};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 u=o(n);if(u&&u.has(t))return u.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=l?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u=function t(n,o){var u=n.getParent();if(u){var f=u.getState();return t(u,{index:0,routes:[Object.assign({},f.routes[f.index],{state:o})]})}return o}}),531,[144,3,441,443]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var o=(0,r(d[1]).useNavigation)(),u=(0,r(d[1]).useRoute)();e.useEffect((function(){for(var e=[],c=o;c;)'tab'===c.getState().type&&e.push(c),c=c.getParent();if(0!==e.length){var l=e.map((function(c){return c.addListener('tabPress',(function(c){var l=o.isFocused(),f=e.includes(o)||o.getState().routes[0].key===u.key;requestAnimationFrame((function(){var e=n(t);l&&f&&e&&!c.defaultPrevented&&('scrollToTop'in e?e.scrollToTop():'scrollTo'in e?e.scrollTo({y:0,animated:!0}):'scrollToOffset'in e?e.scrollToOffset({offset:0,animated:!0}):'scrollResponderScrollTo'in e&&e.scrollResponderScrollTo({y:0,animated:!0}))}))}))}));return function(){l.forEach((function(e){return e()}))}}}),[o,t,u.key])};var e=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=t(n);if(o&&o.has(e))return o.get(e);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=c?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(u,l,f):u[l]=e[l]}u.default=e,o&&o.set(e,u);return u})(r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(t=function(e){return e?o:n})(e)}function n(e){return null==e.current?null:'scrollToTop'in e.current||'scrollTo'in e.current||'scrollToOffset'in e.current||'scrollResponderScrollTo'in e.current?e.current:'getScrollResponder'in e.current?e.current.getScrollResponder():'getNode'in e.current?e.current.getNode():e.current}}),532,[144,443]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=(0,r(d[16]).useNavigation)();return(0,r(d[14]).jsx)(v,Object.assign({},e,{navigate:t}))};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),l=r(d[0])(r(d[4])),o=r(d[0])(r(d[5])),s=r(d[0])(r(d[6]));r(d[7]);var u=T(r(d[8])),c=r(d[9]),h=r(d[0])(r(d[10])),p=T(r(d[11])),f=r(d[0])(r(d[12])),x=r(d[0])(r(d[13]));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=e[s]}return l.default=e,n&&n.set(e,l),l}function k(){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 v=(function(h){(0,l.default)(I,h);var y,T,v=(y=I,T=k(),function(){var e,t=(0,s.default)(y);if(T){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function I(n,l){var o;(0,t.default)(this,I),(o=v.call(this,n,l)).state={pickerSelected:'flyer',upiSdkPresent:!1,saveToLocker:!1,shouldLink:!1,resultText:'',animation:new c.Animated.Value(0),isPayloadGenerated:!1,hideWidget:!1,ppPayload:''},o.UpdateOrderData=function(){var t=u.useState(''),n=(0,e.default)(t,2),l=n[0],s=n[1],h=u.useState(o.amount),y=(0,e.default)(h,2),T=y[0],k=y[1];return(0,r(d[14]).jsxs)(c.View,{style:P.containerNew,children:[(0,r(d[14]).jsxs)(c.View,{style:P.horizontal,children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.input2,onChangeText:s,value:l,placeholder:"Coupon Code"}),(0,r(d[14]).jsx)(c.TextInput,{style:P.input2,onChangeText:k,value:T,placeholder:"Amount",keyboardType:"numeric"})]}),(0,r(d[14]).jsx)(b,{title:"Update Order",onPress:function(){var e={};e=''!==l?{merchant_id:o.merchantId,customer_id:o.customerId,order_id:o.orderId,amount:T,mobile_number:o.mobile,customer_email:o.email,timestamp:x.default.getTimestamp(),offer_details:{offer_applied:String(''!==l),offer_code:l,amount:T}}:{merchant_id:o.merchantId,customer_id:o.customerId,order_id:o.orderId,amount:T,mobile_number:o.mobile,customer_email:o.email,timestamp:x.default.getTimestamp()};var t='';f.default.generateSign(o.privateKey,JSON.stringify(e)).then((function(e){t=e})).catch((function(e){console.warn(e)}));var n=x.default.generateProcessPayloadPP('updateOrder',o.clientId,o.merchantId,JSON.stringify(e),t,o.merchantKeyId);p.default.process(JSON.stringify(n))}})]})},o.handleOpen=function(){c.Animated.timing(o.state.animation,{toValue:1,duration:300,useNativeDriver:!0}).start(),o.isPopupVisible=!0},o.handleClose=function(){c.Animated.timing(o.state.animation,{toValue:0,duration:200,useNativeDriver:!0}).start(),o.isPopupVisible=!1},o.toggleVisibility=function(){o.setState({hideWidget:!o.state.hideWidget})},o.navigation=n.navigation,o.isPopupVisible=!1;var s=n.route.params;return o.merchantId=s.merchantId,o.clientId=s.clientId,o.merchantKeyId=s.merchantKeyId,o.privateKey=s.privateKey,o.service=s.service,o.customerId=s.customerId,o.mobile=s.mobile,o.email=s.email,o.apiKey=s.apiKey,o.amount=s.amount,o.orderId='',o.clientAuthToken='',o.orderDetails={},o.signature='',o.nbTxnBank='NB_SBI',o.cardNumber='',o.cardToken='',o.cardNetwork='',o.expMonth='',o.expYear='',o.cvv='',o.authType='',o.upiTxnApp='net.one97.paytm',o.vpa='',o.walletName='PAYTM',o.directWalletToken='',o.walletId='',o.otp='',o.sdkPresent='',o.walletMobile='',o.flyerPayload=JSON.stringify(x.default.generateFlyerPayload()),'pp'===o.service&&(o.state.pickerSelected='paymentPage'),o}return(0,n.default)(I,[{key:"componentDidMount",value:function(){var e=this,t=new c.NativeEventEmitter(c.NativeModules.HyperSdkReact);this.eventListener=t.addListener(p.default.HyperEvent,(function(t){e.setState({resultText:t})})),c.BackHandler.addEventListener('hardwareBackPress',(function(){return e.isPopupVisible?(e.handleClose(),!0):!p.default.isNull()&&p.default.onBackPressed()}))}},{key:"componentWillUnmount",value:function(){this.eventListener.remove(),c.BackHandler.removeEventListener('hardwareBackPress',(function(){return null}))}},{key:"render",value:function(){var e=this,t=c.Dimensions.get('window').height,n={transform:[{translateY:this.state.animation.interpolate({inputRange:[0,.01],outputRange:[t,0],extrapolate:'clamp'})}],opacity:this.state.animation.interpolate({inputRange:[.01,.5],outputRange:[0,1],extrapolate:'clamp'})},l={transform:[{translateY:this.state.animation.interpolate({inputRange:[.01,1],outputRange:[0,-1*t],extrapolate:'clamp'})}]};return(0,r(d[14]).jsxs)(c.View,{style:{flex:1},children:[(0,r(d[14]).jsx)(c.ScrollView,{children:(0,r(d[14]).jsxs)(c.View,{style:P.container,children:[(0,r(d[14]).jsx)(this.UpdateOrderData,{}),(0,r(d[14]).jsx)(j,{title:'ec'===this.service?'Create Order':'Generate Order ID',onPress:function(){e.orderId=x.default.generateOrderId(),'ec'===e.service?f.default.generateOrder(e.orderId,e.amount,e.customerId,e.mobile,e.email,e.apiKey).then((function(t){console.log(t),x.default.showCopyAlert('OrderID',e.orderId),e.clientAuthToken=x.default.getClientAuthToken(t)})).catch((function(e){console.error(e)})):x.default.showCopyAlert('OrderID',e.orderId)}}),'getPM'===this.state.pickerSelected?(0,r(d[14]).jsx)(j,{title:"Get Payment Methods",onPress:function(){var e=x.default.generatePaymentMethodsPayload();p.default.process(JSON.stringify(e))}}):null,'cardList'===this.state.pickerSelected?(0,r(d[14]).jsx)(j,{title:"List Saved Cards",onPress:function(){var t=x.default.generateListCardsPayload(e.clientAuthToken);p.default.process(JSON.stringify(t))}}):null,'getUPI'===this.state.pickerSelected?(0,r(d[14]).jsx)(j,{title:"Get UPI Apps",onPress:function(){var t=x.default.generateGetUPIAppsPayload(e.orderId);p.default.process(JSON.stringify(t))}}):null,'flyer'===this.state.pickerSelected?(0,r(d[14]).jsx)(j,{title:"Generate Flyer Payload",onPress:function(){e.setState({isPayloadGenerated:!0})}}):null,'listWallet'===this.state.pickerSelected?(0,r(d[14]).jsx)(j,{title:"Refresh Wallet Balances",onPress:function(){var t=x.default.generateListWalletsPayload(e.clientAuthToken);console.log(t),p.default.process(JSON.stringify(t))}}):null,'isDeviceReady'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"sdkPresent",onChangeText:function(t){e.sdkPresent=t},defaultValue:this.sdkPresent}),(0,r(d[14]).jsx)(j,{title:"Is Device Ready",onPress:function(){var t=x.default.generateDeviceReadyPayload(e.sdkPresent);console.log(t),p.default.process(JSON.stringify(t))}})]}):null,'nbTxn'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"NB_SBI",onChangeText:function(t){e.nbTxnBank=t},defaultValue:this.nbTxnBank}),(0,r(d[14]).jsx)(j,{title:"NB Txn",onPress:function(){var t=x.default.generateNBTxnPayload(e.orderId,e.clientAuthToken,e.nbTxnBank);p.default.process(JSON.stringify(t))}})]}):null,'cardTxn'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"card number (new card)",onChangeText:function(t){e.cardNumber=t},defaultValue:this.cardNumber}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"card token (saved card)",onChangeText:function(t){e.cardToken=t},defaultValue:this.cardToken}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"expMonth (for new card)",onChangeText:function(t){e.expMonth=t},defaultValue:this.expMonth}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"expYear (for new card)",onChangeText:function(t){e.expYear=t},defaultValue:this.expYear}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"card network (e.g. VISA)",onChangeText:function(t){e.cardNetwork=t},defaultValue:this.cardNetwork}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"cvv",onChangeText:function(t){e.cvv=t},defaultValue:this.cvv}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"authType",onChangeText:function(t){e.authType=t},defaultValue:this.authType}),(0,r(d[14]).jsx)(w,{value:this.state.saveToLocker,onValueChange:function(t){console.log(t),e.setState({saveToLocker:t})},text:"Save to locker"}),(0,r(d[14]).jsx)(j,{title:"Card Txn",onPress:function(){var t=x.default.generateCardTxnPayload(e.orderId,e.clientAuthToken,e.cardNetwork,e.cardToken,e.cardNumber,e.expMonth,e.expYear,e.cvv,e.authType,e.state.saveToLocker);p.default.process(JSON.stringify(t))}})]}):null,'upiTxn'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"package name",onChangeText:function(t){e.upiTxnApp=t},defaultValue:this.upiTxnApp}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"vpa",onChangeText:function(t){e.vpa=t},defaultValue:this.vpa}),(0,r(d[14]).jsx)(w,{value:this.state.upiSdkPresent,onValueChange:function(t){console.log(t),e.setState({upiSdkPresent:t})},text:"UPI SDK Present"}),(0,r(d[14]).jsx)(j,{title:"UPI Txn",onPress:function(){var t=x.default.generateUPIIntentTxnPayload(e.orderId,e.clientAuthToken,e.upiTxnApp,e.vpa,e.state.upiSdkPresent);p.default.process(JSON.stringify(t))}})]}):null,'createWallet'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"PAYTM",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[14]).jsx)(j,{title:"Create Wallet",onPress:function(){var t=x.default.generateCreateWalletPayload(e.walletName,e.clientAuthToken);console.log(t),p.default.process(JSON.stringify(t))}})]}):null,'linkWallet'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"walletId from createWallet",onChangeText:function(t){e.walletId=t},defaultValue:this.walletId}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"Enter otp",onChangeText:function(t){e.otp=t},defaultValue:this.otp}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"PAYTM",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[14]).jsx)(j,{title:"Link Wallet",onPress:function(){var t=x.default.generateLinkWalletPayload(e.walletName,e.walletId,e.otp,e.clientAuthToken);p.default.process(JSON.stringify(t))}})]}):null,'walletTxn'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"paymentMethod",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"directWalletToken",onChangeText:function(t){e.directWalletToken=t},defaultValue:this.directWalletToken}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"sdkPresent",onChangeText:function(t){e.sdkPresent=t},defaultValue:this.sdkPresent}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"walletMobileNumber",onChangeText:function(t){e.walletMobile=t},defaultValue:this.walletMobile}),(0,r(d[14]).jsx)(w,{value:this.state.shouldLink,onValueChange:function(t){console.log(t),e.setState({shouldLink:t})},text:"Should Link"}),(0,r(d[14]).jsx)(j,{title:"Wallet Txn",onPress:function(){var t=x.default.generateWalletTxnPayload(e.orderId,e.clientAuthToken,e.walletName,e.directWalletToken,e.sdkPresent);p.default.process(JSON.stringify(t))}})]}):null,'delinkWallet'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"walletName",onChangeText:function(t){e.walletName=t},defaultValue:this.walletName}),(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"walletId",onChangeText:function(t){e.walletId=t},defaultValue:this.walletId}),(0,r(d[14]).jsx)(j,{title:"DeLink Wallet",onPress:function(){var t=x.default.generateDeLinkWalletPayload(e.walletName,e.walletId,e.clientAuthToken);p.default.process(JSON.stringify(t))}})]}):null,'deleteCard'===this.state.pickerSelected?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.editText,placeholder:"cardToken",onChangeText:function(t){e.cardToken=t},defaultValue:this.cardToken}),(0,r(d[14]).jsx)(j,{title:"Delete Card",onPress:function(){var t=x.default.generateDeleteCardPayload(e.cardToken,e.clientAuthToken);console.log(t),p.default.process(JSON.stringify(t))}})]}):null,'pp'===this.service?(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(j,{title:"Sign Order Details",onPress:function(){var t={merchant_id:e.merchantId,customer_id:e.customerId,order_id:e.orderId,amount:e.amount,mobile_number:e.mobile,customer_email:e.email,timestamp:x.default.getTimestamp(),features:{paymentWidget:{enable:!0}}};e.orderDetails=t,(0,r(d[15]).setOrderDetails)(t),f.default.generateSign(e.privateKey,JSON.stringify(e.orderDetails)).then((function(t){e.signature=t,x.default.showCopyAlert('Payload signed',e.signature)})).catch((function(e){console.warn(e)}))}}),(0,r(d[14]).jsx)(j,{title:"Generate Process Payload",onPress:function(){e.setState({isPayloadGenerated:!0,ppPayload:JSON.stringify(x.default.generateProcessPayloadPP(e.state.pickerSelected,e.clientId,e.merchantId,JSON.stringify(e.orderDetails),e.signature,e.merchantKeyId))})}})]}):null,(0,r(d[14]).jsx)(j,{title:"Terminate",onPress:function(){p.default.terminate()}}),(0,r(d[14]).jsxs)(c.View,{style:P.horizontal,children:[(0,r(d[14]).jsx)(j,{title:"Hide Widget",onPress:function(){e.toggleVisibility()}}),(0,r(d[14]).jsx)(j,{title:"Check Offers",onPress:function(){e.navigation.navigate('OfferScreen')}})]})]})}),(0,r(d[14]).jsx)(c.Animated.View,{style:[c.StyleSheet.absoluteFill,P.cover,n],children:(0,r(d[14]).jsx)(c.View,{style:[P.sheet],children:(0,r(d[14]).jsx)(c.Animated.View,{style:[P.popup,l],children:(0,r(d[14]).jsxs)(c.View,{children:[(0,r(d[14]).jsx)(c.TextInput,{style:P.textArea,underlineColorAndroid:"transparent",placeholder:"Type something",placeholderTextColor:"grey",numberOfLines:100,multiline:!0,value:this.state.resultText}),(0,r(d[14]).jsx)(j,{title:"Close",onPress:this.handleClose})]})})})}),(0,r(d[14]).jsx)(c.View,{style:[P.horizontal2,this.state.hideWidget?P.horizontal2Gone:P.horizontal2],children:(0,r(d[14]).jsx)(c.View,{style:[P.newWala],children:this.state.isPayloadGenerated?(0,r(d[14]).jsx)(p.HyperView,{height:103,payload:'pp'===this.service?this.state.ppPayload:this.flyerPayload,namespace:'paymentWidget'}):null})})]})}}]),I})(u.Component),P=c.StyleSheet.create({container:{flex:1,alignItems:'center',justifyContent:'center'},containerNew:{height:50,width:'100%',flexDirection:'row',alignItems:'center',justifyContent:'center'},containerSon:{height:'auto',flex:0,backgroundColor:'white'},newWala:{height:'auto',flex:1,backgroundColor:'white'},containerSon2:{height:'auto',flex:1,backgroundColor:'white',alignItems:'center',justifyContent:'center'},horizontal:{flexDirection:'row'},horizontal2:{flexDirection:'row',height:103,width:'100%',position:'absolute',bottom:0},horizontal2Gone:{display:'none',visibility:'none'},input:{borderColor:'black',borderWidth:1,margin:2},input2:{borderColor:'black',color:'black',borderWidth:1,margin:2},button:{backgroundColor:'blue',paddingVertical:12,paddingHorizontal:25,borderRadius:25,marginVertical:12},button2:{backgroundColor:'blue',borderRadius:25,width:200,height:40,alignItems:'center',justifyContent:'center'},button3:{backgroundColor:'#FF3269',borderRadius:25,width:200,height:40,alignItems:'center',justifyContent:'center'},buttonText:{color:'white',fontSize:18},editText:{height:40,borderColor:'gray',borderWidth:1,paddingVertical:12,paddingHorizontal:25,borderRadius:25,marginVertical:12,marginEnd:20},checkbox:{width:40,height:40,borderColor:'gray',borderWidth:1,paddingVertical:12,borderRadius:20,marginVertical:12},picker:{width:250},pickerContainer:{borderColor:'gray',borderWidth:1,borderRadius:12},centerAligned:{alignItems:'center',justifyContent:'center'},marginEnd:{marginEnd:20},cover:{backgroundColor:'rgba(0,0,0,.5)'},sheet:{position:'absolute',top:c.Dimensions.get('window').height,left:0,right:0,height:'100%',justifyContent:'flex-end'},popup:{backgroundColor:'#FFF',borderTopLeftRadius:20,borderTopRightRadius:20,alignItems:'center',justifyContent:'center',minHeight:80},textArea:{borderColor:'gray',height:150,justifyContent:'flex-start',minHeight:40,borderWidth:1,paddingVertical:12,paddingHorizontal:25,borderRadius:12,marginVertical:12,marginHorizontal:12}}),j=function(e){return(0,r(d[14]).jsx)(c.TouchableOpacity,{onPress:e.onPress,style:P.button,children:(0,r(d[14]).jsx)(c.Text,{style:P.buttonText,children:e.title})})},b=function(e){return(0,r(d[14]).jsx)(c.TouchableOpacity,{onPress:e.onPress,style:P.button2,children:(0,r(d[14]).jsx)(c.Text,{style:P.buttonText,children:e.title})})},w=function(e){return(0,r(d[14]).jsxs)(c.View,{style:[P.horizontal,P.centerAligned],children:[(0,r(d[14]).jsx)(h.default,{style:P.checkbox,value:e.value,onValueChange:e.onValueChange,tintColors:{true:'blue'}}),(0,r(d[14]).jsx)(c.Text,{style:P.marginEnd,children:e.text})]})}}),533,[3,16,6,7,44,46,48,534,144,1,680,424,423,427,192,683,438]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BaseButton",{enumerable:!0,get:function(){return r(d[0]).BaseButton}}),Object.defineProperty(e,"BorderlessButton",{enumerable:!0,get:function(){return r(d[0]).BorderlessButton}}),Object.defineProperty(e,"Directions",{enumerable:!0,get:function(){return r(d[1]).Directions}}),Object.defineProperty(e,"DrawerLayout",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"DrawerLayoutAndroid",{enumerable:!0,get:function(){return r(d[2]).DrawerLayoutAndroid}}),Object.defineProperty(e,"FlatList",{enumerable:!0,get:function(){return r(d[2]).FlatList}}),Object.defineProperty(e,"FlingGestureHandler",{enumerable:!0,get:function(){return r(d[3]).FlingGestureHandler}}),Object.defineProperty(e,"ForceTouchGestureHandler",{enumerable:!0,get:function(){return r(d[4]).ForceTouchGestureHandler}}),Object.defineProperty(e,"Gesture",{enumerable:!0,get:function(){return r(d[5]).GestureObjects}}),Object.defineProperty(e,"GestureDetector",{enumerable:!0,get:function(){return r(d[6]).GestureDetector}}),Object.defineProperty(e,"GestureHandlerRootView",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"LongPressGestureHandler",{enumerable:!0,get:function(){return r(d[7]).LongPressGestureHandler}}),Object.defineProperty(e,"NativeViewGestureHandler",{enumerable:!0,get:function(){return r(d[8]).NativeViewGestureHandler}}),Object.defineProperty(e,"PanGestureHandler",{enumerable:!0,get:function(){return r(d[9]).PanGestureHandler}}),Object.defineProperty(e,"PinchGestureHandler",{enumerable:!0,get:function(){return r(d[10]).PinchGestureHandler}}),Object.defineProperty(e,"RawButton",{enumerable:!0,get:function(){return r(d[0]).RawButton}}),Object.defineProperty(e,"RectButton",{enumerable:!0,get:function(){return r(d[0]).RectButton}}),Object.defineProperty(e,"RefreshControl",{enumerable:!0,get:function(){return r(d[2]).RefreshControl}}),Object.defineProperty(e,"RotationGestureHandler",{enumerable:!0,get:function(){return r(d[11]).RotationGestureHandler}}),Object.defineProperty(e,"ScrollView",{enumerable:!0,get:function(){return r(d[2]).ScrollView}}),Object.defineProperty(e,"State",{enumerable:!0,get:function(){return r(d[12]).State}}),Object.defineProperty(e,"Swipeable",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Switch",{enumerable:!0,get:function(){return r(d[2]).Switch}}),Object.defineProperty(e,"TapGestureHandler",{enumerable:!0,get:function(){return r(d[13]).TapGestureHandler}}),Object.defineProperty(e,"TextInput",{enumerable:!0,get:function(){return r(d[2]).TextInput}}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return r(d[14]).TouchableHighlight}}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return r(d[14]).TouchableNativeFeedback}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return r(d[14]).TouchableOpacity}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return r(d[14]).TouchableWithoutFeedback}}),Object.defineProperty(e,"createNativeWrapper",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"enableExperimentalWebImplementation",{enumerable:!0,get:function(){return r(d[15]).enableExperimentalWebImplementation}}),Object.defineProperty(e,"gestureHandlerRootHOC",{enumerable:!0,get:function(){return t.default}});var t=r(d[16])(r(d[17])),n=r(d[16])(r(d[18])),u=r(d[16])(r(d[19])),o=r(d[16])(r(d[20])),c=r(d[16])(r(d[21]));(0,r(d[22]).initialize)()}),534,[535,637,638,639,640,642,654,657,537,656,664,665,631,655,666,662,3,672,676,536,678,679,677]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.BorderlessButton=_e.BaseButton=void 0,Object.defineProperty(_e,"PureNativeButton",{enumerable:!0,get:function(){return f.default}}),_e.RectButton=_e.RawButton=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),l=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=C(e);if(n&&n.has(t))return n.get(t);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var l=s?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}o.default=t,n&&n.set(t,o);return o})(r(d[7])),c=r(d[8]),p=r(d[0])(r(d[9])),f=r(d[0])(r(d[10])),v=["rippleColor"],h=["children","style"],y=["children","style"];function C(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(C=function(t){return t?n:e})(t)}function S(t){var e=P();return function(){var n,o=(0,u.default)(t);if(e){var l=(0,u.default)(this).constructor;n=Reflect.construct(o,arguments,l)}else n=o.apply(this,arguments);return(0,s.default)(this,n)}}function P(){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 A=(0,p.default)(f.default,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!1});_e.RawButton=A;var b=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).handleEvent=function(t){var e=t.nativeEvent,o=e.state,s=e.oldState,u=e.pointerInside,l=u&&o===r(d[11]).State.ACTIVE;l!==n.lastActive&&n.props.onActiveStateChange&&n.props.onActiveStateChange(l),!n.longPressDetected&&s===r(d[11]).State.ACTIVE&&o!==r(d[11]).State.CANCELLED&&n.lastActive&&n.props.onPress&&n.props.onPress(l),!n.lastActive&&o===('android'!==c.Platform.OS?r(d[11]).State.ACTIVE:r(d[11]).State.BEGAN)&&u?(n.longPressDetected=!1,n.props.onLongPress&&(n.longPressTimeout=setTimeout(n.onLongPress,n.props.delayLongPress))):(o!==r(d[11]).State.ACTIVE||u||void 0===n.longPressTimeout)&&(void 0===n.longPressTimeout||o!==r(d[11]).State.END&&o!==r(d[11]).State.CANCELLED&&o!==r(d[11]).State.FAILED)||(clearTimeout(n.longPressTimeout),n.longPressTimeout=void 0),n.lastActive=l},n.onLongPress=function(){n.longPressDetected=!0,null==n.props.onLongPress||n.props.onLongPress()},n.onHandlerStateChange=function(t){null==n.props.onHandlerStateChange||n.props.onHandlerStateChange(t),n.handleEvent(t)},n.onGestureEvent=function(t){null==n.props.onGestureEvent||n.props.onGestureEvent(t),n.handleEvent(t)},n.lastActive=!1,n.longPressDetected=!1,n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.rippleColor,o=(0,t.default)(e,v);return(0,r(d[12]).jsx)(A,Object.assign({rippleColor:(0,c.processColor)(n)},o,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange}))}}]),l})(l.Component);_e.BaseButton=b,b.defaultProps={delayLongPress:600};var O=c.Animated.createAnimatedComponent(b),R=c.StyleSheet.create({underlay:{position:'absolute',left:0,right:0,bottom:0,top:0}}),B=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).onActiveStateChange=function(t){'android'!==c.Platform.OS&&n.opacity.setValue(t?n.props.activeOpacity:0),null==n.props.onActiveStateChange||n.props.onActiveStateChange(t)},n.opacity=new c.Animated.Value(0),n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.children,o=e.style,s=(0,t.default)(e,h),u=c.StyleSheet.flatten(null!=o?o:{});return(0,r(d[12]).jsxs)(b,Object.assign({},s,{style:u,onActiveStateChange:this.onActiveStateChange,children:[(0,r(d[12]).jsx)(c.Animated.View,{style:[R.underlay,{opacity:this.opacity,backgroundColor:this.props.underlayColor,borderRadius:u.borderRadius,borderTopLeftRadius:u.borderTopLeftRadius,borderTopRightRadius:u.borderTopRightRadius,borderBottomLeftRadius:u.borderBottomLeftRadius,borderBottomRightRadius:u.borderBottomRightRadius}]}),n]}))}}]),l})(l.Component);_e.RectButton=B,B.defaultProps={activeOpacity:.105,underlayColor:'black'};var E=(function(s){(0,o.default)(l,s);var u=S(l);function l(t){var n;return(0,e.default)(this,l),(n=u.call(this,t)).onActiveStateChange=function(t){'android'!==c.Platform.OS&&n.opacity.setValue(t?n.props.activeOpacity:1),null==n.props.onActiveStateChange||n.props.onActiveStateChange(t)},n.opacity=new c.Animated.Value(1),n}return(0,n.default)(l,[{key:"render",value:function(){var e=this.props,n=e.children,o=e.style,s=(0,t.default)(e,y);return(0,r(d[12]).jsx)(O,Object.assign({},s,{onActiveStateChange:this.onActiveStateChange,style:[o,'ios'===c.Platform.OS&&{opacity:this.opacity}],children:n}))}}]),l})(l.Component);_e.BorderlessButton=E,E.defaultProps={activeOpacity:.3,borderless:!0}}),535,[3,108,6,7,44,46,48,144,1,536,635,631,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=t.forwardRef((function(u,f){var c=Object.keys(u).reduce((function(n,t){return o.includes(t)&&(n[t]=u[t]),n}),Object.assign({},l)),s=(0,t.useRef)(),p=(0,t.useRef)();return(0,t.useImperativeHandle)(f,(function(){var n=p.current;return s.current&&n?(s.current.handlerTag=n.handlerTag,s.current):null}),[s,p]),(0,r(d[4]).jsx)(r(d[3]).NativeViewGestureHandler,Object.assign({},c,{ref:p,children:(0,r(d[4]).jsx)(n,Object.assign({},u,{ref:s}))}))}));return f.displayName=(null==n?void 0:n.displayName)||(null==n||null==(u=n.render)?void 0:u.name)||'string'==typeof n&&n||'ComponentWrapper',f};var n=r(d[0])(r(d[1])),t=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=u(t);if(o&&o.has(n))return o.get(n);var l={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var s=f?Object.getOwnPropertyDescriptor(n,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=n[c]}l.default=n,o&&o.set(n,l);return l})(r(d[2]));function u(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(n){return n?o:t})(n)}var o=[].concat((0,n.default)(r(d[3]).nativeViewProps),['onGestureHandlerEvent','onGestureHandlerStateChange'])}),536,[3,27,144,537,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.nativeViewProps=e.nativeViewHandlerName=e.nativeViewGestureHandlerProps=e.NativeViewGestureHandler=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['shouldActivateOnStart','disallowInterruption'];e.nativeViewGestureHandlerProps=l;var o=[].concat((0,t.default)(r(d[3]).baseGestureHandlerProps),l);e.nativeViewProps=o;var s='NativeViewGestureHandler';e.nativeViewHandlerName=s;var v=(0,n.default)({name:s,allowedProps:o,config:{}});e.NativeViewGestureHandler=v}),537,[3,27,538,634]);
+__d((function(g,_r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var t=e.name,p=e.allowedProps,E=void 0===p?[]:p,G=e.config,H=void 0===G?{}:G,T=e.transformProps,w=e.customNativeProps,C=void 0===w?[]:w,S=(function(e){(0,s.default)(S,e);var p,G,w=(p=S,G=y(),function(){var e,t=(0,l.default)(p);if(G){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function S(e){var n;if((0,r.default)(this,S),(n=w.call(this,e)).updateEnqueued=null,n.onGestureHandlerEvent=function(e){e.nativeEvent.handlerTag===n.handlerTag?'function'==typeof n.props.onGestureEvent&&(null==n.props.onGestureEvent||n.props.onGestureEvent(e)):null==n.props.onGestureHandlerEvent||n.props.onGestureHandlerEvent(e)},n.onGestureHandlerStateChange=function(e){if(e.nativeEvent.handlerTag===n.handlerTag){'function'==typeof n.props.onHandlerStateChange&&(null==n.props.onHandlerStateChange||n.props.onHandlerStateChange(e));var t=e.nativeEvent.state,r=I[t],o=r&&n.props[r];o&&'function'==typeof o&&o(e)}else null==n.props.onGestureHandlerStateChange||n.props.onGestureHandlerStateChange(e)},n.refHandler=function(e){n.viewNode=e;var t=c.Children.only(n.props.children).ref;null!==t&&('function'==typeof t?t(e):t.current=e)},n.createGestureHandler=function(e){n.config=e,v.default.createGestureHandler(t,n.handlerTag,e)},n.attachGestureHandler=function(e){if(n.viewTag=e,'web'===f.Platform.OS)v.default.attachGestureHandler(n.handlerTag,e,_r(d[14]).ActionType.JS_FUNCTION_OLD_API,n.propsRef);else{(0,_r(d[15]).registerOldGestureHandler)(n.handlerTag,{onGestureEvent:n.onGestureHandlerEvent,onGestureStateChange:n.onGestureHandlerStateChange});var t=null!=(r=n.props)&&r.onGestureEvent&&'current'in n.props.onGestureEvent?_r(d[14]).ActionType.REANIMATED_WORKLET:null!=(o=n.props)&&o.onGestureEvent&&'__isNative'in n.props.onGestureEvent?_r(d[14]).ActionType.NATIVE_ANIMATED_EVENT:_r(d[14]).ActionType.JS_FUNCTION_OLD_API;v.default.attachGestureHandler(n.handlerTag,e,t)}var r,o;(0,_r(d[16]).scheduleFlushOperations)()},n.updateGestureHandler=function(e){n.config=e,v.default.updateGestureHandler(n.handlerTag,e),(0,_r(d[16]).scheduleFlushOperations)()},n.handlerTag=(0,_r(d[15]).getNextHandlerTag)(),n.config={},n.propsRef=c.createRef(),n.state={allowTouches:O},e.id){if(void 0!==_r(d[15]).handlerIDToTag[e.id])throw new Error("Handler with ID \""+e.id+"\" already registered");_r(d[15]).handlerIDToTag[e.id]=n.handlerTag}return n}return(0,o.default)(S,[{key:"componentDidMount",value:function(){var e=this;D(this.props)&&(this.updateEnqueued=setImmediate((function(){e.updateEnqueued=null,e.update(A)}))),this.createGestureHandler((0,_r(d[16]).filterConfig)(T?T(this.props):this.props,[].concat((0,n.default)(E),(0,n.default)(C)),H)),this.attachGestureHandler((0,_r(d[16]).findNodeHandle)(this.viewNode))}},{key:"componentDidUpdate",value:function(){var e=(0,_r(d[16]).findNodeHandle)(this.viewNode);this.viewTag!==e&&this.attachGestureHandler(e),this.update(A)}},{key:"componentWillUnmount",value:function(){var e;null==(e=this.inspectorToggleListener)||e.remove(),v.default.dropGestureHandler(this.handlerTag),(0,_r(d[16]).scheduleFlushOperations)(),this.updateEnqueued&&clearImmediate(this.updateEnqueued);var t=this.props.id;t&&delete _r(d[15]).handlerIDToTag[t]}},{key:"update",value:function(e){var t=this;if(D(this.props)&&e>0)this.updateEnqueued=setImmediate((function(){t.updateEnqueued=null,t.update(e-1)}));else{var r=(0,_r(d[16]).filterConfig)(T?T(this.props):this.props,[].concat((0,n.default)(E),(0,n.default)(C)),H);(0,h.default)(this.config,r)||this.updateGestureHandler(r)}}},{key:"setNativeProps",value:function(e){var t=Object.assign({},this.props,e),r=(0,_r(d[16]).filterConfig)(T?T(t):t,[].concat((0,n.default)(E),(0,n.default)(C)),H);this.updateGestureHandler(r)}},{key:"render",value:function(){var e,n=this.onGestureHandlerEvent,r=this.props,o=r.onGestureEvent,s=r.onGestureHandlerEvent;if(o&&'function'!=typeof o){if(s)throw new Error('Nesting touch handlers with native animated driver is not supported yet');n=o}else if(s&&'function'!=typeof s)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var u=this.onGestureHandlerStateChange,l=this.props,p=l.onHandlerStateChange,f=l.onGestureHandlerStateChange;if(p&&'function'!=typeof p){if(f)throw new Error('Nesting touch handlers with native animated driver is not supported yet');u=p}else if(f&&'function'!=typeof f)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var h={onGestureHandlerEvent:this.state.allowTouches?n:void 0,onGestureHandlerStateChange:this.state.allowTouches?u:void 0};this.propsRef.current=h;var v=null;try{v=c.Children.only(this.props.children)}catch(e){throw new Error((0,_r(d[12]).tagMessage)(t+" got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view."))}var E=v.props.children;return c.cloneElement(v,Object.assign({ref:this.refHandler,collapsable:!1},(0,_r(d[12]).isJestEnv)()?{handlerType:t,handlerTag:this.handlerTag}:{},{testID:null!=(e=this.props.testID)?e:v.props.testID},h),E)}}]),S})(c.Component);return S.displayName=t,S};var e,t,n=_r(d[0])(_r(d[1])),r=_r(d[0])(_r(d[2])),o=_r(d[0])(_r(d[3])),s=_r(d[0])(_r(d[4])),u=_r(d[0])(_r(d[5])),l=_r(d[0])(_r(d[6])),p=_r(d[0])(_r(d[7])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(r,s,u):r[s]=e[s]}r.default=e,n&&n.set(e,r);return r})(_r(d[8])),f=_r(d[9]),h=_r(d[0])(_r(d[10])),v=_r(d[0])(_r(d[11]));function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function y(){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 G=f.UIManager,H=Object.assign({onGestureHandlerEvent:{registrationName:'onGestureHandlerEvent'},onGestureHandlerStateChange:{registrationName:'onGestureHandlerStateChange'}},(0,_r(d[12]).isFabric)()&&'android'===f.Platform.OS&&{topOnGestureHandlerEvent:{registrationName:'onGestureHandlerEvent'},topOnGestureHandlerStateChange:{registrationName:'onGestureHandlerStateChange'}});G.genericDirectEventTypes=Object.assign({},G.genericDirectEventTypes,H);var T=null!=(e=null==G.getViewManagerConfig?void 0:G.getViewManagerConfig('getConstants'))?e:null==G.getConstants?void 0:G.getConstants();T&&(T.genericDirectEventTypes=Object.assign({},T.genericDirectEventTypes,H));var w=G.setJSResponder,C=void 0===w?function(){}:w,S=G.clearJSResponder,N=void 0===S?function(){}:S;G.setJSResponder=function(e,t){v.default.handleSetJSResponder(e,t),C(e,t)},G.clearJSResponder=function(){v.default.handleClearJSResponder(),N()};var O=!0;function D(e){var t=function(e){return Array.isArray(e)?e.some((function(e){return e&&null===e.current})):e&&null===e.current};return t(e.simultaneousHandlers)||t(e.waitFor)}var I=(t={},(0,p.default)(t,_r(d[13]).State.UNDETERMINED,void 0),(0,p.default)(t,_r(d[13]).State.BEGAN,'onBegan'),(0,p.default)(t,_r(d[13]).State.FAILED,'onFailed'),(0,p.default)(t,_r(d[13]).State.CANCELLED,'onCancelled'),(0,p.default)(t,_r(d[13]).State.ACTIVE,'onActivated'),(0,p.default)(t,_r(d[13]).State.END,'onEnded'),t),A=1}),538,[3,27,6,7,44,46,48,169,144,1,539,628,629,631,632,633,634]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(n,t){return r(d[0])(n,t)}}),539,[540]);
+__d((function(g,r,i,a,m,e,d){m.exports=function n(u,l,t,o,c){return u===l||(null==u||null==l||!r(d[0])(u)&&!r(d[0])(l)?u!=u&&l!=l:r(d[1])(u,l,t,o,n,c))}}),540,[541,542]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(n){return null!=n&&'object'==typeof n}}),541,[]);
+__d((function(g,r,i,a,m,e,d){var t='[object Arguments]',n='[object Array]',_='[object Object]',c=Object.prototype.hasOwnProperty;m.exports=function(o,u,p,f,l,v){var w=r(d[0])(o),b=r(d[0])(u),j=w?n:r(d[1])(o),s=b?n:r(d[1])(u),y=(j=j==t?_:j)==_,O=(s=s==t?_:s)==_,A=j==s;if(A&&r(d[2])(o)){if(!r(d[2])(u))return!1;w=!0,y=!1}if(A&&!y)return v||(v=new(r(d[3]))),w||r(d[4])(o)?r(d[5])(o,u,p,f,l,v):r(d[6])(o,u,j,p,f,l,v);if(!(1&p)){var h=y&&c.call(o,'__wrapped__'),x=O&&c.call(u,'__wrapped__');if(h||x){var P=h?o.value():o,k=x?u.value():u;return v||(v=new(r(d[3]))),l(P,k,p,f,v)}}return!!A&&(v||(v=new(r(d[3]))),r(d[7])(o,u,p,f,l,v))}}),542,[543,544,564,566,595,600,606,610]);
+__d((function(g,r,i,a,m,e,d){var n=Array.isArray;m.exports=n}),543,[]);
+__d((function(g,r,i,a,m,e,d){var t='[object Map]',c='[object Promise]',n='[object Set]',o='[object WeakMap]',s='[object DataView]',u=r(d[0])(r(d[1])),b=r(d[0])(r(d[2])),j=r(d[0])(r(d[3])),w=r(d[0])(r(d[4])),f=r(d[0])(r(d[5])),v=r(d[6]);(r(d[1])&&v(new(r(d[1]))(new ArrayBuffer(1)))!=s||r(d[2])&&v(new(r(d[2])))!=t||r(d[3])&&v(r(d[3]).resolve())!=c||r(d[4])&&v(new(r(d[4])))!=n||r(d[5])&&v(new(r(d[5])))!=o)&&(v=function(v){var p=r(d[6])(v),M="[object Object]"==p?v.constructor:void 0,_=M?r(d[0])(M):'';if(_)switch(_){case u:return s;case b:return t;case j:return c;case w:return n;case f:return o}return p}),m.exports=v}),544,[545,546,560,561,562,563,556]);
+__d((function(g,r,i,a,m,_e,d){var t=Function.prototype.toString;m.exports=function(n){if(null!=n){try{return t.call(n)}catch(t){}try{return n+''}catch(t){}}return''}}),545,[]);
+__d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]),'DataView');m.exports=t}),546,[547,553]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(n,o){var t=r(d[0])(n,o);return r(d[1])(t)?t:void 0}}),547,[548,549]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(n,o){return null==n?void 0:n[o]}}),548,[]);
+__d((function(g,r,i,a,m,e,d){var t=/^\[object .+?Constructor\]$/,o=Function.prototype,n=Object.prototype,c=o.toString,p=n.hasOwnProperty,u=RegExp('^'+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');m.exports=function(o){return!(!r(d[0])(o)||r(d[1])(o))&&(r(d[2])(o)?u:t).test(r(d[3])(o))}}),549,[550,551,555,545]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}}),550,[]);
+__d((function(g,r,i,a,m,e,d){var n,c=(n=/[^.]+$/.exec(r(d[0])&&r(d[0]).keys&&r(d[0]).keys.IE_PROTO||''))?'Symbol(src)_1.'+n:'';m.exports=function(n){return!!c&&c in n}}),551,[552]);
+__d((function(g,r,i,a,m,e,d){m.exports=r(d[0])['__core-js_shared__']}),552,[553]);
+__d((function(g,r,i,a,m,e,d){var t='object'==typeof self&&self&&self.Object===Object&&self,f=r(d[0])||t||Function('return this')();m.exports=f}),553,[554]);
+__d((function(g,r,i,a,m,e,d){var t='object'==typeof g&&g&&g.Object===Object&&g;m.exports=t}),554,[]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(n){if(!r(d[0])(n))return!1;var t=r(d[1])(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}),555,[550,556]);
+__d((function(g,r,i,a,m,e,d){var n=r(d[0])?r(d[0]).toStringTag:void 0;m.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?r(d[1])(t):r(d[2])(t)}}),556,[557,558,559]);
+__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).Symbol}),557,[553]);
+__d((function(g,r,i,a,m,_e,d){var t=Object.prototype,o=t.hasOwnProperty,e=t.toString,n=r(d[0])?r(d[0]).toStringTag:void 0;m.exports=function(t){var c=o.call(t,n),l=t[n];try{t[n]=void 0}catch(t){}var v=e.call(t);return c?t[n]=l:delete t[n],v}}),558,[557]);
+__d((function(g,r,i,a,m,e,d){var t=Object.prototype.toString;m.exports=function(n){return t.call(n)}}),559,[]);
+__d((function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1]),'Map');m.exports=n}),560,[547,553]);
+__d((function(g,r,i,a,m,e,d){var o=r(d[0])(r(d[1]),'Promise');m.exports=o}),561,[547,553]);
+__d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]),'Set');m.exports=t}),562,[547,553]);
+__d((function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1]),'WeakMap');m.exports=n}),563,[547,553]);
+__d((function(g,r,i,a,m,e,d){var o='object'==typeof e&&e&&!e.nodeType&&e,f=o&&'object'==typeof m&&m&&!m.nodeType&&m,t=f&&f.exports===o?r(d[0]).Buffer:void 0,p=(t?t.isBuffer:void 0)||r(d[1]);m.exports=p}),564,[553,565]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(){return!1}}),565,[]);
+__d((function(g,r,i,a,m,e,d){function t(t){var o=this.__data__=new(r(d[0]))(t);this.size=o.size}t.prototype.clear=r(d[1]),t.prototype.delete=r(d[2]),t.prototype.get=r(d[3]),t.prototype.has=r(d[4]),t.prototype.set=r(d[5]),m.exports=t}),566,[567,575,576,577,578,579]);
+__d((function(g,r,i,a,m,e,d){function t(t){var o=-1,p=null==t?0:t.length;for(this.clear();++o-1}}),573,[570]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(t,s){var _=this.__data__,n=r(d[0])(_,t);return n<0?(++this.size,_.push([t,s])):_[n][1]=s,this}}),574,[570]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(){this.__data__=new(r(d[0])),this.size=0}}),575,[567]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(t){var _=this.__data__,n=_.delete(t);return this.size=_.size,n}}),576,[]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.get(t)}}),577,[]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.has(t)}}),578,[]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(t,s){var _=this.__data__;if(_ instanceof r(d[0])){var n=_.__data__;if(!r(d[1])||n.length<199)return n.push([t,s]),this.size=++_.size,this;_=this.__data__=new(r(d[2]))(n)}return _.set(t,s),this.size=_.size,this}}),579,[567,560,580]);
+__d((function(g,r,i,a,m,e,d){function t(t){var o=-1,p=null==t?0:t.length;for(this.clear();++o
-1&&n%1==0&&n<=9007199254740991}}),599,[]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(t,n,f,u,o,v){var l=1&f,s=t.length,c=n.length;if(s!=c&&!(l&&c>s))return!1;var b=v.get(t),h=v.get(n);if(b&&h)return b==n&&h==t;var k=-1,p=!0,_=2&f?new(r(d[0])):void 0;for(v.set(t,n),v.set(n,t);++k-1&&t%1==0&&t=68||c.major>0},e.tagMessage=function(n){return"[react-native-gesture-handler] "+n},e.toArray=function(n){if(!Array.isArray(n))return[n];return n},e.withPrevAndCurrent=function(t,o){var u=[null],i=(0,n.default)(t),s=[];return i.forEach((function(n,t){var i=u[t],c=o(i,n);u.push(c),s.push(c)})),s};var n=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),o=r(d[0])(r(d[3])).default.version.split('.'),u=(0,t.default)(o,2),i=u[0],s=u[1],c={major:parseInt(i,10),minor:parseInt(s,10)};function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}e.REACT_NATIVE_VERSION=c}),629,[3,27,16,630]);
+__d((function(e,s,t,r,i,c,a){i.exports={name:"react-native",version:"0.72.6",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=16"},types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","flow-typed","gradle.properties","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-codegen-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen","!scripts/codegen/__tests__","!scripts/codegen/__test_fixtures__","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/native_modules.rb","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/cocoapods/__tests__","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","settings.gradle.kts","template.config.js","template","!template/node_modules","!template/package-lock.json","!template/yarn.lock","third-party-podspecs","types"],scripts:{prepack:"cp ../../README.md ."},peerDependencies:{react:"18.2.0"},dependencies:{"@jest/create-cache-key-function":"^29.2.1","@react-native-community/cli":"11.3.7","@react-native-community/cli-platform-android":"11.3.7","@react-native-community/cli-platform-ios":"11.3.7","@react-native/assets-registry":"^0.72.0","@react-native/codegen":"^0.72.7","@react-native/gradle-plugin":"^0.72.11","@react-native/js-polyfills":"^0.72.1","@react-native/normalize-colors":"^0.72.0","@react-native/virtualized-lists":"^0.72.8","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","deprecated-react-native-prop-types":"4.1.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.5",invariant:"^2.2.4","jest-environment-node":"^29.2.1","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"0.76.8","metro-source-map":"0.76.8",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.2","react-refresh":"^0.4.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.2.2",yargs:"^17.6.2"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}}),630,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;e.State={UNDETERMINED:0,FAILED:1,BEGAN:2,CANCELLED:3,ACTIVE:4,END:5}}),631,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ActionType=void 0;e.ActionType={REANIMATED_WORKLET:1,NATIVE_ANIMATED_EVENT:2,JS_FUNCTION_OLD_API:3,JS_FUNCTION_NEW_API:4}}),632,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.findHandler=o,e.findHandlerByTestID=function(n){var t,u=l.get(n);return void 0!==u&&null!=(t=o(u))?t:null},e.findOldGestureHandler=function(n){return t.get(n)},e.getNextHandlerTag=function(){return u++},e.handlerIDToTag=void 0,e.registerHandler=function(t,u,o){n.set(t,u),(0,r(d[0]).isJestEnv)()&&o&&l.set(o,t)},e.registerOldGestureHandler=function(n,l){t.set(n,l)},e.unregisterHandler=function(t,u){n.delete(t),(0,r(d[0]).isJestEnv)()&&u&&l.delete(u)};e.handlerIDToTag={};var n=new Map,t=new Map,l=new Map,u=1;function o(t){return n.get(t)}}),633,[629]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.baseGestureHandlerWithMonitorProps=e.baseGestureHandlerProps=void 0,e.filterConfig=function(n,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Object.assign({},o);for(var u of t){var c=n[u];v=u,void 0===(f=c)||f===Object(f)&&'__isNative'in f||'onHandlerStateChange'===v||'onGestureEvent'===v||('simultaneousHandlers'===u||'waitFor'===u?c=s(n[u]):'hitSlop'===u&&'object'!=typeof c&&(c={top:c,left:c,bottom:c,right:c}),l[u]=c)}var f,v;return l},e.findNodeHandle=function(t){if('web'===n.Platform.OS)return t;return(0,n.findNodeHandle)(t)},e.scheduleFlushOperations=function(){null===c&&(c=requestAnimationFrame((function(){t.default.flushOperations(),c=null})))};var n=r(d[0]),t=r(d[1])(r(d[2])),o=['id','enabled','shouldCancelWhenOutside','hitSlop','cancelsTouchesInView','userSelect'],l=[].concat(o,['waitFor','simultaneousHandlers'],['onBegan','onFailed','onCancelled','onActivated','onEnded','onGestureEvent','onHandlerStateChange']);e.baseGestureHandlerProps=l;var u=[].concat(o,['needsPointerData','manualActivation']);function s(t){return t=(0,r(d[3]).toArray)(t),'web'===n.Platform.OS?t.map((function(n){return n.current})).filter((function(n){return n})):t.map((function(n){var t;return r(d[4]).handlerIDToTag[n]||(null==(t=n.current)?void 0:t.handlerTag)||-1})).filter((function(n){return n>0}))}e.baseGestureHandlerWithMonitorProps=u;var c=null}),634,[1,3,628,629,633]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o=(0,r(d[1]).shouldUseCodegenNativeComponent)()?r(d[2]).default:(0,t.requireNativeComponent)('RNGestureHandlerButton');e.default=o}),635,[1,629,636]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('RNGestureHandlerButton');e.default=t}),636,[3,205]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Directions=void 0;e.Directions={RIGHT:1,LEFT:2,UP:4,DOWN:8}}),637,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TextInput=e.Switch=e.ScrollView=e.RefreshControl=e.FlatList=e.DrawerLayoutAndroid=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),o=r(d[0])(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 o=w(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=u?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(l,f,s):l[f]=t[f]}l.default=t,o&&o.set(t,l);return l})(r(d[4])),u=r(d[5]),f=r(d[0])(r(d[6])),s=["refreshControl","waitFor"],c=["waitFor","refreshControl"];function w(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(w=function(t){return t?o:n})(t)}var p=(0,f.default)(u.RefreshControl,{disallowInterruption:!0,shouldCancelWhenOutside:!1});e.RefreshControl=p;var v=(0,f.default)(u.ScrollView,{disallowInterruption:!0,shouldCancelWhenOutside:!1}),h=l.forwardRef((function(t,u){var f=l.useRef(null),c=t.refreshControl,w=t.waitFor,p=(0,o.default)(t,s);return(0,r(d[7]).jsx)(v,Object.assign({},p,{ref:u,waitFor:[].concat((0,n.default)((0,r(d[8]).toArray)(null!=w?w:[])),[f]),refreshControl:c?l.cloneElement(c,{ref:f}):void 0}))}));e.ScrollView=h;var O=(0,f.default)(u.Switch,{shouldCancelWhenOutside:!1,shouldActivateOnStart:!0,disallowInterruption:!0});e.Switch=O;var j=(0,f.default)(u.TextInput);e.TextInput=j;var y=(0,f.default)(u.DrawerLayoutAndroid,{disallowInterruption:!0});e.DrawerLayoutAndroid=y;var C=l.forwardRef((function(f,s){var w=l.useRef(null),p=f.waitFor,v=f.refreshControl,O=(0,o.default)(f,c),j={},y={};for(var C of Object.entries(O)){var b=(0,t.default)(C,2),F=b[0],S=b[1];r(d[9]).nativeViewProps.includes(F)?y[F]=S:j[F]=S}return(0,r(d[7]).jsx)(u.FlatList,Object.assign({ref:s},j,{renderScrollComponent:function(t){return(0,r(d[7]).jsx)(h,Object.assign({},Object.assign({},t,y,{waitFor:[].concat((0,n.default)((0,r(d[8]).toArray)(null!=p?p:[])),[w])})))},refreshControl:v?l.cloneElement(v,{ref:w}):void 0}))}));e.FlatList=C}),638,[3,16,27,108,144,1,536,192,629,537]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.flingHandlerName=e.flingGestureHandlerProps=e.FlingGestureHandler=void 0;var n=r(d[0])(r(d[1])),l=r(d[0])(r(d[2])),t=['numberOfPointers','direction'];e.flingGestureHandlerProps=t;var o='FlingGestureHandler';e.flingHandlerName=o;var s=(0,l.default)({name:o,allowedProps:[].concat((0,n.default)(r(d[3]).baseGestureHandlerProps),t),config:{}});e.FlingGestureHandler=s}),639,[3,27,538,634]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.forceTouchHandlerName=_e.forceTouchGestureHandlerProps=_e.ForceTouchGestureHandler=void 0;var e=r(d[0])(r(d[1])),o=r(d[0])(r(d[2])),t=r(d[0])(r(d[3])),c=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),l=r(d[0])(r(d[7])),f=r(d[0])(r(d[8])),s=r(d[0])(r(d[9]));function h(){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 v=['minForce','maxForce','feedbackOnActivation'];_e.forceTouchGestureHandlerProps=v;var p=(function(e){(0,c.default)(v,e);var l,f,s=(l=v,f=h(),function(){var e,o=(0,u.default)(l);if(f){var t=(0,u.default)(this).constructor;e=Reflect.construct(o,arguments,t)}else e=o.apply(this,arguments);return(0,n.default)(this,e)});function v(){return(0,o.default)(this,v),s.apply(this,arguments)}return(0,t.default)(v,[{key:"componentDidMount",value:function(){console.warn((0,r(d[10]).tagMessage)('ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase'))}},{key:"render",value:function(){return this.props.children}}]),v})(l.default.Component);p.forceTouchAvailable=!1;var T='ForceTouchGestureHandler';_e.forceTouchHandlerName=T;var y=null!=f.default&&f.default.forceTouchAvailable?(0,s.default)({name:T,allowedProps:[].concat((0,e.default)(r(d[11]).baseGestureHandlerProps),v),config:{}}):p;_e.ForceTouchGestureHandler=y,y.forceTouchAvailable=(null==f.default?void 0:f.default.forceTouchAvailable)||!1}),640,[3,27,6,7,44,46,48,144,641,538,629,634]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,l=r(d[0]),o=null!=(t=null==l.NativeModules?void 0:l.NativeModules.PlatformConstants)?t:l.Platform.constants;e.default=o}),641,[1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.GestureObjects=void 0;var n=r(d[0])(r(d[1])),t={Tap:function(){return new(r(d[2]).TapGesture)},Pan:function(){return new(r(d[3]).PanGesture)},Pinch:function(){return new(r(d[4]).PinchGesture)},Rotation:function(){return new(r(d[5]).RotationGesture)},Fling:function(){return new(r(d[6]).FlingGesture)},LongPress:function(){return new(r(d[7]).LongPressGesture)},ForceTouch:function(){return new(r(d[8]).ForceTouchGesture)},Native:function(){return new(r(d[9]).NativeGesture)},Manual:function(){return new(r(d[10]).ManualGesture)},Race:function(){for(var t=arguments.length,u=new Array(t),o=0;o0})))?t:[]}function A(e){for(var t of e.config)h.default.dropGestureHandler(t.handlerTag),(0,r(d[18]).unregisterHandler)(t.handlerTag,t.config.testId);(0,r(d[11]).scheduleFlushOperations)()}function L(e){if(!e.config.runOnJS){var t=e.handlers.isWorklet.includes(!1),n=e.handlers.isWorklet.includes(!0);t&&n&&console.error((0,r(d[19]).tagMessage)("Some of the callbacks in the gesture are worklets and some are not. Either make sure that all calbacks are marked as 'worklet' if you wish to run them on the UI thread or use '.runOnJS(true)' modifier on the gesture explicitly to run all callbacks on the JS thread."))}}function H(e){var t=e.preparedGesture,n=e.gestureConfig,o=e.gesture,u=e.viewTag,l=e.webEventHandlersRef,i=e.mountedRef;for(var s of(t.firstExecution?t.firstExecution=!1:n.initialize(),setImmediate((function(){i.current&&n.prepare()})),o))L(s),h.default.createGestureHandler(s.handlerName,s.handlerTag,(0,r(d[11]).filterConfig)(s.config,T)),(0,r(d[18]).registerHandler)(s.handlerTag,s,s.config.testId);for(var f of(setImmediate((function(){if(i.current){for(var e of o){var t=[];e.config.requireToFail&&(t=C(e.config.requireToFail));var n=[];e.config.simultaneousWith&&(n=C(e.config.simultaneousWith)),h.default.updateGestureHandler(e.handlerTag,(0,r(d[11]).filterConfig)(e.config,T,{simultaneousHandlers:n,waitFor:t}))}(0,r(d[11]).scheduleFlushOperations)()}})),t.config=o,t.config)){var c=f.shouldUseReanimated?r(d[20]).ActionType.REANIMATED_WORKLET:r(d[20]).ActionType.JS_FUNCTION_NEW_API;'web'===g.Platform.OS?h.default.attachGestureHandler(f.handlerTag,u,r(d[20]).ActionType.JS_FUNCTION_OLD_API,l):h.default.attachGestureHandler(f.handlerTag,u,c)}if(t.animatedHandlers){t.animatedHandlers.value=o.filter((function(e){return e.shouldUseReanimated})).map((function(e){return e.handlers}))}}function w(e,t,n,o){t.prepare();for(var u=0;u3?u-3:0),i=3;i`."))}};return o?(0,r(d[28]).jsx)(B,{ref:C,onGestureHandlerEvent:E.animatedEventHandler,children:e.children}):(0,r(d[28]).jsx)(U,{ref:C,children:e.children})};var U=(function(e){(0,u.default)(h,e);var t,s,f=(t=h,s=E(),function(){var e,n=(0,i.default)(t);if(s){var o=(0,i.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,l.default)(this,e)});function h(){return(0,n.default)(this,h),f.apply(this,arguments)}return(0,o.default)(h,[{key:"render",value:function(){try{var e=c.default.Children.only(this.props.children);return c.default.cloneElement(e,{collapsable:!1},e.props.children)}catch(e){throw new Error((0,r(d[19]).tagMessage)("GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view."))}}}]),h})(c.default.Component),B=null!=(e=null==r(d[22]).Reanimated||null==(t=r(d[22]).Reanimated.default)?void 0:t.createAnimatedComponent(U))?e:U}),654,[3,6,7,44,46,48,16,27,144,628,1,634,655,656,657,640,639,644,633,629,632,658,659,631,660,661,662,663,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.tapHandlerName=e.tapGestureHandlerProps=e.TapGestureHandler=void 0;var t=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['maxDurationMs','maxDelayMs','numberOfTaps','maxDeltaX','maxDeltaY','maxDist','minPointers'];e.tapGestureHandlerProps=l;var s='TapGestureHandler';e.tapHandlerName=s;var u=(0,n.default)({name:s,allowedProps:[].concat((0,t.default)(r(d[3]).baseGestureHandlerProps),l),config:{shouldCancelWhenOutside:!0}});e.TapGestureHandler=u}),655,[3,27,538,634]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PanGestureHandler=void 0,e.managePanProps=c,e.panHandlerName=e.panGestureHandlerProps=e.panGestureHandlerCustomNativeProps=void 0;var f=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),s=['activeOffsetY','activeOffsetX','failOffsetY','failOffsetX','minDist','minVelocity','minVelocityX','minVelocityY','minPointers','maxPointers','avgTouches','enableTrackpadTwoFingerGesture','activateAfterLongPress'];e.panGestureHandlerProps=s;var O=['activeOffsetYStart','activeOffsetYEnd','activeOffsetXStart','activeOffsetXEnd','failOffsetYStart','failOffsetYEnd','failOffsetXStart','failOffsetXEnd'];e.panGestureHandlerCustomNativeProps=O;var n='PanGestureHandler';e.panHandlerName=n;var l=(0,t.default)({name:n,allowedProps:[].concat((0,f.default)(r(d[3]).baseGestureHandlerProps),s),config:{},transformProps:c,customNativeProps:O});function v(f){var t=Object.assign({},f);return void 0!==f.activeOffsetX&&(delete t.activeOffsetX,Array.isArray(f.activeOffsetX)?(t.activeOffsetXStart=f.activeOffsetX[0],t.activeOffsetXEnd=f.activeOffsetX[1]):f.activeOffsetX<0?t.activeOffsetXStart=f.activeOffsetX:t.activeOffsetXEnd=f.activeOffsetX),void 0!==f.activeOffsetY&&(delete t.activeOffsetY,Array.isArray(f.activeOffsetY)?(t.activeOffsetYStart=f.activeOffsetY[0],t.activeOffsetYEnd=f.activeOffsetY[1]):f.activeOffsetY<0?t.activeOffsetYStart=f.activeOffsetY:t.activeOffsetYEnd=f.activeOffsetY),void 0!==f.failOffsetX&&(delete t.failOffsetX,Array.isArray(f.failOffsetX)?(t.failOffsetXStart=f.failOffsetX[0],t.failOffsetXEnd=f.failOffsetX[1]):f.failOffsetX<0?t.failOffsetXStart=f.failOffsetX:t.failOffsetXEnd=f.failOffsetX),void 0!==f.failOffsetY&&(delete t.failOffsetY,Array.isArray(f.failOffsetY)?(t.failOffsetYStart=f.failOffsetY[0],t.failOffsetYEnd=f.failOffsetY[1]):f.failOffsetY<0?t.failOffsetYStart=f.failOffsetY:t.failOffsetYEnd=f.failOffsetY),t}function c(f){return v(f)}e.PanGestureHandler=l}),656,[3,27,538,634]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.longPressHandlerName=e.longPressGestureHandlerProps=e.LongPressGestureHandler=void 0;var s=r(d[0])(r(d[1])),n=r(d[0])(r(d[2])),l=['minDurationMs','maxDist'];e.longPressGestureHandlerProps=l;var o='LongPressGestureHandler';e.longPressHandlerName=o;var t=(0,n.default)({name:o,allowedProps:[].concat((0,s.default)(r(d[3]).baseGestureHandlerProps),l),config:{shouldCancelWhenOutside:!0}});e.LongPressGestureHandler=t}),657,[3,27,538,634]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TouchEventType=void 0;e.TouchEventType={UNDETERMINED:0,TOUCHES_DOWN:1,TOUCHES_MOVE:2,TOUCHES_UP:3,TOUCHES_CANCELLED:4}}),658,[]);
+__d((function(g,r,i,a,m,_e,d){var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.Reanimated=void 0,_e.Reanimated=e;try{if(_e.Reanimated=e=r(d[0]),!e.useSharedValue)throw _e.Reanimated=e=void 0,new Error('react-native-reanimated is not found');e.setGestureState||(e.setGestureState=function(){console.warn((0,r(d[1]).tagMessage)('Please use newer version of react-native-reanimated in order to control state of the gestures.'))})}catch(e){}}),659,[629]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.GestureStateManager=void 0;var t=(0,r(d[0]).tagMessage)('react-native-reanimated is required in order to use synchronous state management'),n=void 0!==(null==r(d[1]).Reanimated?void 0:r(d[1]).Reanimated.useSharedValue),o=null==r(d[1]).Reanimated?void 0:r(d[1]).Reanimated.setGestureState,u={create:function(u){return{begin:function(){n?o(u,r(d[2]).State.BEGAN):console.warn(t)},activate:function(){n?o(u,r(d[2]).State.ACTIVE):console.warn(t)},fail:function(){n?o(u,r(d[2]).State.FAILED):console.warn(t)},end:function(){n?o(u,r(d[2]).State.END):console.warn(t)}}}};e.GestureStateManager=u}),660,[629,659,631]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.onGestureHandlerEvent=E,e.startListening=function(){T(),l=n.DeviceEventEmitter.addListener('onGestureHandlerEvent',E),t=n.DeviceEventEmitter.addListener('onGestureHandlerStateChange',E)},e.stopListening=T;var n=r(d[0]),l=null,t=null,o=new Map,s=[];function h(n){return null!=n.oldState}function u(n){return null!=n.eventType}function E(n){var l,t,E,T,c=(0,r(d[1]).findHandler)(n.handlerTag);if(c)if(h(n))n.oldState===r(d[2]).State.UNDETERMINED&&n.state===r(d[2]).State.BEGAN?null==c.handlers.onBegin||c.handlers.onBegin(n):n.oldState!==r(d[2]).State.BEGAN&&n.oldState!==r(d[2]).State.UNDETERMINED||n.state!==r(d[2]).State.ACTIVE?n.oldState!==n.state&&n.state===r(d[2]).State.END?(n.oldState===r(d[2]).State.ACTIVE&&(null==c.handlers.onEnd||c.handlers.onEnd(n,!0)),null==c.handlers.onFinalize||c.handlers.onFinalize(n,!0),s[c.handlers.handlerTag]=void 0):n.state!==r(d[2]).State.FAILED&&n.state!==r(d[2]).State.CANCELLED||n.oldState===n.state||(n.oldState===r(d[2]).State.ACTIVE&&(null==c.handlers.onEnd||c.handlers.onEnd(n,!1)),null==c.handlers.onFinalize||c.handlers.onFinalize(n,!1),o.delete(n.handlerTag),s[c.handlers.handlerTag]=void 0):(null==c.handlers.onStart||c.handlers.onStart(n),s[c.handlers.handlerTag]=n);else if(u(n)){o.has(n.handlerTag)||o.set(n.handlerTag,r(d[3]).GestureStateManager.create(n.handlerTag));var v=o.get(n.handlerTag);switch(n.eventType){case r(d[4]).TouchEventType.TOUCHES_DOWN:null==(l=c.handlers)||null==l.onTouchesDown||l.onTouchesDown(n,v);break;case r(d[4]).TouchEventType.TOUCHES_MOVE:null==(t=c.handlers)||null==t.onTouchesMove||t.onTouchesMove(n,v);break;case r(d[4]).TouchEventType.TOUCHES_UP:null==(E=c.handlers)||null==E.onTouchesUp||E.onTouchesUp(n,v);break;case r(d[4]).TouchEventType.TOUCHES_CANCELLED:null==(T=c.handlers)||null==T.onTouchesCancelled||T.onTouchesCancelled(n,v)}}else null==c.handlers.onUpdate||c.handlers.onUpdate(n),c.handlers.onChange&&c.handlers.changeEventCalculator&&(null==c.handlers.onChange||c.handlers.onChange(null==c.handlers.changeEventCalculator?void 0:c.handlers.changeEventCalculator(n,s[c.handlers.handlerTag])),s[c.handlers.handlerTag]=n);else{var S=(0,r(d[1]).findOldGestureHandler)(n.handlerTag);if(S){var C={nativeEvent:n};return void(h(n)?S.onGestureStateChange(C):S.onGestureEvent(C))}}}function T(){l&&(l.remove(),l=null),t&&(t.remove(),t=null)}}),661,[1,633,631,660,658]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.enableExperimentalWebImplementation=function(){var o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if('web'!==n.Platform.OS||t===o)return;if(l)return void console.error('Some parts of this application have already started using old gesture handler implementation. No changes will be applied. You can try enabling new implementation earlier.');t=o},e.isExperimentalWebImplementationEnabled=function(){return l=!0,t};var n=r(d[0]),t=!1,l=!1}),662,[1]);
+__d((function(g,r,i,a,m,_e,d){var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.getShadowNodeFromRef=function(n){if(void 0===e)try{e=r(d[0]).findHostInstance_DEPRECATED}catch(n){e=function(e){return null}}return e(n)._internalInstanceHandle.stateNode.node}}),663,[37]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.pinchHandlerName=e.PinchGestureHandler=void 0;var n=r(d[0])(r(d[1])),l='PinchGestureHandler';e.pinchHandlerName=l;var c=(0,n.default)({name:l,allowedProps:r(d[2]).baseGestureHandlerProps,config:{}});e.PinchGestureHandler=c}),664,[3,538,634]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.rotationHandlerName=e.RotationGestureHandler=void 0;var o=r(d[0])(r(d[1])),t='RotationGestureHandler';e.rotationHandlerName=t;var n=(0,o.default)({name:t,allowedProps:r(d[2]).baseGestureHandlerProps,config:{}});e.RotationGestureHandler=n}),665,[3,538,634]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return u.default}});var t=r(d[0])(r(d[1])),u=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),c=r(d[0])(r(d[4]))}),666,[3,667,668,670,671]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TouchableNativeFeedback;e.default=t}),667,[1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;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 u=f(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,u&&u.set(t,o);return o})(r(d[0])),n=r(d[1])(r(d[2]));function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}var u=t.forwardRef((function(t,f){return(0,r(d[3]).jsx)(n.default,Object.assign({ref:f},t))}));u.defaultProps=n.default.defaultProps;var o=u;e.default=o}),668,[144,3,669,192]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=_e.TOUCHABLE_STATE=void 0;var t=r(d[0])(r(d[1])),e=r(d[0])(r(d[2])),s=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),n=r(d[0])(r(d[5])),l=(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var s=p(e);if(s&&s.has(t))return s.get(t);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var u=n?Object.getOwnPropertyDescriptor(t,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=t[l]}o.default=t,s&&s.set(t,o);return o})(r(d[6])),u=r(d[7]);function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,s=new WeakMap;return(p=function(t){return t?s:e})(t)}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(t){return!1}}var h={UNDETERMINED:0,BEGAN:1,MOVED_OUTSIDE:2};_e.TOUCHABLE_STATE=h;var T=(function(l){(0,s.default)(E,l);var p,T,f=(p=E,T=c(),function(){var t,e=(0,n.default)(p);if(T){var s=(0,n.default)(this).constructor;t=Reflect.construct(e,arguments,s)}else t=e.apply(this,arguments);return(0,o.default)(this,t)});function E(){var e;(0,t.default)(this,E);for(var s=arguments.length,o=new Array(s),n=0;n0:b,y=t.overshootRight,A=void 0===y?O>0:y,W=u.Animated.add(p,l.interpolate({inputRange:[0,n],outputRange:[0,1]})).interpolate({inputRange:[-O-1,-O,h,h+1],outputRange:[-O-(A?1/s:0),-O,h,h+(R?1/s:0)]});o.transX=W,o.showLeftAction=h>0?W.interpolate({inputRange:[-1,0,h],outputRange:[0,0,1]}):new u.Animated.Value(0),o.leftActionTranslate=o.showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),o.showRightAction=O>0?W.interpolate({inputRange:[-O,0,1],outputRange:[1,0,0]}):new u.Animated.Value(0),o.rightActionTranslate=o.showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},o.onTapHandlerStateChange=function(t){t.nativeEvent.oldState===r(d[9]).State.ACTIVE&&o.close()},o.onHandlerStateChange=function(t){t.nativeEvent.oldState===r(d[9]).State.ACTIVE&&o.handleRelease(t)},o.handleRelease=function(t){var e=t.nativeEvent,n=e.velocityX,s=e.translationX,l=o.state,p=l.leftWidth,u=void 0===p?0:p,f=l.rowWidth,h=void 0===f?0:f,c=l.rowState,v=o.state.rightOffset,w=h-(void 0===v?h:v),S=o.props,O=S.friction,b=S.leftThreshold,R=void 0===b?u/2:b,y=S.rightThreshold,A=void 0===y?w/2:y,W=o.currentOffset()+s/O,j=(s+.05*n)/O,L=0;0===c?j>R?L=u:j<-A&&(L=-w):1===c?j>-R&&(L=u):j0)null==o.props.onSwipeableLeftOpen||o.props.onSwipeableLeftOpen(),null==o.props.onSwipeableOpen||o.props.onSwipeableOpen('left',(0,n.default)(o));else if(e<0)null==o.props.onSwipeableRightOpen||o.props.onSwipeableRightOpen(),null==o.props.onSwipeableOpen||o.props.onSwipeableOpen('right',(0,n.default)(o));else{var l=t>0?'left':'right';null==o.props.onSwipeableClose||o.props.onSwipeableClose(l,(0,n.default)(o))}})),e>0)null==o.props.onSwipeableLeftWillOpen||o.props.onSwipeableLeftWillOpen(),null==o.props.onSwipeableWillOpen||o.props.onSwipeableWillOpen('left');else if(e<0)null==o.props.onSwipeableRightWillOpen||o.props.onSwipeableRightWillOpen(),null==o.props.onSwipeableWillOpen||o.props.onSwipeableWillOpen('right');else{var h=t>0?'left':'right';null==o.props.onSwipeableWillClose||o.props.onSwipeableWillClose(h)}},o.onRowLayout=function(t){var e=t.nativeEvent;o.setState({rowWidth:e.layout.width})},o.currentOffset=function(){var t=o.state,e=t.leftWidth,n=void 0===e?0:e,s=t.rowWidth,l=void 0===s?0:s,p=t.rowState,u=o.state.rightOffset;return 1===p?n:-1===p?-(l-(void 0===u?l:u)):0},o.close=function(){o.animateRow(o.currentOffset(),0)},o.openLeft=function(){var t=o.state.leftWidth,e=void 0===t?0:t;o.animateRow(o.currentOffset(),e)},o.openRight=function(){var t=o.state.rowWidth,e=void 0===t?0:t,n=o.state.rightOffset,s=e-(void 0===n?e:n);o.animateRow(o.currentOffset(),-s)};var s=new u.Animated.Value(0);return o.state={dragX:s,rowTranslation:new u.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},o.updateAnimatedEvent(e,o.state),o.onGestureEvent=u.Animated.event([{nativeEvent:{translationX:s}}],{useNativeDriver:e.useNativeAnimations}),o}return(0,e.default)(S,[{key:"shouldComponentUpdate",value:function(t,e){return this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===e.leftWidth&&this.state.rightOffset===e.rightOffset&&this.state.rowWidth===e.rowWidth||this.updateAnimatedEvent(t,e),!0}},{key:"render",value:function(){var t=this,e=this.state.rowState,n=this.props,o=n.children,s=n.renderLeftActions,l=n.renderRightActions,p=s&&(0,r(d[10]).jsxs)(u.Animated.View,{style:[v.leftActions,{transform:[{translateX:this.leftActionTranslate}]}],children:[s(this.showLeftAction,this.transX),(0,r(d[10]).jsx)(u.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({leftWidth:n.layout.x})}})]}),f=l&&(0,r(d[10]).jsxs)(u.Animated.View,{style:[v.rightActions,{transform:[{translateX:this.rightActionTranslate}]}],children:[l(this.showRightAction,this.transX,this),(0,r(d[10]).jsx)(u.View,{onLayout:function(e){var n=e.nativeEvent;return t.setState({rightOffset:n.layout.x})}})]});return(0,r(d[10]).jsx)(r(d[11]).PanGestureHandler,Object.assign({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.onHandlerStateChange,children:(0,r(d[10]).jsxs)(u.Animated.View,{onLayout:this.onRowLayout,style:[v.container,this.props.containerStyle],children:[p,f,(0,r(d[10]).jsx)(r(d[12]).TapGestureHandler,{enabled:0!==e,onHandlerStateChange:this.onTapHandlerStateChange,children:(0,r(d[10]).jsx)(u.Animated.View,{pointerEvents:0===e?'auto':'box-only',style:[{transform:[{translateX:this.transX}]},this.props.childrenContainerStyle],children:o})})]})}))}}]),S})(p.Component);_e.default=c,c.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var v=u.StyleSheet.create({container:{overflow:'hidden'},leftActions:Object.assign({},u.StyleSheet.absoluteFillObject,{flexDirection:u.I18nManager.isRTL?'row-reverse':'row'}),rightActions:Object.assign({},u.StyleSheet.absoluteFillObject,{flexDirection:u.I18nManager.isRTL?'row':'row-reverse'})})}),678,[3,6,7,47,44,46,48,144,1,631,192,656,655]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),l=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=s?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[6])),u=r(d[0])(r(d[7])),p=r(d[8]);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function w(){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 f='Idle',h='Dragging',v='Settling',S=(function(c){(0,n.default)(A,c);var S,b,V=(S=A,b=w(),function(){var e,t=(0,s.default)(S);if(b){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function A(t){var n;(0,e.default)(this,A),(n=V.call(this,t)).accessibilityIsModalView=l.createRef(),n.pointerEventsView=l.createRef(),n.panGestureHandler=l.createRef(),n.drawerShown=!1,n.updateAnimatedEvent=function(e,t){var o=e.drawerPosition,s=e.drawerWidth,l=e.drawerType,u=t.dragX,c=t.touchX,w=t.drawerTranslation,f=t.containerWidth,h=u,v=c;'left'!==o?(h=p.Animated.multiply(new p.Animated.Value(-1),u),v=p.Animated.add(new p.Animated.Value(f),p.Animated.multiply(new p.Animated.Value(-1),c)),c.setValue(f)):c.setValue(0);var S=h;if('front'===l){var y=p.Animated.add(v,p.Animated.multiply(new p.Animated.Value(-1),h)).interpolate({inputRange:[s-1,s,s+1],outputRange:[0,0,1]});S=p.Animated.add(h,y)}n.openValue=p.Animated.add(S,w).interpolate({inputRange:[0,s],outputRange:[0,1],extrapolate:'clamp'});var b={useNativeDriver:e.useNativeAnimations};n.props.onDrawerSlide&&(b.listener=function(e){var t=Math.floor(Math.abs(e.nativeEvent.translationX))/n.state.containerWidth;null==n.props.onDrawerSlide||n.props.onDrawerSlide(t)}),n.onGestureEvent=p.Animated.event([{nativeEvent:{translationX:u,x:c}}],b)},n.handleContainerLayout=function(e){var t=e.nativeEvent;n.setState({containerWidth:t.layout.width})},n.emitStateChanged=function(e,t){null==n.props.onDrawerStateChanged||n.props.onDrawerStateChanged(e,t)},n.openingHandlerStateChange=function(e){var t=e.nativeEvent;t.oldState===r(d[9]).State.ACTIVE?n.handleRelease({nativeEvent:t}):t.state===r(d[9]).State.ACTIVE&&(n.emitStateChanged(h,!1),n.setState({drawerState:h}),'on-drag'===n.props.keyboardDismissMode&&p.Keyboard.dismiss(),n.props.hideStatusBar&&p.StatusBar.setHidden(!0,n.props.statusBarAnimation||'slide'))},n.onTapHandlerStateChange=function(e){var t=e.nativeEvent;n.drawerShown&&t.oldState===r(d[9]).State.ACTIVE&&'locked-open'!==n.props.drawerLockMode&&n.closeDrawer()},n.handleRelease=function(e){var t=e.nativeEvent,o=n.props,s=o.drawerWidth,l=o.drawerPosition,u=o.drawerType,p=n.state.containerWidth,c=t.translationX,w=t.velocityX,f=t.x;'left'!==l&&(c=-c,f=p-f,w=-w);var h=f-c,v=0;'front'===u&&(v=h>s?h-s:0);var S=c+v+(n.drawerShown?s:0);S+.05*w>s/2?n.animateDrawer(S,s,w):n.animateDrawer(S,0,w)},n.updateShowing=function(e){var t,o,s;n.drawerShown=e,null==(t=n.accessibilityIsModalView.current)||t.setNativeProps({accessibilityViewIsModal:e}),null==(o=n.pointerEventsView.current)||o.setNativeProps({pointerEvents:e?'auto':'none'});var l=n.props,u=l.drawerPosition,p=l.minSwipeDistance,c=l.edgeWidth,w='left'===u,f=(w?1:-1)*(n.drawerShown?-1:1),h=w?{left:0,width:e?void 0:c}:{right:0,width:e?void 0:c};null==(s=n.panGestureHandler.current)||s.setNativeProps({hitSlop:h,activeOffsetX:f*p})},n.animateDrawer=function(e,t,o,s){if(n.state.dragX.setValue(0),n.state.touchX.setValue('left'===n.props.drawerPosition?0:n.state.containerWidth),null!=e){var l=e;n.props.useNativeAnimations&&(e0?l=Math.min(e+o/60,t):e>t&&o<0&&(l=Math.max(e+o/60,t))),n.state.drawerTranslation.setValue(l)}var u=0!==t;n.updateShowing(u),n.emitStateChanged(v,u),n.setState({drawerState:v}),n.props.hideStatusBar&&p.StatusBar.setHidden(u,n.props.statusBarAnimation||'slide'),p.Animated.spring(n.state.drawerTranslation,{velocity:o,bounciness:0,toValue:t,useNativeDriver:n.props.useNativeAnimations,speed:null!=s?s:void 0}).start((function(e){e.finished&&(n.emitStateChanged(f,u),n.setState({drawerOpened:u}),n.state.drawerState!==h&&n.setState({drawerState:f}),u?null==n.props.onDrawerOpen||n.props.onDrawerOpen():null==n.props.onDrawerClose||n.props.onDrawerClose())}))},n.openDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.animateDrawer(void 0,n.props.drawerWidth,e.velocity?e.velocity:0,e.speed),n.forceUpdate()},n.closeDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n.animateDrawer(void 0,0,e.velocity?e.velocity:0,e.speed),n.forceUpdate()},n.renderOverlay=function(){(0,u.default)(n.openValue,'should be set');var e={opacity:n.state.drawerState!==f?n.openValue:n.state.drawerOpened?1:0,backgroundColor:n.props.overlayColor};return(0,r(d[10]).jsx)(r(d[11]).TapGestureHandler,{onHandlerStateChange:n.onTapHandlerStateChange,children:(0,r(d[10]).jsx)(p.Animated.View,{pointerEvents:n.drawerShown?'auto':'none',ref:n.pointerEventsView,style:[y.overlay,e]})})},n.renderDrawer=function(){var e,t=n.props,o=t.drawerBackgroundColor,s=t.drawerWidth,l=t.drawerPosition,c=t.drawerType,w=t.drawerContainerStyle,h=t.contentContainerStyle,v='left'===l,S='back'!==c,b='front'!==c,V=p.I18nManager.isRTL?v:!v,A={backgroundColor:o,width:s},O=n.openValue;((0,u.default)(O,'should be set'),b)&&(e={transform:[{translateX:O.interpolate({inputRange:[0,1],outputRange:v?[0,s]:[0,-s],extrapolate:'clamp'})}]});var C=0;if(S){var D=v?-s:s;C=n.state.drawerState!==f?O.interpolate({inputRange:[0,1],outputRange:[D,0],extrapolate:'clamp'}):n.state.drawerOpened?0:D}var R={transform:[{translateX:C}],flexDirection:V?'row-reverse':'row'};return(0,r(d[10]).jsxs)(p.Animated.View,{style:y.main,onLayout:n.handleContainerLayout,children:[(0,r(d[10]).jsxs)(p.Animated.View,{style:['front'===c?y.containerOnBack:y.containerInFront,e,h],importantForAccessibility:n.drawerShown?'no-hide-descendants':'yes',children:['function'==typeof n.props.children?n.props.children(n.openValue):n.props.children,n.renderOverlay()]}),(0,r(d[10]).jsx)(p.Animated.View,{pointerEvents:"box-none",ref:n.accessibilityIsModalView,accessibilityViewIsModal:n.drawerShown,style:[y.drawerContainer,R,w],children:(0,r(d[10]).jsx)(p.View,{style:A,children:n.props.renderNavigationView(n.openValue)})})]})},n.setPanGestureRef=function(e){n.panGestureHandler.current=e,null==n.props.onGestureRef||n.props.onGestureRef(e)};var o=new p.Animated.Value(0),s=new p.Animated.Value(0),c=new p.Animated.Value(0);return n.state={dragX:o,touchX:s,drawerTranslation:c,containerWidth:0,drawerState:f,drawerOpened:!1},n.updateAnimatedEvent(t,n.state),n}return(0,t.default)(A,[{key:"shouldComponentUpdate",value:function(e,t){return this.props.drawerPosition===e.drawerPosition&&this.props.drawerWidth===e.drawerWidth&&this.props.drawerType===e.drawerType&&this.state.containerWidth===t.containerWidth||this.updateAnimatedEvent(e,t),!0}},{key:"render",value:function(){var e=this.props,t=e.drawerPosition,n=e.drawerLockMode,o=e.edgeWidth,s=e.minSwipeDistance,l='left'===t,u=(l?1:-1)*(this.drawerShown?-1:1),p=l?{left:0,width:this.drawerShown?void 0:o}:{right:0,width:this.drawerShown?void 0:o};return(0,r(d[10]).jsx)(r(d[12]).PanGestureHandler,{userSelect:this.props.userSelect,ref:this.setPanGestureRef,hitSlop:p,activeOffsetX:u*s,failOffsetY:[-15,15],onGestureEvent:this.onGestureEvent,onHandlerStateChange:this.openingHandlerStateChange,enableTrackpadTwoFingerGesture:this.props.enableTrackpadTwoFingerGesture,enabled:'locked-closed'!==n&&'locked-open'!==n,children:this.renderDrawer()})}}]),A})(l.Component);_e.default=S,S.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked',enableTrackpadTwoFingerGesture:!1},S.positions={Left:'left',Right:'right'};var y=p.StyleSheet.create({drawerContainer:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1001,flexDirection:'row'}),containerInFront:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1002}),containerOnBack:Object.assign({},p.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:Object.assign({},p.StyleSheet.absoluteFillObject,{zIndex:1e3})})}),679,[3,6,7,44,46,48,144,14,1,631,192,655,656]);
+__d((function(g,r,_i,a,m,_e,_d){'use strict';var e,t=this&&this.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)},function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}),n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n20,h=R.width>R.height,x=h?0:10,v=f.top,S=R.height/R.width,w=o(u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),s?s.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),A=0===l,Y=p(w.interpolate({inputRange:[0,1,2],outputRange:[R.height,A?0:x,(A?v:0)-x*S]}),c),B=w.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,.3,1,1]}),F=h?1:w.interpolate({inputRange:[0,1,2],outputRange:[1,1,R.width?1-2*x/R.width:1]}),O=h?0:A?w.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,0,y?38:0,10]}):10;return{cardStyle:{overflow:'hidden',borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomLeftRadius:y?O:0,borderBottomRightRadius:y?O:0,marginTop:A?0:v,marginBottom:A?0:x,transform:[{translateY:Y},{scale:F}]},overlayStyle:{opacity:B}}},e.forNoAnimation=function(){return{}},e.forRevealFromBottomAndroid=function(t){var n=t.current,o=t.next,l=t.inverted,u=t.layouts.screen,s=p(n.progress.interpolate({inputRange:[0,1],outputRange:[u.height,0],extrapolate:'clamp'}),l),c=p(n.progress.interpolate({inputRange:[0,1],outputRange:[.9590000000000001*u.height*-1,0],extrapolate:'clamp'}),l),R=o?p(o.progress.interpolate({inputRange:[0,1],outputRange:[0,.02*u.height*-1],extrapolate:'clamp'}),l):0,f=n.progress.interpolate({inputRange:[0,.36,1],outputRange:[0,.1,.1],extrapolate:'clamp'});return{containerStyle:{overflow:'hidden',transform:[{translateY:s}]},cardStyle:{transform:[{translateY:c},{translateY:R}]},overlayStyle:{opacity:f}}},e.forScaleFromCenterAndroid=function(t){var p=t.current,l=t.next,u=t.closing,s=o(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),l?l.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),c=s.interpolate({inputRange:[0,.75,.875,1,1.0825,1.2075,2],outputRange:[0,0,1,1,1,1,0]}),R=(0,n.default)(u,p.progress.interpolate({inputRange:[0,1],outputRange:[.925,1],extrapolate:'clamp'}),s.interpolate({inputRange:[0,1,2],outputRange:[.85,1,1.075]}));return{cardStyle:{opacity:c,transform:[{scale:R}]}}},e.forVerticalIOS=function(t){var n=t.current,o=t.inverted,l=t.layouts.screen;return{cardStyle:{transform:[{translateY:p(n.progress.interpolate({inputRange:[0,1],outputRange:[l.height,0],extrapolate:'clamp'}),o)}]}}};var t=r(d[0]),n=r(d[1])(r(d[2])),o=t.Animated.add,p=t.Animated.multiply}),686,[1,3,687]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l,o){return n(u(t,l),u(t.interpolate({inputRange:[0,1],outputRange:[1,0]}),o))};var t=r(d[0]),n=t.Animated.add,u=t.Animated.multiply}),687,[1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.forFade=function(t){var o=t.current,p=t.next,u=n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),l=u.interpolate({inputRange:[0,1,2],outputRange:[0,1,0]});return{leftButtonStyle:{opacity:l},rightButtonStyle:{opacity:l},titleStyle:{opacity:l},backgroundStyle:{opacity:u.interpolate({inputRange:[0,1,1.9,2],outputRange:[0,1,1,0]})}}},e.forNoAnimation=function(){return{}},e.forSlideLeft=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-l.width,0,l.width]:[l.width,0,-l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideRight=function(o){var p=o.current,u=o.next,l=o.layouts.screen,s=[{translateX:n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[l.width,0,-l.width]:[-l.width,0,l.width]})}];return{leftButtonStyle:{transform:s},rightButtonStyle:{transform:s},titleStyle:{transform:s},backgroundStyle:{transform:s}}},e.forSlideUp=function(t){var o=t.current,p=t.next,u=t.layouts.header,l=[{translateY:n(o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),p?p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0).interpolate({inputRange:[0,1,2],outputRange:[-u.height,0,-u.height]})}];return{leftButtonStyle:{transform:l},rightButtonStyle:{transform:l},titleStyle:{transform:l},backgroundStyle:{transform:l}}},e.forUIKit=function(o){var p=o.current,u=o.next,l=o.layouts,s=l.leftLabel?(l.screen.width-l.leftLabel.width)/2-27:100,R=l.title?(l.screen.width-l.title.width)/2-27:100,c=l.screen.width/4,f=n(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),u?u.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0);return{leftButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},leftLabelStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-c,0,s]:[s,0,-c]})}]},rightButtonStyle:{opacity:f.interpolate({inputRange:[.3,1,1.5],outputRange:[0,1,0]})},titleStyle:{opacity:f.interpolate({inputRange:[0,.4,1,1.5],outputRange:[0,.1,1,0]}),transform:[{translateX:f.interpolate({inputRange:[.5,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-R,0,c]:[c,0,-R]})}]},backgroundStyle:{transform:[{translateX:f.interpolate({inputRange:[0,1,2],outputRange:t.I18nManager.getConstants().isRTL?[-l.screen.width,0,l.screen.width]:[l.screen.width,0,-l.screen.width]})}]}}};var t=r(d[0]),n=t.Animated.add}),688,[1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SlideFromRightIOS=e.ScaleFromCenterAndroid=e.RevealFromBottomAndroid=e.ModalTransition=e.ModalSlideFromBottomIOS=e.ModalPresentationIOS=e.ModalFadeTransition=e.FadeFromBottomAndroid=e.DefaultTransition=e.BottomSheetAndroid=void 0;var o=r(d[0]),t={gestureDirection:'horizontal',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forHorizontalIOS,headerStyleInterpolator:r(d[3]).forFade};e.SlideFromRightIOS=t;var n={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forVerticalIOS,headerStyleInterpolator:r(d[3]).forFade};e.ModalSlideFromBottomIOS=n;var l={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).TransitionIOSSpec,close:r(d[1]).TransitionIOSSpec},cardStyleInterpolator:r(d[2]).forModalPresentationIOS,headerStyleInterpolator:r(d[3]).forFade};e.ModalPresentationIOS=l;var S={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).FadeInFromBottomAndroidSpec,close:r(d[1]).FadeOutToBottomAndroidSpec},cardStyleInterpolator:r(d[2]).forFadeFromBottomAndroid,headerStyleInterpolator:r(d[3]).forFade};e.FadeFromBottomAndroid=S;var c={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).RevealFromBottomAndroidSpec,close:r(d[1]).RevealFromBottomAndroidSpec},cardStyleInterpolator:r(d[2]).forRevealFromBottomAndroid,headerStyleInterpolator:r(d[3]).forFade};e.RevealFromBottomAndroid=c;var p={gestureDirection:'horizontal',transitionSpec:{open:r(d[1]).ScaleFromCenterAndroidSpec,close:r(d[1]).ScaleFromCenterAndroidSpec},cardStyleInterpolator:r(d[2]).forScaleFromCenterAndroid,headerStyleInterpolator:r(d[3]).forFade};e.ScaleFromCenterAndroid=p;var s={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).BottomSheetSlideInSpec,close:r(d[1]).BottomSheetSlideOutSpec},cardStyleInterpolator:r(d[2]).forBottomSheetAndroid,headerStyleInterpolator:r(d[3]).forFade};e.BottomSheetAndroid=s;var F={gestureDirection:'vertical',transitionSpec:{open:r(d[1]).BottomSheetSlideInSpec,close:r(d[1]).BottomSheetSlideOutSpec},cardStyleInterpolator:r(d[2]).forFadeFromCenter,headerStyleInterpolator:r(d[3]).forFade};e.ModalFadeTransition=F;var I=o.Platform.select({ios:t,android:o.Platform.Version>=29?p:o.Platform.Version>=28?c:S,default:p});e.DefaultTransition=I;var f=o.Platform.select({ios:l,default:s});e.ModalTransition=f}),689,[1,690,686,688]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TransitionIOSSpec=e.ScaleFromCenterAndroidSpec=e.RevealFromBottomAndroidSpec=e.FadeOutToBottomAndroidSpec=e.FadeInFromBottomAndroidSpec=e.BottomSheetSlideOutSpec=e.BottomSheetSlideInSpec=void 0;var n=r(d[0]);e.TransitionIOSSpec={animation:'spring',config:{stiffness:1e3,damping:500,mass:3,overshootClamping:!0,restDisplacementThreshold:10,restSpeedThreshold:10}};var o={animation:'timing',config:{duration:350,easing:n.Easing.out(n.Easing.poly(5))}};e.FadeInFromBottomAndroidSpec=o;var t={animation:'timing',config:{duration:150,easing:n.Easing.in(n.Easing.linear)}};e.FadeOutToBottomAndroidSpec=t;var c={animation:'timing',config:{duration:425,easing:n.Easing.bezier(.35,.45,0,1)}};e.RevealFromBottomAndroidSpec=c;var s={animation:'timing',config:{duration:400,easing:n.Easing.bezier(.35,.45,0,1)}};e.ScaleFromCenterAndroidSpec=s;var S={animation:'timing',config:{duration:250,easing:function(n){return Math.cos((n+1)*Math.PI)/2+.5}}};e.BottomSheetSlideInSpec=S;var p={animation:'timing',config:{duration:200,easing:function(n){return 1===n?1:Math.pow(n,2)}}};e.BottomSheetSlideOutSpec=p}),690,[1]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=s?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),s=["id","initialRouteName","children","screenListeners","screenOptions"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=(0,r(d[5]).createNavigatorFactory)((function(c){var u=c.id,l=c.initialRouteName,p=c.children,f=c.screenListeners,v=c.screenOptions,h=(0,e.default)(c,s),k=h.mode;(0,n.default)(null!=k,"Stack Navigator: 'mode=\""+k+"\"' is deprecated. Use 'presentation: \""+k+"\"' in 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/stack-navigator#presentation for more details.");var b=h.headerMode;(0,n.default)('none'===b,"Stack Navigator: 'headerMode=\"none\"' is deprecated. Use 'headerShown: false' in 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/stack-navigator/#headershown for more details."),(0,n.default)(null!=b&&'none'!==b,"Stack Navigator: 'headerMode' is moved to 'options'. Moved it to 'screenOptions' to keep current behavior.\n\nSee https://reactnavigation.org/docs/stack-navigator/#headermode for more details.");var O=h.keyboardHandlingEnabled;(0,n.default)(void 0!==O,"Stack Navigator: 'keyboardHandlingEnabled' is moved to 'options'. Moved it to 'screenOptions' to keep current behavior.\n\nSee https://reactnavigation.org/docs/stack-navigator/#keyboardhandlingenabled for more details.");var y={presentation:k,headerShown:!b||'none'!==b,headerMode:b&&'none'!==b?b:void 0,keyboardHandlingEnabled:O},S=(0,r(d[5]).useNavigationBuilder)(r(d[5]).StackRouter,{id:u,initialRouteName:l,children:p,screenListeners:f,screenOptions:v,defaultScreenOptions:y}),j=S.state,M=S.descriptors,N=S.navigation,w=S.NavigationContent;return t.useEffect((function(){return null==N.addListener?void 0:N.addListener('tabPress',(function(e){var t=N.isFocused();requestAnimationFrame((function(){j.index>0&&t&&!e.defaultPrevented&&N.dispatch(Object.assign({},r(d[5]).StackActions.popToTop(),{target:j.key}))}))}))}),[N,j.index,j.key]),(0,r(d[6]).jsx)(w,{children:(0,r(d[6]).jsx)(o.default,Object.assign({},h,{state:j,descriptors:M,navigation:N}))})}));_e.default=u}),691,[3,108,144,692,693,438,192]);
+__d((function(g,r,i,a,m,e,d){new Set;m.exports=function(n){}}),692,[]);
+__d((function(g,_r,i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=_r(d[0])(_r(d[1])),t=_r(d[0])(_r(d[2])),r=_r(d[0])(_r(d[3])),n=_r(d[0])(_r(d[4])),o=_r(d[0])(_r(d[5])),u=_r(d[0])(_r(d[6])),s=_r(d[0])(_r(d[7])),a=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=k(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=o?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(n,u,s):n[u]=e[u]}n.default=e,r&&r.set(e,n);return n})(_r(d[8])),c=_r(d[9]),l=_r(d[0])(_r(d[10])),f=_r(d[0])(_r(d[11])),p=_r(d[0])(_r(d[12])),y=["state","descriptors"];function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(k=function(e){return e?r:t})(e)}function v(){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 h=null!=_r(d[13]).GestureHandlerRootView?_r(d[13]).GestureHandlerRootView:c.View,R=(function(a){(0,o.default)(S,a);var c,k,R=(c=S,k=v(),function(){var e,t=(0,s.default)(c);if(k){var r=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function S(){var e;(0,r.default)(this,S);for(var t=arguments.length,n=new Array(t),o=0;oo.height;n='ios'===t.Platform.OS?t.Platform.isPad||t.Platform.isTV?f?56:50:u?32:f?56:44:'android'===t.Platform.OS?56:64;return n+l};var t=r(d[0])}),702,[1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l){return'string'==typeof t.headerTitle?t.headerTitle:void 0!==t.title?t.title:l}}),703,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var c=(0,r(d[8]).useSafeAreaInsets)(),y=(0,r(d[8]).useSafeAreaFrame)(),R=o.useContext(h.default),C=f.layout,S=void 0===C?y:C,w=f.modal,x=void 0!==w&&w,v=f.title,W=f.headerTitle,T=f.headerTitleAlign,B=void 0===T?n.Platform.select({ios:'center',default:'left'}):T,j=f.headerLeft,E=f.headerLeftLabelVisible,O=f.headerTransparent,L=f.headerTintColor,V=f.headerBackground,A=f.headerRight,P=f.headerTitleAllowFontScaling,k=f.headerTitleStyle,H=f.headerLeftContainerStyle,M=f.headerRightContainerStyle,_=f.headerTitleContainerStyle,F=f.headerBackgroundContainerStyle,I=f.headerStyle,D=f.headerShadowVisible,z=f.headerPressColor,G=f.headerPressOpacity,q=f.headerStatusBarHeight,J=void 0===q?R?0:c.top:q,K=(0,l.default)(S,x,J),N=n.StyleSheet.flatten(I||{}),Q=N.height,U=void 0===Q?K:Q,X=N.minHeight,Y=N.maxHeight,Z=N.backgroundColor,$=N.borderBottomColor,ee=N.borderBottomEndRadius,te=N.borderBottomLeftRadius,re=N.borderBottomRightRadius,oe=N.borderBottomStartRadius,de=N.borderBottomWidth,ie=N.borderColor,ae=N.borderEndColor,ne=N.borderEndWidth,le=N.borderLeftColor,se=N.borderLeftWidth,he=N.borderRadius,be=N.borderRightColor,ue=N.borderRightWidth,fe=N.borderStartColor,pe=N.borderStartWidth,ce=N.borderStyle,ge=N.borderTopColor,ye=N.borderTopEndRadius,me=N.borderTopLeftRadius,Re=N.borderTopRightRadius,Ce=N.borderTopStartRadius,Se=N.borderTopWidth,we=N.borderWidth,xe=N.boxShadow,ve=N.elevation,We=N.shadowColor,Te=N.shadowOffset,Be=N.shadowOpacity,je=N.shadowRadius,Ee=N.opacity,Oe=N.transform,Le=((0,t.default)(N,u),{backgroundColor:Z,borderBottomColor:$,borderBottomEndRadius:ee,borderBottomLeftRadius:te,borderBottomRightRadius:re,borderBottomStartRadius:oe,borderBottomWidth:de,borderColor:ie,borderEndColor:ae,borderEndWidth:ne,borderLeftColor:le,borderLeftWidth:se,borderRadius:he,borderRightColor:be,borderRightWidth:ue,borderStartColor:fe,borderStartWidth:pe,borderStyle:ce,borderTopColor:ge,borderTopEndRadius:ye,borderTopLeftRadius:me,borderTopRightRadius:Re,borderTopStartRadius:Ce,borderTopWidth:Se,borderWidth:we,boxShadow:xe,elevation:ve,shadowColor:We,shadowOffset:Te,shadowOpacity:Be,shadowRadius:je,opacity:Ee,transform:Oe});for(var Ve in Le)void 0===Le[Ve]&&delete Le[Ve];var Ae=[Le,!1===D&&{elevation:0,shadowOpacity:0,borderBottomWidth:0}],Pe=j?j({tintColor:L,pressColor:z,pressOpacity:G,labelVisible:E}):null,ke=A?A({tintColor:L,pressColor:z,pressOpacity:G}):null,He='function'!=typeof W?function(t){return(0,r(d[9]).jsx)(b.default,Object.assign({},t))}:W;return(0,r(d[9]).jsxs)(o.Fragment,{children:[(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[n.StyleSheet.absoluteFill,{zIndex:0},F],children:V?V({style:Ae}):O?null:(0,r(d[9]).jsx)(s.default,{style:Ae})}),(0,r(d[9]).jsxs)(n.Animated.View,{pointerEvents:"box-none",style:[{height:U,minHeight:X,maxHeight:Y,opacity:Ee,transform:Oe}],children:[(0,r(d[9]).jsx)(n.View,{pointerEvents:"none",style:{height:J}}),(0,r(d[9]).jsxs)(n.View,{pointerEvents:"box-none",style:p.content,children:[(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.left,'center'===B&&p.expand,{marginStart:c.left},H],children:Pe}),(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.title,{maxWidth:'center'===B?S.width-2*((Pe?!1!==E?80:32:16)+Math.max(c.left,c.right)):S.width-((Pe?72:16)+(ke?72:16)+c.left-c.right)},_],children:He({children:v,allowFontScaling:P,tintColor:L,style:k})}),(0,r(d[9]).jsx)(n.Animated.View,{pointerEvents:"box-none",style:[p.right,p.expand,{marginEnd:c.right},M],children:ke})]})]})]})};var t=r(d[0])(r(d[1])),o=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=f(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in t)if("default"!==h&&Object.prototype.hasOwnProperty.call(t,h)){var b=s?Object.getOwnPropertyDescriptor(t,h):null;b&&(b.get||b.set)?Object.defineProperty(l,h,b):l[h]=t[h]}l.default=t,n&&n.set(t,l);return l})(r(d[2])),n=r(d[3]),l=r(d[0])(r(d[4])),s=r(d[0])(r(d[5])),h=r(d[0])(r(d[6])),b=r(d[0])(r(d[7])),u=["height","minHeight","maxHeight","backgroundColor","borderBottomColor","borderBottomEndRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStartRadius","borderBottomWidth","borderColor","borderEndColor","borderEndWidth","borderLeftColor","borderLeftWidth","borderRadius","borderRightColor","borderRightWidth","borderStartColor","borderStartWidth","borderStyle","borderTopColor","borderTopEndRadius","borderTopLeftRadius","borderTopRightRadius","borderTopStartRadius","borderTopWidth","borderWidth","boxShadow","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","opacity","transform"];function f(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:o})(t)}var p=n.StyleSheet.create({content:{flex:1,flexDirection:'row',alignItems:'stretch'},title:{marginHorizontal:16,justifyContent:'center'},left:{justifyContent:'center',alignItems:'flex-start'},right:{justifyContent:'center',alignItems:'flex-end'},expand:{flexGrow:1,flexBasis:0}})}),704,[3,108,144,1,702,705,706,708,709,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var u=l.style,c=(0,t.default)(l,n),s=(0,r(d[4]).useTheme)().colors;return(0,r(d[5]).jsx)(o.Animated.View,Object.assign({style:[f.container,{backgroundColor:s.card,borderBottomColor:s.border,shadowColor:s.border},u]},c))};var t=r(d[0])(r(d[1])),o=((function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=l(o);if(n&&n.has(t))return n.get(t);var f={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(f,c,s):f[c]=t[c]}f.default=t,n&&n.set(t,f)})(r(d[2])),r(d[3])),n=["style"];function l(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:o})(t)}var f=o.StyleSheet.create({container:Object.assign({flex:1},o.Platform.select({android:{elevation:4},ios:{shadowOpacity:.85,shadowRadius:0,shadowOffset:{width:0,height:o.StyleSheet.hairlineWidth}},default:{borderBottomWidth:o.StyleSheet.hairlineWidth}}))})}),705,[3,108,144,1,438,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderShownContext',!1);e.default=t}),706,[3,707]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,o){var f=g[u].get(t);if(f)return f;return(f=n.createContext(o)).displayName=t,g[u].set(t,f),f};var t,n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}var u='__react_navigation__elements_contexts';g[u]=null!=(t=g[u])?t:new Map}),707,[144]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f){var u=f.tintColor,c=f.style,s=(0,t.default)(f,o),p=(0,r(d[4]).useTheme)().colors;return(0,r(d[5]).jsx)(n.Animated.Text,Object.assign({accessibilityRole:"header","aria-level":"1",numberOfLines:1},s,{style:[l.title,{color:void 0===u?p.text:u},c]}))};var t=r(d[0])(r(d[1])),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=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,o&&o.set(t,l)})(r(d[2])),r(d[3])),o=["tintColor","style"];function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var l=n.StyleSheet.create({title:n.Platform.select({ios:{fontSize:17,fontWeight:'600'},android:{fontSize:20,fontFamily:'sans-serif-medium',fontWeight:'normal'},default:{fontSize:18,fontWeight:'500'}})})}),708,[3,108,144,1,438,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r(d[0])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[0])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[0])[n]}}))})),Object.keys(r(d[1])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[1])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[1])[n]}}))})),Object.keys(r(d[2])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[2])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[2])[n]}}))})),Object.keys(r(d[3])).forEach((function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===r(d[3])[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return r(d[3])[n]}}))}))}),709,[710,713,715,717]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaInsetsContext=e.SafeAreaFrameContext=e.SafeAreaContext=e.SafeAreaConsumer=void 0,e.SafeAreaProvider=function(f){var h,p,S,x,w,y=f.children,A=f.initialMetrics,C=f.initialSafeAreaInsets,b=f.style,j=(0,n.default)(f,u),O=o.useContext(s),P=o.useContext(c),M=o.useState(null!=(h=null!=(p=null!=(S=null==A?void 0:A.insets)?S:C)?p:O)?h:null),I=(0,t.default)(M,2),_=I[0],k=I[1],D=o.useState(null!=(x=null!=(w=null==A?void 0:A.frame)?w:P)?x:{x:0,y:0,width:l.Dimensions.get('window').width,height:l.Dimensions.get('window').height}),E=(0,t.default)(D,2),F=E[0],W=E[1],N=o.useCallback((function(t){var n=t.nativeEvent,o=n.frame,l=n.insets;!o||o.height===F.height&&o.width===F.width&&o.x===F.x&&o.y===F.y||W(o),_&&l.bottom===_.bottom&&l.left===_.left&&l.right===_.right&&l.top===_.top||k(l)}),[F,_]);return(0,r(d[5]).jsx)(r(d[6]).NativeSafeAreaProvider,Object.assign({style:[v.fill,b],onInsetsChange:N},j,{children:null!=_?(0,r(d[5]).jsx)(c.Provider,{value:F,children:(0,r(d[5]).jsx)(s.Provider,{value:_,children:y})}):null}))},e.useSafeArea=function(){return p()},e.useSafeAreaFrame=function(){var t=o.useContext(c);if(null==t)throw new Error(h);return t},e.useSafeAreaInsets=p,e.withSafeAreaInsets=function(t){return o.forwardRef((function(n,o){var l=p();return(0,r(d[5]).jsx)(t,Object.assign({},n,{insets:l,ref:o}))}))};var t=r(d[0])(r(d[1])),n=r(d[0])(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 o=f(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=u?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(l,s,c):l[s]=t[s]}l.default=t,o&&o.set(t,l);return l})(r(d[3])),l=r(d[4]),u=["children","initialMetrics","initialSafeAreaInsets","style"];function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}var s=o.createContext(null);e.SafeAreaInsetsContext=s;var c=o.createContext(null);e.SafeAreaFrameContext=c;var v=l.StyleSheet.create({fill:{flex:1}});var h='No safe area value available. Make sure you are rendering `` at the top of your app.';function p(){var t=o.useContext(s);if(null==t)throw new Error(h);return t}var S=s.Consumer;e.SafeAreaConsumer=S;var x=s;e.SafeAreaContext=x}),710,[3,16,108,144,1,192,711]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeSafeAreaProvider",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))}),711,[3,712]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=(0,r(d[0])(r(d[1])).default)('RNCSafeAreaProvider');e.default=f}),712,[3,205]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaView=void 0;var t=r(d[0])(r(d[1])),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=u(n);if(f&&f.has(t))return f.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=l?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(o,c,p):o[c]=t[c]}o.default=t,f&&f.set(t,o);return o})(r(d[2])),f=r(d[0])(r(d[3])),o=["edges"];function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(u=function(t){return t?f:n})(t)}var l=n.forwardRef((function(n,u){var l=n.edges,c=(0,t.default)(n,o);return(0,r(d[4]).jsx)(f.default,Object.assign({},c,{edges:null!=l?l:['bottom','left','right','top'],ref:u}))}));e.SafeAreaView=l}),713,[3,108,144,714,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var f=(0,r(d[0])(r(d[1])).default)('RNCSafeAreaView',{interfaceOnly:!0});e.default=f}),714,[3,205]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.initialWindowSafeAreaInsets=e.initialWindowMetrics=void 0;var n,t,l=r(d[0])(r(d[1])),s=null!=(n=null==l.default||null==l.default.getConstants||null==(t=l.default.getConstants())?void 0:t.initialWindowMetrics)?n:null;e.initialWindowMetrics=s;var o=null==s?void 0:s.insets;e.initialWindowSafeAreaInsets=o}),715,[3,716]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).TurboModuleRegistry.get('RNCSafeAreaContext');e.default=t}),716,[1]);
+__d((function(g,r,i,a,m,e,d){}),717,[]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(s){var u=s.disabled,f=s.allowFontScaling,b=s.backImage,y=s.label,h=s.labelStyle,p=s.labelVisible,v=s.onLabelLayout,w=s.onPress,j=s.pressColor,x=s.pressOpacity,M=s.screenLayout,k=s.tintColor,L=s.titleLayout,O=s.truncatedLabel,P=void 0===O?'Back':O,S=s.accessibilityLabel,C=void 0===S?y&&'Back'!==y?y+", back":'Go back':S,I=s.testID,W=s.style,D=(0,r(d[6]).useTheme)().colors,R=t.useState(void 0),V=(0,e.default)(R,2),_=V[0],F=V[1],z=void 0!==k?k:n.Platform.select({ios:D.primary,default:D.text}),T=function(e){null==v||v(e),F(e.nativeEvent.layout.x+e.nativeEvent.layout.width)};return(0,r(d[7]).jsx)(o.default,{disabled:u,accessible:!0,accessibilityRole:"button",accessibilityLabel:C,testID:I,onPress:u?void 0:function(){return w&&requestAnimationFrame(w)},pressColor:j,pressOpacity:x,android_ripple:{borderless:!0},style:[c.container,u&&c.disabled,W],hitSlop:n.Platform.select({ios:void 0,default:{top:16,right:16,bottom:16,left:16}}),children:(0,r(d[7]).jsxs)(t.Fragment,{children:[b?b({tintColor:z}):(0,r(d[7]).jsx)(n.Image,{style:[c.icon,Boolean(p)&&c.iconWithLabel,Boolean(z)&&{tintColor:z}],source:r(d[8]),fadeDuration:0}),(function(){var e=!y||_&&L&&M&&(M.width-L.width)/2<_+26?P:y;if(!p||void 0===e)return null;var t=(0,r(d[7]).jsx)(n.View,{style:M?[c.labelWrapper,{minWidth:M.width/2-27}]:null,children:(0,r(d[7]).jsx)(n.Animated.Text,{accessible:!1,onLayout:e===y?T:void 0,style:[c.label,z?{color:z}:null,h],numberOfLines:1,allowFontScaling:!!f,children:e})});return b||'ios'!==n.Platform.OS?t:(0,r(d[7]).jsx)(l.default,{maskElement:(0,r(d[7]).jsxs)(n.View,{style:c.iconMaskContainer,children:[(0,r(d[7]).jsx)(n.Image,{source:r(d[9]),style:c.iconMask}),(0,r(d[7]).jsx)(n.View,{style:c.iconMaskFillerRect})]}),children:t})})()]})})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=o?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=e[c]}l.default=e,n&&n.set(e,l);return l})(r(d[2])),n=r(d[3]),l=r(d[0])(r(d[4])),o=r(d[0])(r(d[5]));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}var c=n.StyleSheet.create({container:Object.assign({alignItems:'center',flexDirection:'row',minWidth:n.StyleSheet.hairlineWidth},n.Platform.select({ios:null,default:{marginVertical:3,marginHorizontal:11}})),disabled:{opacity:.5},label:{fontSize:17,letterSpacing:.35},labelWrapper:{flexDirection:'row',alignItems:'flex-start'},icon:n.Platform.select({ios:{height:21,width:13,marginLeft:8,marginRight:22,marginVertical:12,resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]},default:{height:24,width:24,margin:3,resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]}}),iconWithLabel:'ios'===n.Platform.OS?{marginRight:6}:{},iconMaskContainer:{flex:1,flexDirection:'row',justifyContent:'center'},iconMaskFillerRect:{flex:1,backgroundColor:'#000'},iconMask:{height:21,width:13,marginLeft:-14.5,marginVertical:12,alignSelf:'center',resizeMode:'contain',transform:[{scaleX:n.I18nManager.getConstants().isRTL?-1:1}]}})}),718,[3,16,144,1,719,721,438,192,722,724]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}});var t=r(d[0])(r(d[1]))}),719,[3,720]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(n){var f=n.children,c=(0,t.default)(n,u);if(o&&e)return(0,r(d[5]).jsx)(e,Object.assign({},c,{children:f}));return f};var e,t=r(d[0])(r(d[1])),n=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var u={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=e[c]}u.default=e,n&&n.set(e,u)})(r(d[2])),r(d[3])),u=["children"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}try{e=r(d[4]).default}catch(e){}var o=null!=n.UIManager.getViewManagerConfig('RNCMaskedView')}),720,[3,108,144,1,192]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(u){var p=u.onPressIn,c=u.onPressOut,O=u.android_ripple,y=u.pressColor,P=u.pressOpacity,v=void 0===P?.3:P,b=u.style,j=(0,t.default)(u,s),_=(0,r(d[5]).useTheme)().dark,w=n.useState((function(){return new o.Animated.Value(1)})),M=(0,e.default)(w,1)[0],k=function(e,t){f||o.Animated.timing(M,{toValue:e,duration:t,easing:o.Easing.inOut(o.Easing.quad),useNativeDriver:!0}).start()};return(0,r(d[6]).jsx)(l,Object.assign({onPressIn:function(e){k(v,0),null==p||p(e)},onPressOut:function(e){k(1,200),null==c||c(e)},android_ripple:f?Object.assign({color:void 0!==y?y:_?'rgba(255, 255, 255, .32)':'rgba(0, 0, 0, .32)'},O):void 0,style:[{opacity:f?1:M},b]},j))};var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=s?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o})(r(d[3])),o=r(d[4]),s=["onPressIn","onPressOut","android_ripple","pressColor","pressOpacity","style"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var l=o.Animated.createAnimatedComponent(o.Pressable),f='android'===o.Platform.OS&&o.Platform.Version>=21}),721,[3,16,108,144,1,438,192]);
+__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-navigation/elements/src/assets",width:12,height:21,scales:[1,1.5,2,3,4],hash:"c90fb4585dd852a3d67af39baf923f67",name:"back-icon",type:"png"})}),722,[723]);
+__d((function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])}),723,[177]);
+__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-navigation/elements/src/assets",width:50,height:85,scales:[1],hash:"5223c8d9b0d08b82a5670fb5f71faf78",name:"back-icon-mask",type:"png"})}),724,[723]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderBackContext',void 0);e.default=t}),725,[3,707]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,r(d[0])(r(d[1])).default)('HeaderHeightContext',void 0);e.default=t}),726,[3,707]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find the header height. Are you inside a screen in a navigator with a header?");return o};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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),727,[144,3,726]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.color,c=n.size,f=n.style;return(0,r(d[2]).jsx)(t.Text,{style:[o.icon,{color:u,fontSize:c},f],children:"\u23f7"})};!(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=n(o);if(u&&u.has(t))return u.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=f?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(c,l,p):c[l]=t[l]}c.default=t,u&&u.set(t,c)})(r(d[0]));var t=r(d[1]);function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(n=function(t){return t?u:o})(t)}var o=t.StyleSheet.create({icon:{backgroundColor:'transparent'}})}),728,[144,1,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var f=l.visible,u=l.children,s=l.style,p=(0,t.default)(l,o);if('web'===n.Platform.OS)return(0,r(d[4]).jsx)(n.View,Object.assign({hidden:!f,style:[{display:f?'flex':'none'},c.container,s],pointerEvents:f?'auto':'none'},p,{children:u}));return(0,r(d[4]).jsx)(n.View,{style:[c.container,s],pointerEvents:f?'auto':'none',children:(0,r(d[4]).jsx)(n.View,{collapsable:!1,removeClippedSubviews:'ios'!==n.Platform.OS&&'macos'!==n.Platform.OS||!f,pointerEvents:f?'auto':'none',style:f?c.attached:c.detached,children:u})})};var t=r(d[0])(r(d[1])),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=l(n);if(o&&o.has(t))return o.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=f?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(c,u,s):c[u]=t[u]}c.default=t,o&&o.set(t,c)})(r(d[2])),r(d[3])),o=["visible","children","style"];function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}var c=n.StyleSheet.create({container:{flex:1,overflow:'hidden'},attached:{flex:1},detached:{flex:1,top:3e4}})}),729,[3,108,144,1,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;!(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=n(o);if(l&&l.has(t))return l.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=c?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(f,u,s):f[u]=t[u]}f.default=t,l&&l.set(t,f)})(r(d[0]));var t=r(d[1]);function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,l=new WeakMap;return(n=function(t){return t?l:o})(t)}var o=t.Dimensions.get('window'),l=o.width,f=void 0===l?0:l,c=o.height,u=void 0===c?0:c,s='web'===t.Platform.OS||null==r(d[2]).initialWindowMetrics?{frame:{x:0,y:0,width:f,height:u},insets:{top:0,left:0,right:0,bottom:0}}:r(d[2]).initialWindowMetrics;function p(n){var o=n.children,l=n.style;return(0,r(d[3]).jsx)(r(d[2]).SafeAreaInsetsContext.Consumer,{children:function(n){return n?(0,r(d[3]).jsx)(t.View,{style:[y.container,l],children:o}):(0,r(d[3]).jsx)(r(d[2]).SafeAreaProvider,{initialMetrics:s,style:l,children:o})}})}p.initialMetrics=s;var y=t.StyleSheet.create({container:{flex:1}})}),730,[144,1,709,192]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(c){var v=(0,r(d[8]).useSafeAreaFrame)(),h=(0,r(d[8]).useSafeAreaInsets)(),p=t.useContext(s.default),y=t.useContext(u.default),j=c.focused,x=c.modal,b=void 0!==x&&x,P=c.header,O=c.headerShown,w=void 0===O||O,S=c.headerTransparent,_=c.headerStatusBarHeight,M=void 0===_?p?0:h.top:_,C=c.navigation,k=c.route,A=c.children,D=c.style,W=t.useState((function(){return(0,l.default)(v,b,M)})),E=(0,e.default)(W,2),F=E[0],H=E[1];return(0,r(d[9]).jsxs)(o.default,{accessibilityElementsHidden:!j,importantForAccessibility:j?'auto':'no-hide-descendants',style:[f.container,D],children:[(0,r(d[9]).jsx)(n.View,{style:f.content,children:(0,r(d[9]).jsx)(s.default.Provider,{value:p||!1!==w,children:(0,r(d[9]).jsx)(u.default.Provider,{value:w?F:null!=y?y:0,children:A})})}),w?(0,r(d[9]).jsx)(r(d[10]).NavigationContext.Provider,{value:C,children:(0,r(d[9]).jsx)(r(d[10]).NavigationRouteContext.Provider,{value:k,children:(0,r(d[9]).jsx)(n.View,{onLayout:function(e){var t=e.nativeEvent.layout.height;H(t)},style:S?f.absolute:null,children:P})})}):null]})};var e=r(d[0])(r(d[1])),t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=l?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,n&&n.set(e,o);return o})(r(d[2])),n=r(d[3]),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),u=r(d[0])(r(d[6])),s=r(d[0])(r(d[7]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var f=n.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},content:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0}})}),731,[3,16,144,1,701,702,726,706,709,192,438]);
+__d((function(g,r,i,a,m,e,d){}),732,[]);
+__d((function(g,r,_i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),i=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),l=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=i?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[8])),c=r(d[9]),p=r(d[0])(r(d[10])),f=r(d[0])(r(d[11])),h=r(d[0])(r(d[12]));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function v(){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 S=Object.freeze({options:{}}),k=function(e,t){for(var n=e[t].descriptor.options.cardStyleInterpolator,o=0,i=t-1;i>=0;i--){var s;if((null==(s=e[i])?void 0:s.descriptor.options.cardStyleInterpolator)!==n)break;o++}return o},P=function(e,t,n){if(n)return!0;var o=e.descriptor.options.cardStyleInterpolator;return(0,r(d[13]).getIsModalPresentation)(o)&&0!==t},b=function(e,t,n,o,i,s){return e.reduce((function(u,l,p){var f=l.descriptor.options,h=f.headerStatusBarHeight,y=void 0===h?n?0:t.top:h,v=f.headerStyle,S=c.StyleSheet.flatten(v||{}),b='height'in S&&'number'==typeof S.height?S.height:s[l.route.key],M=k(e,p),O=P(l,M,o);return u[l.route.key]='number'==typeof b?b:(0,r(d[14]).getDefaultHeaderHeight)(i,O,y),u}),{})},M=function(e,t){var n=(null==t?void 0:t.options)||{},o=n.presentation,i=n.gestureDirection,s=void 0===i?'modal'===o?r(d[15]).ModalTransition.gestureDirection:r(d[15]).DefaultTransition.gestureDirection:i;return(0,f.default)(e,s)},O=function(e,t,n){var o=M({width:Math.max(1,t.width),height:Math.max(1,t.height)},n);return o>0?e.interpolate({inputRange:[0,o],outputRange:[1,0]}):e.interpolate({inputRange:[o,0],outputRange:[0,1]})},H=(function(f){(0,o.default)(w,f);var y,H,R=(y=w,H=v(),function(){var e,t=(0,s.default)(y);if(H){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,i.default)(this,e)});function w(n){var o;return(0,t.default)(this,w),(o=R.call(this,n)).handleLayout=function(e){var t=e.nativeEvent.layout,n=t.height,i=t.width,s={width:i,height:n};o.setState((function(e,t){return n===e.layout.height&&i===e.layout.width?null:{layout:s,headerHeights:b(e.scenes,t.insets,t.isParentHeaderShown,t.isParentModal,s,e.headerHeights)}}))},o.handleHeaderLayout=function(t){var n=t.route,i=t.height;o.setState((function(t){var o=t.headerHeights;return o[n.key]===i?null:{headerHeights:Object.assign({},o,(0,e.default)({},n.key,i))}}))},o.getFocusedRoute=function(){var e=o.props.state;return e.routes[e.index]},o.getPreviousScene=function(e){var t=e.route,n=o.props.getPreviousRoute,i=o.state.scenes,s=n({route:t});if(s)return i.find((function(e){return e.descriptor.route.key===s.key}))},o.state={routes:[],scenes:[],gestures:{},layout:r(d[14]).SafeAreaProviderCompat.initialMetrics.frame,descriptors:o.props.descriptors,headerHeights:{}},o}return(0,n.default)(w,[{key:"render",value:function(){for(var e=this,t=this.props,n=t.insets,o=t.state,i=t.routes,s=t.closingRouteKeys,f=t.onOpenRoute,y=t.onCloseRoute,v=t.renderHeader,S=t.renderScene,b=t.isParentHeaderShown,M=t.isParentModal,O=t.onTransitionStart,H=t.onTransitionEnd,R=t.onGestureStart,w=t.onGestureEnd,x=t.onGestureCancel,j=t.detachInactiveScreens,C=void 0===j?'web'===c.Platform.OS||'android'===c.Platform.OS||'ios'===c.Platform.OS:j,D=this.state,T=D.scenes,E=D.layout,_=D.gestures,F=D.headerHeights,A=o.routes[o.index],B=F[A.key],L=this.state.scenes.slice(-2).some((function(e){var t,n=null!=(t=e.descriptor.options)?t:{},o=n.headerMode,i=n.headerTransparent,s=n.headerShown;return!(!i&&!1!==(void 0===s||s)&&'screen'!==o)})),G=1,z=T.length-1;z>=0;z--){var W=T[z].descriptor.options,K=W.detachPreviousScreen;if(!1===(void 0===K?'transparentModal'!==W.presentation&&(!(0,r(d[13]).getIsModalPresentation)(W.cardStyleInterpolator)||z!==(0,p.default)(T,(function(e){var t=e.descriptor.options.cardStyleInterpolator;return t===r(d[16]).forModalPresentationIOS||'forModalPresentationIOS'===(null==t?void 0:t.name)}))):K))G++;else if(z<=T.length-2)break}var N=(0,r(d[17]).jsx)(l.Fragment,{children:v({mode:'float',layout:E,scenes:T,getPreviousScene:this.getPreviousScene,getFocusedRoute:this.getFocusedRoute,onContentHeightChange:this.handleHeaderLayout,style:[I.floating,L&&[{height:B},I.absolute]]})},"header");return(0,r(d[17]).jsxs)(r(d[14]).Background,{children:[L?null:N,(0,r(d[17]).jsx)(r(d[18]).MaybeScreenContainer,{enabled:C,style:I.container,onLayout:this.handleLayout,children:i.map((function(t,o,i){var l,p,I=A.key===t.key,j=_[t.key],D=T[o],B=1;if(o=i.length-G?1:0;B=z?z.progress.current.interpolate({inputRange:[0,.99999,1],outputRange:[1,1,W],extrapolate:'clamp'}):1}var K,N=D.descriptor.options,V=N.headerShown,q=void 0===V||V,J=N.headerTransparent,Q=N.headerStyle,U=N.headerTintColor,X=N.freezeOnBlur,Y=n.top,Z=n.right,$=n.bottom,ee=n.left,te=!1!==q?F[t.key]:0;if(q)if('string'==typeof U)K=(0,u.default)(U).isDark();else{var re=c.StyleSheet.flatten(Q);re&&'backgroundColor'in re&&'string'==typeof re.backgroundColor&&(K=!(0,u.default)(re.backgroundColor).isDark())}var ne=k(T,o),oe=P(D,ne,M),ae='transparentModal'===(null==(l=T[o+1])?void 0:l.descriptor.options.presentation),ie=!1!==(null==(p=T[o+1])?void 0:p.descriptor.options.detachPreviousScreen);return(0,r(d[17]).jsx)(r(d[18]).MaybeScreen,{style:c.StyleSheet.absoluteFill,enabled:C,active:B,freezeOnBlur:X,pointerEvents:"box-none",children:(0,r(d[17]).jsx)(h.default,{index:o,interpolationIndex:ne,modal:oe,active:o===i.length-1,focused:I,closing:s.includes(t.key),layout:E,gesture:j,scene:D,safeAreaInsetTop:Y,safeAreaInsetRight:Z,safeAreaInsetBottom:$,safeAreaInsetLeft:ee,onGestureStart:R,onGestureCancel:x,onGestureEnd:w,headerHeight:te,isParentHeaderShown:b,onHeaderHeightChange:e.handleHeaderLayout,getPreviousScene:e.getPreviousScene,getFocusedRoute:e.getFocusedRoute,headerDarkContent:K,hasAbsoluteFloatHeader:L&&!J,renderHeader:v,renderScene:S,onOpenRoute:f,onCloseRoute:y,onTransitionStart:O,onTransitionEnd:H,isNextScreenTransparent:ae,detachCurrentScreen:ie})},t.key)}))}),L?N:null]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(e.routes===t.routes&&e.descriptors===t.descriptors)return null;var n=e.routes.reduce((function(n,o){var i=e.descriptors[o.key],s=((null==i?void 0:i.options)||{}).animationEnabled;return n[o.key]=t.gestures[o.key]||new c.Animated.Value(e.openingRouteKeys.includes(o.key)&&!1!==s?M(t.layout,i):0),n}),{}),o=e.routes.map((function(o,i,s){var u,l=s[i-1],p=s[i+1],f=t.scenes[i],h=n[o.key],y=l?n[l.key]:void 0,v=p?n[p.key]:void 0,k=e.descriptors[o.key]||t.descriptors[o.key]||(f?f.descriptor:S),P=e.descriptors[null==p?void 0:p.key]||t.descriptors[null==p?void 0:p.key],b=e.descriptors[null==l?void 0:l.key]||t.descriptors[null==l?void 0:l.key],M=i!==s.length-1&&P&&'transparentModal'!==P.options.presentation?P.options:k.options,H='modal'===M.presentation?r(d[15]).ModalTransition:'transparentModal'===M.presentation?r(d[15]).ModalFadeTransition:r(d[15]).DefaultTransition,I=M.animationEnabled,R=void 0===I?'web'!==c.Platform.OS&&'windows'!==c.Platform.OS&&'macos'!==c.Platform.OS:I,w=M.gestureEnabled,x=void 0===w?'ios'===c.Platform.OS&&R:w,j=M.gestureDirection,C=void 0===j?H.gestureDirection:j,D=M.transitionSpec,T=void 0===D?H.transitionSpec:D,E=M.cardStyleInterpolator,_=void 0===E?!1===R?r(d[16]).forNoAnimation:H.cardStyleInterpolator:E,F=M.headerStyleInterpolator,A=void 0===F?H.headerStyleInterpolator:F,B=M.cardOverlayEnabled,L=void 0===B?'ios'!==c.Platform.OS&&'transparentModal'!==M.presentation||(0,r(d[13]).getIsModalPresentation)(_):B,G=null!=(u=k.options.headerMode)?u:'modal'===M.presentation||'transparentModal'===M.presentation||'modal'===(null==P?void 0:P.options.presentation)||'transparentModal'===(null==P?void 0:P.options.presentation)||(0,r(d[13]).getIsModalPresentation)(_)||'ios'!==c.Platform.OS||void 0!==k.options.header?'screen':'float',z={route:o,descriptor:Object.assign({},k,{options:Object.assign({},k.options,{animationEnabled:R,cardOverlayEnabled:L,cardStyleInterpolator:_,gestureDirection:C,gestureEnabled:x,headerStyleInterpolator:A,transitionSpec:T,headerMode:G})}),progress:{current:O(h,t.layout,k),next:v&&'transparentModal'!==(null==P?void 0:P.options.presentation)?O(v,t.layout,P):void 0,previous:y?O(y,t.layout,b):void 0},__memo:[t.layout,k,P,b,h,v,y]};return f&&z.__memo.every((function(e,t){return f.__memo[t]===e}))?f:z}));return{routes:e.routes,scenes:o,gestures:n,descriptors:e.descriptors,headerHeights:b(o,e.insets,e.isParentHeaderShown,e.isParentModal,t.layout,t.headerHeights)}}}]),w})(l.Component);_e.default=H;var I=c.StyleSheet.create({container:{flex:1},absolute:{position:'absolute',top:0,left:0,right:0},floating:{zIndex:1}})}),733,[3,169,6,7,44,46,48,734,144,1,742,743,745,747,700,689,686,192,754]);
+__d((function(g,r,_i,_a,_m,e,d){var t=['keyword','gray','hex'],o={};for(var n of Object.keys(r(d[0])))o[r(d[1])(r(d[0])[n].labels).sort().join('')]=n;var a={};function i(n,h){if(!(this instanceof i))return new i(n,h);if(h&&h in t&&(h=null),h&&!(h in r(d[0])))throw new Error('Unknown model: '+h);var l,s;if(null==n)this.model='rgb',this.color=[0,0,0],this.valpha=1;else if(n instanceof i)this.model=n.model,this.color=r(d[1])(n.color),this.valpha=n.valpha;else if('string'==typeof n){var c=r(d[2]).get(n);if(null===c)throw new Error('Unable to parse color from string: '+n);this.model=c.model,s=r(d[0])[this.model].channels,this.color=c.value.slice(0,s),this.valpha='number'==typeof c.value[s]?c.value[s]:1}else if(n.length>0){this.model=h||'rgb',s=r(d[0])[this.model].channels;var u=Array.prototype.slice.call(n,0,s);this.color=v(u,s),this.valpha='number'==typeof n[s]?n[s]:1}else if('number'==typeof n)this.model='rgb',this.color=[n>>16&255,n>>8&255,255&n],this.valpha=1;else{this.valpha=1;var f=Object.keys(n);'alpha'in n&&(f.splice(f.indexOf('alpha'),1),this.valpha='number'==typeof n.alpha?n.alpha:0);var p=f.sort().join('');if(!(p in o))throw new Error('Unable to parse color from object: '+JSON.stringify(n));this.model=o[p];var b=r(d[0])[this.model].labels,m=[];for(l=0;ln?(o+.05)/(n+.05):(n+.05)/(o+.05)},level:function(t){var o=this.contrast(t);return o>=7?'AAA':o>=4.5?'AA':''},isDark:function(){var t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),o=0;o<3;o++)t.color[o]=255-t.color[o];return t},lighten:function(t){var o=this.hsl();return o.color[2]+=o.color[2]*t,o},darken:function(t){var o=this.hsl();return o.color[2]-=o.color[2]*t,o},saturate:function(t){var o=this.hsl();return o.color[1]+=o.color[1]*t,o},desaturate:function(t){var o=this.hsl();return o.color[1]-=o.color[1]*t,o},whiten:function(t){var o=this.hwb();return o.color[1]+=o.color[1]*t,o},blacken:function(t){var o=this.hwb();return o.color[2]+=o.color[2]*t,o},grayscale:function(){var t=this.rgb().color,o=.3*t[0]+.59*t[1]+.11*t[2];return i.rgb(o,o,o)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var o=this.hsl(),n=o.color[0];return n=(n=(n+t)%360)<0?360+n:n,o.color[0]=n,o},mix:function(t,o){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);var n=t.rgb(),a=this.rgb(),h=void 0===o?.5:o,l=2*h-1,s=n.alpha()-a.alpha(),c=((l*s==-1?l:(l+s)/(1+l*s))+1)/2,u=1-c;return i.rgb(c*n.red()+u*a.red(),c*n.green()+u*a.green(),c*n.blue()+u*a.blue(),n.alpha()*h+a.alpha()*(1-h))}};var h=function(o){if(t.includes(o))return"continue";var n=r(d[0])[o].channels;i.prototype[o]=function(){if(this.model===o)return new i(this);for(var t=arguments.length,n=new Array(t),a=0;a0?new i(n,o):new i([].concat(r(d[1])((h=r(d[0])[this.model][o].raw(this.color),Array.isArray(h)?h:[h])),[this.valpha]),o);var h},i[o]=function(){for(var t=arguments.length,a=new Array(t),h=0;h1&&(t=i),n(t))};return'conversion'in n&&(o.conversion=n.conversion),o}function t(n){var o=function(){for(var o=arguments.length,t=new Array(o),c=0;c1&&(t=i);var v=n(t);if('object'==typeof v)for(var f=v.length,l=0;l1&&(h-=1)),[360*h,100*u,100*i]},a.rgb.hwb=function(r){var n=r[0],t=r[1],h=r[2];return[a.rgb.hsl(r)[0],100*(.00392156862745098*Math.min(n,Math.min(t,h))),100*(h=1-.00392156862745098*Math.max(n,Math.max(t,h)))]},a.rgb.cmyk=function(r){var n=r[0]/255,a=r[1]/255,t=r[2]/255,h=Math.min(1-n,1-a,1-t);return[100*((1-n-h)/(1-h)||0),100*((1-a-h)/(1-h)||0),100*((1-t-h)/(1-h)||0),100*h]},a.rgb.keyword=function(n){var a=r[n];if(a)return a;var t,h,u,c=1/0;for(var s of Object.keys(_r(d[0]))){var l=_r(d[0])[s],i=(u=l,((h=n)[0]-u[0])**2+(h[1]-u[1])**2+(h[2]-u[2])**2);i.04045?((n+.055)/1.055)**2.4:n/12.92)+.3576*(a=a>.04045?((a+.055)/1.055)**2.4:a/12.92)+.1805*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)),100*(.2126*n+.7152*a+.0722*t),100*(.0193*n+.1192*a+.9505*t)]},a.rgb.lab=function(r){var n=a.rgb.xyz(r),t=n[0],h=n[1],u=n[2];return[116*(h=(h/=100)>.008856?h**.3333333333333333:7.787*h+.13793103448275862)-16,500*((t=(t/=95.047)>.008856?t**.3333333333333333:7.787*t+.13793103448275862)-h),200*(h-(u=(u/=108.883)>.008856?u**.3333333333333333:7.787*u+.13793103448275862))]},a.hsl.rgb=function(r){var n,a,t,h=r[0]/360,u=r[1]/100,c=r[2]/100;if(0===u)return[t=255*c,t,t];for(var s=2*c-(n=c<.5?c*(1+u):c+u-c*u),l=[0,0,0],i=0;i<3;i++)(a=h+.3333333333333333*-(i-1))<0&&a++,a>1&&a--,t=6*a<1?s+6*(n-s)*a:2*a<1?n:3*a<2?s+(n-s)*(.6666666666666666-a)*6:s,l[i]=255*t;return l},a.hsl.hsv=function(r){var n=r[0],a=r[1]/100,t=r[2]/100,h=a,u=Math.max(t,.01);return a*=(t*=2)<=1?t:2-t,h*=u<=1?u:2-u,[n,100*(0===t?2*h/(u+h):2*a/(t+a)),100*((t+a)/2)]},a.hsv.rgb=function(r){var n=r[0]/60,a=r[1]/100,t=r[2]/100,h=Math.floor(n)%6,u=n-Math.floor(n),c=255*t*(1-a),s=255*t*(1-a*u),l=255*t*(1-a*(1-u));switch(t*=255,h){case 0:return[t,l,c];case 1:return[s,t,c];case 2:return[c,t,l];case 3:return[c,s,t];case 4:return[l,c,t];case 5:return[t,c,s]}},a.hsv.hsl=function(r){var n,a,t=r[0],h=r[1]/100,u=r[2]/100,c=Math.max(u,.01);a=(2-h)*u;var s=(2-h)*c;return n=h*c,[t,100*(n=(n/=s<=1?s:2-s)||0),100*(a/=2)]},a.hwb.rgb=function(r){var n,a=r[0]/360,t=r[1]/100,h=r[2]/100,u=t+h;u>1&&(t/=u,h/=u);var c=Math.floor(6*a),s=1-h;n=6*a-c,0!=(1&c)&&(n=1-n);var l,i,o,b=t+n*(s-t);switch(c){default:case 6:case 0:l=s,i=b,o=t;break;case 1:l=b,i=s,o=t;break;case 2:l=t,i=s,o=b;break;case 3:l=t,i=b,o=s;break;case 4:l=b,i=t,o=s;break;case 5:l=s,i=t,o=b}return[255*l,255*i,255*o]},a.cmyk.rgb=function(r){var n=r[0]/100,a=r[1]/100,t=r[2]/100,h=r[3]/100;return[255*(1-Math.min(1,n*(1-h)+h)),255*(1-Math.min(1,a*(1-h)+h)),255*(1-Math.min(1,t*(1-h)+h))]},a.xyz.rgb=function(r){var n,a,t,h=r[0]/100,u=r[1]/100,c=r[2]/100;return n=(n=3.2406*h+-1.5372*u+-.4986*c)>.0031308?1.055*n**.4166666666666667-.055:12.92*n,a=(a=-.9689*h+1.8758*u+.0415*c)>.0031308?1.055*a**.4166666666666667-.055:12.92*a,t=(t=.0557*h+-.204*u+1.057*c)>.0031308?1.055*t**.4166666666666667-.055:12.92*t,[255*(n=Math.min(Math.max(0,n),1)),255*(a=Math.min(Math.max(0,a),1)),255*(t=Math.min(Math.max(0,t),1))]},a.xyz.lab=function(r){var n=r[0],a=r[1],t=r[2];return[116*(a=(a/=100)>.008856?a**.3333333333333333:7.787*a+.13793103448275862)-16,500*((n=(n/=95.047)>.008856?n**.3333333333333333:7.787*n+.13793103448275862)-a),200*(a-(t=(t/=108.883)>.008856?t**.3333333333333333:7.787*t+.13793103448275862))]},a.lab.xyz=function(r){var n,a,t,h=(a=(r[0]+16)/116)**3,u=(n=r[1]/500+a)**3,c=(t=a-r[2]/200)**3;return a=h>.008856?h:(a-.13793103448275862)/7.787,n=u>.008856?u:(n-.13793103448275862)/7.787,t=c>.008856?c:(t-.13793103448275862)/7.787,[n*=95.047,a*=100,t*=108.883]},a.lab.lch=function(r){var n,a=r[0],t=r[1],h=r[2];return(n=360*Math.atan2(h,t)/2/Math.PI)<0&&(n+=360),[a,Math.sqrt(t*t+h*h),n]},a.lch.lab=function(r){var n=r[0],a=r[1],t=r[2]/360*2*Math.PI;return[n,a*Math.cos(t),a*Math.sin(t)]},a.rgb.ansi16=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=_r(d[1])(r,3),h=t[0],u=t[1],c=t[2],s=null===n?a.rgb.hsv(r)[2]:n;if(0===(s=Math.round(s/50)))return 30;var l=30+(Math.round(c/255)<<2|Math.round(u/255)<<1|Math.round(h/255));return 2===s&&(l+=60),l},a.hsv.ansi16=function(r){return a.rgb.ansi16(a.hsv.rgb(r),r[2])},a.rgb.ansi256=function(r){var n=r[0],a=r[1],t=r[2];return n===a&&a===t?n<8?16:n>248?231:Math.round((n-8)/247*24)+232:16+36*Math.round(n/255*5)+6*Math.round(a/255*5)+Math.round(t/255*5)},a.ansi16.rgb=function(r){var n=r%10;if(0===n||7===n)return r>50&&(n+=3.5),[n=n/10.5*255,n,n];var a=.5*(1+~~(r>50));return[(1&n)*a*255,(n>>1&1)*a*255,(n>>2&1)*a*255]},a.ansi256.rgb=function(r){if(r>=232){var n=10*(r-232)+8;return[n,n,n]}var a;return r-=16,[Math.floor(r/36)/5*255,Math.floor((a=r%36)/6)/5*255,a%6/5*255]},a.rgb.hex=function(r){var n=(((255&Math.round(r[0]))<<16)+((255&Math.round(r[1]))<<8)+(255&Math.round(r[2]))).toString(16).toUpperCase();return'000000'.substring(n.length)+n},a.hex.rgb=function(r){var n=r.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!n)return[0,0,0];var a=n[0];3===n[0].length&&(a=a.split('').map((function(r){return r+r})).join(''));var t=parseInt(a,16);return[t>>16&255,t>>8&255,255&t]},a.rgb.hcg=function(r){var n,a=r[0]/255,t=r[1]/255,h=r[2]/255,u=Math.max(Math.max(a,t),h),c=Math.min(Math.min(a,t),h),s=u-c;return n=s<=0?0:u===a?(t-h)/s%6:u===t?2+(h-a)/s:4+(a-t)/s,n/=6,[360*(n%=1),100*s,100*(s<1?c/(1-s):0)]},a.hsl.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=a<.5?2*n*a:2*n*(1-a),h=0;return t<1&&(h=(a-.5*t)/(1-t)),[r[0],100*t,100*h]},a.hsv.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=n*a,h=0;return t<1&&(h=(a-t)/(1-t)),[r[0],100*t,100*h]},a.hcg.rgb=function(r){var n=r[0]/360,a=r[1]/100,t=r[2]/100;if(0===a)return[255*t,255*t,255*t];var h,u=[0,0,0],c=n%1*6,s=c%1,l=1-s;switch(Math.floor(c)){case 0:u[0]=1,u[1]=s,u[2]=0;break;case 1:u[0]=l,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=s;break;case 3:u[0]=0,u[1]=l,u[2]=1;break;case 4:u[0]=s,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=l}return h=(1-a)*t,[255*(a*u[0]+h),255*(a*u[1]+h),255*(a*u[2]+h)]},a.hcg.hsv=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n),t=0;return a>0&&(t=n/a),[r[0],100*t,100*a]},a.hcg.hsl=function(r){var n=r[1]/100,a=r[2]/100*(1-n)+.5*n,t=0;return a>0&&a<.5?t=n/(2*a):a>=.5&&a<1&&(t=n/(2*(1-a))),[r[0],100*t,100*a]},a.hcg.hwb=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n);return[r[0],100*(a-n),100*(1-a)]},a.hwb.hcg=function(r){var n=r[1]/100,a=1-r[2]/100,t=a-n,h=0;return t<1&&(h=(a-t)/(1-t)),[r[0],100*t,100*h]},a.apple.rgb=function(r){return[r[0]/65535*255,r[1]/65535*255,r[2]/65535*255]},a.rgb.apple=function(r){return[r[0]/255*65535,r[1]/255*65535,r[2]/255*65535]},a.gray.rgb=function(r){return[r[0]/100*255,r[0]/100*255,r[0]/100*255]},a.gray.hsl=function(r){return[0,0,r[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(r){return[0,100,r[0]]},a.gray.cmyk=function(r){return[0,0,0,r[0]]},a.gray.lab=function(r){return[r[0],0,0]},a.gray.hex=function(r){var n=255&Math.round(r[0]/100*255),a=((n<<16)+(n<<8)+n).toString(16).toUpperCase();return'000000'.substring(a.length)+a},a.rgb.gray=function(r){return[(r[0]+r[1]+r[2])/3/255*100]}}),736,[737,16]);
+__d((function(g,r,i,a,m,e,d){'use strict';m.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),737,[]);
+__d((function(g,r,_i,a,m,e,d){function n(){for(var n={},t=Object.keys(r(d[0])),u=t.length,c=0;c=4&&1!==r[3]&&(t=', '+r[3]),'hwb('+r[0]+', '+r[1]+'%, '+r[2]+'%'+t+')'},n.to.keyword=function(r){return t[r.slice(0,3)]}}),739,[737,740]);
+__d((function(g,r,_i,a,m,e,d){'use strict';var t=Array.prototype.concat,n=Array.prototype.slice,o=m.exports=function(o){for(var c=[],u=0,p=o.length;u=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&'String'!==n.constructor.name))}}),741,[]);
+__d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,t){for(var u=n.length-1;u>=0;u--)if(t(n[u]))return u;return-1}}),742,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,c){var l=(0,t.default)(c);switch(c){case'vertical':case'vertical-inverted':return n.height*l;case'horizontal':case'horizontal-inverted':return n.width*l}};var t=r(d[0])(r(d[1]))}),743,[3,744]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){switch(n){case'vertical':return 1;case'vertical-inverted':return-1;case'horizontal':return t.I18nManager.getConstants().isRTL?-1:1;case'horizontal-inverted':return t.I18nManager.getConstants().isRTL?1:-1}};var t=r(d[0])}),744,[1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0])(r(d[1])),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=c(n);if(o&&o.has(t))return o.get(t);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=u?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(s,l,p):s[l]=t[l]}s.default=t,o&&o.set(t,s);return s})(r(d[2])),o=r(d[3]),s=r(d[0])(r(d[4])),u=r(d[0])(r(d[5])),l=r(d[0])(r(d[6]));function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(c=function(t){return t?o:n})(t)}var p=n.memo((function(c){var p=c.interpolationIndex,v=c.index,h=c.active,y=c.closing,b=c.gesture,x=c.focused,S=c.modal,C=c.getPreviousScene,H=c.getFocusedRoute,P=c.headerDarkContent,E=c.hasAbsoluteFloatHeader,j=c.headerHeight,w=c.onHeaderHeightChange,O=c.isParentHeaderShown,k=c.isNextScreenTransparent,I=c.detachCurrentScreen,D=c.layout,M=c.onCloseRoute,T=c.onOpenRoute,R=c.onGestureCancel,A=c.onGestureEnd,F=c.onGestureStart,G=c.onTransitionEnd,_=c.onTransitionStart,L=c.renderHeader,V=c.renderScene,B=c.safeAreaInsetBottom,W=c.safeAreaInsetLeft,N=c.safeAreaInsetRight,q=c.safeAreaInsetTop,z=c.scene,J=n.useContext(r(d[7]).HeaderHeightContext),K=(0,u.default)(n.useCallback((function(){var t=z.descriptor,n=t.options;return t.navigation.isFocused()&&!1!==n.keyboardHandlingEnabled}),[z.descriptor])),Q=K.onPageChangeStart,U=K.onPageChangeCancel,X=K.onPageChangeConfirm,Y={top:q,right:N,bottom:B,left:W},Z=(0,r(d[8]).useTheme)().colors,$=n.useState('box-none'),ee=(0,t.default)($,2),te=ee[0],ne=ee[1];n.useEffect((function(){var t,n=null==(t=z.progress.next)||null==t.addListener?void 0:t.addListener((function(t){var n=t.value;ne(n<=.1?'box-none':'none')}));return function(){var t;n&&(null==(t=z.progress.next)||null==t.removeListener||t.removeListener(n))}}),[te,z.progress.next]);var re,oe=z.descriptor.options,ae=oe.presentation,ie=oe.animationEnabled,se=oe.cardOverlay,ue=oe.cardOverlayEnabled,le=oe.cardShadowEnabled,de=oe.cardStyle,ce=oe.cardStyleInterpolator,pe=oe.gestureDirection,fe=oe.gestureEnabled,ve=oe.gestureResponseDistance,ge=oe.gestureVelocityImpact,he=oe.headerMode,ye=oe.headerShown,be=oe.transitionSpec,xe=C({route:z.descriptor.route});if(xe){var Se=xe.descriptor,Ce=Se.options,me=Se.route;re=(0,r(d[7]).getHeaderTitle)(Ce,me.name)}var He=n.useMemo((function(){return void 0!==re?{title:re}:void 0}),[re]);return(0,r(d[9]).jsx)(l.default,{interpolationIndex:p,gestureDirection:pe,layout:D,insets:Y,gesture:b,current:z.progress.current,next:z.progress.next,closing:y,onOpen:function(){var t=z.descriptor.route;G({route:t},!1),T({route:t})},onClose:function(){var t=z.descriptor.route;G({route:t},!0),M({route:t})},overlay:se,overlayEnabled:ue,shadowEnabled:le,onTransition:function(t){var n=t.closing,o=t.gesture,s=z.descriptor.route;o?h&&n?null==X||X(!1):null==U||U():null==X||X(!0),null==_||_({route:s},n)},onGestureBegin:function(){var t=z.descriptor.route;Q(),F({route:t})},onGestureCanceled:function(){var t=z.descriptor.route;U(),R({route:t})},onGestureEnd:function(){var t=z.descriptor.route;A({route:t})},gestureEnabled:0!==v&&fe,gestureResponseDistance:ve,gestureVelocityImpact:ge,transitionSpec:be,styleInterpolator:ce,accessibilityElementsHidden:!x,importantForAccessibility:x?'auto':'no-hide-descendants',pointerEvents:h?'box-none':te,pageOverflowEnabled:'float'!==he&&'modal'!==ae,headerDarkContent:P,containerStyle:E&&'screen'!==he?{marginTop:j}:null,contentStyle:[{backgroundColor:'transparentModal'===ae?'transparent':Z.background},de],style:[{overflow:h?void 0:'hidden',display:!1!==ie||!1!==k||!1===I||x?'flex':'none'},o.StyleSheet.absoluteFill],children:(0,r(d[9]).jsx)(o.View,{style:f.container,children:(0,r(d[9]).jsxs)(s.default.Provider,{value:S,children:[(0,r(d[9]).jsx)(o.View,{style:f.scene,children:(0,r(d[9]).jsx)(r(d[7]).HeaderBackContext.Provider,{value:He,children:(0,r(d[9]).jsx)(r(d[7]).HeaderShownContext.Provider,{value:O||!1!==ye,children:(0,r(d[9]).jsx)(r(d[7]).HeaderHeightContext.Provider,{value:ye?j:null!=J?J:0,children:V({route:z.descriptor.route})})})})}),'float'!==he?L({mode:'screen',layout:D,scenes:[xe,z],getPreviousScene:C,getFocusedRoute:H,onContentHeightChange:w}):null]})})})}));e.default=p;var f=o.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},scene:{flex:1}})}),745,[3,16,144,1,694,746,747,700,438,192]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var o=t.useRef(void 0),c=t.useRef(0),f=t.useRef(),l=t.useCallback((function(){void 0!==f.current&&(clearTimeout(f.current),f.current=void 0)}),[]),s=t.useCallback((function(){if(u()){l();var t=n.TextInput.State.currentlyFocusedInput();null==t||t.blur(),o.current=t,c.current=Date.now()}}),[l,u]),p=t.useCallback((function(t){if(u()){if(l(),t)n.Keyboard.dismiss();else{var c=o.current;null==c||c.blur()}o.current=void 0}}),[l,u]),v=t.useCallback((function(){if(u()){l();var t=o.current;t&&(Date.now()-c.current<100?f.current=setTimeout((function(){null==t||t.focus(),o.current=void 0}),100):(null==t||t.focus(),o.current=void 0))}}),[l,u]);return t.useEffect((function(){return function(){return l()}}),[l]),{onPageChangeStart:s,onPageChangeConfirm:p,onPageChangeCancel:v}};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 o=u(n);if(o&&o.has(t))return o.get(t);var c={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=f?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(c,l,s):c[l]=t[l]}c.default=t,o&&o.set(t,c);return c})(r(d[0])),n=r(d[1]);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)}}),746,[144,1]);
+__d((function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.getIsModalPresentation=_e.default=void 0;var e=r(d[0])(r(d[1])),t=r(d[0])(r(d[2])),n=r(d[0])(r(d[3])),o=r(d[0])(r(d[4])),l=r(d[0])(r(d[5])),s=r(d[0])(r(d[6])),u=r(d[0])(r(d[7])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=l?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o})(r(d[8])),h=r(d[9]),f=r(d[0])(r(d[10])),p=r(d[0])(r(d[11])),v=r(d[0])(r(d[12])),y=r(d[0])(r(d[13])),w=r(d[0])(r(d[14])),b=r(d[0])(r(d[15])),S=["styleInterpolator","interpolationIndex","current","gesture","next","layout","insets","overlay","overlayEnabled","shadowEnabled","gestureEnabled","gestureDirection","pageOverflowEnabled","headerDarkContent","children","containerStyle","contentStyle"];function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function V(){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 C='web'!==h.Platform.OS,O=(function(E){(0,o.default)(D,E);var O,I,k=(O=D,I=V(),function(){var e,t=(0,s.default)(O);if(I){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function D(){var e;(0,t.default)(this,D);for(var n=arguments.length,o=new Array(n),l=0;lw/2?0!==S||0!==b:e.props.closing;e.animate({closing:E,velocity:S}),E&&(e.pendingGestureCallback=setTimeout((function(){s(),e.forceUpdate()}),32)),null==h||h()}},e.getInterpolatedStyle=(0,y.default)((function(e,t){return e(t)})),e.getCardAnimation=(0,y.default)((function(t,n,o,l,s,u,c,h){return{index:t,current:{progress:n},next:o&&{progress:o},closing:e.isClosing,swiping:e.isSwiping,inverted:e.inverted,layouts:{screen:l},insets:{top:s,right:u,bottom:c,left:h}}})),e.ref=c.createRef(),e}return(0,n.default)(D,[{key:"componentDidMount",value:function(){this.animate({closing:this.props.closing}),this.isCurrentlyMounted=!0}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.layout,o=t.gestureDirection,l=t.closing,s=n.width,u=n.height;s!==e.layout.width&&this.layout.width.setValue(s),u!==e.layout.height&&this.layout.height.setValue(u),o!==e.gestureDirection&&this.inverted.setValue((0,v.default)(o));var c=this.getAnimateToValue(this.props);this.getAnimateToValue(e)===c&&this.lastToValue===c||this.animate({closing:l})}},{key:"componentWillUnmount",value:function(){this.props.gesture.stopAnimation(),this.isCurrentlyMounted=!1,this.handleEndInteraction()}},{key:"gestureActivationCriteria",value:function(){var e=this.props,t=e.layout,n=e.gestureDirection,o=e.gestureResponseDistance,l=!0,s=void 0!==o?o:'vertical'===n||'vertical-inverted'===n?135:50;if('vertical'===n)return{maxDeltaX:15,minOffsetY:5,hitSlop:{bottom:-t.height+s},enableTrackpadTwoFingerGesture:l};if('vertical-inverted'===n)return{maxDeltaX:15,minOffsetY:-5,hitSlop:{top:-t.height+s},enableTrackpadTwoFingerGesture:l};var u=-t.width+s;return 1===(0,v.default)(n)?{minOffsetX:5,maxDeltaY:20,hitSlop:{right:u},enableTrackpadTwoFingerGesture:l}:{minOffsetX:-5,maxDeltaY:20,hitSlop:{left:u},enableTrackpadTwoFingerGesture:l}}},{key:"render",value:function(){var t,n=this.props,o=n.styleInterpolator,l=n.interpolationIndex,s=n.current,c=n.gesture,p=n.next,v=n.layout,y=n.insets,E=n.overlay,V=n.overlayEnabled,O=n.shadowEnabled,I=n.gestureEnabled,k=n.gestureDirection,D=n.pageOverflowEnabled,j=n.headerDarkContent,T=n.children,P=n.containerStyle,G=n.contentStyle,M=(0,e.default)(n,S),H=this.getCardAnimation(l,s,p,v,y.top,y.right,y.bottom,y.left),R=this.getInterpolatedStyle(o,H),X=R.containerStyle,Y=R.cardStyle,_=R.overlayStyle,z=R.shadowStyle,B=I?h.Animated.event([{nativeEvent:'vertical'===k||'vertical-inverted'===k?{translationY:c}:{translationX:c}}],{useNativeDriver:C}):void 0,F=h.StyleSheet.flatten(G||{}).backgroundColor,L='string'==typeof F&&0===(0,u.default)(F).alpha();return(0,r(d[17]).jsxs)(f.default.Provider,{value:H,children:['ios'===h.Platform.OS&&V&&p&&x(o)?(0,r(d[17]).jsx)(w.default,{dark:j,layout:v,insets:y,style:Y}):null,(0,r(d[17]).jsx)(h.Animated.View,{style:{opacity:s},collapsable:!1}),(0,r(d[17]).jsxs)(h.View,Object.assign({pointerEvents:"box-none"},M,{children:[V?(0,r(d[17]).jsx)(h.View,{pointerEvents:"box-none",style:h.StyleSheet.absoluteFill,children:E({style:_})}):null,(0,r(d[17]).jsx)(h.Animated.View,{style:[A.container,X,P],pointerEvents:"box-none",children:(0,r(d[17]).jsx)(r(d[16]).PanGestureHandler,Object.assign({enabled:0!==v.width&&I,onGestureEvent:B,onHandlerStateChange:this.handleGestureStateChange},this.gestureActivationCriteria(),{children:(0,r(d[17]).jsxs)(h.Animated.View,{needsOffscreenAlphaCompositing:(t=Y,!!t&&null!=h.StyleSheet.flatten(t).opacity),style:[A.container,Y],children:[O&&z&&!L?(0,r(d[17]).jsx)(h.Animated.View,{style:[A.shadow,'horizontal'===k?[A.shadowHorizontal,A.shadowLeft]:'horizontal-inverted'===k?[A.shadowHorizontal,A.shadowRight]:'vertical'===k?[A.shadowVertical,A.shadowTop]:[A.shadowVertical,A.shadowBottom],{backgroundColor:F},z],pointerEvents:"none"}):null,(0,r(d[17]).jsx)(b.default,{ref:this.ref,enabled:D,layout:v,style:G,children:T})]})}))})]}))]})}}]),D})(c.Component);_e.default=O,O.defaultProps={shadowEnabled:!1,gestureEnabled:!0,gestureVelocityImpact:.3,overlay:function(e){var t=e.style;return t?(0,r(d[17]).jsx)(h.Animated.View,{pointerEvents:"none",style:[A.overlay,t]}):null}};var x=function(e){return e===r(d[18]).forModalPresentationIOS||'forModalPresentationIOS'===e.name};_e.getIsModalPresentation=x;var A=h.StyleSheet.create({container:{flex:1},overlay:{flex:1,backgroundColor:'#000'},shadow:{position:'absolute',shadowRadius:5,shadowColor:'#000',shadowOpacity:.3},shadowHorizontal:{top:0,bottom:0,width:3,shadowOffset:{width:-1,height:1}},shadowLeft:{left:0},shadowRight:{right:0},shadowVertical:{left:0,right:0,height:3,shadowOffset:{width:1,height:-1}},shadowTop:{top:0},shadowBottom:{bottom:0}})}),747,[3,108,6,7,44,46,48,734,144,1,748,743,744,699,749,750,751,192,686]);
+__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}),748,[144]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var l,f,c=o.dark,s=o.layout,p=o.insets,v=o.style,y=(0,r(d[4]).useTheme)().dark,O=n.useState(!0),b=(0,t.default)(O,2),j=b[0],h=b[1],k=1-20/s.width,w=(p.top-34)*k,P=u.StyleSheet.flatten(v),_=null==P||null==(l=P.transform)||null==(f=l.find((function(t){return void 0!==t.translateY})))?void 0:f.translateY;n.useEffect((function(){var t=null==_?void 0:_.addListener((function(t){var n=t.value;h(n1,children:e})}));return(0,r(d[13]).jsx)(I.NativeScreenStack,Object.assign({},n,{children:c}))},InnerScreen:D,FullWindowOverlay:function(e){return'ios'!==v.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,r(d[13]).jsx)(v.View,Object.assign({},e))):(0,r(d[13]).jsx)(I.NativeFullWindowOverlay,{style:{position:'absolute',width:'100%',height:'100%'},children:e.children})},get NativeScreen(){return I.NativeScreen},get NativeScreenContainer(){return I.NativeScreenContainer},get NativeScreenNavigationContainer(){return I.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return I.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return I.NativeScreenStackHeaderSubview},get SearchBar(){return r(d[15]).isSearchBarAvailableForCurrentPlatform?I.NativeSearchBar:(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),v.View)},ScreenStackHeaderBackButtonImage:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,{type:"back",style:T.headerSubview,children:(0,r(d[13]).jsx)(v.Image,Object.assign({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"right",style:T.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"left",style:T.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"center",style:T.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,r(d[13]).jsx)(I.NativeScreenStackHeaderSubview,Object.assign({},e,{type:"searchBar",style:T.headerSubview}))},enableScreens:function(){(j=k&&(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))&&!v.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(r(d[12]).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.'),O=e},screensEnabled:function(){return j},shouldUseActivityState:!0,useTransitionProgress:f.default,isSearchBarAvailableForCurrentPlatform:r(d[15]).isSearchBarAvailableForCurrentPlatform,executeNativeBackPress:r(d[15]).executeNativeBackPress}}),755,[3,6,7,44,46,48,108,16,144,1,756,757,630,192,758,759]);
+__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}),756,[144]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return o};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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),757,[144,3,756]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Freeze=function(n){var f=n.freeze,u=n.children,c=n.placeholder,l=void 0===c?null:c;return(0,r(d[1]).jsx)(t.Suspense,{fallback:l,children:(0,r(d[1]).jsx)(o,{freeze:f,children:u})})};var t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=n(o);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]));function n(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,f=new WeakMap;return(n=function(t){return t?f:o})(t)}function o(n){var o=n.freeze,f=n.children,u=(0,t.useRef)({}).current;if(o&&!u.promise)throw u.promise=new Promise((function(t){u.resolve=t})),u.promise;if(o)throw u.promise;return u.promise&&(u.resolve(),u.promise=void 0),(0,r(d[1]).jsx)(t.Fragment,{children:f})}}),758,[144,192]);
+__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}),759,[1]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find values for card animation. Are you inside a screen in Stack?");return o};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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),760,[144,3,748]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var o=t.useContext(n.default);if(void 0===o)throw new Error("Couldn't find a ref for gesture handler. Are you inside a screen in Stack?");return o};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 u=o(n);if(u&&u.has(t))return u.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,u&&u.set(t,f);return f})(r(d[0])),n=r(d[1])(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}}),761,[144,3,753]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r(d[0])(r(d[1]));var t=r(d[2]),n=r(d[0])(r(d[3])),o=t.Dimensions.get('window').width,l=t.StyleSheet.create({container:{justifyContent:'center',width:'100%',height:720*o/1022},image:{flex:1,width:'100%',resizeMode:'contain'}}),u=function(){return console.log((0,r(d[4]).getOrderDetails)()),(0,r(d[5]).jsx)(t.View,{style:l.container,onLayout:function(t){var o=t.nativeEvent.layout,l=o.height,u=o.width;console.log('image height',l,u),n.default.updateMerchantViewHeight('JuspayHeader',l)},children:(0,r(d[5]).jsx)(t.Image,{source:r(d[6]),style:l.image})})};e.default=u}),762,[3,144,1,424,683,192,763]);
+__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/images",width:1022,height:720,scales:[1],hash:"a1a1127430d5fc2c2ee56ce5097be87c",name:"promotion",type:"png"})}),763,[723]);
+__d((function(g,_r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=_r(d[0])(_r(d[1])),n=_r(d[0])(_r(d[2])),r=_r(d[3]),o=_r(d[0])(_r(d[4])),l=_r(d[0])(_r(d[5]));function s(t){var n=(0,_r(d[6]).getOrderDetails)();n.amount=t;var r=JSON.stringify(n);o.default.generateSign('',r).then((function(t){var n={requestId:'dfkljfdskjlj',payload:{action:'updateOrder',orderDetails:r,signature:t},service:'in.juspay.hyperpay'};console.log('process called',n),l.default.process(JSON.stringify(n))}))}var u=r.StyleSheet.create({container:{height:'auto',justifyContent:'center'},hello:{fontSize:20,textAlign:'center',margin:10,height:24},input:{height:40,margin:12,borderWidth:1,padding:10}}),c=function(){console.log((0,_r(d[6]).getOrderDetails)());var o=n.default.useState((0,_r(d[6]).getOrderDetails)().amount),l=(0,t.default)(o,2),c=l[0],f=l[1];return(0,_r(d[7]).jsxs)(r.View,{style:u.container,children:[(0,_r(d[7]).jsx)(r.Text,{style:u.hello,children:"amount"}),(0,_r(d[7]).jsx)(r.TextInput,{style:u.input,onChangeText:f}),(0,_r(d[7]).jsx)(r.Button,{title:"Update Amount",onPress:function(){return s(c)}})]})};e.default=c}),764,[3,16,144,1,423,424,683,192]);
+__d((function(e,a,p,d,m,t,c){m.exports={name:"HyperSdkReactExample",displayName:"HyperSdkReact Example"}}),765,[]);
__r(40);
__r(0);
\ No newline at end of file
diff --git a/example/src/App.tsx b/example/src/App.tsx
index 42044b9..3bf5402 100644
--- a/example/src/App.tsx
+++ b/example/src/App.tsx
@@ -10,7 +10,6 @@ import { createStackNavigator } from '@react-navigation/stack';
import { NavigationContainer } from '@react-navigation/native';
import HomeScreen from './HomeScreen';
import ProcessScreen from './ProcessScreen';
-import OfferScreen from './OfferScreen';
const AppNavigator = createStackNavigator();
@@ -27,11 +26,6 @@ const App = () => (
component={ProcessScreen}
options={{ title: 'Process Screen' }}
/>
-
);
diff --git a/example/src/OfferScreen.tsx b/example/src/OfferScreen.tsx
deleted file mode 100644
index e5af641..0000000
--- a/example/src/OfferScreen.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import React from 'react';
-import { Text, View } from 'react-native';
-
-export default function OfferScreen() {
- return (
-
- Offer Screen
-
- );
-}
diff --git a/example/src/ProcessScreen.tsx b/example/src/ProcessScreen.tsx
index 42ff275..e49e309 100644
--- a/example/src/ProcessScreen.tsx
+++ b/example/src/ProcessScreen.tsx
@@ -20,9 +20,10 @@ import {
Dimensions,
ScrollView,
} from 'react-native';
-// import { Picker } from '@react-native-picker/picker';
+
+import { Picker } from '@react-native-picker/picker';
import CheckBox from '@react-native-community/checkbox';
-import HyperSdkReact, { HyperView } from 'hyper-sdk-react';
+import HyperSdkReact from 'hyper-sdk-react';
import HyperAPIUtils from './API';
import HyperUtils from './Utils';
import { useNavigation } from '@react-navigation/native';
@@ -30,15 +31,12 @@ import { setOrderDetails } from './DataStore';
class ProcessScreen extends React.Component {
state = {
- pickerSelected: 'flyer',
+ pickerSelected: 'getPM',
upiSdkPresent: false,
saveToLocker: false,
shouldLink: false,
resultText: '',
animation: new Animated.Value(0),
- isPayloadGenerated: false,
- hideWidget: false,
- ppPayload: '',
};
navigation: any;
@@ -82,7 +80,6 @@ class ProcessScreen extends React.Component {
directWalletToken: string;
sdkPresent: string;
walletMobile: string;
- flyerPayload: string;
constructor(props: { navigation: any; route: any }, context: any) {
super(props, context);
@@ -122,10 +119,9 @@ class ProcessScreen extends React.Component {
this.otp = '';
this.sdkPresent = '';
this.walletMobile = '';
- this.flyerPayload = JSON.stringify(HyperUtils.generateFlyerPayload());
if (this.service === 'pp') {
- this.state.pickerSelected = 'paymentPage';
+ this.state.pickerSelected = 'quickPay';
}
}
@@ -148,86 +144,6 @@ class ProcessScreen extends React.Component {
});
}
- UpdateOrderData = () => {
- const [text, onChangeText] = React.useState('');
- const [number, onChangeNumber] = React.useState(this.amount);
- return (
-
-
-
-
-
- {
- let orderDetailsNew = {};
- if (text !== '') {
- orderDetailsNew = {
- merchant_id: this.merchantId,
- customer_id: this.customerId,
- order_id: this.orderId,
- amount: number,
- mobile_number: this.mobile,
- customer_email: this.email,
- timestamp: HyperUtils.getTimestamp(),
- offer_details: {
- offer_applied: String(text !== ''),
- offer_code: text,
- amount: number,
- },
- };
- } else {
- orderDetailsNew = {
- merchant_id: this.merchantId,
- customer_id: this.customerId,
- order_id: this.orderId,
- amount: number,
- mobile_number: this.mobile,
- customer_email: this.email,
- timestamp: HyperUtils.getTimestamp(),
- };
- }
- let signNew = '';
- HyperAPIUtils.generateSign(
- this.privateKey,
- JSON.stringify(orderDetailsNew)
- )
- .then((resp) => {
- signNew = resp;
- // HyperUtils.showCopyAlert(
- // 'Payload signed',
- // this.signature
- // );
- })
- .catch((err) => {
- console.warn(err);
- });
- var payload = HyperUtils.generateProcessPayloadPP(
- 'updateOrder',
- this.clientId,
- this.merchantId,
- JSON.stringify(orderDetailsNew),
- signNew,
- this.merchantKeyId
- );
- HyperSdkReact.process(JSON.stringify(payload));
- }}
- />
-
- );
- };
-
componentWillUnmount() {
this.eventListener.remove();
BackHandler.removeEventListener('hardwareBackPress', () => null);
@@ -252,9 +168,7 @@ class ProcessScreen extends React.Component {
this.isPopupVisible = false;
};
- toggleVisibility = () => {
- this.setState({ hideWidget: !this.state.hideWidget });
- };
+
render() {
const screenHeight = Dimensions.get('window').height;
@@ -288,11 +202,9 @@ class ProcessScreen extends React.Component {
};
return (
-
+
-
-
- {/*
+
{this.service === 'ec' ? (
-
) : (
)}
- */}
+
{this.state.pickerSelected === 'getPM' ? (
) : null}
- {this.state.pickerSelected === 'flyer' ? (
- {
- this.setState({ isPayloadGenerated: true });
- }}
- />
- ) : null}
-
{this.state.pickerSelected === 'listWallet' ? (
- {/* {
var payload = HyperUtils.generateProcessPayloadPP(
@@ -853,30 +753,11 @@ class ProcessScreen extends React.Component {
HyperSdkReact.processWithActivity(JSON.stringify(payload));
}}
- /> */}
-
- {
- this.setState({
- isPayloadGenerated: true,
- ppPayload: JSON.stringify(
- HyperUtils.generateProcessPayloadPP(
- this.state.pickerSelected,
- this.clientId,
- this.merchantId,
- JSON.stringify(this.orderDetails),
- this.signature,
- this.merchantKeyId
- )
- ),
- });
- }}
/>
) : null}
- {/* {
HyperSdkReact.isInitialised().then((init: boolean) => {
@@ -884,47 +765,34 @@ class ProcessScreen extends React.Component {
HyperUtils.showCopyAlert('isInitialised', init + '');
});
}}
- /> */}
+ />
{
HyperSdkReact.terminate();
}}
/>
- {/* {
this.handleOpen();
}}
/>
-
- {this.state.isPayloadGenerated ? (
-
- ) : null}
- /> */}
-
- {
- this.toggleVisibility();
- }}
- />
- {
- this.navigation.navigate('OfferScreen');
- }}
- />
-
+ {/* To use Juspay Fragment View for payment widget */}
+ {/*
+ - Generate process payload
+ - set namespace as 'paymentWidget'
+ - set height & width of paymentWidget (optional)
+ Note : HyperSDKReact process will be called by the plugin itself once the view is attached.
+ */}
+ {/*
+ }
+ namespace={'paymentWidget'}
+ />
+ */}
-
-
- {this.state.isPayloadGenerated ? (
-
- ) : null}
-
- {/*
- {
- const data = {
- requestId: 'testid',
- service: 'in.juspay.hyperpay',
- payload: {
- action: 'updateDetails',
- hidePaymentWidget: false,
- },
- };
- HyperSdkReact.process(JSON.stringify(data));
- }}
- />
- */}
-
);
}
@@ -999,60 +826,9 @@ const styles = StyleSheet.create({
alignItems: 'center',
justifyContent: 'center',
},
- containerNew: {
- height: 50,
- width: '100%',
- // backgroundColor: 'yellow',
- flexDirection: 'row',
- alignItems: 'center',
- justifyContent: 'center',
- },
- containerSon: {
- height: 'auto',
- // width: 'auto',
- flex: 0,
- backgroundColor: 'white',
- },
- newWala: {
- height: 'auto',
- // width: 'auto',
- flex: 1,
- backgroundColor: 'white',
- },
- containerSon2: {
- height: 'auto',
- // width: '100%',
- flex: 1,
- backgroundColor: 'white',
- alignItems: 'center',
- justifyContent: 'center',
- },
horizontal: {
flexDirection: 'row',
},
- horizontal2: {
- flexDirection: 'row',
- height: 103,
- width: '100%',
- position: 'absolute',
- bottom: 0,
- },
- horizontal2Gone: {
- display: 'none',
- visibility: 'none',
- },
- input: {
- borderColor: 'black',
- borderWidth: 1,
- margin: 2,
- },
- input2: {
- borderColor: 'black',
- color: 'black',
- borderWidth: 1,
- margin: 2,
- // placeholderTextColor: 'black',
- },
button: {
backgroundColor: 'blue',
paddingVertical: 12,
@@ -1060,22 +836,6 @@ const styles = StyleSheet.create({
borderRadius: 25,
marginVertical: 12,
},
- button2: {
- backgroundColor: 'blue',
- borderRadius: 25,
- width: 200,
- height: 40,
- alignItems: 'center',
- justifyContent: 'center',
- },
- button3: {
- backgroundColor: '#FF3269',
- borderRadius: 25,
- width: 200,
- height: 40,
- alignItems: 'center',
- justifyContent: 'center',
- },
buttonText: {
color: 'white',
fontSize: 18,
@@ -1155,22 +915,6 @@ const CustomButton = (props: any) => {
);
};
-const CustomButton2 = (props: any) => {
- return (
-
- {props.title}
-
- );
-};
-
-// const CustomButton3 = (props: any) => {
-// return (
-//
-// {props.title}
-//
-// );
-// };
-
const CustomCheckBox = (props: any) => {
return (
diff --git a/example/src/Utils.tsx b/example/src/Utils.tsx
index efc85ee..f3d4b5c 100644
--- a/example/src/Utils.tsx
+++ b/example/src/Utils.tsx
@@ -46,7 +46,7 @@ const getClientAuthToken = (resp: string) => {
};
const services = {
- ec: 'in.juspay.flyer',
+ ec: 'in.juspay.hyperapi',
pp: 'in.juspay.hyperpay',
};
@@ -147,16 +147,6 @@ const generateNBTxnPayload = (
};
};
-const generateFlyerPayload = () => {
- return {
- requestId: uuidv4(),
- service: services.ec,
- payload: {
- action: 'process',
- },
- };
-};
-
const generateCardTxnPayload = (
orderId: string,
clientAuthToken: string,
@@ -429,7 +419,7 @@ const alertCallbackResponse = (screen: string, resp: any) => {
var data = JSON.parse(resp);
var event: string = data.event || '';
var payload = JSON.stringify(data.payload) || '';
- console.log(screen + ': callback response' + resp);
+ console.log(screen + ': callback response' + payload);
showCopyAlert(screen + ': ' + event, payload);
// console.warn(screen, resp);
};
@@ -512,7 +502,6 @@ type HyperUtils = {
generateDeviceReadyPayload(sdkPresent: string): {};
showCopyAlert(title: string, body: any): void;
alertCallbackResponse(screen: string, resp: any): void;
- generateFlyerPayload(): {};
};
export default {
@@ -540,5 +529,4 @@ export default {
generateDeviceReadyPayload,
showCopyAlert,
alertCallbackResponse,
- generateFlyerPayload,
} as HyperUtils;
diff --git a/src/HyperView.tsx b/src/HyperFragmentView.tsx
similarity index 65%
rename from src/HyperView.tsx
rename to src/HyperFragmentView.tsx
index f4b59c2..5784dd3 100644
--- a/src/HyperView.tsx
+++ b/src/HyperFragmentView.tsx
@@ -11,16 +11,20 @@ import {
UIManager,
findNodeHandle,
requireNativeComponent,
+ Platform,
} from 'react-native';
-export interface HyperViewProps {
+export interface HyperFragmentViewProps {
height?: number;
width?: number;
namespace: string;
payload: string;
}
+var HyperViewManager: any;
-const HyperViewManager = requireNativeComponent('HyperViewManager');
+if (Platform.OS === 'android') {
+ HyperViewManager = requireNativeComponent('HyperViewManager');
+}
const createFragment = (viewId: number, namespace: string, payload: string) => {
UIManager.dispatchViewManagerCommand(
@@ -31,7 +35,7 @@ const createFragment = (viewId: number, namespace: string, payload: string) => {
);
};
-const HyperView: React.FC = ({
+const HyperFragmentView: React.FC = ({
height,
width,
namespace,
@@ -39,12 +43,18 @@ const HyperView: React.FC = ({
}) => {
const ref = React.useRef(null);
React.useEffect(() => {
- const viewId = findNodeHandle(ref.current);
- if (viewId) {
- createFragment(viewId, namespace, payload);
+ if (Platform.OS == 'android') {
+ const viewId = findNodeHandle(ref.current);
+ if (viewId) {
+ createFragment(viewId, namespace, payload);
+ }
}
}, [namespace, payload]);
+ if (!HyperViewManager) {
+ return null;
+ }
+
return (
@@ -52,4 +62,4 @@ const HyperView: React.FC = ({
);
};
-export default HyperView;
+export default HyperFragmentView;
diff --git a/src/index.tsx b/src/index.tsx
index 73e81f6..b96e285 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -24,7 +24,7 @@ const HyperSdkReact = NativeModules.HyperSdkReact
}
);
-export { default as HyperView } from './HyperView';
+export { default as HyperFragmentView } from './HyperFragmentView';
if (Platform.OS === 'android') {
HyperSdkReact.updateBaseViewController = () => {};