diff --git a/App.tsx b/App.tsx
index 132df8d..b6746e9 100644
--- a/App.tsx
+++ b/App.tsx
@@ -1,4 +1,4 @@
-import { StyleSheet, Text, View } from 'react-native'
+import { LogBox, StyleSheet, Text, View } from 'react-native'
import React, { useEffect } from 'react'
import HomeScreen from './src/screens/HomeScreen'
import DetailsScreen from './src/screens/DetailsScreen'
@@ -7,10 +7,14 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { NavigationContainer } from '@react-navigation/native'
import TabNavigator from './src/navigators/TabNavigator'
import SplashScreen from 'react-native-splash-screen'
+import { useStore } from './src/store/store'
+import AuthScreen from './src/screens/AuthScreen'
const Stack = createNativeStackNavigator();
const App = () => {
+ LogBox.ignoreAllLogs();
+ const auth= useStore((state:any)=>state.auth)
useEffect(() => {
SplashScreen.hide();
@@ -19,7 +23,9 @@ const App = () => {
return (
-
+
@@ -31,7 +37,10 @@ const App = () => {
name="Payment"
component={PaymentScreen}
options={{ animation: 'slide_from_bottom' }} />
-
+ >
+ :
+
+ }
)
diff --git a/android/app/src/main/assets/index.android.bundle b/android/app/src/main/assets/index.android.bundle
index 293498a..e353efe 100644
--- a/android/app/src/main/assets/index.android.bundle
+++ b/android/app/src/main/assets/index.android.bundle
@@ -3,7 +3,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
!(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach((function(n,t){e[n]=!0})),e}function t(n,t,a){if(n.formatValueCalls++,n.formatValueCalls>200)return`[TOO BIG formatValueCalls ${n.formatValueCalls} exceeded limit of 200]`;var c=r(n,t);if(c)return c;var f=Object.keys(t),p=e(f);if(d(t)&&(f.indexOf('message')>=0||f.indexOf('description')>=0))return o(t);if(0===f.length){if(v(t)){var g=t.name?': '+t.name:'';return n.stylize('[Function'+g+']','special')}if(s(t))return n.stylize(RegExp.prototype.toString.call(t),'regexp');if(y(t))return n.stylize(Date.prototype.toString.call(t),'date');if(d(t))return o(t)}var h,m,b='',j=!1,O=['{','}'];(h=t,Array.isArray(h)&&(j=!0,O=['[',']']),v(t))&&(b=' [Function'+(t.name?': '+t.name:'')+']');return s(t)&&(b=' '+RegExp.prototype.toString.call(t)),y(t)&&(b=' '+Date.prototype.toUTCString.call(t)),d(t)&&(b=' '+o(t)),0!==f.length||j&&0!=t.length?a<0?s(t)?n.stylize(RegExp.prototype.toString.call(t),'regexp'):n.stylize('[Object]','special'):(n.seen.push(t),m=j?i(n,t,a,p,f):f.map((function(e){return l(n,t,a,p,e,j)})),n.seen.pop(),u(m,b,O)):O[0]+b+O[1]}function r(n,e){if(p(e))return n.stylize('undefined','undefined');if('string'==typeof e){var t="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,'string')}return f(e)?n.stylize(''+e,'number'):a(e)?n.stylize(''+e,'boolean'):c(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,t,r,o){for(var i=[],u=0,a=e.length;u-1&&(a=l?a.split('\n').map((function(n){return' '+n})).join('\n').slice(2):'\n'+a.split('\n').map((function(n){return' '+n})).join('\n')):a=n.stylize('[Circular]','special')),p(u)){if(l&&i.match(/^\d+$/))return a;(u=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,u.length-1),u=n.stylize(u,'name')):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,'string'))}return u+': '+a}function u(n,e,t){return n.reduce((function(n,e){return e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1}),0)>60?t[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+t[1]:t[0]+e+' '+n.join(', ')+' '+t[1]}function a(n){return'boolean'==typeof n}function c(n){return null===n}function f(n){return'number'==typeof n}function p(n){return void 0===n}function s(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function m(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,r){return t({seen:[],formatValueCalls:0,stylize:n},e,r.depth)}})(),t=0,r=1,o=2,i=3,l=[];l[t]='debug',l[r]='log',l[o]='warning',l[i]='error';function u(t){return function(){var r;r=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,(function(n){return e(n,{depth:10})})).join(', ');var u=arguments[0],a=t;'string'==typeof u&&'Warning: '===u.slice(0,9)&&a>=i&&(a=o),n.__inspectorLog&&n.__inspectorLog(l[a],r,[].slice.call(arguments),1),c.length&&(r=f('',r)),n.nativeLoggingHook(r,a)}}function a(n,e){return Array.apply(null,Array(e)).map((function(){return n}))}var c=[];function f(n,e){return c.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:u(i),info:u(r),log:u(r),warn:u(o),trace:u(t),debug:u(t),table:function(e){if(!Array.isArray(e)){var t=e;for(var o in e=[],t)if(t.hasOwnProperty(o)){var i=t[o];i["(index)"]=o,e.push(i)}}if(0!==e.length){var l=Object.keys(e[0]).sort(),u=[],c=[];l.forEach((function(n,t){c[t]=n.length;for(var r=0;r';return function(){for(var r=arguments.length,u=new Array(r),e=0;ei.size?-1:t.size1?t.CartList[s].prices[o].quantity>1?t.CartList[s].prices[o].quantity--:t.CartList[s].prices.splice(o,1):t.CartList[s].prices[o].quantity>1?t.CartList[s].prices[o].quantity--:t.CartList.splice(s,1);break}})))},addToOrderHistoryListFromCart:function(){return t((0,r(d[6]).produce)((function(t){var i=t.CartList.reduce((function(t,i){return t+parseFloat(i.ItemPrice)}),0);t.OrderHistoryList.length>0?t.OrderHistoryList.unshift({OrderDate:(new Date).toDateString()+' '+(new Date).toLocaleTimeString(),CartList:t.CartList,CartListPrice:i.toFixed(2).toString()}):t.OrderHistoryList.push({OrderDate:(new Date).toDateString()+' '+(new Date).toLocaleTimeString(),CartList:t.CartList,CartListPrice:i.toFixed(2).toString()}),t.CartList=[]})))}}}),{name:'coffee-app',storage:(0,r(d[5]).createJSONStorage)((function(){return i.default}))}))}),459,[1,460,466,504,513,519,520]);
+__d((function(g,r,_i4,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useStore=void 0;var i=t(r(d[1])),a=t(r(d[2])),s=t(r(d[3]));e.useStore=(0,r(d[4]).create)((0,r(d[5]).persist)((function(t){return{auth:!1,userAuthentication:function(){return t((0,r(d[6]).produce)((function(t){return{auth:!0}})))},CoffeeList:a.default,BeanList:s.default,CartPrice:0,FavouriteList:[],CartList:[],OrderHistoryList:[],addToCart:function(i){return t((0,r(d[6]).produce)((function(t){for(var a=!1,s=0;si.size?-1:t.size1?t.CartList[s].prices[n].quantity>1?t.CartList[s].prices[n].quantity--:t.CartList[s].prices.splice(n,1):t.CartList[s].prices[n].quantity>1?t.CartList[s].prices[n].quantity--:t.CartList.splice(s,1);break}})))},addToOrderHistoryListFromCart:function(){return t((0,r(d[6]).produce)((function(t){var i=t.CartList.reduce((function(t,i){return t+parseFloat(i.ItemPrice)}),0);t.OrderHistoryList.length>0?t.OrderHistoryList.unshift({OrderDate:(new Date).toDateString()+' '+(new Date).toLocaleTimeString(),CartList:t.CartList,CartListPrice:i.toFixed(2).toString()}):t.OrderHistoryList.push({OrderDate:(new Date).toDateString()+' '+(new Date).toLocaleTimeString(),CartList:t.CartList,CartListPrice:i.toFixed(2).toString()}),t.CartList=[]})))}}}),{name:'coffee-app',storage:(0,r(d[5]).createJSONStorage)((function(){return i.default}))}))}),459,[1,460,466,504,513,519,520]);
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"useAsyncStorage",{enumerable:!0,get:function(){return r(d[1]).useAsyncStorage}});var u=t(r(d[2]));e.default=u.default}),460,[1,461,462]);
__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useAsyncStorage=function(t){return{getItem:function(){for(var u=arguments.length,f=new Array(u),o=0;o25)throw new Error(`[ReactNativeBlur]: blurRadius cannot be greater than 25! (was: ${p})`);return p}var e=Math.round(.8*v);return e>25?25:e})(),downsampleFactor:null!=c?c:p,overlayColor:null!=w?w:i[y]||i.dark,blurAmount:v,blurType:y,enabled:h,autoUpdate:E,pointerEvents:"none",style:n.StyleSheet.compose(f.transparent,_),children:O}))})),f=n.StyleSheet.create({transparent:{backgroundColor:'transparent'}});_e.default=c}),728,[1,119,153,2,729,194]);
__d((function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=l(r(d[1]));e.default=(0,u.default)('AndroidBlurView',{excludedPlatforms:['iOS']})}),729,[1,206]);
__d((function(g,r,i,a,m,_e,d){var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(r(d[1])),n=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5]));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 l=(function(t){(0,u.default)(v,t);var l,s,p=(l=v,s=c(),function(){var t,e=(0,f.default)(l);if(s){var n=(0,f.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,o.default)(this,t)});function v(){return(0,e.default)(this,v),p.apply(this,arguments)}return(0,n.default)(v,[{key:"render",value:function(){return console.error('VibrancyView is not implemented on Android'),null}}]),v})(t(r(d[6])).default.Component);_e.default=l}),730,[1,5,6,13,15,12,153]);
-__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeStackView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createNativeStackNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1])),u=t(r(d[2]))}),731,[1,732,733]);
-__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=e(_r(d[3])),i=_r(d[4]),a=["id","initialRouteName","children","screenListeners","screenOptions"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}_e.default=(0,_r(d[5]).createNavigatorFactory)((function(e){var o=e.id,s=e.initialRouteName,u=e.children,c=e.screenListeners,l=e.screenOptions,f=(0,t.default)(e,a),p=(0,_r(d[5]).useNavigationBuilder)(_r(d[5]).StackRouter,{id:o,initialRouteName:s,children:u,screenListeners:c,screenOptions:l}),v=p.state,O=p.descriptors,y=p.navigation,j=p.NavigationContent;return n.useEffect((function(){return null==y||null==y.addListener?void 0:y.addListener('tabPress',(function(e){var t=y.isFocused();requestAnimationFrame((function(){v.index>0&&t&&!e.defaultPrevented&&y.dispatch(Object.assign({},_r(d[5]).StackActions.popToTop(),{target:v.key}))}))}))}),[y,v.index,v.key]),(0,i.jsx)(j,{children:(0,i.jsx)(r.default,Object.assign({},f,{state:v,navigation:y,descriptors:O}))})}))}),732,[1,119,153,733,194,567]);
-__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){return(0,c.jsx)(_r(d[13]).SafeAreaProviderCompat,{children:(0,c.jsx)(f,Object.assign({},e))})};var t=e(_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=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a})(_r(d[2])),a=_r(d[3]),i=e(_r(d[4])),r=e(_r(d[5])),o=e(_r(d[6])),s=e(_r(d[7])),l=e(_r(d[8])),c=_r(d[9]);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 p='android'===a.Platform.OS,v=function(e){var t=e.options,r=e.route,o=e.presentation,u=e.headerHeight,v=e.headerTopInsetEnabled,h=e.children,f=(0,_r(d[10]).useTheme)().colors,k=t.header,x=t.headerShown,S=void 0===x||x,b=t.contentStyle,B=!p&&('card'!==o&&!0===S&&void 0===k),j=n.useRef(S);n.useEffect((function(){(0,i.default)(!p&&'card'!==o&&j.current!==S,`Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '${r.name}'.`),j.current=S}),[S,o,r.name]);var D=(0,c.jsx)(s.default,{style:[y.container,'transparentModal'!==o&&'containedTransparentModal'!==o&&{backgroundColor:f.background},b],stackPresentation:'card'===o?'push':o,children:h});return B?(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:(0,c.jsxs)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,children:[D,(0,c.jsx)(l.default,Object.assign({},t,{route:r,headerHeight:u,headerTopInsetEnabled:v,canGoBack:!0}))]})}):D},h=function(e){var i,r=e.index,o=e.focused,s=e.descriptor,u=e.previousDescriptor,h=e.nextDescriptor,f=e.onWillDisappear,k=e.onAppear,x=e.onDisappear,S=e.onDismissed,b=e.onHeaderBackButtonClicked,B=e.onNativeDismissCancelled,j=s.route,D=s.navigation,C=s.options,H=s.render,O=C.animationDuration,P=C.animationTypeForReplace,w=void 0===P?'push':P,E=C.gestureEnabled,A=C.header,T=C.headerBackButtonMenuEnabled,_=C.headerShown,M=C.headerBackground,I=C.headerTransparent,N=C.autoHideHomeIndicator,R=C.navigationBarColor,W=C.navigationBarHidden,F=C.orientation,z=C.statusBarAnimation,G=C.statusBarHidden,V=C.statusBarStyle,K=C.statusBarTranslucent,L=C.statusBarColor,$=C.freezeOnBlur,q=C.animation,J=C.customAnimationOnGesture,Q=C.fullScreenGestureEnabled,U=C.presentation,X=void 0===U?'card':U,Y=C.gestureDirection,Z=void 0===Y?'card'===X?'horizontal':'vertical':Y;'vertical'===Z&&'ios'===a.Platform.OS&&(void 0===Q&&(Q=!0),void 0===J&&(J=!0),void 0===q&&(q='slide_from_bottom'));var ee=null==h?void 0:h.options.gestureDirection,te=null!=ee?ee:Z;0===r&&(X='card');var ne=(0,_r(d[12]).useSafeAreaInsets)(),ae=(0,_r(d[12]).useSafeAreaFrame)(),ie='modal'===X||'formSheet'===X,re='ios'===a.Platform.OS&&!(a.Platform.isPad||a.Platform.isTV),oe=ae.width>ae.height,se=n.useContext(_r(d[13]).HeaderShownContext),le=n.useContext(_r(d[13]).HeaderHeightContext),de=n.useContext(_r(d[13]).HeaderBackContext),ce=se||'ios'===a.Platform.OS&&ie||re&&oe?0:ne.top,ue='ios'===a.Platform.OS&&ce>50?ce-5:ce,pe=(0,_r(d[10]).usePreventRemoveContext)().preventedRoutes,ve=(0,_r(d[13]).getDefaultHeaderHeight)(ae,ie,ue),he=n.useState(ve),fe=(0,t.default)(he,2),ge=fe[0],me=fe[1],ye=0!==ce,ke=A?ge:ve,xe=u?{title:(0,_r(d[13]).getHeaderTitle)(u.options,u.route.name)}:de,Se=null==(i=pe[j.key])?void 0:i.preventRemove;return(0,c.jsx)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,customAnimationOnSwipe:J,fullScreenSwipeEnabled:Q,gestureEnabled:!p&&E,homeIndicatorHidden:N,navigationBarColor:R,navigationBarHidden:W,replaceAnimation:w,stackPresentation:'card'===X?'push':X,stackAnimation:q,screenOrientation:F,statusBarAnimation:z,statusBarHidden:G,statusBarStyle:V,statusBarColor:L,statusBarTranslucent:K,swipeDirection:te,transitionDuration:O,onWillDisappear:f,onAppear:k,onDisappear:x,onDismissed:S,isNativeStack:!0,nativeBackButtonDismissalEnabled:!1,onHeaderBackButtonClicked:b,preventNativeDismiss:Se,onNativeDismissCancelled:B,freezeOnBlur:$,children:(0,c.jsx)(_r(d[10]).NavigationContext.Provider,{value:D,children:(0,c.jsx)(_r(d[10]).NavigationRouteContext.Provider,{value:j,children:(0,c.jsx)(_r(d[13]).HeaderShownContext.Provider,{value:se||!1!==_,children:(0,c.jsxs)(_r(d[13]).HeaderHeightContext.Provider,{value:!1!==_?ke:null!=le?le:0,children:[null!=M?(0,c.jsx)(a.View,{style:[y.background,I?y.translucent:null,{height:ke}],children:M()}):null,(0,c.jsxs)(a.View,{accessibilityElementsHidden:!o,importantForAccessibility:o?'auto':'no-hide-descendants',style:y.scene,children:[(0,c.jsx)(v,{options:C,route:j,presentation:X,headerHeight:ke,headerTopInsetEnabled:ye,children:(0,c.jsx)(_r(d[13]).HeaderBackContext.Provider,{value:xe,children:H()})}),void 0!==A&&!1!==_?(0,c.jsx)(a.View,{onLayout:function(e){me(e.nativeEvent.layout.height)},style:I?y.absolute:null,children:A({back:xe,options:C,route:j,navigation:D})}):null]}),(0,c.jsx)(l.default,Object.assign({},C,{route:j,headerBackButtonMenuEnabled:void 0!==Se?!Se:T,headerShown:void 0===A&&_,headerHeight:ke,headerBackTitle:void 0!==C.headerBackTitle?C.headerBackTitle:void 0,headerTopInsetEnabled:ye,canGoBack:void 0!==xe}))]})})})})},j.key)};function f(e){var t=e.state,n=e.navigation,a=e.descriptors,i=(0,r.default)(t).setNextDismissedKey;return(0,o.default)(a),(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:t.routes.map((function(e,r){var o,s,l=a[e.key],u=t.index===r,p=null==(o=t.routes[r-1])?void 0:o.key,v=null==(s=t.routes[r+1])?void 0:s.key,f=p?a[p]:void 0,y=v?a[v]:void 0;return(0,c.jsx)(h,{index:r,focused:u,descriptor:l,previousDescriptor:f,nextDescriptor:y,onWillDisappear:function(){n.emit({type:'transitionStart',data:{closing:!0},target:e.key})},onAppear:function(){n.emit({type:'transitionEnd',data:{closing:!1},target:e.key})},onDisappear:function(){n.emit({type:'transitionEnd',data:{closing:!0},target:e.key})},onDismissed:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key})),i(e.key)},onHeaderBackButtonClicked:function(){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(),{source:e.key,target:t.key}))},onNativeDismissCancelled:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key}))}},e.key)}))})}var y=a.StyleSheet.create({container:{flex:1},scene:{flex:1,flexDirection:'column-reverse'},absolute:{position:'absolute',top:0,left:0,right:0},translucent:{position:'absolute',top:0,left:0,right:0,zIndex:1,elevation:1},background:{overflow:'hidden'}})}),733,[1,26,153,2,549,734,735,736,737,194,567,697,664,673]);
-__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var r,o=n.useState(null),u=(0,t.default)(o,2),a=u[0],i=u[1],f=a?null==(r=e.routes.find((function(e){return e.key===a})))?void 0:r.name:null;return n.useEffect((function(){if(f){var e=`The screen '${f}' was removed natively but didn't get removed from JS state. This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\nConsider using a 'usePreventRemove' hook with 'headerBackButtonMenuEnabled: false' to prevent users from natively going back multiple screens.`;console.error(e)}}),[f]),{setNextDismissedKey:i}};var t=e(_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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[2]));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)}}),734,[1,26,153]);
-__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var n,r,o=(0,_r(d[1]).usePreventRemoveContext)().preventedRoutes,u=Object.keys(o)[0],a=t[u],l=null==a||null==(n=a.options)?void 0:n.headerBackButtonMenuEnabled,i=null==a||null==(r=a.route)?void 0:r.name;e.useEffect((function(){if(null!=u&&l){var e=`The screen ${i} uses 'usePreventRemove' hook alongside 'headerBackButtonMenuEnabled: true', which is not supported. \n\nConsider removing 'headerBackButtonMenuEnabled: true' from ${i} screen to get rid of this error.`;console.error(e)}}),[u,l,i])};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 r=t(n);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=u?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(t=function(e){return e?r:n})(e)}}),735,[153,567]);
-__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;e(_r(d[1])),(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}o.default=e,r&&r.set(e,o)})(_r(d[2]));var t=_r(d[3]),r=(e(_r(d[4])),_r(d[5]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}_e.default=function(e){return(0,r.jsx)(t.View,Object.assign({},e,{collapsable:!1}))}}),736,[1,119,153,2,155,194]);
-__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n,o,i,c=e.headerBackImageSource,u=e.headerBackButtonMenuEnabled,h=e.headerBackTitle,s=e.headerBackTitleStyle,f=e.headerBackTitleVisible,S=void 0===f||f,y=e.headerBackVisible,k=e.headerShadowVisible,p=e.headerLargeStyle,T=e.headerLargeTitle,b=e.headerLargeTitleShadowVisible,B=e.headerLargeTitleStyle,w=e.headerBackground,j=e.headerLeft,F=e.headerRight,v=e.headerShown,C=e.headerStyle,x=e.headerBlurEffect,O=e.headerTintColor,P=e.headerTitle,V=e.headerTitleAlign,H=e.headerTitleStyle,_=e.headerTransparent,I=e.headerSearchBarOptions,L=e.headerTopInsetEnabled,M=e.route,W=e.title,z=e.canGoBack,E=(0,_r(d[5]).useTheme)().colors,A=null!=O?O:'ios'===l.Platform.OS?E.primary:E.text,D=l.StyleSheet.flatten(s)||{},G=l.StyleSheet.flatten(B)||{},R=l.StyleSheet.flatten(H)||{},N=l.StyleSheet.flatten(C)||{},q=l.StyleSheet.flatten(p)||{},J=(0,_r(d[6]).processFonts)([D.fontFamily,G.fontFamily,R.fontFamily]),K=(0,t.default)(J,3),Q=K[0],U=K[1],X=K[2],Y=(0,_r(d[7]).getHeaderTitle)({title:W,headerTitle:P},M.name),Z=null!=(n=null!=(o=R.color)?o:O)?n:E.text,$=R.fontSize,ee=R.fontWeight,te={color:Z};null!=R.fontFamily&&(te.fontFamily=R.fontFamily);null!=$&&(te.fontSize=$);null!=ee&&(te.fontWeight=ee);var le=null==j?void 0:j({tintColor:A,canGoBack:z,label:h}),re=null==F?void 0:F({tintColor:A,canGoBack:z}),ne='function'==typeof P?P({tintColor:A,children:Y}):null,ae='boolean'==typeof _r(d[8]).isSearchBarAvailableForCurrentPlatform?_r(d[8]).isSearchBarAvailableForCurrentPlatform:'ios'===l.Platform.OS&&null!=_r(d[8]).SearchBar,oe=ae&&null!=I;if(null!=I&&!ae)throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option.");var ie=y?null!=le:'android'===l.Platform.OS&&null!=ne,ce=null!=w||_||(oe||T)&&'ios'===l.Platform.OS&&!1!==_;return(0,r.jsxs)(_r(d[8]).ScreenStackHeaderConfig,{backButtonInCustomView:ie,backgroundColor:null!=(i=N.backgroundColor)?i:null!=w||_?'transparent':E.card,backTitle:_r(d[8]).isNewBackTitleImplementation||S?h:' ',backTitleVisible:S,backTitleFontFamily:Q,backTitleFontSize:D.fontSize,blurEffect:x,color:A,direction:l.I18nManager.getConstants().isRTL?'rtl':'ltr',disableBackButtonMenu:!1===u,hidden:!1===v,hideBackButton:!1===y,hideShadow:!1===k||null!=w||_&&!0!==k,largeTitle:T,largeTitleBackgroundColor:q.backgroundColor,largeTitleColor:G.color,largeTitleFontFamily:U,largeTitleFontSize:G.fontSize,largeTitleFontWeight:G.fontWeight,largeTitleHideShadow:!1===b,title:Y,titleColor:Z,titleFontFamily:X,titleFontSize:$,titleFontWeight:ee,topInsetEnabled:L,translucent:!0===ce,children:['ios'===l.Platform.OS?(0,r.jsxs)(r.Fragment,{children:[null!=le?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:le}):null,null!=ne?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:ne}):null]}):(0,r.jsxs)(r.Fragment,{children:[null!=le||'function'==typeof P?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:(0,r.jsxs)(l.View,{style:a.row,children:[le,'center'!==V?'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y}):null]})}):null,'center'===V?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y})}):null]}),void 0!==c?(0,r.jsx)(_r(d[8]).ScreenStackHeaderBackButtonImage,{source:c}):null,null!=re?(0,r.jsx)(_r(d[8]).ScreenStackHeaderRightView,{children:re}):null,oe?(0,r.jsx)(_r(d[8]).ScreenStackHeaderSearchBarView,{children:(0,r.jsx)(_r(d[8]).SearchBar,Object.assign({},I))}):null]})};var t=e(_r(d[1])),l=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var l=n(t);if(l&&l.has(e))return l.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,l&&l.set(e,r)})(_r(d[2])),_r(d[3])),r=_r(d[4]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(n=function(e){return e?l:t})(e)}var a=l.StyleSheet.create({row:{flexDirection:'row',alignItems:'center'}})}),737,[1,26,153,2,194,567,738,673,697]);
-__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.processFonts=function(n){var t,u=null==(t=o.default.fontFamily)?void 0:t.process;if('function'==typeof u)return n.map(u);return n};var o=n(r(d[1]))}),738,[1,162]);
-__d((function(e,f,o,a,n,d,i){n.exports={name:"Coffe",displayName:"Coffe"}}),739,[]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]);e.default=t.NativeModules.SplashScreen}),731,[2]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),r=e(_r(d[2])),n=_r(d[3]),i=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n})(_r(d[4])),o=e(_r(d[5])),a=e(_r(d[6])),l=e(_r(d[7])),s=e(_r(d[8])),u=_r(d[9]);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}var h=n.Dimensions.get('window').height,p=(_e.default=function(){var e=(0,_r(d[10]).useStore)((function(e){return e.userAuthentication})),c=(0,i.useState)(''),h=(0,r.default)(c,2),y=h[0],f=h[1],O=(0,i.useState)(!1),x=(0,r.default)(O,2),S=x[0],C=x[1],w=(0,i.useState)(''),j=(0,r.default)(w,2),b=j[0],A=j[1],R=(function(){var e=(0,t.default)((function*(){try{l.default.parse(y),200===(yield s.default.sendLoginOTP(y)).status?C(!0):n.Alert.alert('Something Unwanted happened')}catch(e){n.Alert.alert('Error',e.message||'Something went wrong')}}));return function(){return e.apply(this,arguments)}})(),I=(function(){var r=(0,t.default)((function*(){try{200===(yield s.default.verifyLoginOTP(y,b)).status?e():n.Alert.alert('Wrong Otp')}catch(e){n.Alert.alert('Something Went wrong')}}));return function(){return r.apply(this,arguments)}})();return(0,u.jsxs)(n.View,{style:p.ScreenContainer,children:[(0,u.jsx)(n.StatusBar,{backgroundColor:_r(d[11]).COLORS.primaryBlackHex}),(0,u.jsxs)(n.View,{style:p.AuthContainer,children:[(0,u.jsx)(n.Image,{source:_r(d[12]),style:p.Logo}),(0,u.jsx)(n.Text,{style:p.Quote,children:"Keep calm and drink tea."}),(0,u.jsxs)(n.View,{style:p.MailContainer,children:[S?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(n.Text,{style:p.OtpText,children:"OTP sent to email."}),(0,u.jsx)(a.default,{style:p.OtpContainer,pinCount:6,autoFocusOnLoad:!0,codeInputFieldStyle:p.underlineStyleBase,codeInputHighlightStyle:p.underlineStyleHighLighted,onCodeFilled:function(e){A(e)}})]}):(0,u.jsxs)(n.View,{style:p.InputContainer,children:[(0,u.jsx)(o.default,{name:"mail",size:_r(d[11]).FONTSIZE.size_24,color:_r(d[11]).COLORS.secondaryLightGreyHex}),(0,u.jsx)(n.TextInput,{style:p.mail,placeholder:"yourmail@gmail.com",onChangeText:function(e){f(e)},value:y})]}),S?(0,u.jsx)(n.TouchableOpacity,{onPress:I,children:(0,u.jsx)(n.View,{style:p.AuthButton,children:(0,u.jsx)(n.Text,{style:p.Authenticate,children:"Verify"})})}):(0,u.jsx)(n.TouchableOpacity,{onPress:R,children:(0,u.jsx)(n.View,{style:p.AuthButton,children:(0,u.jsx)(n.Text,{style:p.Authenticate,children:"Continue"})})}),S?(0,u.jsx)(n.TouchableOpacity,{onPress:function(){C(!1)},children:(0,u.jsx)(n.Text,{style:p.Back,children:"Back"})}):null]})]})]})},n.StyleSheet.create({ScreenContainer:{flex:1,backgroundColor:_r(d[11]).COLORS.primaryBlackHex},AuthContainer:{height:h-200,justifyContent:'center',alignItems:'center'},Logo:{height:62,width:74},Quote:{color:_r(d[11]).COLORS.primaryWhiteHex,marginTop:_r(d[11]).SPACING.space_10,marginBottom:_r(d[11]).SPACING.space_30+_r(d[11]).SPACING.space_30,fontSize:_r(d[11]).FONTSIZE.size_10},MailContainer:{gap:_r(d[11]).SPACING.space_20},AuthButton:{width:240,height:50,borderRadius:_r(d[11]).BORDERRADIUS.radius_10,backgroundColor:_r(d[11]).COLORS.primaryOrangeHex,shadowColor:'rgba(217, 180, 124, 0.25)',shadowOffset:{width:1,height:-1},shadowOpacity:1,shadowRadius:1,elevation:2,flexDirection:'row',alignItems:'center',justifyContent:'center'},Authenticate:{color:_r(d[11]).COLORS.primaryWhiteHex,fontSize:_r(d[11]).FONTSIZE.size_12,fontFamily:_r(d[11]).FONTFAMILY.poppins_extrabold},mail:{width:200,color:_r(d[11]).COLORS.primaryGreyHex},InputContainer:{width:240,height:50,borderRadius:_r(d[11]).BORDERRADIUS.radius_10,backgroundColor:_r(d[11]).COLORS.primaryWhiteHex,shadowColor:'rgba(217, 180, 124, 0.25)',shadowOffset:{width:1,height:-1},shadowOpacity:1,shadowRadius:1,elevation:2,flexDirection:'row',alignItems:'center',justifyContent:'center'},OtpContainer:{width:240,height:50,flexDirection:'row',alignItems:'center',justifyContent:'center'},OtpText:{color:_r(d[11]).COLORS.primaryWhiteHex,fontSize:_r(d[11]).FONTSIZE.size_12,fontFamily:_r(d[11]).FONTFAMILY.poppins_extrabold,textAlign:'center'},borderStyleHighLighted:{borderColor:'#03DAC6'},underlineStyleBase:{width:36,height:50,borderWidth:1,shadowColor:'rgba(217, 180, 124, 0.25)',shadowOffset:{width:-1,height:-1},shadowOpacity:1,shadowRadius:4,backgroundColor:_r(d[11]).COLORS.primaryWhiteHex,borderRadius:_r(d[11]).BORDERRADIUS.radius_8,color:_r(d[11]).COLORS.primaryBlackHex},underlineStyleHighLighted:{borderColor:'#03DAC6'},Back:{color:_r(d[11]).COLORS.primaryWhiteHex,fontSize:_r(d[11]).FONTSIZE.size_12,fontFamily:_r(d[11]).FONTFAMILY.poppins_extrabold,textAlign:'center',textDecorationLine:'underline'}}))}),732,[1,339,26,2,153,447,733,737,748,194,459,455,794]);
+__d((function(g,_r,_i,_a2,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),n=e(_r(d[2])),o=e(_r(d[3])),r=e(_r(d[4])),i=e(_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=u(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=r?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o})(_r(d[6])),a=_r(d[7]),s=e(_r(d[8])),c=_r(d[9]);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)}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(e){return!1}}var f=_e.default=(function(e){(0,o.default)(h,e);var l,u,f=(l=h,u=p(),function(){var e,t=(0,i.default)(l);if(u){var n=(0,i.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,r.default)(this,e)});function h(e){var n;(0,t.default)(this,h),(n=f.call(this,e)).fields=[],n.copyCodeFromClipBoardOnAndroid=function(){"android"===a.Platform.OS&&(n.checkPinCodeFromClipBoard(),n.timer=setInterval(n.checkPinCodeFromClipBoard,400))},n.bringUpKeyBoardIfNeeded=function(){var e=n.props,t=e.autoFocusOnLoad,o=e.pinCount,r=n.getDigits(),i=r.length?r.length-1:0;i0&&(l=l.slice(0,l.length-1)):(t.split("").forEach((function(t){e=i?(r&&r(c),n.focusField(i-1),n.blurAllFields()):t.length>0&&e0&&(n.handleChangeText(e-1,''),n.focusField(e-1))},n.focusField=function(e){e=12;e.default={isAutoFillSupported:l}}),735,[2]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.codeToArray=void 0;var o=e.codeToArray=function(o){var l;return null!==(l=null==o?void 0:o.split(""))&&void 0!==l?l:[]};e.default={codeToArray:o}}),736,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).z.string().email();e.default=t}),737,[738]);
+__d((function(g,r,i,a,_m,e,d){"use strict";var t=this&&this.__createBinding||(Object.create?function(t,n,o,u){void 0===u&&(u=o),Object.defineProperty(t,u,{enumerable:!0,get:function(){return n[o]}})}:function(t,n,o,u){void 0===u&&(u=o),t[u]=n[o]}),n=this&&this.__setModuleDefault||(Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n}),o=this&&this.__importStar||function(o){if(o&&o.__esModule)return o;var u={};if(null!=o)for(var c in o)"default"!==c&&Object.prototype.hasOwnProperty.call(o,c)&&t(u,o,c);return n(u,o),u},u=this&&this.__exportStar||function(n,o){for(var u in n)"default"===u||Object.prototype.hasOwnProperty.call(o,u)||t(o,n,u)};Object.defineProperty(e,"__esModule",{value:!0}),e.z=void 0;var c=o(r(d[0]));e.z=c,u(r(d[0]),e),e.default=c}),738,[739]);
+__d((function(g,r,i,a,_m,e,d){"use strict";var t=this&&this.__createBinding||(Object.create?function(t,n,o,c){void 0===c&&(c=o),Object.defineProperty(t,c,{enumerable:!0,get:function(){return n[o]}})}:function(t,n,o,c){void 0===c&&(c=o),t[c]=n[o]}),n=this&&this.__exportStar||function(n,o){for(var c in n)"default"===c||Object.prototype.hasOwnProperty.call(o,c)||t(o,n,c)};Object.defineProperty(e,"__esModule",{value:!0}),n(r(d[0]),e),n(r(d[1]),e),n(r(d[2]),e),n(r(d[3]),e),n(r(d[4]),e),n(r(d[5]),e)}),739,[740,744,745,743,746,742]);
+__d((function(g,r,i,a,m,e,d){"use strict";var t=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getErrorMap=e.setErrorMap=e.defaultErrorMap=void 0;var u=t(r(d[0]));e.defaultErrorMap=u.default;var o=u.default;e.setErrorMap=function(t){o=t},e.getErrorMap=function(){return o}}),740,[741]);
+__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,n){var s;switch(t.code){case r(d[0]).ZodIssueCode.invalid_type:s=t.received===r(d[1]).ZodParsedType.undefined?"Required":`Expected ${t.expected}, received ${t.received}`;break;case r(d[0]).ZodIssueCode.invalid_literal:s=`Invalid literal value, expected ${JSON.stringify(t.expected,r(d[1]).util.jsonStringifyReplacer)}`;break;case r(d[0]).ZodIssueCode.unrecognized_keys:s=`Unrecognized key(s) in object: ${r(d[1]).util.joinValues(t.keys,", ")}`;break;case r(d[0]).ZodIssueCode.invalid_union:s="Invalid input";break;case r(d[0]).ZodIssueCode.invalid_union_discriminator:s=`Invalid discriminator value. Expected ${r(d[1]).util.joinValues(t.options)}`;break;case r(d[0]).ZodIssueCode.invalid_enum_value:s=`Invalid enum value. Expected ${r(d[1]).util.joinValues(t.options)}, received '${t.received}'`;break;case r(d[0]).ZodIssueCode.invalid_arguments:s="Invalid function arguments";break;case r(d[0]).ZodIssueCode.invalid_return_type:s="Invalid function return type";break;case r(d[0]).ZodIssueCode.invalid_date:s="Invalid date";break;case r(d[0]).ZodIssueCode.invalid_string:"object"==typeof t.validation?"includes"in t.validation?(s=`Invalid input: must include "${t.validation.includes}"`,"number"==typeof t.validation.position&&(s=`${s} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?s=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?s=`Invalid input: must end with "${t.validation.endsWith}"`:r(d[1]).util.assertNever(t.validation):s="regex"!==t.validation?`Invalid ${t.validation}`:"Invalid";break;case r(d[0]).ZodIssueCode.too_small:s="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:"number"===t.type?`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:"date"===t.type?`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:"Invalid input";break;case r(d[0]).ZodIssueCode.too_big:s="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:"number"===t.type?`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"bigint"===t.type?`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"date"===t.type?`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:"Invalid input";break;case r(d[0]).ZodIssueCode.custom:s="Invalid input";break;case r(d[0]).ZodIssueCode.invalid_intersection_types:s="Intersection results could not be merged";break;case r(d[0]).ZodIssueCode.not_multiple_of:s=`Number must be a multiple of ${t.multipleOf}`;break;case r(d[0]).ZodIssueCode.not_finite:s="Number must be finite";break;default:s=n.defaultError,r(d[1]).util.assertNever(t)}return{message:s}}}),741,[742,743]);
+__d((function(g,r,_i,a,m,_e,d){"use strict";var e=r(d[0]),t=r(d[1]),n=r(d[2]),s=r(d[3]),i=r(d[4]),o=r(d[5]),u=r(d[6]),l=r(d[7]);function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(_e,"__esModule",{value:!0}),_e.ZodError=_e.quotelessJson=_e.ZodIssueCode=void 0,_e.ZodIssueCode=r(d[8]).util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);_e.quotelessJson=function(e){return JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:")};var f=(function(l){i(p,l);var f,_,v=(f=p,_=c(),function(){var e,t=u(f);if(_){var n=u(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return o(this,e)});function p(n){var i;t(this,p),(i=v.call(this)).issues=[],i.addIssue=function(t){i.issues=[].concat(e(i.issues),[t])},i.addIssues=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i.issues=[].concat(e(i.issues),e(t))};var o=new.target.prototype;return Object.setPrototypeOf?Object.setPrototypeOf(s(i),o):i.__proto__=o,i.name="ZodError",i.issues=n,i}return n(p,[{key:"errors",get:function(){return this.issues}},{key:"format",value:function(e){var t=e||function(e){return e.message},n={_errors:[]};return(function e(s){for(var i of s.issues)if("invalid_union"===i.code)i.unionErrors.map(e);else if("invalid_return_type"===i.code)e(i.returnTypeError);else if("invalid_arguments"===i.code)e(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else for(var o=n,u=0;u0&&void 0!==arguments[0]?arguments[0]:function(e){return e.message},t={},n=[];for(var s of this.issues)s.path.length>0?(t[s.path[0]]=t[s.path[0]]||[],t[s.path[0]].push(e(s))):n.push(e(s));return{formErrors:n,fieldErrors:t}}},{key:"formErrors",get:function(){return this.flatten()}}]),p})(l(Error));_e.ZodError=f,f.create=function(e){return new f(e)}}),742,[34,5,6,16,13,15,12,76,743]);
+__d((function(g,r,i,a,m,_e,d){"use strict";var e;Object.defineProperty(_e,"__esModule",{value:!0}),_e.getParsedType=_e.ZodParsedType=_e.objectUtil=_e.util=void 0,(function(e){e.assertEqual=function(e){return e},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=function(e){var n={};for(var t of e)n[t]=t;return n},e.getValidEnumValues=function(n){var t=e.objectKeys(n).filter((function(e){return"number"!=typeof n[n[e]]})),o={};for(var u of t)o[u]=n[u];return e.objectValues(o)},e.objectValues=function(n){return e.objectKeys(n).map((function(e){return n[e]}))},e.objectKeys="function"==typeof Object.keys?function(e){return Object.keys(e)}:function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);return n},e.find=function(e,n){for(var t of e)if(n(t))return t},e.isInteger="function"==typeof Number.isInteger?function(e){return Number.isInteger(e)}:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},e.joinValues=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" | ";return e.map((function(e){return"string"==typeof e?`'${e}'`:e})).join(n)},e.jsonStringifyReplacer=function(e,n){return"bigint"==typeof n?n.toString():n}})(e=_e.util||(_e.util={})),(function(e){e.mergeShapes=function(e,n){return Object.assign({},e,n)}})(_e.objectUtil||(_e.objectUtil={})),_e.ZodParsedType=e.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);_e.getParsedType=function(e){switch(typeof e){case"undefined":return _e.ZodParsedType.undefined;case"string":return _e.ZodParsedType.string;case"number":return isNaN(e)?_e.ZodParsedType.nan:_e.ZodParsedType.number;case"boolean":return _e.ZodParsedType.boolean;case"function":return _e.ZodParsedType.function;case"bigint":return _e.ZodParsedType.bigint;case"symbol":return _e.ZodParsedType.symbol;case"object":return Array.isArray(e)?_e.ZodParsedType.array:null===e?_e.ZodParsedType.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?_e.ZodParsedType.promise:"undefined"!=typeof Map&&e instanceof Map?_e.ZodParsedType.map:"undefined"!=typeof Set&&e instanceof Set?_e.ZodParsedType.set:"undefined"!=typeof Date&&e instanceof Date?_e.ZodParsedType.date:_e.ZodParsedType.object;default:return _e.ZodParsedType.unknown}}}),743,[]);
+__d((function(g,r,i,a,_m,e,d){"use strict";var t=r(d[0]),u=r(d[1]),s=r(d[2]),n=r(d[3]),o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.isAsync=e.isValid=e.isDirty=e.isAborted=e.OK=e.DIRTY=e.INVALID=e.ParseStatus=e.addIssueToContext=e.EMPTY_PATH=e.makeIssue=void 0;var v=o(r(d[4]));e.makeIssue=function(t){var u=t.data,s=t.path,o=t.errorMaps,v=t.issueData,l=[].concat(n(s),n(v.path||[])),f=Object.assign({},v,{path:l}),c="",y=o.filter((function(t){return!!t})).slice().reverse();for(var p of y)c=p(f,{data:u,defaultError:c}).message;return Object.assign({},v,{path:l,message:v.message||c})},e.EMPTY_PATH=[],e.addIssueToContext=function(t,u){var s=(0,e.makeIssue)({issueData:u,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,r(d[5]).getErrorMap)(),v.default].filter((function(t){return!!t}))});t.common.issues.push(s)};var l=(function(){function n(){u(this,n),this.value="valid"}var o;return s(n,[{key:"dirty",value:function(){"valid"===this.value&&(this.value="dirty")}},{key:"abort",value:function(){"aborted"!==this.value&&(this.value="aborted")}}],[{key:"mergeArray",value:function(t,u){var s=[];for(var n of u){if("aborted"===n.status)return e.INVALID;"dirty"===n.status&&t.dirty(),s.push(n.value)}return{status:t.value,value:s}}},{key:"mergeObjectAsync",value:(o=t((function*(t,u){var s=[];for(var o of u)s.push({key:yield o.key,value:yield o.value});return n.mergeObjectSync(t,s)})),function(t,u){return o.apply(this,arguments)})},{key:"mergeObjectSync",value:function(t,u){var s={};for(var n of u){var o=n.key,v=n.value;if("aborted"===o.status)return e.INVALID;if("aborted"===v.status)return e.INVALID;"dirty"===o.status&&t.dirty(),"dirty"===v.status&&t.dirty(),"__proto__"===o.value||void 0===v.value&&!n.alwaysSet||(s[o.value]=v.value)}return{status:t.value,value:s}}}]),n})();e.ParseStatus=l,e.INVALID=Object.freeze({status:"aborted"});e.DIRTY=function(t){return{status:"dirty",value:t}};e.OK=function(t){return{status:"valid",value:t}};e.isAborted=function(t){return"aborted"===t.status};e.isDirty=function(t){return"dirty"===t.status};e.isValid=function(t){return"valid"===t.status};e.isAsync=function(t){return"undefined"!=typeof Promise&&t instanceof Promise}}),744,[339,5,6,34,741,740]);
+__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0})}),745,[]);
+__d((function(g,r,_i,_a2,m,_e,d){"use strict";var e=r(d[0]),t=r(d[1]),n=r(d[2]),a=r(d[3]),i=r(d[4]),s=r(d[5]),o=r(d[6]),u=r(d[7]),c=r(d[8]);function l(e){var t=f();return function(){var n,s=i(e);if(t){var o=i(this).constructor;n=Reflect.construct(s,arguments,o)}else n=s.apply(this,arguments);return a(this,n)}}function f(){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}}Object.defineProperty(_e,"__esModule",{value:!0}),_e.date=_e.boolean=_e.bigint=_e.array=_e.any=_e.coerce=_e.ZodFirstPartyTypeKind=_e.late=_e.ZodSchema=_e.Schema=_e.custom=_e.ZodReadonly=_e.ZodPipeline=_e.ZodBranded=_e.BRAND=_e.ZodNaN=_e.ZodCatch=_e.ZodDefault=_e.ZodNullable=_e.ZodOptional=_e.ZodTransformer=_e.ZodEffects=_e.ZodPromise=_e.ZodNativeEnum=_e.ZodEnum=_e.ZodLiteral=_e.ZodLazy=_e.ZodFunction=_e.ZodSet=_e.ZodMap=_e.ZodRecord=_e.ZodTuple=_e.ZodIntersection=_e.ZodDiscriminatedUnion=_e.ZodUnion=_e.ZodObject=_e.ZodArray=_e.ZodVoid=_e.ZodNever=_e.ZodUnknown=_e.ZodAny=_e.ZodNull=_e.ZodUndefined=_e.ZodSymbol=_e.ZodDate=_e.ZodBoolean=_e.ZodBigInt=_e.ZodNumber=_e.ZodString=_e.ZodType=void 0,_e.NEVER=_e.void=_e.unknown=_e.union=_e.undefined=_e.tuple=_e.transformer=_e.symbol=_e.string=_e.strictObject=_e.set=_e.record=_e.promise=_e.preprocess=_e.pipeline=_e.ostring=_e.optional=_e.onumber=_e.oboolean=_e.object=_e.number=_e.nullable=_e.null=_e.never=_e.nativeEnum=_e.nan=_e.map=_e.literal=_e.lazy=_e.intersection=_e.instanceof=_e.function=_e.enum=_e.effect=_e.discriminatedUnion=void 0;var p=(function(){function e(t,n,a,i){u(this,e),this._cachedPath=[],this.parent=t,this.data=n,this._path=a,this._key=i}return c(e,[{key:"path",get:function(){var e,t;this._cachedPath.length||(this._key instanceof Array?(e=this._cachedPath).push.apply(e,o(this._path).concat(o(this._key))):(t=this._cachedPath).push.apply(t,o(this._path).concat([this._key])));return this._cachedPath}}]),e})(),h=function(e,t){if((0,r(d[9]).isValid)(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;var t=new(r(d[10]).ZodError)(e.common.issues);return this._error=t,this._error}}};function v(e){if(!e)return{};var t=e.errorMap,n=e.invalid_type_error,a=e.required_error,i=e.description;if(t&&(n||a))throw new Error("Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.");if(t)return{errorMap:t,description:i};return{errorMap:function(e,t){return"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=a?a:t.defaultError}:{message:null!=n?n:t.defaultError}},description:i}}var y=(function(){function e(t){u(this,e),this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}var t,n;return c(e,[{key:"description",get:function(){return this._def.description}},{key:"_getType",value:function(e){return(0,r(d[11]).getParsedType)(e.data)}},{key:"_getOrReturnCtx",value:function(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,r(d[11]).getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}},{key:"_processInputParams",value:function(e){return{status:new(r(d[9]).ParseStatus),ctx:{common:e.parent.common,data:e.data,parsedType:(0,r(d[11]).getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}},{key:"_parseSync",value:function(e){var t=this._parse(e);if((0,r(d[9]).isAsync)(t))throw new Error("Synchronous parse encountered promise.");return t}},{key:"_parseAsync",value:function(e){var t=this._parse(e);return Promise.resolve(t)}},{key:"parse",value:function(e,t){var n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}},{key:"safeParse",value:function(e,t){var n,a={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,r(d[11]).getParsedType)(e)},i=this._parseSync({data:e,path:a.path,parent:a});return h(a,i)}},{key:"parseAsync",value:(n=s((function*(e,t){var n=yield this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error})),function(e,t){return n.apply(this,arguments)})},{key:"safeParseAsync",value:(t=s((function*(e,t){var n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,r(d[11]).getParsedType)(e)},a=this._parse({data:e,path:n.path,parent:n}),i=yield(0,r(d[9]).isAsync)(a)?a:Promise.resolve(a);return h(n,i)})),function(e,n){return t.apply(this,arguments)})},{key:"refine",value:function(e,t){var n=function(e){return"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t};return this._refinement((function(t,a){var i=e(t),s=function(){return a.addIssue(Object.assign({code:r(d[10]).ZodIssueCode.custom},n(t)))};return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return!!e||(s(),!1)})):!!i||(s(),!1)}))}},{key:"refinement",value:function(e,t){return this._refinement((function(n,a){return!!e(n)||(a.addIssue("function"==typeof t?t(n,a):t),!1)}))}},{key:"_refinement",value:function(e){return new ae({schema:this,typeName:pe.ZodEffects,effect:{type:"refinement",refinement:e}})}},{key:"superRefine",value:function(e){return this._refinement(e)}},{key:"optional",value:function(){return ie.create(this,this._def)}},{key:"nullable",value:function(){return se.create(this,this._def)}},{key:"nullish",value:function(){return this.nullable().optional()}},{key:"array",value:function(){return V.create(this,this._def)}},{key:"promise",value:function(){return re.create(this,this._def)}},{key:"or",value:function(e){return z.create([this,e],this._def)}},{key:"and",value:function(e){return W.create(this,e,this._def)}},{key:"transform",value:function(e){return new ae(Object.assign({},v(this._def),{schema:this,typeName:pe.ZodEffects,effect:{type:"transform",transform:e}}))}},{key:"default",value:function(e){var t="function"==typeof e?e:function(){return e};return new oe(Object.assign({},v(this._def),{innerType:this,defaultValue:t,typeName:pe.ZodDefault}))}},{key:"brand",value:function(){return new ce(Object.assign({typeName:pe.ZodBranded,type:this},v(this._def)))}},{key:"catch",value:function(e){var t="function"==typeof e?e:function(){return e};return new ue(Object.assign({},v(this._def),{innerType:this,catchValue:t,typeName:pe.ZodCatch}))}},{key:"describe",value:function(e){return new(0,this.constructor)(Object.assign({},this._def,{description:e}))}},{key:"pipe",value:function(e){return le.create(this,e)}},{key:"readonly",value:function(){return fe.create(this)}},{key:"isOptional",value:function(){return this.safeParse(void 0).success}},{key:"isNullable",value:function(){return this.safeParse(null).success}}]),e})();_e.ZodType=y,_e.Schema=y,_e.ZodSchema=y;var _,k=/^c[^\s-]{8,}$/i,Z=/^[a-z][a-z0-9]*$/,b=/^[0-9A-HJKMNP-TV-Z]{26}$/,I=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,x=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,T=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,C=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;var O=(function(e){n(a,e);var t=l(a);function a(){return u(this,a),t.apply(this,arguments)}return c(a,[{key:"_parse",value:function(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==r(d[11]).ZodParsedType.string){var t=this._getOrReturnCtx(e);return(0,r(d[9]).addIssueToContext)(t,{code:r(d[10]).ZodIssueCode.invalid_type,expected:r(d[11]).ZodParsedType.string,received:t.parsedType}),r(d[9]).INVALID}var n,a,i,s=new(r(d[9]).ParseStatus),o=void 0;for(var u of this._def.checks)if("min"===u.kind)e.data.lengthu.value&&(o=this._getOrReturnCtx(e,o),(0,r(d[9]).addIssueToContext)(o,{code:r(d[10]).ZodIssueCode.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),s.dirty());else if("length"===u.kind){var c=e.data.length>u.value,l=e.data.lengthe)&&(e=t.value);return e}},{key:"maxLength",get:function(){var e=null;for(var t of this._def.checks)"max"===t.kind&&(null===e||t.valuel.value:e.data>=l.value)&&(u=this._getOrReturnCtx(e,u),(0,r(d[9]).addIssueToContext)(u,{code:r(d[10]).ZodIssueCode.too_big,maximum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),c.dirty())}else"multipleOf"===l.kind?0!=(n=e.data,a=l.value,i=void 0,s=void 0,o=void 0,i=(n.toString().split(".")[1]||"").length,s=(a.toString().split(".")[1]||"").length,o=i>s?i:s,parseInt(n.toFixed(o).replace(".",""))%parseInt(a.toFixed(o).replace(".",""))/Math.pow(10,o))&&(u=this._getOrReturnCtx(e,u),(0,r(d[9]).addIssueToContext)(u,{code:r(d[10]).ZodIssueCode.not_multiple_of,multipleOf:l.value,message:l.message}),c.dirty()):"finite"===l.kind?Number.isFinite(e.data)||(u=this._getOrReturnCtx(e,u),(0,r(d[9]).addIssueToContext)(u,{code:r(d[10]).ZodIssueCode.not_finite,message:l.message}),c.dirty()):r(d[11]).util.assertNever(l);return{status:c.value,value:e.data}}},{key:"gte",value:function(e,t){return this.setLimit("min",e,!0,r(d[12]).errorUtil.toString(t))}},{key:"gt",value:function(e,t){return this.setLimit("min",e,!1,r(d[12]).errorUtil.toString(t))}},{key:"lte",value:function(e,t){return this.setLimit("max",e,!0,r(d[12]).errorUtil.toString(t))}},{key:"lt",value:function(e,t){return this.setLimit("max",e,!1,r(d[12]).errorUtil.toString(t))}},{key:"setLimit",value:function(e,t,n,i){return new a(Object.assign({},this._def,{checks:[].concat(o(this._def.checks),[{kind:e,value:t,inclusive:n,message:r(d[12]).errorUtil.toString(i)}])}))}},{key:"_addCheck",value:function(e){return new a(Object.assign({},this._def,{checks:[].concat(o(this._def.checks),[e])}))}},{key:"int",value:function(e){return this._addCheck({kind:"int",message:r(d[12]).errorUtil.toString(e)})}},{key:"positive",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:r(d[12]).errorUtil.toString(e)})}},{key:"negative",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:r(d[12]).errorUtil.toString(e)})}},{key:"nonpositive",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:r(d[12]).errorUtil.toString(e)})}},{key:"nonnegative",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:r(d[12]).errorUtil.toString(e)})}},{key:"multipleOf",value:function(e,t){return this._addCheck({kind:"multipleOf",value:e,message:r(d[12]).errorUtil.toString(t)})}},{key:"finite",value:function(e){return this._addCheck({kind:"finite",message:r(d[12]).errorUtil.toString(e)})}},{key:"safe",value:function(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:r(d[12]).errorUtil.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:r(d[12]).errorUtil.toString(e)})}},{key:"minValue",get:function(){var e=null;for(var t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}},{key:"maxValue",get:function(){var e=null;for(var t of this._def.checks)"max"===t.kind&&(null===e||t.valuet)&&(t=n.value):"max"===n.kind&&(null===e||n.valuei.value:e.data>=i.value)&&(n=this._getOrReturnCtx(e,n),(0,r(d[9]).addIssueToContext)(n,{code:r(d[10]).ZodIssueCode.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty())}else"multipleOf"===i.kind?e.data%i.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),(0,r(d[9]).addIssueToContext)(n,{code:r(d[10]).ZodIssueCode.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):r(d[11]).util.assertNever(i)}return{status:a.value,value:e.data}}},{key:"gte",value:function(e,t){return this.setLimit("min",e,!0,r(d[12]).errorUtil.toString(t))}},{key:"gt",value:function(e,t){return this.setLimit("min",e,!1,r(d[12]).errorUtil.toString(t))}},{key:"lte",value:function(e,t){return this.setLimit("max",e,!0,r(d[12]).errorUtil.toString(t))}},{key:"lt",value:function(e,t){return this.setLimit("max",e,!1,r(d[12]).errorUtil.toString(t))}},{key:"setLimit",value:function(e,t,n,i){return new a(Object.assign({},this._def,{checks:[].concat(o(this._def.checks),[{kind:e,value:t,inclusive:n,message:r(d[12]).errorUtil.toString(i)}])}))}},{key:"_addCheck",value:function(e){return new a(Object.assign({},this._def,{checks:[].concat(o(this._def.checks),[e])}))}},{key:"positive",value:function(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:r(d[12]).errorUtil.toString(e)})}},{key:"negative",value:function(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:r(d[12]).errorUtil.toString(e)})}},{key:"nonpositive",value:function(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:r(d[12]).errorUtil.toString(e)})}},{key:"nonnegative",value:function(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:r(d[12]).errorUtil.toString(e)})}},{key:"multipleOf",value:function(e,t){return this._addCheck({kind:"multipleOf",value:e,message:r(d[12]).errorUtil.toString(t)})}},{key:"minValue",get:function(){var e=null;for(var t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}},{key:"maxValue",get:function(){var e=null;for(var t of this._def.checks)"max"===t.kind&&(null===e||t.values.value&&(i=this._getOrReturnCtx(e,i),(0,r(d[9]).addIssueToContext)(i,{code:r(d[10]).ZodIssueCode.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),a.dirty()):r(d[11]).util.assertNever(s);return{status:a.value,value:new Date(e.data.getTime())}}},{key:"_addCheck",value:function(e){return new a(Object.assign({},this._def,{checks:[].concat(o(this._def.checks),[e])}))}},{key:"min",value:function(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:r(d[12]).errorUtil.toString(t)})}},{key:"max",value:function(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:r(d[12]).errorUtil.toString(t)})}},{key:"minDate",get:function(){var e=null;for(var t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}},{key:"maxDate",get:function(){var e=null;for(var t of this._def.checks)"max"===t.kind&&(null===e||t.valuei.exactLength.value,u=n.data.lengthi.maxLength.value&&((0,r(d[9]).addIssueToContext)(n,{code:r(d[10]).ZodIssueCode.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),a.dirty()),n.common.async)return Promise.all(o(n.data).map((function(e,t){return i.type._parseAsync(new p(n,e,n.path,t))}))).then((function(e){return r(d[9]).ParseStatus.mergeArray(a,e)}));var c=o(n.data).map((function(e,t){return i.type._parseSync(new p(n,e,n.path,t))}));return r(d[9]).ParseStatus.mergeArray(a,c)}},{key:"element",get:function(){return this._def.type}},{key:"min",value:function(e,t){return new a(Object.assign({},this._def,{minLength:{value:e,message:r(d[12]).errorUtil.toString(t)}}))}},{key:"max",value:function(e,t){return new a(Object.assign({},this._def,{maxLength:{value:e,message:r(d[12]).errorUtil.toString(t)}}))}},{key:"length",value:function(e,t){return new a(Object.assign({},this._def,{exactLength:{value:e,message:r(d[12]).errorUtil.toString(t)}}))}},{key:"nonempty",value:function(e){return this.min(1,e)}}]),a})(y);function M(e){if(e instanceof K){var t={};for(var n in e.shape){var a=e.shape[n];t[n]=ie.create(M(a))}return new K(Object.assign({},e._def,{shape:function(){return t}}))}return e instanceof V?new V(Object.assign({},e._def,{type:M(e.element)})):e instanceof ie?ie.create(M(e.unwrap())):e instanceof se?se.create(M(e.unwrap())):e instanceof q?q.create(e.items.map((function(e){return M(e)}))):e}_e.ZodArray=V,V.create=function(e,t){return new V(Object.assign({type:e,minLength:null,maxLength:null,exactLength:null,typeName:pe.ZodArray},v(t)))};var K=(function(e){n(i,e);var a=l(i);function i(){var e;return u(this,i),(e=a.apply(this,arguments))._cached=null,e.nonstrict=e.passthrough,e.augment=e.extend,e}return c(i,[{key:"_getCached",value:function(){if(null!==this._cached)return this._cached;var e=this._def.shape(),t=r(d[11]).util.objectKeys(e);return this._cached={shape:e,keys:t}}},{key:"_parse",value:function(e){if(this._getType(e)!==r(d[11]).ZodParsedType.object){var t=this._getOrReturnCtx(e);return(0,r(d[9]).addIssueToContext)(t,{code:r(d[10]).ZodIssueCode.invalid_type,expected:r(d[11]).ZodParsedType.object,received:t.parsedType}),r(d[9]).INVALID}var n=this._processInputParams(e),a=n.status,i=n.ctx,o=this._getCached(),u=o.shape,c=o.keys,l=[];if(!(this._def.catchall instanceof R&&"strip"===this._def.unknownKeys))for(var f in i.data)c.includes(f)||l.push(f);var h=[];for(var v of c){var y=u[v],_=i.data[v];h.push({key:{status:"valid",value:v},value:y._parse(new p(i,_,i.path,v)),alwaysSet:v in i.data})}if(this._def.catchall instanceof R){var k=this._def.unknownKeys;if("passthrough"===k)for(var Z of l)h.push({key:{status:"valid",value:Z},value:{status:"valid",value:i.data[Z]}});else if("strict"===k)l.length>0&&((0,r(d[9]).addIssueToContext)(i,{code:r(d[10]).ZodIssueCode.unrecognized_keys,keys:l}),a.dirty());else if("strip"!==k)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{var b=this._def.catchall;for(var I of l){var x=i.data[I];h.push({key:{status:"valid",value:I},value:b._parse(new p(i,x,i.path,I)),alwaysSet:I in i.data})}}return i.common.async?Promise.resolve().then(s((function*(){var e=[];for(var t of h){var n=yield t.key;e.push({key:n,value:yield t.value,alwaysSet:t.alwaysSet})}return e}))).then((function(e){return r(d[9]).ParseStatus.mergeObjectSync(a,e)})):r(d[9]).ParseStatus.mergeObjectSync(a,h)}},{key:"shape",get:function(){return this._def.shape()}},{key:"strict",value:function(e){var t=this;return r(d[12]).errorUtil.errToObj,new i(Object.assign({},this._def,{unknownKeys:"strict"},void 0!==e?{errorMap:function(n,a){var i,s,o,u,c=null!==(o=null===(s=(i=t._def).errorMap)||void 0===s?void 0:s.call(i,n,a).message)&&void 0!==o?o:a.defaultError;return"unrecognized_keys"===n.code?{message:null!==(u=r(d[12]).errorUtil.errToObj(e).message)&&void 0!==u?u:c}:{message:c}}}:{}))}},{key:"strip",value:function(){return new i(Object.assign({},this._def,{unknownKeys:"strip"}))}},{key:"passthrough",value:function(){return new i(Object.assign({},this._def,{unknownKeys:"passthrough"}))}},{key:"extend",value:function(e){var t=this;return new i(Object.assign({},this._def,{shape:function(){return Object.assign({},t._def.shape(),e)}}))}},{key:"merge",value:function(e){var t=this;return new i({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:function(){return Object.assign({},t._def.shape(),e._def.shape())},typeName:pe.ZodObject})}},{key:"setKey",value:function(e,n){return this.augment(t({},e,n))}},{key:"catchall",value:function(e){return new i(Object.assign({},this._def,{catchall:e}))}},{key:"pick",value:function(e){var t=this,n={};return r(d[11]).util.objectKeys(e).forEach((function(a){e[a]&&t.shape[a]&&(n[a]=t.shape[a])})),new i(Object.assign({},this._def,{shape:function(){return n}}))}},{key:"omit",value:function(e){var t=this,n={};return r(d[11]).util.objectKeys(this.shape).forEach((function(a){e[a]||(n[a]=t.shape[a])})),new i(Object.assign({},this._def,{shape:function(){return n}}))}},{key:"deepPartial",value:function(){return M(this)}},{key:"partial",value:function(e){var t=this,n={};return r(d[11]).util.objectKeys(this.shape).forEach((function(a){var i=t.shape[a];e&&!e[a]?n[a]=i:n[a]=i.optional()})),new i(Object.assign({},this._def,{shape:function(){return n}}))}},{key:"required",value:function(e){var t=this,n={};return r(d[11]).util.objectKeys(this.shape).forEach((function(a){if(e&&!e[a])n[a]=t.shape[a];else{for(var i=t.shape[a];i instanceof ie;)i=i._def.innerType;n[a]=i}})),new i(Object.assign({},this._def,{shape:function(){return n}}))}},{key:"keyof",value:function(){return ee(r(d[11]).util.objectKeys(this.shape))}}]),i})(y);_e.ZodObject=K,K.create=function(e,t){return new K(Object.assign({shape:function(){return e},unknownKeys:"strip",catchall:R.create(),typeName:pe.ZodObject},v(t)))},K.strictCreate=function(e,t){return new K(Object.assign({shape:function(){return e},unknownKeys:"strict",catchall:R.create(),typeName:pe.ZodObject},v(t)))},K.lazycreate=function(e,t){return new K(Object.assign({shape:e,unknownKeys:"strip",catchall:R.create(),typeName:pe.ZodObject},v(t)))};var z=(function(e){n(a,e);var t=l(a);function a(){return u(this,a),t.apply(this,arguments)}return c(a,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx,n=this._def.options;if(t.common.async)return Promise.all(n.map((function(){var e=s((function*(e){var n=Object.assign({},t,{common:Object.assign({},t.common,{issues:[]}),parent:null});return{result:yield e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}}));return function(t){return e.apply(this,arguments)}})())).then((function(e){for(var n of e)if("valid"===n.result.status)return n.result;for(var a of e){var i;if("dirty"===a.result.status)return(i=t.common.issues).push.apply(i,o(a.ctx.common.issues)),a.result}var s=e.map((function(e){return new(r(d[10]).ZodError)(e.ctx.common.issues)}));return(0,r(d[9]).addIssueToContext)(t,{code:r(d[10]).ZodIssueCode.invalid_union,unionErrors:s}),r(d[9]).INVALID}));var a,i=void 0,u=[];for(var c of n){var l=Object.assign({},t,{common:Object.assign({},t.common,{issues:[]}),parent:null}),f=c._parseSync({data:t.data,path:t.path,parent:l});if("valid"===f.status)return f;"dirty"!==f.status||i||(i={result:f,ctx:l}),l.common.issues.length&&u.push(l.common.issues)}if(i)return(a=t.common.issues).push.apply(a,o(i.ctx.common.issues)),i.result;var p=u.map((function(e){return new(r(d[10]).ZodError)(e)}));return(0,r(d[9]).addIssueToContext)(t,{code:r(d[10]).ZodIssueCode.invalid_union,unionErrors:p}),r(d[9]).INVALID}},{key:"options",get:function(){return this._def.options}}]),a})(y);_e.ZodUnion=z,z.create=function(e,t){return new z(Object.assign({options:e,typeName:pe.ZodUnion},v(t)))};var B=function e(t){return t instanceof X?e(t.schema):t instanceof ae?e(t.innerType()):t instanceof Q?[t.value]:t instanceof te?t.options:t instanceof ne?Object.keys(t.enum):t instanceof oe?e(t._def.innerType):t instanceof S?[void 0]:t instanceof E?[null]:null},F=(function(e){n(a,e);var t=l(a);function a(){return u(this,a),t.apply(this,arguments)}return c(a,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx;if(t.parsedType!==r(d[11]).ZodParsedType.object)return(0,r(d[9]).addIssueToContext)(t,{code:r(d[10]).ZodIssueCode.invalid_type,expected:r(d[11]).ZodParsedType.object,received:t.parsedType}),r(d[9]).INVALID;var n=this.discriminator,a=t.data[n],i=this.optionsMap.get(a);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):((0,r(d[9]).addIssueToContext)(t,{code:r(d[10]).ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),r(d[9]).INVALID)}},{key:"discriminator",get:function(){return this._def.discriminator}},{key:"options",get:function(){return this._def.options}},{key:"optionsMap",get:function(){return this._def.optionsMap}}],[{key:"create",value:function(e,t,n){var i=new Map;for(var s of t){var o=B(s.shape[e]);if(!o)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(var u of o){if(i.has(u))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(u)}`);i.set(u,s)}}return new a(Object.assign({typeName:pe.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i},v(n)))}}]),a})(y);function $(e,t){var n=(0,r(d[11]).getParsedType)(e),a=(0,r(d[11]).getParsedType)(t);if(e===t)return{valid:!0,data:e};if(n===r(d[11]).ZodParsedType.object&&a===r(d[11]).ZodParsedType.object){var i=r(d[11]).util.objectKeys(t),s=r(d[11]).util.objectKeys(e).filter((function(e){return-1!==i.indexOf(e)})),o=Object.assign({},e,t);for(var u of s){var c=$(e[u],t[u]);if(!c.valid)return{valid:!1};o[u]=c.data}return{valid:!0,data:o}}if(n===r(d[11]).ZodParsedType.array&&a===r(d[11]).ZodParsedType.array){if(e.length!==t.length)return{valid:!1};for(var l=[],f=0;fthis._def.items.length&&((0,r(d[9]).addIssueToContext)(i,{code:r(d[10]).ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),a.dirty());var s=o(i.data).map((function(e,n){var a=t._def.items[n]||t._def.rest;return a?a._parse(new p(i,e,i.path,n)):null})).filter((function(e){return!!e}));return i.common.async?Promise.all(s).then((function(e){return r(d[9]).ParseStatus.mergeArray(a,e)})):r(d[9]).ParseStatus.mergeArray(a,s)}},{key:"items",get:function(){return this._def.items}},{key:"rest",value:function(e){return new a(Object.assign({},this._def,{rest:e}))}}]),a})(y);_e.ZodTuple=q,q.create=function(e,t){if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new q(Object.assign({items:e,typeName:pe.ZodTuple,rest:null},v(t)))};var G=(function(e){n(a,e);var t=l(a);function a(){return u(this,a),t.apply(this,arguments)}return c(a,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,a=t.ctx;if(a.parsedType!==r(d[11]).ZodParsedType.object)return(0,r(d[9]).addIssueToContext)(a,{code:r(d[10]).ZodIssueCode.invalid_type,expected:r(d[11]).ZodParsedType.object,received:a.parsedType}),r(d[9]).INVALID;var i=[],s=this._def.keyType,o=this._def.valueType;for(var u in a.data)i.push({key:s._parse(new p(a,u,a.path,u)),value:o._parse(new p(a,a.data[u],a.path,u))});return a.common.async?r(d[9]).ParseStatus.mergeObjectAsync(n,i):r(d[9]).ParseStatus.mergeObjectSync(n,i)}},{key:"element",get:function(){return this._def.valueType}}],[{key:"create",value:function(e,t,n){return new a(t instanceof y?Object.assign({keyType:e,valueType:t,typeName:pe.ZodRecord},v(n)):Object.assign({keyType:O.create(),valueType:e,typeName:pe.ZodRecord},v(t)))}}]),a})(y);_e.ZodRecord=G;var Y=(function(t){n(i,t);var a=l(i);function i(){return u(this,i),a.apply(this,arguments)}return c(i,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(t){var n=this._processInputParams(t),a=n.status,i=n.ctx;if(i.parsedType!==r(d[11]).ZodParsedType.map)return(0,r(d[9]).addIssueToContext)(i,{code:r(d[10]).ZodIssueCode.invalid_type,expected:r(d[11]).ZodParsedType.map,received:i.parsedType}),r(d[9]).INVALID;var u=this._def.keyType,c=this._def.valueType,l=o(i.data.entries()).map((function(t,n){var a=e(t,2),s=a[0],o=a[1];return{key:u._parse(new p(i,s,i.path,[n,"key"])),value:c._parse(new p(i,o,i.path,[n,"value"]))}}));if(i.common.async){var f=new Map;return Promise.resolve().then(s((function*(){for(var e of l){var t=yield e.key,n=yield e.value;if("aborted"===t.status||"aborted"===n.status)return r(d[9]).INVALID;"dirty"!==t.status&&"dirty"!==n.status||a.dirty(),f.set(t.value,n.value)}return{status:a.value,value:f}})))}var h=new Map;for(var v of l){var y=v.key,_=v.value;if("aborted"===y.status||"aborted"===_.status)return r(d[9]).INVALID;"dirty"!==y.status&&"dirty"!==_.status||a.dirty(),h.set(y.value,_.value)}return{status:a.value,value:h}}}]),i})(y);_e.ZodMap=Y,Y.create=function(e,t,n){return new Y(Object.assign({valueType:t,keyType:e,typeName:pe.ZodMap},v(n)))};var H=(function(e){n(a,e);var t=l(a);function a(){return u(this,a),t.apply(this,arguments)}return c(a,[{key:"_parse",value:function(e){var t=this._processInputParams(e),n=t.status,a=t.ctx;if(a.parsedType!==r(d[11]).ZodParsedType.set)return(0,r(d[9]).addIssueToContext)(a,{code:r(d[10]).ZodIssueCode.invalid_type,expected:r(d[11]).ZodParsedType.set,received:a.parsedType}),r(d[9]).INVALID;var i=this._def;null!==i.minSize&&a.data.sizei.maxSize.value&&((0,r(d[9]).addIssueToContext)(a,{code:r(d[10]).ZodIssueCode.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());var s=this._def.valueType;function u(e){var t=new Set;for(var a of e){if("aborted"===a.status)return r(d[9]).INVALID;"dirty"===a.status&&n.dirty(),t.add(a.value)}return{status:n.value,value:t}}var c=o(a.data.values()).map((function(e,t){return s._parse(new p(a,e,a.path,t))}));return a.common.async?Promise.all(c).then((function(e){return u(e)})):u(c)}},{key:"min",value:function(e,t){return new a(Object.assign({},this._def,{minSize:{value:e,message:r(d[12]).errorUtil.toString(t)}}))}},{key:"max",value:function(e,t){return new a(Object.assign({},this._def,{maxSize:{value:e,message:r(d[12]).errorUtil.toString(t)}}))}},{key:"size",value:function(e,t){return this.min(e,t).max(e,t)}},{key:"nonempty",value:function(e){return this.min(1,e)}}]),a})(y);_e.ZodSet=H,H.create=function(e,t){return new H(Object.assign({valueType:e,minSize:null,maxSize:null,typeName:pe.ZodSet},v(t)))};var J=(function(e){n(a,e);var t=l(a);function a(){var e;return u(this,a),(e=t.apply(this,arguments)).validate=e.implement,e}return c(a,[{key:"_parse",value:function(e){var t=this._processInputParams(e).ctx;if(t.parsedType!==r(d[11]).ZodParsedType.function)return(0,r(d[9]).addIssueToContext)(t,{code:r(d[10]).ZodIssueCode.invalid_type,expected:r(d[11]).ZodParsedType.function,received:t.parsedType}),r(d[9]).INVALID;function n(e,n){return(0,r(d[9]).makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,r(d[13]).getErrorMap)(),r(d[13]).defaultErrorMap].filter((function(e){return!!e})),issueData:{code:r(d[10]).ZodIssueCode.invalid_arguments,argumentsError:n}})}function a(e,n){return(0,r(d[9]).makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,r(d[13]).getErrorMap)(),r(d[13]).defaultErrorMap].filter((function(e){return!!e})),issueData:{code:r(d[10]).ZodIssueCode.invalid_return_type,returnTypeError:n}})}var i={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof re){var u=this;return(0,r(d[9]).OK)(s((function*(){for(var e=arguments.length,t=new Array(e),s=0;s1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return e?L.create().superRefine((function(a,i){var s,o;if(!e(a)){var u="function"==typeof t?t(a):"string"==typeof t?{message:t}:t,c=null===(o=null!==(s=u.fatal)&&void 0!==s?s:n)||void 0===o||o,l="string"==typeof u?{message:u}:u;i.addIssue(Object.assign({code:"custom"},l,{fatal:c}))}})):L.create()},_e.late={object:K.lazycreate},(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(pe=_e.ZodFirstPartyTypeKind||(_e.ZodFirstPartyTypeKind={}));_e.instanceof=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:`Input not instance of ${e.name}`};return(0,_e.custom)((function(t){return t instanceof e}),t)};var he=O.create;_e.string=he;var ve=j.create;_e.number=ve;var ye=de.create;_e.nan=ye;var me=w.create;_e.bigint=me;var ge=N.create;_e.boolean=ge;var ke=P.create;_e.date=ke;var Ze=A.create;_e.symbol=Ze;var be=S.create;_e.undefined=be;var Ie=E.create;_e.null=Ie;var xe=L.create;_e.any=xe;var Te=U.create;_e.unknown=Te;var Ce=R.create;_e.never=Ce;var Oe=D.create;_e.void=Oe;var je=V.create;_e.array=je;var we=K.create;_e.object=we;var Ne=K.strictCreate;_e.strictObject=Ne;var Pe=z.create;_e.union=Pe;var Ae=F.create;_e.discriminatedUnion=Ae;var Se=W.create;_e.intersection=Se;var Ee=q.create;_e.tuple=Ee;var Le=G.create;_e.record=Le;var Ue=Y.create;_e.map=Ue;var Re=H.create;_e.set=Re;var De=J.create;_e.function=De;var Ve=X.create;_e.lazy=Ve;var Me=Q.create;_e.literal=Me;var Ke=te.create;_e.enum=Ke;var ze=ne.create;_e.nativeEnum=ze;var Be=re.create;_e.promise=Be;var Fe=ae.create;_e.effect=Fe,_e.transformer=Fe;var $e=ie.create;_e.optional=$e;var We=se.create;_e.nullable=We;var qe=ae.createWithPreprocess;_e.preprocess=qe;var Ge=le.create;_e.pipeline=Ge;_e.ostring=function(){return he().optional()};_e.onumber=function(){return ve().optional()};_e.oboolean=function(){return ge().optional()},_e.coerce={string:function(e){return O.create(Object.assign({},e,{coerce:!0}))},number:function(e){return j.create(Object.assign({},e,{coerce:!0}))},boolean:function(e){return N.create(Object.assign({},e,{coerce:!0}))},bigint:function(e){return w.create(Object.assign({},e,{coerce:!0}))},date:function(e){return P.create(Object.assign({},e,{coerce:!0}))}},_e.NEVER=r(d[9]).INVALID}),746,[26,170,13,15,12,339,34,5,6,744,742,743,747,740]);
+__d((function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.errorUtil=void 0,(function(t){t.errToObj=function(t){return"string"==typeof t?{message:t}:t||{}},t.toString=function(t){return"string"==typeof t?t:null==t?void 0:t.message}})(e.errorUtil||(e.errorUtil={}))}),747,[]);
+__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o,u=t(r(d[1])),l=t(r(d[2])),f='https://pixel-ui-backend.onrender.com',c={sendLoginOTP:(o=(0,u.default)((function*(t){try{return(yield l.default.post(`${f}/login-otp`,{email:t})).data}catch(t){throw t}})),function(t){return o.apply(this,arguments)}),verifyLoginOTP:(n=(0,u.default)((function*(t,n){try{return(yield l.default.post(`${f}/verify-login-otp`,{email:t,token:n})).data}catch(t){throw t}})),function(t,o){return n.apply(this,arguments)})};e.default=c}),748,[1,339,749]);
+__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.all=e.VERSION=e.HttpStatusCode=e.CanceledError=e.CancelToken=e.Cancel=e.AxiosHeaders=e.AxiosError=e.Axios=void 0,Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o.default}}),e.toFormData=e.spread=e.mergeConfig=e.isCancel=e.isAxiosError=e.getAdapter=e.formToJSON=void 0;var o=t(r(d[1]));e.Axios=o.default.Axios,e.AxiosError=o.default.AxiosError,e.CanceledError=o.default.CanceledError,e.isCancel=o.default.isCancel,e.CancelToken=o.default.CancelToken,e.VERSION=o.default.VERSION,e.all=o.default.all,e.Cancel=o.default.Cancel,e.isAxiosError=o.default.isAxiosError,e.spread=o.default.spread,e.toFormData=o.default.toFormData,e.AxiosHeaders=o.default.AxiosHeaders,e.HttpStatusCode=o.default.HttpStatusCode,e.formToJSON=o.default.formToJSON,e.getAdapter=o.default.getAdapter,e.mergeConfig=o.default.mergeConfig}),749,[1,750]);
+__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),n=t(r(d[5])),s=t(r(d[6])),c=t(r(d[7])),p=t(r(d[8])),C=t(r(d[9])),v=t(r(d[10])),x=t(r(d[11])),A=t(r(d[12])),E=t(r(d[13])),O=t(r(d[14])),y=t(r(d[15])),w=t(r(d[16]));var S=(function t(n){var s=new f.default(n),c=(0,u.default)(f.default.prototype.request,s);return l.default.extend(c,f.default.prototype,s,{allOwnKeys:!0}),l.default.extend(c,s,null,{allOwnKeys:!0}),c.create=function(l){return t((0,o.default)(n,l))},c})(n.default);S.Axios=f.default,S.CanceledError=c.default,S.CancelToken=p.default,S.isCancel=C.default,S.VERSION=r(d[17]).VERSION,S.toFormData=v.default,S.AxiosError=x.default,S.Cancel=S.CanceledError,S.all=function(t){return Promise.all(t)},S.spread=A.default,S.isAxiosError=E.default,S.mergeConfig=o.default,S.AxiosHeaders=O.default,S.formToJSON=function(t){return(0,s.default)(l.default.isHTMLForm(t)?new FormData(t):t)},S.getAdapter=y.default.getAdapter,S.HttpStatusCode=w.default,S.default=S;e.default=S}),750,[1,751,752,753,787,762,771,775,790,774,756,757,791,792,772,776,793,789]);
+__d((function(g,r,_i,_a,_m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,o=t(r(d[1])),i=Object.prototype.toString,u=Object.getPrototypeOf,a=(n=Object.create(null),function(t){var o=i.call(t);return n[o]||(n[o]=o.slice(8,-1).toLowerCase())}),f=function(t){return t=t.toLowerCase(),function(n){return a(n)===t}},c=function(t){return function(n){return typeof n===t}},l=Array.isArray,s=c('undefined');var p=f('ArrayBuffer');var y=c('string'),b=c('function'),v=c('number'),O=function(t){return null!==t&&'object'==typeof t},h=function(t){if('object'!==a(t))return!1;var n=u(t);return!(null!==n&&n!==Object.prototype&&null!==Object.getPrototypeOf(n)||Symbol.toStringTag in t||Symbol.iterator in t)},m=f('Date'),w=f('File'),A=f('Blob'),j=f('FileList'),F=f('URLSearchParams');function S(t,n){var o,i,u=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,a=void 0!==u&&u;if(null!=t)if('object'!=typeof t&&(t=[t]),l(t))for(o=0,i=t.length;o0;)if(n===(o=i[u]).toLowerCase())return o;return null}var L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:'undefined'!=typeof window?window:g,B=function(t){return!s(t)&&t!==L};var C,D=(C='undefined'!=typeof Uint8Array&&u(Uint8Array),function(t){return C&&t instanceof C}),T=f('HTMLFormElement'),x=(function(t){var n=Object.prototype.hasOwnProperty;return function(t,o){return n.call(t,o)}})(),E=f('RegExp'),N=function(t,n){var o=Object.getOwnPropertyDescriptors(t),i={};S(o,(function(o,u){var a;!1!==(a=n(o,u,t))&&(i[u]=a||o)})),Object.defineProperties(t,i)},U='abcdefghijklmnopqrstuvwxyz',_='0123456789',H={DIGIT:_,ALPHA:U,ALPHA_DIGIT:U+U.toUpperCase()+_};var I=f('AsyncFunction');e.default={isArray:l,isArrayBuffer:p,isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&b(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:function(t){var n;return t&&('function'==typeof FormData&&t instanceof FormData||b(t.append)&&('formdata'===(n=a(t))||'object'===n&&b(t.toString)&&'[object FormData]'===t.toString()))},isArrayBufferView:function(t){return'undefined'!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&p(t.buffer)},isString:y,isNumber:v,isBoolean:function(t){return!0===t||!1===t},isObject:O,isPlainObject:h,isUndefined:s,isDate:m,isFile:w,isBlob:A,isRegExp:E,isFunction:b,isStream:function(t){return O(t)&&b(t.pipe)},isURLSearchParams:F,isTypedArray:D,isFileList:j,forEach:S,merge:function t(){for(var n=(B(this)&&this||{}).caseless,o={},i=function(i,u){var a=n&&P(o,u)||u;h(o[a])&&h(i)?o[a]=t(o[a],i):h(i)?o[a]=t({},i):l(i)?o[a]=i.slice():o[a]=i},u=0,a=arguments.length;u3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),t},trim:function(t){return t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,'')},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,n,o,i){t.prototype=Object.create(n.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,'super',{value:n.prototype}),o&&Object.assign(t.prototype,o)},toFlatObject:function(t,n,o,i){var a,f,c,l={};if(n=n||{},null==t)return n;do{for(f=(a=Object.getOwnPropertyNames(t)).length;f-- >0;)c=a[f],i&&!i(c,t,n)||l[c]||(n[c]=t[c],l[c]=!0);t=!1!==o&&u(t)}while(t&&(!o||o(t,n))&&t!==Object.prototype);return n},kindOf:a,kindOfTest:f,endsWith:function(t,n,o){t=String(t),(void 0===o||o>t.length)&&(o=t.length),o-=n.length;var i=t.indexOf(n,o);return-1!==i&&i===o},toArray:function(t){if(!t)return null;if(l(t))return t;var n=t.length;if(!v(n))return null;for(var o=new Array(n);n-- >0;)o[n]=t[n];return o},forEachEntry:function(t,n){for(var o,i=(t&&t[Symbol.iterator]).call(t);(o=i.next())&&!o.done;){var u=o.value;n.call(t,u[0],u[1])}},matchAll:function(t,n){for(var o,i=[];null!==(o=t.exec(n));)i.push(o);return i},isHTMLForm:T,hasOwnProperty:x,hasOwnProp:x,reduceDescriptors:N,freezeMethods:function(t){N(t,(function(n,o){if(b(t)&&-1!==['arguments','caller','callee'].indexOf(o))return!1;var i=t[o];b(i)&&(n.enumerable=!1,'writable'in n?n.writable=!1:n.set||(n.set=function(){throw Error('Can not rewrite read-only method \''+o+'\'')}))}))},toObjectSet:function(t,n){var o={},i=function(t){t.forEach((function(t){o[t]=!0}))};return l(t)?i(t):i(String(t).split(n)),o},toCamelCase:function(t){return t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,n,o){return n.toUpperCase()+o}))},noop:function(){},toFiniteNumber:function(t,n){return t=+t,Number.isFinite(t)?t:n},findKey:P,global:L,isContextDefined:B,ALPHABET:H,generateString:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H.ALPHA_DIGIT,o='',i=n.length;t--;)o+=n[Math.random()*i|0];return o},isSpecCompliantForm:function(t){return!!(t&&b(t.append)&&'FormData'===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:function(t){var n=new Array(10);return(function t(o,i){if(O(o)){if(n.indexOf(o)>=0)return;if(!('toJSON'in o)){n[i]=o;var u=l(o)?[]:{};return S(o,(function(n,o){var a=t(n,i+1);!s(a)&&(u[o]=a)})),n[i]=void 0,u}}return o})(t,0)},isAsyncFn:I,isThenable:function(t){return t&&(O(t)||b(t))&&b(t.then)&&b(t.catch)}}}),751,[1,752]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return function(){return t.apply(n,arguments)}}}),752,[]);
+__d((function(g,r,_i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),i=t(r(d[4])),l=t(r(d[5])),s=t(r(d[6])),f=t(r(d[7])),c=t(r(d[8])),h=t(r(d[9])),p=t(r(d[10])),v=h.default.validators,y=(function(){function t(o){(0,n.default)(this,t),this.defaults=o,this.interceptors={request:new l.default,response:new l.default}}return(0,o.default)(t,[{key:"request",value:function(t,n){'string'==typeof t?(n=n||{}).url=t:n=t||{};var o=n=(0,f.default)(this.defaults,n),i=o.transitional,l=o.paramsSerializer,c=o.headers;void 0!==i&&h.default.assertOptions(i,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean)},!1),null!=l&&(u.default.isFunction(l)?n.paramsSerializer={serialize:l}:h.default.assertOptions(l,{encode:v.function,serialize:v.function},!0)),n.method=(n.method||this.defaults.method||'get').toLowerCase();var y=c&&u.default.merge(c.common,c[n.method]);c&&u.default.forEach(['delete','get','head','post','put','patch','common'],(function(t){delete c[t]})),n.headers=p.default.concat(y,c);var b=[],E=!0;this.interceptors.request.forEach((function(t){'function'==typeof t.runWhen&&!1===t.runWhen(n)||(E=E&&t.synchronous,b.unshift(t.fulfilled,t.rejected))}));var q,z=[];this.interceptors.response.forEach((function(t){z.push(t.fulfilled,t.rejected)}));var O,P=0;if(!E){var S=[s.default.bind(this),void 0];for(S.unshift.apply(S,b),S.push.apply(S,z),O=S.length,q=Promise.resolve(n);P-1,h=e.default.isObject(t);if(h&&e.default.isHTMLForm(t)&&(t=new FormData(t)),e.default.isFormData(t))return c&&c?JSON.stringify((0,l.default)(t)):t;if(e.default.isArrayBuffer(t)||e.default.isBuffer(t)||e.default.isStream(t)||e.default.isFile(t)||e.default.isBlob(t))return t;if(e.default.isArrayBufferView(t))return t.buffer;if(e.default.isURLSearchParams(t))return n.setContentType('application/x-www-form-urlencoded;charset=utf-8',!1),t.toString();if(h){if(u.indexOf('application/x-www-form-urlencoded')>-1)return(0,o.default)(t,this.formSerializer).toString();if((f=e.default.isFileList(t))||u.indexOf('multipart/form-data')>-1){var S=this.env&&this.env.FormData;return(0,s.default)(f?{'files[]':t}:t,S&&new S,this.formSerializer)}}return h||c?(n.setContentType('application/json',!1),p(t)):t}],transformResponse:[function(t){var f=this.transitional||c.transitional,s=f&&f.forcedJSONParsing,o='json'===this.responseType;if(t&&e.default.isString(t)&&(s&&!this.responseType||o)){var u=!(f&&f.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(t){if(u){if('SyntaxError'===t.name)throw n.default.from(t,n.default.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,maxBodyLength:-1,env:{FormData:u.default.classes.FormData,Blob:u.default.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:'application/json, text/plain, */*','Content-Type':void 0}}};e.default.forEach(['delete','get','head','post','put','patch'],(function(t){c.headers[t]={}}));_e.default=c}),762,[1,751,757,763,756,764,765,771]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}}),763,[]);
+__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,f){return(0,u.default)(t,new n.default.classes.URLSearchParams,Object.assign({visitor:function(t,u,f,l){return n.default.isNode&&s.default.isBuffer(t)?(this.append(u,t.toString('base64')),!1):l.defaultVisitor.apply(this,arguments)}},f))};var s=t(r(d[1])),u=t(r(d[2])),n=t(r(d[3]))}),764,[1,751,756,765]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}_e.default=Object.assign({},r,t.default)}),765,[1,766,770]);
+__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3]));e.default={isBrowser:!0,classes:{URLSearchParams:l.default,FormData:o.default,Blob:s.default},protocols:['http','https','file','blob','url','data']}}),766,[1,767,768,769]);
+__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1]));e.default='undefined'!=typeof URLSearchParams?URLSearchParams:u.default}),767,[1,755]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default='undefined'!=typeof FormData?FormData:null}),768,[]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default='undefined'!=typeof Blob?Blob:null}),769,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.hasStandardBrowserWebWorkerEnv=e.hasStandardBrowserEnv=e.hasBrowserEnv=void 0;var o,n=e.hasBrowserEnv='undefined'!=typeof window&&'undefined'!=typeof document;e.hasStandardBrowserEnv=(o='undefined'!=typeof navigator&&navigator.product,n&&['ReactNative','NativeScript','NS'].indexOf(o)<0),e.hasStandardBrowserWebWorkerEnv='undefined'!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&'function'==typeof self.importScripts}),770,[]);
+__d((function(g,r,_i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1]));function u(t){return n.default.matchAll(/\w+|\[(\w*)]/g,t).map((function(t){return'[]'===t[0]?'':t[1]||t[0]}))}function f(t){var n,u,f={},i=Object.keys(t),l=i.length;for(n=0;n=t.length;return c=!c&&n.default.isArray(l)?l.length:c,v?(n.default.hasOwnProp(l,c)?l[c]=[l[c],u]:l[c]=u,!s):(l[c]&&n.default.isObject(l[c])||(l[c]=[]),i(t,u,l[c],o)&&n.default.isArray(l[c])&&(l[c]=f(l[c])),!s)}if(n.default.isFormData(t)&&n.default.isFunction(t.entries)){var l={};return n.default.forEachEntry(t,(function(t,n){i(u(t),n,l,0)})),l}return null}}),771,[1,751]);
+__d((function(g,r,_i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),i=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),c=Symbol('internals');function s(t){return t&&String(t).trim().toLowerCase()}function l(t){return!1===t||null==t?t:o.default.isArray(t)?t.map(l):String(t)}function h(t){for(var n,i=Object.create(null),u=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;n=u.exec(t);)i[n[1]]=n[2];return i}function v(t,n,i,u,f){return o.default.isFunction(u)?u.call(this,n,i):(f&&(n=i),o.default.isString(n)?o.default.isString(u)?-1!==n.indexOf(u):o.default.isRegExp(u)?u.test(n):void 0:void 0)}function y(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(t,n,i){return n.toUpperCase()+i}))}function p(t,n){var i=o.default.toCamelCase(' '+n);['get','set','has'].forEach((function(u){Object.defineProperty(t,u+i,{value:function(t,i,o){return this[u].call(this,n,t,i,o)},configurable:!0})}))}var b=(function(t,b){function k(t){(0,i.default)(this,k),t&&this.set(t)}return(0,u.default)(k,[{key:"set",value:function(t,n,i){var u=this;function c(t,n,i){var f=s(n);if(!f)throw new Error('header name must be a non-empty string');var c=o.default.findKey(u,f);(!c||void 0===u[c]||!0===i||void 0===i&&!1!==u[c])&&(u[c||n]=l(t))}var h=function(t,n){return o.default.forEach(t,(function(t,i){return c(t,i,n)}))};return o.default.isPlainObject(t)||t instanceof this.constructor?h(t,n):o.default.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?h((0,f.default)(t),n):null!=t&&c(n,t,i),this}},{key:"get",value:function(t,n){if(t=s(t)){var i=o.default.findKey(this,t);if(i){var u=this[i];if(!n)return u;if(!0===n)return h(u);if(o.default.isFunction(n))return n.call(this,u,i);if(o.default.isRegExp(n))return n.exec(u);throw new TypeError('parser must be boolean|regexp|function')}}}},{key:"has",value:function(t,n){if(t=s(t)){var i=o.default.findKey(this,t);return!(!i||void 0===this[i]||n&&!v(0,this[i],i,n))}return!1}},{key:"delete",value:function(t,n){var i=this,u=!1;function f(t){if(t=s(t)){var f=o.default.findKey(i,t);!f||n&&!v(0,i[f],f,n)||(delete i[f],u=!0)}}return o.default.isArray(t)?t.forEach(f):f(t),u}},{key:"clear",value:function(t){for(var n=Object.keys(this),i=n.length,u=!1;i--;){var o=n[i];t&&!v(0,this[o],o,t,!0)||(delete this[o],u=!0)}return u}},{key:"normalize",value:function(t){var n=this,i={};return o.default.forEach(this,(function(u,f){var c=o.default.findKey(i,f);if(c)return n[c]=l(u),void delete n[f];var s=t?y(f):String(f).trim();s!==f&&delete n[f],n[s]=l(u),i[s]=!0})),this}},{key:"concat",value:function(){for(var t,n=arguments.length,i=new Array(n),u=0;u1?i-1:0),o=1;o1?'since :\n'+b.map(l).join('\n'):' '+l(b[0]):'as no adapter specified';throw new o.default("There is no suitable adapter to dispatch the request "+w,'ERR_NOT_SUPPORT')}return u},adapters:f}}),776,[1,26,751,758,777,757]);
+__d((function(g,r,i,a,m,_e,d){'use strict';var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(r(d[1])),n=e(r(d[2])),o=e(r(d[3])),s=e(r(d[4])),u=e(r(d[5])),l=e(r(d[6])),f=e(r(d[7])),p=e(r(d[8])),c=e(r(d[9])),v=e(r(d[10])),T=e(r(d[11])),E=e(r(d[12])),w=e(r(d[13])),R=e(r(d[14])),h=e(r(d[15]));function b(e,t){var n=0,o=(0,h.default)(50,250);return function(s){var u=s.loaded,l=s.lengthComputable?s.total:void 0,f=u-n,p=o(f);n=u;var c={loaded:u,total:l,progress:l?u/l:void 0,bytes:f,rate:p||void 0,estimated:p&&l&&u<=l?(l-u)/p:void 0,event:s};c[t?'download':'upload']=!0,e(c)}}var y='undefined'!=typeof XMLHttpRequest;_e.default=y&&function(e){return new Promise((function(h,y){var C,x,N=e.data,U=R.default.from(e.headers).normalize(),k=e.responseType,O=e.withXSRFToken;function L(){e.cancelToken&&e.cancelToken.unsubscribe(C),e.signal&&e.signal.removeEventListener('abort',C)}if(o.default.isFormData(N))if(w.default.hasStandardBrowserEnv||w.default.hasStandardBrowserWebWorkerEnv)U.setContentType(!1);else if(!1!==(x=U.getContentType())){var B=x?x.split(';').map((function(e){return e.trim()})).filter(Boolean):[],H=(0,n.default)(B),S=H[0],D=H.slice(1);U.setContentType([S||'multipart/form-data'].concat((0,t.default)(D)).join('; '))}var _=new XMLHttpRequest;if(e.auth){var q=e.auth.username||'',A=e.auth.password?unescape(encodeURIComponent(e.auth.password)):'';U.set('Authorization','Basic '+btoa(q+':'+A))}var M=(0,f.default)(e.baseURL,e.url);function P(){if(_){var t=R.default.from('getAllResponseHeaders'in _&&_.getAllResponseHeaders()),n={data:k&&'text'!==k&&'json'!==k?_.response:_.responseText,status:_.status,statusText:_.statusText,headers:t,config:e,request:_};(0,s.default)((function(e){h(e),L()}),(function(e){y(e),L()}),n),_=null}}if(_.open(e.method.toUpperCase(),(0,l.default)(M,e.params,e.paramsSerializer),!0),_.timeout=e.timeout,'onloadend'in _?_.onloadend=P:_.onreadystatechange=function(){_&&4===_.readyState&&(0!==_.status||_.responseURL&&0===_.responseURL.indexOf('file:'))&&setTimeout(P)},_.onabort=function(){_&&(y(new v.default('Request aborted',v.default.ECONNABORTED,e,_)),_=null)},_.onerror=function(){y(new v.default('Network Error',v.default.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){var t=e.timeout?'timeout of '+e.timeout+'ms exceeded':'timeout exceeded',n=e.transitional||c.default;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),y(new v.default(t,n.clarifyTimeoutError?v.default.ETIMEDOUT:v.default.ECONNABORTED,e,_)),_=null},w.default.hasStandardBrowserEnv&&(O&&o.default.isFunction(O)&&(O=O(e)),O||!1!==O&&(0,p.default)(M))){var j=e.xsrfHeaderName&&e.xsrfCookieName&&u.default.read(e.xsrfCookieName);j&&U.set(e.xsrfHeaderName,j)}void 0===N&&U.setContentType(null),'setRequestHeader'in _&&o.default.forEach(U.toJSON(),(function(e,t){_.setRequestHeader(t,e)})),o.default.isUndefined(e.withCredentials)||(_.withCredentials=!!e.withCredentials),k&&'json'!==k&&(_.responseType=e.responseType),'function'==typeof e.onDownloadProgress&&_.addEventListener('progress',b(e.onDownloadProgress,!0)),'function'==typeof e.onUploadProgress&&_.upload&&_.upload.addEventListener('progress',b(e.onUploadProgress)),(e.cancelToken||e.signal)&&(C=function(t){_&&(y(!t||t.type?new T.default(null,e,_):t),_.abort(),_=null)},e.cancelToken&&e.cancelToken.subscribe(C),e.signal&&(e.signal.aborted?C():e.signal.addEventListener('abort',C)));var z=(0,E.default)(M);z&&-1===w.default.protocols.indexOf(z)?y(new v.default('Unsupported protocol '+z+':',v.default.ERR_BAD_REQUEST,e)):_.send(N||null)}))}}),777,[1,34,778,751,779,780,754,781,784,763,757,775,785,765,772,786]);
+__d((function(g,r,i,a,m,e,d){m.exports=function(t){return r(d[0])(t)||r(d[1])(t)||r(d[2])(t)||r(d[3])()},m.exports.__esModule=!0,m.exports.default=m.exports}),778,[27,36,29,31]);
+__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,s,f){var l=f.config.validateStatus;f.status&&l&&!l(f.status)?s(new u.default('Request failed with status code '+f.status,[u.default.ERR_BAD_REQUEST,u.default.ERR_BAD_RESPONSE][Math.floor(f.status/100)-4],f.config,f.request,f)):t(f)};var u=t(r(d[1]))}),779,[1,757]);
+__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),o=n(r(d[2]));e.default=o.default.hasStandardBrowserEnv?{write:function(n,o,u,c,f,s){var l=[n+'='+encodeURIComponent(o)];t.default.isNumber(u)&&l.push('expires='+new Date(u).toGMTString()),t.default.isString(c)&&l.push('path='+c),t.default.isString(f)&&l.push('domain='+f),!0===s&&l.push('secure'),document.cookie=l.join('; ')},read:function(n){var t=document.cookie.match(new RegExp('(^|;\\s*)('+n+')=([^;]*)'));return t?decodeURIComponent(t[3]):null},remove:function(n){this.write(n,'',Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}}),780,[1,751,765]);
+__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){if(t&&!(0,u.default)(n))return(0,f.default)(t,n);return n};var u=t(r(d[1])),f=t(r(d[2]))}),781,[1,782,783]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}}),782,[]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u){return u?t.replace(/\/?\/$/,'')+'/'+u.replace(/^\/+/,''):t}}),783,[]);
+__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2]));e.default=n.default.hasStandardBrowserEnv?(function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),h=document.createElement('a');function s(t){var o=t;return n&&(h.setAttribute('href',o),o=h.href),h.setAttribute('href',o),{href:h.href,protocol:h.protocol?h.protocol.replace(/:$/,''):'',host:h.host,search:h.search?h.search.replace(/^\?/,''):'',hash:h.hash?h.hash.replace(/^#/,''):'',hostname:h.hostname,port:h.port,pathname:'/'===h.pathname.charAt(0)?h.pathname:'/'+h.pathname}}return t=s(window.location.href),function(n){var h=o.default.isString(n)?s(n):n;return h.protocol===t.protocol&&h.host===t.host}})():function(){return!0}}),784,[1,751,765]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return u&&u[1]||''}}),785,[]);
+__d((function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(n,t){n=n||10;var o,u=new Array(n),i=new Array(n),f=0,v=0;return t=void 0!==t?t:1e3,function(c){var l=Date.now(),_=i[v];o||(o=l),u[f]=c,i[f]=l;for(var s=v,w=0;s!==f;)w+=u[s++],s%=n;if((f=(f+1)%n)===v&&(v=(v+1)%n),!(l-o0;){var l=u[f],s=o[l];if(s){var c=t[l],v=void 0===c||s(c,l,t);if(!0!==v)throw new n.default('option '+l+' must be '+v,n.default.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new n.default('Unknown option '+l,n.default.ERR_BAD_OPTION)}},validators:o}}),788,[1,757,789]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0;e.VERSION="1.6.5"}),789,[]);
+__d((function(g,r,_i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),s=n(r(d[2])),i=n(r(d[3])),u=(function(){function n(s){if((0,t.default)(this,n),'function'!=typeof s)throw new TypeError('executor must be a function.');var u;this.promise=new Promise((function(n){u=n}));var o=this;this.promise.then((function(n){if(o._listeners){for(var t=o._listeners.length;t-- >0;)o._listeners[t](n);o._listeners=null}})),this.promise.then=function(n){var t,s=new Promise((function(n){o.subscribe(n),t=n})).then(n);return s.cancel=function(){o.unsubscribe(t)},s},s((function(n,t,s){o.reason||(o.reason=new i.default(n,t,s),u(o.reason))}))}return(0,s.default)(n,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(n){this.reason?n(this.reason):this._listeners?this._listeners.push(n):this._listeners=[n]}},{key:"unsubscribe",value:function(n){if(this._listeners){var t=this._listeners.indexOf(n);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new n((function(n){t=n})),cancel:t}}}]),n})();e.default=u}),790,[1,5,6,775]);
+__d((function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return function(t){return n.apply(null,t)}}}),791,[]);
+__d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return u.default.isObject(t)&&!0===t.isAxiosError};var u=t(r(d[1]))}),792,[1,751]);
+__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(n).forEach((function(t){var u=(0,o.default)(t,2),l=u[0],s=u[1];n[s]=l}));e.default=n}),793,[1,26]);
+__d((function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/assets",width:75,height:62,scales:[1],hash:"8c03740d2e1654d4bda5d9505b264c76",name:"auth-coffee-logo",type:"png"})}),794,[468]);
+__d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NativeStackView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createNativeStackNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1])),u=t(r(d[2]))}),795,[1,796,797]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(_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=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r})(_r(d[2])),r=e(_r(d[3])),i=_r(d[4]),a=["id","initialRouteName","children","screenListeners","screenOptions"];function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}_e.default=(0,_r(d[5]).createNavigatorFactory)((function(e){var o=e.id,s=e.initialRouteName,u=e.children,c=e.screenListeners,l=e.screenOptions,f=(0,t.default)(e,a),p=(0,_r(d[5]).useNavigationBuilder)(_r(d[5]).StackRouter,{id:o,initialRouteName:s,children:u,screenListeners:c,screenOptions:l}),v=p.state,O=p.descriptors,y=p.navigation,j=p.NavigationContent;return n.useEffect((function(){return null==y||null==y.addListener?void 0:y.addListener('tabPress',(function(e){var t=y.isFocused();requestAnimationFrame((function(){v.index>0&&t&&!e.defaultPrevented&&y.dispatch(Object.assign({},_r(d[5]).StackActions.popToTop(),{target:v.key}))}))}))}),[y,v.index,v.key]),(0,i.jsx)(j,{children:(0,i.jsx)(r.default,Object.assign({},f,{state:v,navigation:y,descriptors:O}))})}))}),796,[1,119,153,797,194,567]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){return(0,c.jsx)(_r(d[13]).SafeAreaProviderCompat,{children:(0,c.jsx)(f,Object.assign({},e))})};var t=e(_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=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a})(_r(d[2])),a=_r(d[3]),i=e(_r(d[4])),r=e(_r(d[5])),o=e(_r(d[6])),s=e(_r(d[7])),l=e(_r(d[8])),c=_r(d[9]);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 p='android'===a.Platform.OS,v=function(e){var t=e.options,r=e.route,o=e.presentation,u=e.headerHeight,v=e.headerTopInsetEnabled,h=e.children,f=(0,_r(d[10]).useTheme)().colors,k=t.header,x=t.headerShown,S=void 0===x||x,b=t.contentStyle,B=!p&&('card'!==o&&!0===S&&void 0===k),j=n.useRef(S);n.useEffect((function(){(0,i.default)(!p&&'card'!==o&&j.current!==S,`Dynamically changing 'headerShown' in modals will result in remounting the screen and losing all local state. See options for the screen '${r.name}'.`),j.current=S}),[S,o,r.name]);var D=(0,c.jsx)(s.default,{style:[y.container,'transparentModal'!==o&&'containedTransparentModal'!==o&&{backgroundColor:f.background},b],stackPresentation:'card'===o?'push':o,children:h});return B?(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:(0,c.jsxs)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,children:[D,(0,c.jsx)(l.default,Object.assign({},t,{route:r,headerHeight:u,headerTopInsetEnabled:v,canGoBack:!0}))]})}):D},h=function(e){var i,r=e.index,o=e.focused,s=e.descriptor,u=e.previousDescriptor,h=e.nextDescriptor,f=e.onWillDisappear,k=e.onAppear,x=e.onDisappear,S=e.onDismissed,b=e.onHeaderBackButtonClicked,B=e.onNativeDismissCancelled,j=s.route,D=s.navigation,C=s.options,H=s.render,O=C.animationDuration,P=C.animationTypeForReplace,w=void 0===P?'push':P,E=C.gestureEnabled,A=C.header,T=C.headerBackButtonMenuEnabled,_=C.headerShown,M=C.headerBackground,I=C.headerTransparent,N=C.autoHideHomeIndicator,R=C.navigationBarColor,W=C.navigationBarHidden,F=C.orientation,z=C.statusBarAnimation,G=C.statusBarHidden,V=C.statusBarStyle,K=C.statusBarTranslucent,L=C.statusBarColor,$=C.freezeOnBlur,q=C.animation,J=C.customAnimationOnGesture,Q=C.fullScreenGestureEnabled,U=C.presentation,X=void 0===U?'card':U,Y=C.gestureDirection,Z=void 0===Y?'card'===X?'horizontal':'vertical':Y;'vertical'===Z&&'ios'===a.Platform.OS&&(void 0===Q&&(Q=!0),void 0===J&&(J=!0),void 0===q&&(q='slide_from_bottom'));var ee=null==h?void 0:h.options.gestureDirection,te=null!=ee?ee:Z;0===r&&(X='card');var ne=(0,_r(d[12]).useSafeAreaInsets)(),ae=(0,_r(d[12]).useSafeAreaFrame)(),ie='modal'===X||'formSheet'===X,re='ios'===a.Platform.OS&&!(a.Platform.isPad||a.Platform.isTV),oe=ae.width>ae.height,se=n.useContext(_r(d[13]).HeaderShownContext),le=n.useContext(_r(d[13]).HeaderHeightContext),de=n.useContext(_r(d[13]).HeaderBackContext),ce=se||'ios'===a.Platform.OS&&ie||re&&oe?0:ne.top,ue='ios'===a.Platform.OS&&ce>50?ce-5:ce,pe=(0,_r(d[10]).usePreventRemoveContext)().preventedRoutes,ve=(0,_r(d[13]).getDefaultHeaderHeight)(ae,ie,ue),he=n.useState(ve),fe=(0,t.default)(he,2),ge=fe[0],me=fe[1],ye=0!==ce,ke=A?ge:ve,xe=u?{title:(0,_r(d[13]).getHeaderTitle)(u.options,u.route.name)}:de,Se=null==(i=pe[j.key])?void 0:i.preventRemove;return(0,c.jsx)(_r(d[11]).Screen,{enabled:!0,style:a.StyleSheet.absoluteFill,customAnimationOnSwipe:J,fullScreenSwipeEnabled:Q,gestureEnabled:!p&&E,homeIndicatorHidden:N,navigationBarColor:R,navigationBarHidden:W,replaceAnimation:w,stackPresentation:'card'===X?'push':X,stackAnimation:q,screenOrientation:F,statusBarAnimation:z,statusBarHidden:G,statusBarStyle:V,statusBarColor:L,statusBarTranslucent:K,swipeDirection:te,transitionDuration:O,onWillDisappear:f,onAppear:k,onDisappear:x,onDismissed:S,isNativeStack:!0,nativeBackButtonDismissalEnabled:!1,onHeaderBackButtonClicked:b,preventNativeDismiss:Se,onNativeDismissCancelled:B,freezeOnBlur:$,children:(0,c.jsx)(_r(d[10]).NavigationContext.Provider,{value:D,children:(0,c.jsx)(_r(d[10]).NavigationRouteContext.Provider,{value:j,children:(0,c.jsx)(_r(d[13]).HeaderShownContext.Provider,{value:se||!1!==_,children:(0,c.jsxs)(_r(d[13]).HeaderHeightContext.Provider,{value:!1!==_?ke:null!=le?le:0,children:[null!=M?(0,c.jsx)(a.View,{style:[y.background,I?y.translucent:null,{height:ke}],children:M()}):null,(0,c.jsxs)(a.View,{accessibilityElementsHidden:!o,importantForAccessibility:o?'auto':'no-hide-descendants',style:y.scene,children:[(0,c.jsx)(v,{options:C,route:j,presentation:X,headerHeight:ke,headerTopInsetEnabled:ye,children:(0,c.jsx)(_r(d[13]).HeaderBackContext.Provider,{value:xe,children:H()})}),void 0!==A&&!1!==_?(0,c.jsx)(a.View,{onLayout:function(e){me(e.nativeEvent.layout.height)},style:I?y.absolute:null,children:A({back:xe,options:C,route:j,navigation:D})}):null]}),(0,c.jsx)(l.default,Object.assign({},C,{route:j,headerBackButtonMenuEnabled:void 0!==Se?!Se:T,headerShown:void 0===A&&_,headerHeight:ke,headerBackTitle:void 0!==C.headerBackTitle?C.headerBackTitle:void 0,headerTopInsetEnabled:ye,canGoBack:void 0!==xe}))]})})})})},j.key)};function f(e){var t=e.state,n=e.navigation,a=e.descriptors,i=(0,r.default)(t).setNextDismissedKey;return(0,o.default)(a),(0,c.jsx)(_r(d[11]).ScreenStack,{style:y.container,children:t.routes.map((function(e,r){var o,s,l=a[e.key],u=t.index===r,p=null==(o=t.routes[r-1])?void 0:o.key,v=null==(s=t.routes[r+1])?void 0:s.key,f=p?a[p]:void 0,y=v?a[v]:void 0;return(0,c.jsx)(h,{index:r,focused:u,descriptor:l,previousDescriptor:f,nextDescriptor:y,onWillDisappear:function(){n.emit({type:'transitionStart',data:{closing:!0},target:e.key})},onAppear:function(){n.emit({type:'transitionEnd',data:{closing:!1},target:e.key})},onDisappear:function(){n.emit({type:'transitionEnd',data:{closing:!0},target:e.key})},onDismissed:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key})),i(e.key)},onHeaderBackButtonClicked:function(){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(),{source:e.key,target:t.key}))},onNativeDismissCancelled:function(a){n.dispatch(Object.assign({},_r(d[10]).StackActions.pop(a.nativeEvent.dismissCount),{source:e.key,target:t.key}))}},e.key)}))})}var y=a.StyleSheet.create({container:{flex:1},scene:{flex:1,flexDirection:'column-reverse'},absolute:{position:'absolute',top:0,left:0,right:0},translucent:{position:'absolute',top:0,left:0,right:0,zIndex:1,elevation:1},background:{overflow:'hidden'}})}),797,[1,26,153,2,549,798,799,800,801,194,567,697,664,673]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var r,o=n.useState(null),u=(0,t.default)(o,2),a=u[0],i=u[1],f=a?null==(r=e.routes.find((function(e){return e.key===a})))?void 0:r.name:null;return n.useEffect((function(){if(f){var e=`The screen '${f}' was removed natively but didn't get removed from JS state. This can happen if the action was prevented in a 'beforeRemove' listener, which is not fully supported in native-stack.\n\nConsider using a 'usePreventRemove' hook with 'headerBackButtonMenuEnabled: false' to prevent users from natively going back multiple screens.`;console.error(e)}}),[f]),{setNextDismissedKey:i}};var t=e(_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=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o})(_r(d[2]));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)}}),798,[1,26,153]);
+__d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(t){var n,r,o=(0,_r(d[1]).usePreventRemoveContext)().preventedRoutes,u=Object.keys(o)[0],a=t[u],l=null==a||null==(n=a.options)?void 0:n.headerBackButtonMenuEnabled,i=null==a||null==(r=a.route)?void 0:r.name;e.useEffect((function(){if(null!=u&&l){var e=`The screen ${i} uses 'usePreventRemove' hook alongside 'headerBackButtonMenuEnabled: true', which is not supported. \n\nConsider removing 'headerBackButtonMenuEnabled: true' from ${i} screen to get rid of this error.`;console.error(e)}}),[u,l,i])};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 r=t(n);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=u?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o})(_r(d[0]));function t(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(t=function(e){return e?r:n})(e)}}),799,[153,567]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;e(_r(d[1])),(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var f=u?Object.getOwnPropertyDescriptor(e,a):null;f&&(f.get||f.set)?Object.defineProperty(o,a,f):o[a]=e[a]}o.default=e,r&&r.set(e,o)})(_r(d[2]));var t=_r(d[3]),r=(e(_r(d[4])),_r(d[5]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}_e.default=function(e){return(0,r.jsx)(t.View,Object.assign({},e,{collapsable:!1}))}}),800,[1,119,153,2,155,194]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var n,o,i,c=e.headerBackImageSource,u=e.headerBackButtonMenuEnabled,h=e.headerBackTitle,s=e.headerBackTitleStyle,f=e.headerBackTitleVisible,S=void 0===f||f,y=e.headerBackVisible,k=e.headerShadowVisible,p=e.headerLargeStyle,T=e.headerLargeTitle,b=e.headerLargeTitleShadowVisible,B=e.headerLargeTitleStyle,w=e.headerBackground,j=e.headerLeft,F=e.headerRight,v=e.headerShown,C=e.headerStyle,x=e.headerBlurEffect,O=e.headerTintColor,P=e.headerTitle,V=e.headerTitleAlign,H=e.headerTitleStyle,_=e.headerTransparent,I=e.headerSearchBarOptions,L=e.headerTopInsetEnabled,M=e.route,W=e.title,z=e.canGoBack,E=(0,_r(d[5]).useTheme)().colors,A=null!=O?O:'ios'===l.Platform.OS?E.primary:E.text,D=l.StyleSheet.flatten(s)||{},G=l.StyleSheet.flatten(B)||{},R=l.StyleSheet.flatten(H)||{},N=l.StyleSheet.flatten(C)||{},q=l.StyleSheet.flatten(p)||{},J=(0,_r(d[6]).processFonts)([D.fontFamily,G.fontFamily,R.fontFamily]),K=(0,t.default)(J,3),Q=K[0],U=K[1],X=K[2],Y=(0,_r(d[7]).getHeaderTitle)({title:W,headerTitle:P},M.name),Z=null!=(n=null!=(o=R.color)?o:O)?n:E.text,$=R.fontSize,ee=R.fontWeight,te={color:Z};null!=R.fontFamily&&(te.fontFamily=R.fontFamily);null!=$&&(te.fontSize=$);null!=ee&&(te.fontWeight=ee);var le=null==j?void 0:j({tintColor:A,canGoBack:z,label:h}),re=null==F?void 0:F({tintColor:A,canGoBack:z}),ne='function'==typeof P?P({tintColor:A,children:Y}):null,ae='boolean'==typeof _r(d[8]).isSearchBarAvailableForCurrentPlatform?_r(d[8]).isSearchBarAvailableForCurrentPlatform:'ios'===l.Platform.OS&&null!=_r(d[8]).SearchBar,oe=ae&&null!=I;if(null!=I&&!ae)throw new Error("The current version of 'react-native-screens' doesn't support SearchBar in the header. Please update to the latest version to use this option.");var ie=y?null!=le:'android'===l.Platform.OS&&null!=ne,ce=null!=w||_||(oe||T)&&'ios'===l.Platform.OS&&!1!==_;return(0,r.jsxs)(_r(d[8]).ScreenStackHeaderConfig,{backButtonInCustomView:ie,backgroundColor:null!=(i=N.backgroundColor)?i:null!=w||_?'transparent':E.card,backTitle:_r(d[8]).isNewBackTitleImplementation||S?h:' ',backTitleVisible:S,backTitleFontFamily:Q,backTitleFontSize:D.fontSize,blurEffect:x,color:A,direction:l.I18nManager.getConstants().isRTL?'rtl':'ltr',disableBackButtonMenu:!1===u,hidden:!1===v,hideBackButton:!1===y,hideShadow:!1===k||null!=w||_&&!0!==k,largeTitle:T,largeTitleBackgroundColor:q.backgroundColor,largeTitleColor:G.color,largeTitleFontFamily:U,largeTitleFontSize:G.fontSize,largeTitleFontWeight:G.fontWeight,largeTitleHideShadow:!1===b,title:Y,titleColor:Z,titleFontFamily:X,titleFontSize:$,titleFontWeight:ee,topInsetEnabled:L,translucent:!0===ce,children:['ios'===l.Platform.OS?(0,r.jsxs)(r.Fragment,{children:[null!=le?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:le}):null,null!=ne?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:ne}):null]}):(0,r.jsxs)(r.Fragment,{children:[null!=le||'function'==typeof P?(0,r.jsx)(_r(d[8]).ScreenStackHeaderLeftView,{children:(0,r.jsxs)(l.View,{style:a.row,children:[le,'center'!==V?'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y}):null]})}):null,'center'===V?(0,r.jsx)(_r(d[8]).ScreenStackHeaderCenterView,{children:'function'==typeof P?ne:(0,r.jsx)(_r(d[7]).HeaderTitle,{tintColor:A,style:te,children:Y})}):null]}),void 0!==c?(0,r.jsx)(_r(d[8]).ScreenStackHeaderBackButtonImage,{source:c}):null,null!=re?(0,r.jsx)(_r(d[8]).ScreenStackHeaderRightView,{children:re}):null,oe?(0,r.jsx)(_r(d[8]).ScreenStackHeaderSearchBarView,{children:(0,r.jsx)(_r(d[8]).SearchBar,Object.assign({},I))}):null]})};var t=e(_r(d[1])),l=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var l=n(t);if(l&&l.has(e))return l.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,l&&l.set(e,r)})(_r(d[2])),_r(d[3])),r=_r(d[4]);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(n=function(e){return e?l:t})(e)}var a=l.StyleSheet.create({row:{flexDirection:'row',alignItems:'center'}})}),801,[1,26,153,2,194,567,802,673,697]);
+__d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.processFonts=function(n){var t,u=null==(t=o.default.fontFamily)?void 0:t.process;if('function'==typeof u)return n.map(u);return n};var o=n(r(d[1]))}),802,[1,162]);
+__d((function(e,f,o,a,n,d,i){n.exports={name:"Coffe",displayName:"Coffe"}}),803,[]);
__r(57);
__r(0);
\ No newline at end of file
diff --git a/android/app/src/main/res/drawable-hdpi/launch_screen.png b/android/app/src/main/res/drawable-hdpi/launch_screen.png
index 711fac8..cb4c16a 100644
Binary files a/android/app/src/main/res/drawable-hdpi/launch_screen.png and b/android/app/src/main/res/drawable-hdpi/launch_screen.png differ
diff --git a/android/app/src/main/res/drawable-hdpi/node_modules_reactnavigation_elements_src_assets_backicon.png b/android/app/src/main/res/drawable-hdpi/node_modules_reactnavigation_elements_src_assets_backicon.png
new file mode 100644
index 0000000..ad03a63
Binary files /dev/null and b/android/app/src/main/res/drawable-hdpi/node_modules_reactnavigation_elements_src_assets_backicon.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/launch_screen.png b/android/app/src/main/res/drawable-mdpi/launch_screen.png
index 6618d52..e637fab 100644
Binary files a/android/app/src/main/res/drawable-mdpi/launch_screen.png and b/android/app/src/main/res/drawable-mdpi/launch_screen.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_elements_src_assets_backicon.png b/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_elements_src_assets_backicon.png
new file mode 100644
index 0000000..083db29
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_elements_src_assets_backicon.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_elements_src_assets_backiconmask.png b/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_elements_src_assets_backiconmask.png
new file mode 100644
index 0000000..9de7242
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_elements_src_assets_backiconmask.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_app_images_amazonpay.png b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_amazonpay.png
new file mode 100644
index 0000000..8df6e08
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_amazonpay.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_app_images_applepay.png b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_applepay.png
new file mode 100644
index 0000000..5e24473
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_applepay.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_app_images_avatar.png b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_avatar.png
new file mode 100644
index 0000000..fc5f8eb
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_avatar.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_app_images_gpay.png b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_gpay.png
new file mode 100644
index 0000000..791ca36
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_app_images_gpay.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_authcoffeelogo.png b/android/app/src/main/res/drawable-mdpi/src_assets_authcoffeelogo.png
new file mode 100644
index 0000000..873f929
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_authcoffeelogo.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_1_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_1_portrait.png
new file mode 100644
index 0000000..651b997
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_1_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_2_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_2_portrait.png
new file mode 100644
index 0000000..8db8dc1
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_2_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_3_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_3_portrait.png
new file mode 100644
index 0000000..a22a700
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_portrait_americano_pic_3_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_1_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_1_square.png
new file mode 100644
index 0000000..da0cff5
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_1_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_2_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_2_square.png
new file mode 100644
index 0000000..e5e0809
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_2_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_3_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_3_square.png
new file mode 100644
index 0000000..e29b821
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_americano_square_americano_pic_3_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_arabica_coffee_beans_arabica_coffee_beans_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_arabica_coffee_beans_arabica_coffee_beans_portrait.png
new file mode 100644
index 0000000..6a683b4
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_arabica_coffee_beans_arabica_coffee_beans_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_arabica_coffee_beans_arabica_coffee_beans_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_arabica_coffee_beans_arabica_coffee_beans_square.png
new file mode 100644
index 0000000..43c77f8
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_arabica_coffee_beans_arabica_coffee_beans_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_1_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_1_portrait.png
new file mode 100644
index 0000000..9814bbc
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_1_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_2_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_2_portrait.png
new file mode 100644
index 0000000..f96132d
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_2_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_3_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_3_portrait.png
new file mode 100644
index 0000000..6e85a78
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_portrait_black_coffee_pic_3_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_1_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_1_square.png
new file mode 100644
index 0000000..2e85ed6
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_1_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_2_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_2_square.png
new file mode 100644
index 0000000..ff808d6
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_2_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_3_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_3_square.png
new file mode 100644
index 0000000..e06d51b
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_black_coffee_square_black_coffee_pic_3_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_1_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_1_portrait.png
new file mode 100644
index 0000000..c4754ac
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_1_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_2_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_2_portrait.png
new file mode 100644
index 0000000..f189cf4
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_2_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_3_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_3_portrait.png
new file mode 100644
index 0000000..5c135ca
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_portrait_cappuccino_pic_3_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_1_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_1_square.png
new file mode 100644
index 0000000..9bf2bed
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_1_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_2_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_2_square.png
new file mode 100644
index 0000000..017edd9
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_2_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_3_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_3_square.png
new file mode 100644
index 0000000..41a504f
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_cappuccino_square_cappuccino_pic_3_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_1_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_1_portrait.png
new file mode 100644
index 0000000..285c7e1
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_1_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_2_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_2_portrait.png
new file mode 100644
index 0000000..0fe9330
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_2_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_3_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_3_portrait.png
new file mode 100644
index 0000000..4e4c03e
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_portrait_espresso_pic_3_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_1_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_1_square.png
new file mode 100644
index 0000000..6c66477
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_1_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_2_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_2_square.png
new file mode 100644
index 0000000..ba68aef
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_2_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_3_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_3_square.png
new file mode 100644
index 0000000..8f5ae2f
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_espresso_square_espresso_pic_3_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_excelsa_coffee_beans_excelsa_coffee_beans_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_excelsa_coffee_beans_excelsa_coffee_beans_portrait.png
new file mode 100644
index 0000000..151385c
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_excelsa_coffee_beans_excelsa_coffee_beans_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_excelsa_coffee_beans_excelsa_coffee_beans_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_excelsa_coffee_beans_excelsa_coffee_beans_square.png
new file mode 100644
index 0000000..116513a
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_excelsa_coffee_beans_excelsa_coffee_beans_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_1_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_1_portrait.png
new file mode 100644
index 0000000..dc91bfd
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_1_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_2_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_2_portrait.png
new file mode 100644
index 0000000..2583672
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_2_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_3_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_3_portrait.png
new file mode 100644
index 0000000..55d9764
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_portrait_latte_pic_3_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_1_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_1_square.png
new file mode 100644
index 0000000..2e198a9
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_1_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_2_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_2_square.png
new file mode 100644
index 0000000..6751a88
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_2_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_3_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_3_square.png
new file mode 100644
index 0000000..f2971de
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_latte_square_latte_pic_3_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_liberica_coffee_beans_liberica_coffee_beans_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_liberica_coffee_beans_liberica_coffee_beans_portrait.png
new file mode 100644
index 0000000..997c746
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_liberica_coffee_beans_liberica_coffee_beans_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_liberica_coffee_beans_liberica_coffee_beans_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_liberica_coffee_beans_liberica_coffee_beans_square.png
new file mode 100644
index 0000000..765a14e
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_liberica_coffee_beans_liberica_coffee_beans_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_1_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_1_portrait.png
new file mode 100644
index 0000000..fe44a8d
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_1_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_2_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_2_portrait.png
new file mode 100644
index 0000000..c95179a
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_2_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_3_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_3_portrait.png
new file mode 100644
index 0000000..9917baf
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_portrait_macchiato_pic_3_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_1_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_1_square.png
new file mode 100644
index 0000000..6232148
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_1_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_2_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_2_square.png
new file mode 100644
index 0000000..db66466
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_2_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_3_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_3_square.png
new file mode 100644
index 0000000..6033022
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_macchiato_square_macchiato_pic_3_square.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_robusta_coffee_beans_robusta_coffee_beans_portrait.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_robusta_coffee_beans_robusta_coffee_beans_portrait.png
new file mode 100644
index 0000000..868a803
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_robusta_coffee_beans_robusta_coffee_beans_portrait.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_robusta_coffee_beans_robusta_coffee_beans_square.png b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_robusta_coffee_beans_robusta_coffee_beans_square.png
new file mode 100644
index 0000000..9ea0028
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/src_assets_coffee_assets_robusta_coffee_beans_robusta_coffee_beans_square.png differ
diff --git a/android/app/src/main/res/drawable-xhdpi/launch_screen.png b/android/app/src/main/res/drawable-xhdpi/launch_screen.png
index 97d2720..972433a 100644
Binary files a/android/app/src/main/res/drawable-xhdpi/launch_screen.png and b/android/app/src/main/res/drawable-xhdpi/launch_screen.png differ
diff --git a/android/app/src/main/res/drawable-xhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png b/android/app/src/main/res/drawable-xhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png
new file mode 100644
index 0000000..6de0a1c
Binary files /dev/null and b/android/app/src/main/res/drawable-xhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png differ
diff --git a/android/app/src/main/res/drawable-xxhdpi/launch_screen.png b/android/app/src/main/res/drawable-xxhdpi/launch_screen.png
index 059f388..fc73234 100644
Binary files a/android/app/src/main/res/drawable-xxhdpi/launch_screen.png and b/android/app/src/main/res/drawable-xxhdpi/launch_screen.png differ
diff --git a/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png b/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png
new file mode 100644
index 0000000..15a983a
Binary files /dev/null and b/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png differ
diff --git a/android/app/src/main/res/drawable-xxxhdpi/launch_screen.png b/android/app/src/main/res/drawable-xxxhdpi/launch_screen.png
index 26188c3..16088d7 100644
Binary files a/android/app/src/main/res/drawable-xxxhdpi/launch_screen.png and b/android/app/src/main/res/drawable-xxxhdpi/launch_screen.png differ
diff --git a/android/app/src/main/res/drawable-xxxhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png b/android/app/src/main/res/drawable-xxxhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png
new file mode 100644
index 0000000..17e52e8
Binary files /dev/null and b/android/app/src/main/res/drawable-xxxhdpi/node_modules_reactnavigation_elements_src_assets_backicon.png differ
diff --git a/package-lock.json b/package-lock.json
index 2f6bdb4..7537341 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13,6 +13,8 @@
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
+ "@twotalltotems/react-native-otp-input": "^1.3.7",
+ "axios": "^1.6.5",
"immer": "^10.0.3",
"lottie-react-native": "^6.4.1",
"react": "18.2.0",
@@ -22,6 +24,7 @@
"react-native-screens": "^3.29.0",
"react-native-splash-screen": "^3.3.0",
"react-native-vector-icons": "^10.0.3",
+ "zod": "^3.22.4",
"zustand": "^4.4.7"
},
"devDependencies": {
@@ -4541,6 +4544,11 @@
"@sinonjs/commons": "^3.0.0"
}
},
+ "node_modules/@twotalltotems/react-native-otp-input": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/@twotalltotems/react-native-otp-input/-/react-native-otp-input-1.3.7.tgz",
+ "integrity": "sha512-df4BpFhhwpa+IGWCUUXlL42bFoK0LggDG1hlNFVzjVZYPn4sr7Lwfynv6SV7C7fpfZ+KG6RmNbLLL0RZNjVILg=="
+ },
"node_modules/@types/babel__core": {
"version": "7.20.5",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
@@ -5307,6 +5315,11 @@
"has-symbols": "^1.0.3"
}
},
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
+ },
"node_modules/available-typed-arrays": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
@@ -5319,6 +5332,16 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/axios": {
+ "version": "1.6.5",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz",
+ "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==",
+ "dependencies": {
+ "follow-redirects": "^1.15.4",
+ "form-data": "^4.0.0",
+ "proxy-from-env": "^1.1.0"
+ }
+ },
"node_modules/babel-core": {
"version": "7.0.0-bridge.0",
"resolved": "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz",
@@ -6015,6 +6038,17 @@
"resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz",
"integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g=="
},
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dependencies": {
+ "delayed-stream": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/command-exists": {
"version": "1.2.9",
"resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz",
@@ -6391,6 +6425,14 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
"node_modules/denodeify": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/denodeify/-/denodeify-1.2.1.tgz",
@@ -7596,6 +7638,25 @@
"node": ">=0.4.0"
}
},
+ "node_modules/follow-redirects": {
+ "version": "1.15.5",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
+ "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
+ }
+ },
"node_modules/for-each": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
@@ -7605,6 +7666,19 @@
"is-callable": "^1.1.3"
}
},
+ "node_modules/form-data": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
@@ -12010,6 +12084,11 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
+ "node_modules/proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
+ },
"node_modules/punycode": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
@@ -14015,6 +14094,14 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/zod": {
+ "version": "3.22.4",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz",
+ "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
"node_modules/zustand": {
"version": "4.4.7",
"resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.7.tgz",
diff --git a/package.json b/package.json
index eb0ec0e..951ed64 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,8 @@
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
+ "@twotalltotems/react-native-otp-input": "^1.3.7",
+ "axios": "^1.6.5",
"immer": "^10.0.3",
"lottie-react-native": "^6.4.1",
"react": "18.2.0",
@@ -24,6 +26,7 @@
"react-native-screens": "^3.29.0",
"react-native-splash-screen": "^3.3.0",
"react-native-vector-icons": "^10.0.3",
+ "zod": "^3.22.4",
"zustand": "^4.4.7"
},
"devDependencies": {
diff --git a/src/assets/auth-coffee-logo.png b/src/assets/auth-coffee-logo.png
new file mode 100644
index 0000000..873f929
Binary files /dev/null and b/src/assets/auth-coffee-logo.png differ
diff --git a/src/assets/google-logo.png b/src/assets/google-logo.png
new file mode 100644
index 0000000..4431a0b
Binary files /dev/null and b/src/assets/google-logo.png differ
diff --git a/src/assets/launch_screen.png b/src/assets/launch_screen.png
index 86568d3..d308b39 100644
Binary files a/src/assets/launch_screen.png and b/src/assets/launch_screen.png differ
diff --git a/src/screens/AuthScreen.tsx b/src/screens/AuthScreen.tsx
new file mode 100644
index 0000000..fc29be3
--- /dev/null
+++ b/src/screens/AuthScreen.tsx
@@ -0,0 +1,249 @@
+import {
+ Alert,
+ Image,
+ KeyboardAvoidingView,
+ Platform,
+ StatusBar,
+ StyleSheet,
+ Text,
+ TextInput,
+ TouchableOpacity,
+ View,
+} from 'react-native'
+import React, { useState } from 'react'
+import { useStore } from '../store/store'
+import {
+ BORDERRADIUS,
+ COLORS,
+ FONTFAMILY,
+ FONTSIZE,
+ SPACING,
+} from '../theme/theme'
+import Ionicons from 'react-native-vector-icons/Ionicons'
+import { Dimensions } from 'react-native'
+import OTPInputView from '@twotalltotems/react-native-otp-input'
+import emailSchema from '../validation/zod'
+import AuthService from '../services'
+
+const windowHeight = Dimensions.get('window').height
+
+const AuthScreen = () => {
+ const userAuthentication = useStore(
+ (state: any): any => state.userAuthentication,
+ )
+ const [mail, setMail] = useState('')
+ const [validationMail, setValidationMail] = useState(false)
+ const [code, setCode] = useState('')
+ const [isLoading, setIsLoading] = useState(false)
+ const handleMailChange = (text: string) => {
+ setMail(text)
+ }
+
+ const handleValidateEmail = async () => {
+ setIsLoading(true)
+ try {
+ emailSchema.parse(mail);
+
+ const response = await AuthService.sendLoginOTP(mail);
+
+ if (response.status === 9999) {
+ setIsLoading(false)
+ setValidationMail(true);
+ } else {
+ setIsLoading(false)
+ Alert.alert('Something Unwanted happened');
+ }
+ } catch (error:any) {
+ setIsLoading(false)
+ Alert.alert('Error', error.message || 'Something went wrong');
+ }
+ };
+ const VerifyOtp = async () => {
+ setIsLoading(true)
+ try {
+ const response = await AuthService.verifyLoginOTP(mail, code);
+ if (response===true) {
+ setIsLoading(false)
+ userAuthentication();
+ } else {
+ setIsLoading(false)
+ Alert.alert('Wrong Otp');
+ }
+ } catch (error) {
+ setIsLoading(false)
+ Alert.alert('Something Went wrong');
+ }
+ };
+ return (
+
+
+
+
+ Keep calm and drink tea.
+
+ {!validationMail ? (
+
+
+
+
+ ) : (
+ <>
+ OTP sent to email.
+ {
+ setCode(code)
+ }}
+ />
+ >
+ )}
+ {validationMail ? (
+
+
+ {isLoading?'Processing...':'Verify'}
+
+
+ ) : (
+
+
+ {isLoading?'Processing...':'Continue'}
+
+
+ )}
+ {validationMail ? (
+ {
+ setValidationMail(false)
+ }}
+ >
+ Back
+
+ ) : null}
+
+
+
+ )
+}
+
+export default AuthScreen
+
+const styles = StyleSheet.create({
+ ScreenContainer: {
+ flex: 1,
+ backgroundColor: COLORS.primaryBlackHex,
+ },
+ AuthContainer: {
+ height: windowHeight - 200,
+ justifyContent: 'center',
+ alignItems: 'center',
+ },
+ Logo: {
+ height: 62,
+ width: 74,
+ },
+ Quote: {
+ color: COLORS.primaryWhiteHex,
+ marginTop: SPACING.space_10,
+ marginBottom: SPACING.space_30 + SPACING.space_30,
+ fontSize: FONTSIZE.size_10,
+ },
+ MailContainer: {
+ gap: SPACING.space_20,
+ },
+ AuthButton: {
+ width: 240,
+ height: 50,
+ borderRadius: BORDERRADIUS.radius_10,
+ backgroundColor: COLORS.primaryOrangeHex,
+ shadowColor: 'rgba(217, 180, 124, 0.25)',
+ shadowOffset: { width: 1, height: -1 },
+ shadowOpacity: 1,
+ shadowRadius: 1,
+ elevation: 2,
+ flexDirection: 'row',
+ alignItems: 'center',
+ justifyContent: 'center',
+ },
+ Authenticate: {
+ color: COLORS.primaryWhiteHex,
+ fontSize: FONTSIZE.size_12,
+ fontFamily: FONTFAMILY.poppins_extrabold,
+ },
+ mail: {
+ width: 200,
+ color: COLORS.primaryGreyHex,
+ },
+ InputContainer: {
+ width: 240,
+ height: 50,
+ borderRadius: BORDERRADIUS.radius_10,
+ backgroundColor: COLORS.primaryWhiteHex,
+ shadowColor: 'rgba(217, 180, 124, 0.25)',
+ shadowOffset: { width: 1, height: -1 },
+ shadowOpacity: 1,
+ shadowRadius: 1,
+ elevation: 2,
+ flexDirection: 'row',
+ alignItems: 'center',
+ justifyContent: 'center',
+ },
+ OtpContainer: {
+ width: 240,
+ height: 50,
+ flexDirection: 'row',
+ alignItems: 'center',
+ justifyContent: 'center',
+ },
+ OtpText: {
+ color: COLORS.primaryWhiteHex,
+ fontSize: FONTSIZE.size_12,
+ fontFamily: FONTFAMILY.poppins_extrabold,
+ textAlign: 'center',
+ },
+ borderStyleHighLighted: {
+ borderColor: '#03DAC6',
+ },
+ underlineStyleBase: {
+ width: 36,
+ height: 50,
+ borderWidth: 1,
+ shadowColor: 'rgba(217, 180, 124, 0.25)',
+ shadowOffset: {
+ width: -1,
+ height: -1,
+ },
+ shadowOpacity: 1,
+ shadowRadius: 4,
+ backgroundColor: COLORS.primaryWhiteHex,
+ borderRadius: BORDERRADIUS.radius_8,
+ color: COLORS.primaryBlackHex,
+ },
+ underlineStyleHighLighted: {
+ borderColor: '#03DAC6',
+ },
+ Back: {
+ color: COLORS.primaryWhiteHex,
+ fontSize: FONTSIZE.size_12,
+ fontFamily: FONTFAMILY.poppins_extrabold,
+ textAlign: 'center',
+ textDecorationLine: 'underline',
+ },
+})
diff --git a/src/services/index.ts b/src/services/index.ts
new file mode 100644
index 0000000..b59a006
--- /dev/null
+++ b/src/services/index.ts
@@ -0,0 +1,27 @@
+import axios from 'axios';
+
+const baseURL = ' http://localhost:5000';
+
+const AuthService = {
+ sendLoginOTP: async (email:string) => {
+ try {
+ const {data} = await axios.get(`${baseURL}/login-otp/${email}`);
+
+ return data;
+ } catch (error) {
+ throw error;
+ }
+ },
+
+ verifyLoginOTP: async (email:string, token:string) => {
+ try {
+ const {data} = await axios.get(`${baseURL}/verify-login-otp/${email}/${token}`);
+
+ return data;
+ } catch (error) {
+ throw error;
+ }
+ },
+};
+
+export default AuthService;
diff --git a/src/store/store.ts b/src/store/store.ts
index 20c5066..2ca3ee3 100644
--- a/src/store/store.ts
+++ b/src/store/store.ts
@@ -7,6 +7,8 @@ import BeansData from "../data/BeansData";
export const useStore = create(
persist((set) => ({
+ auth:false,
+ userAuthentication:():void=>set(produce(state=>({auth:true}))),
CoffeeList: CoffeeData,
BeanList: BeansData,
CartPrice: 0,
diff --git a/src/validation/zod.ts b/src/validation/zod.ts
new file mode 100644
index 0000000..d184d42
--- /dev/null
+++ b/src/validation/zod.ts
@@ -0,0 +1,6 @@
+import { z } from 'zod';
+
+const emailSchema = z.string().email();
+
+
+export default emailSchema
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index ffbdf9b..71bdbef 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1987,6 +1987,11 @@
dependencies:
"@sinonjs/commons" "^3.0.0"
+"@twotalltotems/react-native-otp-input@^1.3.7":
+ version "1.3.7"
+ resolved "https://registry.npmjs.org/@twotalltotems/react-native-otp-input/-/react-native-otp-input-1.3.7.tgz"
+ integrity sha512-df4BpFhhwpa+IGWCUUXlL42bFoK0LggDG1hlNFVzjVZYPn4sr7Lwfynv6SV7C7fpfZ+KG6RmNbLLL0RZNjVILg==
+
"@types/babel__core@^7.1.14":
version "7.20.5"
resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz"
@@ -2424,11 +2429,25 @@ asynciterator.prototype@^1.0.0:
dependencies:
has-symbols "^1.0.3"
+asynckit@^0.4.0:
+ version "0.4.0"
+ resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"
+ integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
+
available-typed-arrays@^1.0.5:
version "1.0.5"
resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz"
integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==
+axios@^1.6.5:
+ version "1.6.5"
+ resolved "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz"
+ integrity sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==
+ dependencies:
+ follow-redirects "^1.15.4"
+ form-data "^4.0.0"
+ proxy-from-env "^1.1.0"
+
babel-core@^7.0.0-bridge.0:
version "7.0.0-bridge.0"
resolved "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz"
@@ -2863,6 +2882,13 @@ colorette@^1.0.7:
resolved "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz"
integrity sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==
+combined-stream@^1.0.8:
+ version "1.0.8"
+ resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz"
+ integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
+ dependencies:
+ delayed-stream "~1.0.0"
+
command-exists@^1.2.8:
version "1.2.9"
resolved "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz"
@@ -3055,6 +3081,11 @@ define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1:
has-property-descriptors "^1.0.0"
object-keys "^1.1.1"
+delayed-stream@~1.0.0:
+ version "1.0.0"
+ resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
+ integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
+
denodeify@^1.2.1:
version "1.2.1"
resolved "https://registry.npmjs.org/denodeify/-/denodeify-1.2.1.tgz"
@@ -3663,6 +3694,11 @@ flow-parser@^0.206.0, flow-parser@0.*:
resolved "https://registry.npmjs.org/flow-parser/-/flow-parser-0.206.0.tgz"
integrity sha512-HVzoK3r6Vsg+lKvlIZzaWNBVai+FXTX1wdYhz/wVlH13tb/gOdLXmlTqy6odmTBhT5UoWUbq0k8263Qhr9d88w==
+follow-redirects@^1.15.4:
+ version "1.15.5"
+ resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz"
+ integrity sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==
+
for-each@^0.3.3:
version "0.3.3"
resolved "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz"
@@ -3670,6 +3706,15 @@ for-each@^0.3.3:
dependencies:
is-callable "^1.1.3"
+form-data@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz"
+ integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
+ dependencies:
+ asynckit "^0.4.0"
+ combined-stream "^1.0.8"
+ mime-types "^2.1.12"
+
fresh@0.5.2:
version "0.5.2"
resolved "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz"
@@ -5189,7 +5234,7 @@ micromatch@^4.0.4:
resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz"
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
-mime-types@^2.1.27, mime-types@~2.1.34:
+mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.34:
version "2.1.35"
resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz"
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
@@ -5687,6 +5732,11 @@ prop-types@^15.7.2, prop-types@^15.8.1:
object-assign "^4.1.1"
react-is "^16.13.1"
+proxy-from-env@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz"
+ integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
+
punycode@^2.1.0:
version "2.3.1"
resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz"
@@ -7017,6 +7067,11 @@ yocto-queue@^0.1.0:
resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
+zod@^3.22.4:
+ version "3.22.4"
+ resolved "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz"
+ integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==
+
zustand@^4.4.7:
version "4.4.7"
resolved "https://registry.npmjs.org/zustand/-/zustand-4.4.7.tgz"