From 066201cb5eb52c33fcc01a0d5f9f703a1409f036 Mon Sep 17 00:00:00 2001 From: Brice Zele Date: Sat, 5 Dec 2020 14:26:44 +0100 Subject: [PATCH] Rattacher compte bancaire --- App.js | 4 +- .../app/src/main/assets/index.android.bundle | 6 +- datas/json/link_card.json | 1 + redux/actions/WalletActions.js | 46 +- redux/reducers/GetIlinkBankReducer.js | 42 ++ redux/reducers/ReattachAccountReducer.js | 42 ++ redux/reducers/index.js | 4 + redux/types/WalletType.js | 10 + route.json | 3 +- screens/home/Home.js | 4 +- screens/nano-credit/CasserEpargneUser.js | 2 +- screens/nano-credit/EpargnerArgentUser.js | 4 +- screens/nano-credit/RefundNanoCreditUser.js | 2 +- screens/optionMenu/OptionsMenu.js | 2 +- screens/wallet/WalletDetail.js | 83 ++-- screens/wallet/WalletDetailUser.js | 54 ++- screens/wallet/WalletOptionSelect.js | 22 +- screens/wallet/user/ReattachAccountUser.js | 419 ++++++++++++++++++ utils/UtilsFunction.js | 32 +- utils/i18n/en.json | 3 + utils/i18n/fr.json | 5 +- webservice/IlinkConstants.js | 2 + webservice/WalletApi.js | 92 +++- 23 files changed, 801 insertions(+), 83 deletions(-) create mode 100644 datas/json/link_card.json create mode 100644 redux/reducers/GetIlinkBankReducer.js create mode 100644 redux/reducers/ReattachAccountReducer.js create mode 100644 screens/wallet/user/ReattachAccountUser.js diff --git a/App.js b/App.js index f9ff4e3e..2ac543a3 100644 --- a/App.js +++ b/App.js @@ -82,6 +82,7 @@ import EpargnerArgentUser from './screens/nano-credit/EpargnerArgentUser'; import CasserEpargneUser from './screens/nano-credit/CasserEpargneUser'; import {IlinkEmitter} from './utils/events'; import EnvoieWalletToBankAgent from "./screens/wallet/agent/EnvoieWalletToBankAgent"; +import ReattachAccountUser from "./screens/wallet/user/ReattachAccountUser"; const instructions = Platform.select({ @@ -124,7 +125,6 @@ const AppStack = createDrawerNavigator({ walletDetailUser: WalletDetailUser, walletOptionSelect: WalletOptionSelect, operateurOptionSelect: OperateurOptionSelect, - operateurOptionSelect: OperateurOptionSelect, paiementFacture: PaiementFacture, envoieWalletToWalletUser: EnvoieWalletToWalletUser, envoieWalletToCashUser: EnvoieWalletToCashUser, @@ -134,6 +134,7 @@ const AppStack = createDrawerNavigator({ retraitCarteVersCashUser: RetraitCarteVersCashUser, retraitCarteVersWalletUser: RetraitCarteVersWalletUser, linkCard: LinkCard, + reattachAccountUser: ReattachAccountUser, epargnerArgentUser: EpargnerArgentUser, createGroupNanoCredit: CreateGroupNanoCredit, groupNanoCredit: { @@ -216,7 +217,6 @@ const AppAgentStack = createDrawerNavigator({ screen: createBottomTabNavigator({myDemand: MyHistory}, { headerMode: "none", header: null, - headerTitle: null, headerTitle: I18n.t('CREDIT_MANAGE'), tabBarOptions: { labelStyle: { diff --git a/android/app/src/main/assets/index.android.bundle b/android/app/src/main/assets/index.android.bundle index 0aed040c..d45ec68f 100644 --- a/android/app/src/main/assets/index.android.bundle +++ b/android/app/src/main/assets/index.android.bundle @@ -1648,7 +1648,7 @@ __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{v __d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var o=l(r(d[1])),t=l(r(d[2])),u=l(r(d[3])),n=r(d[4]),c=l(r(d[5])),f=l(r(d[6])),y=l(r(d[7])),C=r(d[8]);function p(l){var c=l.style,p=l.textStyle,b=l.icon,s=l.primary,S=l.primaryIcon,h=l.outline,x=l.outlineIcon,I=l.outlineSecondary,k=l.outlineSecondaryIcon,O=l.small,L=l.light,v=l.gray,P=l.chip,T=l.status,_=l.rate,j=l.rateSmall,E=l.sale,R=l.children,B=(0,t.default)(l,["style","textStyle","icon","primary","primaryIcon","outline","outlineIcon","outlineSecondary","outlineSecondaryIcon","small","light","gray","chip","status","rate","rateSmall","sale","children"]);return u.default.createElement(n.TouchableOpacity,(0,o.default)({},B,{style:n.StyleSheet.flatten([y.default.default,s&&[y.default.primary,{backgroundColor:C.Color.primaryColor}],S&&y.default.primary,h&&[y.default.outline,{borderColor:C.Color.primary,backgroundColor:C.Color.cardBackgroundColor}],x&&y.default.outline,I&&y.default.outlineSecondary,k&&[y.default.outlineSecondary,{borderColor:C.Color.accentColor}],O&&[y.default.small,{backgroundColor:C.Color.primaryColor}],L&&[y.default.light,{backgroundColor:C.Color.primaryColor}],v&&y.default.gray,P&&[y.default.chip,{backgroundColor:C.Color.card,borderColor:C.Color.accentColor}],T&&[y.default.status,{backgroundColor:C.Color.primaryColor}],_&&[y.default.rate,{backgroundColor:C.Color.primaryLightColor}],j&&[y.default.rateSmall,{backgroundColor:C.Color.primaryLightColor}],E&&[y.default.sale,{backgroundColor:C.Color.primaryLightColor}],c]),activeOpacity:.9}),b||null,u.default.createElement(f.default,{style:n.StyleSheet.flatten([s&&y.default.textPrimary,S&&y.default.textPrimary,h&&[y.default.textOutline,{color:C.Color.primaryColor}],x&&[y.default.textOutline,{color:C.Color.primaryColor}],I&&[y.default.textOutlineSecondary,{color:C.Color.accentColor}],k&&[y.default.textOutlineSecondary,{color:C.Color.accentColor}],O&&y.default.textSmall,L&&[y.default.textLight,{color:C.Color.primaryLightColor}],v&&y.default.textGray,P&&[y.default.textChip,{color:C.Color.accentColor}],T&&y.default.textStatus,_&&y.default.textRate,j&&y.default.textRateSmall,E&&y.default.textSale,p]),numberOfLines:1},R||''))}p.propTypes={style:c.default.oneOfType([c.default.object,c.default.array]),textStyle:c.default.oneOfType([c.default.object,c.default.array]),icon:c.default.node,primary:c.default.bool,primaryIcon:c.default.bool,outline:c.default.bool,outlineIcon:c.default.bool,outlineSecondary:c.default.bool,outlineSecondaryIcon:c.default.bool,small:c.default.bool,light:c.default.bool,gray:c.default.bool,chip:c.default.bool,rate:c.default.bool,rateSmall:c.default.bool,status:c.default.bool,sale:c.default.bool},p.defaultProps={style:{},textStyle:{},icon:null,primary:!1,primaryIcon:!1,outline:!1,outlineIcon:!1,outlineSecondary:!1,outlineSecondaryIcon:!1,small:!1,light:!1,gray:!1,chip:!1,status:!1,rate:!1,rateSmall:!1,sale:!1}},1642,[1,6,57,15,18,68,1643,1644,1026]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var l=t(r(d[1])),o=t(r(d[2])),n=r(d[3]),h=t(r(d[4])),f=r(d[5]);t(r(d[6]));function u(t){var h=t.header,u=t.title1,y=t.title2,b=t.title3,p=t.headline,c=t.body1,s=t.body2,S=t.callout,W=t.subhead,T=t.footnote,v=t.caption1,F=t.caption2,L=t.overline,O=t.thin,k=t.ultraLight,x=t.light,_=t.regular,A=t.medium,j=t.semibold,P=t.bold,E=t.heavy,M=t.black,q=t.numberOfLines,w=(t.textAlign,t.style),z=t.children;return o.default.createElement(n.Text,(0,l.default)({style:n.StyleSheet.flatten([h&&f.Typography.header,u&&f.Typography.title1,y&&f.Typography.title2,b&&f.Typography.title3,p&&f.Typography.headline,c&&f.Typography.body1,s&&f.Typography.body2,S&&f.Typography.callout,W&&f.Typography.subhead,T&&f.Typography.footnote,v&&f.Typography.caption1,F&&f.Typography.caption2,L&&f.Typography.overline,O&&n.StyleSheet.flatten({fontWeight:f.FontWeight.thin}),k&&n.StyleSheet.flatten({fontWeight:f.FontWeight.ultraLight}),x&&n.StyleSheet.flatten({fontWeight:f.FontWeight.light}),_&&n.StyleSheet.flatten({fontWeight:f.FontWeight.regular}),A&&n.StyleSheet.flatten({fontWeight:f.FontWeight.medium}),j&&n.StyleSheet.flatten({fontWeight:f.FontWeight.semibold}),P&&n.StyleSheet.flatten({fontWeight:f.FontWeight.bold}),E&&n.StyleSheet.flatten({fontWeight:f.FontWeight.heavy}),M&&n.StyleSheet.flatten({fontWeight:f.FontWeight.black}),w&&w])},t,{numberOfLines:q}),z)}u.propTypes={header:h.default.bool,title1:h.default.bool,title2:h.default.bool,title3:h.default.bool,headline:h.default.bool,body1:h.default.bool,body2:h.default.bool,callout:h.default.bool,subhead:h.default.bool,footnote:h.default.bool,caption1:h.default.bool,caption2:h.default.bool,overline:h.default.bool,thin:h.default.bool,ultraLight:h.default.bool,light:h.default.bool,regular:h.default.bool,medium:h.default.bool,semibold:h.default.bool,bold:h.default.bool,heavy:h.default.bool,black:h.default.bool,numberOfLines:h.default.number,textAlign:h.default.string,style:h.default.oneOfType([h.default.object,h.default.array]),children:h.default.node},u.defaultProps={header:!1,title1:!1,title2:!1,title3:!1,headline:!1,body1:!1,body2:!1,callout:!1,subhead:!1,footnote:!1,caption1:!1,caption2:!1,overline:!1,thin:!1,ultraLight:!1,light:!1,regular:!1,medium:!1,semibold:!1,bold:!1,heavy:!1,black:!1,numberOfLines:10,textAlign:'left',style:{},children:''}},1643,[1,6,15,18,68,1015,1642]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;t(r(d[1]));var o=r(d[2]),n=r(d[3]),l=r(d[4]),c=o.StyleSheet.create({default:{flexDirection:'row'},primary:{paddingVertical:5,paddingHorizontal:10,borderRadius:17,alignItems:'center',justifyContent:'center'},textPrimary:o.StyleSheet.flatten([n.Typography.caption1,{color:l.Color.whiteColor}]),outline:{paddingVertical:5,paddingHorizontal:10,borderRadius:16,borderWidth:1,alignItems:'center',justifyContent:'center'},textOutline:n.Typography.caption1,outlineSecondary:{paddingVertical:5,paddingHorizontal:10,borderRadius:17,backgroundColor:l.Color.whiteColor,alignItems:'center',justifyContent:'center'},textOutlineSecondary:n.Typography.caption1,small:{paddingHorizontal:5,borderRadius:5,alignItems:'center',justifyContent:'center'},textSmall:o.StyleSheet.flatten([n.Typography.caption2,{color:l.Color.whiteColor}]),light:{padding:5,borderRadius:5,alignItems:'center',justifyContent:'center'},textLight:n.Typography.caption2,gray:{padding:5,backgroundColor:l.Color.fieldColor,borderColor:l.Color.fieldColor,alignItems:'center',justifyContent:'center'},textGray:o.StyleSheet.flatten([n.Typography.caption2]),chip:{paddingVertical:4,paddingHorizontal:6,borderRadius:16,alignItems:'center',justifyContent:'center',borderWidth:.5},textChip:n.Typography.overline,status:{paddingVertical:3,paddingHorizontal:5,borderRadius:5,alignItems:'center',justifyContent:'center'},textStatus:o.StyleSheet.flatten([n.Typography.caption2,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}]),rate:{paddingVertical:5,paddingHorizontal:10,borderTopLeftRadius:5,borderBottomLeftRadius:5,borderBottomRightRadius:5,alignItems:'center',justifyContent:'center'},textRate:o.StyleSheet.flatten([n.Typography.headline,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}]),rateSmall:{borderRadius:3,paddingHorizontal:5,alignItems:'center',justifyContent:'center'},textRateSmall:o.StyleSheet.flatten([n.Typography.caption2,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}]),sale:{width:50,height:50,borderRadius:25,alignItems:'center',justifyContent:'center'},textSale:o.StyleSheet.flatten([n.Typography.headline,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}])});e.default=c},1644,[1,15,18,1015,1026]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.optionPaiementFacture=e.optionPaiementEcole=e.optionPaiementAbonnementTV=e.optionPaiementCreditTelephonique=e.optionPaiementElectricite=e.optionPaiementEau=e.optionNanoCreditAgentScreen=e.optionNanoCreditScreen=e.optionIdentificationUserScreen=e.optionIdentificationScreen=e.optionDepotUserScreen=e.optionRetraitUserScreen=e.optionRetraitScreen=e.optionDepotScreen=e.optionWalletToBank=e.displayTransactionType=e.transactionHistoryUser=e.transactionHistoryNanoCreditLabel=e.nanoCreditHistoryLabel=e.transactionHistoryIlinkLabel=e.transactionHistoryLabel=e.inputCardSource=e.walletActifData=e.paysDestinationData=e.typeIdIDestinataire=e.typeEpargne=e.typeCaution=e.withdrawalMode=e.identityPieces=e.isEmptyObject=e.isIlinkWorldWallet=e.displayToast=e.isNormalInteger=e.cutStringWithoutDot=e.cutString=e.thousandsSeparators=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),l=(r(d[4]),r(d[5]));e.thousandsSeparators=function(t){var n=t.toString().split(".");return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g," "),n.join(".")};e.cutString=function(t,n){return null===t?' ':t.slice(0,n)+"..."};e.cutStringWithoutDot=function(t,n){return null===t?' ':""+t.slice(0,n)};e.isNormalInteger=function(t){return!/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(t)};e.displayToast=function(t){o.default.show(t,{duration:o.default.durations.LONG,position:o.default.positions.BOTTOM,backgroundColor:c.Color.primaryColor,shadow:!0,animation:!0,hideOnPress:!0,delay:0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}})};e.isIlinkWorldWallet=function(t){return(0,n.default)(t,'ilink')};e.isEmptyObject=function(t){for(var n in t)if(t.hasOwnProperty(n))return!1;return JSON.stringify(t)===JSON.stringify({})};e.identityPieces=function(){return[{name:'IDENTITY_CARD'},{name:'PASSEPORT'},{name:'OTHER_IDENTITY_PIECE'}]};e.withdrawalMode=function(){return[{name:'WITHDRAWAL_IN_CASH'},{name:'TRANSFER_IN_ACCOUNT'}]};e.typeCaution=function(){return[{name:'GROUP'},{name:'INDIVIDUAL'}]};e.typeEpargne=function(){return[{name:'SIMPLE'},{name:'BLOCKED'}]};e.typeIdIDestinataire=function(){return[{name:'PHONE'},{name:'CODE_WALLET'}]};e.paysDestinationData=function(){return[{name:'Cameroun'},{name:'Gabon'},{name:'Congo'},{name:'S\xe9n\xe9gal'},{name:'C\xf4te d\'Ivoire'}]};e.walletActifData=function(){return[{name:'UBA'},{name:'SOGO'},{name:'Small World'},{name:'UBA fs iLink'},{name:'iLink World'}]};e.inputCardSource=function(){return[{name:'NUMERO_DE_SERIE',value:'serial-number'},{name:'CREDIT_CARD',value:'credit-card'}]};e.transactionHistoryLabel=function(){return[{icon:'inbox-arrow-up',label:'Source'},{icon:'cash',label:'AMOUNT_LABEL'},{icon:'account-arrow-right',label:'DESTINATAIRE'},{icon:'calendar-clock',label:'Date'}]};e.transactionHistoryIlinkLabel=function(){return[{icon:'cash',label:'AMOUNT_LABEL'},{icon:'account-arrow-right',label:'DESTINATAIRE'},{icon:'calendar-clock',label:'DATE'}]};e.nanoCreditHistoryLabel=function(){return[{icon:'arrow-expand',label:'HISTORY_TYPE'},{icon:'inbox-arrow-up',label:'ETAT'},{icon:'cash',label:'AMOUNT_LABEL'},{icon:'calendar-clock',label:'DATE'}]};e.transactionHistoryNanoCreditLabel=function(){return[{icon:'cash',label:'Type'},{icon:'cash',label:'AMOUNT_LABEL'},{icon:'calendar-clock',label:'Date'}]};e.transactionHistoryUser=function(){return[{type:'depot',source:'wallet',montant:1e4,destinataire:'John Doe',date:'2020-05-15'},{type:'retrait',source:'wallet',montant:1e4,destinataire:'John Doe',date:'2020-05-15'}]};e.displayTransactionType=function(t){return(0,n.default)(t,'E')?'SAVING':'NANO_CREDIT'};var p={title:'DEPOSIT_TO_BANK',subTitle:'CHOOSE_OPERATOR',options:[]};e.optionWalletToBank=p;var E={type:'DEPOT',title:'ENVOIE_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.envoieCashVersWalletAgent,icon:'wallet',title:'DEPOSIT_CASH_TO_WALLET'},{screen:l.envoieCashVersAutreWalletAgent,icon:'cash-refund',title:'DEPOSIT_CASH_TO_OTHER_WALLET'},{screen:l.envoieCashVersCarteAgent,icon:'credit-card',title:'DEPOSIT_CASH_TO_VISA'},{screen:l.envoiCashVersCashAgent,icon:'cash-multiple',title:'DEPOSIT_CASH_TO_CASH'},{screen:l.operateurOptionSelect,icon:'bank-transfer-in',title:'DEPOSIT_CASH_TO_BANK',subScreenOption:p,type:'WALLET_TO_BANK'}]};e.optionDepotScreen=E;var s={type:'RETRAIT',title:'RETRAIT_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.retraitEnCashAgent,icon:'cash',title:'WITHDRAWAL_IN_CASH'},{screen:l.retraitCarteVersCashAgent,icon:'credit-card',title:'WITHDRAWAL_CARD_TO_CASH_AGENT'}]};e.optionRetraitScreen=s;var T={type:'RETRAIT_USER',title:'RETRAIT_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.retraitWalletVersCashUser,icon:'wallet',title:'WITHDRAWAL_WALLET_TO_CASH'},{screen:l.retraitCarteVersCashUser,icon:'credit-card-refund',title:'WITHDRAWAL_CARD_TO_CASH'},{screen:l.retraitCarteVersWalletUser,icon:'credit-card',title:'WITHDRAWAL_CARD_TO_WALLET'},{screen:'',icon:'credit-card',title:'WITHDRAWAL_BANK_TO_WALLET'}]};e.optionRetraitUserScreen=T;var u={type:'DEPOT_USER',title:'ENVOIE_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.envoieWalletToWalletUser,icon:'wallet',title:'DEPOSIT_WALLET_TO_WALLET'},{screen:l.envoieWalletToCashUser,icon:'cash-refund',title:'DEPOSIT_TO_CASH'},{screen:l.envoieWalletToCardUser,icon:'credit-card',title:'DEPOSIT_TO_CARD'},{type:'WALLET_TO_BANK',screen:l.operateurOptionSelect,icon:'bank-transfer-in',title:'DEPOSIT_TO_BANK',subScreenOption:p}]};e.optionDepotUserScreen=u;var O={type:'IDENTIFICATION',title:'IDENTIFICATION',subTitle:'CHOOSE_OPTION',options:[{screen:l.createIdentification,icon:'pencil-plus',title:'CREATION_IDENTIFICATION_DESCRIPTION_SUBSCREEN'},{screen:l.validateIdentification,icon:'check-circle',title:'VALIDATE_IDENTIFICATION_DESCRIPTION'}]};e.optionIdentificationScreen=O;var A={type:'IDENTIFICATION',title:'IDENTIFICATION',subTitle:'CHOOSE_OPTION',options:[{screen:l.createIdentificationUser,icon:'pencil-plus',title:'CREATE_MY_IDENTIFICATION'},{screen:l.modifyIdentificationUser,icon:'pencil',title:'MODIFY_IDENTIFICATION'}]};e.optionIdentificationUserScreen=A;var I={type:'NANO_CREDIT',title:'NANO_CREDIT',subTitle:'CHOOSE_OPTION',options:[{icon:'account-multiple',title:'MANAGE_GROUP',screen:l.groupNanoCredit},{title:'DEMAND_NANO_CREDIT',screen:l.askNanoCredit,icon:'cash'},{title:'REFUND_NANO_CREDIT',screen:l.refundNanoCreditUser,icon:"cash-refund"},{screen:l.epargnerArgentUser,icon:'cash-register',title:'SAVE_MONEY'},{screen:l.casserEpargneUser,icon:'cash-multiple',title:'BREAK_EPARGNE'}]};e.optionNanoCreditScreen=I;var _={type:'NANO_CREDIT',title:'NANO_CREDIT',subTitle:'CHOOSE_OPTION',options:[{screen:l.cautionNanoCreditAgent,icon:'cash',title:'CAUTION_CREDIT'}]};e.optionNanoCreditAgentScreen=_;var N={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'water',options:[{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 1'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 2'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 3'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 4'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 5'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 6'}]};e.optionPaiementEau=N;var C={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'electricity',options:[{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 1'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 2'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 3'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 4'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 5'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 6'}]};e.optionPaiementElectricite=C;var k={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'phone',options:[{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 1'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 2'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 3'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 4'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 5'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 6'}]};e.optionPaiementCreditTelephonique=k;var b={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'tv',options:[{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 1'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 2'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 3'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 4'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 5'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 6'}]};e.optionPaiementAbonnementTV=b;var P={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'school',options:[{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 1'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 2'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 3'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 4'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 5'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 6'}]};e.optionPaiementEcole=P;var S={type:'FACTURE',title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPTION',options:[{type:'FACTURE_WATER_ELECTRICITY',icon:'water',title:'PAIEMENT_EAU',screen:l.operateurOptionSelect,subScreenOption:N},{type:'FACTURE_ELECTRICITY',icon:'water',title:'PAIEMENT_ELECTRICITY',screen:l.operateurOptionSelect,subScreenOption:C},{type:'FACTURE_SCHOOL',icon:'school',title:'PAIEMENT_ECOLE',screen:l.operateurOptionSelect,subScreenOption:P},{type:'FACTURE_PHONE',icon:'phone-classic',title:'PAIEMENT_CREDIT_TELEPHONIQUE',screen:l.operateurOptionSelect,subScreenOption:k},{type:'FACTURE_TV',icon:'television-classic',title:'PAIEMENT_ABONNEMENT_TV',screen:l.operateurOptionSelect,subScreenOption:b}]};e.optionPaiementFacture=S},1645,[1,688,1617,1026,1646,814]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.optionPaiementFacture=e.optionPaiementEcole=e.optionPaiementAbonnementTV=e.optionPaiementCreditTelephonique=e.optionPaiementElectricite=e.optionPaiementEau=e.optionNanoCreditAgentScreen=e.optionNanoCreditScreen=e.optionIdentificationUserScreen=e.optionIdentificationScreen=e.optionDepotUserScreen=e.optionRetraitUserScreen=e.optionRetraitScreen=e.optionDepotScreen=e.optionWalletToBank=e.displayTransactionType=e.transactionHistoryUser=e.transactionHistoryNanoCreditLabel=e.nanoCreditHistoryLabel=e.transactionHistoryIlinkLabel=e.transactionHistoryLabel=e.inputCardSource=e.walletActifData=e.paysDestinationData=e.typeIdIDestinataire=e.typeEpargne=e.typeCaution=e.withdrawalMode=e.identityPieces=e.isEmptyObject=e.isIlinkWorldWallet=e.displayToast=e.isNormalInteger=e.cutStringWithoutDot=e.cutString=e.thousandsSeparators=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=r(d[3]),l=(r(d[4]),r(d[5]));e.thousandsSeparators=function(t){var n=t.toString().split(".");return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g," "),n.join(".")};e.cutString=function(t,n){return null===t?' ':t.slice(0,n)+"..."};e.cutStringWithoutDot=function(t,n){return null===t?' ':""+t.slice(0,n)};e.isNormalInteger=function(t){return!/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(t)};e.displayToast=function(t){o.default.show(t,{duration:o.default.durations.LONG,position:o.default.positions.BOTTOM,backgroundColor:c.Color.primaryColor,shadow:!0,animation:!0,hideOnPress:!0,delay:0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}})};e.isIlinkWorldWallet=function(t){return(0,n.default)(t,'ilink')};e.isEmptyObject=function(t){for(var n in t)if(t.hasOwnProperty(n))return!1;return JSON.stringify(t)===JSON.stringify({})};e.identityPieces=function(){return[{name:'IDENTITY_CARD'},{name:'PASSEPORT'},{name:'OTHER_IDENTITY_PIECE'}]};e.withdrawalMode=function(){return[{name:'WITHDRAWAL_IN_CASH'},{name:'TRANSFER_IN_ACCOUNT'}]};e.typeCaution=function(){return[{name:'GROUP'},{name:'INDIVIDUAL'}]};e.typeEpargne=function(){return[{name:'SIMPLE'},{name:'BLOCKED'}]};e.typeIdIDestinataire=function(){return[{name:'PHONE'},{name:'CODE_WALLET'}]};e.paysDestinationData=function(){return[{name:'Cameroun'},{name:'Gabon'},{name:'Congo'},{name:'S\xe9n\xe9gal'},{name:'C\xf4te d\'Ivoire'}]};e.walletActifData=function(){return[{name:'UBA'},{name:'SOGO'},{name:'Small World'},{name:'UBA fs iLink'},{name:'iLink World'}]};e.inputCardSource=function(){return[{name:'NUMERO_DE_SERIE',value:'serial-number'},{name:'CREDIT_CARD',value:'credit-card'}]};e.transactionHistoryLabel=function(){return[{icon:'inbox-arrow-up',label:'Source'},{icon:'cash',label:'AMOUNT_LABEL'},{icon:'account-arrow-right',label:'DESTINATAIRE'},{icon:'calendar-clock',label:'Date'}]};e.transactionHistoryIlinkLabel=function(){return[{icon:'cash',label:'AMOUNT_LABEL'},{icon:'account-arrow-right',label:'DESTINATAIRE'},{icon:'calendar-clock',label:'DATE'}]};e.nanoCreditHistoryLabel=function(){return[{icon:'inbox-arrow-up',label:'ETAT'},{icon:'cash',label:'AMOUNT_LABEL'},{icon:'calendar-clock',label:'DATE'}]};e.transactionHistoryNanoCreditLabel=function(){return[{icon:'cash',label:'Type'},{icon:'cash',label:'AMOUNT_LABEL'},{icon:'calendar-clock',label:'Date'}]};e.transactionHistoryUser=function(){return[{type:'depot',source:'wallet',montant:1e4,destinataire:'John Doe',date:'2020-05-15'},{type:'retrait',source:'wallet',montant:1e4,destinataire:'John Doe',date:'2020-05-15'}]};e.displayTransactionType=function(t){return(0,n.default)(t,'E')?'SAVING':'NANO_CREDIT'};var p={title:'DEPOSIT_TO_BANK',subTitle:'CHOOSE_OPERATOR',options:[]};e.optionWalletToBank=p;var E={type:'DEPOT',title:'ENVOIE_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.envoieCashVersWalletAgent,icon:'wallet',title:'DEPOSIT_CASH_TO_WALLET'},{screen:l.envoieCashVersAutreWalletAgent,icon:'cash-refund',title:'DEPOSIT_CASH_TO_OTHER_WALLET'},{screen:l.envoieCashVersCarteAgent,icon:'credit-card',title:'DEPOSIT_CASH_TO_VISA'},{screen:l.envoiCashVersCashAgent,icon:'cash-multiple',title:'DEPOSIT_CASH_TO_CASH'},{screen:l.operateurOptionSelect,icon:'bank-transfer-in',title:'DEPOSIT_CASH_TO_BANK',subScreenOption:p,type:'WALLET_TO_BANK'}]};e.optionDepotScreen=E;var s={type:'RETRAIT',title:'RETRAIT_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.retraitEnCashAgent,icon:'cash',title:'WITHDRAWAL_IN_CASH'},{screen:l.retraitCarteVersCashAgent,icon:'credit-card',title:'WITHDRAWAL_CARD_TO_CASH_AGENT'}]};e.optionRetraitScreen=s;var T={type:'RETRAIT_USER',title:'RETRAIT_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.retraitWalletVersCashUser,icon:'wallet',title:'WITHDRAWAL_WALLET_TO_CASH'},{screen:l.retraitCarteVersCashUser,icon:'credit-card-refund',title:'WITHDRAWAL_CARD_TO_CASH'},{screen:l.retraitCarteVersWalletUser,icon:'credit-card',title:'WITHDRAWAL_CARD_TO_WALLET'},{screen:'',icon:'credit-card',title:'WITHDRAWAL_BANK_TO_WALLET'}]};e.optionRetraitUserScreen=T;var u={type:'DEPOT_USER',title:'ENVOIE_ARGENT',subTitle:'CHOOSE_OPTION',options:[{screen:l.envoieWalletToWalletUser,icon:'wallet',title:'DEPOSIT_WALLET_TO_WALLET'},{screen:l.envoieWalletToCashUser,icon:'cash-refund',title:'DEPOSIT_TO_CASH'},{screen:l.envoieWalletToCardUser,icon:'credit-card',title:'DEPOSIT_TO_CARD'},{type:'WALLET_TO_BANK',screen:l.operateurOptionSelect,icon:'bank-transfer-in',title:'DEPOSIT_TO_BANK',subScreenOption:p}]};e.optionDepotUserScreen=u;var O={type:'IDENTIFICATION',title:'IDENTIFICATION',subTitle:'CHOOSE_OPTION',options:[{screen:l.createIdentification,icon:'pencil-plus',title:'CREATION_IDENTIFICATION_DESCRIPTION_SUBSCREEN'},{screen:l.validateIdentification,icon:'check-circle',title:'VALIDATE_IDENTIFICATION_DESCRIPTION'}]};e.optionIdentificationScreen=O;var A={type:'IDENTIFICATION',title:'IDENTIFICATION',subTitle:'CHOOSE_OPTION',options:[{screen:l.createIdentificationUser,icon:'pencil-plus',title:'CREATE_MY_IDENTIFICATION'},{screen:l.modifyIdentificationUser,icon:'pencil',title:'MODIFY_IDENTIFICATION'}]};e.optionIdentificationUserScreen=A;var I={type:'NANO_CREDIT',title:'NANO_CREDIT',subTitle:'CHOOSE_OPTION',options:[{icon:'account-multiple',title:'MANAGE_GROUP',screen:l.groupNanoCredit},{title:'DEMAND_NANO_CREDIT',screen:l.askNanoCredit,icon:'cash'},{title:'REFUND_NANO_CREDIT',screen:l.refundNanoCreditUser,icon:"cash-refund"},{screen:l.epargnerArgentUser,icon:'cash-register',title:'SAVE_MONEY'},{screen:l.casserEpargneUser,icon:'cash-multiple',title:'BREAK_EPARGNE'}]};e.optionNanoCreditScreen=I;var _={type:'NANO_CREDIT',title:'NANO_CREDIT',subTitle:'CHOOSE_OPTION',options:[{screen:l.cautionNanoCreditAgent,icon:'cash',title:'CAUTION_CREDIT'}]};e.optionNanoCreditAgentScreen=_;var N={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'water',options:[{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 1'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 2'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 3'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 4'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 5'},{type:'PAIEMENT_EAU',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 6'}]};e.optionPaiementEau=N;var C={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'electricity',options:[{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 1'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 2'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 3'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 4'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 5'},{type:'PAIEMENT_EAU_ELECTRICITE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur eau-\xe9lectricit\xe9 6'}]};e.optionPaiementElectricite=C;var k={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'phone',options:[{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 1'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 2'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 3'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 4'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 5'},{type:'PAIEMENT_CREDIT_TELEPHONE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur t\xe9l\xe9phonique 6'}]};e.optionPaiementCreditTelephonique=k;var b={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'tv',options:[{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 1'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 2'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 3'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 4'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 5'},{type:'PAIEMENT_ABONNEMENT_TV',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur abonnement TV 6'}]};e.optionPaiementAbonnementTV=b;var P={title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPERATOR',operatorType:'school',options:[{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 1'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 2'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 3'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 4'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 5'},{type:'PAIEMENT_ECOLE',screen:l.paiementFacture,icon:'http://test.ilink-app.com:8080/mobilebackend/datas/img/network/ilink-world-logo.png',title:'Op\xe9rateur \xe9cole 6'}]};e.optionPaiementEcole=P;var S={type:'FACTURE',title:'PAIEMENT_FACTURE',subTitle:'CHOOSE_OPTION',options:[{type:'FACTURE_WATER_ELECTRICITY',icon:'water',title:'PAIEMENT_EAU',screen:l.operateurOptionSelect,subScreenOption:N},{type:'FACTURE_ELECTRICITY',icon:'water',title:'PAIEMENT_ELECTRICITY',screen:l.operateurOptionSelect,subScreenOption:C},{type:'FACTURE_SCHOOL',icon:'school',title:'PAIEMENT_ECOLE',screen:l.operateurOptionSelect,subScreenOption:P},{type:'FACTURE_PHONE',icon:'phone-classic',title:'PAIEMENT_CREDIT_TELEPHONIQUE',screen:l.operateurOptionSelect,subScreenOption:k},{type:'FACTURE_TV',icon:'television-classic',title:'PAIEMENT_ABONNEMENT_TV',screen:l.operateurOptionSelect,subScreenOption:b}]};e.optionPaiementFacture=S},1645,[1,688,1617,1026,1646,814]); __d(function(g,r,i,a,m,e,d){var n,o;n=this,o=function(){var n=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),o=JSON.parse('{"vi":{"\u0110":"D","\u0111":"d"}}');function t(t,u){if('string'!=typeof t)throw new Error('slugify: string argument expected');var s=o[(u='string'==typeof u?{replacement:u}:u||{}).locale]||{},c=u.replacement||'-',l=t.split('').reduce(function(o,t){return o+(s[t]||n[t]||t)},'').replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,'').trim().replace(new RegExp('[\\s'+c+']+','g'),c);return u.lower&&(l=l.toLowerCase()),u.strict&&(l=l.replace(new RegExp('[^a-zA-Z0-9'+c+']','g'),'')),l}return t.extend=function(o){for(var t in o)n[t]=o[t]},t},'object'==typeof e?(m.exports=o(),m.exports.default=o()):'function'==typeof define&&define.amd?define(o):n.slugify=o()},1646,[]); __d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t,n){var c=((t||0===t?t:'')+'').split('.');return c.length&&(c[0]=c[0].replace(/(\d)(?=(\d{3})+\b)/g,'$1'+(n||','))),c.join('.')}},1647,[]); __d(function(a,i,k,r,t,o,n){t.exports={v:"4.7.0",fr:25,ip:0,op:50,w:120,h:120,nm:"Comp 1",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"ruoi",ks:{o:{a:1,k:[{i:{x:[.833],y:[.967]},o:{x:[.167],y:[.033]},n:["0p833_0p967_0p167_0p033"],t:35,s:[100],e:[0]},{t:49}]},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:0,y:0},n:"0p833_0p833_0_0",t:0,s:[57.361,61.016,0],e:[57.699,41.796,0],to:[-4.67500305175781,-4.12800598144531,0],ti:[-13.9099960327148,5.27300262451172,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:10.219,s:[57.699,41.796,0],e:[79.084,33.982,0],to:[12.8159942626953,-4.85800170898438,0],ti:[-4.54498291015625,3.73400115966797,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:19.445,s:[79.084,33.982,0],e:[59.691,9.121,0],to:[6.61601257324219,-5.43799591064453,0],ti:[20.0290069580078,1.20700073242188,0]},{t:35}]},a:{a:0,k:[60.531,10.945,0]},s:{a:0,k:[100,100,100]}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-.994,0],[0,-.994],[.995,0],[0,.994]],o:[[.995,0],[0,.994],[-.994,0],[0,-.994]],v:[[-.001,-1.801],[1.801,-.001],[-.001,1.801],[-1.801,-.001]],c:!0}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"fl",c:{a:0,k:[.529,.529,.529,1]},o:{a:0,k:100},r:1,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill"},{ty:"tr",p:{a:0,k:[62.4,13.144],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,ix:1,mn:"ADBE Vector Group"},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.422,0],[0,-1.422],[1.421,0],[0,1.422]],o:[[1.421,0],[0,1.422],[-1.422,0],[0,-1.422]],v:[[.001,-2.574],[2.574,0],[.001,2.574],[-2.574,0]],c:!0}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.529,.529,.529,1]},o:{a:0,k:100},w:{a:0,k:.7},lc:1,lj:1,ml:10,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"fl",c:{a:0,k:[1,1,1,1]},o:{a:0,k:100},r:1,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill"},{ty:"tr",p:{a:0,k:[64.145,9.606],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:3,cix:2,ix:2,mn:"ADBE Vector Group"},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.996,0],[0,-1.996],[1.996,0],[0,1.996]],o:[[1.996,0],[0,1.996],[-1.996,0],[0,-1.996]],v:[[0,-3.614],[3.614,0],[0,3.614],[-3.614,0]],c:!0}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.529,.529,.529,1]},o:{a:0,k:100},w:{a:0,k:.7},lc:1,lj:1,ml:10,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"fl",c:{a:0,k:[1,1,1,1]},o:{a:0,k:100},r:1,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill"},{ty:"tr",p:{a:0,k:[57.957,10.552],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 3",np:3,cix:2,ix:3,mn:"ADBE Vector Group"},{ty:"tr",p:{a:0,k:[60.531,10.941],ix:2},a:{a:0,k:[60.531,10.941],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"ruoi",np:3,cix:2,ix:1,mn:"ADBE Vector Group"}],ip:0,op:50,st:0,bm:0,sr:1},{ddd:0,ind:2,ty:4,nm:"Shape Layer 2",ks:{o:{a:1,k:[{i:{x:[.833],y:[.967]},o:{x:[.167],y:[.033]},n:["0p833_0p967_0p167_0p033"],t:35,s:[100],e:[0]},{t:49}]},r:{a:0,k:0},p:{a:0,k:[-.75,-.75,0]},a:{a:0,k:[0,0,0]},s:{a:0,k:[100,100,100]}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-13.91,5.273],[-4.545,3.734],[20.029,1.207]],o:[[-4.675,-4.128],[12.816,-4.858],[6.616,-5.438],[0,0]],v:[[-7.383,24.76],[-7.046,5.54],[14.34,-2.273],[-3.178,-24.76]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.627,.627,.627,1]},o:{a:0,k:100},w:{a:0,k:1},lc:2,lj:2,d:[{n:"d",nm:"dash",v:{a:0,k:2.028}},{n:"g",nm:"gap",v:{a:0,k:2.028}},{n:"o",nm:"offset",v:{a:0,k:0}}],nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[67.87,37.631],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,ix:1,mn:"ADBE Vector Group"},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:1,k:[{i:{x:[.833],y:[.953]},o:{x:[.167],y:[.033]},n:["0p833_0p953_0p167_0p033"],t:0,s:[0],e:[100]},{t:35}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:50,st:0,bm:0,sr:1},{ddd:0,ind:3,ty:4,nm:"im_emptyBox Outlines",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:0,k:[60,60,0]},a:{a:0,k:[60,60,0]},s:{a:0,k:[100,100,100]}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-.001,-16.607],[-32.143,-.002],[-.001,16.607],[32.144,-.002]],c:!0}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"fl",c:{a:0,k:[.8,.82,.851,1]},o:{a:0,k:100},r:1,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill"},{ty:"tr",p:{a:0,k:[60,55.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,ix:1,mn:"ADBE Vector Group"},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[12.856,-23.249],[0,-16.605],[-12.857,-23.249],[-45,-6.641],[-32.144,.001],[-45,6.645],[-12.857,23.249],[0,16.609],[12.856,23.249],[45,6.645],[32.143,.001],[45,-6.641]],c:!0}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"fl",c:{a:0,k:[.957,.957,.957,1]},o:{a:0,k:100},r:1,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill"},{ty:"tr",p:{a:0,k:[60,55.748],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 8",np:2,cix:2,ix:2,mn:"ADBE Vector Group"},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-16.072,24.171],[16.072,11.312],[16.072,-24.171],[-16.072,-24.171]],c:!0}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"fl",c:{a:0,k:[.902,.914,.929,1]},o:{a:0,k:100},r:1,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill"},{ty:"tr",p:{a:0,k:[76.072,83.33],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,ix:3,mn:"ADBE Vector Group"},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[-32.143,-24.171],[-32.143,11.311],[-.001,24.171],[32.144,11.311],[32.144,-24.171]],c:!0}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"fl",c:{a:0,k:[.8,.82,.851,1]},o:{a:0,k:100},r:1,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill"},{ty:"tr",p:{a:0,k:[60,83.33],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,ix:4,mn:"ADBE Vector Group"},{ty:"tr",p:{a:0,k:[60,60.186],ix:2},a:{a:0,k:[60,60.186],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"box",np:4,cix:2,ix:1,mn:"ADBE Vector Group"}],ip:0,op:50,st:0,bm:0,sr:1}]}},1648,[]); @@ -1658,7 +1658,7 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__e __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),l=t(r(d[2])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=r(d[7]),h=t(r(d[8])),y=t(r(d[9])),S=r(d[10]),p=r(d[11]),E=r(d[12]),v=t(r(d[13])),b=r(d[14]),D=t(r(d[15])),T=t(r(d[16]));r(d[17]),r(d[18]),r(d[19]),r(d[20]),r(d[21]),r(d[22]),r(d[23]);var k=r(d[24]),L=r(d[25]),_=t(r(d[26])),C=r(d[27]),x=(t(r(d[28])),r(d[29])),M=(r(d[30]),r(d[31])),I=r(d[24]);r(d[32]);var w=(function(t){function _(t){var l;return(0,n.default)(this,_),(l=(0,o.default)(this,(0,s.default)(_).call(this,t,!0)))._populateIcons=function(){return new Promise(function(t,n){Promise.all([y.default.getImageSource('sort',30),y.default.getImageSource('layer-group',30)]).then(function(n){n[0],n[1],t(!0)}).catch(function(t){console.log(t),n(t)}).done()})},l._openMenu=function(){return l.setState({visibleMenu:!0})},l._closeMenu=function(){return l.setState({visibleMenu:!1})},l._showDateTimePicker=function(t){1===t?l.setState({isDateTimePickerVisible:!0}):l.setState({isDateEndTimePickerVisible:!0})},l._showDateEndPicker=function(){return l.setState({isDateEndTimePickerVisible:!0})},l._hideDateTimePicker=function(){return l.setState({isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1})},l.currentLocale=T.default.locale.includes("fr")?"fr":"en-gb",x.locale(l.currentLocale),l.state=l.initState(),(0,b.readUser)().then(function(t){l.setState({user:t})}),l._populateIcons().then(function(){}),l.navigation=l.props.navigation,l}return(0,u.default)(_,t),(0,l.default)(_,[{key:"navigationButtonPressed",value:function(t){var n=t.buttonId;'id'===n?this.showFilter():'sectionned'===n&&this.setState({isSectionned:!this.state.isSectionned})}},{key:"showFilter",value:function(){}},{key:"initState",value:function(){return{user:{},listdata:[],listdataSend:[],conserve:[],count:0,translateAnim:new f.Animated.Value(0),visibleMenu:!1,appState:f.AppState.currentState,filter:!1,sortIcons:null,panelVisible:!1,filder_disable:!0,datestartformated:'La date de debut',dateendformated:'La date de fin',datestart:null,dateend:null,isLoaded:!1,isSectionned:!1,isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1}}},{key:"updateList",value:function(t){if(!this.state.filter){var n=t.reverse();this.setState({listdata:n,conserve:n,isLoaded:!0})}}},{key:"updateMyList",value:function(t){if(!this.state.filter){var n=t.reverse();this.setState({listdataSend:n,conserve:n,isLoaded:!0})}}},{key:"componentDidMount",value:function(){var t=this,n=this.navigation.state.routeName;this.setState({position:"myDemand"===n?0:1}),this.refreshData(),this.animateSlidingUp(!1),this.props.navigation.addListener("didFocus",function(){t.refreshData(!1),console.warn("loading")})}},{key:"componentWillUnmount",value:function(){clearInterval(this.intervaller)}},{key:"renderOptionsMenu",value:function(){var t=this;return c.default.createElement(f.View,{style:{position:"absolute",zIndex:100,paddingTop:50,right:10,flexDirection:'row',visible:this.state.visibleMenu,justifyContent:'center'}},c.default.createElement(C.Menu,{visible:this.state.visibleMenu,onDismiss:this._closeMenu,anchor:c.default.createElement(v.default,{onPress:this._openMenu},"Show menu")},c.default.createElement(C.Menu.Item,{onPress:function(){t.setState({isSectionned:!t.state.isSectionned}),t._closeMenu()},title:"Section"}),c.default.createElement(C.Divider,null),c.default.createElement(C.Menu.Item,{onPress:function(){t.animateSlidingUp(!t.state.isSliding),t._closeMenu()},title:T.default.t("FILTER_DATE")})))}},{key:"animateSlidingUp",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,S.responsiveHeight)(100),l=t?n:0,o=t?0:n;this.setState({isSliding:t}),this.state.translateAnim.setValue(l),f.Animated.timing(this.state.translateAnim,{toValue:o,duration:500,useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this;return c.default.createElement(C.Provider,null,c.default.createElement(f.View,{style:{flex:1}},c.default.createElement(f.StatusBar,{backgroundColor:I.primaryDark,barStyle:"light-content",translucent:!1}),this.renderSliding(),c.default.createElement(C.Appbar.Header,{dark:!0,style:{backgroundColor:I.primary}},c.default.createElement(C.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),c.default.createElement(C.Appbar.Content,{title:T.default.t('CREDIT_MANAGE'),subtitle:0===this.state.position?T.default.t('MY_DEMAND'):T.default.t('DEMAND_RECEIVE')}),c.default.createElement(C.Appbar.Action,{icon:"refresh",onPress:function(){t.refreshData()}}),c.default.createElement(C.Appbar.Action,{icon:"more-vert",onPress:function(){t._openMenu(),t.renderSliding()}})),this.renderOptionsMenu(),0===this.state.position?this._renderListDemandsSend():this._renderListDemandReceive()))}},{key:"renderSliding",value:function(){return c.default.createElement(f.Animated.View,{style:[P.slidingup,{translateY:this.state.translateAnim}]},c.default.createElement(D.default,{onChange:function(t){return console.log(t)},minDate:"2018-04-20",startDate:"2018-04-30",endDate:"2018-05-05",theme:{activeDayColor:{},monthTitleTextStyle:{color:'#6d95da',fontWeight:'300',fontSize:16},emptyMonthContainerStyle:{},emptyMonthTextStyle:{fontWeight:'200'},weekColumnsContainerStyle:{},weekColumnStyle:{paddingVertical:10},weekColumnTextStyle:{color:'#b6c1cd',fontSize:13},nonTouchableDayContainerStyle:{},nonTouchableDayTextStyle:{},startDateContainerStyle:{},endDateContainerStyle:{},dayContainerStyle:{},dayTextStyle:{color:'#2d4150',fontWeight:'200',fontSize:15},dayOutOfRangeContainerStyle:{},dayOutOfRangeTextStyle:{},todayContainerStyle:{},todayTextStyle:{color:'#6d95da'},activeDayContainerStyle:{backgroundColor:'#6d95da'},activeDayTextStyle:{color:'white'},nonTouchableLastMonthDayTextStyle:{}},style:{height:(0,S.responsiveHeight)(60)}}),c.default.createElement(f.View,{style:{flexDirection:'row'}},c.default.createElement(v.default,null,T.default.t('QUIT')),c.default.createElement(v.default,null,T.default.t('FILTER'))))}},{key:"renderSectionnedList",value:function(t){var n=this;if(this.state.isLoaded){return null!==t?t.length>0?c.default.createElement(p.HistoryItemSectionned,{user:this.state.user,list:t,refresh:function(){return n.refreshData()},style:P.listbackground}):this.state.filter?c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.Text,null,T.default.t('NO_ITEMS_REQUEST'))):c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.ProgressBarAndroid,null),c.default.createElement(f.Text,null,T.default.t('LOADING_DOTS'))):c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.Text,null,T.default.t('EMPTY_LIST_REQUEST')))}}},{key:"renderList",value:function(t){var n=this;if(this.state.isLoaded&&t instanceof Array){var l=t;return null!==l?l.length>0?c.default.createElement(p.HistoryListItem,{user:this.state.user,list:t,refreshing:function(){n.refreshData()},refresh:function(){return n.refreshData()},isRefreshing:this.state.isRefreshing,navigator:this.props.navigation,style:P.listbackground,isDemandSend:0===this.state.position}):this.state.filter?c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.Text,null,T.default.t('NO_ITEM_REQUEST'))):0===l.length?c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.Text,null,T.default.t('NO_ITEM_REQUEST'))):c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.ProgressBarAndroid,null),c.default.createElement(f.Text,null,T.default.t('LOADING_DOTS'))):c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.Text,null,T.default.t('EMPTY_LIST_REQUEST')," "))}if(0===t.length)return c.default.createElement(f.View,{style:P.emptyListe},c.default.createElement(f.Text,null,T.default.t('NO_ITEM_REQUEST')))}},{key:"renderLoading",value:function(){return c.default.createElement(f.View,null,c.default.createElement(f.ProgressBarAndroid,null),c.default.createElement(f.Text,null,T.default.t('LOADING_DOTS')))}},{key:"showSlidingUpPanel",value:function(){}},{key:"printOptions",value:function(){var t=this;return"hyper"===this.state.user.category?c.default.createElement(h.default,{buttonColor:k.accent},c.default.createElement(h.default.Item,{buttonColor:k.purpleLight,title:T.default.t('SAVE_HISTORY'),onPress:function(){}},c.default.createElement(y.default,{name:"save",style:P.actionButtonIcon}))):c.default.createElement(h.default,{buttonColor:k.accent},c.default.createElement(h.default.Item,{buttonColor:k.primary,title:T.default.t('MAKE_REQUEST'),onPress:function(){t.props.navigation.push(M.credrequester,{onGoBack:function(){return t.refreshData()}})}},c.default.createElement(y.default,{name:"edit",style:P.actionButtonIcon})),c.default.createElement(h.default.Item,{buttonColor:k.purpleLight,title:T.default.t('SAVE_HISTORY'),onPress:function(){}},c.default.createElement(y.default,{name:"save",style:P.actionButtonIcon})))}},{key:"_renderListDemandsSend",value:function(){return c.default.createElement(f.View,{style:P.container},this.state.isLoaded?this.state.isSectionned?this.renderSectionnedList(this.state.listdataSend):this.renderList(this.state.listdataSend):this.renderLoading(),this.printOptions(),this.showSlidingUpPanel())}},{key:"_renderListDemandReceive",value:function(){return c.default.createElement(f.View,{style:P.container},this.state.isLoaded?this.state.isSectionned?this.renderSectionnedList(this.state.listdata):this.renderList(this.state.listdata):this.renderLoading(),this.printOptions(),this.showSlidingUpPanel())}},{key:"_renderTabGeolocated",value:function(){var t=[{text:T.default.t('DEMAND_SEND')}];return c.default.createElement(L.PagerTabIndicator,{style:{height:(0,S.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabHyper",value:function(){var t=[{text:T.default.t('DEMAND_RECEIVE')}];return c.default.createElement(L.PagerTabIndicator,{style:{height:(0,S.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabs",value:function(){var t=[{text:T.default.t('MY_DEMAND'),iconSource:this.state.usersicon},{text:T.default.t('DEMAND_RECEIVE'),iconSource:this.state.charticon}];return c.default.createElement(L.PagerTabIndicator,{style:{height:(0,S.responsiveHeight)(8)},tabs:t})}},{key:"refreshData",value:function(){var t=this;(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.setState({isRefreshing:!0}),(0,E.loadDemandeCredit)().then(function(n){void 0!==n.success&&(t.setState({listdata:[]}),t.updateList(n.demands),0!==t.state.position&&t.props.navigation.setParams({count:n.demands.length}),t.setState({isRefreshing:!1}))}).catch(function(t){console.warn(t)}),(0,E.loadMyDemandeCredit)().then(function(n){void 0!==n.success&&(t.setState({listdataSend:[]}),t.setState({isRefreshing:!1}),0===t.state.position&&t.props.navigation.setParams({count:n.demands.length}),t.updateMyList(n.demands))}).catch(function(t){console.warn(t)})}}]),_})(c.default.Component);w.navigatorStyle={navBarBackgroundColor:k.primary,statusBarColor:k.primaryDark,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF',contextualMenuStatusBarColor:I.accent,contextualMenuBackgroundColor:I.accentLight,contextualMenuButtonsColor:'#ffffff'},w.navigationOptions=function(t){var n=t.navigation,l=n.state.routeName;return{tabBarLabel:"myDemand"===l?T.default.t('MY_DEMAND'):T.default.t('DEMAND_RECEIVE'),tabBarIcon:function(t){var o=t.focused,s=(t.horizontal,t.tintColor);return c.default.createElement(_.default,{badgeCount:n.getParam("count",0),size:20,name:"myDemand"===l?"mail":"inbox",color:o?s:"grey"})},drawerLabel:T.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return c.default.createElement(y.default,{name:'credit-card',size:24})}}};var A=w;e.default=A;f.StyleSheet.create({titleHeader:{fontSize:20,fontWeight:'bold',color:'black',flex:1},datetitle:{fontSize:17,color:'black',marginLeft:(0,S.responsiveWidth)(2)},datetext:{fontSize:16,marginLeft:(0,S.responsiveWidth)(5)},content:{flex:2},btnContainer:{flexDirection:'row',width:(0,S.responsiveWidth)(100),alignSelf:'flex-end',flex:2},btn:{flex:1,borderColor:'transparent',borderRadius:0},btntext:{fontWeight:'bold',color:k.accent},container:{flex:1,justifyContent:'space-evenly'}});var P=f.StyleSheet.create({slidingup:{position:"absolute",height:(0,S.responsiveHeight)(84),bottom:0,backgroundColor:'white',width:(0,S.responsiveWidth)(100),zIndex:1e3},root:{flex:1},container:{flex:1,backgroundColor:'white',justifyContent:'center',alignItems:'center'},emptylist:{flex:1,justifyContent:'center',alignItems:'center'},backgroundd_drawer:{backgroundColor:'#000'},listbackground:{},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5},dateText:{marginTop:20,marginLeft:(0,S.responsiveWidth)(13),marginBottom:20,fontSize:17},titlecontent:{fontSize:17,marginLeft:(0,S.responsiveWidth)(10),color:'black'},content:{flex:8},title:{fontSize:20,marginLeft:20,marginTop:20,color:'black',fontWeight:'bold'}})},1652,[1,8,9,10,12,13,15,18,531,834,534,1653,1650,716,718,1181,719,1038,1037,1030,1032,1034,1035,1036,813,943,1654,1186,936,1176,1031,814,815]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryListItem=e.HistoryItemSectionned=e.HistoryItem=void 0;var s=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=t(r(d[7])),p=r(d[8]),h=r(d[9]),y=n(r(d[10])),E=n(r(d[11]));r(d[12]),r(d[13]),r(d[14]),r(d[15]),r(d[16]),r(d[17]),r(d[18]),r(d[19]);var T=r(d[20]),v=r(d[21]),D=(r(d[22]),r(d[23])),S=r(d[24]),_=(function(t){function n(t){var o;return(0,s.default)(this,n),(o=(0,l.default)(this,(0,u.default)(n).call(this,t))).statusLabel=function(t){switch(t){case'0':return E.default.t('NO_TREAT');case'1':return E.default.t('TREAT');case'2':return E.default.t('REFUSED')}},o.colorLabel=function(t){switch(t){case'0':return T.Color.accentColor;case'1':return T.Color.greenColor;case'2':return T.Color.redColor}},o.descriptionLabelUserType=function(t){var n=o.props.selfData.montant+' '+E.default.t('TO_')+' '+o.props.selfData.reseau;switch(t.category){case'geolocated':return E.default.t('DEMAND_TEXT_FIRST_PART_YOU')+" "+n;case'super':return o.props.isDemandSend?E.default.t('DEMAND_TEXT_FIRST_PART_YOU')+" "+n:E.default.t('THE_AGENT')+" "+o.props.selfData.lastname+" ("+o.props.selfData.phone+") "+E.default.t('DEMAND_TEXT_FIRST_PART')+" "+n;case'hyper':return E.default.t('THE_SUPERVISOR')+" "+o.props.selfData.lastname+" ("+o.props.selfData.phone+") "+E.default.t('DEMAND_TEXT_FIRST_PART')+" "+n}},o.currentLocale=E.default.locale.includes("fr")?"fr":"en-gb",console.log("Current Locale item",o.currentLocale),v.locale(o.currentLocale),o.state=o.initState(),o}return(0,c.default)(n,t),(0,o.default)(n,[{key:"initState",value:function(){var t=' Transaction '+this.props.selfData.id;E.default.t('PHONE'),this.props.selfData.phone,E.default.t('DEMAND_TEXT_FIRST_PART'),this.props.selfData.montant,E.default.t('TO_');this.props.selfData.reseau;new Date,this.props.selfData.date_creation;var n=this.props.selfData.status,s=v.tz(this.props.selfData.date_creation,v.tz.guess()).format();return s=v(s),{title:t,description:this.descriptionLabelUserType(this.props.user),status:this.statusLabel(this.props.selfData.status),time:s.fromNow(),navigator:this.props.navigator,type:n,colorstate:this.colorLabel(n)}}},{key:"render",value:function(){var t=this;return console.log("ITEM RENDER",this.props.selfData),f.default.createElement(p.TouchableOpacity,{onPress:function(){return t.props.navigator.navigate(D.historyItemDetails,{item:t.props.selfData,onGoBack:function(){return t.props.refresh()}})}},f.default.createElement(p.View,{style:L.content},f.default.createElement(p.Text,{style:L.title},this.state.title),f.default.createElement(p.Text,{style:L.description},this.state.description),f.default.createElement(p.View,{style:L.timeContent},f.default.createElement(p.Text,{style:{fontWeight:'bold',marginLeft:20,marginBottom:10,color:this.state.colorstate}},this.statusLabel(this.props.selfData.status)),f.default.createElement(p.Text,{style:L.time},this.state.time)),f.default.createElement(p.View,{style:L.bottomSeparator})))}}]),n})(f.default.Component);e.HistoryItem=_;var x=(function(t){function n(t){var o;return(0,s.default)(this,n),(o=(0,l.default)(this,(0,u.default)(n).call(this,t)))._keyExtractor=function(t,n){return t.id},o._renderItem=function(t){var n=t.item;return f.default.createElement(_,{navigator:o.props.navigator,selfData:n})},o.state=o.initState(),o.currentLocale=E.default.locale.includes("fr")?"fr":"en-gb",v.locale(o.currentLocale),o}return(0,c.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this;return f.default.createElement(p.SectionList,{sections:[{title:'Demande trait\xe9',type:0,data:this.state.treat,size:this.state.conservetreat.length,expandState:this.state.istreatexpand},{title:'Demande non trait\xe9',type:1,data:this.state.untreat,size:this.state.conserveuntreat.length,expandState:this.state.isuntreatexpand}],renderSectionHeader:function(n){var s=n.section,o=s.title,l=s.type,u=(s.data,s.size),c=s.expandState;return f.default.createElement(p.TouchableOpacity,{onPress:function(){return t.onPressedHeader(l)},style:{backgroundColor:S.accent,justifyContent:'center',alignItems:'center',flexDirection:'row',flex:1,height:70,width:(0,h.responsiveWidth)(100)}},f.default.createElement(p.View,{style:{height:70,justifyContent:'center',flex:1,width:(0,h.responsiveWidth)(100)}},f.default.createElement(p.Text,{style:{fontWeight:'bold',marginLeft:20,fontSize:20,color:'white'}},o),f.default.createElement(p.Text,{style:{fontWeight:'bold',marginLeft:20,fontSize:16,color:'white'}},u," demande(s)")),f.default.createElement(y.default,{name:c?'sort-up':'sort-down',size:30,color:'white',style:{marginRight:20}}))},style:L.listStyle,extraData:this.state,keyExtractor:this._keyExtractor,renderItem:this._renderItem})}},{key:"onPressedHeader",value:function(t){0===t?this.setState({istreatexpand:!this.state.istreatexpand,treat:this.state.istreatexpand?[]:this.state.conservetreat}):this.setState({isuntreatexpand:!this.state.isuntreatexpand,untreat:this.state.isuntreatexpand?[]:this.state.conserveuntreat})}},{key:"initState",value:function(){var t=this.props.list;return{conservetreat:t.filter(function(t){return t.statut===E.default.t('TREAT')}),treat:t.filter(function(t){return t.statut===E.default.t('TREAT')}),istreatexpand:!0,conserveuntreat:t.filter(function(t){return t.statut!==E.default.t('TREAT')}),untreat:t.filter(function(t){return t.statut!==E.default.t('TREAT')}),isuntreatexpand:!0}}}]),n})(f.PureComponent);e.HistoryItemSectionned=x;var R=(function(t){function n(t){var o;return(0,s.default)(this,n),(o=(0,l.default)(this,(0,u.default)(n).call(this,t)))._keyExtractor=function(t,n){return t.id},o._onPressItem=function(t){},o._renderItem=function(t){var n=t.item;return console.log('ITEM ',n),f.default.createElement(_,{isDemandSend:o.props.isDemandSend,user:o.props.user,refresh:o.props.refresh,navigator:o.props.navigator,selfData:n,refresh:o.props.refresh})},o.state=o.initState(),o.currentLocale=E.default.locale.includes("fr")?"fr":"en-gb",v.locale(o.currentLocale),o}return(0,c.default)(n,t),(0,o.default)(n,[{key:"initState",value:function(){return{refreshing:!1}}},{key:"render",value:function(){return f.default.createElement(p.FlatList,{style:L.listStyle,data:this.props.list,extraData:this.state,keyExtractor:this._keyExtractor,renderItem:this._renderItem,refreshControl:f.default.createElement(p.RefreshControl,{refreshing:this.props.isRefreshing,colors:[S.primary,S.purpleLight,S.reddeconnect,S.accentLight],onRefresh:this.props.refreshing})})}},{key:"_onRefresh",value:function(){var t=this;this.setState({refreshing:!0}),setTimeout(function(){t.setState({refreshing:!1})},5e3)}}]),n})(f.default.Component);e.HistoryListItem=R;var L=p.StyleSheet.create({content:{width:(0,h.responsiveWidth)(100),borderBottomColor:'#FFFFFF',flex:1,flexDirection:'column',paddingTop:10},listStyle:{backgroundColor:'white'},bottomSeparator:{width:(0,h.responsiveWidth)(100),height:5,justifyContent:'center',alignSelf:'center',backgroundColor:'#EEE'},title:{color:'#000',paddingLeft:10,fontSize:(0,h.responsiveFontSize)(2.2)},description:{fontSize:(0,h.responsiveFontSize)(1.8),color:'#4f5b62',paddingLeft:10},timeContent:{justifyContent:'space-between',flex:1,marginTop:10,marginBottom:5,flexDirection:'row'},time:{fontWeight:'bold',marginRight:20,marginBottom:10,color:S.accent},treat:{}})},1653,[4,1,8,9,10,12,13,15,18,534,1008,719,1038,1037,1030,1033,1032,1034,1035,1036,1026,1176,1031,814,813]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),o=n(r(d[3])),u=n(r(d[4])),f=n(r(d[5])),s=n(r(d[6])),c=t(r(d[7])),h=r(d[8]),p=n(r(d[9])),y=(function(t){function n(){return(0,l.default)(this,n),(0,u.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,s.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.name,l=t.badgeCount,o=t.color,u=t.size;return c.default.createElement(h.View,{style:{width:3*u/2,height:3*u/2,margin:5}},c.default.createElement(p.default,{name:n,size:u,color:o}),l>0&&c.default.createElement(h.View,{style:{position:'absolute',right:-6,top:-3,backgroundColor:'red',borderRadius:4*u/5,width:3*u/5,height:3*u/5,justifyContent:'center',alignItems:'center'}},c.default.createElement(h.Text,{style:{color:'white',fontSize:10,fontWeight:'bold'}},l)))}}]),n})(c.default.Component);e.default=y},1654,[4,1,8,9,10,12,13,15,18,834]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),c=l(r(d[5])),y=l(r(d[6])),u=l(r(d[7])),f=l(r(d[8])),p=l(r(d[9])),T=l(r(d[10]));r(d[11]),r(d[12]),r(d[13]),r(d[14]),r(d[15]),r(d[16]),r(d[17]),r(d[18]);var E=t(r(d[19])),x=r(d[20]),w=l(r(d[21])),h=r(d[22]),C=r(d[23]),I=l(r(d[24])),V=l(r(d[25])),D=r(d[26]),b=r(d[27]),_=l(r(d[28])),S=r(d[29]),A=l(r(d[30])),O=r(d[31]),R=t(r(d[32])),H=r(d[33]),N=r(d[34]),v=r(d[35]),L=r(d[36]),W=r(d[37]),k=r(d[38]),B=r(d[39]),M=r(d[40]),F=r(d[41]),P=r(d[42]),U=r(d[43]),Y=r(d[44]);r(d[45]);var j=(function(t){function l(t){var s;if((0,n.default)(this,l),(s=(0,c.default)(this,(0,y.default)(l).call(this,t))).getWalletIcon=function(t){return L.baseUrl+"/datas/img/network/"+Y(t.network,{lower:!0})+"-logo.png"},s.getCreationDateToHumanFormat=function(t){var l=F.tz(t,F.tz.guess()).format();return F(l).fromNow()},s.handleIndexChange=function(t){return s.setState({index:t})},s.imageScale=function(){return s.scrollY.interpolate({inputRange:[0,100],outputRange:[1,.5],extrapolate:'clamp'})},s.imageTranslateY=function(){return s.scrollY.interpolate({inputRange:[0,100],outputRange:[-5,50],extrapolate:'clamp'})},s.bgHeaderTranslateY=function(){return s.scrollY.interpolate({inputRange:[0,150],outputRange:[-5,0],extrapolate:'clamp'})},s.refresh=function(){s.props.result;if(console.log("STATE NAVIGATION PARAMS REFRESH",s.props.navigation.state),s.isHomeRootView){var t=s.props.navigation.state.params.agentId;s.props.getWalletDetailActivated(t,!0)}else{var l=s.props.navigation.state.params.wallet;s.props.getWalletDetailActivated(l.id,!1),(0,N.isIlinkWorldWallet)(l.type)?s.props.getWalletTransactionHistory(l.id,!0):s.props.getWalletTransactionHistory(l.id,!1),s.setState({isTriggerRefresh:!0})}},s.renderTabBar=function(t){return E.default.createElement(C.TabBar,(0,o.default)({},t,{scrollEnabled:!0,indicatorStyle:[G.indicator,{backgroundColor:S.Color.primaryColor}],style:[G.tabBar,{backgroundColor:S.Color.containerBackgroundColor}],inactiveColor:S.Color.dividerColor,activeColor:S.Color.grayColor,tabStyle:G.tab,renderLabel:function(t){var l=t.route,o=(t.focused,t.color);return E.default.createElement(x.View,{style:{flex:1,width:R.getWidthDevice()/2,alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.headline,style:{color:o}},'depot'===l.key?E.default.createElement(V.default,{name:"arrow-bottom-right",color:o,size:20}):E.default.createElement(V.default,{name:"arrow-top-left",color:o,size:20})," "+l.title))}}))},s.renderHeader=function(t){return E.default.createElement(x.View,{style:[G.containField,{backgroundColor:S.Color.cardBackgroundColor,zIndex:11,shadowColor:S.Color.borderColor,borderColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:[G.contentLeftItem]},E.default.createElement(x.Text,{numberOfLines:1,style:[O.Typography.caption2,O.Typography.semibold]},w.default.t('COUNTRY')),E.default.createElement(x.Text,{numberOfLines:1,adjustsFontSizeToFit:!0,style:O.Typography.caption1},t.country)),E.default.createElement(x.View,{style:{flex:1,alignItems:'center',justifyContent:'flex-end'}},E.default.createElement(x.Animated.Image,{source:{uri:s.getWalletIcon(t)},style:{width:120,height:120,borderRadius:60,position:'absolute',alignSelf:'center',backgroundColor:S.Color.whiteColor,bottom:70,transform:[{scale:s.imageScale()},{translateY:s.imageTranslateY()}]}}),E.default.createElement(x.View,{style:{marginTop:1,flex:1,alignItems:'center',justifyContent:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold],numberOfLines:1},t.network),E.default.createElement(x.View,{style:{flexDirection:'row'}},E.default.createElement(_.default,{primary:!0,icon:E.default.createElement(V.default,{name:"swap-horizontal",size:20,color:S.Color.whiteColor,style:{marginLeft:15}}),style:{paddingRight:10,width:120,borderTopRightRadius:0,borderBottomRightRadius:0,borderRightWidth:1,borderRightColor:S.Color.whiteColor},onPress:function(){var t=s.props.result;null!==t&&void 0!==t.response&&(0===parseInt(t.response.balance_com)?x.Alert.alert(w.default.t("TRANSFER_COMMISSION_IMPOSSIBLE"),w.default.t("COMMISSION_TRANSFER_ERROR_EMPTY"),[{text:w.default.t("OK"),onPress:function(){s.props.resetCommissionReducer()}}],{cancelable:!1}):s.renderDialogConfirmTransferCommission())}},w.default.t('TRANSFER_TO_PRINCIPAL_ACCOUNT')),E.default.createElement(_.default,{icon:E.default.createElement(V.default,{name:"update",size:20,color:S.Color.whiteColor,style:{marginLeft:-15}}),style:{width:110,borderTopLeftRadius:0,borderBottomLeftRadius:0},primary:!0,onPress:function(){s._scrollView.scrollToEnd()}},w.default.t('HISTORY'))))),E.default.createElement(x.View,{style:G.contentLeftItem},E.default.createElement(x.Text,{numberOfLines:1,style:[O.Typography.caption2,O.Typography.semibold]},w.default.t('CREATION_DATE')),E.default.createElement(x.Text,{numberOfLines:1,adjustsFontSizeToFit:!0,style:O.Typography.caption1},F(t.created_date).format('DD/MM/YYYY'))))},s.renderLoader=function(){return E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===x.Platform.OS?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ProgressBarAndroid,null),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ActivityIndicator,{size:"large",color:'#ccc'}),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))))},s.renderAccountDetail=function(t){return E.default.createElement(x.View,{style:{flexDirection:'row',flex:1,justifyContent:'space-between'}},E.default.createElement(x.View,{style:{flexDirection:'row',alignItems:'center'}},E.default.createElement(x.View,{style:[G.circlePoint,{backgroundColor:S.Color.primaryColor}]},E.default.createElement(I.default,{name:"md-wallet",size:28,color:S.Color.whiteColor})),E.default.createElement(x.View,null,E.default.createElement(x.Text,{style:(O.Typography.title3,S.Color.primaryColor,{marginBottom:3})},w.default.t('PRINCIPAL_ACCOUNT_TITLE')),E.default.createElement(x.Text,{style:[O.Typography.body2]},P(t.balance_princ,' ')+" "+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',alignItems:'center'}},E.default.createElement(x.View,{style:[G.circlePoint,{backgroundColor:S.Color.primaryColor}]},E.default.createElement(I.default,{name:"md-cash",size:28,color:S.Color.whiteColor})),E.default.createElement(x.View,null,E.default.createElement(x.Text,{style:(O.Typography.title3,S.Color.primaryColor,{marginBottom:3})},w.default.t('COMMISSION_ACCOUNT_TITLE')),E.default.createElement(x.Text,{style:O.Typography.body2},P(t.balance_com,' ')+" "+t.currency_code))))},s.renderModalHistoryDetail=function(t){s.state.historyItemDetail;return E.default.createElement(A.default.Container,{useNativeDriver:!0,visible:s.state.displayModalHistory},E.default.createElement(A.default.Title,null,w.default.t('HISTORY_DETAIL')),E.default.createElement(x.View,null,E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('OPERATION'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.operation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('TRANSACTION_ID'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_transaction))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Date")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INIT_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.init_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FEES_AND_TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.frais))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_init))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('EMETTEUR'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.emetteur))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DESTINATAIRE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.destinataire))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FINAL_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.final_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_final))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('ACTIVE_WALLET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.reseau_payeur))))),E.default.createElement(A.default.Button,{bold:!0,label:w.default.t('OK'),onPress:function(){s.setState({displayModalHistory:!s.state.displayModalHistory})}}))},s.renderSuperHyperHistoryTransactionItem=function(t,l){return E.default.createElement(x.TouchableOpacity,{onPress:function(){s.setState({displaySuperHyperModalHistory:!0,historyItemDetail:t})},style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},Object.keys((0,T.default)(t,['id','id_transaction','montant_retire','montant2','date_cassation','etat','type','date_fin','duree_mois','id_epargne','type_historique','frais','init_country','final_country','source','emetteur','montant_net_final','montant_net_init','reseau_payeur','operation','retrait_cash','type_historique','type_caution','id_demande','montant_rembourse','partiellement_rembourse','duree_mois','etat','interet','taxe','date_validation','date_remboursement_prevu','date_remboursement','id_user','id_wallet_agent','id_network','user','user_phone','agent','codeParrain'])).map(function(l,o){return E.default.createElement(x.View,{style:{alignItems:'center'},key:o},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},(0,p.default)(l,'montant')?" "+(t[l].length>8?(0,N.cutString)(P(t[l],' '),6):P(t[l],' '))+" "+s.state.wallet.currency_code:(0,p.default)(l,'destinataire')?t[l].length>13?(0,N.cutString)(t[l],13):t[l]:(0,p.default)(l,'date_creation')?(0,N.cutStringWithoutDot)(t[l],16):t[l]))}))},s.renderModalSuperHyperHistoryDetail=function(t){var l=s.state.historyItemDetail;return E.default.createElement(A.default.Container,{useNativeDriver:!0,visible:s.state.displaySuperHyperModalHistory},E.default.createElement(A.default.Title,null,w.default.t('HISTORY_DETAIL')),(0,p.default)(l.type_historique,'N')&&E.default.createElement(x.ScrollView,{persistentScrollbar:!0},E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Type")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},w.default.t((0,N.displayTransactionType)(s.state.historyItemDetail.type_historique))))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('CAUTION_TYPE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.type_caution))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('ID_DEMAND'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_demande))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('STATUS'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.etat))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('DEMAND_DURATION_IN_MONTH'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.duree_mois))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT_REFUND'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_rembourse+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT_PARTIALLY_REFUND'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.partiellement_rembourse+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.taxe+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INTERET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.interet+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('WITHDRAWAL_IN_CASH'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},1==s.state.historyItemDetail.retrait_cash?w.default.t('YES'):w.default.t('NO')))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('CREATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_creation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('VALIDATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_validation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DATE_REMBOURSEMENT_PREVU'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_remboursement_prevu))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DATE_REMBOURSEMENT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_remboursement))))),(0,p.default)(l.type_historique,'E')&&E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Type")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},w.default.t((0,N.displayTransactionType)(s.state.historyItemDetail.type_historique))))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('ID_SAVINGS'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_epargne))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('STATUS'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.etat))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('DEMAND_DURATION_IN_MONTH'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.duree_mois))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Type")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.type))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT_WITHDRAWAL'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_retire+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.taxe+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INTERET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.interet+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('CREATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_creation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FINAL_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},(0,p.default)(s.state.historyItemDetail.type,'SIMPLE')?w.default.t('NON_APPLICABLE'):s.state.historyItemDetail.date_fin))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('CASSATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_cassation)))),(0,p.default)(l.type_historique,'T')&&E.default.createElement(x.View,null,E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('OPERATION'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.operation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('TRANSACTION_ID'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_transaction))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Date")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_creation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INIT_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.init_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant2))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FEES_AND_TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.frais))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_init))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('EMETTEUR'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.emetteur))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DESTINATAIRE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.destinataire))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FINAL_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.final_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_final))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('ACTIVE_WALLET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.reseau_payeur))))),E.default.createElement(A.default.Button,{bold:!0,label:w.default.t('OK'),onPress:function(){s.setState({displaySuperHyperModalHistory:!s.state.displaySuperHyperModalHistory})}}))},s.renderSuperHyperHistoryTransactionList=function(){var t=s.props,l=t.resultHistoryHyperSuper,o=t.errorHistoryHyperSuper;return null!==o?void 0!==o.data?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},o.data.error)):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},o)):null!==l&&null!==l.response?Array.isArray(l.response)&&l.response.length>0?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},(0,N.transactionHistoryIlinkLabel)().map(function(t,l){return E.default.createElement(x.View,{style:{alignItems:'center'},key:l},E.default.createElement(V.default,{name:t.icon,size:24,color:S.Color.primaryColor}),E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},w.default.t(t.label)))})),l.response.map(function(t,l){return s.renderSuperHyperHistoryTransactionItem(t,l)})):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_HISTORY'))):void 0},s.renderSuperHyperHistoryTransaction=function(){return E.default.createElement(E.default.Fragment,null,s.props.loadingHistoryHyperSuper?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===x.Platform.OS?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ProgressBarAndroid,null),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ActivityIndicator,{size:"large",color:'#ccc'}),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS')))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.checkDefault,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.Text,{style:[O.Typography.title3,O.Typography.semibold]},w.default.t('TRANSACTION_HISTORY'))),s.renderSuperHyperHistoryTransactionList()))},s.renderDetailWallet=function(t){return(0,N.isEmptyObject)(t)?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_ACTIVED'))):E.default.createElement(E.default.Fragment,null,s.state.triggerTransferCommission&&s.renderDialogTransferCommissionResponse(),E.default.createElement(x.View,{style:G.container},E.default.createElement(x.Animated.View,{style:{position:'absolute',width:"100%",zIndex:1,backgroundColor:S.Color.primaryColor,height:140-s.state.scrollHeaderY}}),E.default.createElement(x.ScrollView,{ref:function(t){return s._scrollView=t},style:{paddingHorizontal:20,position:'absolute',width:'100%',height:'100%',zIndex:2},scrollEventThrottle:8,onScroll:x.Animated.event([{nativeEvent:{contentOffset:{y:s.scrollY}}}],{listener:function(t){s.setState({scrollHeaderY:t.nativeEvent.contentOffset.y})}})},E.default.createElement(x.View,{style:{marginTop:80}},s.renderHeader(t),E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},s.renderAccountDetail(t),!s.isHomeRootView&&E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.checkDefault,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.Text,{style:[O.Typography.title3,O.Typography.semibold]},w.default.t('TRANSACTIONS'))),E.default.createElement(x.View,{style:G.transactionContainer},E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){(0,N.isIlinkWorldWallet)(t.type)?s.props.navigation.push(U.walletOptionSelect,{optionSelect:N.optionDepotScreen,wallet:t,onGoBack:function(){return s.refresh()},lottie:{source:r(d[46]),loop:!1}}):s.props.navigation.push(U.walletDepot,{wallet:t,onGoBack:function(){return s.refresh()}})},activeOpacity:.9},E.default.createElement(V.default,{name:"arrow-bottom-right",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('DEPOSIT'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5},w.default.t('DEPOSIT_DESCRIPTION')))))),E.default.createElement(x.View,{style:G.containerTouch},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){(0,N.isIlinkWorldWallet)(t.type)?s.props.navigation.push(U.walletOptionSelect,{optionSelect:N.optionRetraitScreen,wallet:t,onGoBack:function(){return s.refresh()},lottie:{source:r(d[46]),loop:!0}}):s.props.navigation.push(U.walletRetrait,{wallet:t,onGoBack:function(){return s.refresh()}})},activeOpacity:.9},E.default.createElement(V.default,{name:"arrow-top-left",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('WITHDRAWAL'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5},w.default.t('WITHDRAWAL_DESCRIPTION'))))))),(0,N.isIlinkWorldWallet)(t.type)&&E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:G.transactionContainer},E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){s.props.navigation.push(U.walletOptionSelect,{optionSelect:N.optionNanoCreditAgentScreen,wallet:t,lottie:{source:r(d[47]),loop:!0}})},activeOpacity:.9},E.default.createElement(V.default,{name:"cash-multiple",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:{paddingTop:5}},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('NANO_CREDIT')))))),E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){},activeOpacity:.9},E.default.createElement(V.default,{name:"heart-multiple",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:{paddingTop:20}},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('NANO_SANTE'))))))),E.default.createElement(x.View,{style:G.transactionContainer},E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){s.props.navigation.push(U.walletOptionSelect,{optionSelect:N.optionPaiementFacture,onGoBack:function(){return s.refresh()},lottie:{source:r(d[48]),loop:!0}})},activeOpacity:.9},E.default.createElement(V.default,{name:"file-document",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('PAIEMENT_FACTURE'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5}))))),E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){s.props.navigation.push(U.walletOptionSelect,{optionSelect:N.optionIdentificationScreen,lottie:{source:r(d[49]),loop:!0}})},activeOpacity:.9},E.default.createElement(V.default,{name:"pencil-plus",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('CREATION_IDENTIFICATION_DESCRIPTION'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5})))))))),!s.isHomeRootView&&s.renderHistoryTransaction(t),s.isHomeRootView&&s.renderSuperHyperHistoryTransaction())))))},s.renderHistoryTransactionItem=function(t,l,o){return E.default.createElement(x.TouchableOpacity,{onPress:function(){s.setState({displayModalHistory:!0,historyItemDetail:t})},style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},(0,N.isIlinkWorldWallet)(o.type)?Object.keys((0,T.default)(t,['id','id_transaction','type','frais','init_country','final_country','source','emetteur','montant_net_final','montant_net_init','reseau_payeur','operation'])).map(function(l,o){return E.default.createElement(x.View,{style:{alignItems:'center'},key:o},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},(0,p.default)(l,'montant')?" "+(t[l].length>8?(0,N.cutString)(P(t[l],' '),6):P(t[l],' '))+" "+s.state.wallet.currency_code:(0,p.default)(l,'destinataire')?t[l].length>13?(0,N.cutString)(t[l],13):t[l]:(0,p.default)(l,'date')?(0,N.cutStringWithoutDot)(t[l],16):t[l]))}):Object.keys((0,T.default)(t,['id','id_transaction','type','frais','init_country','final_country','source','emetteur','montant_net_final','montant_net_init','reseau_payeur','operation'])).map(function(l,o){return E.default.createElement(x.View,{style:{alignItems:'center'},key:o},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},(0,p.default)(l,'montant')?" "+(t[l].length>8?(0,N.cutString)(P(t[l],' '),6):P(t[l],' '))+" "+s.state.wallet.currency_code:(0,p.default)(l,'destinataire')?t[l].length>13?(0,N.cutString)(t[l],13):t[l]:(0,p.default)(l,'date')?(0,N.cutStringWithoutDot)(t[l],16):t[l]))}))},s.renderHistoryTransactionList=function(t){var l=s.props,o=l.resultTransaction,n=l.errorTransaction;return null!==n?void 0!==n.data?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},n.data.error)):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},n)):null!==o&&null!==o.response?Array.isArray(o.response)&&o.response.length>0?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},(0,N.transactionHistoryIlinkLabel)().map(function(t,l){return E.default.createElement(x.View,{style:{alignItems:'center'},key:l},E.default.createElement(V.default,{name:t.icon,size:24,color:S.Color.primaryColor}),E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},w.default.t(t.label)))})),o.response.map(function(l,o){return s.renderHistoryTransactionItem(l,o,t)})):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_HISTORY'))):void 0},s.renderHistoryTransaction=function(t){return E.default.createElement(E.default.Fragment,null,s.props.loadingTransaction?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===x.Platform.OS?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ProgressBarAndroid,null),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ActivityIndicator,{size:"large",color:'#ccc'}),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS')))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.checkDefault,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.Text,{style:[O.Typography.title3,O.Typography.semibold]},w.default.t('TRANSACTION_HISTORY'))),s.renderHistoryTransactionList(t)))},s.renderDialogConfirmTransferCommission=function(){x.Alert.alert(w.default.t("CONFIRM"),w.default.t('CONFIRM_TRANSFER_COMMISSION'),[{text:w.default.t("NO"),onPress:function(){}},{text:w.default.t("YES"),onPress:function(){var t=s.props.result;null!==t&&void 0!==t.response&&s.props.transferCommissionAction(t.response.id),s.setState({triggerTransferCommission:!0})}}],{cancelable:!1})},s.renderDialogTransferCommissionResponse=function(){var t=s.props,l=t.resultTransferCommission,o=t.errorTransferCommission;null!==o&&void 0!==o.data&&x.Alert.alert(w.default.t("ERROR_TRANSFER_COMMISSION"),o.data.error,[{text:w.default.t("OK"),onPress:function(){s.props.resetCommissionReducer()}}],{cancelable:!1}),null!==l&&null!==l.response&&x.Alert.alert(w.default.t("SUCCESS_TRANSFER_COMMISSION"),w.default.t("COMMISSION_TRANSFER_SUCCESS"),[{text:w.default.t("OK"),onPress:function(){s.props.resetCommissionReducer(),s.refresh()}}],{cancelable:!1})},s.state={index:0,routes:[{key:'depot',title:w.default.t('DEPOSIT')},{key:'retrait',title:w.default.t('WITHDRAWAL')}],heightHeader:R.heightHeader(),isModalConfirmVisible:!1,wallet:{currency_code:''},triggerTransferCommission:!1,loading:!1,isTriggerRefresh:!1,scrollHeaderY:0,displayModalHistory:!1,displaySuperHyperModalHistory:!1,historyItemDetail:null},s.renderContent=null,Y.extend({'+':'plus'}),s.scrollY=new x.Animated.Value(0),s.scrollHeaderY=new x.Animated.Value(0),s.deltaY=new x.Animated.Value(0),s.bgBannerY=new x.Animated.Value(0),s.heightImageBanner=R.scaleWithPixel(250,1),s.marginTopBanner=s.heightImageBanner-s.state.heightHeader-40,s.isHomeRootView=s.props.navigation.state.params.hasOwnProperty('agentId'),H.IlinkEmitter.on("langueChange",s.updateLangue.bind((0,u.default)(s))),s.props.getWalletTransactionHistoryReset(),s.props.depositActionReset(),s.props.resetWalletListDetailReducer(),s.currentLocale=w.default.locale.includes("fr")?"fr":"en-gb",F.locale(s.currentLocale),s.isHomeRootView){var f=s.props.navigation.state.params.agentId;s.props.getWalletDetailActivated(f,!0),s.props.getHyperSuperTransactionHistoryReset()}else s.props.getWalletDetailActivated(s.props.navigation.state.params.wallet.id,!1),(0,N.isIlinkWorldWallet)(s.props.navigation.state.params.wallet.type)?s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id,!0):s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id,!1);return(0,M.readUser)().then(function(t){if(null!==t&&void 0!==t&&void 0!==t.category){switch(t.category){case"super":s.props.getHyperSuperTransactionHistoryAction(t.code_membre,!1);break;case"hyper":s.props.getHyperSuperTransactionHistoryAction(t.network_id,!0)}s.setState({})}}),s.willFocus=s.props.navigation.addListener('willFocus',function(t){var l=s.props.result;if(console.log("will focus"),null!==l&&void 0!==l.response){var o=l.response[0];(0,M.readUser)().then(function(t){if(null!==t&&void 0!==t&&void 0!==t.category){switch(t.category){case"super":s.props.getHyperSuperTransactionHistoryAction(t.code_membre,!1);break;case"hyper":s.props.getHyperSuperTransactionHistoryAction(t.network_id,!0)}s.setState({})}}),s.setState({wallet:o,isTriggerRefresh:!1})}}),s}return(0,f.default)(l,t),(0,s.default)(l,[{key:"componentDidMount",value:function(){console.log('RESULT REQUEST',t);var t=this.props.result;if(null!==t&&void 0!==t.response){var l=t.response[0];this.setState({wallet:l,isTriggerRefresh:!1})}}},{key:"shouldComponentUpdate",value:function(t,l){return this.state.triggerTransferCommission===l.triggerTransferCommission}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:w.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){return E.default.createElement(E.default.Fragment,null,this.state.displayModalHistory&&this.renderModalHistoryDetail(),null!==this.props.result&&this.state.displaySuperHyperModalHistory&&this.renderModalSuperHyperHistoryDetail(this.props.result.response),E.default.createElement(x.StatusBar,{backgroundColor:S.Color.primaryDarkColor,barStyle:"light-content",translucent:!0}),this.props.loading||this.props.loadingTransferCommission?this.renderLoader():null!==this.props.result?Array.isArray(this.props.result.response)&&0===this.props.result.response.length?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_ACTIVED'))):this.renderDetailWallet(this.props.result.response):null)}}]),l})(E.Component);j.navigatorStyle={navBarBackgroundColor:S.Color.primaryColor,statusBarColor:S.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},j.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:w.default.t('WALLET'),headerTintColor:'white',headerStyle:{backgroundColor:S.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"},title:w.default.t('WALLET')}};var z=(0,D.connect)(function(t){return{loading:t.walletDetailReducer.loading,result:t.walletDetailReducer.result,error:t.walletDetailReducer.error,loadingTransaction:t.walletHistoryReducer.loadingTransaction,resultTransaction:t.walletHistoryReducer.resultTransaction,errorTransaction:t.walletHistoryReducer.errorTransaction,loadingTransferCommission:t.walletTransferCommissionReducer.loadingTransferCommission,resultTransferCommission:t.walletTransferCommissionReducer.resultTransferCommission,errorTransferCommission:t.walletTransferCommissionReducer.errorTransferCommission,loadingHistoryHyperSuper:t.getHyperSuperHistoryReducer.loading,resultHistoryHyperSuper:t.getHyperSuperHistoryReducer.result,errorHistoryHyperSuper:t.getHyperSuperHistoryReducer.error}},function(t){return(0,b.bindActionCreators)({getWalletDetailActivated:W.getWalletDetailActivated,getWalletTransactionHistory:k.getWalletTransactionHistory,transferCommissionAction:B.transferCommissionAction,resetWalletListDetailReducer:W.resetWalletListDetailReducer,resetCommissionReducer:B.resetCommissionReducer,getWalletTransactionHistoryReset:k.getWalletTransactionHistoryReset,depositActionReset:v.depositActionReset,getHyperSuperTransactionHistoryAction:k.getHyperSuperTransactionHistoryAction,getHyperSuperTransactionHistoryReset:k.getHyperSuperTransactionHistoryReset},t)})(j);e.default=z;var G=x.StyleSheet.create({container:{flex:1,backgroundColor:S.Color.containerBackgroundColor},indicator:{height:2},tab:{width:R.getWidthDevice()/2},tabbar:{height:40},imgBanner:{width:'100%',height:250,position:'absolute'},contentService:{paddingVertical:10,borderBottomWidth:.5,flexDirection:'row',flexWrap:'wrap',justifyContent:'space-between'},blockView:{paddingVertical:10,borderBottomWidth:.5},containField:{padding:10,marginBottom:20,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,flexDirection:"row",height:140,borderRadius:10},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:(0,h.responsiveWidth)(100),marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"},contentLeftItem:{flex:1,paddingTop:40,paddingLeft:10,paddingRight:10,alignItems:"center"},tagFollow:{width:150,margin:10},profileItem:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingBottom:20,paddingTop:20},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:10,marginTop:5},blockView:{paddingVertical:10,borderBottomWidth:.5},circlePoint:{width:50,height:50,borderRadius:25,marginRight:5,alignItems:'center',justifyContent:'center'},transactionContainer:{flexDirection:'row',paddingTop:10},containerTouch:{flex:1,flexDirection:'row',alignItems:'center',shadowColor:S.Color.borderColor,borderColor:S.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:S.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:R.scaleWithPixel(30),height:R.scaleWithPixel(30)},content:{height:R.scaleWithPixel(60),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:5}})},1655,[4,1,6,8,9,10,12,11,13,688,552,1030,1032,1033,1034,1035,1036,1037,1038,15,18,719,534,1656,877,875,1039,1056,1642,1026,1626,1015,1014,773,1645,1667,743,1609,1669,1670,718,1176,1647,814,1646,815,1671,1672,1673,1674]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),c=l(r(d[5])),y=l(r(d[6])),u=l(r(d[7])),f=l(r(d[8])),p=l(r(d[9])),T=l(r(d[10]));r(d[11]),r(d[12]),r(d[13]),r(d[14]),r(d[15]),r(d[16]),r(d[17]),r(d[18]);var E=t(r(d[19])),x=r(d[20]),w=l(r(d[21])),h=r(d[22]),C=r(d[23]),I=l(r(d[24])),V=l(r(d[25])),D=r(d[26]),b=r(d[27]),_=l(r(d[28])),S=r(d[29]),A=l(r(d[30])),O=r(d[31]),R=t(r(d[32])),v=r(d[33]),H=r(d[34]),N=r(d[35]),L=r(d[36]),W=r(d[37]),k=r(d[38]),B=r(d[39]),M=r(d[40]),F=r(d[41]),P=r(d[42]),U=r(d[43]),Y=r(d[44]);r(d[45]);var j=(function(t){function l(t){var s;return(0,n.default)(this,l),(s=(0,c.default)(this,(0,y.default)(l).call(this,t))).getWalletDetail=function(){(0,M.readUser)().then(function(t){if(t&&void 0!==t&&void 0!==t.category){if("super"===t.category||"hyper"===t.category){var l=s.props.navigation.state.params.agentId;s.props.getWalletDetailActivated(l,!0),s.props.getHyperSuperTransactionHistoryReset()}"geolocated"===t.category&&(s.props.getWalletDetailActivated(s.props.navigation.state.params.wallet.id,!1),(0,H.isIlinkWorldWallet)(s.props.navigation.state.params.wallet.type)?s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id,!0):s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id,!1))}})},s.getWalletIcon=function(t){return L.baseUrl+"/datas/img/network/"+Y(t.network,{lower:!0})+"-logo.png"},s.getCreationDateToHumanFormat=function(t){var l=F.tz(t,F.tz.guess()).format();return F(l).fromNow()},s.handleIndexChange=function(t){return s.setState({index:t})},s.imageScale=function(){return s.scrollY.interpolate({inputRange:[0,100],outputRange:[1,.5],extrapolate:'clamp'})},s.imageTranslateY=function(){return s.scrollY.interpolate({inputRange:[0,100],outputRange:[-5,50],extrapolate:'clamp'})},s.bgHeaderTranslateY=function(){return s.scrollY.interpolate({inputRange:[0,150],outputRange:[-5,0],extrapolate:'clamp'})},s.refresh=function(){s.props.result;if(console.log("STATE NAVIGATION PARAMS REFRESH",s.props.navigation.state),s.isHomeRootView){var t=s.props.navigation.state.params.agentId;s.props.getWalletDetailActivated(t,!0)}else{var l=s.props.navigation.state.params.wallet;s.props.getWalletDetailActivated(l.id,!1),(0,H.isIlinkWorldWallet)(l.type)?s.props.getWalletTransactionHistory(l.id,!0):s.props.getWalletTransactionHistory(l.id,!1),s.setState({isTriggerRefresh:!0})}},s.renderTabBar=function(t){return E.default.createElement(C.TabBar,(0,o.default)({},t,{scrollEnabled:!0,indicatorStyle:[G.indicator,{backgroundColor:S.Color.primaryColor}],style:[G.tabBar,{backgroundColor:S.Color.containerBackgroundColor}],inactiveColor:S.Color.dividerColor,activeColor:S.Color.grayColor,tabStyle:G.tab,renderLabel:function(t){var l=t.route,o=(t.focused,t.color);return E.default.createElement(x.View,{style:{flex:1,width:R.getWidthDevice()/2,alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.headline,style:{color:o}},'depot'===l.key?E.default.createElement(V.default,{name:"arrow-bottom-right",color:o,size:20}):E.default.createElement(V.default,{name:"arrow-top-left",color:o,size:20})," "+l.title))}}))},s.renderHeader=function(t){return E.default.createElement(x.View,{style:[G.containField,{backgroundColor:S.Color.cardBackgroundColor,zIndex:11,shadowColor:S.Color.borderColor,borderColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:[G.contentLeftItem]},E.default.createElement(x.Text,{numberOfLines:1,style:[O.Typography.caption2,O.Typography.semibold]},w.default.t('COUNTRY')),E.default.createElement(x.Text,{numberOfLines:1,adjustsFontSizeToFit:!0,style:O.Typography.caption1},t.country)),E.default.createElement(x.View,{style:{flex:1,alignItems:'center',justifyContent:'flex-end'}},E.default.createElement(x.Animated.Image,{source:{uri:s.getWalletIcon(t)},style:{width:120,height:120,borderRadius:60,position:'absolute',alignSelf:'center',backgroundColor:S.Color.whiteColor,bottom:70,transform:[{scale:s.imageScale()},{translateY:s.imageTranslateY()}]}}),E.default.createElement(x.View,{style:{marginTop:1,flex:1,alignItems:'center',justifyContent:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold],numberOfLines:1},t.network),E.default.createElement(x.View,{style:{flexDirection:'row'}},E.default.createElement(_.default,{primary:!0,icon:E.default.createElement(V.default,{name:"swap-horizontal",size:20,color:S.Color.whiteColor,style:{marginLeft:15}}),style:{paddingRight:10,width:120,borderTopRightRadius:0,borderBottomRightRadius:0,borderRightWidth:1,borderRightColor:S.Color.whiteColor},onPress:function(){var t=s.props.result;null!==t&&void 0!==t.response&&(0===parseInt(t.response.balance_com)?x.Alert.alert(w.default.t("TRANSFER_COMMISSION_IMPOSSIBLE"),w.default.t("COMMISSION_TRANSFER_ERROR_EMPTY"),[{text:w.default.t("OK"),onPress:function(){s.props.resetCommissionReducer()}}],{cancelable:!1}):s.renderDialogConfirmTransferCommission())}},w.default.t('TRANSFER_TO_PRINCIPAL_ACCOUNT')),E.default.createElement(_.default,{icon:E.default.createElement(V.default,{name:"update",size:20,color:S.Color.whiteColor,style:{marginLeft:-15}}),style:{width:110,borderTopLeftRadius:0,borderBottomLeftRadius:0},primary:!0,onPress:function(){s._scrollView.scrollToEnd()}},w.default.t('HISTORY'))))),E.default.createElement(x.View,{style:G.contentLeftItem},E.default.createElement(x.Text,{numberOfLines:1,style:[O.Typography.caption2,O.Typography.semibold]},w.default.t('CREATION_DATE')),E.default.createElement(x.Text,{numberOfLines:1,adjustsFontSizeToFit:!0,style:O.Typography.caption1},F(t.created_date).format('DD/MM/YYYY'))))},s.renderLoader=function(){return E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===x.Platform.OS?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ProgressBarAndroid,null),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ActivityIndicator,{size:"large",color:'#ccc'}),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))))},s.renderAccountDetail=function(t){return E.default.createElement(x.View,{style:{flexDirection:'row',flex:1,justifyContent:'space-between'}},E.default.createElement(x.View,{style:{flexDirection:'row',alignItems:'center'}},E.default.createElement(x.View,{style:[G.circlePoint,{backgroundColor:S.Color.primaryColor}]},E.default.createElement(I.default,{name:"md-wallet",size:28,color:S.Color.whiteColor})),E.default.createElement(x.View,null,E.default.createElement(x.Text,{style:(O.Typography.title3,S.Color.primaryColor,{marginBottom:3})},w.default.t('PRINCIPAL_ACCOUNT_TITLE')),E.default.createElement(x.Text,{style:[O.Typography.body2]},P(t.balance_princ,' ')+" "+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',alignItems:'center'}},E.default.createElement(x.View,{style:[G.circlePoint,{backgroundColor:S.Color.primaryColor}]},E.default.createElement(I.default,{name:"md-cash",size:28,color:S.Color.whiteColor})),E.default.createElement(x.View,null,E.default.createElement(x.Text,{style:(O.Typography.title3,S.Color.primaryColor,{marginBottom:3})},w.default.t('COMMISSION_ACCOUNT_TITLE')),E.default.createElement(x.Text,{style:O.Typography.body2},P(t.balance_com,' ')+" "+t.currency_code))))},s.renderModalHistoryDetail=function(t){s.state.historyItemDetail;return E.default.createElement(A.default.Container,{useNativeDriver:!0,visible:s.state.displayModalHistory},E.default.createElement(A.default.Title,null,w.default.t('HISTORY_DETAIL')),E.default.createElement(x.View,null,E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('OPERATION'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.operation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('TRANSACTION_ID'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_transaction))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Date")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INIT_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.init_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FEES_AND_TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.frais))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_init))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('EMETTEUR'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.emetteur))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DESTINATAIRE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.destinataire))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FINAL_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.final_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_final))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('ACTIVE_WALLET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.reseau_payeur))))),E.default.createElement(A.default.Button,{bold:!0,label:w.default.t('OK'),onPress:function(){s.setState({displayModalHistory:!s.state.displayModalHistory})}}))},s.renderSuperHyperHistoryTransactionItem=function(t,l){return E.default.createElement(x.TouchableOpacity,{onPress:function(){s.setState({displaySuperHyperModalHistory:!0,historyItemDetail:t})},style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},Object.keys((0,T.default)(t,['id','id_transaction','montant_retire','montant2','date_cassation','etat','type','date_fin','duree_mois','id_epargne','type_historique','frais','init_country','final_country','source','emetteur','montant_net_final','montant_net_init','reseau_payeur','operation','retrait_cash','type_historique','type_caution','id_demande','montant_rembourse','partiellement_rembourse','duree_mois','etat','interet','taxe','date_validation','date_remboursement_prevu','date_remboursement','id_user','id_wallet_agent','id_network','user','user_phone','agent','codeParrain'])).map(function(l,o){return E.default.createElement(x.View,{style:{alignItems:'center'},key:o},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},(0,p.default)(l,'montant')?" "+(t[l].length>8?(0,H.cutString)(P(t[l],' '),6):P(t[l],' '))+" "+(void 0!==s.state.wallet?s.state.wallet.currency_code:""):(0,p.default)(l,'destinataire')?t[l].length>13?(0,H.cutString)(t[l],13):t[l]:(0,p.default)(l,'date_creation')?(0,H.cutStringWithoutDot)(t[l],16):t[l]))}))},s.renderModalSuperHyperHistoryDetail=function(t){var l=s.state.historyItemDetail;return E.default.createElement(A.default.Container,{useNativeDriver:!0,visible:s.state.displaySuperHyperModalHistory},E.default.createElement(A.default.Title,null,w.default.t('HISTORY_DETAIL')),(0,p.default)(l.type_historique,'N')&&E.default.createElement(x.ScrollView,{persistentScrollbar:!0},E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Type")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},w.default.t((0,H.displayTransactionType)(s.state.historyItemDetail.type_historique))))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('CAUTION_TYPE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.type_caution))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('ID_DEMAND'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_demande))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('STATUS'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.etat))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('DEMAND_DURATION_IN_MONTH'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.duree_mois))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT_REFUND'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_rembourse+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT_PARTIALLY_REFUND'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.partiellement_rembourse+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.taxe+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INTERET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.interet+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('WITHDRAWAL_IN_CASH'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},1==s.state.historyItemDetail.retrait_cash?w.default.t('YES'):w.default.t('NO')))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('CREATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_creation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('VALIDATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_validation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DATE_REMBOURSEMENT_PREVU'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_remboursement_prevu))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DATE_REMBOURSEMENT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_remboursement))))),(0,p.default)(l.type_historique,'E')&&E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Type")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},w.default.t((0,H.displayTransactionType)(s.state.historyItemDetail.type_historique))))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('ID_SAVINGS'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_epargne))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('STATUS'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.etat))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('DEMAND_DURATION_IN_MONTH'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.duree_mois))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Type")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.type))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT_WITHDRAWAL'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_retire+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.taxe+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INTERET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.interet+' '+t.currency_code))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('CREATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_creation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FINAL_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},(0,p.default)(s.state.historyItemDetail.type,'SIMPLE')?w.default.t('NON_APPLICABLE'):s.state.historyItemDetail.date_fin))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('CASSATION_DATE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_cassation)))),(0,p.default)(l.type_historique,'T')&&E.default.createElement(x.View,null,E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('OPERATION'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.operation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},w.default.t('TRANSACTION_ID'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.id_transaction))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:[G.body2]},"Date")),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.date_creation))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('INIT_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.init_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant2))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FEES_AND_TAXES'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.frais))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_init))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('EMETTEUR'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.emetteur))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('DESTINATAIRE'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.destinataire))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('FINAL_COUNTRY'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.final_country))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('NET_AMOUNT'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.montant_net_final))),E.default.createElement(x.View,{style:{flexDirection:'row',marginTop:10}},E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{tyle:[O.Typography.body2]},w.default.t('ACTIVE_WALLET'))),E.default.createElement(x.View,{style:{flex:1,alignItems:'flex-end'}},E.default.createElement(x.Text,{style:[O.Typography.caption1,S.Color.grayColor]},s.state.historyItemDetail.reseau_payeur))))),E.default.createElement(A.default.Button,{bold:!0,label:w.default.t('OK'),onPress:function(){s.setState({displaySuperHyperModalHistory:!s.state.displaySuperHyperModalHistory})}}))},s.renderSuperHyperHistoryTransactionList=function(){var t=s.props,l=t.resultHistoryHyperSuper,o=t.errorHistoryHyperSuper;return null!==o?void 0!==o.data?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},o.data.error)):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},o)):null!==l&&null!==l.response?Array.isArray(l.response)&&l.response.length>0?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},(0,H.transactionHistoryIlinkLabel)().map(function(t,l){return E.default.createElement(x.View,{style:{alignItems:'center'},key:l},E.default.createElement(V.default,{name:t.icon,size:24,color:S.Color.primaryColor}),E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},w.default.t(t.label)))})),l.response.map(function(t,l){return s.renderSuperHyperHistoryTransactionItem(t,l)})):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_HISTORY'))):void 0},s.renderSuperHyperHistoryTransaction=function(){return E.default.createElement(E.default.Fragment,null,s.props.loadingHistoryHyperSuper?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===x.Platform.OS?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ProgressBarAndroid,null),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ActivityIndicator,{size:"large",color:'#ccc'}),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS')))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.checkDefault,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.Text,{style:[O.Typography.title3,O.Typography.semibold]},w.default.t('TRANSACTION_HISTORY'))),s.renderSuperHyperHistoryTransactionList()))},s.renderDetailWallet=function(t){return(0,H.isEmptyObject)(t)?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_ACTIVED'))):E.default.createElement(E.default.Fragment,null,s.state.triggerTransferCommission&&s.renderDialogTransferCommissionResponse(),E.default.createElement(x.View,{style:G.container},E.default.createElement(x.Animated.View,{style:{position:'absolute',width:"100%",zIndex:1,backgroundColor:S.Color.primaryColor,height:140-s.state.scrollHeaderY}}),E.default.createElement(x.ScrollView,{ref:function(t){return s._scrollView=t},style:{paddingHorizontal:20,position:'absolute',width:'100%',height:'100%',zIndex:2},scrollEventThrottle:8,onScroll:x.Animated.event([{nativeEvent:{contentOffset:{y:s.scrollY}}}],{listener:function(t){s.setState({scrollHeaderY:t.nativeEvent.contentOffset.y})}})},E.default.createElement(x.View,{style:{marginTop:80}},s.renderHeader(t),E.default.createElement(x.View,{style:[G.blockView,{borderBottomColor:S.Color.borderColor}]},s.renderAccountDetail(t),!s.isHomeRootView&&E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.checkDefault,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.Text,{style:[O.Typography.title3,O.Typography.semibold]},w.default.t('TRANSACTIONS'))),E.default.createElement(x.View,{style:G.transactionContainer},E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){(0,H.isIlinkWorldWallet)(t.type)?s.props.navigation.push(U.walletOptionSelect,{optionSelect:H.optionDepotScreen,wallet:t,onGoBack:function(){return s.refresh()},lottie:{source:r(d[46]),loop:!1}}):s.props.navigation.push(U.walletDepot,{wallet:t,onGoBack:function(){return s.refresh()}})},activeOpacity:.9},E.default.createElement(V.default,{name:"arrow-bottom-right",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('DEPOSIT'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5},w.default.t('DEPOSIT_DESCRIPTION')))))),E.default.createElement(x.View,{style:G.containerTouch},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){(0,H.isIlinkWorldWallet)(t.type)?s.props.navigation.push(U.walletOptionSelect,{optionSelect:H.optionRetraitScreen,wallet:t,onGoBack:function(){return s.refresh()},lottie:{source:r(d[46]),loop:!0}}):s.props.navigation.push(U.walletRetrait,{wallet:t,onGoBack:function(){return s.refresh()}})},activeOpacity:.9},E.default.createElement(V.default,{name:"arrow-top-left",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('WITHDRAWAL'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5},w.default.t('WITHDRAWAL_DESCRIPTION'))))))),(0,H.isIlinkWorldWallet)(t.type)&&E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:G.transactionContainer},E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){s.props.navigation.push(U.walletOptionSelect,{optionSelect:H.optionNanoCreditAgentScreen,wallet:t,lottie:{source:r(d[47]),loop:!0}})},activeOpacity:.9},E.default.createElement(V.default,{name:"cash-multiple",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:{paddingTop:5}},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('NANO_CREDIT')))))),E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){},activeOpacity:.9},E.default.createElement(V.default,{name:"heart-multiple",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:{paddingTop:20}},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('NANO_SANTE'))))))),E.default.createElement(x.View,{style:G.transactionContainer},E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){s.props.navigation.push(U.walletOptionSelect,{optionSelect:H.optionPaiementFacture,onGoBack:function(){return s.refresh()},lottie:{source:r(d[48]),loop:!0}})},activeOpacity:.9},E.default.createElement(V.default,{name:"file-document",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('PAIEMENT_FACTURE'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5}))))),E.default.createElement(x.View,{style:[G.containerTouch]},E.default.createElement(x.TouchableOpacity,{style:G.contain,onPress:function(){s.props.navigation.push(U.walletOptionSelect,{optionSelect:H.optionIdentificationScreen,lottie:{source:r(d[49]),loop:!0}})},activeOpacity:.9},E.default.createElement(V.default,{name:"pencil-plus",color:S.Color.primaryColor,size:30,style:G.imageBanner}),E.default.createElement(x.View,{style:[G.content]},E.default.createElement(x.View,{style:G.contentTitle},E.default.createElement(x.Text,{style:[O.Typography.headline,O.Typography.semibold]},w.default.t('CREATION_IDENTIFICATION_DESCRIPTION'))),E.default.createElement(x.View,{style:{flex:1}},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{paddingVertical:5}),numberOfLines:5})))))))),!s.isHomeRootView&&s.renderHistoryTransaction(t),s.isHomeRootView&&s.renderSuperHyperHistoryTransaction())))))},s.renderHistoryTransactionItem=function(t,l,o){return E.default.createElement(x.TouchableOpacity,{onPress:function(){s.setState({displayModalHistory:!0,historyItemDetail:t})},style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},(0,H.isIlinkWorldWallet)(o.type)?Object.keys((0,T.default)(t,['id','id_transaction','type','frais','init_country','final_country','source','emetteur','montant_net_final','montant_net_init','reseau_payeur','operation'])).map(function(l,o){return E.default.createElement(x.View,{style:{alignItems:'center'},key:o},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},(0,p.default)(l,'montant')?" "+(t[l].length>8?(0,H.cutString)(P(t[l],' '),6):P(t[l],' '))+" "+(void 0!==s.state.wallet?s.state.wallet.currency_code:""):(0,p.default)(l,'destinataire')?t[l].length>13?(0,H.cutString)(t[l],13):t[l]:(0,p.default)(l,'date')?(0,H.cutStringWithoutDot)(t[l],16):t[l]))}):Object.keys((0,T.default)(t,['id','id_transaction','type','frais','init_country','final_country','source','emetteur','montant_net_final','montant_net_init','reseau_payeur','operation'])).map(function(l,o){return E.default.createElement(x.View,{style:{alignItems:'center'},key:o},E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},(0,p.default)(l,'montant')?" "+(t[l].length>8?(0,H.cutString)(P(t[l],' '),6):P(t[l],' '))+" "+(void 0!==s.state.wallet?s.state.wallet.currency_code:""):(0,p.default)(l,'destinataire')?t[l].length>13?(0,H.cutString)(t[l],13):t[l]:(0,p.default)(l,'date')?(0,H.cutStringWithoutDot)(t[l],16):t[l]))}))},s.renderHistoryTransactionList=function(t){var l=s.props,o=l.resultTransaction,n=l.errorTransaction;return null!==n?void 0!==n.data?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},n.data.error)):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},n)):null!==o&&null!==o.response?Array.isArray(o.response)&&o.response.length>0?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.contentService,{borderBottomColor:S.Color.primaryColor}]},(0,H.transactionHistoryIlinkLabel)().map(function(t,l){return E.default.createElement(x.View,{style:{alignItems:'center'},key:l},E.default.createElement(V.default,{name:t.icon,size:24,color:S.Color.primaryColor}),E.default.createElement(x.Text,{style:(O.Typography.overline,S.Color.grayColor,{marginTop:4})},w.default.t(t.label)))})),o.response.map(function(l,o){return s.renderHistoryTransactionItem(l,o,t)})):E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_HISTORY'))):void 0},s.renderHistoryTransaction=function(t){return E.default.createElement(E.default.Fragment,null,s.props.loadingTransaction?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===x.Platform.OS?E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ProgressBarAndroid,null),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS'))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.ActivityIndicator,{size:"large",color:'#ccc'}),E.default.createElement(x.Text,null,w.default.t('LOADING_DOTS')))):E.default.createElement(E.default.Fragment,null,E.default.createElement(x.View,{style:[G.checkDefault,{borderBottomColor:S.Color.borderColor}]},E.default.createElement(x.Text,{style:[O.Typography.title3,O.Typography.semibold]},w.default.t('TRANSACTION_HISTORY'))),s.renderHistoryTransactionList(t)))},s.renderDialogConfirmTransferCommission=function(){x.Alert.alert(w.default.t("CONFIRM"),w.default.t('CONFIRM_TRANSFER_COMMISSION'),[{text:w.default.t("NO"),onPress:function(){}},{text:w.default.t("YES"),onPress:function(){var t=s.props.result;null!==t&&void 0!==t.response&&s.props.transferCommissionAction(t.response.id),s.setState({triggerTransferCommission:!0})}}],{cancelable:!1})},s.renderDialogTransferCommissionResponse=function(){var t=s.props,l=t.resultTransferCommission,o=t.errorTransferCommission;null!==o&&void 0!==o.data&&x.Alert.alert(w.default.t("ERROR_TRANSFER_COMMISSION"),o.data.error,[{text:w.default.t("OK"),onPress:function(){s.props.resetCommissionReducer()}}],{cancelable:!1}),null!==l&&null!==l.response&&x.Alert.alert(w.default.t("SUCCESS_TRANSFER_COMMISSION"),w.default.t("COMMISSION_TRANSFER_SUCCESS"),[{text:w.default.t("OK"),onPress:function(){s.props.resetCommissionReducer(),s.refresh()}}],{cancelable:!1})},s.state={index:0,routes:[{key:'depot',title:w.default.t('DEPOSIT')},{key:'retrait',title:w.default.t('WITHDRAWAL')}],heightHeader:R.heightHeader(),isModalConfirmVisible:!1,wallet:{currency_code:''},triggerTransferCommission:!1,loading:!1,isTriggerRefresh:!1,scrollHeaderY:0,displayModalHistory:!1,displaySuperHyperModalHistory:!1,historyItemDetail:null},s.renderContent=null,Y.extend({'+':'plus'}),s.scrollY=new x.Animated.Value(0),s.scrollHeaderY=new x.Animated.Value(0),s.deltaY=new x.Animated.Value(0),s.bgBannerY=new x.Animated.Value(0),s.heightImageBanner=R.scaleWithPixel(250,1),s.marginTopBanner=s.heightImageBanner-s.state.heightHeader-40,s.isHomeRootView=s.props.navigation.state.params.hasOwnProperty('agentId'),v.IlinkEmitter.on("langueChange",s.updateLangue.bind((0,u.default)(s))),s.props.getWalletTransactionHistoryReset(),s.props.depositActionReset(),s.props.resetWalletListDetailReducer(),s.currentLocale=w.default.locale.includes("fr")?"fr":"en-gb",F.locale(s.currentLocale),(0,M.readUser)().then(function(t){if(t&&void 0!==t&&void 0!==t.category){if("super"===t.category||"hyper"===t.category){var l=s.props.navigation.state.params.agentId;s.props.getWalletDetailActivated(l,!0),s.props.getHyperSuperTransactionHistoryReset()}"geolocated"===t.category&&(s.props.getWalletDetailActivated(s.props.navigation.state.params.wallet.id,!1),(0,H.isIlinkWorldWallet)(s.props.navigation.state.params.wallet.type)?s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id,!0):s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id,!1))}}),s.getWalletDetail(),s.willFocus=s.props.navigation.addListener('willFocus',function(t){var l=s.props.result;console.warn("will focus detail"),s.getWalletDetail(),s.setState({wallet:{currency_code:''}},function(){if(null!==l&&void 0!==l.response){var t=l.response[0];(0,M.readUser)().then(function(t){if(null!==t&&void 0!==t&&void 0!==t.category){switch(t.category){case"super":s.props.getHyperSuperTransactionHistoryAction(t.code_membre,!1);break;case"hyper":s.props.getHyperSuperTransactionHistoryAction(t.network_id,!0)}s.setState({})}}),s.setState({wallet:t,isTriggerRefresh:!1})}})}),s}return(0,f.default)(l,t),(0,s.default)(l,[{key:"componentDidMount",value:function(){console.log('RESULT REQUEST',t);var t=this.props.result;if(null!==t&&void 0!==t.response){var l=t.response[0];this.setState({wallet:l,isTriggerRefresh:!1})}}},{key:"shouldComponentUpdate",value:function(t,l){return this.state.triggerTransferCommission===l.triggerTransferCommission}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:w.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){return E.default.createElement(E.default.Fragment,null,this.state.displayModalHistory&&this.renderModalHistoryDetail(),null!==this.props.result&&this.state.displaySuperHyperModalHistory&&this.renderModalSuperHyperHistoryDetail(this.props.result.response),E.default.createElement(x.StatusBar,{backgroundColor:S.Color.primaryDarkColor,barStyle:"light-content",translucent:!0}),this.props.loading||this.props.loadingTransferCommission?this.renderLoader():null!==this.props.result?Array.isArray(this.props.result.response)&&0===this.props.result.response.length?E.default.createElement(x.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},E.default.createElement(x.Text,{style:O.Typography.body1},w.default.t('NO_WALLET_ACTIVED'))):this.renderDetailWallet(this.props.result.response):null)}}]),l})(E.Component);j.navigatorStyle={navBarBackgroundColor:S.Color.primaryColor,statusBarColor:S.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},j.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:w.default.t('WALLET'),headerTintColor:'white',headerStyle:{backgroundColor:S.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"},title:w.default.t('WALLET')}};var z=(0,D.connect)(function(t){return{loading:t.walletDetailReducer.loading,result:t.walletDetailReducer.result,error:t.walletDetailReducer.error,loadingTransaction:t.walletHistoryReducer.loadingTransaction,resultTransaction:t.walletHistoryReducer.resultTransaction,errorTransaction:t.walletHistoryReducer.errorTransaction,loadingTransferCommission:t.walletTransferCommissionReducer.loadingTransferCommission,resultTransferCommission:t.walletTransferCommissionReducer.resultTransferCommission,errorTransferCommission:t.walletTransferCommissionReducer.errorTransferCommission,loadingHistoryHyperSuper:t.getHyperSuperHistoryReducer.loading,resultHistoryHyperSuper:t.getHyperSuperHistoryReducer.result,errorHistoryHyperSuper:t.getHyperSuperHistoryReducer.error}},function(t){return(0,b.bindActionCreators)({getWalletDetailActivated:W.getWalletDetailActivated,getWalletTransactionHistory:k.getWalletTransactionHistory,transferCommissionAction:B.transferCommissionAction,resetWalletListDetailReducer:W.resetWalletListDetailReducer,resetCommissionReducer:B.resetCommissionReducer,getWalletTransactionHistoryReset:k.getWalletTransactionHistoryReset,depositActionReset:N.depositActionReset,getHyperSuperTransactionHistoryAction:k.getHyperSuperTransactionHistoryAction,getHyperSuperTransactionHistoryReset:k.getHyperSuperTransactionHistoryReset},t)})(j);e.default=z;var G=x.StyleSheet.create({container:{flex:1,backgroundColor:S.Color.containerBackgroundColor},indicator:{height:2},tab:{width:R.getWidthDevice()/2},tabbar:{height:40},imgBanner:{width:'100%',height:250,position:'absolute'},contentService:{paddingVertical:10,borderBottomWidth:.5,flexDirection:'row',flexWrap:'wrap',justifyContent:'space-between'},blockView:{paddingVertical:10,borderBottomWidth:.5},containField:{padding:10,marginBottom:20,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,flexDirection:"row",height:140,borderRadius:10},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:(0,h.responsiveWidth)(100),marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"},contentLeftItem:{flex:1,paddingTop:40,paddingLeft:10,paddingRight:10,alignItems:"center"},tagFollow:{width:150,margin:10},profileItem:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingBottom:20,paddingTop:20},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:10,marginTop:5},blockView:{paddingVertical:10,borderBottomWidth:.5},circlePoint:{width:50,height:50,borderRadius:25,marginRight:5,alignItems:'center',justifyContent:'center'},transactionContainer:{flexDirection:'row',paddingTop:10},containerTouch:{flex:1,flexDirection:'row',alignItems:'center',shadowColor:S.Color.borderColor,borderColor:S.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:S.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:R.scaleWithPixel(30),height:R.scaleWithPixel(30)},content:{height:R.scaleWithPixel(60),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:5}})},1655,[4,1,6,8,9,10,12,11,13,688,552,1030,1032,1033,1034,1035,1036,1037,1038,15,18,719,534,1656,877,875,1039,1056,1642,1026,1626,1015,1014,773,1645,1667,743,1609,1669,1670,718,1176,1647,814,1646,815,1671,1672,1673,1674]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TabBar",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TabView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"TabBarIndicator",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"SceneMap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"ScrollPager",{enumerable:!0,get:function(){return o.default}});var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),o=t(r(d[5]))},1656,[1,1657,1662,1661,1665,1666]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),h=t(r(d[8])),b=r(d[9]),y=n(r(d[10])),p=n(r(d[11])),v=n(r(d[12])),w=n(r(d[13]));function S(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function T(t){for(var n=1;n1){var o=n.map(function(t,n){return n});return b.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===l?1:0})})}return 1})),w((0,s.default)(o),"getInactiveOpacity",(0,h.default)(function(t,n,l){if(n.length>1){var o=n.map(function(t,n){return n});return b.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===l?0:1})})}return 0})),o}return(0,f.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.route,l=t.position,o=t.navigationState,u=t.renderLabel,c=t.renderIcon,s=t.renderBadge,f=t.getLabelText,h=t.getTestID,w=t.getAccessibilityLabel,E=t.getAccessible,O=t.activeColor,C=void 0===O?"rgba(255, 255, 255, 1)":O,L=t.inactiveColor,V=void 0===L?"rgba(255, 255, 255, 0.7)":L,I=t.pressColor,P=t.pressOpacity,x=t.labelStyle,T=t.style,A=t.onLayout,R=t.onPress,_=t.onLongPress,j=o.routes.indexOf(n),k=o.index===j,D=this.getActiveOpacity(l,o.routes,j),F=this.getInactiveOpacity(l,o.routes,j),B=null,H=null;if(c){var M=c({route:n,focused:!0,color:C}),q=c({route:n,focused:!1,color:V});null!=q&&null!=M&&(B=y.createElement(p.View,{style:S.icon},y.createElement(b.default.View,{style:{opacity:F}},q),y.createElement(b.default.View,{style:[p.StyleSheet.absoluteFill,{opacity:D}]},M)))}var z=void 0!==u?u:function(t){var n=t.route,l=t.color,o=f({route:n});return'string'==typeof o?y.createElement(b.default.Text,{style:[S.label,B?{marginTop:0}:null,{color:l},x]},o):o};if(z){var G=z({route:n,focused:!0,color:C}),J=z({route:n,focused:!1,color:V});H=y.createElement(p.View,null,y.createElement(b.default.View,{style:{opacity:F}},J),y.createElement(b.default.View,{style:[p.StyleSheet.absoluteFill,{opacity:D}]},G))}var K=p.StyleSheet.flatten(T),N=void 0!==(null===K||void 0===K?void 0:K.width)?null:{flex:1},Q={route:n},U=w(Q);U=void 0!==U?U:f(Q);var W=s?s(Q):null;return y.createElement(v.default,{borderless:!0,testID:h(Q),accessible:E(Q),accessibilityLabel:U,accessibilityTraits:k?['button','selected']:'button',accessibilityComponentType:"button",accessibilityRole:"tab",accessibilityStates:k?['selected']:[],pressColor:I,pressOpacity:P,delayPressIn:0,onLayout:A,onPress:R,onLongPress:_,style:N},y.createElement(p.View,{pointerEvents:"none",style:[S.item,K]},B,H,null!=W?y.createElement(p.View,{style:S.badge},W):null))}}]),n})(y.Component);e.default=E;var S=p.StyleSheet.create({label:{margin:4,backgroundColor:'transparent'},icon:{margin:2},item:{flex:1,alignItems:'center',justifyContent:'center',padding:10,minHeight:48},badge:{position:'absolute',top:0,right:0}})},1658,[4,1,8,9,10,12,11,13,15,18,1659,1527,1660]); @@ -1802,7 +1802,7 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__e __d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),l=o(r(d[3])),u=o(r(d[4])),s=o(r(d[5])),c=o(r(d[6])),p=o(r(d[7])),f=o(r(d[8])),h=o(r(d[9])),C=t(r(d[10])),S=r(d[11]),b=t(r(d[12])),v=o(r(d[13])),G=r(d[14]),O=r(d[15]),R=r(d[16]),k=o(r(d[17])),F=r(d[18]),_=r(d[19]),y=r(d[20]),I=(r(d[21]),r(d[22])),A=r(d[23]),E=r(d[24]),T=r(d[25]),D=(r(d[26]),r(d[27]),(function(t){function o(t){var l;return(0,n.default)(this,o),(l=(0,u.default)(this,(0,s.default)(o).call(this,t))).renderCreateGroupReponse=function(){var t=l.props,o=t.result,n=t.error;null!==n&&void 0!==n.data&&S.Alert.alert(v.default.t("ERROR_JOIN_GROUP"),n.data.error,[{text:v.default.t("OK"),onPress:function(){l.props.joinGroupReset()}}],{cancelable:!1}),null!==o&&null!==o.response&&S.Alert.alert(v.default.t("SUCCES_JOIN_GROUP"),o.response,[{text:v.default.t("OK"),onPress:function(){l.props.joinGroupReset(),A.IlinkEmitter.emit("treatNanoGroupDemand"),l.props.navigation.pop()}}],{cancelable:!1})},l.onSubmitSendWalletToCard=function(){var t=l.state,o=t.codeGroupe,n=t.codeSponsor;l.ckeckIfFieldIsOK(o)?l.nomGroupeAnim.shake(800):l.ckeckIfFieldIsOK(n)?l.nomGroupeAnim.shake(800):l.props.joinGroupAction({id_user:l.state.user.id,code_groupe:l.state.codeGroupe,code_sponsor:l.state.codeSponsor}),l.setState({isDataSubmit:!0})},l.renderLoader=function(){return C.default.createElement(O.ProgressDialog,{visible:l.props.loading,title:v.default.t('LOADING'),message:v.default.t('LOADING_INFO')})},l.state={codeGroupe:null,codeSponsor:null,nomGroupe:null,codeSponsor:null,user:null,triggerSubmitClick:!1,isSubmitClick:!1,isDataSubmit:!1,isModalConfirmVisible:!1,wallet:I.store.getState().walletDetailReducer.result.response},l}return(0,c.default)(o,t),(0,l.default)(o,[{key:"componentDidMount",value:function(){var t=this;(0,E.readUser)().then(function(o){o&&void 0!==o&&t.setState({user:o})})}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,h.default)(t)||(0,f.default)(t.length,0)}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:v.default.t('DEPOSIT_TO_CARD')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return C.default.createElement(C.default.Fragment,null,this.props.loading&&this.renderLoader(),this.state.isDataSubmit&&this.renderCreateGroupReponse(),C.default.createElement(S.ScrollView,{style:P.container},C.default.createElement(S.Text,{style:P.subbigtitle},v.default.t('GROUP_INFOS')),C.default.createElement(b.View,{ref:function(o){t.nomGroupeAnim=o}},C.default.createElement(R.Fumi,{iconClass:k.default,iconName:'code',label:v.default.t('GROUP_CODE'),iconColor:'#f95a25',iconSize:20,value:this.state.codeGroupe,onChangeText:function(o){t.setState({codeGroupe:o})},style:P.input})),C.default.createElement(b.View,{ref:function(o){t.codeSponsorAnim=o}},C.default.createElement(R.Fumi,{iconClass:k.default,iconName:'user-secret',label:v.default.t('CODE_SPONSOR'),iconColor:'#f95a25',iconSize:20,value:this.state.codeSponsor,onChangeText:function(o){t.setState({codeSponsor:o})},style:P.input})),C.default.createElement(p.default,{style:P.btnvalide,textStyle:P.textbtnvalide,onPress:function(){t.onSubmitSendWalletToCard()}},v.default.t('SUBMIT_LABEL'))))}}]),o})(C.Component));D.navigatorStyle={navBarBackgroundColor:y.Color.primaryColor,statusBarColor:y.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},D.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:v.default.t('JOIN_GROUP'),headerTintColor:'white',headerStyle:{backgroundColor:y.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:v.default.t('JOIN_GROUP')}};var w=(0,F.connect)(function(t){return{loading:t.joinGroupReducer.loading,result:t.joinGroupReducer.result,error:t.joinGroupReducer.error}},function(t){return(0,_.bindActionCreators)({joinGroupAction:T.joinGroupAction,joinGroupReset:T.joinGroupReset},t)})(D);e.default=w;var P=S.StyleSheet.create({container:{flex:1,backgroundColor:y.Color.primaryDarkColor},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},blockView:{paddingVertical:10,borderBottomWidth:1},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:y.Color.accentLightColor,height:52},btnSubmit:{marginTop:20,borderColor:'transparent',backgroundColor:y.Color.accentLightColor,height:52,width:"30%",marginLeft:20,marginRight:20},input:{height:60,marginTop:(0,G.responsiveHeight)(2),marginLeft:(0,G.responsiveWidth)(5),marginRight:(0,G.responsiveWidth)(5),borderRadius:5}})},1796,[4,1,8,9,10,12,13,716,688,1612,15,18,750,719,534,1515,703,538,1039,1056,1026,1015,1099,773,718,1793,813,814]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),o=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=t(r(d[8])),y=r(d[9]),E=n(r(d[10])),D=n(r(d[11])),C=r(d[12]),R=n(r(d[13])),x=(r(d[14]),r(d[15])),T=n(r(d[16])),h=r(d[17]),b=r(d[18]),O=(r(d[19]),r(d[20]),r(d[21])),v=r(d[22]),G=n(r(d[23])),w=n(r(d[24])),U=r(d[25]),A=(n(r(d[26])),r(d[27])),S=(n(r(d[28])),r(d[29])),P=r(d[30]),L=(r(d[31]),r(d[32]));function j(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}var _=r(d[33]),k='white',N=r(d[34]),F=r(d[35]);r(d[36]);(0,C.responsiveHeight)(100);var V=(function(t){function n(t){var l;return(0,o.default)(this,n),(l=(0,s.default)(this,(0,c.default)(n).call(this,t))).displayToast=function(t){G.default.show(t,{duration:G.default.durations.LONG,position:G.default.positions.BOTTOM,backgroundColor:U.Color.primaryColor,shadow:!0,animation:!0,hideOnPress:!0,delay:0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}})},l.onCancelDemand=function(){l.props.createGroupReset(),l.props.createGroupAction({id_demande:l.props.resultGetUniqueDemand.response.id,id_user:l.state.user.id,code_groupe:l.props.resultGetUniqueDemand.response.code_groupe})},l.renderAlertErrorDeleteDemand=function(){var t=l.props,n=t.errorTreatDemand,o=t.resultTreatDemand;t.resultCancelDemand,t.errorCancelDemand;null!==n&&void 0!==n.data&&y.Alert.alert(T.default.t("ERROR_TREATMENT_DEMAND"),n.data.error,[{text:T.default.t("OK"),onPress:function(){l.props.createGroupReset()}}],{cancelable:!1}),null!==o&&(console.log("resultTreatDemand",o),200===o.status&&(l.displayToast(o.response),l.props.navigation.goBack(),l.props.createGroupReset()))},l.renderLabelState=function(t){return 0===t?T.default.t('NO_TREAT'):1===t?T.default.t('TREAT'):T.default.t('REFUSED')},l.renderLoader=function(){return p.default.createElement(y.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===y.Platform.OS?p.default.createElement(p.default.Fragment,null,p.default.createElement(y.ProgressBarAndroid,null),p.default.createElement(y.Text,null,T.default.t('LOADING_DOTS'))):p.default.createElement(p.default.Fragment,null,p.default.createElement(ActivityIndicator,{size:"large",color:'#ccc'}),p.default.createElement(y.Text,null,T.default.t('LOADING_DOTS'))))},l.renderDetail=function(){var t=l.props.resultGetUniqueDemand,n=_.tz(t.response.date_creation,_.tz.guess()).format();return n=_(n),p.default.createElement(y.View,{style:z.container},p.default.createElement(E.default,{style:z.cardcontainer1},p.default.createElement(y.Text,{style:{fontSize:17,fontWeight:'bold',color:'black',marginLeft:(0,C.responsiveWidth)(5)}},t.response.nom),p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"account",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},T.default.t('CREATOR')+": "+t.response.createur)),p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"map-marker",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},T.default.t('COUNTRY')+": "+t.response.country))),p.default.createElement(E.default,{style:z.cardcontainer},p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"account-multiple",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},"SPONSOR 1: "+t.response.sponsor1)),p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"account-multiple",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},"SPONSOR 2: "+t.response.sponsor2)),p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"account-multiple",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},"SPONSOR 3: "+t.response.sponsor3))),p.default.createElement(E.default,{style:z.cardcontainer},p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"code-tags",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},t.response.code_groupe)),p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"cash",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},T.default.t('LIMITE_GROUP')+": "+t.response.limite_credit+" "+t.response.currency_code)),p.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"calendar",size:28,color:N.accent,style:{marginLeft:20}}),p.default.createElement(y.Text,{style:z.simpleuser},T.default.t('CREATION_DATE')+": "+n.format(" Do MMMM YYYY \xe0 HH:mm"))),p.default.createElement(y.View,{style:{flexDirection:'row',alignSelf:'flex-end',marginRight:20,justifyContent:'flex-start'}},p.default.createElement(R.default,{name:"update",size:28,color:N.accent}),p.default.createElement(y.Text,{style:{marginLeft:(0,C.responsiveWidth)(2),fontSize:16,color:N.accent}},n.fromNow()))),!w.default.isNil(l.state.user)&&w.default.isEqual(parseInt(l.state.user.id),t.response.id_createur)&&l.renderBtn())},l.renderError=function(){var t=l.props.errorGetUniqueDemand;if(null!==t)return void 0!==t.data?p.default.createElement(y.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.Text,{style:A.Typography.body1},t.data.error)):p.default.createElement(y.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.Text,{style:A.Typography.body1},t))},l.state={displayAmountModifyDialog:!1,user:null,networks:[],loadingTreat:!1,loadingCancel:!1,triggerTreatmentClick:!1,triggerCancelClick:!1,color:k,montant:null,isBtnModifyAmountEnabled:!1,id:l.props.navigation.getParam("id",null)},l.currentLocale=T.default.locale.includes("fr")?"fr":"en-gb",_.locale(l.currentLocale),l.props.createGroupReset(),(0,x.readUser)().then(function(t){console.log("USER",t),t&&void 0!==t&&l.props.getUserGroupDetailAction(t.user_code)}),l}return(0,f.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){var t=this;(0,x.readUser)().then(function(n){n&&void 0!==n&&t.setState({user:n})})}},{key:"renderBtn",value:function(){var t=this,n=this.props.resultGetUniqueDemand;return p.default.createElement(y.View,{style:{flexDirection:'row',paddingTop:10}},p.default.createElement(y.View,{style:{flex:1,alignItems:'center'}},p.default.createElement(D.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:'green'},onPress:function(){t.setState({triggerTreatmentClick:!0}),t.props.navigation.push(F.createGroupNanoCredit,{group:n.response})},textStyle:z.textbtnstyle},T.default.t('MODIFY_GROUP'))),p.default.createElement(y.View,{style:{flex:1,alignItems:'center'}},p.default.createElement(D.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:U.Color.redColor},isLoading:this.props.loadingTreatDemand,onPress:function(){t.setState({triggerCancelClick:!0}),t.onCancelDemand()},textStyle:z.textbtnstyle},T.default.t('DELETE_GROUP'))))}},{key:"render",value:function(){var t=this;return p.default.createElement(L.Provider,null,p.default.createElement(y.View,{style:{flex:1}},p.default.createElement(y.StatusBar,{backgroundColor:N.primaryDark,barStyle:"light-content",translucent:!1}),p.default.createElement(L.Appbar.Header,{dark:!0,style:{backgroundColor:N.primary}},p.default.createElement(L.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(L.Appbar.Content,{title:T.default.t('MY_GROUP')})),p.default.createElement(p.default.Fragment,null,(this.state.triggerTreatmentClick||this.state.triggerCancelClick)&&this.renderAlertErrorDeleteDemand(),this.props.loadingGetUniqueDemand?this.renderLoader():null!=this.props.resultGetUniqueDemand?this.renderDetail():null!==this.props.errorGetUniqueDemand?this.renderError():null)))}}]),n})(p.Component);V.navigatorStyle={navBarBackgroundColor:N.accentLight,statusBarColor:N.accent,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},V.navigationOptions=function(t){var n=t.navigation;return{drawerLabel:function(){return null},title:T.default.t('GROUP')+' N\xb0'+n.getParam("id","-")}};var q=(0,O.connect)(function(t){return{loadingGetUniqueDemand:t.getUserGroupDetailReducer.loading,resultGetUniqueDemand:t.getUserGroupDetailReducer.result,errorGetUniqueDemand:t.getUserGroupDetailReducer.error,loadingTreatDemand:t.createGroupReducer.loading,resultTreatDemand:t.createGroupReducer.result,errorTreatDemand:t.createGroupReducer.error}},function(t){return(0,v.bindActionCreators)({getUserGroupDetailAction:S.getUserGroupDetailAction,getUserGroupDetailReset:S.getUserGroupDetailReset,createGroupAction:P.createGroupAction,createGroupReset:P.createGroupReset,getNanoCreditUniqueDemandsAction:S.getNanoCreditUniqueDemandsAction,getNanoCreditUniqueDemandsReset:S.getNanoCreditUniqueDemandsReset,treatDemandGroupAction:P.treatDemandGroupAction,treatDemandGroupReset:P.treatDemandGroupReset,treatCreditDemand:h.treatCreditDemand,creditDemandResetReducer:h.creditDemandResetReducer,treatCancelDemand:b.treatCancelDemand,creditCancelResetReducer:b.creditCancelResetReducer},t)})(V);e.default=q;var z=y.StyleSheet.create({container:{flex:1},btnstyle:{},inputAmountText:(function(t){for(var n=1;nparseInt(l.state.comptePrincipal)?{errorMessage:b.default.t('AMOUNT_SUPERIOR_TO_PRINCIPAL_ACCOUNT'),isValid:!1}:{errorMessage:'',isValid:!0}:{errorMessage:b.default.t('ENTER_VALID_AMOUNT'),isValid:!1}},l.renderGetDurationesponse=function(){var t=l.props,n=t.resultGetNanoCreditDuration,o=t.errorGetNanoCreditDuration;null!==n&&void 0!==n.response&&(n.response.length>0?l.setState({hasLoadDuration:!0,durations:n.response,durationSelect:n.response[0].value,modalVisible:!1}):0===n.response.length&&l.setState({hasLoadDuration:!0,durations:[],durationSelect:'',modalVisible:!1})),null!==o&&(void 0!==o.data?D.Alert.alert(b.default.t('ERROR_LABEL'),o.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.getNanoCreditDemandDurationReset()}}],{cancelable:!1}):D.Alert.alert(b.default.t('ERROR_LABEL'),JSON.stringify(o),[{text:b.default.t("OK"),onPress:function(){l.props.getNanoCreditDemandDurationReset()}}],{cancelable:!1}))},l.renderAskNanoCreditResponse=function(){var t=l.props,n=t.result,o=t.error;null!==o&&void 0!==o.data&&D.Alert.alert(b.default.t("ERROR_LABLE"),o.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.askNanoCreditReset()}}],{cancelable:!1}),null!==n&&null!==n.response&&D.Alert.alert(b.default.t("DEMAND_SEND"),n.response,[{text:b.default.t("OK"),onPress:function(){l.props.askNanoCreditReset(),l.props.navigation.pop()}}],{cancelable:!1})},l.onSubmitSendWalletToCard=function(){var t=l.state,n=t.montant,o=t.typeCautionName,u=t.durationSelect;l.ckeckIfFieldIsOK(o)?l.typeCautionAnim.shake(800):l.ckeckIfFieldIsOK(u)?l.typeCautionAnim.shake(800):l.ckeckIfFieldIsOK(n)||!l.isMontantValid().isValid?l.montantAnim.shake(800):l.props.askNanoCreditAction({id_user:l.state.user.id,type_caution:l.state.typeCautionToSend,duree_mois:l.state.durationSelect,montant:l.state.montant,password:l.state.password}),l.setState({isDataSubmit:!0})},l.renderLoader=function(){return h.default.createElement(v.ProgressDialog,{visible:l.props.loading||l.props.loadingGetNanoCredit,title:b.default.t('LOADING'),message:b.default.t('LOADING_INFO')})},l.state={codeGroupe:null,codeSponsor:null,nomGroupe:null,codeSponsor:null,user:null,montant:null,password:null,durations:[],durationSelect:null,triggerSubmitClick:!1,hasLoadDuration:!1,modalVisible:!1,isSubmitClick:!1,isDataSubmit:!1,isModalConfirmVisible:!1,typeCaution:(0,w.typeCaution)(),typeCautionName:b.default.t((0,w.typeCaution)()[0].name),typeCautionToSend:'groupe',wallet:_.store.getState().walletDetailReducer.result.response},l.props.getNanoCreditDemandDurationReset(),(0,O.readUser)().then(function(t){console.log("USER",t),t&&void 0!==t&&l.props.getNanoCreditDemandDurationAction({id_user:t.id,type:"nano_credit"})}),l}return(0,c.default)(n,t),(0,l.default)(n,[{key:"componentDidMount",value:function(){var t=this;(0,O.readUser)().then(function(n){n&&void 0!==n&&t.setState({user:n})})}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,C.default)(t)||(0,p.default)(t.length,0)}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:b.default.t('DEPOSIT_TO_CARD')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return console.log(this.state),h.default.createElement(h.default.Fragment,null,(this.props.loading||this.props.loadingGetNanoCredit||this.state.modalVisible)&&this.renderLoader(),this.state.isDataSubmit&&this.renderAskNanoCreditResponse(),!this.state.hasLoadDuration&&this.renderGetDurationesponse(),h.default.createElement(D.ScrollView,{style:F.container},h.default.createElement(D.Text,{style:F.subbigtitle},b.default.t('DEMAND_NANO_CREDIT')),h.default.createElement(N.View,{ref:function(n){t.typeCautionAnim=n},style:{width:(0,S.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(L.Dropdown,{label:b.default.t('DEMAND_DURATION_IN_MONTH'),data:this.state.durations,useNativeDriver:!0,value:null!==this.state.durationSelect?this.state.durationSelect:'',onChangeText:function(n,o,l){t.setState({durationSelect:n})},valueExtractor:function(t){return t.value},labelExtractor:function(t){return t.value}})),h.default.createElement(N.View,{ref:function(n){t.typeCautionAnim=n},style:{width:(0,S.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(L.Dropdown,{label:b.default.t('CAUTION_TYPE'),data:this.state.typeCaution,useNativeDriver:!0,value:this.state.typeCautionName,onChangeText:function(n,o,l){n===b.default.t('INDIVIDUAL')?t.setState({typeCautionToSend:'individuel',typeCautionName:b.default.t('INDIVIDUAL')}):t.setState({typeCautionToSend:'groupe',typeCautionName:b.default.t('GROUP')})},valueExtractor:function(t){return b.default.t(t.name)},labelExtractor:function(t){return b.default.t(t.name)}})),h.default.createElement(N.View,{ref:function(n){t.montantAnim=n}},h.default.createElement(y.Fumi,{iconClass:R.default,iconName:'money',label:b.default.t('AMOUNT'),iconColor:'#f95a25',keyboardType:"numeric",iconSize:20,value:this.state.montant,onChangeText:function(n){t.setState({montant:n})},style:F.input}),h.default.createElement(D.View,{style:{position:'absolute',left:(0,S.responsiveWidth)(82),top:35,flexDirection:'row'}},h.default.createElement(D.View,{style:{width:1,borderLeftColor:'#f0f0f0',height:40,left:-8,top:-10,borderLeftWidth:1}}),h.default.createElement(D.Text,{style:[k.Typography.body1,k.FontWeight.bold]},this.state.wallet.currency_code))),h.default.createElement(N.View,{ref:function(n){t.passwordAnim=n}},h.default.createElement(y.Fumi,{iconClass:R.default,iconName:'lock',label:b.default.t('PASSWORD'),iconColor:'#f95a25',iconSize:20,secureTextEntry:!0,value:this.state.password,onChangeText:function(n){t.setState({password:n})},style:F.input})),h.default.createElement(f.default,{style:F.btnvalide,textStyle:F.textbtnvalide,onPress:function(){t.onSubmitSendWalletToCard()}},b.default.t('SUBMIT_LABEL'))))}}]),n})(h.Component));x.navigatorStyle={navBarBackgroundColor:T.Color.primaryColor,statusBarColor:T.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},x.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:b.default.t('DEMAND_NANO_CREDIT'),headerTintColor:'white',headerStyle:{backgroundColor:T.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:b.default.t('DEMAND_NANO_CREDIT')}};var V=(0,A.connect)(function(t){return{loading:t.askNanoCreditReducer.loading,result:t.askNanoCreditReducer.result,error:t.askNanoCreditReducer.error,loadingGetNanoCreditDuration:t.getNanoCreditDemandDurationReducer.loading,resultGetNanoCreditDuration:t.getNanoCreditDemandDurationReducer.result,errorGetNanoCreditDuration:t.getNanoCreditDemandDurationReducer.error}},function(t){return(0,E.bindActionCreators)({askNanoCreditAction:I.askNanoCreditAction,askNanoCreditReset:I.askNanoCreditReset,getNanoCreditDemandDurationAction:I.getNanoCreditDemandDurationAction,getNanoCreditDemandDurationReset:I.getNanoCreditDemandDurationReset},t)})(x);e.default=V;var F=D.StyleSheet.create({container:{flex:1,backgroundColor:T.Color.primaryDarkColor},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},blockView:{paddingVertical:10,borderBottomWidth:1},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:T.Color.accentLightColor,height:52},btnSubmit:{marginTop:20,borderColor:'transparent',backgroundColor:T.Color.accentLightColor,height:52,width:"30%",marginLeft:20,marginRight:20},input:{height:60,marginTop:(0,S.responsiveHeight)(2),marginLeft:(0,S.responsiveWidth)(5),marginRight:(0,S.responsiveWidth)(5),borderRadius:5}})},1798,[4,1,8,9,10,12,13,716,688,1612,15,18,750,719,534,1515,703,538,1039,1056,1026,1015,1099,773,718,1645,1793,973,813,814]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),u=l(r(d[5])),c=l(r(d[6])),f=l(r(d[7])),y=l(r(d[8])),p=t(r(d[9])),E=r(d[10]),C=l(r(d[11])),h=r(d[12]),T=r(d[13]),w=r(d[14]),x=l(r(d[15])),D=r(d[16]),b=r(d[17]),I=r(d[18]),_=r(d[19]),N=r(d[20]),V=r(d[21]),A=r(d[22]),R=r(d[23]),v=l(r(d[24])),S=l(r(d[25])),O=t(r(d[26])),P=l(r(d[27])),L=(r(d[28]),r(d[29]),(function(t){function l(t){var n;return(0,o.default)(this,l),(n=(0,s.default)(this,(0,u.default)(l).call(this,t))).renderRefundNanoCreditResponse=function(){var t=n.props,l=t.result,o=t.error;null!==o&&void 0!==o.data&&E.Alert.alert(C.default.t("ERROR_LABLE"),o.data.error,[{text:C.default.t("OK"),onPress:function(){n.props.refundCreditDemandUserReset()}}],{cancelable:!1}),null!==l&&null!==l.response&&E.Alert.alert(C.default.t("REFUND_DONE"),l.response,[{text:C.default.t("OK"),onPress:function(){n.props.refundCreditDemandUserReset(),I.IlinkEmitter.emit("refreshWallet"),I.IlinkEmitter.emit("updateNanoCreditAccount"),n.props.navigation.pop()}}],{cancelable:!1})},n.onSubmitRefundNanoCredit=function(){var t=n.state,l=t.idDemand,o=t.password;n.ckeckIfFieldIsOK(l)?n.idDemandAnim.shake(800):n.ckeckIfFieldIsOK(o)?n.passwordAnim.shake(800):n.props.refundCreditDemandUserAction({id_user:n.state.user.id,id_demande:n.state.idDemand,password:n.state.password},0),n.setState({isDataSubmit:!0})},n.renderLoader=function(){return p.default.createElement(T.ProgressDialog,{visible:n.props.loading||n.props.loadingGetCommission,title:C.default.t('LOADING'),message:C.default.t('LOADING_INFO')})},n.renderModalHistoryDetail=function(){return p.default.createElement(P.default.Container,{useNativeDriver:!0,visible:n.state.displayModalHistory},p.default.createElement(P.default.Title,null,C.default.t('DEMAND_DETAIL')),p.default.createElement(E.ScrollView,{persistentScrollbar:!0},p.default.createElement(E.View,{style:[B.blockView,{borderBottomColor:b.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},C.default.t((0,R.displayTransactionType)(n.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('ID_DEMAND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.id_demande))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.montant+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('AMOUNT_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.montant_rembourse+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('AMOUNT_PARTIALLY_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.partiellement_rembourse+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.taxe+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.interet+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('WITHDRAWAL_IN_CASH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},1==n.state.historyItemDetail.retrait_cash?C.default.t('YES'):C.default.t('NO')))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('VALIDATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_validation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('DATE_REMBOURSEMENT_PREVU'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_remboursement_prevu))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('DATE_REMBOURSEMENT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_remboursement))))),p.default.createElement(P.default.Button,{bold:!0,label:C.default.t('CANCEL_LABEL'),onPress:function(){n.setState({displayModalHistory:!n.state.displayModalHistory})}}),p.default.createElement(P.default.Button,{bold:!0,label:C.default.t('SUBMIT_LABEL'),onPress:function(){n.setState({displayPasswordModal:!n.state.displayPasswordModal})}}))},n.renderPasswordDialog=function(){return p.default.createElement(P.default.Container,{useNativeDriver:!0,visible:n.state.displayPasswordModal},p.default.createElement(P.default.Title,null,C.default.t('PASSWORD')),p.default.createElement(P.default.Input,{placeholder:C.default.t('PLEASE_ENTER_THE_PASSWORD'),style:{borderBottomWidth:1,borderBottomColor:b.Color.borderColor},showSoftInputOnFocus:!0,onChangeText:function(t){n.setState({password:t})},secureTextEntry:!0,value:n.state.password,onSubmitEditing:function(){n.setState({displayPasswordModal:!1,displayModalHistory:!1,isDataSubmit:!0}),n.props.refundCreditDemandUserAction({id_user:n.state.user.id,id_demande:n.state.historyItemDetail.id_demande,password:n.state.password})}}),p.default.createElement(P.default.Button,{label:C.default.t('CANCEL_LABEL'),onPress:function(){n.setState({displayPasswordModal:!n.state.displayPasswordModal})}}),p.default.createElement(P.default.Button,{label:C.default.t('SUBMIT_LABEL'),onPress:function(){n.setState({displayPasswordModal:!1,displayModalHistory:!1,isDataSubmit:!0}),n.props.refundCreditDemandUserAction({id_user:n.state.user.id,id_demande:n.state.historyItemDetail.id_demande,password:n.state.password})}}))},n.renderNanoCreditItem=function(t,l){return p.default.createElement(E.TouchableOpacity,{onPress:function(){n.setState({displayModalHistory:!0,historyItemDetail:t})},style:[B.contentService,{borderBottomColor:b.Color.primaryColor}]},Object.keys((0,x.default)(t,['id','id_demande','agent','retrait_cash','date_remboursement_prevu','taxe','date_validation','duree_mois','interet','montant_rembourse','partiellement_rembourse'])).map(function(l,o){return p.default.createElement(E.View,{style:{alignItems:'center'},key:o},p.default.createElement(E.Text,{style:(A.Typography.overline,b.Color.grayColor,{marginTop:4})},(0,f.default)(l,'montant')?" "+(t[l].length>8?(0,R.cutString)((0,S.default)(t[l],' '),6):(0,S.default)(t[l],' '))+" "+n.state.wallet.currency_code:(0,f.default)(l,'date_creation')?(0,R.cutStringWithoutDot)(t[l],16):t[l]))}))},n.renderNanoCreditList=function(){var t=n.props,l=t.errorNanoCreditHistory,o=t.resultNanoCreditHistory;return null!==l?void 0!==l.data?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:A.Typography.body1},l.data.error)):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:A.Typography.body1},l)):null!==o&&null!==o.response?Array.isArray(o.response)&&o.response.length>0?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[B.contentService,{borderBottomColor:b.Color.primaryColor}]},(0,R.nanoCreditHistoryLabel)().map(function(t,l){return p.default.createElement(E.View,{style:{alignItems:'center'},key:l},p.default.createElement(v.default,{name:t.icon,size:24,color:b.Color.primaryColor}),p.default.createElement(E.Text,{style:(A.Typography.overline,b.Color.grayColor,{marginTop:4})},C.default.t(t.label)))})),o.response.map(function(t,l){return n.renderNanoCreditItem(t,l)})):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},p.default.createElement(E.Text,{style:A.Typography.body1},C.default.t('NO_NANO_CREDIT'))):void 0},n.renderNanoCreditHistory=function(){return p.default.createElement(E.View,{style:{backgroundColor:b.Color.containerBackgroundColor,flex:1}},n.props.loadingNanoCreditHistory?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===E.Platform.OS?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ProgressBarAndroid,null),p.default.createElement(E.Text,null,C.default.t('LOADING_DOTS'))):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ActivityIndicator,{size:"large",color:'#ccc'}),p.default.createElement(E.Text,null,C.default.t('LOADING_DOTS')))):n.renderNanoCreditList())},n.state={password:null,idDemand:null,codeGroup:null,loading:!1,user:null,triggerSubmitClick:!1,isSubmitClick:!1,isDataSubmit:!1,isModalConfirmVisible:!1,isGroupToModify:!1,displayModalHistory:!1,historyItemDetail:null,isDataHasLoaded:!1,displayPasswordModal:!1,wallet:n.props.navigation.state.params.wallet},n.props.getNanoCreditUserHistoryInProgressReset(),n}return(0,c.default)(l,t),(0,n.default)(l,[{key:"componentDidMount",value:function(){var t=this;(0,_.readUser)().then(function(l){l&&void 0!==l&&(t.setState({user:l}),t.props.getNanoCreditUserHistoryInProgressAction(l.id))})}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,y.default)(t)||(0,f.default)(t.length,0)}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:C.default.t('REFUND_NANO_CREDIT')}),this.forceUpdate()}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,y.default)(t)||(0,f.default)(t.length,0)}},{key:"render",value:function(){return p.default.createElement(p.default.Fragment,null,(this.props.loading||this.props.loadingGetCommission)&&this.renderLoader(),this.state.isDataSubmit&&this.renderRefundNanoCreditResponse(),this.state.displayModalHistory&&this.renderModalHistoryDetail(),this.state.displayPasswordModal&&this.renderPasswordDialog(),p.default.createElement(E.ScrollView,{style:B.container},p.default.createElement(E.View,{style:[B.checkDefault,{borderBottomColor:b.Color.borderColor}]},p.default.createElement(E.Text,{style:[A.Typography.title3,A.Typography.semibold]},C.default.t('NANO_CREDIT_LIST'))),this.renderNanoCreditHistory()))}}]),l})(p.Component));L.navigatorStyle={navBarBackgroundColor:b.Color.primaryColor,statusBarColor:b.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},L.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:C.default.t('REFUND_NANO_CREDIT'),headerTintColor:'white',headerStyle:{backgroundColor:b.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:C.default.t('REFUND_NANO_CREDIT')}};var k=(0,w.connect)(function(t){return{loading:t.refundCreditDemandReducer.loading,result:t.refundCreditDemandReducer.result,error:t.refundCreditDemandReducer.error,loadingNanoCreditHistory:t.getNanoCreditUserHistoryInProgressReducer.loading,resultNanoCreditHistory:t.getNanoCreditUserHistoryInProgressReducer.result,errorNanoCreditHistory:t.getNanoCreditUserHistoryInProgressReducer.error}},function(t){return(0,D.bindActionCreators)({refundCreditDemandUserAction:N.refundCreditDemandUserAction,refundCreditDemandUserReset:N.refundCreditDemandUserReset,getNanoCreditUserHistoryInProgressAction:V.getNanoCreditUserHistoryInProgressAction,getNanoCreditUserHistoryInProgressReset:V.getNanoCreditUserHistoryInProgressReset},t)})(L);e.default=k;var B=E.StyleSheet.create({container:{flex:1,backgroundColor:b.Color.containerBackgroundColor,paddingHorizontal:20},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},blockView:{paddingVertical:10,borderBottomWidth:1},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:b.Color.accentLightColor,height:52},btnSubmit:{marginTop:20,borderColor:'transparent',backgroundColor:b.Color.accentLightColor,height:52,width:"30%",marginLeft:20,marginRight:20},input:{height:60,marginTop:(0,h.responsiveHeight)(2),marginLeft:(0,h.responsiveWidth)(5),marginRight:(0,h.responsiveWidth)(5),borderRadius:5},circlePoint:{width:50,height:50,borderRadius:25,marginRight:5,alignItems:'center',justifyContent:'center'},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:10,marginTop:5},transactionContainer:{flexDirection:'row',paddingTop:10},containerTouch:{flex:1,flexDirection:'row',alignItems:'center',shadowColor:b.Color.borderColor,borderColor:b.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:b.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:O.scaleWithPixel(30),height:O.scaleWithPixel(30)},content:{height:O.scaleWithPixel(65),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:12},contentService:{paddingVertical:10,borderBottomWidth:.5,flexDirection:'row',flexWrap:'wrap',justifyContent:'space-between'},containField:{padding:10,marginBottom:20,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,flexDirection:"row",height:140,borderRadius:10},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:(0,h.responsiveWidth)(100),marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"},contentLeftItem:{flex:1,paddingTop:40,paddingLeft:10,paddingRight:10,alignItems:"center"}})},1799,[4,1,8,9,10,12,13,688,1612,15,18,719,534,1515,1039,552,1056,1026,773,718,1761,1793,1015,1645,875,1647,1014,1626,813,814]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),u=l(r(d[5])),c=l(r(d[6])),f=l(r(d[7])),y=l(r(d[8])),p=t(r(d[9])),E=r(d[10]),C=l(r(d[11])),h=r(d[12]),T=r(d[13]),w=r(d[14]),x=l(r(d[15])),D=r(d[16]),b=r(d[17]),I=r(d[18]),_=r(d[19]),N=r(d[20]),V=r(d[21]),A=r(d[22]),R=r(d[23]),v=l(r(d[24])),S=l(r(d[25])),O=t(r(d[26])),P=l(r(d[27])),L=(r(d[28]),r(d[29]),(function(t){function l(t){var n;return(0,o.default)(this,l),(n=(0,s.default)(this,(0,u.default)(l).call(this,t))).renderRefundNanoCreditResponse=function(){var t=n.props,l=t.result,o=t.error;null!==o&&void 0!==o.data&&E.Alert.alert(C.default.t("ERROR_LABLE"),o.data.error,[{text:C.default.t("OK"),onPress:function(){n.props.refundCreditDemandUserReset()}}],{cancelable:!1}),null!==l&&null!==l.response&&E.Alert.alert(C.default.t("REFUND_DONE"),l.response,[{text:C.default.t("OK"),onPress:function(){n.props.refundCreditDemandUserReset(),I.IlinkEmitter.emit("refreshWallet"),I.IlinkEmitter.emit("updateNanoCreditAccount"),n.props.navigation.pop()}}],{cancelable:!1})},n.onSubmitRefundNanoCredit=function(){var t=n.state,l=t.idDemand,o=t.password;n.ckeckIfFieldIsOK(l)?n.idDemandAnim.shake(800):n.ckeckIfFieldIsOK(o)?n.passwordAnim.shake(800):n.props.refundCreditDemandUserAction({id_user:n.state.user.id,id_demande:n.state.idDemand,password:n.state.password},0),n.setState({isDataSubmit:!0})},n.renderLoader=function(){return p.default.createElement(T.ProgressDialog,{visible:n.props.loading||n.props.loadingGetCommission,title:C.default.t('LOADING'),message:C.default.t('LOADING_INFO')})},n.renderModalHistoryDetail=function(){return p.default.createElement(P.default.Container,{useNativeDriver:!0,visible:n.state.displayModalHistory},p.default.createElement(P.default.Title,null,C.default.t('DEMAND_DETAIL')),p.default.createElement(E.ScrollView,{persistentScrollbar:!0},p.default.createElement(E.View,{style:[B.blockView,{borderBottomColor:b.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},C.default.t((0,R.displayTransactionType)(n.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('ID_DEMAND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.id_demande))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.montant+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('AMOUNT_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.montant_rembourse+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('AMOUNT_PARTIALLY_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.partiellement_rembourse+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.taxe+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.interet+' '+n.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('WITHDRAWAL_IN_CASH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},1==n.state.historyItemDetail.retrait_cash?C.default.t('YES'):C.default.t('NO')))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[B.body2]},C.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('VALIDATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_validation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('DATE_REMBOURSEMENT_PREVU'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_remboursement_prevu))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[A.Typography.body2]},C.default.t('DATE_REMBOURSEMENT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[A.Typography.caption1,b.Color.grayColor]},n.state.historyItemDetail.date_remboursement))))),p.default.createElement(P.default.Button,{bold:!0,label:C.default.t('CANCEL_LABEL'),onPress:function(){n.setState({displayModalHistory:!n.state.displayModalHistory})}}),p.default.createElement(P.default.Button,{bold:!0,label:C.default.t('SUBMIT_LABEL'),onPress:function(){n.setState({displayPasswordModal:!n.state.displayPasswordModal})}}))},n.renderPasswordDialog=function(){return p.default.createElement(P.default.Container,{useNativeDriver:!0,visible:n.state.displayPasswordModal},p.default.createElement(P.default.Title,null,C.default.t('PASSWORD')),p.default.createElement(P.default.Input,{placeholder:C.default.t('PLEASE_ENTER_THE_PASSWORD'),style:{borderBottomWidth:1,borderBottomColor:b.Color.borderColor},showSoftInputOnFocus:!0,onChangeText:function(t){n.setState({password:t})},secureTextEntry:!0,value:n.state.password,onSubmitEditing:function(){n.setState({displayPasswordModal:!1,displayModalHistory:!1,isDataSubmit:!0}),n.props.refundCreditDemandUserAction({id_user:n.state.user.id,id_demande:n.state.historyItemDetail.id_demande,password:n.state.password})}}),p.default.createElement(P.default.Button,{label:C.default.t('CANCEL_LABEL'),onPress:function(){n.setState({displayPasswordModal:!n.state.displayPasswordModal})}}),p.default.createElement(P.default.Button,{label:C.default.t('SUBMIT_LABEL'),onPress:function(){n.setState({displayPasswordModal:!1,displayModalHistory:!1,isDataSubmit:!0}),n.props.refundCreditDemandUserAction({id_user:n.state.user.id,id_demande:n.state.historyItemDetail.id_demande,password:n.state.password})}}))},n.renderNanoCreditItem=function(t,l){return p.default.createElement(E.TouchableOpacity,{onPress:function(){n.setState({displayModalHistory:!0,historyItemDetail:t})},style:[B.contentService,{borderBottomColor:b.Color.primaryColor}]},Object.keys((0,x.default)(t,['id','id_demande','type_caution','agent','retrait_cash','date_remboursement_prevu','taxe','date_validation','duree_mois','interet','montant_rembourse','partiellement_rembourse'])).map(function(l,o){return p.default.createElement(E.View,{style:{alignItems:'center'},key:o},p.default.createElement(E.Text,{style:(A.Typography.overline,b.Color.grayColor,{marginTop:4})},(0,f.default)(l,'montant')?" "+(t[l].length>8?(0,R.cutString)((0,S.default)(t[l],' '),6):(0,S.default)(t[l],' '))+" "+n.state.wallet.currency_code:(0,f.default)(l,'date_creation')?(0,R.cutStringWithoutDot)(t[l],16):t[l]))}))},n.renderNanoCreditList=function(){var t=n.props,l=t.errorNanoCreditHistory,o=t.resultNanoCreditHistory;return null!==l?void 0!==l.data?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:A.Typography.body1},l.data.error)):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:A.Typography.body1},l)):null!==o&&null!==o.response?Array.isArray(o.response)&&o.response.length>0?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[B.contentService,{borderBottomColor:b.Color.primaryColor}]},(0,R.nanoCreditHistoryLabel)().map(function(t,l){return p.default.createElement(E.View,{style:{alignItems:'center'},key:l},p.default.createElement(v.default,{name:t.icon,size:24,color:b.Color.primaryColor}),p.default.createElement(E.Text,{style:(A.Typography.overline,b.Color.grayColor,{marginTop:4})},C.default.t(t.label)))})),o.response.map(function(t,l){return n.renderNanoCreditItem(t,l)})):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},p.default.createElement(E.Text,{style:A.Typography.body1},C.default.t('NO_NANO_CREDIT'))):void 0},n.renderNanoCreditHistory=function(){return p.default.createElement(E.View,{style:{backgroundColor:b.Color.containerBackgroundColor,flex:1}},n.props.loadingNanoCreditHistory?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===E.Platform.OS?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ProgressBarAndroid,null),p.default.createElement(E.Text,null,C.default.t('LOADING_DOTS'))):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ActivityIndicator,{size:"large",color:'#ccc'}),p.default.createElement(E.Text,null,C.default.t('LOADING_DOTS')))):n.renderNanoCreditList())},n.state={password:null,idDemand:null,codeGroup:null,loading:!1,user:null,triggerSubmitClick:!1,isSubmitClick:!1,isDataSubmit:!1,isModalConfirmVisible:!1,isGroupToModify:!1,displayModalHistory:!1,historyItemDetail:null,isDataHasLoaded:!1,displayPasswordModal:!1,wallet:n.props.navigation.state.params.wallet},n.props.getNanoCreditUserHistoryInProgressReset(),n}return(0,c.default)(l,t),(0,n.default)(l,[{key:"componentDidMount",value:function(){var t=this;(0,_.readUser)().then(function(l){l&&void 0!==l&&(t.setState({user:l}),t.props.getNanoCreditUserHistoryInProgressAction(l.id))})}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,y.default)(t)||(0,f.default)(t.length,0)}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:C.default.t('REFUND_NANO_CREDIT')}),this.forceUpdate()}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,y.default)(t)||(0,f.default)(t.length,0)}},{key:"render",value:function(){return p.default.createElement(p.default.Fragment,null,(this.props.loading||this.props.loadingGetCommission)&&this.renderLoader(),this.state.isDataSubmit&&this.renderRefundNanoCreditResponse(),this.state.displayModalHistory&&this.renderModalHistoryDetail(),this.state.displayPasswordModal&&this.renderPasswordDialog(),p.default.createElement(E.ScrollView,{style:B.container},p.default.createElement(E.View,{style:[B.checkDefault,{borderBottomColor:b.Color.borderColor}]},p.default.createElement(E.Text,{style:[A.Typography.title3,A.Typography.semibold]},C.default.t('NANO_CREDIT_LIST'))),this.renderNanoCreditHistory()))}}]),l})(p.Component));L.navigatorStyle={navBarBackgroundColor:b.Color.primaryColor,statusBarColor:b.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},L.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:C.default.t('REFUND_NANO_CREDIT'),headerTintColor:'white',headerStyle:{backgroundColor:b.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:C.default.t('REFUND_NANO_CREDIT')}};var k=(0,w.connect)(function(t){return{loading:t.refundCreditDemandReducer.loading,result:t.refundCreditDemandReducer.result,error:t.refundCreditDemandReducer.error,loadingNanoCreditHistory:t.getNanoCreditUserHistoryInProgressReducer.loading,resultNanoCreditHistory:t.getNanoCreditUserHistoryInProgressReducer.result,errorNanoCreditHistory:t.getNanoCreditUserHistoryInProgressReducer.error}},function(t){return(0,D.bindActionCreators)({refundCreditDemandUserAction:N.refundCreditDemandUserAction,refundCreditDemandUserReset:N.refundCreditDemandUserReset,getNanoCreditUserHistoryInProgressAction:V.getNanoCreditUserHistoryInProgressAction,getNanoCreditUserHistoryInProgressReset:V.getNanoCreditUserHistoryInProgressReset},t)})(L);e.default=k;var B=E.StyleSheet.create({container:{flex:1,backgroundColor:b.Color.containerBackgroundColor,paddingHorizontal:20},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},blockView:{paddingVertical:10,borderBottomWidth:1},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:b.Color.accentLightColor,height:52},btnSubmit:{marginTop:20,borderColor:'transparent',backgroundColor:b.Color.accentLightColor,height:52,width:"30%",marginLeft:20,marginRight:20},input:{height:60,marginTop:(0,h.responsiveHeight)(2),marginLeft:(0,h.responsiveWidth)(5),marginRight:(0,h.responsiveWidth)(5),borderRadius:5},circlePoint:{width:50,height:50,borderRadius:25,marginRight:5,alignItems:'center',justifyContent:'center'},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:10,marginTop:5},transactionContainer:{flexDirection:'row',paddingTop:10},containerTouch:{flex:1,flexDirection:'row',alignItems:'center',shadowColor:b.Color.borderColor,borderColor:b.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:b.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:O.scaleWithPixel(30),height:O.scaleWithPixel(30)},content:{height:O.scaleWithPixel(65),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:12},contentService:{paddingVertical:10,borderBottomWidth:.5,flexDirection:'row',flexWrap:'wrap',justifyContent:'space-between'},containField:{padding:10,marginBottom:20,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,flexDirection:"row",height:140,borderRadius:10},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:(0,h.responsiveWidth)(100),marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"},contentLeftItem:{flex:1,paddingTop:40,paddingLeft:10,paddingRight:10,alignItems:"center"}})},1799,[4,1,8,9,10,12,13,688,1612,15,18,719,534,1515,1039,552,1056,1026,773,718,1761,1793,1015,1645,875,1647,1014,1626,813,814]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l(r(d[2])),o=l(r(d[3])),s=l(r(d[4])),u=l(r(d[5])),f=l(r(d[6])),c=l(r(d[7])),p=l(r(d[8])),C=l(r(d[9])),y=t(r(d[10])),D=r(d[11]),h=t(r(d[12])),E=l(r(d[13])),T=l(r(d[14])),w=r(d[15]),A=r(d[16]),N=r(d[17]),b=r(d[18]),x=r(d[19]),I=l(r(d[20])),R=r(d[21]),v=r(d[22]),_=r(d[23]),S=r(d[24]),V=r(d[25]),k=r(d[26]),L=r(d[27]),O=r(d[28]),F=l(r(d[29])),M=r(d[30]),W=(r(d[31]),r(d[32]),(function(t){function l(t){var o;return(0,n.default)(this,l),(o=(0,s.default)(this,(0,u.default)(l).call(this,t))).modalConfirmTransaction=function(t){var l=t.response.id_demande,n=t.response.montant,s=t.response.duree_mois,u=t.response.etat,f=t.response.taxe,c=t.response.interet,p=(t.response.date_demande,t.response.date_remboursement_prevu,t.response.date_remboursement,t.response.retrait_cash),C=t.response.date_creation;return y.default.createElement(E.default.Container,{useNativeDriver:!0,visible:o.state.isModalConfirmVisible},y.default.createElement(E.default.Title,null,T.default.t('DEMAND_DETAIL')),y.default.createElement(D.View,null,y.default.createElement(D.View,{style:[G.blockView,{borderBottomColor:_.Color.borderColor}]},y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{style:[G.body2]},T.default.t('ID_DEMAND'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},l))),y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{style:[G.body2]},T.default.t('AMOUNT'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},(0,F.default)(n,' ')+" "+o.state.wallet.currency_code))),y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{tyle:[S.Typography.body2]},T.default.t('TAXES'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},(0,F.default)(f,' ')+" "+o.state.wallet.currency_code))),y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{tyle:[S.Typography.body2]},T.default.t('INTERET'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},(0,F.default)(c,' ')+" "+o.state.wallet.currency_code))),y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{tyle:[S.Typography.body2]},T.default.t('WITHDRAWAL_TYPE'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},p?T.default.t('WITHDRAWAL_IN_CASH'):T.default.t('TRANSFER_IN_ACCOUNT')))),y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{tyle:[S.Typography.body2]},T.default.t('ETAT'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},u))),y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{tyle:[S.Typography.body2]},T.default.t('DEMAND_DURATION_IN_MONTH'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},s))),y.default.createElement(D.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(D.View,{style:{flex:1}},y.default.createElement(D.Text,{tyle:[S.Typography.body2]},T.default.t('CREATION_DATE'))),y.default.createElement(D.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(D.Text,{style:[S.Typography.caption1,_.Color.grayColor]},M(C).format('DD-MM-YYYY')))))),y.default.createElement(E.default.Button,{bold:!0,label:T.default.t('CANCEL_LABEL'),onPress:function(){o.setState({isModalConfirmVisible:!1})}}),y.default.createElement(E.default.Button,{bold:!0,label:T.default.t('SUBMIT_LABEL'),onPress:function(){o.setState({isModalConfirmVisible:!1,isDataSubmit:!0}),o.props.cautionCreditDemandAgentAction({id_demande:o.state.idDemand,id_wallet_agent:o.state.wallet.id,retrait_cash:o.state.withdrawalInCash,password:o.state.password}),o.props.getNanoCreditDemandDetailReset()}}))},o.renderRefundNanoCreditResponse=function(){var t=o.props,l=t.result,n=t.error;null!==n&&(console.log(n),void 0!==n.data&&D.Alert.alert(T.default.t("ERROR_LABLE"),n.data.error,[{text:T.default.t("OK"),onPress:function(){o.props.cautionCreditDemandAgentReset(),V.IlinkEmitter.emit("refreshWallet")}}],{cancelable:!1})),null!==l&&null!==l.response&&D.Alert.alert(T.default.t("CAUTIONNEMENT_DONE"),l.response,[{text:T.default.t("OK"),onPress:function(){o.props.cautionCreditDemandAgentReset(),V.IlinkEmitter.emit("refreshWallet"),o.props.navigation.pop()}}],{cancelable:!1})},o.onSubmitCautionnerNanoCredit=function(){var t=o.state,l=t.idDemand,n=t.password;o.ckeckIfFieldIsOK(l)?o.idDemandAnim.shake(800):o.ckeckIfFieldIsOK(n)?o.passwordAnim.shake(800):o.props.getNanoCreditDemandDetailAction(o.state.idDemand),o.setState({triggerSubmitClick:!0})},o.renderGetNanoCreditDemandDetailResponse=function(){var t=o.props,l=(t.resultGetNanoCreditDemandDetail,t.errorGetNanoCreditDemandDetail);null!==l&&(void 0!==l.data?D.Alert.alert(T.default.t('ERROR_LABEL'),l.data.error,[{text:T.default.t("OK"),onPress:function(){o.props.getNanoCreditDemandDetailReset()}}],{cancelable:!1}):D.Alert.alert(T.default.t('ERROR_LABEL'),JSON.stringify(l),[{text:T.default.t("OK"),onPress:function(){o.props.getNanoCreditDemandDetailAction()}}],{cancelable:!1}))},o.renderLoader=function(){return y.default.createElement(b.ProgressDialog,{visible:o.props.loading||o.props.loadingGetNanoCreditDemandDetail,title:T.default.t('LOADING'),message:T.default.t('LOADING_INFO')})},o.state={password:null,idDemand:null,codeGroup:null,loading:!1,user:null,triggerSubmitClick:!1,isSubmitClick:!1,isDataSubmit:!1,withdrawalInCashType:(0,O.withdrawalMode)(),withdrawalInCashTypeName:(0,O.withdrawalMode)()[0].name,isModalConfirmVisible:!1,isGroupToModify:!1,withdrawalInCash:!0,wallet:w.store.getState().walletDetailReducer.result.response},console.log("Wallet",o.state.wallet),o.props.getNanoCreditDemandDetailReset(),o.props.cautionCreditDemandAgentReset(),o}return(0,f.default)(l,t),(0,o.default)(l,[{key:"componentDidMount",value:function(){var t=this;(0,L.readUser)().then(function(l){l&&void 0!==l&&t.setState({user:l})})}},{key:"componentWillReceiveProps",value:function(t){null!=t.resultGetNanoCreditDemandDetail&&void 0!==t.resultGetNanoCreditDemandDetail.response&&(t.loadingGetNanoCreditDemandDetail||this.setState({isModalConfirmVisible:!0}))}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,C.default)(t)||(0,p.default)(t.length,0)}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:T.default.t('REFUND_NANO_CREDIT')}),this.forceUpdate()}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,C.default)(t)||(0,p.default)(t.length,0)}},{key:"render",value:function(){var t=this,l=this.props.resultGetNanoCreditDemandDetail;return y.default.createElement(y.default.Fragment,null,(this.props.loading||this.props.loadingGetNanoCreditDemandDetail)&&this.renderLoader(),this.state.isDataSubmit&&this.renderRefundNanoCreditResponse(),this.state.triggerSubmitClick&&this.renderGetNanoCreditDemandDetailResponse(),null!==l&&void 0!==l.response&&this.modalConfirmTransaction(l),y.default.createElement(D.ScrollView,{style:G.container},y.default.createElement(D.Text,{style:G.subbigtitle},T.default.t('DEMAND_INFO')),y.default.createElement(h.View,{ref:function(l){t.idDemandAnim=l}},y.default.createElement(x.Fumi,{iconClass:I.default,iconName:'id-card',label:T.default.t('ID_DEMAND'),iconColor:'#f95a25',iconSize:20,value:this.state.idDemand,onChangeText:function(l){t.setState({idDemand:l})},style:G.input})),y.default.createElement(h.View,{ref:function(l){t.typeRetraitAnim=l},style:{width:(0,N.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},y.default.createElement(A.Dropdown,{label:T.default.t('WITHDRAWAL_TYPE'),data:this.state.withdrawalInCashType,useNativeDriver:!0,value:T.default.t(this.state.withdrawalInCashTypeName),onChangeText:function(l,n,o){l===T.default.t('WITHDRAWAL_IN_CASH')?t.setState({withdrawalInCash:!0,withdrawalInCashTypeName:'WITHDRAWAL_IN_CASH'}):t.setState({withdrawalInCash:!1,withdrawalInCashTypeName:'TRANSFER_IN_ACCOUNT'})},valueExtractor:function(t){return T.default.t(t.name)},labelExtractor:function(t){return T.default.t(t.name)}})),y.default.createElement(h.View,{ref:function(l){t.passwordAnim=l}},y.default.createElement(x.Fumi,{iconClass:I.default,iconName:'lock',label:T.default.t('PASSWORD'),iconColor:'#f95a25',iconSize:20,secureTextEntry:!0,value:this.state.password,onChangeText:function(l){t.setState({password:l})},style:G.input})),y.default.createElement(c.default,{style:G.btnvalide,textStyle:G.textbtnvalide,onPress:function(){t.onSubmitCautionnerNanoCredit()}},this.state.isGroupToModify?T.default.t('MODIFY'):T.default.t('SUBMIT_LABEL'))))}}]),l})(y.Component));W.navigatorStyle={navBarBackgroundColor:_.Color.primaryColor,statusBarColor:_.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},W.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:T.default.t('CAUTION_CREDIT'),headerTintColor:'white',headerStyle:{backgroundColor:_.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:T.default.t('CAUTION_CREDIT')}};var B=(0,R.connect)(function(t){return{loading:t.cautionCreditDemandAgentReducer.loading,result:t.cautionCreditDemandAgentReducer.result,error:t.cautionCreditDemandAgentReducer.error,loadingGetNanoCreditDemandDetail:t.getNanoCreditDemandDetailReducer.loading,resultGetNanoCreditDemandDetail:t.getNanoCreditDemandDetailReducer.result,errorGetNanoCreditDemandDetail:t.getNanoCreditDemandDetailReducer.error}},function(t){return(0,v.bindActionCreators)({cautionCreditDemandAgentAction:k.cautionCreditDemandAgentAction,cautionCreditDemandAgentReset:k.cautionCreditDemandAgentReset,getNanoCreditDemandDetailAction:k.getNanoCreditDemandDetailAction,getNanoCreditDemandDetailReset:k.getNanoCreditDemandDetailReset},t)})(W);e.default=B;var G=D.StyleSheet.create({container:{flex:1,backgroundColor:_.Color.primaryDarkColor},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},blockView:{paddingVertical:10,borderBottomWidth:1},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:_.Color.accentLightColor,height:52},btnSubmit:{marginTop:20,borderColor:'transparent',backgroundColor:_.Color.accentLightColor,height:52,width:"30%",marginLeft:20,marginRight:20},input:{height:60,marginTop:(0,N.responsiveHeight)(2),marginLeft:(0,N.responsiveWidth)(5),marginRight:(0,N.responsiveWidth)(5),borderRadius:5}})},1800,[4,1,8,9,10,12,13,716,688,1612,15,18,750,1626,719,1099,973,534,1515,703,538,1039,1056,1026,1015,773,1801,718,1645,1647,1031,813,814]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getNanoCreditDemandDetailReset=e.getNanoCreditDemandDetailAction=e.cautionCreditDemandAgentReset=e.cautionCreditDemandAgentAction=void 0;var n=r(d[1]),o=t(r(d[2])),c=t(r(d[3])),u=r(d[4]),s=r(d[5]);e.cautionCreditDemandAgentAction=function(t){var l=u.store.getState().authKeyReducer,D=null!==l?l.authKey.token_type+" "+l.authKey.access_token:'';return function(u){u((0,s.fetchCautionCreditDemandAgentPending)()),(0,o.default)({url:n.cautionCreditDemandtUrl,method:'POST',data:t,headers:{Authorization:D,'X-Localization':c.default.currentLocale()}}).then(function(t){console.log(t),u((0,s.fetchCautionCreditDemandAgentSuccess)(t))}).catch(function(t){t.response?u((0,s.fetchCautionCreditDemandAgentError)(t.response)):t.request?u((0,s.fetchCautionCreditDemandAgentError)(t.request)):u((0,s.fetchCautionCreditDemandAgentError)(t.message))})}};e.cautionCreditDemandAgentReset=function(){return function(t){t((0,s.fetchCautionCreditDemandAgentReset)())}};e.getNanoCreditDemandDetailAction=function(t){var l=u.store.getState().authKeyReducer,D=null!==l?l.authKey.token_type+" "+l.authKey.access_token:'';return function(u){u((0,s.fetchGetNanoCreditDemandDetailPending)()),(0,o.default)({url:n.getNanoCreditDemandUrl+"/"+t,method:'GET',headers:{Authorization:D,'X-Localization':c.default.currentLocale()}}).then(function(t){console.log(t),u((0,s.fetchGetNanoCreditDemandDetailSuccess)(t))}).catch(function(t){t.response?u((0,s.fetchGetNanoCreditDemandDetailError)(t.response)):t.request?u((0,s.fetchGetNanoCreditDemandDetailError)(t.request)):u((0,s.fetchGetNanoCreditDemandDetailError)(t.message))})}};e.getNanoCreditDemandDetailReset=function(){return function(t){t((0,s.fetchGetNanoCreditDemandDetailReset)())}}},1801,[1,743,1073,719,1099,1175]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),p=n(r(d[6])),c=n(r(d[7])),f=n(r(d[8])),h=n(r(d[9])),E=t(r(d[10])),C=r(d[11]),D=t(r(d[12])),b=n(r(d[13])),S=r(d[14]),A=r(d[15]),y=r(d[16]),v=r(d[17]),N=n(r(d[18])),R=r(d[19]),O=r(d[20]),T=r(d[21]),L=r(d[22]),w=r(d[23]),_=r(d[24]),k=r(d[25]),I=r(d[26]),V=r(d[27]),x=r(d[28]),F=(r(d[29]),r(d[30]),(function(t){function n(t){var l;return(0,o.default)(this,n),(l=(0,s.default)(this,(0,u.default)(n).call(this,t))).isMontantValid=function(){var t=l.state.montant;return parseInt((0,f.default)(t,0))||t<0?{errorMessage:b.default.t('ENTER_AMOUNT_SUPERIOR_ZEROR'),isValid:!1}:(0,_.isNormalInteger)(t)?t>parseInt(l.state.comptePrincipal)?{errorMessage:b.default.t('AMOUNT_SUPERIOR_TO_PRINCIPAL_ACCOUNT'),isValid:!1}:{errorMessage:'',isValid:!0}:{errorMessage:b.default.t('ENTER_VALID_AMOUNT'),isValid:!1}},l.renderGetDurationesponse=function(){var t=l.props,n=t.resultGetNanoCreditDuration,o=t.errorGetNanoCreditDuration;null!==n&&void 0!==n.response&&(n.response.length>0?l.setState({hasLoadDuration:!0,durations:n.response,durationSelect:n.response[0].value,modalVisible:!1}):0===n.response.length&&l.setState({hasLoadDuration:!0,durations:[],durationSelect:'',modalVisible:!1})),null!==o&&(void 0!==o.data?C.Alert.alert(b.default.t('ERROR_LABEL'),o.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.getNanoCreditDemandDurationReset()}}],{cancelable:!1}):C.Alert.alert(b.default.t('ERROR_LABEL'),JSON.stringify(o),[{text:b.default.t("OK"),onPress:function(){l.props.getNanoCreditDemandDurationReset()}}],{cancelable:!1}))},l.renderEpargnerArgentResponse=function(){var t=l.props,n=t.result,o=t.error;null!==o&&void 0!==o.data&&C.Alert.alert(b.default.t("ERROR_LABLE"),o.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.epargnerArgentUserReset()}}],{cancelable:!1}),null!==n&&null!==n.response&&C.Alert.alert(b.default.t("EPARGNE_DEPOSE"),n.response,[{text:b.default.t("OK"),onPress:function(){l.props.epargnerArgentUserReset(),x.IlinkEmitter.emit("updateNanoCreditAccount"),l.props.navigation.pop()}}],{cancelable:!1})},l.onSubmitEpargnerArgent=function(){var t=l.state,n=t.montant,o=t.typeEpargneName,s=t.durationSelect;l.ckeckIfFieldIsOK(o)?l.typeEpargneAnim.shake(800):l.ckeckIfFieldIsOK(s)&&l.state.displayDuration?l.durationAnim.shake(800):l.ckeckIfFieldIsOK(n)||!l.isMontantValid().isValid?l.montantAnim.shake(800):l.props.epargnerArgentUserAction({id_user:l.state.user.id,type:l.state.typeEpargneToSend,duree_mois:l.state.durationSelect,montant:l.state.montant,password:l.state.password}),l.setState({isDataSubmit:!0})},l.renderLoader=function(){return E.default.createElement(y.ProgressDialog,{visible:l.props.loading||l.props.loadingGetNanoCredit,title:b.default.t('LOADING'),message:b.default.t('LOADING_INFO')})},l.state={codeGroupe:null,codeSponsor:null,nomGroupe:null,codeSponsor:null,displayDuration:!1,user:null,montant:null,password:null,durations:[],durationSelect:null,triggerSubmitClick:!1,hasLoadDuration:!1,modalVisible:!1,isSubmitClick:!1,isDataSubmit:!1,isModalConfirmVisible:!1,typeEpargne:(0,_.typeEpargne)(),typeEpargneName:b.default.t((0,_.typeEpargne)()[0].name),typeEpargneToSend:'simple',wallet:w.store.getState().walletDetailReducer.result.response},l.props.getNanoCreditDemandDurationReset(),(0,k.readUser)().then(function(t){console.log("USER",t),t&&void 0!==t&&l.props.getNanoCreditDemandDurationAction({id_user:t.id,type:"epargne"})}),l}return(0,p.default)(n,t),(0,l.default)(n,[{key:"componentDidMount",value:function(){var t=this;(0,k.readUser)().then(function(n){n&&void 0!==n&&t.setState({user:n})})}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,h.default)(t)||(0,f.default)(t.length,0)}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:b.default.t('SAVE_MONEY')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return E.default.createElement(E.default.Fragment,null,(this.props.loading||this.props.loadingGetNanoCredit||this.state.modalVisible)&&this.renderLoader(),this.state.isDataSubmit&&this.renderEpargnerArgentResponse(),!this.state.hasLoadDuration&&this.renderGetDurationesponse(),E.default.createElement(C.ScrollView,{style:U.container},E.default.createElement(C.Text,{style:U.subbigtitle},b.default.t('FILL_INFORMATION')),E.default.createElement(D.View,{ref:function(n){t.typeEpargneAnim=n},style:{width:(0,A.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},E.default.createElement(S.Dropdown,{label:b.default.t('SAVE_MONEY_TYPE'),data:this.state.typeEpargne,useNativeDriver:!0,value:this.state.typeEpargneName,onChangeText:function(n,o,l){n===b.default.t('SIMPLE')?t.setState({typeEpargneToSend:'simple',typeEpargneName:b.default.t('SIMPLE'),displayDuration:!1}):t.setState({typeEpargneToSend:'blocked',typeEpargneName:b.default.t('BLOCKED'),displayDuration:!0})},valueExtractor:function(t){return b.default.t(t.name)},labelExtractor:function(t){return b.default.t(t.name)}})),this.state.displayDuration&&E.default.createElement(D.View,{ref:function(n){t.durationAnim=n},style:{width:(0,A.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},E.default.createElement(S.Dropdown,{label:b.default.t('DEMAND_DURATION_IN_MONTH'),data:this.state.durations,useNativeDriver:!0,value:null!==this.state.durationSelect?this.state.durationSelect:'',onChangeText:function(n,o,l){t.setState({durationSelect:n})},valueExtractor:function(t){return b.default.t(t.value)},labelExtractor:function(t){return b.default.t(t.value)}})),E.default.createElement(D.View,{ref:function(n){t.montantAnim=n}},E.default.createElement(v.Fumi,{iconClass:N.default,iconName:'money',label:b.default.t('AMOUNT'),iconColor:'#f95a25',keyboardType:"numeric",iconSize:20,value:this.state.montant,onChangeText:function(n){t.setState({montant:n})},style:U.input}),E.default.createElement(C.View,{style:{position:'absolute',left:(0,A.responsiveWidth)(82),top:35,flexDirection:'row'}},E.default.createElement(C.View,{style:{width:1,borderLeftColor:'#f0f0f0',height:40,left:-8,top:-10,borderLeftWidth:1}}),E.default.createElement(C.Text,{style:[L.Typography.body1,L.FontWeight.bold]},this.state.wallet.currency_code))),E.default.createElement(D.View,{ref:function(n){t.passwordAnim=n}},E.default.createElement(v.Fumi,{iconClass:N.default,iconName:'lock',label:b.default.t('PASSWORD'),iconColor:'#f95a25',iconSize:20,secureTextEntry:!0,value:this.state.password,onChangeText:function(n){t.setState({password:n})},style:U.input})),E.default.createElement(c.default,{style:U.btnvalide,textStyle:U.textbtnvalide,onPress:function(){t.onSubmitEpargnerArgent()}},b.default.t('SUBMIT_LABEL'))))}}]),n})(E.Component));F.navigatorStyle={navBarBackgroundColor:T.Color.primaryColor,statusBarColor:T.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},F.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:b.default.t('SAVE_MONEY'),headerTintColor:'white',headerStyle:{backgroundColor:T.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:b.default.t('SAVE_MONEY')}};var M=(0,R.connect)(function(t){return{loading:t.epargnerArgentUserReducer.loading,result:t.epargnerArgentUserReducer.result,error:t.epargnerArgentUserReducer.error,loadingGetNanoCreditDuration:t.getNanoCreditDemandDurationReducer.loading,resultGetNanoCreditDuration:t.getNanoCreditDemandDurationReducer.result,errorGetNanoCreditDuration:t.getNanoCreditDemandDurationReducer.error}},function(t){return(0,O.bindActionCreators)({epargnerArgentUserAction:V.epargnerArgentUserAction,epargnerArgentUserReset:V.epargnerArgentUserReset,getNanoCreditDemandDurationAction:I.getNanoCreditDemandDurationAction,getNanoCreditDemandDurationReset:I.getNanoCreditDemandDurationReset},t)})(F);e.default=M;var U=C.StyleSheet.create({container:{flex:1,backgroundColor:T.Color.primaryDarkColor},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},blockView:{paddingVertical:10,borderBottomWidth:1},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:T.Color.accentLightColor,height:52},btnSubmit:{marginTop:20,borderColor:'transparent',backgroundColor:T.Color.accentLightColor,height:52,width:"30%",marginLeft:20,marginRight:20},input:{height:60,marginTop:(0,A.responsiveHeight)(2),marginLeft:(0,A.responsiveWidth)(5),marginRight:(0,A.responsiveWidth)(5),borderRadius:5}})},1802,[4,1,8,9,10,12,13,716,688,1612,15,18,750,719,973,534,1515,703,538,1039,1056,1026,1015,1099,1645,718,1793,1761,773,813,814]); diff --git a/datas/json/link_card.json b/datas/json/link_card.json new file mode 100644 index 00000000..5bbeac17 --- /dev/null +++ b/datas/json/link_card.json @@ -0,0 +1 @@ +{"v":"5.5.8","fr":60,"ip":0,"op":596,"w":1047,"h":777,"nm":"00.03 - onboarding","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"▽ Group 9 Copy","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-90,"ix":10},"p":{"a":0,"k":[90,106.5,0],"ix":2},"a":{"a":0,"k":[102,79.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":353,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Fill 7","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[100.463,80.917,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-2.86,3.54],[-4.09,-2.39],[2.67,-3.77],[4.29,2.63]],"o":[[-4.3,-2.62],[2.88,-3.55],[4.09,2.39],[-2.66,3.78],[0,0]],"v":[[-5.155,6.563],[-7.435,-4.657],[4.875,-6.677],[7.755,4.393],[-5.155,6.563]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 7","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":353,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Fill 5","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[103.599,80.259,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-2.41,2.82],[-2.1,2.75],[-12.11,-5.5],[-3.6,-1.52],[2.16,-3.24],[2.19,-2.93],[10.69,8.1],[2.86,2.3]],"o":[[2.59,-2.73],[2.8,2.21],[10.04,7.29],[-1.81,3.05],[-1.97,3.3],[-3.69,-1.6],[-12.85,-6.26],[2.46,-2.58],[0,0]],"v":[[-26.457,-10.558],[-18.957,-18.898],[-9.887,-19.908],[23.403,-0.588],[26.453,7.752],[20.253,17.562],[9.813,19.912],[-25.537,-1.748],[-26.457,-10.558]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.652915000916,0.857227981091,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 5","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":353,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Fill 3","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[101.898,78.947,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-5.56,6.87],[-18.38,-7.29],[5.46,-7.75],[14.95,12.49]],"o":[[6.55,-6.35],[13.93,11.14],[-4.38,8.06],[-19.63,-8.52],[0,0]],"v":[[-33.395,-6.029],[-15.235,-25.889],[33.395,2.161],[18.635,25.891],[-33.395,-6.029]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 3","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":353,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Fill 1","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[28.118,30.452,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-5.56,6.86],[-0.18,-0.14],[6.55,-6.35],[0.2,0.16]],"o":[[6.56,-6.33],[0.19,0.15],[-5.55,6.87],[-0.2,-0.16],[0,0]],"v":[[-9.372,9.659],[8.818,-10.151],[9.368,-9.711],[-8.782,10.149],[-9.372,9.659]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.541000008583,0.528999984264,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":353,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"▽ Group 15 Copy 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":15,"ix":10},"p":{"a":0,"k":[30,27,0],"ix":2},"a":{"a":0,"k":[24,21,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Fill 43","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[24.473,18.911,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.19,-0.23],[-0.72,-1.18],[-1.45,-1.19],[-0.83,1.01],[2.94,2.41],[1.36,0.49],[0.45,0]],"o":[[-0.44,0],[-0.38,0.46],[0.75,1.23],[2.94,2.42],[0.83,-1.01],[-1.45,-1.2],[-0.66,-0.24],[0,0]],"v":[[-4.515,-4.843],[-5.475,-4.503],[-4.945,-1.913],[-1.485,1.907],[5.475,4.497],[1.585,-1.823],[-2.835,-4.483],[-4.515,-4.843]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[2.12,1.75],[0.79,1.3],[-0.62,0.75],[-1.67,-0.61],[-1.52,-1.25],[1.31,-1.6],[0.66,0]],"o":[[-1.76,0],[-1.51,-1.24],[-0.92,-1.52],[0.61,-0.75],[1.43,0.52],[2.91,2.39],[-0.36,0.43],[0,0]],"v":[[4.5,5.604],[-1.97,2.494],[-5.6,-1.516],[-6.06,-4.986],[-2.57,-5.196],[2.07,-2.416],[6.06,4.984],[4.5,5.604]],"c":false},"ix":2},"nm":"Trazado 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Combinar trazados 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.650979995728,0.858824014664,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 43","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Fill 41","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[24.655,19.079,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.33,1.61],[3.8,3.12],[1.33,-1.61],[-3.79,-3.12]],"o":[[3.8,3.11],[1.33,-1.62],[-3.79,-3.11],[-1.33,1.62],[0,0]],"v":[[-2.409,2.93],[6.871,5.65],[2.401,-2.93],[-6.869,-5.65],[-2.409,2.93]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.588235020638,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 41","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Fill 39","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[23.163,21.055,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.57,1.9],[-0.03,0.05],[3.7,3.05],[1.74,-1.53],[0.08,-0.09],[-3.8,-3.12]],"o":[[3.79,3.11],[0.03,-0.04],[1.37,-1.95],[-3.61,-2.96],[-0.09,0.08],[-1.56,1.9],[0,0]],"v":[[-2.911,3.468],[6.549,5.958],[7.339,4.958],[2.509,-3.132],[-6.391,-6.282],[-7.191,-5.332],[-2.911,3.468]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.000899999985,0.471368998289,0.800696015358,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 39","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0}]},{"id":"comp_2","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"▽ Group 8 Copy 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[31.5,33,0],"ix":2},"a":{"a":0,"k":[31.5,33,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Fill 6","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[29.528,31.203,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.51,0.37],[0,0],[-0.83,0],[0,0.84],[1.09,0.44],[0,1.28],[-1.35,0.22],[0,0],[0,0],[0,0],[-0.43,-0.25],[0,0],[0.94,0],[0,-0.59],[-1.27,-0.53],[0,-1.31],[1.51,-0.25],[0,0]],"o":[[0,0],[-0.86,-0.02],[0,0],[0.53,0.35],[1.04,0],[0,-0.81],[-1.49,-0.58],[0,-1.21],[0,0],[0,0],[0,0],[0.88,0.03],[0,0],[-0.31,-0.18],[-1.13,0],[0,0.76],[1.51,0.62],[0,1.16],[0,0],[0,0]],"v":[[-0.494,6.026],[-0.494,4.546],[-2.744,3.896],[-2.394,2.916],[-0.274,3.546],[1.466,2.106],[-0.194,0.356],[-2.614,-2.184],[-0.394,-4.544],[-0.394,-6.024],[0.516,-6.024],[0.516,-4.604],[2.426,-4.084],[2.056,-3.114],[0.206,-3.614],[-1.354,-2.354],[0.466,-0.684],[2.746,2.006],[0.426,4.496],[0.426,6.026]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.439215987921,0.764706015587,0.992156982422,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 6","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Fill 4","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[30.817,32.203,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[4.77,0],[0,4.77],[-4.77,0],[0,-4.77]],"o":[[0,4.77],[-4.77,0],[0,-4.77],[4.77,0],[0,0]],"v":[[8.633,0.003],[0.003,8.633],[-8.637,0.003],[0.003,-8.637],[8.633,0.003]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.588235020638,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 4","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":3,"nm":"▽ Group 3","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[31.5,32.15,0],"ix":2},"a":{"a":0,"k":[31.5,31.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"▨ Clip 3","parent":7,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-10.272,-10.272],[10.268,-10.272],[10.268,10.268],[-10.272,10.268]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Clip 2","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Fill 1","parent":4,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[30.817,31.553,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[5.68,0],[0,5.68],[-5.67,0],[0,-5.67]],"o":[[0,5.68],[-5.67,0],[0,-5.67],[5.68,0],[0,0]],"v":[[10.277,-0.002],[-0.003,10.268],[-10.273,-0.002],[-0.003,-10.272],[10.277,-0.002]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.438284009695,0.763110995293,0.990489006042,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":3,"nm":"Clip 2","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[30.817,31.553,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0}]},{"id":"comp_3","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"plane","refId":"comp_4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[247.5,361,0],"ix":2},"a":{"a":0,"k":[247.5,361,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":495,"h":722,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Fill 23","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":0,"k":[267.053,303.83,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[-100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":240,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[16.32,2.672],[26.61,5.204],[-25.939,-13.44],[-6.443,3.09]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":251,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[16.146,15.988],[26.416,0.118],[-26.414,-15.992],[-4.447,0.514]],"c":true}]},{"t":263,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[16.146,15.988],[26.416,0.118],[-26.414,-15.992],[-4.447,0.514]],"c":true}]}],"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.285308986902,0.551240026951,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 13","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":239,"op":264,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Fill 24","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":0,"k":[254.139,298.466,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[-100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":232,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[5.382,-6.048],[36.28,-6.293],[-29.907,-6.53]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":233,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[8.976,-3.208],[34.13,-4.91],[-30.15,-7.393]],"c":true}]},{"t":244,"s":[{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[30.544,13.834],[22.294,2.124],[-30.546,-13.836]],"c":true}]}],"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.545098039216,0.850980392157,0.737254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 9","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":225,"op":264,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Fill 25","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":0,"k":[249.305,298.889,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[-100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":225,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[34.832,19.195],[34.806,-6.362],[-32.023,-6.487],[-32.146,19.18]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":247,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[29.176,13.834],[32.166,-2.116],[-32.164,-13.836],[-2.233,-0.334]],"c":true}]},{"t":272,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[29.176,13.834],[32.166,-2.116],[-32.164,-13.836],[-2.233,-0.334]],"c":true}]}],"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.113725490196,0.356862745098,0.76862745098,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 5","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":225,"op":264,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Fill 26","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":0,"k":[235.807,293.036,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[-100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":232,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[28.272,9.541],[27.844,0.35],[-33.591,-3.387],[-24.606,-0.116]],"c":true}]},{"t":242,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[36.474,11.5],[27.844,0.35],[-36.476,-11.5],[-25.843,-8.147]],"c":true}]}],"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.545098039216,0.850980392157,0.737254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":225,"op":264,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":3,"nm":"▽ hand","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":0,"k":[244.637,349.5,0],"ix":2},"a":{"a":0,"k":[172.5,339,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":3,"nm":"▽ finger","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[264.12,452.108,0],"ix":2},"a":{"a":0,"k":[78,225,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"Fill 22","parent":10,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[78.09,224.998,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":148,"s":[{"i":[[0,0],[0,0],[2.28,17.78],[-4.1,38.13],[0.99,1.31],[3.7,-30.89],[6.09,-13.27],[0,-13.3],[0,0]],"o":[[0,0],[0,0],[-2.17,-16.87],[0.22,-2.07],[-3.9,-5.14],[-3.7,30.89],[-6.09,13.27],[0,13.29],[0,0]],"v":[[24.779,74.612],[16.219,32.622],[25.359,-6.208],[24.939,-65.448],[24.779,-71.968],[5.779,-46.668],[-18.821,5.402],[-13.351,43.812],[-25.661,73.882]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":162,"s":[{"i":[[0,0],[0,0],[2.28,17.78],[3.647,33.758],[1.55,0.542],[-6.192,-24.002],[6.09,-13.27],[0,-13.3],[0,0]],"o":[[0,0],[0,0],[-2.17,-16.87],[-0.224,-2.07],[-7.173,-2.508],[5.016,19.445],[-6.09,13.27],[0,13.29],[0,0]],"v":[[24.779,74.612],[16.219,32.622],[25.359,-6.208],[6.543,-61.704],[2.037,-68.269],[-8.637,-34.88],[-18.821,5.402],[-13.351,43.812],[-25.661,73.882]],"c":true}]},{"t":195,"s":[{"i":[[0,0],[0,0],[2.28,17.78],[-4.1,38.13],[0.99,1.31],[3.7,-30.89],[6.09,-13.27],[0,-13.3],[0,0]],"o":[[0,0],[0,0],[-2.17,-16.87],[0.22,-2.07],[-3.9,-5.14],[-3.7,30.89],[-6.09,13.27],[0,13.29],[0,0]],"v":[[24.779,74.612],[16.219,32.622],[25.359,-6.208],[24.939,-65.448],[24.779,-71.968],[5.779,-46.668],[-18.821,5.402],[-13.351,43.812],[-25.661,73.882]],"c":true}]}],"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 22","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":5,"nm":"LINK","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":101,"s":[262.517,508.611,0],"to":[-2.667,-35,0],"ti":[2.667,30.167,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":114,"s":[246.517,298.611,0],"to":[-2.667,-30.167,0],"ti":[0,-3.333,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":130,"s":[246.517,327.611,0],"to":[0,3.333,0],"ti":[0,1.5,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":147,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":155,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":160,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":166,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":206,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":219,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"t":225,"s":[246.517,318.611,0]}],"ix":2},"a":{"a":0,"k":[0.741,-6.297,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":101,"s":[7,7,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":114,"s":[301,301,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":130,"s":[301,301,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":147,"s":[301,301,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":155,"s":[301,301,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":160,"s":[422,422,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":166,"s":[301,301,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":206,"s":[301,301,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":219,"s":[342,342,100]},{"t":225,"s":[0,0,100]}],"ix":6}},"ao":0,"t":{"d":{"k":[{"s":{"s":17.6399993896484,"f":"HelveticaNeue-Medium","t":"LINK","j":2,"tr":0,"lh":21.1679992675781,"ls":0,"fc":[1,1,1]},"t":0}]},"p":{},"m":{"g":1,"a":{"a":0,"k":[0,0],"ix":2}},"a":[]},"ip":100,"op":236,"st":56,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Bg","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":94,"s":[262.517,508.611,0],"to":[-2.667,-35,0],"ti":[2.667,30.167,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":107,"s":[246.517,298.611,0],"to":[-2.667,-30.167,0],"ti":[0,-3.333,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":123,"s":[246.517,327.611,0],"to":[0,3.333,0],"ti":[0,1.5,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":140,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":149,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":157,"s":[246.517,318.611,0],"to":[0,0,0],"ti":[0,0,0]},{"t":165,"s":[246.517,318.611,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":94,"s":[7,7,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":107,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":123,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":140,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":149,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":157,"s":[132,132,100]},{"t":165,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[67,26],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":4,"ix":4},"nm":"Trazado de rectángulo 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098039216,0.458823559331,0.988235353956,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":-5,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Bg","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":94,"op":235,"st":50,"bm":0},{"ddd":0,"ind":14,"ty":5,"nm":"$","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-6.683,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":50,"s":[239,482,0],"to":[-4.333,-94.333,0],"ti":[4.833,27.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":61,"s":[201,336,0],"to":[-4.833,-27.833,0],"ti":[-1.5,3.5,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":65,"s":[210,315,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":105,"s":[210,315,0],"to":[-1.833,-16.167,0],"ti":[1.833,16.167,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":122,"s":[199,218,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":193,"s":[199,218,0],"to":[0,-4.5,0],"ti":[-6.333,-18.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":201,"s":[199,191,0],"to":[6.333,18.833,0],"ti":[-6.333,-23.333,0]},{"t":212,"s":[237,331,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":50,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":61,"s":[128,128,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":65,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":105,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":122,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":193,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":201,"s":[100,100,100]},{"t":212,"s":[30,30,100]}],"ix":6}},"ao":0,"t":{"d":{"k":[{"s":{"s":130,"f":"Helvetica","t":"$","j":0,"tr":0,"lh":156,"ls":0,"fc":[0.161,0.855,0.596]},"t":0}]},"p":{},"m":{"g":1,"a":{"a":0,"k":[0,0],"ix":2}},"a":[]},"ip":50,"op":234,"st":50,"bm":0},{"ddd":0,"ind":15,"ty":3,"nm":"▽ mobile","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[174.36,234.308,0],"ix":2},"a":{"a":0,"k":[129,234,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Fill 16","parent":15,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[128.618,251.574,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[2.62,0],[0,0],[0,2.43],[0,0],[0,-3.09],[0,0],[-3.34,0],[0,0],[0,3.09],[0,0],[3.34,0]],"o":[[0,0],[0,2.43],[0,0],[-2.63,0],[0,0],[-3.34,0],[0,0],[0,3.09],[0,0],[3.34,0],[0,0],[0,-3.09],[0,0]],"v":[[33.349,-68.85],[15.749,-68.85],[10.999,-64.46],[-10.991,-64.46],[-15.741,-68.85],[-33.351,-68.85],[-39.401,-63.25],[-39.401,63.25],[-33.351,68.85],[33.349,68.85],[39.399,63.25],[39.399,-63.25],[33.349,-68.85]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 16","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":17,"ty":3,"nm":"▽ Group 15","parent":15,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[129,234,0],"ix":2},"a":{"a":0,"k":[129,234,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"▨ Clip 15","parent":20,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-42.664,-77.722],[42.666,-77.722],[42.666,77.718],[-42.664,77.718]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Clip 14","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":19,"ty":4,"nm":"Fill 13","parent":17,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[128.618,250.563,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,4.8],[0,0],[-5.15,0],[0,0],[0,-4.8],[0,0],[5.15,0]],"o":[[0,0],[-5.15,0],[0,0],[0,-4.8],[0,0],[5.15,0],[0,0],[0,4.8],[0,0]],"v":[[33.346,72.45],[-33.344,72.45],[-42.664,63.76],[-42.664,-63.76],[-33.344,-72.45],[33.346,-72.45],[42.666,-63.76],[42.666,63.76],[33.346,72.45]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.139209002256,0.312480002642,0.604874014854,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 13","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":20,"ty":3,"nm":"Clip 14","parent":17,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[128.618,234.747,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":21,"ty":4,"nm":"Fill 11","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[169.084,395.56,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[-6.64,-22.74],[0,0],[-0.43,0.06],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0.44,0],[-0.98,-15.43],[0,0],[0,0]],"v":[[11.71,-31.733],[-8.47,-20.083],[-37.49,-18.553],[-27.99,31.627],[34.98,31.737],[36.28,31.627],[34.54,4.487],[37.49,-27.813]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.10622599721,0.395851999521,0.884595990181,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 11","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":22,"ty":4,"nm":"Fill 9","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[176.174,487.508,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-6.34,-22.25],[-6.5,-5.66],[0,0],[0,0],[-4.79,1.76],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[3.7,12.95],[17.65,15.4],[0,0],[1.75,-1.29],[4.79,-1.76],[0,0],[0,0],[0,0],[0,0]],"v":[[-39.853,-49.203],[-30.943,-2.013],[-15.773,28.647],[-2.363,61.737],[19.007,62.237],[38.667,61.737],[32.177,-26.163],[35.127,-58.463],[9.347,-62.383],[-10.833,-50.733]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 9","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":23,"ty":4,"nm":"Fill 7","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[58.869,343.405,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[1.57,-3.99],[-2.88,-3.91],[-8.48,18.92],[0,0]],"o":[[0,0],[-4.11,1.23],[-1.76,4.53],[4.4,5.97],[8.49,-18.93],[0,0]],"v":[[17.343,-17.838],[-3.227,-11.658],[-11.617,-2.998],[-16.587,15.782],[6.793,-2.488],[17.343,-17.838]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 7","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":24,"ty":4,"nm":"Fill 5","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[66.485,400.831,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[1.1,-4.14],[-2.87,-3.91],[-8.49,18.93],[0,0]],"o":[[0,0],[-4.11,1.23],[0,0],[4.4,5.97],[8.48,-18.92],[0,0]],"v":[[17.287,-17.839],[-3.293,-11.659],[-11.673,-2.999],[-16.653,15.781],[6.737,-2.499],[17.287,-17.839]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 5","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":25,"ty":4,"nm":"Fill 3","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[59.813,265.625,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[1.89,-8.45],[-17.1,9.87],[0,0]],"o":[[0,0],[-1.47,6.59],[17.09,-9.87],[0,0]],"v":[[10.323,-12.882],[-19.807,4.198],[6.953,7.998],[19.343,-12.882]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 3","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":26,"ty":4,"nm":"Fill 1","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[67.435,183.478,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[5.22,-5.22],[-9.9,-13.51],[0,0]],"o":[[0,0],[-5.22,5.22],[9.9,13.5],[0,0]],"v":[[3.289,-9.132],[-11.501,-15.872],[-1.931,11.958],[13.619,8.598]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0}]},{"id":"comp_4","layers":[{"ddd":0,"ind":1,"ty":0,"nm":"plane","refId":"comp_5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":443,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":446,"s":[31]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":450,"s":[48]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":456,"s":[21]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":460,"s":[6]},{"t":464,"s":[6]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":262,"s":[239,307.5,0],"to":[0,3.833,0],"ti":[0,20.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":285,"s":[239,330.5,0],"to":[0,-20.833,0],"ti":[0,21.5,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":302,"s":[239,182.5,0],"to":[0,-21.5,0],"ti":[0,-0.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":318,"s":[239,201.5,0],"to":[0,0.833,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":334,"s":[239,187.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":353,"s":[239,201.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":372,"s":[239,187.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":388,"s":[239,201.5,0],"to":[0,0,0],"ti":[7.5,2.333,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":408,"s":[239,187.5,0],"to":[-7.5,-2.333,0],"ti":[-23,6.667,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":426,"s":[194,187.5,0],"to":[23,-6.667,0],"ti":[-30.5,6.667,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":430,"s":[377,147.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":434,"s":[377,147.5,0],"to":[-2.667,0,0],"ti":[2.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":438,"s":[361,147.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":442,"s":[361,147.5,0],"to":[-45.333,18.833,0],"ti":[45.584,-15.097,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":443,"s":[89,260.5,0],"to":[-129.333,42.833,0],"ti":[-14,9.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":446,"s":[89,242.5,0],"to":[14,-9.833,0],"ti":[-33.667,-2,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":450,"s":[173,201.5,0],"to":[33.667,2,0],"ti":[-6.333,-8.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":456,"s":[291,254.5,0],"to":[6.333,8.833,0],"ti":[7,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":460,"s":[211,254.5,0],"to":[-7,0,0],"ti":[-6.333,0,0]},{"t":464,"s":[249,254.5,0]}],"ix":2},"a":{"a":0,"k":[144,73.5,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":262,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":285,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":302,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":319,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":334,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":354,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":372,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":389,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":408,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":426,"s":[83.333,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":430,"s":[37.5,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":434,"s":[-15.278,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":438,"s":[-1.25,30,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":442,"s":[-1.25,30,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":443,"s":[-1.25,30,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":446,"s":[16.194,61.673,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":450,"s":[50.861,95.456,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":456,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":460,"s":[100,100,100]},{"t":464,"s":[100,100,100]}],"ix":6}},"ao":0,"w":288,"h":147,"ip":262,"op":2920,"st":22,"bm":0}]},{"id":"comp_5","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"▽ plane","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":0,"k":[141,73.5,0],"ix":2},"a":{"a":0,"k":[109.5,49.5,0],"ix":1},"s":{"a":0,"k":[-100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Fill 13","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[79.241,48.463,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[16.146,15.988],[26.416,0.118],[-26.414,-15.992]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.285308986902,0.551240026951,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 13","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":3,"nm":"▽ Group 12","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[93,42.487,0],"ix":2},"a":{"a":0,"k":[93,42,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"▨ Clip 15","parent":6,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-30.64,-13.918],[30.64,-13.918],[30.64,13.922],[-30.64,13.922]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Clip 11","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Fill 10","parent":3,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[91.921,42.034,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-30.64,-13.918],[22.36,2.142],[30.64,13.922]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.545725983264,0.850599999521,0.736917951995,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 10","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":3,"nm":"Clip 11","parent":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[91.921,42.034,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Fill 9","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[91.639,41.994,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[30.544,13.834],[22.294,2.124],[-30.546,-13.836]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.485448002815,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 9","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":3,"nm":"▽ Group 8","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[97.5,42.487,0],"ix":2},"a":{"a":0,"k":[97.5,42,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"▨ Clip 15","parent":11,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-32.16,-13.918],[32.16,-13.918],[32.16,13.922],[-32.16,13.922]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Clip 7","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Fill 6","parent":8,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[96.479,42.034,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-32.16,-13.918],[32.16,-2.128],[29.17,13.922]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.114449998444,0.357769984825,0.768370983647,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 6","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":3,"nm":"Clip 7","parent":8,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[96.479,42.034,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Fill 5","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[96.491,41.994,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[29.176,13.834],[32.166,-2.116],[-32.164,-13.836]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.485448002815,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 5","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":13,"ty":3,"nm":"▽ Group 4","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[109.5,34.987,0],"ix":2},"a":{"a":0,"k":[109.5,34.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"▨ Clip 15","parent":16,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-36.415,-11.444],[36.415,-11.444],[36.415,11.446],[-36.415,11.446]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Clip 3","np":1,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":15,"ty":4,"nm":"Fill 2","parent":13,"tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[109.244,34.611,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-36.415,-11.444],[27.795,0.346],[36.415,11.446]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.545098006725,0.850979983807,0.737254977226,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":3,"nm":"Clip 3","parent":13,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[109.244,34.611,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":17,"ty":4,"nm":"Fill 1","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[109.428,34.987,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[36.474,11.5],[27.844,0.35],[-36.476,-11.5]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0.485448002815,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Fill 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0}]},{"id":"comp_6","layers":[{"ddd":0,"ind":1,"ty":3,"nm":"▽ lines1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[822,365.862,0],"ix":2},"a":{"a":0,"k":[93,42,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Line Copy 2","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[57,61.5,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[19,-7.5],[-19,7.5]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2.178,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Line Copy 2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Line Copy 3","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[163.5,54,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[7.5,-3],[-7.5,3]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.160784006119,0.854902029037,0.596077978611,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2.178,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Line Copy 3","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Line Copy","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[57,18,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[15,-6],[-15,6]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.160784006119,0.854902029037,0.596077978611,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2.178,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Line Copy","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":3,"nm":"▽ lines2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[259.5,622.362,0],"ix":2},"a":{"a":0,"k":[130.5,58.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Line Copy 2","parent":5,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[79.5,85.5,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[26.5,-10.5],[-26.5,10.5]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.145098000765,0.458824008703,0.988234996796,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2.178,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Line Copy 2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Line Copy 3","parent":5,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[229.5,76.5,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[10.5,-4.5],[-10.5,4.5]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.160784006119,0.854902029037,0.596077978611,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2.178,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Line Copy 3","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Line Copy","parent":5,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[81,25.5,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[21,-8.5],[-21,8.5]],"c":false},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.160784006119,0.854902029037,0.596077978611,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2.178,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Trazo 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"Line Copy","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":3600,"st":0,"bm":0}]}],"fonts":{"list":[{"fName":"Helvetica","fFamily":"Helvetica","fStyle":"Regular","ascent":71.8994140625},{"fName":"HelveticaNeue-Medium","fFamily":"Helvetica Neue","fStyle":"Medium","ascent":71.39892578125}]},"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"billete","refId":"comp_0","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":515,"s":[100]},{"t":524,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":456,"s":[93.622]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":475,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":495,"s":[-6]},{"t":524,"s":[-85]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":456,"s":[583.5,228.5,0],"to":[128,-225,0],"ti":[-16.311,-63.014,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":475,"s":[852.5,256.5,0],"to":[26.125,100.926,0],"ti":[29.177,-76.41,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":495,"s":[828.5,472.5,0],"to":[-35.391,92.684,0],"ti":[13.167,-24.167,0]},{"t":524,"s":[749.5,617.5,0]}],"ix":2},"a":{"a":0,"k":[87,108,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":456,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":475,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":495,"s":[100,100,100]},{"t":524,"s":[100,100,100]}],"ix":6}},"ao":0,"w":174,"h":216,"ip":456,"op":575,"st":456,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"billete","refId":"comp_0","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":500,"s":[100]},{"t":509,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":441,"s":[93.622]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":460,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":480,"s":[-78]},{"t":509,"s":[-121]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":441,"s":[431.5,228.5,0],"to":[-140,-123,0],"ti":[8.833,-44,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":460,"s":[299.5,366.5,0],"to":[-8.833,44,0],"ti":[-10.823,-40.41,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":480,"s":[378.5,492.5,0],"to":[25.667,95.833,0],"ti":[13.5,-20.833,0]},{"t":509,"s":[297.5,617.5,0]}],"ix":2},"a":{"a":0,"k":[87,108,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":441,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":460,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":480,"s":[100,100,100]},{"t":509,"s":[100,100,100]}],"ix":6}},"ao":0,"w":174,"h":216,"ip":441,"op":560,"st":441,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"moneda2","refId":"comp_1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":471,"s":[100]},{"t":481,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":440,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":456,"s":[168]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":471,"s":[283]},{"t":481,"s":[359]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":440,"s":[596.5,214.5,0],"to":[77,-158.833,0],"ti":[-3,-114.167,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":456,"s":[745.5,410.5,0],"to":[2.022,76.93,0],"ti":[12.167,-43.167,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":471,"s":[719.5,567.5,0],"to":[-12.167,43.167,0],"ti":[7.833,-17,0]},{"t":481,"s":[672.5,669.5,0]}],"ix":2},"a":{"a":0,"k":[27,27,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":440,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":456,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":471,"s":[100,100,100]},{"t":481,"s":[100,100,100]}],"ix":6}},"ao":0,"w":54,"h":54,"ip":440,"op":3572,"st":-28,"bm":0},{"ddd":0,"ind":4,"ty":0,"nm":"moneda2","refId":"comp_1","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":521,"s":[100]},{"t":531,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":490,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":506,"s":[168]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":521,"s":[283]},{"t":531,"s":[359]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":490,"s":[505.5,202.5,0],"to":[-39,-70.833,0],"ti":[-3,-114.167,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":506,"s":[415.5,377.5,0],"to":[2.022,76.93,0],"ti":[-4,-57.333,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":521,"s":[439.5,659.5,0],"to":[4,57.333,0],"ti":[0,-10.333,0]},{"t":531,"s":[439.5,721.5,0]}],"ix":2},"a":{"a":0,"k":[27,27,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":490,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":506,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":521,"s":[100,100,100]},{"t":531,"s":[100,100,100]}],"ix":6}},"ao":0,"w":54,"h":54,"ip":490,"op":3622,"st":22,"bm":0},{"ddd":0,"ind":5,"ty":0,"nm":"moneda1","refId":"comp_2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":490,"s":[100]},{"t":498,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":457,"s":[58]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":475,"s":[30.933]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":490,"s":[10.759]},{"t":498,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":457,"s":[576.5,196.5,0],"to":[102.048,-180.472,0],"ti":[-37.01,-75.973,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":475,"s":[760.033,179.235,0],"to":[45.362,93.116,0],"ti":[6.379,-68.863,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":490,"s":[789.552,423.259,0],"to":[-6.259,67.568,0],"ti":[14.632,-14.74,0]},{"t":498,"s":[766.5,559.5,0]}],"ix":2},"a":{"a":0,"k":[31.5,33,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":457,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":475,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":490,"s":[100,100,100]},{"t":498,"s":[100,100,100]}],"ix":6}},"ao":0,"w":63,"h":66,"ip":449,"op":3603,"st":3,"bm":0},{"ddd":0,"ind":6,"ty":0,"nm":"moneda1","refId":"comp_2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":509,"s":[100]},{"t":517,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":476,"s":[58]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":494,"s":[30.933]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":509,"s":[10.759]},{"t":517,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":476,"s":[481.5,196.5,0],"to":[102.048,-180.472,0],"ti":[-43.187,-72.639,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":494,"s":[836.033,189.235,0],"to":[55.362,93.116,0],"ti":[6.379,-68.863,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":509,"s":[891.552,423.259,0],"to":[-6.259,67.568,0],"ti":[14.632,-14.74,0]},{"t":517,"s":[869.5,559.5,0]}],"ix":2},"a":{"a":0,"k":[31.5,33,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":476,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":494,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":509,"s":[100,100,100]},{"t":517,"s":[100,100,100]}],"ix":6}},"ao":0,"w":63,"h":66,"ip":468,"op":3622,"st":22,"bm":0},{"ddd":0,"ind":7,"ty":0,"nm":"moneda1","refId":"comp_2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":488,"s":[100]},{"t":496,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":455,"s":[58]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":473,"s":[30.933]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":488,"s":[10.759]},{"t":496,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":455,"s":[456.5,251.5,0],"to":[-63.952,-84.472,0],"ti":[42.376,-28.014,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":473,"s":[329.033,173.235,0],"to":[-90.963,60.134,0],"ti":[-4.793,-50.578,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":488,"s":[262.552,423.259,0],"to":[8.206,86.593,0],"ti":[14.632,-14.74,0]},{"t":496,"s":[286.5,633.5,0]}],"ix":2},"a":{"a":0,"k":[31.5,33,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":455,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":473,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":488,"s":[100,100,100]},{"t":496,"s":[100,100,100]}],"ix":6}},"ao":0,"w":63,"h":66,"ip":455,"op":3609,"st":9,"bm":0},{"ddd":0,"ind":8,"ty":0,"nm":"moneda1","refId":"comp_2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":501,"s":[100]},{"t":509,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":468,"s":[58]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":486,"s":[30.933]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":501,"s":[10.759]},{"t":509,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":468,"s":[481.5,196.5,0],"to":[-63.952,-84.472,0],"ti":[39.542,-31.89,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":486,"s":[247.033,201.235,0],"to":[-86.963,70.134,0],"ti":[6.379,-68.863,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":501,"s":[129.552,423.259,0],"to":[-6.259,67.568,0],"ti":[14.632,-14.74,0]},{"t":509,"s":[119.5,559.5,0]}],"ix":2},"a":{"a":0,"k":[31.5,33,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":468,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":486,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":501,"s":[100,100,100]},{"t":509,"s":[100,100,100]}],"ix":6}},"ao":0,"w":63,"h":66,"ip":468,"op":3622,"st":22,"bm":0},{"ddd":0,"ind":9,"ty":3,"nm":"▽ Group 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[537,373.5,0],"ix":2},"a":{"a":0,"k":[408,358.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":540,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":0,"nm":"hand","refId":"comp_3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":17,"s":[-44]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":24,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":31,"s":[0]},{"t":39,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":17,"s":[536.5,683.5,0],"to":[-0.167,-6.667,0],"ti":[0.167,4.5,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":24,"s":[535.5,643.5,0],"to":[-0.167,-4.5,0],"ti":[0,-1.5,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":31,"s":[535.5,656.5,0],"to":[0,1.5,0],"ti":[0,0.667,0]},{"t":39,"s":[535.5,652.5,0]}],"ix":2},"a":{"a":0,"k":[247.5,637,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":17,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":24,"s":[107,107,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":31,"s":[93,93,100]},{"t":39,"s":[100,100,100]}],"ix":6}},"ao":0,"w":495,"h":722,"ip":15,"op":3590,"st":-10,"bm":0},{"ddd":0,"ind":12,"ty":0,"nm":"lines","refId":"comp_6","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[523.5,388.5,0],"ix":2},"a":{"a":0,"k":[523.5,388.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1047,"h":777,"ip":0,"op":3600,"st":0,"bm":0},{"ddd":0,"ind":13,"ty":3,"nm":"▽ claud","parent":9,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-5,"ix":10},"p":{"a":0,"k":[436.128,449.486,0],"ix":2},"a":{"a":0,"k":[358.5,237,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":596,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"claud","parent":13,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[359.448,454.059,0],"to":[0,-42.333,0],"ti":[0,34.333,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":14,"s":[359.448,200.059,0],"to":[0,-34.333,0],"ti":[0,-6.167,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":24,"s":[359.448,248.059,0],"to":[0,6.167,0],"ti":[0,1.833,0]},{"t":32,"s":[359.448,237.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":0,"s":[0,0,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":14,"s":[110,110,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":24,"s":[93,93,100]},{"t":32,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[16.6,9.66],[6.9,-30.19],[4.87,-15.29],[1.22,-18.91],[-70.97,-5.24],[-27.57,0],[2.43,16.91],[18.25,9.24],[-16.22,17.31]],"o":[[0,0],[-16.6,-9.66],[-6.89,30.19],[-4.87,15.3],[-1.21,18.92],[70.97,5.23],[27.58,0],[-2.43,-16.91],[-18.25,-9.23],[16.22,-17.31]],"v":[[23.686,-77.78],[-39.254,-62.4],[-94.204,-63.52],[-118.814,-8.22],[-79.914,34.46],[-35.944,75.99],[74.766,78],[118.976,34.93],[87.746,3.1],[76.686,-32.02]],"c":true},"ix":2},"nm":"Trazado 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.874638020992,0.942860007286,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Relleno 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[300,300],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transformar"}],"nm":"claud","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":596,"st":0,"bm":0}],"markers":[],"chars":[{"ch":"$","size":130,"style":"Regular","w":55.62,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[5.566,-0.26],[0,0],[-1.726,-1.237],[0,-4.069],[1.106,-1.953]],"o":[[0,0],[4.069,1.107],[2.995,2.116],[0,2.572],[-2.116,3.809]],"v":[[29.834,-5.078],[29.834,-30.762],[38.525,-27.246],[43.018,-17.969],[41.357,-11.182]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,3.223],[-1.822,2.441],[-4.3,0.163],[0,0],[2.15,1.823]],"o":[[0,-2.669],[1.822,-2.441],[0,0],[-3.644,-0.716],[-2.15,-1.823]],"v":[[13.281,-52.197],[16.013,-59.863],[25.195,-63.77],[25.195,-40.82],[16.505,-44.629]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-4.948],[-3.369,-3.125],[-7.065,-1.334],[0,0],[2.032,3.679],[0.262,4.46],[0,0],[-1.855,-3.288],[-9.473,-0.619],[0,0],[0,0],[0,0],[-3.125,2.018],[0,8.659],[4.395,3.06],[7.552,2.116],[0,0],[-2.051,-3.288],[-0.228,-2.473],[0,0],[3.467,3.361],[6.477,0.455],[0,0],[0,0],[0,0],[3.629,-3.971]],"o":[[0,5.534],[3.368,3.125],[0,0],[-5.509,-0.455],[-1.147,-2.051],[0,0],[0,5.599],[3.385,6.087],[0,0],[0,0],[0,0],[5.891,-0.652],[5.631,-3.645],[0,-5.989],[-2.702,-1.855],[0,0],[4.492,0.163],[1.106,1.791],[0,0],[-0.163,-5.519],[-3.467,-3.36],[0,0],[0,0],[0,0],[-6.543,0.066],[-3.63,3.972]],"v":[[4.492,-51.611],[9.545,-38.623],[25.195,-31.934],[25.195,-5.322],[13.882,-11.523],[11.768,-21.289],[3.125,-21.289],[5.908,-7.959],[25.195,2.1],[25.195,11.572],[29.834,11.572],[29.834,2.1],[43.359,-1.904],[51.807,-20.361],[45.215,-33.936],[29.834,-39.893],[29.834,-63.672],[39.648,-58.496],[41.65,-52.1],[50.195,-52.1],[44.751,-65.42],[29.834,-71.143],[29.834,-77.539],[25.195,-77.539],[25.195,-71.045],[9.937,-64.99]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"$","np":6,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Helvetica"},{"ch":"L","size":17.6399993896484,"style":"Medium","w":57.4,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[7.6,0],[56.4,0],[56.4,-10.8],[20.1,-10.8],[20.1,-71.4],[7.6,-71.4]],"c":true},"ix":2},"nm":"L","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"L","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Helvetica Neue"},{"ch":"I","size":17.6399993896484,"style":"Medium","w":27.8,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[7.6,0],[20.1,0],[20.1,-71.4],[7.6,-71.4]],"c":true},"ix":2},"nm":"I","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"I","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Helvetica Neue"},{"ch":"N","size":17.6399993896484,"style":"Medium","w":72.2,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[7.1,0],[19,0],[19,-52.5],[19.3,-52.5],[51.8,0],[65,0],[65,-71.4],[53.1,-71.4],[53.1,-18.8],[52.9,-18.8],[20.3,-71.4],[7.1,-71.4]],"c":true},"ix":2},"nm":"N","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"N","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Helvetica Neue"},{"ch":"K","size":17.6399993896484,"style":"Medium","w":68.5,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[7.6,0],[20.1,0],[20.1,-24],[30.3,-34.1],[53.7,0],[69.3,0],[38.8,-42.9],[67.3,-71.4],[51.9,-71.4],[20.1,-38.9],[20.1,-71.4],[7.6,-71.4]],"c":true},"ix":2},"nm":"K","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"K","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Helvetica Neue"}]} \ No newline at end of file diff --git a/redux/actions/WalletActions.js b/redux/actions/WalletActions.js index 5b6f1033..1350446d 100644 --- a/redux/actions/WalletActions.js +++ b/redux/actions/WalletActions.js @@ -1,4 +1,8 @@ import { + GET_BANK_FOR_ILINK_ERROR, + GET_BANK_FOR_ILINK_PENDING, + GET_BANK_FOR_ILINK_RESET, + GET_BANK_FOR_ILINK_SUCCESS, GET_OPERATOR_LIST_ERROR, GET_OPERATOR_LIST_PENDING, GET_OPERATOR_LIST_RESET, @@ -11,6 +15,10 @@ import { PAY_BILL_PENDING, PAY_BILL_RESET, PAY_BILL_SUCCESS, + REATTACH_ACCOUNT_ERROR, + REATTACH_ACCOUNT_PENDING, + REATTACH_ACCOUNT_RESET, + REATTACH_ACCOUNT_SUCCESS, WALLET_GET_COMMISSION_ERROR, WALLET_GET_COMMISSION_PENDING, WALLET_GET_COMMISSION_RESET, @@ -162,20 +170,52 @@ export const fetchWalleGetCommissionError = (error) => ({ export const fetchLinkCardPending = () => ({ type: LINK_CARD_PENDING }); - export const fetchLinkCardReset = () => ({ type: LINK_CARD_RESET }); - export const fetchLinkCardSuccess = (res) => ({ type: LINK_CARD_SUCCESS, result: res, }); - export const fetchLinkCardError = (error) => ({ type: LINK_CARD_ERROR, result: error }); +/** + * --------------------------------------------------- + */ +export const fetchGetBankIlinkPending = () => ({ + type: GET_BANK_FOR_ILINK_PENDING +}); +export const fetchGetBankIlinkReset = () => ({ + type: GET_BANK_FOR_ILINK_RESET +}); +export const fetchGetBankIlinkSuccess = (res) => ({ + type: GET_BANK_FOR_ILINK_SUCCESS, + result: res, +}); +export const fetchGetBankIlinkError = (error) => ({ + type: GET_BANK_FOR_ILINK_ERROR + , + result: error +}); +/** + * --------------------------------------------------- + */ +export const fetchReattachAccountPending = () => ({ + type: REATTACH_ACCOUNT_PENDING +}); +export const fetchReattachAccountReset = () => ({ + type: REATTACH_ACCOUNT_RESET +}); +export const fetchReattachAccountSuccess = (res) => ({ + type: REATTACH_ACCOUNT_SUCCESS, + result: res, +}); +export const fetchReattachAccountError = (error) => ({ + type: REATTACH_ACCOUNT_ERROR, + result: error +}); /* export const fetchWalletGetRetraitCommissionPending = () => ({ type: WALLET_GET_RETREAIT_COMMISSION_PENDING diff --git a/redux/reducers/GetIlinkBankReducer.js b/redux/reducers/GetIlinkBankReducer.js new file mode 100644 index 00000000..6ddf582e --- /dev/null +++ b/redux/reducers/GetIlinkBankReducer.js @@ -0,0 +1,42 @@ +import { + GET_BANK_FOR_ILINK_ERROR, + GET_BANK_FOR_ILINK_PENDING, + GET_BANK_FOR_ILINK_RESET, + GET_BANK_FOR_ILINK_SUCCESS +} from "../types/WalletType"; + +const initialState = { + loading: false, + result: null, + error: null +}; + +export default (state = initialState, action) => { + switch (action.type) { + case GET_BANK_FOR_ILINK_PENDING: + return { + ...state, + loading: true + } + case GET_BANK_FOR_ILINK_SUCCESS: + return { + ...state, + loading: false, + result: action.result.data, + error: null + } + case GET_BANK_FOR_ILINK_ERROR: + return { + ...state, + loading: false, + result: null, + error: action.result + } + case GET_BANK_FOR_ILINK_RESET: + return initialState; + + default: { + return state; + } + } +}; diff --git a/redux/reducers/ReattachAccountReducer.js b/redux/reducers/ReattachAccountReducer.js new file mode 100644 index 00000000..8e4ed7aa --- /dev/null +++ b/redux/reducers/ReattachAccountReducer.js @@ -0,0 +1,42 @@ +import { + REATTACH_ACCOUNT_ERROR, + REATTACH_ACCOUNT_PENDING, + REATTACH_ACCOUNT_RESET, + REATTACH_ACCOUNT_SUCCESS +} from "../types/WalletType"; + +const initialState = { + loading: false, + result: null, + error: null +}; + +export default (state = initialState, action) => { + switch (action.type) { + case REATTACH_ACCOUNT_PENDING: + return { + ...state, + loading: true + } + case REATTACH_ACCOUNT_SUCCESS: + return { + ...state, + loading: false, + result: action.result.data, + error: null + } + case REATTACH_ACCOUNT_ERROR: + return { + ...state, + loading: false, + result: null, + error: action.result + } + case REATTACH_ACCOUNT_RESET: + return initialState; + + default: { + return state; + } + } +}; diff --git a/redux/reducers/index.js b/redux/reducers/index.js index 46621940..df6a248d 100644 --- a/redux/reducers/index.js +++ b/redux/reducers/index.js @@ -48,6 +48,8 @@ import GetEpargneInProgressReducer from "./GetEpargneInProgressReducer"; import GetNanoCreditUserHistoryInProgressReducer from "./GetNanoCreditUserHistoryInProgressReducer"; import GetListOperatorReducer from "./GetListOperatorReducer"; import PayBillReducer from "./PayBillReducer"; +import GetIlinkBankReducer from "./GetIlinkBankReducer"; +import ReattachAccountReducer from "./ReattachAccountReducer"; const persistConfig = { key: 'root', @@ -105,6 +107,8 @@ const rootReducer = persistCombineReducers(persistConfig, { getNanoCreditUserHistoryInProgressReducer: GetNanoCreditUserHistoryInProgressReducer, getListOperatorReducer: GetListOperatorReducer, payBillReducer: PayBillReducer, + getIlinkBankReducer: GetIlinkBankReducer, + reattachAccountReducer: ReattachAccountReducer }); export default rootReducer; \ No newline at end of file diff --git a/redux/types/WalletType.js b/redux/types/WalletType.js index 3cc50335..dab0a525 100644 --- a/redux/types/WalletType.js +++ b/redux/types/WalletType.js @@ -38,6 +38,16 @@ export const LINK_CARD_SUCCESS = 'LINK_CARD_SUCCESS'; export const LINK_CARD_ERROR = 'LINK_CARD_ERROR'; export const LINK_CARD_RESET = 'LINK_CARD_RESET'; +export const REATTACH_ACCOUNT_PENDING = 'REATTACH_ACCOUNT_PENDING'; +export const REATTACH_ACCOUNT_SUCCESS = 'REATTACH_ACCOUNT_SUCCESS'; +export const REATTACH_ACCOUNT_ERROR = 'REATTACH_ACCOUNT_ERROR'; +export const REATTACH_ACCOUNT_RESET = 'REATTACH_ACCOUNT_RESET'; + +export const GET_BANK_FOR_ILINK_PENDING = 'GET_BANK_FOR_ILINK_PENDING'; +export const GET_BANK_FOR_ILINK_SUCCESS = 'GET_BANK_FOR_ILINK_SUCCESS'; +export const GET_BANK_FOR_ILINK_ERROR = 'GET_BANK_FOR_ILINK_ERROR'; +export const GET_BANK_FOR_ILINK_RESET = 'GET_BANK_FOR_ILINK_RESET'; + export const GET_OPERATOR_LIST_PENDING = 'GET_OPERATOR_LIST_PENDING'; export const GET_OPERATOR_LIST_SUCCESS = 'GET_OPERATOR_LIST_SUCCESS'; export const GET_OPERATOR_LIST_ERROR = 'GET_OPERATOR_LIST_ERROR'; diff --git a/route.json b/route.json index 28ed3a8d..a1a01a05 100644 --- a/route.json +++ b/route.json @@ -63,5 +63,6 @@ "refundNanoCreditUser": "refundNanoCreditUser", "cautionNanoCreditAgent": "cautionNanoCreditAgent", "epargnerArgentUser": "epargnerArgentUser", - "casserEpargneUser": "casserEpargneUser" + "casserEpargneUser": "casserEpargneUser", + "reattachAccountUser": "reattachAccountUser" } diff --git a/screens/home/Home.js b/screens/home/Home.js index ebf4f7a9..30aafe75 100644 --- a/screens/home/Home.js +++ b/screens/home/Home.js @@ -1653,7 +1653,7 @@ class Home extends BaseScreen { translucent={true} /> {/* Start here to comment */} - {/*{ + { (this.state.loadingDialog || this.props.loading) ? */} + /> {this.makeCardSearch()} {this.makeSlidingUp()} {this.makeDialogLoader()} diff --git a/screens/nano-credit/CasserEpargneUser.js b/screens/nano-credit/CasserEpargneUser.js index c140a7cb..ffc0c0f1 100644 --- a/screens/nano-credit/CasserEpargneUser.js +++ b/screens/nano-credit/CasserEpargneUser.js @@ -369,7 +369,7 @@ class CasserEpargneUser extends Component { this.setState({displayModalHistory: true, historyItemDetail: item}) }} style={[styles.contentService, {borderBottomColor: Color.primaryColor}]}> { - Object.keys(omit(item, ['id', 'id_epargne', 'montant_retire', 'date_demande', 'date_fin', 'date_remboursement_prevu', 'date_validation', 'date_cassation', 'date_remboursement', 'id_demande', 'duree_mois', 'taxe', '', 'date_fin', 'date_cassation', 'id_user', 'id_network', 'user', 'partiellement_rembourse', 'user_phone', 'interet', 'date_remboursement_prevu', 'date_remboursement', 'id_wallet_agent', 'retrait_cash', 'codeParrain', 'agent', 'montant_rembourse', ''])).map((element, i) => ( + Object.keys(omit(item, ['id', 'id_epargne', 'montant_retire', 'type', 'date_demande', 'date_fin', 'date_remboursement_prevu', 'date_validation', 'date_cassation', 'date_remboursement', 'id_demande', 'duree_mois', 'taxe', 'date_fin', 'date_cassation', 'id_user', 'id_network', 'user', 'partiellement_rembourse', 'user_phone', 'interet', 'date_remboursement_prevu', 'date_remboursement', 'id_wallet_agent', 'retrait_cash', 'codeParrain', 'agent', 'montant_rembourse', ''])).map((element, i) => ( diff --git a/screens/nano-credit/EpargnerArgentUser.js b/screens/nano-credit/EpargnerArgentUser.js index 31eb6980..8c5d496e 100644 --- a/screens/nano-credit/EpargnerArgentUser.js +++ b/screens/nano-credit/EpargnerArgentUser.js @@ -352,10 +352,10 @@ class EpargnerArgentUser extends Component { this.setState({durationSelect: value}); }} valueExtractor={(value) => { - return I18n.t(value.value) + return (value.value) }} labelExtractor={(value) => { - return I18n.t(value.value) + return (value.value) }} /> diff --git a/screens/nano-credit/RefundNanoCreditUser.js b/screens/nano-credit/RefundNanoCreditUser.js index d5d9a2ae..daf3bce0 100644 --- a/screens/nano-credit/RefundNanoCreditUser.js +++ b/screens/nano-credit/RefundNanoCreditUser.js @@ -405,7 +405,7 @@ class RefundNanoCreditUser extends Component { this.setState({displayModalHistory: true, historyItemDetail: item}) }} style={[styles.contentService, {borderBottomColor: Color.primaryColor}]}> { - Object.keys(omit(item, ['id', 'id_demande', 'agent', 'retrait_cash', 'date_remboursement_prevu', 'taxe', 'date_validation', 'duree_mois', 'interet', 'montant_rembourse', 'partiellement_rembourse',])).map((element, i) => ( + Object.keys(omit(item, ['id', 'id_demande', 'type_caution', 'agent', 'retrait_cash', 'date_remboursement_prevu', 'taxe', 'date_validation', 'duree_mois', 'interet', 'montant_rembourse', 'partiellement_rembourse',])).map((element, i) => ( diff --git a/screens/optionMenu/OptionsMenu.js b/screens/optionMenu/OptionsMenu.js index c73d0364..daed13ab 100644 --- a/screens/optionMenu/OptionsMenu.js +++ b/screens/optionMenu/OptionsMenu.js @@ -271,7 +271,7 @@ export default class OptionsMenu extends Component { || item === 'envoieCashVersAutreWalletAgent' || item === 'retraitCarteVersCashUser' || item === 'envoiCashVersCashAgent' || item === 'envoieCashVersCashAgent' || item === 'envoieCashVersCarteAgent' || item === 'modifyIdentificationUser' || item === 'createGroupNanoCredit' || item === 'groupNanoCredit' || item === 'demandeValidationGroupe' || item === 'adhererGroupNanoCredit' || item === 'myNanoCreditGroup' || item === 'askNanoCredit' || item === 'refundNanoCreditUser' || item === 'cautionNanoCreditAgent' - || item === 'epargnerArgentUser' || item === 'askNanoCredit' || item === 'casserEpargneUser' || item === 'envoieWalletToBankAgent') { + || item === 'epargnerArgentUser' || item === 'askNanoCredit' || item === 'casserEpargneUser' || item === 'envoieWalletToBankAgent' || item === 'reattachAccountUser') { return null } else { const color = this.state.currentId === item.id ? theme.accent : "grey" diff --git a/screens/wallet/WalletDetail.js b/screens/wallet/WalletDetail.js index 7372ff0a..07991f52 100644 --- a/screens/wallet/WalletDetail.js +++ b/screens/wallet/WalletDetail.js @@ -59,7 +59,6 @@ import { } from '../../webservice/WalletTransactionHistoryApi'; import {resetCommissionReducer, transferCommissionAction} from '../../webservice/WalletTransferCommission'; import {readUser} from '../../webservice/AuthApi'; -import {store} from "../../redux/store"; let moment = require('moment-timezone'); const thousands = require('thousands'); @@ -110,42 +109,51 @@ class WalletDetail extends Component { this.currentLocale = I18n.locale.includes("fr") ? "fr" : "en-gb"; moment.locale(this.currentLocale); - if (this.isHomeRootView) { - let agentId = this.props.navigation.state.params.agentId; - this.props.getWalletDetailActivated(agentId, true); - this.props.getHyperSuperTransactionHistoryReset(); - } else { - this.props.getWalletDetailActivated(this.props.navigation.state.params.wallet.id, false); - if (isIlinkWorldWallet(this.props.navigation.state.params.wallet.type)) - this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, true); - else - this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, false); - } readUser().then((user) => { - if (user !== null && user !== undefined) { - if (user.category !== undefined) { - switch (user.category) { - case "super": - this.props.getHyperSuperTransactionHistoryAction(user.code_membre, false); - break; - case "hyper": - this.props.getHyperSuperTransactionHistoryAction(user.network_id, true); - break; + if (user) { + if (user !== undefined) { + if (user.category !== undefined) { + if (user.category === "super" || user.category === "hyper") { + let agentId = this.props.navigation.state.params.agentId; + this.props.getWalletDetailActivated(agentId, true); + this.props.getHyperSuperTransactionHistoryReset(); + } + if (user.category === "geolocated") { + this.props.getWalletDetailActivated(this.props.navigation.state.params.wallet.id, false); + if (isIlinkWorldWallet(this.props.navigation.state.params.wallet.type)) + this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, true); + else + this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, false); + } } - this.setState({}); } } }); + /* if (this.isHomeRootView) { + let agentId = this.props.navigation.state.params.agentId; + this.props.getWalletDetailActivated(agentId, true); + this.props.getHyperSuperTransactionHistoryReset(); + } else { + this.props.getWalletDetailActivated(this.props.navigation.state.params.wallet.id, false); + if (isIlinkWorldWallet(this.props.navigation.state.params.wallet.type)) + this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, true); + else + this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, false); + }*/ + + this.getWalletDetail(); + this.willFocus = this.props.navigation.addListener( 'willFocus', payload => { const {result} = this.props; - console.log("will focus"); + console.warn("will focus detail"); + this.getWalletDetail(); this.setState({ wallet: {currency_code: ''} - }, ()=>{ + }, () => { if (result !== null) { if (typeof result.response !== 'undefined') { const wallet = result.response[0]; @@ -175,6 +183,29 @@ class WalletDetail extends Component { } + getWalletDetail = () => { + readUser().then((user) => { + if (user) { + if (user !== undefined) { + if (user.category !== undefined) { + if (user.category === "super" || user.category === "hyper") { + let agentId = this.props.navigation.state.params.agentId; + this.props.getWalletDetailActivated(agentId, true); + this.props.getHyperSuperTransactionHistoryReset(); + } + if (user.category === "geolocated") { + this.props.getWalletDetailActivated(this.props.navigation.state.params.wallet.id, false); + if (isIlinkWorldWallet(this.props.navigation.state.params.wallet.type)) + this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, true); + else + this.props.getWalletTransactionHistory(this.props.navigation.state.params.wallet.id, false); + } + } + } + } + }); + }; + /* static options(passProps) { return { @@ -1348,7 +1379,7 @@ class WalletDetail extends Component { - {I18n.t('DEPOSIT_DESCRIPTION')} + {/*I18n.t('DEPOSIT_DESCRIPTION')*/} @@ -1396,7 +1427,7 @@ class WalletDetail extends Component { - {I18n.t('WITHDRAWAL_DESCRIPTION')} + {/*I18n.t('WITHDRAWAL_DESCRIPTION')*/} diff --git a/screens/wallet/WalletDetailUser.js b/screens/wallet/WalletDetailUser.js index 717713e7..74d315c2 100644 --- a/screens/wallet/WalletDetailUser.js +++ b/screens/wallet/WalletDetailUser.js @@ -48,6 +48,7 @@ import { isEmptyObject, optionDepotUserScreen, optionIdentificationUserScreen, + optionLinkAccountUserScreen, optionNanoCreditScreen, optionPaiementFacture, optionRetraitUserScreen, @@ -102,34 +103,16 @@ class WalletDetailUser extends Component { this.props.depositActionReset(); this.props.resetWalletListDetailReducer(); - this.props.getWalletDetailActivated(this.props.navigation.state.params.userId, null); this.props.getUserIdentificationResetAction(); + console.warn("Wallet User Props", this.props); - readUser().then((user) => { - console.log("WIIL FOCUS CALL 1"); - if (user) { - if (user !== undefined) { - this.setState({user}); - this.props.getUserIdentificationAction(user.phone); - this.props.getWalletTransactionHistoryUser(user.id); - } - } - }); + this.getWalletDetail(); this.willFocus = this.props.navigation.addListener( 'willFocus', payload => { - console.log("WIIL FOCUS CALL 2"); - readUser().then((user) => { - if (user) { - if (user !== undefined) { - this.setState({user}); - this.props.getWalletTransactionHistoryUser(user.id); - } - } - }); + this.getWalletDetail(); }); - } static navigatorStyle = { @@ -159,6 +142,19 @@ class WalletDetailUser extends Component { } }; + getWalletDetail = () => { + this.props.getWalletDetailActivated(this.props.navigation.state.params.userId, null); + readUser().then((user) => { + if (user) { + if (user !== undefined) { + this.setState({user}); + this.props.getUserIdentificationAction(user.phone); + this.props.getWalletTransactionHistoryUser(user.id); + } + } + }); + }; + componentDidMount() { const {result, resultUserIdentification, errorUserIdentification} = this.props; @@ -298,12 +294,22 @@ class WalletDetailUser extends Component { }} primary onPress={() => { - this.props.navigation.push(route.linkCard); + this.props.navigation.push(route.walletOptionSelect, { + optionSelect: optionLinkAccountUserScreen, + lottie: { + source: require("./../../datas/json/link_card.json"), + loop: true + }, + isIdentified: this.props.resultUserIdentification.response.isIdentified + }); }}> -  {I18n.t('LINK_CARD')} +  {I18n.t('LINK_CARD_REATTACH')} } primary - style={{width: 110, borderTopLeftRadius: 0, borderBottomLeftRadius: 0,}}> + style={{width: 110, borderTopLeftRadius: 0, borderBottomLeftRadius: 0,}} + onPress={() => { + this._scrollView.scrollToEnd(); + }}>   {I18n.t('HISTORY')} diff --git a/screens/wallet/WalletOptionSelect.js b/screens/wallet/WalletOptionSelect.js index 1e346db7..d2b8415c 100644 --- a/screens/wallet/WalletOptionSelect.js +++ b/screens/wallet/WalletOptionSelect.js @@ -45,6 +45,9 @@ import Dialog from "react-native-dialog"; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {responsiveWidth} from 'react-native-responsive-dimensions'; +import {getWalletDetailActivated} from "../../webservice/WalletApi"; +import {getWalletTransactionHistoryUser} from "../../webservice/WalletTransactionHistoryApi"; +import {getUserIdentificationAction} from "../../webservice/IdentificationApi"; const route = require('./../../route.json'); let slugify = require('slugify'); @@ -99,6 +102,10 @@ class WalletOptionSelect extends Component { if (user.category === undefined) { this.props.getNanoCreditAccountAction(user.id); this.props.getNanoCreditUserHistoryAction(user.id, true); + //refresh wallet + this.props.getWalletDetailActivated(user.id, null); + this.props.getUserIdentificationAction(user.phone); + this.props.getWalletTransactionHistoryUser(user.id); } else { if (user.category === 'geolocated') this.props.getNanoCreditUserHistoryAction(this.state.wallet.id, false); @@ -152,6 +159,7 @@ class WalletOptionSelect extends Component { } redirectToRoute = (optionsParam) => { + console.warn("Wallet Select Props", optionsParam); if (optionsParam.hasOwnProperty('hasSubMenu')) { @@ -172,7 +180,6 @@ class WalletOptionSelect extends Component { this.props.navigation.push(optionsParam.subMenuOption[buttonIndex].screen); }, ); - console.log(this.props); } else { switch (this.state.type) { case 'FACTURE': @@ -215,9 +222,8 @@ class WalletOptionSelect extends Component { onGoBack: () => this.props.navigation.state.params.onGoBack(), }); break; - default: - this.props.navigation.push(optionsParam.screen) + this.props.navigation.push(optionsParam.screen); break; } } @@ -272,7 +278,9 @@ class WalletOptionSelect extends Component { displayToast(I18n.t('NOT_YET_IDENTIFY')); else this.redirectToRoute(options); - } + } else + this.redirectToRoute(options); + } else this.redirectToRoute(options); @@ -1026,7 +1034,11 @@ const mapDispatchToProps = dispatch => bindActionCreators({ getNanoCreditAccountReset, getNanoCreditUserHistoryAction, - getNanoCreditUserHistoryReset + getNanoCreditUserHistoryReset, + + getWalletDetailActivated, + getUserIdentificationAction, + getWalletTransactionHistoryUser }, dispatch); export default connect(mapStateToProps, mapDispatchToProps)(connectActionSheet(WalletOptionSelect)); diff --git a/screens/wallet/user/ReattachAccountUser.js b/screens/wallet/user/ReattachAccountUser.js new file mode 100644 index 00000000..377d39fd --- /dev/null +++ b/screens/wallet/user/ReattachAccountUser.js @@ -0,0 +1,419 @@ +import Button from 'apsl-react-native-button'; +import isEqual from 'lodash/isEqual'; +import isNil from 'lodash/isNil'; +import React, {Component} from 'react'; +import {Alert, ScrollView, StyleSheet, Text, View} from 'react-native'; +import * as Animatable from 'react-native-animatable'; +import I18n from 'react-native-i18n'; +import {responsiveHeight, responsiveWidth} from 'react-native-responsive-dimensions'; +import {ProgressDialog} from 'react-native-simple-dialogs'; +import {Fumi} from 'react-native-textinput-effects'; +import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome'; +import {connect} from 'react-redux'; +import {bindActionCreators} from 'redux'; +import {Color} from '../../../config/Color'; +import {FontWeight, Typography} from '../../../config/typography'; +import {store} from "../../../redux/store"; +import {readUser} from '../../../webservice/AuthApi'; +import {isNormalInteger} from '../../../utils/UtilsFunction'; +import {askNanoCreditAction, getNanoCreditDemandDurationAction} from '../../../webservice/NanoCreditApi'; +import {Dropdown} from 'react-native-material-dropdown'; +import { + getIlinkBankAction, + getIlinkBankReset, + reattachAccountAction, + reattachAccountReset +} from "../../../webservice/WalletApi"; + +let theme = require('../../../utils/theme.json'); +let route = require('../../../route.json'); + + +class ReattachAccountUser extends Component { + + static navigatorStyle = { + navBarBackgroundColor: Color.primaryColor, + statusBarColor: Color.primaryDarkColor, + navBarTextColor: '#FFFFFF', + navBarButtonColor: '#FFFFFF' + + }; + + static navigationOptions = () => { + return { + drawerLabel: () => null, + headerTitle: I18n.t('REATTACH_CARD'), + headerTintColor: 'white', + headerStyle: { + backgroundColor: Color.primaryColor, + marginTop: 0, + color: 'white' + }, + headerTitleStyle: { + color: "white" + }, + title: I18n.t('REATTACH_CARD') + } + }; + + constructor(props) { + super(props); + this.state = { + codeGroupe: null, + codeSponsor: null, + nomGroupe: null, + user: null, + iban: null, + bankToSend: null, + ilinkBanks: [], + bankSelect: null, + triggerSubmitClick: false, + hasLoadBank: false, + modalVisible: false, + isSubmitClick: false, + isDataSubmit: false, + isModalConfirmVisible: false, + wallet: store.getState().walletDetailReducer.result.response + }; + + this.props.getIlinkBankReset(); + this.props.getIlinkBankAction(this.state.wallet.id_wallet_network); + + } + + componentDidMount() { + + readUser().then((user) => { + if (user) { + if (user !== undefined) { + this.setState({user}); + } + } + }); + + } + + ckeckIfFieldIsOK(champ) { + return (isNil(champ) || isEqual(champ.length, 0)); + } + + isMontantValid = () => { + const {montant} = this.state; + if ((parseInt(isEqual(montant, 0)) || montant < 0)) + return { + errorMessage: I18n.t('ENTER_AMOUNT_SUPERIOR_ZEROR'), + isValid: false + }; + + else if (!isNormalInteger(montant)) + return { + errorMessage: I18n.t('ENTER_VALID_AMOUNT'), + isValid: false + }; + + + else if (montant > parseInt(this.state.comptePrincipal)) + return { + errorMessage: I18n.t('AMOUNT_SUPERIOR_TO_PRINCIPAL_ACCOUNT'), + isValid: false + }; + + else + return { + errorMessage: '', + isValid: true + }; + } + + renderIlinkBankList = () => { + const {resultGetBank, errorGetBank} = this.props; + if (resultGetBank !== null) { + if (typeof resultGetBank.response !== 'undefined') { + if (resultGetBank.response.length > 0) { + this.setState({ + hasLoadBank: true, + ilinkBanks: resultGetBank.response, + bankSelect: resultGetBank.response[0].bank_name + " - " + resultGetBank.response[0].bank_address, + bankToSend: resultGetBank.response[0], + modalVisible: false + }); + } else if (resultGetBank.response.length === 0) { + this.setState({ + hasLoadBank: true, + ilinkBanks: [], + bankSelect: '', + bankToSend: null, + modalVisible: false + }); + } + } + } + + if (errorGetBank !== null) { + if (typeof errorGetBank.data !== 'undefined') { + Alert.alert( + I18n.t('ERROR_LABEL'), + errorGetBank.data.error, + [ + { + text: I18n.t("OK"), onPress: () => { + this.props.getIlinkBankReset(); + } + } + + ], + {cancelable: false} + ) + } else { + Alert.alert( + I18n.t('ERROR_LABEL'), + JSON.stringify(errorGetBank), + [ + { + text: I18n.t("OK"), onPress: () => { + this.props.getIlinkBankReset(); + } + } + + ], + {cancelable: false} + ) + } + } + } + + + renderReattachAccountResponse = () => { + + const {result, error} = this.props; + + if (error !== null) { + if (typeof error.data !== 'undefined') { + Alert.alert( + I18n.t("ERROR_LABLE"), + error.data.error, + [ + { + text: I18n.t("OK"), onPress: () => { + this.props.reattachAccountReset(); + } + } + ], + {cancelable: false} + ) + } + } + + if (result !== null) { + if (result.response !== null) { + Alert.alert( + I18n.t("DEMAND_SEND"), + result.response, + [ + { + text: I18n.t("OK"), onPress: () => { + this.props.reattachAccountReset(); + //IlinkEmitter.emit("treatNanoGroupDemand"); + this.props.navigation.pop(); + } + } + + ], + {cancelable: false} + ) + } + } + } + + updateLangue() { + this.props.navigation.setParams({name: I18n.t('DEPOSIT_TO_CARD')}) + this.forceUpdate() + } + + + onSubmitSendWalletToCard = () => { + const {iban, bankSelect} = this.state; + + if (this.ckeckIfFieldIsOK(bankSelect)) + this.listBankAnim.shake(800); + else if (this.ckeckIfFieldIsOK(iban)) + this.ibanAnim.shake(800); + else { + console.warn("Code Iban", this.state.iban); + console.warn("Bank", this.state.bankToSend); + + this.props.reattachAccountAction({ + iban: this.state.iban, + id_bank: this.state.bankToSend.id_bank, + id_wallet_network: this.state.wallet.id_wallet_network, + id_user: this.state.user.id + }); + + } + this.setState({ + isDataSubmit: true + }); + } + + + renderLoader = () => { + return ( + + ) + } + + render() { + console.log(this.state); + return ( + <> + {(this.props.loading || this.props.loadingGetBank) && this.renderLoader()} + {this.state.isDataSubmit && this.renderReattachAccountResponse()} + {!this.state.hasLoadBank && this.renderIlinkBankList()} + + + {I18n.t('FILL_INFORMATION')} + + { + this.listBankAnim = comp + }} + style={{ + width: responsiveWidth(90), + height: 60, + marginTop: 20, + alignSelf: 'center', + borderRadius: 10, + paddingLeft: 20, + paddingRight: 20, + backgroundColor: 'white' + }}> + { + console.log(value); + this.setState({ + bankSelect: value.bank_name + " - " + value.bank_address, + bankToSend: value + }); + }} + valueExtractor={(value) => { + return value + }} + labelExtractor={(value) => { + return value.bank_name + " - " + value.bank_address + }} + /> + + + { + this.ibanAnim = comp + }}> + { + this.setState({iban}) + }} + style={styles.input} + > + + + + + + + ) + } +} + +const maptStateToProps = state => ({ + loadingGetBank: state.getIlinkBankReducer.loading, + resultGetBank: state.getIlinkBankReducer.result, + errorGetBank: state.getIlinkBankReducer.error, + + loading: state.reattachAccountReducer.loading, + result: state.reattachAccountReducer.result, + error: state.reattachAccountReducer.error, +}); + +const mapDispatchToProps = dispatch => bindActionCreators({ + + getIlinkBankAction, + getIlinkBankReset, + + reattachAccountAction, + reattachAccountReset, + + askNanoCreditAction, + + getNanoCreditDemandDurationAction, + +}, dispatch); + +export default connect(maptStateToProps, mapDispatchToProps)(ReattachAccountUser); + +const styles = StyleSheet.create({ + container: { + flex: 1, + backgroundColor: Color.primaryDarkColor, + }, + textbtnvalide: { + color: 'white', + fontWeight: 'bold' + }, + bigtitle: { + color: 'white', + fontSize: 20, + flex: 1, + fontWeight: 'bold', + textAlign: 'center', + margin: 20, + }, + blockView: { + paddingVertical: 10, + borderBottomWidth: 1 + }, + subbigtitle: { + color: 'white', + fontSize: 17, + textAlign: 'center', + margin: 5, + }, + btnvalide: { + marginTop: 20, + marginLeft: 20, + marginRight: 20, + borderColor: 'transparent', + backgroundColor: Color.accentLightColor, + height: 52 + }, + btnSubmit: { + marginTop: 20, + borderColor: 'transparent', + backgroundColor: Color.accentLightColor, + height: 52, + width: "30%", + marginLeft: 20, + marginRight: 20, + }, + input: { + height: 60, + marginTop: responsiveHeight(2), + marginLeft: responsiveWidth(5), + marginRight: responsiveWidth(5), + borderRadius: 5, + } +}); \ No newline at end of file diff --git a/utils/UtilsFunction.js b/utils/UtilsFunction.js index 17300eab..f3ebf837 100644 --- a/utils/UtilsFunction.js +++ b/utils/UtilsFunction.js @@ -225,10 +225,10 @@ export const transactionHistoryIlinkLabel = () => { } export const nanoCreditHistoryLabel = () => { return [ - { - icon: 'arrow-expand', - label: 'HISTORY_TYPE' - }, + /* { + icon: 'arrow-expand', + label: 'HISTORY_TYPE' + },*/ { icon: 'inbox-arrow-up', label: 'ETAT' @@ -405,7 +405,7 @@ export const optionDepotUserScreen = { subScreenOption: optionWalletToBank }, ] -} +}; export const optionIdentificationScreen = { type: 'IDENTIFICATION', @@ -423,7 +423,7 @@ export const optionIdentificationScreen = { title: 'VALIDATE_IDENTIFICATION_DESCRIPTION', }, ] -} +}; export const optionIdentificationUserScreen = { type: 'IDENTIFICATION', @@ -441,7 +441,25 @@ export const optionIdentificationUserScreen = { title: 'MODIFY_IDENTIFICATION', }, ] -} +}; + +export const optionLinkAccountUserScreen = { + type: 'LINK_CARD', + title: 'LINK_CARD_REATTACH', + subTitle: 'CHOOSE_OPTION', + options: [ + { + screen: route.linkCard, + icon: 'link', + title: 'LINK_CARD', + }, + { + screen: route.reattachAccountUser, + icon: 'card', + title: 'REATTACH_CARD', + }, + ] +}; export const optionNanoCreditScreen = { type: 'NANO_CREDIT', diff --git a/utils/i18n/en.json b/utils/i18n/en.json index e348c02c..d1ee4949 100644 --- a/utils/i18n/en.json +++ b/utils/i18n/en.json @@ -36,6 +36,7 @@ "MY_ACCOUNT": "My account", "WALLET": "Wallet", "NO_BANK_AVAILABLE": "No bank available", + "BANK_LIST": "Bank list", "NO_OPERATOR_AVAILABLE": "No operator available", "ENTER_VALID_AMOUNT": "Enter a valid amount", "ENTER_AMOUNT_SUPERIOR_ZEROR": "Enter amount superior to zero", @@ -86,6 +87,8 @@ "DESTINATAIRE": "Recipient", "WITHDRAWAL": "Withdrawal", "LINK_CARD": "Link my card", + "LINK_CARD_REATTACH": "Link | Reattach", + "REATTACH_CARD": "Reattach my account", "HISTORY_SAVINGS": "Savings history", "HISTORY_CREDIT": "Credit history", "TRANSFER_IN_ACCOUNT": "Transfer in account", diff --git a/utils/i18n/fr.json b/utils/i18n/fr.json index cae54d16..4432e3dd 100644 --- a/utils/i18n/fr.json +++ b/utils/i18n/fr.json @@ -39,6 +39,7 @@ "DESTINATAIRE": "Destinataire", "ERROR_LABEL": "Erreur", "NO_BANK_AVAILABLE": "Aucune banque disponible", + "BANK_LIST": "Liste des banques", "NO_OPERATOR_AVAILABLE": "Aucun opérateur disponible", "DEPOSIT_SUCCESS": "Dépôt effectué avec succès", "SUCCESS": "Succès", @@ -92,6 +93,8 @@ "WALLET_TO_WALLET_SUCCESS_TRANSFER": "Transfert de wallet à wallet effectué avec succès", "WITHDRAWAL": "Retrait", "LINK_CARD": "Lier ma carte", + "LINK_CARD_REATTACH": "Lier | Rattacher", + "REATTACH_CARD": "Rattacher mon compte", "HISTORY_SAVINGS": "Historique des épargnes", "HISTORY_CREDIT": "Historique des crédits", "TRANSFER_IN_ACCOUNT": "Transfert dans le compte", @@ -180,7 +183,7 @@ "SAVE_MONEY": "Epargner de l'argent", "SAVE_MONEY_TYPE": "Type d'épargne", "REFUND_DONE": "Remboursement effectué", - "CAUTION_CREDIT": "Cautionner une demande de crédit", + "CAUTION_CREDIT": "Cautionner une demande", "CAUTIONNEMENT_DONE": "Cautionnement effectué", "ID_DEMAND": "Identifiant de la demande", "ID_SAVINGS": "Identifiant de l'épargne", diff --git a/webservice/IlinkConstants.js b/webservice/IlinkConstants.js index 986b2e79..ddeed37f 100644 --- a/webservice/IlinkConstants.js +++ b/webservice/IlinkConstants.js @@ -74,6 +74,8 @@ export const getBankUrl = testBaseUrl + '/walletService/wallets/users/operators/ export const getHistoryNanoPendingCreditUrl = testBaseUrl + '/walletService/groups/nanoCredit/demands_in_progress'; export const getHistoryEpargnePendingUrl = testBaseUrl + '/walletService/groups/nanoCredit/savings/demands_in_progress'; export const getOperatorListUrl = testBaseUrl + '/walletService/wallets/users/operators'; +export const getIlinkBankListUrl = testBaseUrl + '/walletService/wallets/users/banks_for_link'; +export const linkBankAccountUrl = testBaseUrl + '/walletService/wallets/users/link_bank_account'; export const payBillUrl = testBaseUrl + '/walletService/transactions/ilink'; export const authKeyUrl = testBaseUrl + '/oauth/token'; diff --git a/webservice/WalletApi.js b/webservice/WalletApi.js index 967461a6..947f4aae 100644 --- a/webservice/WalletApi.js +++ b/webservice/WalletApi.js @@ -1,6 +1,8 @@ import { commissionAmount, + getIlinkBankListUrl, getOperatorListUrl, + linkBankAccountUrl, linkCardUrl, payBillUrl, walletActionUrl, @@ -8,6 +10,10 @@ import { walletUserSimpleActionUrl } from "./IlinkConstants"; import { + fetchGetBankIlinkError, + fetchGetBankIlinkPending, + fetchGetBankIlinkReset, + fetchGetBankIlinkSuccess, fetchGetListOperatorError, fetchGetListOperatorPending, fetchGetListOperatorReset, @@ -20,6 +26,10 @@ import { fetchPayBillPending, fetchPayBillReset, fetchPayBillSuccess, + fetchReattachAccountError, + fetchReattachAccountPending, + fetchReattachAccountReset, + fetchReattachAccountSuccess, fetchWalleGetCommissionError, fetchWalletGetCommissionPending, fetchWalletGetCommissionSuccess, @@ -188,12 +198,12 @@ export const linkCardAction = (data, userID) => { dispatch(fetchLinkCardError(error.message)) }); } -} +}; export const linkCardReset = () => { return dispatch => { dispatch(fetchLinkCardReset()); } -} +}; export const getOperatorListAction = (typeOperator, idNetworkWallet) => { @@ -262,9 +272,83 @@ export const payBillAction = (data) => { dispatch(fetchPayBillError(error.message)) }); } -} +}; export const payBillReset = () => { return dispatch => { dispatch(fetchPayBillReset()); } -} \ No newline at end of file +}; + + +export const getIlinkBankAction = (idWalletNetwork) => { + + const auth = store.getState().authKeyReducer; + const authKey = auth !== null ? `${auth.authKey.token_type} ${auth.authKey.access_token}` : ''; + + return dispatch => { + dispatch(fetchGetBankIlinkPending()); + + axios({ + url: `${getIlinkBankListUrl}/${idWalletNetwork}`, + method: 'GET', + headers: { + 'Authorization': authKey, + 'X-Localization': I18n.currentLocale() + } + }) + .then(response => { + console.log(response); + dispatch(fetchGetBankIlinkSuccess(response)); + }) + .catch(error => { + if (error.response) + dispatch(fetchGetBankIlinkError(error.response)); + else if (error.request) + dispatch(fetchGetBankIlinkError(error.request)) + else + dispatch(fetchGetBankIlinkError(error.message)) + }); + } +}; +export const getIlinkBankReset = () => { + return dispatch => { + dispatch(fetchGetBankIlinkReset()); + } +}; + +export const reattachAccountAction = (data) => { + + const auth = store.getState().authKeyReducer; + const authKey = auth !== null ? `${auth.authKey.token_type} ${auth.authKey.access_token}` : ''; + + return dispatch => { + dispatch(fetchReattachAccountPending()); + + axios({ + url: `${linkBankAccountUrl}`, + data, + method: 'POST', + headers: { + 'Authorization': authKey, + 'X-Localization': I18n.currentLocale() + } + }) + .then(response => { + console.log(response); + dispatch(fetchReattachAccountSuccess(response)); + }) + .catch(error => { + if (error.response) + dispatch(fetchReattachAccountError(error.response)); + else if (error.request) + dispatch(fetchReattachAccountError(error.request)) + else + dispatch(fetchReattachAccountError(error.message)) + }); + } +}; +export const reattachAccountReset = () => { + return dispatch => { + dispatch(fetchReattachAccountReset()); + } +}; \ No newline at end of file