var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.QuickTerm=void 0;var _native=require("@react-navigation/native");var _mobxReactLite=require("mobx-react-lite");var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _CommonStyles=require("../CommonStyles");var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/screens/terms/QuickTerm.tsx";var QuickTerm=exports.QuickTerm=(0,_mobxReactLite.observer)(function QuickTerm(props){var navigation=(0,_native.useNavigation)();var source={uri:props.route.params.fullSubmit?'bundle-assets://pdf/full.pdf':'bundle-assets://pdf/quick.pdf',cache:true};return _react.default.createElement(_reactNative.View,{style:{flex:1,backgroundColor:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:24,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"T&C_\u0110i\u1EC1u kho\u1EA3n v\xE0 \u0111i\u1EC1u ki\u1EC7n",onBack:function onBack(){navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:25,columnNumber:7}}),_react.default.createElement(_reactNative.SafeAreaView,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:31,columnNumber:7}},_react.default.createElement(_reactNativePdf.default,{trustAllCerts:false,source:props!=null&&props.route.params.fullSubmit?{uri:'https://upl.tima.vn/uploads/cimb/TIMA_Cashloan_TnC.pdf'}:{uri:'https://upl.tima.vn/uploads/cimb/GENERAL_TERMS_AND_CONDITIONS.pdf'},style:[_CommonStyles.commonStyles.fill,{marginTop:8}],onError:function onError(error){console.log(error);},__self:this,__source:{fileName:_jsxFileName,lineNumber:32,columnNumber:9}})));});
//# sourceMappingURL=QuickTerm.js.map