270?270:(0,E.responsiveHeight)(30)),$=(function(t){function n(t){var f;return(0,l.default)(this,n),(f=(0,s.default)(this,(0,u.default)(n).call(this,t,!0)))._draggedValue=new y.Animated.Value(0),f.renderIcon=function(t){return function(n){n.isActive;return p.default.createElement(L.default,{size:24,color:"white",name:t})}},f.openDrawer=function(){f.props.navigation.openDrawer()},f._retrieveData=function(){var t,n,l;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,o.default.awrap(y.AsyncStorage.getItem('position'));case 3:null!==(t=s.sent)&&((n=JSON.parse(t)).longitudeDelta=.04,n.latitudeDelta=.01,l=JSON.parse(t),f.setState({region:n,oldPosition:l})),s.next=10;break;case 7:s.prev=7,s.t0=s.catch(0),console.warn(s.t0);case 10:case"end":return s.stop()}},null,null,[[0,7]],Promise)},f._storeData=function(t){return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,o.default.awrap(y.AsyncStorage.setItem('position',JSON.stringify(t)));case 3:n.next=8;break;case 5:n.prev=5,n.t0=n.catch(0),console.warn(n.t0);case 8:case"end":return n.stop()}},null,null,[[0,5]],Promise)},f.backPressed=function(){return y.Alert.alert(R.default.t('EXIT_TITLE'),R.default.t('EXIT_DESC'),[{text:R.default.t('NO'),onPress:function(){return console.log('Cancel Pressed')},style:'cancel'},{text:R.default.t("YES"),onPress:function(){return y.BackHandler.exitApp()}}],{cancelable:!1}),!0},f.onMapReady=function(){(0,P.readUser)().then(function(t){if(t){f.setState({user:t}),f.setState({network:t.network});var n={latitude:parseFloat(t.latitude),longitude:parseFloat(t.longitude)};f.setState({myPosition:n}),f.refocusMap(!1),t.category?(f.setState({loadingDialog:!1}),"geolocated"!==t.category?f.showMyMembers():n.latitude<=0&&n.longitude<=0&&f.props.navigation.push(J.updateinfo)):'android'===y.Platform.OS?f.requestCameraPermission():(f.getPosition(),f.watchLocation())}}).catch(function(t){console.log("ERROR LOADING USER",t.message)})},f.renderRow=function(t){return p.default.createElement(y.TouchableOpacity,{key:t,onPress:function(){return f.onRowPress(t)}},p.default.createElement(y.View,{style:ae.rowContainer},p.default.createElement(y.View,{style:ae.iconContainer},p.default.createElement(L.default,{name:f.state.filternetworkTemp&&t.name===f.state.filternetworkTemp.name?'radio-button-checked':'radio-button-unchecked',color:f.state.filternetworkTemp&&t.name===f.state.filternetworkTemp.name?q.accent:f.props.colorAccent,size:24})),p.default.createElement(y.Text,{style:S.material.subheading},t.name)))},f.loadMoreIfHasNoPoint=function(){f.state.increasePas===f.filterOptions.length-1?(f.setState({increasePas:0,snack_visible:!0,snack_text_message:R.default.t('NO_NETWORK_MARKER'),isLoadingMap:!1}),setTimeout(function(){f.setState({snack_visible:!1})},5e3)):f.state.increasePas+1!==f.filterOptions.length&&f.setState({increasePas:f.state.increasePas+1,isLoadingMap:!0},function(){f.onLoadMore()})},f.state=f.geInitialState(),f.mounted=!1,f.filterOptions=[{value:5,label:"5 km"},{value:15,label:"15 km"},{value:20,label:"20 km"},{value:25,label:"25 km"}],L.default.getImageSource('md-car',24,'white').then(function(t){f.setState({caricon:t})}),f.makeMarkerInformation=f.makeMarkerInformation.bind((0,c.default)(f)),f}return(0,h.default)(n,t),(0,f.default)(n,[{key:"onLoadMore",value:function(){var t=this,n=this.state,l=n.user;n.prevRegion,n.boundarie;void 0!==l.category&&null!==l.category||(this.promiseRegion&&this.promiseRegion.done(),this.promiseRegion=new Promise(function(n,s){var u,c,f,h,p;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return t.setState({isNeedLoadMore:!1,isLoadingMap:!0}),s.next=3,o.default.awrap(t.mapRef.getCamera());case 3:if(u=s.sent,u.zoom-10,c=[],void 0!==t.state.filternetworkTemp&&(f=t.state.filternetworkTemp.id,c=t.state.networks.filter(function(t){return t.id===f})),!(c.length>0)){s.next=23;break}return t.setState({isLoadingMap:!1}),c[0],h={longitude:l.longitude,latitude:l.latitude},s.prev=11,s.next=14,o.default.awrap(t.loadingMarkers(t.state.myPosition,t.state.filternetwork,t.filterOptions[t.state.increasePas].value));case 14:p=s.sent,t.treatNewData(h,p,!1),s.next=21;break;case 18:s.prev=18,s.t0=s.catch(11),t.setState({isNeedLoadMore:!1,isLoadingMap:!1});case 21:s.next=24;break;case 23:t.setState({isNeedLoadMore:!0,isLoadingMap:!1});case 24:t.map&&t.map.focusToUser(),n();case 26:case"end":return s.stop()}},null,null,[[11,18]],Promise)}))}},{key:"onslidingEvent",value:function(t){this.setState({maxHeightSliding:t.nativeEvent.layout.height})}},{key:"componentDidMount",value:function(){var t=this;(0,P.readUser)().then(function(n){console.log("USER",n),n&&void 0!==n&&void 0!==n.phone&&t.props.getAuthApiKey(n.phone)}),this.mounted=!0,this.configuration=new N.default;var n=this.props.navigation;this.markerManager=new F.default,this.configuration.getCurrentPubValue().then(function(n){try{var o=parseInt(n);t.setState({isPubShow:o})}catch(t){}}),this.focusListener=n.addListener("didFocus",function(){t.configuration.getCurrentPasValue().then(function(n){try{t.setState({pas:parseInt(n)})}catch(t){}}),t.componentDidAppear()}),this.blurListener=n.addListener("didBlur",function(n){t.componentDidDisappear()}),this._retrieveData(),this.props.coordinate}},{key:"requestCameraPermission",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,o.default.awrap(y.PermissionsAndroid.request(y.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'Cool Photo App Camera Permission',message:"Cool Photo App needs access to your camera so you can take awesome pictures."}));case 3:n.sent===y.PermissionsAndroid.RESULTS.GRANTED&&(0,P.readUser)().then(function(n){if(n)if(void 0!==n.category&&null!==n.category){var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)},l={latitude:o.latitude,longitude:o.longitude,latitudeDelta:.03,longitudeDelta:.01};t.setState({myPosition:o}),t.mapRef.animateToCoordinate({latitude:o.latitude,longitude:o.longitude},1e3),t.mapRef.animateToRegion(l,1e3),t.setState({isLoading:!1,isLoadingMap:!1,loadingDialog:!1}),"geolocated"!==n.category?t.showMyMembers():o.latitude<=0&&o.longitude<=0&&t.props.navigation.push(J.updateinfo)}else t.getPosition(),t.watchLocation()}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),console.log(n.t0);case 10:case"end":return n.stop()}},null,null,[[0,7]],Promise)}},{key:"watchLocation",value:function(){var t=this;this.watchID=D.default.watchPosition(function(n){var o=t.state.myPosition,l=n.coords;t.state.oldPosition;o&&l.longitude===o.longitude&&l.latitude===o.latitude||(0!==l.longitude&&0!==l.latitude&&t._storeData(l),((0,C.default)(t.state.region,{})||(0,C.default)(t.state.region,void 0)||(0,C.default)(t.state.region,null))&&(t.state.myPosition.longitude||t.state.myPosition.latitude||null!==t.mapRef&&void 0!==t.mapRef&&(t.mapRef.animateToRegion({latitude:l.latitude,longitude:l.longitude,latitudeDelta:.03,longitudeDelta:.01},1e3),t.mapRef.animateCamera({center:t.myPosition,pitch:0,heading:0,altitude:0,zoom:12},1e3))),t.setState({region:{latitude:l.latitude,longitude:l.longitude,latitudeDelta:.003,longitudeDelta:.004}}),t.setState({myPosition:l}),t.map&&t.map.focusToUser())},function(t){return console.log("wat s",t)},X)}},{key:"getNetworks",value:function(t){var n=this;if(t)(0,P.getCountryNetwork)(t).then(function(o){n.reseaux=[];var l=o;for(var s in l)n.reseaux.push(l[s]);n.setState({networks:n.reseaux});var u=n.reseaux.filter(function(t){return t.name.includes(n.state.network)});void 0!==n.state.user.category&&null!==n.state.user.category||(u.length>0&&t?(n.setState({filternetwork:u[0],myNetwork:u[0],filternetworkTemp:u[0]}),n.retrieveAllPoint(t)):n.state.user&&(n.state.user.category||y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){null!==t&&void 0!==t?n.getNetworks(t):n.requestCameraPermission()}}],{cancelable:!1})))},function(o){y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){null!==t&&void 0!==t?n.getNetworks(t):n.requestCameraPermission()}}],{cancelable:!1})});else{console.log("get network missing pays");y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.requestCameraPermission()}}],{cancelable:!1})}}},{key:"getPosition",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log("on get position"),D.default.getCurrentPosition(function(o){var l=t.state.myPosition,s=o.coords;t.state.oldPosition;if(!(0,C.default)(s,l)&&0!==s.longitude&&0!==s.latitude||l){t.map&&t.map.focusToUser(),(0,b.getPositionInformation)(s).then(function(o){if(o)if(void 0!==o.results){if(o.results.length>0){var l=o.results[0],s=l.address_components,u=l.formatted_address,c=l.place_id;t.setState({address:s,textadress:u,place:c});for(var f,h,p=o.results,k=0;k=v.length)break;b=v[S++]}else{if((S=v.next()).done)break;b=S.value}var P=b;P.code===f&&(t.setState({indicatif:P.dial_code}),t.getNetworks(P.dial_code))}}}else console.log("on else result null "),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){t.getPosition(n)}}],{cancelable:!1});else y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){t.getPosition(n)}}],{cancelable:!1})});var u={latitude:s.latitude,longitude:s.longitude,latitudeDelta:.03,longitudeDelta:.01};t.setState({myPosition:s,region:u}),t.mapRef&&!t.state.myPositionIsAnimated&&(t.mapRef.animateCamera({center:s,pitch:0,heading:0,altitude:5,zoom:12},1e3),t.setState({myPositionIsAnimated:!0}))}else console.warn("errror")},function(n){switch(console.warn(n.message),n.code){case 3:t.state.oldPosition&&t.treatPosition(t.state.oldPosition);break;default:console.log("onjjj",n.message)}},X)}},{key:"componentDidDisappear",value:function(){y.BackHandler.removeEventListener('hardwareBackPress',this.backPressed)}},{key:"componentDidAppear",value:function(){var t=this;y.BackHandler.addEventListener('hardwareBackPress',this.backPressed),(0,P.readUser)().then(function(n){if(n&&n.category){t.setState({user:n}),t.setState({network:n.network});var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)};t.setState({myPosition:o}),t.refocusMap(!0)}})}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.blurListener.remove(),this.focusListener.remove(),this.watchID&&D.default.clearWatch(this.watchID)}}]),(0,f.default)(n,[{key:"makeCardSearch",value:function(){var t=this;if(!this.state.isPubShow)return p.default.createElement(y.View,{style:ae.topBar},p.default.createElement(V.Surface,{style:{elevation:4,borderRadius:10}},p.default.createElement(y.View,{style:{flexDirection:'row',alignSelf:'center',justifyContent:'center',flex:1,borderRadius:10,margin:10,alignItems:'center',height:48}},p.default.createElement(y.TouchableOpacity,{onPress:function(){return t.openDrawer()}},p.default.createElement(y.Text,{style:ae.hambuger},"Menu")),p.default.createElement(y.View,{style:{flex:1}}),p.default.createElement(y.Text,{style:{backgroundColor:this.state.myNetwork.id===this.state.filternetwork.id?q.primary:q.accent,padding:5,color:"white",marginRight:10,fontSize:10,borderRadius:12}},this.state.filternetwork.name?this.state.filternetwork.name:this.state.network),this.renderSupplementInformation()),this.showLoadingMapView()))}},{key:"renderSupplementInformation",value:function(){var t=this;return this.state.user&&"geolocated"===this.state.user.category?p.default.createElement(y.View,null):p.default.createElement(y.View,{style:{flexDirection:"row"}},p.default.createElement(y.View,{style:{backgroundColor:"#FFFFFFA0",justifyContent:'center',alignItems:'center',alignSelf:'center'}},p.default.createElement(y.Text,null,this.state.markers.length+" "+(0===this.state.currentNetworkSize?"":"/"+this.state.currentNetworkSize)," ")),p.default.createElement(y.TouchableOpacity,{onPress:function(){t.setState({page:t.state.page+1}),t.onLoadMore()},style:{borderRadius:12,height:32,width:32,backgroundColor:"white",borderColor:"transparent"}},p.default.createElement(L.default,{name:this.state.markers.length>=this.state.currentNetworkSize?"close":"refresh",size:32,color:this.state.markers.length>=this.state.currentNetworkSize?"red":"grey"})))}},{key:"_renderMarker2",value:function(){var t=this,n=this.state,o=n.currentMarker,l=n.myPosition,s=o,u={latitude:parseFloat(o.latitude),longitude:parseFloat(o.longitude)},c=G.getDistance(l,u),f=(c>900?c/1e3+" Km":c+"m")+R.default.t('TO_YOU'),h=null===s.lastname?s.adresse:s.lastname;return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"white"}},p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center',backgroundColor:"white"}},p.default.createElement(y.Text,{style:te.title},h),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",onPress:function(){t.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:te.subtitle2},s.adresse),p.default.createElement(y.View,{style:{flexDirection:"row",alignItems:"center"}},p.default.createElement(y.Text,{style:te.reseau},s.network),p.default.createElement(y.Text,{style:te.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:te.reseau},f),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return t.callItem(s)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}},{key:"_renderItemMarkerdetails",value:function(t){var n=this,o=t;if(void 0!==o&&null!==o){var l=this.state,s=l.currentMarker,u=l.myPosition,c={latitude:parseFloat(s.latitude),longitude:parseFloat(s.longitude)},f=G.getDistance(u,c),h=(f>900?f/1e3+" Km":f+"m")+R.default.t('TO_YOU'),k=null===o.lastname?o.adresse:o.lastname;return p.default.createElement(v.CardView,{style:te.container,cardElevation:2,cardMaxElevation:2,cornerRadius:5},p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center'}},p.default.createElement(y.Text,{style:te.title},k),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",onPress:function(){n.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:te.subtitle2},o.adresse),p.default.createElement(y.View,{style:{flexDirection:"row",alignItems:"center"}},p.default.createElement(y.Text,{style:te.reseau},o.network),p.default.createElement(y.Text,{style:te.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:te.reseau},h),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return n.callItem(o)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}}},{key:"renderCurrentMarker",value:function(t){var n=this;if(t)return p.default.createElement(y.View,null,p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center'}},p.default.createElement(y.Text,{style:te.title},name),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",on:!0,dPress:function(){n.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:te.title},t.adresse),p.default.createElement(y.View,{style:{flexDirection:"row"}},p.default.createElement(y.Text,{style:te.reseau},t.network),p.default.createElement(y.Text,{style:te.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:te.reseau},distanceTxt),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return n.callItem(t)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}},{key:"callItem",value:function(t){var n={number:t.phone,prompt:!1};(0,A.default)(n).catch(function(t){return console.log(t)})}},{key:"makeMarkerInformation",value:function(){var t=this.state,n=t.currentMarker;t.myPosition;return void 0!==n&&null!==n?this._renderItemMarkerdetails(n):p.default.createElement(y.Text,null,"Impossible de'afficher l'element")}},{key:"makeActionButon",value:function(){var t=this.state.user;if(t)switch(t.category){case"super":return this.getSuperActionButton();case"geolocated":return this.geoLocatedAction();case"hyper":return this.getHypervisorActionButton();default:return this.getSimpleActionButton()}}},{key:"getSuperActionButton",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:q.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("MY_GROUP"),onPress:function(){return t.showMyMembers()},size:48},p.default.createElement(L.default,{name:"group-work",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:q.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:ae.actionButtonIcon})))}},{key:"getSimpleActionButton",value:function(){var t=this;return p.default.createElement(w.default,{ref:function(n){return t.actionButton=n}},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("FILTER"),onPress:function(){return t.showFilterDialog()},size:48},p.default.createElement(L.default,{name:"filter-list",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#9b59b6",title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("PRINT_MY_NETWORK"),size:48,onPress:function(){t.showMynetworkMap()}},p.default.createElement(L.default,{name:"group-work",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("CHANGE_NETWORK"),size:48,onPress:function(){t.showNewDialogNetwork()}},p.default.createElement(L.default,{name:"rss-feed",style:ae.actionButtonIcon})))}},{key:"toggleSlidingUp",value:function(t){var n=this;t&&this.bottomSheetRef?(this.bottomSheetRef.snapTo(1),this.setState({showcurentMarker:t})):t||this.bottomSheetRef.snapTo(0);var o=t?Z:0,l=t?0:Z;this.setState({panelVisible:t}),!t&&this.state.needRoad&&this.setState({needRoad:!1}),this.state.animation.setValue(o),y.Animated.timing(this.state.animation,{toValue:l,duration:200}).start(function(o){!t&&n.map&&n.map.focusToUser()})}},{key:"makeSlidingUp",value:function(){var t=this;return p.default.createElement(z.default,{ref:function(n){t.bottomSheetRef=n},snapPoints:[0,"30%"],renderHeader:function(){return t.markerView()}})}},{key:"geInitialState",value:function(){return{region:{latitude:0,longitude:0,latitudeDelta:.015,longitudeDelta:.0121},pas:100,prevRegion:{latitude:0,longitude:0},increasePas:0,isPubShow:!0,loadingDialog:!0,textreach:"",currentNetworkSize:0,markersearchfilter:[],animation:new y.Animated.Value(0),myPosition:null,currentMarker:null,filterNetworkOption:Y[1],needRoad:!1,initialAnim:!1,filternetwork:{},destinationPosition:{},panelVisible:!1,markers:[],isNeedLoadMore:!1,isLoadingMap:!1,value:5,page:0,valuePosition:0,markerfilter:null,allpoint:[],typeMap:'standard',indexTypeMap:0,user:null,snack_visible:!1,snack_text_message:"",networks:[],dialogSliderVisible:!1,showProgress:!1,myNetwork:{},dialogNetworkVisible:!1,myPositionMarkerText:R.default.t("YOUR_THERE")}}},{key:"onMarkerPress",value:function(t){console.warn(t),this.setState({currentMarker:t}),this.toggleSlidingUp(!0)}},{key:"onMapTypeChange",value:function(){var t={index:this.state.indexTypeMap,text:this.state.typeMap};switch(t.index=t.index+1,t.index=t.index%3,t.index){default:t.text='standard';break;case 1:t.text='hybrid';break;case 2:t.text="terrain"}this.setState({indexTypeMap:t.index,typeMap:t.text})}},{key:"showInterticiel",value:function(){var t=this;if(this.state.isPubShow)return p.default.createElement(O.default,{closeIntersticiel:function(){return t.setState({isPubShow:!1})},navigation:this.props.navigation})}},{key:"renderBottomHome",value:function(){var t=this;return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"lightblue"}},p.default.createElement(k.default,{ref:function(n){t.map=n,null!=n&&(t.mapRef=n.getMapRef())},typeMap:this.state.typeMap,onMarkerClick:function(n){return t.onMarkerPress(n)},network:this.state.filternetwork,initialRegion:this.state.region,markers:this.state.markers,selectedMarker:this.state.currentMarker,myNetwork:this.state.myNetwork,lang:this.state.lang,myPosition:this.state.myPosition,onMapReady:function(){(0,P.readUser)().then(function(n){n&&(t.setState({user:n}),t.setState({network:n.network}),n.category?(t.setState({loadingDialog:!1}),"geolocated"!==n.category?t.showMyMembers():myPosition.latitude<=0&&myPosition.longitude<=0&&t.props.navigation.push(J.updateinfo)):'android'===y.Platform.OS?t.requestCameraPermission():t.watchLocation())})},needRoad:this.state.needRoad,onNeedRoadReady:function(n){t.setState({showProgress:!1})},onNeedRoadError:function(n){t.setState({showProgress:!1}),y.Alert.alert(R.default.t("PROBLEM_OCCUR"),R.default.t("PROBLEM_OCCUR_DIRECTION"),[{text:"Ok",onPress:function(){}}])}}),this.makeCardSearch(),p.default.createElement(z.default,{ref:function(n){t.bottomSheetRef=n},snapPoints:[60,"30%","100%"],renderHeader:function(){return t.renderHeader()}}))}},{key:"renderInner",value:function(){return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"green"}},p.default.createElement(y.Text,null,"Freud junior"))}},{key:"markerView",value:function(){if(this.state.currentMarker)return this._renderMarker2()}},{key:"renderHeader",value:function(){var t=this;return p.default.createElement(p.default.Fragment,null,p.default.createElement(y.View,{style:{position:"absolute",width:32,height:this.state.currentMarker?200:100,bottom:80,right:0,justifyContent:'center'}},p.default.createElement(w.default,{size:32,style:{marginRight:15},buttonColor:"white"}),p.default.createElement(w.default,{size:42,renderIcon:function(){return p.default.createElement(L.default,{name:"group-work",style:ae.actionButtonIcon})},style:{marginTop:40,marginRight:20},buttonColor:q.primary})),p.default.createElement(y.View,{style:{flex:1,backgroundColor:"white"}},this.markerView(),this.renderFilterMarker(),p.default.createElement(y.View,{style:{flexDirection:'row',height:60,justifyContent:'space-evenly',alignItems:'flex-end'}},p.default.createElement(y.View,{style:{flexDirection:'row',flex:1,marginBottom:10,justifyContent:'space-around',alignItems:'flex-end'}},p.default.createElement(V.FAB,{small:!0,icon:this.state.showFilterDistance?"close":"filter",color:q.primary,style:{backgroundColor:"white"},onPress:function(){t.state.showFilterDistance?(t.bottomSheetRef.snapTo(0),t.setState({showFilterDistance:!1})):(t.bottomSheetRef.snapTo(2),t.setState({showFilterDistance:!0}))}}),p.default.createElement(V.FAB,{small:!0,icon:"add",color:"white",style:{backgroundColor:q.primary},onPress:function(){t.bottomSheetRef.snapTo(2),t.setState({showdialogNetworkVisible:!0})}})),this.makeMarkerButton())))}},{key:"renderFilterMarker",value:function(){var t=this;if(this.state.showFilterDistance)return p.default.createElement(y.View,{style:{height:(0,E.responsiveHeight)(80),justifyContent:'center',backgroundColor:'white',margin:20}},p.default.createElement(y.View,{style:{height:(0,E.responsiveHeight)(30),justifyContent:'center'}},p.default.createElement(y.Text,null,R.default.t('TEXT_FILTER_DISTANCE')," "),p.default.createElement(M.default,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(n){return t.slidingComplete(n)}}),p.default.createElement(y.Text,null,p.default.createElement(y.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",R.default.t("DISTANCE_ARROUND"))),p.default.createElement(y.View,{style:{flexDirection:"row",flex:1}},p.default.createElement(x.default,{style:{flex:1}}),p.default.createElement(x.default,{style:{flex:1}})))}},{key:"makeMarkerButton",value:function(){var t=this;return this.state.currentMarker?p.default.createElement(y.View,{style:{flex:2,flexDirection:'row',justifyContent:'flex-end',marginEnd:20}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(26),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return t.callItem(marker)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))):p.default.createElement(y.View,{style:{flex:2,flexDirection:'row',justifyContent:'flex-end',marginEnd:20}})}},{key:"renderOldHome",value:function(){var t=this;return p.default.createElement(y.View,{style:ae.container},p.default.createElement(y.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!0}),this.state.loadingDialog||this.props.loading?p.default.createElement(y.View,{style:{position:"absolute",zIndex:1,backgroundColor:"#00000050",width:this.state.loadingDialog?(0,E.responsiveWidth)(100):0,height:this.state.loadingDialog?(0,E.responsiveHeight)(100):0,flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.Text,{style:{fontSize:20,color:'white',fontWeight:'bold'}},R.default.t("LOADING_DOTS"))):null,p.default.createElement(k.default,{ref:function(n){t.map=n,null!=n&&(t.mapRef=n.getMapRef())},typeMap:this.state.typeMap,onMarkerClick:function(n){return t.onMarkerPress(n)},network:this.state.filternetwork,initialRegion:this.state.region,markers:this.state.markers,selectedMarker:this.state.currentMarker,myNetwork:this.state.myNetwork,lang:this.state.lang,myPosition:this.state.myPosition,onMapReady:'android'===y.Platform.OS?this.onMapReady:null,onLayout:'ios'===y.Platform.OS?this.onMapReady:null,needRoad:this.state.needRoad,onNeedRoadReady:function(n){t.setState({showProgress:!1})},onNeedRoadError:function(n){t.setState({showProgress:!1}),y.Alert.alert(R.default.t("PROBLEM_OCCUR"),R.default.t("PROBLEM_OCCUR_DIRECTION"),[{text:"Ok",onPress:function(){}}])}}),this.makeCardSearch(),this.makeSlidingUp(),this.makeDialogLoader(),this.makeDistanceDialog(),this.makeNetworkChangeDialog(),p.default.createElement(B.default,{visible:this.state.snack_visible,textMessage:this.state.snack_text_message,autoHidingTime:5e3}),this.makeActionButon())}},{key:"renderTutoOldHome",value:function(){return p.default.createElement(y.View,{style:{flex:1}},p.default.createElement(CopilotStep,{text:"This is a hello world example!",order:1,name:"hello"},this.makeCardSearch()))}},{key:"render",value:function(){return this.renderOldHome()}},{key:"renderCurrentMarker",value:function(){if(this.state.currentMarker)return p.default.createElement(y.View,{style:{height:200,backgroundColor:'#fff'}},this.makeMarkerInformation())}},{key:"makeDialogLoader",value:function(){return p.default.createElement(_.ProgressDialog,{visible:this.state.showProgress,title:R.default.t("LOADING_PROGRESS"),message:R.default.t("WAITING_LONG"),animationType:"slide",activityIndicatorSize:"large",activityIndicatorColor:"blue"})}},{key:"showMynetworkMap",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=null===n?this.state.user:n,l=this.state.myNetwork;return this.setState({filternetwork:l,page:0,increasePas:0,filternetworkTemp:l,loadingDialog:!0}),new Promise(function(){void 0!==l?t.loadingMarkers(t.state.myPosition,l,t.state.value).then(function(n){var l=n||[];if(t.setState({loadingDialog:!1}),void 0!==o.category&&null!==o.category){var s=l.filter(function(t){return t.code_parrain===o.code_membre});t.treatNewData(t.state.myPosition,s,!0)}else t.treatNewData(t.state.myPosition,l,!0)}).catch(function(n){t.setState({loadingDialog:!1}),console.log("error j"),console.log(n)}):(t.setState({loadingDialog:!1}),console.log("error no net"))})}},{key:"showMyMembers",value:function(){var t=this,n=this.state.user.code_membre;void 0!==n?(0,b.loadGroupeAgent)(n).then(function(n){if(1===n.success)return t.setState({markers:n.datas})}):console.log("error")}},{key:"slidingComplete",value:function(t){this.setState({value:this.filterOptions[t].value,valuePosition:t})}},{key:"makeDistanceDialog",value:function(){var t=this;return p.default.createElement(I.MaterialDialog,{visible:this.state.dialogSliderVisible,title:R.default.t('MENU_FILTER'),onOk:function(){t.setState({dialogSliderVisible:!1,showProgress:!0}),setTimeout(function(){return t.filterPoint()},300)},cancelLabel:R.default.t("QUIT_"),okLabel:R.default.t('FILTER'),onCancel:function(){t.setState({dialogSliderVisible:!1})},onTouchOutside:function(){return t.setState({dialogSliderVisible:!1})}},p.default.createElement(y.Text,null,R.default.t('TEXT_FILTER_DISTANCE')," "),p.default.createElement(M.default,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(n){return t.slidingComplete(n)}}),p.default.createElement(y.Text,null,p.default.createElement(y.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",R.default.t("DISTANCE_ARROUND")))}},{key:"showFilterDialog",value:function(){this.setState({dialogSliderVisible:!0})}},{key:"filterPoint",value:function(){var t,n,l,s,u,c=this;return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=this.state,n=t.value,l=t.myPosition,t.user,s=t.filternetwork,void 0!==n?(this.setState({page:0}),1e3*n,u=this.state.networks.filter(function(t){return t.id===s.id}),u[0],this.loadingMarkers(l,s,n).then(function(t){c.treatNewData(c.state.prevRegion,t,!0)}).catch(function(t){c.setState({showProgress:!1}),y.Alert.alert(R.default.t("ERROR_FILTER"),R.default.t("ERROR_FILTER_TEXT"),[{text:R.default.t("CANCEL")},{text:R.default.t("RESTART"),onPress:function(){c.filterPoint()}}])})):(this.setState({showProgress:!1}),this.setState({snack_visible:!0,snack_text_message:"impossible de filtrer les \xe9lements"}),setTimeout(function(){c.setState({snack_visible:!1})},5e3));case 2:case"end":return o.stop()}},null,this,null,Promise)}},{key:"userChangeMarker",value:function(t){var n=this.state.markers[t];if(null!==this.mapRef&&void 0!==this.mapRef){var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude),latitudeDelta:.03,longitudeDelta:.01};this.mapRef.animateToCoordinate({latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)},1e3),this.mapRef.animateToRegion(o,1e3),console.log(n)}}},{key:"geoLocatedAction",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:q.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap()},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:q.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:ae.actionButtonIcon})))}},{key:"makeNetworkChangeDialog",value:function(){var t=this;return p.default.createElement(I.MaterialDialog,{title:R.default.t("CHOICE_NETWORK"),visible:this.state.dialogNetworkVisible,subtitle:R.default.t("CHOICE_NETWORK_TEXT"),onCancel:function(){return t.setState({dialogNetworkVisible:!1})},onOk:function(n){t.setState({dialogNetworkVisible:!1,page:0}),t.setState({showProgress:!0,filternetwork:t.state.filternetworkTemp}),setTimeout(function(){return t.showFilterNetwork()},500)}},p.default.createElement(y.FlatList,{style:{height:(0,E.responsiveHeight)(40)},data:this.state.networks,renderItem:function(n){var o=n.item;return t.renderRow(o)}}))}},{key:"onRowPress",value:function(t){this.setState({filternetworkTemp:t})}},{key:"showNewDialogNetwork",value:function(){this.setState({dialogNetworkVisible:!0})}},{key:"showFilterNetwork",value:function(){var t,n,l,s=this;return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=this.state,n=t.myPosition,t.user,void 0!==(l=t.filternetwork)?(this.setState({showProgress:!0}),this.loadingMarkers(this.state.myPosition,l,this.state.value,0).then(function(t){s.setState({showProgress:!1}),s.treatNewData(n,t,!0)}).catch(function(t){s.setState({snack_visible:!0,snack_text_message:"Probleme de connexion"}),console.log(t)})):console.log("error no net");case 2:case"end":return o.stop()}},null,this,null,Promise)}},{key:"showBtnItineraire",value:function(){var t=this;return p.default.createElement(x.default,{style:{backgroundColor:q.primary,width:(0,E.responsiveWidth)(30),height:36,borderRadius:100,marginLeft:5,borderColor:"transparent",justifyContent:'center'},onPress:function(){t.setState({needRoad:!0,showProgress:!0})}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"near-me",size:16,color:"white",style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'white',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("WAY"))))}},{key:"showBtnClose",value:function(){var t=this;return p.default.createElement(x.default,{style:{backgroundColor:q.reddeconnect,height:36,width:(0,E.responsiveWidth)(30),borderRadius:100,borderColor:"transparent",justifyContent:'center'},onPress:function(){t.setState({needRoad:!1,showProgress:!1})}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"close",size:16,color:"white",style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'white',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CANCEL"))))}},{key:"getHypervisorActionButton",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:q.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:q.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"map",style:ae.actionButtonIcon})))}},{key:"moveToMarker",value:function(t){this.mapRef.animateToCoordinate({latitude:parseFloat(t.latitude),longitude:parseFloat(t.longitude)},1e3),this.setState({textreach:t.lastname,texta:!0}),this.setState({markersearchfilter:[]}),this.onMarkerPress(t)}},{key:"refocusMap",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.mapRef&&void 0!==this.state.myPosition&&this.mapRef.animateCamera({center:{latitude:this.state.myPosition.latitude,longitude:this.state.myPosition.longitude},pitch:0,heading:0},1e3):this.mapRef&&void 0!==this.state.myPosition&&this.mapRef.animateCamera({center:{latitude:this.state.myPosition.latitude,longitude:this.state.myPosition.longitude},pitch:0,heading:0,altitude:5,zoom:12},1e3),this.map&&this.map.focusToUser()}},{key:"renderCardSeashItem",value:function(t){var n=this;return p.default.createElement(y.TouchableOpacity,{key:t.id,style:{margin:5},onPress:function(){n.moveToMarker(t)}},p.default.createElement(y.Text,{style:{flex:1,fontSize:14,color:"#000"}},null===t.firstname?t.adresse:t.firstname),p.default.createElement(y.Text,{style:{flex:1,fontSize:12}},t.lastname),p.default.createElement(y.Text,{style:{flex:1,fontSize:13,alignSelf:'flex-end',color:q.accent}},t.network))}},{key:"retrieveAllPoint",value:function(t){var n=this;(0,b.getMakersFrom)(t).then(function(o){new Promise(function(t,l){try{var s=o.datas;n.setState({allpoint:s,loadingDialog:!1}),t(s)}catch(t){console.warn(t.message),l(new Error(t.message))}}).then(function(t){n.onLoadMore()}).catch(function(o){n.setState({loadingDialog:!1}),console.log("on get marker"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.setState({loadingDialog:!0}),null!==t&&void 0!==t?n.retrieveAllPoint(t):n.requestCameraPermission()}}],{cancelable:!1})})}).catch(function(o){console.log("on retreive>getmarkers",o.message),n.setState({loadingDialog:!1}),n.state.allpoint.length<=0&&(console.log("no point"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.state.allpoint.length<=0&&(n.setState({loadingDialog:!0}),null!==t&&void 0!==t?n.retrieveAllPoint(t):n.requestCameraPermission())}}],{cancelable:!1}))})}},{key:"showLoadMoreView",value:function(){var t=this;if(this.state.isNeedLoadMore)return p.default.createElement(y.View,{style:{flex:1,flexDirection:'row',width:(0,E.responsiveWidth)(90)}},p.default.createElement(x.default,{onPress:function(){t.setState({page:t.state.page+1}),t.onLoadMore()},style:{borderRadius:48,height:48,width:48,backgroundColor:"white",borderColor:"transparent",alignItems:"center",justifyContent:"center"}},p.default.createElement(L.default,{name:"refresh",size:32})),p.default.createElement(y.View,{style:{backgroundColor:"#FFFFFFA0",width:(0,E.responsiveWidth)(20),height:30,borderRadius:12,justifyContent:'center',alignItems:'center',alignSelf:'center'}},p.default.createElement(y.Text,null,(this.state.markers.length,this.state.markers.length)," / ",this.state.currentNetworkSize," ")))}},{key:"showLoadingMapView",value:function(){if(this.state.isLoadingMap)return p.default.createElement(y.View,{style:{flexDirection:'row',margin:10,width:(0,E.responsiveWidth)(95),backgroundColor:'white',justifyContent:"center",alignSelf:"center"}},p.default.createElement(y.Text,{style:{fontSize:12,alignSelf:'center'}},R.default.t("LOADING_TEXT_MARKERS")+" "+this.filterOptions[this.state.increasePas].value+" km "+R.default.t("DISTANCE_ARROUND")),p.default.createElement(y.ProgressBarAndroid,{style:{alignSelf:'center'}}))}},{key:"loadingMarkers",value:function(t,n,o){var l=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return new Promise(function(u,c){var f=l.state.allpoint,h=void 0!==s?s:l.state.page,p=f.filter(function(l,s){var u={longitude:parseFloat(l.longitude),latitude:parseFloat(l.latitude)};return G.getDistance(t,u)<=1e3*o&&l.network===n.name}).slice(0,(h+1)*l.state.pas);try{var y=f.filter(function(l,s){var u={longitude:parseFloat(l.longitude),latitude:parseFloat(l.latitude)};return G.getDistance(t,u)<=1e3*o&&l.network===n.name});l.setState({currentNetworkSize:y.length,showProgress:!1,currentNetworkMarkers:y})}catch(t){console.debug("after "+t.message)}'geolocated'!==l.state.user.category&&'super'!==l.state.user.category&&'hyper'!==l.state.user.category&&0===p.length&&l.loadMoreIfHasNoPoint(),console.debug("data:",p,"value"+1e3*o),u(p)})}},{key:"treatNewData",value:function(t,n){var o=this,l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=n;if(n.length>0){var u=s;l&&this.setState({showProgress:!1}),u.length>0&&this.setState({markers:u,prevRegion:t}),s.length0){var o=n.results[0],l=o.address_components,u=o.formatted_address,c=o.place_id;s.setState({address:l,textadress:u,place:c});for(var f,h,p=n.results,k=0;k=v.length)break;b=v[S++]}else{if((S=v.next()).done)break;b=S.value}var P=b;P.code===f&&(s.setState({indicatif:P.dial_code}),s.getNetworks(P.dial_code))}}}else console.log("on treat 1"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1});else console.log("on treat 2"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1})}).catch(function(n){console.log("on treat 3"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1})}),l={latitude:t.latitude,longitude:t.longitude,latitudeDelta:.03,longitudeDelta:.01},this.setState({myPosition:t,region:l}),this.mapRef&&!this.state.myPositionIsAnimated&&(this.mapRef.animateCamera({center:t,pitch:0,heading:0,altitude:5,zoom:13},1e3),this.setState({myPositionIsAnimated:!0})));case 3:case"end":return o.stop()}},null,this,null,Promise)}}]),n})(T.default);$.navigationOptions=function(t){return{headerMode:"none",headerStyle:{display:'none'},header:null,drawerLabel:t.navigation.getParam("name",R.default.t('MAP')),drawerIcon:function(t){var n=t.tintColor;return p.default.createElement(L.default,{name:'map',size:24,color:n})}}},$.defaultProps={draggableRange:{top:(0,E.responsiveHeight)(30),bottom:0},panel:null};var ee=(0,W.connect)(function(t){return{loading:t.authKeyReducer.loading,authKey:t.authKeyReducer.authKey,error:t.authKeyReducer.error}},function(t){return(0,U.bindActionCreators)({getAuthApiKey:H.default,getWalletActivated:j.default},t)})($);e.default=ee;var te=y.StyleSheet.create({solde:{backgroundColor:q.accent,color:"white",marginLeft:10,padding:5,fontSize:9,borderRadius:100},title:{color:'black',marginLeft:10,flex:1,fontSize:11,fontWeight:'bold'},subtitle2:{color:'black',marginLeft:10,flex:1,fontSize:10,fontWeight:'bold'},subtitle:{color:'black',marginLeft:9,fontSize:9},otherInformation:{marginLeft:13,fontSize:9},reseau:{marginLeft:10,fontWeight:'bold',color:q.accent,fontSize:10},container:{flex:1,width:(0,E.responsiveWidth)(95),alignSelf:"center",paddingTop:(0,E.responsiveHeight)(1),marginBottom:(0,E.responsiveHeight)(1),backgroundColor:"white",justifyContent:'flex-start'}}),ae=y.StyleSheet.create({container:{flex:1,backgroundColor:'#FFF'},panelContainer:{position:'absolute',top:0,bottom:0,left:0,right:0},panel:{height:600,padding:20,backgroundColor:'#f7f5eee8'},header:{backgroundColor:'#f7f5eee8',shadowColor:'#000000',paddingTop:20,borderTopLeftRadius:20,borderTopRightRadius:20},panelHandle:{width:40,height:8,borderRadius:4,backgroundColor:'#00000040',marginBottom:10},panelTitle:{fontSize:27,height:35},panelSubtitle:{fontSize:14,color:'gray',height:30,marginBottom:10},panelButton:{padding:20,borderRadius:10,backgroundColor:'#318bfb',alignItems:'center',marginVertical:10},panelButtonTitle:{fontSize:17,fontWeight:'bold',color:'white'},fab:{position:'absolute',margin:16,right:0,bottom:0},networkname:{backgroundColor:q.primary,padding:5,color:"white",marginRight:10,fontSize:10,borderRadius:12},myClusterTextStyle:{color:"white"},myClusterStyle:{backgroundColor:q.accent,height:32,justifyContent:'center',alignItems:'center',width:32,borderRadius:16},rowContainer:{height:52,flex:1,flexDirection:'row',justifyContent:'flex-start',alignItems:'center'},iconContainer:{marginRight:16},mapmarker:{width:52,height:52},slidingup:{backgroundColor:"transparent",position:"absolute",height:Z,bottom:0,left:(0,E.responsiveWidth)(2.5),width:(0,E.responsiveWidth)(95),zIndex:1},panelHeader:{height:120,backgroundColor:'#b197fc',alignItems:'center',justifyContent:'center'},favoriteIcon:{left:(0,E.responsiveWidth)(75),backgroundColor:q.primary,width:64,justifyContent:'center',alignContent:'center',bottom:-64,position:'absolute',height:64,padding:8,zIndex:1,borderRadius:32},hambuger:{color:q.primary,borderColor:q.primary,borderWidth:1,alignSelf:'center',padding:5},topBar:{position:'absolute',alignSelf:'center',justifyContent:'center',borderRadius:10,alignItems:'center',marginTop:(0,E.responsiveHeight)(4),width:(0,E.responsiveWidth)(90)},searchInput:{flex:1,fontSize:14},search:{width:(0,E.responsiveWidth)(70),height:(0,E.responsiveHeight)(10),backgroundColor:'#00000000'},map:{width:(0,E.responsiveWidth)(100),height:(0,E.responsiveHeight)(100)},backgroundd_drawer:{backgroundColor:'#000'},cardsearch:{width:(0,E.responsiveWidth)(90),height:(0,E.responsiveHeight)(10),position:'absolute',alignSelf:'center',marginTop:5},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5}})},1156,[4,1,273,8,10,12,11,9,13,15,18,1157,524,528,527,771,764,711,815,681,709,712,766,737,768,1377,1382,1383,827,804,826,1384,1032,1388,1448,1476,1479,1508,1541,813,1475,808,806,807]);
__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])),s=o(r(d[3])),u=o(r(d[4])),l=o(r(d[5])),c=o(r(d[6])),f=o(r(d[7])),p=t(r(d[8])),h=t(r(d[9])),k=o(r(d[10])),y=r(d[11]),v=r(d[12]),R=o(r(d[13])),b=o(r(d[14])),C=o(r(d[15])),w=(r(d[16]),r(d[17])),M=(o(r(d[18])),r(d[19])),S=(r(d[20]),r(d[21]),(function(t){function o(t){var s;return(0,n.default)(this,o),(s=(0,u.default)(this,(0,l.default)(o).call(this,t))).mapRef=function(t){s.mapview=t},s.getMapRef=function(){return s.mapview},s.state={markers:[],roadReady:!1,isNeedUserFocus:!1,positionMarkerText:b.default.t("YOUR_THERE")},w.IlinkEmitter.on("langueChange",s.updateLangue.bind((0,c.default)(s))),s}return(0,f.default)(o,t),(0,s.default)(o,[{key:"getPositionMarkerText",value:function(){var t=null;switch(b.default.currentLocale()){case"fr":t="Vous \xeates ici";break;case"en":t="Your are here";break;default:t=b.default.t("YOUR_THERE")}return t}},{key:"updateLangue",value:function(){this.setState({positionMarkerText:this.getPositionMarkerText()})}},{key:"componentDidUpdate",value:function(t,o){o.positionMarkerText!==this.state.positionMarkerText&&this.forceUpdate()}},{key:"componentWillReceiveProps",value:function(t,o){var n=this.state.markers,s=t.markers;n.length<=0?this.setState({markers:s}):n.length!==s&&this.setState({markers:s}),this.setState({isNeedUserFocus:t.isNeedUserFocus})}},{key:"render",value:function(){var t=this,o=this.props,n=(o.markers,o.initialRegion),s=(o.myPosition,o.myNetwork),u=o.typeMap,l=o.selectedMarker;return null!==n&&null!==s?p.default.createElement(y.View,{style:N.container},p.default.createElement(h.default,{style:{flex:1},initialRegion:n,mapType:u,ref:function(o){return t.mapview=o},onMapReady:this.props.onMapReady,onLayout:this.props.onLayout,onRegionChangeComplete:function(o){t.onRegionChangeOver(o)}},this.state.markers.map(function(o,n){return p.default.createElement(R.default,{isUser:!1,title:o.lastname,isSelected:l&&l.id===o.id,data:o,onPress:function(o,n){return t.props.onMarkerClick(o,n)},network:s})}),this.renderMyPosition(),this.makeDirection())):p.default.createElement(y.View,null)}},{key:"focusToUser",value:function(){this.setState({isNeedUserFocus:!0})}},{key:"closeUserFocus",value:function(){this.setState({isNeedUserFocus:!1})}},{key:"onRegionChangeOver",value:function(t){}},{key:"makeDirection",value:function(){var t=this,o=this.props,n=o.myPosition,s=o.selectedMarker,u=o.needRoad;if(null!==n&&null!==s&&void 0!==s&&void 0!==n&&u)return setTimeout(function(){t.state.roadReady||(t.setState({roadReady:!0}),t.props.onNeedRoadError())},1e4),p.default.createElement(C.default,{origin:n,destination:s,apikey:"AIzaSyAYOEp-Pckvc3TwOIulCICokKgmp14rGHI",strokeWidth:3,onReady:function(o){t.setState({roadReady:!0}),t.props.onNeedRoadReady(o)},onError:function(){t.setState({roadReady:!0}),t.props.onNeedRoadError()},strokeColor:M.primary})}},{key:"renderMyPosition",value:function(){var t=this.props,o=t.myPosition;t.myNetwork;if(null!=o)return p.default.createElement(R.default,{isUser:!0,lang:this.props.lang,isNeedFocus:this.state.isNeedUserFocus,title:this.state.positionMarkerText,data:{longitude:o.longitude,latitude:o.latitude}})}}]),o})(p.Component));S.propTypes={markers:k.default.array,map:k.default.object,network:k.default.object,myNetwork:k.default.object,selectedMarker:k.default.object,myPosition:k.default.object,onMarkerClick:k.default.func,initialRegion:k.default.object,typeMap:k.default.string,needRoad:k.default.bool,isNeedUserFocus:k.default.bool,onNeedRoadReady:k.default.func,onNeedRoadError:k.default.func,onMapReady:k.default.func,onLayout:k.default.func},S.defaultProps={isNeedUserFocus:!1};var x=S;e.default=x;var N=y.StyleSheet.create({container:{flex:1,backgroundColor:'#FFF'},myClusterTextStyle:{color:"white"},myClusterStyle:{backgroundColor:M.accent,height:32,justifyContent:'center',alignItems:'center',width:32,borderRadius:16},rowContainer:{height:52,flex:1,flexDirection:'row',justifyContent:'flex-start',alignItems:'center'},iconContainer:{marginRight:16},mapmarker:{width:52,height:52},slidingup:{backgroundColor:"transparent",position:"absolute",height:300,bottom:0,right:35,zIndex:1},panel:{flex:1,backgroundColor:'white',position:'relative'},panelHeader:{height:120,backgroundColor:'#b197fc',alignItems:'center',justifyContent:'center'},favoriteIcon:{left:(0,v.responsiveWidth)(75),backgroundColor:M.primary,width:64,justifyContent:'center',alignContent:'center',bottom:-64,position:'absolute',height:64,padding:8,zIndex:1,borderRadius:32},hambuger:{},topBar:{position:'absolute',alignSelf:'center',justifyContent:'center',alignItems:'center',marginTop:(0,v.responsiveHeight)(4),width:(0,v.responsiveWidth)(95)},searchInput:{width:(0,v.responsiveWidth)(70),fontSize:14},search:{width:(0,v.responsiveWidth)(70),height:(0,v.responsiveHeight)(10),backgroundColor:'#00000000'},map:{width:(0,v.responsiveWidth)(100),height:(0,v.responsiveHeight)(100)},backgroundd_drawer:{backgroundColor:'#000'},cardsearch:{width:(0,v.responsiveWidth)(90),height:(0,v.responsiveHeight)(10),position:'absolute',alignSelf:'center',marginTop:5},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5}})},1157,[4,1,8,9,10,12,11,13,15,950,68,18,527,1158,712,1162,1164,766,930,806,1160,1161]);
@@ -1482,7 +1482,7 @@ __d(function(g,r,i,a,m,e,d){var t,n;t="undefined"!=typeof self?self:this,n=funct
__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t,n=(t=r(d[0]))&&'object'==typeof t&&'default'in t?t.default:t,o=function(){return Math.random().toString(36).substring(7).split('').join('.')},u={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function c(t){if('object'!=typeof t||null===t)return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function f(t,n){var o=n&&n.type;return"Given "+(o&&"action \""+String(o)+"\""||'an action')+", reducer \""+t+"\" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined."}function s(t){Object.keys(t).forEach(function(n){var o=t[n];if(void 0===o(void 0,{type:u.INIT}))throw new Error("Reducer \""+n+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===o(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error("Reducer \""+n+"\" returned undefined when probed with a random type. Don't try to handle "+u.INIT+" or other actions in \"redux/*\" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function l(t,n){return function(){return n(t.apply(this,arguments))}}function p(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}function h(t,n){var o=Object.keys(t);return Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t)),n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o}function y(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:{},l=u.whitelist||null,f=u.blacklist||null;function o(n){return!(!l||-1!==l.indexOf(n))||!(!f||-1===f.indexOf(n))}return{in:function(t,u,l){return!o(u)&&n?n(t,u,l):t},out:function(n,u,l){return!o(u)&&t?t(n,u,l):n}}}},1556,[]);
__d(function(g,r,i,a,m,e,d){'use strict';function t(t){return function(n){var u=n.dispatch,c=n.getState;return function(n){return function(f){return'function'==typeof f?f(u,c,t):n(f)}}}}e.__esModule=!0;var n=t();n.withExtraArgument=t,e.default=n},1557,[]);
__d(function(g,r,i,a,m,e,d){var t,n,o=r(d[0]);t=this,n=function(t){"use strict";function n(t,n){t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}function c(t,n){Object.defineProperty(this,"kind",{value:t,enumerable:!0}),n&&n.length&&Object.defineProperty(this,"path",{value:n,enumerable:!0})}function l(t,n,o){l.super_.call(this,"E",t),Object.defineProperty(this,"lhs",{value:n,enumerable:!0}),Object.defineProperty(this,"rhs",{value:o,enumerable:!0})}function u(t,n){u.super_.call(this,"N",t),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function f(t,n){f.super_.call(this,"D",t),Object.defineProperty(this,"lhs",{value:n,enumerable:!0})}function s(t,n,o){s.super_.call(this,"A",t),Object.defineProperty(this,"index",{value:n,enumerable:!0}),Object.defineProperty(this,"item",{value:o,enumerable:!0})}function p(t,n,o){var c=t.slice((o||n)+1||t.length);return t.length=n<0?t.length+n:n,t.push.apply(t,c),t}function h(t){var n=void 0===t?"undefined":T(t);return"object"!==n?n:t===Math?"math":null===t?"null":Array.isArray(t)?"array":"[object Date]"===Object.prototype.toString.call(t)?"date":"function"==typeof t.toString&&/^\/.*\//.test(t.toString())?"regexp":"object"}function v(t,n,o,c,y,b,w){y=y||[],w=w||[];var x=y.slice(0);if(void 0!==b){if(c){if("function"==typeof c&&c(x,b))return;if("object"===(void 0===c?"undefined":T(c))){if(c.prefilter&&c.prefilter(x,b))return;if(c.normalize){var S=c.normalize(x,b,t,n);S&&(t=S[0],n=S[1])}}}x.push(b)}"regexp"===h(t)&&"regexp"===h(n)&&(t=t.toString(),n=n.toString());var j=void 0===t?"undefined":T(t),k=void 0===n?"undefined":T(n),E="undefined"!==j||w&&w[w.length-1].lhs&&w[w.length-1].lhs.hasOwnProperty(b),A="undefined"!==k||w&&w[w.length-1].rhs&&w[w.length-1].rhs.hasOwnProperty(b);if(!E&&A)o(new u(x,n));else if(!A&&E)o(new f(x,t));else if(h(t)!==h(n))o(new l(x,t,n));else if("date"===h(t)&&t-n!=0)o(new l(x,t,n));else if("object"===j&&null!==t&&null!==n)if(w.filter(function(n){return n.lhs===t}).length)t!==n&&o(new l(x,t,n));else{if(w.push({lhs:t,rhs:n}),Array.isArray(t)){var D;for(t.length,D=0;D=n.length?o(new s(x,D,new f(void 0,t[D]))):v(t[D],n[D],o,c,x,D,w);for(;D=0?(v(t[l],n[l],o,c,x,l,w),N=p(N,f)):v(t[l],void 0,o,c,x,l,w)}),N.forEach(function(t){v(void 0,n[t],o,c,x,t,w)})}w.length=w.length-1}else t!==n&&("number"===j&&isNaN(t)&&isNaN(n)||o(new l(x,t,n)))}function y(t,n,o,c){return c=c||[],v(t,n,function(t){t&&c.push(t)},o),c.length?c:void 0}function b(t,n,o){if(o.path&&o.path.length){var c,l=t[n],u=o.path.length-1;for(c=0;c0&&void 0!==arguments[0]?arguments[0]:{},n=o({},H,t),c=n.logger,l=n.stateTransformer,u=n.errorTransformer,f=n.predicate,s=n.logErrors,p=n.diffPredicate;if(void 0===c)return function(){return function(t){return function(n){return t(n)}}};if(t.getState&&t.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(t){return function(n){return t(n)}}};var h=[];return function(t){var c=t.getState;return function(t){return function(v){if("function"==typeof f&&!f(c,v))return t(v);var y={};h.push(y),y.started=L.now(),y.startedTime=new Date,y.prevState=l(c()),y.action=v;var b=void 0;if(s)try{b=t(v)}catch(t){y.error=u(t)}else b=t(v);y.took=L.now()-y.started,y.nextState=l(c());var w=n.diff&&"function"==typeof p?p(c,v):n.diff;if(A(h,o({},n,{diff:w})),h.length=0,y.error)throw y.error;return b}}}}var O,N,P=function(t,n){return new Array(n+1).join(t)},C=function(t,n){return P("0",n-t.toString().length)+t},F=function(t){return C(t.getHours(),2)+":"+C(t.getMinutes(),2)+":"+C(t.getSeconds(),2)+"."+C(t.getMilliseconds(),3)},L="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,T="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t},_=function(t){if(Array.isArray(t)){for(var n=0,o=Array(t.length);n0&&void 0!==arguments[0]?arguments[0]:{},n=t.dispatch,o=t.getState;return"function"==typeof n||"function"==typeof o?D()({dispatch:n,getState:o}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=H,t.createLogger=D,t.logger=R,t.default=R,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof e&&void 0!==m?n(e):"function"==typeof define&&define.amd?define(["exports"],n):n(t.reduxLogger=t.reduxLogger||{})},1558,[6]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r(d[1]);var l=t(r(d[2])),u=t(r(d[3])),c=t(r(d[4])),f=t(r(d[5])),o=t(r(d[6])),s=t(r(d[7])),n=t(r(d[8])),R=t(r(d[9])),w=t(r(d[10])),y=t(r(d[11])),v=r(d[12]),C={key:'root',storage:r(d[13]).AsyncStorage,whitelist:['authKeyReducer'],blacklist:[]},_=(0,v.persistCombineReducers)(C,{walletReducer:l.default,walletDetailReducer:u.default,authKeyReducer:c.default,depositReducer:f.default,walletHistoryReducer:R.default,walletTransferCommissionReducer:w.default,creditTreatDemandReducer:o.default,creditCancelDemandReducer:s.default,walletGetCommission:n.default,createIdentificationReducer:y.default});e.default=_},1559,[1,1476,1560,1561,1562,1563,1565,1567,1568,1569,1570,1571,1545,18]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r(d[1]);var u=t(r(d[2])),l=t(r(d[3])),c=t(r(d[4])),f=t(r(d[5])),o=t(r(d[6])),n=t(r(d[7])),s=t(r(d[8])),R=t(r(d[9])),w=t(r(d[10])),y=t(r(d[11])),b=t(r(d[12])),v=r(d[13]),C={key:'root',storage:r(d[14]).AsyncStorage,whitelist:['authKeyReducer'],blacklist:[]},_=(0,v.persistCombineReducers)(C,{walletReducer:u.default,walletDetailReducer:l.default,authKeyReducer:c.default,depositReducer:f.default,walletHistoryReducer:R.default,walletTransferCommissionReducer:w.default,creditTreatDemandReducer:o.default,creditCancelDemandReducer:n.default,walletGetCommission:s.default,createIdentificationReducer:y.default,getNumberInformationReducer:b.default});e.default=_},1559,[1,1476,1560,1561,1562,1563,1565,1567,1568,1569,1570,1571,1573,1545,18]);
__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])),o=r(d[2]);function l(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 u(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:c,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.WALLET_LIST_PENDING:return u({},t,{loading:!0});case o.WALLET_LIST_SUCCESS:return u({},t,{loading:!1,result:n.result.data,error:null});case o.WALLET_LIST_ERROR:return u({},t,{loading:!1,result:null,error:n.result});case o.WALLET_LIST_RESET:return c;default:return t}}},1560,[1,7,1543]);
__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])),o=r(d[2]);function l(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 u(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:c,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.WALLET_LIST_DETAIL_PENDING:return u({},t,{loading:!0});case o.WALLET_LIST_DETAIL_SUCCESS:return u({},t,{loading:!1,result:n.result.data,error:null});case o.WALLET_LIST_DETAIL_ERROR:return u({},t,{loading:!1,result:null,error:n.result});case o.WALLET_LIST_DETAIL_RESET:return c;default:return t}}},1561,[1,7,1543]);
__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])),o=r(d[2]),u=r(d[3]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function c(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:y,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.AUTH_KEY_PENDING:return c({},t,{loading:!0});case o.AUTH_KEY_SUCCESS:return c({},t,{loading:!1,authKey:n.result.data,error:null});case o.AUTH_KEY_ERROR:return c({},t,{loading:!1,error:n.result});case u.REHYDRATE:return c({},t,{loading:!1,authKey:void 0!==n.payload?n.payload.authKeyReducer.authKey:null,error:null});default:return t}}},1562,[1,7,1507,1545]);
@@ -1575,178 +1575,193 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{
__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])),o=r(d[2]);function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:u,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.WALLET_HISTORY_PENDING:return l({},t,{loadingTransaction:!0});case o.WALLET_HISTORY_SUCCESS:return l({},t,{loadingTransaction:!1,resultTransaction:n.result.data,errorTransaction:null});case o.WALLET_HISTORY_ERROR:return l({},t,{loadingTransaction:!1,resultTransaction:null,errorTransaction:n.result});case o.WALLET_HISTORY_SUCCESS:return u;default:return t}}},1569,[1,7,1543]);
__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),o=r(d[2]);function s(n,t){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,s)}return o}function l(n){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.WALLET_TRANSFER_COMMISSION_PENDING:return l({},n,{loadingTransferCommission:!0});case o.WALLET_TRANSFER_COMMISSION_SUCCESS:return l({},n,{loadingTransferCommission:!1,resultTransferCommission:t.result.data,errorTransferCommission:null});case o.WALLET_TRANSFER_COMMISSION_ERROR:return l({},n,{loadingTransferCommission:!1,resultTransferCommission:null,errorTransferCommission:t.result});case o.WALLET_TRANSFER_COMMISSION_RESET:return u;default:return n}}},1570,[1,7,1543]);
__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])),o=r(d[2]);function l(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 u(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:c,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.CREATE_IDENTIFICATION_PENDING:return u({},t,{loading:!0});case o.CREATE_IDENTIFICATION_SUCCESS:return u({},t,{loading:!1,result:n.result.data,error:null});case o.CREATE_IDENTIFICATION_ERROR:return u({},t,{loading:!1,result:null,error:n.result});case o.CREATE_IDENTIFICATION_RESET:return c;default:return t}}},1571,[1,7,1572]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.CREATE_IDENTIFICATION_RESET=e.CREATE_IDENTIFICATION_ERROR=e.CREATE_IDENTIFICATION_SUCCESS=e.CREATE_IDENTIFICATION_PENDING=void 0;e.CREATE_IDENTIFICATION_PENDING='CREATE_IDENTIFICATION_PENDING';e.CREATE_IDENTIFICATION_SUCCESS='CREATE_IDENTIFICATION_SUCCESS';e.CREATE_IDENTIFICATION_ERROR='CREATE_IDENTIFICATION_ERROR';e.CREATE_IDENTIFICATION_RESET='CREATE_IDENTIFICATION_RESET'},1572,[]);
-__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])),s=n(r(d[4])),c=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),E=t(r(d[9])),y=r(d[10]),D=n(r(d[11])),C=n(r(d[12])),R=r(d[13]),h=n(r(d[14])),T=(r(d[15]),r(d[16])),b=n(r(d[17])),x=r(d[18]),A=r(d[19]),v=r(d[20]),w=(n(r(d[21])),r(d[22]),r(d[23])),M=r(d[24]),O=n(r(d[25])),S=r(d[26]),L=n(r(d[27])),P=r(d[28]),k=n(r(d[29]));function _(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 N=r(d[30]),B='white',j=r(d[31]),F=(r(d[32]),(function(t){function n(t){var l;(0,s.default)(this,n),(l=(0,u.default)(this,(0,f.default)(n).call(this,t))).isNormalInteger=function(t){return!/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(t)},l.isMontantValid=function(){var t=l.state.montant;return!(0==parseInt(t)||t<0)&&(!!l.isNormalInteger(t)&&!(parseInt(t)>parseInt(l.item.montant)))},l.displayToast=function(t){O.default.show(t,{duration:O.default.durations.SHORT,position:O.default.positions.BOTTOM,backgroundColor:S.Color.primaryColor,shadow:!0,animation:!0,hideOnPress:!0,delay:0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}})},l.onCancelDemand=function(){"1"!==l.item&&l.props.treatCancelDemand(l.item.id)},l.renderPromptModifyAmountToSend=function(){return E.default.createElement(L.default.Container,{useNativeDriver:!0,visible:l.state.displayAmountModifyDialog},E.default.createElement(L.default.Title,null,b.default.t('MODIFY_AMOUNT')),E.default.createElement(L.default.Description,{style:[P.FontWeight.bold]},b.default.t('ENTER_NEW_AMOUNT_TO_SEND')),E.default.createElement(L.default.Input,{style:I.inputAmountText,value:l.state.montant,keyboardType:"numeric",onChangeText:function(t){l.setState({montant:t},function(){l.isMontantValid(t)?l.setState({isBtnModifyAmountEnabled:!0}):l.setState({isBtnModifyAmountEnabled:!1}),console.log("this.isMontantValid().isValid",l.isMontantValid()),console.log("isBtnModifyAmountEnabled",l.state.isBtnModifyAmountEnabled)})}}),E.default.createElement(L.default.Button,{bold:!0,label:b.default.t('CANCEL_LABEL'),onPress:function(){return l.setState({displayAmountModifyDialog:!1})}}),E.default.createElement(L.default.Button,{bold:!0,label:b.default.t('SEND'),disable:l.state.isBtnModifyAmountEnabled,onPress:function(){l.props.creditDemandResetReducer(),l.props.treatCreditDemand(l.item.id,l.state.montant)}}))},l.renderAlertErrorTreatOrCancelDemand=function(){var t=l.props,n=t.errorTreatDemand,o=t.resultTreatDemand,s=t.resultCancelDemand,c=t.errorCancelDemand;null!==n&&void 0!==n.data&&(426===n.status?y.Alert.alert(b.default.t("ERROR_TREATMENT_DEMAND"),n.data.error,[{text:b.default.t('CANCEL_LABEL'),onPress:function(){},style:'cancel'},{text:b.default.t("OK"),onPress:function(){setTimeout(function(){l.setState({displayAmountModifyDialog:!0})},10),l.props.creditDemandResetReducer(),l.props.creditCancelResetReducer()}}],{cancelable:!1}):y.Alert.alert(b.default.t("ERROR_TREATMENT_DEMAND"),n.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.creditDemandResetReducer(),l.props.creditCancelResetReducer()}}],{cancelable:!1})),null!==c&&void 0!==c.data&&y.Alert.alert(b.default.t("ERROR_TREATMENT_DEMAND"),c.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.creditCancelResetReducer(),l.props.creditDemandResetReducer()}}],{cancelable:!1}),null!==o&&(console.log("resultTreatDemand",o),200===o.status&&(l.displayToast(o.response),l.props.navigation.goBack(),l.props.navigation.state.params.onGoBack(),l.props.creditCancelResetReducer(),l.props.creditDemandResetReducer())),null!==s&&(console.log("resultCancelDemand",s),200===s.status&&(l.displayToast(s.response),l.props.navigation.goBack(),l.props.navigation.state.params.onGoBack(),l.props.creditCancelResetReducer(),l.props.creditDemandResetReducer()))},l.item=l.props.navigation.getParam("item",null);var c='';return'1'===l.item.status?(1,B='#AEAEAE',c=b.default.t('TREAT_DEMAND')):'0'===l.item.status?(B='green',2,c=b.default.t('ACCEPTER_DEMANDE')):(B='#AEAEAE',2,c=b.default.t('REFUSED')),l.state={displayAmountModifyDialog:!1,statut:c,user:null,networks:[],loadingTreat:!1,loadingCancel:!1,triggerTreatmentClick:!1,triggerCancelClick:!1,color:B,montant:null,isBtnModifyAmountEnabled:!1},(0,T.readUser)().then(function(t){var n;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=[],s.next=3,o.default.awrap((0,v.getAgentNetworksList)(t.agentId));case 3:n=s.sent,l.setState({user:t,networks:n.networks});case 5:case"end":return s.stop()}},null,null,null,Promise)}),l.currentLocale=k.default.getDeviceLocale().includes("fr")?"fr":"en-gb",N.locale(l.currentLocale),l}return(0,p.default)(n,t),(0,c.default)(n,[{key:"onTreatDemand",value:function(){"1"!==this.item&&(this.props.creditDemandResetReducer(),this.props.treatCreditDemand(this.item.id))}},{key:"renderBtn",value:function(){var t=this,n=this.state.user;if(console.warn("ITEM ITEM",this.item),n&&this.item.code_parrain===n.code_membre)return'1'===this.item.status?E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:this.state.color},isLoading:this.props.loadingTreatDemand,onPress:function(){},disabled:!0,textStyle:I.textbtnstyle},this.state.statut):'2'===this.item.status?E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:this.state.color},onPress:function(){},disabled:!0,textStyle:I.textbtnstyle},this.state.statut):E.default.createElement(y.View,{style:{flexDirection:'row',paddingTop:10}},E.default.createElement(y.View,{style:{flex:1,alignItems:'center'}},E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:this.state.color},isLoading:this.props.loadingTreatDemand,onPress:function(){t.setState({triggerTreatmentClick:!0}),t.onTreatDemand()},textStyle:I.textbtnstyle},this.state.statut)),E.default.createElement(y.View,{style:{flex:1,alignItems:'center'}},E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:S.Color.redColor},isLoading:this.props.loadingCancelDemand,onPress:function(){t.setState({triggerCancelClick:!0}),t.onCancelDemand()},textStyle:I.textbtnstyle},b.default.t('REFUSER_DEMANDE'))))}},{key:"render",value:function(){console.log("CREDIT MANAGE PROPS",this.props);var t=N.tz(this.item.date_creation,'Etc/GMT+0').format();return t=N(t),E.default.createElement(y.View,{style:I.container},this.renderPromptModifyAmountToSend(),(this.state.triggerTreatmentClick||this.state.triggerCancelClick)&&this.renderAlertErrorTreatOrCancelDemand(),E.default.createElement(D.default,{style:I.cardcontainer1},E.default.createElement(y.Text,{style:{fontSize:17,fontWeight:'bold',color:'black',marginLeft:(0,R.responsiveWidth)(5)}},b.default.t('MEMBER_INFO')),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-call",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.phone)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-person",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.code_membre))),E.default.createElement(D.default,{style:I.cardcontainer},E.default.createElement(y.Text,{style:{fontSize:17,fontWeight:'bold',color:'black',marginLeft:(0,R.responsiveWidth)(5)}},b.default.t('DEMAND_INFO')),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-git-branch",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.code_parrain)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-code-working",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.reseau)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-wallet",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.montant)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-calendar",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},t.format(" Do MMMM YYYY \xe0 HH:mm"))),E.default.createElement(y.View,{style:{flexDirection:'row',alignSelf:'flex-end',marginRight:20,justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-time",size:28,color:j.accent}),E.default.createElement(y.Text,{style:{marginLeft:(0,R.responsiveWidth)(2),fontSize:16,color:j.accent}},t.fromNow()))),this.state.user?this.renderBtn():null)}}]),n})(E.Component));F.navigatorStyle={navBarBackgroundColor:j.accentLight,statusBarColor:j.accent,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},F.navigationOptions=function(t){return{drawerLabel:function(){return null},title:"Transaction N\xb0"+t.navigation.getParam("item",{id:"-"}).id}};var V=(0,w.connect)(function(t){return{loadingTreatDemand:t.creditTreatDemandReducer.loadingTreatDemand,resultTreatDemand:t.creditTreatDemandReducer.resultTreatDemand,errorTreatDemand:t.creditTreatDemandReducer.errorTreatDemand,loadingCancelDemand:t.creditCancelDemandReducer.loadingCancelDemand,resultCancelDemand:t.creditCancelDemandReducer.resultCancelDemand,errorCancelDemand:t.creditCancelDemandReducer.errorCancelDemand}},function(t){return(0,M.bindActionCreators)({treatCreditDemand:x.treatCreditDemand,creditDemandResetReducer:x.creditDemandResetReducer,treatCancelDemand:A.treatCancelDemand,creditCancelResetReducer:A.creditCancelResetReducer},t)})(F);e.default=V;var I=y.StyleSheet.create({container:{flex:1},btnstyle:{},inputAmountText:(function(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{position:y.positions.BOTTOM,duration:y.durations.SHORT};return new v.default(p.default.createElement(y.default,(0,o.default)({},n,{visible:!0}),t))},h.hide=function(t){t instanceof v.default?t.destroy():console.warn("Toast.hide expected a `RootSiblings` instance as argument.\nBut got `"+typeof t+"` instead.")};var _=h;e.default=_},1579,[4,1,6,8,9,10,12,13,15,18,1580,1586]);
-__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.setSiblingWrapper=function(t){h=t},e.RootSiblingParent=function(t){var n=t.inactive,o=(0,l.useState)(function(){var t=(0,v.default)(c.default,p),u=t.Root,o=t.manager;return R.push(o),n&&P.add(o),{Root:u,manager:o}}),f=(0,u.default)(o,1)[0];(0,l.useEffect)(function(){return function(){if(f){var t=R.indexOf(f.manager);t>0&&R.splice(t,1)}}},[f]),n&&f&&!P.has(f.manager)?P.add(f.manager):!n&&f&&P.has(f.manager)&&P.delete(f.manager);var s=f.Root;return l.default.createElement(s,null,t.children)},e.RootSiblingPortal=function(t){var n=(0,l.useState)(function(){return new E(null)}),o=(0,u.default)(n,1)[0];return o.update(t.children),(0,l.useEffect)(function(){if(o)return function(){return o.destroy()}},[o]),null},e.default=void 0;var u=n(r(d[2])),o=n(r(d[3])),f=n(r(d[4])),l=t(r(d[5])),s=r(d[6]),c=n(r(d[7])),v=n(r(d[8])),h=function(t){return t};function p(t){return h(t)}g.__rootSiblingsInjected||g.__rootSiblingsDisabled||(s.AppRegistry.setWrapperComponentProvider(function(){return b}),g.__rootSiblingsInjected=!0);var _=(0,v.default)(c.default,p),b=_.Root,S=_.manager,y=0,R=[S],P=new Set;function j(){for(var t=R.length-1;t>=0;t--){var n=R[t];if(!P.has(n))return n}return S}var E=(function(){function t(n,u){(0,o.default)(this,t),this.id="root-sibling-"+(y+1),this.manager=j(),this.manager.update(this.id,n,u),y++}return(0,f.default)(t,[{key:"update",value:function(t,n){this.manager.update(this.id,t,n)}},{key:"destroy",value:function(t){this.manager.destroy(this.id,t)}}]),t})();e.default=E},1580,[4,1,27,8,9,15,18,1581,1582]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return n.default.createElement(n.default.Fragment,null,t.children)};var n=t(r(d[1]))},1581,[1,15]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l){var f=new u.default;return{Root:function(u){return n.default.createElement(o.default,{controller:f,renderSibling:l},n.default.createElement(t,u))},manager:{update:function(t,n,u){f.update(t,n,u)},destroy:function(t,n){f.destroy(t,n)}}}};var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3]))},1582,[1,15,1583,1584]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.RootControllerChanges=void 0;var n,l=t(r(d[1])),s=t(r(d[2]));e.RootControllerChanges=n,(function(t){t[t.Insert=0]="Insert",t[t.Update=1]="Update",t[t.Remove=2]="Remove"})(n||(e.RootControllerChanges=n={}));var o=(function(){function t(){(0,l.default)(this,t),this.siblings=new Set,this.pendingActions=[],this.callback=null}return(0,s.default)(t,[{key:"update",value:function(t,l,s){this.siblings.has(t)?this.emit(t,{change:n.Update,element:l,updateCallback:s}):(this.emit(t,{change:n.Insert,element:l,updateCallback:s}),this.siblings.add(t))}},{key:"destroy",value:function(t,l){this.siblings.has(t)?(this.emit(t,{change:n.Remove,element:null,updateCallback:l}),this.siblings.delete(t)):l&&l()}},{key:"setCallback",value:function(t){this.callback=t,this.pendingActions.forEach(function(n){var l=n.id,s=n.action;t(l,s)})}},{key:"emit",value:function(t,n){this.callback?this.callback(t,n):this.pendingActions.push({action:n,id:t})}}]),t})();e.default=o},1583,[1,8,9]);
-__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])),s=n(r(d[3])),o=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=t(r(d[7])),h=n(r(d[8])),p=r(d[9]),b=(function(t){function n(t){var s;return(0,l.default)(this,n),(s=(0,o.default)(this,(0,u.default)(n).call(this,t))).updatedSiblings=new Set,s.siblingsPool=[],s.state={siblings:[]},s}return(0,c.default)(n,t),(0,s.default)(n,[{key:"componentDidMount",value:function(){var t=this;this.props.controller.setCallback(function(n,l){setImmediate(function(){return t.commitChange(n,l)})})}},{key:"componentDidUpdate",value:function(){this.updatedSiblings.clear()}},{key:"render",value:function(){return f.default.createElement(f.default.Fragment,null,this.props.children,this.renderSiblings())}},{key:"commitChange",value:function(t,n){var l=this,s=n.change,o=n.element,u=n.updateCallback,c=Array.from(this.siblingsPool),f=c.findIndex(function(n){return n.id===t});if(s===p.RootControllerChanges.Remove){if(!(f>-1))return void this.invokeCallback(u);c.splice(f,1)}else if(s===p.RootControllerChanges.Update){if(!(f>-1))return void this.invokeCallback(u);c.splice(f,1,{element:o,id:t}),this.updatedSiblings.add(t)}else f>-1&&c.splice(f,1),c.push({element:o,id:t}),this.updatedSiblings.add(t);this.siblingsPool=c,this.setState({siblings:c},function(){return l.invokeCallback(u)})}},{key:"invokeCallback",value:function(t){t&&t()}},{key:"renderSiblings",value:function(){var t=this;return this.state.siblings.map(function(n){var l=n.id,s=n.element;return f.default.createElement(h.default,{key:"root-sibling-"+l,shouldUpdate:t.updatedSiblings.has(l)},t.wrapSibling(s))})}},{key:"wrapSibling",value:function(t){var n=this.props.renderSibling;return n?n(t):t}}]),n})(f.Component);e.default=b},1584,[4,1,8,9,10,12,13,15,1585,1583]);
-__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 u=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),p=r(d[6]),s=t(r(d[7])),h=(function(t){function s(){return(0,u.default)(this,s),(0,l.default)(this,(0,o.default)(s).apply(this,arguments))}return(0,f.default)(s,t),(0,n.default)(s,[{key:"shouldComponentUpdate",value:function(t){return t.shouldUpdate}},{key:"render",value:function(){var t=this.props.children;return null===t||!1===t?null:p.Children.only(t)}}]),s})(p.Component);e.default=h,h.propTypes={shouldUpdate:s.default.bool.isRequired}},1585,[1,8,9,10,12,13,15,68]);
-__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.durations=e.positions=e.default=void 0;var n=o(r(d[2])),s=o(r(d[3])),l=o(r(d[4])),u=o(r(d[5])),p=o(r(d[6])),c=o(r(d[7])),h=t(r(d[8])),f=o(r(d[9])),y=r(d[10]);function b(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,s)}return n}var w=200,v={TOP:20,BOTTOM:-20,CENTER:0};e.positions=v;var _={LONG:3500,SHORT:2e3};e.durations=_;var T=y.StyleSheet.create({defaultStyle:{position:'absolute',left:0,right:0,justifyContent:'center',alignItems:'center'},containerStyle:{padding:10,backgroundColor:'#000',opacity:.8,borderRadius:5},shadowStyle:{shadowColor:'#000',shadowOffset:{width:4,height:4},shadowOpacity:.8,shadowRadius:6,elevation:10},textStyle:{fontSize:16,color:'#fff',textAlign:'center'}}),O=(function(t){function o(){var t;(0,s.default)(this,o),(t=(0,u.default)(this,(0,p.default)(o).apply(this,arguments))).componentDidMount=function(){y.Dimensions.addEventListener('change',t._windowChanged),t.props.keyboardAvoiding&&y.Keyboard.addListener('keyboardDidChangeFrame',t._keyboardDidChangeFrame),t.state.visible&&(t._showTimeout=setTimeout(function(){return t._show()},t.props.delay))},t.componentDidUpdate=function(o){t.props.visible!==o.visible&&(t.props.visible?(clearTimeout(t._showTimeout),clearTimeout(t._hideTimeout),t._showTimeout=setTimeout(function(){return t._show()},t.props.delay)):t._hide(),t.setState({visible:t.props.visible}))},t.componentWillUnmount=function(){t._hide(),y.Dimensions.removeEventListener('change',t._windowChanged),y.Keyboard.removeListener('keyboardDidChangeFrame',t._keyboardDidChangeFrame)},t._animating=!1,t._root=null,t._hideTimeout=null,t._showTimeout=null,t._keyboardHeight=0,t._windowChanged=function(o){var n=o.window;t.setState({windowWidth:n.width,windowHeight:n.height})},t._keyboardDidChangeFrame=function(o){var n=o.endCoordinates;t.setState({keyboardScreenY:n.screenY})},t._show=function(){clearTimeout(t._showTimeout),t._animating||(clearTimeout(t._hideTimeout),t._animating=!0,t._root.setNativeProps({pointerEvents:'auto'}),t.props.onShow&&t.props.onShow(t.props.siblingManager),y.Animated.timing(t.state.opacity,{toValue:t.props.opacity,duration:t.props.animation?w:0,easing:y.Easing.out(y.Easing.ease),useNativeDriver:!0}).start(function(o){var n=o.finished;n&&(t._animating=!n,t.props.onShown&&t.props.onShown(t.props.siblingManager),t.props.duration>0&&(t._hideTimeout=setTimeout(function(){return t._hide()},t.props.duration)))}))},t._hide=function(){clearTimeout(t._showTimeout),clearTimeout(t._hideTimeout),t._animating||(t._root&&t._root.setNativeProps({pointerEvents:'none'}),t.props.onHide&&t.props.onHide(t.props.siblingManager),y.Animated.timing(t.state.opacity,{toValue:0,duration:t.props.animation?w:0,easing:y.Easing.in(y.Easing.ease),useNativeDriver:!0}).start(function(o){o.finished&&(t._animating=!1,t.props.onHidden&&t.props.onHidden(t.props.siblingManager))}))};var n=y.Dimensions.get('window');return t.state={visible:t.props.visible,opacity:new y.Animated.Value(0),windowWidth:n.width,windowHeight:n.height,keyboardScreenY:n.height},t}return(0,c.default)(o,t),(0,l.default)(o,[{key:"render",value:function(){var t=this,o=this.props,s=this.state.windowWidth,l=o.position,u=this.state,p=u.windowHeight,c=u.keyboardScreenY,f=Math.max(p-c,0),b=l?(0,n.default)({},l<0?'bottom':'top',l<0?f-l:l):{top:0,bottom:f};return this.state.visible||this._animating?h.default.createElement(y.View,{style:[T.defaultStyle,b],pointerEvents:"box-none"},h.default.createElement(y.TouchableWithoutFeedback,{onPress:function(){'function'==typeof t.props.onPress&&t.props.onPress(),t.props.hideOnPress&&t._hide()}},h.default.createElement(y.Animated.View,{style:[T.containerStyle,{marginHorizontal:.09999999999999998*s},o.containerStyle,o.backgroundColor&&{backgroundColor:o.backgroundColor},{opacity:this.state.opacity},o.shadow&&T.shadowStyle,o.shadowColor&&{shadowColor:o.shadowColor}],pointerEvents:"none",ref:function(o){return t._root=o}},h.default.createElement(y.Text,{style:[T.textStyle,o.textStyle,o.textColor&&{color:o.textColor}]},this.props.children)))):null}}]),o})(h.Component);O.displayName='ToastContainer',O.propTypes=(function(t){for(var o=1;o0&&k.push(y.default.createElement(b.View,{style:[w.buttonSeparator,f]})),k.push(t)):A.push(t))}),y.default.createElement(h.default,(0,o.default)({backdropOpacity:.3,style:w.modal,isVisible:j,animationIn:"ios"===b.Platform.OS?S:"zoomIn",animationOut:"fadeOut"},x),y.default.createElement(b.KeyboardAvoidingView,{behavior:"ios"===b.Platform.OS?"padding":void 0,style:w.container},y.default.createElement(b.View,{style:[w.content,p]},"ios"===b.Platform.OS&&n,"ios"===b.Platform.OS&&!n&&y.default.createElement(b.View,{style:[w.blur,P]}),y.default.createElement(b.View,{style:[w.header,O]},I,T),A,Boolean(k.length)&&y.default.createElement(b.View,{style:[w.footer,D]},k.map(function(t,o){return y.default.cloneElement(t,{key:"dialog-button-"+o})})))))}}]),p})(y.default.PureComponent);e.default=v,v.propTypes={blurComponentIOS:p.default.node,buttonSeparatorStyle:p.default.object,children:p.default.node.isRequired,contentStyle:p.default.object,footerStyle:p.default.object,headerStyle:p.default.object,blurStyle:p.default.object,visible:p.default.bool},v.defaultProps={visible:!1};var w=b.StyleSheet.create({modal:{flex:1,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0},container:{justifyContent:"center",alignItems:"center"},blur:{position:"absolute",backgroundColor:"rgb(255,255,255)",top:0,left:0,bottom:0,right:0},content:b.Platform.select({ios:{width:270,flexDirection:"column",borderRadius:13,overflow:"hidden"},android:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300},web:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300}}),header:b.Platform.select({ios:{margin:18},android:{margin:12},web:{margin:12}}),footer:b.Platform.select({ios:{flexDirection:"row",justifyContent:"space-between",borderTopColor:"#A9ADAE",borderTopWidth:b.StyleSheet.hairlineWidth,height:46},android:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4},web:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4}}),buttonSeparator:{height:"100%",backgroundColor:"#A9ADAE",width:b.StyleSheet.hairlineWidth}})},1589,[1,6,57,8,9,10,12,13,68,15,18,1590]);
-__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.ReactNativeModal=e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),p=n(r(d[4])),l=n(r(d[5])),c=n(r(d[6])),u=n(r(d[7])),f=n(r(d[8])),h=n(r(d[9])),b=t(r(d[10])),w=r(d[11]),v=n(r(d[12])),O=t(r(d[13])),S=r(d[14]),T=n(r(d[15]));function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function k(t){for(var n=1;n=4||Math.abs(n.dy)>=4;return s&&o.props.onSwipeStart&&o.props.onSwipeStart(),s}},onStartShouldSetPanResponder:function(){return!(o.props.scrollTo&&o.props.scrollOffset>0)&&(o.props.onSwipeStart&&o.props.onSwipeStart(),!0)},onPanResponderMove:function(n,s){var p=o.props.deviceWidth||o.state.deviceWidth,l=1-o.getAccDistancePerDirection(s)/p;if(o.isSwipeDirectionAllowed(s))o.backdropRef&&o.backdropRef.transitionTo({opacity:o.props.backdropOpacity*l}),t(n,s),o.props.onSwipeMove&&o.props.onSwipeMove(l);else if(o.props.scrollTo){var c=-s.dy;c>o.props.scrollOffsetMax&&(c-=(c-o.props.scrollOffsetMax)/2),o.props.scrollTo({y:c,animated:!1})}},onPanResponderRelease:function(t,n){if(o.getAccDistancePerDirection(n)>o.props.swipeThreshold){if(o.props.onSwipeComplete)return o.inSwipeClosingState=!0,void o.props.onSwipeComplete();if(o.props.onSwipe)return o.inSwipeClosingState=!0,void o.props.onSwipe()}o.props.onSwipeCancel&&o.props.onSwipeCancel(),o.backdropRef&&o.backdropRef.transitionTo({opacity:o.props.backdropOpacity},o.props.backdropTransitionInTiming),w.Animated.spring(o.state.pan,{toValue:{x:0,y:0},bounciness:0}).start(),o.props.scrollOffset>o.props.scrollOffsetMax&&o.props.scrollTo({y:o.props.scrollOffsetMax,animated:!0})}})},o.getAccDistancePerDirection=function(t){switch(o.props.swipeDirection){case"up":return-t.dy;case"down":return t.dy;case"right":return t.dx;case"left":return-t.dx;default:return 0}},o.isSwipeDirectionAllowed=function(t){var n=t.dy,s=t.dx,p=n>0,l=n<0,c=s<0,u=s>0;return!("up"!==o.props.swipeDirection||!l)||(!("down"!==o.props.swipeDirection||!p)||(!("right"!==o.props.swipeDirection||!u)||!("left"!==o.props.swipeDirection||!c)))},o.handleDimensionsUpdate=function(t){if(!o.props.deviceHeight&&!o.props.deviceWidth){var n=w.Dimensions.get("window").width,s=w.Dimensions.get("window").height;n===o.state.deviceWidth&&s===o.state.deviceHeight||o.setState({deviceWidth:n,deviceHeight:s})}},o.open=function(){o.isTransitioning||(o.isTransitioning=!0,o.backdropRef&&o.backdropRef.transitionTo({opacity:o.props.backdropOpacity},o.props.backdropTransitionInTiming),o.state.isSwipeable&&o.state.pan.setValue({x:0,y:0}),o.contentRef&&(o.props.onModalWillShow&&o.props.onModalWillShow(),o.contentRef[o.animationIn](o.props.animationInTiming).then(function(){o.isTransitioning=!1,o.props.isVisible?o.props.onModalShow():o.close()})))},o.close=function(){if(!o.isTransitioning){o.isTransitioning=!0,o.backdropRef&&o.backdropRef.transitionTo({opacity:0},o.props.backdropTransitionOutTiming);var t=o.animationOut;o.inSwipeClosingState&&(o.inSwipeClosingState=!1,"up"===o.props.swipeDirection?t="slideOutUp":"down"===o.props.swipeDirection?t="slideOutDown":"right"===o.props.swipeDirection?t="slideOutRight":"left"===o.props.swipeDirection&&(t="slideOutLeft")),o.contentRef&&(o.props.onModalWillHide&&o.props.onModalWillHide(),o.contentRef[t](o.props.animationOutTiming).then(function(){o.isTransitioning=!1,o.props.isVisible?o.open():(o.setState({showContent:!1},function(){o.setState({isVisible:!1})}),o.props.onModalHide())}))}};var s=(0,S.buildAnimations)(t),p=s.animationIn,c=s.animationOut;return o.animationIn=p,o.animationOut=c,o.state.isSwipeable&&(o.state=k({},o.state,{pan:new w.Animated.ValueXY}),o.buildPanResponder()),o.props.isVisible&&(o.state=k({},o.state,{isVisible:!0,showContent:!0})),o}return(0,h.default)(n,t),(0,c.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){if(!this.state.isVisible&&t.isVisible&&this.setState({isVisible:!0,showContent:!0}),this.props.animationIn!==t.animationIn||this.props.animationOut!==t.animationOut){var n=(0,S.buildAnimations)(t),o=n.animationIn,s=n.animationOut;this.animationIn=o,this.animationOut=s}this.props.backdropOpacity!==t.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:t.backdropOpacity},this.props.backdropTransitionInTiming)}},{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`` is deprecated. Use `` instead.'),this.state.isVisible&&this.open(),w.DeviceEventEmitter.addListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentWillUnmount",value:function(){w.DeviceEventEmitter.removeListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentDidUpdate",value:function(t,n){this.props.isVisible&&!t.isVisible?this.open():!this.props.isVisible&&t.isVisible&&this.close()}},{key:"render",value:function(){var t=this,n=this.props,p=(n.animationIn,n.animationInTiming,n.animationOut,n.animationOutTiming,n.avoidKeyboard),l=n.hasBackdrop,c=n.backdropColor,u=(n.backdropOpacity,n.backdropTransitionInTiming,n.backdropTransitionOutTiming,n.children),f=n.deviceHeight,h=n.deviceWidth,v=(n.isVisible,n.onModalShow,n.onBackdropPress),S=n.onBackButtonPress,y=n.useNativeDriver,D=(n.propagateSwipe,n.style),M=(0,s.default)(n,["animationIn","animationInTiming","animationOut","animationOutTiming","avoidKeyboard","hasBackdrop","backdropColor","backdropOpacity","backdropTransitionInTiming","backdropTransitionOutTiming","children","deviceHeight","deviceWidth","isVisible","onModalShow","onBackdropPress","onBackButtonPress","useNativeDriver","propagateSwipe","style"]),R=h||this.state.deviceWidth,P=f||this.state.deviceHeight,C=[{margin:.05*R,transform:[{translateY:0}]},T.default.content,D],V={},W={};this.state.isSwipeable&&(V=k({},this.panResponder.panHandlers),W=y?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var I=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?b.default.createElement(O.View,null):u,A=b.default.createElement(O.View,(0,o.default)({},V,{ref:function(n){return t.contentRef=n},style:[W,C],pointerEvents:"box-none",useNativeDriver:y},M),I);return b.default.createElement(w.Modal,(0,o.default)({transparent:!0,animationType:"none",visible:this.state.isVisible,onRequestClose:S},M),l&&b.default.createElement(w.TouchableWithoutFeedback,{onPress:v},b.default.createElement(O.View,{ref:function(n){return t.backdropRef=n},useNativeDriver:!0,style:[T.default.backdrop,{backgroundColor:this.state.showContent?c:"transparent",width:R,height:P}]})),p&&b.default.createElement(w.KeyboardAvoidingView,{behavior:"ios"===w.Platform.OS?"padding":null,pointerEvents:"box-none",style:C.concat([{margin:0}])},A),!p&&A)}}]),n})(b.Component);e.ReactNativeModal=D,D.propTypes={animationIn:v.default.oneOfType([v.default.string,v.default.object]),animationInTiming:v.default.number,animationOut:v.default.oneOfType([v.default.string,v.default.object]),animationOutTiming:v.default.number,avoidKeyboard:v.default.bool,hasBackdrop:v.default.bool,backdropColor:v.default.string,backdropOpacity:v.default.number,backdropTransitionInTiming:v.default.number,backdropTransitionOutTiming:v.default.number,children:v.default.node.isRequired,deviceHeight:v.default.number,deviceWidth:v.default.number,isVisible:v.default.bool.isRequired,hideModalContentWhileAnimating:v.default.bool,propagateSwipe:v.default.bool,onModalShow:v.default.func,onModalWillShow:v.default.func,onModalHide:v.default.func,onModalWillHide:v.default.func,onBackButtonPress:v.default.func,onBackdropPress:v.default.func,onSwipeStart:v.default.func,onSwipeMove:v.default.func,onSwipeComplete:v.default.func,onSwipeCancel:v.default.func,swipeThreshold:v.default.number,swipeDirection:v.default.oneOf(["up","down","left","right"]),useNativeDriver:v.default.bool,style:v.default.any,scrollTo:v.default.func,scrollOffset:v.default.number,scrollOffsetMax:v.default.number,supportedOrientations:v.default.arrayOf(v.default.oneOf(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"]))},D.defaultProps={animationIn:"slideInUp",animationInTiming:300,animationOut:"slideOutDown",animationOutTiming:300,avoidKeyboard:!1,hasBackdrop:!0,backdropColor:"black",backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,onModalShow:function(){return null},onModalWillShow:function(){return null},deviceHeight:null,deviceWidth:null,onModalHide:function(){return null},onModalWillHide:function(){return null},isVisible:!1,hideModalContentWhileAnimating:!1,propagateSwipe:v.default.false,onBackdropPress:function(){return null},onBackButtonPress:function(){return null},swipeThreshold:100,useNativeDriver:!1,scrollTo:null,scrollOffset:0,scrollOffsetMax:0,supportedOrientations:["portrait","landscape"]};var M=D;e.default=M},1590,[4,1,6,57,7,8,9,10,12,13,15,18,68,743,1591,1592]);
-__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.buildAnimations=e.initializeAnimations=void 0;var o=n(r(d[2])),s=r(d[3]),l=t(r(d[4])),u=s.Dimensions.get("window"),f=u.height,c=u.width;e.initializeAnimations=function(){var t=function(t,n,s){return{from:(0,o.default)({},t,n),to:(0,o.default)({},t,s)}},n={slideInDown:t("translateY",-f,0),slideInUp:t("translateY",f,0),slideInLeft:t("translateX",-c,0),slideInRight:t("translateX",c,0),slideOutDown:t("translateY",0,f),slideOutUp:t("translateY",0,-f),slideOutLeft:t("translateX",0,-c),slideOutRight:t("translateX",0,c)};l.initializeRegistryWithDefinitions(n)};e.buildAnimations=function(t){var n=t.animationIn,o=t.animationOut,s=n,l=o;if(O(n)){var u=JSON.stringify(n);v(u,n),s=u}if(O(o)){var f=JSON.stringify(o);v(f,o),l=f}return{animationIn:s,animationOut:l}};var v=function(t,n){l.registerAnimation(t,l.createAnimation(n))},O=function(t){return null!==t&&"object"==typeof t}},1591,[4,1,7,18,743]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({backdrop:{position:"absolute",top:0,bottom:0,left:0,right:0,opacity:0,backgroundColor:"black"},content:{flex:1,justifyContent:"center"}});e.default=t},1592,[18]);
-__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])),o=t(r(d[2])),l=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),b=r(d[11]);function h(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}var j=(function(t){function n(){return(0,c.default)(this,n),(0,f.default)(this,(0,p.default)(n).apply(this,arguments))}return(0,s.default)(n,t),(0,u.default)(n,[{key:"render",value:function(){var t=this.props,n=t.style,c=t.children,u=(0,l.default)(t,["style","children"]);return O.default.createElement(b.Text,(0,o.default)({style:[v.text,n]},u),c)}}]),n})(O.default.PureComponent);e.default=j,j.propTypes=(function(t){for(var o=1;o0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.demands,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)},refreshControl:h.default.createElement(E.RefreshControl,{refreshing:this.state.isRefreshing,colors:[I.theme.primary,I.theme.purpleLight,I.theme.reddeconnect,I.theme.accentLight],onRefresh:function(){t.setState({isRefreshing:!0}),(0,T.listAllMembers)().then(function(n){console.log("from refresh",n),null!==n&&n.datas&&t.setState({listmembers:n,isLoading:!1,isRefreshing:!1})})}}),ListEmptyComponent:function(){return h.default.createElement(E.View,{style:{flex:1}},h.default.createElement(E.View,{style:{justifyContent:"center",alignItems:'center',marginTop:100}},h.default.createElement(v.default,{style:B.lottie,source:r(d[41]),autoPlay:!0,loop:!0}),h.default.createElement(E.Text,{style:B.text},L.default.t('NO_MEMBERS'))))}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,L.default.t('NO_DEMAND_ADHESION')))}},{key:"_renderLoadingDemandItems",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,L.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderAddhesionItem",value:function(t){var n=this;return h.default.createElement(S.Card,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(S.CardContent,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.View,null,h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('NAME')," :")," ",t.lastname),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('PHONE_NUMBER')," :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('EMAIL')," :")," ",t.email),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('NETWORK')," :")," ",t.network))),h.default.createElement(S.CardAction,{separator:!0,inColumn:!1},h.default.createElement(S.CardButton,{title:L.default.t('ACTIVE_USER'),onPress:function(){(0,p.acceptDemandAdhesion)(t).then(function(l){E.Alert.alert(L.default.t('ACTIVATE_ACCOUNT'),L.default.t('THE_ACCOUNT')+' '+t.lastname+" "+L.default.t('ACTIVATED'),[{text:"Ok"}]);var o=n.state.demands;o.splice(o.indexOf(t),1),n.setState({demands:o})})},color:"green"}),h.default.createElement(S.CardButton,{title:L.default.t('DELETE_GEOLOCATED_USER'),color:"red",onPress:function(){}})))}},{key:"_renderListCodeUnused",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderFreeCodeItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,L.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderFreeCodeItem",value:function(t){return console.log(t),h.default.createElement(E.View,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(E.View,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"Contact :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Membre :")," ",t.code_membre),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Validation :")," ",t.validation_code)))}}],[{key:"initState",value:function(){return{enabledListMembers:!0,listmembers:[],usersicon:null,isLoadingDemand:!0,charticon:null,isRefreshing:!1,user:{},freeCodes:[],isLoading:!0}}}]),n})(y.default);e.default=V,V.navigatorStyle={tabBarHidden:!1,topTabTextColor:'#ffffff',topTabsHeight:70,topTabTextFontFamily:'BioRhyme-Bold',selectedTopTabTextColor:'#ff505c',statusBarColor:I.theme.primaryDark,navBarBackgroundColor:I.theme.primary,navBarTextColor:'white',navBarButtonColor:'white',topTabIconColor:'#ffffff',selectedTopTabIconColor:'#ff505c',selectedTopTabIndicatorHeight:2*E.PixelRatio.get(),selectedTopTabIndicatorColor:'#ff505c'},V.navigationOptions=function(t){var n=t.navigation;return{title:L.default.t("GROUP_MANAGE"),drawerLabel:n.getParam("name",L.default.t('GROUP_MANAGE')),drawerIcon:function(t){t.tintColor;return h.default.createElement(_.default,{name:'people',size:24})}}};var B=E.StyleSheet.create({circlePoint:{width:50,height:50,marginRight:5,alignItems:'center',justifyContent:'center'},container:{flex:1,backgroundColor:'white'},fromNow:{color:I.theme.accentLight},callIcon:{marginRight:5},phone:{textAlign:'center',color:"white"},balanceMember:{marginLeft:7,fontSize:18,fontWeight:"bold",color:I.theme.primary},balanceIcon:{},name:{color:'black',fontSize:20,margin:20,fontWeight:'bold'},surname:{fontSize:17,marginLeft:20},text:{fontSize:17,fontWeight:'bold'},lottie:{width:248,height:248}})},1597,[4,1,8,10,12,11,9,13,15,18,815,527,1598,1001,711,869,871,1599,815,712,832,937,1603,1010,1145,1146,1147,1148,1149,1150,1151,840,766,930,1020,1009,1606,808,807,1137,1608,1609]);
-__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.listAllMembers=void 0;var o=n(r(d[2])),l=(t(r(d[3])),r(d[4])),s=n(r(d[5])),c=r(d[6]);r(d[7]).DBEvents,r(d[8]);e.listAllMembers=function(){var t,n,u,p,b,f;return o.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,o.default.awrap((0,l.readUser)());case 2:if(null===(t=v.sent)){v.next=24;break}return n=s.default.currentLocale(),u={tag:"member",id:t.code_membre,la:n,test:c.isDebugMode,codeparrain:t.code_membre,type:'all_geolocated'},console.log("DATA to SEND",u),v.next=9,o.default.awrap(fetch(c.memberActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(u)}));case 9:return p=v.sent,b="",v.prev=11,v.next=14,o.default.awrap(p.text());case 14:return b=v.sent,v.abrupt("return",JSON.parse(b));case 18:return v.prev=18,v.t0=v.catch(11),console.log(v.t0),console.log("error when liste member",b),f={error:-3,content:v.t0,text:b},v.abrupt("return",f);case 24:return v.abrupt("return",null);case 25:case"end":return v.stop()}},null,null,[[11,18]],Promise)}},1598,[4,1,273,15,711,712,736,738,714]);
-__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(t){for(var n=1;nt.props.sensitivity&&Math.abs(o.dy)<=t.props.sensitivity},onPanResponderGrant:this._handlePanResponderGrant,onPanResponderMove:this._handlePanResponderMove,onPanResponderRelease:this._handlePanResponderEnd,onPanResponderTerminate:this._handlePanResponderEnd,onShouldBlockNativeResponder:function(t,n){return!1},onPanResponderTerminationRequest:function(){return!1}})},componentWillReceiveProps:function(t){t.close&&this._close(),t.openRight&&this._openRight(),t.openLeft&&this._openLeft()},_handlePanResponderGrant:function(t,n){var o=this;this.props.disabled||(this.state.openedLeft||this.state.openedRight?this._callOnClose():this._callOnOpen(),this.refs.swipeoutContent.measure(function(t,n,s,h){var p=o.props.buttonWidth||s/5;o.setState({btnWidth:p,btnsLeftWidth:o.props.left?p*o.props.left.length:0,btnsRightWidth:o.props.right?p*o.props.right.length:0,swiping:!0,timeStart:(new Date).getTime()})}))},_handlePanResponderMove:function(t,n){if(!this.props.disabled){var o=n.dx,s=n.dy,h=this.state.btnsLeftWidth,p=this.state.btnsRightWidth;if(this.state.openedRight)o=n.dx-p;else if(this.state.openedLeft)o=n.dx+h;var l=Math.abs(o)>Math.abs(s);this.props.scroll&&(l?this.props.scroll(!1):this.props.scroll(!0)),this.state.swiping&&(o<0&&this.props.right?this.setState({contentPos:Math.min(o,0)}):o>0&&this.props.left&&this.setState({contentPos:Math.max(o,0)}))}},_handlePanResponderEnd:function(t,n){if(!this.props.disabled){var o=n.dx,s=this.state.contentPos,h=this.state.contentWidth,p=this.state.btnsLeftWidth,l=this.state.btnsRightWidth,u=.33*h,f=o>u||o>p/2,c=o<-u||o<-l/2;if(this.state.openedRight)c=o-u<-u;if(this.state.openedLeft)f=o+u>u;if((new Date).getTime()-this.state.timeStart<200)c=o<-u/10&&!this.state.openedLeft,f=o>u/10&&!this.state.openedRight;this.state.swiping&&(c&&s<0&&o<0?this._open(-l,'right'):f&&s>0&&o>0?this._open(p,'left'):this._close()),this.props.scroll&&this.props.scroll(!0)}},_tweenContent:function(t,o){this.tweenState(t,{easing:n.default.easingTypes.easeInOutQuad,duration:0===o?1.5*this.state.tweenDuration:this.state.tweenDuration,endValue:o})},_rubberBandEasing:function(t,n){return t<0&&t0&&t>n?n+Math.pow(t-n,.85):t},_autoClose:function(t){this.state.autoClose&&this._close();var n=t.onPress;n&&n()},_open:function(t,n){var o='left'===n,s=this.props,h=s.sectionID,p=s.rowID,l=s.onOpen;l&&l(h,p,n),this._tweenContent('contentPos',t),this.setState({contentPos:t,openedLeft:o,openedRight:!o,swiping:!1})},_close:function(){var t=this.props,n=t.sectionID,o=t.rowID,s=t.onClose;s&&(this.state.openedLeft||this.state.openedRight)&&s(n,o,this.state.openedRight?'right':'left');this._tweenContent('contentPos',0),this._callOnClose(),this.setState({openedRight:!1,openedLeft:!1,swiping:!1})},_callOnClose:function(){this.props.onClose&&this.props.onClose(this.props.sectionID,this.props.rowID)},_callOnOpen:function(){this.props.onOpen&&this.props.onOpen(this.props.sectionID,this.props.rowID)},_openRight:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsRightWidth:t.props.right?p*t.props.right.length:0},function(){t._tweenContent('contentPos',-t.state.btnsRightWidth),t._callOnOpen(),t.setState({contentPos:-t.state.btnsRightWidth,openedLeft:!1,openedRight:!0,swiping:!1})})})},_openLeft:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsLeftWidth:t.props.left?p*t.props.left.length:0},function(){t._tweenContent('contentPos',t.state.btnsLeftWidth),t._callOnOpen(),t.setState({contentPos:t.state.btnsLeftWidth,openedLeft:!0,openedRight:!1,swiping:!1})})})},render:function(){var n=this.state.contentWidth,o=this.getTweeningValue('contentPos'),p=[s.default.swipeout,this.props.style];this.props.backgroundColor&&p.push([{backgroundColor:this.props.backgroundColor}]);var l=-this.state.btnsRightWidth;if(o>0)l=this.state.btnsLeftWidth;var f={left:{left:0,overflow:'hidden',width:Math.min(l*(o/l),l)}},c={right:{left:Math.abs(n+Math.max(l,o)),right:0}},b={content:{transform:[{translateX:this._rubberBandEasing(o,l)}]}},w=[s.default.swipeoutContent];w.push(b.content);var y=[s.default.swipeoutBtns];y.push(c.right);var _=[s.default.swipeoutBtns];_.push(f.left);var R=o<0,v=o>0;return h.default.createElement(u.View,{style:p},h.default.createElement(u.View,t({ref:'swipeoutContent',style:w,onLayout:this._onLayout},this._panResponder.panHandlers),this.props.children),this._renderButtons(this.props.right,R,y),this._renderButtons(this.props.left,v,_))},_onLayout:function(t){var n=t.nativeEvent.layout,o=n.width,s=n.height;this.setState({contentWidth:o,contentHeight:s})},_renderButtons:function(t,n,o){return t&&n?h.default.createElement(u.View,{style:o},t.map(this._renderButton)):h.default.createElement(u.View,null)},_renderButton:function(t,n){var o=this;return h.default.createElement(c,{backgroundColor:t.backgroundColor,color:t.color,component:t.component,disabled:t.disabled,height:this.state.contentHeight,key:n,onPress:function(){return o._autoClose(t)},text:t.text,type:t.type,underlayColor:t.underlayColor,width:this.state.btnWidth})}});b.NativeButton=o.default,b.SwipeoutButton=c,e.default=b},1599,[1600,1601,1602,15,68,212,18]);
-__d(function(g,r,i,a,m,e,d){var n,t;n=this,t=function(){return(function(n){function t(o){if(u[o])return u[o].exports;var c=u[o]={exports:{},id:o,loaded:!1};return n[o].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}var u={};return t.m=n,t.c=u,t.p="",t(0)})({0:function(n,t,u){n.exports=u(90)},1:function(n,t){function u(){v=!1,f.length?h=f.concat(h):p=-1,h.length&&o()}function o(){if(!v){var n=setTimeout(u);v=!0;for(var t=h.length;t;){for(f=h,h=[];++p1)for(var u=1;uv.duration?v.duration:Math.max(0,s-h);u+=(0===v.duration?v.endValue:v.easing(p,v.beginValue,v.endValue,v.duration))-v.endValue}}return u},_rafCb:function(){var n=this.state;if(0!==n.tweenQueue.length){for(var t=Date.now(),u=[],o=0;on?c*Math.pow(2,10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*-.5+t:c*Math.pow(2,-10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*.5+l+t)},easeInBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*(n/=o)*n*((c+1)*n-c)+t},easeOutBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*((n=n/o-1)*n*((c+1)*n+c)+1)+t},easeInOutBack:function(n,t,u,o,c){var s=u-t;return void 0===c&&(c=1.70158),(n/=o/2)<1?s/2*(n*n*((1+(c*=1.525))*n-c))+t:s/2*((n-=2)*n*((1+(c*=1.525))*n+c)+2)+t},easeInBounce:function(n,t,o,c){var s=o-t;return s-u.easeOutBounce(c-n,0,s,c)+t},easeOutBounce:function(n,t,u,o){var c=u-t;return(n/=o)<.36363636363636365?c*(7.5625*n*n)+t:.7272727272727273>n?c*(7.5625*(n-=.5454545454545454)*n+.75)+t:.9090909090909091>n?c*(7.5625*(n-=.8181818181818182)*n+.9375)+t:c*(7.5625*(n-=.9545454545454546)*n+.984375)+t},easeInOutBounce:function(n,t,o,c){var s=o-t;return c/2>n?.5*u.easeInBounce(2*n,0,s,c)+t:.5*u.easeOutBounce(2*n-c,0,s,c)+.5*s+t}};n.exports=u}})},"object"==typeof e&&"object"==typeof m?m.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof e?e.tweenState=t():n.tweenState=t()},1600,[]);
-__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var s=1;s\/?~]/.test(t)};e.identityPieces=function(){return[{name:n.default.t('IDENTITY_CARD')},{name:n.default.t('PASSEPORT')},{name:n.default.t('OTHER_IDENTITY_PIECE')}]};e.inputCardSource=function(){return[{name:n.default.t('NUMERO_DE_SERIE'),value:'serial-number'},{name:n.default.t('CREDIT_CARD'),value:'credit-card'}]};e.transactionHistoryLabel=function(){return[{icon:'arrow-expand',label:'Type'},{icon:'inbox-arrow-up',label:'Source'},{icon:'cash',label:n.default.t('AMOUNT_LABEL')},{icon:'account-arrow-right',label:n.default.t('DESTINATAIRE')},{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.isEmptyObject=function(t){for(var n in t)if(t.hasOwnProperty(n))return!1;return JSON.stringify(t)===JSON.stringify({})};e.isIlinkWorldWallet=function(t){return(0,l.default)(o(t).toLowerCase(),'ilink-world')};var u={title:n.default.t('DEPOSIT'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletDepot,icon:'wallet',title:n.default.t('DEPOSIT_CASH_TO_WALLET')},{screen:c.walletDepot,icon:'cash-refund',title:n.default.t('DEPOSIT_CASH_TO_OTHER_WALLET')},{screen:c.walletDepot,icon:'credit-card',title:n.default.t('DEPOSIT_CASH_TO_VISA')},{screen:c.walletDepot,icon:'bank-transfer-in',title:n.default.t('DEPOSIT_CASH_TO_BANK')}]};e.optionDepotScreen=u;var s={title:n.default.t('WITHDRAWAL'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletRetrait,icon:'cash',title:n.default.t('WITHDRAWAL_IN_CASH')}]};e.optionRetraitScreen=s;var T={title:n.default.t('WITHDRAWAL'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletDepot,icon:'wallet',title:n.default.t('WITHDRAWAL_WALLET_TO_CASH')},{screen:c.walletRetrait,icon:'credit-card-refund',title:n.default.t('WITHDRAWAL_CARD_TO_CASH')},{screen:c.walletRetrait,icon:'card',title:n.default.t('WITHDRAWAL_CARD_TO_WALLET')}]};e.optionRetraitUserScreen=T;var I={title:n.default.t('DEPOSIT'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletDepot,icon:'wallet',title:n.default.t('DEPOSIT_WALLET_TO_WALLET')},{screen:c.walletDepot,icon:'cash-refund',title:n.default.t('DEPOSIT_TO_CASH')},{screen:c.walletDepot,icon:'credit-card',title:n.default.t('DEPOSIT_TO_CARD')},{screen:c.walletDepot,icon:'bank-transfer-in',title:n.default.t('DEPOSIT_TO_BANK')}]};e.optionDepotUserScreen=I;var O={title:n.default.t('IDENTIFICATION'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.createIdentification,icon:'pencil-plus',title:n.default.t('CREATION_IDENTIFICATION_DESCRIPTION_SUBSCREEN')},{screen:c.validateIdentification,icon:'check-circle',title:n.default.t('VALIDATE_IDENTIFICATION_DESCRIPTION')}]};e.optionIdentificationScreen=O},1606,[1,712,681,1607,807]);
-__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()},1607,[]);
-__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('.')}},1608,[]);
-__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}]}},1609,[]);
-__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])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),h=t(r(d[8])),p=r(d[9]),v=(n(r(d[10])),n(r(d[11])),r(d[12])),E=n(r(d[13])),y=r(d[14]),b=n(r(d[15])),S=n(r(d[16])),k=r(d[17]),C=t(r(d[18])),w=r(d[19]),N=r(d[20]),T=(r(d[21]),r(d[22])),_=r(d[23]),D=r(d[24]),x=n(r(d[25])),A=r(d[26]),B=(r(d[27]),(function(t){function n(t){var l;return(0,o.default)(this,n),(l=(0,u.default)(this,(0,c.default)(n).call(this,t))).handleViewRef=function(t){return l.numberView=t},l.handleMontantRef=function(t){return l.montantView=t},l.backPressed=function(){l.props.navigation.state.params.onGoBack()},l.state=l.initState(),l.updateState(),l}return(0,f.default)(n,t),(0,s.default)(n,[{key:"componentDidDisappear",value:function(){p.BackHandler.removeEventListener('hardwareBackPress',this.backPressed),this.props.navigation.state.params.onGoBack()}},{key:"componentDidAppear",value:function(){p.BackHandler.addEventListener('hardwareBackPress',this.backPressed)}},{key:"componentWillUnmount",value:function(){this.props.navigation.state.params.onGoBack()}},{key:"initState",value:function(){return{phone:null,montant:void 0,isSending:!1,isDisabled:!0,networks:[],user:null,visibleError:!1,currentNetwork:{nt:1},errorAnimation:""}}},{key:"onUserCancel",value:function(){console.log(this.props),this.props.navigation.state.params.onGoBack(),this.props.navigation.goBack()}},{key:"onUserSend",value:function(){var t=this,n=!0;if((!(0,w.isNumber)(this.state.montant)||this.state.montant>1e6)&&(n=!1),this.setState({visibleError:!n}),n){this.setState({isSending:!0});var l="",o="";(0,T.sendDemandeSpecificque)(this.state.montant,this.state.user.phoneTransaction,this.state.user.code_membre).then(function(n){void 0!==n.success&&1===n.success?(l=x.default.t('DEMAND_SEND'),o=x.default.t('DEMAND_SEND_SUCCESFUL')):(l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(l,o,[{text:'Ok',onPress:function(){t.setState({montant:""})}}]),setTimeout(function(){t.setState({isSending:!1})},800)}).catch(function(t){l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande",p.Alert.alert(l,o,[{text:'Ok'}])})}else this.montantView.shake(800),setTimeout(function(){t.setState({visibleError:!1})},3e3)}},{key:"render",value:function(){var t=this.state.user;return h.default.createElement(p.View,{style:{flex:1,alignItems:'center',backgroundColor:"lightgrey",paddingTop:(0,v.responsiveHeight)(10)}},h.default.createElement(p.StatusBar,{translucent:!1}),t?"geolocated"===t.category?this.multiNetwork():this.simpleAgent():h.default.createElement(p.ProgressBarAndroid,null))}},{key:"simpleAgent",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:200}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),paddingTop:20}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,null,h.default.createElement(C.View,{ref:this.handleMontantRef},h.default.createElement(D.TextInput,{label:x.default.t('AMOUNT'),keyboardType:"numeric",style:V.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:V.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(D.HelperText,{type:"error",visible:this.state.visibleError},x.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:x.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){t.onUserSend()},title:x.default.t('SEND'),color:"steelblue"}))))}},{key:"multiNetwork",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:250,justifyContent:'center'}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),justifyContent:'center'}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,{style:{flex:1}},h.default.createElement(p.View,{style:{flexDirection:'row'}},h.default.createElement(p.Picker,{selectedValue:this.state.currentNetwork,prompt:x.default.t("SELECT_NETWORK"),style:{height:50,flex:1,marginLeft:20},itemStyle:I.subtitle,onValueChange:function(n,l){return t.setState({currentNetwork:n})}},this.state.networks.map(function(t,n){return h.default.createElement(p.Picker.Item,{label:t.nt?x.default.t("SELECT_NETWORK"):x.default.t("FOR_NUMB")+t.phone+" ("+t.name+")",value:t})}))),h.default.createElement(C.View,{ref:this.handleMontantRef},h.default.createElement(D.TextInput,{label:x.default.t('AMOUNT'),keyboardType:"numeric",style:V.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:V.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(D.HelperText,{type:"error",visible:this.state.visibleError},x.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:x.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){var n=t.state,l=n.currentNetwork,o=n.montant;void 0!==l&&void 0===l.nt&&t.onNetworkSend(l.phone,l.code_membre,o)},title:x.default.t('SEND'),color:"steelblue"}))))}},{key:"renderSingleNetwork",value:function(t){var n=this,l=t.item;console.log(t);var o=null,s=null,u=0;return h.default.createElement(p.View,{style:I.container2},h.default.createElement(E.default,{style:I.cardInput2},h.default.createElement(p.View,null,h.default.createElement(p.Text,{style:I.title},x.default.t('ASK_CREDIT')),h.default.createElement(p.Text,{style:I.subtitle},x.default.t("FOR_NUMB")," ",l.phone," (",l.name,")"),h.default.createElement(C.View,{ref:this.handleMontantRef},h.default.createElement(y.Sae,{label:x.default.t('AMOUNT'),iconClass:b.default,iconName:'dollar',iconColor:k.primary,ref:function(t){o=t,n.setState({refIn:o})},inputStyle:V.style,value:this.state.montant,keyboardType:"numeric",onChangeText:function(t){if(t.length>0)try{u=parseFloat(t),n.setStat({montant:u}),s&&(s.setState({isDisabled:u>0}),s.isDisabled=u>0)}catch(t){}},style:V.selfitem,labelStyle:V.label,autoCapitalize:'none',autoCorrect:!1}))),h.default.createElement(p.View,{style:I.btnContainer},h.default.createElement(S.default,{style:I.button_1,textStyle:I.button_1_text,onPress:function(){return n.onUserCancel()}},x.default.t('CANCEL')),h.default.createElement(S.default,{ref:function(t){s=t},style:I.button_2,textStyle:I.button_2_text,onPress:function(){n.onNetworkSend(l.phone,l.code_membre,o.state.value,o,s)}},x.default.t('SEND')))))}},{key:"onNetworkSend",value:function(t,n,l){var o=this,s=!0,u=parseFloat(l);(null===u||!(0,w.isNumber)(u)||u>1e6)&&(s=!1),this.setState({visibleError:!s}),s?(0,T.sendDemandeSpecificque)(u,t,n).then(function(t){var n="",l="";void 0!==t.success&&1===t.success?(n=x.default.t("DEMAND_SEND"),l=x.default.t('DEMAND_SEND_SUCCESFUL')):(n="Erreur survenu lors de l'envoie ",l="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(n,l,[{text:"Ok",onPress:function(){o.setState({montant:""})}}])}):(this.montantView.shake(800),setTimeout(function(){o.setState({visibleError:!1})},3e3))}},{key:"updateState",value:function(){var t,n,o;return l.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,l.default.awrap((0,N.readUser)());case 2:if("geolocated"!==(t=s.sent).category){s.next=9;break}return s.next=6,l.default.awrap((0,_.getAgentNetworksList)(t.agentId));case 6:n=s.sent,console.log(n),1===n.success&&(o=[this.state.currentNetwork],n.networks.forEach(function(t){o.push(t)}),this.setState({networks:o}));case 9:this.setState({user:t});case 10:case"end":return s.stop()}},null,this,null,Promise)}}]),n})(h.Component));e.default=B,B.navigatorStyle={navBarHidden:!0},B.navigationOptions={drawerLabel:function(){return null},headerTitle:x.default.t('ASK_CREDIT'),title:x.default.t('ASK_CREDIT')};var V=p.StyleSheet.create({selfitem:{width:(0,v.responsiveWidth)(70),alignSelf:'center',marginBottom:20},label:{color:k.primary},style:{color:'black'}}),I=p.StyleSheet.create({title:{backgroundColor:k.primary,color:'white',paddingLeft:20,paddingTop:10,fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(3),height:(0,v.responsiveHeight)(10)},subtitle:{color:'black',paddingLeft:20,paddingTop:10,marginBottom:(0,v.responsiveHeight)(3),fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(2)},container:{flex:1,backgroundColor:'#EEE',justifyContent:'space-between'},container2:{flex:1,height:(0,v.responsiveHeight)(20),backgroundColor:'#EEE'},btnContainer:{flexDirection:'row',paddingRight:5,paddingLeft:5,paddingTop:5,marginBottom:-2.5},button_1:{flex:1,borderColor:'transparent'},button_2:{flex:1,borderColor:'transparent',backgroundColor:k.primary,borderRadius:0},button_1_text:{color:k.primary,fontWeight:'bold'},button_2_text:{color:'white',fontWeight:'bold'},cardInput:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(5),width:(0,v.responsiveWidth)(98),alignSelf:'center',justifyContent:'space-between',height:(0,v.responsiveHeight)(40)},cardInput2:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(1),width:(0,v.responsiveWidth)(98),height:(0,v.responsiveHeight)(50),alignSelf:'center',justifyContent:'space-between'}})},1610,[4,1,273,8,9,10,12,13,15,18,524,950,527,528,696,531,709,806,743,719,711,1153,1153,1001,1032,712,1010,807]);
-__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=n(r(d[8])),p=t(r(d[9])),v=r(d[10]),b=r(d[11]),y=(t(r(d[12])),n(r(d[13]))),S=n(r(d[14])),C=r(d[15]),k=r(d[16]),w=(t(r(d[17])),n(r(d[18]))),x=r(d[19]),E=r(d[20]);r(d[21]);r(d[22]);var T=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,u.default)(this,(0,s.default)(n).call(this,t))).state=o.generateState(),x.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,c.default)(o))),o}return(0,h.default)(n,t),(0,f.default)(n,[{key:"updateLangue",value:function(){this.props.navigation.setParams({name:y.default.t('CHANGE_INFORMATION')}),this.forceUpdate()}}],[{key:"options",value:function(t){return{topBar:{title:{text:""},backButton:{visible:!0,color:"white"},buttonsRight:[],buttonColor:"white",background:{color:E.primaryDark}}}}}]),(0,f.default)(n,[{key:"generateState",value:function(){return{isLoading:!1,notifi:!1}}},{key:"render",value:function(){var t=this;return p.default.createElement(v.View,{style:A.container},p.default.createElement(v.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!0}),p.default.createElement(v.ScrollView,{style:{flex:1,paddingTop:30}},p.default.createElement(v.View,{style:A.appContainer},p.default.createElement(v.Image,{source:r(d[23]),style:{width:(0,k.responsiveWidth)(90),resizeMode:"contain"}})),p.default.createElement(v.Text,{style:A.title},y.default.t('ADD_NETWORK')),p.default.createElement(b.Fumi,{iconClass:S.default,iconName:"code",labelStyle:A.labelInput,inputStyle:{color:'black'},value:this.state.validateCode,label:y.default.t('SPONSOR_CODE'),onChangeText:function(n){return t.setState({validateCode:n})},style:A.input}),p.default.createElement(b.Fumi,{label:y.default.t('PHONE'),iconClass:S.default,iconName:'phone',iconColor:'white',style:A.input,autoCapitalize:'none',keyboardType:"phone-pad",autoCorrect:!1,value:this.state.enterPhone,inputStyle:{color:'black'},ref:function(n){t.numberRef=n},onChangeText:function(n){return t.setState({enterPhone:n})},labelStyle:A.labelInput}),p.default.createElement(w.default,{style:A.btnStyle,textStyle:A.btnTextStyle,isLoading:this.state.isLoading,onPress:function(){return t.validateNetwork()}},y.default.t('VALIDATE'))))}},{key:"validateNetwork",value:function(){var t,n,l,u,s=this;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=this.state,n=t.validateCode,t.isLoading,l=t.enterPhone,void 0===n||null===n||null===l){c.next=8;break}return this.setState({isLoading:!0}),c.next=5,o.default.awrap((0,C.AssignAgentGeo)(n,l));case 5:u=c.sent,this.setState({isLoading:!1}),u&&(void 0!==u.success?v.Alert.alert(y.default.t('ADD_SUCCES'),y.default.t('ADD_SUCCESS_TEXT'),[{text:'OK',onPress:function(){s.setState({validateCode:"",enterPhone:""})}}]):u.error?(u.error,v.Alert.alert("Une erreur est survenu",u.error_msg,[{text:"Ok",onPress:function(){}}])):u.error&&(u.error,v.Alert.alert("Une erreur est survenu","Verifier que les champs sont bien rempli",[{text:"Ok",onPress:function(){}}])));case 8:case"end":return c.stop()}},null,this,null,Promise)}}]),n})(p.Component);e.default=T,T.navigatorStyle={navBarBackgroundColor:E.primaryDark,navBarTextColor:'white',navBarButtonColor:'white',drawUnderStatusBar:!1,statusBarColor:E.primaryDarkAdvanced,statusBarTextColorScheme:'light'},T.navigationOptions=function(t){return{drawerLabel:t.navigation.getParam("name",y.default.t('ADD_NETWORK')),drawerIcon:function(t){t.tintColor;return p.default.createElement(S.default,{name:'user',size:24})}}};var A=v.StyleSheet.create({btnHelpText:{color:'white',fontWeight:'bold'},btnHelp:{width:(0,k.responsiveWidth)(10),marginTop:(0,k.responsiveHeight)(10),alignSelf:'flex-end',marginRight:20,borderColor:'transparent',backgroundColor:E.primaryDark},btnTextStyle:{color:"white",fontWeight:'bold'},btnStyle:{alignSelf:'center',width:(0,k.responsiveWidth)(95),marginTop:20,borderColor:'transparent',backgroundColor:E.primaryDarkAdvanced,height:(0,k.responsiveHeight)(8)},appContainer:{flexDirection:'row',justifyContent:'center',alignItems:'center'},container:{alignItems:'center',justifyContent:'center',alignSelf:'center',flex:1,width:(0,k.responsiveWidth)(100),height:(0,k.responsiveHeight)(100),backgroundColor:E.primary},input:{height:(0,k.responsiveHeight)(10),width:(0,k.responsiveWidth)(90),borderRadius:10,marginTop:20,color:"black"},logo:{width:128,height:128},nameApp:{fontSize:27,fontWeight:'bold',color:'white'},title:{fontSize:22,fontWeight:'bold',margin:10,color:'white'},subtitle:{fontSize:20,margin:10,color:'white'}})},1611,[4,1,273,8,10,12,11,9,13,15,18,696,743,712,1002,711,527,950,709,766,806,808,807,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])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=t(r(d[7])),h=r(d[8]),y=n(r(d[9])),S=n(r(d[10])),p=r(d[11]),E=r(d[12]),v=(r(d[13]),r(d[14])),b=(n(r(d[15])),n(r(d[16])),n(r(d[17]))),D=r(d[18]),T=n(r(d[19]));r(d[20]),r(d[21]),r(d[22]),r(d[23]),r(d[24]),r(d[25]),r(d[26]),r(d[27]),r(d[28]);n(r(d[29]));var k=r(d[30]),L=r(d[31]),_=n(r(d[32])),C=(r(d[33]),r(d[34]),r(d[35]),n(r(d[36]))),x=r(d[37]),M=n(r(d[38])),I=r(d[13]),w=r(d[30]);r(d[39]);var A=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,s.default)(this,(0,u.default)(n).call(this,t,!0)))._populateIcons=function(){return new Promise(function(t,n){Promise.all([S.default.getImageSource('sort',30),S.default.getImageSource('layer-group',30)]).then(function(n){n[0],n[1],t(!0)}).catch(function(t){console.log(t),n(t)}).done()})},o._openMenu=function(){return o.setState({visibleMenu:!0})},o._closeMenu=function(){return o.setState({visibleMenu:!1})},o._showDateTimePicker=function(t){1===t?o.setState({isDateTimePickerVisible:!0}):o.setState({isDateEndTimePickerVisible:!0})},o._showDateEndPicker=function(){return o.setState({isDateEndTimePickerVisible:!0})},o._hideDateTimePicker=function(){return o.setState({isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1})},o.state=o.initState(),(0,D.readUser)().then(function(t){o.setState({user:t})}),o._populateIcons().then(function(){}),o.navigation=o.props.navigation,o.currentLocale=M.default.getDeviceLocale().includes("fr")?"fr":"en-gb",o}return(0,c.default)(n,t),(0,o.default)(n,[{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 h.Animated.Value(0),visibleMenu:!1,appState:h.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 f.default.createElement(h.View,{style:{position:"absolute",zIndex:100,paddingTop:50,right:10,flexDirection:'row',visible:this.state.visibleMenu,justifyContent:'center'}},f.default.createElement(x.Menu,{visible:this.state.visibleMenu,onDismiss:this._closeMenu,anchor:f.default.createElement(b.default,{onPress:this._openMenu},"Show menu")},f.default.createElement(x.Menu.Item,{onPress:function(){t.setState({isSectionned:!t.state.isSectionned}),t._closeMenu()},title:"Section"}),f.default.createElement(x.Divider,null),f.default.createElement(x.Menu.Item,{onPress:function(){t.animateSlidingUp(!t.state.isSliding),t._closeMenu()},title:_.default.t("FILTER_DATE")})))}},{key:"animateSlidingUp",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,p.responsiveHeight)(100),l=t?n:0,o=t?0:n;this.setState({isSliding:t}),this.state.translateAnim.setValue(l),h.Animated.timing(this.state.translateAnim,{toValue:o,duration:500,useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this;return f.default.createElement(x.Provider,null,f.default.createElement(h.View,{style:{flex:1}},f.default.createElement(h.StatusBar,{backgroundColor:w.primaryDark,barStyle:"light-content",translucent:!1}),this.renderSliding(),f.default.createElement(x.Appbar.Header,{dark:!0,style:{backgroundColor:w.primary}},f.default.createElement(x.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),f.default.createElement(x.Appbar.Content,{title:_.default.t('CREDIT_MANAGE'),subtitle:0===this.state.position?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE')}),f.default.createElement(x.Appbar.Action,{icon:"refresh",onPress:function(){t.refreshData()}}),f.default.createElement(x.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 f.default.createElement(h.Animated.View,{style:[V.slidingup,{translateY:this.state.translateAnim}]},f.default.createElement(T.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,p.responsiveHeight)(60)}}),f.default.createElement(h.View,{style:{flexDirection:'row'}},f.default.createElement(b.default,null,_.default.t('QUIT')),f.default.createElement(b.default,null,_.default.t('FILTER'))))}},{key:"renderSectionnedList",value:function(t){var n=this;if(this.state.isLoaded){return null!==t?t.length>0?f.default.createElement(E.HistoryItemSectionned,{user:this.state.user,list:t,refresh:function(){return n.refreshData()},style:V.listbackground}):this.state.filter?f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEMS_REQUEST'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.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?f.default.createElement(E.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:V.listbackground,isDemandSend:0===this.state.position}):this.state.filter?f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):0===l.length?f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('EMPTY_LIST_REQUEST')," "))}if(0===t.length)return f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST')))}},{key:"renderLoading",value:function(){return f.default.createElement(h.View,null,f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS')))}},{key:"showSlidingUpPanel",value:function(){}},{key:"printOptions",value:function(){var t=this;return"hyper"===this.state.user.category?f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:V.actionButtonIcon}))):f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.primary,title:_.default.t('MAKE_REQUEST'),onPress:function(){t.props.navigation.push(I.credrequester,{onGoBack:function(){return t.refreshData()}})}},f.default.createElement(S.default,{name:"edit",style:V.actionButtonIcon})),f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:V.actionButtonIcon})))}},{key:"_renderListDemandsSend",value:function(){return console.log('this.state',this.state),f.default.createElement(h.View,{style:V.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 f.default.createElement(h.View,{style:V.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:_.default.t('DEMAND_SEND')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabHyper",value:function(){var t=[{text:_.default.t('DEMAND_RECEIVE')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabs",value:function(){var t=[{text:_.default.t('MY_DEMAND'),iconSource:this.state.usersicon},{text:_.default.t('DEMAND_RECEIVE'),iconSource:this.state.charticon}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.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,v.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,v.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)})}}]),n})(f.default.Component);A.navigatorStyle={navBarBackgroundColor:k.primary,statusBarColor:k.primaryDark,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF',contextualMenuStatusBarColor:w.accent,contextualMenuBackgroundColor:w.accentLight,contextualMenuButtonsColor:'#ffffff'},A.navigationOptions=function(t){var n=t.navigation,l=n.state.routeName;return{tabBarLabel:"myDemand"===l?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE'),tabBarIcon:function(t){var o=t.focused,s=(t.horizontal,t.tintColor);return f.default.createElement(C.default,{badgeCount:n.getParam("count",0),size:20,name:"myDemand"===l?"mail":"inbox",color:o?s:"grey"})},drawerLabel:_.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return f.default.createElement(S.default,{name:'credit-card',size:24})}}};var P=A;e.default=P;h.StyleSheet.create({titleHeader:{fontSize:20,fontWeight:'bold',color:'black',flex:1},datetitle:{fontSize:17,color:'black',marginLeft:(0,p.responsiveWidth)(2)},datetext:{fontSize:16,marginLeft:(0,p.responsiveWidth)(5)},content:{flex:2},btnContainer:{flexDirection:'row',width:(0,p.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 V=h.StyleSheet.create({slidingup:{position:"absolute",height:(0,p.responsiveHeight)(84),bottom:0,backgroundColor:'white',width:(0,p.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,p.responsiveWidth)(13),marginBottom:20,fontSize:17},titlecontent:{fontSize:17,marginLeft:(0,p.responsiveWidth)(10),color:'black'},content:{flex:8},title:{fontSize:20,marginLeft:20,marginTop:20,color:'black',fontWeight:'bold'}})},1612,[4,1,8,9,10,12,13,15,18,524,827,527,1143,807,1153,1002,815,709,711,1026,1027,1145,1146,1147,1148,1149,1150,1151,1152,1137,806,937,712,768,840,405,1613,1032,930,808]);
-__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},1613,[4,1,8,9,10,12,13,15,18,827]);
-__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])),u=l(r(d[3])),o=l(r(d[4])),f=l(r(d[5])),s=l(r(d[6])),v=t(r(d[7])),c=r(d[8]),h=l(r(d[9])),b=l(r(d[10])),p=(r(d[11]),r(d[12]),r(d[13])),k=(function(t){function l(t){var u;return(0,n.default)(this,l),(u=(0,o.default)(this,(0,f.default)(l).call(this,t))).state={valuePosition:0},u.mounted=!1,u.filterOptions=[{value:5,label:"5 km"},{value:15,label:"15 km"},{value:20,label:"20 km"},{value:25,label:"25 km"}],u}return(0,s.default)(l,t),(0,u.default)(l,[{key:"geInitialState",value:function(){return{valuePosition:0}}},{key:"render",value:function(){var t=this;return v.default.createElement(c.View,{style:{flex:1}},v.default.createElement(p,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(l){return t.slidingComplete(l)}}),v.default.createElement(c.Text,null,v.default.createElement(c.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",b.default.t("DISTANCE_ARROUND")))}},{key:"slidingComplete",value:function(t){this.setState({value:this.filterOptions[t].value,valuePosition:t})}}]),l})(v.Component);e.default=k,k.navigationOptions=function(t){var l=t.navigation;return{drawerLabel:function(){return null},title:"Filtre",tabBarIcon:function(t){t.focused,t.horizontal;var n=t.tintColor;return v.default.createElement(h.default,{badgeCount:l.getParam("count",0),size:24,name:"filter-list",color:n})}}}},1614,[4,1,8,9,10,12,13,15,18,827,712,1032,806,1382]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createMaterialBottomTabNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},1615,[1,1616]);
-__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])),c=o(r(d[4])),s=o(r(d[5])),u=o(r(d[6])),v=o(r(d[7])),p=o(r(d[8])),f=t(r(d[9])),C=r(d[10]),h=r(d[11]),b=r(d[12]),y=(function(t){function o(){var t,n;(0,c.default)(this,o);for(var l=arguments.length,s=new Array(l),p=0;p0?y.default.createElement(y.default.Fragment,null,y.default.createElement(T.View,{style:[G.contentService,{borderBottomColor:I.Color.primaryColor}]},(0,k.transactionHistoryLabel)().map(function(t,l){return y.default.createElement(T.View,{style:{alignItems:'center'},key:l},y.default.createElement(C.default,{name:t.icon,size:24,color:I.Color.primaryColor}),y.default.createElement(T.Text,{style:(x.Typography.overline,I.Color.grayColor,{marginTop:4})},t.label))})),l.response.map(function(t,l){return s.renderHistoryTransactionItem(t,l)})):y.default.createElement(T.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},y.default.createElement(T.Text,{style:x.Typography.body1},h.default.t('NO_WALLET_HISTORY'))):void 0},s.renderHistoryTransaction=function(){return y.default.createElement(y.default.Fragment,null,s.props.loadingTransaction?y.default.createElement(T.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===T.Platform.OS?y.default.createElement(y.default.Fragment,null,y.default.createElement(T.ProgressBarAndroid,null),y.default.createElement(T.Text,null,h.default.t('LOADING_DOTS'))):y.default.createElement(y.default.Fragment,null,y.default.createElement(T.ActivityIndicator,{size:"large",color:'#ccc'}),y.default.createElement(T.Text,null,h.default.t('LOADING_DOTS')))):y.default.createElement(y.default.Fragment,null,y.default.createElement(T.View,{style:[G.checkDefault,{borderBottomColor:I.Color.borderColor}]},y.default.createElement(T.Text,{style:[x.Typography.title3,x.Typography.semibold]},h.default.t('TRANSACTION_HISTORY'))),s.renderHistoryTransactionList()))},s.renderDialogConfirmTransferCommission=function(){T.Alert.alert(h.default.t("CONFIRM"),h.default.t('CONFIRM_TRANSFER_COMMISSION'),[{text:h.default.t("NO"),onPress:function(){}},{text:h.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&&T.Alert.alert(h.default.t("ERROR_TRANSFER_COMMISSION"),o.data.error,[{text:h.default.t("OK"),onPress:function(){s.props.resetCommissionReducer()}}],{cancelable:!1}),null!==l&&null!==l.response&&T.Alert.alert(h.default.t("SUCCESS_TRANSFER_COMMISSION"),h.default.t("COMMISSION_TRANSFER_SUCCESS"),[{text:h.default.t("OK"),onPress:function(){s.props.resetCommissionReducer(),s.refresh()}}],{cancelable:!1})},s.state={index:0,routes:[{key:'depot',title:h.default.t('DEPOSIT')},{key:'retrait',title:h.default.t('WITHDRAWAL')}],heightHeader:w.heightHeader(),isModalConfirmVisible:!1,wallet:null,triggerTransferCommission:!1,loading:!1,isTriggerRefresh:!1,scrollHeaderY:0},s.renderContent=null,z.extend({'+':'plus'}),s.scrollY=new T.Animated.Value(0),s.scrollHeaderY=new T.Animated.Value(0),s.deltaY=new T.Animated.Value(0),s.bgBannerY=new T.Animated.Value(0),s.heightImageBanner=w.scaleWithPixel(250,1),s.marginTopBanner=s.heightImageBanner-s.state.heightHeader-40,s.isHomeRootView=s.props.navigation.state.params.hasOwnProperty('agentId'),O.IlinkEmitter.on("langueChange",s.updateLangue.bind((0,f.default)(s))),s.props.getWalletTransactionHistoryReset(),s.props.depositActionReset(),s.props.resetWalletListDetailReducer(),s.currentLocale=F.default.getDeviceLocale().includes("fr")?"fr":"en-gb",H.locale(s.currentLocale),s.isHomeRootView){var p=s.props.navigation.state.params.agentId;s.props.getWalletDetailActivated(p,!0)}else s.props.getWalletDetailActivated(s.props.navigation.state.params.wallet.id,!1),s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id);return s}return(0,p.default)(l,t),(0,s.default)(l,[{key:"componentDidMount",value:function(){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:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){return y.default.createElement(y.default.Fragment,null,y.default.createElement(T.StatusBar,{backgroundColor:I.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?y.default.createElement(T.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},y.default.createElement(T.Text,{style:x.Typography.body1},h.default.t('NO_WALLET_ACTIVED'))):this.renderDetailWallet(this.props.result.response):null)}}]),l})(y.Component);j.navigatorStyle={navBarBackgroundColor:I.Color.primaryColor,statusBarColor:I.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},j.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:h.default.t('WALLET'),headerTintColor:'white',headerStyle:{backgroundColor:I.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"},title:h.default.t('WALLET')}};var Y=(0,_.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}},function(t){return(0,B.bindActionCreators)({getWalletDetailActivated:v.getWalletDetailActivated,getWalletTransactionHistory:A.getWalletTransactionHistory,transferCommissionAction:D.transferCommissionAction,resetWalletListDetailReducer:v.resetWalletListDetailReducer,resetCommissionReducer:D.resetCommissionReducer,getWalletTransactionHistoryReset:A.getWalletTransactionHistoryReset,depositActionReset:V.depositActionReset},t)})(j);e.default=Y;var G=T.StyleSheet.create({container:{flex:1,backgroundColor:I.Color.containerBackgroundColor},indicator:{height:2},tab:{width:w.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,S.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:I.Color.borderColor,borderColor:I.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:I.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:w.scaleWithPixel(30),height:w.scaleWithPixel(30)},content:{height:w.scaleWithPixel(60),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:5}})},1617,[4,1,6,8,9,10,12,11,13,15,18,869,712,1618,1008,871,1629,1632,1020,1603,766,1009,527,1541,1634,1636,1637,681,545,736,1145,1146,1147,1148,1149,1150,1151,1152,1508,1476,1606,930,1137,1608,807,1607,808,1638,1639]);
-__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]))},1618,[1,1619,1624,1623,1627,1628]);
-__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}})},1620,[4,1,8,9,10,12,11,13,15,18,1621,1389,1622]);
-__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])),c=n(r(d[5])),s=n(r(d[6])),f=t(r(d[7])),p=r(d[8]);function b(){return(b=Object.assign||function(t){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(t,l)&&(u[l]=t[l])}return u}function O(t,n){if(null==t)return{};var l,o,u={},c=Object.keys(t);for(o=0;o=0||(u[l]=t[l]);return u}var v,h,j,P=(function(t){function n(){return(0,l.default)(this,n),(0,u.default)(this,(0,c.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.style,l=t.pressOpacity,o=t.pressColor,u=t.borderless,c=t.children,s=y(t,["style","pressOpacity","pressColor","borderless","children"]);return'android'===p.Platform.OS&&p.Platform.Version>=21?f.createElement(p.TouchableNativeFeedback,b({},s,{background:p.TouchableNativeFeedback.Ripple(o,u)}),f.createElement(p.View,{style:n},f.Children.only(c))):f.createElement(p.TouchableOpacity,b({},s,{style:n,activeOpacity:l}),c)}}]),n})(f.Component);e.default=P,j={pressColor:'rgba(255, 255, 255, .4)'},(h="defaultProps")in(v=P)?Object.defineProperty(v,h,{value:j,enumerable:!0,configurable:!0,writable:!0}):v[h]=j},1621,[4,1,8,9,10,12,13,15,18]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var t,f;return function(){for(var l=!1,o=arguments.length,u=new Array(o),v=0;v1?this.getTranslateX(n,p,u):0,v='auto'===l?p.length>1?this.getWidth(n,p,u):u(0):l;return h.createElement(y.default.View,{style:[T.indicator,{width:v},c.width?{transform:[{translateX:s}]}:{left:"".concat(100/p.length*o.index,"%")},'auto'===l?{opacity:this.opacity}:null,f]})}}]),n})(h.Component);e.default=R;var T=v.StyleSheet.create({indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}})},1623,[4,1,33,8,9,10,12,11,13,15,18,1389,1622]);
-__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])),p=n(r(d[6])),c=n(r(d[7])),f=t(r(d[8])),y=r(d[9]),v=r(d[10]),h=n(r(d[11])),b=n(r(d[12])),w=n(r(d[13])),P=n(r(d[14]));function S(){return(S=Object.assign||function(t){for(var n=1;nl.props.lazyPreloadDistance}),v((0,h.default)(l),"handleEnter",function(t){t===l.props.index&&l.state.loading&&l.setState({loading:!1})}),l}return(0,p.default)(n,t),(0,l.default)(n,[{key:"componentDidMount",value:function(){var t=this;this.props.lazy?this.props.addListener('enter',this.handleEnter):this.state.loading&&setTimeout(function(){return t.setState({loading:!1})},0)}},{key:"componentDidUpdate",value:function(t,n){this.props.lazy===t.lazy&&this.state.loading===n.loading||(this.props.lazy&&this.state.loading?this.props.addListener('enter',this.handleEnter):this.props.removeListener('enter',this.handleEnter))}},{key:"componentWillUnmount",value:function(){this.props.removeListener('enter',this.handleEnter)}},{key:"render",value:function(){var t=this.props,n=t.navigationState,o=t.index,l=t.layout,s=t.style,u=this.state.loading,h=n.index===o;return c.createElement(f.View,{accessibilityElementsHidden:!h,importantForAccessibility:h?'auto':'no-hide-descendants',style:[b.route,l.width?{width:l.width}:h?f.StyleSheet.absoluteFill:null,s]},h||l.width?this.props.children({loading:u}):null)}}],[{key:"getDerivedStateFromProps",value:function(t,n){return n.loading&&Math.abs(t.navigationState.index-t.index)<=t.lazyPreloadDistance?{loading:!1}:null}}]),n})(c.Component);e.default=y;var b=f.StyleSheet.create({route:{flex:1,overflow:'hidden'}})},1625,[4,1,8,9,10,12,11,13,15,18]);
-__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 s=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),p=n(r(d[6])),f=n(r(d[7])),c=n(r(d[8])),h=n(r(d[9])),v=t(r(d[10])),w=r(d[11]),x=r(d[12]),y=t(r(d[13])),S=n(r(d[14]));function I(){return(I=Object.assign||function(t){for(var n=1;n-1&&u.enterListeners.splice(s,1)}}),V((0,c.default)(u),"handleEnteredIndexChange",function(t){var n=(0,s.default)(t,1)[0],o=Math.max(0,Math.min(n,u.props.navigationState.routes.length-1));u.enterListeners.forEach(function(t){return t(o)})}),V((0,c.default)(u),"transitionTo",function(t){var n=new E(0),s=new E(0),o={position:u.progress,time:new E(0),finished:new E(ae)};return L([G(D(u.clock),se,[J(n,N(t,u.layoutWidth,le)),J(s,0),J(o.time,0),J(o.finished,ae),J(u.index,t)]),G(u.isSwipeGesture,[G(z(D(u.clock)),w.I18nManager.isRTL?J(u.initialVelocityForSpring,N(-1,u.velocityX,u.springVelocityScale)):J(u.initialVelocityForSpring,N(u.velocityX,u.springVelocityScale))),Q(u.clock,T({},o,{velocity:u.initialVelocityForSpring}),T({},pe,{},u.springConfig,{toValue:n}))],te(u.clock,T({},o,{frameTime:s}),T({},ce,{},u.timingConfig,{toValue:n}))),G(z(D(u.clock)),Z(u.clock)),G(o.finished,[J(u.isSwipeGesture,ae),J(u.gestureX,0),J(u.velocityX,0),$(u.clock)])])}),V((0,c.default)(u),"handleGestureEvent",W([{nativeEvent:{translationX:u.gestureX,velocityX:u.velocityX,state:u.gestureState}}])),V((0,c.default)(u),"extrapolatedPosition",P(u.gestureX,N(u.velocityX,u.swipeVelocityImpact))),V((0,c.default)(u),"toggleEnabled",function(){u.state.enabled&&u.setState({enabled:!1},function(){u.setState({enabled:!0})})}),V((0,c.default)(u),"maybeCancel",L([G(H(u.gesturesEnabled,O(H(F(u.index,ee(u.routesLength,1)),_(u.gestureX,0)),H(F(u.index,0),U(u.gestureX,0)))),J(u.gesturesEnabled,0))])),V((0,c.default)(u),"translateX",L([X(u.gesturesEnabled,G(z(u.gesturesEnabled),j([u.gesturesEnabled],u.toggleEnabled))),X(u.index,j([u.index],function(t){var n=(0,s.default)(t,1)[0];u.currentIndexValue=n,n!==u.props.navigationState.index&&(u.props.onIndexChange(n),u.pendingIndexValue=n,u.forceUpdate())})),X(u.position,G(w.I18nManager.isRTL?_(u.gestureX,0):U(u.gestureX,0),G(Y(A(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,A(u.position)),j([A(u.position)],u.handleEnteredIndexChange)]),G(Y(R(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,R(u.position)),j([R(u.position)],u.handleEnteredIndexChange)]))),X(u.isSwiping,[G(z(u.isSwiping),J(u.gesturesEnabled,1)),j([u.isSwiping,u.indexAtSwipeEnd,u.index],function(t){var n=(0,s.default)(t,3),o=n[0],l=n[1],p=n[2],f=u.props,c=f.keyboardDismissMode,h=f.onSwipeStart,v=f.onSwipeEnd;if(o===ie)if(null===h||void 0===h||h(),u.interactionHandle=w.InteractionManager.createInteractionHandle(),'auto'===c){var x=w.TextInput.State.currentlyFocusedField();w.TextInput.State.blurTextInput(x),u.previouslyFocusedTextInput=x}else'on-drag'===c&&w.Keyboard.dismiss();else if(null===v||void 0===v||v(),null!==u.interactionHandle&&w.InteractionManager.clearInteractionHandle(u.interactionHandle),'auto'===c){if(l===p){var y=u.previouslyFocusedTextInput;y&&w.TextInput.State.focusTextInput(y)}u.previouslyFocusedTextInput=null}})]),X(u.nextIndex,G(Y(u.nextIndex,re),[G(D(u.clock),$(u.clock)),J(u.gestureX,0),J(u.index,u.nextIndex),J(u.nextIndex,re)])),G(F(u.gestureState,x.State.ACTIVE),[u.maybeCancel,G(u.isSwiping,se,[J(u.isSwiping,ie),J(u.isSwipeGesture,ie),J(u.offsetX,u.progress)]),J(u.progress,w.I18nManager.isRTL?ee(u.offsetX,u.gestureX):P(u.offsetX,u.gestureX)),$(u.clock)],[J(u.isSwiping,ae),J(u.indexAtSwipeEnd,u.index),u.transitionTo(G(H(U(k(u.gestureX),de),U(k(u.extrapolatedPosition),M(u.layoutWidth,2))),B(K(q(0,ee(u.index,G(U(u.extrapolatedPosition,0),w.I18nManager.isRTL?le:oe,w.I18nManager.isRTL?oe:le))),ee(u.routesLength,1))),u.index))]),u.progress])),V((0,c.default)(u),"getTranslateX",(0,S.default)(function(t,n,s){return N(K(q(N(t,ee(n,1),le),s),0),w.I18nManager.isRTL?-1:1)})),u}return(0,h.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){this.context&&this.context.addGestureHandlerRef&&this.context.addGestureHandlerRef(this.gestureHandlerRef)}},{key:"componentDidUpdate",value:function(t){var n=this.props,s=n.navigationState,o=n.layout,l=n.swipeVelocityImpact,u=n.springVelocityScale,p=n.springConfig,f=n.timingConfig,c=s.index,h=s.routes;(c!==t.navigationState.index&&c!==this.currentIndexValue||'number'==typeof this.pendingIndexValue&&c!==this.pendingIndexValue)&&this.jumpToIndex(c),this.pendingIndexValue=void 0,t.navigationState.routes.length!==h.length&&this.routesLength.setValue(h.length),t.layout.width!==o.width&&(this.progress.setValue(-c*o.width),this.layoutWidth.setValue(o.width)),t.swipeVelocityImpact!==l&&this.swipeVelocityImpact.setValue(void 0!==l?l:ue),t.springVelocityScale!==u&&this.springVelocityScale.setValue(void 0!==u?u:fe),t.springConfig!==p&&(this.springConfig.damping.setValue(void 0!==p.damping?p.damping:pe.damping),this.springConfig.mass.setValue(void 0!==p.mass?p.mass:pe.mass),this.springConfig.stiffness.setValue(void 0!==p.stiffness?p.stiffness:pe.stiffness),this.springConfig.restSpeedThreshold.setValue(void 0!==p.restSpeedThreshold?p.restSpeedThreshold:pe.restSpeedThreshold),this.springConfig.restDisplacementThreshold.setValue(void 0!==p.restDisplacementThreshold?p.restDisplacementThreshold:pe.restDisplacementThreshold)),t.timingConfig!==f&&this.timingConfig.duration.setValue(void 0!==f.duration?f.duration:ce.duration)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&w.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,s=n.layout,o=n.navigationState,l=n.swipeEnabled,u=n.children,p=n.removeClippedSubviews,f=n.gestureHandlerProps,c=this.getTranslateX(this.layoutWidth,this.routesLength,this.translateX);return u({position:this.position,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return v.createElement(x.PanGestureHandler,I({ref:t.gestureHandlerRef,simultaneousHandlers:t.state.childPanGestureHandlerRefs,waitFor:t.state.childPanGestureHandlerRefs,enabled:0!==s.width&&l&&t.state.enabled,onGestureEvent:t.handleGestureEvent,onHandlerStateChange:t.handleGestureEvent,activeOffsetX:[-20,de],failOffsetY:[-20,de]},f),v.createElement(y.default.View,{removeClippedSubviews:p,style:[he.container,s.width?{width:s.width*o.routes.length,transform:[{translateX:c}]}:null]},v.createElement(ne.Provider,{value:t.providerVal},n)))}})}}]),n})(v.Component);e.default=ge,V(ge,"defaultProps",{swipeVelocityImpact:ue,springVelocityScale:fe}),V(ge,"contextType",ne);var he=w.StyleSheet.create({container:{flex:1,flexDirection:'row'}})},1626,[4,1,27,33,8,9,10,12,11,13,15,18,2,1389,1622]);
-__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=function(t){return function(n){var o=n.route,u=n.jumpTo,l=n.position;return p.createElement(v,{key:o.key,component:t[o.key],route:o,jumpTo:u,position:l})}};var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),f=n(r(d[5])),c=n(r(d[6])),p=t(r(d[7]));function y(t,n){if(null==t)return{};var o,u,l=s(t,n);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(t);for(u=0;u=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(l[o]=t[o])}return l}function s(t,n){if(null==t)return{};var o,u,l={},f=Object.keys(t);for(u=0;u=0||(l[o]=t[o]);return l}var v=(function(t){function n(){return(0,o.default)(this,n),(0,l.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,c.default)(n,t),(0,u.default)(n,[{key:"render",value:function(){var t=this.props,n=t.component,o=y(t,["component"]);return p.createElement(n,o)}}]),n})(p.PureComponent)},1627,[4,1,8,9,10,12,13,15]);
-__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])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),y=n(r(d[11]));function w(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var S=y.default.event,x=y.default.divide,b=y.default.onChange,T=y.default.cond,E=y.default.eq,I=y.default.round,L=y.default.call,H=y.default.Value,P=(function(t){function n(){var t,o;(0,l.default)(this,n);for(var s=arguments.length,p=new Array(s),b=0;b1&&void 0!==arguments[1])||arguments[1];o.scrollViewRef.current&&o.scrollViewRef.current.getNode().scrollTo({x:t,animated:n})}),w((0,f.default)(o),"enterListeners",[]),w((0,f.default)(o),"addListener",function(t,n){switch(t){case'enter':o.enterListeners.push(n)}}),w((0,f.default)(o),"removeListener",function(t,n){switch(t){case'enter':var l=o.enterListeners.indexOf(n);l>-1&&o.enterListeners.splice(l,1)}}),w((0,f.default)(o),"position",new y.default.Value(o.props.navigationState.index*o.props.layout.width)),w((0,f.default)(o),"onScroll",S([{nativeEvent:{contentOffset:{x:o.position}}}])),w((0,f.default)(o),"layoutWidthNode",new H(o.props.layout.width)),w((0,f.default)(o),"relativePosition",x(o.position,o.layoutWidthNode)),o}return(0,p.default)(n,t),(0,s.default)(n,[{key:"componentDidMount",value:function(){this.props.layout.width&&this.scrollTo(this.props.navigationState.index*this.props.layout.width,!1)}},{key:"componentDidUpdate",value:function(t){var n=this.props.navigationState.index*this.props.layout.width;t.navigationState.routes.length!==this.props.navigationState.routes.length||t.layout.width!==this.props.layout.width?this.scrollTo(n,!1):t.navigationState.index!==this.props.navigationState.index&&this.scrollTo(n),t.layout.width!==this.props.layout.width&&this.layoutWidthNode.setValue(this.props.layout.width)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&v.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,l=n.children,s=n.layout,u=n.onSwipeStart,c=n.onSwipeEnd,f=n.overscroll,p=n.onIndexChange,w=n.navigationState,S=function(){null===u||void 0===u||u(),t.interactionHandle=v.InteractionManager.createInteractionHandle()},x=function(){null===c||void 0===c||c(),null!==t.interactionHandle&&v.InteractionManager.clearInteractionHandle(t.interactionHandle)};return l({position:this.relativePosition,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return h.createElement(y.default.ScrollView,{pagingEnabled:!0,directionalLockEnabled:!0,keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",overScrollMode:"never",scrollToOverflowEnabled:!0,scrollEnabled:t.props.swipeEnabled,automaticallyAdjustContentInsets:!1,bounces:f,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEventThrottle:1,onScroll:t.onScroll,onScrollBeginDrag:S,onScrollEndDrag:x,onMomentumScrollEnd:t.onScroll,contentOffset:t.initialOffset,style:k.container,contentContainerStyle:s.width?{flexDirection:'row',width:s.width*w.routes.length,flex:1}:null,ref:t.scrollViewRef},n,h.createElement(y.default.Code,{exec:b(t.relativePosition,T(E(I(t.relativePosition),t.relativePosition),[L([t.relativePosition],function(t){var n=(0,o.default)(t,1)[0];return p(n)})]))}))}})}}]),n})(h.Component);e.default=P,w(P,"defaultProps",{bounces:!0});var k=v.StyleSheet.create({container:{flex:1}})},1628,[4,1,27,8,9,10,12,11,13,15,18,1389]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Images=void 0;var o={userAvatar:r(d[0]),bgprimarycolor:r(d[1]),logo:r(d[2]),room6:r(d[3])};e.Images=o},1629,[1021,1630,1140,1631]);
-__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img",width:1920,height:1280,scales:[1],hash:"e6ade7cb50f92b48c551a0e51bbb5cff",name:"bgprimarycolor",type:"png"})},1630,[175]);
-__d(function(a,e,s,t,r,h,i){r.exports=e(i[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img",width:1920,height:1280,scales:[1],hash:"8a6b70645b2552a2a8ff53ee313a20a0",name:"room-6",type:"jpg"})},1631,[175]);
-__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=C;var o=l(r(d[1])),t=l(r(d[2])),u=l(r(d[3])),n=r(d[4]),f=r(d[5]),c=l(r(d[6])),y=l(r(d[7])),s=l(r(d[8]));function C(l){var c=l.style,C=l.styleCustomText,p=l.icon,b=l.outline,h=l.full,v=l.round,O=l.loading,T=l.children,S=(0,t.default)(l,["style","styleCustomText","icon","outline","full","round","loading","children"]);return u.default.createElement(n.TouchableOpacity,(0,o.default)({},S,{style:n.StyleSheet.flatten([[s.default.default,{backgroundColor:f.Color.primaryColor}],b&&[s.default.outline,{backgroundColor:f.Color.cardBackgroundColor,borderColor:f.Color.primaryColor}],h&&s.default.full,v&&s.default.round,c]),activeOpacity:.9}),p||null,u.default.createElement(y.default,{style:n.StyleSheet.flatten([s.default.textDefault,b&&{color:f.Color.primaryColor},C]),numberOfLines:1},T||"CustomButton"),O?u.default.createElement(n.ActivityIndicator,{size:"small",color:b?f.Color.primaryColor:f.Color.whiteColor,style:{paddingLeft:5}}):null)}C.propTypes={style:c.default.oneOfType([c.default.object,c.default.array]),icon:c.default.node,outline:c.default.bool,full:c.default.bool,round:c.default.bool,loading:c.default.bool},C.defaultProps={style:{},icon:null,outline:!1,full:!1,round:!1,loading:!1}},1632,[1,6,57,15,18,1020,68,1604,1633]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=r(d[2]),c=r(d[3]),l=r(d[4]);function u(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}var f=n.StyleSheet.create({default:{height:56,borderRadius:8,flexDirection:"row",justifyContent:"center",alignItems:"center",paddingHorizontal:20},textDefault:(function(t){for(var n=1;n0?p.default.createElement(y.ScrollView,{style:{flex:1,padding:20}},n.response.map(function(t){return o.renderWalletItem(t)})):p.default.createElement(y.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.Text,{style:x.Typography.body1},h.default.t('NO_WALLET_ACTIVED'))):void 0},k.extend({'+':'plus'}),w.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,s.default)(o))),o.state={result:null,isDataLoaded:!1,agentId:null},o}return(0,f.default)(n,t),(0,o.default)(n,[{key:"componentDidMount",value:function(){var t=this;(0,A.readUser)().then(function(n){n&&void 0!==n&&void 0!==n.phone&&(t.props.getWalletActivated(n.agentId),t.setState({agentId:n.agentId}))})}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return console.log("WALLET PROPS",this.props),p.default.createElement(T.Provider,null,p.default.createElement(y.View,{style:{flex:1}},p.default.createElement(y.StatusBar,{backgroundColor:C.Color.primaryDarkColor,barStyle:"light-content",translucent:!1}),p.default.createElement(T.Appbar.Header,{dark:!0,style:{backgroundColor:C.Color.primaryColor}},p.default.createElement(T.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(T.Appbar.Content,{title:h.default.t('WALLET'),subtitle:h.default.t('SELECT_YOUR_WALLET')})),this.props.loading?this.renderLoader():this.renderWalletList()))}}]),n})(p.Component);W.navigationOptions=function(t){t.navigation;return{header:null,headerMode:'none',headerTitle:null,activeColor:'#f0edf6',inactiveColor:'#3e2465',barStyle:{backgroundColor:'#694fad'},drawerLabel:h.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return p.default.createElement(E.default,{name:'credit-card',size:24})}}};var D=(0,b.connect)(function(t){return{loading:t.walletReducer.loading,result:t.walletReducer.result,error:t.walletReducer.error}},function(t){return(0,L.bindActionCreators)({getWalletActivated:I.getWalletActivated},t)})(W);e.default=D;var O=y.StyleSheet.create({container:{flex:1,backgroundColor:C.Color.containerBackgroundColor},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:"100%",marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"}})},1640,[4,1,8,9,10,12,11,13,15,18,869,712,1008,1629,1020,736,766,1032,1541,1508,711,1476,1009,807,1607]);
-__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.PersistGate=void 0;var t=(function(t){if(t&&t.__esModule)return t;var o={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};s.get||s.set?Object.defineProperty(o,n,s):o[n]=t[n]}return o.default=t,o})(r(d[0]));function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t})(t)}function n(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function s(t,o){for(var n=0;n\/?~]/.test(t)},o.isMontantValid=function(){var t=o.state.montant;return parseInt((0,L.default)(t,0))||t<0?{errorMessage:E.default.t('ENTER_AMOUNT_SUPERIOR_ZEROR'),isValid:!1}:o.isNormalInteger(t)?t>parseInt(o.state.comptePrincipal)?{errorMessage:E.default.t('AMOUNT_SUPERIOR_TO_PRINCIPAL_ACCOUNT'),isValid:!1}:{errorMessage:'',isValid:!0}:{errorMessage:E.default.t('ENTER_VALID_AMOUNT'),isValid:!1}},o.isNumeroSerieValid=function(){var t=o.state.numeroSerie;return parseInt((0,L.default)(t,0))||t<0?{errorMessage:E.default.t('ENTER_VALID_SERIAL_NUMBER'),isValid:!1}:o.isNormalInteger(t)?t.length>11?{errorMessage:E.default.t('ENTER_VALID_SERIAL_NUMBER'),isValid:!1}:{errorMessage:'',isValid:!0}:{errorMessage:E.default.t('ENTER_VALID_SERIAL_NUMBER'),isValid:!1}},o.isCreditCardValid=function(){var t=o.state.creditCardInput,l=[];return void 0!==t.status?('incomplete'===t.status.cvc&&l.push(E.default.t('CVC_CARD_ERROR')),'incomplete'===t.status.expiry&&l.push(E.default.t('EXPIRY_CARD_ERROR')),'incomplete'===t.status.number&&l.push(E.default.t('CARD_NUMBER_ERROR'))):l.push(E.default.t('THIS_FIELD_IS_REQUIRED')),l},o.commissionsLoading=function(){return p.default.createElement(b.ProgressDialog,{visible:o.props.loadingGetCommission,title:E.default.t('LOADING'),message:E.default.t('LOADING_INFO')})},o.modalConfirmTransaction=function(t){var l=t.response.commission,n=t.response.montant_calcule;return console.log("DATA SEND TO CONFIRM DIALOG",t),p.default.createElement(I.default.Container,{useNativeDriver:!0,visible:o.state.isModalConfirmVisible},p.default.createElement(I.default.Title,null,E.default.t('CONFIRM_DEPOSIT')),p.default.createElement(C.View,null,p.default.createElement(C.View,{style:[G.blockView,{borderBottomColor:R.Color.borderColor}]},p.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(C.View,{style:{flex:1}},p.default.createElement(C.Text,{style:[N.default.body2]},E.default.t('AMOUNT'))),p.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(C.Text,{style:[S.Typography.caption1,R.Color.grayColor]},o.state.montant))),p.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(C.View,{style:{flex:1}},p.default.createElement(C.Text,{tyle:[S.Typography.body2]},E.default.t('COMMISSION_FEES'))),p.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(C.Text,{style:[S.Typography.caption1,R.Color.grayColor]},l)))),p.default.createElement(C.View,{style:{paddingVertical:10}},p.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(C.View,{style:{flex:1}},p.default.createElement(C.Text,{tyle:[S.Typography.body2]},E.default.t('TOTAL'))),p.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(C.Text,{style:[S.Typography.caption1,R.Color.grayColor]},n))))),p.default.createElement(I.default.Button,{bold:!0,label:E.default.t('CANCEL_LABEL'),onPress:function(){o.setState({isModalConfirmVisible:!1})}}),p.default.createElement(I.default.Button,{bold:!0,label:E.default.t('SUBMIT_LABEL'),onPress:function(){o.setState({isModalConfirmVisible:!1,isDataSubmit:!0}),o.props.walletCommissionAmountReset(),(0,L.default)(o.state.facade,'front')?o.props.depositAction({numCarte:o.state.creditCardInput.values.number.replace(/\s/g,''),cvv:o.state.creditCardInput.values.cvc,expiration_date:o.state.creditCardInput.values.expiry,type:"credit",montant:o.state.montant,id_wallet:o.state.id,facade:o.state.facade}):o.props.depositAction({numCarte:o.state.numeroSerie,type:"credit",montant:o.state.montant,id_wallet:o.state.id,facade:o.state.facade})}}))},o.onSubmitDeposit=function(){var t=o.state.creditCardInput;(0,L.default)(o.state.facade,'back')?o.isMontantValid().isValid&&o.isNumeroSerieValid().isValid&&o.state.montant.length>0&&(o.setState({numCarte:o.state.numeroSerie}),o.props.getWalletCommissionAmount({type:"credit",montant:o.state.montant,id_wallet:o.state.id})):o.isMontantValid().isValid&&t.valid&&o.state.montant.length>0?(o.setState({numCarte:parseInt(t.values.number.replace(/ /g,' ')),cvv:t.values.cvc,expiration_date:t.values.expiry}),o.props.getWalletCommissionAmount({type:"credit",montant:o.state.montant,id_wallet:o.state.id})):t.valid||o.setState({displayCardError:!0}),o.setState({isSubmitClick:!0})},o.renderDialogGetCommissionResponse=function(){var t=o.props.errorGetCommission;null!==t&&void 0!==t.data&&C.Alert.alert(E.default.t("ERROR_LABLE"),t.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1})},o.isHasError=function(){var t=o.props,l=t.error,n=t.result;if(o.state.isDataSubmit)return null!==l?(void 0!==l.data&&(C.Alert.alert(E.default.t("ERROR_LABEL"),l.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1}),o.props.navigation.state.params.onGoBack(),o.props.navigation.pop()),null):null!==n?(setTimeout(function(){o.props.resetWalletListDetailReducer(),o.props.navigation.state.params.onGoBack(),o.props.navigation.pop()},1500),p.default.createElement(C.View,{style:{position:"absolute",zIndex:1,backgroundColor:"#00000050",width:(0,M.responsiveWidth)(100),height:(0,M.responsiveHeight)(100),flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.default,{style:G.lottie,source:r(d[42]),autoPlay:!0,loop:!0}))):null},o.state={type:"credit",montant:'',numeroSerie:'',numCarte:0,cvv:0,expiration_date:'',creditCardInput:{},comptePrincipal:o.props.navigation.state.params.wallet.balance_princ,id:o.props.navigation.state.params.wallet.id,isModalConfirmVisible:!1,isDataSubmit:!1,isSubmitClick:!1,displayCardError:!1,inputCardSource:(0,O.inputCardSource)(),isDisplaySerialTextInput:!0,facade:"back"},o.props.walletCommissionAmountReset(),o.props.depositActionReset(),v.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,c.default)(o))),o}return(0,f.default)(l,t),(0,o.default)(l,[{key:"componentWillReceiveProps",value:function(t){null!=t.resultGetCommission&&void 0!==t.resultGetCommission.response&&(t.loadingGetCommission||this.setState({isModalConfirmVisible:!0}))}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:E.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;console.log("STATE",this.state);var l=this.props.resultGetCommission;return p.default.createElement(C.View,{style:[G.container]},null!==l&&void 0!==l.response&&this.modalConfirmTransaction(l),this.isHasError(),this.commissionsLoading(),this.state.isSubmitClick&&this.renderDialogGetCommissionResponse(),p.default.createElement(C.ScrollView,{style:{padding:20}},p.default.createElement(C.View,{style:{marginTop:20,marginRight:20,marginLeft:20,marginBottom:10}},p.default.createElement(C.Text,{style:{fontWeight:'bold'}},E.default.t('CHANGE_SOURCE_CARD')),p.default.createElement(w.Dropdown,{containerStyle:{marginTop:-20},value:"serial-number",data:this.state.inputCardSource,onChangeText:function(l,n,o){t.setState({isDisplaySerialTextInput:(0,L.default)(l,'serial-number'),facade:(0,L.default)(l,'serial-number')?'back':'front'})},valueExtractor:function(t){return t.value},labelExtractor:function(t){return t.name}})),!this.state.isDisplaySerialTextInput&&p.default.createElement(C.View,{style:{marginTop:10}},p.default.createElement(_.CreditCardInput,{validColor:this.state.creditCardInput.valid?'green':'',invalidColor:this.state.creditCardInput.valid?'':'red',onChange:this.onCreditCardChange,labels:{number:E.default.t('CARD_NUMBER_LABEL'),expiry:E.default.t('CARD_EXPIRY_LABEL'),cvc:E.default.t('CARD_CVC_LABEL')}}),this.state.displayCardError&&this.isCreditCardValid().map(function(t){return p.default.createElement(C.Text,{style:{color:'red',marginLeft:15}},t)})),this.state.isDisplaySerialTextInput&&p.default.createElement(C.View,{style:{marginTop:10,marginRight:20,marginLeft:20}},p.default.createElement(h.default,{borderBottomColor:this.isNumeroSerieValid.isValid?'red':'black',value:this.state.numeroSerie,keyboardType:"numeric",label:E.default.t('NUMERO_DE_SERIE'),style:{marginTop:10},placeholder:E.default.t('NUMERO_DE_SERIE_DESCRIPTION'),onChangeText:function(l){t.setState({numeroSerie:l}),t.isNumeroSerieValid()}}),!this.isNumeroSerieValid().isValid&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},this.isNumeroSerieValid().errorMessage),this.state.isSubmitClick&&0===this.state.numeroSerie.length&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},E.default.t('ENTER_VALID_SERIAL_NUMBER')),p.default.createElement(C.Text,null)),p.default.createElement(C.View,{style:{marginTop:10,marginRight:20,marginLeft:20,marginBottom:10}},p.default.createElement(h.default,{borderBottomColor:this.isMontantValid.isValid?'red':'black',value:this.state.montant,keyboardType:"numeric",label:E.default.t('AMOUNT_LABEL'),style:{marginTop:10},placeholder:E.default.t('AMOUNT_LABEL_DESCRIPTION'),onChangeText:function(l){t.setState({montant:l}),t.isMontantValid()}}),!this.isMontantValid().isValid&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},this.isMontantValid().errorMessage),this.state.isSubmitClick&&0===this.state.montant.length&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},E.default.t('PLEASE_ENTER_THE_AMOUNT')),p.default.createElement(C.Text,null)),p.default.createElement(C.View,{style:{margin:10}},p.default.createElement(T.default,{loading:this.props.loading,outline:!0,onPress:function(){return t.onSubmitDeposit()}},E.default.t('VALIDATE')))))}}]),l})(p.Component));B.navigatorStyle={navBarBackgroundColor:R.Color.accentLightColor,statusBarColor:R.Color.accentColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},B.navigationOptions=function(t){t.navigation;return{drawerLabel:function(){return null},title:E.default.t('MAKE_DEPOSIT'),headerStyle:{backgroundColor:R.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"}}};var k=(0,x.connect)(function(t){return{loading:t.depositReducer.loading,result:t.depositReducer.result,error:t.depositReducer.error,loadingGetCommission:t.walletGetCommission.loadingGetCommission,resultGetCommission:t.walletGetCommission.resultGetCommission,errorGetCommission:t.walletGetCommission.errorGetCommission}},function(t){return(0,D.bindActionCreators)({depositAction:V.depositAction,getWalletCommissionAmount:A.getWalletCommissionAmount,walletCommissionAmountReset:A.walletCommissionAmountReset,resetWalletListDetailReducer:A.resetWalletListDetailReducer,depositActionReset:V.depositActionReset},t)})(B);e.default=k;var G=C.StyleSheet.create({container:{flex:1,backgroundColor:R.Color.containerBackgroundColor},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:15,marginTop:10},contentButtonBottom:{borderTopWidth:1,paddingVertical:10,paddingHorizontal:20,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},blockView:{paddingVertical:10,borderBottomWidth:1},lottie:{width:248,height:248}})},1642,[4,1,8,9,10,12,11,13,15,18,869,712,832,1008,871,1629,1632,1643,1020,1603,766,1644,1009,1634,1541,1587,1377,967,681,1145,1146,1147,1148,1149,1150,1151,1508,1476,1709,527,1606,1137,1710]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var o=t(r(d[1])),l=r(d[2]),n=t(r(d[3])),u=r(d[4]);r(d[5]);function c(t){u.Color.cardBackgroundColor,t.style;var n=t.onChangeText,c=t.onFocus,f=t.placeholder,s=t.value,y=t.success,p=t.secureTextEntry,b=t.keyboardType,C=t.textAlignVertical,T=t.label,h=t.onSubmitEditing,x=t.borderBottomColor;return o.default.createElement(l.TouchableOpacity,{activeOpacity:.99},o.default.createElement(l.View,{style:{borderBottomWidth:1,borderBottomColor:x}},!!T&&o.default.createElement(l.Text,{style:{fontWeight:'bold'}},T),o.default.createElement(l.TextInput,{keyboardType:b,autoCapitalise:"words",autoCorrect:!1,style:{height:40,color:"black",fontFamily:'Raleway',flex:1,height:'100%',color:u.Color.textColor,paddingTop:5,paddingBottom:5},underlineColorAndroid:"transparent",placeholderTextColor:y?u.Color.grayColor:u.Color.primaryColor,placeholder:f,secureTextEntry:p,value:s,onChangeText:function(t){return n(t)},onFocus:function(){return c()},textAlignVertical:C,onSubmitEditing:h})))}c.propTypes={style:n.default.oneOfType([n.default.object,n.default.array]),onChangeText:n.default.func,onFocus:n.default.func,placeholder:n.default.string,value:n.default.string,success:n.default.bool,label:n.default.string,secureTextEntry:n.default.bool,keyboardType:n.default.string,textAlignVertical:n.default.string,icon:n.default.node,onSubmitEditing:n.default.func},c.defaultProps={style:{},onChangeText:function(t){},onFocus:function(){},placeholder:'Placeholder',value:'',label:'',borderBottomColor:"black",success:!0,secureTextEntry:!1,keyboardType:'default',textAlignVertical:'center',icon:null,onSubmitEditing:function(){}}},1643,[1,15,18,68,1020,1009]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})},1644,[1645]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.CardView=e.LiteCreditCardInput=e.CreditCardInput=void 0;var u=t(r(d[1])),C=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),n=(0,u.default)(C.default);e.CreditCardInput=n;var v=(0,u.default)(f.default);e.LiteCreditCardInput=v;var p=l.default;e.CardView=p},1645,[1,1646,1690,1708,1691]);
-__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=function(t){var o=(function(o){function b(){var t;return(0,s.default)(this,b),(t=(0,c.default)(this,(0,f.default)(b).call(this))).componentDidMount=function(){return setTimeout(function(){t.props.autoFocus&&t.focus("number")})},t.setValues=function(o){var u=O({},t.state.values,{},o),n=t._displayedFields(),s=new h.default(n).formatValues(u),l=new C.default(n,t.props.validatePostalCode).validateValues(s),c=O({values:s},l);t.setState(c),t.props.onChange(c)},t.focus=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"number";t.setState({focused:o})},t._displayedFields=function(){var o=t.props,u=o.requiresName,n=o.requiresCVC,s=o.requiresPostalCode;return(0,y.default)(["number","expiry",n?"cvc":null,u?"name":null,s?"postalCode":null])},t._focusPreviousField=function(o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n-1];s&&t.focus(s)},t._focusNextField=function(o){if("name"!==o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n+1];s&&t.focus(s)}},t._change=function(o,u){t.setValues((0,n.default)({},o,u))},t._onFocus=function(o){t.focus(o),t.props.onFocus(o)},t.state={focused:"",values:{},status:{}},t}return(0,p.default)(b,o),(0,l.default)(b,[{key:"render",value:function(){return v.default.createElement(t,(0,u.default)({},this.props,this.state,{onFocus:this._onFocus,onChange:this._change,onBecomeEmpty:this._focusPreviousField,onBecomeValid:this._focusNextField}))}}]),b})(v.Component);return o.propTypes={autoFocus:b.default.bool,onChange:b.default.func.isRequired,onFocus:b.default.func,requiresName:b.default.bool,requiresCVC:b.default.bool,requiresPostalCode:b.default.bool,validatePostalCode:b.default.func},o.defaultProps={autoFocus:!1,onChange:function(){},onFocus:function(){},requiresName:!1,requiresCVC:!0,requiresPostalCode:!1,validatePostalCode:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.match(/^\d{6}$/)?"valid":t.length>6?"invalid":"incomplete"}},o},e.InjectedProps=void 0;var u=o(r(d[2])),n=o(r(d[3])),s=o(r(d[4])),l=o(r(d[5])),c=o(r(d[6])),f=o(r(d[7])),p=o(r(d[8])),v=t(r(d[9])),b=o(r(d[10])),h=o(r(d[11])),C=o(r(d[12])),y=o(r(d[13]));function P(t,o){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),u.push.apply(u,n)}return u}function O(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return t.substr(0,n)},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,o=[0].concat(n).concat([t.length]);return o.map(function(n,u){if(0===u)return"";var s=o[u-1];return t.substr(s,n-s)}).filter(function(t){return""!==t}).join(" ")},v={gaps:[4,8,12],lengths:[16],code:{size:3}};e.default=function t(h){var p=this;(0,o.default)(this,t),this.formatValues=function(t){var n=u.default.number(t.number).card||v;return(0,l.default)({type:n.type,number:p._formatNumber(t.number,n),expiry:p._formatExpiry(t.expiry),cvc:p._formatCVC(t.cvc,n),name:(0,s.removeLeadingSpaces)(t.name),postalCode:(0,s.removeNonNumber)(t.postalCode)},p._displayedFields)},this._formatNumber=function(t,n){var o=(0,s.removeNonNumber)(t),u=n.lengths[n.lengths.length-1],l=c(o,u);return f(l,n.gaps)},this._formatExpiry=function(t){var n=c((0,s.removeNonNumber)(t),4);return n.match(/^[2-9]$/)?"0"+n:n.length>2?n.substr(0,2)+"/"+n.substr(2,n.length):n},this._formatCVC=function(t,n){var o=n.code.size;return c((0,s.removeNonNumber)(t),o)},this._displayedFields=[].concat((0,n.default)(h),["type"])}},1647,[1,33,8,1648,1684,1685]);
-__d(function(g,r,i,a,m,e,d){'use strict';m.exports={number:r(d[0]),expirationDate:r(d[1]),expirationMonth:r(d[2]),expirationYear:r(d[3]),cvv:r(d[4]),postalCode:r(d[5])}},1648,[1649,1678,1681,1680,1682,1683]);
-__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),l=r(d[2]),u=r(d[3]),h=r(d[4]);function s(n,l,u){return t({},{card:n,isPotentiallyValid:l,isValid:u})}m.exports=function(t){var f,o,c,p,y;if(h(t)&&(t=String(t)),!n(t))return s(null,!1,!1);if(t=t.replace(/\-|\s/g,''),!/^\d*$/.test(t))return s(null,!1,!1);if(0===(f=u(t)).length)return s(null,!1,!1);if(1!==f.length)return s(null,!0,!1);for(c='unionpay'===(o=f[0]).type||l(t),y=Math.max.apply(null,o.lengths),p=0;p-1&&t%1==0&&t<=n}},1662,[]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]),p=r(d[3]),c=r(d[4]),h=Object.prototype.hasOwnProperty;m.exports=function(l){for(var u=c(l),f=u.length,s=f&&l.length,v=!!s&&p(s)&&(n(l)||t(l)),y=-1,O=[];++y-1&&u%1==0&&u0;++y2?u[c-2]:void 0,p=c>2?u[2]:void 0,y=c>1?u[c-1]:void 0;for('function'==typeof l?(l=n(l,y,5),c-=2):c-=(l='function'==typeof y?y:void 0)?1:0,p&&o(u[0],u[1],p)&&(l=c<3?void 0:l,c=1);++v=0;)n=parseInt(t.charAt(s),10),o&&(n*=2)>9&&(n=n%10+1),o=!o,c+=n,s--;return c%10==0}},1675,[]);
-__d(function(g,r,i,a,m,e,d){'use strict';var t={},n=["visa","master-card","american-express","diners-club","discover","jcb","unionpay","maestro"];function s(t){var n,s,c;return t?(n=t.prefixPattern.source,s=t.exactPattern.source,(c=JSON.parse(JSON.stringify(t))).prefixPattern=n,c.exactPattern=s,c):null}function c(c){var p,o,x,y=[],P=[];if(!('string'==typeof c||c instanceof String))return[];for(x=0;x5?2:1,'1'===n[0]&&(u=n.substr(1),t(u).isPotentiallyValid||(o=2)),{month:l=n.substr(0,o),year:n.substr(l.length)})}},1679,[1680,1665]);
-__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=19;function s(t,n,s){return{isValid:t,isPotentiallyValid:n,isCurrentYear:s||!1}}m.exports=function(l){var u,c,o,f,p;return t(l)?''===l.replace(/\s/g,'')?s(!1,!0):/^\d*$/.test(l)?(c=l.length)<2?s(!1,!0):(u=(new Date).getFullYear(),3===c?s(!1,l.slice(0,2)===String(u).slice(0,2)):c>4?s(!1,!1):(l=parseInt(l,10),o=Number(String(u).substr(2,2)),2===c?(p=o===l,f=l>=o&&l<=o+n):4===c&&(p=u===l,f=l>=u&&l<=u+n),s(f,f,p))):s(!1,!1):s(!1,!1)}},1680,[1650]);
-__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function n(t,n,s){return{isValid:t,isPotentiallyValid:n,isValidForThisYear:s||!1}}m.exports=function(s){var o,l,u=(new Date).getMonth()+1;return t(s)?''===s.replace(/\s/g,'')||'0'===s?n(!1,!0):/^\d*$/.test(s)?(o=parseInt(s,10),isNaN(s)?n(!1,!1):n(l=o>0&&o<13,l,l&&o>=u)):n(!1,!1):n(!1,!1)}},1681,[1650]);
-__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=3;function l(n,t){for(var l=0;ll?n[u]:l;return l}function o(n,t){return{isValid:n,isPotentiallyValid:t}}m.exports=function(f,c){return c=(c=c||t)instanceof Array?c:[c],n(f)&&/^\d*$/.test(f)?l(c,f.length)?o(!0,!0):f.lengthu(c)?o(!1,!1):o(!0,!0):o(!1,!1)}},1682,[1650]);
-__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=3;function u(t,n){return{isValid:t,isPotentiallyValid:n}}m.exports=function(l){return t(l)?l.length0&&void 0!==arguments[0]?arguments[0]:"").replace(/[^\d]/g,"")};e.removeLeadingSpaces=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/^\s+/g,"")}},1684,[]);
-__d(function(g,r,i,a,m,e,d){var t=9007199254740991,n='[object Arguments]',o='[object Function]',c='[object GeneratorFunction]',u='[object Symbol]',l='object'==typeof g&&g&&g.Object===Object&&g,f='object'==typeof self&&self&&self.Object===Object&&self,b=l||f||Function('return this')();function s(t,n,o){switch(o.length){case 0:return t.call(n);case 1:return t.call(n,o[0]);case 2:return t.call(n,o[0],o[1]);case 3:return t.call(n,o[0],o[1],o[2])}return t.apply(n,o)}function y(t,n){for(var o=-1,c=t?t.length:0,u=Array(c);++o0&&o(b)?n>1?w(b,n-1,o,c,u):p(u,b):c||(u[u.length]=b)}return u}function x(t,n){return C(t=Object(t),n,function(n,o){return o in t})}function C(t,n,o){for(var c=-1,u=n.length,l={};++c-1&&n%1==0&&n<=t}function z(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function B(t){return!!t&&'object'==typeof t}function D(t){return'symbol'==typeof t||B(t)&&j.call(t)==u}var H,J,K=(H=function(t,n){return null==t?{}:x(t,y(w(n,1),E))},J=F(void 0===J?H.length-1:J,0),function(){for(var t=arguments,n=-1,o=F(t.length-J,0),c=Array(o);++n-1&&t%1==0&&t-1&&t%1==0&&t<=n}function I(n){var t=typeof n;return!!n&&('object'==t||'function'==t)}function P(n){return!!n&&'object'==typeof n}function $(n){return w(n)?O(n):F(n)}m.exports=function(n){return n?p(n,$(n)):[]}},1687,[]);
-__d(function(g,r,i,a,m,e,d){var t='Expected a function',n='__lodash_hash_undefined__',o=1,u=2,c=9007199254740991,f='[object Arguments]',l='[object Array]',s='[object Boolean]',p='[object Date]',_='[object Error]',v='[object Function]',h='[object GeneratorFunction]',y='[object Map]',b='[object Number]',j='[object Object]',w='[object RegExp]',O='[object Set]',A='[object String]',k='[object Symbol]',S='[object ArrayBuffer]',$='[object DataView]',E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/,F=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,I=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,U={};U['[object Float32Array]']=U['[object Float64Array]']=U['[object Int8Array]']=U['[object Int16Array]']=U['[object Int32Array]']=U['[object Uint8Array]']=U['[object Uint8ClampedArray]']=U['[object Uint16Array]']=U['[object Uint32Array]']=!0,U[f]=U[l]=U[S]=U[s]=U[$]=U[p]=U[_]=U[v]=U[y]=U[b]=U[j]=U[w]=U[O]=U[A]=U["[object WeakMap]"]=!1;var z='object'==typeof g&&g&&g.Object===Object&&g,C='object'==typeof self&&self&&self.Object===Object&&self,L=z||C||Function('return this')(),W='object'==typeof e&&e&&!e.nodeType&&e,B=W&&'object'==typeof m&&m&&!m.nodeType&&m,D=B&&B.exports===W&&z.process,R=(function(){try{return D&&D.binding('util')}catch(t){}})(),V=R&&R.isTypedArray;function G(t,n){for(var o=-1,u=t?t.length:0;++o-1},xt.prototype.set=function(t,n){var o=this.__data__,u=Tt(o,t);return u<0?o.push([t,n]):o[u][1]=n,this},Ft.prototype.clear=function(){this.__data__={hash:new Et,map:new(ht||xt),string:new Et}},Ft.prototype.delete=function(t){return tr(this,t).delete(t)},Ft.prototype.get=function(t){return tr(this,t).get(t)},Ft.prototype.has=function(t){return tr(this,t).has(t)},Ft.prototype.set=function(t,n){return tr(this,t).set(t,n),this},Mt.prototype.add=Mt.prototype.push=function(t){return this.__data__.set(t,n),this},Mt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.clear=function(){this.__data__=new xt},Pt.prototype.delete=function(t){return this.__data__.delete(t)},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,n){var o=this.__data__;if(o instanceof xt){var u=o.__data__;if(!ht||u.length<199)return u.push([t,n]),this;o=this.__data__=new Ft(u)}return o.set(t,n),this};var Ut,zt,Ct=(Ut=function(t,n){return t&&Wt(t,n,$r)},function(t,n){if(null==t)return t;if(!br(t))return Ut(t,n);for(var o=t.length,u=zt?o:-1,c=Object(t);(zt?u--:++u_))return!1;var h=s.get(t);if(h&&s.get(n))return h==n;var y=-1,b=!0,j=l&o?new Mt:void 0;for(s.set(t,n),s.set(n,t);++y<_;){var w=t[y],O=n[y];if(f)var A=p?f(O,w,y,n,t,s):f(w,O,y,t,n,s);if(void 0!==A){if(A)continue;b=!1;break}if(j){if(!N(n,function(t,n){if(!j.has(n)&&(w===t||c(w,t,f,l,s)))return j.add(n)})){b=!1;break}}else if(w!==O&&!c(w,O,f,l,s)){b=!1;break}}return s.delete(t),s.delete(n),b}function Yt(t,n,c,f,l,v,h){switch(c){case $:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case S:return!(t.byteLength!=n.byteLength||!f(new lt(t),new lt(n)));case s:case p:case b:return vr(+t,+n);case _:return t.name==n.name&&t.message==n.message;case w:case A:return t==n+'';case y:var j=K;case O:var E=v&u;if(j||(j=Q),t.size!=n.size&&!E)return!1;var x=h.get(t);if(x)return x==n;v|=o,h.set(t,n);var F=Xt(j(t),j(n),f,l,v,h);return h.delete(t),F;case k:if(St)return St.call(t)==St.call(n)}return!1}function Zt(t,n,o,c,f,l){var s=f&u,p=$r(t),_=p.length;if(_!=$r(n).length&&!s)return!1;for(var v=_;v--;){var h=p[v];if(!(s?h in n:it.call(n,h)))return!1}var y=l.get(t);if(y&&l.get(n))return y==n;var b=!0;l.set(t,n),l.set(n,t);for(var j=s;++v<_;){var w=t[h=p[v]],O=n[h];if(c)var A=s?c(O,w,h,n,t,l):c(w,O,h,t,n,l);if(!(void 0===A?w===O||o(w,O,c,f,l):A)){b=!1;break}j||(j='constructor'==h)}if(b&&!j){var k=t.constructor,S=n.constructor;k!=S&&'constructor'in t&&'constructor'in n&&!('function'==typeof k&&k instanceof k&&'function'==typeof S&&S instanceof S)&&(b=!1)}return l.delete(t),l.delete(n),b}function tr(t,n){var o,u,c=t.__data__;return('string'==(u=typeof(o=n))||'number'==u||'symbol'==u||'boolean'==u?'__proto__'!==o:null===o)?c['string'==typeof n?'string':'hash']:c.map}function rr(t){for(var n=$r(t),o=n.length;o--;){var u=n[o],c=t[u];n[o]=[u,c,cr(c)]}return n}function nr(t,n){var o=H(t,n);return Nt(o)?o:void 0}var er=function(t){return at.call(t)};function or(t,n,o){for(var u,c=-1,f=(n=ar(n,t)?[n]:Qt(n)).length;++c-1&&t%1==0&&t-1&&t%1==0&&t<=c}function wr(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function mr(t){return!!t&&'object'==typeof t}function Or(t){return'symbol'==typeof t||mr(t)&&at.call(t)==k}var Ar=V?(function(t){return function(n){return t(n)}})(V):function(t){return mr(t)&&jr(t.length)&&!!U[at.call(t)]};function kr(t,n,o){var u=null==t?void 0:Bt(t,n);return void 0===u?o:u}function Sr(t,n){return null!=t&&or(t,n,Dt)}function $r(t){return br(t)?It(t):qt(t)}function Er(t){return t}m.exports=function(t,n,o){var u,c,f,l,s,p=yr(t)?G:Lt;return o&&ir(t,n,o)&&(n=void 0),p(t,'function'==typeof(f=n)?f:null==f?Er:'object'==typeof f?yr(f)?Ht(f[0],f[1]):1==(c=rr(u=f)).length&&c[0][2]?fr(c[0][0],c[0][1]):function(t){return t===u||Gt(t,u,c)}:ar(s=f)?(l=sr(s),function(t){return null==t?void 0:t[l]}):Jt(s))}},1688,[]);
-__d(function(g,r,i,a,m,e,d){m.exports=function(n){for(var t=-1,o=n?n.length:0,f=0,u=[];++t0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],flipHorizontal:this.props.flipHorizontal,flipVertical:this.props.flipVertical,perspective:this.props.perspective,onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.back,{width:o,height:n});t.setState({back:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[1]):f.default.createElement(w,{style:[this.state.height>0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.face,{width:o,height:n});t.setState({face:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[0]),this.props.clickable){var n=0;return((this.props.alignHeight||this.props.alignWidth)&&this.state.mesured||!this.props.alignHeight&&!this.props.alignWidth)&&(n=1),f.default.createElement(v.TouchableOpacity,{style:{flex:1},testID:this.props.testID,activeOpacity:1,onPress:function(){t._toggleCard()}},f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p,opacity:n},this.props.style]}),o))}return f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p},this.props.style]}),o)}}]),s})(f.Component);e.default=b,b.propTypes={style:v.ViewPropTypes.style},b.propTypes={flip:c.default.bool,friction:c.default.number,perspective:c.default.number,flipHorizontal:c.default.bool,flipVertical:c.default.bool,clickable:c.default.bool,onFlipEnd:c.default.func,onFlipStart:c.default.func,alignHeight:c.default.bool,alignWidth:c.default.bool,useNativeDriver:c.default.bool,children:function(t,s,l){var p=t[s];if(2!==f.default.Children.count(p))return new Error('`'+l+"` should contain exactly two children. The first child represents the front of the card. The second child represents the back of the card.")}},b.defaultProps={flip:!1,friction:6,perspective:1e3,flipHorizontal:!1,flipVertical:!0,clickable:!0,onFlipEnd:function(){},onFlipStart:function(){},alignHeight:!1,alignWidth:!1,useNativeDriver:!0};var w=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){return f.default.createElement(v.View,{style:[y.default.face,this.props.style],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Face=w,w.propTypes={children:function(t,s,l){}};var k=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){var t=[];return this.props.flipHorizontal&&(t.push({scaleX:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),this.props.flipVertical&&(t.push({scaleY:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),f.default.createElement(v.View,{style:[y.default.back,this.props.style,{transform:t}],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Back=k,k.defaultProps={flipHorizontal:!1,flipVertical:!0,perspective:1e3},k.propTypes={flipHorizontal:c.default.bool,flipVertical:c.default.bool,perspective:c.default.number,children:function(t,s,l){}}},1703,[4,1,6,8,9,10,12,13,15,68,18,1704]);
-__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({flipCard:{flex:1},face:{flex:1},back:{flex:1}});e.default=t},1704,[18]);
-__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"51f117706ff4cfc614abbc45a67afc4f",name:"card-front",type:"png"})},1705,[175]);
-__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"45c1d3c823f2e173bcd56271ce49848e",name:"card-back",type:"png"})},1706,[175]);
-__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])),u=l(r(d[4])),p=l(r(d[5])),s=l(r(d[6])),c=l(r(d[7])),f=t(r(d[8])),y=l(r(d[9])),v=r(d[10]),h=v.StyleSheet.create({baseInputStyle:{color:"black"}}),C=(function(t){function l(){var t,o;(0,n.default)(this,l);for(var u=arguments.length,c=new Array(u),f=0;f\/?~]/.test(t)},n.isMontantValid=function(){var t=n.state.montant;return 0==parseInt(t)||t<0?{errorMessage:E.default.t('ENTER_AMOUNT_SUPERIOR_ZEROR'),isValid:!1}:n.isNormalInteger(t)?{errorMessage:'',isValid:!0}:{errorMessage:E.default.t('ENTER_VALID_AMOUNT'),isValid:!1}},n.isCreditCardValid=function(){var t=n.state.creditCardInput,o=[];return void 0!==t.status?('incomplete'===t.status.cvc&&o.push(E.default.t('CVC_CARD_ERROR')),'incomplete'===t.status.expiry&&o.push(E.default.t('EXPIRY_CARD_ERROR')),'incomplete'===t.status.number&&o.push(E.default.t('CARD_NUMBER_ERROR'))):o.push(E.default.t('THIS_FIELD_IS_REQUIRED')),o},n.commissionsLoading=function(){return f.default.createElement(I.ProgressDialog,{visible:n.props.loadingGetCommission,title:E.default.t('LOADING'),message:E.default.t('LOADING_INFO')})},n.modalConfirmTransaction=function(t){var o=t.response.commission,l=t.response.montant_calcule;return console.log("DATA SEND TO CONFIRM DIALOG",t),f.default.createElement(_.default.Container,{useNativeDriver:!0,visible:n.state.isModalConfirmVisible},f.default.createElement(_.default.Title,null,E.default.t('CONFIRM_WITHDRAWAL')),f.default.createElement(C.View,null,f.default.createElement(C.View,{style:[O.blockView,{borderBottomColor:b.Color.borderColor}]},f.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},f.default.createElement(C.View,{style:{flex:1}},f.default.createElement(C.Text,{style:[D.default.body2]},E.default.t('AMOUNT'))),f.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},f.default.createElement(C.Text,{style:[R.Typography.caption1,b.Color.grayColor]},n.state.montant))),f.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},f.default.createElement(C.View,{style:{flex:1}},f.default.createElement(C.Text,{tyle:[R.Typography.body2]},E.default.t('COMMISSION_FEES'))),f.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},f.default.createElement(C.Text,{style:[R.Typography.caption1,b.Color.grayColor]},o)))),f.default.createElement(C.View,{style:{paddingVertical:10}},f.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},f.default.createElement(C.View,{style:{flex:1}},f.default.createElement(C.Text,{tyle:[R.Typography.body2]},E.default.t('TOTAL'))),f.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},f.default.createElement(C.Text,{style:[R.Typography.caption1,b.Color.grayColor]},l))))),f.default.createElement(_.default.Button,{bold:!0,label:E.default.t('CANCEL_LABEL'),onPress:function(){n.setState({isModalConfirmVisible:!1})}}),f.default.createElement(_.default.Button,{bold:!0,label:E.default.t('SUBMIT_LABEL'),onPress:function(){n.setState({isModalConfirmVisible:!1,isDataSubmit:!0}),n.props.walletCommissionAmountReset(),n.props.depositAction({numCarte:n.state.creditCardInput.values.number.replace(/\s/g,''),cvv:n.state.creditCardInput.values.cvc,expiration_date:n.state.creditCardInput.values.expiry,type:"debit",montant:n.state.montant,id_wallet:n.state.id})}}))},n.onSubmitDeposit=function(){var t=n.state.creditCardInput;n.isMontantValid().isValid&&t.valid&&n.state.montant.length>0?(console.log("Is Montant Valid",n.isMontantValid.isValid),console.log("creditCardInput Valid",t.valid),n.setState({numCarte:parseInt(t.values.number.replace(/ /g,' ')),cvv:t.values.cvc,expiration_date:t.values.expiry}),n.props.getWalletCommissionAmount({type:"debit",montant:n.state.montant,id_wallet:n.state.id})):t.valid||n.setState({displayCardError:!0}),n.setState({isSubmitClick:!0})},n.renderDialogGetCommissionResponse=function(){var t=n.props.errorGetCommission;null!==t&&void 0!==t.data&&C.Alert.alert(E.default.t("ERROR_LABLE"),t.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1})},n.isHasError=function(){var t=n.props,o=t.error,l=t.result;if(n.state.isDataSubmit)return null!==o?(void 0!==o.data&&(C.Alert.alert(E.default.t("ERROR_LABEL"),o.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1}),n.props.navigation.state.params.onGoBack(),n.props.navigation.pop()),null):null!==l?(setTimeout(function(){n.props.navigation.state.params.onGoBack(),n.props.navigation.pop()},1500),f.default.createElement(C.View,{style:{position:"absolute",zIndex:1,backgroundColor:"#00000050",width:(0,S.responsiveWidth)(100),height:(0,S.responsiveHeight)(100),flex:1,justifyContent:'center',alignItems:'center'}},f.default.createElement(y.default,{style:O.lottie,source:r(d[39]),autoPlay:!0,loop:!0}))):null},n.state={type:"debit",montant:'',numCarte:0,cvv:0,expiration_date:'',creditCardInput:{},comptePrincipal:n.props.navigation.state.params.wallet.balance_princ,id:n.props.navigation.state.params.wallet.id,isModalConfirmVisible:!1,isDataSubmit:!1,isSubmitClick:!1,displayCardError:!1},n.props.walletCommissionAmountReset(),n.props.depositActionReset(),console.log("Wallet Params",n.props.navigation.state.params.wallet),A.IlinkEmitter.on("langueChange",n.updateLangue.bind((0,c.default)(n))),n}return(0,p.default)(o,t),(0,n.default)(o,[{key:"componentWillReceiveProps",value:function(t){null!=t.resultGetCommission&&void 0!==t.resultGetCommission.response&&(t.loadingGetCommission||this.setState({isModalConfirmVisible:!0}))}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:E.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;console.log("STATE",this.state);var o=this.props,l=(o.error,o.resultGetCommission);return f.default.createElement(C.View,{style:[O.container]},null!==l&&void 0!==l.response&&this.modalConfirmTransaction(l),this.isHasError(),this.commissionsLoading(),this.state.isSubmitClick&&this.renderDialogGetCommissionResponse(),f.default.createElement(C.ScrollView,{style:{padding:20}},f.default.createElement(C.View,{style:{marginTop:10}},f.default.createElement(T.CreditCardInput,{validColor:this.state.creditCardInput.valid?'green':'',invalidColor:this.state.creditCardInput.valid?'':'red',onChange:this.onCreditCardChange,labels:{number:E.default.t('CARD_NUMBER_LABEL'),expiry:E.default.t('CARD_EXPIRY_LABEL'),cvc:E.default.t('CARD_CVC_LABEL')}}),this.state.displayCardError&&this.isCreditCardValid().map(function(t){return f.default.createElement(C.Text,{style:{color:'red',marginLeft:15}},t)})),f.default.createElement(C.View,{style:{margin:20}},f.default.createElement(h.default,{borderBottomColor:this.isMontantValid.isValid?'red':'black',value:this.state.montant,keyboardType:"numeric",label:E.default.t('AMOUNT_LABEL'),style:{marginTop:10},placeholder:E.default.t('AMOUNT_LABEL'),onChangeText:function(o){t.setState({montant:o}),t.isMontantValid()}}),!this.isMontantValid().isValid&&f.default.createElement(C.Text,{style:{color:'red',marginTop:2}},this.isMontantValid().errorMessage),this.state.isSubmitClick&&0===this.state.montant.length&&f.default.createElement(C.Text,{style:{color:'red',marginTop:2}},E.default.t('PLEASE_ENTER_THE_AMOUNT')),f.default.createElement(C.Text,null)),f.default.createElement(C.View,{style:{margin:10}},f.default.createElement(v.default,{loading:this.props.loading,outline:!0,onPress:function(){return t.onSubmitDeposit()}},E.default.t('VALIDATE')))))}}]),o})(f.Component));M.navigatorStyle={navBarBackgroundColor:b.Color.accentLightColor,statusBarColor:b.Color.accentColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},M.navigationOptions=function(t){t.navigation;return{drawerLabel:function(){return null},title:E.default.t('MAKE_WITHDRAWAL'),headerStyle:{backgroundColor:b.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"}}};var B=(0,L.connect)(function(t){return{loading:t.depositReducer.loading,result:t.depositReducer.result,error:t.depositReducer.error,loadingGetCommission:t.walletGetCommission.loadingGetCommission,resultGetCommission:t.walletGetCommission.resultGetCommission,errorGetCommission:t.walletGetCommission.errorGetCommission}},function(t){return(0,x.bindActionCreators)({depositAction:V.depositAction,getWalletCommissionAmount:w.getWalletCommissionAmount,walletCommissionAmountReset:w.walletCommissionAmountReset,resetWalletListDetailReducer:w.resetWalletListDetailReducer,depositActionReset:V.depositActionReset},t)})(M);e.default=B;var O=C.StyleSheet.create({container:{flex:1,backgroundColor:b.Color.containerBackgroundColor},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:15,marginTop:10},contentButtonBottom:{borderTopWidth:1,paddingVertical:10,paddingHorizontal:20,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},blockView:{paddingVertical:10,borderBottomWidth:1},lottie:{width:248,height:248}})},1711,[4,1,8,9,10,12,11,13,15,18,869,712,832,1008,871,1629,1632,1643,1020,1603,766,1644,1009,1634,1541,1587,1377,1145,1146,1147,1148,1149,1150,1151,1508,1476,1709,527,1137,1710]);
-__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])),s=n(r(d[3])),l=n(r(d[4])),c=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),h=n(r(d[8])),p=t(r(d[9])),E=r(d[10]),v=(n(r(d[11])),n(r(d[12]))),y=(n(r(d[13])),n(r(d[14])),r(d[15])),I=r(d[16]),C=t(r(d[17])),N=n(r(d[18])),w=n(r(d[19])),P=n(r(d[20])),k=n(r(d[21])),D=r(d[22]),A=n(r(d[23])),S=r(d[24]),T=r(d[25]),x=r(d[26]),b=r(d[27]),O=n(r(d[28])),_=r(d[29]),F=r(d[30]),R=r(d[31]),L=r(d[32]),M=r(d[33]),Y=(r(d[34]),r(d[35]),r(d[36])),V=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,u.default)(this,(0,f.default)(n).call(this,t))).onChangeDateNaissance=function(t,n){var s=n||new Date;o.setState({showPickerDateNaissance:'ios'===E.Platform.OS||!1,dateNaissance:Y(s).format('DD-MM-YYYY')})},o.onChangeDateExpiration=function(t,n){var s=n||new Date;o.setState({showPickerDateExpiration:'ios'===E.Platform.OS||!1,dateExpiration:Y(s).format('DD-MM-YYYY')})},o.onSubmitIdentityClient=function(){var t=o.state,n=t.lastname,s=t.numeroTelephone,l=t.numeroIdentite,c=t.dateNaissance,u=t.dateExpiration,f=t.country,h=t.townName,p=t.identityPiecesName;o.ckeckIfFieldIsOK(n)&&o.lastnameAnim.shake(800),o.ckeckIfFieldIsOK(s)?o.numeroTelephoneAnim.shake(800):o.ckeckIfFieldIsOK(c)?o.datenaissanceAnim.shake(800):o.ckeckIfFieldIsOK(f)?o.countryAnim.shake(800):o.ckeckIfFieldIsOK(h)?o.townAnim.shake(800):o.ckeckIfFieldIsOK(p)?o.identityPiecesAnim.shake(800):o.ckeckIfFieldIsOK(l)?o.numeroIdentiteAnim.shake(800):o.ckeckIfFieldIsOK(u)?o.identityDateExpiryAnim.shake(800):o.props.createIndentificationAction({lastname:o.state.lastname,firstname:"",birth_date:o.state.dateNaissance,town:o.state.townName,country:o.state.country,identity_document:o.state.identityPiecesName,id_identity_document:o.state.numeroIdentite,expiry_date_document:o.state.dateExpiration,id_user:321})},o.renderLoader=function(){return p.default.createElement(b.MaterialDialog,{title:w.default.t("LOADING"),visible:o.props.loading},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,w.default.t('LOADING_INFO'))):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ActivityIndicator,{size:"large",color:'#ccc'}),p.default.createElement(E.Text,null,w.default.t('LOADING_INFO')))))},o.renderDateNaissancePicker=function(){return p.default.createElement(A.default,{testID:"dateTimePicker",timeZoneOffsetInMinutes:0,is24Hour:!0,value:o.state.dateNaissance||new Date,mode:"date",maximumDate:new Date,display:"spinner",onChange:o.onChangeDateNaissance})},o.renderDateExpirationPicker=function(){return p.default.createElement(A.default,{testID:"dateTimePicker",timeZoneOffsetInMinutes:0,is24Hour:!0,value:o.state.dateExpiration||new Date,mode:"date",maximumDate:new Date(2300,10,20),display:"spinner",onChange:o.onChangeDateExpiration})},o.state={enterPhone:null,firstname:null,lastname:null,numeroIdentite:null,dateNaissance:null,dateExpiration:null,numeroTelephone:null,networksinglePickerVisible:!1,confirmpassanim:null,isLoging:!1,countries:[],town:[],townName:null,country:null,identityPieces:(0,_.identityPieces)(),identityPiecesName:(0,_.identityPieces)()[0].name,snackVisible:!1,snackText:'',disableNetwork:!1,networks:[],showPickerDateNaissance:!1,showPickerDateExpiration:!1,modalVisible:!0,select_network:w.default.t("SELECT_NETWORK"),user:null},o.dateNaissanceFumiProps={},o.dateExpirationFumiProps={},o.props.createIndentificationResetAction(),o}return(0,h.default)(n,t),(0,c.default)(n,[{key:"componentDidMount",value:function(){var t=this;(0,x.readUser)().then(function(n){n&&void 0!==n&&t.setState({user:n})}),'android'===E.Platform.OS?this.requestCameraPermission():this.watchLocation()}},{key:"componentWillReceiveProps",value:function(){var t=this,n=this.props,o=n.result,s=n.error;null!==o&&void 0!==o.response&&E.Alert.alert("SUCCES",JSON.stringify(o.response),[{text:w.default.t("OK"),onPress:function(){t.props.createIndentificationResetAction()}}],{cancelable:!1}),null!==s&&void 0!==s.data&&E.Alert.alert("ERREUR",JSON.stringify(s.data),[{text:w.default.t("OK"),onPress:function(){t.props.createIndentificationResetAction()}}],{cancelable:!1})}},{key:"componentWillUpdate",value:function(t,n){this.state.showPickerDateNaissance&&(this.dateNaissanceFumiProps.value=Y(n.dateNaissance).format('DD-MM-YYYY')),this.state.showPickerDateExpiration&&(this.dateExpirationFumiProps.value=Y(n.dateExpiration).format('DD-MM-YYYY'))}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.watchID&&O.default.clearWatch(this.watchID)}},{key:"showErrorDialog",value:function(){var t=this;this.setState({modalDialog:!1}),Aler.alert("Une erreur est survenue","Impossible de r\xe9cuperer des informations du pays verifier que votre gps est activ\xe9,et que vous \xeates connect\xe9 \xe0 internet puis ressayer",[{text:"Recommencer",onPress:function(){t.watchLocation()}},{text:"Annuler",onPress:function(){t.props.navigation.popToTop()}}])}},{key:"watchLocation",value:function(){var t=this;return s.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:O.default.getCurrentPosition(function(n){t.treatPosition(n)},function(n){t.showErrorDialog()},this.props.geolocationOptions),this.watchID||O.default.watchPosition(function(n){t.treatPosition(n)},function(n){t.showErrorDialog()},this.props.geolocationOptions);case 2:case"end":return n.stop()}},null,this,null,Promise)}},{key:"requestCameraPermission",value:function(){var t=this;return s.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,s.default.awrap(E.PermissionsAndroid.request(E.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'Cool Photo App Camera Permission',message:"Cool Photo App needs access to your camera so you can take awesome pictures."}));case 3:n.sent===E.PermissionsAndroid.RESULTS.GRANTED?this.watchLocation():(this.setState({modalDialog:!1}),E.Alert.alert("Echec \xe0 l'autorisation","L'application n'est pas autoris\xe9 \xe0 acceder \xe0 votre position veuillez verifier que votre GPS est activ\xe9 et configurer en mode Haute Precision",[{text:"Ok",onPress:function(){t.props.navigation.popToTop()}}])),n.next=11;break;case 7:n.prev=7,n.t0=n.catch(0),this.setState({modalDialog:!1}),E.Alert.alert("Une erreur est Survenue","Une erreur est survenu lors du demarrage de l'application veuillez relancer l'application",[{text:"Ok",onPress:function(){BackHandler.exitApp()}}]);case 11:case"end":return n.stop()}},null,this,[[0,7]],Promise)}},{key:"treatPosition",value:function(t){var n=this,o=this.state.myPosition,s=t.coords;(0,P.default)(s,o)||((0,T.getPositionInformation)(s).then(function(t){if(void 0!==t.results&&t.results.length>0){var o=t.results[0],s=o.address_components,l=o.formatted_address,c=o.place_id;n.setState({address:s,textadress:l,place:c});for(var u,f,h=t.results,p=0;p=s.length)break;f=s[c++]}else{if((c=s.next()).done)break;f=c.value}var h=f;h.code_country===u&&(o=!0,n.setState({modalVisible:!1,indicatif:h.code_dial,country:h.name}))}o||E.Alert.alert("Impossible de recup\xe9rer vos informations","Nous n'avons pas pu recuperer les informations de votre pays veuillez contacter les administrateurs",[{text:"OK"}])})}}).catch(function(t){n.showErrorDialog()}),this.setState({myPosition:s}))}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,k.default)(t)||(0,P.default)(t.length,0)}},{key:"renderLoaderModal",value:function(){return p.default.createElement(M.ProgressDialog,{visible:this.props.loading,title:w.default.t('LOADING'),message:w.default.t('LOADING_INFO')})}},{key:"render",value:function(){var t=this;console.log("STATE",this.state);this.state.showPickerDateNaissance;return p.default.createElement(p.default.Fragment,null,this.state.showPickerDateNaissance&&this.renderDateNaissancePicker(),this.state.showPickerDateExpiration&&this.renderDateExpirationPicker(),this.state.modalVisible&&this.renderLoaderModal(),this.props.loading&&this.renderLoader(),p.default.createElement(E.ScrollView,{style:W.container},p.default.createElement(E.Text,{style:W.subbigtitle},w.default.t('CREATE_IDENTIFICATION_TITLE')),p.default.createElement(C.View,{ref:function(n){t.lastnameAnim=n}},p.default.createElement(I.Fumi,{iconClass:v.default,iconName:'user',label:w.default.t('NAME')+" "+w.default.t('AND')+" "+w.default.t('FIRSTNAME'),iconColor:'#f95a25',iconSize:20,onChangeText:function(n){t.setState({lastname:n})},style:W.input})),p.default.createElement(C.View,{ref:function(n){t.numeroTelephoneAnim=n}},p.default.createElement(I.Fumi,{iconClass:v.default,iconName:'phone',label:w.default.t('PHONE'),iconColor:'#f95a25',value:null===this.state.numeroTelephone?this.state.indicatif:this.state.numeroTelephone,iconSize:20,onChangeText:function(n){t.setState({numeroTelephone:n})},style:W.input})),p.default.createElement(C.View,{ref:function(n){t.datenaissanceAnim=n}},p.default.createElement(I.Fumi,(0,o.default)({iconClass:v.default,iconName:'calendar',label:w.default.t('DATE_NAISSANCE'),iconColor:'#f95a25',iconSize:20,style:W.input,onFocus:function(){E.Keyboard.dismiss(),t.setState({showPickerDateNaissance:!0})}},this.dateNaissanceFumiProps))),p.default.createElement(C.View,{ref:function(n){t.countryAnim=n},style:{width:(0,y.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},p.default.createElement(S.Dropdown,{label:w.default.t('COUNTRY_CHOICE'),data:this.state.countries,useNativeDriver:!0,value:null===this.state.country?"":this.state.country,onChangeText:function(n,o,s){t.setState({country:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),p.default.createElement(C.View,{ref:function(n){t.townAnim=n},style:{width:(0,y.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},p.default.createElement(S.Dropdown,{label:w.default.t('CHOICE_TOWN'),data:this.state.town,useNativeDriver:!0,value:null===this.state.townName?"":this.state.townName,onChangeText:function(n,o,s){t.setState({townName:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),p.default.createElement(C.View,{ref:function(n){t.identityPiecesAnim=n},style:{width:(0,y.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},p.default.createElement(S.Dropdown,{label:w.default.t('PIECE_IDENTITE'),data:this.state.identityPieces,useNativeDriver:!0,value:this.state.identityPiecesName,onChangeText:function(n,o,s){t.setState({identityPiecesName:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),p.default.createElement(C.View,{ref:function(n){t.numeroIdentiteAnim=n}},p.default.createElement(I.Fumi,{iconClass:v.default,iconName:'address-card',label:""+w.default.t('NUMERO_IDENTITE'),iconColor:'#f95a25',iconSize:20,onChangeText:function(n){t.setState({numeroIdentite:n})},style:W.input})),p.default.createElement(C.View,{ref:function(n){t.identityDateExpiryAnim=n}},p.default.createElement(I.Fumi,(0,o.default)({iconClass:v.default,iconName:'calendar-times-o',label:w.default.t('IDENTITY_PIECE_EXPIRY_DATE'),iconColor:'#f95a25',iconSize:20,style:W.input,onFocus:function(){E.Keyboard.dismiss(),t.setState({showPickerDateExpiration:!0})}},this.dateExpirationFumiProps))),p.default.createElement(N.default,{style:W.btnvalide,textStyle:W.textbtnvalide,isLoading:this.state.isLoging,onPress:function(){t.onSubmitIdentityClient()}},w.default.t('SUBMIT_LABEL'))))}}]),n})(p.Component);V.navigatorStyle={navBarBackgroundColor:D.Color.primaryColor,statusBarColor:D.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},V.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:w.default.t('CREATION_IDENTIFICATION_DESCRIPTION'),headerTintColor:'white',headerStyle:{backgroundColor:D.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:w.default.t('CREATION_IDENTIFICATION_DESCRIPTION')}};var K=(0,F.connect)(function(t){return{loading:t.createIdentificationReducer.loading,result:t.createIdentificationReducer.result,error:t.createIdentificationReducer.error}},function(t){return(0,R.bindActionCreators)({createIndentificationAction:L.createIndentificationAction,createIndentificationResetAction:L.createIndentificationResetAction},t)})(V);e.default=K;var W=E.StyleSheet.create({container:{flex:1,backgroundColor:D.Color.primaryDarkColor},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:D.Color.accentLightColor,height:52},input:{height:60,marginTop:(0,y.responsiveHeight)(2),marginLeft:(0,y.responsiveWidth)(5),marginRight:(0,y.responsiveWidth)(5),borderRadius:5}})},1712,[4,1,6,273,8,9,10,12,13,15,18,68,531,871,827,527,696,743,709,712,681,1713,1020,1714,967,764,711,768,804,1606,1508,1476,1721,1377,806,807,1027]);
-__d(function(g,r,i,a,m,e,d){m.exports=function(n){return null==n}},1713,[]);
-__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 u=t(r(d[1])).default;e.default=u},1714,[1,1715]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var n=r(d[1]),u=t(r(d[2])),l=t(r(d[3]));function s(t){var u=t.mode,s=t.value,o=t.display;(0,l.default)(s,'A date or time should be specified as `value`.'),(0,l.default)(!(o===n.DISPLAY.calendar&&u===n.ANDROID_MODE.time||o===n.DISPLAY.clock&&u===n.ANDROID_MODE.date),"display: "+o+" and mode: "+u+" cannot be used together.")}function o(t){s(t);var l,o=t.mode,D=t.value,E=t.display,c=t.onChange,_=t.is24Hour,v=t.minimumDate,T=t.maximumDate,p=t.neutralButtonLabel;switch(o){case n.MODE_TIME:l=u.default[n.MODE_TIME].open({value:D,display:E,is24Hour:_,neutralButtonLabel:p});break;case n.MODE_DATE:default:l=u.default[n.MODE_DATE].open({value:D,display:E,minimumDate:v,maximumDate:T,neutralButtonLabel:p})}return l.then(function(t){var u=t.action,l=t.day,s=t.month,o=t.year,E=t.minute,_=t.hour,v=new Date(D),T={type:'set',nativeEvent:{}};switch(u){case n.DATE_SET_ACTION:T.nativeEvent.timestamp=v.setFullYear(o,s,l),c(T,v);break;case n.TIME_SET_ACTION:T.nativeEvent.timestamp=v.setHours(_,E),c(T,v);break;case n.NEUTRAL_BUTTON_ACTION:T.type='neutralButtonPressed',c(T);break;case n.DISMISS_ACTION:default:T.type='dismissed',c(T)}},function(t){throw t}),null}o.defaultProps={display:n.DISPLAY_DEFAULT,mode:n.MODE_DATE}},1715,[1,1716,1717,19]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.NEUTRAL_BUTTON_ACTION=e.NEUTRAL_BUTTON_LABEL=e.DISMISS_ACTION=e.TIME_SET_ACTION=e.DATE_SET_ACTION=e.DAY_OF_WEEK=e.ANDROID_MODE=e.DISPLAY=e.DISPLAY_CALENDAR=e.DISPLAY_CLOCK=e.DISPLAY_SPINNER=e.DISPLAY_DEFAULT=e.MODE_DATETIME=e.MODE_TIME=e.MODE_DATE=void 0;e.MODE_DATE='date';e.MODE_TIME='time';e.MODE_DATETIME='datetime';e.DISPLAY_DEFAULT='default';e.DISPLAY_SPINNER='spinner';e.DISPLAY_CLOCK='clock';e.DISPLAY_CALENDAR='calendar';var A=Object.freeze({spinner:'spinner',default:'default',clock:'clock',calendar:'calendar'});e.DISPLAY=A;var _=Object.freeze({date:'date',time:'time'});e.ANDROID_MODE=_;var E=Object.freeze({Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6});e.DAY_OF_WEEK=E;e.DATE_SET_ACTION='dateSetAction';e.TIME_SET_ACTION='timeSetAction';e.DISMISS_ACTION='dismissedAction';e.NEUTRAL_BUTTON_LABEL='neutralButtonLabel';e.NEUTRAL_BUTTON_ACTION='neutralButtonAction'},1716,[]);
-__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 u,f=t(r(d[1])),l=t(r(d[2])),_=t(r(d[3])),o=r(d[4]),v=(u={},(0,f.default)(u,o.MODE_DATE,l.default),(0,f.default)(u,o.MODE_TIME,_.default),u);e.default=v},1717,[1,7,1718,1720,1716]);
-__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])),u=t(r(d[2])),l=t(r(d[3])),o=r(d[4]),s=r(d[5]),c=r(d[6]),f=(function(){function t(){(0,u.default)(this,t)}return(0,l.default)(t,null,[{key:"open",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return(0,c.toMilliseconds)(t,'value','minimumDate','maximumDate'),t.display=t.display||o.DISPLAY_DEFAULT,n.abrupt("return",s.NativeModules.RNDatePickerAndroid.open(t));case 3:case"end":return n.stop()}},null,null,null,Promise)}}]),t})();e.default=f,f.dateSetAction=o.DATE_SET_ACTION,f.dismissedAction=o.DISMISS_ACTION},1718,[1,273,8,9,1716,18,1719]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.toMilliseconds=function(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),c=1;c0&&s<=1&&(s*=n),c&&c>0&&c<=1&&(c*=o),{width:s,height:c}}}]),p})();O.defaultProps={rounded:!0,dialogTitle:null,visible:!1,containerStyle:null,animationDuration:150,dialogStyle:null,width:null,height:null,onTouchOutside:function(){},onHardwareBackPress:function(){return!1},hasOverlay:!0,overlayOpacity:.5,overlayPointerEvents:null,overlayBackgroundColor:'#000',onShow:function(){},onDismiss:function(){},footer:null,useNativeDriver:!0},O.propTypes=b,e.default=O},1730,[15,18,1731,1732,1733,1725,68]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,o=(function(){function t(t,o){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},l=n.initialValue,v=void 0===l?0:l,f=n.useNativeDriver,c=void 0===f||f;o(this,u),this.animate=new t.Animated.Value(v),this.useNativeDriver=c}return n(u,[{key:'in',value:function(n){throw Error('not implemented yet')}},{key:'out',value:function(n){throw Error('not implemented yet')}},{key:'getAnimations',value:function(){throw Error('not implemented yet')}}]),u})();e.default=l},1732,[18,68]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n=(function(){function t(t,n){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=t.initialValue,o=void 0===n?0:n,l=t.useNativeDriver,s=void 0===l||l,v=t.animationDuration,p=void 0===v?200:v;f(this,u);var h=c(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,{initialValue:o,useNativeDriver:s}));return h.animationDuration=p,h}return s(u,l.default),n(u,[{key:'in',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.timing(this.animate,{toValue:1,duration:this.animationDuration,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'out',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.timing(this.animate,{toValue:0,duration:this.animationDuration,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'getAnimations',value:function(){return{opacity:this.animate}}}]),u})();e.default=v},1733,[18,1732]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,l='src/components/DialogTitle.js',o=r(d[0]),n=(t=o)&&t.__esModule?t:{default:t},s=r(d[1]),u=r(d[2]);var p=r(d[3]).babelPluginFlowReactPropTypes_proptype_DialogTitleProps||r(d[4]).any,f='android'===s.Platform.OS,y=s.StyleSheet.create({title:{padding:24,paddingLeft:18,paddingRight:18,borderTopLeftRadius:8,borderTopRightRadius:8},titleBar:{padding:14,borderBottomWidth:1/s.PixelRatio.get(),backgroundColor:'#F9F9FB',borderColor:'#DAD9DC'},text:{fontWeight:f?'400':'500',fontFamily:f?'sans-serif-medium':'System',fontSize:f?19:15,color:'#151822'}});function c(t){var o=t.title,p=t.style,f=t.textStyle,c=t.hasTitleBar,_=t.align,b=c?y.titleBar:null,T={alignItems:u.Positions[_]};return n.default.createElement(s.View,{style:[y.title,T,b,p],__source:{fileName:l,lineNumber:43}},n.default.createElement(s.Text,{style:[y.text,f],__source:{fileName:l,lineNumber:44}},o))}c.propTypes=p===r(d[4]).any?{}:p,c.defaultProps={align:'center',style:null,textStyle:null,hasTitleBar:!0},e.default=c},1734,[15,18,1727,1725,68]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var o,t='src/components/DialogFooter.js',l=r(d[0]),n=(o=l)&&o.__esModule?o:{default:o},c=r(d[1]);var u=r(d[2]).babelPluginFlowReactPropTypes_proptype_DialogFooterProps||r(d[3]).any,s=c.StyleSheet.create({border:{borderColor:'#CCD0D5',borderTopWidth:1/c.PixelRatio.get()},actionsVertical:{height:200,flexDirection:'column'},actionsHorizontal:{flexDirection:'row'}});function p(o){var u=o.style,p=o.bordered,b=o.children,f=b.length>2?s.actionsVertical:s.actionsHorizontal,y=p?s.border:null,_=2===b.length?l.Children.map(b,function(o,t){return(0,l.cloneElement)(o,{bordered:1%t==0&&p})}):b;return n.default.createElement(c.View,{style:[f,y,u],__source:{fileName:t,lineNumber:42}},_)}p.propTypes=u===r(d[3]).any?{}:u,p.defaultProps={style:null,bordered:!0},e.default=p},1735,[15,18,1725,68]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n='src/components/DialogContent.js',l=r(d[0]),o=(t=l)&&t.__esModule?t:{default:t},p=r(d[1]);var u=r(d[2]).babelPluginFlowReactPropTypes_proptype_DialogContentProps||r(d[3]).any,s=p.StyleSheet.create({content:{paddingLeft:18,paddingRight:18,paddingBottom:24}});function c(t){var l=t.style,u=t.children;return o.default.createElement(p.View,{style:[s.content,l],__source:{fileName:n,lineNumber:17}},u)}c.propTypes=u===r(d[3]).any?{}:u,c.defaultProps={style:null},e.default=c},1736,[15,18,1725,68]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n=(function(){function t(t,n){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.spring(this.animate,{toValue:1,velocity:0,tension:65,friction:7,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'out',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.timing(this.animate,{toValue:0,duration:200,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'getAnimations',value:function(){return{transform:[{scale:this.animate.interpolate({inputRange:[0,1],outputRange:[0,1]})}]}}}]),u})();e.default=p},1737,[18,1732]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n=(function(){function t(t,n){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=t.initialValue,o=void 0===n?0:n,s=t.useNativeDriver,p=void 0===s||s,c=t.slideFrom,h=void 0===c?u.SLIDE_FROM_BOTTOM:c;l(this,u);var v=f(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,{initialValue:o,useNativeDriver:p}));return v.slideFrom=h,v}return p(u,s.default),n(u,[{key:'in',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.spring(this.animate,{toValue:1,velocity:0,tension:65,friction:10,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'out',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.spring(this.animate,{toValue:0,velocity:0,tension:65,friction:10,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'getAnimations',value:function(){var t=[];if(this.slideFrom===u.SLIDE_FROM_TOP)t.push({translateY:this.animate.interpolate({inputRange:[0,1],outputRange:[-v,0]})});else if(this.slideFrom===u.SLIDE_FROM_BOTTOM)t.push({translateY:this.animate.interpolate({inputRange:[0,1],outputRange:[v,0]})});else if(this.slideFrom===u.SLIDE_FROM_LEFT)t.push({translateX:this.animate.interpolate({inputRange:[0,1],outputRange:[-h,0]})});else{if(this.slideFrom!==u.SLIDE_FROM_RIGHT)throw new Error('\n slideFrom: '+this.slideFrom+' not supported. \'slideFrom\' must be \'top\' | \'bottom\' | \'left\' | \'right\'\n ');t.push({translateX:this.animate.interpolate({inputRange:[0,1],outputRange:[h,0]})})}return{transform:t}}}]),u})();_.SLIDE_FROM_TOP='top',_.SLIDE_FROM_BOTTOM='bottom',_.SLIDE_FROM_LEFT='left',_.SLIDE_FROM_RIGHT='right',e.default=_},1738,[18,1732]);
-__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])),c=n(r(d[4])),s=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),p=t(r(d[8])),h=r(d[9]),y=n(r(d[10])),C=n(r(d[11])),b=t(r(d[12])),w=(r(d[13]),r(d[14])),E=(r(d[15]),r(d[16])),T=r(d[17]),v=(r(d[18]),r(d[19])),x=n(r(d[20])),k=(r(d[21]),n(r(d[22]))),V=(r(d[23]),r(d[24]),(function(t){function n(t){var l;return(0,o.default)(this,n),(l=(0,c.default)(this,(0,s.default)(n).call(this,t))).renderItem=function(t,n){return n?p.default.createElement(p.default.Fragment,null,p.default.createElement(h.View,{style:[I.containerTouch]},p.default.createElement(h.TouchableOpacity,{style:I.contain,onPress:function(){l.props.navigation.push(t.screen)},activeOpacity:.9},p.default.createElement(y.default,{name:t.icon,color:w.Color.primaryColor,size:30,style:I.imageBanner}),p.default.createElement(h.View,{style:[I.content]},p.default.createElement(h.View,{style:I.contentTitle},p.default.createElement(h.Text,{style:[v.Typography.headline,v.Typography.semibold]},t.title))))),p.default.createElement(h.View,{style:{flex:1}})):p.default.createElement(h.View,{style:[I.containerTouch]},p.default.createElement(h.TouchableOpacity,{style:I.contain,onPress:function(){l.props.navigation.push(t.screen)},activeOpacity:.9},p.default.createElement(y.default,{name:t.icon,color:w.Color.primaryColor,size:30,style:I.imageBanner}),p.default.createElement(h.View,{style:[I.content]},p.default.createElement(h.View,{style:I.contentTitle},p.default.createElement(h.Text,{style:[v.Typography.headline,v.Typography.semibold]},t.title)),p.default.createElement(h.View,{style:{flex:1}}))))},E.IlinkEmitter.on("langueChange",l.updateLangue.bind((0,u.default)(l))),l.state={options:l.props.navigation.state.params.optionSelect.options,title:l.props.navigation.state.params.optionSelect.title,subTitle:l.props.navigation.state.params.optionSelect.subTitle,hasWallet:l.props.navigation.state.params.hasOwnProperty('wallet'),lottie:l.props.navigation.state.params.lottie},l}return(0,f.default)(n,t),(0,l.default)(n,[{key:"updateLangue",value:function(){this.props.navigation.setParams({name:C.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return p.default.createElement(T.Provider,null,p.default.createElement(h.View,{style:{flex:1}},p.default.createElement(h.StatusBar,{backgroundColor:w.Color.primaryDarkColor,barStyle:"light-content",translucent:!1}),p.default.createElement(T.Appbar.Header,{dark:!0,style:{backgroundColor:w.Color.primaryColor}},p.default.createElement(T.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(T.Appbar.Content,{title:this.state.title,subtitle:this.state.subTitle})),p.default.createElement(h.View,{style:I.container},p.default.createElement(h.View,{style:{justifyContent:'center',alignItems:'center'}},p.default.createElement(x.default,{style:I.lottie,source:this.state.lottie.source,autoPlay:!0,loop:this.state.lottie.loop})),p.default.createElement(h.View,{style:[I.checkDefault,{borderBottomColor:w.Color.borderColor}]},p.default.createElement(h.Text,{style:[v.Typography.title3,v.Typography.semibold]},C.default.t('TRANSACTIONS'))),(0,k.default)(this.state.options,2).map(function(n){return p.default.createElement(h.View,{style:I.transactionContainer},1===n.length?n.map(function(n){return t.renderItem(n,!0)}):n.map(function(n){return t.renderItem(n,!1)}))}))))}}]),n})(p.Component));e.default=V,V.navigationOptions=function(t){t.navigation;return{header:null,headerMode:'none',headerTitle:null,activeColor:'#f0edf6',inactiveColor:'#3e2465',barStyle:{backgroundColor:'#694fad'},drawerLabel:C.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return p.default.createElement(y.default,{name:'credit-card',size:24})}}};var I=h.StyleSheet.create({container:{flex:1,backgroundColor:w.Color.containerBackgroundColor,paddingHorizontal:20},item:{paddingVertical:15,borderBottomWidth:1,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},lottie:{width:540,height:240},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:w.Color.borderColor,borderColor:w.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:w.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:b.scaleWithPixel(30),height:b.scaleWithPixel(30)},content:{height:b.scaleWithPixel(60),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:12}})},1739,[4,1,8,9,10,12,11,13,15,18,869,712,1008,1629,1020,736,766,1032,711,1009,832,1606,1740,807,1607]);
-__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=Math.ceil,f=Math.max;m.exports=function(l,v,c){v=(c?t(l,v,c):void 0===v)?1:f(o(v),0);var h=null==l?0:l.length;if(!h||v<1)return[];for(var x=0,M=0,_=Array(u(h/v));x0&&void 0!==arguments[0]?arguments[0]:c,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.GET_NUMBER_DETAIL_PENDING:return u({},t,{loading:!0});case o.GET_NUMBER_DETAIL_SUCCESS:return u({},t,{loading:!1,result:n.result.data,error:null});case o.GET_NUMBER_DETAIL_ERROR:return u({},t,{loading:!1,result:null,error:n.result});case o.GET_NUMBER_DETAIL_RESET:return c;default:return t}}},1573,[1,7,1572]);
+__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])),s=n(r(d[4])),c=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),E=t(r(d[9])),y=r(d[10]),D=n(r(d[11])),C=n(r(d[12])),R=r(d[13]),h=n(r(d[14])),T=(r(d[15]),r(d[16])),b=n(r(d[17])),x=r(d[18]),A=r(d[19]),v=r(d[20]),w=(n(r(d[21])),r(d[22]),r(d[23])),M=r(d[24]),O=n(r(d[25])),S=r(d[26]),L=n(r(d[27])),P=r(d[28]),k=n(r(d[29]));function _(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 N=r(d[30]),B='white',j=r(d[31]),F=(r(d[32]),(function(t){function n(t){var l;(0,s.default)(this,n),(l=(0,u.default)(this,(0,f.default)(n).call(this,t))).isNormalInteger=function(t){return!/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/.test(t)},l.isMontantValid=function(){var t=l.state.montant;return!(0==parseInt(t)||t<0)&&(!!l.isNormalInteger(t)&&!(parseInt(t)>parseInt(l.item.montant)))},l.displayToast=function(t){O.default.show(t,{duration:O.default.durations.SHORT,position:O.default.positions.BOTTOM,backgroundColor:S.Color.primaryColor,shadow:!0,animation:!0,hideOnPress:!0,delay:0,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}})},l.onCancelDemand=function(){"1"!==l.item&&l.props.treatCancelDemand(l.item.id)},l.renderPromptModifyAmountToSend=function(){return E.default.createElement(L.default.Container,{useNativeDriver:!0,visible:l.state.displayAmountModifyDialog},E.default.createElement(L.default.Title,null,b.default.t('MODIFY_AMOUNT')),E.default.createElement(L.default.Description,{style:[P.FontWeight.bold]},b.default.t('ENTER_NEW_AMOUNT_TO_SEND')),E.default.createElement(L.default.Input,{style:I.inputAmountText,value:l.state.montant,keyboardType:"numeric",onChangeText:function(t){l.setState({montant:t},function(){l.isMontantValid(t)?l.setState({isBtnModifyAmountEnabled:!0}):l.setState({isBtnModifyAmountEnabled:!1}),console.log("this.isMontantValid().isValid",l.isMontantValid()),console.log("isBtnModifyAmountEnabled",l.state.isBtnModifyAmountEnabled)})}}),E.default.createElement(L.default.Button,{bold:!0,label:b.default.t('CANCEL_LABEL'),onPress:function(){return l.setState({displayAmountModifyDialog:!1})}}),E.default.createElement(L.default.Button,{bold:!0,label:b.default.t('SEND'),disable:l.state.isBtnModifyAmountEnabled,onPress:function(){l.props.creditDemandResetReducer(),l.props.treatCreditDemand(l.item.id,l.state.montant)}}))},l.renderAlertErrorTreatOrCancelDemand=function(){var t=l.props,n=t.errorTreatDemand,o=t.resultTreatDemand,s=t.resultCancelDemand,c=t.errorCancelDemand;null!==n&&void 0!==n.data&&(426===n.status?y.Alert.alert(b.default.t("ERROR_TREATMENT_DEMAND"),n.data.error,[{text:b.default.t('CANCEL_LABEL'),onPress:function(){},style:'cancel'},{text:b.default.t("OK"),onPress:function(){setTimeout(function(){l.setState({displayAmountModifyDialog:!0})},10),l.props.creditDemandResetReducer(),l.props.creditCancelResetReducer()}}],{cancelable:!1}):y.Alert.alert(b.default.t("ERROR_TREATMENT_DEMAND"),n.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.creditDemandResetReducer(),l.props.creditCancelResetReducer()}}],{cancelable:!1})),null!==c&&void 0!==c.data&&y.Alert.alert(b.default.t("ERROR_TREATMENT_DEMAND"),c.data.error,[{text:b.default.t("OK"),onPress:function(){l.props.creditCancelResetReducer(),l.props.creditDemandResetReducer()}}],{cancelable:!1}),null!==o&&(console.log("resultTreatDemand",o),200===o.status&&(l.displayToast(o.response),l.props.navigation.goBack(),l.props.navigation.state.params.onGoBack(),l.props.creditCancelResetReducer(),l.props.creditDemandResetReducer())),null!==s&&(console.log("resultCancelDemand",s),200===s.status&&(l.displayToast(s.response),l.props.navigation.goBack(),l.props.navigation.state.params.onGoBack(),l.props.creditCancelResetReducer(),l.props.creditDemandResetReducer()))},l.item=l.props.navigation.getParam("item",null);var c='';return'1'===l.item.status?(1,B='#AEAEAE',c=b.default.t('TREAT_DEMAND')):'0'===l.item.status?(B='green',2,c=b.default.t('ACCEPTER_DEMANDE')):(B='#AEAEAE',2,c=b.default.t('REFUSED')),l.state={displayAmountModifyDialog:!1,statut:c,user:null,networks:[],loadingTreat:!1,loadingCancel:!1,triggerTreatmentClick:!1,triggerCancelClick:!1,color:B,montant:null,isBtnModifyAmountEnabled:!1},(0,T.readUser)().then(function(t){var n;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=[],s.next=3,o.default.awrap((0,v.getAgentNetworksList)(t.agentId));case 3:n=s.sent,l.setState({user:t,networks:n.networks});case 5:case"end":return s.stop()}},null,null,null,Promise)}),l.currentLocale=k.default.getDeviceLocale().includes("fr")?"fr":"en-gb",N.locale(l.currentLocale),l}return(0,p.default)(n,t),(0,c.default)(n,[{key:"onTreatDemand",value:function(){"1"!==this.item&&(this.props.creditDemandResetReducer(),this.props.treatCreditDemand(this.item.id))}},{key:"renderBtn",value:function(){var t=this,n=this.state.user;if(console.warn("ITEM ITEM",this.item),n&&this.item.code_parrain===n.code_membre)return'1'===this.item.status?E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:this.state.color},isLoading:this.props.loadingTreatDemand,onPress:function(){},disabled:!0,textStyle:I.textbtnstyle},this.state.statut):'2'===this.item.status?E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:this.state.color},onPress:function(){},disabled:!0,textStyle:I.textbtnstyle},this.state.statut):E.default.createElement(y.View,{style:{flexDirection:'row',paddingTop:10}},E.default.createElement(y.View,{style:{flex:1,alignItems:'center'}},E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:this.state.color},isLoading:this.props.loadingTreatDemand,onPress:function(){t.setState({triggerTreatmentClick:!0}),t.onTreatDemand()},textStyle:I.textbtnstyle},this.state.statut)),E.default.createElement(y.View,{style:{flex:1,alignItems:'center'}},E.default.createElement(C.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:S.Color.redColor},isLoading:this.props.loadingCancelDemand,onPress:function(){t.setState({triggerCancelClick:!0}),t.onCancelDemand()},textStyle:I.textbtnstyle},b.default.t('REFUSER_DEMANDE'))))}},{key:"render",value:function(){console.log("CREDIT MANAGE PROPS",this.props);var t=N.tz(this.item.date_creation,'Etc/GMT+0').format();return t=N(t),E.default.createElement(y.View,{style:I.container},this.renderPromptModifyAmountToSend(),(this.state.triggerTreatmentClick||this.state.triggerCancelClick)&&this.renderAlertErrorTreatOrCancelDemand(),E.default.createElement(D.default,{style:I.cardcontainer1},E.default.createElement(y.Text,{style:{fontSize:17,fontWeight:'bold',color:'black',marginLeft:(0,R.responsiveWidth)(5)}},b.default.t('MEMBER_INFO')),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-call",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.phone)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-person",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.code_membre))),E.default.createElement(D.default,{style:I.cardcontainer},E.default.createElement(y.Text,{style:{fontSize:17,fontWeight:'bold',color:'black',marginLeft:(0,R.responsiveWidth)(5)}},b.default.t('DEMAND_INFO')),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-git-branch",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.code_parrain)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-code-working",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.reseau)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-wallet",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},this.item.montant)),E.default.createElement(y.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-calendar",size:28,color:j.accent,style:{marginLeft:20}}),E.default.createElement(y.Text,{style:I.simpleuser},t.format(" Do MMMM YYYY \xe0 HH:mm"))),E.default.createElement(y.View,{style:{flexDirection:'row',alignSelf:'flex-end',marginRight:20,justifyContent:'flex-start'}},E.default.createElement(h.default,{name:"md-time",size:28,color:j.accent}),E.default.createElement(y.Text,{style:{marginLeft:(0,R.responsiveWidth)(2),fontSize:16,color:j.accent}},t.fromNow()))),this.state.user?this.renderBtn():null)}}]),n})(E.Component));F.navigatorStyle={navBarBackgroundColor:j.accentLight,statusBarColor:j.accent,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},F.navigationOptions=function(t){return{drawerLabel:function(){return null},title:"Transaction N\xb0"+t.navigation.getParam("item",{id:"-"}).id}};var V=(0,w.connect)(function(t){return{loadingTreatDemand:t.creditTreatDemandReducer.loadingTreatDemand,resultTreatDemand:t.creditTreatDemandReducer.resultTreatDemand,errorTreatDemand:t.creditTreatDemandReducer.errorTreatDemand,loadingCancelDemand:t.creditCancelDemandReducer.loadingCancelDemand,resultCancelDemand:t.creditCancelDemandReducer.resultCancelDemand,errorCancelDemand:t.creditCancelDemandReducer.errorCancelDemand}},function(t){return(0,M.bindActionCreators)({treatCreditDemand:x.treatCreditDemand,creditDemandResetReducer:x.creditDemandResetReducer,treatCancelDemand:A.treatCancelDemand,creditCancelResetReducer:A.creditCancelResetReducer},t)})(F);e.default=V;var I=y.StyleSheet.create({container:{flex:1},btnstyle:{},inputAmountText:(function(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{position:y.positions.BOTTOM,duration:y.durations.SHORT};return new v.default(p.default.createElement(y.default,(0,o.default)({},n,{visible:!0}),t))},h.hide=function(t){t instanceof v.default?t.destroy():console.warn("Toast.hide expected a `RootSiblings` instance as argument.\nBut got `"+typeof t+"` instead.")};var _=h;e.default=_},1580,[4,1,6,8,9,10,12,13,15,18,1581,1587]);
+__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.setSiblingWrapper=function(t){h=t},e.RootSiblingParent=function(t){var n=t.inactive,o=(0,l.useState)(function(){var t=(0,v.default)(c.default,p),u=t.Root,o=t.manager;return R.push(o),n&&P.add(o),{Root:u,manager:o}}),f=(0,u.default)(o,1)[0];(0,l.useEffect)(function(){return function(){if(f){var t=R.indexOf(f.manager);t>0&&R.splice(t,1)}}},[f]),n&&f&&!P.has(f.manager)?P.add(f.manager):!n&&f&&P.has(f.manager)&&P.delete(f.manager);var s=f.Root;return l.default.createElement(s,null,t.children)},e.RootSiblingPortal=function(t){var n=(0,l.useState)(function(){return new E(null)}),o=(0,u.default)(n,1)[0];return o.update(t.children),(0,l.useEffect)(function(){if(o)return function(){return o.destroy()}},[o]),null},e.default=void 0;var u=n(r(d[2])),o=n(r(d[3])),f=n(r(d[4])),l=t(r(d[5])),s=r(d[6]),c=n(r(d[7])),v=n(r(d[8])),h=function(t){return t};function p(t){return h(t)}g.__rootSiblingsInjected||g.__rootSiblingsDisabled||(s.AppRegistry.setWrapperComponentProvider(function(){return b}),g.__rootSiblingsInjected=!0);var _=(0,v.default)(c.default,p),b=_.Root,S=_.manager,y=0,R=[S],P=new Set;function j(){for(var t=R.length-1;t>=0;t--){var n=R[t];if(!P.has(n))return n}return S}var E=(function(){function t(n,u){(0,o.default)(this,t),this.id="root-sibling-"+(y+1),this.manager=j(),this.manager.update(this.id,n,u),y++}return(0,f.default)(t,[{key:"update",value:function(t,n){this.manager.update(this.id,t,n)}},{key:"destroy",value:function(t){this.manager.destroy(this.id,t)}}]),t})();e.default=E},1581,[4,1,27,8,9,15,18,1582,1583]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return n.default.createElement(n.default.Fragment,null,t.children)};var n=t(r(d[1]))},1582,[1,15]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,l){var f=new u.default;return{Root:function(u){return n.default.createElement(o.default,{controller:f,renderSibling:l},n.default.createElement(t,u))},manager:{update:function(t,n,u){f.update(t,n,u)},destroy:function(t,n){f.destroy(t,n)}}}};var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3]))},1583,[1,15,1584,1585]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.RootControllerChanges=void 0;var n,l=t(r(d[1])),s=t(r(d[2]));e.RootControllerChanges=n,(function(t){t[t.Insert=0]="Insert",t[t.Update=1]="Update",t[t.Remove=2]="Remove"})(n||(e.RootControllerChanges=n={}));var o=(function(){function t(){(0,l.default)(this,t),this.siblings=new Set,this.pendingActions=[],this.callback=null}return(0,s.default)(t,[{key:"update",value:function(t,l,s){this.siblings.has(t)?this.emit(t,{change:n.Update,element:l,updateCallback:s}):(this.emit(t,{change:n.Insert,element:l,updateCallback:s}),this.siblings.add(t))}},{key:"destroy",value:function(t,l){this.siblings.has(t)?(this.emit(t,{change:n.Remove,element:null,updateCallback:l}),this.siblings.delete(t)):l&&l()}},{key:"setCallback",value:function(t){this.callback=t,this.pendingActions.forEach(function(n){var l=n.id,s=n.action;t(l,s)})}},{key:"emit",value:function(t,n){this.callback?this.callback(t,n):this.pendingActions.push({action:n,id:t})}}]),t})();e.default=o},1584,[1,8,9]);
+__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])),s=n(r(d[3])),o=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=t(r(d[7])),h=n(r(d[8])),p=r(d[9]),b=(function(t){function n(t){var s;return(0,l.default)(this,n),(s=(0,o.default)(this,(0,u.default)(n).call(this,t))).updatedSiblings=new Set,s.siblingsPool=[],s.state={siblings:[]},s}return(0,c.default)(n,t),(0,s.default)(n,[{key:"componentDidMount",value:function(){var t=this;this.props.controller.setCallback(function(n,l){setImmediate(function(){return t.commitChange(n,l)})})}},{key:"componentDidUpdate",value:function(){this.updatedSiblings.clear()}},{key:"render",value:function(){return f.default.createElement(f.default.Fragment,null,this.props.children,this.renderSiblings())}},{key:"commitChange",value:function(t,n){var l=this,s=n.change,o=n.element,u=n.updateCallback,c=Array.from(this.siblingsPool),f=c.findIndex(function(n){return n.id===t});if(s===p.RootControllerChanges.Remove){if(!(f>-1))return void this.invokeCallback(u);c.splice(f,1)}else if(s===p.RootControllerChanges.Update){if(!(f>-1))return void this.invokeCallback(u);c.splice(f,1,{element:o,id:t}),this.updatedSiblings.add(t)}else f>-1&&c.splice(f,1),c.push({element:o,id:t}),this.updatedSiblings.add(t);this.siblingsPool=c,this.setState({siblings:c},function(){return l.invokeCallback(u)})}},{key:"invokeCallback",value:function(t){t&&t()}},{key:"renderSiblings",value:function(){var t=this;return this.state.siblings.map(function(n){var l=n.id,s=n.element;return f.default.createElement(h.default,{key:"root-sibling-"+l,shouldUpdate:t.updatedSiblings.has(l)},t.wrapSibling(s))})}},{key:"wrapSibling",value:function(t){var n=this.props.renderSibling;return n?n(t):t}}]),n})(f.Component);e.default=b},1585,[4,1,8,9,10,12,13,15,1586,1584]);
+__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 u=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),p=r(d[6]),s=t(r(d[7])),h=(function(t){function s(){return(0,u.default)(this,s),(0,l.default)(this,(0,o.default)(s).apply(this,arguments))}return(0,f.default)(s,t),(0,n.default)(s,[{key:"shouldComponentUpdate",value:function(t){return t.shouldUpdate}},{key:"render",value:function(){var t=this.props.children;return null===t||!1===t?null:p.Children.only(t)}}]),s})(p.Component);e.default=h,h.propTypes={shouldUpdate:s.default.bool.isRequired}},1586,[1,8,9,10,12,13,15,68]);
+__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.durations=e.positions=e.default=void 0;var n=o(r(d[2])),s=o(r(d[3])),l=o(r(d[4])),u=o(r(d[5])),p=o(r(d[6])),c=o(r(d[7])),h=t(r(d[8])),f=o(r(d[9])),y=r(d[10]);function b(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,s)}return n}var w=200,v={TOP:20,BOTTOM:-20,CENTER:0};e.positions=v;var _={LONG:3500,SHORT:2e3};e.durations=_;var T=y.StyleSheet.create({defaultStyle:{position:'absolute',left:0,right:0,justifyContent:'center',alignItems:'center'},containerStyle:{padding:10,backgroundColor:'#000',opacity:.8,borderRadius:5},shadowStyle:{shadowColor:'#000',shadowOffset:{width:4,height:4},shadowOpacity:.8,shadowRadius:6,elevation:10},textStyle:{fontSize:16,color:'#fff',textAlign:'center'}}),O=(function(t){function o(){var t;(0,s.default)(this,o),(t=(0,u.default)(this,(0,p.default)(o).apply(this,arguments))).componentDidMount=function(){y.Dimensions.addEventListener('change',t._windowChanged),t.props.keyboardAvoiding&&y.Keyboard.addListener('keyboardDidChangeFrame',t._keyboardDidChangeFrame),t.state.visible&&(t._showTimeout=setTimeout(function(){return t._show()},t.props.delay))},t.componentDidUpdate=function(o){t.props.visible!==o.visible&&(t.props.visible?(clearTimeout(t._showTimeout),clearTimeout(t._hideTimeout),t._showTimeout=setTimeout(function(){return t._show()},t.props.delay)):t._hide(),t.setState({visible:t.props.visible}))},t.componentWillUnmount=function(){t._hide(),y.Dimensions.removeEventListener('change',t._windowChanged),y.Keyboard.removeListener('keyboardDidChangeFrame',t._keyboardDidChangeFrame)},t._animating=!1,t._root=null,t._hideTimeout=null,t._showTimeout=null,t._keyboardHeight=0,t._windowChanged=function(o){var n=o.window;t.setState({windowWidth:n.width,windowHeight:n.height})},t._keyboardDidChangeFrame=function(o){var n=o.endCoordinates;t.setState({keyboardScreenY:n.screenY})},t._show=function(){clearTimeout(t._showTimeout),t._animating||(clearTimeout(t._hideTimeout),t._animating=!0,t._root.setNativeProps({pointerEvents:'auto'}),t.props.onShow&&t.props.onShow(t.props.siblingManager),y.Animated.timing(t.state.opacity,{toValue:t.props.opacity,duration:t.props.animation?w:0,easing:y.Easing.out(y.Easing.ease),useNativeDriver:!0}).start(function(o){var n=o.finished;n&&(t._animating=!n,t.props.onShown&&t.props.onShown(t.props.siblingManager),t.props.duration>0&&(t._hideTimeout=setTimeout(function(){return t._hide()},t.props.duration)))}))},t._hide=function(){clearTimeout(t._showTimeout),clearTimeout(t._hideTimeout),t._animating||(t._root&&t._root.setNativeProps({pointerEvents:'none'}),t.props.onHide&&t.props.onHide(t.props.siblingManager),y.Animated.timing(t.state.opacity,{toValue:0,duration:t.props.animation?w:0,easing:y.Easing.in(y.Easing.ease),useNativeDriver:!0}).start(function(o){o.finished&&(t._animating=!1,t.props.onHidden&&t.props.onHidden(t.props.siblingManager))}))};var n=y.Dimensions.get('window');return t.state={visible:t.props.visible,opacity:new y.Animated.Value(0),windowWidth:n.width,windowHeight:n.height,keyboardScreenY:n.height},t}return(0,c.default)(o,t),(0,l.default)(o,[{key:"render",value:function(){var t=this,o=this.props,s=this.state.windowWidth,l=o.position,u=this.state,p=u.windowHeight,c=u.keyboardScreenY,f=Math.max(p-c,0),b=l?(0,n.default)({},l<0?'bottom':'top',l<0?f-l:l):{top:0,bottom:f};return this.state.visible||this._animating?h.default.createElement(y.View,{style:[T.defaultStyle,b],pointerEvents:"box-none"},h.default.createElement(y.TouchableWithoutFeedback,{onPress:function(){'function'==typeof t.props.onPress&&t.props.onPress(),t.props.hideOnPress&&t._hide()}},h.default.createElement(y.Animated.View,{style:[T.containerStyle,{marginHorizontal:.09999999999999998*s},o.containerStyle,o.backgroundColor&&{backgroundColor:o.backgroundColor},{opacity:this.state.opacity},o.shadow&&T.shadowStyle,o.shadowColor&&{shadowColor:o.shadowColor}],pointerEvents:"none",ref:function(o){return t._root=o}},h.default.createElement(y.Text,{style:[T.textStyle,o.textStyle,o.textColor&&{color:o.textColor}]},this.props.children)))):null}}]),o})(h.Component);O.displayName='ToastContainer',O.propTypes=(function(t){for(var o=1;o0&&k.push(y.default.createElement(b.View,{style:[w.buttonSeparator,f]})),k.push(t)):A.push(t))}),y.default.createElement(h.default,(0,o.default)({backdropOpacity:.3,style:w.modal,isVisible:j,animationIn:"ios"===b.Platform.OS?S:"zoomIn",animationOut:"fadeOut"},x),y.default.createElement(b.KeyboardAvoidingView,{behavior:"ios"===b.Platform.OS?"padding":void 0,style:w.container},y.default.createElement(b.View,{style:[w.content,p]},"ios"===b.Platform.OS&&n,"ios"===b.Platform.OS&&!n&&y.default.createElement(b.View,{style:[w.blur,P]}),y.default.createElement(b.View,{style:[w.header,O]},I,T),A,Boolean(k.length)&&y.default.createElement(b.View,{style:[w.footer,D]},k.map(function(t,o){return y.default.cloneElement(t,{key:"dialog-button-"+o})})))))}}]),p})(y.default.PureComponent);e.default=v,v.propTypes={blurComponentIOS:p.default.node,buttonSeparatorStyle:p.default.object,children:p.default.node.isRequired,contentStyle:p.default.object,footerStyle:p.default.object,headerStyle:p.default.object,blurStyle:p.default.object,visible:p.default.bool},v.defaultProps={visible:!1};var w=b.StyleSheet.create({modal:{flex:1,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0},container:{justifyContent:"center",alignItems:"center"},blur:{position:"absolute",backgroundColor:"rgb(255,255,255)",top:0,left:0,bottom:0,right:0},content:b.Platform.select({ios:{width:270,flexDirection:"column",borderRadius:13,overflow:"hidden"},android:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300},web:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300}}),header:b.Platform.select({ios:{margin:18},android:{margin:12},web:{margin:12}}),footer:b.Platform.select({ios:{flexDirection:"row",justifyContent:"space-between",borderTopColor:"#A9ADAE",borderTopWidth:b.StyleSheet.hairlineWidth,height:46},android:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4},web:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4}}),buttonSeparator:{height:"100%",backgroundColor:"#A9ADAE",width:b.StyleSheet.hairlineWidth}})},1590,[1,6,57,8,9,10,12,13,68,15,18,1591]);
+__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.ReactNativeModal=e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),p=n(r(d[4])),l=n(r(d[5])),c=n(r(d[6])),u=n(r(d[7])),f=n(r(d[8])),h=n(r(d[9])),b=t(r(d[10])),w=r(d[11]),v=n(r(d[12])),O=t(r(d[13])),S=r(d[14]),T=n(r(d[15]));function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function k(t){for(var n=1;n=4||Math.abs(n.dy)>=4;return s&&o.props.onSwipeStart&&o.props.onSwipeStart(),s}},onStartShouldSetPanResponder:function(){return!(o.props.scrollTo&&o.props.scrollOffset>0)&&(o.props.onSwipeStart&&o.props.onSwipeStart(),!0)},onPanResponderMove:function(n,s){var p=o.props.deviceWidth||o.state.deviceWidth,l=1-o.getAccDistancePerDirection(s)/p;if(o.isSwipeDirectionAllowed(s))o.backdropRef&&o.backdropRef.transitionTo({opacity:o.props.backdropOpacity*l}),t(n,s),o.props.onSwipeMove&&o.props.onSwipeMove(l);else if(o.props.scrollTo){var c=-s.dy;c>o.props.scrollOffsetMax&&(c-=(c-o.props.scrollOffsetMax)/2),o.props.scrollTo({y:c,animated:!1})}},onPanResponderRelease:function(t,n){if(o.getAccDistancePerDirection(n)>o.props.swipeThreshold){if(o.props.onSwipeComplete)return o.inSwipeClosingState=!0,void o.props.onSwipeComplete();if(o.props.onSwipe)return o.inSwipeClosingState=!0,void o.props.onSwipe()}o.props.onSwipeCancel&&o.props.onSwipeCancel(),o.backdropRef&&o.backdropRef.transitionTo({opacity:o.props.backdropOpacity},o.props.backdropTransitionInTiming),w.Animated.spring(o.state.pan,{toValue:{x:0,y:0},bounciness:0}).start(),o.props.scrollOffset>o.props.scrollOffsetMax&&o.props.scrollTo({y:o.props.scrollOffsetMax,animated:!0})}})},o.getAccDistancePerDirection=function(t){switch(o.props.swipeDirection){case"up":return-t.dy;case"down":return t.dy;case"right":return t.dx;case"left":return-t.dx;default:return 0}},o.isSwipeDirectionAllowed=function(t){var n=t.dy,s=t.dx,p=n>0,l=n<0,c=s<0,u=s>0;return!("up"!==o.props.swipeDirection||!l)||(!("down"!==o.props.swipeDirection||!p)||(!("right"!==o.props.swipeDirection||!u)||!("left"!==o.props.swipeDirection||!c)))},o.handleDimensionsUpdate=function(t){if(!o.props.deviceHeight&&!o.props.deviceWidth){var n=w.Dimensions.get("window").width,s=w.Dimensions.get("window").height;n===o.state.deviceWidth&&s===o.state.deviceHeight||o.setState({deviceWidth:n,deviceHeight:s})}},o.open=function(){o.isTransitioning||(o.isTransitioning=!0,o.backdropRef&&o.backdropRef.transitionTo({opacity:o.props.backdropOpacity},o.props.backdropTransitionInTiming),o.state.isSwipeable&&o.state.pan.setValue({x:0,y:0}),o.contentRef&&(o.props.onModalWillShow&&o.props.onModalWillShow(),o.contentRef[o.animationIn](o.props.animationInTiming).then(function(){o.isTransitioning=!1,o.props.isVisible?o.props.onModalShow():o.close()})))},o.close=function(){if(!o.isTransitioning){o.isTransitioning=!0,o.backdropRef&&o.backdropRef.transitionTo({opacity:0},o.props.backdropTransitionOutTiming);var t=o.animationOut;o.inSwipeClosingState&&(o.inSwipeClosingState=!1,"up"===o.props.swipeDirection?t="slideOutUp":"down"===o.props.swipeDirection?t="slideOutDown":"right"===o.props.swipeDirection?t="slideOutRight":"left"===o.props.swipeDirection&&(t="slideOutLeft")),o.contentRef&&(o.props.onModalWillHide&&o.props.onModalWillHide(),o.contentRef[t](o.props.animationOutTiming).then(function(){o.isTransitioning=!1,o.props.isVisible?o.open():(o.setState({showContent:!1},function(){o.setState({isVisible:!1})}),o.props.onModalHide())}))}};var s=(0,S.buildAnimations)(t),p=s.animationIn,c=s.animationOut;return o.animationIn=p,o.animationOut=c,o.state.isSwipeable&&(o.state=k({},o.state,{pan:new w.Animated.ValueXY}),o.buildPanResponder()),o.props.isVisible&&(o.state=k({},o.state,{isVisible:!0,showContent:!0})),o}return(0,h.default)(n,t),(0,c.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){if(!this.state.isVisible&&t.isVisible&&this.setState({isVisible:!0,showContent:!0}),this.props.animationIn!==t.animationIn||this.props.animationOut!==t.animationOut){var n=(0,S.buildAnimations)(t),o=n.animationIn,s=n.animationOut;this.animationIn=o,this.animationOut=s}this.props.backdropOpacity!==t.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:t.backdropOpacity},this.props.backdropTransitionInTiming)}},{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`` is deprecated. Use `` instead.'),this.state.isVisible&&this.open(),w.DeviceEventEmitter.addListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentWillUnmount",value:function(){w.DeviceEventEmitter.removeListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentDidUpdate",value:function(t,n){this.props.isVisible&&!t.isVisible?this.open():!this.props.isVisible&&t.isVisible&&this.close()}},{key:"render",value:function(){var t=this,n=this.props,p=(n.animationIn,n.animationInTiming,n.animationOut,n.animationOutTiming,n.avoidKeyboard),l=n.hasBackdrop,c=n.backdropColor,u=(n.backdropOpacity,n.backdropTransitionInTiming,n.backdropTransitionOutTiming,n.children),f=n.deviceHeight,h=n.deviceWidth,v=(n.isVisible,n.onModalShow,n.onBackdropPress),S=n.onBackButtonPress,y=n.useNativeDriver,D=(n.propagateSwipe,n.style),M=(0,s.default)(n,["animationIn","animationInTiming","animationOut","animationOutTiming","avoidKeyboard","hasBackdrop","backdropColor","backdropOpacity","backdropTransitionInTiming","backdropTransitionOutTiming","children","deviceHeight","deviceWidth","isVisible","onModalShow","onBackdropPress","onBackButtonPress","useNativeDriver","propagateSwipe","style"]),R=h||this.state.deviceWidth,P=f||this.state.deviceHeight,C=[{margin:.05*R,transform:[{translateY:0}]},T.default.content,D],V={},W={};this.state.isSwipeable&&(V=k({},this.panResponder.panHandlers),W=y?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var I=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?b.default.createElement(O.View,null):u,A=b.default.createElement(O.View,(0,o.default)({},V,{ref:function(n){return t.contentRef=n},style:[W,C],pointerEvents:"box-none",useNativeDriver:y},M),I);return b.default.createElement(w.Modal,(0,o.default)({transparent:!0,animationType:"none",visible:this.state.isVisible,onRequestClose:S},M),l&&b.default.createElement(w.TouchableWithoutFeedback,{onPress:v},b.default.createElement(O.View,{ref:function(n){return t.backdropRef=n},useNativeDriver:!0,style:[T.default.backdrop,{backgroundColor:this.state.showContent?c:"transparent",width:R,height:P}]})),p&&b.default.createElement(w.KeyboardAvoidingView,{behavior:"ios"===w.Platform.OS?"padding":null,pointerEvents:"box-none",style:C.concat([{margin:0}])},A),!p&&A)}}]),n})(b.Component);e.ReactNativeModal=D,D.propTypes={animationIn:v.default.oneOfType([v.default.string,v.default.object]),animationInTiming:v.default.number,animationOut:v.default.oneOfType([v.default.string,v.default.object]),animationOutTiming:v.default.number,avoidKeyboard:v.default.bool,hasBackdrop:v.default.bool,backdropColor:v.default.string,backdropOpacity:v.default.number,backdropTransitionInTiming:v.default.number,backdropTransitionOutTiming:v.default.number,children:v.default.node.isRequired,deviceHeight:v.default.number,deviceWidth:v.default.number,isVisible:v.default.bool.isRequired,hideModalContentWhileAnimating:v.default.bool,propagateSwipe:v.default.bool,onModalShow:v.default.func,onModalWillShow:v.default.func,onModalHide:v.default.func,onModalWillHide:v.default.func,onBackButtonPress:v.default.func,onBackdropPress:v.default.func,onSwipeStart:v.default.func,onSwipeMove:v.default.func,onSwipeComplete:v.default.func,onSwipeCancel:v.default.func,swipeThreshold:v.default.number,swipeDirection:v.default.oneOf(["up","down","left","right"]),useNativeDriver:v.default.bool,style:v.default.any,scrollTo:v.default.func,scrollOffset:v.default.number,scrollOffsetMax:v.default.number,supportedOrientations:v.default.arrayOf(v.default.oneOf(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"]))},D.defaultProps={animationIn:"slideInUp",animationInTiming:300,animationOut:"slideOutDown",animationOutTiming:300,avoidKeyboard:!1,hasBackdrop:!0,backdropColor:"black",backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,onModalShow:function(){return null},onModalWillShow:function(){return null},deviceHeight:null,deviceWidth:null,onModalHide:function(){return null},onModalWillHide:function(){return null},isVisible:!1,hideModalContentWhileAnimating:!1,propagateSwipe:v.default.false,onBackdropPress:function(){return null},onBackButtonPress:function(){return null},swipeThreshold:100,useNativeDriver:!1,scrollTo:null,scrollOffset:0,scrollOffsetMax:0,supportedOrientations:["portrait","landscape"]};var M=D;e.default=M},1591,[4,1,6,57,7,8,9,10,12,13,15,18,68,743,1592,1593]);
+__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.buildAnimations=e.initializeAnimations=void 0;var o=n(r(d[2])),s=r(d[3]),l=t(r(d[4])),u=s.Dimensions.get("window"),f=u.height,c=u.width;e.initializeAnimations=function(){var t=function(t,n,s){return{from:(0,o.default)({},t,n),to:(0,o.default)({},t,s)}},n={slideInDown:t("translateY",-f,0),slideInUp:t("translateY",f,0),slideInLeft:t("translateX",-c,0),slideInRight:t("translateX",c,0),slideOutDown:t("translateY",0,f),slideOutUp:t("translateY",0,-f),slideOutLeft:t("translateX",0,-c),slideOutRight:t("translateX",0,c)};l.initializeRegistryWithDefinitions(n)};e.buildAnimations=function(t){var n=t.animationIn,o=t.animationOut,s=n,l=o;if(O(n)){var u=JSON.stringify(n);v(u,n),s=u}if(O(o)){var f=JSON.stringify(o);v(f,o),l=f}return{animationIn:s,animationOut:l}};var v=function(t,n){l.registerAnimation(t,l.createAnimation(n))},O=function(t){return null!==t&&"object"==typeof t}},1592,[4,1,7,18,743]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({backdrop:{position:"absolute",top:0,bottom:0,left:0,right:0,opacity:0,backgroundColor:"black"},content:{flex:1,justifyContent:"center"}});e.default=t},1593,[18]);
+__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])),o=t(r(d[2])),l=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),b=r(d[11]);function h(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}var j=(function(t){function n(){return(0,c.default)(this,n),(0,f.default)(this,(0,p.default)(n).apply(this,arguments))}return(0,s.default)(n,t),(0,u.default)(n,[{key:"render",value:function(){var t=this.props,n=t.style,c=t.children,u=(0,l.default)(t,["style","children"]);return O.default.createElement(b.Text,(0,o.default)({style:[v.text,n]},u),c)}}]),n})(O.default.PureComponent);e.default=j,j.propTypes=(function(t){for(var o=1;o0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.demands,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)},refreshControl:h.default.createElement(E.RefreshControl,{refreshing:this.state.isRefreshing,colors:[I.theme.primary,I.theme.purpleLight,I.theme.reddeconnect,I.theme.accentLight],onRefresh:function(){t.setState({isRefreshing:!0}),(0,T.listAllMembers)().then(function(n){console.log("from refresh",n),null!==n&&n.datas&&t.setState({listmembers:n,isLoading:!1,isRefreshing:!1})})}}),ListEmptyComponent:function(){return h.default.createElement(E.View,{style:{flex:1}},h.default.createElement(E.View,{style:{justifyContent:"center",alignItems:'center',marginTop:100}},h.default.createElement(v.default,{style:B.lottie,source:r(d[41]),autoPlay:!0,loop:!0}),h.default.createElement(E.Text,{style:B.text},L.default.t('NO_MEMBERS'))))}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,L.default.t('NO_DEMAND_ADHESION')))}},{key:"_renderLoadingDemandItems",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,L.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderAddhesionItem",value:function(t){var n=this;return h.default.createElement(S.Card,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(S.CardContent,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.View,null,h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('NAME')," :")," ",t.lastname),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('PHONE_NUMBER')," :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('EMAIL')," :")," ",t.email),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},L.default.t('NETWORK')," :")," ",t.network))),h.default.createElement(S.CardAction,{separator:!0,inColumn:!1},h.default.createElement(S.CardButton,{title:L.default.t('ACTIVE_USER'),onPress:function(){(0,p.acceptDemandAdhesion)(t).then(function(l){E.Alert.alert(L.default.t('ACTIVATE_ACCOUNT'),L.default.t('THE_ACCOUNT')+' '+t.lastname+" "+L.default.t('ACTIVATED'),[{text:"Ok"}]);var o=n.state.demands;o.splice(o.indexOf(t),1),n.setState({demands:o})})},color:"green"}),h.default.createElement(S.CardButton,{title:L.default.t('DELETE_GEOLOCATED_USER'),color:"red",onPress:function(){}})))}},{key:"_renderListCodeUnused",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderFreeCodeItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,L.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderFreeCodeItem",value:function(t){return console.log(t),h.default.createElement(E.View,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(E.View,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"Contact :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Membre :")," ",t.code_membre),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Validation :")," ",t.validation_code)))}}],[{key:"initState",value:function(){return{enabledListMembers:!0,listmembers:[],usersicon:null,isLoadingDemand:!0,charticon:null,isRefreshing:!1,user:{},freeCodes:[],isLoading:!0}}}]),n})(y.default);e.default=V,V.navigatorStyle={tabBarHidden:!1,topTabTextColor:'#ffffff',topTabsHeight:70,topTabTextFontFamily:'BioRhyme-Bold',selectedTopTabTextColor:'#ff505c',statusBarColor:I.theme.primaryDark,navBarBackgroundColor:I.theme.primary,navBarTextColor:'white',navBarButtonColor:'white',topTabIconColor:'#ffffff',selectedTopTabIconColor:'#ff505c',selectedTopTabIndicatorHeight:2*E.PixelRatio.get(),selectedTopTabIndicatorColor:'#ff505c'},V.navigationOptions=function(t){var n=t.navigation;return{title:L.default.t("GROUP_MANAGE"),drawerLabel:n.getParam("name",L.default.t('GROUP_MANAGE')),drawerIcon:function(t){t.tintColor;return h.default.createElement(_.default,{name:'people',size:24})}}};var B=E.StyleSheet.create({circlePoint:{width:50,height:50,marginRight:5,alignItems:'center',justifyContent:'center'},container:{flex:1,backgroundColor:'white'},fromNow:{color:I.theme.accentLight},callIcon:{marginRight:5},phone:{textAlign:'center',color:"white"},balanceMember:{marginLeft:7,fontSize:18,fontWeight:"bold",color:I.theme.primary},balanceIcon:{},name:{color:'black',fontSize:20,margin:20,fontWeight:'bold'},surname:{fontSize:17,marginLeft:20},text:{fontSize:17,fontWeight:'bold'},lottie:{width:248,height:248}})},1598,[4,1,8,10,12,11,9,13,15,18,815,527,1599,1001,711,869,871,1600,815,712,832,937,1604,1010,1145,1146,1147,1148,1149,1150,1151,840,766,930,1020,1009,1607,808,807,1137,1609,1610]);
+__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.listAllMembers=void 0;var o=n(r(d[2])),l=(t(r(d[3])),r(d[4])),s=n(r(d[5])),c=r(d[6]);r(d[7]).DBEvents,r(d[8]);e.listAllMembers=function(){var t,n,u,p,b,f;return o.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,o.default.awrap((0,l.readUser)());case 2:if(null===(t=v.sent)){v.next=24;break}return n=s.default.currentLocale(),u={tag:"member",id:t.code_membre,la:n,test:c.isDebugMode,codeparrain:t.code_membre,type:'all_geolocated'},console.log("DATA to SEND",u),v.next=9,o.default.awrap(fetch(c.memberActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(u)}));case 9:return p=v.sent,b="",v.prev=11,v.next=14,o.default.awrap(p.text());case 14:return b=v.sent,v.abrupt("return",JSON.parse(b));case 18:return v.prev=18,v.t0=v.catch(11),console.log(v.t0),console.log("error when liste member",b),f={error:-3,content:v.t0,text:b},v.abrupt("return",f);case 24:return v.abrupt("return",null);case 25:case"end":return v.stop()}},null,null,[[11,18]],Promise)}},1599,[4,1,273,15,711,712,736,738,714]);
+__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(t){for(var n=1;nt.props.sensitivity&&Math.abs(o.dy)<=t.props.sensitivity},onPanResponderGrant:this._handlePanResponderGrant,onPanResponderMove:this._handlePanResponderMove,onPanResponderRelease:this._handlePanResponderEnd,onPanResponderTerminate:this._handlePanResponderEnd,onShouldBlockNativeResponder:function(t,n){return!1},onPanResponderTerminationRequest:function(){return!1}})},componentWillReceiveProps:function(t){t.close&&this._close(),t.openRight&&this._openRight(),t.openLeft&&this._openLeft()},_handlePanResponderGrant:function(t,n){var o=this;this.props.disabled||(this.state.openedLeft||this.state.openedRight?this._callOnClose():this._callOnOpen(),this.refs.swipeoutContent.measure(function(t,n,s,h){var p=o.props.buttonWidth||s/5;o.setState({btnWidth:p,btnsLeftWidth:o.props.left?p*o.props.left.length:0,btnsRightWidth:o.props.right?p*o.props.right.length:0,swiping:!0,timeStart:(new Date).getTime()})}))},_handlePanResponderMove:function(t,n){if(!this.props.disabled){var o=n.dx,s=n.dy,h=this.state.btnsLeftWidth,p=this.state.btnsRightWidth;if(this.state.openedRight)o=n.dx-p;else if(this.state.openedLeft)o=n.dx+h;var l=Math.abs(o)>Math.abs(s);this.props.scroll&&(l?this.props.scroll(!1):this.props.scroll(!0)),this.state.swiping&&(o<0&&this.props.right?this.setState({contentPos:Math.min(o,0)}):o>0&&this.props.left&&this.setState({contentPos:Math.max(o,0)}))}},_handlePanResponderEnd:function(t,n){if(!this.props.disabled){var o=n.dx,s=this.state.contentPos,h=this.state.contentWidth,p=this.state.btnsLeftWidth,l=this.state.btnsRightWidth,u=.33*h,f=o>u||o>p/2,c=o<-u||o<-l/2;if(this.state.openedRight)c=o-u<-u;if(this.state.openedLeft)f=o+u>u;if((new Date).getTime()-this.state.timeStart<200)c=o<-u/10&&!this.state.openedLeft,f=o>u/10&&!this.state.openedRight;this.state.swiping&&(c&&s<0&&o<0?this._open(-l,'right'):f&&s>0&&o>0?this._open(p,'left'):this._close()),this.props.scroll&&this.props.scroll(!0)}},_tweenContent:function(t,o){this.tweenState(t,{easing:n.default.easingTypes.easeInOutQuad,duration:0===o?1.5*this.state.tweenDuration:this.state.tweenDuration,endValue:o})},_rubberBandEasing:function(t,n){return t<0&&t0&&t>n?n+Math.pow(t-n,.85):t},_autoClose:function(t){this.state.autoClose&&this._close();var n=t.onPress;n&&n()},_open:function(t,n){var o='left'===n,s=this.props,h=s.sectionID,p=s.rowID,l=s.onOpen;l&&l(h,p,n),this._tweenContent('contentPos',t),this.setState({contentPos:t,openedLeft:o,openedRight:!o,swiping:!1})},_close:function(){var t=this.props,n=t.sectionID,o=t.rowID,s=t.onClose;s&&(this.state.openedLeft||this.state.openedRight)&&s(n,o,this.state.openedRight?'right':'left');this._tweenContent('contentPos',0),this._callOnClose(),this.setState({openedRight:!1,openedLeft:!1,swiping:!1})},_callOnClose:function(){this.props.onClose&&this.props.onClose(this.props.sectionID,this.props.rowID)},_callOnOpen:function(){this.props.onOpen&&this.props.onOpen(this.props.sectionID,this.props.rowID)},_openRight:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsRightWidth:t.props.right?p*t.props.right.length:0},function(){t._tweenContent('contentPos',-t.state.btnsRightWidth),t._callOnOpen(),t.setState({contentPos:-t.state.btnsRightWidth,openedLeft:!1,openedRight:!0,swiping:!1})})})},_openLeft:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsLeftWidth:t.props.left?p*t.props.left.length:0},function(){t._tweenContent('contentPos',t.state.btnsLeftWidth),t._callOnOpen(),t.setState({contentPos:t.state.btnsLeftWidth,openedLeft:!0,openedRight:!1,swiping:!1})})})},render:function(){var n=this.state.contentWidth,o=this.getTweeningValue('contentPos'),p=[s.default.swipeout,this.props.style];this.props.backgroundColor&&p.push([{backgroundColor:this.props.backgroundColor}]);var l=-this.state.btnsRightWidth;if(o>0)l=this.state.btnsLeftWidth;var f={left:{left:0,overflow:'hidden',width:Math.min(l*(o/l),l)}},c={right:{left:Math.abs(n+Math.max(l,o)),right:0}},b={content:{transform:[{translateX:this._rubberBandEasing(o,l)}]}},w=[s.default.swipeoutContent];w.push(b.content);var y=[s.default.swipeoutBtns];y.push(c.right);var _=[s.default.swipeoutBtns];_.push(f.left);var R=o<0,v=o>0;return h.default.createElement(u.View,{style:p},h.default.createElement(u.View,t({ref:'swipeoutContent',style:w,onLayout:this._onLayout},this._panResponder.panHandlers),this.props.children),this._renderButtons(this.props.right,R,y),this._renderButtons(this.props.left,v,_))},_onLayout:function(t){var n=t.nativeEvent.layout,o=n.width,s=n.height;this.setState({contentWidth:o,contentHeight:s})},_renderButtons:function(t,n,o){return t&&n?h.default.createElement(u.View,{style:o},t.map(this._renderButton)):h.default.createElement(u.View,null)},_renderButton:function(t,n){var o=this;return h.default.createElement(c,{backgroundColor:t.backgroundColor,color:t.color,component:t.component,disabled:t.disabled,height:this.state.contentHeight,key:n,onPress:function(){return o._autoClose(t)},text:t.text,type:t.type,underlayColor:t.underlayColor,width:this.state.btnWidth})}});b.NativeButton=o.default,b.SwipeoutButton=c,e.default=b},1600,[1601,1602,1603,15,68,212,18]);
+__d(function(g,r,i,a,m,e,d){var n,t;n=this,t=function(){return(function(n){function t(o){if(u[o])return u[o].exports;var c=u[o]={exports:{},id:o,loaded:!1};return n[o].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}var u={};return t.m=n,t.c=u,t.p="",t(0)})({0:function(n,t,u){n.exports=u(90)},1:function(n,t){function u(){v=!1,f.length?h=f.concat(h):p=-1,h.length&&o()}function o(){if(!v){var n=setTimeout(u);v=!0;for(var t=h.length;t;){for(f=h,h=[];++p1)for(var u=1;uv.duration?v.duration:Math.max(0,s-h);u+=(0===v.duration?v.endValue:v.easing(p,v.beginValue,v.endValue,v.duration))-v.endValue}}return u},_rafCb:function(){var n=this.state;if(0!==n.tweenQueue.length){for(var t=Date.now(),u=[],o=0;on?c*Math.pow(2,10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*-.5+t:c*Math.pow(2,-10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*.5+l+t)},easeInBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*(n/=o)*n*((c+1)*n-c)+t},easeOutBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*((n=n/o-1)*n*((c+1)*n+c)+1)+t},easeInOutBack:function(n,t,u,o,c){var s=u-t;return void 0===c&&(c=1.70158),(n/=o/2)<1?s/2*(n*n*((1+(c*=1.525))*n-c))+t:s/2*((n-=2)*n*((1+(c*=1.525))*n+c)+2)+t},easeInBounce:function(n,t,o,c){var s=o-t;return s-u.easeOutBounce(c-n,0,s,c)+t},easeOutBounce:function(n,t,u,o){var c=u-t;return(n/=o)<.36363636363636365?c*(7.5625*n*n)+t:.7272727272727273>n?c*(7.5625*(n-=.5454545454545454)*n+.75)+t:.9090909090909091>n?c*(7.5625*(n-=.8181818181818182)*n+.9375)+t:c*(7.5625*(n-=.9545454545454546)*n+.984375)+t},easeInOutBounce:function(n,t,o,c){var s=o-t;return c/2>n?.5*u.easeInBounce(2*n,0,s,c)+t:.5*u.easeOutBounce(2*n-c,0,s,c)+.5*s+t}};n.exports=u}})},"object"==typeof e&&"object"==typeof m?m.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof e?e.tweenState=t():n.tweenState=t()},1601,[]);
+__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var s=1;s\/?~]/.test(t)};e.identityPieces=function(){return[{name:n.default.t('IDENTITY_CARD')},{name:n.default.t('PASSEPORT')},{name:n.default.t('OTHER_IDENTITY_PIECE')}]};e.inputCardSource=function(){return[{name:n.default.t('NUMERO_DE_SERIE'),value:'serial-number'},{name:n.default.t('CREDIT_CARD'),value:'credit-card'}]};e.transactionHistoryLabel=function(){return[{icon:'arrow-expand',label:'Type'},{icon:'inbox-arrow-up',label:'Source'},{icon:'cash',label:n.default.t('AMOUNT_LABEL')},{icon:'account-arrow-right',label:n.default.t('DESTINATAIRE')},{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.isEmptyObject=function(t){for(var n in t)if(t.hasOwnProperty(n))return!1;return JSON.stringify(t)===JSON.stringify({})};e.isIlinkWorldWallet=function(t){return(0,l.default)(o(t).toLowerCase(),'ilink-world')};var u={title:n.default.t('DEPOSIT'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletDepot,icon:'wallet',title:n.default.t('DEPOSIT_CASH_TO_WALLET')},{screen:c.walletDepot,icon:'cash-refund',title:n.default.t('DEPOSIT_CASH_TO_OTHER_WALLET')},{screen:c.walletDepot,icon:'credit-card',title:n.default.t('DEPOSIT_CASH_TO_VISA')},{screen:c.walletDepot,icon:'bank-transfer-in',title:n.default.t('DEPOSIT_CASH_TO_BANK')}]};e.optionDepotScreen=u;var s={title:n.default.t('WITHDRAWAL'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletRetrait,icon:'cash',title:n.default.t('WITHDRAWAL_IN_CASH')}]};e.optionRetraitScreen=s;var T={title:n.default.t('WITHDRAWAL'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletDepot,icon:'wallet',title:n.default.t('WITHDRAWAL_WALLET_TO_CASH')},{screen:c.walletRetrait,icon:'credit-card-refund',title:n.default.t('WITHDRAWAL_CARD_TO_CASH')},{screen:c.walletRetrait,icon:'card',title:n.default.t('WITHDRAWAL_CARD_TO_WALLET')}]};e.optionRetraitUserScreen=T;var O={title:n.default.t('DEPOSIT'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletDepot,icon:'wallet',title:n.default.t('DEPOSIT_WALLET_TO_WALLET')},{screen:c.walletDepot,icon:'cash-refund',title:n.default.t('DEPOSIT_TO_CASH')},{screen:c.walletDepot,icon:'credit-card',title:n.default.t('DEPOSIT_TO_CARD')},{screen:c.walletDepot,icon:'bank-transfer-in',title:n.default.t('DEPOSIT_TO_BANK')}]};e.optionDepotUserScreen=O;var I={title:n.default.t('IDENTIFICATION'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.createIdentification,icon:'pencil-plus',title:n.default.t('CREATION_IDENTIFICATION_DESCRIPTION_SUBSCREEN')},{screen:c.validateIdentification,icon:'check-circle',title:n.default.t('VALIDATE_IDENTIFICATION_DESCRIPTION')}]};e.optionIdentificationScreen=I;var f={title:n.default.t('PAIEMENT_FACTURE'),subTitle:n.default.t('CHOOSE_OPTION'),options:[{screen:c.walletDepot,icon:'water',title:'Paiement eau'},{screen:c.walletDepot,icon:'school',title:'Paiement \xe9cole'},{screen:c.walletDepot,icon:'file-document',title:'Paiement \xe9lectricit\xe9'},{screen:c.walletDepot,icon:'cellphone',title:'Paiement cr\xe9dit t\xe9l\xe9phonique'}]};e.optionPaiementFacture=f},1607,[1,712,681,1608,807]);
+__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()},1608,[]);
+__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('.')}},1609,[]);
+__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}]}},1610,[]);
+__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])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),h=t(r(d[8])),p=r(d[9]),v=(n(r(d[10])),n(r(d[11])),r(d[12])),E=n(r(d[13])),y=r(d[14]),b=n(r(d[15])),S=n(r(d[16])),k=r(d[17]),C=t(r(d[18])),w=r(d[19]),N=r(d[20]),T=(r(d[21]),r(d[22])),_=r(d[23]),D=r(d[24]),x=n(r(d[25])),A=r(d[26]),B=(r(d[27]),(function(t){function n(t){var l;return(0,o.default)(this,n),(l=(0,u.default)(this,(0,c.default)(n).call(this,t))).handleViewRef=function(t){return l.numberView=t},l.handleMontantRef=function(t){return l.montantView=t},l.backPressed=function(){l.props.navigation.state.params.onGoBack()},l.state=l.initState(),l.updateState(),l}return(0,f.default)(n,t),(0,s.default)(n,[{key:"componentDidDisappear",value:function(){p.BackHandler.removeEventListener('hardwareBackPress',this.backPressed),this.props.navigation.state.params.onGoBack()}},{key:"componentDidAppear",value:function(){p.BackHandler.addEventListener('hardwareBackPress',this.backPressed)}},{key:"componentWillUnmount",value:function(){this.props.navigation.state.params.onGoBack()}},{key:"initState",value:function(){return{phone:null,montant:void 0,isSending:!1,isDisabled:!0,networks:[],user:null,visibleError:!1,currentNetwork:{nt:1},errorAnimation:""}}},{key:"onUserCancel",value:function(){console.log(this.props),this.props.navigation.state.params.onGoBack(),this.props.navigation.goBack()}},{key:"onUserSend",value:function(){var t=this,n=!0;if((!(0,w.isNumber)(this.state.montant)||this.state.montant>1e6)&&(n=!1),this.setState({visibleError:!n}),n){this.setState({isSending:!0});var l="",o="";(0,T.sendDemandeSpecificque)(this.state.montant,this.state.user.phoneTransaction,this.state.user.code_membre).then(function(n){void 0!==n.success&&1===n.success?(l=x.default.t('DEMAND_SEND'),o=x.default.t('DEMAND_SEND_SUCCESFUL')):(l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(l,o,[{text:'Ok',onPress:function(){t.setState({montant:""})}}]),setTimeout(function(){t.setState({isSending:!1})},800)}).catch(function(t){l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande",p.Alert.alert(l,o,[{text:'Ok'}])})}else this.montantView.shake(800),setTimeout(function(){t.setState({visibleError:!1})},3e3)}},{key:"render",value:function(){var t=this.state.user;return h.default.createElement(p.View,{style:{flex:1,alignItems:'center',backgroundColor:"lightgrey",paddingTop:(0,v.responsiveHeight)(10)}},h.default.createElement(p.StatusBar,{translucent:!1}),t?"geolocated"===t.category?this.multiNetwork():this.simpleAgent():h.default.createElement(p.ProgressBarAndroid,null))}},{key:"simpleAgent",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:200}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),paddingTop:20}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,null,h.default.createElement(C.View,{ref:this.handleMontantRef},h.default.createElement(D.TextInput,{label:x.default.t('AMOUNT'),keyboardType:"numeric",style:V.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:V.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(D.HelperText,{type:"error",visible:this.state.visibleError},x.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:x.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){t.onUserSend()},title:x.default.t('SEND'),color:"steelblue"}))))}},{key:"multiNetwork",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:250,justifyContent:'center'}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),justifyContent:'center'}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,{style:{flex:1}},h.default.createElement(p.View,{style:{flexDirection:'row'}},h.default.createElement(p.Picker,{selectedValue:this.state.currentNetwork,prompt:x.default.t("SELECT_NETWORK"),style:{height:50,flex:1,marginLeft:20},itemStyle:I.subtitle,onValueChange:function(n,l){return t.setState({currentNetwork:n})}},this.state.networks.map(function(t,n){return h.default.createElement(p.Picker.Item,{label:t.nt?x.default.t("SELECT_NETWORK"):x.default.t("FOR_NUMB")+t.phone+" ("+t.name+")",value:t})}))),h.default.createElement(C.View,{ref:this.handleMontantRef},h.default.createElement(D.TextInput,{label:x.default.t('AMOUNT'),keyboardType:"numeric",style:V.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:V.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(D.HelperText,{type:"error",visible:this.state.visibleError},x.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:x.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){var n=t.state,l=n.currentNetwork,o=n.montant;void 0!==l&&void 0===l.nt&&t.onNetworkSend(l.phone,l.code_membre,o)},title:x.default.t('SEND'),color:"steelblue"}))))}},{key:"renderSingleNetwork",value:function(t){var n=this,l=t.item;console.log(t);var o=null,s=null,u=0;return h.default.createElement(p.View,{style:I.container2},h.default.createElement(E.default,{style:I.cardInput2},h.default.createElement(p.View,null,h.default.createElement(p.Text,{style:I.title},x.default.t('ASK_CREDIT')),h.default.createElement(p.Text,{style:I.subtitle},x.default.t("FOR_NUMB")," ",l.phone," (",l.name,")"),h.default.createElement(C.View,{ref:this.handleMontantRef},h.default.createElement(y.Sae,{label:x.default.t('AMOUNT'),iconClass:b.default,iconName:'dollar',iconColor:k.primary,ref:function(t){o=t,n.setState({refIn:o})},inputStyle:V.style,value:this.state.montant,keyboardType:"numeric",onChangeText:function(t){if(t.length>0)try{u=parseFloat(t),n.setStat({montant:u}),s&&(s.setState({isDisabled:u>0}),s.isDisabled=u>0)}catch(t){}},style:V.selfitem,labelStyle:V.label,autoCapitalize:'none',autoCorrect:!1}))),h.default.createElement(p.View,{style:I.btnContainer},h.default.createElement(S.default,{style:I.button_1,textStyle:I.button_1_text,onPress:function(){return n.onUserCancel()}},x.default.t('CANCEL')),h.default.createElement(S.default,{ref:function(t){s=t},style:I.button_2,textStyle:I.button_2_text,onPress:function(){n.onNetworkSend(l.phone,l.code_membre,o.state.value,o,s)}},x.default.t('SEND')))))}},{key:"onNetworkSend",value:function(t,n,l){var o=this,s=!0,u=parseFloat(l);(null===u||!(0,w.isNumber)(u)||u>1e6)&&(s=!1),this.setState({visibleError:!s}),s?(0,T.sendDemandeSpecificque)(u,t,n).then(function(t){var n="",l="";void 0!==t.success&&1===t.success?(n=x.default.t("DEMAND_SEND"),l=x.default.t('DEMAND_SEND_SUCCESFUL')):(n="Erreur survenu lors de l'envoie ",l="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(n,l,[{text:"Ok",onPress:function(){o.setState({montant:""})}}])}):(this.montantView.shake(800),setTimeout(function(){o.setState({visibleError:!1})},3e3))}},{key:"updateState",value:function(){var t,n,o;return l.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,l.default.awrap((0,N.readUser)());case 2:if("geolocated"!==(t=s.sent).category){s.next=9;break}return s.next=6,l.default.awrap((0,_.getAgentNetworksList)(t.agentId));case 6:n=s.sent,console.log(n),1===n.success&&(o=[this.state.currentNetwork],n.networks.forEach(function(t){o.push(t)}),this.setState({networks:o}));case 9:this.setState({user:t});case 10:case"end":return s.stop()}},null,this,null,Promise)}}]),n})(h.Component));e.default=B,B.navigatorStyle={navBarHidden:!0},B.navigationOptions={drawerLabel:function(){return null},headerTitle:x.default.t('ASK_CREDIT'),title:x.default.t('ASK_CREDIT')};var V=p.StyleSheet.create({selfitem:{width:(0,v.responsiveWidth)(70),alignSelf:'center',marginBottom:20},label:{color:k.primary},style:{color:'black'}}),I=p.StyleSheet.create({title:{backgroundColor:k.primary,color:'white',paddingLeft:20,paddingTop:10,fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(3),height:(0,v.responsiveHeight)(10)},subtitle:{color:'black',paddingLeft:20,paddingTop:10,marginBottom:(0,v.responsiveHeight)(3),fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(2)},container:{flex:1,backgroundColor:'#EEE',justifyContent:'space-between'},container2:{flex:1,height:(0,v.responsiveHeight)(20),backgroundColor:'#EEE'},btnContainer:{flexDirection:'row',paddingRight:5,paddingLeft:5,paddingTop:5,marginBottom:-2.5},button_1:{flex:1,borderColor:'transparent'},button_2:{flex:1,borderColor:'transparent',backgroundColor:k.primary,borderRadius:0},button_1_text:{color:k.primary,fontWeight:'bold'},button_2_text:{color:'white',fontWeight:'bold'},cardInput:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(5),width:(0,v.responsiveWidth)(98),alignSelf:'center',justifyContent:'space-between',height:(0,v.responsiveHeight)(40)},cardInput2:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(1),width:(0,v.responsiveWidth)(98),height:(0,v.responsiveHeight)(50),alignSelf:'center',justifyContent:'space-between'}})},1611,[4,1,273,8,9,10,12,13,15,18,524,950,527,528,696,531,709,806,743,719,711,1153,1153,1001,1032,712,1010,807]);
+__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=n(r(d[8])),p=t(r(d[9])),v=r(d[10]),b=r(d[11]),y=(t(r(d[12])),n(r(d[13]))),S=n(r(d[14])),C=r(d[15]),k=r(d[16]),w=(t(r(d[17])),n(r(d[18]))),x=r(d[19]),E=r(d[20]);r(d[21]);r(d[22]);var T=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,u.default)(this,(0,s.default)(n).call(this,t))).state=o.generateState(),x.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,c.default)(o))),o}return(0,h.default)(n,t),(0,f.default)(n,[{key:"updateLangue",value:function(){this.props.navigation.setParams({name:y.default.t('CHANGE_INFORMATION')}),this.forceUpdate()}}],[{key:"options",value:function(t){return{topBar:{title:{text:""},backButton:{visible:!0,color:"white"},buttonsRight:[],buttonColor:"white",background:{color:E.primaryDark}}}}}]),(0,f.default)(n,[{key:"generateState",value:function(){return{isLoading:!1,notifi:!1}}},{key:"render",value:function(){var t=this;return p.default.createElement(v.View,{style:A.container},p.default.createElement(v.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!0}),p.default.createElement(v.ScrollView,{style:{flex:1,paddingTop:30}},p.default.createElement(v.View,{style:A.appContainer},p.default.createElement(v.Image,{source:r(d[23]),style:{width:(0,k.responsiveWidth)(90),resizeMode:"contain"}})),p.default.createElement(v.Text,{style:A.title},y.default.t('ADD_NETWORK')),p.default.createElement(b.Fumi,{iconClass:S.default,iconName:"code",labelStyle:A.labelInput,inputStyle:{color:'black'},value:this.state.validateCode,label:y.default.t('SPONSOR_CODE'),onChangeText:function(n){return t.setState({validateCode:n})},style:A.input}),p.default.createElement(b.Fumi,{label:y.default.t('PHONE'),iconClass:S.default,iconName:'phone',iconColor:'white',style:A.input,autoCapitalize:'none',keyboardType:"phone-pad",autoCorrect:!1,value:this.state.enterPhone,inputStyle:{color:'black'},ref:function(n){t.numberRef=n},onChangeText:function(n){return t.setState({enterPhone:n})},labelStyle:A.labelInput}),p.default.createElement(w.default,{style:A.btnStyle,textStyle:A.btnTextStyle,isLoading:this.state.isLoading,onPress:function(){return t.validateNetwork()}},y.default.t('VALIDATE'))))}},{key:"validateNetwork",value:function(){var t,n,l,u,s=this;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=this.state,n=t.validateCode,t.isLoading,l=t.enterPhone,void 0===n||null===n||null===l){c.next=8;break}return this.setState({isLoading:!0}),c.next=5,o.default.awrap((0,C.AssignAgentGeo)(n,l));case 5:u=c.sent,this.setState({isLoading:!1}),u&&(void 0!==u.success?v.Alert.alert(y.default.t('ADD_SUCCES'),y.default.t('ADD_SUCCESS_TEXT'),[{text:'OK',onPress:function(){s.setState({validateCode:"",enterPhone:""})}}]):u.error?(u.error,v.Alert.alert("Une erreur est survenu",u.error_msg,[{text:"Ok",onPress:function(){}}])):u.error&&(u.error,v.Alert.alert("Une erreur est survenu","Verifier que les champs sont bien rempli",[{text:"Ok",onPress:function(){}}])));case 8:case"end":return c.stop()}},null,this,null,Promise)}}]),n})(p.Component);e.default=T,T.navigatorStyle={navBarBackgroundColor:E.primaryDark,navBarTextColor:'white',navBarButtonColor:'white',drawUnderStatusBar:!1,statusBarColor:E.primaryDarkAdvanced,statusBarTextColorScheme:'light'},T.navigationOptions=function(t){return{drawerLabel:t.navigation.getParam("name",y.default.t('ADD_NETWORK')),drawerIcon:function(t){t.tintColor;return p.default.createElement(S.default,{name:'user',size:24})}}};var A=v.StyleSheet.create({btnHelpText:{color:'white',fontWeight:'bold'},btnHelp:{width:(0,k.responsiveWidth)(10),marginTop:(0,k.responsiveHeight)(10),alignSelf:'flex-end',marginRight:20,borderColor:'transparent',backgroundColor:E.primaryDark},btnTextStyle:{color:"white",fontWeight:'bold'},btnStyle:{alignSelf:'center',width:(0,k.responsiveWidth)(95),marginTop:20,borderColor:'transparent',backgroundColor:E.primaryDarkAdvanced,height:(0,k.responsiveHeight)(8)},appContainer:{flexDirection:'row',justifyContent:'center',alignItems:'center'},container:{alignItems:'center',justifyContent:'center',alignSelf:'center',flex:1,width:(0,k.responsiveWidth)(100),height:(0,k.responsiveHeight)(100),backgroundColor:E.primary},input:{height:(0,k.responsiveHeight)(10),width:(0,k.responsiveWidth)(90),borderRadius:10,marginTop:20,color:"black"},logo:{width:128,height:128},nameApp:{fontSize:27,fontWeight:'bold',color:'white'},title:{fontSize:22,fontWeight:'bold',margin:10,color:'white'},subtitle:{fontSize:20,margin:10,color:'white'}})},1612,[4,1,273,8,10,12,11,9,13,15,18,696,743,712,1002,711,527,950,709,766,806,808,807,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])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=t(r(d[7])),h=r(d[8]),y=n(r(d[9])),S=n(r(d[10])),p=r(d[11]),E=r(d[12]),v=(r(d[13]),r(d[14])),b=(n(r(d[15])),n(r(d[16])),n(r(d[17]))),D=r(d[18]),T=n(r(d[19]));r(d[20]),r(d[21]),r(d[22]),r(d[23]),r(d[24]),r(d[25]),r(d[26]),r(d[27]),r(d[28]);n(r(d[29]));var k=r(d[30]),L=r(d[31]),_=n(r(d[32])),C=(r(d[33]),r(d[34]),r(d[35]),n(r(d[36]))),x=r(d[37]),M=n(r(d[38])),I=r(d[13]),w=r(d[30]);r(d[39]);var A=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,s.default)(this,(0,u.default)(n).call(this,t,!0)))._populateIcons=function(){return new Promise(function(t,n){Promise.all([S.default.getImageSource('sort',30),S.default.getImageSource('layer-group',30)]).then(function(n){n[0],n[1],t(!0)}).catch(function(t){console.log(t),n(t)}).done()})},o._openMenu=function(){return o.setState({visibleMenu:!0})},o._closeMenu=function(){return o.setState({visibleMenu:!1})},o._showDateTimePicker=function(t){1===t?o.setState({isDateTimePickerVisible:!0}):o.setState({isDateEndTimePickerVisible:!0})},o._showDateEndPicker=function(){return o.setState({isDateEndTimePickerVisible:!0})},o._hideDateTimePicker=function(){return o.setState({isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1})},o.state=o.initState(),(0,D.readUser)().then(function(t){o.setState({user:t})}),o._populateIcons().then(function(){}),o.navigation=o.props.navigation,o.currentLocale=M.default.getDeviceLocale().includes("fr")?"fr":"en-gb",o}return(0,c.default)(n,t),(0,o.default)(n,[{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 h.Animated.Value(0),visibleMenu:!1,appState:h.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 f.default.createElement(h.View,{style:{position:"absolute",zIndex:100,paddingTop:50,right:10,flexDirection:'row',visible:this.state.visibleMenu,justifyContent:'center'}},f.default.createElement(x.Menu,{visible:this.state.visibleMenu,onDismiss:this._closeMenu,anchor:f.default.createElement(b.default,{onPress:this._openMenu},"Show menu")},f.default.createElement(x.Menu.Item,{onPress:function(){t.setState({isSectionned:!t.state.isSectionned}),t._closeMenu()},title:"Section"}),f.default.createElement(x.Divider,null),f.default.createElement(x.Menu.Item,{onPress:function(){t.animateSlidingUp(!t.state.isSliding),t._closeMenu()},title:_.default.t("FILTER_DATE")})))}},{key:"animateSlidingUp",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,p.responsiveHeight)(100),l=t?n:0,o=t?0:n;this.setState({isSliding:t}),this.state.translateAnim.setValue(l),h.Animated.timing(this.state.translateAnim,{toValue:o,duration:500,useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this;return f.default.createElement(x.Provider,null,f.default.createElement(h.View,{style:{flex:1}},f.default.createElement(h.StatusBar,{backgroundColor:w.primaryDark,barStyle:"light-content",translucent:!1}),this.renderSliding(),f.default.createElement(x.Appbar.Header,{dark:!0,style:{backgroundColor:w.primary}},f.default.createElement(x.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),f.default.createElement(x.Appbar.Content,{title:_.default.t('CREDIT_MANAGE'),subtitle:0===this.state.position?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE')}),f.default.createElement(x.Appbar.Action,{icon:"refresh",onPress:function(){t.refreshData()}}),f.default.createElement(x.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 f.default.createElement(h.Animated.View,{style:[V.slidingup,{translateY:this.state.translateAnim}]},f.default.createElement(T.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,p.responsiveHeight)(60)}}),f.default.createElement(h.View,{style:{flexDirection:'row'}},f.default.createElement(b.default,null,_.default.t('QUIT')),f.default.createElement(b.default,null,_.default.t('FILTER'))))}},{key:"renderSectionnedList",value:function(t){var n=this;if(this.state.isLoaded){return null!==t?t.length>0?f.default.createElement(E.HistoryItemSectionned,{user:this.state.user,list:t,refresh:function(){return n.refreshData()},style:V.listbackground}):this.state.filter?f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEMS_REQUEST'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.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?f.default.createElement(E.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:V.listbackground,isDemandSend:0===this.state.position}):this.state.filter?f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):0===l.length?f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('EMPTY_LIST_REQUEST')," "))}if(0===t.length)return f.default.createElement(h.View,{style:V.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST')))}},{key:"renderLoading",value:function(){return f.default.createElement(h.View,null,f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS')))}},{key:"showSlidingUpPanel",value:function(){}},{key:"printOptions",value:function(){var t=this;return"hyper"===this.state.user.category?f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:V.actionButtonIcon}))):f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.primary,title:_.default.t('MAKE_REQUEST'),onPress:function(){t.props.navigation.push(I.credrequester,{onGoBack:function(){return t.refreshData()}})}},f.default.createElement(S.default,{name:"edit",style:V.actionButtonIcon})),f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:V.actionButtonIcon})))}},{key:"_renderListDemandsSend",value:function(){return console.log('this.state',this.state),f.default.createElement(h.View,{style:V.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 f.default.createElement(h.View,{style:V.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:_.default.t('DEMAND_SEND')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabHyper",value:function(){var t=[{text:_.default.t('DEMAND_RECEIVE')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabs",value:function(){var t=[{text:_.default.t('MY_DEMAND'),iconSource:this.state.usersicon},{text:_.default.t('DEMAND_RECEIVE'),iconSource:this.state.charticon}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.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,v.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,v.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)})}}]),n})(f.default.Component);A.navigatorStyle={navBarBackgroundColor:k.primary,statusBarColor:k.primaryDark,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF',contextualMenuStatusBarColor:w.accent,contextualMenuBackgroundColor:w.accentLight,contextualMenuButtonsColor:'#ffffff'},A.navigationOptions=function(t){var n=t.navigation,l=n.state.routeName;return{tabBarLabel:"myDemand"===l?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE'),tabBarIcon:function(t){var o=t.focused,s=(t.horizontal,t.tintColor);return f.default.createElement(C.default,{badgeCount:n.getParam("count",0),size:20,name:"myDemand"===l?"mail":"inbox",color:o?s:"grey"})},drawerLabel:_.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return f.default.createElement(S.default,{name:'credit-card',size:24})}}};var P=A;e.default=P;h.StyleSheet.create({titleHeader:{fontSize:20,fontWeight:'bold',color:'black',flex:1},datetitle:{fontSize:17,color:'black',marginLeft:(0,p.responsiveWidth)(2)},datetext:{fontSize:16,marginLeft:(0,p.responsiveWidth)(5)},content:{flex:2},btnContainer:{flexDirection:'row',width:(0,p.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 V=h.StyleSheet.create({slidingup:{position:"absolute",height:(0,p.responsiveHeight)(84),bottom:0,backgroundColor:'white',width:(0,p.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,p.responsiveWidth)(13),marginBottom:20,fontSize:17},titlecontent:{fontSize:17,marginLeft:(0,p.responsiveWidth)(10),color:'black'},content:{flex:8},title:{fontSize:20,marginLeft:20,marginTop:20,color:'black',fontWeight:'bold'}})},1613,[4,1,8,9,10,12,13,15,18,524,827,527,1143,807,1153,1002,815,709,711,1026,1027,1145,1146,1147,1148,1149,1150,1151,1152,1137,806,937,712,768,840,405,1614,1032,930,808]);
+__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},1614,[4,1,8,9,10,12,13,15,18,827]);
+__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])),u=l(r(d[3])),o=l(r(d[4])),f=l(r(d[5])),s=l(r(d[6])),v=t(r(d[7])),c=r(d[8]),h=l(r(d[9])),b=l(r(d[10])),p=(r(d[11]),r(d[12]),r(d[13])),k=(function(t){function l(t){var u;return(0,n.default)(this,l),(u=(0,o.default)(this,(0,f.default)(l).call(this,t))).state={valuePosition:0},u.mounted=!1,u.filterOptions=[{value:5,label:"5 km"},{value:15,label:"15 km"},{value:20,label:"20 km"},{value:25,label:"25 km"}],u}return(0,s.default)(l,t),(0,u.default)(l,[{key:"geInitialState",value:function(){return{valuePosition:0}}},{key:"render",value:function(){var t=this;return v.default.createElement(c.View,{style:{flex:1}},v.default.createElement(p,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(l){return t.slidingComplete(l)}}),v.default.createElement(c.Text,null,v.default.createElement(c.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",b.default.t("DISTANCE_ARROUND")))}},{key:"slidingComplete",value:function(t){this.setState({value:this.filterOptions[t].value,valuePosition:t})}}]),l})(v.Component);e.default=k,k.navigationOptions=function(t){var l=t.navigation;return{drawerLabel:function(){return null},title:"Filtre",tabBarIcon:function(t){t.focused,t.horizontal;var n=t.tintColor;return v.default.createElement(h.default,{badgeCount:l.getParam("count",0),size:24,name:"filter-list",color:n})}}}},1615,[4,1,8,9,10,12,13,15,18,827,712,1032,806,1382]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createMaterialBottomTabNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},1616,[1,1617]);
+__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])),c=o(r(d[4])),s=o(r(d[5])),u=o(r(d[6])),v=o(r(d[7])),p=o(r(d[8])),f=t(r(d[9])),C=r(d[10]),h=r(d[11]),b=r(d[12]),y=(function(t){function o(){var t,n;(0,c.default)(this,o);for(var l=arguments.length,s=new Array(l),p=0;p0?y.default.createElement(y.default.Fragment,null,y.default.createElement(T.View,{style:[G.contentService,{borderBottomColor:I.Color.primaryColor}]},(0,k.transactionHistoryLabel)().map(function(t,l){return y.default.createElement(T.View,{style:{alignItems:'center'},key:l},y.default.createElement(C.default,{name:t.icon,size:24,color:I.Color.primaryColor}),y.default.createElement(T.Text,{style:(x.Typography.overline,I.Color.grayColor,{marginTop:4})},t.label))})),l.response.map(function(t,l){return s.renderHistoryTransactionItem(t,l)})):y.default.createElement(T.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},y.default.createElement(T.Text,{style:x.Typography.body1},h.default.t('NO_WALLET_HISTORY'))):void 0},s.renderHistoryTransaction=function(){return y.default.createElement(y.default.Fragment,null,s.props.loadingTransaction?y.default.createElement(T.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===T.Platform.OS?y.default.createElement(y.default.Fragment,null,y.default.createElement(T.ProgressBarAndroid,null),y.default.createElement(T.Text,null,h.default.t('LOADING_DOTS'))):y.default.createElement(y.default.Fragment,null,y.default.createElement(T.ActivityIndicator,{size:"large",color:'#ccc'}),y.default.createElement(T.Text,null,h.default.t('LOADING_DOTS')))):y.default.createElement(y.default.Fragment,null,y.default.createElement(T.View,{style:[G.checkDefault,{borderBottomColor:I.Color.borderColor}]},y.default.createElement(T.Text,{style:[x.Typography.title3,x.Typography.semibold]},h.default.t('TRANSACTION_HISTORY'))),s.renderHistoryTransactionList()))},s.renderDialogConfirmTransferCommission=function(){T.Alert.alert(h.default.t("CONFIRM"),h.default.t('CONFIRM_TRANSFER_COMMISSION'),[{text:h.default.t("NO"),onPress:function(){}},{text:h.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&&T.Alert.alert(h.default.t("ERROR_TRANSFER_COMMISSION"),o.data.error,[{text:h.default.t("OK"),onPress:function(){s.props.resetCommissionReducer()}}],{cancelable:!1}),null!==l&&null!==l.response&&T.Alert.alert(h.default.t("SUCCESS_TRANSFER_COMMISSION"),h.default.t("COMMISSION_TRANSFER_SUCCESS"),[{text:h.default.t("OK"),onPress:function(){s.props.resetCommissionReducer(),s.refresh()}}],{cancelable:!1})},s.state={index:0,routes:[{key:'depot',title:h.default.t('DEPOSIT')},{key:'retrait',title:h.default.t('WITHDRAWAL')}],heightHeader:w.heightHeader(),isModalConfirmVisible:!1,wallet:null,triggerTransferCommission:!1,loading:!1,isTriggerRefresh:!1,scrollHeaderY:0},s.renderContent=null,z.extend({'+':'plus'}),s.scrollY=new T.Animated.Value(0),s.scrollHeaderY=new T.Animated.Value(0),s.deltaY=new T.Animated.Value(0),s.bgBannerY=new T.Animated.Value(0),s.heightImageBanner=w.scaleWithPixel(250,1),s.marginTopBanner=s.heightImageBanner-s.state.heightHeader-40,s.isHomeRootView=s.props.navigation.state.params.hasOwnProperty('agentId'),O.IlinkEmitter.on("langueChange",s.updateLangue.bind((0,f.default)(s))),s.props.getWalletTransactionHistoryReset(),s.props.depositActionReset(),s.props.resetWalletListDetailReducer(),s.currentLocale=F.default.getDeviceLocale().includes("fr")?"fr":"en-gb",H.locale(s.currentLocale),s.isHomeRootView){var p=s.props.navigation.state.params.agentId;s.props.getWalletDetailActivated(p,!0)}else s.props.getWalletDetailActivated(s.props.navigation.state.params.wallet.id,!1),s.props.getWalletTransactionHistory(s.props.navigation.state.params.wallet.id);return s}return(0,p.default)(l,t),(0,s.default)(l,[{key:"componentDidMount",value:function(){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:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){return y.default.createElement(y.default.Fragment,null,y.default.createElement(T.StatusBar,{backgroundColor:I.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?y.default.createElement(T.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},y.default.createElement(T.Text,{style:x.Typography.body1},h.default.t('NO_WALLET_ACTIVED'))):this.renderDetailWallet(this.props.result.response):null)}}]),l})(y.Component);j.navigatorStyle={navBarBackgroundColor:I.Color.primaryColor,statusBarColor:I.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},j.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:h.default.t('WALLET'),headerTintColor:'white',headerStyle:{backgroundColor:I.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"},title:h.default.t('WALLET')}};var Y=(0,_.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}},function(t){return(0,B.bindActionCreators)({getWalletDetailActivated:v.getWalletDetailActivated,getWalletTransactionHistory:A.getWalletTransactionHistory,transferCommissionAction:D.transferCommissionAction,resetWalletListDetailReducer:v.resetWalletListDetailReducer,resetCommissionReducer:D.resetCommissionReducer,getWalletTransactionHistoryReset:A.getWalletTransactionHistoryReset,depositActionReset:V.depositActionReset},t)})(j);e.default=Y;var G=T.StyleSheet.create({container:{flex:1,backgroundColor:I.Color.containerBackgroundColor},indicator:{height:2},tab:{width:w.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,S.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:I.Color.borderColor,borderColor:I.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:I.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:w.scaleWithPixel(30),height:w.scaleWithPixel(30)},content:{height:w.scaleWithPixel(60),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:5}})},1618,[4,1,6,8,9,10,12,11,13,15,18,869,712,1619,1008,871,1630,1633,1020,1604,766,1009,527,1541,1635,1637,1638,681,545,736,1145,1146,1147,1148,1149,1150,1151,1152,1508,1476,1607,930,1137,1609,807,1608,808,1639,1640,1641]);
+__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]))},1619,[1,1620,1625,1624,1628,1629]);
+__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}})},1621,[4,1,8,9,10,12,11,13,15,18,1622,1389,1623]);
+__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])),c=n(r(d[5])),s=n(r(d[6])),f=t(r(d[7])),p=r(d[8]);function b(){return(b=Object.assign||function(t){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(t,l)&&(u[l]=t[l])}return u}function O(t,n){if(null==t)return{};var l,o,u={},c=Object.keys(t);for(o=0;o=0||(u[l]=t[l]);return u}var v,h,j,P=(function(t){function n(){return(0,l.default)(this,n),(0,u.default)(this,(0,c.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.style,l=t.pressOpacity,o=t.pressColor,u=t.borderless,c=t.children,s=y(t,["style","pressOpacity","pressColor","borderless","children"]);return'android'===p.Platform.OS&&p.Platform.Version>=21?f.createElement(p.TouchableNativeFeedback,b({},s,{background:p.TouchableNativeFeedback.Ripple(o,u)}),f.createElement(p.View,{style:n},f.Children.only(c))):f.createElement(p.TouchableOpacity,b({},s,{style:n,activeOpacity:l}),c)}}]),n})(f.Component);e.default=P,j={pressColor:'rgba(255, 255, 255, .4)'},(h="defaultProps")in(v=P)?Object.defineProperty(v,h,{value:j,enumerable:!0,configurable:!0,writable:!0}):v[h]=j},1622,[4,1,8,9,10,12,13,15,18]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var t,f;return function(){for(var l=!1,o=arguments.length,u=new Array(o),v=0;v1?this.getTranslateX(n,p,u):0,v='auto'===l?p.length>1?this.getWidth(n,p,u):u(0):l;return h.createElement(y.default.View,{style:[T.indicator,{width:v},c.width?{transform:[{translateX:s}]}:{left:"".concat(100/p.length*o.index,"%")},'auto'===l?{opacity:this.opacity}:null,f]})}}]),n})(h.Component);e.default=R;var T=v.StyleSheet.create({indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}})},1624,[4,1,33,8,9,10,12,11,13,15,18,1389,1623]);
+__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])),p=n(r(d[6])),c=n(r(d[7])),f=t(r(d[8])),y=r(d[9]),v=r(d[10]),h=n(r(d[11])),b=n(r(d[12])),w=n(r(d[13])),P=n(r(d[14]));function S(){return(S=Object.assign||function(t){for(var n=1;nl.props.lazyPreloadDistance}),v((0,h.default)(l),"handleEnter",function(t){t===l.props.index&&l.state.loading&&l.setState({loading:!1})}),l}return(0,p.default)(n,t),(0,l.default)(n,[{key:"componentDidMount",value:function(){var t=this;this.props.lazy?this.props.addListener('enter',this.handleEnter):this.state.loading&&setTimeout(function(){return t.setState({loading:!1})},0)}},{key:"componentDidUpdate",value:function(t,n){this.props.lazy===t.lazy&&this.state.loading===n.loading||(this.props.lazy&&this.state.loading?this.props.addListener('enter',this.handleEnter):this.props.removeListener('enter',this.handleEnter))}},{key:"componentWillUnmount",value:function(){this.props.removeListener('enter',this.handleEnter)}},{key:"render",value:function(){var t=this.props,n=t.navigationState,o=t.index,l=t.layout,s=t.style,u=this.state.loading,h=n.index===o;return c.createElement(f.View,{accessibilityElementsHidden:!h,importantForAccessibility:h?'auto':'no-hide-descendants',style:[b.route,l.width?{width:l.width}:h?f.StyleSheet.absoluteFill:null,s]},h||l.width?this.props.children({loading:u}):null)}}],[{key:"getDerivedStateFromProps",value:function(t,n){return n.loading&&Math.abs(t.navigationState.index-t.index)<=t.lazyPreloadDistance?{loading:!1}:null}}]),n})(c.Component);e.default=y;var b=f.StyleSheet.create({route:{flex:1,overflow:'hidden'}})},1626,[4,1,8,9,10,12,11,13,15,18]);
+__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 s=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),p=n(r(d[6])),f=n(r(d[7])),c=n(r(d[8])),h=n(r(d[9])),v=t(r(d[10])),w=r(d[11]),x=r(d[12]),y=t(r(d[13])),S=n(r(d[14]));function I(){return(I=Object.assign||function(t){for(var n=1;n-1&&u.enterListeners.splice(s,1)}}),V((0,c.default)(u),"handleEnteredIndexChange",function(t){var n=(0,s.default)(t,1)[0],o=Math.max(0,Math.min(n,u.props.navigationState.routes.length-1));u.enterListeners.forEach(function(t){return t(o)})}),V((0,c.default)(u),"transitionTo",function(t){var n=new E(0),s=new E(0),o={position:u.progress,time:new E(0),finished:new E(ae)};return L([G(D(u.clock),se,[J(n,N(t,u.layoutWidth,le)),J(s,0),J(o.time,0),J(o.finished,ae),J(u.index,t)]),G(u.isSwipeGesture,[G(z(D(u.clock)),w.I18nManager.isRTL?J(u.initialVelocityForSpring,N(-1,u.velocityX,u.springVelocityScale)):J(u.initialVelocityForSpring,N(u.velocityX,u.springVelocityScale))),Q(u.clock,T({},o,{velocity:u.initialVelocityForSpring}),T({},pe,{},u.springConfig,{toValue:n}))],te(u.clock,T({},o,{frameTime:s}),T({},ce,{},u.timingConfig,{toValue:n}))),G(z(D(u.clock)),Z(u.clock)),G(o.finished,[J(u.isSwipeGesture,ae),J(u.gestureX,0),J(u.velocityX,0),$(u.clock)])])}),V((0,c.default)(u),"handleGestureEvent",W([{nativeEvent:{translationX:u.gestureX,velocityX:u.velocityX,state:u.gestureState}}])),V((0,c.default)(u),"extrapolatedPosition",P(u.gestureX,N(u.velocityX,u.swipeVelocityImpact))),V((0,c.default)(u),"toggleEnabled",function(){u.state.enabled&&u.setState({enabled:!1},function(){u.setState({enabled:!0})})}),V((0,c.default)(u),"maybeCancel",L([G(H(u.gesturesEnabled,O(H(F(u.index,ee(u.routesLength,1)),_(u.gestureX,0)),H(F(u.index,0),U(u.gestureX,0)))),J(u.gesturesEnabled,0))])),V((0,c.default)(u),"translateX",L([X(u.gesturesEnabled,G(z(u.gesturesEnabled),j([u.gesturesEnabled],u.toggleEnabled))),X(u.index,j([u.index],function(t){var n=(0,s.default)(t,1)[0];u.currentIndexValue=n,n!==u.props.navigationState.index&&(u.props.onIndexChange(n),u.pendingIndexValue=n,u.forceUpdate())})),X(u.position,G(w.I18nManager.isRTL?_(u.gestureX,0):U(u.gestureX,0),G(Y(A(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,A(u.position)),j([A(u.position)],u.handleEnteredIndexChange)]),G(Y(R(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,R(u.position)),j([R(u.position)],u.handleEnteredIndexChange)]))),X(u.isSwiping,[G(z(u.isSwiping),J(u.gesturesEnabled,1)),j([u.isSwiping,u.indexAtSwipeEnd,u.index],function(t){var n=(0,s.default)(t,3),o=n[0],l=n[1],p=n[2],f=u.props,c=f.keyboardDismissMode,h=f.onSwipeStart,v=f.onSwipeEnd;if(o===ie)if(null===h||void 0===h||h(),u.interactionHandle=w.InteractionManager.createInteractionHandle(),'auto'===c){var x=w.TextInput.State.currentlyFocusedField();w.TextInput.State.blurTextInput(x),u.previouslyFocusedTextInput=x}else'on-drag'===c&&w.Keyboard.dismiss();else if(null===v||void 0===v||v(),null!==u.interactionHandle&&w.InteractionManager.clearInteractionHandle(u.interactionHandle),'auto'===c){if(l===p){var y=u.previouslyFocusedTextInput;y&&w.TextInput.State.focusTextInput(y)}u.previouslyFocusedTextInput=null}})]),X(u.nextIndex,G(Y(u.nextIndex,re),[G(D(u.clock),$(u.clock)),J(u.gestureX,0),J(u.index,u.nextIndex),J(u.nextIndex,re)])),G(F(u.gestureState,x.State.ACTIVE),[u.maybeCancel,G(u.isSwiping,se,[J(u.isSwiping,ie),J(u.isSwipeGesture,ie),J(u.offsetX,u.progress)]),J(u.progress,w.I18nManager.isRTL?ee(u.offsetX,u.gestureX):P(u.offsetX,u.gestureX)),$(u.clock)],[J(u.isSwiping,ae),J(u.indexAtSwipeEnd,u.index),u.transitionTo(G(H(U(k(u.gestureX),de),U(k(u.extrapolatedPosition),M(u.layoutWidth,2))),B(K(q(0,ee(u.index,G(U(u.extrapolatedPosition,0),w.I18nManager.isRTL?le:oe,w.I18nManager.isRTL?oe:le))),ee(u.routesLength,1))),u.index))]),u.progress])),V((0,c.default)(u),"getTranslateX",(0,S.default)(function(t,n,s){return N(K(q(N(t,ee(n,1),le),s),0),w.I18nManager.isRTL?-1:1)})),u}return(0,h.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){this.context&&this.context.addGestureHandlerRef&&this.context.addGestureHandlerRef(this.gestureHandlerRef)}},{key:"componentDidUpdate",value:function(t){var n=this.props,s=n.navigationState,o=n.layout,l=n.swipeVelocityImpact,u=n.springVelocityScale,p=n.springConfig,f=n.timingConfig,c=s.index,h=s.routes;(c!==t.navigationState.index&&c!==this.currentIndexValue||'number'==typeof this.pendingIndexValue&&c!==this.pendingIndexValue)&&this.jumpToIndex(c),this.pendingIndexValue=void 0,t.navigationState.routes.length!==h.length&&this.routesLength.setValue(h.length),t.layout.width!==o.width&&(this.progress.setValue(-c*o.width),this.layoutWidth.setValue(o.width)),t.swipeVelocityImpact!==l&&this.swipeVelocityImpact.setValue(void 0!==l?l:ue),t.springVelocityScale!==u&&this.springVelocityScale.setValue(void 0!==u?u:fe),t.springConfig!==p&&(this.springConfig.damping.setValue(void 0!==p.damping?p.damping:pe.damping),this.springConfig.mass.setValue(void 0!==p.mass?p.mass:pe.mass),this.springConfig.stiffness.setValue(void 0!==p.stiffness?p.stiffness:pe.stiffness),this.springConfig.restSpeedThreshold.setValue(void 0!==p.restSpeedThreshold?p.restSpeedThreshold:pe.restSpeedThreshold),this.springConfig.restDisplacementThreshold.setValue(void 0!==p.restDisplacementThreshold?p.restDisplacementThreshold:pe.restDisplacementThreshold)),t.timingConfig!==f&&this.timingConfig.duration.setValue(void 0!==f.duration?f.duration:ce.duration)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&w.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,s=n.layout,o=n.navigationState,l=n.swipeEnabled,u=n.children,p=n.removeClippedSubviews,f=n.gestureHandlerProps,c=this.getTranslateX(this.layoutWidth,this.routesLength,this.translateX);return u({position:this.position,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return v.createElement(x.PanGestureHandler,I({ref:t.gestureHandlerRef,simultaneousHandlers:t.state.childPanGestureHandlerRefs,waitFor:t.state.childPanGestureHandlerRefs,enabled:0!==s.width&&l&&t.state.enabled,onGestureEvent:t.handleGestureEvent,onHandlerStateChange:t.handleGestureEvent,activeOffsetX:[-20,de],failOffsetY:[-20,de]},f),v.createElement(y.default.View,{removeClippedSubviews:p,style:[he.container,s.width?{width:s.width*o.routes.length,transform:[{translateX:c}]}:null]},v.createElement(ne.Provider,{value:t.providerVal},n)))}})}}]),n})(v.Component);e.default=ge,V(ge,"defaultProps",{swipeVelocityImpact:ue,springVelocityScale:fe}),V(ge,"contextType",ne);var he=w.StyleSheet.create({container:{flex:1,flexDirection:'row'}})},1627,[4,1,27,33,8,9,10,12,11,13,15,18,2,1389,1623]);
+__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=function(t){return function(n){var o=n.route,u=n.jumpTo,l=n.position;return p.createElement(v,{key:o.key,component:t[o.key],route:o,jumpTo:u,position:l})}};var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),f=n(r(d[5])),c=n(r(d[6])),p=t(r(d[7]));function y(t,n){if(null==t)return{};var o,u,l=s(t,n);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(t);for(u=0;u=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(l[o]=t[o])}return l}function s(t,n){if(null==t)return{};var o,u,l={},f=Object.keys(t);for(u=0;u=0||(l[o]=t[o]);return l}var v=(function(t){function n(){return(0,o.default)(this,n),(0,l.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,c.default)(n,t),(0,u.default)(n,[{key:"render",value:function(){var t=this.props,n=t.component,o=y(t,["component"]);return p.createElement(n,o)}}]),n})(p.PureComponent)},1628,[4,1,8,9,10,12,13,15]);
+__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])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),y=n(r(d[11]));function w(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var S=y.default.event,x=y.default.divide,b=y.default.onChange,T=y.default.cond,E=y.default.eq,I=y.default.round,L=y.default.call,H=y.default.Value,P=(function(t){function n(){var t,o;(0,l.default)(this,n);for(var s=arguments.length,p=new Array(s),b=0;b1&&void 0!==arguments[1])||arguments[1];o.scrollViewRef.current&&o.scrollViewRef.current.getNode().scrollTo({x:t,animated:n})}),w((0,f.default)(o),"enterListeners",[]),w((0,f.default)(o),"addListener",function(t,n){switch(t){case'enter':o.enterListeners.push(n)}}),w((0,f.default)(o),"removeListener",function(t,n){switch(t){case'enter':var l=o.enterListeners.indexOf(n);l>-1&&o.enterListeners.splice(l,1)}}),w((0,f.default)(o),"position",new y.default.Value(o.props.navigationState.index*o.props.layout.width)),w((0,f.default)(o),"onScroll",S([{nativeEvent:{contentOffset:{x:o.position}}}])),w((0,f.default)(o),"layoutWidthNode",new H(o.props.layout.width)),w((0,f.default)(o),"relativePosition",x(o.position,o.layoutWidthNode)),o}return(0,p.default)(n,t),(0,s.default)(n,[{key:"componentDidMount",value:function(){this.props.layout.width&&this.scrollTo(this.props.navigationState.index*this.props.layout.width,!1)}},{key:"componentDidUpdate",value:function(t){var n=this.props.navigationState.index*this.props.layout.width;t.navigationState.routes.length!==this.props.navigationState.routes.length||t.layout.width!==this.props.layout.width?this.scrollTo(n,!1):t.navigationState.index!==this.props.navigationState.index&&this.scrollTo(n),t.layout.width!==this.props.layout.width&&this.layoutWidthNode.setValue(this.props.layout.width)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&v.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,l=n.children,s=n.layout,u=n.onSwipeStart,c=n.onSwipeEnd,f=n.overscroll,p=n.onIndexChange,w=n.navigationState,S=function(){null===u||void 0===u||u(),t.interactionHandle=v.InteractionManager.createInteractionHandle()},x=function(){null===c||void 0===c||c(),null!==t.interactionHandle&&v.InteractionManager.clearInteractionHandle(t.interactionHandle)};return l({position:this.relativePosition,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return h.createElement(y.default.ScrollView,{pagingEnabled:!0,directionalLockEnabled:!0,keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",overScrollMode:"never",scrollToOverflowEnabled:!0,scrollEnabled:t.props.swipeEnabled,automaticallyAdjustContentInsets:!1,bounces:f,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEventThrottle:1,onScroll:t.onScroll,onScrollBeginDrag:S,onScrollEndDrag:x,onMomentumScrollEnd:t.onScroll,contentOffset:t.initialOffset,style:k.container,contentContainerStyle:s.width?{flexDirection:'row',width:s.width*w.routes.length,flex:1}:null,ref:t.scrollViewRef},n,h.createElement(y.default.Code,{exec:b(t.relativePosition,T(E(I(t.relativePosition),t.relativePosition),[L([t.relativePosition],function(t){var n=(0,o.default)(t,1)[0];return p(n)})]))}))}})}}]),n})(h.Component);e.default=P,w(P,"defaultProps",{bounces:!0});var k=v.StyleSheet.create({container:{flex:1}})},1629,[4,1,27,8,9,10,12,11,13,15,18,1389]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Images=void 0;var o={userAvatar:r(d[0]),bgprimarycolor:r(d[1]),logo:r(d[2]),room6:r(d[3])};e.Images=o},1630,[1021,1631,1140,1632]);
+__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img",width:1920,height:1280,scales:[1],hash:"e6ade7cb50f92b48c551a0e51bbb5cff",name:"bgprimarycolor",type:"png"})},1631,[175]);
+__d(function(a,e,s,t,r,h,i){r.exports=e(i[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img",width:1920,height:1280,scales:[1],hash:"8a6b70645b2552a2a8ff53ee313a20a0",name:"room-6",type:"jpg"})},1632,[175]);
+__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=C;var o=l(r(d[1])),t=l(r(d[2])),u=l(r(d[3])),n=r(d[4]),f=r(d[5]),c=l(r(d[6])),y=l(r(d[7])),s=l(r(d[8]));function C(l){var c=l.style,C=l.styleCustomText,p=l.icon,b=l.outline,h=l.full,v=l.round,O=l.loading,T=l.children,S=(0,t.default)(l,["style","styleCustomText","icon","outline","full","round","loading","children"]);return u.default.createElement(n.TouchableOpacity,(0,o.default)({},S,{style:n.StyleSheet.flatten([[s.default.default,{backgroundColor:f.Color.primaryColor}],b&&[s.default.outline,{backgroundColor:f.Color.cardBackgroundColor,borderColor:f.Color.primaryColor}],h&&s.default.full,v&&s.default.round,c]),activeOpacity:.9}),p||null,u.default.createElement(y.default,{style:n.StyleSheet.flatten([s.default.textDefault,b&&{color:f.Color.primaryColor},C]),numberOfLines:1},T||"CustomButton"),O?u.default.createElement(n.ActivityIndicator,{size:"small",color:b?f.Color.primaryColor:f.Color.whiteColor,style:{paddingLeft:5}}):null)}C.propTypes={style:c.default.oneOfType([c.default.object,c.default.array]),icon:c.default.node,outline:c.default.bool,full:c.default.bool,round:c.default.bool,loading:c.default.bool},C.defaultProps={style:{},icon:null,outline:!1,full:!1,round:!1,loading:!1}},1633,[1,6,57,15,18,1020,68,1605,1634]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=r(d[2]),c=r(d[3]),l=r(d[4]);function u(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}var f=n.StyleSheet.create({default:{height:56,borderRadius:8,flexDirection:"row",justifyContent:"center",alignItems:"center",paddingHorizontal:20},textDefault:(function(t){for(var n=1;n0?p.default.createElement(y.ScrollView,{style:{flex:1,padding:20}},n.response.map(function(t){return o.renderWalletItem(t)})):p.default.createElement(y.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.Text,{style:x.Typography.body1},h.default.t('NO_WALLET_ACTIVED'))):void 0},k.extend({'+':'plus'}),w.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,s.default)(o))),o.state={result:null,isDataLoaded:!1,agentId:null},o}return(0,f.default)(n,t),(0,o.default)(n,[{key:"componentDidMount",value:function(){var t=this;(0,A.readUser)().then(function(n){n&&void 0!==n&&void 0!==n.phone&&(t.props.getWalletActivated(n.agentId),t.setState({agentId:n.agentId}))})}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return console.log("WALLET PROPS",this.props),p.default.createElement(T.Provider,null,p.default.createElement(y.View,{style:{flex:1}},p.default.createElement(y.StatusBar,{backgroundColor:C.Color.primaryDarkColor,barStyle:"light-content",translucent:!1}),p.default.createElement(T.Appbar.Header,{dark:!0,style:{backgroundColor:C.Color.primaryColor}},p.default.createElement(T.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(T.Appbar.Content,{title:h.default.t('WALLET'),subtitle:h.default.t('SELECT_YOUR_WALLET')})),this.props.loading?this.renderLoader():this.renderWalletList()))}}]),n})(p.Component);W.navigationOptions=function(t){t.navigation;return{header:null,headerMode:'none',headerTitle:null,activeColor:'#f0edf6',inactiveColor:'#3e2465',barStyle:{backgroundColor:'#694fad'},drawerLabel:h.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return p.default.createElement(E.default,{name:'credit-card',size:24})}}};var D=(0,b.connect)(function(t){return{loading:t.walletReducer.loading,result:t.walletReducer.result,error:t.walletReducer.error}},function(t){return(0,L.bindActionCreators)({getWalletActivated:I.getWalletActivated},t)})(W);e.default=D;var O=y.StyleSheet.create({container:{flex:1,backgroundColor:C.Color.containerBackgroundColor},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:"100%",marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"}})},1642,[4,1,8,9,10,12,11,13,15,18,869,712,1008,1630,1020,736,766,1032,1541,1508,711,1476,1009,807,1608]);
+__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.PersistGate=void 0;var t=(function(t){if(t&&t.__esModule)return t;var o={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};s.get||s.set?Object.defineProperty(o,n,s):o[n]=t[n]}return o.default=t,o})(r(d[0]));function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t})(t)}function n(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function s(t,o){for(var n=0;n\/?~]/.test(t)},o.isMontantValid=function(){var t=o.state.montant;return parseInt((0,L.default)(t,0))||t<0?{errorMessage:E.default.t('ENTER_AMOUNT_SUPERIOR_ZEROR'),isValid:!1}:o.isNormalInteger(t)?t>parseInt(o.state.comptePrincipal)?{errorMessage:E.default.t('AMOUNT_SUPERIOR_TO_PRINCIPAL_ACCOUNT'),isValid:!1}:{errorMessage:'',isValid:!0}:{errorMessage:E.default.t('ENTER_VALID_AMOUNT'),isValid:!1}},o.isNumeroSerieValid=function(){var t=o.state.numeroSerie;return parseInt((0,L.default)(t,0))||t<0?{errorMessage:E.default.t('ENTER_VALID_SERIAL_NUMBER'),isValid:!1}:o.isNormalInteger(t)?t.length>11?{errorMessage:E.default.t('ENTER_VALID_SERIAL_NUMBER'),isValid:!1}:{errorMessage:'',isValid:!0}:{errorMessage:E.default.t('ENTER_VALID_SERIAL_NUMBER'),isValid:!1}},o.isCreditCardValid=function(){var t=o.state.creditCardInput,l=[];return void 0!==t.status?('incomplete'===t.status.cvc&&l.push(E.default.t('CVC_CARD_ERROR')),'incomplete'===t.status.expiry&&l.push(E.default.t('EXPIRY_CARD_ERROR')),'incomplete'===t.status.number&&l.push(E.default.t('CARD_NUMBER_ERROR'))):l.push(E.default.t('THIS_FIELD_IS_REQUIRED')),l},o.commissionsLoading=function(){return p.default.createElement(b.ProgressDialog,{visible:o.props.loadingGetCommission,title:E.default.t('LOADING'),message:E.default.t('LOADING_INFO')})},o.modalConfirmTransaction=function(t){var l=t.response.commission,n=t.response.montant_calcule;return console.log("DATA SEND TO CONFIRM DIALOG",t),p.default.createElement(I.default.Container,{useNativeDriver:!0,visible:o.state.isModalConfirmVisible},p.default.createElement(I.default.Title,null,E.default.t('CONFIRM_DEPOSIT')),p.default.createElement(C.View,null,p.default.createElement(C.View,{style:[G.blockView,{borderBottomColor:R.Color.borderColor}]},p.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(C.View,{style:{flex:1}},p.default.createElement(C.Text,{style:[N.default.body2]},E.default.t('AMOUNT'))),p.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(C.Text,{style:[S.Typography.caption1,R.Color.grayColor]},o.state.montant))),p.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(C.View,{style:{flex:1}},p.default.createElement(C.Text,{tyle:[S.Typography.body2]},E.default.t('COMMISSION_FEES'))),p.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(C.Text,{style:[S.Typography.caption1,R.Color.grayColor]},l)))),p.default.createElement(C.View,{style:{paddingVertical:10}},p.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(C.View,{style:{flex:1}},p.default.createElement(C.Text,{tyle:[S.Typography.body2]},E.default.t('TOTAL'))),p.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(C.Text,{style:[S.Typography.caption1,R.Color.grayColor]},n))))),p.default.createElement(I.default.Button,{bold:!0,label:E.default.t('CANCEL_LABEL'),onPress:function(){o.setState({isModalConfirmVisible:!1})}}),p.default.createElement(I.default.Button,{bold:!0,label:E.default.t('SUBMIT_LABEL'),onPress:function(){o.setState({isModalConfirmVisible:!1,isDataSubmit:!0}),o.props.walletCommissionAmountReset(),(0,L.default)(o.state.facade,'front')?o.props.depositAction({numCarte:o.state.creditCardInput.values.number.replace(/\s/g,''),cvv:o.state.creditCardInput.values.cvc,expiration_date:o.state.creditCardInput.values.expiry,type:"credit",montant:o.state.montant,id_wallet:o.state.id,facade:o.state.facade}):o.props.depositAction({numCarte:o.state.numeroSerie,type:"credit",montant:o.state.montant,id_wallet:o.state.id,facade:o.state.facade})}}))},o.onSubmitDeposit=function(){var t=o.state.creditCardInput;(0,L.default)(o.state.facade,'back')?o.isMontantValid().isValid&&o.isNumeroSerieValid().isValid&&o.state.montant.length>0&&(o.setState({numCarte:o.state.numeroSerie}),o.props.getWalletCommissionAmount({type:"credit",montant:o.state.montant,id_wallet:o.state.id})):o.isMontantValid().isValid&&t.valid&&o.state.montant.length>0?(o.setState({numCarte:parseInt(t.values.number.replace(/ /g,' ')),cvv:t.values.cvc,expiration_date:t.values.expiry}),o.props.getWalletCommissionAmount({type:"credit",montant:o.state.montant,id_wallet:o.state.id})):t.valid||o.setState({displayCardError:!0}),o.setState({isSubmitClick:!0})},o.renderDialogGetCommissionResponse=function(){var t=o.props.errorGetCommission;null!==t&&void 0!==t.data&&C.Alert.alert(E.default.t("ERROR_LABLE"),t.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1})},o.isHasError=function(){var t=o.props,l=t.error,n=t.result;if(o.state.isDataSubmit)return null!==l?(void 0!==l.data&&(C.Alert.alert(E.default.t("ERROR_LABEL"),l.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1}),o.props.navigation.state.params.onGoBack(),o.props.navigation.pop()),null):null!==n?(setTimeout(function(){o.props.resetWalletListDetailReducer(),o.props.navigation.state.params.onGoBack(),o.props.navigation.pop()},1500),p.default.createElement(C.View,{style:{position:"absolute",zIndex:1,backgroundColor:"#00000050",width:(0,M.responsiveWidth)(100),height:(0,M.responsiveHeight)(100),flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.default,{style:G.lottie,source:r(d[42]),autoPlay:!0,loop:!0}))):null},o.state={type:"credit",montant:'',numeroSerie:'',numCarte:0,cvv:0,expiration_date:'',creditCardInput:{},comptePrincipal:o.props.navigation.state.params.wallet.balance_princ,id:o.props.navigation.state.params.wallet.id,isModalConfirmVisible:!1,isDataSubmit:!1,isSubmitClick:!1,displayCardError:!1,inputCardSource:(0,O.inputCardSource)(),isDisplaySerialTextInput:!0,facade:"back"},o.props.walletCommissionAmountReset(),o.props.depositActionReset(),v.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,c.default)(o))),o}return(0,f.default)(l,t),(0,o.default)(l,[{key:"componentWillReceiveProps",value:function(t){null!=t.resultGetCommission&&void 0!==t.resultGetCommission.response&&(t.loadingGetCommission||this.setState({isModalConfirmVisible:!0}))}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:E.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;console.log("STATE",this.state);var l=this.props.resultGetCommission;return p.default.createElement(C.View,{style:[G.container]},null!==l&&void 0!==l.response&&this.modalConfirmTransaction(l),this.isHasError(),this.commissionsLoading(),this.state.isSubmitClick&&this.renderDialogGetCommissionResponse(),p.default.createElement(C.ScrollView,{style:{padding:20}},p.default.createElement(C.View,{style:{marginTop:20,marginRight:20,marginLeft:20,marginBottom:10}},p.default.createElement(C.Text,{style:{fontWeight:'bold'}},E.default.t('CHANGE_SOURCE_CARD')),p.default.createElement(w.Dropdown,{containerStyle:{marginTop:-20},value:"serial-number",data:this.state.inputCardSource,onChangeText:function(l,n,o){t.setState({isDisplaySerialTextInput:(0,L.default)(l,'serial-number'),facade:(0,L.default)(l,'serial-number')?'back':'front'})},valueExtractor:function(t){return t.value},labelExtractor:function(t){return t.name}})),!this.state.isDisplaySerialTextInput&&p.default.createElement(C.View,{style:{marginTop:10}},p.default.createElement(_.CreditCardInput,{validColor:this.state.creditCardInput.valid?'green':'',invalidColor:this.state.creditCardInput.valid?'':'red',onChange:this.onCreditCardChange,labels:{number:E.default.t('CARD_NUMBER_LABEL'),expiry:E.default.t('CARD_EXPIRY_LABEL'),cvc:E.default.t('CARD_CVC_LABEL')}}),this.state.displayCardError&&this.isCreditCardValid().map(function(t){return p.default.createElement(C.Text,{style:{color:'red',marginLeft:15}},t)})),this.state.isDisplaySerialTextInput&&p.default.createElement(C.View,{style:{marginTop:10,marginRight:20,marginLeft:20}},p.default.createElement(h.default,{borderBottomColor:this.isNumeroSerieValid.isValid?'red':'black',value:this.state.numeroSerie,keyboardType:"numeric",label:E.default.t('NUMERO_DE_SERIE'),style:{marginTop:10},placeholder:E.default.t('NUMERO_DE_SERIE_DESCRIPTION'),onChangeText:function(l){t.setState({numeroSerie:l}),t.isNumeroSerieValid()}}),!this.isNumeroSerieValid().isValid&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},this.isNumeroSerieValid().errorMessage),this.state.isSubmitClick&&0===this.state.numeroSerie.length&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},E.default.t('ENTER_VALID_SERIAL_NUMBER')),p.default.createElement(C.Text,null)),p.default.createElement(C.View,{style:{marginTop:10,marginRight:20,marginLeft:20,marginBottom:10}},p.default.createElement(h.default,{borderBottomColor:this.isMontantValid.isValid?'red':'black',value:this.state.montant,keyboardType:"numeric",label:E.default.t('AMOUNT_LABEL'),style:{marginTop:10},placeholder:E.default.t('AMOUNT_LABEL_DESCRIPTION'),onChangeText:function(l){t.setState({montant:l}),t.isMontantValid()}}),!this.isMontantValid().isValid&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},this.isMontantValid().errorMessage),this.state.isSubmitClick&&0===this.state.montant.length&&p.default.createElement(C.Text,{style:{color:'red',marginTop:2}},E.default.t('PLEASE_ENTER_THE_AMOUNT')),p.default.createElement(C.Text,null)),p.default.createElement(C.View,{style:{margin:10}},p.default.createElement(T.default,{loading:this.props.loading,outline:!0,onPress:function(){return t.onSubmitDeposit()}},E.default.t('VALIDATE')))))}}]),l})(p.Component));B.navigatorStyle={navBarBackgroundColor:R.Color.accentLightColor,statusBarColor:R.Color.accentColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},B.navigationOptions=function(t){t.navigation;return{drawerLabel:function(){return null},title:E.default.t('MAKE_DEPOSIT'),headerStyle:{backgroundColor:R.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"}}};var k=(0,x.connect)(function(t){return{loading:t.depositReducer.loading,result:t.depositReducer.result,error:t.depositReducer.error,loadingGetCommission:t.walletGetCommission.loadingGetCommission,resultGetCommission:t.walletGetCommission.resultGetCommission,errorGetCommission:t.walletGetCommission.errorGetCommission}},function(t){return(0,D.bindActionCreators)({depositAction:V.depositAction,getWalletCommissionAmount:A.getWalletCommissionAmount,walletCommissionAmountReset:A.walletCommissionAmountReset,resetWalletListDetailReducer:A.resetWalletListDetailReducer,depositActionReset:V.depositActionReset},t)})(B);e.default=k;var G=C.StyleSheet.create({container:{flex:1,backgroundColor:R.Color.containerBackgroundColor},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:15,marginTop:10},contentButtonBottom:{borderTopWidth:1,paddingVertical:10,paddingHorizontal:20,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},blockView:{paddingVertical:10,borderBottomWidth:1},lottie:{width:248,height:248}})},1644,[4,1,8,9,10,12,11,13,15,18,869,712,832,1008,871,1630,1633,1645,1020,1604,766,1646,1009,1635,1541,1588,1377,967,681,1145,1146,1147,1148,1149,1150,1151,1508,1476,1711,527,1607,1137,1712]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var o=t(r(d[1])),l=r(d[2]),n=t(r(d[3])),u=r(d[4]);r(d[5]);function c(t){u.Color.cardBackgroundColor,t.style;var n=t.onChangeText,c=t.onFocus,f=t.placeholder,s=t.value,y=t.success,p=t.secureTextEntry,b=t.keyboardType,C=t.textAlignVertical,T=t.label,h=t.onSubmitEditing,x=t.borderBottomColor;return o.default.createElement(l.TouchableOpacity,{activeOpacity:.99},o.default.createElement(l.View,{style:{borderBottomWidth:1,borderBottomColor:x}},!!T&&o.default.createElement(l.Text,{style:{fontWeight:'bold'}},T),o.default.createElement(l.TextInput,{keyboardType:b,autoCapitalise:"words",autoCorrect:!1,style:{height:40,color:"black",fontFamily:'Raleway',flex:1,height:'100%',color:u.Color.textColor,paddingTop:5,paddingBottom:5},underlineColorAndroid:"transparent",placeholderTextColor:y?u.Color.grayColor:u.Color.primaryColor,placeholder:f,secureTextEntry:p,value:s,onChangeText:function(t){return n(t)},onFocus:function(){return c()},textAlignVertical:C,onSubmitEditing:h})))}c.propTypes={style:n.default.oneOfType([n.default.object,n.default.array]),onChangeText:n.default.func,onFocus:n.default.func,placeholder:n.default.string,value:n.default.string,success:n.default.bool,label:n.default.string,secureTextEntry:n.default.bool,keyboardType:n.default.string,textAlignVertical:n.default.string,icon:n.default.node,onSubmitEditing:n.default.func},c.defaultProps={style:{},onChangeText:function(t){},onFocus:function(){},placeholder:'Placeholder',value:'',label:'',borderBottomColor:"black",success:!0,secureTextEntry:!1,keyboardType:'default',textAlignVertical:'center',icon:null,onSubmitEditing:function(){}}},1645,[1,15,18,68,1020,1009]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})},1646,[1647]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.CardView=e.LiteCreditCardInput=e.CreditCardInput=void 0;var u=t(r(d[1])),C=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),n=(0,u.default)(C.default);e.CreditCardInput=n;var v=(0,u.default)(f.default);e.LiteCreditCardInput=v;var p=l.default;e.CardView=p},1647,[1,1648,1692,1710,1693]);
+__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=function(t){var o=(function(o){function b(){var t;return(0,s.default)(this,b),(t=(0,c.default)(this,(0,f.default)(b).call(this))).componentDidMount=function(){return setTimeout(function(){t.props.autoFocus&&t.focus("number")})},t.setValues=function(o){var u=O({},t.state.values,{},o),n=t._displayedFields(),s=new h.default(n).formatValues(u),l=new C.default(n,t.props.validatePostalCode).validateValues(s),c=O({values:s},l);t.setState(c),t.props.onChange(c)},t.focus=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"number";t.setState({focused:o})},t._displayedFields=function(){var o=t.props,u=o.requiresName,n=o.requiresCVC,s=o.requiresPostalCode;return(0,y.default)(["number","expiry",n?"cvc":null,u?"name":null,s?"postalCode":null])},t._focusPreviousField=function(o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n-1];s&&t.focus(s)},t._focusNextField=function(o){if("name"!==o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n+1];s&&t.focus(s)}},t._change=function(o,u){t.setValues((0,n.default)({},o,u))},t._onFocus=function(o){t.focus(o),t.props.onFocus(o)},t.state={focused:"",values:{},status:{}},t}return(0,p.default)(b,o),(0,l.default)(b,[{key:"render",value:function(){return v.default.createElement(t,(0,u.default)({},this.props,this.state,{onFocus:this._onFocus,onChange:this._change,onBecomeEmpty:this._focusPreviousField,onBecomeValid:this._focusNextField}))}}]),b})(v.Component);return o.propTypes={autoFocus:b.default.bool,onChange:b.default.func.isRequired,onFocus:b.default.func,requiresName:b.default.bool,requiresCVC:b.default.bool,requiresPostalCode:b.default.bool,validatePostalCode:b.default.func},o.defaultProps={autoFocus:!1,onChange:function(){},onFocus:function(){},requiresName:!1,requiresCVC:!0,requiresPostalCode:!1,validatePostalCode:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.match(/^\d{6}$/)?"valid":t.length>6?"invalid":"incomplete"}},o},e.InjectedProps=void 0;var u=o(r(d[2])),n=o(r(d[3])),s=o(r(d[4])),l=o(r(d[5])),c=o(r(d[6])),f=o(r(d[7])),p=o(r(d[8])),v=t(r(d[9])),b=o(r(d[10])),h=o(r(d[11])),C=o(r(d[12])),y=o(r(d[13]));function P(t,o){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),u.push.apply(u,n)}return u}function O(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return t.substr(0,n)},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,o=[0].concat(n).concat([t.length]);return o.map(function(n,u){if(0===u)return"";var s=o[u-1];return t.substr(s,n-s)}).filter(function(t){return""!==t}).join(" ")},v={gaps:[4,8,12],lengths:[16],code:{size:3}};e.default=function t(h){var p=this;(0,o.default)(this,t),this.formatValues=function(t){var n=u.default.number(t.number).card||v;return(0,l.default)({type:n.type,number:p._formatNumber(t.number,n),expiry:p._formatExpiry(t.expiry),cvc:p._formatCVC(t.cvc,n),name:(0,s.removeLeadingSpaces)(t.name),postalCode:(0,s.removeNonNumber)(t.postalCode)},p._displayedFields)},this._formatNumber=function(t,n){var o=(0,s.removeNonNumber)(t),u=n.lengths[n.lengths.length-1],l=c(o,u);return f(l,n.gaps)},this._formatExpiry=function(t){var n=c((0,s.removeNonNumber)(t),4);return n.match(/^[2-9]$/)?"0"+n:n.length>2?n.substr(0,2)+"/"+n.substr(2,n.length):n},this._formatCVC=function(t,n){var o=n.code.size;return c((0,s.removeNonNumber)(t),o)},this._displayedFields=[].concat((0,n.default)(h),["type"])}},1649,[1,33,8,1650,1686,1687]);
+__d(function(g,r,i,a,m,e,d){'use strict';m.exports={number:r(d[0]),expirationDate:r(d[1]),expirationMonth:r(d[2]),expirationYear:r(d[3]),cvv:r(d[4]),postalCode:r(d[5])}},1650,[1651,1680,1683,1682,1684,1685]);
+__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),l=r(d[2]),u=r(d[3]),h=r(d[4]);function s(n,l,u){return t({},{card:n,isPotentiallyValid:l,isValid:u})}m.exports=function(t){var f,o,c,p,y;if(h(t)&&(t=String(t)),!n(t))return s(null,!1,!1);if(t=t.replace(/\-|\s/g,''),!/^\d*$/.test(t))return s(null,!1,!1);if(0===(f=u(t)).length)return s(null,!1,!1);if(1!==f.length)return s(null,!0,!1);for(c='unionpay'===(o=f[0]).type||l(t),y=Math.max.apply(null,o.lengths),p=0;p-1&&t%1==0&&t<=n}},1664,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]),p=r(d[3]),c=r(d[4]),h=Object.prototype.hasOwnProperty;m.exports=function(l){for(var u=c(l),f=u.length,s=f&&l.length,v=!!s&&p(s)&&(n(l)||t(l)),y=-1,O=[];++y-1&&u%1==0&&u0;++y2?u[c-2]:void 0,p=c>2?u[2]:void 0,y=c>1?u[c-1]:void 0;for('function'==typeof l?(l=n(l,y,5),c-=2):c-=(l='function'==typeof y?y:void 0)?1:0,p&&o(u[0],u[1],p)&&(l=c<3?void 0:l,c=1);++v=0;)n=parseInt(t.charAt(s),10),o&&(n*=2)>9&&(n=n%10+1),o=!o,c+=n,s--;return c%10==0}},1677,[]);
+__d(function(g,r,i,a,m,e,d){'use strict';var t={},n=["visa","master-card","american-express","diners-club","discover","jcb","unionpay","maestro"];function s(t){var n,s,c;return t?(n=t.prefixPattern.source,s=t.exactPattern.source,(c=JSON.parse(JSON.stringify(t))).prefixPattern=n,c.exactPattern=s,c):null}function c(c){var p,o,x,y=[],P=[];if(!('string'==typeof c||c instanceof String))return[];for(x=0;x5?2:1,'1'===n[0]&&(u=n.substr(1),t(u).isPotentiallyValid||(o=2)),{month:l=n.substr(0,o),year:n.substr(l.length)})}},1681,[1682,1667]);
+__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=19;function s(t,n,s){return{isValid:t,isPotentiallyValid:n,isCurrentYear:s||!1}}m.exports=function(l){var u,c,o,f,p;return t(l)?''===l.replace(/\s/g,'')?s(!1,!0):/^\d*$/.test(l)?(c=l.length)<2?s(!1,!0):(u=(new Date).getFullYear(),3===c?s(!1,l.slice(0,2)===String(u).slice(0,2)):c>4?s(!1,!1):(l=parseInt(l,10),o=Number(String(u).substr(2,2)),2===c?(p=o===l,f=l>=o&&l<=o+n):4===c&&(p=u===l,f=l>=u&&l<=u+n),s(f,f,p))):s(!1,!1):s(!1,!1)}},1682,[1652]);
+__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function n(t,n,s){return{isValid:t,isPotentiallyValid:n,isValidForThisYear:s||!1}}m.exports=function(s){var o,l,u=(new Date).getMonth()+1;return t(s)?''===s.replace(/\s/g,'')||'0'===s?n(!1,!0):/^\d*$/.test(s)?(o=parseInt(s,10),isNaN(s)?n(!1,!1):n(l=o>0&&o<13,l,l&&o>=u)):n(!1,!1):n(!1,!1)}},1683,[1652]);
+__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=3;function l(n,t){for(var l=0;ll?n[u]:l;return l}function o(n,t){return{isValid:n,isPotentiallyValid:t}}m.exports=function(f,c){return c=(c=c||t)instanceof Array?c:[c],n(f)&&/^\d*$/.test(f)?l(c,f.length)?o(!0,!0):f.lengthu(c)?o(!1,!1):o(!0,!0):o(!1,!1)}},1684,[1652]);
+__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=3;function u(t,n){return{isValid:t,isPotentiallyValid:n}}m.exports=function(l){return t(l)?l.length0&&void 0!==arguments[0]?arguments[0]:"").replace(/[^\d]/g,"")};e.removeLeadingSpaces=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/^\s+/g,"")}},1686,[]);
+__d(function(g,r,i,a,m,e,d){var t=9007199254740991,n='[object Arguments]',o='[object Function]',c='[object GeneratorFunction]',u='[object Symbol]',l='object'==typeof g&&g&&g.Object===Object&&g,f='object'==typeof self&&self&&self.Object===Object&&self,b=l||f||Function('return this')();function s(t,n,o){switch(o.length){case 0:return t.call(n);case 1:return t.call(n,o[0]);case 2:return t.call(n,o[0],o[1]);case 3:return t.call(n,o[0],o[1],o[2])}return t.apply(n,o)}function y(t,n){for(var o=-1,c=t?t.length:0,u=Array(c);++o0&&o(b)?n>1?w(b,n-1,o,c,u):p(u,b):c||(u[u.length]=b)}return u}function x(t,n){return C(t=Object(t),n,function(n,o){return o in t})}function C(t,n,o){for(var c=-1,u=n.length,l={};++c-1&&n%1==0&&n<=t}function z(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function B(t){return!!t&&'object'==typeof t}function D(t){return'symbol'==typeof t||B(t)&&j.call(t)==u}var H,J,K=(H=function(t,n){return null==t?{}:x(t,y(w(n,1),E))},J=F(void 0===J?H.length-1:J,0),function(){for(var t=arguments,n=-1,o=F(t.length-J,0),c=Array(o);++n-1&&t%1==0&&t-1&&t%1==0&&t<=n}function I(n){var t=typeof n;return!!n&&('object'==t||'function'==t)}function P(n){return!!n&&'object'==typeof n}function $(n){return w(n)?O(n):F(n)}m.exports=function(n){return n?p(n,$(n)):[]}},1689,[]);
+__d(function(g,r,i,a,m,e,d){var t='Expected a function',n='__lodash_hash_undefined__',o=1,u=2,c=9007199254740991,f='[object Arguments]',l='[object Array]',s='[object Boolean]',p='[object Date]',_='[object Error]',v='[object Function]',h='[object GeneratorFunction]',y='[object Map]',b='[object Number]',j='[object Object]',w='[object RegExp]',O='[object Set]',A='[object String]',k='[object Symbol]',S='[object ArrayBuffer]',$='[object DataView]',E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/,F=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,I=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,U={};U['[object Float32Array]']=U['[object Float64Array]']=U['[object Int8Array]']=U['[object Int16Array]']=U['[object Int32Array]']=U['[object Uint8Array]']=U['[object Uint8ClampedArray]']=U['[object Uint16Array]']=U['[object Uint32Array]']=!0,U[f]=U[l]=U[S]=U[s]=U[$]=U[p]=U[_]=U[v]=U[y]=U[b]=U[j]=U[w]=U[O]=U[A]=U["[object WeakMap]"]=!1;var z='object'==typeof g&&g&&g.Object===Object&&g,C='object'==typeof self&&self&&self.Object===Object&&self,L=z||C||Function('return this')(),W='object'==typeof e&&e&&!e.nodeType&&e,B=W&&'object'==typeof m&&m&&!m.nodeType&&m,D=B&&B.exports===W&&z.process,R=(function(){try{return D&&D.binding('util')}catch(t){}})(),V=R&&R.isTypedArray;function G(t,n){for(var o=-1,u=t?t.length:0;++o-1},xt.prototype.set=function(t,n){var o=this.__data__,u=Tt(o,t);return u<0?o.push([t,n]):o[u][1]=n,this},Ft.prototype.clear=function(){this.__data__={hash:new Et,map:new(ht||xt),string:new Et}},Ft.prototype.delete=function(t){return tr(this,t).delete(t)},Ft.prototype.get=function(t){return tr(this,t).get(t)},Ft.prototype.has=function(t){return tr(this,t).has(t)},Ft.prototype.set=function(t,n){return tr(this,t).set(t,n),this},Mt.prototype.add=Mt.prototype.push=function(t){return this.__data__.set(t,n),this},Mt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.clear=function(){this.__data__=new xt},Pt.prototype.delete=function(t){return this.__data__.delete(t)},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,n){var o=this.__data__;if(o instanceof xt){var u=o.__data__;if(!ht||u.length<199)return u.push([t,n]),this;o=this.__data__=new Ft(u)}return o.set(t,n),this};var Ut,zt,Ct=(Ut=function(t,n){return t&&Wt(t,n,$r)},function(t,n){if(null==t)return t;if(!br(t))return Ut(t,n);for(var o=t.length,u=zt?o:-1,c=Object(t);(zt?u--:++u_))return!1;var h=s.get(t);if(h&&s.get(n))return h==n;var y=-1,b=!0,j=l&o?new Mt:void 0;for(s.set(t,n),s.set(n,t);++y<_;){var w=t[y],O=n[y];if(f)var A=p?f(O,w,y,n,t,s):f(w,O,y,t,n,s);if(void 0!==A){if(A)continue;b=!1;break}if(j){if(!N(n,function(t,n){if(!j.has(n)&&(w===t||c(w,t,f,l,s)))return j.add(n)})){b=!1;break}}else if(w!==O&&!c(w,O,f,l,s)){b=!1;break}}return s.delete(t),s.delete(n),b}function Yt(t,n,c,f,l,v,h){switch(c){case $:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case S:return!(t.byteLength!=n.byteLength||!f(new lt(t),new lt(n)));case s:case p:case b:return vr(+t,+n);case _:return t.name==n.name&&t.message==n.message;case w:case A:return t==n+'';case y:var j=K;case O:var E=v&u;if(j||(j=Q),t.size!=n.size&&!E)return!1;var x=h.get(t);if(x)return x==n;v|=o,h.set(t,n);var F=Xt(j(t),j(n),f,l,v,h);return h.delete(t),F;case k:if(St)return St.call(t)==St.call(n)}return!1}function Zt(t,n,o,c,f,l){var s=f&u,p=$r(t),_=p.length;if(_!=$r(n).length&&!s)return!1;for(var v=_;v--;){var h=p[v];if(!(s?h in n:it.call(n,h)))return!1}var y=l.get(t);if(y&&l.get(n))return y==n;var b=!0;l.set(t,n),l.set(n,t);for(var j=s;++v<_;){var w=t[h=p[v]],O=n[h];if(c)var A=s?c(O,w,h,n,t,l):c(w,O,h,t,n,l);if(!(void 0===A?w===O||o(w,O,c,f,l):A)){b=!1;break}j||(j='constructor'==h)}if(b&&!j){var k=t.constructor,S=n.constructor;k!=S&&'constructor'in t&&'constructor'in n&&!('function'==typeof k&&k instanceof k&&'function'==typeof S&&S instanceof S)&&(b=!1)}return l.delete(t),l.delete(n),b}function tr(t,n){var o,u,c=t.__data__;return('string'==(u=typeof(o=n))||'number'==u||'symbol'==u||'boolean'==u?'__proto__'!==o:null===o)?c['string'==typeof n?'string':'hash']:c.map}function rr(t){for(var n=$r(t),o=n.length;o--;){var u=n[o],c=t[u];n[o]=[u,c,cr(c)]}return n}function nr(t,n){var o=H(t,n);return Nt(o)?o:void 0}var er=function(t){return at.call(t)};function or(t,n,o){for(var u,c=-1,f=(n=ar(n,t)?[n]:Qt(n)).length;++c-1&&t%1==0&&t-1&&t%1==0&&t<=c}function wr(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function mr(t){return!!t&&'object'==typeof t}function Or(t){return'symbol'==typeof t||mr(t)&&at.call(t)==k}var Ar=V?(function(t){return function(n){return t(n)}})(V):function(t){return mr(t)&&jr(t.length)&&!!U[at.call(t)]};function kr(t,n,o){var u=null==t?void 0:Bt(t,n);return void 0===u?o:u}function Sr(t,n){return null!=t&&or(t,n,Dt)}function $r(t){return br(t)?It(t):qt(t)}function Er(t){return t}m.exports=function(t,n,o){var u,c,f,l,s,p=yr(t)?G:Lt;return o&&ir(t,n,o)&&(n=void 0),p(t,'function'==typeof(f=n)?f:null==f?Er:'object'==typeof f?yr(f)?Ht(f[0],f[1]):1==(c=rr(u=f)).length&&c[0][2]?fr(c[0][0],c[0][1]):function(t){return t===u||Gt(t,u,c)}:ar(s=f)?(l=sr(s),function(t){return null==t?void 0:t[l]}):Jt(s))}},1690,[]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n){for(var t=-1,o=n?n.length:0,f=0,u=[];++t0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],flipHorizontal:this.props.flipHorizontal,flipVertical:this.props.flipVertical,perspective:this.props.perspective,onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.back,{width:o,height:n});t.setState({back:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[1]):f.default.createElement(w,{style:[this.state.height>0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.face,{width:o,height:n});t.setState({face:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[0]),this.props.clickable){var n=0;return((this.props.alignHeight||this.props.alignWidth)&&this.state.mesured||!this.props.alignHeight&&!this.props.alignWidth)&&(n=1),f.default.createElement(v.TouchableOpacity,{style:{flex:1},testID:this.props.testID,activeOpacity:1,onPress:function(){t._toggleCard()}},f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p,opacity:n},this.props.style]}),o))}return f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p},this.props.style]}),o)}}]),s})(f.Component);e.default=b,b.propTypes={style:v.ViewPropTypes.style},b.propTypes={flip:c.default.bool,friction:c.default.number,perspective:c.default.number,flipHorizontal:c.default.bool,flipVertical:c.default.bool,clickable:c.default.bool,onFlipEnd:c.default.func,onFlipStart:c.default.func,alignHeight:c.default.bool,alignWidth:c.default.bool,useNativeDriver:c.default.bool,children:function(t,s,l){var p=t[s];if(2!==f.default.Children.count(p))return new Error('`'+l+"` should contain exactly two children. The first child represents the front of the card. The second child represents the back of the card.")}},b.defaultProps={flip:!1,friction:6,perspective:1e3,flipHorizontal:!1,flipVertical:!0,clickable:!0,onFlipEnd:function(){},onFlipStart:function(){},alignHeight:!1,alignWidth:!1,useNativeDriver:!0};var w=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){return f.default.createElement(v.View,{style:[y.default.face,this.props.style],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Face=w,w.propTypes={children:function(t,s,l){}};var k=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){var t=[];return this.props.flipHorizontal&&(t.push({scaleX:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),this.props.flipVertical&&(t.push({scaleY:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),f.default.createElement(v.View,{style:[y.default.back,this.props.style,{transform:t}],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Back=k,k.defaultProps={flipHorizontal:!1,flipVertical:!0,perspective:1e3},k.propTypes={flipHorizontal:c.default.bool,flipVertical:c.default.bool,perspective:c.default.number,children:function(t,s,l){}}},1705,[4,1,6,8,9,10,12,13,15,68,18,1706]);
+__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({flipCard:{flex:1},face:{flex:1},back:{flex:1}});e.default=t},1706,[18]);
+__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"51f117706ff4cfc614abbc45a67afc4f",name:"card-front",type:"png"})},1707,[175]);
+__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"45c1d3c823f2e173bcd56271ce49848e",name:"card-back",type:"png"})},1708,[175]);
+__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])),u=l(r(d[4])),p=l(r(d[5])),s=l(r(d[6])),c=l(r(d[7])),f=t(r(d[8])),y=l(r(d[9])),v=r(d[10]),h=v.StyleSheet.create({baseInputStyle:{color:"black"}}),C=(function(t){function l(){var t,o;(0,n.default)(this,l);for(var u=arguments.length,c=new Array(u),f=0;f\/?~]/.test(t)},n.isMontantValid=function(){var t=n.state.montant;return 0==parseInt(t)||t<0?{errorMessage:E.default.t('ENTER_AMOUNT_SUPERIOR_ZEROR'),isValid:!1}:n.isNormalInteger(t)?{errorMessage:'',isValid:!0}:{errorMessage:E.default.t('ENTER_VALID_AMOUNT'),isValid:!1}},n.isCreditCardValid=function(){var t=n.state.creditCardInput,o=[];return void 0!==t.status?('incomplete'===t.status.cvc&&o.push(E.default.t('CVC_CARD_ERROR')),'incomplete'===t.status.expiry&&o.push(E.default.t('EXPIRY_CARD_ERROR')),'incomplete'===t.status.number&&o.push(E.default.t('CARD_NUMBER_ERROR'))):o.push(E.default.t('THIS_FIELD_IS_REQUIRED')),o},n.commissionsLoading=function(){return f.default.createElement(I.ProgressDialog,{visible:n.props.loadingGetCommission,title:E.default.t('LOADING'),message:E.default.t('LOADING_INFO')})},n.modalConfirmTransaction=function(t){var o=t.response.commission,l=t.response.montant_calcule;return console.log("DATA SEND TO CONFIRM DIALOG",t),f.default.createElement(_.default.Container,{useNativeDriver:!0,visible:n.state.isModalConfirmVisible},f.default.createElement(_.default.Title,null,E.default.t('CONFIRM_WITHDRAWAL')),f.default.createElement(C.View,null,f.default.createElement(C.View,{style:[O.blockView,{borderBottomColor:b.Color.borderColor}]},f.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},f.default.createElement(C.View,{style:{flex:1}},f.default.createElement(C.Text,{style:[D.default.body2]},E.default.t('AMOUNT'))),f.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},f.default.createElement(C.Text,{style:[R.Typography.caption1,b.Color.grayColor]},n.state.montant))),f.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},f.default.createElement(C.View,{style:{flex:1}},f.default.createElement(C.Text,{tyle:[R.Typography.body2]},E.default.t('COMMISSION_FEES'))),f.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},f.default.createElement(C.Text,{style:[R.Typography.caption1,b.Color.grayColor]},o)))),f.default.createElement(C.View,{style:{paddingVertical:10}},f.default.createElement(C.View,{style:{flexDirection:'row',marginTop:10}},f.default.createElement(C.View,{style:{flex:1}},f.default.createElement(C.Text,{tyle:[R.Typography.body2]},E.default.t('TOTAL'))),f.default.createElement(C.View,{style:{flex:1,alignItems:'flex-end'}},f.default.createElement(C.Text,{style:[R.Typography.caption1,b.Color.grayColor]},l))))),f.default.createElement(_.default.Button,{bold:!0,label:E.default.t('CANCEL_LABEL'),onPress:function(){n.setState({isModalConfirmVisible:!1})}}),f.default.createElement(_.default.Button,{bold:!0,label:E.default.t('SUBMIT_LABEL'),onPress:function(){n.setState({isModalConfirmVisible:!1,isDataSubmit:!0}),n.props.walletCommissionAmountReset(),n.props.depositAction({numCarte:n.state.creditCardInput.values.number.replace(/\s/g,''),cvv:n.state.creditCardInput.values.cvc,expiration_date:n.state.creditCardInput.values.expiry,type:"debit",montant:n.state.montant,id_wallet:n.state.id})}}))},n.onSubmitDeposit=function(){var t=n.state.creditCardInput;n.isMontantValid().isValid&&t.valid&&n.state.montant.length>0?(console.log("Is Montant Valid",n.isMontantValid.isValid),console.log("creditCardInput Valid",t.valid),n.setState({numCarte:parseInt(t.values.number.replace(/ /g,' ')),cvv:t.values.cvc,expiration_date:t.values.expiry}),n.props.getWalletCommissionAmount({type:"debit",montant:n.state.montant,id_wallet:n.state.id})):t.valid||n.setState({displayCardError:!0}),n.setState({isSubmitClick:!0})},n.renderDialogGetCommissionResponse=function(){var t=n.props.errorGetCommission;null!==t&&void 0!==t.data&&C.Alert.alert(E.default.t("ERROR_LABLE"),t.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1})},n.isHasError=function(){var t=n.props,o=t.error,l=t.result;if(n.state.isDataSubmit)return null!==o?(void 0!==o.data&&(C.Alert.alert(E.default.t("ERROR_LABEL"),o.data.error,[{text:E.default.t("OK"),onPress:function(){}}],{cancelable:!1}),n.props.navigation.state.params.onGoBack(),n.props.navigation.pop()),null):null!==l?(setTimeout(function(){n.props.navigation.state.params.onGoBack(),n.props.navigation.pop()},1500),f.default.createElement(C.View,{style:{position:"absolute",zIndex:1,backgroundColor:"#00000050",width:(0,S.responsiveWidth)(100),height:(0,S.responsiveHeight)(100),flex:1,justifyContent:'center',alignItems:'center'}},f.default.createElement(y.default,{style:O.lottie,source:r(d[39]),autoPlay:!0,loop:!0}))):null},n.state={type:"debit",montant:'',numCarte:0,cvv:0,expiration_date:'',creditCardInput:{},comptePrincipal:n.props.navigation.state.params.wallet.balance_princ,id:n.props.navigation.state.params.wallet.id,isModalConfirmVisible:!1,isDataSubmit:!1,isSubmitClick:!1,displayCardError:!1},n.props.walletCommissionAmountReset(),n.props.depositActionReset(),console.log("Wallet Params",n.props.navigation.state.params.wallet),A.IlinkEmitter.on("langueChange",n.updateLangue.bind((0,c.default)(n))),n}return(0,p.default)(o,t),(0,n.default)(o,[{key:"componentWillReceiveProps",value:function(t){null!=t.resultGetCommission&&void 0!==t.resultGetCommission.response&&(t.loadingGetCommission||this.setState({isModalConfirmVisible:!0}))}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:E.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;console.log("STATE",this.state);var o=this.props,l=(o.error,o.resultGetCommission);return f.default.createElement(C.View,{style:[O.container]},null!==l&&void 0!==l.response&&this.modalConfirmTransaction(l),this.isHasError(),this.commissionsLoading(),this.state.isSubmitClick&&this.renderDialogGetCommissionResponse(),f.default.createElement(C.ScrollView,{style:{padding:20}},f.default.createElement(C.View,{style:{marginTop:10}},f.default.createElement(T.CreditCardInput,{validColor:this.state.creditCardInput.valid?'green':'',invalidColor:this.state.creditCardInput.valid?'':'red',onChange:this.onCreditCardChange,labels:{number:E.default.t('CARD_NUMBER_LABEL'),expiry:E.default.t('CARD_EXPIRY_LABEL'),cvc:E.default.t('CARD_CVC_LABEL')}}),this.state.displayCardError&&this.isCreditCardValid().map(function(t){return f.default.createElement(C.Text,{style:{color:'red',marginLeft:15}},t)})),f.default.createElement(C.View,{style:{margin:20}},f.default.createElement(h.default,{borderBottomColor:this.isMontantValid.isValid?'red':'black',value:this.state.montant,keyboardType:"numeric",label:E.default.t('AMOUNT_LABEL'),style:{marginTop:10},placeholder:E.default.t('AMOUNT_LABEL'),onChangeText:function(o){t.setState({montant:o}),t.isMontantValid()}}),!this.isMontantValid().isValid&&f.default.createElement(C.Text,{style:{color:'red',marginTop:2}},this.isMontantValid().errorMessage),this.state.isSubmitClick&&0===this.state.montant.length&&f.default.createElement(C.Text,{style:{color:'red',marginTop:2}},E.default.t('PLEASE_ENTER_THE_AMOUNT')),f.default.createElement(C.Text,null)),f.default.createElement(C.View,{style:{margin:10}},f.default.createElement(v.default,{loading:this.props.loading,outline:!0,onPress:function(){return t.onSubmitDeposit()}},E.default.t('VALIDATE')))))}}]),o})(f.Component));M.navigatorStyle={navBarBackgroundColor:b.Color.accentLightColor,statusBarColor:b.Color.accentColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},M.navigationOptions=function(t){t.navigation;return{drawerLabel:function(){return null},title:E.default.t('MAKE_WITHDRAWAL'),headerStyle:{backgroundColor:b.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"}}};var B=(0,L.connect)(function(t){return{loading:t.depositReducer.loading,result:t.depositReducer.result,error:t.depositReducer.error,loadingGetCommission:t.walletGetCommission.loadingGetCommission,resultGetCommission:t.walletGetCommission.resultGetCommission,errorGetCommission:t.walletGetCommission.errorGetCommission}},function(t){return(0,x.bindActionCreators)({depositAction:V.depositAction,getWalletCommissionAmount:w.getWalletCommissionAmount,walletCommissionAmountReset:w.walletCommissionAmountReset,resetWalletListDetailReducer:w.resetWalletListDetailReducer,depositActionReset:V.depositActionReset},t)})(M);e.default=B;var O=C.StyleSheet.create({container:{flex:1,backgroundColor:b.Color.containerBackgroundColor},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:15,marginTop:10},contentButtonBottom:{borderTopWidth:1,paddingVertical:10,paddingHorizontal:20,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},blockView:{paddingVertical:10,borderBottomWidth:1},lottie:{width:248,height:248}})},1713,[4,1,8,9,10,12,11,13,15,18,869,712,832,1008,871,1630,1633,1645,1020,1604,766,1646,1009,1635,1541,1588,1377,1145,1146,1147,1148,1149,1150,1151,1508,1476,1711,527,1137,1712]);
+__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])),s=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),h=t(r(d[9])),I=r(d[10]),N=(n(r(d[11])),n(r(d[12]))),E=(n(r(d[13])),n(r(d[14])),r(d[15])),y=r(d[16]),S=t(r(d[17])),v=n(r(d[18])),b=n(r(d[19])),C=n(r(d[20])),D=n(r(d[21])),P=r(d[22]),k=n(r(d[23])),A=r(d[24]),w=r(d[25]),T=r(d[26]),x=r(d[27]),O=r(d[28]),R=n(r(d[29])),F=r(d[30]),_=r(d[31]),L=r(d[32]),Y=r(d[33]),M=(r(d[34]),r(d[35]),r(d[36])),V=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,c.default)(this,(0,f.default)(n).call(this,t))).onChangeDateNaissance=function(t,n){var s=(0,D.default)(o.state.dateNaissance)?new Date:o.state.dateNaissance,l=n||s;o.setState({showPickerDateNaissance:'ios'===I.Platform.OS||!1,dateNaissance:l})},o.onChangeDateExpiration=function(t,n){var s=(0,D.default)(o.state.dateExpiration)?new Date:o.state.dateExpiration,l=n||s;o.setState({showPickerDateExpiration:'ios'===I.Platform.OS||!1,dateExpiration:l})},o.onSubmitNextStep=function(){var t=o.state.numeroTelephone;o.props.getNumberResetAction(),o.ckeckIfFieldIsOK(t)?o.numeroTelephoneAnim.shake(800):(o.props.getNumberDetailAction(t),o.setState({triggerNextClick:!0}))},o.onSubmitPrevious=function(){o.setState({displayFirstStep:!o.state.displayFirstStep,displaySecondStep:!o.state.displaySecondStep})},o.onSubmitIdentityClient=function(){var t=o.state,n=t.lastname,s=(t.numeroTelephone,t.numeroIdentite),l=t.dateNaissance,u=t.dateExpiration,c=t.country,f=t.townName,p=t.identityPiecesName;o.ckeckIfFieldIsOK(n)?o.lastnameAnim.shake(800):o.ckeckIfFieldIsOK(l)?o.datenaissanceAnim.shake(800):o.ckeckIfFieldIsOK(c)?o.countryAnim.shake(800):o.ckeckIfFieldIsOK(f)?o.townAnim.shake(800):o.ckeckIfFieldIsOK(p)?o.identityPiecesAnim.shake(800):o.ckeckIfFieldIsOK(s)?o.numeroIdentiteAnim.shake(800):o.ckeckIfFieldIsOK(u)?o.identityDateExpiryAnim.shake(800):(M(l).format('DD-MM-YYYY'),o.props.createIndentificationAction({lastname:o.state.lastname,firstname:"",birth_date:M(o.state.dateNaissance).format('DD-MM-YYYY'),town:o.state.townName,country:o.state.country,identity_document:o.state.identityPiecesName,id_identity_document:o.state.numeroIdentite,expiry_date_document:M(o.state.dateExpiration).format('DD-MM-YYYY'),phone_number:o.state.numeroTelephone,id_user:o.state.userId})),o.setState({triggerSubmitClick:!0})},o.renderGetNumberResponse=function(){var t=o.props,n=t.resultNumberDetail,s=t.errorNumberDetail;console.log("PROPS",o.props),null!==n&&200===n.status&&(o.setState({lastname:n.response.lastname,userId:n.response.id,displayFirstStep:!o.state.displayFirstStep,displaySecondStep:!o.state.displaySecondStep}),o.props.getNumberResetAction()),null!==s&&(void 0!==s.data?I.Alert.alert(b.default.t('ERROR_IDENTIFICATION'),s.data.error,[{text:b.default.t("OK"),onPress:function(){o.props.createIndentificationResetAction(),o.setState({triggerNextClick:!1})}}],{cancelable:!1}):I.Alert.alert(b.default.t('ERROR_IDENTIFICATION'),JSON.stringify(s),[{text:b.default.t("OK"),onPress:function(){o.props.createIndentificationResetAction()}}],{cancelable:!1}))},o.renderLoader=function(){return h.default.createElement(T.ProgressDialog,{visible:o.props.loading||o.props.loadingNumberDetail,title:b.default.t('LOADING'),message:b.default.t('LOADING_INFO')})},o.renderDateNaissancePicker=function(){return h.default.createElement(k.default,{testID:"dateTimePicker",timeZoneOffsetInMinutes:0,is24Hour:!0,value:(0,D.default)(o.state.dateNaissance)?new Date:o.state.dateNaissance,mode:"date",maximumDate:new Date,display:"spinner",onChange:o.onChangeDateNaissance})},o.renderDateExpirationPicker=function(){return h.default.createElement(k.default,{testID:"dateTimePicker",timeZoneOffsetInMinutes:0,is24Hour:!0,value:(0,D.default)(o.state.dateExpiration)?new Date:o.state.dateExpiration,mode:"date",maximumDate:new Date(2300,10,20),display:"spinner",onChange:o.onChangeDateExpiration})},o.state={enterPhone:null,firstname:null,lastname:null,numeroIdentite:null,dateNaissance:null,dateExpiration:null,numeroTelephone:null,networksinglePickerVisible:!1,confirmpassanim:null,userId:null,isLoging:!1,countries:[],town:[],townName:null,country:null,identityPieces:(0,F.identityPieces)(),identityPiecesName:(0,F.identityPieces)()[0].name,snackVisible:!1,snackText:'',disableNetwork:!1,networks:[],showPickerDateNaissance:!1,showPickerDateExpiration:!1,modalVisible:!0,select_network:b.default.t("SELECT_NETWORK"),user:null,triggerSubmitClick:!1,triggerNextClick:!1,displayFirstStep:!0,displaySecondStep:!1},o.dateNaissanceFumiProps={},o.dateExpirationFumiProps={},o.props.createIndentificationResetAction(),o.props.getNumberResetAction(),o}return(0,p.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})}),'android'===I.Platform.OS?this.requestCameraPermission():this.watchLocation()}},{key:"renderCreateIdentificationResponse",value:function(){var t=this,n=this.props,o=n.result,s=n.error;console.log("PROPS",this.props),null!==o&&void 0!==o.response&&I.Alert.alert(b.default.t('SUCCESS_IDENTIFICATION'),o.response,[{text:b.default.t("OK"),onPress:function(){t.props.createIndentificationResetAction(),t.setState({triggerSubmitClick:!1}),t.props.navigation.pop()}}],{cancelable:!1}),null!==s&&(void 0!==s.data?I.Alert.alert(b.default.t('ERROR_IDENTIFICATION'),s.data.error,[{text:b.default.t("OK"),onPress:function(){t.props.createIndentificationResetAction(),t.setState({triggerSubmitClick:!1})}}],{cancelable:!1}):I.Alert.alert(b.default.t('ERROR_IDENTIFICATION'),JSON.stringify(s),[{text:b.default.t("OK"),onPress:function(){t.props.createIndentificationResetAction()}}],{cancelable:!1}))}},{key:"componentWillUpdate",value:function(t,n){var o=n.dateNaissance||new Date;this.state.showPickerDateNaissance&&(this.dateNaissanceFumiProps.value=M(o).format('DD-MM-YYYY')),this.state.showPickerDateExpiration&&(this.dateExpirationFumiProps.value=M(n.dateExpiration).format('DD-MM-YYYY'))}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.watchID&&R.default.clearWatch(this.watchID)}},{key:"showErrorDialog",value:function(){var t=this;this.setState({modalDialog:!1}),Aler.alert("Une erreur est survenue","Impossible de r\xe9cuperer des informations du pays verifier que votre gps est activ\xe9,et que vous \xeates connect\xe9 \xe0 internet puis ressayer",[{text:"Recommencer",onPress:function(){t.watchLocation()}},{text:"Annuler",onPress:function(){t.props.navigation.popToTop()}}])}},{key:"watchLocation",value:function(){var t=this;return s.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:R.default.getCurrentPosition(function(n){t.treatPosition(n)},function(n){t.showErrorDialog()},this.props.geolocationOptions),this.watchID||R.default.watchPosition(function(n){t.treatPosition(n)},function(n){t.showErrorDialog()},this.props.geolocationOptions);case 2:case"end":return n.stop()}},null,this,null,Promise)}},{key:"requestCameraPermission",value:function(){var t=this;return s.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,s.default.awrap(I.PermissionsAndroid.request(I.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'Cool Photo App Camera Permission',message:"Cool Photo App needs access to your camera so you can take awesome pictures."}));case 3:n.sent===I.PermissionsAndroid.RESULTS.GRANTED?this.watchLocation():(this.setState({modalDialog:!1}),I.Alert.alert("Echec \xe0 l'autorisation","L'application n'est pas autoris\xe9 \xe0 acceder \xe0 votre position veuillez verifier que votre GPS est activ\xe9 et configurer en mode Haute Precision",[{text:"Ok",onPress:function(){t.props.navigation.popToTop()}}])),n.next=11;break;case 7:n.prev=7,n.t0=n.catch(0),this.setState({modalDialog:!1}),I.Alert.alert("Une erreur est Survenue","Une erreur est survenu lors du demarrage de l'application veuillez relancer l'application",[{text:"Ok",onPress:function(){BackHandler.exitApp()}}]);case 11:case"end":return n.stop()}},null,this,[[0,7]],Promise)}},{key:"treatPosition",value:function(t){var n=this,o=this.state.myPosition,s=t.coords;(0,C.default)(s,o)||((0,w.getPositionInformation)(s).then(function(t){if(void 0!==t.results&&t.results.length>0){var o=t.results[0],s=o.address_components,l=o.formatted_address,u=o.place_id;n.setState({address:s,textadress:l,place:u});for(var c,f,p=t.results,h=0;h=s.length)break;f=s[u++]}else{if((u=s.next()).done)break;f=u.value}var p=f;p.code_country===c&&(o=!0,n.setState({modalVisible:!1,indicatif:p.code_dial,country:p.name}))}o||I.Alert.alert("Impossible de recup\xe9rer vos informations","Nous n'avons pas pu recuperer les informations de votre pays veuillez contacter les administrateurs",[{text:"OK"}])})}}).catch(function(t){n.showErrorDialog()}),this.setState({myPosition:s}))}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,D.default)(t)||(0,C.default)(t.length,0)}},{key:"renderLoaderModal",value:function(){return h.default.createElement(O.MaterialDialog,{visible:this.state.modalVisible,title:b.default.t("LOADING_INFO")},h.default.createElement(I.View,{style:{justifyContent:'center',alignItems:'center'}},h.default.createElement(I.Text,null,b.default.t("LOADING_DESCRIPTION_COUNTRY")),h.default.createElement(I.ProgressBarAndroid,null)))}},{key:"render",value:function(){var t=this;console.log("STATE",this.state);this.state.showPickerDateNaissance;return h.default.createElement(h.default.Fragment,null,this.state.showPickerDateNaissance&&this.renderDateNaissancePicker(),this.state.showPickerDateExpiration&&this.renderDateExpirationPicker(),this.state.modalVisible&&this.renderLoaderModal(),(this.props.loading||this.props.loadingNumberDetail)&&this.renderLoader(),this.state.triggerSubmitClick&&this.renderCreateIdentificationResponse(),this.state.triggerNextClick&&this.renderGetNumberResponse(),h.default.createElement(I.ScrollView,{style:U.container},this.state.displayFirstStep&&h.default.createElement(h.default.Fragment,null,h.default.createElement(I.Text,{style:U.subbigtitle},b.default.t('CREATE_IDENTIFICATION_TITLE')),h.default.createElement(S.View,{ref:function(n){t.numeroTelephoneAnim=n}},h.default.createElement(y.Fumi,{iconClass:N.default,iconName:'phone',label:b.default.t('PHONE'),iconColor:'#f95a25',value:null===this.state.numeroTelephone?this.state.indicatif:this.state.numeroTelephone,iconSize:20,onChangeText:function(n){t.setState({numeroTelephone:n})},style:U.input})),h.default.createElement(S.View,{ref:function(n){t.countryAnim=n},style:{width:(0,E.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(A.Dropdown,{label:b.default.t('COUNTRY_CHOICE'),data:this.state.countries,useNativeDriver:!0,value:null===this.state.country?"":this.state.country,onChangeText:function(n,o,s){t.setState({country:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),h.default.createElement(S.View,{ref:function(n){t.townAnim=n},style:{width:(0,E.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(A.Dropdown,{label:b.default.t('CHOICE_TOWN'),data:this.state.town,useNativeDriver:!0,value:null===this.state.townName?"":this.state.townName,onChangeText:function(n,o,s){t.setState({townName:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),h.default.createElement(v.default,{style:U.btnvalide,textStyle:U.textbtnvalide,isLoading:this.state.isLoging,onPress:function(){t.onSubmitNextStep()}},b.default.t('NEXT'))),this.state.displaySecondStep&&h.default.createElement(h.default.Fragment,null,h.default.createElement(S.View,{ref:function(n){t.lastnameAnim=n}},h.default.createElement(y.Fumi,{iconClass:N.default,iconName:'user',label:b.default.t('NAME')+" "+b.default.t('AND')+" "+b.default.t('FIRSTNAME'),iconColor:'#f95a25',iconSize:20,value:this.state.lastname,onChangeText:function(n){t.setState({lastname:n})},style:U.input})),h.default.createElement(S.View,{ref:function(n){t.datenaissanceAnim=n}},h.default.createElement(y.Fumi,(0,o.default)({iconClass:N.default,iconName:'calendar',label:b.default.t('DATE_NAISSANCE'),iconColor:'#f95a25',iconSize:20,style:U.input,onFocus:function(){I.Keyboard.dismiss(),t.setState({showPickerDateNaissance:!0})}},this.dateNaissanceFumiProps))),h.default.createElement(S.View,{ref:function(n){t.identityPiecesAnim=n},style:{width:(0,E.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(A.Dropdown,{label:b.default.t('PIECE_IDENTITE'),data:this.state.identityPieces,useNativeDriver:!0,value:this.state.identityPiecesName,onChangeText:function(n,o,s){t.setState({identityPiecesName:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),h.default.createElement(S.View,{ref:function(n){t.numeroIdentiteAnim=n}},h.default.createElement(y.Fumi,{iconClass:N.default,iconName:'address-card',label:""+b.default.t('NUMERO_IDENTITE'),iconColor:'#f95a25',iconSize:20,onChangeText:function(n){t.setState({numeroIdentite:n})},style:U.input})),h.default.createElement(S.View,{ref:function(n){t.identityDateExpiryAnim=n}},h.default.createElement(y.Fumi,(0,o.default)({iconClass:N.default,iconName:'calendar-times-o',label:b.default.t('IDENTITY_PIECE_EXPIRY_DATE'),iconColor:'#f95a25',iconSize:20,style:U.input,onFocus:function(){I.Keyboard.dismiss(),t.setState({showPickerDateExpiration:!0})}},this.dateExpirationFumiProps))),h.default.createElement(I.View,{style:{flexDirection:'row',justifyContent:'space-between',flex:1}},h.default.createElement(v.default,{style:U.btnSubmit,textStyle:U.textbtnvalide,onPress:function(){t.onSubmitPrevious()}},b.default.t('PREVIOUS')),h.default.createElement(v.default,{style:U.btnSubmit,textStyle:U.textbtnvalide,isLoading:this.state.isLoging,onPress:function(){t.onSubmitIdentityClient()}},b.default.t('SUBMIT_LABEL'))))))}}]),n})(h.Component);V.navigatorStyle={navBarBackgroundColor:P.Color.primaryColor,statusBarColor:P.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},V.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:b.default.t('CREATION_IDENTIFICATION_DESCRIPTION'),headerTintColor:'white',headerStyle:{backgroundColor:P.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:b.default.t('CREATION_IDENTIFICATION_DESCRIPTION')}};var K=(0,_.connect)(function(t){return{loading:t.createIdentificationReducer.loading,result:t.createIdentificationReducer.result,error:t.createIdentificationReducer.error,loadingNumberDetail:t.getNumberInformationReducer.loading,resultNumberDetail:t.getNumberInformationReducer.result,errorNumberDetail:t.getNumberInformationReducer.error}},function(t){return(0,L.bindActionCreators)({createIndentificationAction:Y.createIndentificationAction,createIndentificationResetAction:Y.createIndentificationResetAction,getNumberDetailAction:Y.getNumberDetailAction,getNumberResetAction:Y.getNumberResetAction},t)})(V);e.default=K;var U=I.StyleSheet.create({container:{flex:1,backgroundColor:P.Color.primaryDarkColor},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:P.Color.accentLightColor,height:52},btnSubmit:{marginTop:20,borderColor:'transparent',backgroundColor:P.Color.accentLightColor,height:52,width:"30%",marginLeft:20,marginRight:20},input:{height:60,marginTop:(0,E.responsiveHeight)(2),marginLeft:(0,E.responsiveWidth)(5),marginRight:(0,E.responsiveWidth)(5),borderRadius:5}})},1714,[4,1,6,273,8,9,10,12,13,15,18,68,531,871,827,527,696,743,709,712,681,1715,1020,1716,967,764,1377,711,768,804,1607,1508,1476,1723,806,807,1027]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n){return null==n}},1715,[]);
+__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 u=t(r(d[1])).default;e.default=u},1716,[1,1717]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var n=r(d[1]),u=t(r(d[2])),l=t(r(d[3]));function s(t){var u=t.mode,s=t.value,o=t.display;(0,l.default)(s,'A date or time should be specified as `value`.'),(0,l.default)(!(o===n.DISPLAY.calendar&&u===n.ANDROID_MODE.time||o===n.DISPLAY.clock&&u===n.ANDROID_MODE.date),"display: "+o+" and mode: "+u+" cannot be used together.")}function o(t){s(t);var l,o=t.mode,D=t.value,E=t.display,c=t.onChange,_=t.is24Hour,v=t.minimumDate,T=t.maximumDate,p=t.neutralButtonLabel;switch(o){case n.MODE_TIME:l=u.default[n.MODE_TIME].open({value:D,display:E,is24Hour:_,neutralButtonLabel:p});break;case n.MODE_DATE:default:l=u.default[n.MODE_DATE].open({value:D,display:E,minimumDate:v,maximumDate:T,neutralButtonLabel:p})}return l.then(function(t){var u=t.action,l=t.day,s=t.month,o=t.year,E=t.minute,_=t.hour,v=new Date(D),T={type:'set',nativeEvent:{}};switch(u){case n.DATE_SET_ACTION:T.nativeEvent.timestamp=v.setFullYear(o,s,l),c(T,v);break;case n.TIME_SET_ACTION:T.nativeEvent.timestamp=v.setHours(_,E),c(T,v);break;case n.NEUTRAL_BUTTON_ACTION:T.type='neutralButtonPressed',c(T);break;case n.DISMISS_ACTION:default:T.type='dismissed',c(T)}},function(t){throw t}),null}o.defaultProps={display:n.DISPLAY_DEFAULT,mode:n.MODE_DATE}},1717,[1,1718,1719,19]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.NEUTRAL_BUTTON_ACTION=e.NEUTRAL_BUTTON_LABEL=e.DISMISS_ACTION=e.TIME_SET_ACTION=e.DATE_SET_ACTION=e.DAY_OF_WEEK=e.ANDROID_MODE=e.DISPLAY=e.DISPLAY_CALENDAR=e.DISPLAY_CLOCK=e.DISPLAY_SPINNER=e.DISPLAY_DEFAULT=e.MODE_DATETIME=e.MODE_TIME=e.MODE_DATE=void 0;e.MODE_DATE='date';e.MODE_TIME='time';e.MODE_DATETIME='datetime';e.DISPLAY_DEFAULT='default';e.DISPLAY_SPINNER='spinner';e.DISPLAY_CLOCK='clock';e.DISPLAY_CALENDAR='calendar';var A=Object.freeze({spinner:'spinner',default:'default',clock:'clock',calendar:'calendar'});e.DISPLAY=A;var _=Object.freeze({date:'date',time:'time'});e.ANDROID_MODE=_;var E=Object.freeze({Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6});e.DAY_OF_WEEK=E;e.DATE_SET_ACTION='dateSetAction';e.TIME_SET_ACTION='timeSetAction';e.DISMISS_ACTION='dismissedAction';e.NEUTRAL_BUTTON_LABEL='neutralButtonLabel';e.NEUTRAL_BUTTON_ACTION='neutralButtonAction'},1718,[]);
+__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 u,f=t(r(d[1])),l=t(r(d[2])),_=t(r(d[3])),o=r(d[4]),v=(u={},(0,f.default)(u,o.MODE_DATE,l.default),(0,f.default)(u,o.MODE_TIME,_.default),u);e.default=v},1719,[1,7,1720,1722,1718]);
+__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])),u=t(r(d[2])),l=t(r(d[3])),o=r(d[4]),s=r(d[5]),c=r(d[6]),f=(function(){function t(){(0,u.default)(this,t)}return(0,l.default)(t,null,[{key:"open",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return(0,c.toMilliseconds)(t,'value','minimumDate','maximumDate'),t.display=t.display||o.DISPLAY_DEFAULT,n.abrupt("return",s.NativeModules.RNDatePickerAndroid.open(t));case 3:case"end":return n.stop()}},null,null,null,Promise)}}]),t})();e.default=f,f.dateSetAction=o.DATE_SET_ACTION,f.dismissedAction=o.DISMISS_ACTION},1720,[1,273,8,9,1718,18,1721]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.toMilliseconds=function(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),c=1;c0&&s<=1&&(s*=n),c&&c>0&&c<=1&&(c*=o),{width:s,height:c}}}]),p})();O.defaultProps={rounded:!0,dialogTitle:null,visible:!1,containerStyle:null,animationDuration:150,dialogStyle:null,width:null,height:null,onTouchOutside:function(){},onHardwareBackPress:function(){return!1},hasOverlay:!0,overlayOpacity:.5,overlayPointerEvents:null,overlayBackgroundColor:'#000',onShow:function(){},onDismiss:function(){},footer:null,useNativeDriver:!0},O.propTypes=b,e.default=O},1732,[15,18,1733,1734,1735,1727,68]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,o=(function(){function t(t,o){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},l=n.initialValue,v=void 0===l?0:l,f=n.useNativeDriver,c=void 0===f||f;o(this,u),this.animate=new t.Animated.Value(v),this.useNativeDriver=c}return n(u,[{key:'in',value:function(n){throw Error('not implemented yet')}},{key:'out',value:function(n){throw Error('not implemented yet')}},{key:'getAnimations',value:function(){throw Error('not implemented yet')}}]),u})();e.default=l},1734,[18,68]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n=(function(){function t(t,n){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=t.initialValue,o=void 0===n?0:n,l=t.useNativeDriver,s=void 0===l||l,v=t.animationDuration,p=void 0===v?200:v;f(this,u);var h=c(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,{initialValue:o,useNativeDriver:s}));return h.animationDuration=p,h}return s(u,l.default),n(u,[{key:'in',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.timing(this.animate,{toValue:1,duration:this.animationDuration,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'out',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.timing(this.animate,{toValue:0,duration:this.animationDuration,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'getAnimations',value:function(){return{opacity:this.animate}}}]),u})();e.default=v},1735,[18,1734]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,l='src/components/DialogTitle.js',o=r(d[0]),n=(t=o)&&t.__esModule?t:{default:t},s=r(d[1]),u=r(d[2]);var p=r(d[3]).babelPluginFlowReactPropTypes_proptype_DialogTitleProps||r(d[4]).any,f='android'===s.Platform.OS,y=s.StyleSheet.create({title:{padding:24,paddingLeft:18,paddingRight:18,borderTopLeftRadius:8,borderTopRightRadius:8},titleBar:{padding:14,borderBottomWidth:1/s.PixelRatio.get(),backgroundColor:'#F9F9FB',borderColor:'#DAD9DC'},text:{fontWeight:f?'400':'500',fontFamily:f?'sans-serif-medium':'System',fontSize:f?19:15,color:'#151822'}});function c(t){var o=t.title,p=t.style,f=t.textStyle,c=t.hasTitleBar,_=t.align,b=c?y.titleBar:null,T={alignItems:u.Positions[_]};return n.default.createElement(s.View,{style:[y.title,T,b,p],__source:{fileName:l,lineNumber:43}},n.default.createElement(s.Text,{style:[y.text,f],__source:{fileName:l,lineNumber:44}},o))}c.propTypes=p===r(d[4]).any?{}:p,c.defaultProps={align:'center',style:null,textStyle:null,hasTitleBar:!0},e.default=c},1736,[15,18,1729,1727,68]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var o,t='src/components/DialogFooter.js',l=r(d[0]),n=(o=l)&&o.__esModule?o:{default:o},c=r(d[1]);var u=r(d[2]).babelPluginFlowReactPropTypes_proptype_DialogFooterProps||r(d[3]).any,s=c.StyleSheet.create({border:{borderColor:'#CCD0D5',borderTopWidth:1/c.PixelRatio.get()},actionsVertical:{height:200,flexDirection:'column'},actionsHorizontal:{flexDirection:'row'}});function p(o){var u=o.style,p=o.bordered,b=o.children,f=b.length>2?s.actionsVertical:s.actionsHorizontal,y=p?s.border:null,_=2===b.length?l.Children.map(b,function(o,t){return(0,l.cloneElement)(o,{bordered:1%t==0&&p})}):b;return n.default.createElement(c.View,{style:[f,y,u],__source:{fileName:t,lineNumber:42}},_)}p.propTypes=u===r(d[3]).any?{}:u,p.defaultProps={style:null,bordered:!0},e.default=p},1737,[15,18,1727,68]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n='src/components/DialogContent.js',l=r(d[0]),o=(t=l)&&t.__esModule?t:{default:t},p=r(d[1]);var u=r(d[2]).babelPluginFlowReactPropTypes_proptype_DialogContentProps||r(d[3]).any,s=p.StyleSheet.create({content:{paddingLeft:18,paddingRight:18,paddingBottom:24}});function c(t){var l=t.style,u=t.children;return o.default.createElement(p.View,{style:[s.content,l],__source:{fileName:n,lineNumber:17}},u)}c.propTypes=u===r(d[3]).any?{}:u,c.defaultProps={style:null},e.default=c},1738,[15,18,1727,68]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n=(function(){function t(t,n){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.spring(this.animate,{toValue:1,velocity:0,tension:65,friction:7,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'out',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.timing(this.animate,{toValue:0,duration:200,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'getAnimations',value:function(){return{transform:[{scale:this.animate.interpolate({inputRange:[0,1],outputRange:[0,1]})}]}}}]),u})();e.default=p},1739,[18,1734]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,n=(function(){function t(t,n){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=t.initialValue,o=void 0===n?0:n,s=t.useNativeDriver,p=void 0===s||s,c=t.slideFrom,h=void 0===c?u.SLIDE_FROM_BOTTOM:c;l(this,u);var v=f(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,{initialValue:o,useNativeDriver:p}));return v.slideFrom=h,v}return p(u,s.default),n(u,[{key:'in',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.spring(this.animate,{toValue:1,velocity:0,tension:65,friction:10,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'out',value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};o.Animated.spring(this.animate,{toValue:0,velocity:0,tension:65,friction:10,useNativeDriver:this.useNativeDriver}).start(t)}},{key:'getAnimations',value:function(){var t=[];if(this.slideFrom===u.SLIDE_FROM_TOP)t.push({translateY:this.animate.interpolate({inputRange:[0,1],outputRange:[-v,0]})});else if(this.slideFrom===u.SLIDE_FROM_BOTTOM)t.push({translateY:this.animate.interpolate({inputRange:[0,1],outputRange:[v,0]})});else if(this.slideFrom===u.SLIDE_FROM_LEFT)t.push({translateX:this.animate.interpolate({inputRange:[0,1],outputRange:[-h,0]})});else{if(this.slideFrom!==u.SLIDE_FROM_RIGHT)throw new Error('\n slideFrom: '+this.slideFrom+' not supported. \'slideFrom\' must be \'top\' | \'bottom\' | \'left\' | \'right\'\n ');t.push({translateX:this.animate.interpolate({inputRange:[0,1],outputRange:[h,0]})})}return{transform:t}}}]),u})();_.SLIDE_FROM_TOP='top',_.SLIDE_FROM_BOTTOM='bottom',_.SLIDE_FROM_LEFT='left',_.SLIDE_FROM_RIGHT='right',e.default=_},1740,[18,1734]);
+__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])),c=n(r(d[4])),s=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),p=t(r(d[8])),h=r(d[9]),y=n(r(d[10])),C=n(r(d[11])),b=t(r(d[12])),w=(r(d[13]),r(d[14])),E=(r(d[15]),r(d[16])),T=r(d[17]),v=(r(d[18]),r(d[19])),x=n(r(d[20])),k=(r(d[21]),n(r(d[22]))),V=(r(d[23]),r(d[24]),(function(t){function n(t){var l;return(0,o.default)(this,n),(l=(0,c.default)(this,(0,s.default)(n).call(this,t))).renderItem=function(t,n){return n?p.default.createElement(p.default.Fragment,null,p.default.createElement(h.View,{style:[I.containerTouch]},p.default.createElement(h.TouchableOpacity,{style:I.contain,onPress:function(){l.props.navigation.push(t.screen)},activeOpacity:.9},p.default.createElement(y.default,{name:t.icon,color:w.Color.primaryColor,size:30,style:I.imageBanner}),p.default.createElement(h.View,{style:[I.content]},p.default.createElement(h.View,{style:I.contentTitle},p.default.createElement(h.Text,{style:[v.Typography.headline,v.Typography.semibold]},t.title))))),p.default.createElement(h.View,{style:{flex:1}})):p.default.createElement(h.View,{style:[I.containerTouch]},p.default.createElement(h.TouchableOpacity,{style:I.contain,onPress:function(){l.props.navigation.push(t.screen)},activeOpacity:.9},p.default.createElement(y.default,{name:t.icon,color:w.Color.primaryColor,size:30,style:I.imageBanner}),p.default.createElement(h.View,{style:[I.content]},p.default.createElement(h.View,{style:I.contentTitle},p.default.createElement(h.Text,{style:[v.Typography.headline,v.Typography.semibold]},t.title)),p.default.createElement(h.View,{style:{flex:1}}))))},E.IlinkEmitter.on("langueChange",l.updateLangue.bind((0,u.default)(l))),l.state={options:l.props.navigation.state.params.optionSelect.options,title:l.props.navigation.state.params.optionSelect.title,subTitle:l.props.navigation.state.params.optionSelect.subTitle,hasWallet:l.props.navigation.state.params.hasOwnProperty('wallet'),lottie:l.props.navigation.state.params.lottie},l}return(0,f.default)(n,t),(0,l.default)(n,[{key:"updateLangue",value:function(){this.props.navigation.setParams({name:C.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return p.default.createElement(T.Provider,null,p.default.createElement(h.View,{style:{flex:1}},p.default.createElement(h.StatusBar,{backgroundColor:w.Color.primaryDarkColor,barStyle:"light-content",translucent:!1}),p.default.createElement(T.Appbar.Header,{dark:!0,style:{backgroundColor:w.Color.primaryColor}},p.default.createElement(T.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(T.Appbar.Content,{title:this.state.title,subtitle:this.state.subTitle})),p.default.createElement(h.View,{style:I.container},p.default.createElement(h.View,{style:{justifyContent:'center',alignItems:'center'}},p.default.createElement(x.default,{style:I.lottie,source:this.state.lottie.source,autoPlay:!0,loop:this.state.lottie.loop})),p.default.createElement(h.View,{style:[I.checkDefault,{borderBottomColor:w.Color.borderColor}]},p.default.createElement(h.Text,{style:[v.Typography.title3,v.Typography.semibold]},C.default.t('TRANSACTIONS'))),(0,k.default)(this.state.options,2).map(function(n){return p.default.createElement(h.View,{style:I.transactionContainer},1===n.length?n.map(function(n){return t.renderItem(n,!0)}):n.map(function(n){return t.renderItem(n,!1)}))}))))}}]),n})(p.Component));e.default=V,V.navigationOptions=function(t){t.navigation;return{header:null,headerMode:'none',headerTitle:null,activeColor:'#f0edf6',inactiveColor:'#3e2465',barStyle:{backgroundColor:'#694fad'},drawerLabel:C.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return p.default.createElement(y.default,{name:'credit-card',size:24})}}};var I=h.StyleSheet.create({container:{flex:1,backgroundColor:w.Color.containerBackgroundColor,paddingHorizontal:20},item:{paddingVertical:15,borderBottomWidth:1,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},lottie:{width:540,height:240},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:w.Color.borderColor,borderColor:w.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:w.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:b.scaleWithPixel(30),height:b.scaleWithPixel(30)},content:{height:b.scaleWithPixel(60),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:12}})},1741,[4,1,8,9,10,12,11,13,15,18,869,712,1008,1630,1020,736,766,1032,711,1009,832,1607,1742,807,1608]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=Math.ceil,f=Math.max;m.exports=function(l,v,c){v=(c?t(l,v,c):void 0===v)?1:f(o(v),0);var h=null==l?0:l.length;if(!h||v<1)return[];for(var x=0,M=0,_=Array(u(h/v));x1&&void 0!==arguments[1]?arguments[1]:w,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;(0,I.default)();var u=t[o]||'?';'number'==typeof u&&(u=String.fromCharCode(u));var f=(0,b.processColor)(l),s=u+":"+n+":"+f,c=b.PixelRatio.get();return new Promise(function(t,o){var l=M[s];void 0!==l?!l||l instanceof Error?o(l):t({uri:l,scale:c}):_.getImageForFont(A,u,n,f,function(n,l){var u='string'==typeof n?new Error(n):n;M[s]=l||u||!1,!u&&l?t({uri:l,scale:c}):o(u)})})}return L.Button=(0,O.default)(L),L.TabBarItem=(0,N.default)(R,j),L.TabBarItemIOS=L.TabBarItem,L.ToolbarAndroid=(0,F.default)(R,j),L.getImageSource=j,L.loadFont=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;return'ios'===b.Platform.OS?((0,I.default)(),t?_.loadFontWithFileName.apply(_,(0,n.default)(t.split('.'))):Promise.reject(new Error('Unable to load font, because no file was specified. '))):Promise.resolve()},L.hasIcon=function(o){return Object.prototype.hasOwnProperty.call(t,o)},L.getRawGlyphMap=function(){return t},L.getFontFamily=function(){return A},L},e.DEFAULT_ICON_COLOR=e.DEFAULT_ICON_SIZE=e.NativeIconAPI=void 0;var n=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),s=t(r(d[6])),c=t(r(d[7])),v=t(r(d[8])),p=t(r(d[9])),h=o(r(d[10])),y=t(r(d[11])),b=r(d[12]),I=t(r(d[13])),O=t(r(d[14])),N=t(r(d[15])),F=t(r(d[16])),P="/home/travis/build/oblador/react-native-vector-icons/lib/create-icon-set.js",_=b.NativeModules.RNVectorIconsManager||b.NativeModules.RNVectorIconsModule;e.NativeIconAPI=_;var w=12;e.DEFAULT_ICON_SIZE=w;var C='black';e.DEFAULT_ICON_COLOR=C},1750,[1,4,33,6,57,8,9,10,12,13,15,68,1751,1752,1753,1754,1755]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})},1751,[18]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!n){if('android'===o.Platform.OS)throw new Error('RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.');throw new Error('RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.')}};var o=r(d[0]),n=o.NativeModules.RNVectorIconsManager||o.NativeModules.RNVectorIconsModule},1752,[1751]);
+__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=function(t){var l,F;return F=l=(function(l){function P(){return(0,s.default)(this,P),(0,c.default)(this,(0,f.default)(P).apply(this,arguments))}return(0,y.default)(P,l),(0,u.default)(P,[{key:"render",value:function(){var l=this.props,s=l.style,u=l.iconStyle,c=l.children,f=(0,n.default)(l,["style","iconStyle","children"]),y=(0,h.default)(f,O,'style','name','size','color'),P=(0,h.default)(f,T),k=(0,p.default)(f,Object.keys(y),Object.keys(P),'iconStyle','borderRadius','backgroundColor');y.style=u?[C.icon,u]:C.icon;var F=(0,h.default)(this.props,'color'),N=(0,h.default)(this.props,'backgroundColor','borderRadius');return v.default.createElement(S.TouchableHighlight,(0,o.default)({style:[C.touchable,N]},P,{__source:{fileName:_,lineNumber:118}}),v.default.createElement(S.View,(0,o.default)({style:[C.container,N,s]},k,{__source:{fileName:_,lineNumber:122}}),v.default.createElement(t,(0,o.default)({},y,{__source:{fileName:_,lineNumber:123}})),(0,b.default)(c)?v.default.createElement(S.Text,{style:[C.text,F],__source:{fileName:_,lineNumber:125}},c):c))}}]),P})(v.PureComponent),l.propTypes={backgroundColor:P.default.oneOfType([P.default.string,P.default.number]),borderRadius:P.default.number,color:P.default.oneOfType([P.default.string,P.default.number]),size:P.default.number,iconStyle:P.default.any,style:P.default.any,children:P.default.node},l.defaultProps={backgroundColor:k,borderRadius:5,color:'white',size:20},F};var o=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),y=t(r(d[8])),b=t(r(d[9])),p=t(r(d[10])),h=t(r(d[11])),v=l(r(d[12])),P=t(r(d[13])),S=r(d[14]),_="/home/travis/build/oblador/react-native-vector-icons/lib/icon-button.js",C=S.StyleSheet.create({container:{flexDirection:'row',justifyContent:'flex-start',alignItems:'center',padding:8},touchable:{overflow:'hidden'},icon:{marginRight:10},text:{fontWeight:'600',backgroundColor:'transparent'}}),k='#007AFF',O=['ellipsizeMode','numberOfLines','textBreakStrategy','selectable','suppressHighlighting','allowFontScaling','adjustsFontSizeToFit','minimumFontScale'],T=['accessible','accessibilityLabel','accessibilityHint','accessibilityComponentType','accessibilityRole','accessibilityStates','accessibilityTraits','onFocus','onBlur','disabled','onPress','onPressIn','onPressOut','onLayout','onLongPress','nativeID','testID','delayPressIn','delayPressOut','delayLongPress','activeOpacity','underlayColor','selectionColor','onShowUnderlay','onHideUnderlay','hasTVPreferredFocus','tvParallaxProperties']},1753,[1,4,6,57,8,9,10,12,13,536,545,673,15,68,1751]);
+__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=function(t,n){var h,v;return v=h=(function(t){function h(){var t,n;(0,u.default)(this,h);for(var o=arguments.length,c=new Array(o),s=0;s0){var o=t.results[0],s=o.address_components,l=o.formatted_address,c=o.place_id;n.setState({address:s,textadress:l,place:c});for(var u,f,p=t.results,h=0;h=s.length)break;f=s[c++]}else{if((c=s.next()).done)break;f=c.value}var p=f;p.code_country===u&&(o=!0,n.setState({modalVisible:!1,country:p.name}))}o||I.Alert.alert("Impossible de recup\xe9rer vos informations","Nous n'avons pas pu recuperer les informations de votre pays veuillez contacter les administrateurs",[{text:"OK"}])})}}).catch(function(t){n.showErrorDialog()}),this.setState({myPosition:s}))}},{key:"ckeckIfFieldIsOK",value:function(t){return(0,w.default)(t)||(0,k.default)(t.length,0)}},{key:"renderLoaderModal",value:function(){return h.default.createElement(O.MaterialDialog,{visible:this.state.modalVisible,title:D.default.t("LOADING_INFO")},h.default.createElement(I.View,{style:{justifyContent:'center',alignItems:'center'}},h.default.createElement(I.Text,null,D.default.t("LOADING_DESCRIPTION_COUNTRY")),h.default.createElement(I.ProgressBarAndroid,null)))}},{key:"render",value:function(){var t=this;return console.log("STATE",this.state),h.default.createElement(h.default.Fragment,null,this.state.showPickerDateNaissance&&this.renderDateNaissancePicker(),this.state.showPickerDateExpiration&&this.renderDateExpirationPicker(),this.state.modalVisible&&this.renderLoaderModal(),this.props.loading&&this.renderLoader(),this.state.triggerSubmitClick&&this.renderCreateIdentificationResponse(),h.default.createElement(I.ScrollView,{style:U.container},h.default.createElement(I.Text,{style:U.subbigtitle},D.default.t('CREATE_IDENTIFICATION_TITLE')),h.default.createElement(C.View,{ref:function(n){t.lastnameAnim=n}},h.default.createElement(y.Fumi,{iconClass:E.default,iconName:'user',label:D.default.t('NAME')+" "+D.default.t('AND')+" "+D.default.t('FIRSTNAME'),iconColor:'#f95a25',iconSize:20,value:this.state.lastname,onChangeText:function(n){t.setState({lastname:n})},style:U.input})),h.default.createElement(C.View,{ref:function(n){t.datenaissanceAnim=n}},h.default.createElement(y.Fumi,(0,o.default)({iconClass:E.default,iconName:'calendar',label:D.default.t('DATE_NAISSANCE'),iconColor:'#f95a25',iconSize:20,style:U.input,onFocus:function(){I.Keyboard.dismiss(),t.setState({showPickerDateNaissance:!0})}},this.dateNaissanceFumiProps))),h.default.createElement(C.View,{ref:function(n){t.countryAnim=n},style:{width:(0,v.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(A.Dropdown,{label:D.default.t('COUNTRY_CHOICE'),data:this.state.countries,useNativeDriver:!0,value:null===this.state.country?"":this.state.country,onChangeText:function(n,o,s){t.setState({country:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),h.default.createElement(C.View,{ref:function(n){t.townAnim=n},style:{width:(0,v.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(A.Dropdown,{label:D.default.t('CHOICE_TOWN'),data:this.state.town,useNativeDriver:!0,value:null===this.state.townName?"":this.state.townName,onChangeText:function(n,o,s){t.setState({townName:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),h.default.createElement(C.View,{ref:function(n){t.identityPiecesAnim=n},style:{width:(0,v.responsiveWidth)(90),height:60,marginTop:20,alignSelf:'center',borderRadius:10,paddingLeft:20,paddingRight:20,backgroundColor:'white'}},h.default.createElement(A.Dropdown,{label:D.default.t('PIECE_IDENTITE'),data:this.state.identityPieces,useNativeDriver:!0,value:this.state.identityPiecesName,onChangeText:function(n,o,s){t.setState({identityPiecesName:n})},valueExtractor:function(t){return t.name},labelExtractor:function(t){return t.name}})),h.default.createElement(C.View,{ref:function(n){t.numeroIdentiteAnim=n}},h.default.createElement(y.Fumi,{iconClass:E.default,iconName:'address-card',label:""+D.default.t('NUMERO_IDENTITE'),iconColor:'#f95a25',iconSize:20,onChangeText:function(n){t.setState({numeroIdentite:n})},style:U.input})),h.default.createElement(C.View,{ref:function(n){t.identityDateExpiryAnim=n}},h.default.createElement(y.Fumi,(0,o.default)({iconClass:E.default,iconName:'calendar-times-o',label:D.default.t('IDENTITY_PIECE_EXPIRY_DATE'),iconColor:'#f95a25',iconSize:20,style:U.input,onFocus:function(){I.Keyboard.dismiss(),t.setState({showPickerDateExpiration:!0})}},this.dateExpirationFumiProps))),h.default.createElement(N.default,{style:U.btnvalide,textStyle:U.textbtnvalide,isLoading:this.state.isLoging,onPress:function(){t.onSubmitIdentityClient()}},D.default.t('SUBMIT_LABEL'))))}}]),n})(h.Component);V.navigatorStyle={navBarBackgroundColor:P.Color.primaryColor,statusBarColor:P.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},V.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:D.default.t('CREATION_IDENTIFICATION_DESCRIPTION'),headerTintColor:'white',headerStyle:{backgroundColor:P.Color.primaryColor,marginTop:0,color:'white'},headerTitleStyle:{color:"white"},title:D.default.t('CREATION_IDENTIFICATION_DESCRIPTION')}};var K=(0,R.connect)(function(t){return{loading:t.createIdentificationReducer.loading,result:t.createIdentificationReducer.result,error:t.createIdentificationReducer.error}},function(t){return(0,L.bindActionCreators)({createIndentificationAction:M.createIndentificationAction,createIndentificationResetAction:M.createIndentificationResetAction},t)})(V);e.default=K;var U=I.StyleSheet.create({container:{flex:1,backgroundColor:P.Color.primaryDarkColor},textbtnvalide:{color:'white',fontWeight:'bold'},bigtitle:{color:'white',fontSize:20,flex:1,fontWeight:'bold',textAlign:'center',margin:20},subbigtitle:{color:'white',fontSize:17,textAlign:'center',margin:5},btnvalide:{marginTop:20,marginLeft:20,marginRight:20,borderColor:'transparent',backgroundColor:P.Color.accentLightColor,height:52},input:{height:60,marginTop:(0,v.responsiveHeight)(2),marginLeft:(0,v.responsiveWidth)(5),marginRight:(0,v.responsiveWidth)(5),borderRadius:5}})},1758,[4,1,6,273,8,9,10,12,13,15,18,68,531,871,827,527,696,743,709,712,681,1715,1020,1716,967,764,1377,711,768,804,1607,1508,1476,1723,806,807,1027]);
+__d(function(i,n,d,o,a,e,l){a.exports={name:"iLinkWorld",displayName:"iLinkWorld"}},1759,[]);
__r(87);
__r(0);
\ No newline at end of file
diff --git a/android/app/src/main/res/raw/datas_json_paiement_facture.json b/android/app/src/main/res/raw/datas_json_paiement_facture.json
new file mode 100644
index 00000000..20b4f2e0
--- /dev/null
+++ b/android/app/src/main/res/raw/datas_json_paiement_facture.json
@@ -0,0 +1 @@
+{"v":"5.6.1","fr":60,"ip":0,"op":240,"w":1920,"h":1080,"nm":"Comp 1","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"$$$ Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[885.25,900.75,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":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[-21.15,14.988],[-17.993,7.02],[-20.822,-0.292],[-30.175,-5.668],[-30.175,-16.957],[-20.792,-13.859],[-20.792,-21.901],[-30.175,-23.927],[-30.175,-29.348],[-34.523,-29.348],[-34.523,-23.808],[-43.28,-19.98],[-46.586,-12.013],[-44.04,-4.641],[-34.523,0.974],[-34.523,11.815],[-40.629,10.445],[-45.782,7.854],[-45.782,16.104],[-34.523,18.845],[-34.523,25.129],[-30.175,25.129],[-30.175,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-38.664,-12.519],[-34.523,-16.838],[-34.523,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[-25.916,7.437],[-30.175,11.696],[-30.175,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[13.937,14.988],[17.094,7.02],[14.265,-0.292],[4.912,-5.668],[4.912,-16.957],[14.294,-13.859],[14.294,-21.901],[4.912,-23.927],[4.912,-29.348],[0.563,-29.348],[0.563,-23.808],[-8.193,-19.98],[-11.5,-12.013],[-8.953,-4.641],[0.563,0.974],[0.563,11.815],[-5.542,10.445],[-10.695,7.854],[-10.695,16.104],[0.563,18.845],[0.563,25.129],[4.912,25.129],[4.912,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-3.577,-12.519],[0.563,-16.838],[0.563,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[9.171,7.437],[4.912,11.696],[4.912,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[963,554,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":[{"ty":"rc","d":1,"s":{"a":0,"k":[98,98],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":66,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-341,-79],"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":"Rectangle 13","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":9,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-251.5,151],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[178.571,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":"Rectangle 7","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-291.5,193],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 9","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-153.5,110],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 8","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-324.5,345],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 11","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-122.5,190],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 10","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-326.5,230],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 12","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-328.5,111],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 6","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-148.5,-34.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[114.286,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":"Rectangle 5","np":3,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-111,-75.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[66.447,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":"Rectangle 4","np":3,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-129.5,-115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[90.132,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":"Rectangle 3","np":3,"cix":2,"bm":0,"ix":11,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","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":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,117],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[72.583,74.384],"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":"Rectangle 2","np":3,"cix":2,"bm":0,"ix":12,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.652733564377,0.24313724041,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[80.587,80.587],"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":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":13,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"$$$ Outlines 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[885.25,900.75,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":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[13.937,14.988],[17.094,7.02],[14.265,-0.292],[4.912,-5.668],[4.912,-16.957],[14.294,-13.859],[14.294,-21.901],[4.912,-23.927],[4.912,-29.348],[0.563,-29.348],[0.563,-23.808],[-8.193,-19.98],[-11.5,-12.013],[-8.953,-4.641],[0.563,0.974],[0.563,11.815],[-5.542,10.445],[-10.695,7.854],[-10.695,16.104],[0.563,18.845],[0.563,25.129],[4.912,25.129],[4.912,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-3.577,-12.519],[0.563,-16.838],[0.563,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[9.171,7.437],[4.912,11.696],[4.912,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[963,554,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":[{"ty":"rc","d":1,"s":{"a":0,"k":[98,98],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":66,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-341,-79],"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":"Rectangle 13","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":9,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-251.5,151],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[178.571,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":"Rectangle 7","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-291.5,193],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 9","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":10,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-264.5,345],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[152.685,100],"ix":3},"r":{"a":0,"k":0.266,"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":"Rectangle 11","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-326.5,230],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 12","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-328.5,111],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 6","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-111,-121.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[66.447,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":"Rectangle 4","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-129.5,-75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[90.132,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":"Rectangle 3","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","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":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,117],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[72.583,74.384],"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":"Rectangle 2","np":3,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.81568627451,0.485460318771,0.095963085399,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[80.587,80.587],"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":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0}]},{"id":"comp_2","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"$$$ Outlines 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[885.25,900.75,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":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[-21.15,14.988],[-17.993,7.02],[-20.822,-0.292],[-30.175,-5.668],[-30.175,-16.957],[-20.792,-13.859],[-20.792,-21.901],[-30.175,-23.927],[-30.175,-29.348],[-34.523,-29.348],[-34.523,-23.808],[-43.28,-19.98],[-46.586,-12.013],[-44.04,-4.641],[-34.523,0.974],[-34.523,11.815],[-40.629,10.445],[-45.782,7.854],[-45.782,16.104],[-34.523,18.845],[-34.523,25.129],[-30.175,25.129],[-30.175,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-38.664,-12.519],[-34.523,-16.838],[-34.523,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[-25.916,7.437],[-30.175,11.696],[-30.175,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[-21.15,14.988],[-17.993,7.02],[-20.822,-0.292],[-30.175,-5.668],[-30.175,-16.957],[-20.792,-13.859],[-20.792,-21.901],[-30.175,-23.927],[-30.175,-29.348],[-34.523,-29.348],[-34.523,-23.808],[-43.28,-19.98],[-46.586,-12.013],[-44.04,-4.641],[-34.523,0.974],[-34.523,11.815],[-40.629,10.445],[-45.782,7.854],[-45.782,16.104],[-34.523,18.845],[-34.523,25.129],[-30.175,25.129],[-30.175,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-38.664,-12.519],[-34.523,-16.838],[-34.523,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[-25.916,7.437],[-30.175,11.696],[-30.175,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-36,0],"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":"$ 2","np":6,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[13.937,14.988],[17.094,7.02],[14.265,-0.292],[4.912,-5.668],[4.912,-16.957],[14.294,-13.859],[14.294,-21.901],[4.912,-23.927],[4.912,-29.348],[0.563,-29.348],[0.563,-23.808],[-8.193,-19.98],[-11.5,-12.013],[-8.953,-4.641],[0.563,0.974],[0.563,11.815],[-5.542,10.445],[-10.695,7.854],[-10.695,16.104],[0.563,18.845],[0.563,25.129],[4.912,25.129],[4.912,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-3.577,-12.519],[0.563,-16.838],[0.563,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[9.171,7.437],[4.912,11.696],[4.912,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[963,554,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":[{"ty":"rc","d":1,"s":{"a":0,"k":[98,98],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":66,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-341,-79],"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":"Rectangle 13","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-291.5,193],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 9","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-153.5,110],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 8","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-14.182,41],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 11","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[-324.5,303],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 11","np":4,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-190.5,150],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 10","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-326.5,152],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 12","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-328.5,111],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 6","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-148.5,-50.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[114.286,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":"Rectangle 5","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-129.5,-95],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[90.132,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":"Rectangle 3","np":3,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","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":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,117],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[72.583,74.384],"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":"Rectangle 2","np":3,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.509803921569,0.27956312591,0.007996923783,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[80.587,80.587],"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":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":11,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Invoice 1","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":2,"s":[1117,537,0],"e":[1117,416,0],"to":[0,-20.167,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":22,"s":[1117,416,0],"e":[1117,537,0],"to":[0,0,0],"ti":[0,-20.167,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":42,"s":[1117,537,0],"e":[1117,537,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":62,"s":[1117,537,0],"e":[1117,537,0],"to":[0,0,0],"ti":[0,0,0]},{"t":82}],"ix":2},"a":{"a":0,"k":[960,540,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1920,"h":1080,"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"Invoice 2","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.214],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":93,"s":[0],"e":[6]},{"i":{"x":[0.581],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":112,"s":[6],"e":[6]},{"i":{"x":[0],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":212,"s":[6],"e":[0]},{"t":232}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":2,"s":[1175,497,0],"e":[1175,497,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":22,"s":[1175,497,0],"e":[1175,402,0],"to":[0,-15.833,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":42,"s":[1175,402,0],"e":[1175,497,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":62,"s":[1175,497,0],"e":[1175,402,0],"to":[0,0,0],"ti":[0,15.833,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":82,"s":[1175,402,0],"e":[1175,402,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":102,"s":[1175,402,0],"e":[1643,402,0],"to":[78,0,0],"ti":[-78,0,0]},{"i":{"x":0.559,"y":0.559},"o":{"x":0.333,"y":0.333},"t":122,"s":[1643,402,0],"e":[1643,402,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":202,"s":[1643,402,0],"e":[1175,402,0],"to":[-78,0,0],"ti":[78,0,0]},{"i":{"x":0,"y":0},"o":{"x":0.333,"y":0.333},"t":220,"s":[1175,402,0],"e":[1175,402,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.333,"y":0},"t":230,"s":[1175,402,0],"e":[1175,497,0],"to":[0,15.833,0],"ti":[0,-15.833,0]},{"t":241}],"ix":2},"a":{"a":0,"k":[960,540,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.237,0.237,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":122,"s":[100,100,100],"e":[110,110,100]},{"i":{"x":[0.452,0.452,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":142,"s":[110,110,100],"e":[110,110,100]},{"i":{"x":[0.237,0.237,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":182,"s":[110,110,100],"e":[100,100,100]},{"t":202}],"ix":6}},"ao":0,"w":1920,"h":1080,"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"Invoice 3","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":2,"s":[1234,455,0],"e":[1234,455,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":22,"s":[1234,455,0],"e":[1234,455,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":42,"s":[1234,455,0],"e":[1234,353,0],"to":[0,-17,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":62,"s":[1234,353,0],"e":[1234,455,0],"to":[0,0,0],"ti":[0,-17,0]},{"t":82}],"ix":2},"a":{"a":0,"k":[960,540,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1920,"h":1080,"ip":0,"op":240,"st":0,"bm":0}],"markers":[]}
\ No newline at end of file
diff --git a/android/app/src/main/res/raw/node_modules_reactnativevectoricons_dist_glyphmaps_fontawesome.json b/android/app/src/main/res/raw/node_modules_reactnativevectoricons_dist_glyphmaps_fontawesome.json
new file mode 100644
index 00000000..0be3243c
--- /dev/null
+++ b/android/app/src/main/res/raw/node_modules_reactnativevectoricons_dist_glyphmaps_fontawesome.json
@@ -0,0 +1,788 @@
+{
+ "glass": 61440,
+ "music": 61441,
+ "search": 61442,
+ "envelope-o": 61443,
+ "heart": 61444,
+ "star": 61445,
+ "star-o": 61446,
+ "user": 61447,
+ "film": 61448,
+ "th-large": 61449,
+ "th": 61450,
+ "th-list": 61451,
+ "check": 61452,
+ "remove": 61453,
+ "close": 61453,
+ "times": 61453,
+ "search-plus": 61454,
+ "search-minus": 61456,
+ "power-off": 61457,
+ "signal": 61458,
+ "gear": 61459,
+ "cog": 61459,
+ "trash-o": 61460,
+ "home": 61461,
+ "file-o": 61462,
+ "clock-o": 61463,
+ "road": 61464,
+ "download": 61465,
+ "arrow-circle-o-down": 61466,
+ "arrow-circle-o-up": 61467,
+ "inbox": 61468,
+ "play-circle-o": 61469,
+ "rotate-right": 61470,
+ "repeat": 61470,
+ "refresh": 61473,
+ "list-alt": 61474,
+ "lock": 61475,
+ "flag": 61476,
+ "headphones": 61477,
+ "volume-off": 61478,
+ "volume-down": 61479,
+ "volume-up": 61480,
+ "qrcode": 61481,
+ "barcode": 61482,
+ "tag": 61483,
+ "tags": 61484,
+ "book": 61485,
+ "bookmark": 61486,
+ "print": 61487,
+ "camera": 61488,
+ "font": 61489,
+ "bold": 61490,
+ "italic": 61491,
+ "text-height": 61492,
+ "text-width": 61493,
+ "align-left": 61494,
+ "align-center": 61495,
+ "align-right": 61496,
+ "align-justify": 61497,
+ "list": 61498,
+ "dedent": 61499,
+ "outdent": 61499,
+ "indent": 61500,
+ "video-camera": 61501,
+ "photo": 61502,
+ "image": 61502,
+ "picture-o": 61502,
+ "pencil": 61504,
+ "map-marker": 61505,
+ "adjust": 61506,
+ "tint": 61507,
+ "edit": 61508,
+ "pencil-square-o": 61508,
+ "share-square-o": 61509,
+ "check-square-o": 61510,
+ "arrows": 61511,
+ "step-backward": 61512,
+ "fast-backward": 61513,
+ "backward": 61514,
+ "play": 61515,
+ "pause": 61516,
+ "stop": 61517,
+ "forward": 61518,
+ "fast-forward": 61520,
+ "step-forward": 61521,
+ "eject": 61522,
+ "chevron-left": 61523,
+ "chevron-right": 61524,
+ "plus-circle": 61525,
+ "minus-circle": 61526,
+ "times-circle": 61527,
+ "check-circle": 61528,
+ "question-circle": 61529,
+ "info-circle": 61530,
+ "crosshairs": 61531,
+ "times-circle-o": 61532,
+ "check-circle-o": 61533,
+ "ban": 61534,
+ "arrow-left": 61536,
+ "arrow-right": 61537,
+ "arrow-up": 61538,
+ "arrow-down": 61539,
+ "mail-forward": 61540,
+ "share": 61540,
+ "expand": 61541,
+ "compress": 61542,
+ "plus": 61543,
+ "minus": 61544,
+ "asterisk": 61545,
+ "exclamation-circle": 61546,
+ "gift": 61547,
+ "leaf": 61548,
+ "fire": 61549,
+ "eye": 61550,
+ "eye-slash": 61552,
+ "warning": 61553,
+ "exclamation-triangle": 61553,
+ "plane": 61554,
+ "calendar": 61555,
+ "random": 61556,
+ "comment": 61557,
+ "magnet": 61558,
+ "chevron-up": 61559,
+ "chevron-down": 61560,
+ "retweet": 61561,
+ "shopping-cart": 61562,
+ "folder": 61563,
+ "folder-open": 61564,
+ "arrows-v": 61565,
+ "arrows-h": 61566,
+ "bar-chart-o": 61568,
+ "bar-chart": 61568,
+ "twitter-square": 61569,
+ "facebook-square": 61570,
+ "camera-retro": 61571,
+ "key": 61572,
+ "gears": 61573,
+ "cogs": 61573,
+ "comments": 61574,
+ "thumbs-o-up": 61575,
+ "thumbs-o-down": 61576,
+ "star-half": 61577,
+ "heart-o": 61578,
+ "sign-out": 61579,
+ "linkedin-square": 61580,
+ "thumb-tack": 61581,
+ "external-link": 61582,
+ "sign-in": 61584,
+ "trophy": 61585,
+ "github-square": 61586,
+ "upload": 61587,
+ "lemon-o": 61588,
+ "phone": 61589,
+ "square-o": 61590,
+ "bookmark-o": 61591,
+ "phone-square": 61592,
+ "twitter": 61593,
+ "facebook-f": 61594,
+ "facebook": 61594,
+ "github": 61595,
+ "unlock": 61596,
+ "credit-card": 61597,
+ "feed": 61598,
+ "rss": 61598,
+ "hdd-o": 61600,
+ "bullhorn": 61601,
+ "bell": 61683,
+ "certificate": 61603,
+ "hand-o-right": 61604,
+ "hand-o-left": 61605,
+ "hand-o-up": 61606,
+ "hand-o-down": 61607,
+ "arrow-circle-left": 61608,
+ "arrow-circle-right": 61609,
+ "arrow-circle-up": 61610,
+ "arrow-circle-down": 61611,
+ "globe": 61612,
+ "wrench": 61613,
+ "tasks": 61614,
+ "filter": 61616,
+ "briefcase": 61617,
+ "arrows-alt": 61618,
+ "group": 61632,
+ "users": 61632,
+ "chain": 61633,
+ "link": 61633,
+ "cloud": 61634,
+ "flask": 61635,
+ "cut": 61636,
+ "scissors": 61636,
+ "copy": 61637,
+ "files-o": 61637,
+ "paperclip": 61638,
+ "save": 61639,
+ "floppy-o": 61639,
+ "square": 61640,
+ "navicon": 61641,
+ "reorder": 61641,
+ "bars": 61641,
+ "list-ul": 61642,
+ "list-ol": 61643,
+ "strikethrough": 61644,
+ "underline": 61645,
+ "table": 61646,
+ "magic": 61648,
+ "truck": 61649,
+ "pinterest": 61650,
+ "pinterest-square": 61651,
+ "google-plus-square": 61652,
+ "google-plus": 61653,
+ "money": 61654,
+ "caret-down": 61655,
+ "caret-up": 61656,
+ "caret-left": 61657,
+ "caret-right": 61658,
+ "columns": 61659,
+ "unsorted": 61660,
+ "sort": 61660,
+ "sort-down": 61661,
+ "sort-desc": 61661,
+ "sort-up": 61662,
+ "sort-asc": 61662,
+ "envelope": 61664,
+ "linkedin": 61665,
+ "rotate-left": 61666,
+ "undo": 61666,
+ "legal": 61667,
+ "gavel": 61667,
+ "dashboard": 61668,
+ "tachometer": 61668,
+ "comment-o": 61669,
+ "comments-o": 61670,
+ "flash": 61671,
+ "bolt": 61671,
+ "sitemap": 61672,
+ "umbrella": 61673,
+ "paste": 61674,
+ "clipboard": 61674,
+ "lightbulb-o": 61675,
+ "exchange": 61676,
+ "cloud-download": 61677,
+ "cloud-upload": 61678,
+ "user-md": 61680,
+ "stethoscope": 61681,
+ "suitcase": 61682,
+ "bell-o": 61602,
+ "coffee": 61684,
+ "cutlery": 61685,
+ "file-text-o": 61686,
+ "building-o": 61687,
+ "hospital-o": 61688,
+ "ambulance": 61689,
+ "medkit": 61690,
+ "fighter-jet": 61691,
+ "beer": 61692,
+ "h-square": 61693,
+ "plus-square": 61694,
+ "angle-double-left": 61696,
+ "angle-double-right": 61697,
+ "angle-double-up": 61698,
+ "angle-double-down": 61699,
+ "angle-left": 61700,
+ "angle-right": 61701,
+ "angle-up": 61702,
+ "angle-down": 61703,
+ "desktop": 61704,
+ "laptop": 61705,
+ "tablet": 61706,
+ "mobile-phone": 61707,
+ "mobile": 61707,
+ "circle-o": 61708,
+ "quote-left": 61709,
+ "quote-right": 61710,
+ "spinner": 61712,
+ "circle": 61713,
+ "mail-reply": 61714,
+ "reply": 61714,
+ "github-alt": 61715,
+ "folder-o": 61716,
+ "folder-open-o": 61717,
+ "smile-o": 61720,
+ "frown-o": 61721,
+ "meh-o": 61722,
+ "gamepad": 61723,
+ "keyboard-o": 61724,
+ "flag-o": 61725,
+ "flag-checkered": 61726,
+ "terminal": 61728,
+ "code": 61729,
+ "mail-reply-all": 61730,
+ "reply-all": 61730,
+ "star-half-empty": 61731,
+ "star-half-full": 61731,
+ "star-half-o": 61731,
+ "location-arrow": 61732,
+ "crop": 61733,
+ "code-fork": 61734,
+ "unlink": 61735,
+ "chain-broken": 61735,
+ "question": 61736,
+ "info": 61737,
+ "exclamation": 61738,
+ "superscript": 61739,
+ "subscript": 61740,
+ "eraser": 61741,
+ "puzzle-piece": 61742,
+ "microphone": 61744,
+ "microphone-slash": 61745,
+ "shield": 61746,
+ "calendar-o": 61747,
+ "fire-extinguisher": 61748,
+ "rocket": 61749,
+ "maxcdn": 61750,
+ "chevron-circle-left": 61751,
+ "chevron-circle-right": 61752,
+ "chevron-circle-up": 61753,
+ "chevron-circle-down": 61754,
+ "html5": 61755,
+ "css3": 61756,
+ "anchor": 61757,
+ "unlock-alt": 61758,
+ "bullseye": 61760,
+ "ellipsis-h": 61761,
+ "ellipsis-v": 61762,
+ "rss-square": 61763,
+ "play-circle": 61764,
+ "ticket": 61765,
+ "minus-square": 61766,
+ "minus-square-o": 61767,
+ "level-up": 61768,
+ "level-down": 61769,
+ "check-square": 61770,
+ "pencil-square": 61771,
+ "external-link-square": 61772,
+ "share-square": 61773,
+ "compass": 61774,
+ "toggle-down": 61776,
+ "caret-square-o-down": 61776,
+ "toggle-up": 61777,
+ "caret-square-o-up": 61777,
+ "toggle-right": 61778,
+ "caret-square-o-right": 61778,
+ "euro": 61779,
+ "eur": 61779,
+ "gbp": 61780,
+ "dollar": 61781,
+ "usd": 61781,
+ "rupee": 61782,
+ "inr": 61782,
+ "cny": 61783,
+ "rmb": 61783,
+ "yen": 61783,
+ "jpy": 61783,
+ "ruble": 61784,
+ "rouble": 61784,
+ "rub": 61784,
+ "won": 61785,
+ "krw": 61785,
+ "bitcoin": 61786,
+ "btc": 61786,
+ "file": 61787,
+ "file-text": 61788,
+ "sort-alpha-asc": 61789,
+ "sort-alpha-desc": 61790,
+ "sort-amount-asc": 61792,
+ "sort-amount-desc": 61793,
+ "sort-numeric-asc": 61794,
+ "sort-numeric-desc": 61795,
+ "thumbs-up": 61796,
+ "thumbs-down": 61797,
+ "youtube-square": 61798,
+ "youtube": 61799,
+ "xing": 61800,
+ "xing-square": 61801,
+ "youtube-play": 61802,
+ "dropbox": 61803,
+ "stack-overflow": 61804,
+ "instagram": 61805,
+ "flickr": 61806,
+ "adn": 61808,
+ "bitbucket": 61809,
+ "bitbucket-square": 61810,
+ "tumblr": 61811,
+ "tumblr-square": 61812,
+ "long-arrow-down": 61813,
+ "long-arrow-up": 61814,
+ "long-arrow-left": 61815,
+ "long-arrow-right": 61816,
+ "apple": 61817,
+ "windows": 61818,
+ "android": 61819,
+ "linux": 61820,
+ "dribbble": 61821,
+ "skype": 61822,
+ "foursquare": 61824,
+ "trello": 61825,
+ "female": 61826,
+ "male": 61827,
+ "gittip": 61828,
+ "gratipay": 61828,
+ "sun-o": 61829,
+ "moon-o": 61830,
+ "archive": 61831,
+ "bug": 61832,
+ "vk": 61833,
+ "weibo": 61834,
+ "renren": 61835,
+ "pagelines": 61836,
+ "stack-exchange": 61837,
+ "arrow-circle-o-right": 61838,
+ "arrow-circle-o-left": 61840,
+ "toggle-left": 61841,
+ "caret-square-o-left": 61841,
+ "dot-circle-o": 61842,
+ "wheelchair": 61843,
+ "vimeo-square": 61844,
+ "turkish-lira": 61845,
+ "try": 61845,
+ "plus-square-o": 61846,
+ "space-shuttle": 61847,
+ "slack": 61848,
+ "envelope-square": 61849,
+ "wordpress": 61850,
+ "openid": 61851,
+ "institution": 61852,
+ "bank": 61852,
+ "university": 61852,
+ "mortar-board": 61853,
+ "graduation-cap": 61853,
+ "yahoo": 61854,
+ "google": 61856,
+ "reddit": 61857,
+ "reddit-square": 61858,
+ "stumbleupon-circle": 61859,
+ "stumbleupon": 61860,
+ "delicious": 61861,
+ "digg": 61862,
+ "pied-piper-pp": 61863,
+ "pied-piper-alt": 61864,
+ "drupal": 61865,
+ "joomla": 61866,
+ "language": 61867,
+ "fax": 61868,
+ "building": 61869,
+ "child": 61870,
+ "paw": 61872,
+ "spoon": 61873,
+ "cube": 61874,
+ "cubes": 61875,
+ "behance": 61876,
+ "behance-square": 61877,
+ "steam": 61878,
+ "steam-square": 61879,
+ "recycle": 61880,
+ "automobile": 61881,
+ "car": 61881,
+ "cab": 61882,
+ "taxi": 61882,
+ "tree": 61883,
+ "spotify": 61884,
+ "deviantart": 61885,
+ "soundcloud": 61886,
+ "database": 61888,
+ "file-pdf-o": 61889,
+ "file-word-o": 61890,
+ "file-excel-o": 61891,
+ "file-powerpoint-o": 61892,
+ "file-photo-o": 61893,
+ "file-picture-o": 61893,
+ "file-image-o": 61893,
+ "file-zip-o": 61894,
+ "file-archive-o": 61894,
+ "file-sound-o": 61895,
+ "file-audio-o": 61895,
+ "file-movie-o": 61896,
+ "file-video-o": 61896,
+ "file-code-o": 61897,
+ "vine": 61898,
+ "codepen": 61899,
+ "jsfiddle": 61900,
+ "life-bouy": 61901,
+ "life-buoy": 61901,
+ "life-saver": 61901,
+ "support": 61901,
+ "life-ring": 61901,
+ "circle-o-notch": 61902,
+ "ra": 61904,
+ "resistance": 61904,
+ "rebel": 61904,
+ "ge": 61905,
+ "empire": 61905,
+ "git-square": 61906,
+ "git": 61907,
+ "y-combinator-square": 61908,
+ "yc-square": 61908,
+ "hacker-news": 61908,
+ "tencent-weibo": 61909,
+ "qq": 61910,
+ "wechat": 61911,
+ "weixin": 61911,
+ "send": 61912,
+ "paper-plane": 61912,
+ "send-o": 61913,
+ "paper-plane-o": 61913,
+ "history": 61914,
+ "circle-thin": 61915,
+ "header": 61916,
+ "paragraph": 61917,
+ "sliders": 61918,
+ "share-alt": 61920,
+ "share-alt-square": 61921,
+ "bomb": 61922,
+ "soccer-ball-o": 61923,
+ "futbol-o": 61923,
+ "tty": 61924,
+ "binoculars": 61925,
+ "plug": 61926,
+ "slideshare": 61927,
+ "twitch": 61928,
+ "yelp": 61929,
+ "newspaper-o": 61930,
+ "wifi": 61931,
+ "calculator": 61932,
+ "paypal": 61933,
+ "google-wallet": 61934,
+ "cc-visa": 61936,
+ "cc-mastercard": 61937,
+ "cc-discover": 61938,
+ "cc-amex": 61939,
+ "cc-paypal": 61940,
+ "cc-stripe": 61941,
+ "bell-slash": 61942,
+ "bell-slash-o": 61943,
+ "trash": 61944,
+ "copyright": 61945,
+ "at": 61946,
+ "eyedropper": 61947,
+ "paint-brush": 61948,
+ "birthday-cake": 61949,
+ "area-chart": 61950,
+ "pie-chart": 61952,
+ "line-chart": 61953,
+ "lastfm": 61954,
+ "lastfm-square": 61955,
+ "toggle-off": 61956,
+ "toggle-on": 61957,
+ "bicycle": 61958,
+ "bus": 61959,
+ "ioxhost": 61960,
+ "angellist": 61961,
+ "cc": 61962,
+ "shekel": 61963,
+ "sheqel": 61963,
+ "ils": 61963,
+ "meanpath": 61964,
+ "buysellads": 61965,
+ "connectdevelop": 61966,
+ "dashcube": 61968,
+ "forumbee": 61969,
+ "leanpub": 61970,
+ "sellsy": 61971,
+ "shirtsinbulk": 61972,
+ "simplybuilt": 61973,
+ "skyatlas": 61974,
+ "cart-plus": 61975,
+ "cart-arrow-down": 61976,
+ "diamond": 61977,
+ "ship": 61978,
+ "user-secret": 61979,
+ "motorcycle": 61980,
+ "street-view": 61981,
+ "heartbeat": 61982,
+ "venus": 61985,
+ "mars": 61986,
+ "mercury": 61987,
+ "intersex": 61988,
+ "transgender": 61988,
+ "transgender-alt": 61989,
+ "venus-double": 61990,
+ "mars-double": 61991,
+ "venus-mars": 61992,
+ "mars-stroke": 61993,
+ "mars-stroke-v": 61994,
+ "mars-stroke-h": 61995,
+ "neuter": 61996,
+ "genderless": 61997,
+ "facebook-official": 62000,
+ "pinterest-p": 62001,
+ "whatsapp": 62002,
+ "server": 62003,
+ "user-plus": 62004,
+ "user-times": 62005,
+ "hotel": 62006,
+ "bed": 62006,
+ "viacoin": 62007,
+ "train": 62008,
+ "subway": 62009,
+ "medium": 62010,
+ "yc": 62011,
+ "y-combinator": 62011,
+ "optin-monster": 62012,
+ "opencart": 62013,
+ "expeditedssl": 62014,
+ "battery-4": 62016,
+ "battery": 62016,
+ "battery-full": 62016,
+ "battery-3": 62017,
+ "battery-three-quarters": 62017,
+ "battery-2": 62018,
+ "battery-half": 62018,
+ "battery-1": 62019,
+ "battery-quarter": 62019,
+ "battery-0": 62020,
+ "battery-empty": 62020,
+ "mouse-pointer": 62021,
+ "i-cursor": 62022,
+ "object-group": 62023,
+ "object-ungroup": 62024,
+ "sticky-note": 62025,
+ "sticky-note-o": 62026,
+ "cc-jcb": 62027,
+ "cc-diners-club": 62028,
+ "clone": 62029,
+ "balance-scale": 62030,
+ "hourglass-o": 62032,
+ "hourglass-1": 62033,
+ "hourglass-start": 62033,
+ "hourglass-2": 62034,
+ "hourglass-half": 62034,
+ "hourglass-3": 62035,
+ "hourglass-end": 62035,
+ "hourglass": 62036,
+ "hand-grab-o": 62037,
+ "hand-rock-o": 62037,
+ "hand-stop-o": 62038,
+ "hand-paper-o": 62038,
+ "hand-scissors-o": 62039,
+ "hand-lizard-o": 62040,
+ "hand-spock-o": 62041,
+ "hand-pointer-o": 62042,
+ "hand-peace-o": 62043,
+ "trademark": 62044,
+ "registered": 62045,
+ "creative-commons": 62046,
+ "gg": 62048,
+ "gg-circle": 62049,
+ "tripadvisor": 62050,
+ "odnoklassniki": 62051,
+ "odnoklassniki-square": 62052,
+ "get-pocket": 62053,
+ "wikipedia-w": 62054,
+ "safari": 62055,
+ "chrome": 62056,
+ "firefox": 62057,
+ "opera": 62058,
+ "internet-explorer": 62059,
+ "tv": 62060,
+ "television": 62060,
+ "contao": 62061,
+ "500px": 62062,
+ "amazon": 62064,
+ "calendar-plus-o": 62065,
+ "calendar-minus-o": 62066,
+ "calendar-times-o": 62067,
+ "calendar-check-o": 62068,
+ "industry": 62069,
+ "map-pin": 62070,
+ "map-signs": 62071,
+ "map-o": 62072,
+ "map": 62073,
+ "commenting": 62074,
+ "commenting-o": 62075,
+ "houzz": 62076,
+ "vimeo": 62077,
+ "black-tie": 62078,
+ "fonticons": 62080,
+ "reddit-alien": 62081,
+ "edge": 62082,
+ "credit-card-alt": 62083,
+ "codiepie": 62084,
+ "modx": 62085,
+ "fort-awesome": 62086,
+ "usb": 62087,
+ "product-hunt": 62088,
+ "mixcloud": 62089,
+ "scribd": 62090,
+ "pause-circle": 62091,
+ "pause-circle-o": 62092,
+ "stop-circle": 62093,
+ "stop-circle-o": 62094,
+ "shopping-bag": 62096,
+ "shopping-basket": 62097,
+ "hashtag": 62098,
+ "bluetooth": 62099,
+ "bluetooth-b": 62100,
+ "percent": 62101,
+ "gitlab": 62102,
+ "wpbeginner": 62103,
+ "wpforms": 62104,
+ "envira": 62105,
+ "universal-access": 62106,
+ "wheelchair-alt": 62107,
+ "question-circle-o": 62108,
+ "blind": 62109,
+ "audio-description": 62110,
+ "volume-control-phone": 62112,
+ "braille": 62113,
+ "assistive-listening-systems": 62114,
+ "asl-interpreting": 62115,
+ "american-sign-language-interpreting": 62115,
+ "deafness": 62116,
+ "hard-of-hearing": 62116,
+ "deaf": 62116,
+ "glide": 62117,
+ "glide-g": 62118,
+ "signing": 62119,
+ "sign-language": 62119,
+ "low-vision": 62120,
+ "viadeo": 62121,
+ "viadeo-square": 62122,
+ "snapchat": 62123,
+ "snapchat-ghost": 62124,
+ "snapchat-square": 62125,
+ "pied-piper": 62126,
+ "first-order": 62128,
+ "yoast": 62129,
+ "themeisle": 62130,
+ "google-plus-circle": 62131,
+ "google-plus-official": 62131,
+ "fa": 62132,
+ "font-awesome": 62132,
+ "handshake-o": 62133,
+ "envelope-open": 62134,
+ "envelope-open-o": 62135,
+ "linode": 62136,
+ "address-book": 62137,
+ "address-book-o": 62138,
+ "vcard": 62139,
+ "address-card": 62139,
+ "vcard-o": 62140,
+ "address-card-o": 62140,
+ "user-circle": 62141,
+ "user-circle-o": 62142,
+ "user-o": 62144,
+ "id-badge": 62145,
+ "drivers-license": 62146,
+ "id-card": 62146,
+ "drivers-license-o": 62147,
+ "id-card-o": 62147,
+ "quora": 62148,
+ "free-code-camp": 62149,
+ "telegram": 62150,
+ "thermometer-4": 62151,
+ "thermometer": 62151,
+ "thermometer-full": 62151,
+ "thermometer-3": 62152,
+ "thermometer-three-quarters": 62152,
+ "thermometer-2": 62153,
+ "thermometer-half": 62153,
+ "thermometer-1": 62154,
+ "thermometer-quarter": 62154,
+ "thermometer-0": 62155,
+ "thermometer-empty": 62155,
+ "shower": 62156,
+ "bathtub": 62157,
+ "s15": 62157,
+ "bath": 62157,
+ "podcast": 62158,
+ "window-maximize": 62160,
+ "window-minimize": 62161,
+ "window-restore": 62162,
+ "times-rectangle": 62163,
+ "window-close": 62163,
+ "times-rectangle-o": 62164,
+ "window-close-o": 62164,
+ "bandcamp": 62165,
+ "grav": 62166,
+ "etsy": 62167,
+ "imdb": 62168,
+ "ravelry": 62169,
+ "eercast": 62170,
+ "microchip": 62171,
+ "snowflake-o": 62172,
+ "superpowers": 62173,
+ "wpexplorer": 62174,
+ "meetup": 62176
+}
\ No newline at end of file
diff --git a/android/app/src/main/res/raw/route.json b/android/app/src/main/res/raw/route.json
index 0c4c12f2..d9804c16 100644
--- a/android/app/src/main/res/raw/route.json
+++ b/android/app/src/main/res/raw/route.json
@@ -34,5 +34,6 @@
"walletSelect": "walletSelect",
"walletOptionSelect": "walletOptionSelect",
"createIdentification": "createIdentification",
+ "createIdentificationUser": "createIdentificationUser",
"validateIdentification": "validateIdentification"
}
diff --git a/android/app/src/main/res/raw/utils_i18n_en.json b/android/app/src/main/res/raw/utils_i18n_en.json
index d1b0e4aa..f78c2dcc 100644
--- a/android/app/src/main/res/raw/utils_i18n_en.json
+++ b/android/app/src/main/res/raw/utils_i18n_en.json
@@ -129,6 +129,7 @@
"ADDRESS": "Address",
"CREDIT": "Credit",
"NEXT": "Next",
+ "PREVIOUS": "Previous",
"SPONSOR_CODE": "Sponsor Code",
"SOLDE_UNVAIBLE": "solde unavailable",
"TEXT_BIG_CREATE_AGENT_1": "Register as Agent",
@@ -184,6 +185,8 @@
"TRANSFER_COMMISSION_IMPOSSIBLE": "Commissions transfer impossible",
"ERROR_FILTER_TEXT": "Problem encountered while filtering.",
"ERROR_TREATMENT_DEMAND": "Request processing error",
+ "ERROR_IDENTIFICATION": "Identification error",
+ "SUCCESS_IDENTIFICATION": "Identification successful",
"REFUSER_DEMANDE": "Reject the request",
"ACCEPTER_DEMANDE": "Accept the request",
"REFUSED": "Refuse",
diff --git a/android/app/src/main/res/raw/utils_i18n_fr.json b/android/app/src/main/res/raw/utils_i18n_fr.json
index 57d65afb..14f556c5 100644
--- a/android/app/src/main/res/raw/utils_i18n_fr.json
+++ b/android/app/src/main/res/raw/utils_i18n_fr.json
@@ -133,6 +133,7 @@
"ADDRESS": "Adresse",
"CREDIT": "Crédit",
"NEXT": "Suivant",
+ "PREVIOUS": "Précédent",
"SPONSOR_CODE": "Code parrain",
"SOLDE_UNVAIBLE": "solde non disponible",
"TEXT_BIG_CREATE_AGENT_1": "Inscrivez-vous en comme Agent",
@@ -189,6 +190,8 @@
"TRANSFER_COMMISSION_IMPOSSIBLE": "Transfert des commissions impossible",
"ERROR_FILTER_TEXT": "Probleme rencontré lors du filtrage.",
"ERROR_TREATMENT_DEMAND": "Erreur de traitement de la demande",
+ "ERROR_IDENTIFICATION": "Erreur d'identification",
+ "SUCCESS_IDENTIFICATION": "Identification réussie",
"REFUSER_DEMANDE": "Refuser la demande",
"REFUSED": "Refusé",
"ACCEPTER_DEMANDE": "Accepter la demande",
diff --git a/components/Camera/index.js b/components/Camera/index.js
new file mode 100644
index 00000000..0927116b
--- /dev/null
+++ b/components/Camera/index.js
@@ -0,0 +1,74 @@
+import React, { PureComponent } from 'react';
+import { RNCamera } from 'react-native-camera';
+
+import Icon from 'react-native-vector-icons/dist/FontAwesome';
+import { TouchableOpacity, Alert, StyleSheet } from 'react-native';
+
+
+export default class Camera extends PureComponent {
+ constructor(props) {
+ super(props);
+ this.state = {
+ takingPic: false,
+ };
+ }
+
+ takePicture = async () => {
+ if (this.camera && !this.state.takingPic) {
+
+ let options = {
+ quality: 0.85,
+ fixOrientation: true,
+ forceUpOrientation: true,
+ };
+
+ this.setState({ takingPic: true });
+
+ try {
+ const data = await this.camera.takePictureAsync(options);
+ this.props.onPicture(data);
+ } catch (err) {
+ Alert.alert('Error', 'Failed to take picture: ' + (err.message || err));
+ return;
+ } finally {
+ this.setState({ takingPic: false });
+ }
+
+ }
+ };
+
+ render() {
+ return (
+ {
+ this.camera = ref;
+ }}
+ captureAudio={false}
+ style={{ flex: 1 }}
+ type={RNCamera.Constants.Type.back}
+ androidCameraPermissionOptions={{
+ title: 'Permission to use camera',
+ message: 'We need your permission to use your camera',
+ buttonPositive: 'Ok',
+ buttonNegative: 'Cancel',
+ }}>
+
+
+
+
+ );
+ }
+}
+
+const styles = StyleSheet.create({
+ btnAlignment: {
+ flex: 1,
+ flexDirection: 'column',
+ justifyContent: 'flex-end',
+ alignItems: 'center',
+ marginBottom: 20,
+ },
+});
diff --git a/components/WizardStepper/index.js b/components/WizardStepper/index.js
new file mode 100644
index 00000000..e69de29b
diff --git a/datas/json/paiement_facture.json b/datas/json/paiement_facture.json
new file mode 100644
index 00000000..20b4f2e0
--- /dev/null
+++ b/datas/json/paiement_facture.json
@@ -0,0 +1 @@
+{"v":"5.6.1","fr":60,"ip":0,"op":240,"w":1920,"h":1080,"nm":"Comp 1","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"$$$ Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[885.25,900.75,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":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[-21.15,14.988],[-17.993,7.02],[-20.822,-0.292],[-30.175,-5.668],[-30.175,-16.957],[-20.792,-13.859],[-20.792,-21.901],[-30.175,-23.927],[-30.175,-29.348],[-34.523,-29.348],[-34.523,-23.808],[-43.28,-19.98],[-46.586,-12.013],[-44.04,-4.641],[-34.523,0.974],[-34.523,11.815],[-40.629,10.445],[-45.782,7.854],[-45.782,16.104],[-34.523,18.845],[-34.523,25.129],[-30.175,25.129],[-30.175,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-38.664,-12.519],[-34.523,-16.838],[-34.523,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[-25.916,7.437],[-30.175,11.696],[-30.175,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[13.937,14.988],[17.094,7.02],[14.265,-0.292],[4.912,-5.668],[4.912,-16.957],[14.294,-13.859],[14.294,-21.901],[4.912,-23.927],[4.912,-29.348],[0.563,-29.348],[0.563,-23.808],[-8.193,-19.98],[-11.5,-12.013],[-8.953,-4.641],[0.563,0.974],[0.563,11.815],[-5.542,10.445],[-10.695,7.854],[-10.695,16.104],[0.563,18.845],[0.563,25.129],[4.912,25.129],[4.912,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-3.577,-12.519],[0.563,-16.838],[0.563,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[9.171,7.437],[4.912,11.696],[4.912,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[963,554,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":[{"ty":"rc","d":1,"s":{"a":0,"k":[98,98],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":66,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-341,-79],"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":"Rectangle 13","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":9,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-251.5,151],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[178.571,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":"Rectangle 7","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-291.5,193],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 9","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-153.5,110],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 8","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-324.5,345],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 11","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-122.5,190],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 10","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-326.5,230],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 12","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-328.5,111],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 6","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-148.5,-34.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[114.286,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":"Rectangle 5","np":3,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-111,-75.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[66.447,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":"Rectangle 4","np":3,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-129.5,-115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[90.132,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":"Rectangle 3","np":3,"cix":2,"bm":0,"ix":11,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","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":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,117],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[72.583,74.384],"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":"Rectangle 2","np":3,"cix":2,"bm":0,"ix":12,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.652733564377,0.24313724041,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[80.587,80.587],"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":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":13,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0}]},{"id":"comp_1","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"$$$ Outlines 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[885.25,900.75,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":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[13.937,14.988],[17.094,7.02],[14.265,-0.292],[4.912,-5.668],[4.912,-16.957],[14.294,-13.859],[14.294,-21.901],[4.912,-23.927],[4.912,-29.348],[0.563,-29.348],[0.563,-23.808],[-8.193,-19.98],[-11.5,-12.013],[-8.953,-4.641],[0.563,0.974],[0.563,11.815],[-5.542,10.445],[-10.695,7.854],[-10.695,16.104],[0.563,18.845],[0.563,25.129],[4.912,25.129],[4.912,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-3.577,-12.519],[0.563,-16.838],[0.563,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[9.171,7.437],[4.912,11.696],[4.912,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[963,554,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":[{"ty":"rc","d":1,"s":{"a":0,"k":[98,98],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":66,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-341,-79],"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":"Rectangle 13","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":9,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-251.5,151],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[178.571,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":"Rectangle 7","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-291.5,193],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 9","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":10,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-264.5,345],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[152.685,100],"ix":3},"r":{"a":0,"k":0.266,"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":"Rectangle 11","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-326.5,230],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 12","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-328.5,111],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 6","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-111,-121.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[66.447,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":"Rectangle 4","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-129.5,-75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[90.132,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":"Rectangle 3","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","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":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,117],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[72.583,74.384],"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":"Rectangle 2","np":3,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.81568627451,0.485460318771,0.095963085399,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[80.587,80.587],"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":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0}]},{"id":"comp_2","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"$$$ Outlines 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[885.25,900.75,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":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[-21.15,14.988],[-17.993,7.02],[-20.822,-0.292],[-30.175,-5.668],[-30.175,-16.957],[-20.792,-13.859],[-20.792,-21.901],[-30.175,-23.927],[-30.175,-29.348],[-34.523,-29.348],[-34.523,-23.808],[-43.28,-19.98],[-46.586,-12.013],[-44.04,-4.641],[-34.523,0.974],[-34.523,11.815],[-40.629,10.445],[-45.782,7.854],[-45.782,16.104],[-34.523,18.845],[-34.523,25.129],[-30.175,25.129],[-30.175,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-38.664,-12.519],[-34.523,-16.838],[-34.523,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[-25.916,7.437],[-30.175,11.696],[-30.175,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[-21.15,14.988],[-17.993,7.02],[-20.822,-0.292],[-30.175,-5.668],[-30.175,-16.957],[-20.792,-13.859],[-20.792,-21.901],[-30.175,-23.927],[-30.175,-29.348],[-34.523,-29.348],[-34.523,-23.808],[-43.28,-19.98],[-46.586,-12.013],[-44.04,-4.641],[-34.523,0.974],[-34.523,11.815],[-40.629,10.445],[-45.782,7.854],[-45.782,16.104],[-34.523,18.845],[-34.523,25.129],[-30.175,25.129],[-30.175,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-38.664,-12.519],[-34.523,-16.838],[-34.523,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[-25.916,7.437],[-30.175,11.696],[-30.175,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-36,0],"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":"$ 2","np":6,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.105,2.016],[0,3.296],[1.886,2.016],[4.349,1.569],[0,0],[-2.78,-1.688],[0,0],[4.189,0.199],[0,0],[0,0],[0,0],[2.204,-2.194],[0,-3.117],[-1.698,-2.015],[-4.646,-1.728],[0,0],[2.283,0.794],[1.151,0.934],[0,0],[-4.031,-0.02],[0,0],[0,0],[0,0]],"o":[[2.105,-2.015],[0,-2.859],[-1.887,-2.015],[0,0],[3.475,0.377],[0,0],[-2.065,-1.151],[0,0],[0,0],[0,0],[-3.634,0.357],[-2.204,2.194],[0,2.899],[1.698,2.016],[0,0],[-1.787,-0.119],[-2.284,-0.794],[0,0],[3.475,1.807],[0,0],[0,0],[0,0],[3.912,-0.437]],"v":[[13.937,14.988],[17.094,7.02],[14.265,-0.292],[4.912,-5.668],[4.912,-16.957],[14.294,-13.859],[14.294,-21.901],[4.912,-23.927],[4.912,-29.348],[0.563,-29.348],[0.563,-23.808],[-8.193,-19.98],[-11.5,-12.013],[-8.953,-4.641],[0.563,0.974],[0.563,11.815],[-5.542,10.445],[-10.695,7.854],[-10.695,16.104],[0.563,18.845],[0.563,25.129],[4.912,25.129],[4.912,18.666]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,2.045],[-2.76,0.497],[0,0]],"o":[[0,-2.383],[0,0],[-2.76,-1.37]],"v":[[-3.577,-12.519],[0.563,-16.838],[0.563,-7.396]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,-1.946],[2.839,-0.437],[0,0]],"o":[[0,2.403],[0,0],[2.839,1.231]],"v":[[9.171,7.437],[4.912,11.696],[4.912,2.671]],"c":true},"ix":2},"nm":"$","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 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":[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":"$","np":6,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Shape Layer 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[963,554,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":[{"ty":"rc","d":1,"s":{"a":0,"k":[98,98],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":66,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-341,-79],"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":"Rectangle 13","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-291.5,193],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 9","np":3,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-153.5,110],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[125.433,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":"Rectangle 8","np":3,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-14.182,41],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 11","np":3,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[-324.5,303],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 11","np":4,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-190.5,150],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 10","np":3,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-326.5,152],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 12","np":3,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-328.5,111],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[77.34,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":"Rectangle 6","np":3,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-148.5,-50.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[114.286,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":"Rectangle 5","np":3,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[154,28],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.180392156863,0.180392156863,0.180392156863,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-129.5,-95],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[90.132,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":"Rectangle 3","np":3,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","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":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,117],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[72.583,74.384],"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":"Rectangle 2","np":3,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[514,782],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":24,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":0,"ix":5},"lc":1,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.509803921569,0.27956312591,0.007996923783,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-225,115],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[80.587,80.587],"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":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":11,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"Invoice 1","refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":2,"s":[1117,537,0],"e":[1117,416,0],"to":[0,-20.167,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":22,"s":[1117,416,0],"e":[1117,537,0],"to":[0,0,0],"ti":[0,-20.167,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":42,"s":[1117,537,0],"e":[1117,537,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":62,"s":[1117,537,0],"e":[1117,537,0],"to":[0,0,0],"ti":[0,0,0]},{"t":82}],"ix":2},"a":{"a":0,"k":[960,540,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1920,"h":1080,"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":0,"nm":"Invoice 2","refId":"comp_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.214],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":93,"s":[0],"e":[6]},{"i":{"x":[0.581],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":112,"s":[6],"e":[6]},{"i":{"x":[0],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":212,"s":[6],"e":[0]},{"t":232}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":2,"s":[1175,497,0],"e":[1175,497,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":22,"s":[1175,497,0],"e":[1175,402,0],"to":[0,-15.833,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":42,"s":[1175,402,0],"e":[1175,497,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":62,"s":[1175,497,0],"e":[1175,402,0],"to":[0,0,0],"ti":[0,15.833,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":82,"s":[1175,402,0],"e":[1175,402,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":102,"s":[1175,402,0],"e":[1643,402,0],"to":[78,0,0],"ti":[-78,0,0]},{"i":{"x":0.559,"y":0.559},"o":{"x":0.333,"y":0.333},"t":122,"s":[1643,402,0],"e":[1643,402,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":202,"s":[1643,402,0],"e":[1175,402,0],"to":[-78,0,0],"ti":[78,0,0]},{"i":{"x":0,"y":0},"o":{"x":0.333,"y":0.333},"t":220,"s":[1175,402,0],"e":[1175,402,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.333,"y":0},"t":230,"s":[1175,402,0],"e":[1175,497,0],"to":[0,15.833,0],"ti":[0,-15.833,0]},{"t":241}],"ix":2},"a":{"a":0,"k":[960,540,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.237,0.237,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":122,"s":[100,100,100],"e":[110,110,100]},{"i":{"x":[0.452,0.452,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":142,"s":[110,110,100],"e":[110,110,100]},{"i":{"x":[0.237,0.237,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":182,"s":[110,110,100],"e":[100,100,100]},{"t":202}],"ix":6}},"ao":0,"w":1920,"h":1080,"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":0,"nm":"Invoice 3","refId":"comp_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":2,"s":[1234,455,0],"e":[1234,455,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":0.237},"o":{"x":0.333,"y":0.333},"t":22,"s":[1234,455,0],"e":[1234,455,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":42,"s":[1234,455,0],"e":[1234,353,0],"to":[0,-17,0],"ti":[0,0,0]},{"i":{"x":0.237,"y":1},"o":{"x":0.333,"y":0},"t":62,"s":[1234,353,0],"e":[1234,455,0],"to":[0,0,0],"ti":[0,-17,0]},{"t":82}],"ix":2},"a":{"a":0,"k":[960,540,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"w":1920,"h":1080,"ip":0,"op":240,"st":0,"bm":0}],"markers":[]}
\ No newline at end of file
diff --git a/ios/iLink/Info.plist b/ios/iLink/Info.plist
index e918cd28..ca3f93eb 100644
--- a/ios/iLink/Info.plist
+++ b/ios/iLink/Info.plist
@@ -39,6 +39,23 @@
NSLocationWhenInUseUsageDescription
+ NSCameraUsageDescription
+ ReactNativeCamera
+
+ NSCameraUsageDescription
+ Your message to user when the camera is accessed for the first time
+
+
+ NSPhotoLibraryAddUsageDescription
+ Your message to user when the photo library is accessed for the first time
+
+
+ NSPhotoLibraryUsageDescription
+ Your message to user when the photo library is accessed for the first time
+
+
+ NSMicrophoneUsageDescription
+ Your message to user when the microphone is accessed for the first time
UILaunchStoryboardName
LaunchScreen
UIRequiredDeviceCapabilities
diff --git a/package.json b/package.json
index f4bf2fb7..4bfc3a74 100644
--- a/package.json
+++ b/package.json
@@ -33,6 +33,7 @@
"react-native-blur-overlay": "^1.0.6",
"react-native-bottom-sheet-behavior": "^2.0.0",
"react-native-calendario": "^0.2.10",
+ "react-native-camera": "^3.30.0",
"react-native-cardview": "^2.0.2",
"react-native-copilot": "^2.4.3",
"react-native-credit-card-input": "^0.4.1",
diff --git a/redux/actions/IdentificationAction.js b/redux/actions/IdentificationAction.js
index b4a7542d..42fc53ea 100644
--- a/redux/actions/IdentificationAction.js
+++ b/redux/actions/IdentificationAction.js
@@ -1,4 +1,4 @@
-import { CREATE_IDENTIFICATION_PENDING, CREATE_IDENTIFICATION_SUCCESS, CREATE_IDENTIFICATION_ERROR, CREATE_IDENTIFICATION_RESET } from "../types/IdentificationType";
+import { CREATE_IDENTIFICATION_PENDING, CREATE_IDENTIFICATION_SUCCESS, CREATE_IDENTIFICATION_ERROR, CREATE_IDENTIFICATION_RESET, GET_NUMBER_DETAIL_PENDING, GET_NUMBER_DETAIL_SUCCESS, GET_NUMBER_DETAIL_ERROR, GET_NUMBER_DETAIL_RESET } from "../types/IdentificationType";
export const fetchCreateIdentificationPending = () => ({
type: CREATE_IDENTIFICATION_PENDING
@@ -16,4 +16,22 @@ export const fetchCreateIdentificationError = (error) => ({
export const fetchCreateIdentificationReset = () => ({
type: CREATE_IDENTIFICATION_RESET
+});
+
+export const fetchGetNumberInformationPending = () => ({
+ type: GET_NUMBER_DETAIL_PENDING
+});
+
+export const fetchGetNumberInformationSuccess = (res) => ({
+ type: GET_NUMBER_DETAIL_SUCCESS,
+ result: res,
+});
+
+export const fetchGetNumberInformationError = (error) => ({
+ type: GET_NUMBER_DETAIL_ERROR,
+ result: error
+});
+
+export const fetchGetNumberInformationReset = () => ({
+ type: GET_NUMBER_DETAIL_RESET
});
\ No newline at end of file
diff --git a/redux/reducers/GetNumberInformation.js b/redux/reducers/GetNumberInformation.js
new file mode 100644
index 00000000..30627044
--- /dev/null
+++ b/redux/reducers/GetNumberInformation.js
@@ -0,0 +1,33 @@
+import { GET_NUMBER_DETAIL_PENDING, GET_NUMBER_DETAIL_SUCCESS, GET_NUMBER_DETAIL_ERROR, GET_NUMBER_DETAIL_RESET } from "../types/IdentificationType";
+
+const initialState = {
+ loading: false,
+ result: null,
+ error: null
+};
+
+export default (state = initialState, action) => {
+ switch (action.type) {
+ case GET_NUMBER_DETAIL_PENDING: return {
+ ...state,
+ loading: true
+ }
+ case GET_NUMBER_DETAIL_SUCCESS: return {
+ ...state,
+ loading: false,
+ result: action.result.data,
+ error: null
+ }
+ case GET_NUMBER_DETAIL_ERROR: return {
+ ...state,
+ loading: false,
+ result: null,
+ error: action.result
+ }
+ case GET_NUMBER_DETAIL_RESET: return initialState;
+
+ default: {
+ return state;
+ }
+ }
+};
diff --git a/redux/reducers/index.js b/redux/reducers/index.js
index d3c4dd33..41d8b210 100644
--- a/redux/reducers/index.js
+++ b/redux/reducers/index.js
@@ -9,6 +9,7 @@ import WalletGetCommissionReducer from "./WalletGetCommissionReducer";
import walletHistoryReducer from "./WalletTransactionHistoryReducer";
import walletTransferCommissionReducer from "./WalletTransferCommission";
import CreateIdentificationReducer from "./IdentificationReducer";
+import GetNumberInformation from "./GetNumberInformation";
import { persistCombineReducers } from "redux-persist";
import { AsyncStorage } from "react-native";
@@ -29,7 +30,8 @@ const rootReducer = persistCombineReducers(persistConfig, {
creditTreatDemandReducer: creditTreatDemandReducer,
creditCancelDemandReducer: creditCancelDemandReducer,
walletGetCommission: WalletGetCommissionReducer,
- createIdentificationReducer: CreateIdentificationReducer
+ createIdentificationReducer: CreateIdentificationReducer,
+ getNumberInformationReducer: GetNumberInformation
});
export default rootReducer;
\ No newline at end of file
diff --git a/redux/types/IdentificationType.js b/redux/types/IdentificationType.js
index d3b8c014..1e3abe67 100644
--- a/redux/types/IdentificationType.js
+++ b/redux/types/IdentificationType.js
@@ -1,4 +1,9 @@
export const CREATE_IDENTIFICATION_PENDING = 'CREATE_IDENTIFICATION_PENDING';
export const CREATE_IDENTIFICATION_SUCCESS = 'CREATE_IDENTIFICATION_SUCCESS';
export const CREATE_IDENTIFICATION_ERROR = 'CREATE_IDENTIFICATION_ERROR';
-export const CREATE_IDENTIFICATION_RESET = 'CREATE_IDENTIFICATION_RESET';
\ No newline at end of file
+export const CREATE_IDENTIFICATION_RESET = 'CREATE_IDENTIFICATION_RESET';
+
+export const GET_NUMBER_DETAIL_PENDING = 'GET_NUMBER_DETAIL_PENDING';
+export const GET_NUMBER_DETAIL_SUCCESS = 'GET_NUMBER_DETAIL_SUCCESS';
+export const GET_NUMBER_DETAIL_ERROR = 'GET_NUMBER_DETAIL_ERROR';
+export const GET_NUMBER_DETAIL_RESET = 'GET_NUMBER_DETAIL_RESET';
\ No newline at end of file
diff --git a/route.json b/route.json
index 0c4c12f2..d9804c16 100644
--- a/route.json
+++ b/route.json
@@ -34,5 +34,6 @@
"walletSelect": "walletSelect",
"walletOptionSelect": "walletOptionSelect",
"createIdentification": "createIdentification",
+ "createIdentificationUser": "createIdentificationUser",
"validateIdentification": "validateIdentification"
}
diff --git a/screens/identification/CreateIdentificationUser.js b/screens/identification/CreateIdentificationUser.js
new file mode 100644
index 00000000..a39bcabd
--- /dev/null
+++ b/screens/identification/CreateIdentificationUser.js
@@ -0,0 +1,625 @@
+import React, { Component } from 'react';
+import { Alert, ActivityIndicator, StyleSheet, Text, View, Image, ScrollView, Platform, ProgressBarAndroid, PermissionsAndroid, Keyboard } from 'react-native';
+import PropTypes from 'prop-types';
+import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome';
+import Ionicons from 'react-native-vector-icons/Ionicons';
+import Icon from 'react-native-vector-icons/MaterialIcons';
+import { responsiveHeight, responsiveWidth, responsiveFontSize } from 'react-native-responsive-dimensions';
+import { Fumi, Kaede } from 'react-native-textinput-effects'
+import * as Animatable from 'react-native-animatable';
+import Button from 'apsl-react-native-button';
+let theme = require('./../../utils/theme.json');
+let route = require('./../../route.json');
+import I18n from 'react-native-i18n';
+import isEqual from 'lodash/isEqual';
+import isNil from 'lodash/isNil';
+import { Color } from '../../config/Color';
+import DateTimePicker from '@react-native-community/datetimepicker';
+import { Dropdown } from 'react-native-material-dropdown';
+import { getPositionInformation } from './../../webservice/MapService';
+import { ProgressDialog } from 'react-native-simple-dialogs';
+import { getCountryNetwork, createGeolocatedAccount, createUserAccount, getTownInformationName, getListCountriesActive, getCodeInformation, readUser } from './../../webservice/AuthApi';
+import { SinglePickerMaterialDialog, MultiPickerMaterialDialog, MaterialDialog } from "react-native-material-dialog";
+import Geolocation from 'react-native-geolocation-service';
+import { identityPieces } from '../../utils/UtilsFunction';
+import { connect } from 'react-redux';
+import { bindActionCreators } from 'redux';
+import { createIndentificationAction, createIndentificationResetAction } from '../../webservice/IdentificationApi';
+const GEOLOCATION_OPTIONS = { enableHighAccuracy: true, timeout: 20000, maximumAge: 1000, useSignificantChanges: true };
+const moment = require('moment');
+
+class CreateIdentificationUser extends Component {
+ static navigatorStyle = {
+ navBarBackgroundColor: Color.primaryColor,
+ statusBarColor: Color.primaryDarkColor,
+ navBarTextColor: '#FFFFFF',
+ navBarButtonColor: '#FFFFFF'
+
+ };
+
+ static navigationOptions = () => {
+ return {
+ drawerLabel: () => null,
+ headerTitle: I18n.t('CREATION_IDENTIFICATION_DESCRIPTION'),
+ headerTintColor: 'white',
+ headerStyle: {
+ backgroundColor: Color.primaryColor,
+ marginTop: 0,
+ color: 'white'
+ },
+ headerTitleStyle: {
+ color: "white"
+ },
+ title: I18n.t('CREATION_IDENTIFICATION_DESCRIPTION')
+ }
+ };
+
+ constructor(props) {
+ super(props);
+ this.state = {
+ lastname: '',
+ numeroIdentite: null,
+ dateNaissance: null,
+ dateExpiration: null,
+ networksinglePickerVisible: false,
+ isLoging: false,
+ countries: [],
+ town: [],
+ townName: null,
+ country: null,
+ identityPieces: identityPieces(),
+ identityPiecesName: (identityPieces()[0]).name,
+ snackVisible: false,
+ snackText: '',
+ disableNetwork: false,
+ networks: [],
+ showPickerDateNaissance: false,
+ showPickerDateExpiration: false,
+ modalVisible: true,
+ select_network: I18n.t("SELECT_NETWORK"),
+ user: null,
+ triggerSubmitClick: false
+ };
+ this.dateNaissanceFumiProps = {};
+ this.dateExpirationFumiProps = {};
+ this.props.createIndentificationResetAction();
+ }
+
+ componentDidMount() {
+
+ readUser().then((user) => {
+ if (user) {
+ if (user !== undefined) {
+ this.setState({
+ user,
+ lastname: `${user.firstname} ${user.lastname}`
+ });
+ }
+ }
+ });
+
+ if (Platform.OS === 'android') {
+ this.requestCameraPermission();
+ } else {
+ this.watchLocation();
+ }
+
+ }
+
+ renderCreateIdentificationResponse() {
+ const { result, error } = this.props;
+
+ console.log("PROPS", this.props);
+
+ if (result !== null) {
+ if (typeof result.response !== 'undefined') {
+ Alert.alert(
+ I18n.t('SUCCESS_IDENTIFICATION'),
+ result.response,
+ [
+ {
+ text: I18n.t("OK"), onPress: () => {
+ this.props.createIndentificationResetAction();
+ this.setState({ triggerSubmitClick: false });
+ this.props.navigation.pop();
+ }
+ }
+
+ ],
+ { cancelable: false }
+ )
+ }
+ }
+
+ if (error !== null) {
+ if (typeof error.data !== 'undefined') {
+ Alert.alert(
+ I18n.t('ERROR_IDENTIFICATION'),
+ error.data.error,
+ [
+ {
+ text: I18n.t("OK"), onPress: () => {
+ this.props.createIndentificationResetAction();
+ this.setState({ triggerSubmitClick: false });
+ }
+ }
+
+ ],
+ { cancelable: false }
+ )
+ } else {
+ Alert.alert(
+ I18n.t('ERROR_IDENTIFICATION'),
+ JSON.stringify(error),
+ [
+ {
+ text: I18n.t("OK"), onPress: () => {
+ this.props.createIndentificationResetAction();
+ }
+ }
+
+ ],
+ { cancelable: false }
+ )
+ }
+ }
+ }
+
+
+ componentWillUpdate(nextProps, nextState) {
+ let dateNaissance = nextState.dateNaissance || new Date();
+
+ if (this.state.showPickerDateNaissance)
+ this.dateNaissanceFumiProps.value = moment(dateNaissance).format('DD-MM-YYYY');
+ if (this.state.showPickerDateExpiration)
+ this.dateExpirationFumiProps.value = moment(nextState.dateExpiration).format('DD-MM-YYYY');
+ }
+
+ componentWillUnmount() {
+ this.mounted = false;
+ if (this.watchID) Geolocation.clearWatch(this.watchID);
+ }
+
+ showErrorDialog() {
+ this.setState({ modalDialog: false })
+ Aler.alert("Une erreur est survenue", "Impossible de récuperer des informations du pays verifier que votre gps est activé," +
+ "et que vous êtes connecté à internet puis ressayer", [{
+ text: "Recommencer", onPress: () => {
+ this.watchLocation()
+ }
+ }, { text: "Annuler", onPress: () => { this.props.navigation.popToTop() } }])
+ }
+
+ async watchLocation() {
+ Geolocation.getCurrentPosition((position) => {
+ this.treatPosition(position)
+ }, (e) => {
+ this.showErrorDialog()
+ }, this.props.geolocationOptions);
+ if (!this.watchID) {
+ Geolocation.watchPosition((position) => { this.treatPosition(position) }, (e) => { this.showErrorDialog() }, this.props.geolocationOptions)
+ }
+ }
+
+ async requestCameraPermission() {
+ try {
+ const granted = await PermissionsAndroid.request(
+ PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
+ {
+ 'title': 'Cool Photo App Camera Permission',
+ 'message': 'Cool Photo App needs access to your camera ' +
+ 'so you can take awesome pictures.'
+ }
+ )
+ if (granted === PermissionsAndroid.RESULTS.GRANTED) {
+ this.watchLocation();
+ } else {
+ this.setState({ modalDialog: false })
+ Alert.alert("Echec à l'autorisation",
+ "L'application n'est pas autorisé à acceder à votre position veuillez verifier que votre GPS est activé et configurer en mode Haute Precision",
+ [{
+ text: "Ok", onPress: () => {
+ this.props.navigation.popToTop()
+ }
+ }])
+ }
+ } catch (err) {
+ this.setState({ modalDialog: false })
+ Alert.alert("Une erreur est Survenue",
+ "Une erreur est survenu lors du demarrage de l'application veuillez relancer l'application",
+ [{
+ text: "Ok", onPress: () => {
+ BackHandler.exitApp()
+ }
+ }])
+ }
+ }
+
+ treatPosition(position) {
+ const myLastPosition = this.state.myPosition;
+ const myPosition = position.coords;
+
+ if (!isEqual(myPosition, myLastPosition)) {
+ getPositionInformation(myPosition).then((response) => {
+ if (response.results !== undefined) {
+ if (response.results.length > 0) {
+ let most = response.results[0]
+ let { address_components, formatted_address, place_id } = most
+ this.setState({ address: address_components, textadress: formatted_address, place: place_id })
+
+ let results = response.results;
+ let shortcountry;
+ let mcountry;
+ for (let i = 0; i < results[0].address_components.length; i++) {
+ for (let j = 0; j < results[0].address_components[i].types.length; j++) {
+ if (results[0].address_components[i].types[j] === "country") {
+ mcountry = results[0].address_components[i];
+ shortcountry = mcountry.short_name;
+ this.setState({ shortCountry: mcountry.short_name, longCountry: mcountry.long_name })
+ } else if (results[0].address_components[i].types[j] === "locality") {
+ const name = results[0].address_components[i].short_name;
+ this.setState({ townName: name });
+ getTownInformationName(name).then((result) => {
+ let town = null;
+ if (result instanceof Array) {
+ town = result[0];
+ } else {
+ town = result;
+ }
+
+ this.setState({ modalVisible: false, town: new Array(town) });
+ })
+ }
+ }
+ }
+ getListCountriesActive().then((cnt) => {
+ this.setState({ countries: cnt })
+ console.debug(cnt, shortcountry);
+ var found = false
+ for (let i of cnt) {
+ if (i.code_country === shortcountry) {
+ found = true;
+ this.setState({ modalVisible: false, country: i.name })
+ /* this.getNetworks(i.code_dial); */
+ }
+ }
+ if (!found) {
+ Alert.alert("Impossible de recupérer vos informations", "Nous n'avons pas pu recuperer les informations de votre pays veuillez contacter les administrateurs", [{ text: "OK" }]);
+
+ }
+ })
+
+
+ }
+
+ }
+ }).catch((e) => {
+ this.showErrorDialog()
+ });
+ this.setState({ myPosition: myPosition });
+ /* if (this.mapRef !== undefined && this.mapRef !== null) {
+ this.mapRef.animateToCoordinate({
+ latitude: myPosition.latitude,
+ longitude: myPosition.longitude
+ }, 1000);
+ this.mapRef.animateToRegion({
+ latitude: myPosition.latitude,
+ longitude: myPosition.longitude,
+ latitudeDelta: 0.03,
+ longitudeDelta: 0.01,
+ }, 1000)
+ } */
+ }
+
+ }
+
+
+ onChangeDateNaissance = (event, selectedDate) => {
+ let dateNaissance = isNil(this.state.dateNaissance) ? new Date() : this.state.dateNaissance;
+ const currentDate = selectedDate || dateNaissance;
+ this.setState({
+ showPickerDateNaissance: Platform.OS === 'ios' || false,
+ dateNaissance: currentDate,
+ });
+ };
+
+ onChangeDateExpiration = (event, selectedDate) => {
+ let dateExpiration = isNil(this.state.dateExpiration) ? new Date() : this.state.dateExpiration;
+ const currentDate = selectedDate || dateExpiration;
+ this.setState({
+ showPickerDateExpiration: Platform.OS === 'ios' || false,
+ dateExpiration: currentDate,
+ });
+ };
+
+ ckeckIfFieldIsOK(champ) {
+ return (isNil(champ) || isEqual(champ.length, 0));
+ }
+
+ onSubmitIdentityClient = () => {
+ const { lastname, numeroIdentite, dateNaissance, dateExpiration, country, townName, identityPiecesName } = this.state;
+
+ if (this.ckeckIfFieldIsOK(lastname))
+ this.lastnameAnim.shake(800);
+ else if (this.ckeckIfFieldIsOK(dateNaissance))
+ this.datenaissanceAnim.shake(800);
+ else if (this.ckeckIfFieldIsOK(country))
+ this.countryAnim.shake(800);
+ else if (this.ckeckIfFieldIsOK(townName))
+ this.townAnim.shake(800);
+ else if (this.ckeckIfFieldIsOK(identityPiecesName))
+ this.identityPiecesAnim.shake(800);
+ else if (this.ckeckIfFieldIsOK(numeroIdentite))
+ this.numeroIdentiteAnim.shake(800);
+ else if (this.ckeckIfFieldIsOK(dateExpiration))
+ this.identityDateExpiryAnim.shake(800);
+ else {
+ this.props.createIndentificationAction({
+ lastname: this.state.lastname,
+ firstname: "",
+ birth_date: moment(this.state.dateNaissance).format('DD-MM-YYYY'),
+ town: this.state.townName,
+ country: this.state.country,
+ identity_document: this.state.identityPiecesName,
+ id_identity_document: this.state.numeroIdentite,
+ expiry_date_document: moment(this.state.dateExpiration).format('DD-MM-YYYY'),
+ phone_number: null,
+ id_user: 321
+ });
+ }
+ this.setState({
+ triggerSubmitClick: true
+ })
+
+ }
+
+ renderLoaderModal() {
+ return (
+
+
+ {I18n.t("LOADING_DESCRIPTION_COUNTRY")}
+
+
+ )
+ }
+
+ renderLoader = () => {
+ return (
+
+ )
+ }
+
+ renderDateNaissancePicker = () => {
+ return (
+
+ );
+ }
+
+ renderDateExpirationPicker = () => {
+ return (
+
+ );
+ }
+
+ render() {
+ console.log("STATE", this.state);
+ return (
+ <>
+ {this.state.showPickerDateNaissance && this.renderDateNaissancePicker()}
+ {this.state.showPickerDateExpiration && this.renderDateExpirationPicker()}
+ {this.state.modalVisible && this.renderLoaderModal()}
+ {this.props.loading && this.renderLoader()}
+ {this.state.triggerSubmitClick && this.renderCreateIdentificationResponse()}
+
+ {I18n.t('CREATE_IDENTIFICATION_TITLE')}
+ { this.lastnameAnim = comp }}>
+ {
+ this.setState({ lastname })
+ }}
+ style={styles.input}
+ >
+
+
+ { this.datenaissanceAnim = comp }}>
+ {
+ Keyboard.dismiss();
+ this.setState({ showPickerDateNaissance: true })
+ }}
+ {...this.dateNaissanceFumiProps}>
+
+
+ { this.countryAnim = comp }}
+ style={{
+ width: responsiveWidth(90),
+ height: 60,
+ marginTop: 20,
+ alignSelf: 'center',
+ borderRadius: 10,
+ paddingLeft: 20,
+ paddingRight: 20,
+ backgroundColor: 'white'
+ }}>
+ {
+ this.setState({ country: value });
+ }}
+ valueExtractor={(value) => { return value.name }}
+ labelExtractor={(value) => { return value.name }}
+ />
+
+ { this.townAnim = comp }}
+ style={{
+ width: responsiveWidth(90),
+ height: 60,
+ marginTop: 20,
+ alignSelf: 'center',
+ borderRadius: 10,
+ paddingLeft: 20,
+ paddingRight: 20,
+ backgroundColor: 'white'
+ }}>
+ {
+ this.setState({ townName: value });
+ }}
+ valueExtractor={(value) => { return value.name }}
+ labelExtractor={(value) => { return value.name }}
+ />
+
+ { this.identityPiecesAnim = comp }}
+ style={{
+ width: responsiveWidth(90),
+ height: 60,
+ marginTop: 20,
+ alignSelf: 'center',
+ borderRadius: 10,
+ paddingLeft: 20,
+ paddingRight: 20,
+ backgroundColor: 'white'
+ }}>
+ {
+ this.setState({ identityPiecesName: value });
+ }}
+ valueExtractor={(value) => { return value.name }}
+ labelExtractor={(value) => { return value.name }}
+ />
+
+ { this.numeroIdentiteAnim = comp }}>
+ {
+ this.setState({ numeroIdentite })
+ }}
+ style={styles.input}
+ >
+
+
+ { this.identityDateExpiryAnim = comp }}>
+ {
+ Keyboard.dismiss();
+ this.setState({ showPickerDateExpiration: true })
+ }}
+ {...this.dateExpirationFumiProps}>
+
+
+
+
+
+
+ >
+ )
+ }
+}
+
+const maptStateToProps = state => ({
+ loading: state.createIdentificationReducer.loading,
+ result: state.createIdentificationReducer.result,
+ error: state.createIdentificationReducer.error,
+});
+
+const mapDispatchToProps = dispatch => bindActionCreators({
+ createIndentificationAction,
+ createIndentificationResetAction
+}, dispatch);
+
+export default connect(maptStateToProps, mapDispatchToProps)(CreateIdentificationUser);
+
+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,
+ },
+ subbigtitle: {
+ color: 'white',
+ fontSize: 17,
+ textAlign: 'center',
+ margin: 5,
+ },
+ btnvalide: {
+ marginTop: 20,
+ marginLeft: 20,
+ marginRight: 20,
+ borderColor: 'transparent',
+ backgroundColor: Color.accentLightColor,
+ height: 52
+ },
+ input: {
+ height: 60,
+ marginTop: responsiveHeight(2),
+ marginLeft: responsiveWidth(5),
+ marginRight: responsiveWidth(5),
+ borderRadius: 5,
+ }
+});
\ No newline at end of file
diff --git a/screens/identification/createIdentification.js b/screens/identification/createIdentification.js
index bc8db083..8b913630 100644
--- a/screens/identification/createIdentification.js
+++ b/screens/identification/createIdentification.js
@@ -24,7 +24,7 @@ import Geolocation from 'react-native-geolocation-service';
import { identityPieces } from '../../utils/UtilsFunction';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
-import { createIndentificationAction, createIndentificationResetAction } from '../../webservice/IdentificationApi';
+import { createIndentificationAction, createIndentificationResetAction, getNumberResetAction, getNumberDetailAction } from '../../webservice/IdentificationApi';
const GEOLOCATION_OPTIONS = { enableHighAccuracy: true, timeout: 20000, maximumAge: 1000, useSignificantChanges: true };
const moment = require('moment');
@@ -66,6 +66,7 @@ class CreateIdentification extends Component {
numeroTelephone: null,
networksinglePickerVisible: false,
confirmpassanim: null,
+ userId: null,
isLoging: false,
countries: [],
town: [],
@@ -82,11 +83,15 @@ class CreateIdentification extends Component {
modalVisible: true,
select_network: I18n.t("SELECT_NETWORK"),
user: null,
- triggerSubmitClick: false
+ triggerSubmitClick: false,
+ triggerNextClick: false,
+ displayFirstStep: true,
+ displaySecondStep: false,
};
this.dateNaissanceFumiProps = {};
this.dateExpirationFumiProps = {};
this.props.createIndentificationResetAction();
+ this.props.getNumberResetAction();
}
componentDidMount() {
@@ -115,12 +120,14 @@ class CreateIdentification extends Component {
if (result !== null) {
if (typeof result.response !== 'undefined') {
Alert.alert(
- "SUCCES",
- JSON.stringify(result.response),
+ I18n.t('SUCCESS_IDENTIFICATION'),
+ result.response,
[
{
text: I18n.t("OK"), onPress: () => {
this.props.createIndentificationResetAction();
+ this.setState({ triggerSubmitClick: false });
+ this.props.navigation.pop();
}
}
@@ -133,12 +140,13 @@ class CreateIdentification extends Component {
if (error !== null) {
if (typeof error.data !== 'undefined') {
Alert.alert(
- "ERREUR",
- JSON.stringify(error.data),
+ I18n.t('ERROR_IDENTIFICATION'),
+ error.data.error,
[
{
text: I18n.t("OK"), onPress: () => {
this.props.createIndentificationResetAction();
+ this.setState({ triggerSubmitClick: false });
}
}
@@ -147,7 +155,7 @@ class CreateIdentification extends Component {
)
} else {
Alert.alert(
- "ERREUR",
+ I18n.t('ERROR_IDENTIFICATION'),
JSON.stringify(error),
[
{
@@ -162,9 +170,12 @@ class CreateIdentification extends Component {
}
}
}
+
componentWillUpdate(nextProps, nextState) {
+ let dateNaissance = nextState.dateNaissance || new Date();
+
if (this.state.showPickerDateNaissance)
- this.dateNaissanceFumiProps.value = moment(nextState.dateNaissance).format('DD-MM-YYYY');
+ this.dateNaissanceFumiProps.value = moment(dateNaissance).format('DD-MM-YYYY');
if (this.state.showPickerDateExpiration)
this.dateExpirationFumiProps.value = moment(nextState.dateExpiration).format('DD-MM-YYYY');
}
@@ -308,21 +319,41 @@ class CreateIdentification extends Component {
}
onChangeDateNaissance = (event, selectedDate) => {
- const currentDate = selectedDate || new Date();
+ let dateNaissance = isNil(this.state.dateNaissance) ? new Date() : this.state.dateNaissance;
+ const currentDate = selectedDate || dateNaissance;
this.setState({
showPickerDateNaissance: Platform.OS === 'ios' || false,
- dateNaissance: moment(currentDate).format('DD-MM-YYYY'),
+ dateNaissance: currentDate,
});
};
onChangeDateExpiration = (event, selectedDate) => {
- const currentDate = selectedDate || new Date();
+ let dateExpiration = isNil(this.state.dateExpiration) ? new Date() : this.state.dateExpiration;
+ const currentDate = selectedDate || dateExpiration;
this.setState({
showPickerDateExpiration: Platform.OS === 'ios' || false,
- dateExpiration: moment(currentDate).format('DD-MM-YYYY'),
+ dateExpiration: currentDate,
});
};
+ onSubmitNextStep = () => {
+
+ const { numeroTelephone } = this.state;
+ this.props.getNumberResetAction();
+ if (this.ckeckIfFieldIsOK(numeroTelephone))
+ this.numeroTelephoneAnim.shake(800);
+ else {
+ this.props.getNumberDetailAction(numeroTelephone);
+ this.setState({ triggerNextClick: true });
+ }
+ }
+ onSubmitPrevious = () => {
+ this.setState({
+ displayFirstStep: !this.state.displayFirstStep,
+ displaySecondStep: !this.state.displaySecondStep,
+ })
+ }
+
ckeckIfFieldIsOK(champ) {
return (isNil(champ) || isEqual(champ.length, 0));
}
@@ -332,8 +363,6 @@ class CreateIdentification extends Component {
if (this.ckeckIfFieldIsOK(lastname))
this.lastnameAnim.shake(800);
- if (this.ckeckIfFieldIsOK(numeroTelephone))
- this.numeroTelephoneAnim.shake(800);
else if (this.ckeckIfFieldIsOK(dateNaissance))
this.datenaissanceAnim.shake(800);
else if (this.ckeckIfFieldIsOK(country))
@@ -347,16 +376,18 @@ class CreateIdentification extends Component {
else if (this.ckeckIfFieldIsOK(dateExpiration))
this.identityDateExpiryAnim.shake(800);
else {
+ moment(dateNaissance).format('DD-MM-YYYY')
this.props.createIndentificationAction({
lastname: this.state.lastname,
firstname: "",
- birth_date: this.state.dateNaissance,
+ birth_date: moment(this.state.dateNaissance).format('DD-MM-YYYY'),
town: this.state.townName,
country: this.state.country,
identity_document: this.state.identityPiecesName,
id_identity_document: this.state.numeroIdentite,
- expiry_date_document: this.state.dateExpiration,
- id_user: 321
+ expiry_date_document: moment(this.state.dateExpiration).format('DD-MM-YYYY'),
+ phone_number: this.state.numeroTelephone,
+ id_user: this.state.userId
});
}
this.setState({
@@ -365,6 +396,75 @@ class CreateIdentification extends Component {
}
+ renderGetNumberResponse = () => {
+
+ const { resultNumberDetail, errorNumberDetail } = this.props;
+
+ console.log("PROPS", this.props);
+
+ if (resultNumberDetail !== null) {
+ if (resultNumberDetail.status === 200) {
+ this.setState({
+ lastname: resultNumberDetail.response.lastname,
+ userId: resultNumberDetail.response.id,
+ displayFirstStep: !this.state.displayFirstStep,
+ displaySecondStep: !this.state.displaySecondStep,
+ });
+ this.props.getNumberResetAction();
+ }
+ /* if (typeof resultNumberDetail.response !== 'undefined') {
+ Alert.alert(
+ "SUCCES",
+ JSON.stringify(resultNumberDetail.response),
+ [
+ {
+ text: I18n.t("OK"), onPress: () => {
+ this.props.getNumberResetAction();
+ this.setState({ triggerNextClick: false })
+ }
+ }
+
+ ],
+ { cancelable: false }
+ )
+ } */
+ }
+
+ if (errorNumberDetail !== null) {
+ if (typeof errorNumberDetail.data !== 'undefined') {
+ Alert.alert(
+ I18n.t('ERROR_IDENTIFICATION'),
+ errorNumberDetail.data.error,
+ [
+ {
+ text: I18n.t("OK"), onPress: () => {
+ this.props.createIndentificationResetAction();
+ this.setState({ triggerNextClick: false })
+ }
+ }
+
+ ],
+ { cancelable: false }
+ )
+ } else {
+ Alert.alert(
+ I18n.t('ERROR_IDENTIFICATION'),
+ JSON.stringify(errorNumberDetail),
+ [
+ {
+ text: I18n.t("OK"), onPress: () => {
+ this.props.createIndentificationResetAction();
+ }
+ }
+
+ ],
+ { cancelable: false }
+ )
+ }
+ }
+
+ }
+
renderLoaderModal() {
return (
{
return (
@@ -393,7 +493,7 @@ class CreateIdentification extends Component {
testID="dateTimePicker"
timeZoneOffsetInMinutes={0}
is24Hour={true}
- value={this.state.dateNaissance === null ? new Date() : this.state.dateNaissance}
+ value={isNil(this.state.dateNaissance) ? new Date() : this.state.dateNaissance}
mode='date'
maximumDate={new Date()}
display="spinner"
@@ -408,7 +508,7 @@ class CreateIdentification extends Component {
testID="dateTimePicker"
timeZoneOffsetInMinutes={0}
is24Hour={true}
- value={this.state.dateExpiration === null ? new Date() : this.state.dateExpiration}
+ value={isNil(this.state.dateExpiration) ? new Date() : this.state.dateExpiration}
mode='date'
maximumDate={new Date(2300, 10, 20)}
display="spinner"
@@ -425,151 +525,176 @@ class CreateIdentification extends Component {
{this.state.showPickerDateNaissance && this.renderDateNaissancePicker()}
{this.state.showPickerDateExpiration && this.renderDateExpirationPicker()}
{this.state.modalVisible && this.renderLoaderModal()}
- {this.props.loading && this.renderLoader()}
+ {(this.props.loading || this.props.loadingNumberDetail) && this.renderLoader()}
{this.state.triggerSubmitClick && this.renderCreateIdentificationResponse()}
+ {this.state.triggerNextClick && this.renderGetNumberResponse()}
- {I18n.t('CREATE_IDENTIFICATION_TITLE')}
- { this.lastnameAnim = comp }}>
- {
- this.setState({ lastname })
- }}
- style={styles.input}
- >
-
-
- { this.numeroTelephoneAnim = comp }}>
- {
- this.setState({ numeroTelephone })
- }}
- style={styles.input}
- >
-
-
- { this.datenaissanceAnim = comp }}>
- {
- Keyboard.dismiss();
- this.setState({ showPickerDateNaissance: true })
- }}
- {...this.dateNaissanceFumiProps}>
-
-
- { this.countryAnim = comp }}
- style={{
- width: responsiveWidth(90),
- height: 60,
- marginTop: 20,
- alignSelf: 'center',
- borderRadius: 10,
- paddingLeft: 20,
- paddingRight: 20,
- backgroundColor: 'white'
- }}>
- {
- this.setState({ country: value });
- }}
- valueExtractor={(value) => { return value.name }}
- labelExtractor={(value) => { return value.name }}
- />
-
- { this.townAnim = comp }}
- style={{
- width: responsiveWidth(90),
- height: 60,
- marginTop: 20,
- alignSelf: 'center',
- borderRadius: 10,
- paddingLeft: 20,
- paddingRight: 20,
- backgroundColor: 'white'
- }}>
- {
- this.setState({ townName: value });
- }}
- valueExtractor={(value) => { return value.name }}
- labelExtractor={(value) => { return value.name }}
- />
-
- { this.identityPiecesAnim = comp }}
- style={{
- width: responsiveWidth(90),
- height: 60,
- marginTop: 20,
- alignSelf: 'center',
- borderRadius: 10,
- paddingLeft: 20,
- paddingRight: 20,
- backgroundColor: 'white'
- }}>
- {
- this.setState({ identityPiecesName: value });
- }}
- valueExtractor={(value) => { return value.name }}
- labelExtractor={(value) => { return value.name }}
- />
-
- { this.numeroIdentiteAnim = comp }}>
- {
- this.setState({ numeroIdentite })
- }}
- style={styles.input}
- >
-
-
- { this.identityDateExpiryAnim = comp }}>
- {
- Keyboard.dismiss();
- this.setState({ showPickerDateExpiration: true })
- }}
- {...this.dateExpirationFumiProps}>
-
-
-
+ {this.state.displayFirstStep &&
+ <>
+ {I18n.t('CREATE_IDENTIFICATION_TITLE')}
+ { this.numeroTelephoneAnim = comp }}>
+ {
+ this.setState({ numeroTelephone })
+ }}
+ style={styles.input}
+ >
+
+
+ { this.countryAnim = comp }}
+ style={{
+ width: responsiveWidth(90),
+ height: 60,
+ marginTop: 20,
+ alignSelf: 'center',
+ borderRadius: 10,
+ paddingLeft: 20,
+ paddingRight: 20,
+ backgroundColor: 'white'
+ }}>
+ {
+ this.setState({ country: value });
+ }}
+ valueExtractor={(value) => { return value.name }}
+ labelExtractor={(value) => { return value.name }}
+ />
+
+ { this.townAnim = comp }}
+ style={{
+ width: responsiveWidth(90),
+ height: 60,
+ marginTop: 20,
+ alignSelf: 'center',
+ borderRadius: 10,
+ paddingLeft: 20,
+ paddingRight: 20,
+ backgroundColor: 'white'
+ }}>
+ {
+ this.setState({ townName: value });
+ }}
+ valueExtractor={(value) => { return value.name }}
+ labelExtractor={(value) => { return value.name }}
+ />
+
+
+ >}
+
+
+ {this.state.displaySecondStep &&
+ <>
+ { this.lastnameAnim = comp }}>
+ {
+ this.setState({ lastname })
+ }}
+ style={styles.input}
+ >
+
+
+ { this.datenaissanceAnim = comp }}>
+ {
+ Keyboard.dismiss();
+ this.setState({ showPickerDateNaissance: true })
+ }}
+ {...this.dateNaissanceFumiProps}>
+
+
+ { this.identityPiecesAnim = comp }}
+ style={{
+ width: responsiveWidth(90),
+ height: 60,
+ marginTop: 20,
+ alignSelf: 'center',
+ borderRadius: 10,
+ paddingLeft: 20,
+ paddingRight: 20,
+ backgroundColor: 'white'
+ }}>
+ {
+ this.setState({ identityPiecesName: value });
+ }}
+ valueExtractor={(value) => { return value.name }}
+ labelExtractor={(value) => { return value.name }}
+ />
+
+ { this.numeroIdentiteAnim = comp }}>
+ {
+ this.setState({ numeroIdentite })
+ }}
+ style={styles.input}
+ >
+
+
+ { this.identityDateExpiryAnim = comp }}>
+ {
+ Keyboard.dismiss();
+ this.setState({ showPickerDateExpiration: true })
+ }}
+ {...this.dateExpirationFumiProps}>
+
+
+
+
+
+
+
+
+
+ >
+ }
>
)
@@ -580,11 +705,17 @@ const maptStateToProps = state => ({
loading: state.createIdentificationReducer.loading,
result: state.createIdentificationReducer.result,
error: state.createIdentificationReducer.error,
+
+ loadingNumberDetail: state.getNumberInformationReducer.loading,
+ resultNumberDetail: state.getNumberInformationReducer.result,
+ errorNumberDetail: state.getNumberInformationReducer.error,
});
const mapDispatchToProps = dispatch => bindActionCreators({
createIndentificationAction,
- createIndentificationResetAction
+ createIndentificationResetAction,
+ getNumberDetailAction,
+ getNumberResetAction
}, dispatch);
export default connect(maptStateToProps, mapDispatchToProps)(CreateIdentification);
@@ -620,6 +751,15 @@ const styles = StyleSheet.create({
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),
diff --git a/screens/identification/validateIdentification.js b/screens/identification/validateIdentification.js
index c0ba6e33..c63b01a1 100644
--- a/screens/identification/validateIdentification.js
+++ b/screens/identification/validateIdentification.js
@@ -23,6 +23,8 @@ import { identityPieces } from '../../utils/UtilsFunction';
const GEOLOCATION_OPTIONS = { enableHighAccuracy: true, timeout: 20000, maximumAge: 1000, useSignificantChanges: true };
const moment = require('moment');
import LottieView from 'lottie-react-native';
+import { TouchableOpacity } from 'react-native-gesture-handler';
+import Camera from '../../components/Camera';
export default class ValidateIdentification extends Component {
@@ -47,14 +49,16 @@ export default class ValidateIdentification extends Component {
headerTitleStyle: {
color: "white"
},
- title: I18n.t('VALIDATE_IDENTIFICATION_DESCRIPTION')
+ title: I18n.t('VALIDATE_IDENTIFICATION_DESCRIPTION'),
}
};
constructor(props) {
super(props);
this.state = {
- memberCode: null
+ memberCode: null,
+ image: null,
+ displayCamera: false
};
}
@@ -115,6 +119,15 @@ export default class ValidateIdentification extends Component {
}
}
+ onPicture = ({ uri }) => {
+ this.setState({ image: uri, displayCamera: true });
+ console.log("URI", uri);
+ }
+
+ onBackToCamera = () => {
+ this.setState({ image: null, displayCamera: false });
+ }
+
render() {
console.log("STATE", this.state);
const { showPickerDateNaissance } = this.state;
@@ -128,12 +141,29 @@ export default class ValidateIdentification extends Component {
justifyContent: 'center',
alignItems: 'center'
}} ref={(comp) => { this.nameanim = comp }}>
-
+ {
+ this.onBackToCamera();
+ this.setState({ displayCamera: true })
+ }}>
+
+ {
+ this.state.displayCamera ?
+
+ {
+ this.state.image ?
+
+ :
+ }
+
+ :
+
+ }
+
{ this.nameanim = comp }}>
diff --git a/screens/optionMenu/OptionsMenu.js b/screens/optionMenu/OptionsMenu.js
index 35f6ae42..a3565127 100644
--- a/screens/optionMenu/OptionsMenu.js
+++ b/screens/optionMenu/OptionsMenu.js
@@ -252,7 +252,8 @@ export default class OptionsMenu extends Component {
}
_renderItem = (item) => {
if (item === "creditrequest" || item === 'historyItemDetails' || item === 'filter' || item === 'networks' || item === 'walletDetail' || item === 'walletDetailUser'
- || item === 'walletDepot' || item === 'walletRetrait' || item === 'createIdentification' || item === 'walletOptionSelect' || item === 'validateIdentification') {
+ || item === 'walletDepot' || item === 'walletRetrait' || item === 'createIdentification' || item === 'walletOptionSelect' || item === 'validateIdentification'
+ || item === 'createIdentificationUser') {
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 7ca02bef..53ec9637 100644
--- a/screens/wallet/WalletDetail.js
+++ b/screens/wallet/WalletDetail.js
@@ -31,7 +31,7 @@ import 'moment/locale/en-nz'
import 'moment/locale/en-gb'
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
-import { thousandsSeparators, isEmptyObject, transactionHistoryUser, optionDepotUserScreen, optionDepotScreen, optionRetraitScreen, optionRetraitUserScreen, transactionHistoryLabel, isIlinkWorldWallet, cutString, optionIdentificationScreen } from '../../utils/UtilsFunction';
+import { thousandsSeparators, isEmptyObject, optionPaiementFacture, transactionHistoryUser, optionDepotUserScreen, optionDepotScreen, optionRetraitScreen, optionRetraitUserScreen, transactionHistoryLabel, isIlinkWorldWallet, cutString, optionIdentificationScreen } from '../../utils/UtilsFunction';
import DeviceInfo from 'react-native-device-info';
const thousands = require('thousands');
@@ -697,7 +697,16 @@ class WalletDetail extends Component {
{ }}
+ onPress={() => {
+ this.props.navigation.push(route.walletOptionSelect, {
+ optionSelect: optionPaiementFacture,
+ onGoBack: () => this.refresh(),
+ lottie: {
+ source: require("./../../datas/json/paiement_facture.json"),
+ loop: true
+ }
+ })
+ }}
activeOpacity={0.9}>
{ }}
- activeOpacity={0.9}>
+ onPress={() => {
+ this.props.navigation.push(route.walletOptionSelect, {
+ optionSelect: optionPaiementFacture,
+ onGoBack: () => this.refresh(),
+ lottie: {
+ source: require("./../../datas/json/paiement_facture.json"),
+ loop: true
+ }
+ })
+ }} activeOpacity={0.9}>
{
- this.props.navigation.push(route.createIdentification)
+ this.props.navigation.push(route.createIdentificationUser)
}}
activeOpacity={0.9}>
diff --git a/utils/UtilsFunction.js b/utils/UtilsFunction.js
index a8473670..5ed5f200 100644
--- a/utils/UtilsFunction.js
+++ b/utils/UtilsFunction.js
@@ -206,4 +206,31 @@ export const optionIdentificationScreen = {
title: I18n.t('VALIDATE_IDENTIFICATION_DESCRIPTION'),
},
]
+}
+
+export const optionPaiementFacture = {
+ title: I18n.t('PAIEMENT_FACTURE'),
+ subTitle: I18n.t('CHOOSE_OPTION'),
+ options: [
+ {
+ screen: route.walletDepot,
+ icon: 'water',
+ title: 'Paiement eau'
+ },
+ {
+ screen: route.walletDepot,
+ icon: 'school',
+ title: 'Paiement école'
+ },
+ {
+ screen: route.walletDepot,
+ icon: 'file-document',
+ title: 'Paiement électricité'
+ },
+ {
+ screen: route.walletDepot,
+ icon: 'cellphone',
+ title: 'Paiement crédit téléphonique'
+ },
+ ]
}
\ No newline at end of file
diff --git a/utils/i18n/en.json b/utils/i18n/en.json
index d1b0e4aa..f78c2dcc 100644
--- a/utils/i18n/en.json
+++ b/utils/i18n/en.json
@@ -129,6 +129,7 @@
"ADDRESS": "Address",
"CREDIT": "Credit",
"NEXT": "Next",
+ "PREVIOUS": "Previous",
"SPONSOR_CODE": "Sponsor Code",
"SOLDE_UNVAIBLE": "solde unavailable",
"TEXT_BIG_CREATE_AGENT_1": "Register as Agent",
@@ -184,6 +185,8 @@
"TRANSFER_COMMISSION_IMPOSSIBLE": "Commissions transfer impossible",
"ERROR_FILTER_TEXT": "Problem encountered while filtering.",
"ERROR_TREATMENT_DEMAND": "Request processing error",
+ "ERROR_IDENTIFICATION": "Identification error",
+ "SUCCESS_IDENTIFICATION": "Identification successful",
"REFUSER_DEMANDE": "Reject the request",
"ACCEPTER_DEMANDE": "Accept the request",
"REFUSED": "Refuse",
diff --git a/utils/i18n/fr.json b/utils/i18n/fr.json
index 57d65afb..14f556c5 100644
--- a/utils/i18n/fr.json
+++ b/utils/i18n/fr.json
@@ -133,6 +133,7 @@
"ADDRESS": "Adresse",
"CREDIT": "Crédit",
"NEXT": "Suivant",
+ "PREVIOUS": "Précédent",
"SPONSOR_CODE": "Code parrain",
"SOLDE_UNVAIBLE": "solde non disponible",
"TEXT_BIG_CREATE_AGENT_1": "Inscrivez-vous en comme Agent",
@@ -189,6 +190,8 @@
"TRANSFER_COMMISSION_IMPOSSIBLE": "Transfert des commissions impossible",
"ERROR_FILTER_TEXT": "Probleme rencontré lors du filtrage.",
"ERROR_TREATMENT_DEMAND": "Erreur de traitement de la demande",
+ "ERROR_IDENTIFICATION": "Erreur d'identification",
+ "SUCCESS_IDENTIFICATION": "Identification réussie",
"REFUSER_DEMANDE": "Refuser la demande",
"REFUSED": "Refusé",
"ACCEPTER_DEMANDE": "Accepter la demande",
diff --git a/webservice/IdentificationApi.js b/webservice/IdentificationApi.js
index 14bfba85..ae8e86c0 100644
--- a/webservice/IdentificationApi.js
+++ b/webservice/IdentificationApi.js
@@ -1,9 +1,10 @@
-import { createIdentificationUrl } from "./IlinkConstants";
+import { createIdentificationUrl, getNumberInformationUrl } from "./IlinkConstants";
import { store } from "../redux/store";
import axios from "axios";
import I18n from 'react-native-i18n'
-import { fetchCreateIdentificationReset, fetchCreateIdentificationSuccess, fetchCreateIdentificationError, fetchCreateIdentificationPending } from "../redux/actions/IdentificationAction";
+import { fetchCreateIdentificationReset, fetchCreateIdentificationSuccess, fetchCreateIdentificationError, fetchCreateIdentificationPending, fetchGetNumberInformationPending, fetchGetNumberInformationSuccess, fetchGetNumberInformationError, fetchGetNumberInformationReset } from "../redux/actions/IdentificationAction";
+
export const createIndentificationAction = (data) => {
@@ -43,4 +44,42 @@ export const createIndentificationResetAction = () => {
return dispatch => {
dispatch(fetchCreateIdentificationReset());
}
+}
+
+export const getNumberDetailAction = (number) => {
+
+ const auth = store.getState().authKeyReducer;
+ const authKey = auth !== null ? `${auth.authKey.token_type} ${auth.authKey.access_token}` : '';
+
+ return dispatch => {
+ dispatch(fetchGetNumberInformationPending());
+
+ axios({
+ url: `${getNumberInformationUrl}/${number}`,
+ method: 'GET',
+ headers: {
+ 'Authorization': authKey,
+ 'X-Localization': I18n.currentLocale()
+ },
+ })
+ .then(response => {
+ console.log(response);
+ dispatch(fetchGetNumberInformationSuccess(response));
+ })
+ .catch(error => {
+ console.log(error);
+ if (error.response)
+ dispatch(fetchGetNumberInformationError(error.response));
+ else if (error.request)
+ dispatch(fetchGetNumberInformationError(error.request))
+ else
+ dispatch(fetchGetNumberInformationError(error.message))
+ });
+ }
+}
+
+export const getNumberResetAction = () => {
+ return dispatch => {
+ dispatch(fetchGetNumberInformationReset());
+ }
}
\ No newline at end of file
diff --git a/webservice/IlinkConstants.js b/webservice/IlinkConstants.js
index 23c302fb..383ea683 100644
--- a/webservice/IlinkConstants.js
+++ b/webservice/IlinkConstants.js
@@ -33,6 +33,7 @@ export const commissionAmount = testBaseUrl + '/walletService/transactions/commi
export const transactionUrl = testBaseUrl + '/walletService/transactions';
export const transferCommission = testBaseUrl + '/walletService/virement';
export const createIdentificationUrl = testBaseUrl + '/walletService/identifications';
+export const getNumberInformationUrl = testBaseUrl + '/walletService/identifications/verify';
export const authKeyUrl = testBaseUrl + '/oauth/token';
export const videoUrl = "https://www.youtube.com/watch?v=wwGPDPsSLWY";
export const MARKER_URL = baseUrl + "/interacted/LocationAction.php";
diff --git a/yarn.lock b/yarn.lock
index f850262e..59655c12 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6375,6 +6375,13 @@ react-native-calendario@^0.2.10:
dependencies:
moment "^2.24.0"
+react-native-camera@^3.30.0:
+ version "3.30.0"
+ resolved "https://registry.yarnpkg.com/react-native-camera/-/react-native-camera-3.30.0.tgz#b81ea540b06b40464a43931e86b870ffbeb280e6"
+ integrity sha512-rZorpBHXnc4MT9N6ddV4iC7h9dSUx4umtXvAKMkdYr3ZONlZcEfWxup7YCeAZ5wu4x43SvhSiTfYd8g0q+V0wg==
+ dependencies:
+ prop-types "^15.6.2"
+
react-native-cardview@^2.0.2:
version "2.0.5"
resolved "https://registry.yarnpkg.com/react-native-cardview/-/react-native-cardview-2.0.5.tgz#e7c112c15f7dafdf791e6ccba55b65a9e640ecef"