UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 67.8 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.FaceRecognition=e():t.FaceRecognition=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=1314)}({0:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},106:function(t,e,n){"use strict";e.__esModule=!0;var r=n(28),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},107:function(t,e,n){var r=n(26),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},11:function(t,e,n){var r=n(47),o=n(29);t.exports=function(t){return r(o(t))}},110:function(t,e,n){var r=n(9),o=n(40),i=n(3)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||void 0==(n=r(c)[i])?e:o(n)}},111:function(t,e,n){var r,o,i,c=n(38),u=n(146),a=n(60),s=n(41),f=n(2),p=f.process,l=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},x=function(t){g.call(t.data)};l&&h||(l=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete m[t]},"process"==n(26)(p)?r=function(t){p.nextTick(c(g,t,1))}:v&&v.now?r=function(t){v.now(c(g,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),g.call(t)}}:function(t){setTimeout(c(g,t,1),0)}),t.exports={set:l,clear:h}},112:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},113:function(t,e,n){var r=n(9),o=n(10),i=n(68);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},114:function(t,e,n){"use strict";function r(t){t.interceptors.response.use(function(t){return t},function(t){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},n="";return n=t&&t.response&&t.response.status?e[t.response.status]?e[t.response.status]+"("+t.response.status+")":"请求失败,请稍后重试("+t.response.status+")":t&&t.message&&/timeout/i.test(t.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",u.a.reject(new Error(n))})}function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new u.a(function(o,i){var c=s.a.create();r(c),c.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){o(t)}).catch(function(t){i(t)})})}function i(t){return s.a.get(t).then(function(t){return u.a.resolve(t.data)})}e.a=r,e.d=o,e.c=i;var c=n(52),u=n.n(c),a=n(164),s=n.n(a);e.b=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new u.a(function(o,i){var c=s.a.create();r(c),c.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function e(t,e){var n=0,r=t.length;if(void 0===r||"[object Function]"===Object.prototype.toString.call(t)){for(var o in t)if(!1===e.call(t[o],o,t[o]))break}else for(var i=t[0];n<r&&!1!==e.call(i,n,i);i=t[++n]);return t}function n(t,r,o){var i=void 0,c="[object Array]"===Object.prototype.toString.call(r),u="[object Object]"===Object.prototype.toString.call(r);e(r,function(e,r){i=Object.prototype.toString.call(r),o&&(e=o+"["+(u||"[object Object]"===i||"[object Array]"===i?e:"")+"]"),!o&&c?t.add(r.name,r.value):"[object Array]"===i||"[object Object]"===i?n(t,r,e):t.add(e,r)})}if(t){return function(t){var e=[];return e.add=function(t,e){"[object Function]"===Object.prototype.toString.call(e)&&(e=e()),null==e&&(e=""),this.push(encodeURIComponent(t)+"="+encodeURIComponent(e))},n(e,t),e.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){o(t)}).catch(function(t){i(t)})})}},115:function(t,e,n){var r=n(107),o=n(3)("iterator"),i=n(18);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},123:function(t,e,n){var r=n(38),o=n(136),i=n(137),c=n(9),u=n(59),a=n(115),s={},f={},e=t.exports=function(t,e,n,p,l){var h,d,v,y,m=l?function(){return t}:a(t),g=r(n,p,e?2:1),x=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=u(t.length);h>x;x++)if((y=e?g(c(d=t[x])[0],d[1]):g(t[x]))===s||y===f)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,e))===s||y===f)return y};e.BREAK=s,e.RETURN=f},125:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},126:function(t,e,n){"use strict";function r(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=n(17);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var c=[];o.forEach(e,function(t,e){null!==t&&void 0!==t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),c.push(r(e)+"="+r(t))}))}),i=c.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},127:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},128:function(t,e,n){"use strict";(function(e){function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=n(17),i=n(170),c={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(129):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n(129)),t}(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"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)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(r(e,"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}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){u.headers[t]={}}),o.forEach(["post","put","patch"],function(t){u.headers[t]=o.merge(c)}),t.exports=u}).call(e,n(153))},129:function(t,e,n){"use strict";var r=n(17),o=n(171),i=n(126),c=n(173),u=n(176),a=n(177),s=n(130);t.exports=function(t){return new Promise(function(e,f){var p=t.data,l=t.headers;r.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password||"";l.Authorization="Basic "+btoa(d+":"+v)}var y=c(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 n="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,f,i),h=null}},h.onabort=function(){h&&(f(s("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){f(s("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),f(s(e,t,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=n(178),g=(t.withCredentials||a(y))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(l,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)}),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"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(),f(t),h=null)}),void 0===p&&(p=null),h.send(p)})}},13:function(t,e,n){var r=n(2),o=n(0),i=n(38),c=n(7),u=n(6),a=function(t,e,n){var s,f,p,l=t&a.F,h=t&a.G,d=t&a.S,v=t&a.P,y=t&a.B,m=t&a.W,g=h?o:o[e]||(o[e]={}),x=g.prototype,b=h?r:d?r[e]:(r[e]||{}).prototype;h&&(n=e);for(s in n)(f=!l&&b&&void 0!==b[s])&&u(g,s)||(p=f?b[s]:n[s],g[s]=h&&"function"!=typeof b[s]?n[s]:y&&f?i(p,r):m&&b[s]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):v&&"function"==typeof p?i(Function.call,p):p,v&&((g.virtual||(g.virtual={}))[s]=p,t&a.R&&x&&!x[s]&&c(x,s,p)))};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,e,n){"use strict";var r=n(172);t.exports=function(t,e,n,o,i){var c=new Error(t);return r(c,e,n,o,i)}},131:function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],c=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(i,function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])}),r.forEach(c,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])});var u=o.concat(i).concat(c),a=Object.keys(e).filter(function(t){return-1===u.indexOf(t)});return r.forEach(a,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},1314:function(t,e,n){"use strict";function r(t,e){"function"==typeof t&&t(e)}function o(t,e,n){if(!n)return t;var r=new URL(t),o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=r.search?"&":"?";return r.search=function(t){return t.match(o)?t.replace(o,"$1"+e+"="+n+"$2"):t+i+e+"="+n}(r.search),r.href}function i(t,e){var n=t;for(var r in e)n=o(n,r,e[r]);return n}function c(t,e){return i(t,{mucType:e})}Object.defineProperty(e,"__esModule",{value:!0});var u=n(65),a=n.n(u),s=n(106),f=n.n(s),p=n(207),l=n.n(p),h=n(52),d=n.n(h),v=n(208),y=n.n(v),m=n(214),g=n.n(m),x=n(4),b=n(114),w=n(1315),_=(n.n(w),"undefined"!=typeof window&&window.navigator.userAgent.toLowerCase()),S=null;x.K.isKcbApp?S=window.kcbJs:x.K.isXysApp&&(S=window.xysJs);var j={supportedProviders:["TENCENT","FACEID"],business:1,environment:1},O={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}},E=["muckacabao","mucyanxuan","mucconsultant","mucxiaoyusan"],T="/faceCheck/index/middle",k=function(){function t(e){if(g()(this,t),!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+T:T,e.redirectType=e.redirectType||"",e.config=e.config||O,e.appUa=e.appUa||E,e.title=e.title||"",e.desc=e.desc||"",this.options=e}return t.prototype._isAPP=function(){for(var t=0;t<this.options.appUa.length;t++)if(_.indexOf(this.options.appUa[t])>-1)return this.options.appUa[t];return!1},t.prototype.getId=function(){function t(){return e.apply(this,arguments)}var e=y()(l.a.mark(function t(){var e,n,r;return l.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=this._isAPP())){t.next=12;break}return j.environment=this.options.config.app.environment,j.business=this.options.config.app[e].business,t.next=6,this.getAppSupportList().catch(function(){return[]});case 6:return n=t.sent,r=Array.isArray(n)&&n.length>0,j.supportedProviders=n||[],t.abrupt("return",r?{id:this.options.config.app[e].id,scene:"app"}:{id:this.options.config.app.other.id,scene:"h5"});case 12:if(!x.K.isWx){t.next=18;break}return j.environment=this.options.config.wx.environment,j.business=this.options.config.wx.business,t.abrupt("return",{scene:"wx",id:this.options.config.wx.id});case 18:if(!x.K.isMobile){t.next=24;break}return j.environment=this.options.config.h5.environment,j.business=this.options.config.h5.business,t.abrupt("return",{scene:"h5",id:this.options.config.h5.id});case 24:return t.abrupt("return",d.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 e=t.data.ext.provider;if(!j.supportedProviders.includes(e))return void this._h5JumpToVerify(t);var n={};n="FACEID"===e?{provider:e,faceToken:t.data.ext.initData}:f()({provider:e},t.data.ext.initData),this._invokeAppSdk(n)},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 e=this;S.invoke({path:"/faceVerify/faceService",data:t,unsupport:function(){return r(e.options.fail,{errmsg:"不支持"})},success:function(n){if("FACEID"!==t.provider)return r(e.options.succ,n);e._faceIdSuccess(n)},fail:function(t){return r(e.options.fail,t)}})},t.prototype._faceIdSuccess=function(){function t(t){return e.apply(this,arguments)}var e=y()(l.a.mark(function t(e){var n,o,i,c=this;return l.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return",r(this.options.fail,{errmsg:"验证失败,未上传验证"}));case 2:return n=e||{},o=n.deltaData,t.next=5,Object(b.b)("/faceCheck/uploadFaceidAppLiveness",{faceCheckId:this.options.id,liveness:o}).catch(function(t){r(c.options.fail,t)});case 5:i=t.sent,i&&i.data&&0===i.data.ret?this.getResult():r(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),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 n=a()(e).map(function(t){return t+"="+e[t]}).join("&");location.href=t+"?"+n},t.prototype.goFaceCheck=function(){var t=this;this.getId().then(function(e){t.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(t.options.fail,e)})},t.prototype.faceCheck=function(t){var e=this;this._getFaceCheck().then(function(n){0===n.ret?4===n.data.state?r(e.options.succ):5===n.data.state?r(e.options.fail,{errmsg:"人脸核身失败",data:{des:"业务id状态为关闭"}}):e._faceInit(t):r(e.options.fail,n)})},t.prototype._faceInit=function(t){var e=this;Object(b.b)("/faceCheck/init",f()({faceCheckId:this.options.id,confId:t.xysScenemucId,redirectUrl:c(this.options.redirectUrl,"h5"),redirectType:this.options.redirectType},j)).then(function(n){0===n.data.ret?"wx"===t.xysScene?e._wxFace(n.data):"app"===t.xysScene?e._appFace(n.data):"h5"===t.xysScene?e._h5Face(n.data):"mini"===t.xysScene&&e._miniFace(n.data):r(e.options.fail,{errmsg:n.data.errmsg})}).catch(function(t){return"ECONNABORTED"===t.code&&r(e.options.fail,{ret:999990,errmsg:"faceCheck/init超时"}),r(e.options.fail,{ret:99999,errmsg:"系统繁忙"})})},t.prototype.getResult=function(t){var e=this;return Object(b.b)("/faceCheck/getCheckResult",{faceCheckId:this.options.id}).then(function(n){if(t&&t.self)return d.a.resolve(n.data);0===n.data.ret&&4===n.data.data.state?location.replace(i(e.options.succUrl,{facecheckid:e.options.id,mucFaceType:1})):location.replace(i(e.options.failUrl,{facecheckid:e.options.id,mucFaceType:0}))}).catch(function(t){return d.a.reject({ret:99999,errmsg:"系统繁忙"})})},t.prototype._getFaceCheck=function(){return Object(b.b)("/faceCheck/getFaceCheck",{faceCheckId:this.options.id}).then(function(t){return d.a.resolve(t.data)}).catch(function(t){return d.a.resolve({ret:99999,errmsg:"系统繁忙",data:{des:"/faceCheck/getFaceCheck出错"}})})},t.prototype._checkTencentSupport=function(){return new d.a(function(t,e){S.checkJsApi({path:"/faceVerify/faceService",success:function(e){t(!0)},fail:function(e){t(!1)}})})},t.prototype.getAppSupportList=function(){var t=this;return new d.a(function(e,n){t._getSupportList().then(function(t){e(t)}).catch(function(r){t._checkTencentSupport().then(function(t){e(t?["TENCENT"]:[])}).catch(function(){n()})})})},t.prototype._getSupportList=function(){return new d.a(function(t,e){S.invoke({path:"/faceVerify/getSupportList",success:function(e){t(e)},fail:function(t){e()},unsupport:function(){e()}})})},t.prototype.formatUrl=function(t){var e=t.split("?")[0];return/^https?:\/\//.test(e)?e:/^\/\//.test(e)?location.protocol+e:/\./.test(e)?location.protocol+"//"+e:location.protocol+"//"+location.host+e},t}();k.config=O,e.default=k},1315:function(t,e){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var o=0|e,i=Math.max(o>=0?o:r-Math.abs(o),0);i<r;){if(function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}(n[i],t))return!0;i++}return!1}})},132:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},136:function(t,e,n){var r=n(9);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},137:function(t,e,n){var r=n(18),o=n(3)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},139:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},140:function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},141:function(t,e,n){var r=n(3)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(t){}return n}},142:function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(8),c=n(5),u=n(3)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];c&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},144:function(t,e,n){n(61),n(53),n(56),n(145),n(149),n(150),t.exports=n(0).Promise},145:function(t,e,n){"use strict";var r,o,i,c,u=n(16),a=n(2),s=n(38),f=n(107),p=n(13),l=n(10),h=n(40),d=n(139),v=n(123),y=n(110),m=n(111).set,g=n(147)(),x=n(68),b=n(112),w=n(148),_=n(113),S=a.TypeError,j=a.process,O=j&&j.versions,E=O&&O.v8||"",T=a.Promise,k="process"==f(j),A=function(){},P=o=x.f,C=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(A,A)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==E.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,c,u=o?e.ok:e.fail,a=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&F(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),c=!0)),n===e.promise?s(S("Promise-chain cycle")):(i=L(n))?i.call(n,a,s):a(n)):s(r)}catch(t){f&&!c&&f.exit(),s(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){m.call(a,function(){var e,n,r,o=t._v,i=I(t);if(i&&(e=b(function(){k?j.emit("unhandledRejection",o,t):(n=a.onunhandledrejection)?n({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=k||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){m.call(a,function(){var e;k?j.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})})},M=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=L(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(U,r,1),s(M,r,1))}catch(t){M.call(r,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){M.call({_w:n,_d:!1},t)}}};C||(T=function(t){d(this,T,"Promise","_h"),h(t),r.call(this);try{t(s(U,this,1),s(M,this,1))}catch(t){M.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(140)(T.prototype,{then:function(t,e){var n=P(y(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?j.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(U,t,1),this.reject=s(M,t,1)},x.f=P=function(t){return t===T||t===c?new i(t):o(t)}),p(p.G+p.W+p.F*!C,{Promise:T}),n(27)(T,"Promise"),n(142)("Promise"),c=n(0).Promise,p(p.S+p.F*!C,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(u||!C),"Promise",{resolve:function(t){return _(u&&this===c?T:this,t)}}),p(p.S+p.F*!(C&&n(141)(function(t){T.all(t).catch(A)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,o=n.reject,i=b(function(){var n=[],i=0,c=1;v(t,!1,function(t){var u=i++,a=!1;n.push(void 0),c++,e.resolve(t).then(function(t){a||(a=!0,n[u]=t,--c||r(n))},o)}),--c||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,o=b(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},146:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},147:function(t,e,n){var r=n(2),o=n(111).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==n(26)(c);t.exports=function(){var t,e,n,s=function(){var r,o;for(a&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(a)n=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var p=!0,l=document.createTextNode("");new i(s).observe(l,{characterData:!0}),n=function(){l.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},148:function(t,e,n){var r=n(2),o=r.navigator;t.exports=o&&o.userAgent||""},149:function(t,e,n){"use strict";var r=n(13),o=n(0),i=n(2),c=n(110),u=n(113);r(r.P+r.R,"Promise",{finally:function(t){var e=c(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}})},15:function(t,e,n){var r=n(50),o=n(33);t.exports=Object.keys||function(t){return r(t,o)}},150:function(t,e,n){"use strict";var r=n(13),o=n(68),i=n(112);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},153:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function c(){v&&h&&(v=!1,h.length?d=h.concat(d):y=-1,d.length&&u())}function u(){if(!v){var t=o(c);v=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,v=!1,i(t)}}function a(t,e){this.fun=t,this.array=e}function s(){}var f,p,l=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var h,d=[],v=!1,y=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new a(t,e)),1!==d.length||v||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=s,l.addListener=s,l.once=s,l.off=s,l.removeListener=s,l.removeAllListeners=s,l.emit=s,l.prependListener=s,l.prependOnceListener=s,l.listeners=function(t){return[]},l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},16:function(t,e){t.exports=!0},164:function(t,e,n){t.exports=n(165)},165:function(t,e,n){"use strict";function r(t){var e=new c(t),n=i(c.prototype.request,e);return o.extend(n,c.prototype,e),o.extend(n,e),n}var o=n(17),i=n(125),c=n(166),u=n(131),a=n(128),s=r(a);s.Axios=c,s.create=function(t){return r(u(s.defaults,t))},s.Cancel=n(132),s.CancelToken=n(179),s.isCancel=n(127),s.all=function(t){return Promise.all(t)},s.spread=n(180),t.exports=s,t.exports.default=s},166:function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new c,response:new c}}var o=n(17),i=n(126),c=n(167),u=n(168),a=n(131);r.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 e=[u,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},r.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){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},167:function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(17);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},168:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(17),i=n(169),c=n(127),u=n(128);t.exports=function(t){return r(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(e){delete t.headers[e]}),(t.adapter||u.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return c(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},169:function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},17:function(t,e,n){"use strict";function r(t){return"[object Array]"===O.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 c(t){return"[object ArrayBuffer]"===O.call(t)}function u(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 s(t){return"string"==typeof t}function f(t){return"number"==typeof t}function p(t){return null!==t&&"object"==typeof t}function l(t){return"[object Date]"===O.call(t)}function h(t){return"[object File]"===O.call(t)}function d(t){return"[object Blob]"===O.call(t)}function v(t){return"[object Function]"===O.call(t)}function y(t){return p(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function g(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function w(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=w(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)b(arguments[n],t);return e}function _(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=_(e[n],t):e[n]="object"==typeof t?_({},t):t}for(var e={},n=0,r=arguments.length;n<r;n++)b(arguments[n],t);return e}function S(t,e,n){return b(e,function(e,r){t[r]=n&&"function"==typeof e?j(e,n):e}),t}var j=n(125),O=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:a,isString:s,isNumber:f,isObject:p,isUndefined:o,isDate:l,isFile:h,isBlob:d,isFunction:v,isStream:y,isURLSearchParams:m,isStandardBrowserEnv:x,forEach:b,merge:w,deepMerge:_,extend:S,trim:g}},170:function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},171:function(t,e,n){"use strict";var r=n(130);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},172:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,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,e,n){"use strict";var r=n(174),o=n(175);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},174:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},175:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},176:function(t,e,n){"use strict";var r=n(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 e,n,i,c={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(c[e]&&o.indexOf(e)>=0)return;c[e]="set-cookie"===e?(c[e]?c[e]:[]).concat([n]):c[e]?c[e]+", "+n:n}}),c):c}},177:function(t,e,n){"use strict";var r=n(17);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(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,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},178:function(t,e,n){"use strict";var r=n(17);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,c){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===c&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},179:function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(132);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},18:function(t,e){t.exports={}},180:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},19:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},207:function(t,e,n){t.exports=n(215)},208:function(t,e,n){"use strict";e.__esModule=!0;var r=n(52),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new o.default(function(t,n){function r(i,c){try{var u=e[i](c),a=u.value}catch(t){return void n(t)}if(!u.done)return o.default.resolve(a).then(function(t){r("next",t)},function(t){r("throw",t)});t(a)}return r("next")})}}},214:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},215:function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(216),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},216:function(t,e){!function(e){"use strict";function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,c=Object.create(i.prototype),u=new h(r||[]);return c._invoke=s(t,n,u),c}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function c(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function a(t){function e(n,o,i,c){var u=r(t[n],t,o);if("throw"!==u.type){var a=u.arg,s=a.value;return s&&"object"==typeof s&&g.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},c)}c(u.arg)}function n(t,n){function r(){return new Promise(function(r,o){e(t,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function s(t,e,n){var o=O;return function(i,c){if(o===T)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw c;return v()}for(n.method=i,n.arg=c;;){var u=n.delegate;if(u){var a=f(u,n);if(a){if(a===A)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===O)throw o=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=T;var s=r(t,e,n);if("normal"===s.type){if(o=n.done?k:E,s.arg===A)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=k,n.method="throw",n.arg=s.arg)}}}function f(t,e){var n=t.iterator[e.method];if(n===y){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=y,f(t,e),"throw"===e.method))return A;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var o=r(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,A;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=y),e.delegate=null,A):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function p(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function l(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(p,this),this.reset(!0)}function d(t){if(t){var e=t[b];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(g.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=y,e.done=!0,e};return r.next=r}}return{next:v}}function v(){return{value:y,done:!0}}var y,m=Object.prototype,g=m.hasOwnProperty,x="function"==typeof Symbol?Symbol:{},b=x.iterator||"@@iterator",w=x.asyncIterator||"@@asyncIterator",_=x.toStringTag||"@@toStringTag",S="object"==typeof t,j=e.regeneratorRuntime;if(j)return void(S&&(t.exports=j));j=e.regeneratorRuntime=S?t.exports:{},j.wrap=n;var O="suspendedStart",E="suspendedYield",T="executing",k="completed",A={},P={};P[b]=function(){return this};var C=Object.getPrototypeOf,L=C&&C(C(d([])));L&&L!==m&&g.call(L,b)&&(P=L);var R=c.prototype=o.prototype=Object.create(P);i.prototype=R.constructor=c,c.constructor=i,c[_]=i.displayName="GeneratorFunction",j.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},j.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(R),t},j.awrap=function(t){return{__await:t}},u(a.prototype),a.prototype[w]=function(){return this},j.AsyncIterator=a,j.async=function(t,e,r,o){var i=new a(n(t,e,r,o));return j.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(R),R[_]="Generator",R[b]=function(){return this},R.toString=function(){return"[object Generator]"},j.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},j.values=d,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(l),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="next",n.arg=y),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=g.call(o,"catchLoc"),u=g.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(i)},complete:function(t,e){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&&e&&(this.next=e),A},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),l(n),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;l(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=y),A}}}(function(){return this}()||Function("return this")())},23:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},24:function(t,e,n){var r=n(29);t.exports=function(t){return Object(r(t))}},25:function(t,e){e.f={}.propertyIsEnumerable},26:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},27:function(t,e,n){var r=n(8).f,o=n(6),i=n(3)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},28:function(t,e,n){t.exports={default:n(82),__esModule:!0}},29:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3:function(t,e,n){var r=n(32)("wks"),o=n(23),i=n(2).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},30:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},31:function(t,e,n){var r=n(32)("keys"),o=n(23);t.exports=function(t){return r[t]||(r[t]=o(t))}},32:function(t,e,n){var r=n(0),o=n(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(16)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},33:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,e,n){var r=n(10);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){e.f=Object.getOwnPropertySymbols},36:function(t,e,n){e.f=n(3)},37:function(t,e,n){var r=n(2),o=n(0),i=n(16),c=n(36),u=n(8).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:c.f(t)})}},38:function(t,e,n){var r=n(40);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},4:function(t,e,n){"use strict";function r(t,e){if(t.findIndex)return t.findIndex(e);var n=-1;return t.some(function(t,r,o){var i=e.call(this,t,r,o);if(i)return n=r,i}),n}function o(t){return t?JSON.parse(J()(t)):t}function i(t,e){for(var n in e)t[n]&&"object"===q()(t[n])?i(t[n],e[n]):t[n]=e[n]}function c(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function u(t){return"[object String]"===Object.prototype.toString.call(t)}function a(t){return"[object Number]"===Object.prototype.toString.call(t)}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function p(t){return null===t}function l(t){return void 0!==t&&null!==t}function h(t){return void 0===t}function d(t){return"[object Error]"===Object.prototype.toString.call(t)}function v(t){return"function"==typeof t}function y(t){return"[object Promise]"===Object.prototype.toString.call(t)||s(t)&&v(t.then)}function m(t,e,n){function r(e){var n=y,r=m;return y=m=void 0,_=e,x=t.apply(r,n)}function o(t,e){return E?(window.cancelAnimationFrame(b),window.requestAnimationFrame(t)):setTimeout(t,e)}function i(t){if(E)return window.cancelAnimationFrame(t);clearTimeout(t)}function c(t){return _=t,b=o(f,e),S?r(t):x}function u(t){var n=t-w,r=t-_,o=e-n;return j?Math.min(o,g-r):o}function a(t){var n=t-w,r=t-_;return void 0===w||n>=e||n<0||j&&r>=g}function f(){var t=Date.now();if(a(t))return p(t);b=o(f,u(t))}function p(t){return b=void 0,O&&y?r(t):(y=m=void 0,x)}function l(){void 0!==b&&i(b),_=0,y=w=m=b=void 0}function h(){return void 0===b?x:p(Date.now())}function d(){return void 0!==b}function v(){for(var t=Date.now(),n=a(t),i=arguments.length,u=Array(i),s=0;s<i;s++)u[s]=arguments[s];if(y=u,m=this,w=t,n){if(void 0===b)return c(w);if(j)return b=o(f,e),r(w)}return void 0===b&&(b=o(f,e)),x}var y=void 0,m=void 0,g=void 0,x=void 0,b=void 0,w=void 0,_=0,S=!1,j=!1,O=!0,E=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,s(n)&&(S=!!n.leading,j="maxWait"in n,g=j?Math.max(+n.maxWait||0,e):g,O="trailing"in n?!!n.trailing:O),v.cancel=l,v.flush=h,v.pending=d,v}function g(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return s(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),m(t,e,{leading:r,trailing:o,maxWait:e})}function x(t){return!!/^1\d{10}$/.test(t)}function b(t){var e=t.length;return e>3&&e<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):e>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,e,n){return e+" "+n.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function _(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function S(t){if(!t)return"";var e=t.length;return 2===e?t.split("").join("&emsp;&emsp;"):3===e?t.split("").join("&ensp;"):t}function j(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.offsetHeight;if(e){var r=t.currentStyle||getComputedStyle(t);n+=parseInt(r.marginTop||0)+parseInt(r.marginBottom||0)}return n}function O(t,e){var n=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),r=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return n?o={r:parseInt(n[1]+n[1],16),g:parseInt(n[2]+n[2],16),b:parseInt(n[3]+n[3],16)}:r&&(o={r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}),o?void 0!==e?"rgba("+o.r+", "+o.g+", "+o.b+", "+e+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function E(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",n=e.length,r="";t=t||32;for(var o=0;o<t;o++)r+=e.charAt(Math.floor(Math.random()*n));return r}function T(t,e){var n=e||location.href,r=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=n.match(r);return o&&o[2]}function k(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}function A(t,e,n){return Math.min(Math.max(t,e),n)}function P(t){var e=/os (\d\d?_\d(_\d)?)/,n=e.exec(t);if(!n)return null;var r=n[1].split("_").map(function(t){return parseInt(t,10)});return{major:r[0],minor:r[1],patch:r[2]||0}}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var n=new RegExp("(\\?|#|&)"+t+"=([^&#]*