kucservice 1.4.6 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"kucservice.umd.min.js","sources":["webpack://kucservice/kucservice.umd.min.js"],"sourcesContent":["(function(e,t){\"object\"===typeof exports&&\"object\"===typeof module?module.exports=t():\"function\"===typeof define&&define.amd?define([],t):\"object\"===typeof exports?exports[\"kucservice\"]=t():e[\"kucservice\"]=t()})(\"undefined\"!==typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e[\"default\"]}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"\",r(r.s=\"fb15\")}({\"00b4\":function(e,t,r){\"use strict\";r(\"ac1f\");var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"c65b\"),a=r(\"e330\"),c=r(\"1626\"),u=r(\"861d\"),s=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test(\"abc\")&&e}(),f=o.Error,l=a(/./.test);n({target:\"RegExp\",proto:!0,forced:!s},{test:function(e){var t=this.exec;if(!c(t))return l(this,e);var r=i(t,this,e);if(null!==r&&!u(r))throw new f(\"RegExp exec method returned something other than an Object or null\");return!!r}})},\"00ee\":function(e,t,r){var n=r(\"b622\"),o=n(\"toStringTag\"),i={};i[o]=\"z\",e.exports=\"[object z]\"===String(i)},\"01b4\":function(e,t){var r=function(){this.head=null,this.tail=null};r.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=r},\"0366\":function(e,t,r){var n=r(\"e330\"),o=r(\"59ed\"),i=r(\"40d5\"),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},\"0538\":function(e,t,r){\"use strict\";var n=r(\"da84\"),o=r(\"e330\"),i=r(\"59ed\"),a=r(\"861d\"),c=r(\"1a2d\"),u=r(\"f36a\"),s=r(\"40d5\"),f=n.Function,l=o([].concat),d=o([].join),p={},h=function(e,t,r){if(!c(p,t)){for(var n=[],o=0;o<t;o++)n[o]=\"a[\"+o+\"]\";p[t]=f(\"C,a\",\"return new C(\"+d(n,\",\")+\")\")}return p[t](e,r)};e.exports=s?f.bind:function(e){var t=i(this),r=t.prototype,n=u(arguments,1),o=function(){var r=l(n,u(arguments));return this instanceof o?h(t,r.length,r):t.apply(e,r)};return a(r)&&(o.prototype=r),o}},\"057f\":function(e,t,r){var n=r(\"c6b6\"),o=r(\"fc6a\"),i=r(\"241c\").f,a=r(\"4dae\"),c=\"object\"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return i(e)}catch(error){return a(c)}};e.exports.f=function(e){return c&&\"Window\"==n(e)?u(e):i(o(e))}},\"06cf\":function(e,t,r){var n=r(\"83ab\"),o=r(\"c65b\"),i=r(\"d1e7\"),a=r(\"5c6c\"),c=r(\"fc6a\"),u=r(\"a04b\"),s=r(\"1a2d\"),f=r(\"0cfb\"),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=c(e),t=u(t),f)try{return l(e,t)}catch(error){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},\"07fa\":function(e,t,r){var n=r(\"50c4\");e.exports=function(e){return n(e.length)}},\"0b42\":function(e,t,r){var n=r(\"da84\"),o=r(\"e8b5\"),i=r(\"68ee\"),a=r(\"861d\"),c=r(\"b622\"),u=c(\"species\"),s=n.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,i(t)&&(t===s||o(t.prototype))?t=void 0:a(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?s:t}},\"0cfb\":function(e,t,r){var n=r(\"83ab\"),o=r(\"d039\"),i=r(\"cc12\");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i(\"div\"),\"a\",{get:function(){return 7}}).a}))},\"0d03\":function(e,t,r){var n=r(\"e330\"),o=r(\"6eeb\"),i=Date.prototype,a=\"Invalid Date\",c=\"toString\",u=n(i[c]),s=n(i.getTime);String(new Date(NaN))!=a&&o(i,c,(function(){var e=s(this);return e===e?u(this):a}))},\"0d51\":function(e,t,r){var n=r(\"da84\"),o=n.String;e.exports=function(e){try{return o(e)}catch(error){return\"Object\"}}},\"107c\":function(e,t,r){var n=r(\"d039\"),o=r(\"da84\"),i=o.RegExp;e.exports=n((function(){var e=i(\"(?<a>b)\",\"g\");return\"b\"!==e.exec(\"b\").groups.a||\"bc\"!==\"b\".replace(e,\"$<a>c\")}))},\"10d1\":function(e,t,r){\"use strict\";var n,o=r(\"da84\"),i=r(\"e330\"),a=r(\"e2cc\"),c=r(\"f183\"),u=r(\"6d61\"),s=r(\"acac\"),f=r(\"861d\"),l=r(\"4fad\"),d=r(\"69f3\").enforce,p=r(\"7f9a\"),h=!o.ActiveXObject&&\"ActiveXObject\"in o,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=u(\"WeakMap\",v,s);if(p&&h){n=s.getConstructor(v,\"WeakMap\",!0),c.enable();var b=g.prototype,m=i(b[\"delete\"]),y=i(b.has),k=i(b.get),w=i(b.set);a(b,{delete:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),m(this,e)||t.frozen[\"delete\"](e)}return m(this,e)},has:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)||t.frozen.has(e)}return y(this,e)},get:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)?k(this,e):t.frozen.get(e)}return k(this,e)},set:function(e,t){if(f(e)&&!l(e)){var r=d(this);r.frozen||(r.frozen=new n),y(this,e)?w(this,e,t):r.frozen.set(e,t)}else w(this,e,t);return this}})}},1276:function(e,t,r){\"use strict\";var n=r(\"2ba4\"),o=r(\"c65b\"),i=r(\"e330\"),a=r(\"d784\"),c=r(\"44e7\"),u=r(\"825a\"),s=r(\"1d80\"),f=r(\"4840\"),l=r(\"8aa5\"),d=r(\"50c4\"),p=r(\"577e\"),h=r(\"dc4a\"),v=r(\"4dae\"),g=r(\"14c3\"),b=r(\"9263\"),m=r(\"9f7f\"),y=r(\"d039\"),k=m.UNSUPPORTED_Y,w=4294967295,x=Math.min,O=[].push,S=i(/./.exec),j=i(O),E=i(\"\".slice),T=!y((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r=\"ab\".split(e);return 2!==r.length||\"a\"!==r[0]||\"b\"!==r[1]}));a(\"split\",(function(e,t,r){var i;return i=\"c\"==\"abbc\".split(/(b)*/)[1]||4!=\"test\".split(/(?:)/,-1).length||2!=\"ab\".split(/(?:ab)*/).length||4!=\".\".split(/(.?)(.?)/).length||\".\".split(/()()/).length>1||\"\".split(/.?/).length?function(e,r){var i=p(s(this)),a=void 0===r?w:r>>>0;if(0===a)return[];if(void 0===e)return[i];if(!c(e))return o(t,i,e,a);var u,f,l,d=[],h=(e.ignoreCase?\"i\":\"\")+(e.multiline?\"m\":\"\")+(e.unicode?\"u\":\"\")+(e.sticky?\"y\":\"\"),g=0,m=new RegExp(e.source,h+\"g\");while(u=o(b,m,i)){if(f=m.lastIndex,f>g&&(j(d,E(i,g,u.index)),u.length>1&&u.index<i.length&&n(O,d,v(u,1)),l=u[0].length,g=f,d.length>=a))break;m.lastIndex===u.index&&m.lastIndex++}return g===i.length?!l&&S(m,\"\")||j(d,\"\"):j(d,E(i,g)),d.length>a?v(d,0,a):d}:\"0\".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:o(t,this,e,r)}:t,[function(t,r){var n=s(this),a=void 0==t?void 0:h(t,e);return a?o(a,t,n,r):o(i,p(n),t,r)},function(e,n){var o=u(this),a=p(e),c=r(i,o,a,n,i!==t);if(c.done)return c.value;var s=f(o,RegExp),h=o.unicode,v=(o.ignoreCase?\"i\":\"\")+(o.multiline?\"m\":\"\")+(o.unicode?\"u\":\"\")+(k?\"g\":\"y\"),b=new s(k?\"^(?:\"+o.source+\")\":o,v),m=void 0===n?w:n>>>0;if(0===m)return[];if(0===a.length)return null===g(b,a)?[a]:[];var y=0,O=0,S=[];while(O<a.length){b.lastIndex=k?0:O;var T,A=g(b,k?E(a,O):a);if(null===A||(T=x(d(b.lastIndex+(k?O:0)),a.length))===y)O=l(a,O,h);else{if(j(S,E(a,y,O)),S.length===m)return S;for(var R=1;R<=A.length-1;R++)if(j(S,A[R]),S.length===m)return S;O=y=T}}return j(S,E(a,y)),S}]}),!T,k)},\"131a\":function(e,t,r){var n=r(\"23e7\"),o=r(\"d2bb\");n({target:\"Object\",stat:!0},{setPrototypeOf:o})},\"13d5\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"d58f\").left,i=r(\"a640\"),a=r(\"2d00\"),c=r(\"605d\"),u=i(\"reduce\"),s=!c&&a>79&&a<83;n({target:\"Array\",proto:!0,forced:!u||s},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},\"14c3\":function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"825a\"),a=r(\"1626\"),c=r(\"c6b6\"),u=r(\"9263\"),s=n.TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var n=o(r,e,t);return null!==n&&i(n),n}if(\"RegExp\"===c(e))return o(u,e,t);throw s(\"RegExp#exec called on incompatible receiver\")}},\"159b\":function(e,t,r){var n=r(\"da84\"),o=r(\"fdbc\"),i=r(\"785a\"),a=r(\"17c2\"),c=r(\"9112\"),u=function(e){if(e&&e.forEach!==a)try{c(e,\"forEach\",a)}catch(error){e.forEach=a}};for(var s in o)o[s]&&u(n[s]&&n[s].prototype);u(i)},1626:function(e,t){e.exports=function(e){return\"function\"==typeof e}},\"17c2\":function(e,t,r){\"use strict\";var n=r(\"b727\").forEach,o=r(\"a640\"),i=o(\"forEach\");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},\"19aa\":function(e,t,r){var n=r(\"da84\"),o=r(\"3a9b\"),i=n.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i(\"Incorrect invocation\")}},\"1a2d\":function(e,t,r){var n=r(\"e330\"),o=r(\"7b0b\"),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},\"1be4\":function(e,t,r){var n=r(\"d066\");e.exports=n(\"document\",\"documentElement\")},\"1c7e\":function(e,t,r){var n=r(\"b622\"),o=n(\"iterator\"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,(function(){throw 2}))}catch(error){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(error){}return r}},\"1cdc\":function(e,t,r){var n=r(\"342f\");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},\"1d1c\":function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"37e8\").f;n({target:\"Object\",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},\"1d80\":function(e,t,r){var n=r(\"da84\"),o=n.TypeError;e.exports=function(e){if(void 0==e)throw o(\"Can't call method on \"+e);return e}},\"1da1\":function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return o}));r(\"d3b7\"),r(\"e6cf\");function n(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(error){return void r(error)}c.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,\"next\",e)}function u(e){n(a,o,i,c,u,\"throw\",e)}c(void 0)}))}}},\"1dde\":function(e,t,r){var n=r(\"d039\"),o=r(\"b622\"),i=r(\"2d00\"),a=o(\"species\");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,r){var n=r(\"da84\"),o=r(\"0366\"),i=r(\"c65b\"),a=r(\"825a\"),c=r(\"0d51\"),u=r(\"e95a\"),s=r(\"07fa\"),f=r(\"3a9b\"),l=r(\"9a1f\"),d=r(\"35a1\"),p=r(\"2a62\"),h=n.TypeError,v=function(e,t){this.stopped=e,this.result=t},g=v.prototype;e.exports=function(e,t,r){var n,b,m,y,k,w,x,O=r&&r.that,S=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),T=o(t,O),A=function(e){return n&&p(n,\"normal\",e),new v(!0,e)},R=function(e){return S?(a(e),E?T(e[0],e[1],A):T(e[0],e[1])):E?T(e,A):T(e)};if(j)n=e;else{if(b=d(e),!b)throw h(c(e)+\" is not iterable\");if(u(b)){for(m=0,y=s(e);y>m;m++)if(k=R(e[m]),k&&f(g,k))return k;return new v(!1)}n=l(e,b)}w=n.next;while(!(x=i(w,n)).done){try{k=R(x.value)}catch(error){p(n,\"throw\",error)}if(\"object\"==typeof k&&k&&f(g,k))return k}return new v(!1)}},\"23cb\":function(e,t,r){var n=r(\"5926\"),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},\"23e7\":function(e,t,r){var n=r(\"da84\"),o=r(\"06cf\").f,i=r(\"9112\"),a=r(\"6eeb\"),c=r(\"ce4e\"),u=r(\"e893\"),s=r(\"94ca\");e.exports=function(e,t){var r,f,l,d,p,h,v=e.target,g=e.global,b=e.stat;if(f=g?n:b?n[v]||c(v,{}):(n[v]||{}).prototype,f)for(l in t){if(p=t[l],e.noTargetGet?(h=o(f,l),d=h&&h.value):d=f[l],r=s(g?l:v+(b?\".\":\"#\")+l,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(e.sham||d&&d.sham)&&i(p,\"sham\",!0),a(f,l,p,e)}}},\"241c\":function(e,t,r){var n=r(\"ca84\"),o=r(\"7839\"),i=o.concat(\"length\",\"prototype\");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},\"25f0\":function(e,t,r){\"use strict\";var n=r(\"e330\"),o=r(\"5e77\").PROPER,i=r(\"6eeb\"),a=r(\"825a\"),c=r(\"3a9b\"),u=r(\"577e\"),s=r(\"d039\"),f=r(\"ad6d\"),l=\"toString\",d=RegExp.prototype,p=d[l],h=n(f),v=s((function(){return\"/a/b\"!=p.call({source:\"a\",flags:\"b\"})})),g=o&&p.name!=l;(v||g)&&i(RegExp.prototype,l,(function(){var e=a(this),t=u(e.source),r=e.flags,n=u(void 0===r&&c(d,e)&&!(\"flags\"in d)?h(e):r);return\"/\"+t+\"/\"+n}),{unsafe:!0})},2626:function(e,t,r){\"use strict\";var n=r(\"d066\"),o=r(\"9bf2\"),i=r(\"b622\"),a=r(\"83ab\"),c=i(\"species\");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},\"277d\":function(e,t,r){var n=r(\"23e7\"),o=r(\"e8b5\");n({target:\"Array\",stat:!0},{isArray:o})},2909:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return u}));r(\"277d\");function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e){if(Array.isArray(e))return n(e)}r(\"a4d3\"),r(\"e01a\"),r(\"d3b7\"),r(\"d28b\"),r(\"e260\"),r(\"3ca3\"),r(\"ddb0\"),r(\"a630\");function i(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}r(\"fb6a\"),r(\"b0c0\"),r(\"ac1f\"),r(\"00b4\");function a(e,t){if(e){if(\"string\"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===r&&e.constructor&&(r=e.constructor.name),\"Map\"===r||\"Set\"===r?Array.from(e):\"Arguments\"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}r(\"d9e2\"),r(\"d401\");function c(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function u(e){return o(e)||i(e)||a(e)||c()}},\"2a62\":function(e,t,r){var n=r(\"c65b\"),o=r(\"825a\"),i=r(\"dc4a\");e.exports=function(e,t,r){var a,c;o(e);try{if(a=i(e,\"return\"),!a){if(\"throw\"===t)throw r;return r}a=n(a,e)}catch(error){c=!0,a=error}if(\"throw\"===t)throw r;if(c)throw a;return o(a),r}},\"2ba4\":function(e,t,r){var n=r(\"40d5\"),o=Function.prototype,i=o.apply,a=o.call;e.exports=\"object\"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},\"2cf4\":function(e,t,r){var n,o,i,a,c=r(\"da84\"),u=r(\"2ba4\"),s=r(\"0366\"),f=r(\"1626\"),l=r(\"1a2d\"),d=r(\"d039\"),p=r(\"1be4\"),h=r(\"f36a\"),v=r(\"cc12\"),g=r(\"d6d6\"),b=r(\"1cdc\"),m=r(\"605d\"),y=c.setImmediate,k=c.clearImmediate,w=c.process,x=c.Dispatch,O=c.Function,S=c.MessageChannel,j=c.String,E=0,T={},A=\"onreadystatechange\";try{n=c.location}catch(error){}var R=function(e){if(l(T,e)){var t=T[e];delete T[e],t()}},I=function(e){return function(){R(e)}},C=function(e){R(e.data)},P=function(e){c.postMessage(j(e),n.protocol+\"//\"+n.host)};y&&k||(y=function(e){g(arguments.length,1);var t=f(e)?e:O(e),r=h(arguments,1);return T[++E]=function(){u(t,void 0,r)},o(E),E},k=function(e){delete T[e]},m?o=function(e){w.nextTick(I(e))}:x&&x.now?o=function(e){x.now(I(e))}:S&&!b?(i=new S,a=i.port2,i.port1.onmessage=C,o=s(a.postMessage,a)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&n&&\"file:\"!==n.protocol&&!d(P)?(o=P,c.addEventListener(\"message\",C,!1)):o=A in v(\"script\")?function(e){p.appendChild(v(\"script\"))[A]=function(){p.removeChild(this),R(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:y,clear:k}},\"2d00\":function(e,t,r){var n,o,i=r(\"da84\"),a=r(\"342f\"),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(n=f.split(\".\"),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\\/(\\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\\/(\\d+)/),n&&(o=+n[1]))),e.exports=o},3410:function(e,t,r){var n=r(\"23e7\"),o=r(\"d039\"),i=r(\"7b0b\"),a=r(\"e163\"),c=r(\"e177\"),u=o((function(){a(1)}));n({target:\"Object\",stat:!0,forced:u,sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},\"342f\":function(e,t,r){var n=r(\"d066\");e.exports=n(\"navigator\",\"userAgent\")||\"\"},\"35a1\":function(e,t,r){var n=r(\"f5df\"),o=r(\"dc4a\"),i=r(\"3f8c\"),a=r(\"b622\"),c=a(\"iterator\");e.exports=function(e){if(void 0!=e)return o(e,c)||o(e,\"@@iterator\")||i[n(e)]}},\"37e8\":function(e,t,r){var n=r(\"83ab\"),o=r(\"aed9\"),i=r(\"9bf2\"),a=r(\"825a\"),c=r(\"fc6a\"),u=r(\"df75\");t.f=n&&!o?Object.defineProperties:function(e,t){a(e);var r,n=c(t),o=u(t),s=o.length,f=0;while(s>f)i.f(e,r=o[f++],n[r]);return e}},\"3a9b\":function(e,t,r){var n=r(\"e330\");e.exports=n({}.isPrototypeOf)},\"3bbe\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=n.String,a=n.TypeError;e.exports=function(e){if(\"object\"==typeof e||o(e))return e;throw a(\"Can't set \"+i(e)+\" as a prototype\")}},\"3ca3\":function(e,t,r){\"use strict\";var n=r(\"6547\").charAt,o=r(\"577e\"),i=r(\"69f3\"),a=r(\"7dd0\"),c=\"String Iterator\",u=i.set,s=i.getterFor(c);a(String,\"String\",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},\"3f8c\":function(e,t){e.exports={}},\"408a\":function(e,t,r){var n=r(\"e330\");e.exports=n(1..valueOf)},\"40d5\":function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){var e=function(){}.bind();return\"function\"!=typeof e||e.hasOwnProperty(\"prototype\")}))},4160:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"17c2\");n({target:\"Array\",proto:!0,forced:[].forEach!=o},{forEach:o})},4269:function(e,t,r){\"use strict\";r.r(t),r.d(t,\"useSocket\",(function(){return T}));r(\"d9e2\"),r(\"d401\");function n(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}r(\"b8bf\"),r(\"7a82\"),r(\"131a\");function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&o(e,t)}r(\"4ae1\"),r(\"d3b7\"),r(\"f8c9\"),r(\"3410\");function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function c(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var u=r(\"53ca\");function s(e,t){if(t&&(\"object\"===Object(u[\"a\"])(t)||\"function\"===typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return n(e)}function f(e){var t=c();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return s(this,r)}}r(\"e260\"),r(\"4ec9\"),r(\"3ca3\"),r(\"ddb0\"),r(\"c975\"),r(\"0d03\"),r(\"25f0\");function l(e){return-1!==Function.toString.call(e).indexOf(\"[native code]\")}r(\"c0b6\");function d(e,t,r){return d=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=Function.bind.apply(e,n),a=new i;return r&&o(a,r.prototype),a},d.apply(null,arguments)}function p(e){var t=\"function\"===typeof Map?new Map:void 0;return p=function(e){if(null===e||!l(e))return e;if(\"function\"!==typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(\"undefined\"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)},p(e)}var h=r(\"d4ec\"),v=r(\"bee2\"),g=r(\"ade3\"),b=(r(\"4160\"),r(\"159b\"),r(\"b64b\"),r(\"13d5\"),r(\"99af\"),r(\"cca6\"),r(\"4795\"),r(\"caad\"),r(\"e9c4\"),[\"open\",\"close\",\"message\",\"error\",\"reconnect\"]),m=3e4,y=4e4,k=10,w={Type:1,Parameters:[\"alive\"]},x=1e3;function O(e){if(!e&&\"object\"!==Object(u[\"a\"])(e))throw new Error(\"error arguments\",\"deepClone\");var t=e.constructor===Array?[]:{};return Object.keys(e).forEach((function(r){e[r]&&\"object\"===Object(u[\"a\"])(e[r])?t[r]=O(e[r]):t[r]=e[r]})),t}var S=function(){function e(){Object(h[\"a\"])(this,e),Object(g[\"a\"])(this,\"deps\",new Map)}return Object(v[\"a\"])(e,[{key:\"depend\",value:function(e,t){this.deps.set(e,t)}},{key:\"notify\",value:function(e,t){this.deps.has(e)&&this.deps.get(e)(t)}}]),e}(),j=function(e){i(r,e);var t=f(r);function r(e,o){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,c=arguments.length>3?arguments[3]:void 0;Object(h[\"a\"])(this,r);var s=\"\",f=e.url,l=e.protocols,d=e.query,p=void 0===d?{}:d,v=e.greet,b=void 0===v?null:v,y=e.customBase,x=void 0===y?null:y,O=e.checkData,S=Object.keys(p).reduce((function(e,t){return\"object\"!==Object(u[\"a\"])(p[t])&&\"function\"!==typeof p[t]?e+(e.length>0?\"&\".concat(t,\"=\").concat(p[t]):\"\".concat(t,\"=\").concat(p[t])):e}),\"\");return x&&(s=x),i=t.call(this,\"\".concat(s).concat(f).concat(S?\"?\"+S:\"\"),l),Object(g[\"a\"])(n(i),\"heartCheckData\",w),Object(g[\"a\"])(n(i),\"heartCheckTimeout\",m),Object(g[\"a\"])(n(i),\"heartCheckInterval\",null),Object(g[\"a\"])(n(i),\"heartCheckCount\",k),Object(g[\"a\"])(n(i),\"firstConnect\",!1),i.self=c,i._currentOptions=e,i._dep=o,i.heartCheckData=O||w,i._reconnectCount=a,b&&Object.assign(n(i),{heartCheckData:b}),i.initSocket(),i}return Object(v[\"a\"])(r,[{key:\"initSocket\",value:function(){this.onopen=function(e){this._dep.notify(\"open\",e),this.firstConnect=!0,this.heartCheckStart()},this.onclose=function(e){var t=this;if(this._dep.notify(\"close\",e),e.code!==x){var n;this._reconnectCount++;var o=O(this._currentOptions);this.firstConnect&&(o.query.type=\"reconnect\"),(null===(n=this.self)||void 0===n?void 0:n.socketTimer)&&clearTimeout(this.self.socketTimer),this.self&&(this.self.socketTimer=setTimeout((function(){var e=new r(o,t._dep,t._reconnectCount,t.self);t._dep.notify(\"reconnect\",e)}),y))}},this.onerror=function(e){this._dep.notify(\"error\",e)},this.onmessage=function(e){var t=this;if(e.data instanceof Blob){var r=new FileReader;r.readAsArrayBuffer(e.data),r.onload=function(e){var r;e.target.readyState===FileReader.DONE&&t._dep.notify(\"message\",null===(r=e.target)||void 0===r?void 0:r.result)}}else try{this._dep.notify(\"message\",e.data)}catch(error){console.log(error)}}}},{key:\"subscribe\",value:function(e,t){if(\"function\"!==typeof t)throw new Error(\"The second param is must be a function\");if(!b.includes(e))throw new Error(\"The first param is not supported\");this._dep.depend(e,t)}},{key:\"sendMessage\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transformJSON,n=void 0===r||r,o=e;n&&(o=JSON.stringify(e)),this.send(o)}},{key:\"closeSocket\",value:function(e,t){this.clearHeartCheck(),console.log(\"=====close code===\",e,t),this.close(e,t)}},{key:\"heartCheckStart\",value:function(){var e=this;this.heartCheckInterval=setInterval((function(){if(e.readyState===e.OPEN){var t=\"object\"===Object(u[\"a\"])(e.heartCheckData);e.sendMessage(e.heartCheckData,{transformJSON:t})}else e.clearHeartCheck()}),this.heartCheckTimeout)}},{key:\"clearHeartCheck\",value:function(){clearInterval(this.heartCheckInterval)}},{key:\"resetHeartCheck\",value:function(){clearInterval(this.heartCheckInterval),this.heartCheckStart()}}]),r}(p(WebSocket)),E={url:\"\",protocols:\"\",customBase:null,query:{}},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;if(!window.WebSocket)return console.error(\"您的浏览器不支持WebSocket, 请更换浏览器!\");var r=new S,n=0;return new j(e,r,n,t)}},\"428f\":function(e,t,r){var n=r(\"da84\");e.exports=n},\"44ad\":function(e,t,r){var n=r(\"da84\"),o=r(\"e330\"),i=r(\"d039\"),a=r(\"c6b6\"),c=n.Object,u=o(\"\".split);e.exports=i((function(){return!c(\"z\").propertyIsEnumerable(0)}))?function(e){return\"String\"==a(e)?u(e,\"\"):c(e)}:c},\"44d2\":function(e,t,r){var n=r(\"b622\"),o=r(\"7c73\"),i=r(\"9bf2\"),a=n(\"unscopables\"),c=Array.prototype;void 0==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},\"44de\":function(e,t,r){var n=r(\"da84\");e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},\"44e7\":function(e,t,r){var n=r(\"861d\"),o=r(\"c6b6\"),i=r(\"b622\"),a=i(\"match\");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:\"RegExp\"==o(e))}},\"45fc\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"b727\").some,i=r(\"a640\"),a=i(\"some\");n({target:\"Array\",proto:!0,forced:!a},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},4795:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"2ba4\"),a=r(\"1626\"),c=r(\"342f\"),u=r(\"f36a\"),s=r(\"d6d6\"),f=/MSIE .\\./.test(c),l=o.Function,d=function(e){return function(t,r){var n=s(arguments.length,1)>2,o=a(t)?t:l(t),c=n?u(arguments,2):void 0;return e(n?function(){i(o,this,c)}:o,r)}};n({global:!0,bind:!0,forced:f},{setTimeout:d(o.setTimeout),setInterval:d(o.setInterval)})},4840:function(e,t,r){var n=r(\"825a\"),o=r(\"5087\"),i=r(\"b622\"),a=i(\"species\");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},\"485a\":function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"1626\"),a=r(\"861d\"),c=n.TypeError;e.exports=function(e,t){var r,n;if(\"string\"===t&&i(r=e.toString)&&!a(n=o(r,e)))return n;if(i(r=e.valueOf)&&!a(n=o(r,e)))return n;if(\"string\"!==t&&i(r=e.toString)&&!a(n=o(r,e)))return n;throw c(\"Can't convert object to primitive value\")}},4930:function(e,t,r){var n=r(\"2d00\"),o=r(\"d039\");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},\"4ae1\":function(e,t,r){var n=r(\"23e7\"),o=r(\"d066\"),i=r(\"2ba4\"),a=r(\"0538\"),c=r(\"5087\"),u=r(\"825a\"),s=r(\"861d\"),f=r(\"7c73\"),l=r(\"d039\"),d=o(\"Reflect\",\"construct\"),p=Object.prototype,h=[].push,v=l((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),g=!l((function(){d((function(){}))})),b=v||g;n({target:\"Reflect\",stat:!0,forced:b,sham:b},{construct:function(e,t){c(e),u(t);var r=arguments.length<3?e:c(arguments[2]);if(g&&!v)return d(e,t,r);if(e==r){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 n=[null];return i(h,n,t),new(i(a,e,n))}var o=r.prototype,l=f(s(o)?o:p),b=i(e,l,t);return s(b)?b:l}})},\"4d64\":function(e,t,r){var n=r(\"fc6a\"),o=r(\"23cb\"),i=r(\"07fa\"),a=function(e){return function(t,r,a){var c,u=n(t),s=i(u),f=o(a,s);if(e&&r!=r){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===r)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},\"4dae\":function(e,t,r){var n=r(\"da84\"),o=r(\"23cb\"),i=r(\"07fa\"),a=r(\"8418\"),c=n.Array,u=Math.max;e.exports=function(e,t,r){for(var n=i(e),s=o(t,n),f=o(void 0===r?n:r,n),l=c(u(f-s,0)),d=0;s<f;s++,d++)a(l,d,e[s]);return l.length=d,l}},\"4de4\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"b727\").filter,i=r(\"1dde\"),a=i(\"filter\");n({target:\"Array\",proto:!0,forced:!a},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},\"4df4\":function(e,t,r){\"use strict\";var n=r(\"da84\"),o=r(\"0366\"),i=r(\"c65b\"),a=r(\"7b0b\"),c=r(\"9bdd\"),u=r(\"e95a\"),s=r(\"68ee\"),f=r(\"07fa\"),l=r(\"8418\"),d=r(\"9a1f\"),p=r(\"35a1\"),h=n.Array;e.exports=function(e){var t=a(e),r=s(this),n=arguments.length,v=n>1?arguments[1]:void 0,g=void 0!==v;g&&(v=o(v,n>2?arguments[2]:void 0));var b,m,y,k,w,x,O=p(t),S=0;if(!O||this==h&&u(O))for(b=f(t),m=r?new this(b):h(b);b>S;S++)x=g?v(t[S],S):t[S],l(m,S,x);else for(k=d(t,O),w=k.next,m=r?new this:[];!(y=i(w,k)).done;S++)x=g?c(k,v,[y.value,S],!0):y.value,l(m,S,x);return m.length=S,m}},\"4ec9\":function(e,t,r){\"use strict\";var n=r(\"6d61\"),o=r(\"6566\");n(\"Map\",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},\"4fad\":function(e,t,r){var n=r(\"d039\"),o=r(\"861d\"),i=r(\"c6b6\"),a=r(\"d86b\"),c=Object.isExtensible,u=n((function(){c(1)}));e.exports=u||a?function(e){return!!o(e)&&((!a||\"ArrayBuffer\"!=i(e))&&(!c||c(e)))}:c},5087:function(e,t,r){var n=r(\"da84\"),o=r(\"68ee\"),i=r(\"0d51\"),a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+\" is not a constructor\")}},\"50c4\":function(e,t,r){var n=r(\"5926\"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},5180:function(e,t,r){var n={\"./http.js\":\"8177\",\"./websocket.js\":\"4269\"};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=\"5180\"},\"53ca\":function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return n}));r(\"a4d3\"),r(\"e01a\"),r(\"d3b7\"),r(\"d28b\"),r(\"e260\"),r(\"3ca3\"),r(\"ddb0\");function n(e){return n=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},n(e)}},5692:function(e,t,r){var n=r(\"c430\"),o=r(\"c6cd\");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})(\"versions\",[]).push({version:\"3.21.1\",mode:n?\"pure\":\"global\",copyright:\"© 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})},\"56ef\":function(e,t,r){var n=r(\"d066\"),o=r(\"e330\"),i=r(\"241c\"),a=r(\"7418\"),c=r(\"825a\"),u=o([].concat);e.exports=n(\"Reflect\",\"ownKeys\")||function(e){var t=i.f(c(e)),r=a.f;return r?u(t,r(e)):t}},\"577e\":function(e,t,r){var n=r(\"da84\"),o=r(\"f5df\"),i=n.String;e.exports=function(e){if(\"Symbol\"===o(e))throw TypeError(\"Cannot convert a Symbol value to a string\");return i(e)}},5899:function(e,t){e.exports=\"\\t\\n\\v\\f\\r                 \\u2028\\u2029\\ufeff\"},\"58a8\":function(e,t,r){var n=r(\"e330\"),o=r(\"1d80\"),i=r(\"577e\"),a=r(\"5899\"),c=n(\"\".replace),u=\"[\"+a+\"]\",s=RegExp(\"^\"+u+u+\"*\"),f=RegExp(u+u+\"*$\"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=c(r,s,\"\")),2&e&&(r=c(r,f,\"\")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},5926:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?n:r)(t)}},\"59ed\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=r(\"0d51\"),a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+\" is not a function\")}},\"5c6c\":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},\"5e77\":function(e,t,r){var n=r(\"83ab\"),o=r(\"1a2d\"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,\"name\"),u=c&&\"something\"===function(){}.name,s=c&&(!n||n&&a(i,\"name\").configurable);e.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},\"605d\":function(e,t,r){var n=r(\"c6b6\"),o=r(\"da84\");e.exports=\"process\"==n(o.process)},6069:function(e,t){e.exports=\"object\"==typeof window},\"60da\":function(e,t,r){\"use strict\";var n=r(\"83ab\"),o=r(\"e330\"),i=r(\"c65b\"),a=r(\"d039\"),c=r(\"df75\"),u=r(\"7418\"),s=r(\"d1e7\"),f=r(\"7b0b\"),l=r(\"44ad\"),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},\"a\",{enumerable:!0,get:function(){p(this,\"b\",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o=\"abcdefghijklmnopqrst\";return e[r]=7,o.split(\"\").forEach((function(e){t[e]=e})),7!=d({},e)[r]||c(d({},t)).join(\"\")!=o}))?function(e,t){var r=f(e),o=arguments.length,a=1,d=u.f,p=s.f;while(o>a){var v,g=l(arguments[a++]),b=d?h(c(g),d(g)):c(g),m=b.length,y=0;while(m>y)v=b[y++],n&&!i(p,g,v)||(r[v]=g[v])}return r}:d},6547:function(e,t,r){var n=r(\"e330\"),o=r(\"5926\"),i=r(\"577e\"),a=r(\"1d80\"),c=n(\"\".charAt),u=n(\"\".charCodeAt),s=n(\"\".slice),f=function(e){return function(t,r){var n,f,l=i(a(t)),d=o(r),p=l.length;return d<0||d>=p?e?\"\":void 0:(n=u(l,d),n<55296||n>56319||d+1===p||(f=u(l,d+1))<56320||f>57343?e?c(l,d):n:e?s(l,d,d+2):f-56320+(n-55296<<10)+65536)}};e.exports={codeAt:f(!1),charAt:f(!0)}},6566:function(e,t,r){\"use strict\";var n=r(\"9bf2\").f,o=r(\"7c73\"),i=r(\"e2cc\"),a=r(\"0366\"),c=r(\"19aa\"),u=r(\"2266\"),s=r(\"7dd0\"),f=r(\"2626\"),l=r(\"83ab\"),d=r(\"f183\").fastKey,p=r(\"69f3\"),h=p.set,v=p.getterFor;e.exports={getConstructor:function(e,t,r,s){var f=e((function(e,n){c(e,p),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),l||(e.size=0),void 0!=n&&u(n,e[s],{that:e,AS_ENTRIES:r})})),p=f.prototype,g=v(t),b=function(e,t,r){var n,o,i=g(e),a=m(e,t);return a?a.value=r:(i.last=a={index:o=d(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),l?i.size++:e.size++,\"F\"!==o&&(i.index[o]=a)),e},m=function(e,t){var r,n=g(e),o=d(t);if(\"F\"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(p,{clear:function(){var e=this,t=g(e),r=t.index,n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:e.size=0},delete:function(e){var t=this,r=g(t),n=m(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),l?r.size--:t.size--}return!!n},forEach:function(e){var t,r=g(this),n=a(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!m(this,e)}}),i(p,r?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),l&&n(p,\"size\",{get:function(){return g(this).size}}),f},setStrong:function(e,t,r){var n=t+\" Iterator\",o=v(t),i=v(n);s(e,t,(function(e,t){h(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?\"keys\"==t?{value:r.key,done:!1}:\"values\"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?\"entries\":\"values\",!r,!0),f(t)}}},\"65f0\":function(e,t,r){var n=r(\"0b42\");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},\"68ee\":function(e,t,r){var n=r(\"e330\"),o=r(\"d039\"),i=r(\"1626\"),a=r(\"f5df\"),c=r(\"d066\"),u=r(\"8925\"),s=function(){},f=[],l=c(\"Reflect\",\"construct\"),d=/^\\s*(?:class|function)\\b/,p=n(d.exec),h=!d.exec(s),v=function(e){if(!i(e))return!1;try{return l(s,f,e),!0}catch(error){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return h||!!p(d,u(e))}catch(error){return!0}};g.sham=!0,e.exports=!l||o((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?g:v},\"69f3\":function(e,t,r){var n,o,i,a=r(\"7f9a\"),c=r(\"da84\"),u=r(\"e330\"),s=r(\"861d\"),f=r(\"9112\"),l=r(\"1a2d\"),d=r(\"c6cd\"),p=r(\"f772\"),h=r(\"d012\"),v=\"Object already initialized\",g=c.TypeError,b=c.WeakMap,m=function(e){return i(e)?o(e):n(e,{})},y=function(e){return function(t){var r;if(!s(t)||(r=o(t)).type!==e)throw g(\"Incompatible receiver, \"+e+\" required\");return r}};if(a||d.state){var k=d.state||(d.state=new b),w=u(k.get),x=u(k.has),O=u(k.set);n=function(e,t){if(x(k,e))throw new g(v);return t.facade=e,O(k,e,t),t},o=function(e){return w(k,e)||{}},i=function(e){return x(k,e)}}else{var S=p(\"state\");h[S]=!0,n=function(e,t){if(l(e,S))throw new g(v);return t.facade=e,f(e,S,t),t},o=function(e){return l(e,S)?e[S]:{}},i=function(e){return l(e,S)}}e.exports={set:n,get:o,has:i,enforce:m,getterFor:y}},\"6d61\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"e330\"),a=r(\"94ca\"),c=r(\"6eeb\"),u=r(\"f183\"),s=r(\"2266\"),f=r(\"19aa\"),l=r(\"1626\"),d=r(\"861d\"),p=r(\"d039\"),h=r(\"1c7e\"),v=r(\"d44e\"),g=r(\"7156\");e.exports=function(e,t,r){var b=-1!==e.indexOf(\"Map\"),m=-1!==e.indexOf(\"Weak\"),y=b?\"set\":\"add\",k=o[e],w=k&&k.prototype,x=k,O={},S=function(e){var t=i(w[e]);c(w,e,\"add\"==e?function(e){return t(this,0===e?0:e),this}:\"delete\"==e?function(e){return!(m&&!d(e))&&t(this,0===e?0:e)}:\"get\"==e?function(e){return m&&!d(e)?void 0:t(this,0===e?0:e)}:\"has\"==e?function(e){return!(m&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})},j=a(e,!l(k)||!(m||w.forEach&&!p((function(){(new k).entries().next()}))));if(j)x=r.getConstructor(t,e,b,y),u.enable();else if(a(e,!0)){var E=new x,T=E[y](m?{}:-0,1)!=E,A=p((function(){E.has(1)})),R=h((function(e){new k(e)})),I=!m&&p((function(){var e=new k,t=5;while(t--)e[y](t,t);return!e.has(-0)}));R||(x=t((function(e,t){f(e,w);var r=g(new k,e,x);return void 0!=t&&s(t,r[y],{that:r,AS_ENTRIES:b}),r})),x.prototype=w,w.constructor=x),(A||I)&&(S(\"delete\"),S(\"has\"),b&&S(\"get\")),(I||T)&&S(y),m&&w.clear&&delete w.clear}return O[e]=x,n({global:!0,forced:x!=k},O),v(x,e),m||r.setStrong(x,e,b),x}},\"6eeb\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=r(\"1a2d\"),a=r(\"9112\"),c=r(\"ce4e\"),u=r(\"8925\"),s=r(\"69f3\"),f=r(\"5e77\").CONFIGURABLE,l=s.get,d=s.enforce,p=String(String).split(\"String\");(e.exports=function(e,t,r,u){var s,l=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet,g=u&&void 0!==u.name?u.name:t;o(r)&&(\"Symbol(\"===String(g).slice(0,7)&&(g=\"[\"+String(g).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),(!i(r,\"name\")||f&&r.name!==g)&&a(r,\"name\",g),s=d(r),s.source||(s.source=p.join(\"string\"==typeof g?g:\"\"))),e!==n?(l?!v&&e[t]&&(h=!0):delete e[t],h?e[t]=r:a(e,t,r)):h?e[t]=r:c(t,r)})(Function.prototype,\"toString\",(function(){return o(this)&&l(this).source||u(this)}))},7156:function(e,t,r){var n=r(\"1626\"),o=r(\"861d\"),i=r(\"d2bb\");e.exports=function(e,t,r){var a,c;return i&&n(a=t.constructor)&&a!==r&&o(c=a.prototype)&&c!==r.prototype&&i(e,c),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},\"746f\":function(e,t,r){var n=r(\"428f\"),o=r(\"1a2d\"),i=r(\"e538\"),a=r(\"9bf2\").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]},\"785a\":function(e,t,r){var n=r(\"cc12\"),o=n(\"span\").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},\"7a82\":function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"9bf2\").f;n({target:\"Object\",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},\"7b0b\":function(e,t,r){var n=r(\"da84\"),o=r(\"1d80\"),i=n.Object;e.exports=function(e){return i(o(e))}},\"7c73\":function(e,t,r){var n,o=r(\"825a\"),i=r(\"37e8\"),a=r(\"7839\"),c=r(\"d012\"),u=r(\"1be4\"),s=r(\"cc12\"),f=r(\"f772\"),l=\">\",d=\"<\",p=\"prototype\",h=\"script\",v=f(\"IE_PROTO\"),g=function(){},b=function(e){return d+h+l+e+d+\"/\"+h+l},m=function(e){e.write(b(\"\")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=s(\"iframe\"),r=\"java\"+h+\":\";return t.style.display=\"none\",u.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(b(\"document.F=Object\")),e.close(),e.F},k=function(){try{n=new ActiveXObject(\"htmlfile\")}catch(error){}k=\"undefined\"!=typeof document?document.domain&&n?m(n):y():m(n);var e=a.length;while(e--)delete k[p][a[e]];return k()};c[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[p]=o(e),r=new g,g[p]=null,r[v]=e):r=k(),void 0===t?r:i.f(r,t)}},\"7db0\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"b727\").find,i=r(\"44d2\"),a=\"find\",c=!0;a in[]&&Array(1)[a]((function(){c=!1})),n({target:\"Array\",proto:!0,forced:c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},\"7dd0\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"c65b\"),i=r(\"c430\"),a=r(\"5e77\"),c=r(\"1626\"),u=r(\"9ed3\"),s=r(\"e163\"),f=r(\"d2bb\"),l=r(\"d44e\"),d=r(\"9112\"),p=r(\"6eeb\"),h=r(\"b622\"),v=r(\"3f8c\"),g=r(\"ae93\"),b=a.PROPER,m=a.CONFIGURABLE,y=g.IteratorPrototype,k=g.BUGGY_SAFARI_ITERATORS,w=h(\"iterator\"),x=\"keys\",O=\"values\",S=\"entries\",j=function(){return this};e.exports=function(e,t,r,a,h,g,E){u(r,t,a);var T,A,R,I=function(e){if(e===h&&L)return L;if(!k&&e in M)return M[e];switch(e){case x:return function(){return new r(this,e)};case O:return function(){return new r(this,e)};case S:return function(){return new r(this,e)}}return function(){return new r(this)}},C=t+\" Iterator\",P=!1,M=e.prototype,D=M[w]||M[\"@@iterator\"]||h&&M[h],L=!k&&D||I(h),_=\"Array\"==t&&M.entries||D;if(_&&(T=s(_.call(new e)),T!==Object.prototype&&T.next&&(i||s(T)===y||(f?f(T,y):c(T[w])||p(T,w,j)),l(T,C,!0,!0),i&&(v[C]=j))),b&&h==O&&D&&D.name!==O&&(!i&&m?d(M,\"name\",O):(P=!0,L=function(){return o(D,this)})),h)if(A={values:I(O),keys:g?L:I(x),entries:I(S)},E)for(R in A)(k||P||!(R in M))&&p(M,R,A[R]);else n({target:t,proto:!0,forced:k||P},A);return i&&!E||M[w]===L||p(M,w,L,{name:h}),v[t]=L,A}},\"7f9a\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=r(\"8925\"),a=n.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},8177:function(e,t,r){\"use strict\";r.r(t),r.d(t,\"useHttp\",(function(){return p}));var n=r(\"1da1\"),o=r(\"2909\"),i=(r(\"b64b\"),r(\"a4d3\"),r(\"4de4\"),r(\"d3b7\"),r(\"e439\"),r(\"4160\"),r(\"159b\"),r(\"dbb4\"),r(\"1d1c\"),r(\"7a82\"),r(\"ade3\"));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(i[\"a\"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=r(\"d4ec\"),s=r(\"bee2\"),f=r(\"d5e4\"),l=(r(\"96cf\"),r(\"c975\"),r(\"99af\"),r(\"e6cf\"),r(\"d9e2\"),r(\"d401\"),r(\"e260\"),r(\"3ca3\"),r(\"10d1\"),r(\"ddb0\"),new WeakMap),d=function(){function e(t,r,n,i){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0;Object(u[\"a\"])(this,e),Object(f[\"a\"])(this,l,{writable:!0,value:null}),this.url=t,this.method=r,this.data=n,this.headers=headers,this.success=s,this.fail=d,this.abort=new AbortController;var p=[t,c({method:r,body:n,signal:this.abort.signal},i)];if(\"GET\"==r&&n&&Object.keys(n).length>0){var h=\"?\";for(var v in t.indexOf(\"?\")>-1&&(h=\"&\"),n)h+=\"\".concat(v,\"=\").concat(n[v],\"&\");t+=h,p=[t,c({method:r,signal:this.abort.signal},i)]}a?fetch.apply(void 0,Object(o[\"a\"])(p)).then((function(e){200==e.status?s&&s(e.json()):console.log(\"请求出错\")}))[\"catch\"]((function(e){d&&d()})):this.initAsync(p,s,d)}return Object(s[\"a\"])(e,[{key:\"initAsync\",value:function(){var e=Object(n[\"a\"])(regeneratorRuntime.mark((function e(t,r,n){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch.apply(void 0,Object(o[\"a\"])(t));case 2:if(i=e.sent,!(i.status>=200&&i.status<300)){e.next=10;break}return e.next=6,i.text();case 6:a=e.sent,r&&r(a),e.next=12;break;case 10:throw n&&n(i),new Error(i.statusText);case 12:case\"end\":return e.stop()}}),e)})));function t(t,r,n){return e.apply(this,arguments)}return t}()},{key:\"getAbort\",value:function(){return this.abort}}]),e}(),p=function(e,t,r,n){var o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;return window.fetch?new d(e,t,r,n,!0,o,i):console.error(\"您的浏览器不支持fetch, 请更换浏览器!\")}},\"81d5\":function(e,t,r){\"use strict\";var n=r(\"7b0b\"),o=r(\"23cb\"),i=r(\"07fa\");e.exports=function(e){var t=n(this),r=i(t),a=arguments.length,c=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,s=void 0===u?r:o(u,r);while(s>c)t[c++]=e;return t}},\"825a\":function(e,t,r){var n=r(\"da84\"),o=r(\"861d\"),i=n.String,a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+\" is not an object\")}},\"83ab\":function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){\"use strict\";var n=r(\"a04b\"),o=r(\"9bf2\"),i=r(\"5c6c\");e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},\"861d\":function(e,t,r){var n=r(\"1626\");e.exports=function(e){return\"object\"==typeof e?null!==e:n(e)}},8875:function(e,t,r){var n,o,i;(function(r,a){o=[],n=a,i=\"function\"===typeof n?n.apply(t,o):n,void 0===i||(e.exports=i)})(\"undefined\"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,\"currentScript\");if(!t&&\"currentScript\"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(err){var r,n,o,i=/.*at [^(]*\\((.*):(.+):(.+)\\)$/gi,a=/@([^@]*):(\\d+):(\\d+)\\s*$/gi,c=i.exec(err.stack)||a.exec(err.stack),u=c&&c[1]||!1,s=c&&c[2]||!1,f=document.location.href.replace(document.location.hash,\"\"),l=document.getElementsByTagName(\"script\");u===f&&(r=document.documentElement.outerHTML,n=new RegExp(\"(?:[^\\\\n]+?\\\\n){0,\"+(s-2)+\"}[^<]*<script>([\\\\d\\\\D]*?)<\\\\/script>[\\\\d\\\\D]*\",\"i\"),o=r.replace(n,\"$1\").trim());for(var d=0;d<l.length;d++){if(\"interactive\"===l[d].readyState)return l[d];if(l[d].src===u)return l[d];if(u===f&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return e}))},8925:function(e,t,r){var n=r(\"e330\"),o=r(\"1626\"),i=r(\"c6cd\"),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},\"8aa5\":function(e,t,r){\"use strict\";var n=r(\"6547\").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},\"90e3\":function(e,t,r){var n=r(\"e330\"),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return\"Symbol(\"+(void 0===e?\"\":e)+\")_\"+a(++o+i,36)}},9112:function(e,t,r){var n=r(\"83ab\"),o=r(\"9bf2\"),i=r(\"5c6c\");e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9263:function(e,t,r){\"use strict\";var n=r(\"c65b\"),o=r(\"e330\"),i=r(\"577e\"),a=r(\"ad6d\"),c=r(\"9f7f\"),u=r(\"5692\"),s=r(\"7c73\"),f=r(\"69f3\").get,l=r(\"fce3\"),d=r(\"107c\"),p=u(\"native-string-replace\",String.prototype.replace),h=RegExp.prototype.exec,v=h,g=o(\"\".charAt),b=o(\"\".indexOf),m=o(\"\".replace),y=o(\"\".slice),k=function(){var e=/a/,t=/b*/g;return n(h,e,\"a\"),n(h,t,\"a\"),0!==e.lastIndex||0!==t.lastIndex}(),w=c.BROKEN_CARET,x=void 0!==/()??/.exec(\"\")[1],O=k||x||w||l||d;O&&(v=function(e){var t,r,o,c,u,l,d,O=this,S=f(O),j=i(e),E=S.raw;if(E)return E.lastIndex=O.lastIndex,t=n(v,E,j),O.lastIndex=E.lastIndex,t;var T=S.groups,A=w&&O.sticky,R=n(a,O),I=O.source,C=0,P=j;if(A&&(R=m(R,\"y\",\"\"),-1===b(R,\"g\")&&(R+=\"g\"),P=y(j,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&\"\\n\"!==g(j,O.lastIndex-1))&&(I=\"(?: \"+I+\")\",P=\" \"+P,C++),r=new RegExp(\"^(?:\"+I+\")\",R)),x&&(r=new RegExp(\"^\"+I+\"$(?!\\\\s)\",R)),k&&(o=O.lastIndex),c=n(h,A?r:O,P),A?c?(c.input=y(c.input,C),c[0]=y(c[0],C),c.index=O.lastIndex,O.lastIndex+=c[0].length):O.lastIndex=0:k&&c&&(O.lastIndex=O.global?c.index+c[0].length:o),x&&c&&c.length>1&&n(p,c[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(c[u]=void 0)})),c&&T)for(c.groups=l=s(null),u=0;u<T.length;u++)d=T[u],l[d[0]]=c[d[1]];return c}),e.exports=v},\"94ca\":function(e,t,r){var n=r(\"d039\"),o=r(\"1626\"),i=/#|\\.prototype\\./,a=function(e,t){var r=u[c(e)];return r==f||r!=s&&(o(t)?n(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,\".\").toLowerCase()},u=a.data={},s=a.NATIVE=\"N\",f=a.POLYFILL=\"P\";e.exports=a},\"96cf\":function(e,t,r){var n=function(e){\"use strict\";var t,r=Object.prototype,n=r.hasOwnProperty,o=\"function\"===typeof Symbol?Symbol:{},i=o.iterator||\"@@iterator\",a=o.asyncIterator||\"@@asyncIterator\",c=o.toStringTag||\"@@toStringTag\";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},\"\")}catch(err){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new R(n||[]);return i._invoke=j(e,r,a),i}function f(e,t,r){try{return{type:\"normal\",arg:e.call(t,r)}}catch(err){return{type:\"throw\",arg:err}}}e.wrap=s;var l=\"suspendedStart\",d=\"suspendedYield\",p=\"executing\",h=\"completed\",v={};function g(){}function b(){}function m(){}var y={};u(y,i,(function(){return this}));var k=Object.getPrototypeOf,w=k&&k(k(I([])));w&&w!==r&&n.call(w,i)&&(y=w);var x=m.prototype=g.prototype=Object.create(y);function O(e){[\"next\",\"throw\",\"return\"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,i,a,c){var u=f(e[o],e,i);if(\"throw\"!==u.type){var s=u.arg,l=s.value;return l&&\"object\"===typeof l&&n.call(l,\"__await\")?t.resolve(l.__await).then((function(e){r(\"next\",e,a,c)}),(function(e){r(\"throw\",e,a,c)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return r(\"throw\",e,a,c)}))}c(u.arg)}var o;function i(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function j(e,t,r){var n=l;return function(o,i){if(n===p)throw new Error(\"Generator is already running\");if(n===h){if(\"throw\"===o)throw i;return C()}r.method=o,r.arg=i;while(1){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if(\"next\"===r.method)r.sent=r._sent=r.arg;else if(\"throw\"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else\"return\"===r.method&&r.abrupt(\"return\",r.arg);n=p;var u=f(e,t,r);if(\"normal\"===u.type){if(n=r.done?h:d,u.arg===v)continue;return{value:u.arg,done:r.done}}\"throw\"===u.type&&(n=h,r.method=\"throw\",r.arg=u.arg)}}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,\"throw\"===r.method){if(e.iterator[\"return\"]&&(r.method=\"return\",r.arg=t,E(e,r),\"throw\"===r.method))return v;r.method=\"throw\",r.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return v}var o=f(n,e.iterator,r.arg);if(\"throw\"===o.type)return r.method=\"throw\",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,\"return\"!==r.method&&(r.method=\"next\",r.arg=t),r.delegate=null,v):i:(r.method=\"throw\",r.arg=new TypeError(\"iterator result is not an object\"),r.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(T,this),this.reset(!0)}function I(e){if(e){var r=e[i];if(r)return r.call(e);if(\"function\"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){while(++o<e.length)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return b.prototype=m,u(x,\"constructor\",m),u(m,\"constructor\",b),b.displayName=u(m,c,\"GeneratorFunction\"),e.isGeneratorFunction=function(e){var t=\"function\"===typeof e&&e.constructor;return!!t&&(t===b||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,c,\"GeneratorFunction\")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(S.prototype),u(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),u(x,c,\"Generator\"),u(x,i,(function(){return this})),u(x,\"toString\",(function(){return\"[object Generator]\"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=I,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)\"t\"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if(\"throw\"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type=\"throw\",c.arg=e,r.next=n,o&&(r.method=\"next\",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if(\"root\"===a.tryLoc)return o(\"end\");if(a.tryLoc<=this.prev){var u=n.call(a,\"catchLoc\"),s=n.call(a,\"finallyLoc\");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error(\"try statement without catch or finally\");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,\"finallyLoc\")&&this.prev<o.finallyLoc){var i=o;break}}i&&(\"break\"===e||\"continue\"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method=\"next\",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if(\"throw\"===n.type){var o=n.arg;A(r)}return o}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},\"next\"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(o){\"object\"===typeof globalThis?globalThis.regeneratorRuntime=n:Function(\"r\",\"regeneratorRuntime = r\")(n)}},\"99af\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d039\"),a=r(\"e8b5\"),c=r(\"861d\"),u=r(\"7b0b\"),s=r(\"07fa\"),f=r(\"8418\"),l=r(\"65f0\"),d=r(\"1dde\"),p=r(\"b622\"),h=r(\"2d00\"),v=p(\"isConcatSpreadable\"),g=9007199254740991,b=\"Maximum allowed index exceeded\",m=o.TypeError,y=h>=51||!i((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),k=d(\"concat\"),w=function(e){if(!c(e))return!1;var t=e[v];return void 0!==t?!!t:a(e)},x=!y||!k;n({target:\"Array\",proto:!0,forced:x},{concat:function(e){var t,r,n,o,i,a=u(this),c=l(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(i=-1===t?a:arguments[t],w(i)){if(o=s(i),d+o>g)throw m(b);for(r=0;r<o;r++,d++)r in i&&f(c,d,i[r])}else{if(d>=g)throw m(b);f(c,d++,i)}return c.length=d,c}})},\"9a1f\":function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"59ed\"),a=r(\"825a\"),c=r(\"0d51\"),u=r(\"35a1\"),s=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(i(r))return a(o(r,e));throw s(c(e)+\" is not iterable\")}},\"9bdd\":function(e,t,r){var n=r(\"825a\"),o=r(\"2a62\");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(error){o(e,\"throw\",error)}}},\"9bf2\":function(e,t,r){var n=r(\"da84\"),o=r(\"83ab\"),i=r(\"0cfb\"),a=r(\"aed9\"),c=r(\"825a\"),u=r(\"a04b\"),s=n.TypeError,f=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=\"enumerable\",p=\"configurable\",h=\"writable\";t.f=o?a?function(e,t,r){if(c(e),t=u(t),c(r),\"function\"===typeof e&&\"prototype\"===t&&\"value\"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return f(e,t,r)}:f:function(e,t,r){if(c(e),t=u(t),c(r),i)try{return f(e,t,r)}catch(error){}if(\"get\"in r||\"set\"in r)throw s(\"Accessors not supported\");return\"value\"in r&&(e[t]=r.value),e}},\"9ed3\":function(e,t,r){\"use strict\";var n=r(\"ae93\").IteratorPrototype,o=r(\"7c73\"),i=r(\"5c6c\"),a=r(\"d44e\"),c=r(\"3f8c\"),u=function(){return this};e.exports=function(e,t,r,s){var f=t+\" Iterator\";return e.prototype=o(n,{next:i(+!s,r)}),a(e,f,!1,!0),c[f]=u,e}},\"9f7f\":function(e,t,r){var n=r(\"d039\"),o=r(\"da84\"),i=o.RegExp,a=n((function(){var e=i(\"a\",\"y\");return e.lastIndex=2,null!=e.exec(\"abcd\")})),c=a||n((function(){return!i(\"a\",\"y\").sticky})),u=a||n((function(){var e=i(\"^r\",\"gy\");return e.lastIndex=2,null!=e.exec(\"str\")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:c,UNSUPPORTED_Y:a}},a04b:function(e,t,r){var n=r(\"c04e\"),o=r(\"d9b5\");e.exports=function(e){var t=n(e,\"string\");return o(t)?t:t+\"\"}},a4b4:function(e,t,r){var n=r(\"342f\");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d066\"),a=r(\"2ba4\"),c=r(\"c65b\"),u=r(\"e330\"),s=r(\"c430\"),f=r(\"83ab\"),l=r(\"4930\"),d=r(\"d039\"),p=r(\"1a2d\"),h=r(\"e8b5\"),v=r(\"1626\"),g=r(\"861d\"),b=r(\"3a9b\"),m=r(\"d9b5\"),y=r(\"825a\"),k=r(\"7b0b\"),w=r(\"fc6a\"),x=r(\"a04b\"),O=r(\"577e\"),S=r(\"5c6c\"),j=r(\"7c73\"),E=r(\"df75\"),T=r(\"241c\"),A=r(\"057f\"),R=r(\"7418\"),I=r(\"06cf\"),C=r(\"9bf2\"),P=r(\"37e8\"),M=r(\"d1e7\"),D=r(\"f36a\"),L=r(\"6eeb\"),_=r(\"5692\"),B=r(\"f772\"),N=r(\"d012\"),F=r(\"90e3\"),V=r(\"b622\"),U=r(\"e538\"),G=r(\"746f\"),z=r(\"d44e\"),J=r(\"69f3\"),W=r(\"b727\").forEach,H=B(\"hidden\"),q=\"Symbol\",K=\"prototype\",Q=V(\"toPrimitive\"),Y=J.set,Z=J.getterFor(q),X=Object[K],$=o.Symbol,ee=$&&$[K],te=o.TypeError,re=o.QObject,ne=i(\"JSON\",\"stringify\"),oe=I.f,ie=C.f,ae=A.f,ce=M.f,ue=u([].push),se=_(\"symbols\"),fe=_(\"op-symbols\"),le=_(\"string-to-symbol-registry\"),de=_(\"symbol-to-string-registry\"),pe=_(\"wks\"),he=!re||!re[K]||!re[K].findChild,ve=f&&d((function(){return 7!=j(ie({},\"a\",{get:function(){return ie(this,\"a\",{value:7}).a}})).a}))?function(e,t,r){var n=oe(X,t);n&&delete X[t],ie(e,t,r),n&&e!==X&&ie(X,t,n)}:ie,ge=function(e,t){var r=se[e]=j(ee);return Y(r,{type:q,tag:e,description:t}),f||(r.description=t),r},be=function(e,t,r){e===X&&be(fe,t,r),y(e);var n=x(t);return y(r),p(se,n)?(r.enumerable?(p(e,H)&&e[H][n]&&(e[H][n]=!1),r=j(r,{enumerable:S(0,!1)})):(p(e,H)||ie(e,H,S(1,{})),e[H][n]=!0),ve(e,n,r)):ie(e,n,r)},me=function(e,t){y(e);var r=w(t),n=E(r).concat(Oe(r));return W(n,(function(t){f&&!c(ke,r,t)||be(e,t,r[t])})),e},ye=function(e,t){return void 0===t?j(e):me(j(e),t)},ke=function(e){var t=x(e),r=c(ce,this,t);return!(this===X&&p(se,t)&&!p(fe,t))&&(!(r||!p(this,t)||!p(se,t)||p(this,H)&&this[H][t])||r)},we=function(e,t){var r=w(e),n=x(t);if(r!==X||!p(se,n)||p(fe,n)){var o=oe(r,n);return!o||!p(se,n)||p(r,H)&&r[H][n]||(o.enumerable=!0),o}},xe=function(e){var t=ae(w(e)),r=[];return W(t,(function(e){p(se,e)||p(N,e)||ue(r,e)})),r},Oe=function(e){var t=e===X,r=ae(t?fe:w(e)),n=[];return W(r,(function(e){!p(se,e)||t&&!p(X,e)||ue(n,se[e])})),n};if(l||($=function(){if(b(ee,this))throw te(\"Symbol is not a constructor\");var e=arguments.length&&void 0!==arguments[0]?O(arguments[0]):void 0,t=F(e),r=function(e){this===X&&c(r,fe,e),p(this,H)&&p(this[H],t)&&(this[H][t]=!1),ve(this,t,S(1,e))};return f&&he&&ve(X,t,{configurable:!0,set:r}),ge(t,e)},ee=$[K],L(ee,\"toString\",(function(){return Z(this).tag})),L($,\"withoutSetter\",(function(e){return ge(F(e),e)})),M.f=ke,C.f=be,P.f=me,I.f=we,T.f=A.f=xe,R.f=Oe,U.f=function(e){return ge(V(e),e)},f&&(ie(ee,\"description\",{configurable:!0,get:function(){return Z(this).description}}),s||L(X,\"propertyIsEnumerable\",ke,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:$}),W(E(pe),(function(e){G(e)})),n({target:q,stat:!0,forced:!l},{for:function(e){var t=O(e);if(p(le,t))return le[t];var r=$(t);return le[t]=r,de[r]=t,r},keyFor:function(e){if(!m(e))throw te(e+\" is not a symbol\");if(p(de,e))return de[e]},useSetter:function(){he=!0},useSimple:function(){he=!1}}),n({target:\"Object\",stat:!0,forced:!l,sham:!f},{create:ye,defineProperty:be,defineProperties:me,getOwnPropertyDescriptor:we}),n({target:\"Object\",stat:!0,forced:!l},{getOwnPropertyNames:xe,getOwnPropertySymbols:Oe}),n({target:\"Object\",stat:!0,forced:d((function(){R.f(1)}))},{getOwnPropertySymbols:function(e){return R.f(k(e))}}),ne){var Se=!l||d((function(){var e=$();return\"[null]\"!=ne([e])||\"{}\"!=ne({a:e})||\"{}\"!=ne(Object(e))}));n({target:\"JSON\",stat:!0,forced:Se},{stringify:function(e,t,r){var n=D(arguments),o=t;if((g(t)||void 0!==e)&&!m(e))return h(t)||(t=function(e,t){if(v(o)&&(t=c(o,this,e,t)),!m(t))return t}),n[1]=t,a(ne,null,n)}})}if(!ee[Q]){var je=ee.valueOf;L(ee,Q,(function(e){return c(je,this)}))}z($,q),N[H]=!0},a630:function(e,t,r){var n=r(\"23e7\"),o=r(\"4df4\"),i=r(\"1c7e\"),a=!i((function(e){Array.from(e)}));n({target:\"Array\",stat:!0,forced:a},{from:o})},a640:function(e,t,r){\"use strict\";var n=r(\"d039\");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},a9e3:function(e,t,r){\"use strict\";var n=r(\"83ab\"),o=r(\"da84\"),i=r(\"e330\"),a=r(\"94ca\"),c=r(\"6eeb\"),u=r(\"1a2d\"),s=r(\"7156\"),f=r(\"3a9b\"),l=r(\"d9b5\"),d=r(\"c04e\"),p=r(\"d039\"),h=r(\"241c\").f,v=r(\"06cf\").f,g=r(\"9bf2\").f,b=r(\"408a\"),m=r(\"58a8\").trim,y=\"Number\",k=o[y],w=k.prototype,x=o.TypeError,O=i(\"\".slice),S=i(\"\".charCodeAt),j=function(e){var t=d(e,\"number\");return\"bigint\"==typeof t?t:E(t)},E=function(e){var t,r,n,o,i,a,c,u,s=d(e,\"number\");if(l(s))throw x(\"Cannot convert a Symbol value to a number\");if(\"string\"==typeof s&&s.length>2)if(s=m(s),t=S(s,0),43===t||45===t){if(r=S(s,2),88===r||120===r)return NaN}else if(48===t){switch(S(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(i=O(s,2),a=i.length,c=0;c<a;c++)if(u=S(i,c),u<48||u>o)return NaN;return parseInt(i,n)}return+s};if(a(y,!k(\" 0o1\")||!k(\"0b1\")||k(\"+0x1\"))){for(var T,A=function(e){var t=arguments.length<1?0:k(j(e)),r=this;return f(w,r)&&p((function(){b(r)}))?s(Object(t),r,A):t},R=n?h(k):\"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range\".split(\",\"),I=0;R.length>I;I++)u(k,T=R[I])&&!u(A,T)&&g(A,T,v(k,T));A.prototype=w,w.constructor=A,c(o,y,A)}},aa1f:function(e,t,r){\"use strict\";var n=r(\"83ab\"),o=r(\"d039\"),i=r(\"825a\"),a=r(\"7c73\"),c=r(\"e391\"),u=Error.prototype.toString,s=o((function(){if(n){var e=a(Object.defineProperty({},\"name\",{get:function(){return this===e}}));if(\"true\"!==u.call(e))return!0}return\"2: 1\"!==u.call({message:1,name:2})||\"Error\"!==u.call({})}));e.exports=s?function(){var e=i(this),t=c(e.name,\"Error\"),r=c(e.message);return t?r?t+\": \"+r:t:r}:u},ab36:function(e,t,r){var n=r(\"861d\"),o=r(\"9112\");e.exports=function(e,t){n(t)&&\"cause\"in t&&o(e,\"cause\",t.cause)}},ac1f:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"9263\");n({target:\"RegExp\",proto:!0,forced:/./.exec!==o},{exec:o})},acac:function(e,t,r){\"use strict\";var n=r(\"e330\"),o=r(\"e2cc\"),i=r(\"f183\").getWeakData,a=r(\"825a\"),c=r(\"861d\"),u=r(\"19aa\"),s=r(\"2266\"),f=r(\"b727\"),l=r(\"1a2d\"),d=r(\"69f3\"),p=d.set,h=d.getterFor,v=f.find,g=f.findIndex,b=n([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new k)},k=function(){this.entries=[]},w=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};k.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var r=w(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&b(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var f=e((function(e,o){u(e,d),p(e,{type:t,id:m++,frozen:void 0}),void 0!=o&&s(o,e[n],{that:e,AS_ENTRIES:r})})),d=f.prototype,v=h(t),g=function(e,t,r){var n=v(e),o=i(a(t),!0);return!0===o?y(n).set(t,r):o[n.id]=r,e};return o(d,{delete:function(e){var t=v(this);if(!c(e))return!1;var r=i(e);return!0===r?y(t)[\"delete\"](e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!c(e))return!1;var r=i(e);return!0===r?y(t).has(e):r&&l(r,t.id)}}),o(d,r?{get:function(e){var t=v(this);if(c(e)){var r=i(e);return!0===r?y(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),f}}},ad6d:function(e,t,r){\"use strict\";var n=r(\"825a\");e.exports=function(){var e=n(this),t=\"\";return e.global&&(t+=\"g\"),e.ignoreCase&&(t+=\"i\"),e.multiline&&(t+=\"m\"),e.dotAll&&(t+=\"s\"),e.unicode&&(t+=\"u\"),e.sticky&&(t+=\"y\"),t}},ade3:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return n}));r(\"7a82\");function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},ae93:function(e,t,r){\"use strict\";var n,o,i,a=r(\"d039\"),c=r(\"1626\"),u=r(\"7c73\"),s=r(\"e163\"),f=r(\"6eeb\"),l=r(\"b622\"),d=r(\"c430\"),p=l(\"iterator\"),h=!1;[].keys&&(i=[].keys(),\"next\"in i?(o=s(s(i)),o!==Object.prototype&&(n=o)):h=!0);var v=void 0==n||a((function(){var e={};return n[p].call(e)!==e}));v?n={}:d&&(n=u(n)),c(n[p])||f(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},aed9:function(e,t,r){var n=r(\"83ab\"),o=r(\"d039\");e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),\"prototype\",{value:42,writable:!1}).prototype}))},b041:function(e,t,r){\"use strict\";var n=r(\"00ee\"),o=r(\"f5df\");e.exports=n?{}.toString:function(){return\"[object \"+o(this)+\"]\"}},b0c0:function(e,t,r){var n=r(\"83ab\"),o=r(\"5e77\").EXISTS,i=r(\"e330\"),a=r(\"9bf2\").f,c=Function.prototype,u=i(c.toString),s=/function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/,f=i(s.exec),l=\"name\";n&&!o&&a(c,l,{configurable:!0,get:function(){try{return f(s,u(this))[1]}catch(error){return\"\"}}})},b575:function(e,t,r){var n,o,i,a,c,u,s,f,l=r(\"da84\"),d=r(\"0366\"),p=r(\"06cf\").f,h=r(\"2cf4\").set,v=r(\"1cdc\"),g=r(\"d4c3\"),b=r(\"a4b4\"),m=r(\"605d\"),y=l.MutationObserver||l.WebKitMutationObserver,k=l.document,w=l.process,x=l.Promise,O=p(l,\"queueMicrotask\"),S=O&&O.value;S||(n=function(){var e,t;m&&(e=w.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(error){throw o?a():i=void 0,error}}i=void 0,e&&e.enter()},v||m||b||!y||!k?!g&&x&&x.resolve?(s=x.resolve(void 0),s.constructor=x,f=d(s.then,s),a=function(){f(n)}):m?a=function(){w.nextTick(n)}:(h=d(h,l),a=function(){h(n)}):(c=!0,u=k.createTextNode(\"\"),new y(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},b622:function(e,t,r){var n=r(\"da84\"),o=r(\"5692\"),i=r(\"1a2d\"),a=r(\"90e3\"),c=r(\"4930\"),u=r(\"fdbf\"),s=o(\"wks\"),f=n.Symbol,l=f&&f[\"for\"],d=u?f:f&&f.withoutSetter||a;e.exports=function(e){if(!i(s,e)||!c&&\"string\"!=typeof s[e]){var t=\"Symbol.\"+e;c&&i(f,e)?s[e]=f[e]:s[e]=u&&l?l(t):d(t)}return s[e]}},b64b:function(e,t,r){var n=r(\"23e7\"),o=r(\"7b0b\"),i=r(\"df75\"),a=r(\"d039\"),c=a((function(){i(1)}));n({target:\"Object\",stat:!0,forced:c},{keys:function(e){return i(o(e))}})},b727:function(e,t,r){var n=r(\"0366\"),o=r(\"e330\"),i=r(\"44ad\"),a=r(\"7b0b\"),c=r(\"07fa\"),u=r(\"65f0\"),s=o([].push),f=function(e){var t=1==e,r=2==e,o=3==e,f=4==e,l=6==e,d=7==e,p=5==e||l;return function(h,v,g,b){for(var m,y,k=a(h),w=i(k),x=n(v,g),O=c(w),S=0,j=b||u,E=t?j(h,O):r||d?j(h,0):void 0;O>S;S++)if((p||S in w)&&(m=w[S],y=x(m,S,k),e))if(t)E[S]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:s(E,m)}else switch(e){case 4:return!1;case 7:s(E,m)}return l?-1:o||f?f:E}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},b8bf:function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"7c73\");n({target:\"Object\",stat:!0,sham:!o},{create:i})},b980:function(e,t,r){var n=r(\"d039\"),o=r(\"5c6c\");e.exports=!n((function(){var e=Error(\"a\");return!(\"stack\"in e)||(Object.defineProperty(e,\"stack\",o(1,7)),7!==e.stack)}))},bb2f:function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bee2:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return o}));r(\"7a82\");function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,\"prototype\",{writable:!1}),e}},c04e:function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"861d\"),a=r(\"d9b5\"),c=r(\"dc4a\"),u=r(\"485a\"),s=r(\"b622\"),f=n.TypeError,l=s(\"toPrimitive\");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,n=c(e,l);if(n){if(void 0===t&&(t=\"default\"),r=o(n,e,t),!i(r)||a(r))return r;throw f(\"Can't convert object to primitive value\")}return void 0===t&&(t=\"number\"),u(e,t)}},c0b6:function(e,t,r){var n=r(\"23e7\"),o=r(\"0538\");n({target:\"Function\",proto:!0,forced:Function.bind!==o},{bind:o})},c430:function(e,t){e.exports=!1},c65b:function(e,t,r){var n=r(\"40d5\"),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(e,t,r){var n=r(\"e330\"),o=n({}.toString),i=n(\"\".slice);e.exports=function(e){return i(o(e),8,-1)}},c6cd:function(e,t,r){var n=r(\"da84\"),o=r(\"ce4e\"),i=\"__core-js_shared__\",a=n[i]||o(i,{});e.exports=a},c770:function(e,t,r){var n=r(\"e330\"),o=n(\"\".replace),i=function(e){return String(Error(e).stack)}(\"zxcasd\"),a=/\\n\\s*at [^:]*:[^\\n]*/,c=a.test(i);e.exports=function(e,t){if(c&&\"string\"==typeof e)while(t--)e=o(e,a,\"\");return e}},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function(\"return this\")()}catch(n){\"object\"===typeof window&&(r=window)}e.exports=r},c975:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"e330\"),i=r(\"4d64\").indexOf,a=r(\"a640\"),c=o([].indexOf),u=!!c&&1/c([1],1,-0)<0,s=a(\"indexOf\");n({target:\"Array\",proto:!0,forced:u||!s},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?c(this,e,t)||0:i(this,e,t)}})},ca84:function(e,t,r){var n=r(\"e330\"),o=r(\"1a2d\"),i=r(\"fc6a\"),a=r(\"4d64\").indexOf,c=r(\"d012\"),u=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,f=[];for(r in n)!o(c,r)&&o(n,r)&&u(f,r);while(t.length>s)o(n,r=t[s++])&&(~a(f,r)||u(f,r));return f}},caad:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"4d64\").includes,i=r(\"44d2\");n({target:\"Array\",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(\"includes\")},cb29:function(e,t,r){var n=r(\"23e7\"),o=r(\"81d5\"),i=r(\"44d2\");n({target:\"Array\",proto:!0},{fill:o}),i(\"fill\")},cc12:function(e,t,r){var n=r(\"da84\"),o=r(\"861d\"),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cca6:function(e,t,r){var n=r(\"23e7\"),o=r(\"60da\");n({target:\"Object\",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(e,t,r){var n=r(\"825a\"),o=r(\"861d\"),i=r(\"f069\");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},ce4e:function(e,t,r){var n=r(\"da84\"),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(error){n[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(error){return!0}}},d066:function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},d1e7:function(e,t,r){\"use strict\";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r(\"746f\");n(\"iterator\")},d2bb:function(e,t,r){var n=r(\"e330\"),o=r(\"825a\"),i=r(\"3bbe\");e.exports=Object.setPrototypeOf||(\"__proto__\"in{}?function(){var e,t=!1,r={};try{e=n(Object.getOwnPropertyDescriptor(Object.prototype,\"__proto__\").set),e(r,[]),t=r instanceof Array}catch(error){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},d3b7:function(e,t,r){var n=r(\"00ee\"),o=r(\"6eeb\"),i=r(\"b041\");n||o(Object.prototype,\"toString\",i,{unsafe:!0})},d401:function(e,t,r){var n=r(\"6eeb\"),o=r(\"aa1f\"),i=Error.prototype;i.toString!==o&&n(i,\"toString\",o)},d44e:function(e,t,r){var n=r(\"9bf2\").f,o=r(\"1a2d\"),i=r(\"b622\"),a=i(\"toStringTag\");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},d4c3:function(e,t,r){var n=r(\"342f\"),o=r(\"da84\");e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},d4ec:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return n}));r(\"d9e2\"),r(\"d401\");function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}},d58f:function(e,t,r){var n=r(\"da84\"),o=r(\"59ed\"),i=r(\"7b0b\"),a=r(\"44ad\"),c=r(\"07fa\"),u=n.TypeError,s=function(e){return function(t,r,n,s){o(r);var f=i(t),l=a(f),d=c(f),p=e?d-1:0,h=e?-1:1;if(n<2)while(1){if(p in l){s=l[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw u(\"Reduce of empty array with no initial value\")}for(;e?p>=0:d>p;p+=h)p in l&&(s=r(s,l[p],p,f));return s}};e.exports={left:s(!1),right:s(!0)}},d5e4:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return o}));r(\"d9e2\"),r(\"d401\");function n(e,t){if(t.has(e))throw new TypeError(\"Cannot initialize the same private elements twice on an object\")}function o(e,t,r){n(e,t),t.set(e,r)}},d6d6:function(e,t,r){var n=r(\"da84\"),o=n.TypeError;e.exports=function(e,t){if(e<t)throw o(\"Not enough arguments\");return e}},d784:function(e,t,r){\"use strict\";r(\"ac1f\");var n=r(\"e330\"),o=r(\"6eeb\"),i=r(\"9263\"),a=r(\"d039\"),c=r(\"b622\"),u=r(\"9112\"),s=c(\"species\"),f=RegExp.prototype;e.exports=function(e,t,r,l){var d=c(e),p=!a((function(){var t={};return t[d]=function(){return 7},7!=\"\"[e](t)})),h=p&&!a((function(){var t=!1,r=/a/;return\"split\"===e&&(r={},r.constructor={},r.constructor[s]=function(){return r},r.flags=\"\",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](\"\"),!t}));if(!p||!h||r){var v=n(/./[d]),g=t(d,\"\"[e],(function(e,t,r,o,a){var c=n(e),u=t.exec;return u===i||u===f.exec?p&&!a?{done:!0,value:v(t,r,o)}:{done:!0,value:c(r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(f,d,g[1])}l&&u(f[d],\"sham\",!0)}},d86b:function(e,t,r){var n=r(\"d039\");e.exports=n((function(){if(\"function\"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,\"a\",{value:8})}}))},d9b5:function(e,t,r){var n=r(\"da84\"),o=r(\"d066\"),i=r(\"1626\"),a=r(\"3a9b\"),c=r(\"fdbf\"),u=n.Object;e.exports=c?function(e){return\"symbol\"==typeof e}:function(e){var t=o(\"Symbol\");return i(t)&&a(t.prototype,u(e))}},d9e2:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"2ba4\"),a=r(\"e5cb\"),c=\"WebAssembly\",u=o[c],s=7!==Error(\"e\",{cause:7}).cause,f=function(e,t){var r={};r[e]=a(e,t,s),n({global:!0,forced:s},r)},l=function(e,t){if(u&&u[e]){var r={};r[e]=a(c+\".\"+e,t,s),n({target:c,stat:!0,forced:s},r)}};f(\"Error\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"EvalError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"RangeError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"ReferenceError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"SyntaxError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"TypeError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"URIError\",(function(e){return function(t){return i(e,this,arguments)}})),l(\"CompileError\",(function(e){return function(t){return i(e,this,arguments)}})),l(\"LinkError\",(function(e){return function(t){return i(e,this,arguments)}})),l(\"RuntimeError\",(function(e){return function(t){return i(e,this,arguments)}}))},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r(\"object\"==typeof globalThis&&globalThis)||r(\"object\"==typeof window&&window)||r(\"object\"==typeof self&&self)||r(\"object\"==typeof t&&t)||function(){return this}()||Function(\"return this\")()}).call(this,r(\"c8ba\"))},dbb4:function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"56ef\"),a=r(\"fc6a\"),c=r(\"06cf\"),u=r(\"8418\");n({target:\"Object\",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),o=c.f,s=i(n),f={},l=0;while(s.length>l)r=o(n,t=s[l++]),void 0!==r&&u(f,t,r);return f}})},dc4a:function(e,t,r){var n=r(\"59ed\");e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},ddb0:function(e,t,r){var n=r(\"da84\"),o=r(\"fdbc\"),i=r(\"785a\"),a=r(\"e260\"),c=r(\"9112\"),u=r(\"b622\"),s=u(\"iterator\"),f=u(\"toStringTag\"),l=a.values,d=function(e,t){if(e){if(e[s]!==l)try{c(e,s,l)}catch(error){e[s]=l}if(e[f]||c(e,f,t),o[t])for(var r in a)if(e[r]!==a[r])try{c(e,r,a[r])}catch(error){e[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,\"DOMTokenList\")},df75:function(e,t,r){var n=r(\"ca84\"),o=r(\"7839\");e.exports=Object.keys||function(e){return n(e,o)}},e01a:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"da84\"),a=r(\"e330\"),c=r(\"1a2d\"),u=r(\"1626\"),s=r(\"3a9b\"),f=r(\"577e\"),l=r(\"9bf2\").f,d=r(\"e893\"),p=i.Symbol,h=p&&p.prototype;if(o&&u(p)&&(!(\"description\"in h)||void 0!==p().description)){var v={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),t=s(h,this)?new p(e):void 0===e?p():p(e);return\"\"===e&&(v[t]=!0),t};d(g,p),g.prototype=h,h.constructor=g;var b=\"Symbol(test)\"==String(p(\"test\")),m=a(h.toString),y=a(h.valueOf),k=/^Symbol\\((.*)\\)[^)]+$/,w=a(\"\".replace),x=a(\"\".slice);l(h,\"description\",{configurable:!0,get:function(){var e=y(this),t=m(e);if(c(v,e))return\"\";var r=b?x(t,7,-1):w(t,k,\"$1\");return\"\"===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:g})}},e163:function(e,t,r){var n=r(\"da84\"),o=r(\"1a2d\"),i=r(\"1626\"),a=r(\"7b0b\"),c=r(\"f772\"),u=r(\"e177\"),s=c(\"IE_PROTO\"),f=n.Object,l=f.prototype;e.exports=u?f.getPrototypeOf:function(e){var t=a(e);if(o(t,s))return t[s];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof f?l:null}},e177:function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,r){\"use strict\";var n=r(\"fc6a\"),o=r(\"44d2\"),i=r(\"3f8c\"),a=r(\"69f3\"),c=r(\"9bf2\").f,u=r(\"7dd0\"),s=r(\"c430\"),f=r(\"83ab\"),l=\"Array Iterator\",d=a.set,p=a.getterFor(l);e.exports=u(Array,\"Array\",(function(e,t){d(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):\"keys\"==r?{value:n,done:!1}:\"values\"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),\"values\");var h=i.Arguments=i.Array;if(o(\"keys\"),o(\"values\"),o(\"entries\"),!s&&f&&\"values\"!==h.name)try{c(h,\"name\",{value:\"values\"})}catch(error){}},e2cc:function(e,t,r){var n=r(\"6eeb\");e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},e330:function(e,t,r){var n=r(\"40d5\"),o=Function.prototype,i=o.bind,a=o.call,c=n&&i.bind(a,a);e.exports=n?function(e){return e&&c(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},e391:function(e,t,r){var n=r(\"577e\");e.exports=function(e,t){return void 0===e?arguments.length<2?\"\":t:n(e)}},e439:function(e,t,r){var n=r(\"23e7\"),o=r(\"d039\"),i=r(\"fc6a\"),a=r(\"06cf\").f,c=r(\"83ab\"),u=o((function(){a(1)})),s=!c||u;n({target:\"Object\",stat:!0,forced:s,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},e538:function(e,t,r){var n=r(\"b622\");t.f=n},e5cb:function(e,t,r){\"use strict\";var n=r(\"d066\"),o=r(\"1a2d\"),i=r(\"9112\"),a=r(\"3a9b\"),c=r(\"d2bb\"),u=r(\"e893\"),s=r(\"7156\"),f=r(\"e391\"),l=r(\"ab36\"),d=r(\"c770\"),p=r(\"b980\"),h=r(\"c430\");e.exports=function(e,t,r,v){var g=v?2:1,b=e.split(\".\"),m=b[b.length-1],y=n.apply(null,b);if(y){var k=y.prototype;if(!h&&o(k,\"cause\")&&delete k.cause,!r)return y;var w=n(\"Error\"),x=t((function(e,t){var r=f(v?t:e,void 0),n=v?new y(e):new y;return void 0!==r&&i(n,\"message\",r),p&&i(n,\"stack\",d(n.stack,2)),this&&a(k,this)&&s(n,this,x),arguments.length>g&&l(n,arguments[g]),n}));if(x.prototype=k,\"Error\"!==m&&(c?c(x,w):u(x,w,{name:!0})),u(x,y),!h)try{k.name!==m&&i(k,\"name\",m),k.constructor=x}catch(error){}return x}}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(error){return{error:!0,value:error}}}},e6cf:function(e,t,r){\"use strict\";var n,o,i,a,c=r(\"23e7\"),u=r(\"c430\"),s=r(\"da84\"),f=r(\"d066\"),l=r(\"c65b\"),d=r(\"fea9\"),p=r(\"6eeb\"),h=r(\"e2cc\"),v=r(\"d2bb\"),g=r(\"d44e\"),b=r(\"2626\"),m=r(\"59ed\"),y=r(\"1626\"),k=r(\"861d\"),w=r(\"19aa\"),x=r(\"8925\"),O=r(\"2266\"),S=r(\"1c7e\"),j=r(\"4840\"),E=r(\"2cf4\").set,T=r(\"b575\"),A=r(\"cdf9\"),R=r(\"44de\"),I=r(\"f069\"),C=r(\"e667\"),P=r(\"01b4\"),M=r(\"69f3\"),D=r(\"94ca\"),L=r(\"b622\"),_=r(\"6069\"),B=r(\"605d\"),N=r(\"2d00\"),F=L(\"species\"),V=\"Promise\",U=M.getterFor(V),G=M.set,z=M.getterFor(V),J=d&&d.prototype,W=d,H=J,q=s.TypeError,K=s.document,Q=s.process,Y=I.f,Z=Y,X=!!(K&&K.createEvent&&s.dispatchEvent),$=y(s.PromiseRejectionEvent),ee=\"unhandledrejection\",te=\"rejectionhandled\",re=0,ne=1,oe=2,ie=1,ae=2,ce=!1,ue=D(V,(function(){var e=x(W),t=e!==String(W);if(!t&&66===N)return!0;if(u&&!H[\"finally\"])return!0;if(N>=51&&/native code/.test(e))return!1;var r=new W((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},o=r.constructor={};return o[F]=n,ce=r.then((function(){}))instanceof n,!ce||!t&&_&&!$})),se=ue||!S((function(e){W.all(e)[\"catch\"]((function(){}))})),fe=function(e){var t;return!(!k(e)||!y(t=e.then))&&t},le=function(e,t){var r,n,o,i=t.value,a=t.state==ne,c=a?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{c?(a||(t.rejection===ae&&ge(t),t.rejection=ie),!0===c?r=i:(f&&f.enter(),r=c(i),f&&(f.exit(),o=!0)),r===e.promise?s(q(\"Promise-chain cycle\")):(n=fe(r))?l(n,r,u,s):u(r)):s(i)}catch(error){f&&!o&&f.exit(),s(error)}},de=function(e,t){e.notified||(e.notified=!0,T((function(){var r,n=e.reactions;while(r=n.get())le(r,e);e.notified=!1,t&&!e.rejection&&he(e)})))},pe=function(e,t,r){var n,o;X?(n=K.createEvent(\"Event\"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),s.dispatchEvent(n)):n={promise:t,reason:r},!$&&(o=s[\"on\"+e])?o(n):e===ee&&R(\"Unhandled promise rejection\",r)},he=function(e){l(E,s,(function(){var t,r=e.facade,n=e.value,o=ve(e);if(o&&(t=C((function(){B?Q.emit(\"unhandledRejection\",n,r):pe(ee,r,n)})),e.rejection=B||ve(e)?ae:ie,t.error))throw t.value}))},ve=function(e){return e.rejection!==ie&&!e.parent},ge=function(e){l(E,s,(function(){var t=e.facade;B?Q.emit(\"rejectionHandled\",t):pe(te,t,e.value)}))},be=function(e,t,r){return function(n){e(t,n,r)}},me=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=oe,de(e,!0))},ye=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw q(\"Promise can't be resolved itself\");var n=fe(t);n?T((function(){var r={done:!1};try{l(n,t,be(ye,r,e),be(me,r,e))}catch(error){me(r,error,e)}})):(e.value=t,e.state=ne,de(e,!1))}catch(error){me({done:!1},error,e)}}};if(ue&&(W=function(e){w(this,H),m(e),l(n,this);var t=U(this);try{e(be(ye,t),be(me,t))}catch(error){me(t,error)}},H=W.prototype,n=function(e){G(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:re,value:void 0})},n.prototype=h(H,{then:function(e,t){var r=z(this),n=Y(j(this,W));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=B?Q.domain:void 0,r.state==re?r.reactions.add(n):T((function(){le(n,r)})),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=U(e);this.promise=e,this.resolve=be(ye,t),this.reject=be(me,t)},I.f=Y=function(e){return e===W||e===i?new o(e):Z(e)},!u&&y(d)&&J!==Object.prototype)){a=J.then,ce||(p(J,\"then\",(function(e,t){var r=this;return new W((function(e,t){l(a,r,e,t)})).then(e,t)}),{unsafe:!0}),p(J,\"catch\",H[\"catch\"],{unsafe:!0}));try{delete J.constructor}catch(error){}v&&v(J,H)}c({global:!0,wrap:!0,forced:ue},{Promise:W}),g(W,V,!1,!0),b(V),i=f(V),c({target:V,stat:!0,forced:ue},{reject:function(e){var t=Y(this);return l(t.reject,void 0,e),t.promise}}),c({target:V,stat:!0,forced:u||ue},{resolve:function(e){return A(u&&this===i?W:this,e)}}),c({target:V,stat:!0,forced:se},{all:function(e){var t=this,r=Y(t),n=r.resolve,o=r.reject,i=C((function(){var r=m(t.resolve),i=[],a=0,c=1;O(e,(function(e){var u=a++,s=!1;c++,l(r,t,e).then((function(e){s||(s=!0,i[u]=e,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=Y(t),n=r.reject,o=C((function(){var o=m(t.resolve);O(e,(function(e){l(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},e893:function(e,t,r){var n=r(\"1a2d\"),o=r(\"56ef\"),i=r(\"06cf\"),a=r(\"9bf2\");e.exports=function(e,t,r){for(var c=o(t),u=a.f,s=i.f,f=0;f<c.length;f++){var l=c[f];n(e,l)||r&&n(r,l)||u(e,l,s(t,l))}}},e8b5:function(e,t,r){var n=r(\"c6b6\");e.exports=Array.isArray||function(e){return\"Array\"==n(e)}},e95a:function(e,t,r){var n=r(\"b622\"),o=r(\"3f8c\"),i=n(\"iterator\"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},e9c4:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d066\"),a=r(\"2ba4\"),c=r(\"e330\"),u=r(\"d039\"),s=o.Array,f=i(\"JSON\",\"stringify\"),l=c(/./.exec),d=c(\"\".charAt),p=c(\"\".charCodeAt),h=c(\"\".replace),v=c(1..toString),g=/[\\uD800-\\uDFFF]/g,b=/^[\\uD800-\\uDBFF]$/,m=/^[\\uDC00-\\uDFFF]$/,y=function(e,t,r){var n=d(r,t-1),o=d(r,t+1);return l(b,e)&&!l(m,o)||l(m,e)&&!l(b,n)?\"\\\\u\"+v(p(e,0),16):e},k=u((function(){return'\"\\\\udf06\\\\ud834\"'!==f(\"\\udf06\\ud834\")||'\"\\\\udead\"'!==f(\"\\udead\")}));f&&n({target:\"JSON\",stat:!0,forced:k},{stringify:function(e,t,r){for(var n=0,o=arguments.length,i=s(o);n<o;n++)i[n]=arguments[n];var c=a(f,null,i);return\"string\"==typeof c?h(c,g,y):c}})},f069:function(e,t,r){\"use strict\";var n=r(\"59ed\"),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError(\"Bad Promise constructor\");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},f183:function(e,t,r){var n=r(\"23e7\"),o=r(\"e330\"),i=r(\"d012\"),a=r(\"861d\"),c=r(\"1a2d\"),u=r(\"9bf2\").f,s=r(\"241c\"),f=r(\"057f\"),l=r(\"4fad\"),d=r(\"90e3\"),p=r(\"bb2f\"),h=!1,v=d(\"meta\"),g=0,b=function(e){u(e,v,{value:{objectID:\"O\"+g++,weakData:{}}})},m=function(e,t){if(!a(e))return\"symbol\"==typeof e?e:(\"string\"==typeof e?\"S\":\"P\")+e;if(!c(e,v)){if(!l(e))return\"F\";if(!t)return\"E\";b(e)}return e[v].objectID},y=function(e,t){if(!c(e,v)){if(!l(e))return!0;if(!t)return!1;b(e)}return e[v].weakData},k=function(e){return p&&h&&l(e)&&!c(e,v)&&b(e),e},w=function(){x.enable=function(){},h=!0;var e=s.f,t=o([].splice),r={};r[v]=1,e(r).length&&(s.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===v){t(n,o,1);break}return n},n({target:\"Object\",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},x=e.exports={enable:w,fastKey:m,getWeakData:y,onFreeze:k};i[v]=!0},f36a:function(e,t,r){var n=r(\"e330\");e.exports=n([].slice)},f5df:function(e,t,r){var n=r(\"da84\"),o=r(\"00ee\"),i=r(\"1626\"),a=r(\"c6b6\"),c=r(\"b622\"),u=c(\"toStringTag\"),s=n.Object,f=\"Arguments\"==a(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(error){}};e.exports=o?a:function(e){var t,r,n;return void 0===e?\"Undefined\":null===e?\"Null\":\"string\"==typeof(r=l(t=s(e),u))?r:f?a(t):\"Object\"==(n=a(t))&&i(t.callee)?\"Arguments\":n}},f772:function(e,t,r){var n=r(\"5692\"),o=r(\"90e3\"),i=n(\"keys\");e.exports=function(e){return i[e]||(i[e]=o(e))}},f8c9:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d44e\");n({global:!0},{Reflect:{}}),i(o.Reflect,\"Reflect\",!0)},fb15:function(e,t,r){\"use strict\";if(r.r(t),\"undefined\"!==typeof window){var n=window.document.currentScript,o=r(\"8875\");n=o(),\"currentScript\"in document||Object.defineProperty(document,\"currentScript\",{get:o});var i=n&&n.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/);i&&(r.p=i[1])}var a=r(\"d4ec\"),c=r(\"bee2\"),u=r(\"d5e4\");r(\"d9e2\"),r(\"d401\");function s(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError(\"attempted to set read only private field\");t.value=r}}function f(e,t,r){if(!t.has(e))throw new TypeError(\"attempted to \"+r+\" private field on non-instance\");return t.get(e)}function l(e,t,r){var n=f(e,t,\"set\");return s(e,n,r),r}function d(e,t){return t.get?t.get.call(e):t.value}function p(e,t){var r=f(e,t,\"get\");return d(e,r)}var h=r(\"53ca\"),v=(r(\"d3b7\"),r(\"cca6\"),r(\"e9c4\"),r(\"c975\"),r(\"4160\"),r(\"159b\"),r(\"b64b\"),r(\"e260\"),r(\"3ca3\"),r(\"10d1\"),r(\"ddb0\"),r(\"ade3\")),g=(r(\"13d5\"),r(\"ac1f\"),r(\"1276\"),r(\"fb6a\"),r(\"5180\")),b=g.keys().reduce((function(e,t){return Object.assign(e,Object(v[\"a\"])({},t.split(\"/\").slice(-1)[0].split(\".\")[0],g(t)[Object.keys(g(t))[0]])),e}),{});console.log(\"=====modulesFiles========\"),console.log(b);var m=b,y=r(\"2909\"),k=r(\"1da1\");r(\"96cf\"),r(\"7a82\"),r(\"e6cf\"),r(\"a9e3\"),r(\"4795\"),r(\"0d03\"),r(\"45fc\"),r(\"7db0\"),r(\"25f0\"),r(\"99af\"),r(\"cb29\"),r(\"00b4\"),r(\"4de4\"),r(\"277d\");console.log(\"Library wexWebSip Build time: 2026_3_24 13:58:15\");var w=Object.defineProperty,x=function(e,t,r){return t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},O=function(e,t,r){return x(e,\"symbol\"!=Object(h[\"a\"])(t)?t+\"\":t,r),r};console.log(\"webphone version 1.0.2 2026-03-02 支持视频呼叫无摄像和麦克风能正常接听\");var S=function(){function e(t){Object(a[\"a\"])(this,e),O(this,\"socket\",null),O(this,\"RTC\",null),O(this,\"bindLocalPicture\",(function(e){var t=document.getElementById(\"local_video\");e&&(t.srcObject=e,t.onloadedmetadata=function(){t.play()})})),this.wsUrl=t,this.Offer=null,this.localId=\"local_video\",this.remoteId=\"\",this.remoteAudioId=\"\",this.videoStream=null,this.audioStream=null,this.timeOutKL=null,this.reloadObj={num:0,maxNum:10,timeOut:null,reloadTime:5e3,href:\"\"},this.mediaSet={video:!0,audio:!0},this.shareGetAudio=!1,this.requestAnimationFrameTimer=null,this.presentStream=\"user\",this.displayMedia=null,this.callData={},this.callInType=2,this.socketCode=-1,this.compatible(),this.createRTC(),this.localCameraStaus=!0}return Object(c[\"a\"])(e,[{key:\"compatible\",value:function(){var e=this;window.RTCPeerConnection=window.RTCPeerConnection||window.webkitRTCPeerConnection||window.mozRTCPeerConnection||window.msRTCPeerConnection,void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia||navigator.oGetUserMedia;return t?new Promise((function(r,n){t.call(navigator,e,r,n)})):Promise.reject(new Error(\"getUserMedia is not implemented in this browser\"))}()),window.addEventListener(\"online\",(function(){console.log(\"网络连接恢复!\"),e.messageBack&&e.messageBack.call(null,{type:\"online\",code:-8,message:\"网络已恢复!\"})})),window.addEventListener(\"offline\",(function(){console.log(\"网络连接断开!\"),e.messageBack&&e.messageBack.call(null,{type:\"offline\",code:-8,message:\"网络已断开!\"})}))}},{key:\"newSocket\",value:function(){if(this.socket&&(console.log(this.socket),this.onclose(),this.socket=null),this.online()){if(!this.wsUrl)throw new Error(\"前端提示:WebSocket缺少baseURL!\");this.socket=new WebSocket(this.wsUrl),this.initSocekt()}else console.log(\"当前网络差,无法连接\")}},{key:\"initSocekt\",value:function(){this.open(),this.message(),this.error(),this.close(),this.disconnect()}},{key:\"online\",value:function(){var e=!0;return e=!!navigator.onLine,e}},{key:\"onbeforeunload\",value:function(){console.log(\"页面关闭\")}},{key:\"onunload\",value:function(){console.log(\"页面刷新\")}},{key:\"checkReadyState\",value:function(){return Number(this.socket.readyState)}},{key:\"open\",value:function(){var e=this,t=this;this.socket.onopen=function(){var r=Object(k[\"a\"])(regeneratorRuntime.mark((function r(n){var o,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:o=e.checkReadyState(),t.socketCode=o,i=\"\",r.t0=Number(o),r.next=1===r.t0?6:2===r.t0?8:3===r.t0?10:12;break;case 6:return console.log(\"连接成功\"),i=\"socket连接成功_\"+n.type,t.num=0,t.keepLive(),r.abrupt(\"break\",12);case 8:return console.log(\"连接正在关闭\"),i=\"socket连接正在关闭_\"+n.type,r.abrupt(\"break\",12);case 10:return console.log(\"连接已经关闭,或失败\"),i=\"socket连接失败_\"+n.type,t.reloadObj.num=t.reloadObj.num+1,t.reloadObj.num>=t.reloadObj.maxNum?(i=\"大于最大连接次数,停止连接,返回首页\",console.log(\"大于最大连接次数,停止连接,返回首页\"),t.reloadObj.href&&(window.location.href=t.reloadObj.href),t.reloadObj.timeOut&&clearTimeout(t.reloadObj.timeOut),t.reloadObj.timeOut=setTimeout((function(){t.close()}),t.reloadObj.reloadTime)):console.log(\"继续连接\"),r.abrupt(\"break\",12);case 12:console.log(\"open---\\x3e\",t.messageBack),t.messageBack&&(1==o?t.messageBack.call(null,{type:n.type,code:200,message:i}):t.messageBack.call(null,{type:n.type,code:-1,err:i}));case 13:case\"end\":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()}},{key:\"keepLive\",value:function(){var e=this;this.timeOutKL&&clearTimeout(this.timeOutKL),this.timeOutKL=setTimeout((function(){e.send({type:\"keepAlive\"})}),1e3*(e.keepLiveTime?e.keepLiveTime:30))}},{key:\"message\",value:function(){var e=this,t=this;console.log(\"message--\\x3e\"),this.socket.onmessage=function(r){var n=r.data,o={};if(n){var i=JSON.parse(n),a=\"\";switch(i.type){case\"login\":a=\"登录成功\";break;case\"on_answer\":a=\"已接听\",t.setRemote(i.sdp);break;case\"on_new_call\":t.callInType=i.isvideo?\"2\":\"1\",a=\"有来电呼叫\",o={isvideo:i.isvideo,fromtel:i.from||\"\"};break;case\"on_ack\":a=\"来电接听成功\",t.setRemote(i.sdp);break;case\"on_hangup\":console.log(\"被动动挂断电话\"),a=\"已挂断\",e.RTC&&t.RTC.getSenders().forEach((function(e){e&&e.track&&e.track.stop()})),e.stopStack(),e.RTC=null;var c=document.getElementById(e.remoteId);c.srcObject=null,t.requestAnimationFrameTimer&&cancelAnimationFrame(t.requestAnimationFrameTimer),e.createRTC();break;case\"hangup\":a=\"您已挂断\",console.log(\"主动挂断电话\"),e.stopStack();break;case\"keepAlive\":e.keepLive();break}i.result?\"keepAlive\"!==i.type&&t.messageBack.call(null,{code:200,type:i.type,message:a,data:o}):(t.stopStack(),t.messageBack.call(null,{code:-1,type:i.type,err:\"失败_\"+i.reason||!1}))}else t.stopStack(),console.log(\"服务器无返回数据--\")}}},{key:\"reloadSockte\",value:function(){var e=this;this.reloadObj.num=this.reloadObj.num+1,e.reloadObj.timeOut&&clearTimeout(e.reloadObj.timeOut),this.reloadObj.num>=this.reloadObj.maxNum?(e.reloadObj.href&&(window.location.href=e.reloadObj.href),e.messageBack.call(null,{code:-1,type:\"error\",err:\"重连已达到\"+this.reloadObj.maxNum+\"次,请刷新后重试\"})):e.reloadObj.timeOut=setTimeout((function(){e.newSocket()}),e.reloadObj.reloadTime)}},{key:\"errorReloadCont\",value:function(e){var t=this;this.errorTime=setTimeout((function(){t.newSocket()}),1e3*(e||10))}},{key:\"clearErrorTime\",value:function(){clearTimeout(this.errorTime)}},{key:\"error\",value:function(){var e=this,t=this;this.socket.onerror=function(r){var n={type:r.type,code:-4,err:\"socket连接错误_\"+r.type},o=new Date,i=o.getMinutes(),a=o.getSeconds();console.log(\"err----minute--\\x3e\",i,a),clearTimeout(e.reloadObj.timeOut),t.messageBack.call(null,n)}}},{key:\"close\",value:function(){var e=this,t=this;this.socket.onclose=function(r){console.log(\"close---\\x3e\",r);var n={type:r.type,code:-1,err:\"socket连接已关闭_\"+r.type};e.reloadObj.timeOut&&clearTimeout(e.reloadObj.timeOut),e.timeOutKL&&clearInterval(e.timeOutKL),t.messageBack.call(null,n)}}},{key:\"setSocketReloadConfig\",value:function(e){this.reloadObj=Object.assign(this.reloadObj,e||{})}},{key:\"disconnect\",value:function(){var e=this;this.socket.disconnect=function(t){console.log(\"disconnect\",t),e.socketCode=5;var r={type:t.type,code:-1,err:\"连接已断开_\"+t.type};e.messageBack.call(null,r)}}},{key:\"onclose\",value:function(){var e=this.checkReadyState();console.log(\"code--\\x3e\",e);var t=new Date,r=t.getMinutes(),n=t.getSeconds();if(console.log(\"minute--\\x3e\",r,n),1==e)this.socket.close();else if(2!=e){var o={type:\"close\",code:-1,err:\"socket连接已关闭_\"+e};clearTimeout(this.reloadObj.timeOut),this.messageBack.call(null,o)}}},{key:\"send\",value:function(e){var t=e;if(this.online()){var r=this.checkReadyState();if(1==r)this.socket.send(JSON.stringify(t));else{var n=new Date,o=n.getMinutes(),i=n.getSeconds();console.log(\"err----minute--\\x3e\",o,i),this.messageBack.call(null,{code:-3,type:\"error\",err:\"连接异常_\"+r})}}else this.messageBack.call(null,{code:-2,type:\"internet\",err:\"当前网络差,请检查网络后重试\"})}},{key:\"createRTC\",value:function(e){var t=this,r={};this.RTC&&(this.RTC=null),this.RTC=new RTCPeerConnection(e||r),this.RTC.onicecandidate=function(e){},this.RTC.ontrack=function(e){var r=document.getElementById(t.remoteId),n=document.getElementById(t.remoteAudioId),o=e.track;if(console.log(\"--ontrack-streams-\",e.streams),\"video\"==o.kind){if(o.contentHint=\"detail\",!r.srcObject){var i=new MediaStream;i.addTrack(o),r.srcObject=i,r.onloadedmetadata=function(){r.play()}}}else if(\"audio\"==o.kind){var a=new MediaStream;a.addTrack(e.track),n.srcObject=a,n.onloadedmetadata=function(){n.play()}}else console.log(\"remoteOntrack-err->\",e,e.track)},this.RTC.onnegotiationneeded=function(e){},this.RTC.iceconnectionstatechange=function(e){},this.RTC.icegatheringstatechange=function(e){}}},{key:\"addTracks\",value:function(e){var t=this;if(e){var r=e.getTracks();!r||r.length<1?console.log(\"无法获取视频或麦克风任一轨道数据,请查看是否开启成功\"):r.forEach((function(r){r&&(t.RTC?t.RTC.addTrack(r,e):console.log(\"that.RTC--\\x3e\",t.RTC))}))}else console.log(\"无法打开设备获取到流\",e)}},{key:\"createOffer\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.RTC.createOffer();case 2:return t=e.sent,this.Offer=t,e.next=6,this.RTC.setLocalDescription(t);case 6:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"setRemote\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.RTC.setRemoteDescription(new RTCSessionDescription({type:\"answer\",sdp:t}),(function(e){console.log(\"setsuccess---\\x3e\",e)}),(function(e){console.log(\"seterr---\\x3e\",e)}));case 1:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"getDeviceList\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:return e.abrupt(\"return\",e.sent);case 3:case\"end\":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"bindStream\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt(\"return\");case 2:if(n=document.querySelector(\"#\"+t),console.log(\"videoId--\\x3e\",t,n),n){e.next=6;break}return console.log(\"无法找到对应的dom\"),e.abrupt(\"return\");case 6:return o={video:{deviceId:r.camerId},audio:{deviceId:r.voiceId}},e.next=9,navigator.mediaDevices.getUserMedia(o);case 9:i=e.sent,a=document.getElementById(\"viewVideo\"),console.log(\"container--\\x3e\",n),console.log(\"contains---\\x3e\",n.contains(a)),n.contains(a)&&(n.innerHTML=\"\"),c=document.createElement(\"video\"),c.id=\"viewVideo\",c.autoplay=!0,c.playsInline=\"playsInline\",c.muted=!1,c.style.width=\"100%\",c.style.height=\"100%\",c.className=\"viewVideo_class\",n.appendChild(c),i&&(c.srcObject=i,c.onloadedmetadata=function(){c.play()});case 14:case\"end\":return e.stop()}}),e)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"stopLocalViewStream\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=document.querySelector(\"#\"+t+\" #viewVideo\"),n&&(o=n.srcObject.getTracks(),console.log(\"viewVideoDom--tracks--\\x3e\",o),o&&o.forEach((function(e){r?e.kind==r&&e.stop():e.stop()})),n.srcObject=null);case 2:case\"end\":return e.stop()}}),e)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"getDeviceType\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[],r=-1,e.prev=1,e.next=4,navigator.mediaDevices.enumerateDevices();case 4:t=e.sent,e.next=10;break;case 7:return e.prev=7,e.t0=e[\"catch\"](1),e.abrupt(\"return\",(this.messageBack.call(null,{code:-1,type:\"device\",err:\"失败_无法获取设备列表\"}),r));case 10:if(t){e.next=12;break}return e.abrupt(\"return\",r);case 12:return n=t.some((function(e){return(\"videoinput\"===e.kind||\"videoinput\"===e.kind)&&e.deviceId})),o=t.some((function(e){return(\"audioinput\"===e.kind||\"audiooutput\"===e.kind)&&e.deviceId})),e.abrupt(\"return\",(n&&(r=1),o&&(r=2),n&&o&&(r=3),r));case 14:case\"end\":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:\"testGetDeviceMore\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.cameraMicrophoneStream();case 1:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"closeAudio\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.audioStream.getTracks().forEach((function(e){e.stop()})),this.audioStream=null;case 1:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"getAudioOrVideoErr\",value:function(e,t){var r=null,n=1==t?\"麦克风\":2==t?\"摄像头\":\"\";return r=[{err:\"NotFoundError\",msg:\"无法获取到\"+n},{err:\"NotReadableError\",msg:n+\"无法被访问,请查看\"+n+\"是否被占用\"},{err:\"OverconstrainedError\",msg:\"无法找到指定\"+n},{err:\"TypeError\",msg:\"getUserMedia()中传入正确的参数错误\"},{err:\"PermissionDeniedError\",msg:\"用户拒绝了访问\"+n+\"的权限\"},{err:\"AbortError\",msg:\"用户禁止了媒体捕获,或者在获取媒体设备时发生了其他错误\"},{err:\"Other\",msg:\"浏览器特定的错误,或硬件问题\"},{err:\"SecurityError\",msg:\"在不安全的网页上尝试获取\"+n}].find((function(t){return e.toString().indexOf(t.err)>-1})),console.warn(\"returnErr--\\x3e\",r),r}},{key:\"cameraMicrophoneStream\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c,u,s,f,l,d,p,h,v,g,b,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=this,o=n.os(),i=640,a=480,o.isPc?(i=1280,a=720):o.isPhone&&(i=640,a=480),c=\"\",u=\"\",r&&(r.camerId&&(c=r.camerId),r.voiceId&&(u=r.voiceId),r.width&&(i=r.width),r.height&&(i=r.height)),s={video:{width:{min:320,ideal:i,max:1920},height:{min:480,ideal:a,max:1080},frameRate:25}},f={audio:{noiseSuppression:!0,echoCancellation:!0}},c&&(s.video.deviceId=c),u&&(f.audio.deviceId=u),n.camearStream&&n.camearStream.getTracks().forEach((function(e){e.stop()})),h={},1!=t){e.next=27;break}return e.prev=8,v={audio:{noiseSuppression:!0,echoCancellation:!0},video:!1},e.next=12,navigator.mediaDevices.getUserMedia(v);case 12:return p=e.sent,l=new MediaStream(Object(y[\"a\"])(p.getTracks())),e.next=16,this.addTracks(l);case 16:return this.videoStream=l,l.label=\"voice\",console.log(\"stream---\\x3e\",l.getAudioTracks(),l.getVideoTracks()),e.abrupt(\"return\",l);case 22:e.prev=22,e.t0=e[\"catch\"](8),h=n.getAudioOrVideoErr(e.t0,1),n.messageBack.call(null,{code:-1,type:\"device\",message:\"麦克风获取异常_\"+h.err,err:h.msg,data:{}});case 25:e.next=91;break;case 27:return e.prev=27,e.next=30,navigator.mediaDevices.getUserMedia(s);case 30:return d=e.sent,e.prev=31,e.next=34,navigator.mediaDevices.getUserMedia(f);case 34:return p=e.sent,l=new MediaStream([].concat(Object(y[\"a\"])(p.getTracks()),Object(y[\"a\"])(d.getTracks()))),g=l.getVideoTracks(),g[0].contentHint=\"detail\",e.next=40,this.addTracks(l);case 40:return this.videoStream=l,l.label=\"camer\",console.log(\"stream---\\x3e\",l),this.bindLocalPicture(l),e.abrupt(\"return\",l);case 47:e.prev=47,e.t1=e[\"catch\"](31),console.log(\"获取麦克风失败---\\x3e\",e.t1),h=n.getAudioOrVideoErr(e.t1,1),n.messageBack.call(null,{code:-1,type:\"device\",message:\"麦克风获取异常_\"+h.err,err:h.msg,data:{}});case 50:e.next=91;break;case 52:return e.prev=52,e.t2=e[\"catch\"](27),e.t2&&2==t&&(console.log(\"errr--\\x3e\"),h=n.getAudioOrVideoErr(e.t2,2),n.messageBack.call(null,{code:-6,type:\"device\",message:\"摄像头获取异常_\"+h.err+\",仅拉起麦克风\",err:h.msg,data:{}})),e.next=57,this.createdVirtualVideo(t);case 57:return d=e.sent,e.prev=58,b={audio:{noiseSuppression:!0,echoCancellation:!0}},e.next=62,navigator.mediaDevices.getUserMedia(b);case 62:return p=e.sent,l=new MediaStream([].concat(Object(y[\"a\"])(p.getTracks()),Object(y[\"a\"])(d.getTracks()))),console.log(\"stream--\\x3e\",l),m=l.getVideoTracks(),m[0].contentHint=\"detail\",e.next=69,this.addTracks(l);case 69:return this.videoStream=l,l.label=\"virtual\",this.bindLocalPicture(l),e.abrupt(\"return\",l);case 75:return e.prev=75,e.t3=e[\"catch\"](58),e.next=79,this.createdVirtualVideo(t);case 79:return d=e.sent,e.next=82,this.createSilentAudioStream();case 82:return p=e.sent,console.log(\"audioStream--\\x3e\",p.getTracks()),l=new MediaStream([].concat(Object(y[\"a\"])(p.getTracks()),Object(y[\"a\"])(d.getTracks()))),e.next=87,this.addTracks(l);case 87:return this.videoStream=l,h=n.getAudioOrVideoErr(e.t3,1),n.messageBack.call(null,{code:-1,type:\"device\",message:\"麦克风获取异常_\"+h.err,err:h.msg,data:{}}),e.abrupt(\"return\",l);case 91:case\"end\":return e.stop()}}),e,this,[[8,22],[27,52],[31,47],[58,75]])})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"cameraMicrophoneStream_old\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={audio:{noiseSuppression:!0,echoCancellation:!0},video:{deviceId:{exclude:[\"video\"]},width:{min:1280,ideal:1280,max:1280},height:{min:720,ideal:720,max:720},aspectRatio:16/9,frameRate:30}},e.prev=1,e.next=4,navigator.mediaDevices.getUserMedia(r);case 4:n=e.sent,e.next=24;break;case 7:if(e.prev=7,e.t0=e[\"catch\"](1),console.warn(\"无摄像头或麦克风,自动切换到麦克风--》\",e.t0),t.messageBack.call(null,{code:-6,type:\"device\",message:\"失败_设备获取异常,自动切换到语音呼叫\",err:e.t0,data:{}}),!e.t0){e.next=24;break}return e.prev=10,o={audio:{noiseSuppression:!0,echoCancellation:!0}},e.next=14,navigator.mediaDevices.getUserMedia(o);case 14:return i=e.sent,e.next=17,this.createdVirtualVideo();case 17:a=e.sent,n=new MediaStream([].concat(Object(y[\"a\"])(i.getTracks()),Object(y[\"a\"])(a.getTracks()))),e.next=24;break;case 21:e.prev=21,e.t1=e[\"catch\"](10),console.error(\"无麦克风--》\",e.t1),t.messageBack.call(null,{code:-1,type:\"device\",message:\"无法获取麦克风,不能正常使用通信功能\",err:e.t0,data:{}});case 24:if(n){e.next=27;break}return t.messageBack.call(null,{code:-1,type:\"device\",message:\"无法获取麦克风,不能正常使用通信功能\",err:err,data:{}}),e.abrupt(\"return\");case 27:return c=n.getVideoTracks(),c[0].contentHint=\"detail\",console.log(\"videoTrack--\\x3e\",n),this.videoStream=n,e.next=33,this.addTracks(n);case 33:return e.abrupt(\"return\",n);case 34:case\"end\":return e.stop()}}),e,this,[[1,7],[10,21]])})));function t(){return e.apply(this,arguments)}return t}()},{key:\"createdVirtualVideo_bck\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r=\"无 摄 像 头\",n=document.createElement(\"canvas\"),o=n.getContext(\"2d\"),i=new Image,i.width=120,i.height=120,i.src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABZtJREFUeF7tmluoVkUUx/9/6KHoIYgsKoIeCjGJLkSGKaSBRBgUZVJRZNBDaVQPSmj3i1EGFaSEL/kQPmgERRLlg1oo2QVLLOxClJkg9BCUQVT82+s0u+bs9uy9Z/b+ztkf37dAj3hmZq3122vWzKwZYsSFI+4/xgDGETDiBMZTICUAJC0BcBrJl1L696lPVARIugLA3QAMwEEAV5I80ieHYm1pDEDSeZnjnxcUPEPygVilfWrfGIAZLekhAI97DhwDsIDkR31yKsaWWADHAfgYwAWeks0kb4lR2qe2UQBcFNj831Jw4lqSb/TJsaa2RANwEDYDuMlTsoukJcihk1oAkm4HcA2AkwEcJnmrpIsA7AFwvOfxCpLrJV0PYMWASXwH4HuSj7bVUwlA0gcA5hSULCK5XdJTAFZ7v/sWwFySRyW9B2B+W+Ma9N9JckGDdsEmQQCS3nRfvtj5IMlZkiwiLApmeg3WkVwVWDLb2FnV9w6Sr6QOXgpA0ukAqjY499guUNKdADZ6yv8CcDnJvZJeAHBvqmER/faT9FeliK4oPw67Hd8Ob6Sd2Xq/yx85n3+S3skiYZH3uy0kl0qy/JC6SRL+s83/90QOzv6aNPeZGRPltdc4FAGW0ScBCM01Sea8QfBlKcniUplq46R+JR8H0wpg4pNINg1sOuSy100FmxKdSgwA13YGya0hI1pHgANgidASoiXGXFaRXNep9//ALkbn/yJA0tlZ00cA2BJuspXkjWW2tAZgU4Dku5JsSbSlMZejblm05bEzqQPg9i3mvEHw5RKSnxQNaQVA0hoAN7g1/08XBbZJymU9yU43RSEAJV+96Ksd2iyZT5JkAJKeB3CfG20NybWS7FD0akHHQpJ+Qm0VDWUAsl3hMhfyxa/u6+ocwD4AFzoNPwK4jORhSa8DuM7TvI3k4lZee50DAJoM3zmAA1lyme1pfo7kSknzskrR+wWLlpHc1MTKujYRACzc/QNa5wDmAtjtGfwHgItJHihMD2tisOyc8Eudg3W/bwDgUzcd7h8oADNUks29mwFc6naKG0m+JeksB8d+5vJYF6e3GgC27JqeY5Is7wwuAhp8KUuQlihzsa9vUWDRkCwBAF8CsPPJ9nzgaQfgIsRygeWEXDaRtKhJlrp9QN8A2Gpgq4Ivi0luSyUwVABcFNi+wC+a7iC5cJQABMtnKRCGLgJcFATLZ7EQhhVAsHw2EgBcFATLZzEQhjICvKWptHw2SgBal88CG6E5JD/0QfZiI1T2ZduWzyq2wg+S/Lcg02cArcpnNWcBq1yvJrmntwBcQkwunzU4DZqKhwHYZmv6DkNVic3dGVgRNbp81hCAqR9sPSAmcwdyQVL5LADAYFp9okq6LYi0BeCmQnT5rKIo+iyAlRV29RJAdPmsaiMkyU6fBuKcEhD9A+CiwK8u239Vls/qdoKSzgSwFsBtBQgzSX5VBJNcFu9iCjgAUeWzOgDernM5gLsAnJr92RAqx4UAnA9gf1dOVoyzhORrkoLlM0lvA7iqYoyfspcpM1JtDQE4Kbv0+Dl10Ih+9sxl4jJDUmn5rMFbhd0k/bJbhPrA+wBnkN3B2x3boGWiWuwSWGn5TJLZEXoPNDu7+Pwi1ci6N0JlT+JSdVX1OzF7WvObpGD5LHuNYrdPZ3iD/GCJruy+L8bA2pcV7i3QuQBOiBk4tq05Enh9tpzkBpf88mENxiGSv8fqabQKtB20TX9JTwKwW+dcvraLF5IDyUm1EdDGmZS+kk7JDjL2zG6W1/8JknbA6Vx6B8Al4GL57Fc7OJH8pmsCvQTgINjlydWewy9njzBtY9Op9BmAOW8Q7Os/DeBFu/Ts1HvvLV7X43Yyniuf2TObzzoZsGSQ3kbAoBzu/TI4VY7nesYRMNXE+6ZvHAF9+yJTbc/fXxAjbt8pZd0AAAAASUVORK5CYII=\",a=function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n.width=640,n.height=480,o.fillStyle=\"#000\",o.fillRect(0,0,n.width,n.height),o.fillStyle=\"#fff\",o.font=\"50px Helvetica Neue\",o.textAlign=\"center\",o.fillText(r,n.width/2,(n.height-i.height)/2),o.drawImage(i,(n.width-i.width)/2,(n.height-i.height+80)/2,i.width,i.height),t.requestAnimationFrameTimer=requestAnimationFrame(a);case 1:case\"end\":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.abrupt(\"return\",(t.requestAnimationFrameTimer&&cancelAnimationFrame(t.requestAnimationFrameTimer),a(),n.captureStream()));case 4:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"createdVirtualVideo\",value:function(e){var t=document.createElement(\"canvas\"),r=t.getContext(\"2d\"),n=this,o=e&&2==e?\"无 摄 像 头\":\"\",i=function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.width=640,t.height=480,r.fillStyle=\"black\",r.fillRect(0,0,t.width,t.height),r.fillStyle=\"#fff\",r.font=\"50px Helvetica Neue\",r.textAlign=\"center\",r.fillText(o,t.width/2,t.height/2),n.requestAnimationFrameTimer=requestAnimationFrame(i);case 1:case\"end\":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();i();var a=t.captureStream(30);return console.log(\"videoStream--\\x3e\",a),a}},{key:\"createSilentAudioStream\",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,r=new(window.AudioContext||window.webkitAudioContext),n=r.createMediaStreamDestination();if(t===1/0||t<=0){var o=r.sampleRate,i=1*o,a=r.createBuffer(1,i,o);a.getChannelData(0).fill(0),e=r.createBufferSource(),e.buffer=a,e.loop=!0}else{var c=r.sampleRate,u=c*t,s=r.createBuffer(1,u,c);s.getChannelData(0).fill(0),e=r.createBufferSource(),e.buffer=s,e.loop=!1}return e.connect(n),e.start(0),t!==1/0&&t>0&&(e.onended=function(){console.log(\"静音流播放完毕\"),r.close()}),n.stream}},{key:\"getVideoTacks\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.videoStream&&(this.videoStream.getTracks().forEach((function(e){e.stop()})),t=document.getElementById(this.localId),t.srcObject=null);case 1:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"initDom\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=u.length>0&&void 0!==u[0]?u[0]:{video:!0,audio:!0,parentId:\"\",isDrag:!0,showLocal:!0,callback:new Function},t.parentId){e.next=4;break}return console.log(\"请添加视频容器\"),e.abrupt(\"return\");case 4:if(t.callback){e.next=7;break}return console.log(\"请注册消息回调函数\"),e.abrupt(\"return\");case 7:if(this.online()){e.next=10;break}return t.callback({code:-2,type:\"internet\",err:\"当前网络差,请检查网络后重试\"}),this.messageBack=t.callback,e.abrupt(\"return\");case 10:if(this.mediaSet.video=t.video,this.mediaSet.audio=t.audio,this.messageBack=t.callback,this.newSocket(),r=document.querySelector(\"#\"+t.parentId),r){e.next=15;break}return console.log(\"无法查找到父级容器\"),t.callback({code:-2,type:\"error\",err:\"无法查找到父级容器,请查看\"}),e.abrupt(\"return\");case 15:n=document.createElement(\"video\"),o=document.createElement(\"video\"),i=document.createElement(\"audio\"),n.id=\"local_video\",n.autoplay=!0,n.playsInline=\"playsInline\",n.muted=!0,o.id=\"remote_video\",i.id=\"remote_audio\",o.autoplay=!0,o.playsInline=\"playsInline\",o.muted=!0,n.className=\"local_video_class\",o.className=\"remote_video_class\",i.style.display=\"none\",i.controls=!0,a=document.querySelector(\"#\"+t.parentId),c=document.querySelector(\"#remote_video\"),a.contains(c)?(console.log(\"已成功创建video标签\"),this.localId=\"local_video\",this.remoteId=\"remote_video\",this.remoteAudioId=\"remote_audio\",t.isDrag&&this.pcDrag(\"remote_video\",\"local_video\")):(console.log(\"没有标签,进行创建\"),r.appendChild(o),r.appendChild(n),r.appendChild(i),t.showLocal||(n.style.display=\"none\"),this.localId=\"local_video\",this.remoteId=\"remote_video\",this.remoteAudioId=\"remote_audio\",t.isDrag&&this.pcDrag(\"remote_video\",\"local_video\"));case 19:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"changeShowLocal\",value:function(e){var t=document.getElementById(this.localId);t.style.display=e?\"block\":\"none\"}},{key:\"os\",value:function(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),r=/(?:SymbianOS)/.test(e)||t,n=/(?:Android)/.test(e),o=/(?:Firefox)/.test(e),i=/(?:iPad|PlayBook)/.test(e)||n&&!/(?:Mobile)/.test(e)||o&&/(?:Tablet)/.test(e),a=/(?:iPhone)/.test(e)&&!i,c=!a&&!n&&!r;return{isTablet:i,isPhone:a,isAndroid:n,isPc:c}}},{key:\"pcDrag\",value:function(e,t){document.getElementById(e);var r=document.getElementById(t),n=this.os().isPc,o=this.os().isPhone;n?r.addEventListener(\"mousedown\",(function(r){var n=document.getElementById(e),o=document.getElementById(t),i=n.offsetWidth,a=n.offsetHeight,c=o.offsetWidth,u=o.offsetHeight,s=n.offsetLeft,f=n.offsetTop,l=r.pageX-s-o.offsetLeft,d=r.pageY-f-o.offsetTop;function p(e){var t=e.pageX-s-l,r=e.pageY-f-d;t<20&&(t=20),t>i-c&&(t=i-c),r<20&&(r=20),r>a-u&&(r=a-u),o.style.left=t+\"px\",o.style.top=r+\"px\"}document.addEventListener(\"mousemove\",p),document.addEventListener(\"mouseup\",(function(e){document.removeEventListener(\"mousemove\",p)}))})):o&&r.addEventListener(\"touchstart\",(function(r){var n=document.getElementById(e),o=document.getElementById(t),i=n.offsetWidth,a=n.offsetHeight,c=o.offsetWidth,u=o.offsetHeight,s=n.offsetLeft,f=n.offsetTop,l=document.body;l.style.overflow=\"hidden\";var d=r.pageX-s-o.offsetLeft,p=r.pageY-f-o.offsetTop;function h(e){var t=e.pageX-s-d,r=e.pageY-f-p;t<20&&(t=20),t>i-c&&(t=i-c),r<20&&(r=20),r>a-u&&(r=a-u),o.style.left=t+\"px\",o.style.top=r+\"px\"}document.addEventListener(\"touchmove\",h),document.addEventListener(\"touchend\",(function(e){l.style.overflow=\"auto\",document.removeEventListener(\"touchmove\",h)}))}))}},{key:\"login\",value:function(e){var t=Object.assign({type:\"login\"},e);this.send(t)}},{key:\"call\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:\"\",type:\"make_call\"},t),e.next=3,this.cameraMicrophoneStream(2,r);case 3:return o=e.sent,this.camearStream=o,i=this,navigator.mediaDevices.ondevicechange=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(t=e.sent.filter((function(e){return\"videoinput\"===e.kind})),console.log(\"videoDevices--\\x3e\",t),e.t0=t&&t.length>0,!e.t0){e.next=10;break}return e.next=8,i.cameraMicrophoneStream(2);case 8:o=e.sent,e.t0=o;case 10:if(!e.t0){e.next=13;break}r=o.getVideoTracks(),n=o.getAudioTracks(),i.RTC.getSenders().forEach((function(e){e.track&&\"video\"==e.track.kind?e.replaceTrack(r[0]):e.track&&\"audio\"==e.track.kind&&e.replaceTrack(n[0])})),i.camearStream=o;case 13:case\"end\":return e.stop()}}),e)}))),this.bindLocalPicture(o),e.next=10,this.createOffer();case 10:n.sdp=this.Offer.sdp,this.send(n);case 12:case\"end\":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"audioCall\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:\"\",type:\"make_call\"},t),this.getVideoTacks(),e.next=4,this.cameraMicrophoneStream(1,r);case 4:return o=e.sent,this.camearStream=o,e.next=8,this.createOffer();case 8:n.sdp=this.Offer.sdp,this.send(n);case 10:case\"end\":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"answer\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:\"\",type:\"answer\"},t),this.callData=t,console.log(\"callInType--\\x3e\",this.callInType),e.next=4,this.cameraMicrophoneStream(this.callInType,r);case 4:return o=e.sent,this.camearStream=o,i=this,navigator.mediaDevices.ondevicechange=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(t=e.sent.filter((function(e){return\"videoinput\"===e.kind})),console.log(\"videoDevices--\\x3e\",t),e.t0=t&&t.length>0,!e.t0){e.next=10;break}return e.next=8,i.cameraMicrophoneStream(a.callInType);case 8:o=e.sent,e.t0=o;case 10:if(!e.t0){e.next=13;break}r=o.getVideoTracks(),n=o.getAudioTracks(),i.RTC.getSenders().forEach((function(e){e.track&&\"video\"==e.track.kind?e.replaceTrack(r[0]):e.track&&\"audio\"==e.track.kind&&e.replaceTrack(n[0])})),i.camearStream=o;case 13:case\"end\":return e.stop()}}),e)}))),this.bindLocalPicture(o),e.next=11,this.createOffer();case 11:n.sdp=this.Offer.sdp,this.send(n);case 13:case\"end\":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"hangup\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r=Object.assign({type:\"hangup\"},t),this.send(r),n=this,n.stopStack(),n.RTC&&n.RTC.getSenders().forEach((function(e){e&&e.track&&e.track.stop()})),n.RTC=null,n.requestAnimationFrameTimer&&cancelAnimationFrame(n.requestAnimationFrameTimer),setTimeout((function(){n.createRTC()}),1e3);case 4:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"stopStack\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=document.querySelector(\"#\"+this.localId),r=document.getElementById(this.remoteId),t.srcObject&&(n=t.srcObject.getTracks(),Array.isArray(n)?n.forEach((function(e){e.stop()})):n.stop(),t.srcObject=null),r.srcObject&&(o=r.srcObject.getTracks(),Array.isArray(o)?o.forEach((function(e){e.stop()})):o.stop(),r.srcObject=null),this.displayMedia&&(i=this.displayMedia.getTracks(),Array.isArray(i)?i.forEach((function(e){e.stop()})):distrack.stop()),this.camearStream&&(a=this.camearStream.getTracks(),Array.isArray(a)?a.forEach((function(e){e.stop()})):a.stop());case 5:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"cameraUser\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(\"前置\"),this.stopStack(),r=this.os(),n=640,o=480,(r.isPc||r.isPhone)&&(n=640,o=480),i=o,a=n,t&&(t.width&&(a=t.width),t.height&&(i=t.height)),e.next=7,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{min:a,ideal:a,max:a},height:{min:i,max:i,ideal:i},facingMode:\"user\"}})[\"catch\"]((function(e){console.log(\"user--err--\",e)}));case 7:c=e.sent,c.label=\"userCamer\",this.bindLocalPicture(c),this.presentStream=\"user\",u=c.getVideoTracks(),s=c.getAudioTracks(),this.RTC.getSenders().forEach((function(e){e.track&&\"video\"==e.track.kind?e.replaceTrack(u[0]):e.track&&\"audio\"==e.track.kind&&e.replaceTrack(s[0])}));case 11:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"cameraRear\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(\"后置\"),this.stopStack(),r=this.os(),n=640,o=480,(r.isPc||r.isPhone)&&(n=640,o=480),i=o,a=n,t&&(t.width&&(a=t.width),t.height&&(i=t.height)),e.next=7,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{min:a,ideal:a,max:a},height:{min:i,max:i,ideal:i},facingMode:\"environment\"}})[\"catch\"]((function(e){console.log(\"environment--err--\",e)}));case 7:c=e.sent,c.label=\"environmentCamer\",this.bindLocalPicture(c),this.presentStream=\"environment\",u=c.getVideoTracks(),s=c.getAudioTracks(),this.RTC.getSenders().forEach((function(e){\"video\"==e.track.kind?e.replaceTrack(u[0]):\"audio\"==e.track.kind&&e.replaceTrack(s[0])}));case 11:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"microphoneChange\",value:function(e){var t=document.getElementById(this.localId);if(t&&t.srcObject){var r=t.srcObject.getAudioTracks();r[0].enabled=e}}},{key:\"cameraChange\",value:function(e){var t=document.getElementById(this.localId);if(t&&t.srcObject){var r=t.srcObject.getVideoTracks();r[0].enabled=e,this.localCameraStaus=r[0].enabled}}},{key:\"localCameraChange\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this,!t){e.next=9;break}return n=r.RTC.getSenders(),e.next=5,r.createdVirtualVideo();case 5:o=e.sent,n.forEach((function(e,t){if(e.track&&\"video\"==e.track.kind){var r=o.getVideoTracks()[0];e.replaceTrack(r)}})),e.next=15;break;case 9:if(!r.RTC){e.next=15;break}return i=r.RTC.getSenders(),e.next=13,r.cameraMicrophoneStream(2);case 13:a=e.sent.getVideoTracks()[0],i.forEach((function(e,t){e&&e.track&&\"video\"==e.track.kind&&e.replaceTrack(a)}));case 15:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"mutedChange\",value:function(e){var t=document.getElementById(\"audio_remote\");if(t.srcObject){var r=t.srcObject.getAudioTracks();r[0].enabled=e}}},{key:\"loginOut\",value:function(e){var t=Object.assign({type:\"login_out\"},e);this.send(t)}},{key:\"changePicture\",value:function(){var e=document.getElementById(this.localId),t=document.getElementById(this.remoteId),r=e.srcObject,n=t.srcObject;r&&n&&(e.srcObject=n,t.srcObject=r)}},{key:\"shareStopCheckMedia\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=this,e.next=3,this.getDeviceType();case 3:if(n=e.sent,console.log(\"deviceType--\\x3e\",n,r.displayMedia),r.displayMedia&&(o=r.displayMedia.getTracks(),console.log(\"displayStream--\\x3e\",o),o&&o.forEach((function(e){e.stop()}))),2!=n){e.next=14;break}if(!r.RTC){e.next=12;break}return i=r.RTC.getSenders(),e.next=10,r.createdVirtualVideo(2);case 10:a=e.sent,i.forEach((function(e,t){if(e.track)if(\"video\"==e.track.kind){var r=a.getVideoTracks()[0];e.replaceTrack(r)}else if(\"audio\"==e.track.kind){var n=a.getAudioTracks()[0];e.replaceTrack(n)}}));case 12:e.next=21;break;case 14:if(!r.RTC){e.next=21;break}return c=r.RTC.getSenders(),e.next=18,this.cameraMicrophoneStream(2,t);case 18:u=e.sent,s=u.getVideoTracks()[0],c.forEach((function(e,t){if(e&&e.track)if(\"video\"==e.track.kind)e.replaceTrack(s);else if(\"audio\"==e.track.kind){var r=u.getAudioTracks()[0];e.replaceTrack(r)}}));case 21:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"stopDisplayMedia\",value:function(){this.displayMedia?(this.messageBack.call(null,{code:200,type:\"share_end\",msg:\"屏幕已结束\"}),this.shareStopCheckMedia()):(console.log(\"无法获取分享视频流,请查看分享是否成功\"),this.messageBack.call(null,{code:-5,type:\"error\",err:\"无法获取分享视频流,请查看分享是否成功\"+error}))}},{key:\"getDisplayMedia\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this,!t||!t.sourcesId){e.next=7;break}return e.next=4,navigator.mediaDevices.getUserMedia({audio:!1,video:{mandatory:{chromeMediaSource:\"desktop\",chromeMediaSourceId:t.sourcesId}}})[\"catch\"]((function(e){console.log(\"获取屏幕共享失败:\",e),r.messageBack.call(null,{code:-5,type:\"error\",err:\"屏幕共享拉起失败_\"+e})}));case 4:r.displayMedia=e.sent,e.next=13;break;case 7:return n=!1,t&&t.getAudio&&(n=!!t.getAudio),r.shareGetAudio=n,o={cursor:\"always\",width:{ideal:1280,max:1280},height:{ideal:720,max:720},resizeMode:\"crop-and-scale\",chromeMediaSource:\"desktop\",logicalSurface:!1},e.next=12,navigator.mediaDevices.getDisplayMedia({video:o,audio:n,displaySurface:\"browser\"})[\"catch\"]((function(e){console.log(\"获取屏幕共享失败:\",e),r.messageBack.call(null,{code:-5,type:\"error\",err:\"屏幕共享拉起失败_\"+e})}));case 12:r.displayMedia=e.sent;case 13:r.displayMedia&&(r.bindLocalPicture(r.displayMedia),i=r.displayMedia.getVideoTracks(),a=r.displayMedia.getAudioTracks(),r.messageBack.call(null,{code:200,type:\"share_start\",message:\"开始屏幕共享\",data:{}}),c=r.RTC.getSenders(),c.forEach((function(e,t){e.track&&(\"video\"==e.track.kind?e.replaceTrack(i[0]):\"audio\"==e.track.kind&&r.shareGetAudio&&e.replaceTrack(a[0]))})),c&&c.length>0&&r.messageBack.call(null,{code:200,type:\"share_sharing\",message:\"正在共享\",data:{}}),r.displayMedia.getVideoTracks()[0].addEventListener(\"ended\",Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log(\"结束共享------\"),r.messageBack.call(null,{code:200,type:\"share_end\",message:\"屏幕已结束\",data:{}}),r.shareGetAudio=!1,r.shareStopCheckMedia();case 1:case\"end\":return e.stop()}}),e)})))));case 14:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}]),e}(),j=function(e){console.log(m);var t=m[e];if(console.log(t),!t)throw new Error(\"未找到对应的请求方法!\");return function(){return t.apply(void 0,arguments)}},E=function(e,t){var r=t.onOpen,n=t.onClose,o=t.onMessage,i=t.onError,a=t.onReconnect;e.subscribe(\"open\",(function(){console.log(\"WebSocket连接成功!\"),r&&r()})),e.subscribe(\"close\",(function(e){console.log(\"WebSocket连接关闭!\",e),n&&n(e)})),e.subscribe(\"message\",(function(e){o&&o(e)})),e.subscribe(\"error\",(function(e){console.log(\"WebSocket捕获错误:\",e),i&&i(e)})),e.subscribe(\"reconnect\",(function(e){console.log(\"WebSocket断开重连:\",e),a&&a(e)}))},T=function(e,t,r,n){var o={showBand:!0,fullscreen:!0,screenshot:!0,play:!0,audio:!0,useMSE:!0,isMute:!0,onlyPlay:2,refreshNum:5};r&&\"object\"===Object(h[\"a\"])(r)&&\"[object Object]\"===Object.prototype.toString.call(r)&&(o=Object.assign(o,r)),console.log(\"===callback====\"),console.log(n);var i=new h265v3({callBack:n||function(){},rtcServe:e.url,wsServe:e.ctrUrl,decUrl:t||\"./decoder/decoder-pro.js\",videoConfig:o});return i},A=function(e){var t=new S(e);return t},R=function(e,t,r){var n=e||\"\",o=r||\"\";return{Action:n,GongHao:t.GongHao,FenJi:t.FenJi,PlatFormCode:t.DepartmentID,Params:o}},I=new WeakMap,C=new WeakMap,P=function(){function e(t,r){var n=this,o=r.onOpen,i=r.onClose,c=r.onMessage,s=r.onError,f=r.initAction;Object(a[\"a\"])(this,e),Object(u[\"a\"])(this,I,{writable:!0,value:null}),Object(u[\"a\"])(this,C,{writable:!0,value:null}),this.config=t,Object.assign(this.config,{checkData:JSON.stringify(R(\"keeplive\",this.config))}),this.socket=j(\"websocket\")(t),E(this.socket,{onOpen:function(e){console.log(\"====onOpen=====\"),console.log(n),n.send(\"Login\"),o&&o(e)},onClose:function(e){i&&i(e)},onMessage:function(e){var t=e.data||e;0===t.indexOf(\"Back_Login(\")&&(n.config.AgentGroupName&&n.send(\"SetGroupRole\",n.config.AgentGroupName),f&&f()),c&&c(e)},onError:function(e){s&&s(e)},onReconnect:function(e){n.scoket=e}})}return Object(c[\"a\"])(e,[{key:\"send\",value:function(e,t){this.socket.send(JSON.stringify(R(e,this.config,t)))}},{key:\"getPlayer\",value:function(e,t,r,n){return p(this,I)||l(this,I,T(e,t,r,n)),p(this,I)}},{key:\"getPhoneClientObj\",value:function(e,t){return p(this,C)||(l(this,C,A(e)),t&&p(this,C).initDom(t)),p(this,C)}},{key:\"destroy\",value:function(){var e=this;p(this,I)&&p(this,I).play265Obj&&Object.keys(p(this,I).play265Obj).forEach((function(t){p(e,I).play265Obj[t].destroy(),delete p(e,I).play265Obj[t]})),l(this,I,null),this.socket.closeSocket(1e3,\"通知关闭websocket连接\"),this.socket=null,p(this,C)&&(p(this,C).onclose(),l(this,C,null))}}]),e}(),M=function(e,t){var r=t.onOpen,n=t.onClose,o=t.onMessage,i=t.onError,a=t.initAction;return window.WebSocket?new P(e,{onOpen:r,onClose:n,onMessage:o,onError:i,initAction:a}):console.error(\"您的浏览器不支持WebSocket, 请更换浏览器!\")},D={useKUcservice:M,useRequest:j};t[\"default\"]=D},fb6a:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"e8b5\"),a=r(\"68ee\"),c=r(\"861d\"),u=r(\"23cb\"),s=r(\"07fa\"),f=r(\"fc6a\"),l=r(\"8418\"),d=r(\"b622\"),p=r(\"1dde\"),h=r(\"f36a\"),v=p(\"slice\"),g=d(\"species\"),b=o.Array,m=Math.max;n({target:\"Array\",proto:!0,forced:!v},{slice:function(e,t){var r,n,o,d=f(this),p=s(d),v=u(e,p),y=u(void 0===t?p:t,p);if(i(d)&&(r=d.constructor,a(r)&&(r===b||i(r.prototype))?r=void 0:c(r)&&(r=r[g],null===r&&(r=void 0)),r===b||void 0===r))return h(d,v,y);for(n=new(void 0===r?b:r)(m(y-v,0)),o=0;v<y;v++,o++)v in d&&l(n,o,d[v]);return n.length=o,n}})},fc6a:function(e,t,r){var n=r(\"44ad\"),o=r(\"1d80\");e.exports=function(e){return n(o(e))}},fce3:function(e,t,r){var n=r(\"d039\"),o=r(\"da84\"),i=o.RegExp;e.exports=n((function(){var e=i(\".\",\"s\");return!(e.dotAll&&e.exec(\"\\n\")&&\"s\"===e.flags)}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r(\"4930\");e.exports=n&&!Symbol.sham&&\"symbol\"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r(\"da84\");e.exports=n.Promise}})}));"],"mappings":"AAAA","sourceRoot":""}
1
+ {"version":3,"file":"kucservice.umd.min.js","sources":["webpack://kucservice/kucservice.umd.min.js"],"sourcesContent":["(function(e,t){\"object\"===typeof exports&&\"object\"===typeof module?module.exports=t():\"function\"===typeof define&&define.amd?define([],t):\"object\"===typeof exports?exports[\"kucservice\"]=t():e[\"kucservice\"]=t()})(\"undefined\"!==typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e[\"default\"]}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"\",r(r.s=\"fb15\")}({\"00b4\":function(e,t,r){\"use strict\";r(\"ac1f\");var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"c65b\"),a=r(\"e330\"),c=r(\"1626\"),u=r(\"861d\"),s=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test(\"abc\")&&e}(),f=o.Error,l=a(/./.test);n({target:\"RegExp\",proto:!0,forced:!s},{test:function(e){var t=this.exec;if(!c(t))return l(this,e);var r=i(t,this,e);if(null!==r&&!u(r))throw new f(\"RegExp exec method returned something other than an Object or null\");return!!r}})},\"00ee\":function(e,t,r){var n=r(\"b622\"),o=n(\"toStringTag\"),i={};i[o]=\"z\",e.exports=\"[object z]\"===String(i)},\"01b4\":function(e,t){var r=function(){this.head=null,this.tail=null};r.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=r},\"0366\":function(e,t,r){var n=r(\"e330\"),o=r(\"59ed\"),i=r(\"40d5\"),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},\"0538\":function(e,t,r){\"use strict\";var n=r(\"da84\"),o=r(\"e330\"),i=r(\"59ed\"),a=r(\"861d\"),c=r(\"1a2d\"),u=r(\"f36a\"),s=r(\"40d5\"),f=n.Function,l=o([].concat),d=o([].join),p={},h=function(e,t,r){if(!c(p,t)){for(var n=[],o=0;o<t;o++)n[o]=\"a[\"+o+\"]\";p[t]=f(\"C,a\",\"return new C(\"+d(n,\",\")+\")\")}return p[t](e,r)};e.exports=s?f.bind:function(e){var t=i(this),r=t.prototype,n=u(arguments,1),o=function(){var r=l(n,u(arguments));return this instanceof o?h(t,r.length,r):t.apply(e,r)};return a(r)&&(o.prototype=r),o}},\"057f\":function(e,t,r){var n=r(\"c6b6\"),o=r(\"fc6a\"),i=r(\"241c\").f,a=r(\"4dae\"),c=\"object\"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return i(e)}catch(error){return a(c)}};e.exports.f=function(e){return c&&\"Window\"==n(e)?u(e):i(o(e))}},\"06cf\":function(e,t,r){var n=r(\"83ab\"),o=r(\"c65b\"),i=r(\"d1e7\"),a=r(\"5c6c\"),c=r(\"fc6a\"),u=r(\"a04b\"),s=r(\"1a2d\"),f=r(\"0cfb\"),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=c(e),t=u(t),f)try{return l(e,t)}catch(error){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},\"07fa\":function(e,t,r){var n=r(\"50c4\");e.exports=function(e){return n(e.length)}},\"0b42\":function(e,t,r){var n=r(\"da84\"),o=r(\"e8b5\"),i=r(\"68ee\"),a=r(\"861d\"),c=r(\"b622\"),u=c(\"species\"),s=n.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,i(t)&&(t===s||o(t.prototype))?t=void 0:a(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?s:t}},\"0cfb\":function(e,t,r){var n=r(\"83ab\"),o=r(\"d039\"),i=r(\"cc12\");e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i(\"div\"),\"a\",{get:function(){return 7}}).a}))},\"0d03\":function(e,t,r){var n=r(\"e330\"),o=r(\"6eeb\"),i=Date.prototype,a=\"Invalid Date\",c=\"toString\",u=n(i[c]),s=n(i.getTime);String(new Date(NaN))!=a&&o(i,c,(function(){var e=s(this);return e===e?u(this):a}))},\"0d51\":function(e,t,r){var n=r(\"da84\"),o=n.String;e.exports=function(e){try{return o(e)}catch(error){return\"Object\"}}},\"107c\":function(e,t,r){var n=r(\"d039\"),o=r(\"da84\"),i=o.RegExp;e.exports=n((function(){var e=i(\"(?<a>b)\",\"g\");return\"b\"!==e.exec(\"b\").groups.a||\"bc\"!==\"b\".replace(e,\"$<a>c\")}))},\"10d1\":function(e,t,r){\"use strict\";var n,o=r(\"da84\"),i=r(\"e330\"),a=r(\"e2cc\"),c=r(\"f183\"),u=r(\"6d61\"),s=r(\"acac\"),f=r(\"861d\"),l=r(\"4fad\"),d=r(\"69f3\").enforce,p=r(\"7f9a\"),h=!o.ActiveXObject&&\"ActiveXObject\"in o,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=u(\"WeakMap\",v,s);if(p&&h){n=s.getConstructor(v,\"WeakMap\",!0),c.enable();var b=g.prototype,m=i(b[\"delete\"]),y=i(b.has),k=i(b.get),w=i(b.set);a(b,{delete:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),m(this,e)||t.frozen[\"delete\"](e)}return m(this,e)},has:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)||t.frozen.has(e)}return y(this,e)},get:function(e){if(f(e)&&!l(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)?k(this,e):t.frozen.get(e)}return k(this,e)},set:function(e,t){if(f(e)&&!l(e)){var r=d(this);r.frozen||(r.frozen=new n),y(this,e)?w(this,e,t):r.frozen.set(e,t)}else w(this,e,t);return this}})}},1276:function(e,t,r){\"use strict\";var n=r(\"2ba4\"),o=r(\"c65b\"),i=r(\"e330\"),a=r(\"d784\"),c=r(\"44e7\"),u=r(\"825a\"),s=r(\"1d80\"),f=r(\"4840\"),l=r(\"8aa5\"),d=r(\"50c4\"),p=r(\"577e\"),h=r(\"dc4a\"),v=r(\"4dae\"),g=r(\"14c3\"),b=r(\"9263\"),m=r(\"9f7f\"),y=r(\"d039\"),k=m.UNSUPPORTED_Y,w=4294967295,x=Math.min,O=[].push,S=i(/./.exec),j=i(O),E=i(\"\".slice),T=!y((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r=\"ab\".split(e);return 2!==r.length||\"a\"!==r[0]||\"b\"!==r[1]}));a(\"split\",(function(e,t,r){var i;return i=\"c\"==\"abbc\".split(/(b)*/)[1]||4!=\"test\".split(/(?:)/,-1).length||2!=\"ab\".split(/(?:ab)*/).length||4!=\".\".split(/(.?)(.?)/).length||\".\".split(/()()/).length>1||\"\".split(/.?/).length?function(e,r){var i=p(s(this)),a=void 0===r?w:r>>>0;if(0===a)return[];if(void 0===e)return[i];if(!c(e))return o(t,i,e,a);var u,f,l,d=[],h=(e.ignoreCase?\"i\":\"\")+(e.multiline?\"m\":\"\")+(e.unicode?\"u\":\"\")+(e.sticky?\"y\":\"\"),g=0,m=new RegExp(e.source,h+\"g\");while(u=o(b,m,i)){if(f=m.lastIndex,f>g&&(j(d,E(i,g,u.index)),u.length>1&&u.index<i.length&&n(O,d,v(u,1)),l=u[0].length,g=f,d.length>=a))break;m.lastIndex===u.index&&m.lastIndex++}return g===i.length?!l&&S(m,\"\")||j(d,\"\"):j(d,E(i,g)),d.length>a?v(d,0,a):d}:\"0\".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:o(t,this,e,r)}:t,[function(t,r){var n=s(this),a=void 0==t?void 0:h(t,e);return a?o(a,t,n,r):o(i,p(n),t,r)},function(e,n){var o=u(this),a=p(e),c=r(i,o,a,n,i!==t);if(c.done)return c.value;var s=f(o,RegExp),h=o.unicode,v=(o.ignoreCase?\"i\":\"\")+(o.multiline?\"m\":\"\")+(o.unicode?\"u\":\"\")+(k?\"g\":\"y\"),b=new s(k?\"^(?:\"+o.source+\")\":o,v),m=void 0===n?w:n>>>0;if(0===m)return[];if(0===a.length)return null===g(b,a)?[a]:[];var y=0,O=0,S=[];while(O<a.length){b.lastIndex=k?0:O;var T,A=g(b,k?E(a,O):a);if(null===A||(T=x(d(b.lastIndex+(k?O:0)),a.length))===y)O=l(a,O,h);else{if(j(S,E(a,y,O)),S.length===m)return S;for(var R=1;R<=A.length-1;R++)if(j(S,A[R]),S.length===m)return S;O=y=T}}return j(S,E(a,y)),S}]}),!T,k)},\"131a\":function(e,t,r){var n=r(\"23e7\"),o=r(\"d2bb\");n({target:\"Object\",stat:!0},{setPrototypeOf:o})},\"13d5\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"d58f\").left,i=r(\"a640\"),a=r(\"2d00\"),c=r(\"605d\"),u=i(\"reduce\"),s=!c&&a>79&&a<83;n({target:\"Array\",proto:!0,forced:!u||s},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},\"14c3\":function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"825a\"),a=r(\"1626\"),c=r(\"c6b6\"),u=r(\"9263\"),s=n.TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var n=o(r,e,t);return null!==n&&i(n),n}if(\"RegExp\"===c(e))return o(u,e,t);throw s(\"RegExp#exec called on incompatible receiver\")}},\"159b\":function(e,t,r){var n=r(\"da84\"),o=r(\"fdbc\"),i=r(\"785a\"),a=r(\"17c2\"),c=r(\"9112\"),u=function(e){if(e&&e.forEach!==a)try{c(e,\"forEach\",a)}catch(error){e.forEach=a}};for(var s in o)o[s]&&u(n[s]&&n[s].prototype);u(i)},1626:function(e,t){e.exports=function(e){return\"function\"==typeof e}},\"17c2\":function(e,t,r){\"use strict\";var n=r(\"b727\").forEach,o=r(\"a640\"),i=o(\"forEach\");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},\"19aa\":function(e,t,r){var n=r(\"da84\"),o=r(\"3a9b\"),i=n.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i(\"Incorrect invocation\")}},\"1a2d\":function(e,t,r){var n=r(\"e330\"),o=r(\"7b0b\"),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},\"1be4\":function(e,t,r){var n=r(\"d066\");e.exports=n(\"document\",\"documentElement\")},\"1c7e\":function(e,t,r){var n=r(\"b622\"),o=n(\"iterator\"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,(function(){throw 2}))}catch(error){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(error){}return r}},\"1cdc\":function(e,t,r){var n=r(\"342f\");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},\"1d1c\":function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"37e8\").f;n({target:\"Object\",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},\"1d80\":function(e,t,r){var n=r(\"da84\"),o=n.TypeError;e.exports=function(e){if(void 0==e)throw o(\"Can't call method on \"+e);return e}},\"1da1\":function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return o}));r(\"d3b7\"),r(\"e6cf\");function n(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(error){return void r(error)}c.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,\"next\",e)}function u(e){n(a,o,i,c,u,\"throw\",e)}c(void 0)}))}}},\"1dde\":function(e,t,r){var n=r(\"d039\"),o=r(\"b622\"),i=r(\"2d00\"),a=o(\"species\");e.exports=function(e){return i>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,r){var n=r(\"da84\"),o=r(\"0366\"),i=r(\"c65b\"),a=r(\"825a\"),c=r(\"0d51\"),u=r(\"e95a\"),s=r(\"07fa\"),f=r(\"3a9b\"),l=r(\"9a1f\"),d=r(\"35a1\"),p=r(\"2a62\"),h=n.TypeError,v=function(e,t){this.stopped=e,this.result=t},g=v.prototype;e.exports=function(e,t,r){var n,b,m,y,k,w,x,O=r&&r.that,S=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),T=o(t,O),A=function(e){return n&&p(n,\"normal\",e),new v(!0,e)},R=function(e){return S?(a(e),E?T(e[0],e[1],A):T(e[0],e[1])):E?T(e,A):T(e)};if(j)n=e;else{if(b=d(e),!b)throw h(c(e)+\" is not iterable\");if(u(b)){for(m=0,y=s(e);y>m;m++)if(k=R(e[m]),k&&f(g,k))return k;return new v(!1)}n=l(e,b)}w=n.next;while(!(x=i(w,n)).done){try{k=R(x.value)}catch(error){p(n,\"throw\",error)}if(\"object\"==typeof k&&k&&f(g,k))return k}return new v(!1)}},\"23cb\":function(e,t,r){var n=r(\"5926\"),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},\"23e7\":function(e,t,r){var n=r(\"da84\"),o=r(\"06cf\").f,i=r(\"9112\"),a=r(\"6eeb\"),c=r(\"ce4e\"),u=r(\"e893\"),s=r(\"94ca\");e.exports=function(e,t){var r,f,l,d,p,h,v=e.target,g=e.global,b=e.stat;if(f=g?n:b?n[v]||c(v,{}):(n[v]||{}).prototype,f)for(l in t){if(p=t[l],e.noTargetGet?(h=o(f,l),d=h&&h.value):d=f[l],r=s(g?l:v+(b?\".\":\"#\")+l,e.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(e.sham||d&&d.sham)&&i(p,\"sham\",!0),a(f,l,p,e)}}},\"241c\":function(e,t,r){var n=r(\"ca84\"),o=r(\"7839\"),i=o.concat(\"length\",\"prototype\");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},\"25f0\":function(e,t,r){\"use strict\";var n=r(\"e330\"),o=r(\"5e77\").PROPER,i=r(\"6eeb\"),a=r(\"825a\"),c=r(\"3a9b\"),u=r(\"577e\"),s=r(\"d039\"),f=r(\"ad6d\"),l=\"toString\",d=RegExp.prototype,p=d[l],h=n(f),v=s((function(){return\"/a/b\"!=p.call({source:\"a\",flags:\"b\"})})),g=o&&p.name!=l;(v||g)&&i(RegExp.prototype,l,(function(){var e=a(this),t=u(e.source),r=e.flags,n=u(void 0===r&&c(d,e)&&!(\"flags\"in d)?h(e):r);return\"/\"+t+\"/\"+n}),{unsafe:!0})},2626:function(e,t,r){\"use strict\";var n=r(\"d066\"),o=r(\"9bf2\"),i=r(\"b622\"),a=r(\"83ab\"),c=i(\"species\");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},\"277d\":function(e,t,r){var n=r(\"23e7\"),o=r(\"e8b5\");n({target:\"Array\",stat:!0},{isArray:o})},2909:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return u}));r(\"277d\");function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e){if(Array.isArray(e))return n(e)}r(\"a4d3\"),r(\"e01a\"),r(\"d3b7\"),r(\"d28b\"),r(\"e260\"),r(\"3ca3\"),r(\"ddb0\"),r(\"a630\");function i(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}r(\"fb6a\"),r(\"b0c0\"),r(\"ac1f\"),r(\"00b4\");function a(e,t){if(e){if(\"string\"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===r&&e.constructor&&(r=e.constructor.name),\"Map\"===r||\"Set\"===r?Array.from(e):\"Arguments\"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}r(\"d9e2\"),r(\"d401\");function c(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function u(e){return o(e)||i(e)||a(e)||c()}},\"2a62\":function(e,t,r){var n=r(\"c65b\"),o=r(\"825a\"),i=r(\"dc4a\");e.exports=function(e,t,r){var a,c;o(e);try{if(a=i(e,\"return\"),!a){if(\"throw\"===t)throw r;return r}a=n(a,e)}catch(error){c=!0,a=error}if(\"throw\"===t)throw r;if(c)throw a;return o(a),r}},\"2ba4\":function(e,t,r){var n=r(\"40d5\"),o=Function.prototype,i=o.apply,a=o.call;e.exports=\"object\"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},\"2cf4\":function(e,t,r){var n,o,i,a,c=r(\"da84\"),u=r(\"2ba4\"),s=r(\"0366\"),f=r(\"1626\"),l=r(\"1a2d\"),d=r(\"d039\"),p=r(\"1be4\"),h=r(\"f36a\"),v=r(\"cc12\"),g=r(\"d6d6\"),b=r(\"1cdc\"),m=r(\"605d\"),y=c.setImmediate,k=c.clearImmediate,w=c.process,x=c.Dispatch,O=c.Function,S=c.MessageChannel,j=c.String,E=0,T={},A=\"onreadystatechange\";try{n=c.location}catch(error){}var R=function(e){if(l(T,e)){var t=T[e];delete T[e],t()}},I=function(e){return function(){R(e)}},C=function(e){R(e.data)},P=function(e){c.postMessage(j(e),n.protocol+\"//\"+n.host)};y&&k||(y=function(e){g(arguments.length,1);var t=f(e)?e:O(e),r=h(arguments,1);return T[++E]=function(){u(t,void 0,r)},o(E),E},k=function(e){delete T[e]},m?o=function(e){w.nextTick(I(e))}:x&&x.now?o=function(e){x.now(I(e))}:S&&!b?(i=new S,a=i.port2,i.port1.onmessage=C,o=s(a.postMessage,a)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&n&&\"file:\"!==n.protocol&&!d(P)?(o=P,c.addEventListener(\"message\",C,!1)):o=A in v(\"script\")?function(e){p.appendChild(v(\"script\"))[A]=function(){p.removeChild(this),R(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:y,clear:k}},\"2d00\":function(e,t,r){var n,o,i=r(\"da84\"),a=r(\"342f\"),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(n=f.split(\".\"),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\\/(\\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\\/(\\d+)/),n&&(o=+n[1]))),e.exports=o},3410:function(e,t,r){var n=r(\"23e7\"),o=r(\"d039\"),i=r(\"7b0b\"),a=r(\"e163\"),c=r(\"e177\"),u=o((function(){a(1)}));n({target:\"Object\",stat:!0,forced:u,sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},\"342f\":function(e,t,r){var n=r(\"d066\");e.exports=n(\"navigator\",\"userAgent\")||\"\"},\"35a1\":function(e,t,r){var n=r(\"f5df\"),o=r(\"dc4a\"),i=r(\"3f8c\"),a=r(\"b622\"),c=a(\"iterator\");e.exports=function(e){if(void 0!=e)return o(e,c)||o(e,\"@@iterator\")||i[n(e)]}},\"37e8\":function(e,t,r){var n=r(\"83ab\"),o=r(\"aed9\"),i=r(\"9bf2\"),a=r(\"825a\"),c=r(\"fc6a\"),u=r(\"df75\");t.f=n&&!o?Object.defineProperties:function(e,t){a(e);var r,n=c(t),o=u(t),s=o.length,f=0;while(s>f)i.f(e,r=o[f++],n[r]);return e}},\"3a9b\":function(e,t,r){var n=r(\"e330\");e.exports=n({}.isPrototypeOf)},\"3bbe\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=n.String,a=n.TypeError;e.exports=function(e){if(\"object\"==typeof e||o(e))return e;throw a(\"Can't set \"+i(e)+\" as a prototype\")}},\"3ca3\":function(e,t,r){\"use strict\";var n=r(\"6547\").charAt,o=r(\"577e\"),i=r(\"69f3\"),a=r(\"7dd0\"),c=\"String Iterator\",u=i.set,s=i.getterFor(c);a(String,\"String\",(function(e){u(this,{type:c,string:o(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},\"3f8c\":function(e,t){e.exports={}},\"408a\":function(e,t,r){var n=r(\"e330\");e.exports=n(1..valueOf)},\"40d5\":function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){var e=function(){}.bind();return\"function\"!=typeof e||e.hasOwnProperty(\"prototype\")}))},4160:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"17c2\");n({target:\"Array\",proto:!0,forced:[].forEach!=o},{forEach:o})},4269:function(e,t,r){\"use strict\";r.r(t),r.d(t,\"useSocket\",(function(){return T}));r(\"d9e2\"),r(\"d401\");function n(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}r(\"b8bf\"),r(\"7a82\"),r(\"131a\");function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&o(e,t)}r(\"4ae1\"),r(\"d3b7\"),r(\"f8c9\"),r(\"3410\");function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function c(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var u=r(\"53ca\");function s(e,t){if(t&&(\"object\"===Object(u[\"a\"])(t)||\"function\"===typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return n(e)}function f(e){var t=c();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return s(this,r)}}r(\"e260\"),r(\"4ec9\"),r(\"3ca3\"),r(\"ddb0\"),r(\"c975\"),r(\"0d03\"),r(\"25f0\");function l(e){return-1!==Function.toString.call(e).indexOf(\"[native code]\")}r(\"c0b6\");function d(e,t,r){return d=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=Function.bind.apply(e,n),a=new i;return r&&o(a,r.prototype),a},d.apply(null,arguments)}function p(e){var t=\"function\"===typeof Map?new Map:void 0;return p=function(e){if(null===e||!l(e))return e;if(\"function\"!==typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(\"undefined\"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)},p(e)}var h=r(\"d4ec\"),v=r(\"bee2\"),g=r(\"ade3\"),b=(r(\"4160\"),r(\"159b\"),r(\"b64b\"),r(\"13d5\"),r(\"99af\"),r(\"cca6\"),r(\"4795\"),r(\"caad\"),r(\"e9c4\"),[\"open\",\"close\",\"message\",\"error\",\"reconnect\"]),m=3e4,y=4e4,k=10,w={Type:1,Parameters:[\"alive\"]},x=1e3;function O(e){if(!e&&\"object\"!==Object(u[\"a\"])(e))throw new Error(\"error arguments\",\"deepClone\");var t=e.constructor===Array?[]:{};return Object.keys(e).forEach((function(r){e[r]&&\"object\"===Object(u[\"a\"])(e[r])?t[r]=O(e[r]):t[r]=e[r]})),t}var S=function(){function e(){Object(h[\"a\"])(this,e),Object(g[\"a\"])(this,\"deps\",new Map)}return Object(v[\"a\"])(e,[{key:\"depend\",value:function(e,t){this.deps.set(e,t)}},{key:\"notify\",value:function(e,t){this.deps.has(e)&&this.deps.get(e)(t)}}]),e}(),j=function(e){i(r,e);var t=f(r);function r(e,o){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,c=arguments.length>3?arguments[3]:void 0;Object(h[\"a\"])(this,r);var s=\"\",f=e.url,l=e.protocols,d=e.query,p=void 0===d?{}:d,v=e.greet,b=void 0===v?null:v,y=e.customBase,x=void 0===y?null:y,O=e.checkData,S=Object.keys(p).reduce((function(e,t){return\"object\"!==Object(u[\"a\"])(p[t])&&\"function\"!==typeof p[t]?e+(e.length>0?\"&\".concat(t,\"=\").concat(p[t]):\"\".concat(t,\"=\").concat(p[t])):e}),\"\");return x&&(s=x),i=t.call(this,\"\".concat(s).concat(f).concat(S?\"?\"+S:\"\"),l),Object(g[\"a\"])(n(i),\"heartCheckData\",w),Object(g[\"a\"])(n(i),\"heartCheckTimeout\",m),Object(g[\"a\"])(n(i),\"heartCheckInterval\",null),Object(g[\"a\"])(n(i),\"heartCheckCount\",k),Object(g[\"a\"])(n(i),\"firstConnect\",!1),i.self=c,i._currentOptions=e,i._dep=o,i.heartCheckData=O||w,i._reconnectCount=a,b&&Object.assign(n(i),{heartCheckData:b}),i.initSocket(),i}return Object(v[\"a\"])(r,[{key:\"initSocket\",value:function(){this.onopen=function(e){this._dep.notify(\"open\",e),this.firstConnect=!0,this.heartCheckStart()},this.onclose=function(e){var t=this;if(this._dep.notify(\"close\",e),e.code!==x){var n;this._reconnectCount++;var o=O(this._currentOptions);this.firstConnect&&(o.query.type=\"reconnect\"),(null===(n=this.self)||void 0===n?void 0:n.socketTimer)&&clearTimeout(this.self.socketTimer),this.self&&(this.self.socketTimer=setTimeout((function(){var e=new r(o,t._dep,t._reconnectCount,t.self);t._dep.notify(\"reconnect\",e)}),y))}},this.onerror=function(e){this._dep.notify(\"error\",e)},this.onmessage=function(e){var t=this;if(e.data instanceof Blob){var r=new FileReader;r.readAsArrayBuffer(e.data),r.onload=function(e){var r;e.target.readyState===FileReader.DONE&&t._dep.notify(\"message\",null===(r=e.target)||void 0===r?void 0:r.result)}}else try{this._dep.notify(\"message\",e.data)}catch(error){console.log(error)}}}},{key:\"subscribe\",value:function(e,t){if(\"function\"!==typeof t)throw new Error(\"The second param is must be a function\");if(!b.includes(e))throw new Error(\"The first param is not supported\");this._dep.depend(e,t)}},{key:\"sendMessage\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.transformJSON,n=void 0===r||r,o=e;n&&(o=JSON.stringify(e)),this.send(o)}},{key:\"closeSocket\",value:function(e,t){this.clearHeartCheck(),console.log(\"=====close code===\",e,t),this.close(e,t)}},{key:\"heartCheckStart\",value:function(){var e=this;this.heartCheckInterval=setInterval((function(){if(e.readyState===e.OPEN){var t=\"object\"===Object(u[\"a\"])(e.heartCheckData);e.sendMessage(e.heartCheckData,{transformJSON:t})}else e.clearHeartCheck()}),this.heartCheckTimeout)}},{key:\"clearHeartCheck\",value:function(){clearInterval(this.heartCheckInterval)}},{key:\"resetHeartCheck\",value:function(){clearInterval(this.heartCheckInterval),this.heartCheckStart()}}]),r}(p(WebSocket)),E={url:\"\",protocols:\"\",customBase:null,query:{}},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;if(!window.WebSocket)return console.error(\"您的浏览器不支持WebSocket, 请更换浏览器!\");var r=new S,n=0;return new j(e,r,n,t)}},\"428f\":function(e,t,r){var n=r(\"da84\");e.exports=n},\"44ad\":function(e,t,r){var n=r(\"da84\"),o=r(\"e330\"),i=r(\"d039\"),a=r(\"c6b6\"),c=n.Object,u=o(\"\".split);e.exports=i((function(){return!c(\"z\").propertyIsEnumerable(0)}))?function(e){return\"String\"==a(e)?u(e,\"\"):c(e)}:c},\"44d2\":function(e,t,r){var n=r(\"b622\"),o=r(\"7c73\"),i=r(\"9bf2\"),a=n(\"unscopables\"),c=Array.prototype;void 0==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},\"44de\":function(e,t,r){var n=r(\"da84\");e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},\"44e7\":function(e,t,r){var n=r(\"861d\"),o=r(\"c6b6\"),i=r(\"b622\"),a=i(\"match\");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:\"RegExp\"==o(e))}},\"45fc\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"b727\").some,i=r(\"a640\"),a=i(\"some\");n({target:\"Array\",proto:!0,forced:!a},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},4795:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"2ba4\"),a=r(\"1626\"),c=r(\"342f\"),u=r(\"f36a\"),s=r(\"d6d6\"),f=/MSIE .\\./.test(c),l=o.Function,d=function(e){return function(t,r){var n=s(arguments.length,1)>2,o=a(t)?t:l(t),c=n?u(arguments,2):void 0;return e(n?function(){i(o,this,c)}:o,r)}};n({global:!0,bind:!0,forced:f},{setTimeout:d(o.setTimeout),setInterval:d(o.setInterval)})},4840:function(e,t,r){var n=r(\"825a\"),o=r(\"5087\"),i=r(\"b622\"),a=i(\"species\");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},\"485a\":function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"1626\"),a=r(\"861d\"),c=n.TypeError;e.exports=function(e,t){var r,n;if(\"string\"===t&&i(r=e.toString)&&!a(n=o(r,e)))return n;if(i(r=e.valueOf)&&!a(n=o(r,e)))return n;if(\"string\"!==t&&i(r=e.toString)&&!a(n=o(r,e)))return n;throw c(\"Can't convert object to primitive value\")}},4930:function(e,t,r){var n=r(\"2d00\"),o=r(\"d039\");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},\"4ae1\":function(e,t,r){var n=r(\"23e7\"),o=r(\"d066\"),i=r(\"2ba4\"),a=r(\"0538\"),c=r(\"5087\"),u=r(\"825a\"),s=r(\"861d\"),f=r(\"7c73\"),l=r(\"d039\"),d=o(\"Reflect\",\"construct\"),p=Object.prototype,h=[].push,v=l((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),g=!l((function(){d((function(){}))})),b=v||g;n({target:\"Reflect\",stat:!0,forced:b,sham:b},{construct:function(e,t){c(e),u(t);var r=arguments.length<3?e:c(arguments[2]);if(g&&!v)return d(e,t,r);if(e==r){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 n=[null];return i(h,n,t),new(i(a,e,n))}var o=r.prototype,l=f(s(o)?o:p),b=i(e,l,t);return s(b)?b:l}})},\"4d64\":function(e,t,r){var n=r(\"fc6a\"),o=r(\"23cb\"),i=r(\"07fa\"),a=function(e){return function(t,r,a){var c,u=n(t),s=i(u),f=o(a,s);if(e&&r!=r){while(s>f)if(c=u[f++],c!=c)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===r)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},\"4dae\":function(e,t,r){var n=r(\"da84\"),o=r(\"23cb\"),i=r(\"07fa\"),a=r(\"8418\"),c=n.Array,u=Math.max;e.exports=function(e,t,r){for(var n=i(e),s=o(t,n),f=o(void 0===r?n:r,n),l=c(u(f-s,0)),d=0;s<f;s++,d++)a(l,d,e[s]);return l.length=d,l}},\"4de4\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"b727\").filter,i=r(\"1dde\"),a=i(\"filter\");n({target:\"Array\",proto:!0,forced:!a},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},\"4df4\":function(e,t,r){\"use strict\";var n=r(\"da84\"),o=r(\"0366\"),i=r(\"c65b\"),a=r(\"7b0b\"),c=r(\"9bdd\"),u=r(\"e95a\"),s=r(\"68ee\"),f=r(\"07fa\"),l=r(\"8418\"),d=r(\"9a1f\"),p=r(\"35a1\"),h=n.Array;e.exports=function(e){var t=a(e),r=s(this),n=arguments.length,v=n>1?arguments[1]:void 0,g=void 0!==v;g&&(v=o(v,n>2?arguments[2]:void 0));var b,m,y,k,w,x,O=p(t),S=0;if(!O||this==h&&u(O))for(b=f(t),m=r?new this(b):h(b);b>S;S++)x=g?v(t[S],S):t[S],l(m,S,x);else for(k=d(t,O),w=k.next,m=r?new this:[];!(y=i(w,k)).done;S++)x=g?c(k,v,[y.value,S],!0):y.value,l(m,S,x);return m.length=S,m}},\"4ec9\":function(e,t,r){\"use strict\";var n=r(\"6d61\"),o=r(\"6566\");n(\"Map\",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},\"4fad\":function(e,t,r){var n=r(\"d039\"),o=r(\"861d\"),i=r(\"c6b6\"),a=r(\"d86b\"),c=Object.isExtensible,u=n((function(){c(1)}));e.exports=u||a?function(e){return!!o(e)&&((!a||\"ArrayBuffer\"!=i(e))&&(!c||c(e)))}:c},5087:function(e,t,r){var n=r(\"da84\"),o=r(\"68ee\"),i=r(\"0d51\"),a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+\" is not a constructor\")}},\"50c4\":function(e,t,r){var n=r(\"5926\"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},5180:function(e,t,r){var n={\"./http.js\":\"8177\",\"./websocket.js\":\"4269\"};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=\"5180\"},\"53ca\":function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return n}));r(\"a4d3\"),r(\"e01a\"),r(\"d3b7\"),r(\"d28b\"),r(\"e260\"),r(\"3ca3\"),r(\"ddb0\");function n(e){return n=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},n(e)}},5692:function(e,t,r){var n=r(\"c430\"),o=r(\"c6cd\");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})(\"versions\",[]).push({version:\"3.21.1\",mode:n?\"pure\":\"global\",copyright:\"© 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})},\"56ef\":function(e,t,r){var n=r(\"d066\"),o=r(\"e330\"),i=r(\"241c\"),a=r(\"7418\"),c=r(\"825a\"),u=o([].concat);e.exports=n(\"Reflect\",\"ownKeys\")||function(e){var t=i.f(c(e)),r=a.f;return r?u(t,r(e)):t}},\"577e\":function(e,t,r){var n=r(\"da84\"),o=r(\"f5df\"),i=n.String;e.exports=function(e){if(\"Symbol\"===o(e))throw TypeError(\"Cannot convert a Symbol value to a string\");return i(e)}},5899:function(e,t){e.exports=\"\\t\\n\\v\\f\\r                 \\u2028\\u2029\\ufeff\"},\"58a8\":function(e,t,r){var n=r(\"e330\"),o=r(\"1d80\"),i=r(\"577e\"),a=r(\"5899\"),c=n(\"\".replace),u=\"[\"+a+\"]\",s=RegExp(\"^\"+u+u+\"*\"),f=RegExp(u+u+\"*$\"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=c(r,s,\"\")),2&e&&(r=c(r,f,\"\")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},5926:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){var t=+e;return t!==t||0===t?0:(t>0?n:r)(t)}},\"59ed\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=r(\"0d51\"),a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+\" is not a function\")}},\"5c6c\":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},\"5e77\":function(e,t,r){var n=r(\"83ab\"),o=r(\"1a2d\"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,\"name\"),u=c&&\"something\"===function(){}.name,s=c&&(!n||n&&a(i,\"name\").configurable);e.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},\"605d\":function(e,t,r){var n=r(\"c6b6\"),o=r(\"da84\");e.exports=\"process\"==n(o.process)},6069:function(e,t){e.exports=\"object\"==typeof window},\"60da\":function(e,t,r){\"use strict\";var n=r(\"83ab\"),o=r(\"e330\"),i=r(\"c65b\"),a=r(\"d039\"),c=r(\"df75\"),u=r(\"7418\"),s=r(\"d1e7\"),f=r(\"7b0b\"),l=r(\"44ad\"),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},\"a\",{enumerable:!0,get:function(){p(this,\"b\",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o=\"abcdefghijklmnopqrst\";return e[r]=7,o.split(\"\").forEach((function(e){t[e]=e})),7!=d({},e)[r]||c(d({},t)).join(\"\")!=o}))?function(e,t){var r=f(e),o=arguments.length,a=1,d=u.f,p=s.f;while(o>a){var v,g=l(arguments[a++]),b=d?h(c(g),d(g)):c(g),m=b.length,y=0;while(m>y)v=b[y++],n&&!i(p,g,v)||(r[v]=g[v])}return r}:d},6547:function(e,t,r){var n=r(\"e330\"),o=r(\"5926\"),i=r(\"577e\"),a=r(\"1d80\"),c=n(\"\".charAt),u=n(\"\".charCodeAt),s=n(\"\".slice),f=function(e){return function(t,r){var n,f,l=i(a(t)),d=o(r),p=l.length;return d<0||d>=p?e?\"\":void 0:(n=u(l,d),n<55296||n>56319||d+1===p||(f=u(l,d+1))<56320||f>57343?e?c(l,d):n:e?s(l,d,d+2):f-56320+(n-55296<<10)+65536)}};e.exports={codeAt:f(!1),charAt:f(!0)}},6566:function(e,t,r){\"use strict\";var n=r(\"9bf2\").f,o=r(\"7c73\"),i=r(\"e2cc\"),a=r(\"0366\"),c=r(\"19aa\"),u=r(\"2266\"),s=r(\"7dd0\"),f=r(\"2626\"),l=r(\"83ab\"),d=r(\"f183\").fastKey,p=r(\"69f3\"),h=p.set,v=p.getterFor;e.exports={getConstructor:function(e,t,r,s){var f=e((function(e,n){c(e,p),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),l||(e.size=0),void 0!=n&&u(n,e[s],{that:e,AS_ENTRIES:r})})),p=f.prototype,g=v(t),b=function(e,t,r){var n,o,i=g(e),a=m(e,t);return a?a.value=r:(i.last=a={index:o=d(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),l?i.size++:e.size++,\"F\"!==o&&(i.index[o]=a)),e},m=function(e,t){var r,n=g(e),o=d(t);if(\"F\"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(p,{clear:function(){var e=this,t=g(e),r=t.index,n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete r[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:e.size=0},delete:function(e){var t=this,r=g(t),n=m(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),l?r.size--:t.size--}return!!n},forEach:function(e){var t,r=g(this),n=a(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!m(this,e)}}),i(p,r?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),l&&n(p,\"size\",{get:function(){return g(this).size}}),f},setStrong:function(e,t,r){var n=t+\" Iterator\",o=v(t),i=v(n);s(e,t,(function(e,t){h(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?\"keys\"==t?{value:r.key,done:!1}:\"values\"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?\"entries\":\"values\",!r,!0),f(t)}}},\"65f0\":function(e,t,r){var n=r(\"0b42\");e.exports=function(e,t){return new(n(e))(0===t?0:t)}},\"68ee\":function(e,t,r){var n=r(\"e330\"),o=r(\"d039\"),i=r(\"1626\"),a=r(\"f5df\"),c=r(\"d066\"),u=r(\"8925\"),s=function(){},f=[],l=c(\"Reflect\",\"construct\"),d=/^\\s*(?:class|function)\\b/,p=n(d.exec),h=!d.exec(s),v=function(e){if(!i(e))return!1;try{return l(s,f,e),!0}catch(error){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return h||!!p(d,u(e))}catch(error){return!0}};g.sham=!0,e.exports=!l||o((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?g:v},\"69f3\":function(e,t,r){var n,o,i,a=r(\"7f9a\"),c=r(\"da84\"),u=r(\"e330\"),s=r(\"861d\"),f=r(\"9112\"),l=r(\"1a2d\"),d=r(\"c6cd\"),p=r(\"f772\"),h=r(\"d012\"),v=\"Object already initialized\",g=c.TypeError,b=c.WeakMap,m=function(e){return i(e)?o(e):n(e,{})},y=function(e){return function(t){var r;if(!s(t)||(r=o(t)).type!==e)throw g(\"Incompatible receiver, \"+e+\" required\");return r}};if(a||d.state){var k=d.state||(d.state=new b),w=u(k.get),x=u(k.has),O=u(k.set);n=function(e,t){if(x(k,e))throw new g(v);return t.facade=e,O(k,e,t),t},o=function(e){return w(k,e)||{}},i=function(e){return x(k,e)}}else{var S=p(\"state\");h[S]=!0,n=function(e,t){if(l(e,S))throw new g(v);return t.facade=e,f(e,S,t),t},o=function(e){return l(e,S)?e[S]:{}},i=function(e){return l(e,S)}}e.exports={set:n,get:o,has:i,enforce:m,getterFor:y}},\"6d61\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"e330\"),a=r(\"94ca\"),c=r(\"6eeb\"),u=r(\"f183\"),s=r(\"2266\"),f=r(\"19aa\"),l=r(\"1626\"),d=r(\"861d\"),p=r(\"d039\"),h=r(\"1c7e\"),v=r(\"d44e\"),g=r(\"7156\");e.exports=function(e,t,r){var b=-1!==e.indexOf(\"Map\"),m=-1!==e.indexOf(\"Weak\"),y=b?\"set\":\"add\",k=o[e],w=k&&k.prototype,x=k,O={},S=function(e){var t=i(w[e]);c(w,e,\"add\"==e?function(e){return t(this,0===e?0:e),this}:\"delete\"==e?function(e){return!(m&&!d(e))&&t(this,0===e?0:e)}:\"get\"==e?function(e){return m&&!d(e)?void 0:t(this,0===e?0:e)}:\"has\"==e?function(e){return!(m&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})},j=a(e,!l(k)||!(m||w.forEach&&!p((function(){(new k).entries().next()}))));if(j)x=r.getConstructor(t,e,b,y),u.enable();else if(a(e,!0)){var E=new x,T=E[y](m?{}:-0,1)!=E,A=p((function(){E.has(1)})),R=h((function(e){new k(e)})),I=!m&&p((function(){var e=new k,t=5;while(t--)e[y](t,t);return!e.has(-0)}));R||(x=t((function(e,t){f(e,w);var r=g(new k,e,x);return void 0!=t&&s(t,r[y],{that:r,AS_ENTRIES:b}),r})),x.prototype=w,w.constructor=x),(A||I)&&(S(\"delete\"),S(\"has\"),b&&S(\"get\")),(I||T)&&S(y),m&&w.clear&&delete w.clear}return O[e]=x,n({global:!0,forced:x!=k},O),v(x,e),m||r.setStrong(x,e,b),x}},\"6eeb\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=r(\"1a2d\"),a=r(\"9112\"),c=r(\"ce4e\"),u=r(\"8925\"),s=r(\"69f3\"),f=r(\"5e77\").CONFIGURABLE,l=s.get,d=s.enforce,p=String(String).split(\"String\");(e.exports=function(e,t,r,u){var s,l=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet,g=u&&void 0!==u.name?u.name:t;o(r)&&(\"Symbol(\"===String(g).slice(0,7)&&(g=\"[\"+String(g).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),(!i(r,\"name\")||f&&r.name!==g)&&a(r,\"name\",g),s=d(r),s.source||(s.source=p.join(\"string\"==typeof g?g:\"\"))),e!==n?(l?!v&&e[t]&&(h=!0):delete e[t],h?e[t]=r:a(e,t,r)):h?e[t]=r:c(t,r)})(Function.prototype,\"toString\",(function(){return o(this)&&l(this).source||u(this)}))},7156:function(e,t,r){var n=r(\"1626\"),o=r(\"861d\"),i=r(\"d2bb\");e.exports=function(e,t,r){var a,c;return i&&n(a=t.constructor)&&a!==r&&o(c=a.prototype)&&c!==r.prototype&&i(e,c),e}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},\"746f\":function(e,t,r){var n=r(\"428f\"),o=r(\"1a2d\"),i=r(\"e538\"),a=r(\"9bf2\").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},7839:function(e,t){e.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]},\"785a\":function(e,t,r){var n=r(\"cc12\"),o=n(\"span\").classList,i=o&&o.constructor&&o.constructor.prototype;e.exports=i===Object.prototype?void 0:i},\"7a82\":function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"9bf2\").f;n({target:\"Object\",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},\"7b0b\":function(e,t,r){var n=r(\"da84\"),o=r(\"1d80\"),i=n.Object;e.exports=function(e){return i(o(e))}},\"7c73\":function(e,t,r){var n,o=r(\"825a\"),i=r(\"37e8\"),a=r(\"7839\"),c=r(\"d012\"),u=r(\"1be4\"),s=r(\"cc12\"),f=r(\"f772\"),l=\">\",d=\"<\",p=\"prototype\",h=\"script\",v=f(\"IE_PROTO\"),g=function(){},b=function(e){return d+h+l+e+d+\"/\"+h+l},m=function(e){e.write(b(\"\")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=s(\"iframe\"),r=\"java\"+h+\":\";return t.style.display=\"none\",u.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(b(\"document.F=Object\")),e.close(),e.F},k=function(){try{n=new ActiveXObject(\"htmlfile\")}catch(error){}k=\"undefined\"!=typeof document?document.domain&&n?m(n):y():m(n);var e=a.length;while(e--)delete k[p][a[e]];return k()};c[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[p]=o(e),r=new g,g[p]=null,r[v]=e):r=k(),void 0===t?r:i.f(r,t)}},\"7db0\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"b727\").find,i=r(\"44d2\"),a=\"find\",c=!0;a in[]&&Array(1)[a]((function(){c=!1})),n({target:\"Array\",proto:!0,forced:c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},\"7dd0\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"c65b\"),i=r(\"c430\"),a=r(\"5e77\"),c=r(\"1626\"),u=r(\"9ed3\"),s=r(\"e163\"),f=r(\"d2bb\"),l=r(\"d44e\"),d=r(\"9112\"),p=r(\"6eeb\"),h=r(\"b622\"),v=r(\"3f8c\"),g=r(\"ae93\"),b=a.PROPER,m=a.CONFIGURABLE,y=g.IteratorPrototype,k=g.BUGGY_SAFARI_ITERATORS,w=h(\"iterator\"),x=\"keys\",O=\"values\",S=\"entries\",j=function(){return this};e.exports=function(e,t,r,a,h,g,E){u(r,t,a);var T,A,R,I=function(e){if(e===h&&L)return L;if(!k&&e in M)return M[e];switch(e){case x:return function(){return new r(this,e)};case O:return function(){return new r(this,e)};case S:return function(){return new r(this,e)}}return function(){return new r(this)}},C=t+\" Iterator\",P=!1,M=e.prototype,D=M[w]||M[\"@@iterator\"]||h&&M[h],L=!k&&D||I(h),_=\"Array\"==t&&M.entries||D;if(_&&(T=s(_.call(new e)),T!==Object.prototype&&T.next&&(i||s(T)===y||(f?f(T,y):c(T[w])||p(T,w,j)),l(T,C,!0,!0),i&&(v[C]=j))),b&&h==O&&D&&D.name!==O&&(!i&&m?d(M,\"name\",O):(P=!0,L=function(){return o(D,this)})),h)if(A={values:I(O),keys:g?L:I(x),entries:I(S)},E)for(R in A)(k||P||!(R in M))&&p(M,R,A[R]);else n({target:t,proto:!0,forced:k||P},A);return i&&!E||M[w]===L||p(M,w,L,{name:h}),v[t]=L,A}},\"7f9a\":function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=r(\"8925\"),a=n.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},8177:function(e,t,r){\"use strict\";r.r(t),r.d(t,\"useHttp\",(function(){return p}));var n=r(\"1da1\"),o=r(\"2909\"),i=(r(\"b64b\"),r(\"a4d3\"),r(\"4de4\"),r(\"d3b7\"),r(\"e439\"),r(\"4160\"),r(\"159b\"),r(\"dbb4\"),r(\"1d1c\"),r(\"7a82\"),r(\"ade3\"));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(i[\"a\"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=r(\"d4ec\"),s=r(\"bee2\"),f=r(\"d5e4\"),l=(r(\"96cf\"),r(\"c975\"),r(\"99af\"),r(\"e6cf\"),r(\"d9e2\"),r(\"d401\"),r(\"e260\"),r(\"3ca3\"),r(\"10d1\"),r(\"ddb0\"),new WeakMap),d=function(){function e(t,r,n,i){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0;Object(u[\"a\"])(this,e),Object(f[\"a\"])(this,l,{writable:!0,value:null}),this.url=t,this.method=r,this.data=n,this.headers=headers,this.success=s,this.fail=d,this.abort=new AbortController;var p=[t,c({method:r,body:n,signal:this.abort.signal},i)];if(\"GET\"==r&&n&&Object.keys(n).length>0){var h=\"?\";for(var v in t.indexOf(\"?\")>-1&&(h=\"&\"),n)h+=\"\".concat(v,\"=\").concat(n[v],\"&\");t+=h,p=[t,c({method:r,signal:this.abort.signal},i)]}a?fetch.apply(void 0,Object(o[\"a\"])(p)).then((function(e){200==e.status?s&&s(e.json()):console.log(\"请求出错\")}))[\"catch\"]((function(e){d&&d()})):this.initAsync(p,s,d)}return Object(s[\"a\"])(e,[{key:\"initAsync\",value:function(){var e=Object(n[\"a\"])(regeneratorRuntime.mark((function e(t,r,n){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch.apply(void 0,Object(o[\"a\"])(t));case 2:if(i=e.sent,!(i.status>=200&&i.status<300)){e.next=10;break}return e.next=6,i.text();case 6:a=e.sent,r&&r(a),e.next=12;break;case 10:throw n&&n(i),new Error(i.statusText);case 12:case\"end\":return e.stop()}}),e)})));function t(t,r,n){return e.apply(this,arguments)}return t}()},{key:\"getAbort\",value:function(){return this.abort}}]),e}(),p=function(e,t,r,n){var o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;return window.fetch?new d(e,t,r,n,!0,o,i):console.error(\"您的浏览器不支持fetch, 请更换浏览器!\")}},\"81d5\":function(e,t,r){\"use strict\";var n=r(\"7b0b\"),o=r(\"23cb\"),i=r(\"07fa\");e.exports=function(e){var t=n(this),r=i(t),a=arguments.length,c=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,s=void 0===u?r:o(u,r);while(s>c)t[c++]=e;return t}},\"825a\":function(e,t,r){var n=r(\"da84\"),o=r(\"861d\"),i=n.String,a=n.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+\" is not an object\")}},\"83ab\":function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){\"use strict\";var n=r(\"a04b\"),o=r(\"9bf2\"),i=r(\"5c6c\");e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},\"861d\":function(e,t,r){var n=r(\"1626\");e.exports=function(e){return\"object\"==typeof e?null!==e:n(e)}},8875:function(e,t,r){var n,o,i;(function(r,a){o=[],n=a,i=\"function\"===typeof n?n.apply(t,o):n,void 0===i||(e.exports=i)})(\"undefined\"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,\"currentScript\");if(!t&&\"currentScript\"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(err){var r,n,o,i=/.*at [^(]*\\((.*):(.+):(.+)\\)$/gi,a=/@([^@]*):(\\d+):(\\d+)\\s*$/gi,c=i.exec(err.stack)||a.exec(err.stack),u=c&&c[1]||!1,s=c&&c[2]||!1,f=document.location.href.replace(document.location.hash,\"\"),l=document.getElementsByTagName(\"script\");u===f&&(r=document.documentElement.outerHTML,n=new RegExp(\"(?:[^\\\\n]+?\\\\n){0,\"+(s-2)+\"}[^<]*<script>([\\\\d\\\\D]*?)<\\\\/script>[\\\\d\\\\D]*\",\"i\"),o=r.replace(n,\"$1\").trim());for(var d=0;d<l.length;d++){if(\"interactive\"===l[d].readyState)return l[d];if(l[d].src===u)return l[d];if(u===f&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return e}))},8925:function(e,t,r){var n=r(\"e330\"),o=r(\"1626\"),i=r(\"c6cd\"),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},\"8aa5\":function(e,t,r){\"use strict\";var n=r(\"6547\").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},\"90e3\":function(e,t,r){var n=r(\"e330\"),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return\"Symbol(\"+(void 0===e?\"\":e)+\")_\"+a(++o+i,36)}},9112:function(e,t,r){var n=r(\"83ab\"),o=r(\"9bf2\"),i=r(\"5c6c\");e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9263:function(e,t,r){\"use strict\";var n=r(\"c65b\"),o=r(\"e330\"),i=r(\"577e\"),a=r(\"ad6d\"),c=r(\"9f7f\"),u=r(\"5692\"),s=r(\"7c73\"),f=r(\"69f3\").get,l=r(\"fce3\"),d=r(\"107c\"),p=u(\"native-string-replace\",String.prototype.replace),h=RegExp.prototype.exec,v=h,g=o(\"\".charAt),b=o(\"\".indexOf),m=o(\"\".replace),y=o(\"\".slice),k=function(){var e=/a/,t=/b*/g;return n(h,e,\"a\"),n(h,t,\"a\"),0!==e.lastIndex||0!==t.lastIndex}(),w=c.BROKEN_CARET,x=void 0!==/()??/.exec(\"\")[1],O=k||x||w||l||d;O&&(v=function(e){var t,r,o,c,u,l,d,O=this,S=f(O),j=i(e),E=S.raw;if(E)return E.lastIndex=O.lastIndex,t=n(v,E,j),O.lastIndex=E.lastIndex,t;var T=S.groups,A=w&&O.sticky,R=n(a,O),I=O.source,C=0,P=j;if(A&&(R=m(R,\"y\",\"\"),-1===b(R,\"g\")&&(R+=\"g\"),P=y(j,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&\"\\n\"!==g(j,O.lastIndex-1))&&(I=\"(?: \"+I+\")\",P=\" \"+P,C++),r=new RegExp(\"^(?:\"+I+\")\",R)),x&&(r=new RegExp(\"^\"+I+\"$(?!\\\\s)\",R)),k&&(o=O.lastIndex),c=n(h,A?r:O,P),A?c?(c.input=y(c.input,C),c[0]=y(c[0],C),c.index=O.lastIndex,O.lastIndex+=c[0].length):O.lastIndex=0:k&&c&&(O.lastIndex=O.global?c.index+c[0].length:o),x&&c&&c.length>1&&n(p,c[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(c[u]=void 0)})),c&&T)for(c.groups=l=s(null),u=0;u<T.length;u++)d=T[u],l[d[0]]=c[d[1]];return c}),e.exports=v},\"94ca\":function(e,t,r){var n=r(\"d039\"),o=r(\"1626\"),i=/#|\\.prototype\\./,a=function(e,t){var r=u[c(e)];return r==f||r!=s&&(o(t)?n(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,\".\").toLowerCase()},u=a.data={},s=a.NATIVE=\"N\",f=a.POLYFILL=\"P\";e.exports=a},\"96cf\":function(e,t,r){var n=function(e){\"use strict\";var t,r=Object.prototype,n=r.hasOwnProperty,o=\"function\"===typeof Symbol?Symbol:{},i=o.iterator||\"@@iterator\",a=o.asyncIterator||\"@@asyncIterator\",c=o.toStringTag||\"@@toStringTag\";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},\"\")}catch(err){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new R(n||[]);return i._invoke=j(e,r,a),i}function f(e,t,r){try{return{type:\"normal\",arg:e.call(t,r)}}catch(err){return{type:\"throw\",arg:err}}}e.wrap=s;var l=\"suspendedStart\",d=\"suspendedYield\",p=\"executing\",h=\"completed\",v={};function g(){}function b(){}function m(){}var y={};u(y,i,(function(){return this}));var k=Object.getPrototypeOf,w=k&&k(k(I([])));w&&w!==r&&n.call(w,i)&&(y=w);var x=m.prototype=g.prototype=Object.create(y);function O(e){[\"next\",\"throw\",\"return\"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,i,a,c){var u=f(e[o],e,i);if(\"throw\"!==u.type){var s=u.arg,l=s.value;return l&&\"object\"===typeof l&&n.call(l,\"__await\")?t.resolve(l.__await).then((function(e){r(\"next\",e,a,c)}),(function(e){r(\"throw\",e,a,c)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return r(\"throw\",e,a,c)}))}c(u.arg)}var o;function i(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function j(e,t,r){var n=l;return function(o,i){if(n===p)throw new Error(\"Generator is already running\");if(n===h){if(\"throw\"===o)throw i;return C()}r.method=o,r.arg=i;while(1){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if(\"next\"===r.method)r.sent=r._sent=r.arg;else if(\"throw\"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else\"return\"===r.method&&r.abrupt(\"return\",r.arg);n=p;var u=f(e,t,r);if(\"normal\"===u.type){if(n=r.done?h:d,u.arg===v)continue;return{value:u.arg,done:r.done}}\"throw\"===u.type&&(n=h,r.method=\"throw\",r.arg=u.arg)}}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,\"throw\"===r.method){if(e.iterator[\"return\"]&&(r.method=\"return\",r.arg=t,E(e,r),\"throw\"===r.method))return v;r.method=\"throw\",r.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return v}var o=f(n,e.iterator,r.arg);if(\"throw\"===o.type)return r.method=\"throw\",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,\"return\"!==r.method&&(r.method=\"next\",r.arg=t),r.delegate=null,v):i:(r.method=\"throw\",r.arg=new TypeError(\"iterator result is not an object\"),r.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(T,this),this.reset(!0)}function I(e){if(e){var r=e[i];if(r)return r.call(e);if(\"function\"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){while(++o<e.length)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return b.prototype=m,u(x,\"constructor\",m),u(m,\"constructor\",b),b.displayName=u(m,c,\"GeneratorFunction\"),e.isGeneratorFunction=function(e){var t=\"function\"===typeof e&&e.constructor;return!!t&&(t===b||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,c,\"GeneratorFunction\")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(S.prototype),u(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),u(x,c,\"Generator\"),u(x,i,(function(){return this})),u(x,\"toString\",(function(){return\"[object Generator]\"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=I,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)\"t\"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if(\"throw\"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type=\"throw\",c.arg=e,r.next=n,o&&(r.method=\"next\",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if(\"root\"===a.tryLoc)return o(\"end\");if(a.tryLoc<=this.prev){var u=n.call(a,\"catchLoc\"),s=n.call(a,\"finallyLoc\");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error(\"try statement without catch or finally\");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,\"finallyLoc\")&&this.prev<o.finallyLoc){var i=o;break}}i&&(\"break\"===e||\"continue\"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method=\"next\",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if(\"throw\"===n.type){var o=n.arg;A(r)}return o}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},\"next\"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(o){\"object\"===typeof globalThis?globalThis.regeneratorRuntime=n:Function(\"r\",\"regeneratorRuntime = r\")(n)}},\"99af\":function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d039\"),a=r(\"e8b5\"),c=r(\"861d\"),u=r(\"7b0b\"),s=r(\"07fa\"),f=r(\"8418\"),l=r(\"65f0\"),d=r(\"1dde\"),p=r(\"b622\"),h=r(\"2d00\"),v=p(\"isConcatSpreadable\"),g=9007199254740991,b=\"Maximum allowed index exceeded\",m=o.TypeError,y=h>=51||!i((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),k=d(\"concat\"),w=function(e){if(!c(e))return!1;var t=e[v];return void 0!==t?!!t:a(e)},x=!y||!k;n({target:\"Array\",proto:!0,forced:x},{concat:function(e){var t,r,n,o,i,a=u(this),c=l(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(i=-1===t?a:arguments[t],w(i)){if(o=s(i),d+o>g)throw m(b);for(r=0;r<o;r++,d++)r in i&&f(c,d,i[r])}else{if(d>=g)throw m(b);f(c,d++,i)}return c.length=d,c}})},\"9a1f\":function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"59ed\"),a=r(\"825a\"),c=r(\"0d51\"),u=r(\"35a1\"),s=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(i(r))return a(o(r,e));throw s(c(e)+\" is not iterable\")}},\"9bdd\":function(e,t,r){var n=r(\"825a\"),o=r(\"2a62\");e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(error){o(e,\"throw\",error)}}},\"9bf2\":function(e,t,r){var n=r(\"da84\"),o=r(\"83ab\"),i=r(\"0cfb\"),a=r(\"aed9\"),c=r(\"825a\"),u=r(\"a04b\"),s=n.TypeError,f=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=\"enumerable\",p=\"configurable\",h=\"writable\";t.f=o?a?function(e,t,r){if(c(e),t=u(t),c(r),\"function\"===typeof e&&\"prototype\"===t&&\"value\"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return f(e,t,r)}:f:function(e,t,r){if(c(e),t=u(t),c(r),i)try{return f(e,t,r)}catch(error){}if(\"get\"in r||\"set\"in r)throw s(\"Accessors not supported\");return\"value\"in r&&(e[t]=r.value),e}},\"9ed3\":function(e,t,r){\"use strict\";var n=r(\"ae93\").IteratorPrototype,o=r(\"7c73\"),i=r(\"5c6c\"),a=r(\"d44e\"),c=r(\"3f8c\"),u=function(){return this};e.exports=function(e,t,r,s){var f=t+\" Iterator\";return e.prototype=o(n,{next:i(+!s,r)}),a(e,f,!1,!0),c[f]=u,e}},\"9f7f\":function(e,t,r){var n=r(\"d039\"),o=r(\"da84\"),i=o.RegExp,a=n((function(){var e=i(\"a\",\"y\");return e.lastIndex=2,null!=e.exec(\"abcd\")})),c=a||n((function(){return!i(\"a\",\"y\").sticky})),u=a||n((function(){var e=i(\"^r\",\"gy\");return e.lastIndex=2,null!=e.exec(\"str\")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:c,UNSUPPORTED_Y:a}},a04b:function(e,t,r){var n=r(\"c04e\"),o=r(\"d9b5\");e.exports=function(e){var t=n(e,\"string\");return o(t)?t:t+\"\"}},a4b4:function(e,t,r){var n=r(\"342f\");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d066\"),a=r(\"2ba4\"),c=r(\"c65b\"),u=r(\"e330\"),s=r(\"c430\"),f=r(\"83ab\"),l=r(\"4930\"),d=r(\"d039\"),p=r(\"1a2d\"),h=r(\"e8b5\"),v=r(\"1626\"),g=r(\"861d\"),b=r(\"3a9b\"),m=r(\"d9b5\"),y=r(\"825a\"),k=r(\"7b0b\"),w=r(\"fc6a\"),x=r(\"a04b\"),O=r(\"577e\"),S=r(\"5c6c\"),j=r(\"7c73\"),E=r(\"df75\"),T=r(\"241c\"),A=r(\"057f\"),R=r(\"7418\"),I=r(\"06cf\"),C=r(\"9bf2\"),P=r(\"37e8\"),M=r(\"d1e7\"),D=r(\"f36a\"),L=r(\"6eeb\"),_=r(\"5692\"),B=r(\"f772\"),N=r(\"d012\"),F=r(\"90e3\"),V=r(\"b622\"),U=r(\"e538\"),G=r(\"746f\"),z=r(\"d44e\"),J=r(\"69f3\"),W=r(\"b727\").forEach,H=B(\"hidden\"),q=\"Symbol\",K=\"prototype\",Q=V(\"toPrimitive\"),Y=J.set,Z=J.getterFor(q),X=Object[K],$=o.Symbol,ee=$&&$[K],te=o.TypeError,re=o.QObject,ne=i(\"JSON\",\"stringify\"),oe=I.f,ie=C.f,ae=A.f,ce=M.f,ue=u([].push),se=_(\"symbols\"),fe=_(\"op-symbols\"),le=_(\"string-to-symbol-registry\"),de=_(\"symbol-to-string-registry\"),pe=_(\"wks\"),he=!re||!re[K]||!re[K].findChild,ve=f&&d((function(){return 7!=j(ie({},\"a\",{get:function(){return ie(this,\"a\",{value:7}).a}})).a}))?function(e,t,r){var n=oe(X,t);n&&delete X[t],ie(e,t,r),n&&e!==X&&ie(X,t,n)}:ie,ge=function(e,t){var r=se[e]=j(ee);return Y(r,{type:q,tag:e,description:t}),f||(r.description=t),r},be=function(e,t,r){e===X&&be(fe,t,r),y(e);var n=x(t);return y(r),p(se,n)?(r.enumerable?(p(e,H)&&e[H][n]&&(e[H][n]=!1),r=j(r,{enumerable:S(0,!1)})):(p(e,H)||ie(e,H,S(1,{})),e[H][n]=!0),ve(e,n,r)):ie(e,n,r)},me=function(e,t){y(e);var r=w(t),n=E(r).concat(Oe(r));return W(n,(function(t){f&&!c(ke,r,t)||be(e,t,r[t])})),e},ye=function(e,t){return void 0===t?j(e):me(j(e),t)},ke=function(e){var t=x(e),r=c(ce,this,t);return!(this===X&&p(se,t)&&!p(fe,t))&&(!(r||!p(this,t)||!p(se,t)||p(this,H)&&this[H][t])||r)},we=function(e,t){var r=w(e),n=x(t);if(r!==X||!p(se,n)||p(fe,n)){var o=oe(r,n);return!o||!p(se,n)||p(r,H)&&r[H][n]||(o.enumerable=!0),o}},xe=function(e){var t=ae(w(e)),r=[];return W(t,(function(e){p(se,e)||p(N,e)||ue(r,e)})),r},Oe=function(e){var t=e===X,r=ae(t?fe:w(e)),n=[];return W(r,(function(e){!p(se,e)||t&&!p(X,e)||ue(n,se[e])})),n};if(l||($=function(){if(b(ee,this))throw te(\"Symbol is not a constructor\");var e=arguments.length&&void 0!==arguments[0]?O(arguments[0]):void 0,t=F(e),r=function(e){this===X&&c(r,fe,e),p(this,H)&&p(this[H],t)&&(this[H][t]=!1),ve(this,t,S(1,e))};return f&&he&&ve(X,t,{configurable:!0,set:r}),ge(t,e)},ee=$[K],L(ee,\"toString\",(function(){return Z(this).tag})),L($,\"withoutSetter\",(function(e){return ge(F(e),e)})),M.f=ke,C.f=be,P.f=me,I.f=we,T.f=A.f=xe,R.f=Oe,U.f=function(e){return ge(V(e),e)},f&&(ie(ee,\"description\",{configurable:!0,get:function(){return Z(this).description}}),s||L(X,\"propertyIsEnumerable\",ke,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:$}),W(E(pe),(function(e){G(e)})),n({target:q,stat:!0,forced:!l},{for:function(e){var t=O(e);if(p(le,t))return le[t];var r=$(t);return le[t]=r,de[r]=t,r},keyFor:function(e){if(!m(e))throw te(e+\" is not a symbol\");if(p(de,e))return de[e]},useSetter:function(){he=!0},useSimple:function(){he=!1}}),n({target:\"Object\",stat:!0,forced:!l,sham:!f},{create:ye,defineProperty:be,defineProperties:me,getOwnPropertyDescriptor:we}),n({target:\"Object\",stat:!0,forced:!l},{getOwnPropertyNames:xe,getOwnPropertySymbols:Oe}),n({target:\"Object\",stat:!0,forced:d((function(){R.f(1)}))},{getOwnPropertySymbols:function(e){return R.f(k(e))}}),ne){var Se=!l||d((function(){var e=$();return\"[null]\"!=ne([e])||\"{}\"!=ne({a:e})||\"{}\"!=ne(Object(e))}));n({target:\"JSON\",stat:!0,forced:Se},{stringify:function(e,t,r){var n=D(arguments),o=t;if((g(t)||void 0!==e)&&!m(e))return h(t)||(t=function(e,t){if(v(o)&&(t=c(o,this,e,t)),!m(t))return t}),n[1]=t,a(ne,null,n)}})}if(!ee[Q]){var je=ee.valueOf;L(ee,Q,(function(e){return c(je,this)}))}z($,q),N[H]=!0},a630:function(e,t,r){var n=r(\"23e7\"),o=r(\"4df4\"),i=r(\"1c7e\"),a=!i((function(e){Array.from(e)}));n({target:\"Array\",stat:!0,forced:a},{from:o})},a640:function(e,t,r){\"use strict\";var n=r(\"d039\");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},a9e3:function(e,t,r){\"use strict\";var n=r(\"83ab\"),o=r(\"da84\"),i=r(\"e330\"),a=r(\"94ca\"),c=r(\"6eeb\"),u=r(\"1a2d\"),s=r(\"7156\"),f=r(\"3a9b\"),l=r(\"d9b5\"),d=r(\"c04e\"),p=r(\"d039\"),h=r(\"241c\").f,v=r(\"06cf\").f,g=r(\"9bf2\").f,b=r(\"408a\"),m=r(\"58a8\").trim,y=\"Number\",k=o[y],w=k.prototype,x=o.TypeError,O=i(\"\".slice),S=i(\"\".charCodeAt),j=function(e){var t=d(e,\"number\");return\"bigint\"==typeof t?t:E(t)},E=function(e){var t,r,n,o,i,a,c,u,s=d(e,\"number\");if(l(s))throw x(\"Cannot convert a Symbol value to a number\");if(\"string\"==typeof s&&s.length>2)if(s=m(s),t=S(s,0),43===t||45===t){if(r=S(s,2),88===r||120===r)return NaN}else if(48===t){switch(S(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(i=O(s,2),a=i.length,c=0;c<a;c++)if(u=S(i,c),u<48||u>o)return NaN;return parseInt(i,n)}return+s};if(a(y,!k(\" 0o1\")||!k(\"0b1\")||k(\"+0x1\"))){for(var T,A=function(e){var t=arguments.length<1?0:k(j(e)),r=this;return f(w,r)&&p((function(){b(r)}))?s(Object(t),r,A):t},R=n?h(k):\"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range\".split(\",\"),I=0;R.length>I;I++)u(k,T=R[I])&&!u(A,T)&&g(A,T,v(k,T));A.prototype=w,w.constructor=A,c(o,y,A)}},aa1f:function(e,t,r){\"use strict\";var n=r(\"83ab\"),o=r(\"d039\"),i=r(\"825a\"),a=r(\"7c73\"),c=r(\"e391\"),u=Error.prototype.toString,s=o((function(){if(n){var e=a(Object.defineProperty({},\"name\",{get:function(){return this===e}}));if(\"true\"!==u.call(e))return!0}return\"2: 1\"!==u.call({message:1,name:2})||\"Error\"!==u.call({})}));e.exports=s?function(){var e=i(this),t=c(e.name,\"Error\"),r=c(e.message);return t?r?t+\": \"+r:t:r}:u},ab36:function(e,t,r){var n=r(\"861d\"),o=r(\"9112\");e.exports=function(e,t){n(t)&&\"cause\"in t&&o(e,\"cause\",t.cause)}},ac1f:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"9263\");n({target:\"RegExp\",proto:!0,forced:/./.exec!==o},{exec:o})},acac:function(e,t,r){\"use strict\";var n=r(\"e330\"),o=r(\"e2cc\"),i=r(\"f183\").getWeakData,a=r(\"825a\"),c=r(\"861d\"),u=r(\"19aa\"),s=r(\"2266\"),f=r(\"b727\"),l=r(\"1a2d\"),d=r(\"69f3\"),p=d.set,h=d.getterFor,v=f.find,g=f.findIndex,b=n([].splice),m=0,y=function(e){return e.frozen||(e.frozen=new k)},k=function(){this.entries=[]},w=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};k.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var r=w(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&b(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var f=e((function(e,o){u(e,d),p(e,{type:t,id:m++,frozen:void 0}),void 0!=o&&s(o,e[n],{that:e,AS_ENTRIES:r})})),d=f.prototype,v=h(t),g=function(e,t,r){var n=v(e),o=i(a(t),!0);return!0===o?y(n).set(t,r):o[n.id]=r,e};return o(d,{delete:function(e){var t=v(this);if(!c(e))return!1;var r=i(e);return!0===r?y(t)[\"delete\"](e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!c(e))return!1;var r=i(e);return!0===r?y(t).has(e):r&&l(r,t.id)}}),o(d,r?{get:function(e){var t=v(this);if(c(e)){var r=i(e);return!0===r?y(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),f}}},ad6d:function(e,t,r){\"use strict\";var n=r(\"825a\");e.exports=function(){var e=n(this),t=\"\";return e.global&&(t+=\"g\"),e.ignoreCase&&(t+=\"i\"),e.multiline&&(t+=\"m\"),e.dotAll&&(t+=\"s\"),e.unicode&&(t+=\"u\"),e.sticky&&(t+=\"y\"),t}},ade3:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return n}));r(\"7a82\");function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},ae93:function(e,t,r){\"use strict\";var n,o,i,a=r(\"d039\"),c=r(\"1626\"),u=r(\"7c73\"),s=r(\"e163\"),f=r(\"6eeb\"),l=r(\"b622\"),d=r(\"c430\"),p=l(\"iterator\"),h=!1;[].keys&&(i=[].keys(),\"next\"in i?(o=s(s(i)),o!==Object.prototype&&(n=o)):h=!0);var v=void 0==n||a((function(){var e={};return n[p].call(e)!==e}));v?n={}:d&&(n=u(n)),c(n[p])||f(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},aed9:function(e,t,r){var n=r(\"83ab\"),o=r(\"d039\");e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),\"prototype\",{value:42,writable:!1}).prototype}))},b041:function(e,t,r){\"use strict\";var n=r(\"00ee\"),o=r(\"f5df\");e.exports=n?{}.toString:function(){return\"[object \"+o(this)+\"]\"}},b0c0:function(e,t,r){var n=r(\"83ab\"),o=r(\"5e77\").EXISTS,i=r(\"e330\"),a=r(\"9bf2\").f,c=Function.prototype,u=i(c.toString),s=/function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/,f=i(s.exec),l=\"name\";n&&!o&&a(c,l,{configurable:!0,get:function(){try{return f(s,u(this))[1]}catch(error){return\"\"}}})},b575:function(e,t,r){var n,o,i,a,c,u,s,f,l=r(\"da84\"),d=r(\"0366\"),p=r(\"06cf\").f,h=r(\"2cf4\").set,v=r(\"1cdc\"),g=r(\"d4c3\"),b=r(\"a4b4\"),m=r(\"605d\"),y=l.MutationObserver||l.WebKitMutationObserver,k=l.document,w=l.process,x=l.Promise,O=p(l,\"queueMicrotask\"),S=O&&O.value;S||(n=function(){var e,t;m&&(e=w.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(error){throw o?a():i=void 0,error}}i=void 0,e&&e.enter()},v||m||b||!y||!k?!g&&x&&x.resolve?(s=x.resolve(void 0),s.constructor=x,f=d(s.then,s),a=function(){f(n)}):m?a=function(){w.nextTick(n)}:(h=d(h,l),a=function(){h(n)}):(c=!0,u=k.createTextNode(\"\"),new y(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},b622:function(e,t,r){var n=r(\"da84\"),o=r(\"5692\"),i=r(\"1a2d\"),a=r(\"90e3\"),c=r(\"4930\"),u=r(\"fdbf\"),s=o(\"wks\"),f=n.Symbol,l=f&&f[\"for\"],d=u?f:f&&f.withoutSetter||a;e.exports=function(e){if(!i(s,e)||!c&&\"string\"!=typeof s[e]){var t=\"Symbol.\"+e;c&&i(f,e)?s[e]=f[e]:s[e]=u&&l?l(t):d(t)}return s[e]}},b64b:function(e,t,r){var n=r(\"23e7\"),o=r(\"7b0b\"),i=r(\"df75\"),a=r(\"d039\"),c=a((function(){i(1)}));n({target:\"Object\",stat:!0,forced:c},{keys:function(e){return i(o(e))}})},b727:function(e,t,r){var n=r(\"0366\"),o=r(\"e330\"),i=r(\"44ad\"),a=r(\"7b0b\"),c=r(\"07fa\"),u=r(\"65f0\"),s=o([].push),f=function(e){var t=1==e,r=2==e,o=3==e,f=4==e,l=6==e,d=7==e,p=5==e||l;return function(h,v,g,b){for(var m,y,k=a(h),w=i(k),x=n(v,g),O=c(w),S=0,j=b||u,E=t?j(h,O):r||d?j(h,0):void 0;O>S;S++)if((p||S in w)&&(m=w[S],y=x(m,S,k),e))if(t)E[S]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:s(E,m)}else switch(e){case 4:return!1;case 7:s(E,m)}return l?-1:o||f?f:E}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},b8bf:function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"7c73\");n({target:\"Object\",stat:!0,sham:!o},{create:i})},b980:function(e,t,r){var n=r(\"d039\"),o=r(\"5c6c\");e.exports=!n((function(){var e=Error(\"a\");return!(\"stack\"in e)||(Object.defineProperty(e,\"stack\",o(1,7)),7!==e.stack)}))},bb2f:function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bee2:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return o}));r(\"7a82\");function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,\"prototype\",{writable:!1}),e}},c04e:function(e,t,r){var n=r(\"da84\"),o=r(\"c65b\"),i=r(\"861d\"),a=r(\"d9b5\"),c=r(\"dc4a\"),u=r(\"485a\"),s=r(\"b622\"),f=n.TypeError,l=s(\"toPrimitive\");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,n=c(e,l);if(n){if(void 0===t&&(t=\"default\"),r=o(n,e,t),!i(r)||a(r))return r;throw f(\"Can't convert object to primitive value\")}return void 0===t&&(t=\"number\"),u(e,t)}},c0b6:function(e,t,r){var n=r(\"23e7\"),o=r(\"0538\");n({target:\"Function\",proto:!0,forced:Function.bind!==o},{bind:o})},c430:function(e,t){e.exports=!1},c65b:function(e,t,r){var n=r(\"40d5\"),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(e,t,r){var n=r(\"e330\"),o=n({}.toString),i=n(\"\".slice);e.exports=function(e){return i(o(e),8,-1)}},c6cd:function(e,t,r){var n=r(\"da84\"),o=r(\"ce4e\"),i=\"__core-js_shared__\",a=n[i]||o(i,{});e.exports=a},c770:function(e,t,r){var n=r(\"e330\"),o=n(\"\".replace),i=function(e){return String(Error(e).stack)}(\"zxcasd\"),a=/\\n\\s*at [^:]*:[^\\n]*/,c=a.test(i);e.exports=function(e,t){if(c&&\"string\"==typeof e)while(t--)e=o(e,a,\"\");return e}},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function(\"return this\")()}catch(n){\"object\"===typeof window&&(r=window)}e.exports=r},c975:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"e330\"),i=r(\"4d64\").indexOf,a=r(\"a640\"),c=o([].indexOf),u=!!c&&1/c([1],1,-0)<0,s=a(\"indexOf\");n({target:\"Array\",proto:!0,forced:u||!s},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?c(this,e,t)||0:i(this,e,t)}})},ca84:function(e,t,r){var n=r(\"e330\"),o=r(\"1a2d\"),i=r(\"fc6a\"),a=r(\"4d64\").indexOf,c=r(\"d012\"),u=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,f=[];for(r in n)!o(c,r)&&o(n,r)&&u(f,r);while(t.length>s)o(n,r=t[s++])&&(~a(f,r)||u(f,r));return f}},caad:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"4d64\").includes,i=r(\"44d2\");n({target:\"Array\",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(\"includes\")},cb29:function(e,t,r){var n=r(\"23e7\"),o=r(\"81d5\"),i=r(\"44d2\");n({target:\"Array\",proto:!0},{fill:o}),i(\"fill\")},cc12:function(e,t,r){var n=r(\"da84\"),o=r(\"861d\"),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},cca6:function(e,t,r){var n=r(\"23e7\"),o=r(\"60da\");n({target:\"Object\",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(e,t,r){var n=r(\"825a\"),o=r(\"861d\"),i=r(\"f069\");e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},ce4e:function(e,t,r){var n=r(\"da84\"),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(error){n[e]=t}return t}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(error){return!0}}},d066:function(e,t,r){var n=r(\"da84\"),o=r(\"1626\"),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},d1e7:function(e,t,r){\"use strict\";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r(\"746f\");n(\"iterator\")},d2bb:function(e,t,r){var n=r(\"e330\"),o=r(\"825a\"),i=r(\"3bbe\");e.exports=Object.setPrototypeOf||(\"__proto__\"in{}?function(){var e,t=!1,r={};try{e=n(Object.getOwnPropertyDescriptor(Object.prototype,\"__proto__\").set),e(r,[]),t=r instanceof Array}catch(error){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},d3b7:function(e,t,r){var n=r(\"00ee\"),o=r(\"6eeb\"),i=r(\"b041\");n||o(Object.prototype,\"toString\",i,{unsafe:!0})},d401:function(e,t,r){var n=r(\"6eeb\"),o=r(\"aa1f\"),i=Error.prototype;i.toString!==o&&n(i,\"toString\",o)},d44e:function(e,t,r){var n=r(\"9bf2\").f,o=r(\"1a2d\"),i=r(\"b622\"),a=i(\"toStringTag\");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,a)&&n(e,a,{configurable:!0,value:t})}},d4c3:function(e,t,r){var n=r(\"342f\"),o=r(\"da84\");e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},d4ec:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return n}));r(\"d9e2\"),r(\"d401\");function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}},d58f:function(e,t,r){var n=r(\"da84\"),o=r(\"59ed\"),i=r(\"7b0b\"),a=r(\"44ad\"),c=r(\"07fa\"),u=n.TypeError,s=function(e){return function(t,r,n,s){o(r);var f=i(t),l=a(f),d=c(f),p=e?d-1:0,h=e?-1:1;if(n<2)while(1){if(p in l){s=l[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw u(\"Reduce of empty array with no initial value\")}for(;e?p>=0:d>p;p+=h)p in l&&(s=r(s,l[p],p,f));return s}};e.exports={left:s(!1),right:s(!0)}},d5e4:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return o}));r(\"d9e2\"),r(\"d401\");function n(e,t){if(t.has(e))throw new TypeError(\"Cannot initialize the same private elements twice on an object\")}function o(e,t,r){n(e,t),t.set(e,r)}},d6d6:function(e,t,r){var n=r(\"da84\"),o=n.TypeError;e.exports=function(e,t){if(e<t)throw o(\"Not enough arguments\");return e}},d784:function(e,t,r){\"use strict\";r(\"ac1f\");var n=r(\"e330\"),o=r(\"6eeb\"),i=r(\"9263\"),a=r(\"d039\"),c=r(\"b622\"),u=r(\"9112\"),s=c(\"species\"),f=RegExp.prototype;e.exports=function(e,t,r,l){var d=c(e),p=!a((function(){var t={};return t[d]=function(){return 7},7!=\"\"[e](t)})),h=p&&!a((function(){var t=!1,r=/a/;return\"split\"===e&&(r={},r.constructor={},r.constructor[s]=function(){return r},r.flags=\"\",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](\"\"),!t}));if(!p||!h||r){var v=n(/./[d]),g=t(d,\"\"[e],(function(e,t,r,o,a){var c=n(e),u=t.exec;return u===i||u===f.exec?p&&!a?{done:!0,value:v(t,r,o)}:{done:!0,value:c(r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(f,d,g[1])}l&&u(f[d],\"sham\",!0)}},d86b:function(e,t,r){var n=r(\"d039\");e.exports=n((function(){if(\"function\"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,\"a\",{value:8})}}))},d9b5:function(e,t,r){var n=r(\"da84\"),o=r(\"d066\"),i=r(\"1626\"),a=r(\"3a9b\"),c=r(\"fdbf\"),u=n.Object;e.exports=c?function(e){return\"symbol\"==typeof e}:function(e){var t=o(\"Symbol\");return i(t)&&a(t.prototype,u(e))}},d9e2:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"2ba4\"),a=r(\"e5cb\"),c=\"WebAssembly\",u=o[c],s=7!==Error(\"e\",{cause:7}).cause,f=function(e,t){var r={};r[e]=a(e,t,s),n({global:!0,forced:s},r)},l=function(e,t){if(u&&u[e]){var r={};r[e]=a(c+\".\"+e,t,s),n({target:c,stat:!0,forced:s},r)}};f(\"Error\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"EvalError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"RangeError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"ReferenceError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"SyntaxError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"TypeError\",(function(e){return function(t){return i(e,this,arguments)}})),f(\"URIError\",(function(e){return function(t){return i(e,this,arguments)}})),l(\"CompileError\",(function(e){return function(t){return i(e,this,arguments)}})),l(\"LinkError\",(function(e){return function(t){return i(e,this,arguments)}})),l(\"RuntimeError\",(function(e){return function(t){return i(e,this,arguments)}}))},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r(\"object\"==typeof globalThis&&globalThis)||r(\"object\"==typeof window&&window)||r(\"object\"==typeof self&&self)||r(\"object\"==typeof t&&t)||function(){return this}()||Function(\"return this\")()}).call(this,r(\"c8ba\"))},dbb4:function(e,t,r){var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"56ef\"),a=r(\"fc6a\"),c=r(\"06cf\"),u=r(\"8418\");n({target:\"Object\",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),o=c.f,s=i(n),f={},l=0;while(s.length>l)r=o(n,t=s[l++]),void 0!==r&&u(f,t,r);return f}})},dc4a:function(e,t,r){var n=r(\"59ed\");e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},ddb0:function(e,t,r){var n=r(\"da84\"),o=r(\"fdbc\"),i=r(\"785a\"),a=r(\"e260\"),c=r(\"9112\"),u=r(\"b622\"),s=u(\"iterator\"),f=u(\"toStringTag\"),l=a.values,d=function(e,t){if(e){if(e[s]!==l)try{c(e,s,l)}catch(error){e[s]=l}if(e[f]||c(e,f,t),o[t])for(var r in a)if(e[r]!==a[r])try{c(e,r,a[r])}catch(error){e[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,\"DOMTokenList\")},df75:function(e,t,r){var n=r(\"ca84\"),o=r(\"7839\");e.exports=Object.keys||function(e){return n(e,o)}},e01a:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"83ab\"),i=r(\"da84\"),a=r(\"e330\"),c=r(\"1a2d\"),u=r(\"1626\"),s=r(\"3a9b\"),f=r(\"577e\"),l=r(\"9bf2\").f,d=r(\"e893\"),p=i.Symbol,h=p&&p.prototype;if(o&&u(p)&&(!(\"description\"in h)||void 0!==p().description)){var v={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),t=s(h,this)?new p(e):void 0===e?p():p(e);return\"\"===e&&(v[t]=!0),t};d(g,p),g.prototype=h,h.constructor=g;var b=\"Symbol(test)\"==String(p(\"test\")),m=a(h.toString),y=a(h.valueOf),k=/^Symbol\\((.*)\\)[^)]+$/,w=a(\"\".replace),x=a(\"\".slice);l(h,\"description\",{configurable:!0,get:function(){var e=y(this),t=m(e);if(c(v,e))return\"\";var r=b?x(t,7,-1):w(t,k,\"$1\");return\"\"===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:g})}},e163:function(e,t,r){var n=r(\"da84\"),o=r(\"1a2d\"),i=r(\"1626\"),a=r(\"7b0b\"),c=r(\"f772\"),u=r(\"e177\"),s=c(\"IE_PROTO\"),f=n.Object,l=f.prototype;e.exports=u?f.getPrototypeOf:function(e){var t=a(e);if(o(t,s))return t[s];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof f?l:null}},e177:function(e,t,r){var n=r(\"d039\");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,r){\"use strict\";var n=r(\"fc6a\"),o=r(\"44d2\"),i=r(\"3f8c\"),a=r(\"69f3\"),c=r(\"9bf2\").f,u=r(\"7dd0\"),s=r(\"c430\"),f=r(\"83ab\"),l=\"Array Iterator\",d=a.set,p=a.getterFor(l);e.exports=u(Array,\"Array\",(function(e,t){d(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):\"keys\"==r?{value:n,done:!1}:\"values\"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),\"values\");var h=i.Arguments=i.Array;if(o(\"keys\"),o(\"values\"),o(\"entries\"),!s&&f&&\"values\"!==h.name)try{c(h,\"name\",{value:\"values\"})}catch(error){}},e2cc:function(e,t,r){var n=r(\"6eeb\");e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},e330:function(e,t,r){var n=r(\"40d5\"),o=Function.prototype,i=o.bind,a=o.call,c=n&&i.bind(a,a);e.exports=n?function(e){return e&&c(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},e391:function(e,t,r){var n=r(\"577e\");e.exports=function(e,t){return void 0===e?arguments.length<2?\"\":t:n(e)}},e439:function(e,t,r){var n=r(\"23e7\"),o=r(\"d039\"),i=r(\"fc6a\"),a=r(\"06cf\").f,c=r(\"83ab\"),u=o((function(){a(1)})),s=!c||u;n({target:\"Object\",stat:!0,forced:s,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},e538:function(e,t,r){var n=r(\"b622\");t.f=n},e5cb:function(e,t,r){\"use strict\";var n=r(\"d066\"),o=r(\"1a2d\"),i=r(\"9112\"),a=r(\"3a9b\"),c=r(\"d2bb\"),u=r(\"e893\"),s=r(\"7156\"),f=r(\"e391\"),l=r(\"ab36\"),d=r(\"c770\"),p=r(\"b980\"),h=r(\"c430\");e.exports=function(e,t,r,v){var g=v?2:1,b=e.split(\".\"),m=b[b.length-1],y=n.apply(null,b);if(y){var k=y.prototype;if(!h&&o(k,\"cause\")&&delete k.cause,!r)return y;var w=n(\"Error\"),x=t((function(e,t){var r=f(v?t:e,void 0),n=v?new y(e):new y;return void 0!==r&&i(n,\"message\",r),p&&i(n,\"stack\",d(n.stack,2)),this&&a(k,this)&&s(n,this,x),arguments.length>g&&l(n,arguments[g]),n}));if(x.prototype=k,\"Error\"!==m&&(c?c(x,w):u(x,w,{name:!0})),u(x,y),!h)try{k.name!==m&&i(k,\"name\",m),k.constructor=x}catch(error){}return x}}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(error){return{error:!0,value:error}}}},e6cf:function(e,t,r){\"use strict\";var n,o,i,a,c=r(\"23e7\"),u=r(\"c430\"),s=r(\"da84\"),f=r(\"d066\"),l=r(\"c65b\"),d=r(\"fea9\"),p=r(\"6eeb\"),h=r(\"e2cc\"),v=r(\"d2bb\"),g=r(\"d44e\"),b=r(\"2626\"),m=r(\"59ed\"),y=r(\"1626\"),k=r(\"861d\"),w=r(\"19aa\"),x=r(\"8925\"),O=r(\"2266\"),S=r(\"1c7e\"),j=r(\"4840\"),E=r(\"2cf4\").set,T=r(\"b575\"),A=r(\"cdf9\"),R=r(\"44de\"),I=r(\"f069\"),C=r(\"e667\"),P=r(\"01b4\"),M=r(\"69f3\"),D=r(\"94ca\"),L=r(\"b622\"),_=r(\"6069\"),B=r(\"605d\"),N=r(\"2d00\"),F=L(\"species\"),V=\"Promise\",U=M.getterFor(V),G=M.set,z=M.getterFor(V),J=d&&d.prototype,W=d,H=J,q=s.TypeError,K=s.document,Q=s.process,Y=I.f,Z=Y,X=!!(K&&K.createEvent&&s.dispatchEvent),$=y(s.PromiseRejectionEvent),ee=\"unhandledrejection\",te=\"rejectionhandled\",re=0,ne=1,oe=2,ie=1,ae=2,ce=!1,ue=D(V,(function(){var e=x(W),t=e!==String(W);if(!t&&66===N)return!0;if(u&&!H[\"finally\"])return!0;if(N>=51&&/native code/.test(e))return!1;var r=new W((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},o=r.constructor={};return o[F]=n,ce=r.then((function(){}))instanceof n,!ce||!t&&_&&!$})),se=ue||!S((function(e){W.all(e)[\"catch\"]((function(){}))})),fe=function(e){var t;return!(!k(e)||!y(t=e.then))&&t},le=function(e,t){var r,n,o,i=t.value,a=t.state==ne,c=a?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{c?(a||(t.rejection===ae&&ge(t),t.rejection=ie),!0===c?r=i:(f&&f.enter(),r=c(i),f&&(f.exit(),o=!0)),r===e.promise?s(q(\"Promise-chain cycle\")):(n=fe(r))?l(n,r,u,s):u(r)):s(i)}catch(error){f&&!o&&f.exit(),s(error)}},de=function(e,t){e.notified||(e.notified=!0,T((function(){var r,n=e.reactions;while(r=n.get())le(r,e);e.notified=!1,t&&!e.rejection&&he(e)})))},pe=function(e,t,r){var n,o;X?(n=K.createEvent(\"Event\"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),s.dispatchEvent(n)):n={promise:t,reason:r},!$&&(o=s[\"on\"+e])?o(n):e===ee&&R(\"Unhandled promise rejection\",r)},he=function(e){l(E,s,(function(){var t,r=e.facade,n=e.value,o=ve(e);if(o&&(t=C((function(){B?Q.emit(\"unhandledRejection\",n,r):pe(ee,r,n)})),e.rejection=B||ve(e)?ae:ie,t.error))throw t.value}))},ve=function(e){return e.rejection!==ie&&!e.parent},ge=function(e){l(E,s,(function(){var t=e.facade;B?Q.emit(\"rejectionHandled\",t):pe(te,t,e.value)}))},be=function(e,t,r){return function(n){e(t,n,r)}},me=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=oe,de(e,!0))},ye=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw q(\"Promise can't be resolved itself\");var n=fe(t);n?T((function(){var r={done:!1};try{l(n,t,be(ye,r,e),be(me,r,e))}catch(error){me(r,error,e)}})):(e.value=t,e.state=ne,de(e,!1))}catch(error){me({done:!1},error,e)}}};if(ue&&(W=function(e){w(this,H),m(e),l(n,this);var t=U(this);try{e(be(ye,t),be(me,t))}catch(error){me(t,error)}},H=W.prototype,n=function(e){G(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:re,value:void 0})},n.prototype=h(H,{then:function(e,t){var r=z(this),n=Y(j(this,W));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=B?Q.domain:void 0,r.state==re?r.reactions.add(n):T((function(){le(n,r)})),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=U(e);this.promise=e,this.resolve=be(ye,t),this.reject=be(me,t)},I.f=Y=function(e){return e===W||e===i?new o(e):Z(e)},!u&&y(d)&&J!==Object.prototype)){a=J.then,ce||(p(J,\"then\",(function(e,t){var r=this;return new W((function(e,t){l(a,r,e,t)})).then(e,t)}),{unsafe:!0}),p(J,\"catch\",H[\"catch\"],{unsafe:!0}));try{delete J.constructor}catch(error){}v&&v(J,H)}c({global:!0,wrap:!0,forced:ue},{Promise:W}),g(W,V,!1,!0),b(V),i=f(V),c({target:V,stat:!0,forced:ue},{reject:function(e){var t=Y(this);return l(t.reject,void 0,e),t.promise}}),c({target:V,stat:!0,forced:u||ue},{resolve:function(e){return A(u&&this===i?W:this,e)}}),c({target:V,stat:!0,forced:se},{all:function(e){var t=this,r=Y(t),n=r.resolve,o=r.reject,i=C((function(){var r=m(t.resolve),i=[],a=0,c=1;O(e,(function(e){var u=a++,s=!1;c++,l(r,t,e).then((function(e){s||(s=!0,i[u]=e,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=Y(t),n=r.reject,o=C((function(){var o=m(t.resolve);O(e,(function(e){l(o,t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},e893:function(e,t,r){var n=r(\"1a2d\"),o=r(\"56ef\"),i=r(\"06cf\"),a=r(\"9bf2\");e.exports=function(e,t,r){for(var c=o(t),u=a.f,s=i.f,f=0;f<c.length;f++){var l=c[f];n(e,l)||r&&n(r,l)||u(e,l,s(t,l))}}},e8b5:function(e,t,r){var n=r(\"c6b6\");e.exports=Array.isArray||function(e){return\"Array\"==n(e)}},e95a:function(e,t,r){var n=r(\"b622\"),o=r(\"3f8c\"),i=n(\"iterator\"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},e9c4:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d066\"),a=r(\"2ba4\"),c=r(\"e330\"),u=r(\"d039\"),s=o.Array,f=i(\"JSON\",\"stringify\"),l=c(/./.exec),d=c(\"\".charAt),p=c(\"\".charCodeAt),h=c(\"\".replace),v=c(1..toString),g=/[\\uD800-\\uDFFF]/g,b=/^[\\uD800-\\uDBFF]$/,m=/^[\\uDC00-\\uDFFF]$/,y=function(e,t,r){var n=d(r,t-1),o=d(r,t+1);return l(b,e)&&!l(m,o)||l(m,e)&&!l(b,n)?\"\\\\u\"+v(p(e,0),16):e},k=u((function(){return'\"\\\\udf06\\\\ud834\"'!==f(\"\\udf06\\ud834\")||'\"\\\\udead\"'!==f(\"\\udead\")}));f&&n({target:\"JSON\",stat:!0,forced:k},{stringify:function(e,t,r){for(var n=0,o=arguments.length,i=s(o);n<o;n++)i[n]=arguments[n];var c=a(f,null,i);return\"string\"==typeof c?h(c,g,y):c}})},f069:function(e,t,r){\"use strict\";var n=r(\"59ed\"),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError(\"Bad Promise constructor\");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},f183:function(e,t,r){var n=r(\"23e7\"),o=r(\"e330\"),i=r(\"d012\"),a=r(\"861d\"),c=r(\"1a2d\"),u=r(\"9bf2\").f,s=r(\"241c\"),f=r(\"057f\"),l=r(\"4fad\"),d=r(\"90e3\"),p=r(\"bb2f\"),h=!1,v=d(\"meta\"),g=0,b=function(e){u(e,v,{value:{objectID:\"O\"+g++,weakData:{}}})},m=function(e,t){if(!a(e))return\"symbol\"==typeof e?e:(\"string\"==typeof e?\"S\":\"P\")+e;if(!c(e,v)){if(!l(e))return\"F\";if(!t)return\"E\";b(e)}return e[v].objectID},y=function(e,t){if(!c(e,v)){if(!l(e))return!0;if(!t)return!1;b(e)}return e[v].weakData},k=function(e){return p&&h&&l(e)&&!c(e,v)&&b(e),e},w=function(){x.enable=function(){},h=!0;var e=s.f,t=o([].splice),r={};r[v]=1,e(r).length&&(s.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===v){t(n,o,1);break}return n},n({target:\"Object\",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},x=e.exports={enable:w,fastKey:m,getWeakData:y,onFreeze:k};i[v]=!0},f36a:function(e,t,r){var n=r(\"e330\");e.exports=n([].slice)},f5df:function(e,t,r){var n=r(\"da84\"),o=r(\"00ee\"),i=r(\"1626\"),a=r(\"c6b6\"),c=r(\"b622\"),u=c(\"toStringTag\"),s=n.Object,f=\"Arguments\"==a(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(error){}};e.exports=o?a:function(e){var t,r,n;return void 0===e?\"Undefined\":null===e?\"Null\":\"string\"==typeof(r=l(t=s(e),u))?r:f?a(t):\"Object\"==(n=a(t))&&i(t.callee)?\"Arguments\":n}},f772:function(e,t,r){var n=r(\"5692\"),o=r(\"90e3\"),i=n(\"keys\");e.exports=function(e){return i[e]||(i[e]=o(e))}},f8c9:function(e,t,r){var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"d44e\");n({global:!0},{Reflect:{}}),i(o.Reflect,\"Reflect\",!0)},fb15:function(e,t,r){\"use strict\";if(r.r(t),\"undefined\"!==typeof window){var n=window.document.currentScript,o=r(\"8875\");n=o(),\"currentScript\"in document||Object.defineProperty(document,\"currentScript\",{get:o});var i=n&&n.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/);i&&(r.p=i[1])}var a=r(\"d4ec\"),c=r(\"bee2\"),u=r(\"d5e4\");r(\"d9e2\"),r(\"d401\");function s(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError(\"attempted to set read only private field\");t.value=r}}function f(e,t,r){if(!t.has(e))throw new TypeError(\"attempted to \"+r+\" private field on non-instance\");return t.get(e)}function l(e,t,r){var n=f(e,t,\"set\");return s(e,n,r),r}function d(e,t){return t.get?t.get.call(e):t.value}function p(e,t){var r=f(e,t,\"get\");return d(e,r)}var h=r(\"53ca\"),v=(r(\"d3b7\"),r(\"cca6\"),r(\"e9c4\"),r(\"c975\"),r(\"4160\"),r(\"159b\"),r(\"b64b\"),r(\"e260\"),r(\"3ca3\"),r(\"10d1\"),r(\"ddb0\"),r(\"ade3\")),g=(r(\"13d5\"),r(\"ac1f\"),r(\"1276\"),r(\"fb6a\"),r(\"5180\")),b=g.keys().reduce((function(e,t){return Object.assign(e,Object(v[\"a\"])({},t.split(\"/\").slice(-1)[0].split(\".\")[0],g(t)[Object.keys(g(t))[0]])),e}),{});console.log(\"=====modulesFiles========\"),console.log(b);var m=b,y=r(\"2909\"),k=r(\"1da1\");r(\"96cf\"),r(\"7a82\"),r(\"e6cf\"),r(\"a9e3\"),r(\"4795\"),r(\"0d03\"),r(\"45fc\"),r(\"7db0\"),r(\"25f0\"),r(\"99af\"),r(\"cb29\"),r(\"00b4\"),r(\"4de4\"),r(\"277d\");console.log(\"Library wexWebSip Build time: 2026_3_24 13:58:15\");var w=Object.defineProperty,x=function(e,t,r){return t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},O=function(e,t,r){return x(e,\"symbol\"!=Object(h[\"a\"])(t)?t+\"\":t,r),r};console.log(\"webphone version 1.0.2 2026-03-02 支持视频呼叫无摄像和麦克风能正常接听\");var S=function(){function e(t){Object(a[\"a\"])(this,e),O(this,\"socket\",null),O(this,\"RTC\",null),O(this,\"bindLocalPicture\",(function(e){var t=document.getElementById(\"local_video\");e&&(t.srcObject=e,t.onloadedmetadata=function(){t.play()})})),this.wsUrl=t,this.Offer=null,this.localId=\"local_video\",this.remoteId=\"\",this.remoteAudioId=\"\",this.videoStream=null,this.audioStream=null,this.timeOutKL=null,this.reloadObj={num:0,maxNum:10,timeOut:null,reloadTime:5e3,href:\"\"},this.mediaSet={video:!0,audio:!0},this.shareGetAudio=!1,this.requestAnimationFrameTimer=null,this.presentStream=\"user\",this.displayMedia=null,this.callData={},this.callInType=2,this.socketCode=-1,this.compatible(),this.createRTC(),this.localCameraStaus=!0}return Object(c[\"a\"])(e,[{key:\"compatible\",value:function(){var e=this;window.RTCPeerConnection=window.RTCPeerConnection||window.webkitRTCPeerConnection||window.mozRTCPeerConnection||window.msRTCPeerConnection,void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia||navigator.oGetUserMedia;return t?new Promise((function(r,n){t.call(navigator,e,r,n)})):Promise.reject(new Error(\"getUserMedia is not implemented in this browser\"))}()),window.addEventListener(\"online\",(function(){console.log(\"网络连接恢复!\"),e.messageBack&&e.messageBack.call(null,{type:\"online\",code:-8,message:\"网络已恢复!\"})})),window.addEventListener(\"offline\",(function(){console.log(\"网络连接断开!\"),e.messageBack&&e.messageBack.call(null,{type:\"offline\",code:-8,message:\"网络已断开!\"})}))}},{key:\"newSocket\",value:function(){if(this.socket&&(console.log(this.socket),this.onclose(),this.socket=null),this.online()){if(!this.wsUrl)throw new Error(\"前端提示:WebSocket缺少baseURL!\");this.socket=new WebSocket(this.wsUrl),this.initSocekt()}else console.log(\"当前网络差,无法连接\")}},{key:\"initSocekt\",value:function(){this.open(),this.message(),this.error(),this.close(),this.disconnect()}},{key:\"online\",value:function(){var e=!0;return e=!!navigator.onLine,e}},{key:\"onbeforeunload\",value:function(){console.log(\"页面关闭\")}},{key:\"onunload\",value:function(){console.log(\"页面刷新\")}},{key:\"checkReadyState\",value:function(){return Number(this.socket.readyState)}},{key:\"open\",value:function(){var e=this,t=this;this.socket.onopen=function(){var r=Object(k[\"a\"])(regeneratorRuntime.mark((function r(n){var o,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:o=e.checkReadyState(),t.socketCode=o,i=\"\",r.t0=Number(o),r.next=1===r.t0?6:2===r.t0?8:3===r.t0?10:12;break;case 6:return console.log(\"连接成功\"),i=\"socket连接成功_\"+n.type,t.num=0,t.keepLive(),r.abrupt(\"break\",12);case 8:return console.log(\"连接正在关闭\"),i=\"socket连接正在关闭_\"+n.type,r.abrupt(\"break\",12);case 10:return console.log(\"连接已经关闭,或失败\"),i=\"socket连接失败_\"+n.type,t.reloadObj.num=t.reloadObj.num+1,t.reloadObj.num>=t.reloadObj.maxNum?(i=\"大于最大连接次数,停止连接,返回首页\",console.log(\"大于最大连接次数,停止连接,返回首页\"),t.reloadObj.href&&(window.location.href=t.reloadObj.href),t.reloadObj.timeOut&&clearTimeout(t.reloadObj.timeOut),t.reloadObj.timeOut=setTimeout((function(){t.close()}),t.reloadObj.reloadTime)):console.log(\"继续连接\"),r.abrupt(\"break\",12);case 12:console.log(\"open---\\x3e\",t.messageBack),t.messageBack&&(1==o?t.messageBack.call(null,{type:n.type,code:200,message:i}):t.messageBack.call(null,{type:n.type,code:-1,err:i}));case 13:case\"end\":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()}},{key:\"keepLive\",value:function(){var e=this;this.timeOutKL&&clearTimeout(this.timeOutKL),this.timeOutKL=setTimeout((function(){e.send({type:\"keepAlive\"})}),1e3*(e.keepLiveTime?e.keepLiveTime:30))}},{key:\"message\",value:function(){var e=this,t=this;console.log(\"message--\\x3e\"),this.socket.onmessage=function(r){var n=r.data,o={};if(n){var i=JSON.parse(n),a=\"\";switch(i.type){case\"login\":a=\"登录成功\";break;case\"on_answer\":a=\"已接听\",t.setRemote(i.sdp);break;case\"on_new_call\":t.callInType=i.isvideo?\"2\":\"1\",a=\"有来电呼叫\",o={isvideo:i.isvideo,fromtel:i.from||\"\"};break;case\"on_ack\":a=\"来电接听成功\",t.setRemote(i.sdp);break;case\"on_hangup\":console.log(\"被动动挂断电话\"),a=\"已挂断\",e.RTC&&t.RTC.getSenders().forEach((function(e){e&&e.track&&e.track.stop()})),e.stopStack(),e.RTC=null;var c=document.getElementById(e.remoteId);c.srcObject=null,t.requestAnimationFrameTimer&&cancelAnimationFrame(t.requestAnimationFrameTimer),e.createRTC();break;case\"hangup\":a=\"您已挂断\",console.log(\"主动挂断电话\"),e.stopStack();break;case\"keepAlive\":e.keepLive();break}i.result?\"keepAlive\"!==i.type&&t.messageBack.call(null,{code:200,type:i.type,message:a,data:o}):(t.stopStack(),t.messageBack.call(null,{code:-1,type:i.type,err:\"失败_\"+i.reason||!1}))}else t.stopStack(),console.log(\"服务器无返回数据--\")}}},{key:\"reloadSockte\",value:function(){var e=this;this.reloadObj.num=this.reloadObj.num+1,e.reloadObj.timeOut&&clearTimeout(e.reloadObj.timeOut),this.reloadObj.num>=this.reloadObj.maxNum?(e.reloadObj.href&&(window.location.href=e.reloadObj.href),e.messageBack.call(null,{code:-1,type:\"error\",err:\"重连已达到\"+this.reloadObj.maxNum+\"次,请刷新后重试\"})):e.reloadObj.timeOut=setTimeout((function(){e.newSocket()}),e.reloadObj.reloadTime)}},{key:\"errorReloadCont\",value:function(e){var t=this;this.errorTime=setTimeout((function(){t.newSocket()}),1e3*(e||10))}},{key:\"clearErrorTime\",value:function(){clearTimeout(this.errorTime)}},{key:\"error\",value:function(){var e=this,t=this;this.socket.onerror=function(r){var n={type:r.type,code:-4,err:\"socket连接错误_\"+r.type},o=new Date,i=o.getMinutes(),a=o.getSeconds();console.log(\"err----minute--\\x3e\",i,a),clearTimeout(e.reloadObj.timeOut),t.messageBack.call(null,n)}}},{key:\"close\",value:function(){var e=this,t=this;this.socket.onclose=function(r){console.log(\"close---\\x3e\",r);var n={type:r.type,code:-1,err:\"socket连接已关闭_\"+r.type};e.reloadObj.timeOut&&clearTimeout(e.reloadObj.timeOut),e.timeOutKL&&clearInterval(e.timeOutKL),t.messageBack.call(null,n)}}},{key:\"setSocketReloadConfig\",value:function(e){this.reloadObj=Object.assign(this.reloadObj,e||{})}},{key:\"disconnect\",value:function(){var e=this;this.socket.disconnect=function(t){console.log(\"disconnect\",t),e.socketCode=5;var r={type:t.type,code:-1,err:\"连接已断开_\"+t.type};e.messageBack.call(null,r)}}},{key:\"onclose\",value:function(){var e=this.checkReadyState();console.log(\"code--\\x3e\",e);var t=new Date,r=t.getMinutes(),n=t.getSeconds();if(console.log(\"minute--\\x3e\",r,n),1==e)this.socket.close();else if(2!=e){var o={type:\"close\",code:-1,err:\"socket连接已关闭_\"+e};clearTimeout(this.reloadObj.timeOut),this.messageBack.call(null,o)}}},{key:\"send\",value:function(e){var t=e;if(this.online()){var r=this.checkReadyState();if(1==r)this.socket.send(JSON.stringify(t));else{var n=new Date,o=n.getMinutes(),i=n.getSeconds();console.log(\"err----minute--\\x3e\",o,i),this.messageBack.call(null,{code:-3,type:\"error\",err:\"连接异常_\"+r})}}else this.messageBack.call(null,{code:-2,type:\"internet\",err:\"当前网络差,请检查网络后重试\"})}},{key:\"createRTC\",value:function(e){var t=this,r={};this.RTC&&(this.RTC=null),this.RTC=new RTCPeerConnection(e||r),this.RTC.onicecandidate=function(e){},this.RTC.ontrack=function(e){var r=document.getElementById(t.remoteId),n=document.getElementById(t.remoteAudioId),o=e.track;if(console.log(\"--ontrack-streams-\",e.streams),\"video\"==o.kind){if(o.contentHint=\"detail\",!r.srcObject){var i=new MediaStream;i.addTrack(o),r.srcObject=i,r.onloadedmetadata=function(){r.play()}}}else if(\"audio\"==o.kind){var a=new MediaStream;a.addTrack(e.track),n.srcObject=a,n.onloadedmetadata=function(){n.play()}}else console.log(\"remoteOntrack-err->\",e,e.track)},this.RTC.onnegotiationneeded=function(e){},this.RTC.iceconnectionstatechange=function(e){},this.RTC.icegatheringstatechange=function(e){}}},{key:\"addTracks\",value:function(e){var t=this;if(e){var r=e.getTracks();!r||r.length<1?console.log(\"无法获取视频或麦克风任一轨道数据,请查看是否开启成功\"):r.forEach((function(r){r&&(t.RTC?t.RTC.addTrack(r,e):console.log(\"that.RTC--\\x3e\",t.RTC))}))}else console.log(\"无法打开设备获取到流\",e)}},{key:\"createOffer\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.RTC.createOffer();case 2:return t=e.sent,this.Offer=t,e.next=6,this.RTC.setLocalDescription(t);case 6:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"setRemote\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.RTC.setRemoteDescription(new RTCSessionDescription({type:\"answer\",sdp:t}),(function(e){console.log(\"setsuccess---\\x3e\",e)}),(function(e){console.log(\"seterr---\\x3e\",e)}));case 1:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"getDeviceList\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:return e.abrupt(\"return\",e.sent);case 3:case\"end\":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"bindStream\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt(\"return\");case 2:if(n=document.querySelector(\"#\"+t),console.log(\"videoId--\\x3e\",t,n),n){e.next=6;break}return console.log(\"无法找到对应的dom\"),e.abrupt(\"return\");case 6:return o={video:{deviceId:r.camerId},audio:{deviceId:r.voiceId}},e.next=9,navigator.mediaDevices.getUserMedia(o);case 9:i=e.sent,a=document.getElementById(\"viewVideo\"),console.log(\"container--\\x3e\",n),console.log(\"contains---\\x3e\",n.contains(a)),n.contains(a)&&(n.innerHTML=\"\"),c=document.createElement(\"video\"),c.id=\"viewVideo\",c.autoplay=!0,c.playsInline=\"playsInline\",c.muted=!1,c.style.width=\"100%\",c.style.height=\"100%\",c.className=\"viewVideo_class\",n.appendChild(c),i&&(c.srcObject=i,c.onloadedmetadata=function(){c.play()});case 14:case\"end\":return e.stop()}}),e)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"stopLocalViewStream\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=document.querySelector(\"#\"+t+\" #viewVideo\"),n&&(o=n.srcObject.getTracks(),console.log(\"viewVideoDom--tracks--\\x3e\",o),o&&o.forEach((function(e){r?e.kind==r&&e.stop():e.stop()})),n.srcObject=null);case 2:case\"end\":return e.stop()}}),e)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"getDeviceType\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[],r=-1,e.prev=1,e.next=4,navigator.mediaDevices.enumerateDevices();case 4:t=e.sent,e.next=10;break;case 7:return e.prev=7,e.t0=e[\"catch\"](1),e.abrupt(\"return\",(this.messageBack.call(null,{code:-1,type:\"device\",err:\"失败_无法获取设备列表\"}),r));case 10:if(t){e.next=12;break}return e.abrupt(\"return\",r);case 12:return n=t.some((function(e){return(\"videoinput\"===e.kind||\"videoinput\"===e.kind)&&e.deviceId})),o=t.some((function(e){return(\"audioinput\"===e.kind||\"audiooutput\"===e.kind)&&e.deviceId})),e.abrupt(\"return\",(n&&(r=1),o&&(r=2),n&&o&&(r=3),r));case 14:case\"end\":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:\"testGetDeviceMore\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.cameraMicrophoneStream();case 1:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"closeAudio\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.audioStream.getTracks().forEach((function(e){e.stop()})),this.audioStream=null;case 1:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"getAudioOrVideoErr\",value:function(e,t){var r=null,n=1==t?\"麦克风\":2==t?\"摄像头\":\"\";return r=[{err:\"NotFoundError\",msg:\"无法获取到\"+n},{err:\"NotReadableError\",msg:n+\"无法被访问,请查看\"+n+\"是否被占用\"},{err:\"OverconstrainedError\",msg:\"无法找到指定\"+n},{err:\"TypeError\",msg:\"getUserMedia()中传入正确的参数错误\"},{err:\"PermissionDeniedError\",msg:\"用户拒绝了访问\"+n+\"的权限\"},{err:\"AbortError\",msg:\"用户禁止了媒体捕获,或者在获取媒体设备时发生了其他错误\"},{err:\"Other\",msg:\"浏览器特定的错误,或硬件问题\"},{err:\"SecurityError\",msg:\"在不安全的网页上尝试获取\"+n}].find((function(t){return e.toString().indexOf(t.err)>-1})),console.warn(\"returnErr--\\x3e\",r),r}},{key:\"cameraMicrophoneStream\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a,c,u,s,f,l,d,p,h,v,g,b,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=this,o=n.os(),i=640,a=480,o.isPc?(i=1280,a=720):o.isPhone&&(i=640,a=480),c=\"\",u=\"\",r&&(r.camerId&&(c=r.camerId),r.voiceId&&(u=r.voiceId),r.width&&(i=r.width),r.height&&(i=r.height)),s={video:{width:{min:320,ideal:i,max:1920},height:{min:480,ideal:a,max:1080},frameRate:25}},f={audio:{noiseSuppression:!0,echoCancellation:!0}},c&&(s.video.deviceId=c),u&&(f.audio.deviceId=u),n.camearStream&&n.camearStream.getTracks().forEach((function(e){e.stop()})),h={},1!=t){e.next=27;break}return e.prev=8,v={audio:{noiseSuppression:!0,echoCancellation:!0},video:!1},e.next=12,navigator.mediaDevices.getUserMedia(v);case 12:return p=e.sent,l=new MediaStream(Object(y[\"a\"])(p.getTracks())),e.next=16,this.addTracks(l);case 16:return this.videoStream=l,l.label=\"voice\",console.log(\"stream---\\x3e\",l.getAudioTracks(),l.getVideoTracks()),e.abrupt(\"return\",l);case 22:e.prev=22,e.t0=e[\"catch\"](8),h=n.getAudioOrVideoErr(e.t0,1),n.messageBack.call(null,{code:-1,type:\"device\",message:\"麦克风获取异常_\"+h.err,err:h.msg,data:{}});case 25:e.next=91;break;case 27:return e.prev=27,e.next=30,navigator.mediaDevices.getUserMedia(s);case 30:return d=e.sent,e.prev=31,e.next=34,navigator.mediaDevices.getUserMedia(f);case 34:return p=e.sent,l=new MediaStream([].concat(Object(y[\"a\"])(p.getTracks()),Object(y[\"a\"])(d.getTracks()))),g=l.getVideoTracks(),g[0].contentHint=\"detail\",e.next=40,this.addTracks(l);case 40:return this.videoStream=l,l.label=\"camer\",console.log(\"stream---\\x3e\",l),this.bindLocalPicture(l),e.abrupt(\"return\",l);case 47:e.prev=47,e.t1=e[\"catch\"](31),console.log(\"获取麦克风失败---\\x3e\",e.t1),h=n.getAudioOrVideoErr(e.t1,1),n.messageBack.call(null,{code:-1,type:\"device\",message:\"麦克风获取异常_\"+h.err,err:h.msg,data:{}});case 50:e.next=91;break;case 52:return e.prev=52,e.t2=e[\"catch\"](27),e.t2&&2==t&&(console.log(\"errr--\\x3e\"),h=n.getAudioOrVideoErr(e.t2,2),n.messageBack.call(null,{code:-6,type:\"device\",message:\"摄像头获取异常_\"+h.err+\",仅拉起麦克风\",err:h.msg,data:{}})),e.next=57,this.createdVirtualVideo(t);case 57:return d=e.sent,e.prev=58,b={audio:{noiseSuppression:!0,echoCancellation:!0}},e.next=62,navigator.mediaDevices.getUserMedia(b);case 62:return p=e.sent,l=new MediaStream([].concat(Object(y[\"a\"])(p.getTracks()),Object(y[\"a\"])(d.getTracks()))),console.log(\"stream--\\x3e\",l),m=l.getVideoTracks(),m[0].contentHint=\"detail\",e.next=69,this.addTracks(l);case 69:return this.videoStream=l,l.label=\"virtual\",this.bindLocalPicture(l),e.abrupt(\"return\",l);case 75:return e.prev=75,e.t3=e[\"catch\"](58),e.next=79,this.createdVirtualVideo(t);case 79:return d=e.sent,e.next=82,this.createSilentAudioStream();case 82:return p=e.sent,console.log(\"audioStream--\\x3e\",p.getTracks()),l=new MediaStream([].concat(Object(y[\"a\"])(p.getTracks()),Object(y[\"a\"])(d.getTracks()))),e.next=87,this.addTracks(l);case 87:return this.videoStream=l,h=n.getAudioOrVideoErr(e.t3,1),n.messageBack.call(null,{code:-1,type:\"device\",message:\"麦克风获取异常_\"+h.err,err:h.msg,data:{}}),e.abrupt(\"return\",l);case 91:case\"end\":return e.stop()}}),e,this,[[8,22],[27,52],[31,47],[58,75]])})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"cameraMicrophoneStream_old\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r={audio:{noiseSuppression:!0,echoCancellation:!0},video:{deviceId:{exclude:[\"video\"]},width:{min:1280,ideal:1280,max:1280},height:{min:720,ideal:720,max:720},aspectRatio:16/9,frameRate:30}},e.prev=1,e.next=4,navigator.mediaDevices.getUserMedia(r);case 4:n=e.sent,e.next=24;break;case 7:if(e.prev=7,e.t0=e[\"catch\"](1),console.warn(\"无摄像头或麦克风,自动切换到麦克风--》\",e.t0),t.messageBack.call(null,{code:-6,type:\"device\",message:\"失败_设备获取异常,自动切换到语音呼叫\",err:e.t0,data:{}}),!e.t0){e.next=24;break}return e.prev=10,o={audio:{noiseSuppression:!0,echoCancellation:!0}},e.next=14,navigator.mediaDevices.getUserMedia(o);case 14:return i=e.sent,e.next=17,this.createdVirtualVideo();case 17:a=e.sent,n=new MediaStream([].concat(Object(y[\"a\"])(i.getTracks()),Object(y[\"a\"])(a.getTracks()))),e.next=24;break;case 21:e.prev=21,e.t1=e[\"catch\"](10),console.error(\"无麦克风--》\",e.t1),t.messageBack.call(null,{code:-1,type:\"device\",message:\"无法获取麦克风,不能正常使用通信功能\",err:e.t0,data:{}});case 24:if(n){e.next=27;break}return t.messageBack.call(null,{code:-1,type:\"device\",message:\"无法获取麦克风,不能正常使用通信功能\",err:err,data:{}}),e.abrupt(\"return\");case 27:return c=n.getVideoTracks(),c[0].contentHint=\"detail\",console.log(\"videoTrack--\\x3e\",n),this.videoStream=n,e.next=33,this.addTracks(n);case 33:return e.abrupt(\"return\",n);case 34:case\"end\":return e.stop()}}),e,this,[[1,7],[10,21]])})));function t(){return e.apply(this,arguments)}return t}()},{key:\"createdVirtualVideo_bck\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this,r=\"无 摄 像 头\",n=document.createElement(\"canvas\"),o=n.getContext(\"2d\"),i=new Image,i.width=120,i.height=120,i.src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABZtJREFUeF7tmluoVkUUx/9/6KHoIYgsKoIeCjGJLkSGKaSBRBgUZVJRZNBDaVQPSmj3i1EGFaSEL/kQPmgERRLlg1oo2QVLLOxClJkg9BCUQVT82+s0u+bs9uy9Z/b+ztkf37dAj3hmZq3122vWzKwZYsSFI+4/xgDGETDiBMZTICUAJC0BcBrJl1L696lPVARIugLA3QAMwEEAV5I80ieHYm1pDEDSeZnjnxcUPEPygVilfWrfGIAZLekhAI97DhwDsIDkR31yKsaWWADHAfgYwAWeks0kb4lR2qe2UQBcFNj831Jw4lqSb/TJsaa2RANwEDYDuMlTsoukJcihk1oAkm4HcA2AkwEcJnmrpIsA7AFwvOfxCpLrJV0PYMWASXwH4HuSj7bVUwlA0gcA5hSULCK5XdJTAFZ7v/sWwFySRyW9B2B+W+Ma9N9JckGDdsEmQQCS3nRfvtj5IMlZkiwiLApmeg3WkVwVWDLb2FnV9w6Sr6QOXgpA0ukAqjY499guUNKdADZ6yv8CcDnJvZJeAHBvqmER/faT9FeliK4oPw67Hd8Ob6Sd2Xq/yx85n3+S3skiYZH3uy0kl0qy/JC6SRL+s83/90QOzv6aNPeZGRPltdc4FAGW0ScBCM01Sea8QfBlKcniUplq46R+JR8H0wpg4pNINg1sOuSy100FmxKdSgwA13YGya0hI1pHgANgidASoiXGXFaRXNep9//ALkbn/yJA0tlZ00cA2BJuspXkjWW2tAZgU4Dku5JsSbSlMZejblm05bEzqQPg9i3mvEHw5RKSnxQNaQVA0hoAN7g1/08XBbZJymU9yU43RSEAJV+96Ksd2iyZT5JkAJKeB3CfG20NybWS7FD0akHHQpJ+Qm0VDWUAsl3hMhfyxa/u6+ocwD4AFzoNPwK4jORhSa8DuM7TvI3k4lZee50DAJoM3zmAA1lyme1pfo7kSknzskrR+wWLlpHc1MTKujYRACzc/QNa5wDmAtjtGfwHgItJHihMD2tisOyc8Eudg3W/bwDgUzcd7h8oADNUks29mwFc6naKG0m+JeksB8d+5vJYF6e3GgC27JqeY5Is7wwuAhp8KUuQlihzsa9vUWDRkCwBAF8CsPPJ9nzgaQfgIsRygeWEXDaRtKhJlrp9QN8A2Gpgq4Ivi0luSyUwVABcFNi+wC+a7iC5cJQABMtnKRCGLgJcFATLZ7EQhhVAsHw2EgBcFATLZzEQhjICvKWptHw2SgBal88CG6E5JD/0QfZiI1T2ZduWzyq2wg+S/Lcg02cArcpnNWcBq1yvJrmntwBcQkwunzU4DZqKhwHYZmv6DkNVic3dGVgRNbp81hCAqR9sPSAmcwdyQVL5LADAYFp9okq6LYi0BeCmQnT5rKIo+iyAlRV29RJAdPmsaiMkyU6fBuKcEhD9A+CiwK8u239Vls/qdoKSzgSwFsBtBQgzSX5VBJNcFu9iCjgAUeWzOgDernM5gLsAnJr92RAqx4UAnA9gf1dOVoyzhORrkoLlM0lvA7iqYoyfspcpM1JtDQE4Kbv0+Dl10Ih+9sxl4jJDUmn5rMFbhd0k/bJbhPrA+wBnkN3B2x3boGWiWuwSWGn5TJLZEXoPNDu7+Pwi1ci6N0JlT+JSdVX1OzF7WvObpGD5LHuNYrdPZ3iD/GCJruy+L8bA2pcV7i3QuQBOiBk4tq05Enh9tpzkBpf88mENxiGSv8fqabQKtB20TX9JTwKwW+dcvraLF5IDyUm1EdDGmZS+kk7JDjL2zG6W1/8JknbA6Vx6B8Al4GL57Fc7OJH8pmsCvQTgINjlydWewy9njzBtY9Op9BmAOW8Q7Os/DeBFu/Ts1HvvLV7X43Yyniuf2TObzzoZsGSQ3kbAoBzu/TI4VY7nesYRMNXE+6ZvHAF9+yJTbc/fXxAjbt8pZd0AAAAASUVORK5CYII=\",a=function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n.width=640,n.height=480,o.fillStyle=\"#000\",o.fillRect(0,0,n.width,n.height),o.fillStyle=\"#fff\",o.font=\"50px Helvetica Neue\",o.textAlign=\"center\",o.fillText(r,n.width/2,(n.height-i.height)/2),o.drawImage(i,(n.width-i.width)/2,(n.height-i.height+80)/2,i.width,i.height),t.requestAnimationFrameTimer=requestAnimationFrame(a);case 1:case\"end\":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.abrupt(\"return\",(t.requestAnimationFrameTimer&&cancelAnimationFrame(t.requestAnimationFrameTimer),a(),n.captureStream()));case 4:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"createdVirtualVideo\",value:function(e){var t=document.createElement(\"canvas\"),r=t.getContext(\"2d\"),n=this,o=e&&2==e?\"无 摄 像 头\":\"\",i=function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.width=640,t.height=480,r.fillStyle=\"black\",r.fillRect(0,0,t.width,t.height),r.fillStyle=\"#fff\",r.font=\"50px Helvetica Neue\",r.textAlign=\"center\",r.fillText(o,t.width/2,t.height/2),n.requestAnimationFrameTimer=requestAnimationFrame(i);case 1:case\"end\":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();i();var a=t.captureStream(30);return console.log(\"videoStream--\\x3e\",a),a}},{key:\"createSilentAudioStream\",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,r=new(window.AudioContext||window.webkitAudioContext),n=r.createMediaStreamDestination();if(t===1/0||t<=0){var o=r.sampleRate,i=1*o,a=r.createBuffer(1,i,o);a.getChannelData(0).fill(0),e=r.createBufferSource(),e.buffer=a,e.loop=!0}else{var c=r.sampleRate,u=c*t,s=r.createBuffer(1,u,c);s.getChannelData(0).fill(0),e=r.createBufferSource(),e.buffer=s,e.loop=!1}return e.connect(n),e.start(0),t!==1/0&&t>0&&(e.onended=function(){console.log(\"静音流播放完毕\"),r.close()}),n.stream}},{key:\"getVideoTacks\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.videoStream&&(this.videoStream.getTracks().forEach((function(e){e.stop()})),t=document.getElementById(this.localId),t.srcObject=null);case 1:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"initDom\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=u.length>0&&void 0!==u[0]?u[0]:{video:!0,audio:!0,parentId:\"\",isDrag:!0,showLocal:!0,callback:new Function},t.parentId){e.next=4;break}return console.log(\"请添加视频容器\"),e.abrupt(\"return\");case 4:if(t.callback){e.next=7;break}return console.log(\"请注册消息回调函数\"),e.abrupt(\"return\");case 7:if(this.online()){e.next=10;break}return t.callback({code:-2,type:\"internet\",err:\"当前网络差,请检查网络后重试\"}),this.messageBack=t.callback,e.abrupt(\"return\");case 10:if(this.mediaSet.video=t.video,this.mediaSet.audio=t.audio,this.messageBack=t.callback,this.newSocket(),r=document.querySelector(\"#\"+t.parentId),r){e.next=15;break}return console.log(\"无法查找到父级容器\"),t.callback({code:-2,type:\"error\",err:\"无法查找到父级容器,请查看\"}),e.abrupt(\"return\");case 15:n=document.createElement(\"video\"),o=document.createElement(\"video\"),i=document.createElement(\"audio\"),n.id=\"local_video\",n.autoplay=!0,n.playsInline=\"playsInline\",n.muted=!0,o.id=\"remote_video\",i.id=\"remote_audio\",o.autoplay=!0,o.playsInline=\"playsInline\",o.muted=!0,n.className=\"local_video_class\",o.className=\"remote_video_class\",i.style.display=\"none\",i.controls=!0,a=document.querySelector(\"#\"+t.parentId),c=document.querySelector(\"#remote_video\"),a.contains(c)?(console.log(\"已成功创建video标签\"),this.localId=\"local_video\",this.remoteId=\"remote_video\",this.remoteAudioId=\"remote_audio\",t.isDrag&&this.pcDrag(\"remote_video\",\"local_video\")):(console.log(\"没有标签,进行创建\"),r.appendChild(o),r.appendChild(n),r.appendChild(i),t.showLocal||(n.style.display=\"none\"),this.localId=\"local_video\",this.remoteId=\"remote_video\",this.remoteAudioId=\"remote_audio\",t.isDrag&&this.pcDrag(\"remote_video\",\"local_video\"));case 19:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"changeShowLocal\",value:function(e){var t=document.getElementById(this.localId);t.style.display=e?\"block\":\"none\"}},{key:\"os\",value:function(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),r=/(?:SymbianOS)/.test(e)||t,n=/(?:Android)/.test(e),o=/(?:Firefox)/.test(e),i=/(?:iPad|PlayBook)/.test(e)||n&&!/(?:Mobile)/.test(e)||o&&/(?:Tablet)/.test(e),a=/(?:iPhone)/.test(e)&&!i,c=!a&&!n&&!r;return{isTablet:i,isPhone:a,isAndroid:n,isPc:c}}},{key:\"pcDrag\",value:function(e,t){document.getElementById(e);var r=document.getElementById(t),n=this.os().isPc,o=this.os().isPhone;n?r.addEventListener(\"mousedown\",(function(r){var n=document.getElementById(e),o=document.getElementById(t),i=n.offsetWidth,a=n.offsetHeight,c=o.offsetWidth,u=o.offsetHeight,s=n.offsetLeft,f=n.offsetTop,l=r.pageX-s-o.offsetLeft,d=r.pageY-f-o.offsetTop;function p(e){var t=e.pageX-s-l,r=e.pageY-f-d;t<20&&(t=20),t>i-c&&(t=i-c),r<20&&(r=20),r>a-u&&(r=a-u),o.style.left=t+\"px\",o.style.top=r+\"px\"}document.addEventListener(\"mousemove\",p),document.addEventListener(\"mouseup\",(function(e){document.removeEventListener(\"mousemove\",p)}))})):o&&r.addEventListener(\"touchstart\",(function(r){var n=document.getElementById(e),o=document.getElementById(t),i=n.offsetWidth,a=n.offsetHeight,c=o.offsetWidth,u=o.offsetHeight,s=n.offsetLeft,f=n.offsetTop,l=document.body;l.style.overflow=\"hidden\";var d=r.pageX-s-o.offsetLeft,p=r.pageY-f-o.offsetTop;function h(e){var t=e.pageX-s-d,r=e.pageY-f-p;t<20&&(t=20),t>i-c&&(t=i-c),r<20&&(r=20),r>a-u&&(r=a-u),o.style.left=t+\"px\",o.style.top=r+\"px\"}document.addEventListener(\"touchmove\",h),document.addEventListener(\"touchend\",(function(e){l.style.overflow=\"auto\",document.removeEventListener(\"touchmove\",h)}))}))}},{key:\"login\",value:function(e){var t=Object.assign({type:\"login\"},e);this.send(t)}},{key:\"call\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:\"\",type:\"make_call\"},t),e.next=3,this.cameraMicrophoneStream(2,r);case 3:return o=e.sent,this.camearStream=o,i=this,navigator.mediaDevices.ondevicechange=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(t=e.sent.filter((function(e){return\"videoinput\"===e.kind})),console.log(\"videoDevices--\\x3e\",t),e.t0=t&&t.length>0,!e.t0){e.next=10;break}return e.next=8,i.cameraMicrophoneStream(2);case 8:o=e.sent,e.t0=o;case 10:if(!e.t0){e.next=13;break}r=o.getVideoTracks(),n=o.getAudioTracks(),i.RTC.getSenders().forEach((function(e){e.track&&\"video\"==e.track.kind?e.replaceTrack(r[0]):e.track&&\"audio\"==e.track.kind&&e.replaceTrack(n[0])})),i.camearStream=o;case 13:case\"end\":return e.stop()}}),e)}))),this.bindLocalPicture(o),e.next=10,this.createOffer();case 10:n.sdp=this.Offer.sdp,this.send(n);case 12:case\"end\":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"audioCall\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:\"\",type:\"make_call\"},t),this.getVideoTacks(),e.next=4,this.cameraMicrophoneStream(1,r);case 4:return o=e.sent,this.camearStream=o,e.next=8,this.createOffer();case 8:n.sdp=this.Offer.sdp,this.send(n);case 10:case\"end\":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"answer\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t,r){var n,o,i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object.assign({sdp:\"\",type:\"answer\"},t),this.callData=t,console.log(\"callInType--\\x3e\",this.callInType),e.next=4,this.cameraMicrophoneStream(this.callInType,r);case 4:return o=e.sent,this.camearStream=o,i=this,navigator.mediaDevices.ondevicechange=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.mediaDevices.enumerateDevices();case 2:if(t=e.sent.filter((function(e){return\"videoinput\"===e.kind})),console.log(\"videoDevices--\\x3e\",t),e.t0=t&&t.length>0,!e.t0){e.next=10;break}return e.next=8,i.cameraMicrophoneStream(a.callInType);case 8:o=e.sent,e.t0=o;case 10:if(!e.t0){e.next=13;break}r=o.getVideoTracks(),n=o.getAudioTracks(),i.RTC.getSenders().forEach((function(e){e.track&&\"video\"==e.track.kind?e.replaceTrack(r[0]):e.track&&\"audio\"==e.track.kind&&e.replaceTrack(n[0])})),i.camearStream=o;case 13:case\"end\":return e.stop()}}),e)}))),this.bindLocalPicture(o),e.next=11,this.createOffer();case 11:n.sdp=this.Offer.sdp,this.send(n);case 13:case\"end\":return e.stop()}}),e,this)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:\"hangup\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r=Object.assign({type:\"hangup\"},t),this.send(r),n=this,n.stopStack(),n.RTC&&n.RTC.getSenders().forEach((function(e){e&&e.track&&e.track.stop()})),n.RTC=null,n.requestAnimationFrameTimer&&cancelAnimationFrame(n.requestAnimationFrameTimer),setTimeout((function(){n.createRTC()}),1e3);case 4:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"stopStack\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=document.querySelector(\"#\"+this.localId),r=document.getElementById(this.remoteId),t.srcObject&&(n=t.srcObject.getTracks(),Array.isArray(n)?n.forEach((function(e){e.stop()})):n.stop(),t.srcObject=null),r.srcObject&&(o=r.srcObject.getTracks(),Array.isArray(o)?o.forEach((function(e){e.stop()})):o.stop(),r.srcObject=null),this.displayMedia&&(i=this.displayMedia.getTracks(),Array.isArray(i)?i.forEach((function(e){e.stop()})):distrack.stop()),this.camearStream&&(a=this.camearStream.getTracks(),Array.isArray(a)?a.forEach((function(e){e.stop()})):a.stop());case 5:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"cameraUser\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(\"前置\"),this.stopStack(),r=this.os(),n=640,o=480,(r.isPc||r.isPhone)&&(n=640,o=480),i=o,a=n,t&&(t.width&&(a=t.width),t.height&&(i=t.height)),e.next=7,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{min:a,ideal:a,max:a},height:{min:i,max:i,ideal:i},facingMode:\"user\"}})[\"catch\"]((function(e){console.log(\"user--err--\",e)}));case 7:c=e.sent,c.label=\"userCamer\",this.bindLocalPicture(c),this.presentStream=\"user\",u=c.getVideoTracks(),s=c.getAudioTracks(),this.RTC.getSenders().forEach((function(e){e.track&&\"video\"==e.track.kind?e.replaceTrack(u[0]):e.track&&\"audio\"==e.track.kind&&e.replaceTrack(s[0])}));case 11:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"cameraRear\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(\"后置\"),this.stopStack(),r=this.os(),n=640,o=480,(r.isPc||r.isPhone)&&(n=640,o=480),i=o,a=n,t&&(t.width&&(a=t.width),t.height&&(i=t.height)),e.next=7,navigator.mediaDevices.getUserMedia({audio:!0,video:{width:{min:a,ideal:a,max:a},height:{min:i,max:i,ideal:i},facingMode:\"environment\"}})[\"catch\"]((function(e){console.log(\"environment--err--\",e)}));case 7:c=e.sent,c.label=\"environmentCamer\",this.bindLocalPicture(c),this.presentStream=\"environment\",u=c.getVideoTracks(),s=c.getAudioTracks(),this.RTC.getSenders().forEach((function(e){\"video\"==e.track.kind?e.replaceTrack(u[0]):\"audio\"==e.track.kind&&e.replaceTrack(s[0])}));case 11:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"microphoneChange\",value:function(e){var t=document.getElementById(this.localId);if(t&&t.srcObject){var r=t.srcObject.getAudioTracks();r[0].enabled=e}}},{key:\"cameraChange\",value:function(e){var t=document.getElementById(this.localId);if(t&&t.srcObject){var r=t.srcObject.getVideoTracks();r[0].enabled=e,this.localCameraStaus=r[0].enabled}}},{key:\"localCameraChange\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this,!t){e.next=9;break}return n=r.RTC.getSenders(),e.next=5,r.createdVirtualVideo();case 5:o=e.sent,n.forEach((function(e,t){if(e.track&&\"video\"==e.track.kind){var r=o.getVideoTracks()[0];e.replaceTrack(r)}})),e.next=15;break;case 9:if(!r.RTC){e.next=15;break}return i=r.RTC.getSenders(),e.next=13,r.cameraMicrophoneStream(2);case 13:a=e.sent.getVideoTracks()[0],i.forEach((function(e,t){e&&e.track&&\"video\"==e.track.kind&&e.replaceTrack(a)}));case 15:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"mutedChange\",value:function(e){var t=document.getElementById(\"audio_remote\");if(t.srcObject){var r=t.srcObject.getAudioTracks();r[0].enabled=e}}},{key:\"loginOut\",value:function(e){var t=Object.assign({type:\"login_out\"},e);this.send(t)}},{key:\"changePicture\",value:function(){var e=document.getElementById(this.localId),t=document.getElementById(this.remoteId),r=e.srcObject,n=t.srcObject;r&&n&&(e.srcObject=n,t.srcObject=r)}},{key:\"shareStopCheckMedia\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,u,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=this,e.next=3,this.getDeviceType();case 3:if(n=e.sent,console.log(\"deviceType--\\x3e\",n,r.displayMedia),r.displayMedia&&(o=r.displayMedia.getTracks(),console.log(\"displayStream--\\x3e\",o),o&&o.forEach((function(e){e.stop()}))),2!=n){e.next=14;break}if(!r.RTC){e.next=12;break}return i=r.RTC.getSenders(),e.next=10,r.createdVirtualVideo(2);case 10:a=e.sent,i.forEach((function(e,t){if(e.track)if(\"video\"==e.track.kind){var r=a.getVideoTracks()[0];e.replaceTrack(r)}else if(\"audio\"==e.track.kind){var n=a.getAudioTracks()[0];e.replaceTrack(n)}}));case 12:e.next=21;break;case 14:if(!r.RTC){e.next=21;break}return c=r.RTC.getSenders(),e.next=18,this.cameraMicrophoneStream(2,t);case 18:u=e.sent,s=u.getVideoTracks()[0],c.forEach((function(e,t){if(e&&e.track)if(\"video\"==e.track.kind)e.replaceTrack(s);else if(\"audio\"==e.track.kind){var r=u.getAudioTracks()[0];e.replaceTrack(r)}}));case 21:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"stopDisplayMedia\",value:function(){this.displayMedia?(this.messageBack.call(null,{code:200,type:\"share_end\",msg:\"屏幕已结束\"}),this.shareStopCheckMedia()):(console.log(\"无法获取分享视频流,请查看分享是否成功\"),this.messageBack.call(null,{code:-5,type:\"error\",err:\"无法获取分享视频流,请查看分享是否成功\"+error}))}},{key:\"getDisplayMedia\",value:function(){var e=Object(k[\"a\"])(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=this,!t||!t.sourcesId){e.next=7;break}return e.next=4,navigator.mediaDevices.getUserMedia({audio:!1,video:{mandatory:{chromeMediaSource:\"desktop\",chromeMediaSourceId:t.sourcesId}}})[\"catch\"]((function(e){console.log(\"获取屏幕共享失败:\",e),r.messageBack.call(null,{code:-5,type:\"error\",err:\"屏幕共享拉起失败_\"+e})}));case 4:r.displayMedia=e.sent,e.next=13;break;case 7:return n=!1,t&&t.getAudio&&(n=!!t.getAudio),r.shareGetAudio=n,o={cursor:\"always\",width:{ideal:1280,max:1280},height:{ideal:720,max:720},resizeMode:\"crop-and-scale\",chromeMediaSource:\"desktop\",logicalSurface:!1},e.next=12,navigator.mediaDevices.getDisplayMedia({video:o,audio:n,displaySurface:\"browser\"})[\"catch\"]((function(e){console.log(\"获取屏幕共享失败:\",e),r.messageBack.call(null,{code:-5,type:\"error\",err:\"屏幕共享拉起失败_\"+e})}));case 12:r.displayMedia=e.sent;case 13:r.displayMedia&&(r.bindLocalPicture(r.displayMedia),i=r.displayMedia.getVideoTracks(),a=r.displayMedia.getAudioTracks(),r.messageBack.call(null,{code:200,type:\"share_start\",message:\"开始屏幕共享\",data:{}}),c=r.RTC.getSenders(),c.forEach((function(e,t){e.track&&(\"video\"==e.track.kind?e.replaceTrack(i[0]):\"audio\"==e.track.kind&&r.shareGetAudio&&e.replaceTrack(a[0]))})),c&&c.length>0&&r.messageBack.call(null,{code:200,type:\"share_sharing\",message:\"正在共享\",data:{}}),r.displayMedia.getVideoTracks()[0].addEventListener(\"ended\",Object(k[\"a\"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log(\"结束共享------\"),r.messageBack.call(null,{code:200,type:\"share_end\",message:\"屏幕已结束\",data:{}}),r.shareGetAudio=!1,r.shareStopCheckMedia();case 1:case\"end\":return e.stop()}}),e)})))));case 14:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}]),e}(),j=function(e){console.log(m);var t=m[e];if(console.log(t),!t)throw new Error(\"未找到对应的请求方法!\");return function(){return t.apply(void 0,arguments)}},E=function(e,t){var r=t.onOpen,n=t.onClose,o=t.onMessage,i=t.onError,a=t.onReconnect;e.subscribe(\"open\",(function(){console.log(\"WebSocket连接成功!\"),r&&r()})),e.subscribe(\"close\",(function(e){console.log(\"WebSocket连接关闭!\",e),n&&n(e)})),e.subscribe(\"message\",(function(e){o&&o(e)})),e.subscribe(\"error\",(function(e){console.log(\"WebSocket捕获错误:\",e),i&&i(e)})),e.subscribe(\"reconnect\",(function(e){console.log(\"WebSocket断开重连:\",e),a&&a(e)}))},T=function(e,t,r,n){var o={showBand:!0,fullscreen:!0,screenshot:!0,play:!0,audio:!0,useMSE:!0,isMute:!0,onlyPlay:2,refreshNum:5};r&&\"object\"===Object(h[\"a\"])(r)&&\"[object Object]\"===Object.prototype.toString.call(r)&&(o=Object.assign(o,r)),console.log(\"===callback====\"),console.log(n);var i=new h265v3({callBack:n||function(){},rtcServe:e.url,wsServe:e.ctrUrl,decUrl:t||\"./decoder/decoder-pro.js\",videoConfig:o});return i},A=function(e){var t=new S(e);return t},R=function(e,t,r){var n=e||\"\",o=r||\"\";return{Action:n,GongHao:t.GongHao,FenJi:t.FenJi,PlatFormCode:t.DepartmentID,Params:o}},I=new WeakMap,C=new WeakMap,P=function(){function e(t,r){var n=this,o=r.onOpen,i=r.onClose,c=r.onMessage,s=r.onError,f=r.initAction;Object(a[\"a\"])(this,e),Object(u[\"a\"])(this,I,{writable:!0,value:null}),Object(u[\"a\"])(this,C,{writable:!0,value:null}),null!==t&&void 0!==t&&t.onlyPlay||(this.config=t,Object.assign(this.config,{checkData:JSON.stringify(R(\"keeplive\",this.config))}),this.socket=j(\"websocket\")(t),E(this.socket,{onOpen:function(e){console.log(\"====onOpen=====\"),console.log(n),n.send(\"Login\"),o&&o(e)},onClose:function(e){i&&i(e)},onMessage:function(e){var t=e.data||e;0===t.indexOf(\"Back_Login(\")&&(n.config.AgentGroupName&&n.send(\"SetGroupRole\",n.config.AgentGroupName),f&&f()),c&&c(e)},onError:function(e){s&&s(e)},onReconnect:function(e){n.scoket=e}}))}return Object(c[\"a\"])(e,[{key:\"send\",value:function(e,t){var r;null===(r=this.socket)||void 0===r||r.send(JSON.stringify(R(e,this.config,t)))}},{key:\"getPlayer\",value:function(e,t,r,n){return p(this,I)||l(this,I,T(e,t,r,n)),p(this,I)}},{key:\"getPhoneClientObj\",value:function(e,t){return p(this,C)||(l(this,C,A(e)),t&&p(this,C).initDom(t)),p(this,C)}},{key:\"destroy\",value:function(){var e,t=this;p(this,I)&&p(this,I).play265Obj&&Object.keys(p(this,I).play265Obj).forEach((function(e){p(t,I).play265Obj[e].destroy(),delete p(t,I).play265Obj[e]})),l(this,I,null),null===(e=this.socket)||void 0===e||e.closeSocket(1e3,\"通知关闭websocket连接\"),this.socket=null,p(this,C)&&(p(this,C).onclose(),l(this,C,null))}}]),e}(),M=function(e,t){var r=t.onOpen,n=t.onClose,o=t.onMessage,i=t.onError,a=t.initAction;return window.WebSocket?new P(e,{onOpen:r,onClose:n,onMessage:o,onError:i,initAction:a}):console.error(\"您的浏览器不支持WebSocket, 请更换浏览器!\")},D={useKUcservice:M,useRequest:j};t[\"default\"]=D},fb6a:function(e,t,r){\"use strict\";var n=r(\"23e7\"),o=r(\"da84\"),i=r(\"e8b5\"),a=r(\"68ee\"),c=r(\"861d\"),u=r(\"23cb\"),s=r(\"07fa\"),f=r(\"fc6a\"),l=r(\"8418\"),d=r(\"b622\"),p=r(\"1dde\"),h=r(\"f36a\"),v=p(\"slice\"),g=d(\"species\"),b=o.Array,m=Math.max;n({target:\"Array\",proto:!0,forced:!v},{slice:function(e,t){var r,n,o,d=f(this),p=s(d),v=u(e,p),y=u(void 0===t?p:t,p);if(i(d)&&(r=d.constructor,a(r)&&(r===b||i(r.prototype))?r=void 0:c(r)&&(r=r[g],null===r&&(r=void 0)),r===b||void 0===r))return h(d,v,y);for(n=new(void 0===r?b:r)(m(y-v,0)),o=0;v<y;v++,o++)v in d&&l(n,o,d[v]);return n.length=o,n}})},fc6a:function(e,t,r){var n=r(\"44ad\"),o=r(\"1d80\");e.exports=function(e){return n(o(e))}},fce3:function(e,t,r){var n=r(\"d039\"),o=r(\"da84\"),i=o.RegExp;e.exports=n((function(){var e=i(\".\",\"s\");return!(e.dotAll&&e.exec(\"\\n\")&&\"s\"===e.flags)}))},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r(\"4930\");e.exports=n&&!Symbol.sham&&\"symbol\"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r(\"da84\");e.exports=n.Promise}})}));"],"mappings":"AAAA","sourceRoot":""}