react-native-timacare 3.3.32 → 3.3.34

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 (48) hide show
  1. package/lib/commonjs/screens/detail-loan/PaymentInfo.js +1 -1
  2. package/lib/commonjs/screens/detail-loan/PaymentInfo.js.flow +29 -0
  3. package/lib/commonjs/screens/detail-loan/PaymentInfo.js.map +1 -1
  4. package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
  5. package/lib/commonjs/screens/detail-loan/ShowQrCode.js.flow +29 -0
  6. package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
  7. package/lib/commonjs/screens/home/Store.js +1 -1
  8. package/lib/commonjs/screens/home/Store.js.flow +1 -1
  9. package/lib/commonjs/screens/home/Store.js.map +1 -1
  10. package/lib/commonjs/screens/home/index.js +1 -1
  11. package/lib/commonjs/screens/home/index.js.flow +33 -5
  12. package/lib/commonjs/screens/home/index.js.map +1 -1
  13. package/lib/commonjs/screens/liveness/index.js +1 -1
  14. package/lib/commonjs/screens/liveness/index.js.flow +4 -4
  15. package/lib/commonjs/screens/liveness/index.js.map +1 -1
  16. package/lib/commonjs/screens/liveness-v2/index.js +1 -1
  17. package/lib/commonjs/screens/liveness-v2/index.js.flow +5 -44
  18. package/lib/commonjs/screens/liveness-v2/index.js.map +1 -1
  19. package/lib/commonjs/services/api/api.js +1 -1
  20. package/lib/commonjs/services/api/api.js.flow +1537 -1046
  21. package/lib/commonjs/services/api/api.js.map +1 -1
  22. package/lib/module/screens/detail-loan/PaymentInfo.js +1 -1
  23. package/lib/module/screens/detail-loan/PaymentInfo.js.map +1 -1
  24. package/lib/module/screens/detail-loan/ShowQrCode.js +1 -1
  25. package/lib/module/screens/detail-loan/ShowQrCode.js.map +1 -1
  26. package/lib/module/screens/home/Store.js +1 -1
  27. package/lib/module/screens/home/Store.js.map +1 -1
  28. package/lib/module/screens/home/index.js +1 -1
  29. package/lib/module/screens/home/index.js.map +1 -1
  30. package/lib/module/screens/liveness/index.js +1 -1
  31. package/lib/module/screens/liveness/index.js.map +1 -1
  32. package/lib/module/screens/liveness-v2/index.js +1 -1
  33. package/lib/module/screens/liveness-v2/index.js.map +1 -1
  34. package/lib/module/services/api/api.js +1 -1
  35. package/lib/module/services/api/api.js.map +1 -1
  36. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  37. package/lib/typescript/screens/liveness/index.d.ts.map +1 -1
  38. package/lib/typescript/screens/liveness-v2/index.d.ts.map +1 -1
  39. package/lib/typescript/services/api/api.d.ts +34 -2
  40. package/lib/typescript/services/api/api.d.ts.map +1 -1
  41. package/package.json +1 -1
  42. package/src/screens/detail-loan/PaymentInfo.tsx +29 -0
  43. package/src/screens/detail-loan/ShowQrCode.tsx +29 -0
  44. package/src/screens/home/Store.tsx +1 -1
  45. package/src/screens/home/index.tsx +33 -5
  46. package/src/screens/liveness/index.tsx +4 -4
  47. package/src/screens/liveness-v2/index.tsx +5 -44
  48. package/src/services/api/api.ts +1537 -1046
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PaymentInfo=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _api=require("../../services/api");var _icons=require("../../assets/icons");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _MText=require("../../components/MText");var _utils=require("../../utils");var _CommonStyles=require("../CommonStyles");var _store=_interopRequireDefault(require("./store"));var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _reactNativeBlobUtil=_interopRequireDefault(require("react-native-blob-util"));var _cameraRoll=require("@react-native-camera-roll/camera-roll");var _moment=_interopRequireDefault(require("moment"));var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _rnTourguide=require("rn-tourguide");var _reactNativeSafeAreaContext=require("react-native-safe-area-context");var _storage=require("../../utils/storage");var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/detail-loan/PaymentInfo.tsx",_this=this;function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var logoView={position:'absolute',width:'100%',height:'100%',resizeMode:'cover'};var PaymentInfo=exports.PaymentInfo=(0,_mobxReactLite.observer)(function PaymentInfo(props){return _react.default.createElement(_rnTourguide.TourGuideProvider,{borderRadius:8,maskOffset:4,tooltipComponent:TransferContentTooltip,tooltipStyle:$tourTooltipPosition,backdropColor:"rgba(0, 0, 0, 0.35)",androidStatusBarVisible:true,verticalOffset:_reactNative.Platform.OS==='android'?_reactNative.StatusBar.currentHeight-25:0,__self:this,__source:{fileName:_jsxFileName,lineNumber:57,columnNumber:5}},_react.default.createElement(PaymentInfoContent,(0,_extends2.default)({},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:68,columnNumber:7}})));});var TransferContentTooltip=function TransferContentTooltip(_ref){var currentStep=_ref.currentStep,handleStop=_ref.handleStop;return _react.default.createElement(_reactNative.View,{style:$tourTooltip,__self:_this,__source:{fileName:_jsxFileName,lineNumber:75,columnNumber:5}},_react.default.createElement(_MText.MText,{style:$tourTooltipText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:76,columnNumber:7}},currentStep==null?void 0:currentStep.text),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:handleStop,style:$tourTooltipButton,__self:_this,__source:{fileName:_jsxFileName,lineNumber:77,columnNumber:7}},_react.default.createElement(_MText.MText,{style:$tourTooltipButtonText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:78,columnNumber:9}},"\u0110\u1ED3ng \xFD")),_react.default.createElement(_reactNative.View,{style:$tourTooltipArrow,__self:_this,__source:{fileName:_jsxFileName,lineNumber:80,columnNumber:7}}));};var PaymentInfoContent=(0,_mobxReactLite.observer)(function PaymentInfoContent(props){var _props$route,_props$route$params5,_props$route3,_props$route3$params;var insets=(0,_reactNativeSafeAreaContext.useSafeAreaInsets)();var navigation=(0,_native.useNavigation)();var scrollViewRef=(0,_react.useRef)(null);var transferContentRef=(0,_react.useRef)(null);var transferContentY=(0,_react.useRef)(0);var transferContentHeight=(0,_react.useRef)(0);var scrollViewHeight=(0,_react.useRef)(0);var scrollContentHeight=(0,_react.useRef)(0);var startGuideTimeout=(0,_react.useRef)();var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),shouldStartGuide=_useState2[0],setShouldStartGuide=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),isGuideRunning=_useState4[0],setIsGuideRunning=_useState4[1];var _useState5=(0,_react.useState)(),_useState6=(0,_slicedToArray2.default)(_useState5,2),data=_useState6[0],setData=_useState6[1];var _useState7=(0,_react.useState)(),_useState8=(0,_slicedToArray2.default)(_useState7,2),linkImage=_useState8[0],setLinkImage=_useState8[1];var _useState9=(0,_react.useState)(false),_useState0=(0,_slicedToArray2.default)(_useState9,2),isLoading=_useState0[0],setIsLoading=_useState0[1];var _useState1=(0,_react.useState)(false),_useState10=(0,_slicedToArray2.default)(_useState1,2),showGuide=_useState10[0],setShowGuide=_useState10[1];var _useTourGuideControll=(0,_rnTourguide.useTourGuideController)(),canStart=_useTourGuideControll.canStart,start=_useTourGuideControll.start,eventEmitter=_useTourGuideControll.eventEmitter;var getLinkQr=function getLinkQr(money){var _props$route$params,_props$route$params$l;setIsLoading(true);_api.Api.getInstance().getQrPayment({LoanBriefId:props==null?void 0:(_props$route$params=props.route.params)==null?void 0:(_props$route$params$l=_props$route$params.loan)==null?void 0:_props$route$params$l.id,TypeCloseLoan:props!=null&&props.route.params.isFull?1:0,Money:money}).then(function(response){setIsLoading(false);if(response.kind==='ok'){if(response.data.meta.errorCode===200){var _response$data,_response$data$data,_props$route$params2;setLinkImage((_response$data=response.data)==null?void 0:(_response$data$data=_response$data.data)==null?void 0:_response$data$data.fullPath);if(props!=null&&(_props$route$params2=props.route.params)!=null&&_props$route$params2.isFull){setShowGuide(true);}else{setShouldStartGuide(true);}}else{var _response$data2,_response$data2$meta;_reactNative.Alert.alert('Thông báo',response==null?void 0:(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');}}).catch(function(err){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');setIsLoading(false);});};var getData=function getData(){var _props$route$params3,_props$route$params3$;setIsLoading(true);_store.default.getPaymentInfo(props==null?void 0:(_props$route$params3=props.route.params)==null?void 0:(_props$route$params3$=_props$route$params3.loan)==null?void 0:_props$route$params3$.id,props!=null&&props.route.params.isFull?2:1,function(res){setData(res);getLinkQr(res==null?void 0:res.totalMoney);},function(){setIsLoading(false);});};(0,_react.useEffect)(function(){getData();},[]);(0,_react.useEffect)(function(){var handleStartGuide=function handleStartGuide(){return setIsGuideRunning(true);};var handleStopGuide=function handleStopGuide(){return setIsGuideRunning(false);};eventEmitter==null?void 0:eventEmitter.on('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.on('stop',handleStopGuide);return function(){eventEmitter==null?void 0:eventEmitter.off('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.off('stop',handleStopGuide);};},[eventEmitter]);var scrollToTransferContent=function scrollToTransferContent(){var _scrollViewRef$curren2,_transferContentRef$c;var scrollToY=function scrollToY(y){var _scrollViewRef$curren;var targetHeight=arguments.length>1&&arguments[1]!==undefined?arguments[1]:transferContentHeight.current;var viewportHeight=scrollViewHeight.current||_reactNative.Dimensions.get('window').height;var contentHeight=scrollContentHeight.current||viewportHeight;var maxScrollY=Math.max(contentHeight-viewportHeight,0);var minTopForTooltip=120;var bottomGap=80;var preferredTargetTop=Math.min(Math.max(viewportHeight*0.42,minTopForTooltip),Math.max(viewportHeight-targetHeight-bottomGap,minTopForTooltip));var nextScrollY=Math.min(Math.max(y-preferredTargetTop,0),maxScrollY);(_scrollViewRef$curren=scrollViewRef.current)==null?void 0:_scrollViewRef$curren.scrollTo({y:nextScrollY,animated:true});};var innerViewNode=(_scrollViewRef$curren2=scrollViewRef.current)==null?void 0:_scrollViewRef$curren2.getInnerViewNode==null?void 0:_scrollViewRef$curren2.getInnerViewNode();if(innerViewNode&&(_transferContentRef$c=transferContentRef.current)!=null&&_transferContentRef$c.measureLayout){transferContentRef.current.measureLayout(innerViewNode,function(_x,y,_width,height){return scrollToY(y,height);},function(){return scrollToY(transferContentY.current);});}else{scrollToY(transferContentY.current);}};var startGuide=function _callee(){var guide;return _regenerator.default.async(function(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=1;return _regenerator.default.awrap((0,_storage.load)('show_guide_qr_code'));case 1:guide=_context.sent;if(!guide){scrollToTransferContent();startGuideTimeout.current=setTimeout(function(){start(1);setShouldStartGuide(false);(0,_storage.save)('show_guide_qr_code','true');},450);}else{setShouldStartGuide(false);}case 2:case"end":return _context.stop();}},null,null,null,Promise);};(0,_react.useEffect)(function(){var _props$route$params4;if(!(props!=null&&(_props$route$params4=props.route.params)!=null&&_props$route$params4.isFull)&&shouldStartGuide&&canStart){startGuide();}return function(){if(startGuideTimeout.current){clearTimeout(startGuideTimeout.current);}};},[canStart,shouldStartGuide,start]);return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:235,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay tr\u1EF1c tuy\u1EBFn 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:236,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:237,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$header,__self:this,__source:{fileName:_jsxFileName,lineNumber:238,columnNumber:9}},_react.default.createElement(_reactNative.TouchableOpacity,{style:$backButton,onPress:function onPress(){return navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:11}},_react.default.createElement(_icons.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:243,columnNumber:13}})),_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:245,columnNumber:11}},props!=null&&props.route.params.isFull?'TẤT TOÁN HỢP ĐỒNG':'THANH TOÁN KỲ')),_react.default.createElement(_reactNative.ScrollView,{ref:scrollViewRef,scrollEnabled:!isGuideRunning,onLayout:function onLayout(event){scrollViewHeight.current=event.nativeEvent.layout.height;},onContentSizeChange:function onContentSizeChange(_width,height){scrollContentHeight.current=height;},style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:255,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{marginHorizontal:16,marginBottom:16,backgroundColor:'white',borderRadius:8,padding:16,shadowColor:'#000000',shadowOffset:{width:1,height:1},shadowOpacity:0.2},__self:this,__source:{fileName:_jsxFileName,lineNumber:266,columnNumber:11}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300',textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:281,columnNumber:13}},"\u0110\u1EC3 thanh to\xE1n h\u1EE3p \u0111\u1ED3ng, vui l\xF2ng chuy\u1EC3n kho\u1EA3n t\u1EDBi"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{textAlign:'center',marginTop:5}],__self:this,__source:{fileName:_jsxFileName,lineNumber:289,columnNumber:13}},data==null?void 0:data.vaBankName),_react.default.createElement(_reactNative.View,{style:{flexDirection:'column',justifyContent:'center',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:297,columnNumber:13}},_react.default.createElement(_reactNative.Image,{source:{uri:linkImage},style:{width:_reactNative.Dimensions.get('window').width-100,height:_reactNative.Dimensions.get('window').width-100,resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:304,columnNumber:15}}),_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:10,flexDirection:'row',alignItems:'center',gap:5,backgroundColor:'#FFF7F0',borderWidth:1,borderColor:'#EF592E',borderRadius:4,paddingHorizontal:8,paddingVertical:4},onPress:function _callee2(){return _regenerator.default.async(function(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_reactNativeBlobUtil.default.config({fileCache:true,appendExt:'png'}).fetch('GET',linkImage).then(function(res){_cameraRoll.CameraRoll.saveAsset(res.data,{type:'photo'}).then(function(){_reactNative.Alert.alert('Thông báo','Tải mã QR thành công');}).catch(function(error){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');console.log(error);});}).catch(function(error){console.log(error);_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');});case 1:case"end":return _context2.stop();}},null,null,null,Promise);},__self:this,__source:{fileName:_jsxFileName,lineNumber:314,columnNumber:15}},_react.default.createElement(_icons.IconDownload,{__self:this,__source:{fileName:_jsxFileName,lineNumber:355,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:{color:'rgba(51, 51, 51, 1)',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:356,columnNumber:17}},"T\u1EA3i m\xE3 QR"))),_react.default.createElement(_reactNative.View,{style:{height:1,marginVertical:16,backgroundColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:366,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:373,columnNumber:13}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:376,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:383,columnNumber:15}},data==null?void 0:data.vaAccount),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return copyToClipboard(data==null?void 0:data.vaAccount);},__self:this,__source:{fileName:_jsxFileName,lineNumber:393,columnNumber:15}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:396,columnNumber:17}}))),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300',marginTop:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:400,columnNumber:13}},"T\xEAn t\xE0i kho\u1EA3n th\u1EE5 h\u01B0\u1EDFng"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:408,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:415,columnNumber:15}},data==null?void 0:data.accountName)),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300',marginTop:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:426,columnNumber:13}},"S\u1ED1 ti\u1EC1n ph\u1EA3i tr\u1EA3"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:434,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:441,columnNumber:15}},' ',(0,_utils.formatMoney)(data==null?void 0:data.totalMoney)," VN\u0110 ",'\n',' ',_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:10,fontStyle:'italic'},__self:this,__source:{fileName:_jsxFileName,lineNumber:451,columnNumber:17}},"S\u1ED1 ti\u1EC1n \u0111\u01B0\u1EE3c t\xEDnh \u0111\u1EBFn ng\xE0y ",(0,_moment.default)().format('DD/MM/YYYY'))),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return copyToClipboard(String(data==null?void 0:data.totalMoney));},__self:this,__source:{fileName:_jsxFileName,lineNumber:461,columnNumber:15}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:464,columnNumber:17}}))),_react.default.createElement(_rnTourguide.TourGuideZone,{zone:1,text:'Để hệ thống ghi nhận chính xác khoản thanh toán, bạn đừng quên sao chép đúng nội dung chuyển khoản nhé!',tooltipBottomOffset:-45,style:$transferGuideZone,__self:this,__source:{fileName:_jsxFileName,lineNumber:468,columnNumber:13}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:476,columnNumber:15}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:477,columnNumber:17}},"N\u1ED9i dung chuy\u1EC3n kho\u1EA3n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#EB5757',fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:479,columnNumber:19}},"(B\u1EAFt bu\u1ED9c)")),_react.default.createElement(_reactNative.View,{ref:transferContentRef,onLayout:function onLayout(event){transferContentY.current=event.nativeEvent.layout.y;transferContentHeight.current=event.nativeEvent.layout.height;},style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:489,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:502,columnNumber:19}},props!=null&&(_props$route=props.route)!=null&&(_props$route$params5=_props$route.params)!=null&&_props$route$params5.isFull?"Tat toan TC"+(data==null?void 0:data.codeId):"TC"+(data==null?void 0:data.codeId)),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route2,_props$route2$params;return _reactNative.Clipboard.setString(props!=null&&(_props$route2=props.route)!=null&&(_props$route2$params=_props$route2.params)!=null&&_props$route2$params.isFull?"Tat toan TC"+(data==null?void 0:data.codeId):"TC"+(data==null?void 0:data.codeId));},__self:this,__source:{fileName:_jsxFileName,lineNumber:514,columnNumber:19}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:523,columnNumber:21}}))))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFF2F2',padding:10,borderRadius:8,marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:529,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,color:'#EB5757'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:537,columnNumber:15}},"*L\u01B0u \xFD:"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,marginTop:5}],__self:this,__source:{fileName:_jsxFileName,lineNumber:545,columnNumber:15}},"- Th\xF4ng tin t\xE0i kho\u1EA3n d\u1ECBch v\u1EE5 h\u1ED7 tr\u1EE3 thu h\u1ED9 cung c\u1EA5p b\u1EDFi GPay",' '),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,marginTop:5}],__self:this,__source:{fileName:_jsxFileName,lineNumber:553,columnNumber:15}},"- S\u1ED1 ti\u1EC1n thanh to\xE1n s\u1EBD \u0111\u01B0\u1EE3c CIMB ph\xE2n b\u1ED5 theo th\u1EE9 t\u1EF1 \u0111\u01B0\u1EE3c quy \u0111\u1ECBnh trong \u0110i\u1EC1u ki\u1EC7n & \u0110i\u1EC1u kho\u1EA3n c\u1EE7a s\u1EA3n ph\u1EA9m")))),_react.default.createElement(_reactNative.View,{style:{marginBottom:insets.bottom},__self:this,__source:{fileName:_jsxFileName,lineNumber:565,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:570,columnNumber:11}},_react.default.createElement(_MText.MText,{__self:this,__source:{fileName:_jsxFileName,lineNumber:578,columnNumber:13}},"H\u01B0\u1EDBng d\u1EABn chuy\u1EC3n ti\u1EC1n"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if(props!=null&&props.route.params.isFull){setShowGuide(true);}else{navigation.push('GuideTransferBank');}},__self:this,__source:{fileName:_jsxFileName,lineNumber:579,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'#2F80ED',textDecorationLine:'underline'},__self:this,__source:{fileName:_jsxFileName,lineNumber:588,columnNumber:15}},"Xem chi ti\u1EBFt"))),(props==null?void 0:(_props$route3=props.route)==null?void 0:(_props$route3$params=_props$route3.params)==null?void 0:_props$route3$params.isFull)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginHorizontal:16,marginBottom:16},onPress:function onPress(){_reactNative.Alert.alert('Xác nhận tất toán','Bạn có chắc muốn gửi YÊU CẦU TẤT TOÁN hợp đồng không?',[{text:'Có'},{text:'Không'}]);},__self:this,__source:{fileName:_jsxFileName,lineNumber:596,columnNumber:13}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:613,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:622,columnNumber:17}},"X\xE1c nh\u1EADn t\u1EA5t to\xE1n"))))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:634,columnNumber:7}}),_react.default.createElement(_reactNativeModal.default,{isVisible:showGuide,onBackdropPress:function onBackdropPress(){return setShowGuide(false);},style:{justifyContent:'flex-end',margin:0},__self:this,__source:{fileName:_jsxFileName,lineNumber:636,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30},__self:this,__source:{fileName:_jsxFileName,lineNumber:641,columnNumber:9}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{borderTopLeftRadius:30,borderTopRightRadius:30,paddingBottom:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:648,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{padding:16,alignItems:'center',gap:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:656,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',color:'white',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:657,columnNumber:15}},"C\xC1C B\u01AF\u1EDAC T\u1EA4T TO\xC1N"),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:667,columnNumber:15}},"C\xF3 2 b\u01B0\u1EDBc, vui l\xF2ng \u0111\u1ECDc k\u0129 th\xF4ng tin"))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30,top:-24,padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:677,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:686,columnNumber:13}},"B\u01AF\u1EDAC 1: CHUY\u1EC2N KHO\u1EA2N"),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:695,columnNumber:13}},"C\xE1ch 1: Thanh to\xE1n b\u1EB1ng QR (Khuy\u1EBFn ngh\u1ECB)"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:704,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:712,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:713,columnNumber:15}},"L\u01B0u ho\u1EB7c qu\xE9t m\xE3 QR")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:717,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:725,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:726,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:730,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:737,columnNumber:13}},"C\xE1ch 2: Chuy\u1EC3n kho\u1EA3n th\u1EE7 c\xF4ng"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:745,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:753,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:754,columnNumber:15}},"Copy th\xF4ng tin t\xE0i kho\u1EA3n (S\u1ED1 TK, Ng\xE2n h\xE0ng, S\u1ED1 ti\u1EC1n)")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:758,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:766,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:767,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'#EB5757',fontSize:12,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:768,columnNumber:17}},"B\u1EAET BU\u1ED8C:"),' ',"Copy \u0111\xFAng \u201CN\u1ED9i dung chuy\u1EC3n kho\u1EA3n\u201D")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:781,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:789,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:790,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:12,backgroundColor:'#FFF3E9',marginVertical:10,marginHorizontal:-16},__self:this,__source:{fileName:_jsxFileName,lineNumber:794,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:802,columnNumber:13}},"B\u01AF\u1EDAC 2:"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:811,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:820,columnNumber:15}},"Ch\u1ECDn \u201CX\xE1c nh\u1EADn t\u1EA5t to\xE1n\u201D \u0111\u1EC3 g\u1EEDi y\xEAu c\u1EA7u t\u1EDBi Tima th\u1EF1c hi\u1EC7n \u201CT\u1EA5t to\xE1n h\u1EE3p \u0111\u1ED3ng\u201D"))),_react.default.createElement(_reactNative.TouchableOpacity,{style:{position:'absolute',left:16,top:16},onPress:function onPress(){return setShowGuide(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:826,columnNumber:11}},_react.default.createElement(_icons.CloseIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:830,columnNumber:13}})))));});var $backButton={position:'absolute',left:16};var $header={flexDirection:'row',alignItems:'center',paddingVertical:16,justifyContent:'center'};var $tourTooltipPosition={alignItems:'flex-end',overflow:'visible',paddingHorizontal:16,paddingTop:0,paddingBottom:0,borderRadius:0};var $tourTooltip={width:224,minHeight:84,backgroundColor:'white',borderRadius:8,paddingHorizontal:12,paddingTop:10,paddingBottom:12,shadowColor:'#000',shadowOffset:{width:0,height:2},shadowOpacity:0.18,shadowRadius:8,elevation:8};var $tourTooltipText={color:'#333333',fontSize:10,lineHeight:16,fontWeight:'400'};var $tourTooltipButton={alignSelf:'flex-end',marginTop:6};var $tourTooltipButtonText={color:'#EF592E',fontSize:10,lineHeight:16,textDecorationLine:'underline'};var $tourTooltipArrow={position:'absolute',right:18,bottom:-10,width:0,height:0,borderLeftWidth:8,borderRightWidth:8,borderTopWidth:10,borderLeftColor:'transparent',borderRightColor:'transparent',borderTopColor:'white'};var $transferGuideZone={backgroundColor:'white',borderRadius:8,borderWidth:2,borderColor:'white',marginTop:16};
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.PaymentInfo=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _api=require("../../services/api");var _icons=require("../../assets/icons");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _MText=require("../../components/MText");var _utils=require("../../utils");var _CommonStyles=require("../CommonStyles");var _store=_interopRequireDefault(require("./store"));var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _reactNativeBlobUtil=_interopRequireDefault(require("react-native-blob-util"));var _cameraRoll=require("@react-native-camera-roll/camera-roll");var _moment=_interopRequireDefault(require("moment"));var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _rnTourguide=require("rn-tourguide");var _reactNativeSafeAreaContext=require("react-native-safe-area-context");var _storage=require("../../utils/storage");var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/detail-loan/PaymentInfo.tsx",_this=this;function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var logoView={position:'absolute',width:'100%',height:'100%',resizeMode:'cover'};var PaymentInfo=exports.PaymentInfo=(0,_mobxReactLite.observer)(function PaymentInfo(props){return _react.default.createElement(_rnTourguide.TourGuideProvider,{borderRadius:8,maskOffset:4,tooltipComponent:TransferContentTooltip,tooltipStyle:$tourTooltipPosition,backdropColor:"rgba(0, 0, 0, 0.35)",androidStatusBarVisible:true,verticalOffset:_reactNative.Platform.OS==='android'?_reactNative.StatusBar.currentHeight-25:0,__self:this,__source:{fileName:_jsxFileName,lineNumber:57,columnNumber:5}},_react.default.createElement(PaymentInfoContent,(0,_extends2.default)({},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:68,columnNumber:7}})));});var TransferContentTooltip=function TransferContentTooltip(_ref){var currentStep=_ref.currentStep,handleStop=_ref.handleStop;return _react.default.createElement(_reactNative.View,{style:$tourTooltip,__self:_this,__source:{fileName:_jsxFileName,lineNumber:75,columnNumber:5}},_react.default.createElement(_MText.MText,{style:$tourTooltipText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:76,columnNumber:7}},currentStep==null?void 0:currentStep.text),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:handleStop,style:$tourTooltipButton,__self:_this,__source:{fileName:_jsxFileName,lineNumber:77,columnNumber:7}},_react.default.createElement(_MText.MText,{style:$tourTooltipButtonText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:78,columnNumber:9}},"\u0110\u1ED3ng \xFD")),_react.default.createElement(_reactNative.View,{style:$tourTooltipArrow,__self:_this,__source:{fileName:_jsxFileName,lineNumber:80,columnNumber:7}}));};var PaymentInfoContent=(0,_mobxReactLite.observer)(function PaymentInfoContent(props){var _props$route,_props$route$params5,_props$route3,_props$route3$params;var insets=(0,_reactNativeSafeAreaContext.useSafeAreaInsets)();var navigation=(0,_native.useNavigation)();var scrollViewRef=(0,_react.useRef)(null);var transferContentRef=(0,_react.useRef)(null);var transferContentY=(0,_react.useRef)(0);var transferContentHeight=(0,_react.useRef)(0);var scrollViewHeight=(0,_react.useRef)(0);var scrollContentHeight=(0,_react.useRef)(0);var startGuideTimeout=(0,_react.useRef)();var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),shouldStartGuide=_useState2[0],setShouldStartGuide=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),isGuideRunning=_useState4[0],setIsGuideRunning=_useState4[1];var _useState5=(0,_react.useState)(),_useState6=(0,_slicedToArray2.default)(_useState5,2),data=_useState6[0],setData=_useState6[1];var _useState7=(0,_react.useState)(),_useState8=(0,_slicedToArray2.default)(_useState7,2),linkImage=_useState8[0],setLinkImage=_useState8[1];var _useState9=(0,_react.useState)(false),_useState0=(0,_slicedToArray2.default)(_useState9,2),isLoading=_useState0[0],setIsLoading=_useState0[1];var _useState1=(0,_react.useState)(false),_useState10=(0,_slicedToArray2.default)(_useState1,2),showGuide=_useState10[0],setShowGuide=_useState10[1];var _useTourGuideControll=(0,_rnTourguide.useTourGuideController)(),canStart=_useTourGuideControll.canStart,start=_useTourGuideControll.start,eventEmitter=_useTourGuideControll.eventEmitter;var getLinkQr=function getLinkQr(money){var _props$route$params,_props$route$params$l;setIsLoading(true);_api.Api.getInstance().getQrPayment({LoanBriefId:props==null?void 0:(_props$route$params=props.route.params)==null?void 0:(_props$route$params$l=_props$route$params.loan)==null?void 0:_props$route$params$l.id,TypeCloseLoan:props!=null&&props.route.params.isFull?1:0,Money:money}).then(function(response){setIsLoading(false);if(response.kind==='ok'){if(response.data.meta.errorCode===200){var _response$data,_response$data$data,_props$route$params2;setLinkImage((_response$data=response.data)==null?void 0:(_response$data$data=_response$data.data)==null?void 0:_response$data$data.fullPath);if(props!=null&&(_props$route$params2=props.route.params)!=null&&_props$route$params2.isFull){setShowGuide(true);}else{setShouldStartGuide(true);}}else{var _response$data2,_response$data2$meta;_reactNative.Alert.alert('Thông báo',response==null?void 0:(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');}}).catch(function(err){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');setIsLoading(false);});};var getData=function getData(){var _props$route$params3,_props$route$params3$;setIsLoading(true);_store.default.getPaymentInfo(props==null?void 0:(_props$route$params3=props.route.params)==null?void 0:(_props$route$params3$=_props$route$params3.loan)==null?void 0:_props$route$params3$.id,props!=null&&props.route.params.isFull?2:1,function(res){setData(res);getLinkQr(res==null?void 0:res.totalMoney);},function(){setIsLoading(false);});};(0,_react.useEffect)(function(){getData();},[]);(0,_react.useEffect)(function(){var handleStartGuide=function handleStartGuide(){return setIsGuideRunning(true);};var handleStopGuide=function handleStopGuide(){return setIsGuideRunning(false);};eventEmitter==null?void 0:eventEmitter.on('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.on('stop',handleStopGuide);return function(){eventEmitter==null?void 0:eventEmitter.off('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.off('stop',handleStopGuide);};},[eventEmitter]);var scrollToTransferContent=function scrollToTransferContent(){var _scrollViewRef$curren2,_transferContentRef$c;var scrollToY=function scrollToY(y){var _scrollViewRef$curren;var targetHeight=arguments.length>1&&arguments[1]!==undefined?arguments[1]:transferContentHeight.current;var viewportHeight=scrollViewHeight.current||_reactNative.Dimensions.get('window').height;var contentHeight=scrollContentHeight.current||viewportHeight;var maxScrollY=Math.max(contentHeight-viewportHeight,0);var minTopForTooltip=120;var bottomGap=80;var preferredTargetTop=Math.min(Math.max(viewportHeight*0.42,minTopForTooltip),Math.max(viewportHeight-targetHeight-bottomGap,minTopForTooltip));var nextScrollY=Math.min(Math.max(y-preferredTargetTop,0),maxScrollY);(_scrollViewRef$curren=scrollViewRef.current)==null?void 0:_scrollViewRef$curren.scrollTo({y:nextScrollY,animated:true});};var innerViewNode=(_scrollViewRef$curren2=scrollViewRef.current)==null?void 0:_scrollViewRef$curren2.getInnerViewNode==null?void 0:_scrollViewRef$curren2.getInnerViewNode();if(innerViewNode&&(_transferContentRef$c=transferContentRef.current)!=null&&_transferContentRef$c.measureLayout){transferContentRef.current.measureLayout(innerViewNode,function(_x,y,_width,height){return scrollToY(y,height);},function(){return scrollToY(transferContentY.current);});}else{scrollToY(transferContentY.current);}};var startGuide=function _callee(){var guide;return _regenerator.default.async(function(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=1;return _regenerator.default.awrap((0,_storage.load)('show_guide_qr_code'));case 1:guide=_context.sent;if(!guide){scrollToTransferContent();startGuideTimeout.current=setTimeout(function(){start(1);setShouldStartGuide(false);(0,_storage.save)('show_guide_qr_code','true');},450);}else{setShouldStartGuide(false);}case 2:case"end":return _context.stop();}},null,null,null,Promise);};(0,_react.useEffect)(function(){var _props$route$params4;if(!(props!=null&&(_props$route$params4=props.route.params)!=null&&_props$route$params4.isFull)&&shouldStartGuide&&canStart){startGuide();}return function(){if(startGuideTimeout.current){clearTimeout(startGuideTimeout.current);}};},[canStart,shouldStartGuide,start]);return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:235,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay tr\u1EF1c tuy\u1EBFn 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:236,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:237,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$header,__self:this,__source:{fileName:_jsxFileName,lineNumber:238,columnNumber:9}},_react.default.createElement(_reactNative.TouchableOpacity,{style:$backButton,onPress:function onPress(){return navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:11}},_react.default.createElement(_icons.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:243,columnNumber:13}})),_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:245,columnNumber:11}},props!=null&&props.route.params.isFull?'TẤT TOÁN HỢP ĐỒNG':'THANH TOÁN KỲ')),_react.default.createElement(_reactNative.ScrollView,{ref:scrollViewRef,scrollEnabled:!isGuideRunning,onLayout:function onLayout(event){scrollViewHeight.current=event.nativeEvent.layout.height;},onContentSizeChange:function onContentSizeChange(_width,height){scrollContentHeight.current=height;},style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:255,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{marginHorizontal:16,marginBottom:16,backgroundColor:'white',borderRadius:8,padding:16,shadowColor:'#000000',shadowOffset:{width:1,height:1},shadowOpacity:0.2},__self:this,__source:{fileName:_jsxFileName,lineNumber:266,columnNumber:11}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300',textAlign:'center'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:281,columnNumber:13}},"\u0110\u1EC3 thanh to\xE1n h\u1EE3p \u0111\u1ED3ng, vui l\xF2ng chuy\u1EC3n kho\u1EA3n t\u1EDBi"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormalBold,{textAlign:'center',marginTop:5}],__self:this,__source:{fileName:_jsxFileName,lineNumber:289,columnNumber:13}},data==null?void 0:data.vaBankName),_react.default.createElement(_reactNative.View,{style:{flexDirection:'column',justifyContent:'center',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:297,columnNumber:13}},_react.default.createElement(_reactNative.Image,{source:{uri:linkImage},style:{width:_reactNative.Dimensions.get('window').width-100,height:_reactNative.Dimensions.get('window').width-100,resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:304,columnNumber:15}}),_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:10,flexDirection:'row',alignItems:'center',gap:5,backgroundColor:'#FFF7F0',borderWidth:1,borderColor:'#EF592E',borderRadius:4,paddingHorizontal:8,paddingVertical:4},onPress:function _callee2(){return _regenerator.default.async(function(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_reactNativeBlobUtil.default.config({fileCache:true,appendExt:'png'}).fetch('GET',linkImage).then(function(res){_cameraRoll.CameraRoll.saveAsset(res.data,{type:'photo'}).then(function(){_reactNative.Alert.alert('Thông báo','Tải mã QR thành công');}).catch(function(error){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');console.log(error);});}).catch(function(error){console.log(error);_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');});case 1:case"end":return _context2.stop();}},null,null,null,Promise);},__self:this,__source:{fileName:_jsxFileName,lineNumber:314,columnNumber:15}},_react.default.createElement(_icons.IconDownload,{__self:this,__source:{fileName:_jsxFileName,lineNumber:355,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:{color:'rgba(51, 51, 51, 1)',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:356,columnNumber:17}},"T\u1EA3i m\xE3 QR"))),_react.default.createElement(_reactNative.View,{style:{height:1,marginVertical:16,backgroundColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:366,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:373,columnNumber:13}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:376,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:383,columnNumber:15}},data==null?void 0:data.vaAccount),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return copyToClipboard(data==null?void 0:data.vaAccount);},__self:this,__source:{fileName:_jsxFileName,lineNumber:393,columnNumber:15}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:396,columnNumber:17}}))),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300',marginTop:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:400,columnNumber:13}},"T\xEAn t\xE0i kho\u1EA3n th\u1EE5 h\u01B0\u1EDFng"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:408,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:415,columnNumber:15}},data==null?void 0:data.accountName)),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300',marginTop:16}],__self:this,__source:{fileName:_jsxFileName,lineNumber:426,columnNumber:13}},"S\u1ED1 ti\u1EC1n ph\u1EA3i tr\u1EA3"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:434,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:441,columnNumber:15}},' ',(0,_utils.formatMoney)(data==null?void 0:data.totalMoney)," VN\u0110 ",'\n',' ',_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:10,fontStyle:'italic'},__self:this,__source:{fileName:_jsxFileName,lineNumber:451,columnNumber:17}},"S\u1ED1 ti\u1EC1n \u0111\u01B0\u1EE3c t\xEDnh \u0111\u1EBFn ng\xE0y ",(0,_moment.default)().format('DD/MM/YYYY'))),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){return copyToClipboard(String(data==null?void 0:data.totalMoney));},__self:this,__source:{fileName:_jsxFileName,lineNumber:461,columnNumber:15}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:464,columnNumber:17}}))),_react.default.createElement(_rnTourguide.TourGuideZone,{zone:1,text:'Để hệ thống ghi nhận chính xác khoản thanh toán, bạn đừng quên sao chép đúng nội dung chuyển khoản nhé!',tooltipBottomOffset:-45,style:$transferGuideZone,__self:this,__source:{fileName:_jsxFileName,lineNumber:468,columnNumber:13}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:476,columnNumber:15}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontWeight:'300'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:477,columnNumber:17}},"N\u1ED9i dung chuy\u1EC3n kho\u1EA3n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#EB5757',fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:479,columnNumber:19}},"(B\u1EAFt bu\u1ED9c)")),_react.default.createElement(_reactNative.View,{ref:transferContentRef,onLayout:function onLayout(event){transferContentY.current=event.nativeEvent.layout.y;transferContentHeight.current=event.nativeEvent.layout.height;},style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:489,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:502,columnNumber:19}},props!=null&&(_props$route=props.route)!=null&&(_props$route$params5=_props$route.params)!=null&&_props$route$params5.isFull?"Tat toan TC"+(data==null?void 0:data.codeId):"TC"+(data==null?void 0:data.codeId)),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route2,_props$route2$params;return _reactNative.Clipboard.setString(props!=null&&(_props$route2=props.route)!=null&&(_props$route2$params=_props$route2.params)!=null&&_props$route2$params.isFull?"Tat toan TC"+(data==null?void 0:data.codeId):"TC"+(data==null?void 0:data.codeId));},__self:this,__source:{fileName:_jsxFileName,lineNumber:514,columnNumber:19}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:523,columnNumber:21}}))))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFF2F2',padding:10,borderRadius:8,marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:529,columnNumber:13}},_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,color:'#EB5757'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:537,columnNumber:15}},"*L\u01B0u \xFD:"),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,marginTop:5}],__self:this,__source:{fileName:_jsxFileName,lineNumber:545,columnNumber:15}},"- Th\xF4ng tin t\xE0i kho\u1EA3n d\u1ECBch v\u1EE5 h\u1ED7 tr\u1EE3 thu h\u1ED9 cung c\u1EA5p b\u1EDFi GPay",' '),_react.default.createElement(_MText.MText,{style:[_CommonStyles.commonStyles.textNormal,{fontSize:12,marginTop:5}],__self:this,__source:{fileName:_jsxFileName,lineNumber:553,columnNumber:15}},"- S\u1ED1 ti\u1EC1n thanh to\xE1n s\u1EBD \u0111\u01B0\u1EE3c CIMB ph\xE2n b\u1ED5 theo th\u1EE9 t\u1EF1 \u0111\u01B0\u1EE3c quy \u0111\u1ECBnh trong \u0110i\u1EC1u ki\u1EC7n & \u0110i\u1EC1u kho\u1EA3n c\u1EE7a s\u1EA3n ph\u1EA9m")))),_react.default.createElement(_reactNative.View,{style:{marginBottom:insets.bottom},__self:this,__source:{fileName:_jsxFileName,lineNumber:565,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:570,columnNumber:11}},_react.default.createElement(_MText.MText,{__self:this,__source:{fileName:_jsxFileName,lineNumber:578,columnNumber:13}},"H\u01B0\u1EDBng d\u1EABn chuy\u1EC3n ti\u1EC1n"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if(props!=null&&props.route.params.isFull){setShowGuide(true);}else{navigation.push('GuideTransferBank');}},__self:this,__source:{fileName:_jsxFileName,lineNumber:579,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'#2F80ED',textDecorationLine:'underline'},__self:this,__source:{fileName:_jsxFileName,lineNumber:588,columnNumber:15}},"Xem chi ti\u1EBFt"))),(props==null?void 0:(_props$route3=props.route)==null?void 0:(_props$route3$params=_props$route3.params)==null?void 0:_props$route3$params.isFull)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginHorizontal:16,marginBottom:16},onPress:function onPress(){_reactNative.Alert.alert('Xác nhận tất toán','Bạn có chắc muốn gửi YÊU CẦU TẤT TOÁN hợp đồng không?',[{text:'Có',onPress:function onPress(){var _props$route$params6,_props$route$params6$,_response$data3,_response$data3$meta;var response,_response$data4,_response$data4$meta;return _regenerator.default.async(function(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=1;return _regenerator.default.awrap(_api.Api.getInstance().confirm_final_settlement({loanBriefId:props==null?void 0:(_props$route$params6=props.route.params)==null?void 0:(_props$route$params6$=_props$route$params6.loan)==null?void 0:_props$route$params6$.id}));case 1:response=_context3.sent;if(response.kind==='ok'&&((_response$data3=response.data)==null?void 0:(_response$data3$meta=_response$data3.meta)==null?void 0:_response$data3$meta.errorCode)===200){_reactNative.Alert.alert('GỬI YÊU CẦU THÀNH CÔNG!','Yêu cầu tất toán đang được Tima xử lý, vui lòng chờ trong ít phút.',[{text:'Đồng ý',onPress:function onPress(){navigation.navigate('Main');}}]);}else{_reactNative.Alert.alert('Thông báo',(response==null?void 0:(_response$data4=response.data)==null?void 0:(_response$data4$meta=_response$data4.meta)==null?void 0:_response$data4$meta.errorMessage)||'Có lỗi xảy ra. Vui lòng thử lại sau');}case 2:case"end":return _context3.stop();}},null,null,null,Promise);}},{text:'Không'}]);},__self:this,__source:{fileName:_jsxFileName,lineNumber:596,columnNumber:13}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:642,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:651,columnNumber:17}},"X\xE1c nh\u1EADn t\u1EA5t to\xE1n"))))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:663,columnNumber:7}}),_react.default.createElement(_reactNativeModal.default,{isVisible:showGuide,onBackdropPress:function onBackdropPress(){return setShowGuide(false);},style:{justifyContent:'flex-end',margin:0},__self:this,__source:{fileName:_jsxFileName,lineNumber:665,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30},__self:this,__source:{fileName:_jsxFileName,lineNumber:670,columnNumber:9}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{borderTopLeftRadius:30,borderTopRightRadius:30,paddingBottom:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:677,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{padding:16,alignItems:'center',gap:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:685,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',color:'white',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:686,columnNumber:15}},"C\xC1C B\u01AF\u1EDAC T\u1EA4T TO\xC1N"),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:696,columnNumber:15}},"C\xF3 2 b\u01B0\u1EDBc, vui l\xF2ng \u0111\u1ECDc k\u0129 th\xF4ng tin"))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30,top:-24,padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:706,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:715,columnNumber:13}},"B\u01AF\u1EDAC 1: CHUY\u1EC2N KHO\u1EA2N"),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:724,columnNumber:13}},"C\xE1ch 1: Thanh to\xE1n b\u1EB1ng QR (Khuy\u1EBFn ngh\u1ECB)"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:733,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:741,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:742,columnNumber:15}},"L\u01B0u ho\u1EB7c qu\xE9t m\xE3 QR")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:746,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:754,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:755,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:759,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:766,columnNumber:13}},"C\xE1ch 2: Chuy\u1EC3n kho\u1EA3n th\u1EE7 c\xF4ng"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:774,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:782,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:783,columnNumber:15}},"Copy th\xF4ng tin t\xE0i kho\u1EA3n (S\u1ED1 TK, Ng\xE2n h\xE0ng, S\u1ED1 ti\u1EC1n)")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:787,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:795,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:796,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'#EB5757',fontSize:12,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:797,columnNumber:17}},"B\u1EAET BU\u1ED8C:"),' ',"Copy \u0111\xFAng \u201CN\u1ED9i dung chuy\u1EC3n kho\u1EA3n\u201D")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:810,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:818,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:12,backgroundColor:'#FFF3E9',marginVertical:10,marginHorizontal:-16},__self:this,__source:{fileName:_jsxFileName,lineNumber:823,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:831,columnNumber:13}},"B\u01AF\u1EDAC 2:"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:840,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:848,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:849,columnNumber:15}},"Ch\u1ECDn \u201CX\xE1c nh\u1EADn t\u1EA5t to\xE1n\u201D \u0111\u1EC3 g\u1EEDi y\xEAu c\u1EA7u t\u1EDBi Tima th\u1EF1c hi\u1EC7n \u201CT\u1EA5t to\xE1n h\u1EE3p \u0111\u1ED3ng\u201D"))),_react.default.createElement(_reactNative.TouchableOpacity,{style:{position:'absolute',left:16,top:16},onPress:function onPress(){return setShowGuide(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:855,columnNumber:11}},_react.default.createElement(_icons.CloseIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:859,columnNumber:13}})))));});var $backButton={position:'absolute',left:16};var $header={flexDirection:'row',alignItems:'center',paddingVertical:16,justifyContent:'center'};var $tourTooltipPosition={alignItems:'flex-end',overflow:'visible',paddingHorizontal:16,paddingTop:0,paddingBottom:0,borderRadius:0};var $tourTooltip={width:224,minHeight:84,backgroundColor:'white',borderRadius:8,paddingHorizontal:12,paddingTop:10,paddingBottom:12,shadowColor:'#000',shadowOffset:{width:0,height:2},shadowOpacity:0.18,shadowRadius:8,elevation:8};var $tourTooltipText={color:'#333333',fontSize:10,lineHeight:16,fontWeight:'400'};var $tourTooltipButton={alignSelf:'flex-end',marginTop:6};var $tourTooltipButtonText={color:'#EF592E',fontSize:10,lineHeight:16,textDecorationLine:'underline'};var $tourTooltipArrow={position:'absolute',right:18,bottom:-10,width:0,height:0,borderLeftWidth:8,borderRightWidth:8,borderTopWidth:10,borderLeftColor:'transparent',borderRightColor:'transparent',borderTopColor:'white'};var $transferGuideZone={backgroundColor:'white',borderRadius:8,borderWidth:2,borderColor:'white',marginTop:16};
2
2
  //# sourceMappingURL=PaymentInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_native","require","_mobxReactLite","_react","_interopRequireWildcard","_reactNative","_api","_icons","_Loading","_interopRequireDefault","_MText","_utils","_CommonStyles","_store","_MHeader","_reactNativeBlobUtil","_cameraRoll","_moment","_reactNativeModal","_reactNativeLinearGradient","_rnTourguide","_reactNativeSafeAreaContext","_storage","_jsxFileName","_this","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","logoView","position","width","height","resizeMode","PaymentInfo","exports","observer","props","createElement","TourGuideProvider","borderRadius","maskOffset","tooltipComponent","TransferContentTooltip","tooltipStyle","$tourTooltipPosition","backdropColor","androidStatusBarVisible","verticalOffset","Platform","OS","StatusBar","currentHeight","__self","__source","fileName","lineNumber","columnNumber","PaymentInfoContent","_extends2","_ref","currentStep","handleStop","View","style","$tourTooltip","MText","$tourTooltipText","text","TouchableOpacity","onPress","$tourTooltipButton","$tourTooltipButtonText","$tourTooltipArrow","_props$route","_props$route$params5","_props$route3","_props$route3$params","insets","useSafeAreaInsets","navigation","useNavigation","scrollViewRef","useRef","transferContentRef","transferContentY","transferContentHeight","scrollViewHeight","scrollContentHeight","startGuideTimeout","_useState","useState","_useState2","_slicedToArray2","shouldStartGuide","setShouldStartGuide","_useState3","_useState4","isGuideRunning","setIsGuideRunning","_useState5","_useState6","data","setData","_useState7","_useState8","linkImage","setLinkImage","_useState9","_useState0","isLoading","setIsLoading","_useState1","_useState10","showGuide","setShowGuide","_useTourGuideControll","useTourGuideController","canStart","start","eventEmitter","getLinkQr","money","_props$route$params","_props$route$params$l","Api","getInstance","getQrPayment","LoanBriefId","route","params","loan","id","TypeCloseLoan","isFull","Money","then","response","kind","meta","errorCode","_response$data","_response$data$data","_props$route$params2","fullPath","_response$data2","_response$data2$meta","Alert","alert","errorMessage","catch","err","getData","_props$route$params3","_props$route$params3$","DetailLoanStore","getPaymentInfo","res","totalMoney","useEffect","handleStartGuide","handleStopGuide","on","off","scrollToTransferContent","_scrollViewRef$curren2","_transferContentRef$c","scrollToY","y","_scrollViewRef$curren","targetHeight","arguments","length","undefined","current","viewportHeight","Dimensions","contentHeight","maxScrollY","Math","max","minTopForTooltip","bottomGap","preferredTargetTop","min","nextScrollY","scrollTo","animated","innerViewNode","getInnerViewNode","measureLayout","_x","_width","startGuide","_callee","guide","_regenerator","async","_context","prev","next","awrap","load","sent","setTimeout","save","stop","Promise","_props$route$params4","clearTimeout","flex","title","$header","$backButton","goBack","IconBack","fontSize","fontWeight","fontFamily","ScrollView","ref","scrollEnabled","onLayout","event","nativeEvent","layout","onContentSizeChange","marginHorizontal","marginBottom","backgroundColor","padding","shadowColor","shadowOffset","shadowOpacity","commonStyles","textNormal","textAlign","textNormalBold","marginTop","vaBankName","flexDirection","justifyContent","alignItems","Image","source","uri","gap","borderWidth","borderColor","paddingHorizontal","paddingVertical","_callee2","_context2","ReactNativeBlobUtil","config","fileCache","appendExt","fetch","CameraRoll","saveAsset","type","error","console","log","IconDownload","color","marginVertical","vaAccount","copyToClipboard","IconCopy","accountName","formatMoney","fontStyle","moment","format","String","TourGuideZone","zone","tooltipBottomOffset","$transferGuideZone","codeId","_props$route2","_props$route2$params","Clipboard","setString","bottom","push","textDecorationLine","colors","isVisible","onBackdropPress","margin","borderTopLeftRadius","borderTopRightRadius","paddingBottom","top","TimaSmall","left","CloseIcon","overflow","paddingTop","minHeight","shadowRadius","elevation","lineHeight","alignSelf","right","borderLeftWidth","borderRightWidth","borderTopWidth","borderLeftColor","borderRightColor","borderTopColor"],"sourceRoot":"../../../../src","sources":["screens/detail-loan/PaymentInfo.tsx"],"mappings":"kaACA,IAAAA,OAAA,CAAAC,OAAA,6BACA,IAAAC,cAAA,CAAAD,OAAA,oBACA,IAAAE,MAAA,CAAAC,uBAAA,CAAAH,OAAA,WACA,IAAAI,YAAA,CAAAJ,OAAA,iBAaA,IAAAK,IAAA,CAAAL,OAAA,uBACA,IAAAM,MAAA,CAAAN,OAAA,uBASA,IAAAO,QAAA,CAAAC,sBAAA,CAAAR,OAAA,8BACA,IAAAS,MAAA,CAAAT,OAAA,2BAEA,IAAAU,MAAA,CAAAV,OAAA,gBACA,IAAAW,aAAA,CAAAX,OAAA,oBACA,IAAAY,MAAA,CAAAJ,sBAAA,CAAAR,OAAA,aACA,IAAAa,QAAA,CAAAL,sBAAA,CAAAR,OAAA,8BACA,IAAAc,oBAAA,CAAAN,sBAAA,CAAAR,OAAA,4BACA,IAAAe,WAAA,CAAAf,OAAA,0CACA,IAAAgB,OAAA,CAAAR,sBAAA,CAAAR,OAAA,YACA,IAAAiB,iBAAA,CAAAT,sBAAA,CAAAR,OAAA,wBACA,IAAAkB,0BAAA,CAAAV,sBAAA,CAAAR,OAAA,kCACA,IAAAmB,YAAA,CAAAnB,OAAA,iBAKA,IAAAoB,2BAAA,CAAApB,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AE,SAAS,CAChBjD,QAAQ,CAAE,EAAE,CACZwF,UAAU,CAAE,EAAE,CACdvF,UAAU,CAAE,KACd,CAAC,CAED,GAAM,CAAAlJ,kBAA6B,CAAG,CACpC0O,SAAS,CAAE,UAAU,CACrBnE,SAAS,CAAE,CACb,CAAC,CAED,GAAM,CAAAtK,sBAAsB,CAAG,CAC7BiM,KAAK,CAAE,SAAS,CAChBjD,QAAQ,CAAE,EAAE,CACZwF,UAAU,CAAE,EAAE,CACdjB,kBAAkB,CAAE,WACtB,CAAC,CAED,GAAM,CAAAtN,iBAA4B,CAAG,CACnC3C,QAAQ,CAAE,UAAU,CACpBoR,KAAK,CAAE,EAAE,CACTrB,MAAM,CAAE,CAAC,EAAE,CACX9P,KAAK,CAAE,CAAC,CACRC,MAAM,CAAE,CAAC,CACTmR,eAAe,CAAE,CAAC,CAClBC,gBAAgB,CAAE,CAAC,CACnBC,cAAc,CAAE,EAAE,CAClBC,eAAe,CAAE,aAAa,CAC9BC,gBAAgB,CAAE,aAAa,CAC/BC,cAAc,CAAE,OAClB,CAAC,CAED,GAAM,CAAAjC,kBAA6B,CAAG,CACpClD,eAAe,CAAE,OAAO,CACxB7L,YAAY,CAAE,CAAC,CACf+M,WAAW,CAAE,CAAC,CACdC,WAAW,CAAE,OAAO,CACpBV,SAAS,CAAE,EACb,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_native","require","_mobxReactLite","_react","_interopRequireWildcard","_reactNative","_api","_icons","_Loading","_interopRequireDefault","_MText","_utils","_CommonStyles","_store","_MHeader","_reactNativeBlobUtil","_cameraRoll","_moment","_reactNativeModal","_reactNativeLinearGradient","_rnTourguide","_reactNativeSafeAreaContext","_storage","_jsxFileName","_this","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","logoView","position","width","height","resizeMode","PaymentInfo","exports","observer","props","createElement","TourGuideProvider","borderRadius","maskOffset","tooltipComponent","TransferContentTooltip","tooltipStyle","$tourTooltipPosition","backdropColor","androidStatusBarVisible","verticalOffset","Platform","OS","StatusBar","currentHeight","__self","__source","fileName","lineNumber","columnNumber","PaymentInfoContent","_extends2","_ref","currentStep","handleStop","View","style","$tourTooltip","MText","$tourTooltipText","text","TouchableOpacity","onPress","$tourTooltipButton","$tourTooltipButtonText","$tourTooltipArrow","_props$route","_props$route$params5","_props$route3","_props$route3$params","insets","useSafeAreaInsets","navigation","useNavigation","scrollViewRef","useRef","transferContentRef","transferContentY","transferContentHeight","scrollViewHeight","scrollContentHeight","startGuideTimeout","_useState","useState","_useState2","_slicedToArray2","shouldStartGuide","setShouldStartGuide","_useState3","_useState4","isGuideRunning","setIsGuideRunning","_useState5","_useState6","data","setData","_useState7","_useState8","linkImage","setLinkImage","_useState9","_useState0","isLoading","setIsLoading","_useState1","_useState10","showGuide","setShowGuide","_useTourGuideControll","useTourGuideController","canStart","start","eventEmitter","getLinkQr","money","_props$route$params","_props$route$params$l","Api","getInstance","getQrPayment","LoanBriefId","route","params","loan","id","TypeCloseLoan","isFull","Money","then","response","kind","meta","errorCode","_response$data","_response$data$data","_props$route$params2","fullPath","_response$data2","_response$data2$meta","Alert","alert","errorMessage","catch","err","getData","_props$route$params3","_props$route$params3$","DetailLoanStore","getPaymentInfo","res","totalMoney","useEffect","handleStartGuide","handleStopGuide","on","off","scrollToTransferContent","_scrollViewRef$curren2","_transferContentRef$c","scrollToY","y","_scrollViewRef$curren","targetHeight","arguments","length","undefined","current","viewportHeight","Dimensions","contentHeight","maxScrollY","Math","max","minTopForTooltip","bottomGap","preferredTargetTop","min","nextScrollY","scrollTo","animated","innerViewNode","getInnerViewNode","measureLayout","_x","_width","startGuide","_callee","guide","_regenerator","async","_context","prev","next","awrap","load","sent","setTimeout","save","stop","Promise","_props$route$params4","clearTimeout","flex","title","$header","$backButton","goBack","IconBack","fontSize","fontWeight","fontFamily","ScrollView","ref","scrollEnabled","onLayout","event","nativeEvent","layout","onContentSizeChange","marginHorizontal","marginBottom","backgroundColor","padding","shadowColor","shadowOffset","shadowOpacity","commonStyles","textNormal","textAlign","textNormalBold","marginTop","vaBankName","flexDirection","justifyContent","alignItems","Image","source","uri","gap","borderWidth","borderColor","paddingHorizontal","paddingVertical","_callee2","_context2","ReactNativeBlobUtil","config","fileCache","appendExt","fetch","CameraRoll","saveAsset","type","error","console","log","IconDownload","color","marginVertical","vaAccount","copyToClipboard","IconCopy","accountName","formatMoney","fontStyle","moment","format","String","TourGuideZone","zone","tooltipBottomOffset","$transferGuideZone","codeId","_props$route2","_props$route2$params","Clipboard","setString","bottom","push","textDecorationLine","_props$route$params6","_props$route$params6$","_response$data3","_response$data3$meta","_response$data4","_response$data4$meta","_context3","confirm_final_settlement","loanBriefId","navigate","colors","isVisible","onBackdropPress","margin","borderTopLeftRadius","borderTopRightRadius","paddingBottom","top","TimaSmall","left","CloseIcon","overflow","paddingTop","minHeight","shadowRadius","elevation","lineHeight","alignSelf","right","borderLeftWidth","borderRightWidth","borderTopWidth","borderLeftColor","borderRightColor","borderTopColor"],"sourceRoot":"../../../../src","sources":["screens/detail-loan/PaymentInfo.tsx"],"mappings":"kaACA,IAAAA,OAAA,CAAAC,OAAA,6BACA,IAAAC,cAAA,CAAAD,OAAA,oBACA,IAAAE,MAAA,CAAAC,uBAAA,CAAAH,OAAA,WACA,IAAAI,YAAA,CAAAJ,OAAA,iBAaA,IAAAK,IAAA,CAAAL,OAAA,uBACA,IAAAM,MAAA,CAAAN,OAAA,uBASA,IAAAO,QAAA,CAAAC,sBAAA,CAAAR,OAAA,8BACA,IAAAS,MAAA,CAAAT,OAAA,2BAEA,IAAAU,MAAA,CAAAV,OAAA,gBACA,IAAAW,aAAA,CAAAX,OAAA,oBACA,IAAAY,MAAA,CAAAJ,sBAAA,CAAAR,OAAA,aACA,IAAAa,QAAA,CAAAL,sBAAA,CAAAR,OAAA,8BACA,IAAAc,oBAAA,CAAAN,sBAAA,CAAAR,OAAA,4BACA,IAAAe,WAAA,CA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AAE,CACrB6D,UAAU,CAAE,EAAE,CACdN,aAAa,CAAE,EAAE,CACjBzE,WAAW,CAAE,MAAM,CACnBC,YAAY,CAAE,CAAEzM,KAAK,CAAE,CAAC,CAAEC,MAAM,CAAE,CAAE,CAAC,CACrCyM,aAAa,CAAE,IAAI,CACnB+E,YAAY,CAAE,CAAC,CACfC,SAAS,CAAE,CACb,CAAC,CAED,GAAM,CAAAtP,gBAAgB,CAAG,CACvBsM,KAAK,CAAE,SAAS,CAChBjD,QAAQ,CAAE,EAAE,CACZkG,UAAU,CAAE,EAAE,CACdjG,UAAU,CAAE,KACd,CAAC,CAED,GAAM,CAAAlJ,kBAA6B,CAAG,CACpCoP,SAAS,CAAE,UAAU,CACrB7E,SAAS,CAAE,CACb,CAAC,CAED,GAAM,CAAAtK,sBAAsB,CAAG,CAC7BiM,KAAK,CAAE,SAAS,CAChBjD,QAAQ,CAAE,EAAE,CACZkG,UAAU,CAAE,EAAE,CACd3B,kBAAkB,CAAE,WACtB,CAAC,CAED,GAAM,CAAAtN,iBAA4B,CAAG,CACnC3C,QAAQ,CAAE,UAAU,CACpB8R,KAAK,CAAE,EAAE,CACT/B,MAAM,CAAE,CAAC,EAAE,CACX9P,KAAK,CAAE,CAAC,CACRC,MAAM,CAAE,CAAC,CACT6R,eAAe,CAAE,CAAC,CAClBC,gBAAgB,CAAE,CAAC,CACnBC,cAAc,CAAE,EAAE,CAClBC,eAAe,CAAE,aAAa,CAC9BC,gBAAgB,CAAE,aAAa,CAC/BC,cAAc,CAAE,OAClB,CAAC,CAED,GAAM,CAAA3C,kBAA6B,CAAG,CACpClD,eAAe,CAAE,OAAO,CACxB7L,YAAY,CAAE,CAAC,CACf+M,WAAW,CAAE,CAAC,CACdC,WAAW,CAAE,OAAO,CACpBV,SAAS,CAAE,EACb,CAAC","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ShowQrCode=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _icons=require("../../assets/icons");var _MText=require("../../components/MText");var _native=require("@react-navigation/native");var _api=require("../../services/api");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _cameraRoll=require("@react-native-camera-roll/camera-roll");var _reactNativeBlobUtil=_interopRequireDefault(require("react-native-blob-util"));var _utils=require("../../utils");var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _moment=_interopRequireDefault(require("moment"));var _rnTourguide=require("rn-tourguide");var _storage=require("../../utils/storage");var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/detail-loan/ShowQrCode.tsx",_this=this;function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var ShowQrCode=exports.ShowQrCode=(0,_mobxReactLite.observer)(function ShowQrCode(props){return _react.default.createElement(_rnTourguide.TourGuideProvider,{borderRadius:8,maskOffset:4,tooltipComponent:TransferContentTooltip,tooltipStyle:$tourTooltipPosition,backdropColor:"rgba(0, 0, 0, 0.35)",androidStatusBarVisible:true,verticalOffset:_reactNative.Platform.OS==='android'?_reactNative.StatusBar.currentHeight-25:0,__self:this,__source:{fileName:_jsxFileName,lineNumber:43,columnNumber:5}},_react.default.createElement(ShowQrCodeContent,(0,_extends2.default)({},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:54,columnNumber:7}})));});var TransferContentTooltip=function TransferContentTooltip(_ref){var currentStep=_ref.currentStep,handleStop=_ref.handleStop;return _react.default.createElement(_reactNative.View,{style:$tourTooltip,__self:_this,__source:{fileName:_jsxFileName,lineNumber:61,columnNumber:5}},_react.default.createElement(_MText.MText,{style:$tourTooltipText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:62,columnNumber:7}},currentStep==null?void 0:currentStep.text),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:handleStop,style:$tourTooltipButton,__self:_this,__source:{fileName:_jsxFileName,lineNumber:63,columnNumber:7}},_react.default.createElement(_MText.MText,{style:$tourTooltipButtonText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:64,columnNumber:9}},"\u0110\u1ED3ng \xFD")),_react.default.createElement(_reactNative.View,{style:$tourTooltipArrow,__self:_this,__source:{fileName:_jsxFileName,lineNumber:66,columnNumber:7}}));};var ShowQrCodeContent=(0,_mobxReactLite.observer)(function ShowQrCodeContent(props){var _props$route8,_props$route8$params,_props$route9,_props$route9$params,_props$route9$params$,_props$route$params2,_props$route$params2$,_props$route$params4,_props$route$params4$,_props$route0,_props$route0$params,_props$route1,_props$route1$params,_props$route10,_props$route10$params,_props$route10$params2,_props$route14,_props$route14$params,_props$route$params5,_props$route$params5$,_props$route$params6,_props$route$params6$,_props$route17,_props$route17$params;var navigation=(0,_native.useNavigation)();var scrollViewRef=(0,_react.useRef)(null);var transferContentRef=(0,_react.useRef)(null);var transferContentY=(0,_react.useRef)(0);var transferContentHeight=(0,_react.useRef)(0);var scrollViewHeight=(0,_react.useRef)(0);var scrollContentHeight=(0,_react.useRef)(0);var startGuideTimeout=(0,_react.useRef)();var _useState=(0,_react.useState)(),_useState2=(0,_slicedToArray2.default)(_useState,2),linkImage=_useState2[0],setLinkImage=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),isLoading=_useState4[0],setIsLoading=_useState4[1];var _useState5=(0,_react.useState)(false),_useState6=(0,_slicedToArray2.default)(_useState5,2),showGuide=_useState6[0],setShowGuide=_useState6[1];var _useState7=(0,_react.useState)(false),_useState8=(0,_slicedToArray2.default)(_useState7,2),shouldStartGuide=_useState8[0],setShouldStartGuide=_useState8[1];var _useState9=(0,_react.useState)(false),_useState0=(0,_slicedToArray2.default)(_useState9,2),isGuideRunning=_useState0[0],setIsGuideRunning=_useState0[1];var _useTourGuideControll=(0,_rnTourguide.useTourGuideController)(),canStart=_useTourGuideControll.canStart,start=_useTourGuideControll.start,eventEmitter=_useTourGuideControll.eventEmitter;var getData=function getData(){var _props$route,_props$route$params,_props$route2,_props$route2$params,_props$route3,_props$route3$params,_props$route4,_props$route4$params,_props$route5,_props$route5$params,_props$route5$params$;setIsLoading(true);_api.Api.getInstance().getQrPayment({LoanBriefId:props==null?void 0:(_props$route=props.route)==null?void 0:(_props$route$params=_props$route.params)==null?void 0:_props$route$params.id,TypeCloseLoan:props!=null&&(_props$route2=props.route)!=null&&(_props$route2$params=_props$route2.params)!=null&&_props$route2$params.isFullPayment?1:0,Money:props!=null&&(_props$route3=props.route)!=null&&(_props$route3$params=_props$route3.params)!=null&&_props$route3$params.isFullPayment?props==null?void 0:(_props$route4=props.route)==null?void 0:(_props$route4$params=_props$route4.params)==null?void 0:_props$route4$params.totalMoney:props==null?void 0:(_props$route5=props.route)==null?void 0:(_props$route5$params=_props$route5.params)==null?void 0:(_props$route5$params$=_props$route5$params.item)==null?void 0:_props$route5$params$.payMoney}).then(function(response){setIsLoading(false);if(response.kind==='ok'){if(response.data.meta.errorCode===200){var _response$data,_response$data$data,_props$route6,_props$route6$params;setLinkImage((_response$data=response.data)==null?void 0:(_response$data$data=_response$data.data)==null?void 0:_response$data$data.fullPath);if(props!=null&&(_props$route6=props.route)!=null&&(_props$route6$params=_props$route6.params)!=null&&_props$route6$params.isFullPayment){setTimeout(function(){setShowGuide(true);},300);}else{setShouldStartGuide(true);}}else{var _response$data2,_response$data2$meta;_reactNative.Alert.alert('Thông báo',response==null?void 0:(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');}}).catch(function(err){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');setIsLoading(false);}).finally(function(){setIsLoading(false);});};(0,_react.useEffect)(function(){getData();},[]);(0,_react.useEffect)(function(){var handleStartGuide=function handleStartGuide(){return setIsGuideRunning(true);};var handleStopGuide=function handleStopGuide(){return setIsGuideRunning(false);};eventEmitter==null?void 0:eventEmitter.on('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.on('stop',handleStopGuide);return function(){eventEmitter==null?void 0:eventEmitter.off('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.off('stop',handleStopGuide);};},[eventEmitter]);var scrollToTransferContent=function scrollToTransferContent(){var _scrollViewRef$curren2,_transferContentRef$c;var scrollToY=function scrollToY(y){var _scrollViewRef$curren;var targetHeight=arguments.length>1&&arguments[1]!==undefined?arguments[1]:transferContentHeight.current;var viewportHeight=scrollViewHeight.current||_reactNative.Dimensions.get('window').height;var contentHeight=scrollContentHeight.current||viewportHeight;var maxScrollY=Math.max(contentHeight-viewportHeight,0);var minTopForTooltip=120;var bottomGap=80;var preferredTargetTop=Math.min(Math.max(viewportHeight*0.42,minTopForTooltip),Math.max(viewportHeight-targetHeight-bottomGap,minTopForTooltip));var nextScrollY=Math.min(Math.max(y-preferredTargetTop,0),maxScrollY);(_scrollViewRef$curren=scrollViewRef.current)==null?void 0:_scrollViewRef$curren.scrollTo({y:nextScrollY,animated:true});};var innerViewNode=(_scrollViewRef$curren2=scrollViewRef.current)==null?void 0:_scrollViewRef$curren2.getInnerViewNode==null?void 0:_scrollViewRef$curren2.getInnerViewNode();if(innerViewNode&&(_transferContentRef$c=transferContentRef.current)!=null&&_transferContentRef$c.measureLayout){transferContentRef.current.measureLayout(innerViewNode,function(_x,y,_width,height){return scrollToY(y,height);},function(){return scrollToY(transferContentY.current);});}else{scrollToY(transferContentY.current);}};var startGuide=function _callee(){var guide;return _regenerator.default.async(function(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=1;return _regenerator.default.awrap((0,_storage.load)('show_guide_qr_code'));case 1:guide=_context.sent;if(!guide){scrollToTransferContent();startGuideTimeout.current=setTimeout(function(){start(1);setShouldStartGuide(false);(0,_storage.save)('show_guide_qr_code','true');},450);}else{setShouldStartGuide(false);}case 2:case"end":return _context.stop();}},null,null,null,Promise);};(0,_react.useEffect)(function(){var _props$route7,_props$route7$params;if(!(props!=null&&(_props$route7=props.route)!=null&&(_props$route7$params=_props$route7.params)!=null&&_props$route7$params.isFullPayment)&&shouldStartGuide&&canStart){startGuide();}return function(){if(startGuideTimeout.current){clearTimeout(startGuideTimeout.current);}};},[canStart,shouldStartGuide,start]);return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'rgba(244, 244, 244, 1)'},__self:this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay tr\u1EF1c tuy\u1EBFn 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:212,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$header,__self:this,__source:{fileName:_jsxFileName,lineNumber:213,columnNumber:9}},_react.default.createElement(_reactNative.TouchableOpacity,{style:$backButton,onPress:function onPress(){return navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:214,columnNumber:11}},_react.default.createElement(_icons.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:218,columnNumber:13}})),_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:220,columnNumber:11}},props!=null&&(_props$route8=props.route)!=null&&(_props$route8$params=_props$route8.params)!=null&&_props$route8$params.isFullPayment?'TẤT TOÁN HỢP ĐỒNG':'THANH TOÁN KỲ')),_react.default.createElement(_reactNative.ScrollView,{ref:scrollViewRef,scrollEnabled:!isGuideRunning,onLayout:function onLayout(event){scrollViewHeight.current=event.nativeEvent.layout.height;},onContentSizeChange:function onContentSizeChange(_width,height){scrollContentHeight.current=height;},__self:this,__source:{fileName:_jsxFileName,lineNumber:232,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',marginHorizontal:16,borderRadius:16,padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:242,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:12,fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:250,columnNumber:13}},"\u0110\u1EC3 thanh to\xE1n h\u1EE3p \u0111\u1ED3ng, vui l\xF2ng chuy\u1EC3n kho\u1EA3n t\u1EDBi"),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:12,fontWeight:'600',color:'rgba(51, 51, 51, 1)',marginTop:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:259,columnNumber:13}},props==null?void 0:(_props$route9=props.route)==null?void 0:(_props$route9$params=_props$route9.params)==null?void 0:(_props$route9$params$=_props$route9$params.data)==null?void 0:_props$route9$params$.bankName),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:271,columnNumber:13}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'column',justifyContent:'center',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:278,columnNumber:13}},_react.default.createElement(_reactNative.Image,{source:{uri:linkImage},style:{width:_reactNative.Dimensions.get('window').width-100,height:_reactNative.Dimensions.get('window').width-100,resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:285,columnNumber:15}}),_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:10,flexDirection:'row',alignItems:'center',gap:5,backgroundColor:'#FFF7F0',borderWidth:1,borderColor:'#EF592E',borderRadius:4,paddingHorizontal:8,paddingVertical:4},onPress:function _callee2(){return _regenerator.default.async(function(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_reactNativeBlobUtil.default.config({fileCache:true,appendExt:'png'}).fetch('GET',linkImage).then(function(res){console.log(res);_cameraRoll.CameraRoll.saveAsset(res.data,{type:'photo'}).then(function(){_reactNative.Alert.alert('Thông báo','Tải mã QR thành công');}).catch(function(error){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');console.log(error);});}).catch(function(error){console.log(error);_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');});case 1:case"end":return _context2.stop();}},null,null,null,Promise);},__self:this,__source:{fileName:_jsxFileName,lineNumber:295,columnNumber:15}},_react.default.createElement(_icons.IconDownload,{__self:this,__source:{fileName:_jsxFileName,lineNumber:337,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:{color:'rgba(51, 51, 51, 1)',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:338,columnNumber:17}},"T\u1EA3i m\xE3 QR"))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:348,columnNumber:13}}),_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:355,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:356,columnNumber:15}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:366,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:373,columnNumber:17}},(_props$route$params2=props.route.params)==null?void 0:(_props$route$params2$=_props$route$params2.data)==null?void 0:_props$route$params2$.accountNumber),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route$params3,_props$route$params3$;return _reactNative.Clipboard.setString((_props$route$params3=props.route.params)==null?void 0:(_props$route$params3$=_props$route$params3.data)==null?void 0:_props$route$params3$.accountNumber);},__self:this,__source:{fileName:_jsxFileName,lineNumber:383,columnNumber:17}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:388,columnNumber:19}}))),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:391,columnNumber:15}},"T\xEAn t\xE0i kho\u1EA3n th\u1EE5 h\u01B0\u1EDFng"),_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:401,columnNumber:15}},(_props$route$params4=props.route.params)==null?void 0:(_props$route$params4$=_props$route$params4.data)==null?void 0:_props$route$params4$.accountName),_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:412,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:413,columnNumber:17}},"S\u1ED1 ti\u1EC1n ph\u1EA3i tr\u1EA3"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:423,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:430,columnNumber:19}},(0,_utils.formatMoney)(props!=null&&(_props$route0=props.route)!=null&&(_props$route0$params=_props$route0.params)!=null&&_props$route0$params.isFullPayment?props==null?void 0:(_props$route1=props.route)==null?void 0:(_props$route1$params=_props$route1.params)==null?void 0:_props$route1$params.totalMoney:props==null?void 0:(_props$route10=props.route)==null?void 0:(_props$route10$params=_props$route10.params)==null?void 0:(_props$route10$params2=_props$route10$params.item)==null?void 0:_props$route10$params2.payMoney),' ',"\u0111"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route11,_props$route11$params,_props$route12,_props$route12$params,_props$route13,_props$route13$params,_props$route13$params2;return _reactNative.Clipboard.setString(props!=null&&(_props$route11=props.route)!=null&&(_props$route11$params=_props$route11.params)!=null&&_props$route11$params.isFullPayment?props==null?void 0:(_props$route12=props.route)==null?void 0:(_props$route12$params=_props$route12.params)==null?void 0:_props$route12$params.totalMoney:props==null?void 0:(_props$route13=props.route)==null?void 0:(_props$route13$params=_props$route13.params)==null?void 0:(_props$route13$params2=_props$route13$params.item)==null?void 0:_props$route13$params2.payMoney);},__self:this,__source:{fileName:_jsxFileName,lineNumber:444,columnNumber:19}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:453,columnNumber:21}}))),_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:10,fontStyle:'italic'},__self:this,__source:{fileName:_jsxFileName,lineNumber:456,columnNumber:17}},"S\u1ED1 ti\u1EC1n \u0111\u01B0\u1EE3c t\xEDnh \u0111\u1EBFn ng\xE0y ",(0,_moment.default)().format('DD/MM/YYYY'))),_react.default.createElement(_rnTourguide.TourGuideZone,{zone:1,text:'Để hệ thống ghi nhận chính xác khoản thanh toán, bạn đừng quên sao chép đúng nội dung chuyển khoản nhé!',tooltipBottomOffset:-45,style:$transferGuideZone,__self:this,__source:{fileName:_jsxFileName,lineNumber:466,columnNumber:15}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:474,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:475,columnNumber:19}},"N\u1ED9i dung chuy\u1EC3n kho\u1EA3n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#EB5757',fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:483,columnNumber:21}},"(B\u1EAFt bu\u1ED9c)")),_react.default.createElement(_reactNative.View,{ref:transferContentRef,onLayout:function onLayout(event){transferContentY.current=event.nativeEvent.layout.y;transferContentHeight.current=event.nativeEvent.layout.height;},style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:493,columnNumber:19}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:506,columnNumber:21}},props!=null&&(_props$route14=props.route)!=null&&(_props$route14$params=_props$route14.params)!=null&&_props$route14$params.isFullPayment?"Tat toan TC"+((_props$route$params5=props.route.params)==null?void 0:(_props$route$params5$=_props$route$params5.data)==null?void 0:_props$route$params5$.codeId):"TC"+((_props$route$params6=props.route.params)==null?void 0:(_props$route$params6$=_props$route$params6.data)==null?void 0:_props$route$params6$.codeId)),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route15,_props$route15$params,_props$route$params7,_props$route$params7$,_props$route$params8,_props$route$params8$;return _reactNative.Clipboard.setString(props!=null&&(_props$route15=props.route)!=null&&(_props$route15$params=_props$route15.params)!=null&&_props$route15$params.isFullPayment?"Tat toan TC"+((_props$route$params7=props.route.params)==null?void 0:(_props$route$params7$=_props$route$params7.data)==null?void 0:_props$route$params7$.codeId):"TC"+((_props$route$params8=props.route.params)==null?void 0:(_props$route$params8$=_props$route$params8.data)==null?void 0:_props$route$params8$.codeId));},__self:this,__source:{fileName:_jsxFileName,lineNumber:518,columnNumber:21}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:527,columnNumber:23}})))))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFF2F2',padding:10,borderRadius:8,marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:533,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'#EB5757',fontSize:12,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:541,columnNumber:15}},"*L\u01B0u \xFD:"),_react.default.createElement(_MText.MText,{style:{fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:551,columnNumber:15}},"- Vui l\xF2ng sao ch\xE9p \u0111\xFAng v\xE0 \u0111\u1EA7y \u0111\u1EE7 n\u1ED9i dung thanh to\xE1n \u0111\u1EC3 h\u1EC7 th\u1ED1ng ghi nh\u1EADn giao d\u1ECBch"),_react.default.createElement(_MText.MText,{style:{fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:559,columnNumber:15}},"- Th\xF4ng tin t\xE0i kho\u1EA3n d\u1ECBch v\u1EE5 h\u1ED7 tr\u1EE3 thu h\u1ED9 cung c\u1EA5p b\u1EDFi GPay. T\xE0i kho\u1EA3n chuy\xEAn d\u1EE5ng n\xE0y ch\u1EC9 d\xE0nh cho m\u1EE5c \u0111\xEDch tr\u1EA3 n\u1EE3 c\u1EE7a b\xEAn \u0111i vay."))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',padding:16,marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:570,columnNumber:11}},_react.default.createElement(_MText.MText,{__self:this,__source:{fileName:_jsxFileName,lineNumber:579,columnNumber:13}},"H\u01B0\u1EDBng d\u1EABn chuy\u1EC3n ti\u1EC1n"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route16,_props$route16$params;if(props!=null&&(_props$route16=props.route)!=null&&(_props$route16$params=_props$route16.params)!=null&&_props$route16$params.isFullPayment){setShowGuide(true);}else{navigation.push('GuideTransferBank');}},__self:this,__source:{fileName:_jsxFileName,lineNumber:580,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'#2F80ED',textDecorationLine:'underline'},__self:this,__source:{fileName:_jsxFileName,lineNumber:589,columnNumber:15}},"Xem chi ti\u1EBFt")))),(props==null?void 0:(_props$route17=props.route)==null?void 0:(_props$route17$params=_props$route17.params)==null?void 0:_props$route17$params.isFullPayment)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{margin:16},onPress:function onPress(){_reactNative.Alert.alert('Xác nhận tất toán','Bạn có chắc muốn gửi YÊU CẦU TẤT TOÁN hợp đồng không?',[{text:'Có'},{text:'Không'}]);},__self:this,__source:{fileName:_jsxFileName,lineNumber:598,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:615,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:624,columnNumber:15}},"X\xE1c nh\u1EADn t\u1EA5t to\xE1n")))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:635,columnNumber:7}}),_react.default.createElement(_reactNativeModal.default,{isVisible:showGuide,onBackdropPress:function onBackdropPress(){return setShowGuide(false);},style:{justifyContent:'flex-end',margin:0},__self:this,__source:{fileName:_jsxFileName,lineNumber:636,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30},__self:this,__source:{fileName:_jsxFileName,lineNumber:641,columnNumber:9}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{borderTopLeftRadius:30,borderTopRightRadius:30,paddingBottom:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:648,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{padding:16,alignItems:'center',gap:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:656,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',color:'white',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:657,columnNumber:15}},"C\xC1C B\u01AF\u1EDAC T\u1EA4T TO\xC1N"),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:667,columnNumber:15}},"C\xF3 2 b\u01B0\u1EDBc, vui l\xF2ng \u0111\u1ECDc k\u0129 th\xF4ng tin"))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30,top:-24,padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:677,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:686,columnNumber:13}},"B\u01AF\u1EDAC 1: CHUY\u1EC2N KHO\u1EA2N"),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:695,columnNumber:13}},"C\xE1ch 1: Thanh to\xE1n b\u1EB1ng QR (Khuy\u1EBFn ngh\u1ECB)"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:704,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:712,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:713,columnNumber:15}},"L\u01B0u ho\u1EB7c qu\xE9t m\xE3 QR")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:717,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:725,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:726,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:730,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:737,columnNumber:13}},"C\xE1ch 2: Chuy\u1EC3n kho\u1EA3n th\u1EE7 c\xF4ng"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:745,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:753,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:754,columnNumber:15}},"Copy th\xF4ng tin t\xE0i kho\u1EA3n (S\u1ED1 TK, Ng\xE2n h\xE0ng, S\u1ED1 ti\u1EC1n)")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:758,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:766,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:767,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'#EB5757',fontSize:12,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:768,columnNumber:17}},"B\u1EAET BU\u1ED8C:"),' ',"Copy \u0111\xFAng \u201CN\u1ED9i dung chuy\u1EC3n kho\u1EA3n\u201D")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:781,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:789,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:790,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:12,backgroundColor:'#FFF3E9',marginVertical:10,marginHorizontal:-16},__self:this,__source:{fileName:_jsxFileName,lineNumber:794,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:802,columnNumber:13}},"B\u01AF\u1EDAC 2:"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:811,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:820,columnNumber:15}},"Ch\u1ECDn \u201CX\xE1c nh\u1EADn t\u1EA5t to\xE1n\u201D \u0111\u1EC3 g\u1EEDi y\xEAu c\u1EA7u t\u1EDBi Tima th\u1EF1c hi\u1EC7n \u201CT\u1EA5t to\xE1n h\u1EE3p \u0111\u1ED3ng\u201D"))),_react.default.createElement(_reactNative.TouchableOpacity,{style:{position:'absolute',left:16,top:16},onPress:function onPress(){return setShowGuide(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:826,columnNumber:11}},_react.default.createElement(_icons.CloseIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:830,columnNumber:13}})))));});var $backButton={position:'absolute',left:16};var $header={flexDirection:'row',alignItems:'center',paddingVertical:16,justifyContent:'center'};var $tourTooltipPosition={alignItems:'flex-end',overflow:'visible',paddingHorizontal:16,paddingTop:0,paddingBottom:0,borderRadius:0};var $tourTooltip={width:224,minHeight:84,backgroundColor:'white',borderRadius:8,paddingHorizontal:12,paddingTop:10,paddingBottom:12,shadowColor:'#000',shadowOffset:{width:0,height:2},shadowOpacity:0.18,shadowRadius:8,elevation:8};var $tourTooltipText={color:'#333333',fontSize:10,lineHeight:16,fontWeight:'400'};var $tourTooltipButton={alignSelf:'flex-end',marginTop:6};var $tourTooltipButtonText={color:'#EF592E',fontSize:10,lineHeight:16,textDecorationLine:'underline'};var $tourTooltipArrow={position:'absolute',right:18,bottom:-10,width:0,height:0,borderLeftWidth:8,borderRightWidth:8,borderTopWidth:10,borderLeftColor:'transparent',borderRightColor:'transparent',borderTopColor:'white'};var $transferGuideZone={backgroundColor:'white',borderRadius:8,borderWidth:2,borderColor:'white',marginTop:16};
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.ShowQrCode=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _icons=require("../../assets/icons");var _MText=require("../../components/MText");var _native=require("@react-navigation/native");var _api=require("../../services/api");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _cameraRoll=require("@react-native-camera-roll/camera-roll");var _reactNativeBlobUtil=_interopRequireDefault(require("react-native-blob-util"));var _utils=require("../../utils");var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _reactNativeModal=_interopRequireDefault(require("react-native-modal"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _moment=_interopRequireDefault(require("moment"));var _rnTourguide=require("rn-tourguide");var _storage=require("../../utils/storage");var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/detail-loan/ShowQrCode.tsx",_this=this;function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap(),n=new WeakMap();return(_interopRequireWildcard=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f);}for(var _t in e)"default"!==_t&&{}.hasOwnProperty.call(e,_t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,_t))&&(i.get||i.set)?o(f,_t,i):f[_t]=e[_t]);return f;})(e,t);}var ShowQrCode=exports.ShowQrCode=(0,_mobxReactLite.observer)(function ShowQrCode(props){return _react.default.createElement(_rnTourguide.TourGuideProvider,{borderRadius:8,maskOffset:4,tooltipComponent:TransferContentTooltip,tooltipStyle:$tourTooltipPosition,backdropColor:"rgba(0, 0, 0, 0.35)",androidStatusBarVisible:true,verticalOffset:_reactNative.Platform.OS==='android'?_reactNative.StatusBar.currentHeight-25:0,__self:this,__source:{fileName:_jsxFileName,lineNumber:43,columnNumber:5}},_react.default.createElement(ShowQrCodeContent,(0,_extends2.default)({},props,{__self:this,__source:{fileName:_jsxFileName,lineNumber:54,columnNumber:7}})));});var TransferContentTooltip=function TransferContentTooltip(_ref){var currentStep=_ref.currentStep,handleStop=_ref.handleStop;return _react.default.createElement(_reactNative.View,{style:$tourTooltip,__self:_this,__source:{fileName:_jsxFileName,lineNumber:61,columnNumber:5}},_react.default.createElement(_MText.MText,{style:$tourTooltipText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:62,columnNumber:7}},currentStep==null?void 0:currentStep.text),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:handleStop,style:$tourTooltipButton,__self:_this,__source:{fileName:_jsxFileName,lineNumber:63,columnNumber:7}},_react.default.createElement(_MText.MText,{style:$tourTooltipButtonText,__self:_this,__source:{fileName:_jsxFileName,lineNumber:64,columnNumber:9}},"\u0110\u1ED3ng \xFD")),_react.default.createElement(_reactNative.View,{style:$tourTooltipArrow,__self:_this,__source:{fileName:_jsxFileName,lineNumber:66,columnNumber:7}}));};var ShowQrCodeContent=(0,_mobxReactLite.observer)(function ShowQrCodeContent(props){var _props$route8,_props$route8$params,_props$route9,_props$route9$params,_props$route9$params$,_props$route$params2,_props$route$params2$,_props$route$params4,_props$route$params4$,_props$route0,_props$route0$params,_props$route1,_props$route1$params,_props$route10,_props$route10$params,_props$route10$params2,_props$route14,_props$route14$params,_props$route$params5,_props$route$params5$,_props$route$params6,_props$route$params6$,_props$route17,_props$route17$params;var navigation=(0,_native.useNavigation)();var scrollViewRef=(0,_react.useRef)(null);var transferContentRef=(0,_react.useRef)(null);var transferContentY=(0,_react.useRef)(0);var transferContentHeight=(0,_react.useRef)(0);var scrollViewHeight=(0,_react.useRef)(0);var scrollContentHeight=(0,_react.useRef)(0);var startGuideTimeout=(0,_react.useRef)();var _useState=(0,_react.useState)(),_useState2=(0,_slicedToArray2.default)(_useState,2),linkImage=_useState2[0],setLinkImage=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),isLoading=_useState4[0],setIsLoading=_useState4[1];var _useState5=(0,_react.useState)(false),_useState6=(0,_slicedToArray2.default)(_useState5,2),showGuide=_useState6[0],setShowGuide=_useState6[1];var _useState7=(0,_react.useState)(false),_useState8=(0,_slicedToArray2.default)(_useState7,2),shouldStartGuide=_useState8[0],setShouldStartGuide=_useState8[1];var _useState9=(0,_react.useState)(false),_useState0=(0,_slicedToArray2.default)(_useState9,2),isGuideRunning=_useState0[0],setIsGuideRunning=_useState0[1];var _useTourGuideControll=(0,_rnTourguide.useTourGuideController)(),canStart=_useTourGuideControll.canStart,start=_useTourGuideControll.start,eventEmitter=_useTourGuideControll.eventEmitter;var getData=function getData(){var _props$route,_props$route$params,_props$route2,_props$route2$params,_props$route3,_props$route3$params,_props$route4,_props$route4$params,_props$route5,_props$route5$params,_props$route5$params$;setIsLoading(true);_api.Api.getInstance().getQrPayment({LoanBriefId:props==null?void 0:(_props$route=props.route)==null?void 0:(_props$route$params=_props$route.params)==null?void 0:_props$route$params.id,TypeCloseLoan:props!=null&&(_props$route2=props.route)!=null&&(_props$route2$params=_props$route2.params)!=null&&_props$route2$params.isFullPayment?1:0,Money:props!=null&&(_props$route3=props.route)!=null&&(_props$route3$params=_props$route3.params)!=null&&_props$route3$params.isFullPayment?props==null?void 0:(_props$route4=props.route)==null?void 0:(_props$route4$params=_props$route4.params)==null?void 0:_props$route4$params.totalMoney:props==null?void 0:(_props$route5=props.route)==null?void 0:(_props$route5$params=_props$route5.params)==null?void 0:(_props$route5$params$=_props$route5$params.item)==null?void 0:_props$route5$params$.payMoney}).then(function(response){setIsLoading(false);if(response.kind==='ok'){if(response.data.meta.errorCode===200){var _response$data,_response$data$data,_props$route6,_props$route6$params;setLinkImage((_response$data=response.data)==null?void 0:(_response$data$data=_response$data.data)==null?void 0:_response$data$data.fullPath);if(props!=null&&(_props$route6=props.route)!=null&&(_props$route6$params=_props$route6.params)!=null&&_props$route6$params.isFullPayment){setTimeout(function(){setShowGuide(true);},300);}else{setShouldStartGuide(true);}}else{var _response$data2,_response$data2$meta;_reactNative.Alert.alert('Thông báo',response==null?void 0:(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');}}).catch(function(err){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');setIsLoading(false);}).finally(function(){setIsLoading(false);});};(0,_react.useEffect)(function(){getData();},[]);(0,_react.useEffect)(function(){var handleStartGuide=function handleStartGuide(){return setIsGuideRunning(true);};var handleStopGuide=function handleStopGuide(){return setIsGuideRunning(false);};eventEmitter==null?void 0:eventEmitter.on('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.on('stop',handleStopGuide);return function(){eventEmitter==null?void 0:eventEmitter.off('start',handleStartGuide);eventEmitter==null?void 0:eventEmitter.off('stop',handleStopGuide);};},[eventEmitter]);var scrollToTransferContent=function scrollToTransferContent(){var _scrollViewRef$curren2,_transferContentRef$c;var scrollToY=function scrollToY(y){var _scrollViewRef$curren;var targetHeight=arguments.length>1&&arguments[1]!==undefined?arguments[1]:transferContentHeight.current;var viewportHeight=scrollViewHeight.current||_reactNative.Dimensions.get('window').height;var contentHeight=scrollContentHeight.current||viewportHeight;var maxScrollY=Math.max(contentHeight-viewportHeight,0);var minTopForTooltip=120;var bottomGap=80;var preferredTargetTop=Math.min(Math.max(viewportHeight*0.42,minTopForTooltip),Math.max(viewportHeight-targetHeight-bottomGap,minTopForTooltip));var nextScrollY=Math.min(Math.max(y-preferredTargetTop,0),maxScrollY);(_scrollViewRef$curren=scrollViewRef.current)==null?void 0:_scrollViewRef$curren.scrollTo({y:nextScrollY,animated:true});};var innerViewNode=(_scrollViewRef$curren2=scrollViewRef.current)==null?void 0:_scrollViewRef$curren2.getInnerViewNode==null?void 0:_scrollViewRef$curren2.getInnerViewNode();if(innerViewNode&&(_transferContentRef$c=transferContentRef.current)!=null&&_transferContentRef$c.measureLayout){transferContentRef.current.measureLayout(innerViewNode,function(_x,y,_width,height){return scrollToY(y,height);},function(){return scrollToY(transferContentY.current);});}else{scrollToY(transferContentY.current);}};var startGuide=function _callee(){var guide;return _regenerator.default.async(function(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=1;return _regenerator.default.awrap((0,_storage.load)('show_guide_qr_code'));case 1:guide=_context.sent;if(!guide){scrollToTransferContent();startGuideTimeout.current=setTimeout(function(){start(1);setShouldStartGuide(false);(0,_storage.save)('show_guide_qr_code','true');},450);}else{setShouldStartGuide(false);}case 2:case"end":return _context.stop();}},null,null,null,Promise);};(0,_react.useEffect)(function(){var _props$route7,_props$route7$params;if(!(props!=null&&(_props$route7=props.route)!=null&&(_props$route7$params=_props$route7.params)!=null&&_props$route7$params.isFullPayment)&&shouldStartGuide&&canStart){startGuide();}return function(){if(startGuideTimeout.current){clearTimeout(startGuideTimeout.current);}};},[canStart,shouldStartGuide,start]);return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'rgba(244, 244, 244, 1)'},__self:this,__source:{fileName:_jsxFileName,lineNumber:210,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay tr\u1EF1c tuy\u1EBFn 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:211,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:212,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$header,__self:this,__source:{fileName:_jsxFileName,lineNumber:213,columnNumber:9}},_react.default.createElement(_reactNative.TouchableOpacity,{style:$backButton,onPress:function onPress(){return navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:214,columnNumber:11}},_react.default.createElement(_icons.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:218,columnNumber:13}})),_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:220,columnNumber:11}},props!=null&&(_props$route8=props.route)!=null&&(_props$route8$params=_props$route8.params)!=null&&_props$route8$params.isFullPayment?'TẤT TOÁN HỢP ĐỒNG':'THANH TOÁN KỲ')),_react.default.createElement(_reactNative.ScrollView,{ref:scrollViewRef,scrollEnabled:!isGuideRunning,onLayout:function onLayout(event){scrollViewHeight.current=event.nativeEvent.layout.height;},onContentSizeChange:function onContentSizeChange(_width,height){scrollContentHeight.current=height;},__self:this,__source:{fileName:_jsxFileName,lineNumber:232,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',marginHorizontal:16,borderRadius:16,padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:242,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:12,fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:250,columnNumber:13}},"\u0110\u1EC3 thanh to\xE1n h\u1EE3p \u0111\u1ED3ng, vui l\xF2ng chuy\u1EC3n kho\u1EA3n t\u1EDBi"),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:12,fontWeight:'600',color:'rgba(51, 51, 51, 1)',marginTop:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:259,columnNumber:13}},props==null?void 0:(_props$route9=props.route)==null?void 0:(_props$route9$params=_props$route9.params)==null?void 0:(_props$route9$params$=_props$route9$params.data)==null?void 0:_props$route9$params$.bankName),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:271,columnNumber:13}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'column',justifyContent:'center',alignItems:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:278,columnNumber:13}},_react.default.createElement(_reactNative.Image,{source:{uri:linkImage},style:{width:_reactNative.Dimensions.get('window').width-100,height:_reactNative.Dimensions.get('window').width-100,resizeMode:'contain'},__self:this,__source:{fileName:_jsxFileName,lineNumber:285,columnNumber:15}}),_react.default.createElement(_reactNative.TouchableOpacity,{style:{marginTop:10,flexDirection:'row',alignItems:'center',gap:5,backgroundColor:'#FFF7F0',borderWidth:1,borderColor:'#EF592E',borderRadius:4,paddingHorizontal:8,paddingVertical:4},onPress:function _callee2(){return _regenerator.default.async(function(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_reactNativeBlobUtil.default.config({fileCache:true,appendExt:'png'}).fetch('GET',linkImage).then(function(res){console.log(res);_cameraRoll.CameraRoll.saveAsset(res.data,{type:'photo'}).then(function(){_reactNative.Alert.alert('Thông báo','Tải mã QR thành công');}).catch(function(error){_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');console.log(error);});}).catch(function(error){console.log(error);_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');});case 1:case"end":return _context2.stop();}},null,null,null,Promise);},__self:this,__source:{fileName:_jsxFileName,lineNumber:295,columnNumber:15}},_react.default.createElement(_icons.IconDownload,{__self:this,__source:{fileName:_jsxFileName,lineNumber:337,columnNumber:17}}),_react.default.createElement(_MText.MText,{style:{color:'rgba(51, 51, 51, 1)',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:338,columnNumber:17}},"T\u1EA3i m\xE3 QR"))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:348,columnNumber:13}}),_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:355,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:356,columnNumber:15}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:366,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:373,columnNumber:17}},(_props$route$params2=props.route.params)==null?void 0:(_props$route$params2$=_props$route$params2.data)==null?void 0:_props$route$params2$.accountNumber),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route$params3,_props$route$params3$;return _reactNative.Clipboard.setString((_props$route$params3=props.route.params)==null?void 0:(_props$route$params3$=_props$route$params3.data)==null?void 0:_props$route$params3$.accountNumber);},__self:this,__source:{fileName:_jsxFileName,lineNumber:383,columnNumber:17}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:388,columnNumber:19}}))),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:391,columnNumber:15}},"T\xEAn t\xE0i kho\u1EA3n th\u1EE5 h\u01B0\u1EDFng"),_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:401,columnNumber:15}},(_props$route$params4=props.route.params)==null?void 0:(_props$route$params4$=_props$route$params4.data)==null?void 0:_props$route$params4$.accountName),_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:412,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:413,columnNumber:17}},"S\u1ED1 ti\u1EC1n ph\u1EA3i tr\u1EA3"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:423,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:430,columnNumber:19}},(0,_utils.formatMoney)(props!=null&&(_props$route0=props.route)!=null&&(_props$route0$params=_props$route0.params)!=null&&_props$route0$params.isFullPayment?props==null?void 0:(_props$route1=props.route)==null?void 0:(_props$route1$params=_props$route1.params)==null?void 0:_props$route1$params.totalMoney:props==null?void 0:(_props$route10=props.route)==null?void 0:(_props$route10$params=_props$route10.params)==null?void 0:(_props$route10$params2=_props$route10$params.item)==null?void 0:_props$route10$params2.payMoney),' ',"\u0111"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route11,_props$route11$params,_props$route12,_props$route12$params,_props$route13,_props$route13$params,_props$route13$params2;return _reactNative.Clipboard.setString(props!=null&&(_props$route11=props.route)!=null&&(_props$route11$params=_props$route11.params)!=null&&_props$route11$params.isFullPayment?props==null?void 0:(_props$route12=props.route)==null?void 0:(_props$route12$params=_props$route12.params)==null?void 0:_props$route12$params.totalMoney:props==null?void 0:(_props$route13=props.route)==null?void 0:(_props$route13$params=_props$route13.params)==null?void 0:(_props$route13$params2=_props$route13$params.item)==null?void 0:_props$route13$params2.payMoney);},__self:this,__source:{fileName:_jsxFileName,lineNumber:444,columnNumber:19}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:453,columnNumber:21}}))),_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:10,fontStyle:'italic'},__self:this,__source:{fileName:_jsxFileName,lineNumber:456,columnNumber:17}},"S\u1ED1 ti\u1EC1n \u0111\u01B0\u1EE3c t\xEDnh \u0111\u1EBFn ng\xE0y ",(0,_moment.default)().format('DD/MM/YYYY'))),_react.default.createElement(_rnTourguide.TourGuideZone,{zone:1,text:'Để hệ thống ghi nhận chính xác khoản thanh toán, bạn đừng quên sao chép đúng nội dung chuyển khoản nhé!',tooltipBottomOffset:-45,style:$transferGuideZone,__self:this,__source:{fileName:_jsxFileName,lineNumber:466,columnNumber:15}},_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:474,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'rgba(51, 51, 51, 1)',fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:475,columnNumber:19}},"N\u1ED9i dung chuy\u1EC3n kho\u1EA3n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#EB5757',fontWeight:'300'},__self:this,__source:{fileName:_jsxFileName,lineNumber:483,columnNumber:21}},"(B\u1EAFt bu\u1ED9c)")),_react.default.createElement(_reactNative.View,{ref:transferContentRef,onLayout:function onLayout(event){transferContentY.current=event.nativeEvent.layout.y;transferContentHeight.current=event.nativeEvent.layout.height;},style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:493,columnNumber:19}},_react.default.createElement(_MText.MText,{style:{color:'rgba(61, 61, 61, 1)',fontWeight:'600',fontSize:16,fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:506,columnNumber:21}},props!=null&&(_props$route14=props.route)!=null&&(_props$route14$params=_props$route14.params)!=null&&_props$route14$params.isFullPayment?"Tat toan TC"+((_props$route$params5=props.route.params)==null?void 0:(_props$route$params5$=_props$route$params5.data)==null?void 0:_props$route$params5$.codeId):"TC"+((_props$route$params6=props.route.params)==null?void 0:(_props$route$params6$=_props$route$params6.data)==null?void 0:_props$route$params6$.codeId)),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route15,_props$route15$params,_props$route$params7,_props$route$params7$,_props$route$params8,_props$route$params8$;return _reactNative.Clipboard.setString(props!=null&&(_props$route15=props.route)!=null&&(_props$route15$params=_props$route15.params)!=null&&_props$route15$params.isFullPayment?"Tat toan TC"+((_props$route$params7=props.route.params)==null?void 0:(_props$route$params7$=_props$route$params7.data)==null?void 0:_props$route$params7$.codeId):"TC"+((_props$route$params8=props.route.params)==null?void 0:(_props$route$params8$=_props$route$params8.data)==null?void 0:_props$route$params8$.codeId));},__self:this,__source:{fileName:_jsxFileName,lineNumber:518,columnNumber:21}},_react.default.createElement(_icons.IconCopy,{__self:this,__source:{fileName:_jsxFileName,lineNumber:527,columnNumber:23}})))))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFF2F2',padding:10,borderRadius:8,marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:533,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'#EB5757',fontSize:12,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:541,columnNumber:15}},"*L\u01B0u \xFD:"),_react.default.createElement(_MText.MText,{style:{fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:551,columnNumber:15}},"- Vui l\xF2ng sao ch\xE9p \u0111\xFAng v\xE0 \u0111\u1EA7y \u0111\u1EE7 n\u1ED9i dung thanh to\xE1n \u0111\u1EC3 h\u1EC7 th\u1ED1ng ghi nh\u1EADn giao d\u1ECBch"),_react.default.createElement(_MText.MText,{style:{fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:559,columnNumber:15}},"- Th\xF4ng tin t\xE0i kho\u1EA3n d\u1ECBch v\u1EE5 h\u1ED7 tr\u1EE3 thu h\u1ED9 cung c\u1EA5p b\u1EDFi GPay. T\xE0i kho\u1EA3n chuy\xEAn d\u1EE5ng n\xE0y ch\u1EC9 d\xE0nh cho m\u1EE5c \u0111\xEDch tr\u1EA3 n\u1EE3 c\u1EE7a b\xEAn \u0111i vay."))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',padding:16,marginBottom:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:570,columnNumber:11}},_react.default.createElement(_MText.MText,{__self:this,__source:{fileName:_jsxFileName,lineNumber:579,columnNumber:13}},"H\u01B0\u1EDBng d\u1EABn chuy\u1EC3n ti\u1EC1n"),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){var _props$route16,_props$route16$params;if(props!=null&&(_props$route16=props.route)!=null&&(_props$route16$params=_props$route16.params)!=null&&_props$route16$params.isFullPayment){setShowGuide(true);}else{navigation.push('GuideTransferBank');}},__self:this,__source:{fileName:_jsxFileName,lineNumber:580,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'#2F80ED',textDecorationLine:'underline'},__self:this,__source:{fileName:_jsxFileName,lineNumber:589,columnNumber:15}},"Xem chi ti\u1EBFt")))),(props==null?void 0:(_props$route17=props.route)==null?void 0:(_props$route17$params=_props$route17.params)==null?void 0:_props$route17$params.isFullPayment)&&_react.default.createElement(_reactNative.TouchableOpacity,{style:{margin:16},onPress:function onPress(){_reactNative.Alert.alert('Xác nhận tất toán','Bạn có chắc muốn gửi YÊU CẦU TẤT TOÁN hợp đồng không?',[{text:'Có',onPress:function onPress(){var _props$route18,_props$route18$params,_response$data3,_response$data3$meta;var response,_response$data4,_response$data4$meta;return _regenerator.default.async(function(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=1;return _regenerator.default.awrap(_api.Api.getInstance().confirm_final_settlement({loanBriefId:props==null?void 0:(_props$route18=props.route)==null?void 0:(_props$route18$params=_props$route18.params)==null?void 0:_props$route18$params.id}));case 1:response=_context3.sent;if(response.kind==='ok'&&((_response$data3=response.data)==null?void 0:(_response$data3$meta=_response$data3.meta)==null?void 0:_response$data3$meta.errorCode)===200){_reactNative.Alert.alert('GỬI YÊU CẦU THÀNH CÔNG!','Yêu cầu tất toán đang được Tima xử lý, vui lòng chờ trong ít phút.',[{text:'Đồng ý',onPress:function onPress(){navigation.navigate('Main');}}]);}else{_reactNative.Alert.alert('Thông báo',(response==null?void 0:(_response$data4=response.data)==null?void 0:(_response$data4$meta=_response$data4.meta)==null?void 0:_response$data4$meta.errorMessage)||'Có lỗi xảy ra. Vui lòng thử lại sau');}case 2:case"end":return _context3.stop();}},null,null,null,Promise);}},{text:'Không'}]);},__self:this,__source:{fileName:_jsxFileName,lineNumber:598,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF7A00','#EF4123'],style:{alignItems:'center',borderRadius:30,height:40,justifyContent:'center'},__self:this,__source:{fileName:_jsxFileName,lineNumber:644,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:653,columnNumber:15}},"X\xE1c nh\u1EADn t\u1EA5t to\xE1n")))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:664,columnNumber:7}}),_react.default.createElement(_reactNativeModal.default,{isVisible:showGuide,onBackdropPress:function onBackdropPress(){return setShowGuide(false);},style:{justifyContent:'flex-end',margin:0},__self:this,__source:{fileName:_jsxFileName,lineNumber:665,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30},__self:this,__source:{fileName:_jsxFileName,lineNumber:670,columnNumber:9}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{borderTopLeftRadius:30,borderTopRightRadius:30,paddingBottom:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:677,columnNumber:11}},_react.default.createElement(_reactNative.View,{style:{padding:16,alignItems:'center',gap:4},__self:this,__source:{fileName:_jsxFileName,lineNumber:685,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{fontSize:16,fontWeight:'600',color:'white',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:686,columnNumber:15}},"C\xC1C B\u01AF\u1EDAC T\u1EA4T TO\xC1N"),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:696,columnNumber:15}},"C\xF3 2 b\u01B0\u1EDBc, vui l\xF2ng \u0111\u1ECDc k\u0129 th\xF4ng tin"))),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'white',borderTopLeftRadius:30,borderTopRightRadius:30,top:-24,padding:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:706,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:715,columnNumber:13}},"B\u01AF\u1EDAC 1: CHUY\u1EC2N KHO\u1EA2N"),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:724,columnNumber:13}},"C\xE1ch 1: Thanh to\xE1n b\u1EB1ng QR (Khuy\u1EBFn ngh\u1ECB)"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:733,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:741,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:742,columnNumber:15}},"L\u01B0u ho\u1EB7c qu\xE9t m\xE3 QR")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:746,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:754,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:755,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'rgba(224, 224, 224, 1)',marginVertical:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:759,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:766,columnNumber:13}},"C\xE1ch 2: Chuy\u1EC3n kho\u1EA3n th\u1EE7 c\xF4ng"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:774,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:782,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:783,columnNumber:15}},"Copy th\xF4ng tin t\xE0i kho\u1EA3n (S\u1ED1 TK, Ng\xE2n h\xE0ng, S\u1ED1 ti\u1EC1n)")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:787,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:795,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:796,columnNumber:15}},_react.default.createElement(_MText.MText,{style:{color:'#EB5757',fontSize:12,fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:797,columnNumber:17}},"B\u1EAET BU\u1ED8C:"),' ',"Copy \u0111\xFAng \u201CN\u1ED9i dung chuy\u1EC3n kho\u1EA3n\u201D")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:810,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:818,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:15}},"M\u1EDF app ng\xE2n h\xE0ng v\xE0 thanh to\xE1n")),_react.default.createElement(_reactNative.View,{style:{height:12,backgroundColor:'#FFF3E9',marginVertical:10,marginHorizontal:-16},__self:this,__source:{fileName:_jsxFileName,lineNumber:823,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontWeight:'600',fontFamily:'BeVietnamPro-SemiBold',color:'#EF592E'},__self:this,__source:{fileName:_jsxFileName,lineNumber:831,columnNumber:13}},"B\u01AF\u1EDAC 2:"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:840,columnNumber:13}},_react.default.createElement(_icons.TimaSmall,{__self:this,__source:{fileName:_jsxFileName,lineNumber:848,columnNumber:15}}),_react.default.createElement(_MText.MText,{style:{flex:1,fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:849,columnNumber:15}},"Ch\u1ECDn \u201CX\xE1c nh\u1EADn t\u1EA5t to\xE1n\u201D \u0111\u1EC3 g\u1EEDi y\xEAu c\u1EA7u t\u1EDBi Tima th\u1EF1c hi\u1EC7n \u201CT\u1EA5t to\xE1n h\u1EE3p \u0111\u1ED3ng\u201D"))),_react.default.createElement(_reactNative.TouchableOpacity,{style:{position:'absolute',left:16,top:16},onPress:function onPress(){return setShowGuide(false);},__self:this,__source:{fileName:_jsxFileName,lineNumber:855,columnNumber:11}},_react.default.createElement(_icons.CloseIcon,{__self:this,__source:{fileName:_jsxFileName,lineNumber:859,columnNumber:13}})))));});var $backButton={position:'absolute',left:16};var $header={flexDirection:'row',alignItems:'center',paddingVertical:16,justifyContent:'center'};var $tourTooltipPosition={alignItems:'flex-end',overflow:'visible',paddingHorizontal:16,paddingTop:0,paddingBottom:0,borderRadius:0};var $tourTooltip={width:224,minHeight:84,backgroundColor:'white',borderRadius:8,paddingHorizontal:12,paddingTop:10,paddingBottom:12,shadowColor:'#000',shadowOffset:{width:0,height:2},shadowOpacity:0.18,shadowRadius:8,elevation:8};var $tourTooltipText={color:'#333333',fontSize:10,lineHeight:16,fontWeight:'400'};var $tourTooltipButton={alignSelf:'flex-end',marginTop:6};var $tourTooltipButtonText={color:'#EF592E',fontSize:10,lineHeight:16,textDecorationLine:'underline'};var $tourTooltipArrow={position:'absolute',right:18,bottom:-10,width:0,height:0,borderLeftWidth:8,borderRightWidth:8,borderTopWidth:10,borderLeftColor:'transparent',borderRightColor:'transparent',borderTopColor:'white'};var $transferGuideZone={backgroundColor:'white',borderRadius:8,borderWidth:2,borderColor:'white',marginTop:16};
2
2
  //# sourceMappingURL=ShowQrCode.js.map