webpackJsonp([16],{255:function(l,n,u){"use strict";function t(l){return o._19(0,[(l()(),o._18(-1,null,["\n"])),(l()(),o.Z(1,0,null,null,22,"ion-header",[],null,null,null,null,null)),o.Y(2,16384,null,0,Z.a,[C.a,o.j,o.z,[2,z.a]],null,null),(l()(),o._18(-1,null,["\n\n "])),(l()(),o.Z(4,0,null,null,18,"ion-navbar",[["class","toolbar"],["hideBackButton","true"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,y.b,y.a)),o.Y(5,49152,null,0,L.a,[Y.a,[2,z.a],[2,j.a],C.a,o.j,o.z],{hideBackButton:[0,"hideBackButton"]},null),(l()(),o._18(-1,3,["\n "])),(l()(),o.Z(7,0,null,0,10,"ion-buttons",[["left",""]],null,null,null,null,null)),o.Y(8,16384,null,1,x.a,[C.a,o.j,o.z,[2,S.a],[2,L.a]],null,null),o._16(603979776,1,{_buttons:1}),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(11,0,null,null,5,"button",[["icon-only",""],["ion-button",""],["tappable",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.goBack()&&t}return t},I.b,I.a)),o.Y(12,1097728,[[1,4]],0,w.a,[[8,""],C.a,o.j,o.z],null,null),(l()(),o._18(-1,0,["\n "])),(l()(),o.Z(14,0,null,0,1,"ion-icon",[["ios","ios-arrow-back"],["md","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),o.Y(15,147456,null,0,B.a,[C.a,o.j,o.z],{ios:[0,"ios"],md:[1,"md"]},null),(l()(),o._18(-1,0,["\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,3,["\n "])),(l()(),o.Z(19,0,null,3,2,"ion-title",[],null,null,null,F.b,F.a)),o.Y(20,49152,null,0,P.a,[C.a,o.j,o.z,[2,S.a],[2,L.a]],null,null),(l()(),o._18(-1,0,["实名认证"])),(l()(),o._18(-1,3,["\n "])),(l()(),o._18(-1,null,["\n"])),(l()(),o._18(-1,null,["\n\n\n"])),(l()(),o.Z(25,0,null,null,64,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,N.b,N.a)),o.Y(26,4374528,null,0,T.a,[C.a,E.a,M.a,o.j,o.z,Y.a,O.a,o.u,[2,z.a],[2,j.a]],null,null),(l()(),o._18(-1,1,["\n "])),(l()(),o.Z(28,0,null,1,41,"div",[["class","step"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(30,0,null,null,38,"div",[["class","divin"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(32,0,null,null,12,"div",[["class","stepline"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(34,0,null,null,1,"div",[["class","round round1 active"]],null,null,null,null,null)),(l()(),o._18(-1,null,["1"])),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(37,0,null,null,1,"div",[["class","round round2 active"]],null,null,null,null,null)),(l()(),o._18(-1,null,["2"])),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(40,0,null,null,1,"div",[["class","round round3"]],null,null,null,null,null)),(l()(),o._18(-1,null,["3"])),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(43,0,null,null,0,"div",[["class","line active"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(46,0,null,null,21,"div",[["class","stepdes"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(48,0,null,null,18,"ion-grid",[["class","grid"]],null,null,null,null,null)),o.Y(49,16384,null,0,A.a,[],null,null),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(51,0,null,null,14,"ion-row",[["class","row"]],null,null,null,null,null)),o.Y(52,16384,null,0,R.a,[],null,null),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(54,0,null,null,2,"ion-col",[["class","col1 col"],["col-4",""]],null,null,null,null,null)),o.Y(55,16384,null,0,K.a,[],null,null),(l()(),o._18(-1,null,["\n 身份认证\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(58,0,null,null,2,"ion-col",[["class","col2 col"],["col-4",""]],null,null,null,null,null)),o.Y(59,16384,null,0,K.a,[],null,null),(l()(),o._18(-1,null,["\n 面部识别\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(62,0,null,null,2,"ion-col",[["class","col3 col"],["col-4",""]],null,null,null,null,null)),o.Y(63,16384,null,0,K.a,[],null,null),(l()(),o._18(-1,null,["\n 我的额度\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,1,["\n "])),(l()(),o.Z(71,0,null,1,10,"div",[["class","divin"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(73,0,null,null,7,"div",[["class","devision d1"],["tabable",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.gotoFace()&&t}return t},null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(75,0,null,null,1,"div",[["class","imgcon"]],null,null,null,null,null)),(l()(),o.Z(76,0,null,null,0,"img",[["src","../../assets/imgs/icon_boy@3x.png"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(78,0,null,null,1,"div",[["class","des"]],null,null,null,null,null)),(l()(),o._18(-1,null,["面部识别"])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,1,["\n "])),(l()(),o.Z(83,0,null,1,5,"div",[["class","btncon"]],null,null,null,null,null)),(l()(),o._18(-1,null,["\n "])),(l()(),o.Z(85,0,null,null,2,"button",[["class","mybtn"],["ion-button",""]],null,[[null,"click"]],function(l,n,u){var t=!0;if("click"===n){t=!1!==l.component.gotoFace()&&t}return t},I.b,I.a)),o.Y(86,1097728,null,0,w.a,[[8,""],C.a,o.j,o.z],null,null),(l()(),o._18(87,0,["",""])),(l()(),o._18(-1,null,["\n "])),(l()(),o._18(-1,1,["\n"])),(l()(),o._18(-1,null,["\n"]))],function(l,n){l(n,5,0,"true");l(n,15,0,"ios-arrow-back","md-arrow-back")},function(l,n){var u=n.component;l(n,4,0,o._11(n,5)._hidden,o._11(n,5)._sbPadding);l(n,14,0,o._11(n,15)._hidden);l(n,25,0,o._11(n,26).statusbarPadding,o._11(n,26)._hasRefresher);l(n,87,0,u.nextText)})}Object.defineProperty(n,"__esModule",{value:!0});var o=u(0),a=u(2),e=(u(30),u(92)),i=u(31),r=u(23),s=u(64),c=function(l){function n(n,u,t,o,a,e){var i=l.call(this)||this;return i.navCtrl=n,i.navParams=u,i.C=t,i.toastController=o,i.LS=a,i.iab=e,i.nextText="开始识别",i.id_approved="",i.name="",i.idcard="",i.biz_no="",i.url="",i.id_approved=i.navParams.get("id_approved"),i.name=i.LS.getItem("name"),i.idcard=i.LS.getItem("idcard"),"1"==i.id_approved&&(i.nextText="已完成,下一步"),i}return Object(a.__extends)(n,l),n.prototype.ionViewDidLoad=function(){},n.prototype.gotoFace=function(){var l=this;"1"==this.id_approved?(this.errorLog(this.toastController,"面部识别已完成,请直接进入下一步"),this.gotoNext()):this.C.postApi("home/index/getconf",{method:"face_chk",token:this.LS.getItem("TOKEN"),name:this.name,idcard:this.idcard}).subscribe(function(n){"SUCCESS"==n.result_code?(l.biz_no=n.biz_no,l.url=n.url,l.iab.create(l.url,"_system"),l.loopCheck()):l.errorLog(l.toastController,n.result_msg)},function(n){l.C.endLoading(),l.errorLog(l.toastController,n.error.message)})},n.prototype.loopCheck=function(){var l=this;setTimeout(function(){l.interval=setInterval(function(){l.getFaceResult()},2e3)},5e3)},n.prototype.getFaceResult=function(){var l=this;this.C.postApi("home/index/getconf",{method:"face_chk_query",token:this.LS.getItem("TOKEN"),biz_no:this.biz_no},!1).subscribe(function(n){"FAIL"==n.result_code||"SUCCESS"==n.result_code&&(clearInterval(l.interval),l.LS.setItem("credit",n.credit),l.errorLog(l.toastController,"识别成功"),l.gotoNext())},function(n){l.C.endLoading(),l.errorLog(l.toastController,n.error.message)})},n.prototype.gotoNext=function(){clearInterval(this.interval),"1"==this.id_approved?this.navCtrl.push("MylimitPage",{biz_no:this.biz_no,id_approved:this.id_approved}):""==this.biz_no?this.errorLog(this.toastController,"请先进行面部识别"):this.navCtrl.push("MylimitPage",{biz_no:this.biz_no,id_approved:this.id_approved})},n.prototype.goBack=function(){this.navCtrl.pop()},n}(e.a),_=function(){return function(){}}(),d=u(201),p=u(202),h=u(203),v=u(204),b=u(205),g=u(206),f=u(207),m=u(208),k=u(209),Z=u(45),C=u(1),z=u(5),y=u(134),L=u(26),Y=u(6),j=u(13),x=u(91),S=u(33),I=u(32),w=u(19),B=u(34),F=u(135),P=u(51),N=u(63),T=u(20),E=u(4),M=u(7),O=u(22),A=u(95),R=u(96),K=u(94),U=u(11),V=u(46),q=o.X({encapsulation:2,styles:[],data:{}}),D=o.V("page-facecheck",c,function(l){return o._19(0,[(l()(),o.Z(0,0,null,null,1,"page-facecheck",[],null,null,null,t,q)),o.Y(1,49152,null,0,c,[j.a,U.a,i.a,V.a,r.a,s.a],null,null)],null,null)},{},{},[]),J=u(10),W=u(18),X=u(133),G=u(44);u.d(n,"FacecheckPageModuleNgFactory",function(){return H});var H=o.W(_,[],function(l){return o._7([o._8(512,o.i,o.S,[[8,[d.a,p.a,h.a,v.a,b.a,g.a,f.a,m.a,k.a,D]],[3,o.i],o.s]),o._8(4608,J.k,J.j,[o.r,[2,J.s]]),o._8(4608,W.k,W.k,[]),o._8(4608,W.c,W.c,[]),o._8(512,J.b,J.b,[]),o._8(512,W.j,W.j,[]),o._8(512,W.d,W.d,[]),o._8(512,W.i,W.i,[]),o._8(512,X.a,X.a,[]),o._8(512,X.b,X.b,[]),o._8(512,_,_,[]),o._8(256,G.a,c,[])])})}});