@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 465 kB
JavaScript
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.Recognition=e(require("vue")):n.Recognition=e(n.Vue)}("undefined"!=typeof self?self:this,function(n){return function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="../lib",e(e.s=1998)}({0:function(n,e){var t=n.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},1:function(n,e,t){"use strict";function r(n,e,t,r,o,c,i,f){n=n||{};var u=typeof n.default;"object"!==u&&"function"!==u||(n=n.default);var s="function"==typeof n?n.options:n;e&&(s.render=e,s.staticRenderFns=t,s._compiled=!0),r&&(s.functional=!0),c&&(s._scopeId=c);var A;if(i?(A=function(n){n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,n||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(i)},s._ssrRegister=A):o&&(A=f?function(){o.call(this,this.$root.$options.shadowRoot)}:o),A)if(s.functional){s._injectStyles=A;var a=s.render;s.render=function(n,e){return A.call(e),a(n,e)}}else{var g=s.beforeCreate;s.beforeCreate=g?[].concat(g,A):[A]}return{exports:n,options:s}}e.a=r},10:function(n,e,t){var r=t(7),o=t(22);n.exports=t(4)?function(n,e,t){return r.f(n,e,o(1,t))}:function(n,e,t){return n[e]=t,n}},100:function(n,e,t){n.exports={default:t(101),__esModule:!0}},101:function(n,e,t){t(59),t(52),t(102),t(103),n.exports=t(0).Symbol},102:function(n,e,t){t(41)("asyncIterator")},103:function(n,e,t){t(41)("observable")},104:function(n,e,t){"use strict";function r(n){f||t(136)}var o=t(73),c=t(137),i=t(1),f=!1,u=r,s=Object(i.a)(o.a,c.a,c.b,!1,u,null,null);s.options.__file="src\\components\\common\\popup.vue",e.a=s.exports},106:function(n,e,t){t(107),n.exports=t(0).Object.keys},107:function(n,e,t){var r=t(17),o=t(16);t(60)("keys",function(){return function(n){return o(r(n))}})},108:function(n,e,t){"use strict";function r(n){n.interceptors.response.use(function(n){return n},function(n){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},t="";return t=n&&n.response&&n.response.status?e[n.response.status]?e[n.response.status]+"("+n.response.status+")":"请求失败,请稍后重试("+n.response.status+")":n&&n.message&&/timeout/i.test(n.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",f.a.reject(new Error(t))})}function o(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new f.a(function(o,c){var i=s.a.create();r(i),i.request({method:"post",url:n,data:e,timeout:t,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(n){o(n)}).catch(function(n){c(n)})})}function c(n){return s.a.get(n).then(function(n){return f.a.resolve(n.data)})}e.a=r,e.d=o,e.c=c;var i=t(36),f=t.n(i),u=t(159),s=t.n(u);e.b=function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new f.a(function(o,c){var i=s.a.create();r(i),i.request({method:"post",url:n,data:e,timeout:t,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(n){function e(n,e){var t=0,r=n.length;if(void 0===r||"[object Function]"===Object.prototype.toString.call(n)){for(var o in n)if(!1===e.call(n[o],o,n[o]))break}else for(var c=n[0];t<r&&!1!==e.call(c,t,c);c=n[++t]);return n}function t(n,r,o){var c=void 0,i="[object Array]"===Object.prototype.toString.call(r),f="[object Object]"===Object.prototype.toString.call(r);e(r,function(e,r){c=Object.prototype.toString.call(r),o&&(e=o+"["+(f||"[object Object]"===c||"[object Array]"===c?e:"")+"]"),!o&&i?n.add(r.name,r.value):"[object Array]"===c||"[object Object]"===c?t(n,r,e):n.add(e,r)})}if(n){return function(n){var e=[];return e.add=function(n,e){"[object Function]"===Object.prototype.toString.call(e)&&(e=e()),null==e&&(e=""),this.push(encodeURIComponent(n)+"="+encodeURIComponent(e))},t(e,n),e.join("&").replace(/%20/g,"+")}(n)}}]}).then(function(n){o(n)}).catch(function(n){c(n)})})}},109:function(n,e,t){n.exports={default:t(110),__esModule:!0}},11:function(n,e){var t={}.hasOwnProperty;n.exports=function(n,e){return t.call(n,e)}},110:function(n,e,t){t(111);var r=t(0).Object;n.exports=function(n){return r.getOwnPropertyNames(n)}},111:function(n,e,t){t(60)("getOwnPropertyNames",function(){return t(58).f})},112:function(n,e,t){n.exports={default:t(113),__esModule:!0}},113:function(n,e,t){t(59),n.exports=t(0).Object.getOwnPropertySymbols},116:function(n,e,t){var r=t(9);n.exports=function(n,e,t,o){try{return o?e(r(t)[0],t[1]):e(t)}catch(e){var c=n.return;throw void 0!==c&&r(c.call(n)),e}}},117:function(n,e,t){var r=t(21),o=t(3)("iterator"),c=Array.prototype;n.exports=function(n){return void 0!==n&&(r.Array===n||c[o]===n)}},12:function(n,e,t){"use strict";function r(n){return"[object Array]"===b.call(n)}function o(n){return void 0===n}function c(n){return null!==n&&!o(n)&&null!==n.constructor&&!o(n.constructor)&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}function i(n){return"[object ArrayBuffer]"===b.call(n)}function f(n){return"undefined"!=typeof FormData&&n instanceof FormData}function u(n){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(n):n&&n.buffer&&n.buffer instanceof ArrayBuffer}function s(n){return"string"==typeof n}function A(n){return"number"==typeof n}function a(n){return null!==n&&"object"==typeof n}function g(n){return"[object Date]"===b.call(n)}function w(n){return"[object File]"===b.call(n)}function p(n){return"[object Blob]"===b.call(n)}function h(n){return"[object Function]"===b.call(n)}function v(n){return a(n)&&h(n.pipe)}function l(n){return"undefined"!=typeof URLSearchParams&&n instanceof URLSearchParams}function D(n){return n.replace(/^\s*/,"").replace(/\s*$/,"")}function j(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function d(n,e){if(null!==n&&void 0!==n)if("object"!=typeof n&&(n=[n]),r(n))for(var t=0,o=n.length;t<o;t++)e.call(null,n[t],t,n);else for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&e.call(null,n[c],c,n)}function O(){function n(n,t){"object"==typeof e[t]&&"object"==typeof n?e[t]=O(e[t],n):e[t]=n}for(var e={},t=0,r=arguments.length;t<r;t++)d(arguments[t],n);return e}function x(){function n(n,t){"object"==typeof e[t]&&"object"==typeof n?e[t]=x(e[t],n):e[t]="object"==typeof n?x({},n):n}for(var e={},t=0,r=arguments.length;t<r;t++)d(arguments[t],n);return e}function N(n,e,t){return d(e,function(e,r){n[r]=t&&"function"==typeof e?B(e,t):e}),n}var B=t(126),b=Object.prototype.toString;n.exports={isArray:r,isArrayBuffer:i,isBuffer:c,isFormData:f,isArrayBufferView:u,isString:s,isNumber:A,isObject:a,isUndefined:o,isDate:g,isFile:w,isBlob:p,isFunction:h,isStream:v,isURLSearchParams:l,isStandardBrowserEnv:j,forEach:d,merge:O,deepMerge:x,extend:N,trim:D}},121:function(n,e,t){var r=t(3)("iterator"),o=!1;try{var c=[7][r]();c.return=function(){o=!0},Array.from(c,function(){throw 2})}catch(n){}n.exports=function(n,e){if(!e&&!o)return!1;var t=!1;try{var c=[7],i=c[r]();i.next=function(){return{done:t=!0}},c[r]=function(){return i},n(c)}catch(n){}return t}},122:function(n,e,t){"use strict";var r=t(2),o=t(0),c=t(7),i=t(4),f=t(3)("species");n.exports=function(n){var e="function"==typeof o[n]?o[n]:r[n];i&&e&&!e[f]&&c.f(e,f,{configurable:!0,get:function(){return this}})}},123:function(n,e,t){"use strict";e.__esModule=!0;var r=t(29),o=function(n){return n&&n.__esModule?n:{default:n}}(r);e.default=o.default||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}},126:function(n,e,t){"use strict";n.exports=function(n,e){return function(){for(var t=new Array(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];return n.apply(e,t)}}},127:function(n,e,t){"use strict";function r(n){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=t(12);n.exports=function(n,e,t){if(!e)return n;var c;if(t)c=t(e);else if(o.isURLSearchParams(e))c=e.toString();else{var i=[];o.forEach(e,function(n,e){null!==n&&void 0!==n&&(o.isArray(n)?e+="[]":n=[n],o.forEach(n,function(n){o.isDate(n)?n=n.toISOString():o.isObject(n)&&(n=JSON.stringify(n)),i.push(r(e)+"="+r(n))}))}),c=i.join("&")}if(c){var f=n.indexOf("#");-1!==f&&(n=n.slice(0,f)),n+=(-1===n.indexOf("?")?"?":"&")+c}return n}},128:function(n,e,t){"use strict";n.exports=function(n){return!(!n||!n.__CANCEL__)}},129:function(n,e,t){"use strict";(function(e){function r(n,e){!o.isUndefined(n)&&o.isUndefined(n["Content-Type"])&&(n["Content-Type"]=e)}var o=t(12),c=t(165),i={"Content-Type":"application/x-www-form-urlencoded"},f={adapter:function(){var n;return"undefined"!=typeof XMLHttpRequest?n=t(130):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(n=t(130)),n}(),transformRequest:[function(n,e){return c(e,"Accept"),c(e,"Content-Type"),o.isFormData(n)||o.isArrayBuffer(n)||o.isBuffer(n)||o.isStream(n)||o.isFile(n)||o.isBlob(n)?n:o.isArrayBufferView(n)?n.buffer:o.isURLSearchParams(n)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),n.toString()):o.isObject(n)?(r(e,"application/json;charset=utf-8"),JSON.stringify(n)):n}],transformResponse:[function(n){if("string"==typeof n)try{n=JSON.parse(n)}catch(n){}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(n){return n>=200&&n<300}};f.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(n){f.headers[n]={}}),o.forEach(["post","put","patch"],function(n){f.headers[n]=o.merge(i)}),n.exports=f}).call(e,t(140))},13:function(n,e){n.exports=function(n){try{return!!n()}catch(n){return!0}}},130:function(n,e,t){"use strict";var r=t(12),o=t(166),c=t(127),i=t(168),f=t(171),u=t(172),s=t(131);n.exports=function(n){return new Promise(function(e,A){var a=n.data,g=n.headers;r.isFormData(a)&&delete g["Content-Type"];var w=new XMLHttpRequest;if(n.auth){var p=n.auth.username||"",h=n.auth.password||"";g.Authorization="Basic "+btoa(p+":"+h)}var v=i(n.baseURL,n.url);if(w.open(n.method.toUpperCase(),c(v,n.params,n.paramsSerializer),!0),w.timeout=n.timeout,w.onreadystatechange=function(){if(w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in w?f(w.getAllResponseHeaders()):null,r=n.responseType&&"text"!==n.responseType?w.response:w.responseText,c={data:r,status:w.status,statusText:w.statusText,headers:t,config:n,request:w};o(e,A,c),w=null}},w.onabort=function(){w&&(A(s("Request aborted",n,"ECONNABORTED",w)),w=null)},w.onerror=function(){A(s("Network Error",n,null,w)),w=null},w.ontimeout=function(){var e="timeout of "+n.timeout+"ms exceeded";n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),A(s(e,n,"ECONNABORTED",w)),w=null},r.isStandardBrowserEnv()){var l=t(173),D=(n.withCredentials||u(v))&&n.xsrfCookieName?l.read(n.xsrfCookieName):void 0;D&&(g[n.xsrfHeaderName]=D)}if("setRequestHeader"in w&&r.forEach(g,function(n,e){void 0===a&&"content-type"===e.toLowerCase()?delete g[e]:w.setRequestHeader(e,n)}),r.isUndefined(n.withCredentials)||(w.withCredentials=!!n.withCredentials),n.responseType)try{w.responseType=n.responseType}catch(e){if("json"!==n.responseType)throw e}"function"==typeof n.onDownloadProgress&&w.addEventListener("progress",n.onDownloadProgress),"function"==typeof n.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",n.onUploadProgress),n.cancelToken&&n.cancelToken.promise.then(function(n){w&&(w.abort(),A(n),w=null)}),void 0===a&&(a=null),w.send(a)})}},131:function(n,e,t){"use strict";var r=t(167);n.exports=function(n,e,t,o,c){var i=new Error(n);return r(i,e,t,o,c)}},132:function(n,e,t){"use strict";var r=t(12);n.exports=function(n,e){e=e||{};var t={},o=["url","method","params","data"],c=["headers","auth","proxy"],i=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(n){void 0!==e[n]&&(t[n]=e[n])}),r.forEach(c,function(o){r.isObject(e[o])?t[o]=r.deepMerge(n[o],e[o]):void 0!==e[o]?t[o]=e[o]:r.isObject(n[o])?t[o]=r.deepMerge(n[o]):void 0!==n[o]&&(t[o]=n[o])}),r.forEach(i,function(r){void 0!==e[r]?t[r]=e[r]:void 0!==n[r]&&(t[r]=n[r])});var f=o.concat(c).concat(i),u=Object.keys(e).filter(function(n){return-1===f.indexOf(n)});return r.forEach(u,function(r){void 0!==e[r]?t[r]=e[r]:void 0!==n[r]&&(t[r]=n[r])}),t}},1324:function(n,e,t){"use strict";function r(n,e){"function"==typeof n&&n(e)}function o(n,e,t){if(!t)return n;var r=new URL(n),o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),c=r.search?"&":"?";return r.search=function(n){return n.match(o)?n.replace(o,"$1"+e+"="+t+"$2"):n+c+e+"="+t}(r.search),r.href}function c(n,e){var t=n;for(var r in e)t=o(t,r,e[r]);return t}function i(n,e){return c(n,{mucType:e})}Object.defineProperty(e,"__esModule",{value:!0});var f=t(72),u=t.n(f),s=t(123),A=t.n(s),a=t(183),g=t.n(a),w=t(36),p=t.n(w),h=t(184),v=t.n(h),l=t(185),D=t.n(l),j=t(5),d=t(108),O=t(1325),x=(t.n(O),"undefined"!=typeof window&&window.navigator.userAgent.toLowerCase()),N=null;j.K.isKcbApp?N=window.kcbJs:j.K.isXysApp&&(N=window.xysJs);var B={supportedProviders:["TENCENT","FACEID"],business:1,environment:1},b={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}},y=["muckacabao","mucyanxuan","mucconsultant","mucxiaoyusan"],m="/faceCheck/index/middle",G=function(){function n(e){if(D()(this,n),!e.succUrl)throw new Error("succUrl为必传参数");e.failUrl||(e.failUrl=e.succUrl),e.redirectUrl=e.redirectUrl?e.redirectUrl:location.href,this.h5MiddleUrl=e.domain?""+e.domain+m:m,e.redirectType=e.redirectType||"",e.config=e.config||b,e.appUa=e.appUa||y,e.title=e.title||"",e.desc=e.desc||"",this.options=e}return n.prototype._isAPP=function(){for(var n=0;n<this.options.appUa.length;n++)if(x.indexOf(this.options.appUa[n])>-1)return this.options.appUa[n];return!1},n.prototype.getId=function(){function n(){return e.apply(this,arguments)}var e=v()(g.a.mark(function n(){var e,t,r;return g.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e=this._isAPP())){n.next=12;break}return B.environment=this.options.config.app.environment,B.business=this.options.config.app[e].business,n.next=6,this.getAppSupportList().catch(function(){return[]});case 6:return t=n.sent,r=Array.isArray(t)&&t.length>0,B.supportedProviders=t||[],n.abrupt("return",r?{id:this.options.config.app[e].id,scene:"app"}:{id:this.options.config.app.other.id,scene:"h5"});case 12:if(!j.K.isWx){n.next=18;break}return B.environment=this.options.config.wx.environment,B.business=this.options.config.wx.business,n.abrupt("return",{scene:"wx",id:this.options.config.wx.id});case 18:if(!j.K.isMobile){n.next=24;break}return B.environment=this.options.config.h5.environment,B.business=this.options.config.h5.business,n.abrupt("return",{scene:"h5",id:this.options.config.h5.id});case 24:return n.abrupt("return",p.a.reject({errmsg:"不支持",ret:10002}));case 25:case"end":return n.stop()}},n,this)}));return n}(),n.prototype._wxFace=function(n){this._h5JumpToVerify(n)},n.prototype._appFace=function(n){var e=n.data.ext.provider;if(!B.supportedProviders.includes(e))return void this._h5JumpToVerify(n);var t={};t="FACEID"===e?{provider:e,faceToken:n.data.ext.initData}:A()({provider:e},n.data.ext.initData),this._invokeAppSdk(t)},n.prototype._h5Face=function(n){this._h5JumpToVerify(n)},n.prototype._miniFace=function(n){wx.miniProgram.navigateTo({url:"/pages/faceverify/index?bizToken="+n.data.ext.initData.bizToken+"&ret=0&redirectUrl="+encodeURIComponent(this.options.redirectUrl+"&mucType=mini")})},n.prototype._h5JumpToVerify=function(n){"FACEID"===n.data.ext.provider?location.href="https://api.megvii.com/faceid/lite/do?token="+n.data.ext.initData:location.href=n.data.ext.initData.url},n.prototype._invokeAppSdk=function(n){var e=this;N.invoke({path:"/faceVerify/faceService",data:n,unsupport:function(){return r(e.options.fail,{errmsg:"不支持"})},success:function(t){if("FACEID"!==n.provider)return r(e.options.succ,t);e._faceIdSuccess(t)},fail:function(n){return r(e.options.fail,n)}})},n.prototype._faceIdSuccess=function(){function n(n){return e.apply(this,arguments)}var e=v()(g.a.mark(function n(e){var t,o,c,i=this;return g.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return",r(this.options.fail,{errmsg:"验证失败,未上传验证"}));case 2:return t=e||{},o=t.deltaData,n.next=5,Object(d.b)("/faceCheck/uploadFaceidAppLiveness",{faceCheckId:this.options.id,liveness:o}).catch(function(n){r(i.options.fail,n)});case 5:c=n.sent,c&&c.data&&0===c.data.ret?this.getResult():r(this.options.fail,{errmsg:"上传验证失败"});case 7:case"end":return n.stop()}},n,this)}));return n}(),n.prototype.goFace=function(){var n=this.formatUrl(this.h5MiddleUrl),e={redirectType:this.options.redirectType,mucId:this.options.id,succUrl:encodeURIComponent(this.options.succUrl),failUrl:encodeURIComponent(this.options.failUrl)};this.options.title&&(e.title=encodeURIComponent(this.options.title)),this.options.desc&&(e.desc=encodeURIComponent(this.options.desc));var t=u()(e).map(function(n){return n+"="+e[n]}).join("&");location.href=n+"?"+t},n.prototype.goFaceCheck=function(){var n=this;this.getId().then(function(e){n.faceCheck({xysScene:e.scene,xysScenemucId:e.id})}).catch(function(e){if(e&&10001===e.ret)return wx.miniProgram.navigateTo({url:"/pages/faceverify/index?ret=1"});e&&10002===e.ret?alert("暂不支持PC页面使用"):r(n.options.fail,e)})},n.prototype.faceCheck=function(n){var e=this;this._getFaceCheck().then(function(t){0===t.ret?4===t.data.state?r(e.options.succ):5===t.data.state?r(e.options.fail,{errmsg:"人脸核身失败",data:{des:"业务id状态为关闭"}}):e._faceInit(n):r(e.options.fail,t)})},n.prototype._faceInit=function(n){var e=this;Object(d.b)("/faceCheck/init",A()({faceCheckId:this.options.id,confId:n.xysScenemucId,redirectUrl:i(this.options.redirectUrl,"h5"),redirectType:this.options.redirectType},B)).then(function(t){0===t.data.ret?"wx"===n.xysScene?e._wxFace(t.data):"app"===n.xysScene?e._appFace(t.data):"h5"===n.xysScene?e._h5Face(t.data):"mini"===n.xysScene&&e._miniFace(t.data):r(e.options.fail,{errmsg:t.data.errmsg})}).catch(function(n){return"ECONNABORTED"===n.code&&r(e.options.fail,{ret:999990,errmsg:"faceCheck/init超时"}),r(e.options.fail,{ret:99999,errmsg:"系统繁忙"})})},n.prototype.getResult=function(n){var e=this;return Object(d.b)("/faceCheck/getCheckResult",{faceCheckId:this.options.id}).then(function(t){if(n&&n.self)return p.a.resolve(t.data);0===t.data.ret&&4===t.data.data.state?location.replace(c(e.options.succUrl,{facecheckid:e.options.id,mucFaceType:1})):location.replace(c(e.options.failUrl,{facecheckid:e.options.id,mucFaceType:0}))}).catch(function(n){return p.a.reject({ret:99999,errmsg:"系统繁忙"})})},n.prototype._getFaceCheck=function(){return Object(d.b)("/faceCheck/getFaceCheck",{faceCheckId:this.options.id}).then(function(n){return p.a.resolve(n.data)}).catch(function(n){return p.a.resolve({ret:99999,errmsg:"系统繁忙",data:{des:"/faceCheck/getFaceCheck出错"}})})},n.prototype._checkTencentSupport=function(){return new p.a(function(n,e){N.checkJsApi({path:"/faceVerify/faceService",success:function(e){n(!0)},fail:function(e){n(!1)}})})},n.prototype.getAppSupportList=function(){var n=this;return new p.a(function(e,t){n._getSupportList().then(function(n){e(n)}).catch(function(r){n._checkTencentSupport().then(function(n){e(n?["TENCENT"]:[])}).catch(function(){t()})})})},n.prototype._getSupportList=function(){return new p.a(function(n,e){N.invoke({path:"/faceVerify/getSupportList",success:function(e){n(e)},fail:function(n){e()},unsupport:function(){e()}})})},n.prototype.formatUrl=function(n){var e=n.split("?")[0];return/^https?:\/\//.test(e)?e:/^\/\//.test(e)?location.protocol+e:/\./.test(e)?location.protocol+"//"+e:location.protocol+"//"+location.host+e},n}();G.config=b,e.default=G},1325:function(n,e){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(n,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),r=t.length>>>0;if(0===r)return!1;for(var o=0|e,c=Math.max(o>=0?o:r-Math.abs(o),0);c<r;){if(function(n,e){return n===e||"number"==typeof n&&"number"==typeof e&&isNaN(n)&&isNaN(e)}(t[c],n))return!0;c++}return!1}})},133:function(n,e,t){"use strict";function r(n){this.message=n}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,n.exports=r},136:function(n,e){},137:function(n,e,t){"use strict";t.d(e,"a",function(){return r}),t.d(e,"b",function(){return o});var r=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"show",rawName:"v-show",value:n.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:n.typeClass,style:{pointerEvents:n.pointerEvent,zIndex:n.zIndex}},[t("div",{directives:[{name:"show",rawName:"v-show",value:n.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:n.maskBgColor},on:{click:n.maskClick}},[n._t("mask")],2),n._v(" "),t("div",{staticClass:"act-popup-container",class:{"act-popup-center":n.center}},[n.$slots.default?t("div",{class:{"act-popup-content":!0,"act-popup-top-radius":n.topBorderRadius}},[n._t("default")],2):t("div",{class:{"act-popup-content":!0,"act-popup-top-radius":n.topBorderRadius},domProps:{innerHTML:n._s(n.content)}})])])},o=[];r._withStripped=!0},14:function(n,e,t){var r=t(48),o=t(31);n.exports=function(n){return r(o(n))}},140:function(n,e){function t(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(n){if(A===setTimeout)return setTimeout(n,0);if((A===t||!A)&&setTimeout)return A=setTimeout,setTimeout(n,0);try{return A(n,0)}catch(e){try{return A.call(null,n,0)}catch(e){return A.call(this,n,0)}}}function c(n){if(a===clearTimeout)return clearTimeout(n);if((a===r||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(n);try{return a(n)}catch(e){try{return a.call(null,n)}catch(e){return a.call(this,n)}}}function i(){h&&w&&(h=!1,w.length?p=w.concat(p):v=-1,p.length&&f())}function f(){if(!h){var n=o(i);h=!0;for(var e=p.length;e;){for(w=p,p=[];++v<e;)w&&w[v].run();v=-1,e=p.length}w=null,h=!1,c(n)}}function u(n,e){this.fun=n,this.array=e}function s(){}var A,a,g=n.exports={};!function(){try{A="function"==typeof setTimeout?setTimeout:t}catch(n){A=t}try{a="function"==typeof clearTimeout?clearTimeout:r}catch(n){a=r}}();var w,p=[],h=!1,v=-1;g.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];p.push(new u(n,e)),1!==p.length||h||o(f)},u.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={},g.on=s,g.addListener=s,g.once=s,g.off=s,g.removeListener=s,g.removeAllListeners=s,g.emit=s,g.prependListener=s,g.prependOnceListener=s,g.listeners=function(n){return[]},g.binding=function(n){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(n){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},143:function(n,e,t){t(52),t(38),t(44),t(144),t(148),t(149),n.exports=t(0).Promise},144:function(n,e,t){"use strict";var r,o,c,i,f=t(19),u=t(2),s=t(20),A=t(66),a=t(6),g=t(8),w=t(30),p=t(74),h=t(57),v=t(86),l=t(87).set,D=t(146)(),j=t(63),d=t(88),O=t(147),x=t(89),N=u.TypeError,B=u.process,b=B&&B.versions,y=b&&b.v8||"",m=u.Promise,G="process"==A(B),P=function(){},M=o=j.f,T=!!function(){try{var n=m.resolve(1),e=(n.constructor={})[t(3)("species")]=function(n){n(P,P)};return(G||"function"==typeof PromiseRejectionEvent)&&n.then(P)instanceof e&&0!==y.indexOf("6.6")&&-1===O.indexOf("Chrome/66")}catch(n){}}(),z=function(n){var e;return!(!g(n)||"function"!=typeof(e=n.then))&&e},H=function(n,e){if(!n._n){n._n=!0;var t=n._c;D(function(){for(var r=n._v,o=1==n._s,c=0;t.length>c;)!function(e){var t,c,i,f=o?e.ok:e.fail,u=e.resolve,s=e.reject,A=e.domain;try{f?(o||(2==n._h&&Y(n),n._h=1),!0===f?t=r:(A&&A.enter(),t=f(r),A&&(A.exit(),i=!0)),t===e.promise?s(N("Promise-chain cycle")):(c=z(t))?c.call(t,u,s):u(t)):s(r)}catch(n){A&&!i&&A.exit(),s(n)}}(t[c++]);n._c=[],n._n=!1,e&&!n._h&&E(n)})}},E=function(n){l.call(u,function(){var e,t,r,o=n._v,c=C(n);if(c&&(e=d(function(){G?B.emit("unhandledRejection",o,n):(t=u.onunhandledrejection)?t({promise:n,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),n._h=G||C(n)?2:1),n._a=void 0,c&&e.e)throw e.v})},C=function(n){return 1!==n._h&&0===(n._a||n._c).length},Y=function(n){l.call(u,function(){var e;G?B.emit("rejectionHandled",n):(e=u.onrejectionhandled)&&e({promise:n,reason:n._v})})},Q=function(n){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=n,e._s=2,e._a||(e._a=e._c.slice()),H(e,!0))},I=function(n){var e,t=this;if(!t._d){t._d=!0,t=t._w||t;try{if(t===n)throw N("Promise can't be resolved itself");(e=z(n))?D(function(){var r={_w:t,_d:!1};try{e.call(n,s(I,r,1),s(Q,r,1))}catch(n){Q.call(r,n)}}):(t._v=n,t._s=1,H(t,!1))}catch(n){Q.call({_w:t,_d:!1},n)}}};T||(m=function(n){p(this,m,"Promise","_h"),w(n),r.call(this);try{n(s(I,this,1),s(Q,this,1))}catch(n){Q.call(this,n)}},r=function(n){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=t(75)(m.prototype,{then:function(n,e){var t=M(v(this,m));return t.ok="function"!=typeof n||n,t.fail="function"==typeof e&&e,t.domain=G?B.domain:void 0,this._c.push(t),this._a&&this._a.push(t),this._s&&H(this,!1),t.promise},catch:function(n){return this.then(void 0,n)}}),c=function(){var n=new r;this.promise=n,this.resolve=s(I,n,1),this.reject=s(Q,n,1)},j.f=M=function(n){return n===m||n===i?new c(n):o(n)}),a(a.G+a.W+a.F*!T,{Promise:m}),t(24)(m,"Promise"),t(122)("Promise"),i=t(0).Promise,a(a.S+a.F*!T,"Promise",{reject:function(n){var e=M(this);return(0,e.reject)(n),e.promise}}),a(a.S+a.F*(f||!T),"Promise",{resolve:function(n){return x(f&&this===i?m:this,n)}}),a(a.S+a.F*!(T&&t(121)(function(n){m.all(n).catch(P)})),"Promise",{all:function(n){var e=this,t=M(e),r=t.resolve,o=t.reject,c=d(function(){var t=[],c=0,i=1;h(n,!1,function(n){var f=c++,u=!1;t.push(void 0),i++,e.resolve(n).then(function(n){u||(u=!0,t[f]=n,--i||r(t))},o)}),--i||r(t)});return c.e&&o(c.v),t.promise},race:function(n){var e=this,t=M(e),r=t.reject,o=d(function(){h(n,!1,function(n){e.resolve(n).then(t.resolve,r)})});return o.e&&r(o.v),t.promise}})},145:function(n,e){n.exports=function(n,e,t){var r=void 0===t;switch(e.length){case 0:return r?n():n.call(t);case 1:return r?n(e[0]):n.call(t,e[0]);case 2:return r?n(e[0],e[1]):n.call(t,e[0],e[1]);case 3:return r?n(e[0],e[1],e[2]):n.call(t,e[0],e[1],e[2]);case 4:return r?n(e[0],e[1],e[2],e[3]):n.call(t,e[0],e[1],e[2],e[3])}return n.apply(t,e)}},146:function(n,e,t){var r=t(2),o=t(87).set,c=r.MutationObserver||r.WebKitMutationObserver,i=r.process,f=r.Promise,u="process"==t(23)(i);n.exports=function(){var n,e,t,s=function(){var r,o;for(u&&(r=i.domain)&&r.exit();n;){o=n.fn,n=n.next;try{o()}catch(r){throw n?t():e=void 0,r}}e=void 0,r&&r.enter()};if(u)t=function(){i.nextTick(s)};else if(!c||r.navigator&&r.navigator.standalone)if(f&&f.resolve){var A=f.resolve(void 0);t=function(){A.then(s)}}else t=function(){o.call(r,s)};else{var a=!0,g=document.createTextNode("");new c(s).observe(g,{characterData:!0}),t=function(){g.data=a=!a}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),n||(n=o,t()),e=o}}},147:function(n,e,t){var r=t(2),o=r.navigator;n.exports=o&&o.userAgent||""},148:function(n,e,t){"use strict";var r=t(6),o=t(0),c=t(2),i=t(86),f=t(89);r(r.P+r.R,"Promise",{finally:function(n){var e=i(this,o.Promise||c.Promise),t="function"==typeof n;return this.then(t?function(t){return f(e,n()).then(function(){return t})}:n,t?function(t){return f(e,n()).then(function(){throw t})}:n)}})},149:function(n,e,t){"use strict";var r=t(6),o=t(63),c=t(88);r(r.S,"Promise",{try:function(n){var e=o.f(this),t=c(n);return(t.e?e.reject:e.resolve)(t.v),e.promise}})},1575:function(n,e,t){"use strict";var r=t(104),o=t(2003),c=t.n(o),i=t(2004),f=t.n(i),u=t(2005),s=t.n(u),A=t(2006),a=t.n(A),g=t(2007),w=t.n(g),p=t(2008),h=t.n(p);e.a={name:"RecognitionDialog",components:{ActPopup:r.a},data:function(){return{visible:!1,options:{mode:[],theme:1,text1:"",text2:"",text3:""},imgs:{xys1:c.a,xys2:f.a,xys3:s.a,kcb1:a.a,kcb2:w.a,kcb3:h.a}}},computed:{themeClass:function(){return 2===parseInt(this.options.theme)?"kcb":"xys"}},methods:{close:function(){this.$emit("close")},handleClick:function(n){this.$emit("click",n)}}}},159:function(n,e,t){n.exports=t(160)},16:function(n,e,t){var r=t(55),o=t(35);n.exports=Object.keys||function(n){return r(n,o)}},160:function(n,e,t){"use strict";function r(n){var e=new i(n),t=c(i.prototype.request,e);return o.extend(t,i.prototype,e),o.extend(t,e),t}var o=t(12),c=t(126),i=t(161),f=t(132),u=t(129),s=r(u);s.Axios=i,s.create=function(n){return r(f(s.defaults,n))},s.Cancel=t(133),s.CancelToken=t(174),s.isCancel=t(128),s.all=function(n){return Promise.all(n)},s.spread=t(175),n.exports=s,n.exports.default=s},161:function(n,e,t){"use strict";function r(n){this.defaults=n,this.interceptors={request:new i,response:new i}}var o=t(12),c=t(127),i=t(162),f=t(163),u=t(132);r.prototype.request=function(n){"string"==typeof n?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=u(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var e=[f,void 0],t=Promise.resolve(n);for(this.interceptors.request.forEach(function(n){e.unshift(n.fulfilled,n.rejected)}),this.interceptors.response.forEach(function(n){e.push(n.fulfilled,n.rejected)});e.length;)t=t.then(e.shift(),e.shift());return t},r.prototype.getUri=function(n){return n=u(this.defaults,n),c(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(n){r.prototype[n]=function(e,t){return this.request(o.merge(t||{},{method:n,url:e}))}}),o.forEach(["post","put","patch"],function(n){r.prototype[n]=function(e,t,r){return this.request(o.merge(r||{},{method:n,url:e,data:t}))}}),n.exports=r},162:function(n,e,t){"use strict";function r(){this.handlers=[]}var o=t(12);r.prototype.use=function(n,e){return this.handlers.push({fulfilled:n,rejected:e}),this.handlers.length-1},r.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},r.prototype.forEach=function(n){o.forEach(this.handlers,function(e){null!==e&&n(e)})},n.exports=r},163:function(n,e,t){"use strict";function r(n){n.cancelToken&&n.cancelToken.throwIfRequested()}var o=t(12),c=t(164),i=t(128),f=t(129);n.exports=function(n){return r(n),n.headers=n.headers||{},n.data=c(n.data,n.headers,n.transformRequest),n.headers=o.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete n.headers[e]}),(n.adapter||f.adapter)(n).then(function(e){return r(n),e.data=c(e.data,e.headers,n.transformResponse),e},function(e){return i(e)||(r(n),e&&e.response&&(e.response.data=c(e.response.data,e.response.headers,n.transformResponse))),Promise.reject(e)})}},164:function(n,e,t){"use strict";var r=t(12);n.exports=function(n,e,t){return r.forEach(t,function(t){n=t(n,e)}),n}},165:function(n,e,t){"use strict";var r=t(12);n.exports=function(n,e){r.forEach(n,function(t,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(n[e]=t,delete n[r])})}},166:function(n,e,t){"use strict";var r=t(131);n.exports=function(n,e,t){var o=t.config.validateStatus;!o||o(t.status)?n(t):e(r("Request failed with status code "+t.status,t.config,null,t.request,t))}},167:function(n,e,t){"use strict";n.exports=function(n,e,t,r,o){return n.config=e,t&&(n.code=t),n.request=r,n.response=o,n.isAxiosError=!0,n.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}},n}},168:function(n,e,t){"use strict";var r=t(169),o=t(170);n.exports=function(n,e){return n&&!r(e)?o(n,e):e}},169:function(n,e,t){"use strict";n.exports=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}},17:function(n,e,t){var r=t(31);n.exports=function(n){return Object(r(n))}},170:function(n,e,t){"use strict";n.exports=function(n,e){return e?n.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):n}},171:function(n,e,t){"use strict";var r=t(12),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"];n.exports=function(n){var e,t,c,i={};return n?(r.forEach(n.split("\n"),function(n){if(c=n.indexOf(":"),e=r.trim(n.substr(0,c)).toLowerCase(),t=r.trim(n.substr(c+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([t]):i[e]?i[e]+", "+t:t}}),i):i}},172:function(n,e,t){"use strict";var r=t(12);n.exports=r.isStandardBrowserEnv()?function(){function n(n){var e=n;return t&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{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 e,t=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=n(window.location.href),function(t){var o=r.isString(t)?n(t):t;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},173:function(n,e,t){"use strict";var r=t(12);n.exports=r.isStandardBrowserEnv()?function(){return{write:function(n,e,t,o,c,i){var f=[];f.push(n+"="+encodeURIComponent(e)),r.isNumber(t)&&f.push("expires="+new Date(t).toGMTString()),r.isString(o)&&f.push("path="+o),r.isString(c)&&f.push("domain="+c),!0===i&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){var e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},174:function(n,e,t){"use strict";function r(n){if("function"!=typeof n)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(n){e=n});var t=this;n(function(n){t.reason||(t.reason=new o(n),e(t.reason))})}var o=t(133);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var n;return{token:new r(function(e){n=e}),cancel:n}},n.exports=r},175:function(n,e,t){"use strict";n.exports=function(n){return function(e){return n.apply(null,e)}}},18:function(n,e,t){"use strict";var r={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!1}},data:function(){return{preOverflowValue:"",isVisible:!1}},watch:{isVisible:function(n){this.$emit("toggle",n)}},mounted:function(){var n=this;this.$watch("visible",function(e,t){e?n.show():t&&n.hide()},{immediate:!0})},methods:{show:function(){return this.isVisible=!0,this},hide:function(){return this.isVisible=!1,this}},beforeDestroy:function(){this.hide()}};e.a=r},183:function(n,e,t){n.exports=t(189)},184:function(n,e,t){"use strict";e.__esModule=!0;var r=t(36),o=function(n){return n&&n.__esModule?n:{default:n}}(r);e.default=function(n){return function(){var e=n.apply(this,arguments);return new o.default(function(n,t){function r(c,i){try{var f=e[c](i),u=f.value}catch(n){return void t(n)}if(!f.done)return o.default.resolve(u).then(function(n){r("next",n)},function(n){r("throw",n)});n(u)}return r("next")})}}},185:function(n,e,t){"use strict";e.__esModule=!0,e.default=function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}},189:function(n,e,t){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,c=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,n.exports=t(190),o)r.regeneratorRuntime=c;else try{delete r.regeneratorRuntime}catch(n){r.regeneratorRuntime=void 0}},19:function(n,e){n.exports=!0},190:function(n,e){!function(e){"use strict";function t(n,e,t,r){var c=e&&e.prototype instanceof o?e:o,i=Object.create(c.prototype),f=new w(r||[]);return i._invoke=s(n,t,f),i}function r(n,e,t){try{return{type:"normal",arg:n.call(e,t)}}catch(n){return{type:"throw",arg:n}}}function o(){}function c(){}function i(){}function f(n){["next","throw","return"].forEach(function(e){n[e]=function(n){return this._invoke(e,n)}})}function u(n){function e(t,o,c,i){var f=r(n[t],n,o);if("throw"!==f.type){var u=f.arg,s=u.value;return s&&"object"==typeof s&&D.call(s,"__await")?Promise.resolve(s.__await).then(function(n){e("next",n,c,i)},function(n){e("throw",n,c,i)}):Promise.resolve(s).then(function(n){u.value=n,c(u)},i)}i(f.arg)}function t(n,t){function r(){return new Promise(function(r,o){e(n,t,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=t}function s(n,e,t){var o=b;return function(c,i){if(o===m)throw new Error("Generator is already running");if(o===G){if("throw"===c)throw i;return h()}for(t.method=c,t.arg=i;;){var f=t.delegate;if(f){var u=A(f,t);if(u){if(u===P)continue;return u}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(o===b)throw o=G,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);o=m;var s=r(n,e,t);if("normal"===s.type){if(o=t.done?G:y,s.arg===P)continue;return{value:s.arg,done:t.done}}"throw"===s.type&&(o=G,t.method="throw",t.arg=s.arg)}}}function A(n,e){var t=n.iterator[e.method];if(t===v){if(e.delegate=null,"throw"===e.method){if(n.iterator.return&&(e.method="return",e.arg=v,A(n,e),"throw"===e.method))return P;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var o=r(t,n.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,P;var c=o.arg;return c?c.done?(e[n.resultName]=c.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=v),e.delegate=null,P):c:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,P)}function a(n){var e={tryLoc:n[0]};1 in n&&(e.catchLoc=n[1]),2 in n&&(e.finallyLoc=n[2],e.afterLoc=n[3]),this.tryEntries.push(e)}function g(n){var e=n.completion||{};e.type="normal",delete e.arg,n.completion=e}function w(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(a,this),this.reset(!0)}function p(n){if(n){var e=n[d];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var t=-1,r=function e(){for(;++t<n.length;)if(D.call(n,t))return e.value=n[t],e.done=!1,e;return e.value=v,e.done=!0,e};return r.next=r}}return{next:h}}function h(){return{value:v,done:!0}}var v,l=Object.prototype,D=l.hasOwnProperty,j="function"==typeof Symbol?Symbol:{},d=j.iterator||"@@iterator",O=j.asyncIterator||"@@asyncIterator",x=j.toStringTag||"@@toStringTag",N="object"==typeof n,B=e.regeneratorRuntime;if(B)return void(N&&(n.exports=B));B=e.regeneratorRuntime=N?n.exports:{},B.wrap=t;var b="suspendedStart",y="suspendedYield",m="executing",G="completed",P={},M={};M[d]=function(){return this};var T=Object.getPrototypeOf,z=T&&T(T(p([])));z&&z!==l&&D.call(z,d)&&(M=z);var H=i.prototype=o.prototype=Object.create(M);c.prototype=H.constructor=i,i.constructor=c,i[x]=c.displayName="GeneratorFunction",B.isGeneratorFunction=function(n){var e="function"==typeof n&&n.constructor;return!!e&&(e===c||"GeneratorFunction"===(e.displayName||e.name))},B.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,i):(n.__proto__=i,x in n||(n[x]="GeneratorFunction")),n.prototype=Object.create(H),n},B.awrap=function(n){return{__await:n}},f(u.prototype),u.prototype[O]=function(){return this},B.AsyncIterator=u,B.async=function(n,e,r,o){var c=new u(t(n,e,r,o));return B.isGeneratorFunction(e)?c:c.next().then(function(n){return n.done?n.value:c.next()})},f(H),H[x]="Generator",H[d]=function(){return this},H.toString=function(){return"[object Generator]"},B.keys=function(n){var e=[];for(var t in n)e.push(t);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},B.values=p,w.prototype={constructor:w,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(g),!n)for(var e in this)"t"===e.charAt(0)&&D.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){this.done=!0;var n=this.tryEntries[0],e=n.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){function e(e,r){return c.type="throw",c.arg=n,t.next=e,r&&(t.method="next",t.arg=v),!!r}if(this.done)throw n;for(var t=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],c=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var i=D.call(o,"catchLoc"),f=D.call(o,"finallyLoc");if(i&&f){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(n,e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc<=this.prev&&D.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===n||"continue"===n)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=n,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,P):this.complete(c)},complete:function(n,e){if("throw"===n.type)throw n.arg;return"break"===n.type||"continue"===n.type?this.next=n.arg:"return"===n.type?(this.rval=this.arg=n.arg,this.method="return",this.next="end"):"normal"===n.type&&e&&(this.next=e),P},finish:function(n){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===n)return this.complete(t.completion,t.afterLoc),g(t),P}},catch:function(n){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===n){var r=t.completion;if("throw"===r.type){var o=r.arg;g(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(n,e,t){return this.delegate={iterator:p(n),resultName:e,nextLoc:t},"next"===this.method&&(this.arg=v),P}}}(function(){return this}()||Function("return this")())},1998:function(n,e,t){"use strict";function r(n,e){return Object(u.t)(n)?n(e):n||""}Object.defineProperty(e,"__esModule",{value:!0});var o=t(185),c=t.n(o),i=t(68),f=t(1324),u=t(5),s=t(1999),A=t(2e3),a=[1,2,3],g={id:null,redirectType:0,successUrl:null,failUrl:null,redirectUrl:null,domain:window.location.hostname,mode:[1,2],theme:1,text1:null,text2:null,text3:null,uploadText:function(n){return null}},w=function(){function n(e){c()(this,n),this.options=this.mergeOptions(e),this.validOptions(this.options)}return n.prototype.mergeOptions=function(n){var e=Object(i.a)({},g,n);return Object(u.r)(e.failUrl)||(e.failUrl=e.successUrl),Object(u.r)(e.mode)&&(Object(u.z)(e.mode)?e.mode=[e.mode]:Object(u.p)(e.mode)||(e.mode=g.mode),e.mode=e.mode.filter(function(n){return a.includes(n)})),Object(u.r)(e.domain)&&(e.domain=e.domain.split("?")[0]),e},n.prototype.validOptions=function(n){if(!Object(u.r)(n.id))throw new Error("id为必传参数");if(!Object(u.r)(n.successUrl))throw new Error("successUrl为必传参数");if(0===n.mode.length)throw new Error("mode不能为空数组")},n.prototype.start=function(){var n=this.options;if(n.redirectUrl=window.location.href,n.mode.length>1)Object(A.b)(n,this);else{var e=Object(s.b)(n.mode,1),t=Object(s.b)(n.mode,2),r=Object(s.b)(n.mode,3);e?this.image():t?this.face():r&&this.idCard()}},n.prototype.image=function(){var n=this.options,e={id:n.id,successUrl:n.successUrl,failUrl:n.failUrl,redirectUrl:window.location.href,uploadText:r(n.uploadText,1)};Object(u.n)("vconsole")&&(e.vconsole=1),A.a.visible=!1,window.location.href=Object(s.a)(n.domain+"/faceCheck/index/image",e)},n.prototype.face=function(){var n=this.options;this.faceRecognition=new f.default({id:n.id,domain:n.domain,redirectType:n.redirectType,succUrl:n.successUrl,failUrl:n.failUrl,uploadText:r(n.uploadText,2)}),A.a.visible=!1,this.faceRecognition.goFace()},n.prototype.idCard=function(){var n=this.options,e={id:n.id,successUrl:n.successUrl,failUrl:n.failUrl,redirectUrl:window.location.href,uploadText:r(n.uploadText,3)};Object(u.n)("vconsole")&&(e.vconsole=1),A.a.visible=!1,window.location.href=Object(s.a)(n.domain+"/faceCheck/index/idCard",e)},n}();e.default=w},1999:function(n,e,t){"use strict";function r(n){if(!(n=n.trim().replace(/^(\?|#|&)/,"")))return"";var e=n.indexOf("?"),t="";return e>=0&&(t=n.slice(e+1)),t}function o(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}function c(n,e){var t="";t=o(n)?n:/\./.test(n)?"//"+n:"//"+location.host+n;var c=A(e),i=document.createElement("a");return i.href=t||location.href,i.search?(i.search=i.search+"&"+c,i.href):i.hash&&r(i.hash)?(i.hash=i.hash+"&"+c,i.href):i.href+"?"+c}function i(n,e){return Object(s.e)(n,function(n){return n===e})>-1}e.a=c,e.b=i;var f=t(72),u=t.n(f),s=t(5),A=function(n){return u()(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&")}},2:function(n,e){var t=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},20:function(n,e,t){var r=t(30);n.exports=function(n,e,t){if(r(n),void 0===e)return n;switch(t){case 1:return function(t){return n.call(e,t)};case 2:return function(t,r){return n.call(e,t,r)};case 3:return function(t,r,o){return n.call(e,t,r,o)}}return function(){return n.apply(e,arguments)}}},2e3:function(n,e,t){"use strict";t.d(e,"a",function(){return A}),t.d(e,"b",function(){return g});var r=t(72),o=t.n(r),c=t(352),i=t.n(c),f=t(2001),u=t(5),s=i.a.extend(f.a),A=void 0,a=function(){A=new s({el:document.createElement("div")})},g=function(n,e){A||a(),n&&o()(A.$data.options).forEach(function(e){Object(u.r)(n[e])&&""!==n[e]&&(A.$data.options[e]=n[e])}),A.$on("click",function(n){var t=parseInt(n);1===t?e.image():2===t?e.face():3===t&&e.idCard()}),A.$on("close",function(n){A.visible=!1}),document.body.appendChild(A.$el),i.a.nextTick(function(){A.visible=!0})}},2001:function(n,e,t){"use strict";function r(n){f||t(2002)}var o=t(1575),c=t(2009),i=t(1),f=!1,u=r,s=Object(i.a)(o.a,c.a,c.b,!1,u,"data-v-3cbc1d15",null);s.options.__file="src\\components\\Recognition\\src\\dialog.vue",e.a=s.exports},2002:function(n,e){},2003:function(n,e){n.exports="data:image/png;base64,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