@xuanmo/v-form
Version:
* 目前已经集成的组件(Address/Checkbox/DatePicker/Input/Radio/Select/Text/Switch/Upload) * 组件不满足的情况可自定义开发组件或者使用 `slot` 的形式 * 组件的调用方式采取 `JSON` 配置的形式,具体参数见model数据说明 * 校验规则已经集成 `VeeValidate` 插件,也可以自定义扩展规则,更多资料 [https://logaretm.github.io/vee-validate](https://logaretm
1 lines • 251 kB
JavaScript
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["VForm"]=t(require("vue")):e["VForm"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),i=n("c65b"),o=n("1626"),a=n("825a"),s=n("577e"),u=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),c=/./.test;r({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=a(this),n=s(e),r=t.exec;if(!o(r))return i(c,t,n);var u=i(r,t,n);return null!==u&&(a(u),!0)}})},"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"01b4":function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},"0366":function(e,t,n){var r=n("e330"),i=n("59ed"),o=n("40d5"),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},"04d1":function(e,t,n){var r=n("342f"),i=r.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},"04f8":function(e,t,n){var r=n("2d00"),i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"0538":function(e,t,n){"use strict";var r=n("e330"),i=n("59ed"),o=n("861d"),a=n("1a2d"),s=n("f36a"),u=n("40d5"),c=Function,l=r([].concat),f=r([].join),d={},h=function(e,t,n){if(!a(d,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";d[t]=c("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=u?c.bind:function(e){var t=i(this),n=t.prototype,r=s(arguments,1),a=function(){var n=l(r,s(arguments));return this instanceof a?h(t,n.length,n):t.apply(e,n)};return o(n)&&(a.prototype=n),a}},"057f":function(e,t,n){var r=n("c6b6"),i=n("fc6a"),o=n("241c").f,a=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(t){return a(s)}};e.exports.f=function(e){return s&&"Window"==r(e)?u(e):o(i(e))}},"06cf":function(e,t,n){var r=n("83ab"),i=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),u=n("a04b"),c=n("1a2d"),l=n("0cfb"),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(n){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},"07ac":function(e,t,n){var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"083a":function(e,t,n){"use strict";var r=n("0d51"),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},"0b42":function(e,t,n){var r=n("e8b5"),i=n("68ee"),o=n("861d"),a=n("b622"),s=a("species"),u=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,i(t)&&(t===u||r(t.prototype))?t=void 0:o(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?u:t}},"0b43":function(e,t,n){var r=n("04f8");e.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"0c47":function(e,t,n){var r=n("da84"),i=n("d44e");i(r.JSON,"JSON",!0)},"0cb2":function(e,t,n){var r=n("e330"),i=n("7b0b"),o=Math.floor,a=r("".charAt),s=r("".replace),u=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var h=n+e.length,p=r.length,v=l;return void 0!==f&&(f=i(f),v=c),s(d,v,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,h);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>p){var d=o(l/10);return 0===d?i:d<=p?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):i}c=r[l-1]}return void 0===c?"":c}))}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){var r=n("e330"),i=Error,o=r("".replace),a=function(e){return String(i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d51":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"107c":function(e,t,n){var r=n("d039"),i=n("da84"),o=i.RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"11fc":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=function(){function e(e,t){this.date=new Date(e),t&&(this.date=new Date(Number(this.date)+t))}return e._paddingZero=function(e){return"".concat(e).padStart(2,"0")},e.prototype.format=function(t){void 0===t&&(t="yyyy/MM/dd HH:mm:ss");for(var n=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],r={"y+":this.date.getFullYear(),"M{2}":e._paddingZero(this.date.getMonth()+1),"d{2}":e._paddingZero(this.date.getDate()),"H{2}":e._paddingZero(this.date.getHours()),"h{2}":e._paddingZero(this.date.getHours()%12),"m{2}":e._paddingZero(this.date.getMinutes()),"s{2}":e._paddingZero(this.date.getSeconds()),M:this.date.getMonth()+1,d:this.date.getDate(),H:this.date.getHours(),h:this.date.getHours()%12,m:this.date.getMinutes(),s:this.date.getSeconds(),CW:n[this.date.getDay()],W:this.date.getDay()},i=0,o=Object.entries(r);i<o.length;i++){var a=o[i],s=a[0],u=a[1],c=new RegExp("(".concat(s,")([^a-zA-Z])?"));c.test(t)&&(t=t.replace(RegExp.$1,"".concat(u)))}return t},e.prototype.lastDay=function(){return new Date(Date.UTC(+this.format("yyyy"),+this.format("M"),0)).getDate()},e.prototype.calcDay=function(e){return Math.abs(Math.ceil((+this.date-+e)/864e5))},e}(),t=function(t,n){return new e(t||Date.now(),n)};return t}))},"131a":function(e,t,n){var r=n("23e7"),i=n("d2bb");r({target:"Object",stat:!0},{setPrototypeOf:i})},"13d2":function(e,t,n){var r=n("d039"),i=n("1626"),o=n("1a2d"),a=n("83ab"),s=n("5e77").CONFIGURABLE,u=n("8925"),c=n("69f3"),l=c.enforce,f=c.get,d=Object.defineProperty,h=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),p=String(String).split("String"),v=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),h&&n&&o(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=l(e);return o(r,"source")||(r.source=p.join("string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return i(this)&&f(this).source||u(this)}),"toString")},"14c3":function(e,t,n){var r=n("c65b"),i=n("825a"),o=n("1626"),a=n("c6b6"),s=n("9263"),u=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var c=r(n,e,t);return null!==c&&i(c),c}if("RegExp"===a(e))return r(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},"14d9":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("3511"),u=n("d039"),c=u((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:c||l},{push:function(e){var t=i(this),n=o(t),r=arguments.length;s(n+r);for(var u=0;u<r;u++)t[n]=arguments[u],n++;return a(t,n),n}})},"14e5":function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),u=n("2266"),c=n("5eed");r({target:"Promise",stat:!0,forced:c},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=s((function(){var n=o(t.resolve),a=[],s=0,l=1;u(e,(function(e){var o=s++,u=!1;l++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.value),n.promise}})},"159b":function(e,t,n){var r=n("da84"),i=n("fdbc"),o=n("785a"),a=n("17c2"),s=n("9112"),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in i)i[c]&&u(r[c]&&r[c].prototype);u(o)},1626:function(e,t,n){var r=n("8ea1"),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=i("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t,n){var r=n("3a9b"),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},"1a2d":function(e,t,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(u){}return n}},"1cd5":function(e){e.exports=JSON.parse('{"code":"zh_CN","messages":{"alpha":"{_field_}只能包含字母字符","alpha_dash":"{_field_}能够包含字母数字字符、破折号和下划线","alpha_num":"{_field_}只能包含字母数字字符","alpha_spaces":"{_field_}只能包含字母字符和空格","between":"{_field_}必须在{min}与{max}之间","confirmed":"{_field_}不能和{target}匹配","digits":"{_field_}必须是数字,且精确到{length}位数","dimensions":"{_field_}必须在{width}像素与{height}像素之间","email":"{_field_}不是一个有效的邮箱","excluded":"{_field_}不是一个有效值","ext":"{_field_}不是一个有效的文件","image":"{_field_}不是一张有效的图片","oneOf":"{_field_}不是一个有效值","integer":"{_field_}必须是整数","length":"{_field_}长度必须为{length}","max":"{_field_}不能超过{length}个字符","max_value":"{_field_}必须小于或等于{max}","mimes":"{_field_}不是一个有效的文件类型","min":"{_field_}必须至少有{length}个字符","min_value":"{_field_}必须大于或等于{min}","numeric":"{_field_}只能包含数字字符","regex":"{_field_}格式无效","required":"{_field_}是必须的","required_if":"{_field_}是必须的","size":"{_field_}必须小于{size}KB","double":"{_field_}字段必须为有效的小数"}}')},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d80":function(e,t,n){var r=n("7234"),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1f68":function(e,t,n){"use strict";var r=n("83ab"),i=n("edd0"),o=n("861d"),a=n("7b0b"),s=n("1d80"),u=Object.getPrototypeOf,c=Object.setPrototypeOf,l=Object.prototype,f="__proto__";if(r&&u&&c&&!(f in l))try{i(l,f,{configurable:!0,get:function(){return u(a(this))},set:function(e){var t=s(this);(o(e)||null===e)&&o(t)&&c(t,e)}})}catch(d){}},2266:function(e,t,n){var r=n("0366"),i=n("c65b"),o=n("825a"),a=n("0d51"),s=n("e95a"),u=n("07fa"),c=n("3a9b"),l=n("9a1f"),f=n("35a1"),d=n("2a62"),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},v=p.prototype;e.exports=function(e,t,n){var m,g,b,y,x,w,_,S=n&&n.that,k=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),$=!(!n||!n.INTERRUPTED),C=r(t,S),M=function(e){return m&&d(m,"normal",e),new p(!0,e)},E=function(e){return k?(o(e),$?C(e[0],e[1],M):C(e[0],e[1])):$?C(e,M):C(e)};if(O)m=e.iterator;else if(A)m=e;else{if(g=f(e),!g)throw h(a(e)+" is not iterable");if(s(g)){for(b=0,y=u(e);y>b;b++)if(x=E(e[b]),x&&c(v,x))return x;return new p(!1)}m=l(e,g)}w=O?e.next:m.next;while(!(_=i(w,m)).done){try{x=E(_.value)}catch(V){d(m,"throw",V)}if("object"==typeof x&&x&&c(v,x))return x}return new p(!1)}},"23cb":function(e,t,n){var r=n("5926"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23dc":function(e,t,n){var r=n("d44e");r(Math,"Math",!0)},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),u=n("e893"),c=n("94ca");e.exports=function(e,t){var n,l,f,d,h,p,v=e.target,m=e.global,g=e.stat;if(l=m?r:g?r[v]||s(v,{}):(r[v]||{}).prototype,l)for(f in t){if(h=t[f],e.dontCallGetSet?(p=i(l,f),d=p&&p.value):d=l[f],n=c(m?f:v+(g?".":"#")+f,e.forced),!n&&void 0!==d){if(typeof h==typeof d)continue;u(h,d)}(e.sham||d&&d.sham)&&o(h,"sham",!0),a(l,f,h,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2532:function(e,t,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("5a34"),a=n("1d80"),s=n("577e"),u=n("ab13"),c=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},"25f0":function(e,t,n){"use strict";var r=n("5e77").PROPER,i=n("cb2d"),o=n("825a"),a=n("577e"),s=n("d039"),u=n("90d8"),c="toString",l=RegExp.prototype,f=l[c],d=s((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),h=r&&f.name!=c;(d||h)&&i(RegExp.prototype,c,(function(){var e=o(this),t=a(e.source),n=a(u(e));return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},2638:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)}var i=["attrs","props","domProps"],o=["class","style","directives"],a=["on","nativeOn"],s=function(e){return e.reduce((function(e,t){for(var n in t)if(e[n])if(-1!==i.indexOf(n))e[n]=r({},e[n],t[n]);else if(-1!==o.indexOf(n)){var s=e[n]instanceof Array?e[n]:[e[n]],c=t[n]instanceof Array?t[n]:[t[n]];e[n]=[].concat(s,c)}else if(-1!==a.indexOf(n))for(var l in t[n])if(e[n][l]){var f=e[n][l]instanceof Array?e[n][l]:[e[n][l]],d=t[n][l]instanceof Array?t[n][l]:[t[n][l]];e[n][l]=[].concat(f,d)}else e[n][l]=t[n][l];else if("hook"===n)for(var h in t[n])e[n][h]=e[n][h]?u(e[n][h],t[n][h]):t[n][h];else e[n]=t[n];else e[n]=t[n];return e}),{})},u=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}};e.exports=s},"2a62":function(e,t,n){var r=n("c65b"),i=n("825a"),o=n("dc4a");e.exports=function(e,t,n){var a,s;i(e);try{if(a=o(e,"return"),!a){if("throw"===t)throw n;return n}a=r(a,e)}catch(u){s=!0,a=u}if("throw"===t)throw n;if(s)throw a;return i(a),n}},"2b3d":function(e,t,n){n("4002")},"2ba4":function(e,t,n){var r=n("40d5"),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},"2c3e":function(e,t,n){var r=n("83ab"),i=n("9f7f").MISSED_STICKY,o=n("c6b6"),a=n("edd0"),s=n("69f3").get,u=RegExp.prototype,c=TypeError;r&&i&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===o(this))return!!s(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},"2cf4":function(e,t,n){var r,i,o,a,s=n("da84"),u=n("2ba4"),c=n("0366"),l=n("1626"),f=n("1a2d"),d=n("d039"),h=n("1be4"),p=n("f36a"),v=n("cc12"),m=n("d6d6"),g=n("1cdc"),b=n("605d"),y=s.setImmediate,x=s.clearImmediate,w=s.process,_=s.Dispatch,S=s.Function,k=s.MessageChannel,O=s.String,A=0,$={},C="onreadystatechange";try{r=s.location}catch(j){}var M=function(e){if(f($,e)){var t=$[e];delete $[e],t()}},E=function(e){return function(){M(e)}},V=function(e){M(e.data)},P=function(e){s.postMessage(O(e),r.protocol+"//"+r.host)};y&&x||(y=function(e){m(arguments.length,1);var t=l(e)?e:S(e),n=p(arguments,1);return $[++A]=function(){u(t,void 0,n)},i(A),A},x=function(e){delete $[e]},b?i=function(e){w.nextTick(E(e))}:_&&_.now?i=function(e){_.now(E(e))}:k&&!g?(o=new k,a=o.port2,o.port1.onmessage=V,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(P)?(i=P,s.addEventListener("message",V,!1)):i=C in v("script")?function(e){h.appendChild(v("script"))[C]=function(){h.removeChild(this),M(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:y,clear:x}},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(r=l.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},3410:function(e,t,n){var r=n("23e7"),i=n("d039"),o=n("7b0b"),a=n("e163"),s=n("e177"),u=i((function(){a(1)}));r({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3511:function(e,t){var n=TypeError,r=9007199254740991;e.exports=function(e){if(e>r)throw n("Maximum allowed index exceeded");return e}},3529:function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),u=n("2266"),c=n("5eed");r({target:"Promise",stat:!0,forced:c},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},"35a1":function(e,t,n){var r=n("f5df"),i=n("dc4a"),o=n("7234"),a=n("3f8c"),s=n("b622"),u=s("iterator");e.exports=function(e){if(!o(e))return i(e,u)||i(e,"@@iterator")||a[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),i=n("aed9"),o=n("9bf2"),a=n("825a"),s=n("fc6a"),u=n("df75");t.f=r&&!i?Object.defineProperties:function(e,t){a(e);var n,r=s(t),i=u(t),c=i.length,l=0;while(c>l)o.f(e,n=i[l++],r[n]);return e}},"3a34":function(e,t,n){"use strict";var r=n("83ab"),i=n("e8b5"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a9b":function(e,t,n){var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){var r=n("1626"),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},"3c65":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("083a"),u=n("3511"),c=1!==[].unshift(0),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:c||l},{unshift:function(e){var t=i(this),n=o(t),r=arguments.length;if(r){u(n+r);var c=n;while(c--){var l=c+r;c in t?t[l]=t[c]:s(t,l)}for(var f=0;f<r;f++)t[f]=arguments[f]}return a(t,n+r)}})},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("577e"),o=n("69f3"),a=n("c6d2"),s=n("4754"),u="String Iterator",c=o.set,l=o.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},"3f8c":function(e,t){e.exports={}},4002:function(e,t,n){"use strict";n("3ca3");var r,i=n("23e7"),o=n("83ab"),a=n("f354"),s=n("da84"),u=n("0366"),c=n("e330"),l=n("cb2d"),f=n("edd0"),d=n("19aa"),h=n("1a2d"),p=n("60da"),v=n("4df4"),m=n("4dae"),g=n("6547").codeAt,b=n("5fb2"),y=n("577e"),x=n("d44e"),w=n("d6d6"),_=n("5352"),S=n("69f3"),k=S.set,O=S.getterFor("URL"),A=_.URLSearchParams,$=_.getState,C=s.URL,M=s.TypeError,E=s.parseInt,V=Math.floor,P=Math.pow,j=c("".charAt),T=c(/./.exec),I=c([].join),R=c(1..toString),F=c([].pop),L=c([].push),D=c("".replace),N=c([].shift),B=c("".split),z=c("".slice),H=c("".toLowerCase),U=c([].unshift),q="Invalid authority",Z="Invalid scheme",K="Invalid host",Y="Invalid port",W=/[a-z]/i,G=/[\d+-.a-z]/i,X=/\d/,J=/^0x/i,Q=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,ne=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ie=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,ae=function(e){var t,n,r,i,o,a,s,u=B(e,".");if(u.length&&""==u[u.length-1]&&u.length--,t=u.length,t>4)return e;for(n=[],r=0;r<t;r++){if(i=u[r],""==i)return e;if(o=10,i.length>1&&"0"==j(i,0)&&(o=T(J,i)?16:8,i=z(i,8==o?1:2)),""===i)a=0;else{if(!T(10==o?ee:8==o?Q:te,i))return e;a=E(i,o)}L(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(s=F(n),r=0;r<n.length;r++)s+=n[r]*P(256,3-r);return s},se=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return j(e,f)};if(":"==d()){if(":"!=j(e,1))return;f+=2,c++,l=c}while(d()){if(8==c)return;if(":"!=d()){t=n=0;while(n<4&&T(te,d()))t=16*t+E(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,c>6)return;r=0;while(d()){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!T(X,d()))return;while(T(X,d())){if(o=E(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[c]=256*u[c]+i,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[c++]=t}else{if(null!==l)return;f++,c++,l=c}}if(null!==l){a=c-l,c=7;while(0!=c&&a>0)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s}else if(8!=c)return;return u},ue=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t},ce=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)U(t,e%256),e=V(e/256);return I(t,".")}if("object"==typeof e){for(t="",r=ue(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=R(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},le={},fe=p({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),de=p({},fe,{"#":1,"?":1,"{":1,"}":1}),he=p({},de,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(e,t){var n=g(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},ve={ftp:21,file:null,http:80,https:443,ws:80,wss:443},me=function(e,t){var n;return 2==e.length&&T(W,j(e,0))&&(":"==(n=j(e,1))||!t&&"|"==n)},ge=function(e){var t;return e.length>1&&me(z(e,0,2))&&(2==e.length||"/"===(t=j(e,2))||"\\"===t||"?"===t||"#"===t)},be=function(e){return"."===e||"%2e"===H(e)},ye=function(e){return e=H(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},xe={},we={},_e={},Se={},ke={},Oe={},Ae={},$e={},Ce={},Me={},Ee={},Ve={},Pe={},je={},Te={},Ie={},Re={},Fe={},Le={},De={},Ne={},Be=function(e,t,n){var r,i,o,a=y(e);if(t){if(i=this.parse(a),i)throw M(i);this.searchParams=null}else{if(void 0!==n&&(r=new Be(n,!0)),i=this.parse(a,null,r),i)throw M(i);o=$(new A),o.bindURL(this),this.searchParams=o}};Be.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u=this,c=t||xe,l=0,f="",d=!1,p=!1,g=!1;e=y(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=D(e,ie,"")),e=D(e,oe,""),i=v(e);while(l<=i.length){switch(o=i[l],c){case xe:if(!o||!T(W,o)){if(t)return Z;c=_e;continue}f+=H(o),c=we;break;case we:if(o&&(T(G,o)||"+"==o||"-"==o||"."==o))f+=H(o);else{if(":"!=o){if(t)return Z;f="",c=_e,l=0;continue}if(t&&(u.isSpecial()!=h(ve,f)||"file"==f&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=f,t)return void(u.isSpecial()&&ve[u.scheme]==u.port&&(u.port=null));f="","file"==u.scheme?c=je:u.isSpecial()&&n&&n.scheme==u.scheme?c=Se:u.isSpecial()?c=$e:"/"==i[l+1]?(c=ke,l++):(u.cannotBeABaseURL=!0,L(u.path,""),c=Le)}break;case _e:if(!n||n.cannotBeABaseURL&&"#"!=o)return Z;if(n.cannotBeABaseURL&&"#"==o){u.scheme=n.scheme,u.path=m(n.path),u.query=n.query,u.fragment="",u.cannotBeABaseURL=!0,c=Ne;break}c="file"==n.scheme?je:Oe;continue;case Se:if("/"!=o||"/"!=i[l+1]){c=Oe;continue}c=Ce,l++;break;case ke:if("/"==o){c=Me;break}c=Fe;continue;case Oe:if(u.scheme=n.scheme,o==r)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.query=n.query;else if("/"==o||"\\"==o&&u.isSpecial())c=Ae;else if("?"==o)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.query="",c=De;else{if("#"!=o){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.path.length--,c=Fe;continue}u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.query=n.query,u.fragment="",c=Ne}break;case Ae:if(!u.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,c=Fe;continue}c=Me}else c=Ce;break;case $e:if(c=Ce,"/"!=o||"/"!=j(f,l+1))continue;l++;break;case Ce:if("/"!=o&&"\\"!=o){c=Me;continue}break;case Me:if("@"==o){d&&(f="%40"+f),d=!0,a=v(f);for(var b=0;b<a.length;b++){var x=a[b];if(":"!=x||g){var w=pe(x,he);g?u.password+=w:u.username+=w}else g=!0}f=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(d&&""==f)return q;l-=v(f).length+1,f="",c=Ee}else f+=o;break;case Ee:case Ve:if(t&&"file"==u.scheme){c=Ie;continue}if(":"!=o||p){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(u.isSpecial()&&""==f)return K;if(t&&""==f&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(f),s)return s;if(f="",c=Re,t)return;continue}"["==o?p=!0:"]"==o&&(p=!1),f+=o}else{if(""==f)return K;if(s=u.parseHost(f),s)return s;if(f="",c=Pe,t==Ve)return}break;case Pe:if(!T(X,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()||t){if(""!=f){var _=E(f,10);if(_>65535)return Y;u.port=u.isSpecial()&&_===ve[u.scheme]?null:_,f=""}if(t)return;c=Re;continue}return Y}f+=o;break;case je:if(u.scheme="file","/"==o||"\\"==o)c=Te;else{if(!n||"file"!=n.scheme){c=Fe;continue}if(o==r)u.host=n.host,u.path=m(n.path),u.query=n.query;else if("?"==o)u.host=n.host,u.path=m(n.path),u.query="",c=De;else{if("#"!=o){ge(I(m(i,l),""))||(u.host=n.host,u.path=m(n.path),u.shortenPath()),c=Fe;continue}u.host=n.host,u.path=m(n.path),u.query=n.query,u.fragment="",c=Ne}}break;case Te:if("/"==o||"\\"==o){c=Ie;break}n&&"file"==n.scheme&&!ge(I(m(i,l),""))&&(me(n.path[0],!0)?L(u.path,n.path[0]):u.host=n.host),c=Fe;continue;case Ie:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&me(f))c=Fe;else if(""==f){if(u.host="",t)return;c=Re}else{if(s=u.parseHost(f),s)return s;if("localhost"==u.host&&(u.host=""),t)return;f="",c=Re}continue}f+=o;break;case Re:if(u.isSpecial()){if(c=Fe,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(c=Fe,"/"!=o))continue}else u.fragment="",c=Ne;else u.query="",c=De;break;case Fe:if(o==r||"/"==o||"\\"==o&&u.isSpecial()||!t&&("?"==o||"#"==o)){if(ye(f)?(u.shortenPath(),"/"==o||"\\"==o&&u.isSpecial()||L(u.path,"")):be(f)?"/"==o||"\\"==o&&u.isSpecial()||L(u.path,""):("file"==u.scheme&&!u.path.length&&me(f)&&(u.host&&(u.host=""),f=j(f,0)+":"),L(u.path,f)),f="","file"==u.scheme&&(o==r||"?"==o||"#"==o))while(u.path.length>1&&""===u.path[0])N(u.path);"?"==o?(u.query="",c=De):"#"==o&&(u.fragment="",c=Ne)}else f+=pe(o,de);break;case Le:"?"==o?(u.query="",c=De):"#"==o?(u.fragment="",c=Ne):o!=r&&(u.path[0]+=pe(o,le));break;case De:t||"#"!=o?o!=r&&("'"==o&&u.isSpecial()?u.query+="%27":u.query+="#"==o?"%23":pe(o,le)):(u.fragment="",c=Ne);break;case Ne:o!=r&&(u.fragment+=pe(o,fe));break}l++}},parseHost:function(e){var t,n,r;if("["==j(e,0)){if("]"!=j(e,e.length-1))return K;if(t=se(z(e,1,-1)),!t)return K;this.host=t}else if(this.isSpecial()){if(e=b(e),T(ne,e))return K;if(t=ae(e),null===t)return K;this.host=t}else{if(T(re,e))return K;for(t="",n=v(e),r=0;r<n.length;r++)t+=pe(n[r],le);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return h(ve,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&me(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ce(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+I(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw M(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new ze(e.path[0]).origin}catch(n){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ce(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(y(e)+":",xe)},getUsername:function(){return this.username},setUsername:function(e){var t=v(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=pe(t[n],he)}},getPassword:function(){return this.password},setPassword:function(e){var t=v(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=pe(t[n],he)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ce(e):ce(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ee)},getHostname:function(){var e=this.host;return null===e?"":ce(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ve)},getPort:function(){var e=this.port;return null===e?"":y(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=y(e),""==e?this.port=null:this.parse(e,Pe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+I(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Re))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=y(e),""==e?this.query=null:("?"==j(e,0)&&(e=z(e,1)),this.query="",this.parse(e,De)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){e=y(e),""!=e?("#"==j(e,0)&&(e=z(e,1)),this.fragment="",this.parse(e,Ne)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var ze=function(e){var t=d(this,He),n=w(arguments.length,1)>1?arguments[1]:void 0,r=k(t,new Be(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},He=ze.prototype,Ue=function(e,t){return{get:function(){return O(this)[e]()},set:t&&function(e){return O(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(f(He,"href",Ue("serialize","setHref")),f(He,"origin",Ue("getOrigin")),f(He,"protocol",Ue("getProtocol","setProtocol")),f(He,"username",Ue("getUsername","setUsername")),f(He,"password",Ue("getPassword","setPassword")),f(He,"host",Ue("getHost","setHost")),f(He,"hostname",Ue("getHostname","setHostname")),f(He,"port",Ue("getPort","setPort")),f(He,"pathname",Ue("getPathname","setPathname")),f(He,"search",Ue("getSearch","setSearch")),f(He,"searchParams",Ue("getSearchParams")),f(He,"hash",Ue("getHash","setHash"))),l(He,"toJSON",(function(){return O(this).serialize()}),{enumerable:!0}),l(He,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),C){var qe=C.createObjectURL,Ze=C.revokeObjectURL;qe&&l(ze,"createObjectURL",u(qe,C)),Ze&&l(ze,"revokeObjectURL",u(Ze,C))}x(ze,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:ze})},"408a":function(e,t,n){var r=n("e330");e.exports=r(1..valueOf)},"40d5":function(e,t,n){var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("e330"),i=n("d039"),o=n("c6b6"),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2").f,a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"45a5":function(e,t,n){!function(e,n){n(t)}(0,(function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||((r=r||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){var r=n(n([],t||[],!0),["_"],!1).join("|");return e.replace(new RegExp("((".concat(r,")[a-z])+"),"g"),(function(e,t){return t.replace(new RegExp(r),"").toLocaleUpperCase()}))}var o=(a.prototype.init=function(){try{this.getSystemName(),this.getBrowserName()}catch(e){console.warn("[UA formatter error] ".concat(e))}},a.prototype.getEngine=function(){var e=this.agent;return-1!==e.indexOf("Trident")?"Trident":-1!==e.indexOf("Firefox")?"Gecko":-1!==e.indexOf("Presto")?"Presto":"WebKit"},a.prototype.getSystemName=function(){var e=(this.agent.match(/^[a-z]+\/\d+\.\d+\s?\(([a-z\d\s:;./_-]+)\)/i)||[])[1];try{var t="";if(/Windows/i.test(e)){var n=(e.match(/NT\s(\d+\.\d+)/)||[])[1];switch(this.info.os="Windows",n){case"6.3":t="8.1";break;case"6.2":t="8";break;case"6.1":t="7";break;case"5.2":case"5.1":t="XP";break;default:t=n}return this.info.device="PC",void(this.info.osVersion=t)}if(/^Macintosh/i.test(e))return t=(e.match(/X\s((\d+(_|\.))+\d+)/)||[])[1],this.info.os="Macintosh",this.info.device="PC",void(this.info.osVersion=t.replace(/_/g,"."));if(/^iPad/i.test(e))return t=(e.match(/((\d+_)+\d+)/)||[])[1],this.info.os="iPad",this.info.device="Tablet",void(this.info.osVersion=t.replace(/_/g,"."));if(/^iPhone/i.test(e))return t=(e.match(/((\d+_)+\d+)/)||[])[1],this.info.os="iPhone",this.info.device="Mobile",void(this.info.osVersion=t.replace(/_/g,"."));if(-1!==e.indexOf("Android")){var r=(e.match(/Android\s((\d+\.?)+\d?)/)||[])[1];return this.info.device="Mobile",this.info.os="Android",void(this.info.osVersion=r)}if(/Linux\s[a-z\d_]+/.test(e))return this.info.os="Linux",void(this.info.osVersion="Unknown");this.info.os="Unknown",this.info.osVersion="Unknown"}catch(e){this.info.os="Unknown",this.info.osVersion="Unknown"}},a.prototype.getBrowserName=function(){var e=Object.keys(this.browserNameMap).map((function(e){return new RegExp("".concat(e,"(\\/|\\s)(\\d+\\.)+\\d+"))})),n=1<(n=(this.agent.match(/[a-z\d]+(\/|\s)(\d+\.)+\d+/gi)||[]).filter((function(t){return-1!==e.findIndex((function(e){return e.test(t)}))}))).length&&!/^Safari/.test(n[n.length-1])?n.reverse():n;this.info=t(t({},this.info),this._formatBrowserVersion(n[0]))},a.prototype._formatBrowserVersion=function(e){var t,n,r,i;try{for(var o=null!==(n=null===(t=e.match(/(?<name>[a-z\d]+)(\/|\s)(?<version>(\d+\.)+\d+)/i))||void 0===t?void 0:t.groups)&&void 0!==n?n:{},a=o.name,s=o.version,u={},c=0,l=Object.entries(this.browserNameMap);c<l.length;c++){var f=l[c],d=f[0],h=f[1];if(new RegExp(d).test(a)){u=h;break}}var p={browserVersion:null!=s?s:"Unknown",browser:null!==(r=u.en)&&void 0!==r?r:"Unknown",browserZH:null!==(i=(null==u?void 0:u.zh)||u.en)&&void 0!==i?i:"Unknown"};return"Trident"===a&&(p.browserVersion={"4.0":8,"5.0":9,"6.0":10,"7.0":11}[s]),p}catch(e){return console.warn("[UA formatter error] ".concat(e)),{browser:"Unknown",browserVersion:"Unknown"}}},a);function a(e){this.agent="",this.info={browser:"",browserZH:"",browserVersion:"",os:"",osVersion:"",device:"Unknown",engine:"WebKit"},this.browserNameMap={MicroMessenger:{en:"MicroMessenger",zh:"微信"},MetaSr:{en:"MetaSr",zh:"搜狗浏览器"},"QQ(Browser)?":{en:"QQBrowser",zh:"QQ浏览器"},UCBrowser:{en:"UCBrowser",zh:"UC浏览器"},"2345Explorer":{en:"2345Explorer",zh:"2345极速浏览器"},Mb2345Browser:{en:"Mb2345Browser",zh:"2345手机浏览器"},Trident:{en:"Internet Explorer"},"Edge?":{en:"Edge"},OPR:{en:"Opera"},Vivaldi:{en:"Vivaldi"},Firefox:{en:"Firefox"},Chrome:{en:"Chrome"},Safari:{en:"Safari"}},this.agent=e,this.init();var n=this.info,r=n.browser;e=n.browserVersion,n=n.osVersion;this.info=t(t({},this.info),{engine:this.getEngine(),browserVersion:"Safari"===r?n:e})}function s(){this.cookies={},this.init()}var u=new(s.prototype.init=function(){var e={};document.cookie.split(/;\s/).forEach((function(t){var n=t.split(/=/);t=n[0],n=n[1];e[t]=n})),this.cookies=e},s.prototype.getItem=function(e){return this.cookies[e]},s.prototype.getAllItems=function(){return this.cookies},s.prototype.setItem=function(e,t,n,r,i,o){document.cookie="".concat(e,"=").concat(t).concat(n?"; expires=".concat(n):"").concat(r?"; path=".concat(r):"").concat(i?"; domain=".concat(i):"").concat(o?"; secure":"")},s);e.countDown=function e(t,n,r,i){if(!window)throw new Error("window is not defind.");if(0<t)return i&&i(),t--,window[n]=window.setTimeout((function(){e(t,n,r,i)}),1e3),function(){return clearTimeout(window[n])};clearTimeout(window[n]),r&&r()},e.createRandomID=function(e){void 0===e&&(e=12);for(var t=[],n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),r=n.length,i=0;i<e;i++)t.push(n[Math.round(Math.random()*r)]);return t.join("")},e.dCookie=u,e.debounce=function(e,t,n){var r;void 0===t&&(t=0);var i=n=void 0!==n&&n;return function(){var o=this,a=arguments;i&&(e.apply(this,arguments),i=!1),clearTimeout(r),r=setTimeout((function(){n?i=!0:e.apply(o,a)}),t)}},e.deepCopy=function e(t){if(r(t)||Array.isArray(t)){var n,i=Array.isArray(t)?[]:{};for(n in t)i[n]=e(t[n]);return i}return t},e.formatQueryParams=function(e){if(e=null===(e=/\?(?<params>(.*)=.+)/.exec(decodeURIComponent(e)))||void 0===e?void 0:e.groups,!e)return{};for(var t=e.params.split("&"),n={},r=0;r<t.length;r++)t[r].replace(/([^?&]*)=([^?&]*)/,(function(e,t,r){return n[t]=r,e}));return n},e.formatThousandth=function(e){var t="".concat(e).split(".");e=t[0],t=t[1],t=void 0===t?"":t,e=e.replace(/\d{1,3}(?=(\d{3})+$)/g,"$&,");return"".concat(e).concat(t?".".concat(t):"")},e.isEmpty=function(e){return Array.isArray(e)?0===e.length:r(e)?0===Object.keys(e).length:[null,void 0,""].includes(e)},e.isFunction=function(e){return"[object Function]"===Object.prototype.toString.call(e)},e.isImageUrl=function(e){return/\.((png)|(jpe?g)|(gif)|(svg)|(webp))$/gi.test(e)},e.isObject=r,e.isRegexp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},e.objectKeyToCamelCase=function e(t,n,o){if(Array.isArray(t))for(var a=[],s=0;s<t.length;s++)a[s]=e(n&&t[s][n]?t[s][n]:t[s],n,o);else if(r(t)){a={};for(var u=n&&t[n]?t[n]:t,c=0,l=Object.entries(u);c<l.length;c++){var f=(d=l[c])[0],d=d[1];Array.isArray(d)||r(u)?a[i(f,o)]=e(d,n,o):a[i(f,o)]=d}}else a=t;return a},e.searchParams=function(e,t){return void 0===e&&(e=null===location||void 0===location?void 0:location.search),new URLSearchParams(e).get(t)},e.toLowerCamelCase=i,e.toUnderline=function(e){return e.replace(/([A-Z])/g,(function(e){return"_".concat(e.toLocaleLowerCase())}))},e.ua=function(e){return void 0===e&&(e=navigator.userAgent),new o(e).info},Object.defineProperty(e,"__esModule",{value:!0})}))},"466d":function(e,t,n){"use strict";var r=n("c65b"),i=n("d784"),o=n("825a"),a=n("7234"),s=n("50c4"),u=n("577e"),c=n("1d80"),l=n("dc4a"),f=n("8aa5"),d=n("14c3");i("match",(function(e,t,n){return[function(t){var n=c(this),i=a(t)?void 0:l(t,e);return i?r(i,t,n):new RegExp(t)[e](u(n))},function(e){var r=o(this),i=u(e),a=n(t,r,i);if(a.done)return a.value;if(!r.global)return d(r,i);var c=r.unicode;r.lastIndex=0;var l,h=[],p=0;while(null!==(l=d(r,i))){var v=u(l[0]);h[p]=v,""===v&&(r.lastIndex=f(i,s(r.lastIndex),c)),p++}return 0===p?null:h}]}))},4738:function(e,t,n){var r=n("da84"),i=n("d256"),o=n("1626"),a=n("94ca"),s=n("8925"),u=n("b622"),c=n("6069"),l=n("6c59"),f=n("c430"),d=n("2d00"),h=i&&i.prototype,p=u("species"),v=!1,m=o(r.PromiseRejectionEvent),g=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(f&&(!h["catch"]||!h["finally"]))return!0;if(!d||d<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))},o=n.constructor={};if(o[p]=r,v=n.then((function(){}))instanceof r,!v)return!0}return!t&&(c||l)&&!m}));e.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:v}},4754:function(e,t){e.exports=function(e,t){return{value:e,done:t}}},4840:function(e,t,n){var r=n("825a"),i=n("5087"),o=n("7234"),a=n("b622"),s=a("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||o(n=r(a)[s])?t:i(n)}},"485a":function(e,t,n){var r=n("c65b"),i=n("1626"),o=n("861d"),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},"4ae1":function(e,t,n){var r=n("23e7"),i=n("d066"),o=n("2ba4"),a=n("0538"),s=n("5087"),u=n("825a"),c=n("861d"),l=n("7c73"),f=n("d039"),d=i("Reflect","construct"),h=Object.prototype,p=[].push,v=f((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),m=!f((function(){d((function(){}))})),g=v||m;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(e,t){s(e),u(t);var n=arguments.length<3?e:s(arguments[2]);if(m&&!v)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return o(p,r,t),new(o(a,e,r))}var i=n.prototype,f=l(c(i)?i:h),g=o(e,f,t);return c(g)?g:f}})},"4d63":function(e,t,n){var r=n("83ab"),i=n("da84"),o=n("e330"),a=n("94ca"),s=n("7156"),u=n("9112"),c=n("241c").f,l=n("3a9b"),f=n("44e7"),d=n("577e"),h=n("90d8"),p=n("9f7f"),v=n("aeb0"),m=n("cb2d"),g=n("d039"),b=n("1a2d"),y=n("69f3").enforce,x=n("2626"),w=n("b622"),_=n("fce3"),S=n("107c"),k=w("match"),O=i.RegExp,A=O.prototype,$=i.SyntaxError,C=o(A.exec),M=o("".charAt),E=o("".replace),V=o("".indexOf),P=o("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,T=/a/g,I=/a/g,R=new O(T)!==T,F=p.MISSED_STICKY,L=p.UNSUPPORTED_Y,D=r&&(!R||F||_||S||g((function(){return I[k]=!1,O(T)!=T||O(I)==I||"/a/i"!=O(T,"i")}))),N=function(e){for(var t,n=e.length,r=0,i="",o=!1;r<=n;r++)t=M(e,r),"\\"!==t?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+M(e,++r);return i},B=function(e){for(var t,n=e.length,r=0,i="",o=[],a={},s=!1,u=!1,c=0,l="";r<=n;r++){if(t=M(e,r),"\\"===t)t+=M(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:C(j,P(e,r+1))&&(r+=2,u=!0),i+=t,c++;continue;case">"===t&&u:if(""===l||b(a,l))throw new $("Invalid capture group name");a[l]=!0,o[o.length]=[l,c],u=!1,l="";continue}u?l+=t:i+=t}return[i,o]};if(a("RegExp",D)){for(var z=function(e,t){var n,r,i,o,a,c,p=l(A,this),v=f(e),m=void 0===t,g=[],b=e;if(!p&&v&&m&&e.constructor===z)return e;if((v||l(A,e))&&(e=e.source,m&&(t=h(b))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),b=e,_&&"dotAll"in T&&(r=!!t&&V(t,"s")>-1,r&&(t=E(t,/s/g,""))),n=t,F&&"sticky"in T&&(i=!!t&&V(t,"y")>-1,i&&L&&(t=E(t,/y/g,""))),S&&(o=B(e),e=o[0],g=o[1]),a=s(O(e,t),p?this:A,z),(r||i||g.length)&&(c=y(a),r&&(c.dotAll=!0,c.raw=z(N(e),n)),i&&(c.sticky=!0),g.length&&(c.groups=g)),e!==b)try{u(a,"source",""===b?"(?:)":b)}catch(x){}return a},H=c(O),U=0;H.length>U;)v(z,O,H[U++]);A.constructor=z,z.prototype=A,m(i,"RegExp",z,{constructor:!0})}x("RegExp")},"4d64":function(e,t,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),a=function(e){return function(t,n,a){var s,u=r(t),c=o(u),l=i(a,c);if(e&&n!=n){while(c>l)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4dae":function(e,t,n){var r=n("23cb"),i=n("07fa"),o=n("8418"),a=Array,s=Math.max;e.exports=function(e,t,n){for(var u=i(e),c=r(t,u),l=r(void 0===n?u:n,u),f=a(s(l-c,0)),d=0;c<l;c++,d++)o(f,d,e[c]);return f.length=d,f}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").filter,o=n("1dde"),a=o("filter");r({target:"Array",proto:!0,forced:!a},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),i=n("c65b"),o=n("7b0b"),a=n("9bdd"),s=n("e95a"),u=n("68ee"),c=n("07fa"),l=n("8418"),f=n("9a1f"),d=n("35a1"),h=Array;e.exports=function(e){var t=o(e),n=u(this),p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v;m&&(v=r(v,p>2?arguments[2]:void 0));var g,b,y,x,w,_,S=d(t),k=0;if(!S||this===h&&s(S))for(g=c(t),b=n?new this(g):h(g);g>k;k++)_=m?v(t[k],k):t[k],l(b,k,_);else for(x=f(t,S),w=x.next,b=n?new this:[];!(y=i(w,x)).done;k++)_=m?a(x,v,[y.value,k],!0):y.value,l(b,k,_);return b.length=k,b}},"4e82":function(e,t,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("59ed"),a=n("7b0b"),s=n("07fa"),u=n("083a"),c=n("577e"),l=n("d039"),f=n("addb"),d=n("a640"),h=n("04d1"),p=n("d998"),v=n("2d00"),m=n("512c"),g=[],b=i(g.sort),y=i(g.push),x=l((function(){g.sort(void 0)})),w=l((function(){g.sort(null)})),_=d("sort"),S=!l((function(){if(v)return v<70;if(!(h&&h>3)){if(p)return!0;if(m)return m<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:t+r,v:n})}for(g.sort((function(e,t){return t.v-e.v})),r=0;r<g.length;r++)t=g[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}})),k=x||!w||!_||!S,O=function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}};r({target:"Array",proto:!0,forced:k},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(S)return void 0===e?b(t):b(t,e);var n,r,i=[],c=s(t);for(r=0;r<c;r++)r in t&&y(i,t[r]);f(i,O(e)),n=s(i),r=0;while(r<n)t[r]=i[r++];while(r<c)u(t,r++);return t}})},"4fad":function(e,t,n){var r=n("23e7"),i=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},5087:function(e,t,n){var r=n("68ee"),i=n("0d51"),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},"50c4":function(e,t,n){var r=n("5926"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"512c":function(e,t,n){var r=n("342f"),i=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},5319:function(e,t,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),a=n("d784"),s=n("d039"),u=n("825a"),c=n("1626"),l=n("7234"),f=n("5926"),d=n("50c4"),h=n("577e"),p=n("1d80"),v=n("8aa5"),m=n("dc4a"),g=n("0cb2"),b=n("14c3"),y=n("b622"),x=y("replace"),w=Math.max,_=Math.min,S=o([].concat),k=o([].push),O=o("".indexOf),A=o("".slice),$=function(e){return void 0===e?e:String(e)},C=function(){return"$0"==="a".replace(/./,"$0")}(),M=function(){return!!/./[x]&&""===/./[x]("a","$0")}(),E=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));a("replace",(function(e,t,n){var o=M?"$":"$0";return[function(e,n){var r=p(this),o=l(e)?void 0:m(e,x);return o?i(o,e,r,n):i(t,h(r),e,n)},function(e,i){var a=u(this),s=h(e);if("string"==typeof i&&-1===O(i,o)&&-1===O(i,"$<")){var l=n(t,a,s,i);if(l.done)return l.value}var p=c(i);p||(i=h(i));var m=a.global;if(m){var y=a.unicode;a.lastIndex=0}var x=[];while(1){var C=b(a,s);if(null===C)break;if(k(x,C),!m)break;var M=h(C[0]);""===M&&(a.lastIndex=v(s,d(a.lastIndex),y))}for(var E="",V=0,P=0;P<x.length;P++){C=x[P];for(var j=h(C[0]),T=w(_(f(C.index),s.length),0),I=[],R=1;R<C.length;R++)k(I,$(C[R]));var F=C.groups;if(p){var L=S([j],I,T,s);void 0!==F&&k(L,F);var D=h(r(i,void 0,L))}else D=g(j,s,T,I,F,i);T>=V&&(E+=A(s,V,T)+D,V=T+j.length)}return E+A(s,V)}]}),!E||!C||M)},5352:function(e,t,n){"use strict";n("e260");var r=n("23e7"),i=n("da84"),o=n("c65b"),a=n("e330"),s=n("83ab"),u=n("f354"),c=n("cb2d"),l=n("6964"),f=n("d44e"),d=n("dcc3"),h=n("69f3"),p=n("19aa"),v=n("1626"),m=n("1a2d"),g=n("0366"),b=n("f5df"),y=n("825a"),x=n("861d"),w=n("577e"),_=n("7c73"),S=n("5c6c"),k=n("9a1f"),O=n("35a1"),A=n("d6d6"),$=n("b622"),C=n("addb"),M=$("iterator"),E="URLSearchParams",V=E+"Iterator",P=h.set,j=h.getterFor(E),T=h.getterFor(V),I=Object.getOwnPropertyDescriptor,R=function(e){if(!s)return i[e];var t=I(i,e);return t&&t.value},F=R("fetch"),L=R("Request"),D=R("Headers"),N=L&&L.prototype,B=D&&D.prototype,z=i.RegExp,H=i.TypeError,U=i.decodeURIComponent,q=i.encodeURIComponent,Z=a("".charAt),K=a([].join),Y=a([].push),W=a("".replace),G=a([].shift),X=a([].splice),J=a("".split),Q=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=z("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return U(e)}catch(t){return e}},ie=function(e){var t=W(e,ee," "),n=4