UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 142 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.UserAuth=n():t.UserAuth=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="../lib",n(n.s=2281)}({0:function(t,n){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},10:function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},106:function(t,n,r){"use strict";n.__esModule=!0;var e=r(28),o=function(t){return t&&t.__esModule?t:{default:t}}(e);n.default=o.default||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}},107:function(t,n,r){var e=r(26),o=r(3)("toStringTag"),i="Arguments"==e(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=u(n=Object(t),o))?r:i?e(n):"Object"==(c=e(n))&&"function"==typeof n.callee?"Arguments":c}},11:function(t,n,r){var e=r(47),o=r(29);t.exports=function(t){return e(o(t))}},110:function(t,n,r){var e=r(9),o=r(40),i=r(3)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||void 0==(r=e(u)[i])?n:o(r)}},111:function(t,n,r){var e,o,i,u=r(38),c=r(146),a=r(60),f=r(41),s=r(2),l=s.process,p=s.setImmediate,h=s.clearImmediate,v=s.MessageChannel,d=s.Dispatch,y=0,g={},_=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},m=function(t){_.call(t.data)};p&&h||(p=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return g[++y]=function(){c("function"==typeof t?t:Function(t),n)},e(y),y},h=function(t){delete g[t]},"process"==r(26)(l)?e=function(t){l.nextTick(u(_,t,1))}:d&&d.now?e=function(t){d.now(u(_,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=m,e=u(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):e="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),_.call(t)}}:function(t){setTimeout(u(_,t,1),0)}),t.exports={set:p,clear:h}},112:function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},113:function(t,n,r){var e=r(9),o=r(10),i=r(68);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},114:function(t,n,r){"use strict";function e(t){t.interceptors.response.use(function(t){return t},function(t){var n={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},r="";return r=t&&t.response&&t.response.status?n[t.response.status]?n[t.response.status]+"("+t.response.status+")":"请求失败,请稍后重试("+t.response.status+")":t&&t.message&&/timeout/i.test(t.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",c.a.reject(new Error(r))})}function o(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new c.a(function(o,i){var u=f.a.create();e(u),u.request({method:"post",url:t,data:n,timeout:r,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){o(t)}).catch(function(t){i(t)})})}function i(t){return f.a.get(t).then(function(t){return c.a.resolve(t.data)})}n.a=e,n.d=o,n.c=i;var u=r(52),c=r.n(u),a=r(164),f=r.n(a);n.b=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new c.a(function(o,i){var u=f.a.create();e(u),u.request({method:"post",url:t,data:n,timeout:r,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function n(t,n){var r=0,e=t.length;if(void 0===e||"[object Function]"===Object.prototype.toString.call(t)){for(var o in t)if(!1===n.call(t[o],o,t[o]))break}else for(var i=t[0];r<e&&!1!==n.call(i,r,i);i=t[++r]);return t}function r(t,e,o){var i=void 0,u="[object Array]"===Object.prototype.toString.call(e),c="[object Object]"===Object.prototype.toString.call(e);n(e,function(n,e){i=Object.prototype.toString.call(e),o&&(n=o+"["+(c||"[object Object]"===i||"[object Array]"===i?n:"")+"]"),!o&&u?t.add(e.name,e.value):"[object Array]"===i||"[object Object]"===i?r(t,e,n):t.add(n,e)})}if(t){return function(t){var n=[];return n.add=function(t,n){"[object Function]"===Object.prototype.toString.call(n)&&(n=n()),null==n&&(n=""),this.push(encodeURIComponent(t)+"="+encodeURIComponent(n))},r(n,t),n.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){o(t)}).catch(function(t){i(t)})})}},115:function(t,n,r){var e=r(107),o=r(3)("iterator"),i=r(18);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},117:function(t,n){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},12:function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},123:function(t,n,r){var e=r(38),o=r(136),i=r(137),u=r(9),c=r(59),a=r(115),f={},s={},n=t.exports=function(t,n,r,l,p){var h,v,d,y,g=p?function(){return t}:a(t),_=e(r,l,n?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=c(t.length);h>m;m++)if((y=n?_(u(v=t[m])[0],v[1]):_(t[m]))===f||y===s)return y}else for(d=g.call(t);!(v=d.next()).done;)if((y=o(d,_,v.value,n))===f||y===s)return y};n.BREAK=f,n.RETURN=s},125:function(t,n,r){"use strict";t.exports=function(t,n){return function(){for(var r=new Array(arguments.length),e=0;e<r.length;e++)r[e]=arguments[e];return t.apply(n,r)}}},126:function(t,n,r){"use strict";function e(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(17);t.exports=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(o.isURLSearchParams(n))i=n.toString();else{var u=[];o.forEach(n,function(t,n){null!==t&&void 0!==t&&(o.isArray(t)?n+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),u.push(e(n)+"="+e(t))}))}),i=u.join("&")}if(i){var c=t.indexOf("#");-1!==c&&(t=t.slice(0,c)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},127:function(t,n,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},128:function(t,n,r){"use strict";(function(n){function e(t,n){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=n)}var o=r(17),i=r(170),u={"Content-Type":"application/x-www-form-urlencoded"},c={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=r(129):void 0!==n&&"[object process]"===Object.prototype.toString.call(n)&&(t=r(129)),t}(),transformRequest:[function(t,n){return i(n,"Accept"),i(n,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(e(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(e(n,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(u)}),t.exports=c}).call(n,r(153))},129:function(t,n,r){"use strict";var e=r(17),o=r(171),i=r(126),u=r(173),c=r(176),a=r(177),f=r(130);t.exports=function(t){return new Promise(function(n,s){var l=t.data,p=t.headers;e.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var v=t.auth.username||"",d=t.auth.password||"";p.Authorization="Basic "+btoa(v+":"+d)}var y=u(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,e=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:e,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};o(n,s,i),h=null}},h.onabort=function(){h&&(s(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){s(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var n="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(n=t.timeoutErrorMessage),s(f(n,t,"ECONNABORTED",h)),h=null},e.isStandardBrowserEnv()){var g=r(178),_=(t.withCredentials||a(y))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;_&&(p[t.xsrfHeaderName]=_)}if("setRequestHeader"in h&&e.forEach(p,function(t,n){void 0===l&&"content-type"===n.toLowerCase()?delete p[n]:h.setRequestHeader(n,t)}),e.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(n){if("json"!==t.responseType)throw n}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),s(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},13:function(t,n,r){var e=r(2),o=r(0),i=r(38),u=r(7),c=r(6),a=function(t,n,r){var f,s,l,p=t&a.F,h=t&a.G,v=t&a.S,d=t&a.P,y=t&a.B,g=t&a.W,_=h?o:o[n]||(o[n]={}),m=_.prototype,b=h?e:v?e[n]:(e[n]||{}).prototype;h&&(r=n);for(f in r)(s=!p&&b&&void 0!==b[f])&&c(_,f)||(l=s?b[f]:r[f],_[f]=h&&"function"!=typeof b[f]?r[f]:y&&s?i(l,e):g&&b[f]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):d&&"function"==typeof l?i(Function.call,l):l,d&&((_.virtual||(_.virtual={}))[f]=l,t&a.R&&m&&!m[f]&&u(m,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},130:function(t,n,r){"use strict";var e=r(172);t.exports=function(t,n,r,o,i){var u=new Error(t);return e(u,n,r,o,i)}},131:function(t,n,r){"use strict";var e=r(17);t.exports=function(t,n){n=n||{};var r={},o=["url","method","params","data"],i=["headers","auth","proxy"],u=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];e.forEach(o,function(t){void 0!==n[t]&&(r[t]=n[t])}),e.forEach(i,function(o){e.isObject(n[o])?r[o]=e.deepMerge(t[o],n[o]):void 0!==n[o]?r[o]=n[o]:e.isObject(t[o])?r[o]=e.deepMerge(t[o]):void 0!==t[o]&&(r[o]=t[o])}),e.forEach(u,function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])});var c=o.concat(i).concat(u),a=Object.keys(n).filter(function(t){return-1===c.indexOf(t)});return e.forEach(a,function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),r}},1314:function(t,n,r){"use strict";function e(t,n){"function"==typeof t&&t(n)}function o(t,n,r){if(!r)return t;var e=new URL(t),o=new RegExp("([?&])"+n+"=.*?(&|$)","i"),i=e.search?"&":"?";return e.search=function(t){return t.match(o)?t.replace(o,"$1"+n+"="+r+"$2"):t+i+n+"="+r}(e.search),e.href}function i(t,n){var r=t;for(var e in n)r=o(r,e,n[e]);return r}function u(t,n){return i(t,{mucType:n})}Object.defineProperty(n,"__esModule",{value:!0});var c=r(65),a=r.n(c),f=r(106),s=r.n(f),l=r(207),p=r.n(l),h=r(52),v=r.n(h),d=r(208),y=r.n(d),g=r(214),_=r.n(g),m=r(4),b=r(114),w=r(1315),x=(r.n(w),"undefined"!=typeof window&&window.navigator.userAgent.toLowerCase()),j=null;m.K.isKcbApp?j=window.kcbJs:m.K.isXysApp&&(j=window.xysJs);var O={supportedProviders:["TENCENT","FACEID"],business:1,environment:1},S={wx:{environment:1,business:1,id:1001},app:{environment:3,muckacabao:{business:3,id:3003},mucyanxuan:{business:2,id:3002},mucxiaoyusan:{business:1,id:3001},mucconsultant:{business:4,id:3004},other:{environment:3,business:1,id:4002}},h5:{environment:2,business:1,id:4001}},A=["muckacabao","mucyanxuan","mucconsultant","mucxiaoyusan"],E="/faceCheck/index/middle",k=function(){function t(n){if(_()(this,t),!n.succUrl)throw new Error("succUrl为必传参数");n.failUrl||(n.failUrl=n.succUrl),n.redirectUrl=n.redirectUrl?n.redirectUrl:location.href,this.h5MiddleUrl=n.domain?""+n.domain+E:E,n.redirectType=n.redirectType||"",n.config=n.config||S,n.appUa=n.appUa||A,n.title=n.title||"",n.desc=n.desc||"",this.options=n}return t.prototype._isAPP=function(){for(var t=0;t<this.options.appUa.length;t++)if(x.indexOf(this.options.appUa[t])>-1)return this.options.appUa[t];return!1},t.prototype.getId=function(){function t(){return n.apply(this,arguments)}var n=y()(p.a.mark(function t(){var n,r,e;return p.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=this._isAPP())){t.next=12;break}return O.environment=this.options.config.app.environment,O.business=this.options.config.app[n].business,t.next=6,this.getAppSupportList().catch(function(){return[]});case 6:return r=t.sent,e=Array.isArray(r)&&r.length>0,O.supportedProviders=r||[],t.abrupt("return",e?{id:this.options.config.app[n].id,scene:"app"}:{id:this.options.config.app.other.id,scene:"h5"});case 12:if(!m.K.isWx){t.next=18;break}return O.environment=this.options.config.wx.environment,O.business=this.options.config.wx.business,t.abrupt("return",{scene:"wx",id:this.options.config.wx.id});case 18:if(!m.K.isMobile){t.next=24;break}return O.environment=this.options.config.h5.environment,O.business=this.options.config.h5.business,t.abrupt("return",{scene:"h5",id:this.options.config.h5.id});case 24:return t.abrupt("return",v.a.reject({errmsg:"不支持",ret:10002}));case 25:case"end":return t.stop()}},t,this)}));return t}(),t.prototype._wxFace=function(t){this._h5JumpToVerify(t)},t.prototype._appFace=function(t){var n=t.data.ext.provider;if(!O.supportedProviders.includes(n))return void this._h5JumpToVerify(t);var r={};r="FACEID"===n?{provider:n,faceToken:t.data.ext.initData}:s()({provider:n},t.data.ext.initData),this._invokeAppSdk(r)},t.prototype._h5Face=function(t){this._h5JumpToVerify(t)},t.prototype._miniFace=function(t){wx.miniProgram.navigateTo({url:"/pages/faceverify/index?bizToken="+t.data.ext.initData.bizToken+"&ret=0&redirectUrl="+encodeURIComponent(this.options.redirectUrl+"&mucType=mini")})},t.prototype._h5JumpToVerify=function(t){"FACEID"===t.data.ext.provider?location.href="https://api.megvii.com/faceid/lite/do?token="+t.data.ext.initData:location.href=t.data.ext.initData.url},t.prototype._invokeAppSdk=function(t){var n=this;j.invoke({path:"/faceVerify/faceService",data:t,unsupport:function(){return e(n.options.fail,{errmsg:"不支持"})},success:function(r){if("FACEID"!==t.provider)return e(n.options.succ,r);n._faceIdSuccess(r)},fail:function(t){return e(n.options.fail,t)}})},t.prototype._faceIdSuccess=function(){function t(t){return n.apply(this,arguments)}var n=y()(p.a.mark(function t(n){var r,o,i,u=this;return p.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n){t.next=2;break}return t.abrupt("return",e(this.options.fail,{errmsg:"验证失败,未上传验证"}));case 2:return r=n||{},o=r.deltaData,t.next=5,Object(b.b)("/faceCheck/uploadFaceidAppLiveness",{faceCheckId:this.options.id,liveness:o}).catch(function(t){e(u.options.fail,t)});case 5:i=t.sent,i&&i.data&&0===i.data.ret?this.getResult():e(this.options.fail,{errmsg:"上传验证失败"});case 7:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.goFace=function(){var t=this.formatUrl(this.h5MiddleUrl),n={redirectType:this.options.redirectType,mucId:this.options.id,succUrl:encodeURIComponent(this.options.succUrl),failUrl:encodeURIComponent(this.options.failUrl)};this.options.title&&(n.title=encodeURIComponent(this.options.title)),this.options.desc&&(n.desc=encodeURIComponent(this.options.desc));var r=a()(n).map(function(t){return t+"="+n[t]}).join("&");location.href=t+"?"+r},t.prototype.goFaceCheck=function(){var t=this;this.getId().then(function(n){t.faceCheck({xysScene:n.scene,xysScenemucId:n.id})}).catch(function(n){if(n&&10001===n.ret)return wx.miniProgram.navigateTo({url:"/pages/faceverify/index?ret=1"});n&&10002===n.ret?alert("暂不支持PC页面使用"):e(t.options.fail,n)})},t.prototype.faceCheck=function(t){var n=this;this._getFaceCheck().then(function(r){0===r.ret?4===r.data.state?e(n.options.succ):5===r.data.state?e(n.options.fail,{errmsg:"人脸核身失败",data:{des:"业务id状态为关闭"}}):n._faceInit(t):e(n.options.fail,r)})},t.prototype._faceInit=function(t){var n=this;Object(b.b)("/faceCheck/init",s()({faceCheckId:this.options.id,confId:t.xysScenemucId,redirectUrl:u(this.options.redirectUrl,"h5"),redirectType:this.options.redirectType},O)).then(function(r){0===r.data.ret?"wx"===t.xysScene?n._wxFace(r.data):"app"===t.xysScene?n._appFace(r.data):"h5"===t.xysScene?n._h5Face(r.data):"mini"===t.xysScene&&n._miniFace(r.data):e(n.options.fail,{errmsg:r.data.errmsg})}).catch(function(t){return"ECONNABORTED"===t.code&&e(n.options.fail,{ret:999990,errmsg:"faceCheck/init超时"}),e(n.options.fail,{ret:99999,errmsg:"系统繁忙"})})},t.prototype.getResult=function(t){var n=this;return Object(b.b)("/faceCheck/getCheckResult",{faceCheckId:this.options.id}).then(function(r){if(t&&t.self)return v.a.resolve(r.data);0===r.data.ret&&4===r.data.data.state?location.replace(i(n.options.succUrl,{facecheckid:n.options.id,mucFaceType:1})):location.replace(i(n.options.failUrl,{facecheckid:n.options.id,mucFaceType:0}))}).catch(function(t){return v.a.reject({ret:99999,errmsg:"系统繁忙"})})},t.prototype._getFaceCheck=function(){return Object(b.b)("/faceCheck/getFaceCheck",{faceCheckId:this.options.id}).then(function(t){return v.a.resolve(t.data)}).catch(function(t){return v.a.resolve({ret:99999,errmsg:"系统繁忙",data:{des:"/faceCheck/getFaceCheck出错"}})})},t.prototype._checkTencentSupport=function(){return new v.a(function(t,n){j.checkJsApi({path:"/faceVerify/faceService",success:function(n){t(!0)},fail:function(n){t(!1)}})})},t.prototype.getAppSupportList=function(){var t=this;return new v.a(function(n,r){t._getSupportList().then(function(t){n(t)}).catch(function(e){t._checkTencentSupport().then(function(t){n(t?["TENCENT"]:[])}).catch(function(){r()})})})},t.prototype._getSupportList=function(){return new v.a(function(t,n){j.invoke({path:"/faceVerify/getSupportList",success:function(n){t(n)},fail:function(t){n()},unsupport:function(){n()}})})},t.prototype.formatUrl=function(t){var n=t.split("?")[0];return/^https?:\/\//.test(n)?n:/^\/\//.test(n)?location.protocol+n:/\./.test(n)?location.protocol+"//"+n:location.protocol+"//"+location.host+n},t}();k.config=S,n.default=k},1315:function(t,n){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,n){if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),e=r.length>>>0;if(0===e)return!1;for(var o=0|n,i=Math.max(o>=0?o:e-Math.abs(o),0);i<e;){if(function(t,n){return t===n||"number"==typeof t&&"number"==typeof n&&isNaN(t)&&isNaN(n)}(r[i],t))return!0;i++}return!1}})},132:function(t,n,r){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},136:function(t,n,r){var e=r(9);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},137:function(t,n,r){var e=r(18),o=r(3)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},139:function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},140:function(t,n,r){var e=r(7);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},141:function(t,n,r){var e=r(3)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},142:function(t,n,r){"use strict";var e=r(2),o=r(0),i=r(8),u=r(5),c=r(3)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];u&&n&&!n[c]&&i.f(n,c,{configurable:!0,get:function(){return this}})}},144:function(t,n,r){r(61),r(53),r(56),r(145),r(149),r(150),t.exports=r(0).Promise},145:function(t,n,r){"use strict";var e,o,i,u,c=r(16),a=r(2),f=r(38),s=r(107),l=r(13),p=r(10),h=r(40),v=r(139),d=r(123),y=r(110),g=r(111).set,_=r(147)(),m=r(68),b=r(112),w=r(148),x=r(113),j=a.TypeError,O=a.process,S=O&&O.versions,A=S&&S.v8||"",E=a.Promise,k="process"==s(O),T=function(){},R=o=m.f,C=!!function(){try{var t=E.resolve(1),n=(t.constructor={})[r(3)("species")]=function(t){t(T,T)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof n&&0!==A.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},I=function(t,n){if(!t._n){t._n=!0;var r=t._c;_(function(){for(var e=t._v,o=1==t._s,i=0;r.length>i;)!function(n){var r,i,u,c=o?n.ok:n.fail,a=n.resolve,f=n.reject,s=n.domain;try{c?(o||(2==t._h&&N(t),t._h=1),!0===c?r=e:(s&&s.enter(),r=c(e),s&&(s.exit(),u=!0)),r===n.promise?f(j("Promise-chain cycle")):(i=L(r))?i.call(r,a,f):a(r)):f(e)}catch(t){s&&!u&&s.exit(),f(t)}}(r[i++]);t._c=[],t._n=!1,n&&!t._h&&P(t)})}},P=function(t){g.call(a,function(){var n,r,e,o=t._v,i=U(t);if(i&&(n=b(function(){k?O.emit("unhandledRejection",o,t):(r=a.onunhandledrejection)?r({promise:t,reason:o}):(e=a.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=k||U(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},U=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){g.call(a,function(){var n;k?O.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},F=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),I(n,!0))},M=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw j("Promise can't be resolved itself");(n=L(t))?_(function(){var e={_w:r,_d:!1};try{n.call(t,f(M,e,1),f(F,e,1))}catch(t){F.call(e,t)}}):(r._v=t,r._s=1,I(r,!1))}catch(t){F.call({_w:r,_d:!1},t)}}};C||(E=function(t){v(this,E,"Promise","_h"),h(t),e.call(this);try{t(f(M,this,1),f(F,this,1))}catch(t){F.call(this,t)}},e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},e.prototype=r(140)(E.prototype,{then:function(t,n){var r=R(y(this,E));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=k?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&I(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=f(M,t,1),this.reject=f(F,t,1)},m.f=R=function(t){return t===E||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!C,{Promise:E}),r(27)(E,"Promise"),r(142)("Promise"),u=r(0).Promise,l(l.S+l.F*!C,"Promise",{reject:function(t){var n=R(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!C),"Promise",{resolve:function(t){return x(c&&this===u?E:this,t)}}),l(l.S+l.F*!(C&&r(141)(function(t){E.all(t).catch(T)})),"Promise",{all:function(t){var n=this,r=R(n),e=r.resolve,o=r.reject,i=b(function(){var r=[],i=0,u=1;d(t,!1,function(t){var c=i++,a=!1;r.push(void 0),u++,n.resolve(t).then(function(t){a||(a=!0,r[c]=t,--u||e(r))},o)}),--u||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=R(n),e=r.reject,o=b(function(){d(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},146:function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},147:function(t,n,r){var e=r(2),o=r(111).set,i=e.MutationObserver||e.WebKitMutationObserver,u=e.process,c=e.Promise,a="process"==r(26)(u);t.exports=function(){var t,n,r,f=function(){var e,o;for(a&&(e=u.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(a)r=function(){u.nextTick(f)};else if(!i||e.navigator&&e.navigator.standalone)if(c&&c.resolve){var s=c.resolve(void 0);r=function(){s.then(f)}}else r=function(){o.call(e,f)};else{var l=!0,p=document.createTextNode("");new i(f).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),t||(t=o,r()),n=o}}},148:function(t,n,r){var e=r(2),o=e.navigator;t.exports=o&&o.userAgent||""},149:function(t,n,r){"use strict";var e=r(13),o=r(0),i=r(2),u=r(110),c=r(113);e(e.P+e.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return c(n,t()).then(function(){return r})}:t,r?function(r){return c(n,t()).then(function(){throw r})}:t)}})},15:function(t,n,r){var e=r(50),o=r(33);t.exports=Object.keys||function(t){return e(t,o)}},150:function(t,n,r){"use strict";var e=r(13),o=r(68),i=r(112);e(e.S,"Promise",{try:function(t){var n=o.f(this),r=i(t);return(r.e?n.reject:n.resolve)(r.v),n.promise}})},153:function(t,n){function r(){throw new Error("setTimeout has not been defined")}function e(){throw new Error("clearTimeout has not been defined")}function o(t){if(s===setTimeout)return setTimeout(t,0);if((s===r||!s)&&setTimeout)return s=setTimeout,setTimeout(t,0);try{return s(t,0)}catch(n){try{return s.call(null,t,0)}catch(n){return s.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===e||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(n){try{return l.call(null,t)}catch(n){return l.call(this,t)}}}function u(){d&&h&&(d=!1,h.length?v=h.concat(v):y=-1,v.length&&c())}function c(){if(!d){var t=o(u);d=!0;for(var n=v.length;n;){for(h=v,v=[];++y<n;)h&&h[y].run();y=-1,n=v.length}h=null,d=!1,i(t)}}function a(t,n){this.fun=t,this.array=n}function f(){}var s,l,p=t.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:r}catch(t){s=r}try{l="function"==typeof clearTimeout?clearTimeout:e}catch(t){l=e}}();var h,v=[],d=!1,y=-1;p.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)n[r-1]=arguments[r];v.push(new a(t,n)),1!==v.length||d||o(c)},a.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=f,p.addListener=f,p.once=f,p.off=f,p.removeListener=f,p.removeAllListeners=f,p.emit=f,p.prependListener=f,p.prependOnceListener=f,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},16:function(t,n){t.exports=!0},164:function(t,n,r){t.exports=r(165)},165:function(t,n,r){"use strict";function e(t){var n=new u(t),r=i(u.prototype.request,n);return o.extend(r,u.prototype,n),o.extend(r,n),r}var o=r(17),i=r(125),u=r(166),c=r(131),a=r(128),f=e(a);f.Axios=u,f.create=function(t){return e(c(f.defaults,t))},f.Cancel=r(132),f.CancelToken=r(179),f.isCancel=r(127),f.all=function(t){return Promise.all(t)},f.spread=r(180),t.exports=f,t.exports.default=f},166:function(t,n,r){"use strict";function e(t){this.defaults=t,this.interceptors={request:new u,response:new u}}var o=r(17),i=r(126),u=r(167),c=r(168),a=r(131);e.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=[c,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){n.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){n.push(t.fulfilled,t.rejected)});n.length;)r=r.then(n.shift(),n.shift());return r},e.prototype.getUri=function(t){return t=a(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(t){e.prototype[t]=function(n,r){return this.request(o.merge(r||{},{method:t,url:n}))}}),o.forEach(["post","put","patch"],function(t){e.prototype[t]=function(n,r,e){return this.request(o.merge(e||{},{method:t,url:n,data:r}))}}),t.exports=e},167:function(t,n,r){"use strict";function e(){this.handlers=[]}var o=r(17);e.prototype.use=function(t,n){return this.handlers.push({fulfilled:t,rejected:n}),this.handlers.length-1},e.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},e.prototype.forEach=function(t){o.forEach(this.handlers,function(n){null!==n&&t(n)})},t.exports=e},168:function(t,n,r){"use strict";function e(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=r(17),i=r(169),u=r(127),c=r(128);t.exports=function(t){return e(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],function(n){delete t.headers[n]}),(t.adapter||c.adapter)(t).then(function(n){return e(t),n.data=i(n.data,n.headers,t.transformResponse),n},function(n){return u(n)||(e(t),n&&n.response&&(n.response.data=i(n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})}},169:function(t,n,r){"use strict";var e=r(17);t.exports=function(t,n,r){return e.forEach(r,function(r){t=r(t,n)}),t}},17:function(t,n,r){"use strict";function e(t){return"[object Array]"===S.call(t)}function o(t){return void 0===t}function i(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function u(t){return"[object ArrayBuffer]"===S.call(t)}function c(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function f(t){return"string"==typeof t}function s(t){return"number"==typeof t}function l(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===S.call(t)}function h(t){return"[object File]"===S.call(t)}function v(t){return"[object Blob]"===S.call(t)}function d(t){return"[object Function]"===S.call(t)}function y(t){return l(t)&&d(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function _(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function m(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(t,n){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),e(t))for(var r=0,o=t.length;r<o;r++)n.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.call(null,t[i],i,t)}function w(){function t(t,r){"object"==typeof n[r]&&"object"==typeof t?n[r]=w(n[r],t):n[r]=t}for(var n={},r=0,e=arguments.length;r<e;r++)b(arguments[r],t);return n}function x(){function t(t,r){"object"==typeof n[r]&&"object"==typeof t?n[r]=x(n[r],t):n[r]="object"==typeof t?x({},t):t}for(var n={},r=0,e=arguments.length;r<e;r++)b(arguments[r],t);return n}function j(t,n,r){return b(n,function(n,e){t[e]=r&&"function"==typeof n?O(n,r):n}),t}var O=r(125),S=Object.prototype.toString;t.exports={isArray:e,isArrayBuffer:u,isBuffer:i,isFormData:c,isArrayBufferView:a,isString:f,isNumber:s,isObject:l,isUndefined:o,isDate:p,isFile:h,isBlob:v,isFunction:d,isStream:y,isURLSearchParams:g,isStandardBrowserEnv:m,forEach:b,merge:w,deepMerge:x,extend:j,trim:_}},170:function(t,n,r){"use strict";var e=r(17);t.exports=function(t,n){e.forEach(t,function(r,e){e!==n&&e.toUpperCase()===n.toUpperCase()&&(t[n]=r,delete t[e])})}},171:function(t,n,r){"use strict";var e=r(130);t.exports=function(t,n,r){var o=r.config.validateStatus;!o||o(r.status)?t(r):n(e("Request failed with status code "+r.status,r.config,null,r.request,r))}},172:function(t,n,r){"use strict";t.exports=function(t,n,r,e,o){return t.config=n,r&&(t.code=r),t.request=e,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},173:function(t,n,r){"use strict";var e=r(174),o=r(175);t.exports=function(t,n){return t&&!e(n)?o(t,n):n}},174:function(t,n,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},175:function(t,n,r){"use strict";t.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}},176:function(t,n,r){"use strict";var e=r(17),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var n,r,i,u={};return t?(e.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),n=e.trim(t.substr(0,i)).toLowerCase(),r=e.trim(t.substr(i+1)),n){if(u[n]&&o.indexOf(n)>=0)return;u[n]="set-cookie"===n?(u[n]?u[n]:[]).concat([r]):u[n]?u[n]+", "+r:r}}),u):u}},177:function(t,n,r){"use strict";var e=r(17);t.exports=e.isStandardBrowserEnv()?function(){function t(t){var n=t;return r&&(o.setAttribute("href",n),n=o.href),o.setAttribute("href",n),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var n,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return n=t(window.location.href),function(r){var o=e.isString(r)?t(r):r;return o.protocol===n.protocol&&o.host===n.host}}():function(){return function(){return!0}}()},178:function(t,n,r){"use strict";var e=r(17);t.exports=e.isStandardBrowserEnv()?function(){return{write:function(t,n,r,o,i,u){var c=[];c.push(t+"="+encodeURIComponent(n)),e.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),e.isString(o)&&c.push("path="+o),e.isString(i)&&c.push("domain="+i),!0===u&&c.push("secure"),document.cookie=c.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},179:function(t,n,r){"use strict";function e(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(t){n=t});var r=this;t(function(t){r.reason||(r.reason=new o(t),n(r.reason))})}var o=r(132);e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.source=function(){var t;return{token:new e(function(n){t=n}),cancel:t}},t.exports=e},18:function(t,n){t.exports={}},180:function(t,n,r){"use strict";t.exports=function(t){return function(n){return t.apply(null,n)}}},19:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},2:function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},207:function(t,n,r){t.exports=r(215)},208:function(t,n,r){"use strict";n.__esModule=!0;var e=r(52),o=function(t){return t&&t.__esModule?t:{default:t}}(e);n.default=function(t){return function(){var n=t.apply(this,arguments);return new o.default(function(t,r){function e(i,u){try{var c=n[i](u),a=c.value}catch(t){return void r(t)}if(!c.done)return o.default.resolve(a).then(function(t){e("next",t)},function(t){e("throw",t)});t(a)}return e("next")})}}},214:function(t,n,r){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},215:function(t,n,r){var e=function(){return this}()||Function("return this")(),o=e.regeneratorRuntime&&Object.getOwnPropertyNames(e).indexOf("regeneratorRuntime")>=0,i=o&&e.regeneratorRuntime;if(e.regeneratorRuntime=void 0,t.exports=r(216),o)e.regeneratorRuntime=i;else try{delete e.regeneratorRuntime}catch(t){e.regeneratorRuntime=void 0}},216:function(t,n){!function(n){"use strict";function r(t,n,r,e){var i=n&&n.prototype instanceof o?n:o,u=Object.create(i.prototype),c=new h(e||[]);return u._invoke=f(t,r,c),u}function e(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function u(){}function c(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function a(t){function n(r,o,i,u){var c=e(t[r],t,o);if("throw"!==c.type){var a=c.arg,f=a.value;return f&&"object"==typeof f&&_.call(f,"__await")?Promise.resolve(f.__await).then(function(t){n("next",t,i,u)},function(t){n("throw",t,i,u)}):Promise.resolve(f).then(function(t){a.value=t,i(a)},u)}u(c.arg)}function r(t,r){function e(){return new Promise(function(e,o){n(t,r,e,o)})}return o=o?o.then(e,e):e()}var o;this._invoke=r}function f(t,n,r){var o=S;return function(i,u){if(o===E)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw u;return d()}for(r.method=i,r.arg=u;;){var c=r.delegate;if(c){var a=s(c,r);if(a){if(a===T)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===S)throw o=k,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=E;var f=e(t,n,r);if("normal"===f.type){if(o=r.done?k:A,f.arg===T)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(o=k,r.method="throw",r.arg=f.arg)}}}function s(t,n){var r=t.iterator[n.method];if(r===y){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=y,s(t,n),"throw"===n.method))return T;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return T}var o=e(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,T;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=y),n.delegate=null,T):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,T)}function l(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function p(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function v(t){if(t){var n=t[b];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,e=function n(){for(;++r<t.length;)if(_.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=y,n.done=!0,n};return e.next=e}}return{next:d}}function d(){return{value:y,done:!0}}var y,g=Object.prototype,_=g.hasOwnProperty,m="function"==typeof Symbol?Symbol:{},b=m.iterator||"@@iterator",w=m.asyncIterator||"@@asyncIterator",x=m.toStringTag||"@@toStringTag",j="object"==typeof t,O=n.regeneratorRuntime;if(O)return void(j&&(t.exports=O));O=n.regeneratorRuntime=j?t.exports:{},O.wrap=r;var S="suspendedStart",A="suspendedYield",E="executing",k="completed",T={},R={};R[b]=function(){return this};var C=Object.getPrototypeOf,L=C&&C(C(v([])));L&&L!==g&&_.call(L,b)&&(R=L);var I=u.prototype=o.prototype=Object.create(R);i.prototype=I.constructor=u,u.constructor=i,u[x]=i.displayName="GeneratorFunction",O.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===i||"GeneratorFunction"===(n.displayName||n.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(I),t},O.awrap=function(t){return{__await:t}},c(a.prototype),a.prototype[w]=function(){return this},O.AsyncIterator=a,O.async=function(t,n,e,o){var i=new a(r(t,n,e,o));return O.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},c(I),I[x]="Generator",I[b]=function(){return this},I.toString=function(){return"[object Generator]"},O.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var e=n.pop();if(e in t)return r.value=e,r.done=!1,r}return r.done=!0,r}},O.values=v,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(p),!t)for(var n in this)"t"===n.charAt(0)&&_.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0],n=t.completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(t){function n(n,e){return i.type="throw",i.arg=t,r.next=n,e&&(r.method="next",r.arg=y),!!e}if(this.done)throw t;for(var r=this,e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=_.call(o,"catchLoc"),c=_.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&_.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var o=e;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=n,o?(this.method="next",this.next=o.finallyLoc,T):this.complete(i)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),T},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),p(r),T}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var o=e.arg;p(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:v(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=y),T}}}(function(){return this}()||Function("return this")())},2281:function(t,n,r){"use strict";function e(t){var n={succUrl:location.protocol+"//"+location.host+"/userAuth/index#/result?faceAuthId="+t,failUrl:location.protocol+"//"+location.host+"/userAuth/index#/result?faceAuthId="+t,redirectType:"",id:t};new c.default(n).goFace()}Object.defineProperty(n,"__esModule",{value:!0});var o=r(52),i=r.n(o),u=r(114),c=r(1314),a=r(2282);r.n(a);e.invoke=function(t){var n=t.chn,r=void 0===n?1:n,o=t.returnUrl,c=void 0===o?location.href:o,f=/[/?=]/.test(c)?encodeURIComponent(c):c;return r&&2===Number(r)?(location.href="/ldeal/entry#/verify?bizscene=cps&returnurl="+f,i.a.resolve()):Object(u.b)("/UserAuth/getFaceAuthId",{certifyChn:r,returnUrl:c}).then(function(t){var n=t.data,r=void 0===n?{}:n;return 0===r.ret?(e(r.data.faceAuthId),i.a.resolve()):10001===r.ret?(location.href="/UserProfile#/certification?update=1&returnurl="+f,i.a.resolve()):i.a.reject(r)}).catch(function(t){return Object(a.isError)(t)?i.a.reject({ret:99999,errmsg:t.message}):i.a.reject(t)})},n.default=e},2282:function(t,n,r){(function(t,e){var o;(function(){function i(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}function u(t,n,r,e){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];n(e,u,r(u),t)}return e}function c(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}function a(t,n){for(var r=null==t?0:t.length;r--&&!1!==n(t[r],r,t););return t}function f(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(!n(t[r],r,t))return!1;return!0}function s(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++r<e;){var u=t[r];n(u,r,t)&&(i[o++]=u)}return i}function l(t,n){return!!(null==t?0:t.length)&&x(t,n,0)>-1}function p(t,n,r){for(var e=-1,o=null==t?0:t.length;++e<o;)if(r(n,t[e]))return!0;return!1}function h(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}function v(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}function d(t,n,r,e){var o=-1,i=null==t?0:t.length;for(e&&i&&(r=t[++o]);++o<i;)r=n(r,t[o],o,t);return r}function y(t,n,r,e){var o=null==t?0:t.length;for(e&&o&&(r=t[--o]);o--;)r=n(r,t[o],o,t);return r}function g(t,n){for(var r=-1,e=null==t?0:t.length;++r<e;)if(n(t[r],r,t))return!0;return!1}function _(t){return t.split("")}function m(t){return t.match(Bn)||[]}function b(t,n,r){var e;return r(t,function(t,r,o){if(n(t,r,o))return e=r,!1}),e}function w(t,n,r,e){for(var o=t.length,i=r+(e?1:-1);e?i--:++i<o;)if(n(t[i],i,t))return i;return-1}function x(t,n,r){return n===n?Z(t,n,r):w(t,O,r)}function j(t,n,r,e){for(var o=r-1,i=t.length;++o<i;)if(e(t[o],n))return o;return-1}function O(t){return t!==t}function S(t,n){var r=null==t?0:t.length;return r?R(t,n)/r:Nt}function A(t){return function(n){return null==n?ot:n[t]}}function E(t){return function(n){return null==t?ot:t[n]}}function k(t,n,r,e,o){return o(t,function(t,o,i){r=e?(e=!1,t):n(r,t,o,i)}),r}function T(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}function R(t,n){for(var r,e=-1,o=t.length;++e<o;){var i=n(t[e]);i!==ot&&(r=r===ot?i:r+i)}return r}function C(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}function L(t,n){return h(n,function(n){return[n,t[n]]})}function I(t){return t?t.slice(0,tt(t)+1).replace(Un,""):t}function P(t){return function(n){return t(n)}}function U(t,n){return h(n,function(n){return t[n]})}function N(t,n){return t.has(n)}function F(t,n){for(var r=-1,e=t.length;++r<e&&x(n,t[r],0)>-1;);return r}function M(t,n){for(var r=t.length;r--&&x(n,t[r],0)>-1;);return r}function D(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&++e;return e}function B(t){return"\\"+kr[t]}function z(t,n){return null==t?ot:t[n]}function W(t){return mr.test(t)}function q(t){return br.test(t)}function $(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}function V(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}function G(t,n){return function(r){return t(n(r))}}function J(t,n){for(var r=-1,e=t.length,o=0,i=[];++r<e;){var u=t[r];u!==n&&u!==lt||(t[r]=lt,i[o++]=r)}return i}function H(t){var n=-1,r=Array(t.size);return t.forEach(function(t){r[++n]=t}),r}function K(t){var n=-1,r=Array(t.size);return t.forEach(function(t){r[++n]=[t,t]}),r}function Z(t,n,r){for(var e=r-1,o=t.length;++e<o;)if(t[e]===n)return e;return-1}function X(t,n,r){for(var e=r+1;e--;)if(t[e]===n)return e;return e}function Y(t){return W(t)?nt(t):Vr(t)}function Q(t){return W(t)?rt(t):_(t)}function tt(t){for(var n=t.length;n--&&Nn.test(t.charAt(n)););return n}function nt(t){for(var n=gr.lastIndex=0;gr.test(t);)++n;return n}function rt(t){return t.match(gr)||[]}function et(t){return t.match(_r)||[]}var ot,it=200,ut="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ct="Expected a function",at="Invalid `variable` option passed into `_.template`",ft="__lodash_hash_undefined__",st=500,lt="__lodash_placeholder__",pt=1,ht=2,vt=4,dt=1,yt=2,gt=1,_t=2,mt=4,bt=8,wt=16,xt=32,jt=64,Ot=128,St=256,At=512,Et=30,kt="...",Tt=800,Rt=16,Ct=1,Lt=2,It=1/0,Pt=9007199254740991,Ut=1.7976931348623157e308,Nt=NaN,Ft=4294967295,Mt=Ft-1,Dt=Ft>>>1,Bt=[["ary",Ot],["bind",gt],["bindKey",_t],["curry",bt],["curryRight",wt],["flip",At],["partial",xt],["partialRight",jt],["rearg",St]],zt="[object Arguments]",Wt="[object Array]",qt="[object AsyncFunction]",$t="[object Boolean]",Vt="[object Date]",Gt="[object DOMException]",Jt="[object Error]",Ht="[object Function]",Kt="[object GeneratorFunction]",Zt="[object Map]",Xt="[object Number]",Yt="[object Null]",Qt="[object Object]",tn="[object Proxy]",nn="[object RegExp]",rn="[object Set]",en="[object String]",on="[object Symbol]",un="[object Undefined]",cn="[object WeakMap]",an="[object WeakSet]",fn="[object ArrayBuffer]",sn="[object DataView]",ln="[object Float32Array]",pn="[object Float64Array]",hn="[object Int8Array]",vn="[object Int16Array]",dn="[object Int32Array]",yn="[object Uint8Array]",gn="[object Uint8ClampedArray]",_n="[object Uint16Array]",mn="[object Uint32Array]",bn=/\b__p \+= '';/g,wn=/\b(__p \+=) '' \+/g,xn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jn=/&(?:amp|lt|gt|quot|#39);/g,On=/[&<>"']/g,Sn=RegExp(jn.source),An=RegExp(On.source),En=/<%-([\s\S]+?)%>/g,kn=/<%([\s\S]+?)%>/g,Tn=/<%=([\s\S]+?)%>/g,Rn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cn=/^\w*$/,Ln=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,In=/[\\^$.*+?()[\]{}|]/g,Pn=RegExp(In.source),Un=/^\s+/,Nn=/\s/,Fn=/\{(?:\n\/