react-native-timacare 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/lib/commonjs/assets/icons/b1.svg +75 -0
  2. package/lib/commonjs/assets/icons/b2.svg +74 -0
  3. package/lib/commonjs/assets/icons/b3.svg +99 -0
  4. package/lib/commonjs/assets/icons/b4.svg +80 -0
  5. package/lib/commonjs/assets/icons/b5.svg +76 -0
  6. package/lib/commonjs/assets/icons/b6.svg +74 -0
  7. package/lib/commonjs/assets/icons/close.svg +6 -0
  8. package/lib/commonjs/assets/icons/close2.svg +6 -0
  9. package/lib/commonjs/assets/icons/guideline.svg +12 -0
  10. package/lib/commonjs/assets/icons/index.js +1 -1
  11. package/lib/commonjs/assets/icons/index.js.flow +127 -107
  12. package/lib/commonjs/assets/icons/index.js.map +1 -1
  13. package/lib/commonjs/assets/icons/line.svg +6 -0
  14. package/lib/commonjs/assets/img/b1.png +0 -0
  15. package/lib/commonjs/assets/img/b2.png +0 -0
  16. package/lib/commonjs/assets/img/b3.png +0 -0
  17. package/lib/commonjs/assets/img/b4.png +0 -0
  18. package/lib/commonjs/assets/img/b5.png +0 -0
  19. package/lib/commonjs/assets/img/b6.png +0 -0
  20. package/lib/commonjs/navigation/primary-navigator.js +1 -1
  21. package/lib/commonjs/navigation/primary-navigator.js.flow +5 -2
  22. package/lib/commonjs/navigation/primary-navigator.js.map +1 -1
  23. package/lib/commonjs/screens/home/index.js +1 -1
  24. package/lib/commonjs/screens/home/index.js.flow +294 -529
  25. package/lib/commonjs/screens/home/index.js.map +1 -1
  26. package/lib/commonjs/screens/loginWithPassword/index.js +1 -1
  27. package/lib/commonjs/screens/loginWithPassword/index.js.flow +8 -6
  28. package/lib/commonjs/screens/loginWithPassword/index.js.map +1 -1
  29. package/lib/commonjs/screens/loginWithPassword/store.js +1 -1
  30. package/lib/commonjs/screens/loginWithPassword/store.js.flow +1 -1
  31. package/lib/commonjs/screens/loginWithPassword/store.js.map +1 -1
  32. package/lib/commonjs/screens/otp/Store.js +1 -1
  33. package/lib/commonjs/screens/otp/Store.js.flow +1 -1
  34. package/lib/commonjs/screens/otp/Store.js.map +1 -1
  35. package/lib/commonjs/screens/payment-evidence/Guideline.js +2 -0
  36. package/lib/commonjs/screens/payment-evidence/Guideline.js.flow +117 -0
  37. package/lib/commonjs/screens/payment-evidence/Guideline.js.map +1 -0
  38. package/lib/commonjs/screens/payment-evidence/ModalGuideline.js +2 -0
  39. package/lib/commonjs/screens/payment-evidence/ModalGuideline.js.flow +131 -0
  40. package/lib/commonjs/screens/payment-evidence/ModalGuideline.js.map +1 -0
  41. package/lib/commonjs/screens/payment-evidence/index.js +1 -1
  42. package/lib/commonjs/screens/payment-evidence/index.js.flow +22 -2
  43. package/lib/commonjs/screens/payment-evidence/index.js.map +1 -1
  44. package/lib/commonjs/screens/quick-submit/index.js +1 -1
  45. package/lib/commonjs/screens/quick-submit/index.js.flow +20 -15
  46. package/lib/commonjs/screens/quick-submit/index.js.map +1 -1
  47. package/lib/commonjs/screens/setPassword/store.js +1 -1
  48. package/lib/commonjs/screens/setPassword/store.js.flow +1 -3
  49. package/lib/commonjs/screens/setPassword/store.js.map +1 -1
  50. package/lib/commonjs/screens/splash/index.js +1 -1
  51. package/lib/commonjs/screens/splash/index.js.flow +5 -15
  52. package/lib/commonjs/screens/splash/index.js.map +1 -1
  53. package/lib/commonjs/services/api/api-config.js.flow +0 -19
  54. package/lib/commonjs/services/api/api-config.js.map +1 -1
  55. package/lib/commonjs/services/api/api.js +1 -1
  56. package/lib/commonjs/services/api/api.js.flow +4 -17
  57. package/lib/commonjs/services/api/api.js.map +1 -1
  58. package/lib/commonjs/services/reactotron/reactotron.js +1 -1
  59. package/lib/commonjs/services/reactotron/reactotron.js.flow +1 -1
  60. package/lib/commonjs/services/reactotron/reactotron.js.map +1 -1
  61. package/lib/module/assets/icons/b1.svg +75 -0
  62. package/lib/module/assets/icons/b2.svg +74 -0
  63. package/lib/module/assets/icons/b3.svg +99 -0
  64. package/lib/module/assets/icons/b4.svg +80 -0
  65. package/lib/module/assets/icons/b5.svg +76 -0
  66. package/lib/module/assets/icons/b6.svg +74 -0
  67. package/lib/module/assets/icons/close.svg +6 -0
  68. package/lib/module/assets/icons/close2.svg +6 -0
  69. package/lib/module/assets/icons/guideline.svg +12 -0
  70. package/lib/module/assets/icons/index.js +1 -1
  71. package/lib/module/assets/icons/index.js.map +1 -1
  72. package/lib/module/assets/icons/line.svg +6 -0
  73. package/lib/module/assets/img/b1.png +0 -0
  74. package/lib/module/assets/img/b2.png +0 -0
  75. package/lib/module/assets/img/b3.png +0 -0
  76. package/lib/module/assets/img/b4.png +0 -0
  77. package/lib/module/assets/img/b5.png +0 -0
  78. package/lib/module/assets/img/b6.png +0 -0
  79. package/lib/module/navigation/primary-navigator.js +1 -1
  80. package/lib/module/navigation/primary-navigator.js.map +1 -1
  81. package/lib/module/screens/home/index.js +1 -1
  82. package/lib/module/screens/home/index.js.map +1 -1
  83. package/lib/module/screens/loginWithPassword/index.js +1 -1
  84. package/lib/module/screens/loginWithPassword/index.js.map +1 -1
  85. package/lib/module/screens/loginWithPassword/store.js +1 -1
  86. package/lib/module/screens/loginWithPassword/store.js.map +1 -1
  87. package/lib/module/screens/otp/Store.js +1 -1
  88. package/lib/module/screens/otp/Store.js.map +1 -1
  89. package/lib/module/screens/payment-evidence/Guideline.js +2 -0
  90. package/lib/module/screens/payment-evidence/Guideline.js.map +1 -0
  91. package/lib/module/screens/payment-evidence/ModalGuideline.js +2 -0
  92. package/lib/module/screens/payment-evidence/ModalGuideline.js.map +1 -0
  93. package/lib/module/screens/payment-evidence/index.js +1 -1
  94. package/lib/module/screens/payment-evidence/index.js.map +1 -1
  95. package/lib/module/screens/quick-submit/index.js +1 -1
  96. package/lib/module/screens/quick-submit/index.js.map +1 -1
  97. package/lib/module/screens/setPassword/store.js +1 -1
  98. package/lib/module/screens/setPassword/store.js.map +1 -1
  99. package/lib/module/screens/splash/index.js +1 -1
  100. package/lib/module/screens/splash/index.js.map +1 -1
  101. package/lib/module/services/api/api-config.js.map +1 -1
  102. package/lib/module/services/api/api.js +1 -1
  103. package/lib/module/services/api/api.js.map +1 -1
  104. package/lib/module/services/reactotron/reactotron.js +1 -1
  105. package/lib/module/services/reactotron/reactotron.js.map +1 -1
  106. package/lib/typescript/assets/icons/index.d.ts +117 -107
  107. package/lib/typescript/assets/icons/index.d.ts.map +1 -1
  108. package/lib/typescript/navigation/primary-navigator.d.ts +1 -0
  109. package/lib/typescript/navigation/primary-navigator.d.ts.map +1 -1
  110. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  111. package/lib/typescript/screens/loginWithPassword/index.d.ts.map +1 -1
  112. package/lib/typescript/screens/payment-evidence/Guideline.d.ts +2 -0
  113. package/lib/typescript/screens/payment-evidence/Guideline.d.ts.map +1 -0
  114. package/lib/typescript/screens/payment-evidence/ModalGuideline.d.ts +7 -0
  115. package/lib/typescript/screens/payment-evidence/ModalGuideline.d.ts.map +1 -0
  116. package/lib/typescript/screens/payment-evidence/index.d.ts.map +1 -1
  117. package/lib/typescript/screens/quick-submit/index.d.ts.map +1 -1
  118. package/lib/typescript/screens/setPassword/store.d.ts.map +1 -1
  119. package/lib/typescript/screens/splash/index.d.ts.map +1 -1
  120. package/lib/typescript/services/api/api-config.d.ts +0 -12
  121. package/lib/typescript/services/api/api-config.d.ts.map +1 -1
  122. package/lib/typescript/services/api/api.d.ts +1 -11
  123. package/lib/typescript/services/api/api.d.ts.map +1 -1
  124. package/package.json +2 -1
  125. package/src/assets/icons/b1.svg +75 -0
  126. package/src/assets/icons/b2.svg +74 -0
  127. package/src/assets/icons/b3.svg +99 -0
  128. package/src/assets/icons/b4.svg +80 -0
  129. package/src/assets/icons/b5.svg +76 -0
  130. package/src/assets/icons/b6.svg +74 -0
  131. package/src/assets/icons/close.svg +6 -0
  132. package/src/assets/icons/close2.svg +6 -0
  133. package/src/assets/icons/guideline.svg +12 -0
  134. package/src/assets/icons/index.tsx +127 -107
  135. package/src/assets/icons/line.svg +6 -0
  136. package/src/assets/img/b1.png +0 -0
  137. package/src/assets/img/b2.png +0 -0
  138. package/src/assets/img/b3.png +0 -0
  139. package/src/assets/img/b4.png +0 -0
  140. package/src/assets/img/b5.png +0 -0
  141. package/src/assets/img/b6.png +0 -0
  142. package/src/navigation/primary-navigator.tsx +5 -2
  143. package/src/screens/home/index.tsx +294 -529
  144. package/src/screens/loginWithPassword/index.tsx +8 -6
  145. package/src/screens/loginWithPassword/store.tsx +1 -1
  146. package/src/screens/otp/Store.tsx +1 -1
  147. package/src/screens/payment-evidence/Guideline.tsx +117 -0
  148. package/src/screens/payment-evidence/ModalGuideline.tsx +131 -0
  149. package/src/screens/payment-evidence/index.tsx +22 -2
  150. package/src/screens/quick-submit/index.tsx +20 -15
  151. package/src/screens/setPassword/store.tsx +1 -3
  152. package/src/screens/splash/index.tsx +5 -15
  153. package/src/services/api/api-config.ts +0 -19
  154. package/src/services/api/api.ts +4 -17
  155. package/src/services/reactotron/reactotron.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_nativeStack","_screens","_otp","_nationalID","_selfie","_register","_camera","_TermScreen","_liveness","_eSign","_nationalIDBack","_contract","_uploadVideo","_qualify","_loginWithPassword","_forgotPassword","_setPassword","_confirmPassword","_quickSubmit","_select","_fullSubmit","_introduction","_cimbSign","_schedulePayment","_notification","_paymentList","_CIMBxTima","_QuickTerm","_PaymentInfo","_selfie2","_paymentEvidence","_guideTransferBank","_TransferDetail","_ViewContract","_ConfirmContract","_PaymentAll","_detailLoan","_jsxFileName","ScreenNames","Splash","Main","Support","Compare","OTP","NationalID","Selfie","RegisterMotor","Register","Camera","Terms","LiveNess","ESign","NationalIDBack","Contract","Video","Qualify","LoginWithPassword","ForgotPassword","SetPassword","ConfirmPassword","TopUp","QuickSubmit","Introduction","FullSubmit","CommonSelect","UpdateLoan","CIMBSign","SchedulePayment","Notification","PaymentList","CIMBxTima","QuickTerm","DetailLoan","PaymentInfo","CimbSelfie","PaymentEvidence","GuideTransferBank","TransferDetail","PaymentAll","ViewContract","ConfirmContract","exports","Stack","createNativeStackNavigator","PrimaryNavigator","default","createElement","Navigator","initialRouteName","screenOptions","headerShown","gestureEnabled","__self","__source","fileName","lineNumber","columnNumber","Screen","name","component","TermScreen","exitRoutes","canExit","routeName","includes"],"sourceRoot":"../../../src","sources":["navigation/primary-navigator.tsx"],"mappings":"iOAOA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,sCACA,IAAAE,QAAA,CAAAF,OAAA,eACA,IAAAG,IAAA,CAAAH,OAAA,mBACA,IAAAI,WAAA,CAAAJ,OAAA,0BACA,IAAAK,OAAA,CAAAL,OAAA,sBACA,IAAAM,SAAA,CAAAN,OAAA,wBACA,IAAAO,OAAA,CAAAP,OAAA,sBACA,IAAAQ,WAAA,CAAAR,OAAA,gCACA,IAAAS,SAAA,CAAAT,OAAA,wBACA,IAAAU,MAAA,CAAAV,OAAA,qBACA,IAAAW,eAAA,CAAAX,OAAA,8BACA,IAAAY,SAAA,CAAAZ,OAAA,wBACA,IAAAa,YAAA,CAAAb,OAAA,2BACA,IAAAc,QAAA,CAAAd,OAAA,uBACA,IAAAe,kBAAA,CAAAf,OAAA,iCACA,IAAAgB,eAAA,CAAAhB,OAAA,8BACA,IAAAiB,YAAA,CAAAjB,OAAA,2BACA,IAAAkB,gBAAA,CAAAlB,OAAA,2CACA,IAAAmB,YAAA,CAAAnB,OAAA,4BACA,IAAAoB,OAAA,CAAApB,OAAA,yBACA,IAAAqB,WAAA,CAAArB,OAAA,2BACA,IAAAsB,aAAA,CAAAtB,OAAA,4BACA,IAAAuB,SAAA,CAAAvB,OAAA,yBACA,IAAAwB,gBAAA,CAAAxB,OAAA,gCACA,IAAAyB,aAAA,CAAAzB,OAAA,4BACA,IAAA0B,YAAA,CAAA1B,OAAA,6CACA,IAA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,CAAAwF,OAAA,CAAAC,aAAA,CAACJ,KAAK,CAACe,MAAM,EAACC,IAAI,CAAE5D,WAAW,CAACyC,YAAa,CAACoB,SAAS,CAAEpB,0BAAa,CAAAa,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAzD,YAAA,CAAA0D,UAAA,KAAAC,YAAA,IAAE,CAAC,CACzEnG,MAAA,CAAAwF,OAAA,CAAAC,aAAA,CAACJ,KAAK,CAACe,MAAM,EACXC,IAAI,CAAE5D,WAAW,CAAC0C,eAAgB,CAClCmB,SAAS,CAAEnB,gCAAgB,CAAAY,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAAzD,YAAA,CAAA0D,UAAA,KAAAC,YAAA,IAC5B,CACc,CAAC,CAEtB,CAEA,GAAM,CAAAK,UAAU,CAAG,CAAC,SAAS,CAAC,CACvB,GAAM,CAAAC,OAAO,CAAG,QAAV,CAAAA,OAAOA,CAAIC,SAAiB,QAAK,CAAAF,UAAU,CAACG,QAAQ,CAACD,SAAS,CAAC,GAACtB,OAAA,CAAAqB,OAAA,CAAAA,OAAA"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_nativeStack","_screens","_otp","_nationalID","_selfie","_camera","_TermScreen","_liveness","_eSign","_nationalIDBack","_contract","_uploadVideo","_qualify","_loginWithPassword","_forgotPassword","_setPassword","_confirmPassword","_quickSubmit","_select","_fullSubmit","_introduction","_cimbSign","_schedulePayment","_notification","_paymentList","_CIMBxTima","_QuickTerm","_PaymentInfo","_selfie2","_paymentEvidence","_guideTransferBank","_TransferDetail","_ViewContract","_ConfirmContract","_PaymentAll","_detailLoan","_Guideline","_jsxFileName","ScreenNames","Splash","Main","Support","Compare","OTP","NationalID","Selfie","RegisterMotor","Register","Camera","Terms","LiveNess","ESign","NationalIDBack","Contract","Video","Qualify","LoginWithPassword","ForgotPassword","SetPassword","ConfirmPassword","TopUp","QuickSubmit","Introduction","FullSubmit","CommonSelect","UpdateLoan","CIMBSign","SchedulePayment","Notification","PaymentList","CIMBxTima","QuickTerm","DetailLoan","PaymentInfo","CimbSelfie","PaymentEvidence","GuideTransferBank","TransferDetail","PaymentAll","ViewContract","ConfirmContract","Guideline","exports","Stack","createNativeStackNavigator","PrimaryNavigator","default","createElement","Navigator","initialRouteName","screenOptions","headerShown","gestureEnabled","__self","__source","fileName","lineNumber","columnNumber","Screen","name","component","TermScreen","exitRoutes","canExit","routeName","includes"],"sourceRoot":"../../../src","sources":["navigation/primary-navigator.tsx"],"mappings":"iOAOA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WAEA,IAAAC,YAAA,CAAAD,OAAA,sCACA,IAAAE,QAAA,CAAAF,OAAA,eACA,IAAAG,IAAA,CAAAH,OAAA,mBACA,IAAAI,WAAA,CAAAJ,OAAA,0BACA,IAAAK,OAAA,CAAAL,OAAA,sBAEA,IAAAM,OAAA,CAAAN,OAAA,sBACA,IAAAO,WAAA,CAAAP,OAAA,gCACA,IAAAQ,SAAA,CAAAR,OAAA,wBACA,IAAAS,MAAA,CAAAT,OAAA,qBACA,IAAAU,eAAA,CAAAV,OAAA,8BACA,IAAAW,SAAA,CAAAX,OAAA,wBACA,IAAAY,YAAA,CAAAZ,OAAA,2BACA,IAAAa,QAAA,CAAAb,OAAA,uBACA,IAAAc,kBAAA,CAAAd,OAAA,iCACA,IAAAe,eAAA,CAAAf,OAAA,8BACA,IAAAgB,YAAA,CAAAhB,OAAA,2BACA,IAAAiB,gBAAA,CAAAjB,OAAA,2CACA,IAAAkB,YAAA,CAAAlB,OAAA,4BACA,IAAAmB,OAAA,CAAAnB,OAAA,yBACA,IAAAoB,WAAA,CAAApB,OAAA,2BACA,IAAAqB,aAAA,CAAArB,OAAA,4BACA,IAAAsB,SAAA,CAAAtB,OAAA,yBACA,IAAAuB,gBAAA,CAAAvB,OAAA,gCACA,IAAAwB,aAAA,CAAAxB,OAAA,4BACA,IAAAyB,YAAA,CAAAzB,OAAA,6CACA,IAAA0B,UAAA,CAAA1B,OAAA,8BACA,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A2D,UAAA,KAAAC,YAAA,IAAE,CAAC,CACrEpG,MAAA,CAAAyF,OAAA,CAAAC,aAAA,CAACJ,KAAK,CAACe,MAAM,EAACC,IAAI,CAAE7D,WAAW,CAACyC,YAAa,CAACqB,SAAS,CAAErB,0BAAa,CAAAc,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAA1D,YAAA,CAAA2D,UAAA,KAAAC,YAAA,IAAE,CAAC,CACzEpG,MAAA,CAAAyF,OAAA,CAAAC,aAAA,CAACJ,KAAK,CAACe,MAAM,EACXC,IAAI,CAAE7D,WAAW,CAAC0C,eAAgB,CAClCoB,SAAS,CAAEpB,gCAAgB,CAAAa,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAA1D,YAAA,CAAA2D,UAAA,KAAAC,YAAA,IAC5B,CAAC,CACFpG,MAAA,CAAAyF,OAAA,CAAAC,aAAA,CAACJ,KAAK,CAACe,MAAM,EAACC,IAAI,CAAE7D,WAAW,CAAC2C,SAAU,CAACmB,SAAS,CAAEnB,kBAAU,CAAAY,MAAA,MAAAC,QAAA,EAAAC,QAAA,CAAA1D,YAAA,CAAA2D,UAAA,KAAAC,YAAA,IAAE,CACnD,CAAC,CAEtB,CAEA,GAAM,CAAAK,UAAU,CAAG,CAAC,SAAS,CAAC,CACvB,GAAM,CAAAC,OAAO,CAAG,QAAV,CAAAA,OAAOA,CAAIC,SAAiB,QAAK,CAAAF,UAAU,CAACG,QAAQ,CAACD,SAAS,CAAC,GAACtB,OAAA,CAAAqB,OAAA,CAAAA,OAAA"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Home=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _CommonStyles=require("../CommonStyles");var _MText=require("../../components/MText");var _theme=require("../../theme");var _utils=require("../../utils");var _Store=_interopRequireDefault(require("./Store"));var _navigation=require("../../navigation");var _icons=require("../../assets/icons");var _reactNativeGeolocationService=_interopRequireDefault(require("react-native-geolocation-service"));var _store=_interopRequireDefault(require("../full-submit/store"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _store2=_interopRequireDefault(require("../notification/store"));var _reactNativePermissions=require("react-native-permissions");var _AppStore=_interopRequireDefault(require("../../AppStore"));var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/home/index.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}var listBanners=[require('../../assets/img/banner1.png'),require('../../assets/img/banner2.png')];var Home=(0,_mobxReactLite.observer)(function Home(){var _homeStore$listLoanPe,_homeStore$listLoanPe2,_homeStore$listLoanPe3,_homeStore$listLoanPe4,_homeStore$listLoanPe5,_homeStore$listLoanPe6,_homeStore$listLoanPe7,_homeStore$listLoanPe8,_homeStore$listLoanPe9,_homeStore$listLoanPe11,_homeStore$listLoanPe14,_homeStore$listLoanPe15,_homeStore$listLoanPe17,_homeStore$listLoanPe18,_homeStore$listLoanPe19,_homeStore$listLoanPe20,_homeStore$listLoanPe21,_homeStore$listLoanPe22,_homeStore$listLoanPe23,_homeStore$listLoanPe24,_homeStore$listLoanPe25,_homeStore$listLoanPe26,_this=this,_homeStore$listLoanPe27;var navigation=(0,_native.useNavigation)();var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),showModal=_useState2[0],setShowModal=_useState2[1];var onRefresh=function onRefresh(){_store2.default.getNotification();_Store.default.getListLoan();_Store.default.getListLoanPending(function(loan){_Store.default.getCheckEKYC({loanBriefId:loan.id});if(loan.messageErrorCIMB!==''&&loan!=null&&loan.messageErrorCIMB){setShowModal(true);}});};(0,_react.useEffect)(function(){onRefresh();},[]);(0,_react.useEffect)(function(){_store.default.getTypeMerried();_store.default.getListBank();},[]);(0,_react.useEffect)(function(){return navigation.addListener('focus',function(){onRefresh();});},[navigation]);var signLoan=function signLoan(loan){_Store.default.checkValidateESign({loanBriefId:loan.id},function(){_reactNative.Alert.alert('Thông báo','Bạn có đồng ý ký hợp đồng không?',[{text:'Huỷ bỏ'},{text:'Đồng ý',onPress:function onPress(){return navigation.push(_navigation.ScreenNames.ESign,{loan:loan,reLoan:true});}}]);});};var requestPermissions=function requestPermissions(){(0,_reactNativePermissions.request)(_reactNative.Platform.OS==='android'?_reactNativePermissions.PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION:_reactNativePermissions.PERMISSIONS.IOS.LOCATION_WHEN_IN_USE).then(function(result){switch(result){case _reactNativePermissions.RESULTS.UNAVAILABLE:console.log('This feature is not available (on this device / in this context)');_reactNative.Alert.alert('Thông báo','Máy ảnh trên thiết bị không tương thích.\nVui lòng kiểm tra lại thiết bị!',[{text:'Đồng ý'}]);break;case _reactNativePermissions.RESULTS.DENIED:console.log('The permission has not been requested / is denied but requestable');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.LIMITED:console.log('The permission is limited: some actions are possible');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.GRANTED:console.log('The permission is granted');break;case _reactNativePermissions.RESULTS.BLOCKED:console.log('The permission is denied and not requestable anymore');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{(0,_reactNativePermissions.openSettings)();}}}]);break;}});};var getLocation=function getLocation(){_reactNativeGeolocationService.default.getCurrentPosition(function(position){_AppStore.default.lat=position.coords.latitude;_AppStore.default.long=position.coords.longitude;},function(error){console.log(error.code,error.message);requestPermissions();},{enableHighAccuracy:true,timeout:15000,maximumAge:10000});};(0,_react.useEffect)(function(){return navigation.addListener('state',function(){getLocation();});},[navigation]);return _react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,{zIndex:1,backgroundColor:'#FFFFFF'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:254,columnNumber:5}},_Store.default.isLoading?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:258,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:261,columnNumber:11}})):_react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_reactNative.ScrollView,{refreshControl:_react.default.createElement(_reactNative.RefreshControl,{refreshing:_Store.default.isLoading,onRefresh:onRefresh,__self:this,__source:{fileName:_jsxFileName,lineNumber:325,columnNumber:15}}),style:{flex:1,marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:323,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,{backgroundColor:'white',padding:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:341,columnNumber:13}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:347,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'bold',marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:348,columnNumber:17}},"Danh s\xE1ch \u0111\u01A1n m\u1EDBi"),!_Store.default.listLoanPending?_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:20},__self:this,__source:{fileName:_jsxFileName,lineNumber:354,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:this,__source:{fileName:_jsxFileName,lineNumber:355,columnNumber:21}},"Kh\xF4ng c\xF3 \u0111\u01A1n vay")):_react.default.createElement(_react.default.Fragment,null,_Store.default.listLoanPending&&(_homeStore$listLoanPe=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe.isPipelineCIMB?_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:363,columnNumber:23}},((_homeStore$listLoanPe2=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe2.loanStatus)!==null&&((_homeStore$listLoanPe3=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe3.loanStatus)!==''?_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,paddingTop:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:366,columnNumber:27}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:376,columnNumber:29}},_react.default.createElement(_icons.Contract,{__self:this,__source:{fileName:_jsxFileName,lineNumber:382,columnNumber:31}}),_react.default.createElement(_reactNative.View,{style:{flex:1,paddingLeft:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:383,columnNumber:31}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:this,__source:{fileName:_jsxFileName,lineNumber:384,columnNumber:33}},"M\xE3 \u0110\u01A1n vay-",(_homeStore$listLoanPe4=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe4.id),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:387,columnNumber:33}},"S\u1ED1 ti\u1EC1n vay (VND):",' ',(_homeStore$listLoanPe5=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe5.loanAmountOffer?(0,_utils.formatMoney)((_homeStore$listLoanPe6=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe6.loanAmountOffer):'Chưa xác định'))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:398,columnNumber:29}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:405,columnNumber:29}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:411,columnNumber:31}},"Tr\u1EA1ng th\xE1i"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#F05123'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:414,columnNumber:31}},_Store.default==null?void 0:(_homeStore$listLoanPe7=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe7.loanStatus)),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:423,columnNumber:29}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__self:this,__source:{fileName:_jsxFileName,lineNumber:430,columnNumber:29}},_Store.default!=null&&(_homeStore$listLoanPe8=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe8.isUpdateLoan||_Store.default!=null&&(_homeStore$listLoanPe9=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe9.isUpdateInformation?_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center'},onPress:function onPress(){var _homeStore$listLoanPe10;if((_homeStore$listLoanPe10=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe10.isUpdateLoan){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CimbSelfie,{loan:_Store.default.listLoanPending}));}else{navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.QuickSubmit,{loan:_Store.default.listLoanPending}));}},__self:this,__source:{fileName:_jsxFileName,lineNumber:434,columnNumber:33}},_react.default.createElement(_icons.AddInfo,{__self:this,__source:{fileName:_jsxFileName,lineNumber:460,columnNumber:35}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:461,columnNumber:35}},"Ho\xE0n thi\u1EC7n",'\n',"cung c\u1EA5p th\xF4ng tin")):_react.default.createElement(_reactNative.View,{style:{alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:476,columnNumber:33}},_react.default.createElement(_icons.AddInfoDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:477,columnNumber:35}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:478,columnNumber:35}},"Ho\xE0n thi\u1EC7n",'\n',"cung c\u1EA5p th\xF4ng tin")),((_homeStore$listLoanPe11=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe11.isSignContract)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){var _homeStore$listLoanPe12;if((_homeStore$listLoanPe12=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe12.urlSignContract){var _homeStore$listLoanPe13;navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CIMBSign,{url:(_homeStore$listLoanPe13=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe13.urlSignContract}));}else{_reactNative.Alert.alert('Thông báo','Bạn chưa thể ký hợp đồng bây giờ?');}},__self:this,__source:{fileName:_jsxFileName,lineNumber:494,columnNumber:33}},_react.default.createElement(_icons.IconSign2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:520,columnNumber:35}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:521,columnNumber:35}},"K\xFD h\u1EE3p \u0111\u1ED3ng")),((_homeStore$listLoanPe14=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe14.isSignContractTima)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.ViewContract,{loan:_Store.default.listLoanPending}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:537,columnNumber:33}},_react.default.createElement(_icons.ContractTimeIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:553,columnNumber:35}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:554,columnNumber:35}},"H\u1EE3p \u0111\u1ED3ng",'\n',"d\u1ECBch v\u1EE5")),((_homeStore$listLoanPe15=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe15.paymentEvidenceUrl)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){var _homeStore$listLoanPe16;navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.PaymentEvidence,{url:(_homeStore$listLoanPe16=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe16.paymentEvidenceUrl}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:571,columnNumber:33}},_react.default.createElement(_icons.IconEviden,{__self:this,__source:{fileName:_jsxFileName,lineNumber:588,columnNumber:35}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:589,columnNumber:35}},"M\u1EE5c \u0111\xEDch ",'\n',"s\u1EED d\u1EE5ng")),((_homeStore$listLoanPe17=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe17.showPaymentPlan)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.SchedulePayment,{loan:_Store.default.listLoanPending}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:605,columnNumber:33}},_react.default.createElement(_icons.IconSchedule,{__self:this,__source:{fileName:_jsxFileName,lineNumber:621,columnNumber:35}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:622,columnNumber:35}},"L\u1ECBch d\u1EF1 ki\u1EBFn"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',backgroundColor:'#FBEFE7',marginHorizontal:-16,paddingVertical:8,marginTop:16,borderBottomRightRadius:8,borderBottomLeftRadius:8,paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:637,columnNumber:29}},_react.default.createElement(_icons.Info,{__self:this,__source:{fileName:_jsxFileName,lineNumber:650,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[{fontWeight:'300',fontSize:10,fontStyle:'italic',color:'#333333',marginLeft:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:651,columnNumber:31}},(_homeStore$listLoanPe18=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe18.suggestion?(_homeStore$listLoanPe19=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe19.suggestion:'Thực hiện đầy đủ các bước để giải ngân nhanh nhất'))):_react.default.createElement(_reactNative.ImageBackground,{source:require('../../assets/img/bann.png'),style:{flex:1,padding:16},resizeMode:"cover",height:220,borderRadius:8,__self:this,__source:{fileName:_jsxFileName,lineNumber:745,columnNumber:27}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontWeight:'bold',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:752,columnNumber:29}},"B\u1EA0N \u0110\u1EE6 \u0110I\u1EC0U KI\u1EC6N VAY TI\xCAU D\xD9NG",'\n',"THEO TH\xD4NG TIN T\xC0I S\u1EA2N S\u1EDE H\u1EEEU",'\n',"(XE M\xC1Y/ \xD4 T\xD4)"),_react.default.createElement(_MText.MText,{style:{marginTop:12,fontSize:24,fontWeight:'bold',color:'#EF4123'},__self:this,__source:{fileName:_jsxFileName,lineNumber:764,columnNumber:29}},(0,_utils.formatMoney)((_homeStore$listLoanPe20=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe20.loanAmount),' ',"VND"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CIMBxTima,{loan:_Store.default.listLoanPending}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:777,columnNumber:29}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:{backgroundColor:'#F36D21cd ',marginTop:12,alignItems:'center',borderRadius:30,paddingVertical:10,width:'50%'},__self:this,__source:{fileName:_jsxFileName,lineNumber:786,columnNumber:31}},_react.default.createElement(_MText.MText,{style:{color:'#FFFFFF',fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:797,columnNumber:33}},"Ho\xE0n thi\u1EC7n h\u1ED3 s\u01A1"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',alignContent:'center',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:807,columnNumber:29}},_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:815,columnNumber:31}},"S\u1EA2N PH\u1EA8M VAY TI\xCAU D\xD9NG H\u1EE2P T\xC1C GI\u1EEEA",' '),_react.default.createElement(_icons.LogoSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:818,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:31}},' ',"V\xC0",' '),_react.default.createElement(_icons.CIMBSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:823,columnNumber:31}})))):_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,paddingTop:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:829,columnNumber:23}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:839,columnNumber:25}},_react.default.createElement(_icons.Contract,{__self:this,__source:{fileName:_jsxFileName,lineNumber:842,columnNumber:27}}),_react.default.createElement(_reactNative.View,{style:{flex:1,paddingLeft:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:843,columnNumber:27}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:this,__source:{fileName:_jsxFileName,lineNumber:844,columnNumber:29}},"\u0110\u01A1n vay ",(_homeStore$listLoanPe21=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe21.id),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:847,columnNumber:29}},"S\u1ED1 ti\u1EC1n vay (VND):",' ',(_homeStore$listLoanPe22=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe22.loanAmount?(0,_utils.formatMoney)((_homeStore$listLoanPe23=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe23.loanAmount):'Chưa xác định'))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:857,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:864,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:870,columnNumber:27}},"Tr\u1EA1ng th\xE1i"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#F05123'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:873,columnNumber:27}},_Store.default==null?void 0:(_homeStore$listLoanPe24=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe24.loanStatus)),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:882,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__self:this,__source:{fileName:_jsxFileName,lineNumber:889,columnNumber:25}},!_Store.default.checkEKYC[(_homeStore$listLoanPe25=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe25.id]?_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center'},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.NationalID,{loan:_Store.default.listLoanPending,reLoan:true}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:893,columnNumber:29}},_react.default.createElement(_icons.AddInfo,{__self:this,__source:{fileName:_jsxFileName,lineNumber:904,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:905,columnNumber:31}},"EKYC")):_react.default.createElement(_reactNative.View,{style:{alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:919,columnNumber:29}},_react.default.createElement(_icons.AddInfoDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:920,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:921,columnNumber:31}},"EKYC")),_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.Video,{loan:_Store.default.listLoanPending}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:936,columnNumber:27}},_react.default.createElement(_icons.IconVideo,{__self:this,__source:{fileName:_jsxFileName,lineNumber:946,columnNumber:29}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:947,columnNumber:29}},"Quay video")),_Store.default.checkEKYC[(_homeStore$listLoanPe26=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe26.id]?_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){signLoan(_Store.default.listLoanPending);},__self:this,__source:{fileName:_jsxFileName,lineNumber:964,columnNumber:29}},_react.default.createElement(_icons.IconSign2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:970,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:971,columnNumber:31}},"K\xFD H\u0110")):_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginLeft:20},__self:this,__source:{fileName:_jsxFileName,lineNumber:985,columnNumber:29}},_react.default.createElement(_icons.SignDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:988,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:989,columnNumber:31}},"K\xFD H\u0110"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',backgroundColor:'#FBEFE7',marginHorizontal:-16,paddingVertical:8,marginTop:16,borderBottomRightRadius:8,borderBottomLeftRadius:8,paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:1004,columnNumber:25}},_react.default.createElement(_icons.Info,{__self:this,__source:{fileName:_jsxFileName,lineNumber:1017,columnNumber:27}}),_react.default.createElement(_MText.MText,{style:[{fontWeight:'300',fontSize:12,fontStyle:'italic',color:'#333333',marginLeft:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:1018,columnNumber:27}},"Th\u1EF1c hi\u1EC7n \u0111\u1EA7y \u0111\u1EE7 c\xE1c b\u01B0\u1EDBc \u0111\u1EC3 gi\u1EA3i ng\xE2n nhanh nh\u1EA5t"))))),_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:1037,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'bold',marginBottom:16,marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:1038,columnNumber:17}},"Danh s\xE1ch \u0111\u01A1n \u0111ang vay"),_Store.default.listLoan&&_Store.default.listLoan.length===0&&_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:20},__self:this,__source:{fileName:_jsxFileName,lineNumber:1049,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:this,__source:{fileName:_jsxFileName,lineNumber:1050,columnNumber:21}},"Kh\xF4ng c\xF3 \u0111\u01A1n vay")),(_Store.default==null?void 0:_Store.default.listLoan)&&(_Store.default==null?void 0:_Store.default.listLoan.map(function(loan,index){return _react.default.createElement(_reactNative.View,{key:index,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1057,columnNumber:21}},_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(loan==null?void 0:loan.disbursementPartner)==='CIMB'?false:true,style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,paddingTop:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0',marginBottom:16},onPress:function onPress(){if((loan==null?void 0:loan.disbursementPartner)==='CIMB'){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.DetailLoan,{loan:loan}));}},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1058,columnNumber:23}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1081,columnNumber:25}},_react.default.createElement(_icons.ContractActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1084,columnNumber:27}}),_react.default.createElement(_reactNative.View,{style:{flex:1,paddingLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1085,columnNumber:27}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1086,columnNumber:29}},"\u0110\u01A1n vay-",loan==null?void 0:loan.id),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1089,columnNumber:29}},"S\u1ED1 ti\u1EC1n vay (VND): ",(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount)))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#E0E0E0',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1094,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1101,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1107,columnNumber:27}},"Ng\xE0y gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1110,columnNumber:27}},(0,_utils.formatDDMMYYY)(loan==null?void 0:loan.disbursementAt))),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1114,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1121,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1127,columnNumber:27}},"Ng\xE0y k\u1EBFt th\xFAc kho\u1EA3n vay"),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1130,columnNumber:27}},(0,_utils.formatDDMMYYY)(loan==null?void 0:loan.finishAt))),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1134,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1141,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1147,columnNumber:27}},"Ng\xE0y \u0111\u1EBFn h\u1EA1n ti\u1EBFp theo"),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1150,columnNumber:27}},(0,_utils.formatDDMMYYY)(loan==null?void 0:loan.nextDate))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',backgroundColor:'#EAF5E4',marginHorizontal:-16,paddingVertical:8,marginTop:16,borderBottomRightRadius:8,borderBottomLeftRadius:8,paddingHorizontal:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1154,columnNumber:25}},_react.default.createElement(_icons.Info,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1167,columnNumber:27}}),_react.default.createElement(_MText.MText,{style:[{fontWeight:'300',fontSize:12,fontStyle:'italic',color:'#333333',marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1168,columnNumber:27}},"Th\u1EDDi gian t\u1EA5t to\xE1n c\xF2n l\u1EA1i l\xE0",' ',(0,_utils.diffDays)(new Date(),loan==null?void 0:loan.finishAt)," ng\xE0y"))));})))))),_react.default.createElement(_reactNativeModal.default,{isVisible:showModal,onDismiss:function onDismiss(){return setShowModal(false);},onBackdropPress:function onBackdropPress(){return setShowModal(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:1191,columnNumber:7}},_react.default.createElement(_reactNative.SafeAreaView,{style:{backgroundColor:'#FFFFFF',borderRadius:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:1196,columnNumber:9}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:1197,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#F36D21','#EF4123'],style:{alignItems:'center',paddingVertical:16,borderTopLeftRadius:6,borderTopRightRadius:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:1198,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16,color:'white'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:1207,columnNumber:15}},"Th\xF4ng b\xE1o m\u1EDBi!")),_react.default.createElement(_reactNative.View,{style:{padding:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:1216,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:1217,columnNumber:15}},_Store.default==null?void 0:(_homeStore$listLoanPe27=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe27.messageErrorCIMB))))));});exports.Home=Home;
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.Home=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _CommonStyles=require("../CommonStyles");var _MText=require("../../components/MText");var _theme=require("../../theme");var _utils=require("../../utils");var _Store=_interopRequireDefault(require("./Store"));var _navigation=require("../../navigation");var _icons=require("../../assets/icons");var _reactNativeGeolocationService=_interopRequireDefault(require("react-native-geolocation-service"));var _store=_interopRequireDefault(require("../full-submit/store"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _reactNativePermissions=require("react-native-permissions");var _AppStore=_interopRequireDefault(require("../../AppStore"));var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _jsxFileName="/Users/quangduc/Documents/Tima/tima-care-v2/src/screens/home/index.tsx";function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap();var cacheNodeInterop=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj;}if(obj===null||typeof obj!=="object"&&typeof obj!=="function"){return{default:obj};}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj);}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}newObj.default=obj;if(cache){cache.set(obj,newObj);}return newObj;}var listBanners=[require('../../assets/img/banner1.png'),require('../../assets/img/banner2.png')];var Home=(0,_mobxReactLite.observer)(function Home(){var _homeStore$listLoanPe,_homeStore$listLoanPe2,_homeStore$listLoanPe3,_homeStore$listLoanPe4,_homeStore$listLoanPe5,_homeStore$listLoanPe6,_homeStore$listLoanPe7,_homeStore$listLoanPe11,_homeStore$listLoanPe14,_homeStore$listLoanPe15,_homeStore$listLoanPe17,_homeStore$listLoanPe18,_homeStore$listLoanPe19,_homeStore$listLoanPe20,_homeStore$listLoanPe21,_homeStore$listLoanPe22,_homeStore$listLoanPe23,_homeStore$listLoanPe24,_homeStore$listLoanPe25,_this=this,_homeStore$listLoanPe26;var navigation=(0,_native.useNavigation)();var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),showModal=_useState2[0],setShowModal=_useState2[1];var onRefresh=function onRefresh(){_Store.default.getListLoan();_Store.default.getListLoanPending(function(loan){_Store.default.getCheckEKYC({loanBriefId:loan.id});if(loan.messageErrorCIMB!==''&&loan!=null&&loan.messageErrorCIMB){setShowModal(true);}});};(0,_react.useEffect)(function(){onRefresh();},[]);(0,_react.useEffect)(function(){_store.default.getTypeMerried();_store.default.getListBank();},[]);(0,_react.useEffect)(function(){return navigation.addListener('focus',function(){onRefresh();});},[navigation]);var signLoan=function signLoan(loan){_Store.default.checkValidateESign({loanBriefId:loan.id},function(){_reactNative.Alert.alert('Thông báo','Bạn có đồng ý ký hợp đồng không?',[{text:'Huỷ bỏ'},{text:'Đồng ý',onPress:function onPress(){return navigation.push(_navigation.ScreenNames.ESign,{loan:loan,reLoan:true});}}]);});};var requestPermissions=function requestPermissions(){(0,_reactNativePermissions.request)(_reactNative.Platform.OS==='android'?_reactNativePermissions.PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION:_reactNativePermissions.PERMISSIONS.IOS.LOCATION_WHEN_IN_USE).then(function(result){switch(result){case _reactNativePermissions.RESULTS.UNAVAILABLE:console.log('This feature is not available (on this device / in this context)');_reactNative.Alert.alert('Thông báo','Máy ảnh trên thiết bị không tương thích.\nVui lòng kiểm tra lại thiết bị!',[{text:'Đồng ý'}]);break;case _reactNativePermissions.RESULTS.DENIED:console.log('The permission has not been requested / is denied but requestable');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.LIMITED:console.log('The permission is limited: some actions are possible');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{requestPermissions();}}}]);break;case _reactNativePermissions.RESULTS.GRANTED:console.log('The permission is granted');break;case _reactNativePermissions.RESULTS.BLOCKED:console.log('The permission is denied and not requestable anymore');_reactNative.Alert.alert('Thông báo','Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',[{text:'Đồng ý',onPress:function onPress(){if(_reactNative.Platform.OS==='ios'){(0,_reactNativePermissions.openSettings)();}else{(0,_reactNativePermissions.openSettings)();}}}]);break;}});};var getLocation=function getLocation(){_reactNativeGeolocationService.default.getCurrentPosition(function(position){_AppStore.default.lat=position.coords.latitude;_AppStore.default.long=position.coords.longitude;},function(error){console.log(error.code,error.message);requestPermissions();},{enableHighAccuracy:true,timeout:15000,maximumAge:10000});};(0,_react.useEffect)(function(){return navigation.addListener('state',function(){getLocation();});},[navigation]);return _react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,{zIndex:1,backgroundColor:'#FFFFFF'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:215,columnNumber:5}},_react.default.createElement(_reactNative.StatusBar,{barStyle:'light-content',__self:this,__source:{fileName:_jsxFileName,lineNumber:218,columnNumber:7}}),_Store.default.isLoading?_react.default.createElement(_reactNative.View,{style:{flex:1,alignItems:'center',justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:220,columnNumber:9}},_react.default.createElement(_reactNative.ActivityIndicator,{size:'small',color:_theme.color.primary,__self:this,__source:{fileName:_jsxFileName,lineNumber:223,columnNumber:11}})):_react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_reactNative.SafeAreaView,{__self:this,__source:{fileName:_jsxFileName,lineNumber:227,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],__self:this,__source:{fileName:_jsxFileName,lineNumber:228,columnNumber:13}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',paddingHorizontal:16,paddingVertical:16,alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:229,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{fontWeight:'bold',color:'white',fontSize:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:238,columnNumber:17}},"Vay nhanh 24/7"),_react.default.createElement(_reactNative.TouchableOpacity,{style:{width:32,height:32,borderRadius:20,justifyContent:'center',alignItems:'center',borderWidth:1,borderColor:'white'},onPress:function onPress(){navigation.push(_navigation.ScreenNames.PaymentEvidence);},__self:this,__source:{fileName:_jsxFileName,lineNumber:247,columnNumber:17}},_react.default.createElement(_icons.CloseIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:261,columnNumber:19}}))))),_react.default.createElement(_reactNative.ScrollView,{refreshControl:_react.default.createElement(_reactNative.RefreshControl,{refreshing:_Store.default.isLoading,onRefresh:onRefresh,__self:this,__source:{fileName:_jsxFileName,lineNumber:268,columnNumber:15}}),style:{flex:1,marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:266,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:[_CommonStyles.commonStyles.fill,{backgroundColor:'white',padding:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:275,columnNumber:13}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:281,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'bold',marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:282,columnNumber:17}},"Danh s\xE1ch \u0111\u01A1n m\u1EDBi"),!_Store.default.listLoanPending?_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:20},__self:this,__source:{fileName:_jsxFileName,lineNumber:288,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:this,__source:{fileName:_jsxFileName,lineNumber:289,columnNumber:21}},"Kh\xF4ng c\xF3 \u0111\u01A1n vay")):_react.default.createElement(_react.default.Fragment,null,_Store.default.listLoanPending&&(_homeStore$listLoanPe=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe.isPipelineCIMB?_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,paddingTop:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:297,columnNumber:23}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:307,columnNumber:25}},_react.default.createElement(_icons.Contract,{__self:this,__source:{fileName:_jsxFileName,lineNumber:313,columnNumber:27}}),_react.default.createElement(_reactNative.View,{style:{flex:1,paddingLeft:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:314,columnNumber:27}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:this,__source:{fileName:_jsxFileName,lineNumber:315,columnNumber:29}},"M\xE3 \u0110\u01A1n vay-",(_homeStore$listLoanPe2=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe2.id),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:318,columnNumber:29}},"S\u1ED1 ti\u1EC1n vay (VND):",' ',(_homeStore$listLoanPe3=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe3.loanAmountOffer?(0,_utils.formatMoney)((_homeStore$listLoanPe4=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe4.loanAmountOffer):'Chưa xác định'))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:328,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:335,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:341,columnNumber:27}},"Tr\u1EA1ng th\xE1i"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#F05123'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:344,columnNumber:27}},_Store.default==null?void 0:(_homeStore$listLoanPe5=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe5.loanStatus)),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:353,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__self:this,__source:{fileName:_jsxFileName,lineNumber:360,columnNumber:25}},_Store.default!=null&&(_homeStore$listLoanPe6=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe6.isUpdateLoan||_Store.default!=null&&(_homeStore$listLoanPe7=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe7.isUpdateInformation?_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center'},onPress:function onPress(){var _homeStore$listLoanPe8,_homeStore$listLoanPe9,_homeStore$listLoanPe10;if(((_homeStore$listLoanPe8=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe8.loanStatus)===null||((_homeStore$listLoanPe9=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe9.loanStatus)===''){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CIMBxTima,{loan:_Store.default.listLoanPending}));}else if((_homeStore$listLoanPe10=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe10.isUpdateLoan){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CimbSelfie,{loan:_Store.default.listLoanPending}));}else{navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.QuickSubmit,{loan:_Store.default.listLoanPending}));}},__self:this,__source:{fileName:_jsxFileName,lineNumber:363,columnNumber:29}},_react.default.createElement(_icons.AddInfo,{__self:this,__source:{fileName:_jsxFileName,lineNumber:393,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:394,columnNumber:31}},"Ho\xE0n thi\u1EC7n",'\n',"cung c\u1EA5p th\xF4ng tin")):_react.default.createElement(_reactNative.View,{style:{alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:409,columnNumber:29}},_react.default.createElement(_icons.AddInfoDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:410,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:411,columnNumber:31}},"Ho\xE0n thi\u1EC7n",'\n',"cung c\u1EA5p th\xF4ng tin")),((_homeStore$listLoanPe11=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe11.isSignContract)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){var _homeStore$listLoanPe12;if((_homeStore$listLoanPe12=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe12.urlSignContract){var _homeStore$listLoanPe13;navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.CIMBSign,{url:(_homeStore$listLoanPe13=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe13.urlSignContract}));}else{_reactNative.Alert.alert('Thông báo','Bạn chưa thể ký hợp đồng bây giờ?');}},__self:this,__source:{fileName:_jsxFileName,lineNumber:427,columnNumber:29}},_react.default.createElement(_icons.IconSign2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:450,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:451,columnNumber:31}},"K\xFD h\u1EE3p \u0111\u1ED3ng")),((_homeStore$listLoanPe14=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe14.isSignContractTima)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.ViewContract,{loan:_Store.default.listLoanPending}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:466,columnNumber:29}},_react.default.createElement(_icons.ContractTimeIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:479,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:480,columnNumber:31}},"H\u1EE3p \u0111\u1ED3ng",'\n',"d\u1ECBch v\u1EE5")),((_homeStore$listLoanPe15=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe15.paymentEvidenceUrl)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){var _homeStore$listLoanPe16;navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.PaymentEvidence,{url:(_homeStore$listLoanPe16=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe16.paymentEvidenceUrl}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:496,columnNumber:29}},_react.default.createElement(_icons.IconEviden,{__self:this,__source:{fileName:_jsxFileName,lineNumber:513,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8,textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:514,columnNumber:31}},"M\u1EE5c \u0111\xEDch ",'\n',"s\u1EED d\u1EE5ng")),((_homeStore$listLoanPe17=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe17.showPaymentPlan)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.SchedulePayment,{loan:_Store.default.listLoanPending}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:530,columnNumber:29}},_react.default.createElement(_icons.IconSchedule,{__self:this,__source:{fileName:_jsxFileName,lineNumber:546,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:547,columnNumber:31}},"L\u1ECBch d\u1EF1 ki\u1EBFn"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',backgroundColor:'#FBEFE7',marginHorizontal:-16,paddingVertical:8,marginTop:16,borderBottomRightRadius:8,borderBottomLeftRadius:8,paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:562,columnNumber:25}},_react.default.createElement(_icons.Info,{__self:this,__source:{fileName:_jsxFileName,lineNumber:575,columnNumber:27}}),_react.default.createElement(_MText.MText,{style:[{fontWeight:'300',fontSize:10,fontStyle:'italic',color:'#333333',marginLeft:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:576,columnNumber:27}},(_homeStore$listLoanPe18=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe18.suggestion?(_homeStore$listLoanPe19=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe19.suggestion:'Thực hiện đầy đủ các bước để giải ngân nhanh nhất'))):_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,paddingTop:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:594,columnNumber:23}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:604,columnNumber:25}},_react.default.createElement(_icons.Contract,{__self:this,__source:{fileName:_jsxFileName,lineNumber:607,columnNumber:27}}),_react.default.createElement(_reactNative.View,{style:{flex:1,paddingLeft:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:608,columnNumber:27}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:this,__source:{fileName:_jsxFileName,lineNumber:609,columnNumber:29}},"\u0110\u01A1n vay ",(_homeStore$listLoanPe20=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe20.id),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:612,columnNumber:29}},"S\u1ED1 ti\u1EC1n vay (VND):",' ',(_homeStore$listLoanPe21=_Store.default.listLoanPending)!=null&&_homeStore$listLoanPe21.loanAmount?(0,_utils.formatMoney)((_homeStore$listLoanPe22=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe22.loanAmount):'Chưa xác định'))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:622,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:629,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:this,__source:{fileName:_jsxFileName,lineNumber:635,columnNumber:27}},"Tr\u1EA1ng th\xE1i"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{color:'#F05123'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:638,columnNumber:27}},_Store.default==null?void 0:(_homeStore$listLoanPe23=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe23.loanStatus)),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:647,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row'},__self:this,__source:{fileName:_jsxFileName,lineNumber:654,columnNumber:25}},!_Store.default.checkEKYC[(_homeStore$listLoanPe24=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe24.id]?_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center'},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.NationalID,{loan:_Store.default.listLoanPending,reLoan:true}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:658,columnNumber:29}},_react.default.createElement(_icons.AddInfo,{__self:this,__source:{fileName:_jsxFileName,lineNumber:669,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:670,columnNumber:31}},"EKYC")):_react.default.createElement(_reactNative.View,{style:{alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:684,columnNumber:29}},_react.default.createElement(_icons.AddInfoDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:685,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:686,columnNumber:31}},"EKYC")),_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.Video,{loan:_Store.default.listLoanPending}));},__self:this,__source:{fileName:_jsxFileName,lineNumber:701,columnNumber:27}},_react.default.createElement(_icons.IconVideo,{__self:this,__source:{fileName:_jsxFileName,lineNumber:711,columnNumber:29}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:712,columnNumber:29}},"Quay video")),_Store.default.checkEKYC[(_homeStore$listLoanPe25=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe25.id]?_react.default.createElement(_reactNative.TouchableOpacity,{style:{alignItems:'center',marginLeft:20},onPress:function onPress(){signLoan(_Store.default.listLoanPending);},__self:this,__source:{fileName:_jsxFileName,lineNumber:729,columnNumber:29}},_react.default.createElement(_icons.IconSign2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:735,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:736,columnNumber:31}},"K\xFD H\u0110")):_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginLeft:20},__self:this,__source:{fileName:_jsxFileName,lineNumber:750,columnNumber:29}},_react.default.createElement(_icons.SignDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:753,columnNumber:31}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,fontWeight:'300',marginTop:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:754,columnNumber:31}},"K\xFD H\u0110"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',backgroundColor:'#FBEFE7',marginHorizontal:-16,paddingVertical:8,marginTop:16,borderBottomRightRadius:8,borderBottomLeftRadius:8,paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:769,columnNumber:25}},_react.default.createElement(_icons.Info,{__self:this,__source:{fileName:_jsxFileName,lineNumber:782,columnNumber:27}}),_react.default.createElement(_MText.MText,{style:[{fontWeight:'300',fontSize:12,fontStyle:'italic',color:'#333333',marginLeft:8}],__self:this,__source:{fileName:_jsxFileName,lineNumber:783,columnNumber:27}},"Th\u1EF1c hi\u1EC7n \u0111\u1EA7y \u0111\u1EE7 c\xE1c b\u01B0\u1EDBc \u0111\u1EC3 gi\u1EA3i ng\xE2n nhanh nh\u1EA5t"))))),_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:802,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'bold',marginBottom:16,marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:803,columnNumber:17}},"Danh s\xE1ch \u0111\u01A1n \u0111ang vay"),_Store.default.listLoan&&_Store.default.listLoan.length===0&&_react.default.createElement(_reactNative.View,{style:{alignItems:'center',marginTop:20},__self:this,__source:{fileName:_jsxFileName,lineNumber:814,columnNumber:19}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal],__self:this,__source:{fileName:_jsxFileName,lineNumber:815,columnNumber:21}},"Kh\xF4ng c\xF3 \u0111\u01A1n vay")),(_Store.default==null?void 0:_Store.default.listLoan)&&(_Store.default==null?void 0:_Store.default.listLoan.map(function(loan,index){return _react.default.createElement(_reactNative.View,{key:index,__self:_this,__source:{fileName:_jsxFileName,lineNumber:822,columnNumber:21}},_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(loan==null?void 0:loan.disbursementPartner)==='CIMB'?false:true,style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,paddingTop:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0',marginBottom:16},onPress:function onPress(){if((loan==null?void 0:loan.disbursementPartner)==='CIMB'){navigation.dispatch(_native.StackActions.push(_navigation.ScreenNames.DetailLoan,{loan:loan}));}},__self:_this,__source:{fileName:_jsxFileName,lineNumber:823,columnNumber:23}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:846,columnNumber:25}},_react.default.createElement(_icons.ContractActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:849,columnNumber:27}}),_react.default.createElement(_reactNative.View,{style:{flex:1,paddingLeft:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:850,columnNumber:27}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:851,columnNumber:29}},"\u0110\u01A1n vay-",loan==null?void 0:loan.id),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:854,columnNumber:29}},"S\u1ED1 ti\u1EC1n vay (VND): ",(0,_utils.formatMoney)(loan==null?void 0:loan.loanAmount)))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#E0E0E0',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:859,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:866,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:872,columnNumber:27}},"Ng\xE0y gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:875,columnNumber:27}},(0,_utils.formatDDMMYYY)(loan==null?void 0:loan.disbursementAt))),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:879,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:886,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:892,columnNumber:27}},"Ng\xE0y k\u1EBFt th\xFAc kho\u1EA3n vay"),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:895,columnNumber:27}},(0,_utils.formatDDMMYYY)(loan==null?void 0:loan.finishAt))),_react.default.createElement(_reactNative.View,{style:{height:0.5,backgroundColor:'#E0E0E0',marginVertical:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:899,columnNumber:25}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:906,columnNumber:25}},_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormal,__self:_this,__source:{fileName:_jsxFileName,lineNumber:912,columnNumber:27}},"Ng\xE0y \u0111\u1EBFn h\u1EA1n ti\u1EBFp theo"),_react.default.createElement(_MText.MText,{style:_CommonStyles.commonStyles.textNormalBold,__self:_this,__source:{fileName:_jsxFileName,lineNumber:915,columnNumber:27}},(0,_utils.formatDDMMYYY)(loan==null?void 0:loan.nextDate))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',backgroundColor:'#EAF5E4',marginHorizontal:-16,paddingVertical:8,marginTop:16,borderBottomRightRadius:8,borderBottomLeftRadius:8,paddingHorizontal:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:919,columnNumber:25}},_react.default.createElement(_icons.Info,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:932,columnNumber:27}}),_react.default.createElement(_MText.MText,{style:[{fontWeight:'300',fontSize:12,fontStyle:'italic',color:'#333333',marginLeft:8}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:933,columnNumber:27}},"Th\u1EDDi gian t\u1EA5t to\xE1n c\xF2n l\u1EA1i l\xE0",' ',(0,_utils.diffDays)(new Date(),loan==null?void 0:loan.finishAt)," ng\xE0y"))));})))))),_react.default.createElement(_reactNativeModal.default,{isVisible:showModal,onDismiss:function onDismiss(){return setShowModal(false);},onBackdropPress:function onBackdropPress(){return setShowModal(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:956,columnNumber:7}},_react.default.createElement(_reactNative.SafeAreaView,{style:{backgroundColor:'#FFFFFF',borderRadius:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:961,columnNumber:9}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:962,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#F36D21','#EF4123'],style:{alignItems:'center',paddingVertical:16,borderTopLeftRadius:6,borderTopRightRadius:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:963,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{fontSize:16,color:'white'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:972,columnNumber:15}},"Th\xF4ng b\xE1o m\u1EDBi!")),_react.default.createElement(_reactNative.View,{style:{padding:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:981,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:982,columnNumber:15}},_Store.default==null?void 0:(_homeStore$listLoanPe26=_Store.default.listLoanPending)==null?void 0:_homeStore$listLoanPe26.messageErrorCIMB))))));});exports.Home=Home;
2
2
  //# sourceMappingURL=index.js.map