UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 130 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.LoginLayer=e():t.LoginLayer=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.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=1858)}({0:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},1:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var l;if(s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:u}}e.a=r},10:function(t,e,n){var r=n(7),i=n(22);t.exports=n(4)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},100:function(t,e,n){t.exports={default:n(101),__esModule:!0}},101:function(t,e,n){n(59),n(52),n(102),n(103),t.exports=n(0).Symbol},102:function(t,e,n){n(41)("asyncIterator")},103:function(t,e,n){n(41)("observable")},104:function(t,e,n){"use strict";function r(t){a||n(136)}var i=n(73),o=n(137),s=n(1),a=!1,c=r,u=Object(s.a)(i.a,o.a,o.b,!1,c,null,null);u.options.__file="src\\components\\common\\popup.vue",e.a=u.exports},106:function(t,e,n){n(107),t.exports=n(0).Object.keys},107:function(t,e,n){var r=n(17),i=n(16);n(60)("keys",function(){return function(t){return i(r(t))}})},108: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)?"请求超时,请稍后重试":"请求失败,请稍后重试",a.a.reject(new Error(n))})}function i(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new a.a(function(i,o){var s=u.a.create();r(s),s.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){i(t)}).catch(function(t){o(t)})})}function o(t){return u.a.get(t).then(function(t){return a.a.resolve(t.data)})}e.a=r,e.d=i,e.c=o;var s=n(36),a=n.n(s),c=n(159),u=n.n(c);e.b=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new a.a(function(i,o){var s=u.a.create();r(s),s.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 i in t)if(!1===e.call(t[i],i,t[i]))break}else for(var o=t[0];n<r&&!1!==e.call(o,n,o);o=t[++n]);return t}function n(t,r,i){var o=void 0,s="[object Array]"===Object.prototype.toString.call(r),a="[object Object]"===Object.prototype.toString.call(r);e(r,function(e,r){o=Object.prototype.toString.call(r),i&&(e=i+"["+(a||"[object Object]"===o||"[object Array]"===o?e:"")+"]"),!i&&s?t.add(r.name,r.value):"[object Array]"===o||"[object Object]"===o?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){i(t)}).catch(function(t){o(t)})})}},1085:function(t,e,n){"use strict";var r=n(5);e.a={name:"ActGoldProtocol",data:function(){return{protocolChecked:this.checkState}},props:{text:{type:String,default:"本人已阅读并同意"},tips:{type:String,default:""},protocols:{type:Array,default:function(){return[]}},checkState:{type:Boolean,default:!0},showCheckBox:{type:Boolean,default:!0},textColor:{type:String,default:"#666"},textFontSize:{type:[Number,String],default:13},openInWindow:{type:Boolean,default:!1},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},disableChecked:{type:Boolean,default:!1}},computed:{fontSize:function(){return Object(r.g)(this.textFontSize)}},methods:{getCheckBoxState:function(){return!!this.protocolChecked},onClick:function(t){var e=this,n=!1;if((n=t.openInWindow?t.openInWindow:!1!==t.openInWindow&&this.openInWindow)&&t.data){if(Object(r.p)(t.data)&&1===t.data.length&&t.data[0].src)return this.openUrl(t.data[0].src);if(!Object(r.p)(t.data)&&t.data.src)return this.openUrl(t.data.src)}this.docPop&&this.docPop.remove(),this.docPop=this.$createDocPop({zIndex:this.zIndex,title:t.title,docData:this.docData(t),brandColor:this.brandColor,openInWindow:n},function(t){return[t("template",{slot:"content"},[e.$slots.content])]}).show()},docData:function(t){return Object(r.p)(t.data)?t.data:[t.data]},protocolToggle:function(){this.disableChecked||(this.protocolChecked=!this.protocolChecked,this.$emit("toggle",this.protocolChecked))},openUrl:function(t){r.K.isMobile||r.K.isWx?location.href=t:window.open(t,"_blank")}},watch:{checkState:function(t){this.protocolChecked=t}}}},109:function(t,e,n){t.exports={default:n(110),__esModule:!0}},11:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},110:function(t,e,n){n(111);var r=n(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},111:function(t,e,n){n(60)("getOwnPropertyNames",function(){return n(58).f})},112:function(t,e,n){t.exports={default:n(113),__esModule:!0}},113:function(t,e,n){n(59),t.exports=n(0).Object.getOwnPropertySymbols},116:function(t,e,n){var r=n(9);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},117:function(t,e,n){var r=n(21),i=n(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},118:function(t,e,n){"use strict";function r(t){var e={},n={},r={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==a.indexOf(c))e[c]=t[c];else if(s.test(c)){var u=s.exec(c)[1];u=Object(o.a)(u),r[u]=t[c]}else n[c]=t[c];return e.on=Object(i.a)(r,e.on),e.props=Object(i.a)(n,e.props),e}e.a=r;var i=n(68),o=n(119),s=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},119:function(t,e,n){"use strict";function r(t,e){var n=c(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}e.a=r;var i=n(29),o=n.n(i),s=n(5),a=function(t){for(var e=!1,n=!1,r=!1,i=0;i<t.length;i++){var o=t[i];e&&/[a-zA-Z]/.test(o)&&o.toUpperCase()===o?(t=t.slice(0,i)+"-"+t.slice(i),e=!1,r=n,n=!0,i++):n&&r&&/[a-zA-Z]/.test(o)&&o.toLowerCase()===o?(t=t.slice(0,i-1)+"-"+t.slice(i-1),r=n,n=!1,e=!0):(e=o.toLowerCase()===o&&o.toUpperCase()!==o,r=n,n=o.toUpperCase()===o&&o.toLowerCase()!==o)}return t},c=function(t,e){if("string"!=typeof t&&!Object(s.p)(t))throw new TypeError("Expected the input to be `string | string[]`");e=o()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},12:function(t,e,n){"use strict";function r(t){return"[object Array]"===k.call(t)}function i(t){return void 0===t}function o(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function s(t){return"[object ArrayBuffer]"===k.call(t)}function a(t){return"undefined"!=typeof FormData&&t instanceof FormData}function c(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function l(t){return"number"==typeof t}function f(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===k.call(t)}function d(t){return"[object File]"===k.call(t)}function h(t){return"[object Blob]"===k.call(t)}function v(t){return"[object Function]"===k.call(t)}function g(t){return f(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function w(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function x(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=x(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)w(arguments[n],t);return e}function C(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=C(e[n],t):e[n]="object"==typeof t?C({},t):t}for(var e={},n=0,r=arguments.length;n<r;n++)w(arguments[n],t);return e}function _(t,e,n){return w(e,function(e,r){t[r]=n&&"function"==typeof e?S(e,n):e}),t}var S=n(126),k=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:s,isBuffer:o,isFormData:a,isArrayBufferView:c,isString:u,isNumber:l,isObject:f,isUndefined:i,isDate:p,isFile:d,isBlob:h,isFunction:v,isStream:g,isURLSearchParams:m,isStandardBrowserEnv:b,forEach:w,merge:x,deepMerge:C,extend:_,trim:y}},120:function(t,e,n){"use strict";function r(t,e,n,r){var o=void 0,s=void 0,a=new t({render:function(t){var n=s&&s(t);return n&&!Object(i.p)(n)&&(n=[n]),t(e,o,n||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,e){o=t,s=e},a.updateRenderData(n,r),a.$mount(),a.init(),a.$children[0]}e.a=r;var i=n(5)},121:function(t,e,n){var r=n(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},122:function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(7),s=n(4),a=n(3)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},123:function(t,e,n){"use strict";e.__esModule=!0;var r=n(29),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=i.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}},124:function(t,e,n){"use strict";function r(t){t.preventDefault()}var i={watch:{isVisible:function(t){t?document.body.addEventListener("touchmove",r,{passive:!1}):document.body.removeEventListener("touchmove",r,{passive:!1})}},beforeDestroy:function(){document.body.removeEventListener("touchmove",r,{passive:!1})}};e.a=i},1249:function(t,e,n){"use strict";function r(t){a||n(1250)}var i=n(1085),o=n(1251),s=n(1),a=!1,c=r,u=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-1da413b4",null);u.options.__file="src\\components\\GoldProtocol\\src\\index.vue",e.a=u.exports},1250:function(t,e){},1251:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"act-gold-protocol"},[t.showCheckBox?n("div",{staticClass:"act-gold-protocol-check",on:{click:function(e){return e.stopPropagation(),t.protocolToggle.apply(null,arguments)}}},[n("i",{staticClass:"act-gold-protocol-icon",class:{checked:t.protocolChecked},style:{"background-color":t.protocolChecked?t.brandColor:""}})]):t._e(),t._v(" "),n("div",{staticClass:"act-gold-protocol-text",style:{color:t.textColor,"font-size":t.fontSize}},[n("span",{domProps:{innerHTML:t._s(t.text)}}),t._v(" "),t._l(t.protocols,function(e,r){return[r==t.protocols.length-1&&0!=r?n("span",{key:r+"span"},[t._v("和")]):0!=r?n("span",{key:r+"span"},[t._v("、")]):t._e(),t._v(" "),e.track?n("a",{key:r+"a",staticClass:"act-gold-protocol-item",style:{color:t.brandColor},attrs:{"data-track":e.track},on:{click:function(n){return t.onClick(e)}}},[t._v("《"+t._s(e.title)+"》")]):n("a",{key:r+"a",staticClass:"act-gold-protocol-item",style:{color:t.brandColor},attrs:{"data-track":e.track||""},on:{click:function(n){return t.onClick(e)}}},[t._v("《"+t._s(e.title)+"》")])]}),t._v(" "),n("span",{domProps:{innerHTML:t._s(t.tips)}})],2)])},i=[];r._withStripped=!0},126: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)}}},1266:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1249);r.a.install=function(t){t.component(r.a.name,r.a)},e.default=r.a},127: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 i=n(12);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},128:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},129:function(t,e,n){"use strict";(function(e){function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i=n(12),o=n(165),s={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(130):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n(130)),t}(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.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}};a.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){a.headers[t]={}}),i.forEach(["post","put","patch"],function(t){a.headers[t]=i.merge(s)}),t.exports=a}).call(e,n(140))},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},130:function(t,e,n){"use strict";var r=n(12),i=n(166),o=n(127),s=n(168),a=n(171),c=n(172),u=n(131);t.exports=function(t){return new Promise(function(e,l){var f=t.data,p=t.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password||"";p.Authorization="Basic "+btoa(h+":"+v)}var g=s(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),o(g,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,o={data:r,status:d.status,statusText:d.statusText,headers:n,config:t,request:d};i(e,l,o),d=null}},d.onabort=function(){d&&(l(u("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){l(u("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),l(u(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var m=n(173),y=(t.withCredentials||c(g))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;y&&(p[t.xsrfHeaderName]=y)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),l(t),d=null)}),void 0===f&&(f=null),d.send(f)})}},131:function(t,e,n){"use strict";var r=n(167);t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},1311:function(t,e,n){"use strict";var r=n(104),i=n(64),o=n(18),s=n(124),a=n(270),c=n(1266),u=n(987),l=n(1383),f=n(5),p=n(108);e.a={name:"ActLoginLayer",mixins:[i.a,o.a,s.a],components:{ActPopup:r.a,ActBaseInput:a.default,Jigsaw:l.a,ActGoldProtocol:c.default,ActGoldDialog:u.default},props:{bottom:{type:Number,default:40},icon:{type:String,default:""},desc:{type:String,default:""},brandColor:{type:String,default:""},jigsawInitUrl:{type:String,default:"/user/unionVerifyInit"},jigsawVerifyUrl:{type:String,default:"/user/unionVerifyCheck"},verifyCodeUrl:{type:String,default:"/user/queryverify"},loginUrl:{type:String,default:"/user/login"},scene:{type:String,default:""},chn:{type:String,default:""},platform:{type:Number,default:0}},data:function(){return{checkState:!1,mobile:"",verifyCode:"",timeLeft:0,showJigsaw:!1,isLogining:!1}},computed:{jigsawChn:function(){return this.chn||Object(f.m)("chn")||""},jigsawScene:function(){return this.scene?this.scene:/\.baodan(100|360)\./.test(location.host)?"bdzs":/^cps_\d+$/.test(Object(f.m)("chn"))?"bdzs":""},jigsawPlatform:function(){return this.platform?this.platform:"bdzs"===this.jigsawScene?1:0},isCps:function(){return 1===Number(this.jigsawPlatform)},loginBrandColor:function(){return this.brandColor?this.brandColor:"bdzs"===this.jigsawScene?"#f05a4b":"#8c7fee"},protocols:function(){return this.isCps?this.cpsProtocols:this.xysProtocols},xysProtocols:function(){return[{title:"小雨伞用户协议",data:[{title:"小雨伞用户协议",type:1,urls:["/static/html/user/useragreement.html"],src:"/static/html/user/useragreement.html"}]},{title:"小雨伞隐私政策",data:[{title:"小雨伞隐私政策",type:1,urls:["/static/html/user/priviteagreement.html"],src:"/static/html/user/priviteagreement.html"}]}]},cpsProtocols:function(){return[{title:"用户协议",data:[{title:"用户协议",type:1,urls:["/static/html/policy/cxuser.html"],src:"/static/html/policy/cxuser.html"}]},{title:"隐私政策",data:[{title:"隐私政策",type:1,urls:["/static/html/policy/cxprivacy.html"],src:"/static/html/policy/cxprivacy.html"}]}]}},methods:{getVerifyCode:function(){this.timeLeft>0||this.$refs.jigsaw.sendVerifyCode()},jigsawSent:function(){this.errTips("验证成功,短信验证码发送中"),this.start()},jigsawError:function(t){var e=(t.ret,t.errmsg);this.errTips(e)},jigsawShow:function(){this.showJigsaw=!0},jigsawHide:function(){this.showJigsaw=!1},start:function(){this.timeLeft=60,this.startCountDown()},startCountDown:function(){this.timeLeft>0?(this.timeLeft-=1,setTimeout(this.startCountDown,1e3)):this.timeLeft=0},login:function(){var t=this;return this.mobile?Object(f.w)(this.mobile)?this.verifyCode?this.checkState?(this.isLogining=!0,void Object(p.b)(this.loginUrl,{phone:this.mobile,vercode:this.verifyCode,scene:1,client:"outwx"}).then(function(e){var n=e.data,r=void 0===n?{}:n;t.isLogining=!1,0===r.ret?t.loginSuccess():t.errTips(r.errmsg)}).catch(function(e){t.isLogining=!1,t.errTips("系统繁忙,请稍后重试")})):(this.$refs.agreeDialogSlot.show(),!1):this.errTips("请输入验证码"):this.errTips("请输入正确的手机号"):this.errTips("请输入手机号")},handleProtocolCancel:function(){this.checkState=!1,this.$refs.agreeDialogSlot.hide()},handleProtocolConfirm:function(){this.checkState=!0,this.$refs.agreeDialogSlot.hide(),this.login()},goBack:function(){this.showJigsaw=!1},loginSuccess:function(){this.hide(),this.$emit("success")},cancel:function(){this.hide(),this.$emit("cancel")},toggle:function(t){this.checkState=t},errTips:function(t){this.toast||(this.toast=this.$createToast()),this.toast.show(t)}}}},1312:function(t,e,n){"use strict";var r=n(123),i=n.n(r),o=n(64),s=n(18),a=n(977),c=n(108),u=n(5);e.a={mixins:[s.a,o.a],data:function(){return{verifyData:{},jigsawVerifyCodeUrl:"",jigsawMobile:"",isCodeRequesting:!1}},props:{brandColor:{type:String,default:""},initUrl:{type:String,default:"/user/unionVerifyInit"},verifyUrl:{type:String,default:"/user/unionVerifyCheck"},verifyCodeUrl:{type:String,default:"/user/queryverify"},mobile:{type:String,required:!0},scene:{type:String,required:!0},chn:{type:String,required:!0},platform:{type:Number,default:0},extParam:{type:Object,default:function(){return{}}}},computed:{realMobile:function(){return this.verifyData.mobile||this.mobile},realInitUrl:function(){return this.verifyData.initUrl||this.initUrl},realVerifyUrl:function(){return this.verifyData.verifyUrl||this.verifyUrl},realVerifyCodeUrl:function(){return this.verifyData.verifyCodeUrl||this.verifyCodeUrl},realExtParam:function(){return this.verifyData.extParam||this.extParam||{}}},methods:{setData:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.verifyData=t},sendVerifyCode:function(){if(this.realVerifyCodeUrl===this.jigsawVerifyCodeUrl&&this.realMobile===this.jigsawMobile)return this.showJigsaw();this._getVerifyCode({needpigsaw:0})},jigsawSuccess:function(t){var e=(t.keyword,t.token);this.showJigsaw(),this._getVerifyCode({needpigsaw:1,pigsawtoken:e})},_getVerifyCode:function(t){var e=this,n=t.needpigsaw,r=t.pigsawtoken;if(!this.isCodeRequesting){if(Object(u.E)(this.scene)||Object(u.y)(this.scene))return console.log("%c严重警告:发送验证码必须包含场景值参数scene","color:red;"),void(this.$throw&&this.$throw(new Error("严重警告:发送验证码必须包含场景值参数scene")));if(Object(u.E)(this.chn)||Object(u.y)(this.chn))return console.log("%c严重警告:发送验证码必须包含渠道参数chn","color:red;"),void(this.$throw&&this.$throw(new Error("严重警告:发送验证码必须包含渠道参数chn")));if(!this.realMobile)return this.error({errmsg:"请输入手机号"});if(!Object(u.w)(this.realMobile))return this.error({errmsg:"请输入正确的手机号"});this.isCodeRequesting=!0,Object(c.b)(this.realVerifyCodeUrl,i()({mobile:this.realMobile,scene:this.scene,chn:this.chn,needpigsaw:n,pigsawtoken:r},this.realExtParam)).then(function(t){var n=t.data,r=void 0===n?{}:n;e.isCodeRequesting=!1,0===r.ret?(e.hideJigsaw(),e.$emit("sent")):10056===r.ret||10065===r.ret?(e.jigsawVerifyCodeUrl=e.realVerifyCodeUrl,e.jigsawMobile=e.realMobile,e.showJigsaw()):(e.hideJigsaw(),e.error({ret:r.ret,errmsg:r.errmsg}))}).catch(function(t){e.isCodeRequesting=!1,e.error({ret:1004,errmsg:"系统繁忙,请稍后重试"})})}},error:function(t){var e=t.ret,n=void 0===e?2001:e,r=t.errmsg,i=t.data;this.$emit("error",{ret:n,errmsg:r,data:i})},showJigsaw:function(){this.$emit("show")},hideJigsaw:function(){this.$emit("hide")}},components:{ActJigsaw:a.default}}},132:function(t,e,n){"use strict";var r=n(12);t.exports=function(t,e){e=e||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(o,function(i){r.isObject(e[i])?n[i]=r.deepMerge(t[i],e[i]):void 0!==e[i]?n[i]=e[i]:r.isObject(t[i])?n[i]=r.deepMerge(t[i]):void 0!==t[i]&&(n[i]=t[i])}),r.forEach(s,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])});var a=i.concat(o).concat(s),c=Object.keys(e).filter(function(t){return-1===a.indexOf(t)});return r.forEach(c,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},133: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){},137:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:t.typeClass,style:{pointerEvents:t.pointerEvent,zIndex:t.zIndex}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:t.maskBgColor},on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),n("div",{staticClass:"act-popup-container",class:{"act-popup-center":t.center}},[t.$slots.default?n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius}},[t._t("default")],2):n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius},domProps:{innerHTML:t._s(t.content)}})])])},i=[];r._withStripped=!0},1381:function(t,e,n){"use strict";function r(t){a||n(1382)}var i=n(1311),o=n(1386),s=n(1),a=!1,c=r,u=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-58814476",null);u.options.__file="src\\components\\LoginLayer\\src\\index.vue",e.a=u.exports},1382:function(t,e){},1383:function(t,e,n){"use strict";function r(t){a||n(1384)}var i=n(1312),o=n(1385),s=n(1),a=!1,c=r,u=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-329f3e8b",null);u.options.__file="src\\components\\LoginLayer\\src\\components\\jigsaw.vue",e.a=u.exports},1384:function(t,e){},1385:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("act-jigsaw",{ref:"jigsaw",attrs:{visible:t.isVisible,brandColor:t.brandColor,initUrl:t.initUrl,verifyUrl:t.verifyUrl,keyword:t.mobile,platform:t.platform},on:{success:t.jigsawSuccess,error:t.error}})},i=[];r._withStripped=!0},1386:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("transition",{attrs:{name:"act-popup-fade"}},[r("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"login",mask:!0,center:!1,zIndex:t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.cancel}},[r("transition",{attrs:{name:"act-popup-move"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"popup-container",style:"background-color:"+(t.isCps?"#fff":"#fdfcff"),on:{click:function(t){t.stopPropagation()}}},[r("div",{staticClass:"popup-hd"},[r("i",{directives:[{name:"show",rawName:"v-show",value:t.showJigsaw,expression:"showJigsaw"}],staticClass:"icon-back",on:{click:function(e){return e.stopPropagation(),t.goBack.apply(null,arguments)}}}),t._v(" "),t.isCps||t.showJigsaw?t._e():r("section",{staticClass:"title"},[r("img",{staticClass:"icon",attrs:{src:t.icon||n(1387),alt:""}}),t._v(" "),r("p",{staticClass:"desc"},[t._v("\n "+t._s(t.desc||"新人福利:3万元保额意外保障")+"\n ")])]),t._v(" "),r("i",{staticClass:"icon-cancel",on:{click:function(e){return e.stopPropagation(),t.cancel.apply(null,arguments)}}})]),t._v(" "),r("div",{staticClass:"popup-content",style:"padding-top:"+(t.isCps?"0":"18")+"px;"},[r("div",{staticClass:"login-box act-iphonex-margin",style:"padding-bottom:"+t.bottom+"px;"},[r("div",{directives:[{name:"show",rawName:"v-show",value:!t.showJigsaw,expression:"!showJigsaw"}],staticClass:"form-sign",style:"padding: "+(t.isCps?"0 37px 12px":"0 25px 12px")+";"},[t.isCps?r("h3",[t._v("\n 验证手机号\n ")]):t._e(),t._v(" "),r("div",{class:[t.isCps?"form-sign-box-cps":"form-sign-box"]},[r("label",{staticClass:"form-sign-label"},[t._v("\n 手机号:\n ")]),t._v(" "),r("div",{staticClass:"form-input-group"},[r("div",{staticClass:"col-1"},[r("act-base-input",{staticClass:"form-sign-input",attrs:{type:"mobile",placeholder:"请输入手机号"},model:{value:t.mobile,callback:function(e){t.mobile=e},expression:"mobile"}})],1)])]),t._v(" "),r("div",{class:[t.isCps?"form-sign-box-cps":"form-sign-box"]},[r("label",{staticClass:"form-sign-label"},[t._v("\n 短信验证码:\n ")]),t._v(" "),r("div",{staticClass:"form-input-group middle"},[r("div",{staticClass:"col-1"},[r("act-base-input",{staticClass:"form-sign-input",attrs:{type:"tel",maxLength:"4",placeholder:"请输入验证码"},model:{value:t.verifyCode,callback:function(e){t.verifyCode=e},expression:"verifyCode"}})],1),t._v(" "),r("div",{staticClass:"form-sign-btn",class:{"form-sign-disabled":t.timeLeft>0},style:{color:t.loginBrandColor},on:{click:function(e){return e.stopPropagation(),t.getVerifyCode.apply(null,arguments)}}},[t._v("\n "+t._s(0===t.timeLeft?"获取验证码":"剩余"+t.timeLeft+"秒")+"\n ")])])]),t._v(" "),r("a",{staticClass:"btn",class:{active:!t.isLogining&&t.mobile&&t.verifyCode,primary:!t.isCps},style:{"background-color":t.loginBrandColor},attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.login.apply(null,arguments)}}},[t._v("\n "+t._s(t.isCps?"确定":"验证并登录")+"\n ")]),t._v(" "),r("act-gold-protocol",{ref:"protocol",staticClass:"protocol",attrs:{text:"未注册手机号登录将自动注册,且代表您已经同意",protocols:t.protocols,checkState:t.checkState,zIndex:1001,brandColor:t.loginBrandColor},on:{toggle:t.toggle}})],1),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:t.showJigsaw,expression:"showJigsaw"}],staticClass:"login-jigsaw"},[r("h3",[t._v("\n 滑动模块完成验证\n ")]),t._v(" "),r("h4",[t._v("\n 为了您的账号安全,本次登录需完成验证\n ")])]),t._v(" "),r("jigsaw",{ref:"jigsaw",staticClass:"jigsaw-box",attrs:{visible:t.showJigsaw,brandColor:t.loginBrandColor,mobile:t.mobile,initUrl:t.jigsawInitUrl,verifyUrl:t.jigsawVerifyUrl,verifyCodeUrl:t.verifyCodeUrl,chn:t.jigsawChn,scene:t.jigsawScene,platform:t.jigsawPlatform},on:{sent:t.jigsawSent,error:t.jigsawError,show:t.jigsawShow,hide:t.jigsawHide}})],1)])])])],1)],1),t._v(" "),r("act-gold-dialog",{ref:"agreeDialogSlot",attrs:{title:"温馨提示",cancelButtonText:"拒绝",confirmButtonText:"同意",confirmButtonColor:t.loginBrandColor||"#8c7fee",zIndex:1002,showCancelButton:!0,closable:!0},on:{confirm:t.handleProtocolConfirm,cancel:t.handleProtocolCancel}},[r("act-gold-protocol",{attrs:{text:"请阅读并同意",showCheckBox:!1,textFontSize:14,protocols:t.protocols,brandColor:t.loginBrandColor,zIndex:1003}})],1)],1)},i=[];r._withStripped=!0},1387:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAMAAADwSaEZAAAAxlBMVEUAAACNgO+MgPCNgO6Oge+OgvCOge+RgvGNgO+MgO+MgO6MgO+NgO+NgO+NgO6MgPCMgO+NgO+NgfCOge+OgPGOgu6ZiO6Ojv+qgP+RhPeRg/aOgfGMf+7///+Kfe6Ieu2Xi/Dg3PuqoPOUiO+ZjvCso/P4+P7W0vmNgO/8/P+glfGRhe+Pgu76+v7m4/zCu/aonvLt6/2vp/ONgPDc2frZ1fnOyPjHwff19P7TzvmkmfLp5/zLxfe4sPW1rfTx7/28tfWFd+3udG0eAAAAHHRSTlMAkfm1fT4wH/3s5+Xf2dLMwaxnUTYtDwkG++/vIRP2QgAAA3JJREFUWMO9mOl6ojAUhgNIrda97saAIBUBQXHf7f3f1AyxTjUnCPjwzPcTwpuzhOTkoKdqyTVBKhVyopgrlCShJrfQi6pnKiJmJFYy9eSkbKaIQ1TMZBOh3qrv+Ineq2/xURKOlBQP1xSAVVzrhGY06zOPYyr/GYFqCziBhPbTHJaTsAguP8lr4wMn0/yjEcaSezixunIIS8QvqMOlNXr4JXU5nmbjxgvGDWShHZ5HclU4rsyuEIGEkBQF27qq6g5RQoECs+7DbFJ3/mW92m4P3mlqOUoI7uFfaOa5LGydtrP+TV+DtaHycCbON++d5JrlL8/9R43d9VCJcPSNs08o+oEaxeIGPo/2/rsjSRyWtRj3uTp7mOOq9M8wDPStubeP3dXFN4yTN9rcYrcyObSbaVVo13Tfp5qstGGwKhRiq9bRvT3k2Fb9WfsmiL3189lyp9/WKyHEHB43V9pagVHLUlgGsOzlNdiXv6iHF441oG82x29Ay1BYETi5ntD5fYeAedTrPHsLvCrSsxZ8oM2oXb6DoYi+oLQtjFqd5yUe0eEXyoIa0qnOvsLzs8LObdDRC53wYeaULsAReF1BqCWyEVtRJ3c4TDYdsJ+yNLGFZBAUl8aEGsbXbsxfHjKqgTV2DgwzcKiITjO6BLPVwIahGMG8syG5+5qReaK/mUrA1iGxMDpyezfS1IePUv1gyMwi4GcvMT6YXjDSs8mvV96AkRsYv9mxQSuhAvsrHQLY0bxb9KM+T5MpCyugHAs7BnNPcSRsrLGwHALHuGM7jm3GgBksTIQwmjwMYJMvRhsNwnKYJwjzptqDDE0nwM1CTJj2rTAiGCSgFBMGIgRVQlJ6MAkJ6cEEVEsPVkNyejAZbI4JYHBzRJW0YBVwoCSCwQOlnhaszjuE4bkbC1aE5QEUsfZg9+J6CQoXiCK2x60HYOHClFRQpm55tPA46BGwKij2gGxvdi17DMjiF3tPfnZ90KdaRxkmgQIZ6qfmcUGNHV4gI+EpbLyITKUALhVc2Jd7MOwoVr75eN3hx8TZaZYONmj+dSfaUXD9gppjAVwR5/g1maTchpdX8zVY5yOLgBrdl1jzHreBIHdeYYlh7YNu4rh1enJaTZK5+dF43r5JkAdSzqbdWEq/5ZV+My79NiHEVUEaQAMztdbq/2j6ptqO/gNuLgOnFCbPsgAAAABJRU5ErkJggg=="},14:function(t,e,n){var r=n(48),i=n(31);t.exports=function(t){return r(i(t))}},140:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){v&&d&&(v=!1,d.length?h=d.concat(h):g=-1,h.length&&a())}function a(){if(!v){var t=i(s);v=!0;for(var e=h.length;e;){for(d=h,h=[];++g<e;)d&&d[g].run();g=-1,e=h.length}d=null,v=!1,o(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var d,h=[],v=!1,g=-1;p.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];h.push(new c(t,e)),1!==h.length||v||i(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},143:function(t,e,n){n(52),n(38),n(44),n(144),n(148),n(149),t.exports=n(0).Promise},144:function(t,e,n){"use strict";var r,i,o,s,a=n(19),c=n(2),u=n(20),l=n(66),f=n(6),p=n(8),d=n(30),h=n(74),v=n(57),g=n(86),m=n(87).set,y=n(146)(),b=n(63),w=n(88),x=n(147),C=n(89),_=c.TypeError,S=c.process,k=S&&S.versions,O=k&&k.v8||"",j=c.Promise,B="process"==l(S),A=function(){},T=i=b.f,E=!!function(){try{var t=j.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(A,A)};return(B||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==O.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),P=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(i||(2==t._h&&V(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(_("Promise-chain cycle")):(o=P(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!s&&l.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){m.call(c,function(){var e,n,r,i=t._v,o=z(t);if(o&&(e=w(function(){B?S.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=B||z(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},z=function(t){return 1!==t._h&&0===(t._a||t._c).length},V=function(t){m.call(c,function(){var e;B?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},I=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()),L(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=P(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,u(N,r,1),u(I,r,1))}catch(t){I.call(r,t)}}):(n._v=t,n._s=1,L(n,!1))}catch(t){I.call({_w:n,_d:!1},t)}}};E||(j=function(t){h(this,j,"Promise","_h"),d(t),r.call(this);try{t(u(N,this,1),u(I,this,1))}catch(t){I.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(75)(j.prototype,{then:function(t,e){var n=T(g(this,j));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=B?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(N,t,1),this.reject=u(I,t,1)},b.f=T=function(t){return t===j||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!E,{Promise:j}),n(24)(j,"Promise"),n(122)("Promise"),s=n(0).Promise,f(f.S+f.F*!E,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!E),"Promise",{resolve:function(t){return C(a&&this===s?j:this,t)}}),f(f.S+f.F*!(E&&n(121)(function(t){j.all(t).catch(A)})),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,i=n.reject,o=w(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,i=w(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},145: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)}},146:function(t,e,n){var r=n(2),i=n(87).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(23)(s);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},147:function(t,e,n){var r=n(2),i=r.navigator;t.exports=i&&i.userAgent||""},148:function(t,e,n){"use strict";var r=n(6),i=n(0),o=n(2),s=n(86),a=n(89);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},149:function(t,e,n){"use strict";var r=n(6),i=n(63),o=n(88);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},15:function(t,e,n){"use strict";function r(t,e){return function(n,r){var s=this,a=Object(i.a)(n),c=Object(o.a)(e,t,a,r),u=c.$parent,l=c.remove,f=c.show,p=c.hide;return c.remove=function(){c.$removed=!0,l&&l.call(this),u.destroy()},c.show=function(){return f&&f.call.apply(f,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},s&&s._isVue&&s.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}e.a=r;var i=n(118),o=n(120)},154:function(t,e,n){!function(n,r){t.exports=e=r()}(0,function(){var t=t||function(t,e){var n=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),r={},i=r.lib={},o=i.Base=function(){return{extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=i.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var s=n[o>>>2]>>>24-o%4*8&255;e[r+o>>>2]|=s<<24-(r+o)%4*8}else for(var o=0;o<i;o+=4)e[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,r=[],i=0;i<e;i+=4){var o=function(e){var e=e,n=987654321,r=4294967295;return function(){n=36969*(65535&n)+(n>>16)&r,e=18e3*(65535&e)+(e>>16)&r;var i=(n<<16)+e&r;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}}(4294967296*(n||t.random()));n=987654071*o(),r.push(4294967296*o()|0)}return new s.init(r,e)}}),a=r.enc={},c=a.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new s.init(n,e/2)}},u=a.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new s.init(n,e)}},l=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(u.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return u.parse(unescape(encodeURIComponent(t)))}},f=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,a=4*o,c=i/a;c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0);var u=c*o,l=t.min(4*u,i);if(u){for(var f=0;f<u;f+=o)this._doProcessBlock(r,f);var p=r.splice(0,u);n.sigBytes-=l}return new s.init(p,l)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),p=(i.Hasher=f.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new p.HMAC.init(t,n).finalize(e)}}}),r.algo={});return r}(Math);return t})},159:function(t,e,n){t.exports=n(160)},16:function(t,e,n){var r=n(55),i=n(35);t.exports=Object.keys||function(t){return r(t,i)}},160:function(t,e,n){"use strict";function r(t){var e=new s(t),n=o(s.prototype.request,e);return i.extend(n,s.prototype,e),i.extend(n,e),n}var i=n(12),o=n(126),s=n(161),a=n(132),c=n(129),u=r(c);u.Axios=s,u.create=function(t){return r(a(u.defaults,t))},u.Cancel=n(133),u.CancelToken=n(174),u.isCancel=n(128),u.all=function(t){return Promise.all(t)},u.spread=n(175),t.exports=u,t.exports.default=u},161:function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new s,response:new s}}var i=n(12),o=n(127),s=n(162),a=n(163),c=n(132);r.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=c(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,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=c(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},162:function(t,e,n){"use strict";function r(){this.handlers=[]}var i=n(12);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){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},163:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n(12),o=n(164),s=n(128),a=n(129);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},164:function(t,e,n){"use strict";var r=n(12);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},165:function(t,e,n){"use strict";var r=n(12);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},166:function(t,e,n){"use strict";var r=n(131);t.exports=function(t,e,n){var i=n.config.validateStatus;!i||i(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},167:function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,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}},168:function(t,e,n){"use strict";var r=n(169),i=n(170);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},169:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},17:function(t,e,n){var r=n(31);t.exports=function(t){return Object(r(t))}},170:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},171:function(t,e,n){"use strict";var r=n(12),i=["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,o,s={};return t?(r.forEach(t.split("\n"),function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}}),s):s}},172:function(t,e,n){"use strict";var r=n(12);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},173:function(t,e,n){"use strict";var r=n(12);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.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(){}}}()},174:functio