cnhis-design-vue 0.2.17-beta → 0.2.21-beta

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.
Files changed (71) hide show
  1. package/es/age/index.js +2 -2
  2. package/es/big-table/index.js +402 -178
  3. package/es/big-table/style.css +1 -1
  4. package/es/button/index.js +2299 -1517
  5. package/es/button/style.css +1 -1
  6. package/es/captcha/index.js +3 -3
  7. package/es/checkbox/index.js +1 -1
  8. package/es/color-picker/index.js +1 -1
  9. package/es/drag-layout/index.js +3 -3
  10. package/es/editor/index.js +1 -1
  11. package/es/fabric-chart/index.js +9 -9
  12. package/es/index/index.js +4007 -2563
  13. package/es/index/style.css +1 -1
  14. package/es/input/index.js +1 -1
  15. package/es/map/index.js +1 -1
  16. package/es/multi-chat/index.js +602 -199
  17. package/es/multi-chat/style.css +1 -1
  18. package/es/multi-chat-client/index.js +516 -141
  19. package/es/multi-chat-client/style.css +1 -1
  20. package/es/multi-chat-history/index.js +4 -4
  21. package/es/multi-chat-record/index.js +4 -4
  22. package/es/multi-chat-setting/index.js +328 -77
  23. package/es/multi-chat-setting/style.css +1 -1
  24. package/es/multi-chat-sip/index.js +1 -1
  25. package/es/radio/index.js +1 -1
  26. package/es/scale-view/index.js +436 -362
  27. package/es/scale-view/style.css +1 -1
  28. package/es/select/index.js +3 -3
  29. package/es/select-label/index.js +312 -289
  30. package/es/select-label/style.css +1 -1
  31. package/es/select-person/index.js +2 -2
  32. package/es/table-filter/index.js +2546 -1697
  33. package/es/table-filter/style.css +1 -1
  34. package/es/tag/index.js +1 -1
  35. package/es/utils/UniRTCv2.js +586 -0
  36. package/es/verification-code/index.js +2 -2
  37. package/package.json +2 -2
  38. package/packages/big-table/src/BigTable.vue +72 -16
  39. package/packages/big-table/src/assets/style/table-base.less +10 -0
  40. package/packages/big-table/src/components/TextOverTooltip.vue +24 -11
  41. package/packages/big-table/src/utils/batchEditing.js +1 -1
  42. package/packages/big-table/src/utils/bigTableProps.js +2 -1
  43. package/packages/button/src/ButtonPrint/index.vue +65 -21
  44. package/packages/button/src/ButtonPrint/js/print.es.min.js +1 -2
  45. package/packages/multi-chat/chat/audio.vue +22 -0
  46. package/packages/multi-chat/chat/calling.vue +6 -0
  47. package/packages/multi-chat/chat/chatFooter.vue +43 -3
  48. package/packages/multi-chat/chat/client/clientChat.vue +13 -1
  49. package/packages/multi-chat/chat/index.vue +17 -4
  50. package/packages/multi-chat/chat/mixins/uniRTCAPI.js +77 -0
  51. package/packages/multi-chat/chat/multiVideo.vue +14 -0
  52. package/packages/multi-chat/chat/scrollList.vue +7 -1
  53. package/packages/multi-chat/chat/video.vue +4 -0
  54. package/packages/multi-chat/components/user-status.vue +50 -45
  55. package/packages/multi-chat/setting/baseInfo/index.vue +3 -3
  56. package/packages/multi-chat/setting/configuration/index.vue +38 -1
  57. package/packages/multi-chat/store/actions.js +76 -0
  58. package/packages/multi-chat/store/getters.js +9 -0
  59. package/packages/multi-chat/store/mutation.js +9 -0
  60. package/packages/multi-chat/store/state.js +4 -1
  61. package/packages/scale-view/answerParse.vue +27 -14
  62. package/packages/scale-view/scaleView.vue +51 -10
  63. package/packages/select-label/label-classify.vue +16 -8
  64. package/packages/select-label/labelFormContent.vue +137 -75
  65. package/packages/select-label/select-label.vue +56 -17
  66. package/packages/table-filter/src/base-search-com/BaseSearch.vue +100 -17
  67. package/packages/table-filter/src/classification/Classification-com.vue +49 -59
  68. package/packages/table-filter/src/components/search-modal/set-classification.vue +4 -1
  69. package/packages/table-filter/src/components/table-modal/TableModal.vue +10 -0
  70. package/packages/table-filter/src/quick-search/QuickSearch.vue +37 -23
  71. package/src/utils/UniRTCv2.js +561 -0
@@ -1,2 +1 @@
1
- /*eslint-disable*/
2
- function t(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function e(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function u(e){t(a,o,i,u,c,"next",e)}function c(e){t(a,o,i,u,c,"throw",e)}u(void 0)}))}}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t,e){return t(e={exports:{}},e.exports),e.exports}i((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new P(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return T()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=f(t,e,r);if("normal"===c.type){if(n=r.done?d:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function m(){}function y(){}function g(){}var b={};b[i]=function(){return this};var w=Object.getPrototypeOf,x=w&&w(w(_([])));x&&x!==r&&n.call(x,i)&&(b=x);var E=g.prototype=m.prototype=Object.create(b);function j(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function O(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,O(t,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,t.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[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function _(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:T}}function T(){return{value:e,done:!0}}return y.prototype=E.constructor=g,g.constructor=y,y.displayName=c(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},j(S.prototype),S.prototype[a]=function(){return this},t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(E),c(E,u,"Generator"),E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=_,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(R),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){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(t,e){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"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:_(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}));var a=function(t){return t&&t.Math==Math&&t},u=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof o&&o)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},s=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,p={f:l&&!f.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:f},h=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},d={}.toString,v=function(t){return d.call(t).slice(8,-1)},m="".split,y=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?m.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return y(g(t))},w=function(t){return"object"==typeof t?null!==t:"function"==typeof t},x=function(t,e){if(!w(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!w(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!w(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!w(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,j=function(t,e){return E.call(t,e)},S=u.document,O=w(S)&&w(S.createElement),k=function(t){return O?S.createElement(t):{}},R=!s&&!c((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),P=Object.getOwnPropertyDescriptor,_={f:s?P:function(t,e){if(t=b(t),e=x(e,!0),R)try{return P(t,e)}catch(t){}if(j(t,e))return h(!p.f.call(t,e),t[e])}},T=function(t){if(!w(t))throw TypeError(String(t)+" is not an object");return t},C=Object.defineProperty,L={f:s?C:function(t,e,r){if(T(t),e=x(e,!0),T(r),R)try{return C(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},N=s?function(t,e,r){return L.f(t,e,h(1,r))}:function(t,e,r){return t[e]=r,t},A=function(t,e){try{N(u,t,e)}catch(r){u[t]=e}return e},I=u["__core-js_shared__"]||A("__core-js_shared__",{}),D=Function.toString;"function"!=typeof I.inspectSource&&(I.inspectSource=function(t){return D.call(t)});var F,U,q,B,M=I.inspectSource,z=u.WeakMap,G="function"==typeof z&&/native code/.test(M(z)),H=i((function(t){(t.exports=function(t,e){return I[t]||(I[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),J=0,V=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++J+V).toString(36)},X=H("keys"),K={},Q=u.WeakMap;if(G){var $=I.state||(I.state=new Q),Y=$.get,Z=$.has,tt=$.set;F=function(t,e){return e.facade=t,tt.call($,t,e),e},U=function(t){return Y.call($,t)||{}},q=function(t){return Z.call($,t)}}else{var et=X[B="state"]||(X[B]=W(B));K[et]=!0,F=function(t,e){return e.facade=t,N(t,et,e),e},U=function(t){return j(t,et)?t[et]:{}},q=function(t){return j(t,et)}}var rt={set:F,get:U,has:q,enforce:function(t){return q(t)?U(t):F(t,{})},getterFor:function(t){return function(e){var r;if(!w(e)||(r=U(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},nt=i((function(t){var e=rt.get,r=rt.enforce,n=String(String).split("String");(t.exports=function(t,e,o,i){var a,c=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||j(o,"name")||N(o,"name",e),(a=r(o)).source||(a.source=n.join("string"==typeof e?e:""))),t!==u?(c?!f&&t[e]&&(s=!0):delete t[e],s?t[e]=o:N(t,e,o)):s?t[e]=o:A(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||M(this)}))})),ot=u,it=function(t){return"function"==typeof t?t:void 0},at=function(t,e){return arguments.length<2?it(ot[t])||it(u[t]):ot[t]&&ot[t][e]||u[t]&&u[t][e]},ut=Math.ceil,ct=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ct:ut)(t)},ft=Math.min,lt=function(t){return t>0?ft(st(t),9007199254740991):0},pt=Math.max,ht=Math.min,dt=function(t,e){var r=st(t);return r<0?pt(r+e,0):ht(r,e)},vt=function(t){return function(e,r,n){var o,i=b(e),a=lt(i.length),u=dt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},mt={includes:vt(!0),indexOf:vt(!1)}.indexOf,yt=function(t,e){var r,n=b(t),o=0,i=[];for(r in n)!j(K,r)&&j(n,r)&&i.push(r);for(;e.length>o;)j(n,r=e[o++])&&(~mt(i,r)||i.push(r));return i},gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=gt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return yt(t,bt)}},xt={f:Object.getOwnPropertySymbols},Et=at("Reflect","ownKeys")||function(t){var e=wt.f(T(t)),r=xt.f;return r?e.concat(r(t)):e},jt=function(t,e){for(var r=Et(e),n=L.f,o=_.f,i=0;i<r.length;i++){var a=r[i];j(t,a)||n(t,a,o(e,a))}},St=/#|\.prototype\./,Ot=function(t,e){var r=Rt[kt(t)];return r==_t||r!=Pt&&("function"==typeof e?c(e):!!e)},kt=Ot.normalize=function(t){return String(t).replace(St,".").toLowerCase()},Rt=Ot.data={},Pt=Ot.NATIVE="N",_t=Ot.POLYFILL="P",Tt=Ot,Ct=_.f,Lt=function(t,e){var r,n,o,i,a,c=t.target,s=t.global,f=t.stat;if(r=s?u:f?u[c]||A(c,{}):(u[c]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=Ct(r,n))&&a.value:r[n],!Tt(s?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;jt(i,o)}(t.sham||o&&o.sham)&&N(i,"sham",!0),nt(r,n,i,t)}},Nt=u.Promise,At=!!Object.getOwnPropertySymbols&&!c((function(){return!String(Symbol())})),It=At&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Dt=H("wks"),Ft=u.Symbol,Ut=It?Ft:Ft&&Ft.withoutSetter||W,qt=function(t){return j(Dt,t)||(At&&j(Ft,t)?Dt[t]=Ft[t]:Dt[t]=Ut("Symbol."+t)),Dt[t]},Bt=L.f,Mt=qt("toStringTag"),zt=qt("species"),Gt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ht={},Jt=qt("iterator"),Vt=Array.prototype,Wt=function(t,e,r){if(Gt(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},Xt={};Xt[qt("toStringTag")]="z";var Kt="[object z]"===String(Xt),Qt=qt("toStringTag"),$t="Arguments"==v(function(){return arguments}()),Yt=Kt?v:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Qt))?r:$t?v(e):"Object"==(n=v(e))&&"function"==typeof e.callee?"Arguments":n},Zt=qt("iterator"),te=function(t){var e=t.return;if(void 0!==e)return T(e.call(t)).value},ee=function(t,e){this.stopped=t,this.result=e},re=function(t,e,r){var n,o,i,a,u,c,s,f,l=r&&r.that,p=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),v=Wt(e,l,1+p+d),m=function(t){return n&&te(n),new ee(!0,t)},y=function(t){return p?(T(t),d?v(t[0],t[1],m):v(t[0],t[1])):d?v(t,m):v(t)};if(h)n=t;else{if("function"!=typeof(o=function(t){if(null!=t)return t[Zt]||t["@@iterator"]||Ht[Yt(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(f=o)&&(Ht.Array===f||Vt[Jt]===f)){for(i=0,a=lt(t.length);a>i;i++)if((u=y(t[i]))&&u instanceof ee)return u;return new ee(!1)}n=o.call(t)}for(c=n.next;!(s=c.call(n)).done;){try{u=y(s.value)}catch(t){throw te(n),t}if("object"==typeof u&&u&&u instanceof ee)return u}return new ee(!1)},ne=qt("iterator"),oe=!1;try{var ie=0,ae={next:function(){return{done:!!ie++}},return:function(){oe=!0}};ae[ne]=function(){return this},Array.from(ae,(function(){throw 2}))}catch(t){}var ue,ce,se,fe=qt("species"),le=at("document","documentElement"),pe=at("navigator","userAgent")||"",he=/(iphone|ipod|ipad).*applewebkit/i.test(pe),de="process"==v(u.process),ve=u.location,me=u.setImmediate,ye=u.clearImmediate,ge=u.process,be=u.MessageChannel,we=u.Dispatch,xe=0,Ee={},je=function(t){if(Ee.hasOwnProperty(t)){var e=Ee[t];delete Ee[t],e()}},Se=function(t){return function(){je(t)}},Oe=function(t){je(t.data)},ke=function(t){u.postMessage(t+"",ve.protocol+"//"+ve.host)};me&&ye||(me=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return Ee[++xe]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},ue(xe),xe},ye=function(t){delete Ee[t]},de?ue=function(t){ge.nextTick(Se(t))}:we&&we.now?ue=function(t){we.now(Se(t))}:be&&!he?(se=(ce=new be).port2,ce.port1.onmessage=Oe,ue=Wt(se.postMessage,se,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts&&ve&&"file:"!==ve.protocol&&!c(ke)?(ue=ke,u.addEventListener("message",Oe,!1)):ue="onreadystatechange"in k("script")?function(t){le.appendChild(k("script")).onreadystatechange=function(){le.removeChild(this),je(t)}}:function(t){setTimeout(Se(t),0)});var Re,Pe,_e,Te,Ce,Le,Ne,Ae,Ie={set:me,clear:ye},De=/web0s(?!.*chrome)/i.test(pe),Fe=_.f,Ue=Ie.set,qe=u.MutationObserver||u.WebKitMutationObserver,Be=u.document,Me=u.process,ze=u.Promise,Ge=Fe(u,"queueMicrotask"),He=Ge&&Ge.value;He||(Re=function(){var t,e;for(de&&(t=Me.domain)&&t.exit();Pe;){e=Pe.fn,Pe=Pe.next;try{e()}catch(t){throw Pe?Te():_e=void 0,t}}_e=void 0,t&&t.enter()},he||de||De||!qe||!Be?ze&&ze.resolve?(Ne=ze.resolve(void 0),Ae=Ne.then,Te=function(){Ae.call(Ne,Re)}):Te=de?function(){Me.nextTick(Re)}:function(){Ue.call(u,Re)}:(Ce=!0,Le=Be.createTextNode(""),new qe(Re).observe(Le,{characterData:!0}),Te=function(){Le.data=Ce=!Ce}));var Je,Ve,We=He||function(t){var e={fn:t,next:void 0};_e&&(_e.next=e),Pe||(Pe=e,Te()),_e=e},Xe=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=Gt(e),this.reject=Gt(r)},Ke={f:function(t){return new Xe(t)}},Qe=function(t,e){if(T(t),w(e)&&e.constructor===t)return e;var r=Ke.f(t);return(0,r.resolve)(e),r.promise},$e=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ye=u.process,Ze=Ye&&Ye.versions,tr=Ze&&Ze.v8;tr?Ve=(Je=tr.split("."))[0]+Je[1]:pe&&(!(Je=pe.match(/Edge\/(\d+)/))||Je[1]>=74)&&(Je=pe.match(/Chrome\/(\d+)/))&&(Ve=Je[1]);var er,rr,nr,or,ir,ar,ur,cr=Ve&&+Ve,sr=Ie.set,fr=qt("species"),lr="Promise",pr=rt.get,hr=rt.set,dr=rt.getterFor(lr),vr=Nt,mr=u.TypeError,yr=u.document,gr=u.process,br=at("fetch"),wr=Ke.f,xr=wr,Er=!!(yr&&yr.createEvent&&u.dispatchEvent),jr="function"==typeof PromiseRejectionEvent,Sr=Tt(lr,(function(){if(!(M(vr)!==String(vr))){if(66===cr)return!0;if(!de&&!jr)return!0}if(cr>=51&&/native code/.test(vr))return!1;var t=vr.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[fr]=e,!(t.then((function(){}))instanceof e)})),Or=Sr||!function(t,e){if(!e&&!oe)return!1;var r=!1;try{var n={};n[ne]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}((function(t){vr.all(t).catch((function(){}))})),kr=function(t){var e;return!(!w(t)||"function"!=typeof(e=t.then))&&e},Rr=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;We((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,u,c,s=r[i++],f=o?s.ok:s.fail,l=s.resolve,p=s.reject,h=s.domain;try{f?(o||(2===t.rejection&&Cr(t),t.rejection=1),!0===f?a=n:(h&&h.enter(),a=f(n),h&&(h.exit(),c=!0)),a===s.promise?p(mr("Promise-chain cycle")):(u=kr(a))?u.call(a,l,p):l(a)):p(n)}catch(t){h&&!c&&h.exit(),p(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&_r(t)}))}},Pr=function(t,e,r){var n,o;Er?((n=yr.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!jr&&(o=u["on"+t])?o(n):"unhandledrejection"===t&&function(t,e){var r=u.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},_r=function(t){sr.call(u,(function(){var e,r=t.facade,n=t.value;if(Tr(t)&&(e=$e((function(){de?gr.emit("unhandledRejection",n,r):Pr("unhandledrejection",r,n)})),t.rejection=de||Tr(t)?2:1,e.error))throw e.value}))},Tr=function(t){return 1!==t.rejection&&!t.parent},Cr=function(t){sr.call(u,(function(){var e=t.facade;de?gr.emit("rejectionHandled",e):Pr("rejectionhandled",e,t.value)}))},Lr=function(t,e,r){return function(n){t(e,n,r)}},Nr=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Rr(t,!0))},Ar=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw mr("Promise can't be resolved itself");var n=kr(e);n?We((function(){var r={done:!1};try{n.call(e,Lr(Ar,r,t),Lr(Nr,r,t))}catch(e){Nr(r,e,t)}})):(t.value=e,t.state=1,Rr(t,!1))}catch(e){Nr({done:!1},e,t)}}};Sr&&(vr=function(t){!function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation")}(this,vr,lr),Gt(t),er.call(this);var e=pr(this);try{t(Lr(Ar,e),Lr(Nr,e))}catch(t){Nr(e,t)}},(er=function(t){hr(this,{type:lr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(t,e,r){for(var n in e)nt(t,n,e[n],r);return t}(vr.prototype,{then:function(t,e){var r,n,o,i=dr(this),a=wr((r=vr,void 0===(o=T(this).constructor)||null==(n=T(o)[fe])?r:Gt(n)));return a.ok="function"!=typeof t||t,a.fail="function"==typeof e&&e,a.domain=de?gr.domain:void 0,i.parent=!0,i.reactions.push(a),0!=i.state&&Rr(i,!1),a.promise},catch:function(t){return this.then(void 0,t)}}),rr=function(){var t=new er,e=pr(t);this.promise=t,this.resolve=Lr(Ar,e),this.reject=Lr(Nr,e)},Ke.f=wr=function(t){return t===vr||t===nr?new rr(t):xr(t)},"function"==typeof Nt&&(or=Nt.prototype.then,nt(Nt.prototype,"then",(function(t,e){var r=this;return new vr((function(t,e){or.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof br&&Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Qe(vr,br.apply(u,arguments))}}))),Lt({global:!0,wrap:!0,forced:Sr},{Promise:vr}),ar=lr,ur=!1,(ir=vr)&&!j(ir=ur?ir:ir.prototype,Mt)&&Bt(ir,Mt,{configurable:!0,value:ar}),function(t){var e=at(t),r=L.f;s&&e&&!e[zt]&&r(e,zt,{configurable:!0,get:function(){return this}})}(lr),nr=at(lr),Lt({target:lr,stat:!0,forced:Sr},{reject:function(t){var e=wr(this);return e.reject.call(void 0,t),e.promise}}),Lt({target:lr,stat:!0,forced:Sr},{resolve:function(t){return Qe(this,t)}}),Lt({target:lr,stat:!0,forced:Or},{all:function(t){var e=this,r=wr(e),n=r.resolve,o=r.reject,i=$e((function(){var r=Gt(e.resolve),i=[],a=0,u=1;re(t,(function(t){var c=a++,s=!1;i.push(void 0),u++,r.call(e,t).then((function(t){s||(s=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=wr(e),n=r.reject,o=$e((function(){var o=Gt(e.resolve);re(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var Ir=Kt?{}.toString:function(){return"[object "+Yt(this)+"]"};Kt||nt(Object.prototype,"toString",Ir,{unsafe:!0});var Dr=[].slice,Fr={},Ur=function(t,e,r){if(!(e in Fr)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Fr[e]=Function("C,a","return new C("+n.join(",")+")")}return Fr[e](t,r)};Lt({target:"Function",proto:!0},{bind:Function.bind||function(t){var e=Gt(this),r=Dr.call(arguments,1),n=function(){var o=r.concat(Dr.call(arguments));return this instanceof n?Ur(e,o.length,o):e.apply(t,o)};return w(e.prototype)&&(n.prototype=e.prototype),n}});var qr=Object.keys||function(t){return yt(t,gt)},Br=function(t){return Object(g(t))},Mr=Object.assign,zr=Object.defineProperty,Gr=!Mr||c((function(){if(s&&1!==Mr({b:1},Mr(zr({},"a",{enumerable:!0,get:function(){zr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Mr({},t)[r]||qr(Mr({},e)).join("")!=n}))?function(t,e){for(var r=Br(t),n=arguments.length,o=1,i=xt.f,a=p.f;n>o;)for(var u,c=y(arguments[o++]),f=i?qr(c).concat(i(c)):qr(c),l=f.length,h=0;l>h;)u=f[h++],s&&!a.call(c,u)||(r[u]=c[u]);return r}:Mr;Lt({target:"Object",stat:!0,forced:Object.assign!==Gr},{assign:Gr});var Hr,Jr=Array.isArray||function(t){return"Array"==v(t)},Vr=function(t,e,r){var n=x(e);n in t?L.f(t,n,h(0,r)):t[n]=r},Wr=qt("species"),Xr=(Hr="slice",cr>=51||!c((function(){var t=[];return(t.constructor={})[Wr]=function(){return{foo:1}},1!==t[Hr](Boolean).foo}))),Kr=qt("species"),Qr=[].slice,$r=Math.max;Lt({target:"Array",proto:!0,forced:!Xr},{slice:function(t,e){var r,n,o,i=b(this),a=lt(i.length),u=dt(t,a),c=dt(void 0===e?a:e,a);if(Jr(i)&&("function"!=typeof(r=i.constructor)||r!==Array&&!Jr(r.prototype)?w(r)&&null===(r=r[Kr])&&(r=void 0):r=void 0,r===Array||void 0===r))return Qr.call(i,u,c);for(n=new(void 0===r?Array:r)($r(c-u,0)),o=0;u<c;u++,o++)u in i&&Vr(n,o,i[u]);return n.length=o,n}});var Yr=i((function(t,e){t.exports=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){t.exports=r(1)},function(t,e,r){function n(t){var e=new a(t),r=i(a.prototype.request,e);return o.extend(r,a.prototype,e),o.extend(r,e),r}var o=r(2),i=r(3),a=r(4),u=r(22),c=n(r(10));c.Axios=a,c.create=function(t){return n(u(c.defaults,t))},c.Cancel=r(23),c.CancelToken=r(24),c.isCancel=r(9),c.all=function(t){return Promise.all(t)},c.spread=r(25),c.isAxiosError=r(26),t.exports=c,t.exports.default=c},function(t,e,r){function n(t){return"[object Array]"===k.call(t)}function o(t){return void 0===t}function i(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function a(t){return"[object ArrayBuffer]"===k.call(t)}function u(t){return"undefined"!=typeof FormData&&t instanceof FormData}function c(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function f(t){return"number"==typeof t}function l(t){return null!==t&&"object"==typeof t}function p(t){if("[object Object]"!==k.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function h(t){return"[object Date]"===k.call(t)}function d(t){return"[object File]"===k.call(t)}function v(t){return"[object Blob]"===k.call(t)}function m(t){return"[object Function]"===k.call(t)}function y(t){return l(t)&&m(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function b(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document}function x(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),n(t))for(var r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function E(){function t(t,r){p(e[r])&&p(t)?e[r]=E(e[r],t):p(t)?e[r]=E({},t):n(t)?e[r]=t.slice():e[r]=t}for(var e={},r=0,o=arguments.length;r<o;r++)x(arguments[r],t);return e}function j(t,e,r){return x(e,(function(e,n){t[n]=r&&"function"==typeof e?O(e,r):e})),t}function S(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}var O=r(3),k=Object.prototype.toString;t.exports={isArray:n,isArrayBuffer:a,isBuffer:i,isFormData:u,isArrayBufferView:c,isString:s,isNumber:f,isObject:l,isPlainObject:p,isUndefined:o,isDate:h,isFile:d,isBlob:v,isFunction:m,isStream:y,isURLSearchParams:g,isStandardBrowserEnv:w,forEach:x,merge:E,extend:j,trim:b,stripBOM:S}},function(t,e){t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},function(t,e,r){function n(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var o=r(2),i=r(5),a=r(6),u=r(7),c=r(22);n.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=c(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[u,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)r=r.then(e.shift(),e.shift());return r},n.prototype.getUri=function(t){return t=c(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(t){n.prototype[t]=function(e,r){return this.request(c(r||{},{method:t,url:e,data:(r||{}).data}))}})),o.forEach(["post","put","patch"],(function(t){n.prototype[t]=function(e,r,n){return this.request(c(n||{},{method:t,url:e,data:r}))}})),t.exports=n},function(t,e,r){function n(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(2);t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,(function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,(function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(n(e)+"="+n(t))})))})),i=a.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},function(t,e,r){function n(){this.handlers=[]}var o=r(2);n.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=n},function(t,e,r){function n(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=r(2),i=r(8),a=r(9),u=r(10);t.exports=function(t){return n(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||u.adapter)(t).then((function(e){return n(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(n(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,r){var n=r(2);t.exports=function(t,e,r){return n.forEach(r,(function(r){t=r(t,e)})),t}},function(t,e){t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,r){function n(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function o(){var t;return("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=r(12)),t}var i=r(2),a=r(11),u={"Content-Type":"application/x-www-form-urlencoded"},c={adapter:o(),transformRequest:[function(t,e){return a(e,"Accept"),a(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(n(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){c.headers[t]=i.merge(u)})),t.exports=c},function(t,e,r){var n=r(2);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},function(t,e,r){var n=r(2),o=r(13),i=r(16),a=r(5),u=r(17),c=r(20),s=r(21),f=r(14);t.exports=function(t){return new Promise((function(e,r){var l=t.data,p=t.headers;n.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(d+":"+v)}var m=u(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),a(m,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};o(e,r,i),h=null}},h.onabort=function(){h&&(r(f("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(f("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var y=(t.withCredentials||s(m))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;y&&(p[t.xsrfHeaderName]=y)}if("setRequestHeader"in h&&n.forEach(p,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),r(t),h=null)})),l||(l=null),h.send(l)}))}},function(t,e,r){var n=r(14);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},function(t,e,r){var n=r(15);t.exports=function(t,e,r,o,i){var a=new Error(t);return n(a,e,r,o,i)}},function(t,e){t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,r){var n=r(2);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,r){var n=r(18),o=r(19);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},function(t,e){t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e){t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){var n=r(2),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,a={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}})),a):a}},function(t,e,r){var n=r(2);t.exports=n.isStandardBrowserEnv()?function(){function t(t){var e=t;return r&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(r){var o=n.isString(r)?t(r):r;return o.protocol===e.protocol&&o.host===e.host}}():function(){return!0}},function(t,e,r){var n=r(2);t.exports=function(t,e){function r(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function o(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(i[o]=r(void 0,t[o])):i[o]=r(t[o],e[o])}e=e||{};var i={},a=["url","method","data"],u=["headers","auth","proxy","params"],c=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];n.forEach(a,(function(t){n.isUndefined(e[t])||(i[t]=r(void 0,e[t]))})),n.forEach(u,o),n.forEach(c,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(i[o]=r(void 0,t[o])):i[o]=r(void 0,e[o])})),n.forEach(s,(function(n){n in e?i[n]=r(t[n],e[n]):n in t&&(i[n]=r(void 0,t[n]))}));var f=a.concat(u).concat(c).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return n.forEach(l,o),i}},function(t,e){function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,r){function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new o(t),e(r.reason))}))}var o=r(23);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n((function(e){t=e})),cancel:t}},t.exports=n},function(t,e){t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e){t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}}])}));Yr.axios;var Zr="".concat("http://127.0.0.1:11111","/services/print"),tn="".concat("http://127.0.0.1:11111","/PrintLocal"),en=Yr.create({timeout:1e3,withCredentials:!1}),rn=Yr.create({withCredentials:!1}),nn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var o,i,a,u,c,s,f,l,p,h,d,v,m;return o=t,(i=[{key:"_testConnection",value:function(){var t=this;return new Promise(function(e){var r=this;n(this,t),en({url:"".concat("http://127.0.0.1:11111","/test"),method:"get",withCredentials:!1,params:{inputdata:{result:"success"}}}).then(function(t){n(this,r),"success"===t.data.result?e(!0):e(!1)}.bind(this)).catch(function(t){n(this,r),e(!1)}.bind(this))}.bind(this))}},{key:"_queryServicesPrint",value:function(t){var e=this;return rn({url:Zr,method:"get",params:{inputData:JSON.stringify(t)}}).then(function(t){return n(this,e),t.data}.bind(this))}},{key:"_callPrintWithFile",value:function(t){var e=this,r={cmdid:"7",flag:"1"},o={inputData:JSON.stringify(Object.assign({},r,t))};return rn({url:tn,method:"post",data:o,transformRequest:[function(t){var e="";for(var r in t)e+=encodeURIComponent(r)+"="+encodeURIComponent(t[r])+"&";return e=e.slice(0,-1)}]}).then(function(t){return n(this,e),t.data}.bind(this))}},{key:"_handleResult",value:function(t,e){return"success"!==t.result?(e({type:"printError",message:t.message||t.Message,result:t.result,errinfo:t.errinfo}),!1):t}},{key:"_handleResultTest",value:function(t,e){return!!t||(console.log("notInstalledApp"),e({type:"notInstalledApp",message:"请打开打印服务器插件"}),!1)}},{key:"_handleEventQueryPrintData",value:(m=e(regeneratorRuntime.mark((function t(e,r,n,o){var i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={templateId:e,formatId:r,params:n,cmdid:"7"},t.next=3,this._queryServicesPrint(i);case 3:return a=t.sent,t.abrupt("return",this._handleQueryPrintDataResult(a,r,o));case 5:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n){return m.apply(this,arguments)})},{key:"_handleQueryPrintDataResult",value:function(t,e,r){if(null==t||!t.file){try{var n=t.message||t.Message;console.log(n),r({type:"queryPrintDataFailure",message:n})}catch(t){console.log(t)}return!1}return{file:t.file,printerName:t.defprinter,pageCount:t.pagecount,formatId:e}}},{key:"_handleEventDirect",value:(v=e(regeneratorRuntime.mark((function t(e,r,n,o,i){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a={templateId:e,formatId:r,params:n,cmdid:o,nobillnode:"1"},i){try{i=JSON.parse(i)}catch(t){}a.print=i}return t.next=4,this._queryServicesPrint(a);case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}}),t,this)}))),function(t,e,r,n,o){return v.apply(this,arguments)})},{key:"_handleEventEditFormat",value:(d=e(regeneratorRuntime.mark((function t(e){var r,n,o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.templateId,n=e.formatId,o=void 0===n?"":n,i=e.params,a=void 0===i?{}:i,u=e.token,c={limit:"1"},s={};try{s=Object.assign({},c,JSON.parse(a))}catch(t){s=c}return f={templateId:r,formatId:o,cmdid:"9",token:u,params:JSON.stringify(s)},t.next=7,this._queryServicesPrint(f);case 7:return t.abrupt("return",t.sent);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"preview",value:(h=e(regeneratorRuntime.mark((function t(e,r,n){var o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,n)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventDirect(o,i,u,"8");case 8:if(s=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:if(f=this._handleResult(s,n)){t.next=14;break}return t.abrupt("return",!1);case 14:r&&r(f);case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return h.apply(this,arguments)})},{key:"printDirect",value:(p=e(regeneratorRuntime.mark((function t(e,r,n){var o,i,a,u,c,s,f,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,c=e.print,t.next=3,this._testConnection();case 3:if(s=t.sent,this._handleResultTest(s,n)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventDirect(o,i,u,"7",c);case 8:if(f=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:if(l=this._handleResult(f,n)){t.next=14;break}return t.abrupt("return",!1);case 14:r&&r(l);case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return p.apply(this,arguments)})},{key:"print",value:(l=e(regeneratorRuntime.mark((function t(e,r,n){var o,i,a,u,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,n)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this.queryPrintData({templateId:o,formatId:i,params:u},null,n);case 8:if(s=t.sent,this.printFileData({formatId:i,file:s.file,printerName:s.printerName},null,n)){t.next=12;break}return t.abrupt("return",!1);case 12:r&&r(result);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return l.apply(this,arguments)})},{key:"queryPrintData",value:(f=e(regeneratorRuntime.mark((function t(e,r,n){var o,i,a,u,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,n)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventQueryPrintData(o,i,u,n);case 8:if(s=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:return r&&r(s),t.abrupt("return",s);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return f.apply(this,arguments)})},{key:"printFileData",value:(s=e(regeneratorRuntime.mark((function t(e,r,n){var o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.formatId,i=e.file,a=e.printerName,u=void 0===a?"Default":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,n)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._callPrintWithFile({formatId:o,printname:u,file:i});case 8:if(s=t.sent,f=this._handleResult(s,n)){t.next=12;break}return t.abrupt("return",!1);case 12:return r&&r(f),t.abrupt("return",f);case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return s.apply(this,arguments)})},{key:"editPrintFormat",value:(c=e(regeneratorRuntime.mark((function t(e,r,n){var o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=e.token,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,n)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventEditFormat({templateId:o,formatId:i,params:a,token:u});case 8:if(s=t.sent,f=this._handleResult(s,n)){t.next=12;break}return t.abrupt("return",!1);case 12:r&&r(f);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return c.apply(this,arguments)})},{key:"addPrintFormat",value:(u=e(regeneratorRuntime.mark((function t(e,r,n){var o,i,a,u,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.params,a=e.token,t.next=3,this._testConnection();case 3:if(u=t.sent,this._handleResultTest(u,n)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventEditFormat({templateId:o,params:i,token:a});case 8:if(c=t.sent,s=this._handleResult(c,n)){t.next=12;break}return t.abrupt("return",!1);case 12:r&&r(s);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return u.apply(this,arguments)})}])&&r(o.prototype,i),a&&r(o,a),t}();export default nn;
1
+ function t(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function e(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function u(e){t(a,o,i,u,c,"next",e)}function c(e){t(a,o,i,u,c,"throw",e)}u(void 0)}))}}function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t,e){return t(e={exports:{}},e.exports),e.exports}i((function(t){var e=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=j(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=f(t,e,n);if("normal"===c.type){if(r=n.done?d:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function m(){}function g(){}function y(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(P([])));x&&x!==n&&r.call(x,i)&&(b=x);var E=y.prototype=m.prototype=Object.create(b);function O(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function j(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function P(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:e,done:!0}}return g.prototype=y,c(E,"constructor",y),c(y,"constructor",g),g.displayName=c(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},O(S.prototype),c(S.prototype,a,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new S(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(E),c(E,u,"Generator"),c(E,i,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=P,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(R),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return u.type="throw",u.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){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(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),R(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;R(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var a,u,c=function(t){return t&&t.Math==Math&&t},s=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof o&&o)||function(){return this}()||Function("return this")(),f=Object.defineProperty,l=function(t,e){try{f(s,t,{value:e,configurable:!0,writable:!0})}catch(n){s[t]=e}return e},p=s["__core-js_shared__"]||l("__core-js_shared__",{}),h=i((function(t){(t.exports=function(t,e){return p[t]||(p[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),d=Function.prototype,v=d.bind,m=d.call,g=v&&v.bind(m),y=v?function(t){return t&&g(m,t)}:function(t){return t&&function(){return m.apply(t,arguments)}},b=s.TypeError,w=function(t){if(null==t)throw b("Can't call method on "+t);return t},x=s.Object,E=function(t){return x(w(t))},O=y({}.hasOwnProperty),S=Object.hasOwn||function(t,e){return O(E(t),e)},j=0,_=Math.random(),R=y(1..toString),k=function(t){return"Symbol("+(void 0===t?"":t)+")_"+R(++j+_,36)},P=function(t){return"function"==typeof t},T=function(t){return P(t)?t:void 0},I=function(t,e){return arguments.length<2?T(s[t]):s[t]&&s[t][e]},C=I("navigator","userAgent")||"",N=s.process,A=s.Deno,L=N&&N.versions||A&&A.version,D=L&&L.v8;D&&(u=(a=D.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!u&&C&&(!(a=C.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=C.match(/Chrome\/(\d+)/))&&(u=+a[1]);var F=u,U=function(t){try{return!!t()}catch(t){return!0}},M=!!Object.getOwnPropertySymbols&&!U((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&F&&F<41})),B=M&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,q=h("wks"),J=s.Symbol,z=J&&J.for,G=B?J:J&&J.withoutSetter||k,H=function(t){if(!S(q,t)||!M&&"string"!=typeof q[t]){var e="Symbol."+t;M&&S(J,t)?q[t]=J[t]:q[t]=B&&z?z(e):G(e)}return q[t]},W={};W[H("toStringTag")]="z";var Y="[object z]"===String(W),$=!U((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),K=function(t){return"object"==typeof t?null!==t:P(t)},X=s.document,V=K(X)&&K(X.createElement),Q=function(t){return V?X.createElement(t):{}},Z=!$&&!U((function(){return 7!=Object.defineProperty(Q("div"),"a",{get:function(){return 7}}).a})),tt=s.String,et=s.TypeError,nt=function(t){if(K(t))return t;throw et(tt(t)+" is not an object")},rt=Function.prototype.call,ot=rt.bind?rt.bind(rt):function(){return rt.apply(rt,arguments)},it=y({}.isPrototypeOf),at=s.Object,ut=B?function(t){return"symbol"==typeof t}:function(t){var e=I("Symbol");return P(e)&&it(e.prototype,at(t))},ct=s.String,st=function(t){try{return ct(t)}catch(t){return"Object"}},ft=s.TypeError,lt=function(t){if(P(t))return t;throw ft(st(t)+" is not a function")},pt=function(t,e){var n=t[e];return null==n?void 0:lt(n)},ht=s.TypeError,dt=s.TypeError,vt=H("toPrimitive"),mt=function(t,e){if(!K(t)||ut(t))return t;var n,r=pt(t,vt);if(r){if(void 0===e&&(e="default"),n=ot(r,t,e),!K(n)||ut(n))return n;throw dt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&P(n=t.toString)&&!K(r=ot(n,t)))return r;if(P(n=t.valueOf)&&!K(r=ot(n,t)))return r;if("string"!==e&&P(n=t.toString)&&!K(r=ot(n,t)))return r;throw ht("Can't convert object to primitive value")}(t,e)},gt=function(t){var e=mt(t,"string");return ut(e)?e:e+""},yt=s.TypeError,bt=Object.defineProperty,wt={f:$?bt:function(t,e,n){if(nt(t),e=gt(e),nt(n),Z)try{return bt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw yt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},xt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Et=$?function(t,e,n){return wt.f(t,e,xt(1,n))}:function(t,e,n){return t[e]=n,t},Ot=y(Function.toString);P(p.inspectSource)||(p.inspectSource=function(t){return Ot(t)});var St,jt,_t,Rt=p.inspectSource,kt=s.WeakMap,Pt=P(kt)&&/native code/.test(Rt(kt)),Tt=h("keys"),It=function(t){return Tt[t]||(Tt[t]=k(t))},Ct={},Nt=s.TypeError,At=s.WeakMap;if(Pt||p.state){var Lt=p.state||(p.state=new At),Dt=y(Lt.get),Ft=y(Lt.has),Ut=y(Lt.set);St=function(t,e){if(Ft(Lt,t))throw new Nt("Object already initialized");return e.facade=t,Ut(Lt,t,e),e},jt=function(t){return Dt(Lt,t)||{}},_t=function(t){return Ft(Lt,t)}}else{var Mt=It("state");Ct[Mt]=!0,St=function(t,e){if(S(t,Mt))throw new Nt("Object already initialized");return e.facade=t,Et(t,Mt,e),e},jt=function(t){return S(t,Mt)?t[Mt]:{}},_t=function(t){return S(t,Mt)}}var Bt={set:St,get:jt,has:_t,enforce:function(t){return _t(t)?jt(t):St(t,{})},getterFor:function(t){return function(e){var n;if(!K(e)||(n=jt(e)).type!==t)throw Nt("Incompatible receiver, "+t+" required");return n}}},qt=Function.prototype,Jt=$&&Object.getOwnPropertyDescriptor,zt=S(qt,"name"),Gt={EXISTS:zt,PROPER:zt&&"something"===function(){}.name,CONFIGURABLE:zt&&(!$||$&&Jt(qt,"name").configurable)},Ht=i((function(t){var e=Gt.CONFIGURABLE,n=Bt.get,r=Bt.enforce,o=String(String).split("String");(t.exports=function(t,n,i,a){var u,c=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet,h=a&&void 0!==a.name?a.name:n;P(i)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!S(i,"name")||e&&i.name!==h)&&Et(i,"name",h),(u=r(i)).source||(u.source=o.join("string"==typeof h?h:""))),t!==s?(c?!p&&t[n]&&(f=!0):delete t[n],f?t[n]=i:Et(t,n,i)):f?t[n]=i:l(n,i)})(Function.prototype,"toString",(function(){return P(this)&&n(this).source||Rt(this)}))})),Wt=y({}.toString),Yt=y("".slice),$t=function(t){return Yt(Wt(t),8,-1)},Kt=H("toStringTag"),Xt=s.Object,Vt="Arguments"==$t(function(){return arguments}()),Qt=Y?$t:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Xt(t),Kt))?n:Vt?$t(e):"Object"==(r=$t(e))&&P(e.callee)?"Arguments":r},Zt=Y?{}.toString:function(){return"[object "+Qt(this)+"]"};Y||Ht(Object.prototype,"toString",Zt,{unsafe:!0});var te={}.propertyIsEnumerable,ee=Object.getOwnPropertyDescriptor,ne={f:ee&&!te.call({1:2},1)?function(t){var e=ee(this,t);return!!e&&e.enumerable}:te},re=s.Object,oe=y("".split),ie=U((function(){return!re("z").propertyIsEnumerable(0)}))?function(t){return"String"==$t(t)?oe(t,""):re(t)}:re,ae=function(t){return ie(w(t))},ue=Object.getOwnPropertyDescriptor,ce={f:$?ue:function(t,e){if(t=ae(t),e=gt(e),Z)try{return ue(t,e)}catch(t){}if(S(t,e))return xt(!ot(ne.f,t,e),t[e])}},se=Math.ceil,fe=Math.floor,le=function(t){var e=+t;return e!=e||0===e?0:(e>0?fe:se)(e)},pe=Math.max,he=Math.min,de=function(t,e){var n=le(t);return n<0?pe(n+e,0):he(n,e)},ve=Math.min,me=function(t){return t>0?ve(le(t),9007199254740991):0},ge=function(t){return me(t.length)},ye=function(t){return function(e,n,r){var o,i=ae(e),a=ge(i),u=de(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},be={includes:ye(!0),indexOf:ye(!1)}.indexOf,we=y([].push),xe=function(t,e){var n,r=ae(t),o=0,i=[];for(n in r)!S(Ct,n)&&S(r,n)&&we(i,n);for(;e.length>o;)S(r,n=e[o++])&&(~be(i,n)||we(i,n));return i},Ee=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oe=Ee.concat("length","prototype"),Se={f:Object.getOwnPropertyNames||function(t){return xe(t,Oe)}},je={f:Object.getOwnPropertySymbols},_e=y([].concat),Re=I("Reflect","ownKeys")||function(t){var e=Se.f(nt(t)),n=je.f;return n?_e(e,n(t)):e},ke=function(t,e){for(var n=Re(e),r=wt.f,o=ce.f,i=0;i<n.length;i++){var a=n[i];S(t,a)||r(t,a,o(e,a))}},Pe=/#|\.prototype\./,Te=function(t,e){var n=Ce[Ie(t)];return n==Ae||n!=Ne&&(P(e)?U(e):!!e)},Ie=Te.normalize=function(t){return String(t).replace(Pe,".").toLowerCase()},Ce=Te.data={},Ne=Te.NATIVE="N",Ae=Te.POLYFILL="P",Le=Te,De=ce.f,Fe=function(t,e){var n,r,o,i,a,u=t.target,c=t.global,f=t.stat;if(n=c?s:f?s[u]||l(u,{}):(s[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=De(n,r))&&a.value:n[r],!Le(c?r:u+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;ke(i,o)}(t.sham||o&&o.sham)&&Et(i,"sham",!0),Ht(n,r,i,t)}},Ue=s.Promise,Me=s.String,Be=s.TypeError,qe=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=y(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return nt(n),function(t){if("object"==typeof t||P(t))return t;throw Be("Can't set "+Me(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),Je=wt.f,ze=H("toStringTag"),Ge=H("species"),He=s.TypeError,We=y(y.bind),Ye=function(t,e){return lt(t),void 0===e?t:We?We(t,e):function(){return t.apply(e,arguments)}},$e={},Ke=H("iterator"),Xe=Array.prototype,Ve=H("iterator"),Qe=function(t){if(null!=t)return pt(t,Ve)||pt(t,"@@iterator")||$e[Qt(t)]},Ze=s.TypeError,tn=function(t,e,n){var r,o;nt(t);try{if(!(r=pt(t,"return"))){if("throw"===e)throw n;return n}r=ot(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return nt(r),n},en=s.TypeError,nn=function(t,e){this.stopped=t,this.result=e},rn=nn.prototype,on=function(t,e,n){var r,o,i,a,u,c,s,f,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),v=Ye(e,l),m=function(t){return r&&tn(r,"normal",t),new nn(!0,t)},g=function(t){return p?(nt(t),d?v(t[0],t[1],m):v(t[0],t[1])):d?v(t,m):v(t)};if(h)r=t;else{if(!(o=Qe(t)))throw en(st(t)+" is not iterable");if(void 0!==(f=o)&&($e.Array===f||Xe[Ke]===f)){for(i=0,a=ge(t);a>i;i++)if((u=g(t[i]))&&it(rn,u))return u;return new nn(!1)}r=function(t,e){var n=arguments.length<2?Qe(t):e;if(lt(n))return nt(ot(n,t));throw Ze(st(t)+" is not iterable")}(t,o)}for(c=r.next;!(s=ot(c,r)).done;){try{u=g(s.value)}catch(t){tn(r,"throw",t)}if("object"==typeof u&&u&&it(rn,u))return u}return new nn(!1)},an=H("iterator"),un=!1;try{var cn=0,sn={next:function(){return{done:!!cn++}},return:function(){un=!0}};sn[an]=function(){return this},Array.from(sn,(function(){throw 2}))}catch(t){}var fn,ln,pn,hn,dn=function(){},vn=[],mn=I("Reflect","construct"),gn=/^\s*(?:class|function)\b/,yn=y(gn.exec),bn=!gn.exec(dn),wn=function(t){if(!P(t))return!1;try{return mn(dn,vn,t),!0}catch(t){return!1}},xn=!mn||U((function(){var t;return wn(wn.call)||!wn(Object)||!wn((function(){t=!0}))||t}))?function(t){if(!P(t))return!1;switch(Qt(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return bn||!!yn(gn,Rt(t))}:wn,En=s.TypeError,On=H("species"),Sn=function(t,e){var n,r=nt(t).constructor;return void 0===r||null==(n=nt(r)[On])?e:function(t){if(xn(t))return t;throw En(st(t)+" is not a constructor")}(n)},jn=Function.prototype,_n=jn.apply,Rn=jn.bind,kn=jn.call,Pn="object"==typeof Reflect&&Reflect.apply||(Rn?kn.bind(_n):function(){return kn.apply(_n,arguments)}),Tn=I("document","documentElement"),In=y([].slice),Cn=/(?:ipad|iphone|ipod).*applewebkit/i.test(C),Nn="process"==$t(s.process),An=s.setImmediate,Ln=s.clearImmediate,Dn=s.process,Fn=s.Dispatch,Un=s.Function,Mn=s.MessageChannel,Bn=s.String,qn=0,Jn={};try{fn=s.location}catch(t){}var zn=function(t){if(S(Jn,t)){var e=Jn[t];delete Jn[t],e()}},Gn=function(t){return function(){zn(t)}},Hn=function(t){zn(t.data)},Wn=function(t){s.postMessage(Bn(t),fn.protocol+"//"+fn.host)};An&&Ln||(An=function(t){var e=In(arguments,1);return Jn[++qn]=function(){Pn(P(t)?t:Un(t),void 0,e)},ln(qn),qn},Ln=function(t){delete Jn[t]},Nn?ln=function(t){Dn.nextTick(Gn(t))}:Fn&&Fn.now?ln=function(t){Fn.now(Gn(t))}:Mn&&!Cn?(hn=(pn=new Mn).port2,pn.port1.onmessage=Hn,ln=Ye(hn.postMessage,hn)):s.addEventListener&&P(s.postMessage)&&!s.importScripts&&fn&&"file:"!==fn.protocol&&!U(Wn)?(ln=Wn,s.addEventListener("message",Hn,!1)):ln="onreadystatechange"in Q("script")?function(t){Tn.appendChild(Q("script")).onreadystatechange=function(){Tn.removeChild(this),zn(t)}}:function(t){setTimeout(Gn(t),0)});var Yn,$n,Kn,Xn,Vn,Qn,Zn,tr,er={set:An,clear:Ln},nr=/ipad|iphone|ipod/i.test(C)&&void 0!==s.Pebble,rr=/web0s(?!.*chrome)/i.test(C),or=ce.f,ir=er.set,ar=s.MutationObserver||s.WebKitMutationObserver,ur=s.document,cr=s.process,sr=s.Promise,fr=or(s,"queueMicrotask"),lr=fr&&fr.value;lr||(Yn=function(){var t,e;for(Nn&&(t=cr.domain)&&t.exit();$n;){e=$n.fn,$n=$n.next;try{e()}catch(t){throw $n?Xn():Kn=void 0,t}}Kn=void 0,t&&t.enter()},Cn||Nn||rr||!ar||!ur?!nr&&sr&&sr.resolve?((Zn=sr.resolve(void 0)).constructor=sr,tr=Ye(Zn.then,Zn),Xn=function(){tr(Yn)}):Nn?Xn=function(){cr.nextTick(Yn)}:(ir=Ye(ir,s),Xn=function(){ir(Yn)}):(Vn=!0,Qn=ur.createTextNode(""),new ar(Yn).observe(Qn,{characterData:!0}),Xn=function(){Qn.data=Vn=!Vn}));var pr,hr,dr,vr,mr,gr,yr,br=lr||function(t){var e={fn:t,next:void 0};Kn&&(Kn.next=e),$n||($n=e,Xn()),Kn=e},wr=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=lt(e),this.reject=lt(n)},xr={f:function(t){return new wr(t)}},Er=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Or="object"==typeof window,Sr=er.set,jr=H("species"),_r="Promise",Rr=Bt.getterFor(_r),kr=Bt.set,Pr=Bt.getterFor(_r),Tr=Ue&&Ue.prototype,Ir=Ue,Cr=Tr,Nr=s.TypeError,Ar=s.document,Lr=s.process,Dr=xr.f,Fr=Dr,Ur=!!(Ar&&Ar.createEvent&&s.dispatchEvent),Mr=P(s.PromiseRejectionEvent),Br=!1,qr=Le(_r,(function(){var t=Rt(Ir),e=t!==String(Ir);if(!e&&66===F)return!0;if(F>=51&&/native code/.test(t))return!1;var n=new Ir((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[jr]=r,!(Br=n.then((function(){}))instanceof r)||!e&&Or&&!Mr})),Jr=qr||!function(t,e){if(!e&&!un)return!1;var n=!1;try{var r={};r[an]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){Ir.all(t).catch((function(){}))})),zr=function(t){var e;return!(!K(t)||!P(e=t.then))&&e},Gr=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;br((function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var a,u,c,s=n[i++],f=o?s.ok:s.fail,l=s.resolve,p=s.reject,h=s.domain;try{f?(o||(2===t.rejection&&$r(t),t.rejection=1),!0===f?a=r:(h&&h.enter(),a=f(r),h&&(h.exit(),c=!0)),a===s.promise?p(Nr("Promise-chain cycle")):(u=zr(a))?ot(u,a,l,p):l(a)):p(r)}catch(t){h&&!c&&h.exit(),p(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Wr(t)}))}},Hr=function(t,e,n){var r,o;Ur?((r=Ar.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Mr&&(o=s["on"+t])?o(r):"unhandledrejection"===t&&function(t,e){var n=s.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Wr=function(t){ot(Sr,s,(function(){var e,n=t.facade,r=t.value;if(Yr(t)&&(e=Er((function(){Nn?Lr.emit("unhandledRejection",r,n):Hr("unhandledrejection",n,r)})),t.rejection=Nn||Yr(t)?2:1,e.error))throw e.value}))},Yr=function(t){return 1!==t.rejection&&!t.parent},$r=function(t){ot(Sr,s,(function(){var e=t.facade;Nn?Lr.emit("rejectionHandled",e):Hr("rejectionhandled",e,t.value)}))},Kr=function(t,e,n){return function(r){t(e,r,n)}},Xr=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,Gr(t,!0))},Vr=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw Nr("Promise can't be resolved itself");var r=zr(e);r?br((function(){var n={done:!1};try{ot(r,e,Kr(Vr,n,t),Kr(Xr,n,t))}catch(e){Xr(n,e,t)}})):(t.value=e,t.state=1,Gr(t,!1))}catch(e){Xr({done:!1},e,t)}}};if(qr&&(Cr=(Ir=function(t){!function(t,e){if(it(e,t))return t;throw He("Incorrect invocation")}(this,Cr),lt(t),ot(pr,this);var e=Rr(this);try{t(Kr(Vr,e),Kr(Xr,e))}catch(t){Xr(e,t)}}).prototype,(pr=function(t){kr(this,{type:_r,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(t,e,n){for(var r in e)Ht(t,r,e[r],n);return t}(Cr,{then:function(t,e){var n=Pr(this),r=n.reactions,o=Dr(Sn(this,Ir));return o.ok=!P(t)||t,o.fail=P(e)&&e,o.domain=Nn?Lr.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&Gr(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),hr=function(){var t=new pr,e=Rr(t);this.promise=t,this.resolve=Kr(Vr,e),this.reject=Kr(Xr,e)},xr.f=Dr=function(t){return t===Ir||t===dr?new hr(t):Fr(t)},P(Ue)&&Tr!==Object.prototype)){vr=Tr.then,Br||(Ht(Tr,"then",(function(t,e){var n=this;return new Ir((function(t,e){ot(vr,n,t,e)})).then(t,e)}),{unsafe:!0}),Ht(Tr,"catch",Cr.catch,{unsafe:!0}));try{delete Tr.constructor}catch(t){}qe&&qe(Tr,Cr)}Fe({global:!0,wrap:!0,forced:qr},{Promise:Ir}),gr=_r,yr=!1,(mr=Ir)&&!S(mr=yr?mr:mr.prototype,ze)&&Je(mr,ze,{configurable:!0,value:gr}),function(t){var e=I(t),n=wt.f;$&&e&&!e[Ge]&&n(e,Ge,{configurable:!0,get:function(){return this}})}(_r),dr=I(_r),Fe({target:_r,stat:!0,forced:qr},{reject:function(t){var e=Dr(this);return ot(e.reject,void 0,t),e.promise}}),Fe({target:_r,stat:!0,forced:qr},{resolve:function(t){return function(t,e){if(nt(t),K(e)&&e.constructor===t)return e;var n=xr.f(t);return(0,n.resolve)(e),n.promise}(this,t)}}),Fe({target:_r,stat:!0,forced:Jr},{all:function(t){var e=this,n=Dr(e),r=n.resolve,o=n.reject,i=Er((function(){var n=lt(e.resolve),i=[],a=0,u=1;on(t,(function(t){var c=a++,s=!1;u++,ot(n,e,t).then((function(t){s||(s=!0,i[c]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Dr(e),r=n.reject,o=Er((function(){var o=lt(e.resolve);on(t,(function(t){ot(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Qr=s.Function,Zr=y([].concat),to=y([].join),eo={},no=function(t,e,n){if(!S(eo,e)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";eo[e]=Qr("C,a","return new C("+to(r,",")+")")}return eo[e](t,n)};Fe({target:"Function",proto:!0},{bind:Qr.bind||function(t){var e=lt(this),n=e.prototype,r=In(arguments,1),o=function(){var n=Zr(r,In(arguments));return this instanceof o?no(e,n.length,n):e.apply(t,n)};return K(n)&&(o.prototype=n),o}});var ro=Object.keys||function(t){return xe(t,Ee)},oo=Object.assign,io=Object.defineProperty,ao=y([].concat),uo=!oo||U((function(){if($&&1!==oo({b:1},oo(io({},"a",{enumerable:!0,get:function(){io(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=oo({},t)[n]||ro(oo({},e)).join("")!=r}))?function(t,e){for(var n=E(t),r=arguments.length,o=1,i=je.f,a=ne.f;r>o;)for(var u,c=ie(arguments[o++]),s=i?ao(ro(c),i(c)):ro(c),f=s.length,l=0;f>l;)u=s[l++],$&&!ot(a,c,u)||(n[u]=c[u]);return n}:oo;Fe({target:"Object",stat:!0,forced:Object.assign!==uo},{assign:uo});var co,so=Array.isArray||function(t){return"Array"==$t(t)},fo=function(t,e,n){var r=gt(e);r in t?wt.f(t,r,xt(0,n)):t[r]=n},lo=H("species"),po=(co="slice",F>=51||!U((function(){var t=[];return(t.constructor={})[lo]=function(){return{foo:1}},1!==t[co](Boolean).foo}))),ho=H("species"),vo=s.Array,mo=Math.max;Fe({target:"Array",proto:!0,forced:!po},{slice:function(t,e){var n,r,o,i=ae(this),a=ge(i),u=de(t,a),c=de(void 0===e?a:e,a);if(so(i)&&(n=i.constructor,(xn(n)&&(n===vo||so(n.prototype))||K(n)&&null===(n=n[ho]))&&(n=void 0),n===vo||void 0===n))return In(i,u,c);for(r=new(void 0===n?vo:n)(mo(c-u,0)),o=0;u<c;u++,o++)u in i&&fo(r,o,i[u]);return r.length=o,r}});var go=Date.prototype,yo=y(go.toString),bo=y(go.getTime);"Invalid Date"!=String(new Date(NaN))&&Ht(go,"toString",(function(){var t=bo(this);return t==t?yo(this):"Invalid Date"}));var wo=s.String,xo=function(t){if("Symbol"===Qt(t))throw TypeError("Cannot convert a Symbol value to a string");return wo(t)},Eo=function(){var t=nt(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Oo=Gt.PROPER,So=RegExp.prototype,jo=So.toString,_o=y(Eo),Ro=U((function(){return"/a/b"!=jo.call({source:"a",flags:"b"})})),ko=Oo&&"toString"!=jo.name;(Ro||ko)&&Ht(RegExp.prototype,"toString",(function(){var t=nt(this),e=xo(t.source),n=t.flags;return"/"+e+"/"+xo(void 0===n&&it(So,t)&&!("flags"in So)?_o(t):n)}),{unsafe:!0});var Po="\t\n\v\f\r                 \u2028\u2029\ufeff",To=y("".replace),Io="["+Po+"]",Co=RegExp("^"+Io+Io+"*"),No=RegExp(Io+Io+"*$"),Ao=function(t){return function(e){var n=xo(w(e));return 1&t&&(n=To(n,Co,"")),2&t&&(n=To(n,No,"")),n}},Lo={start:Ao(1),end:Ao(2),trim:Ao(3)}.trim,Do=s.parseInt,Fo=s.Symbol,Uo=Fo&&Fo.iterator,Mo=/^[+-]?0x/i,Bo=y(Mo.exec),qo=8!==Do(Po+"08")||22!==Do(Po+"0x16")||Uo&&!U((function(){Do(Object(Uo))}))?function(t,e){var n=Lo(xo(t));return Do(n,e>>>0||(Bo(Mo,n)?16:10))}:Do;Fe({global:!0,forced:parseInt!=qo},{parseInt:qo});var Jo,zo=s.RegExp,Go=U((function(){var t=zo("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Ho=Go||U((function(){return!zo("a","y").sticky})),Wo={BROKEN_CARET:Go||U((function(){var t=zo("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Ho,UNSUPPORTED_Y:Go},Yo=$?Object.defineProperties:function(t,e){nt(t);for(var n,r=ae(e),o=ro(e),i=o.length,a=0;i>a;)wt.f(t,n=o[a++],r[n]);return t},$o=It("IE_PROTO"),Ko=function(){},Xo=function(t){return"<script>"+t+"<\/script>"},Vo=function(t){t.write(Xo("")),t.close();var e=t.parentWindow.Object;return t=null,e},Qo=function(){try{Jo=new ActiveXObject("htmlfile")}catch(t){}var t,e;Qo="undefined"!=typeof document?document.domain&&Jo?Vo(Jo):((e=Q("iframe")).style.display="none",Tn.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Xo("document.F=Object")),t.close(),t.F):Vo(Jo);for(var n=Ee.length;n--;)delete Qo.prototype[Ee[n]];return Qo()};Ct[$o]=!0;var Zo,ti,ei=Object.create||function(t,e){var n;return null!==t?(Ko.prototype=nt(t),n=new Ko,Ko.prototype=null,n[$o]=t):n=Qo(),void 0===e?n:Yo(n,e)},ni=s.RegExp,ri=U((function(){var t=ni(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),oi=s.RegExp,ii=U((function(){var t=oi("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),ai=Bt.get,ui=h("native-string-replace",String.prototype.replace),ci=RegExp.prototype.exec,si=ci,fi=y("".charAt),li=y("".indexOf),pi=y("".replace),hi=y("".slice),di=(ti=/b*/g,ot(ci,Zo=/a/,"a"),ot(ci,ti,"a"),0!==Zo.lastIndex||0!==ti.lastIndex),vi=Wo.BROKEN_CARET,mi=void 0!==/()??/.exec("")[1];(di||mi||vi||ri||ii)&&(si=function(t){var e,n,r,o,i,a,u,c=this,s=ai(c),f=xo(t),l=s.raw;if(l)return l.lastIndex=c.lastIndex,e=ot(si,l,f),c.lastIndex=l.lastIndex,e;var p=s.groups,h=vi&&c.sticky,d=ot(Eo,c),v=c.source,m=0,g=f;if(h&&(d=pi(d,"y",""),-1===li(d,"g")&&(d+="g"),g=hi(f,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==fi(f,c.lastIndex-1))&&(v="(?: "+v+")",g=" "+g,m++),n=new RegExp("^(?:"+v+")",d)),mi&&(n=new RegExp("^"+v+"$(?!\\s)",d)),di&&(r=c.lastIndex),o=ot(ci,h?n:c,g),h?o?(o.input=hi(o.input,m),o[0]=hi(o[0],m),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:di&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),mi&&o&&o.length>1&&ot(ui,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=a=ei(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var gi=si;Fe({target:"RegExp",proto:!0,forced:/./.exec!==gi},{exec:gi});var yi=H("species"),bi=RegExp.prototype,wi=H("match"),xi=y("".charAt),Ei=y("".charCodeAt),Oi=y("".slice),Si=function(t){return function(e,n){var r,o,i=xo(w(e)),a=le(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=Ei(i,a))<55296||r>56319||a+1===u||(o=Ei(i,a+1))<56320||o>57343?t?xi(i,a):r:t?Oi(i,a,a+2):o-56320+(r-55296<<10)+65536}},ji={codeAt:Si(!1),charAt:Si(!0)}.charAt,_i=function(t,e,n){return e+(n?ji(t,e).length:1)},Ri=s.Array,ki=Math.max,Pi=function(t,e,n){for(var r=ge(t),o=de(e,r),i=de(void 0===n?r:n,r),a=Ri(ki(i-o,0)),u=0;o<i;o++,u++)fo(a,u,t[o]);return a.length=u,a},Ti=s.TypeError,Ii=function(t,e){var n=t.exec;if(P(n)){var r=ot(n,t,e);return null!==r&&nt(r),r}if("RegExp"===$t(t))return ot(gi,t,e);throw Ti("RegExp#exec called on incompatible receiver")},Ci=Wo.UNSUPPORTED_Y,Ni=Math.min,Ai=[].push,Li=y(/./.exec),Di=y(Ai),Fi=y("".slice);!function(t,e,n,r){var o=H(t),i=!U((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!U((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[yi]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var u=y(/./[o]),c=e(o,""[t],(function(t,e,n,r,o){var a=y(t),c=e.exec;return c===gi||c===bi.exec?i&&!o?{done:!0,value:u(e,n,r)}:{done:!0,value:a(n,e,r)}:{done:!1}}));Ht(String.prototype,t,c[0]),Ht(bi,o,c[1])}r&&Et(bi[o],"sham",!0)}("split",(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=xo(w(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!function(t){var e;return K(t)&&(void 0!==(e=t[wi])?!!e:"RegExp"==$t(t))}(t))return ot(e,r,t,o);for(var i,a,u,c=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,l=new RegExp(t.source,s+"g");(i=ot(gi,l,r))&&!((a=l.lastIndex)>f&&(Di(c,Fi(r,f,i.index)),i.length>1&&i.index<r.length&&Pn(Ai,c,Pi(i,1)),u=i[0].length,f=a,c.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return f===r.length?!u&&Li(l,"")||Di(c,""):Di(c,Fi(r,f)),c.length>o?Pi(c,0,o):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:ot(e,this,t,n)}:e,[function(e,n){var o=w(this),i=null==e?void 0:pt(e,t);return i?ot(i,e,o,n):ot(r,xo(o),e,n)},function(t,o){var i=nt(this),a=xo(t),u=n(r,i,a,o,r!==e);if(u.done)return u.value;var c=Sn(i,RegExp),s=i.unicode,f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Ci?"g":"y"),l=new c(Ci?"^(?:"+i.source+")":i,f),p=void 0===o?4294967295:o>>>0;if(0===p)return[];if(0===a.length)return null===Ii(l,a)?[a]:[];for(var h=0,d=0,v=[];d<a.length;){l.lastIndex=Ci?0:d;var m,g=Ii(l,Ci?Fi(a,d):a);if(null===g||(m=Ni(me(l.lastIndex+(Ci?d:0)),a.length))===h)d=_i(a,d,s);else{if(Di(v,Fi(a,h,d)),v.length===p)return v;for(var y=1;y<=g.length-1;y++)if(Di(v,g[y]),v.length===p)return v;d=h=m}}return Di(v,Fi(a,h)),v}]}),!!U((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Ci);var Ui,Mi=i((function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=11)}([function(t,e,n){var r=n(3),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function u(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function s(t){return"[object Function]"===o.call(t)}function f(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:u,isPlainObject:c,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:s,isStream:function(t){return u(t)&&s(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function t(){var e={};function n(n,r){c(e[r])&&c(n)?e[r]=t(e[r],n):c(n)?e[r]=t({},n):i(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)f(arguments[r],n);return e},extend:function(t,e,n){return f(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){var r=n(0),o=n(17),i=n(5),a={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=n(6)),c),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(u(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||s.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(a)})),t.exports=s},function(t,e,n){function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){var r=n(0);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},function(t,e,n){t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},function(t,e,n){var r=n(0),o=n(18),i=n(19),a=n(4),u=n(20),c=n(23),s=n(24),f=n(7),l=n(1),p=n(2);t.exports=function(t){return new Promise((function(e,n){var h,d=t.data,v=t.headers,m=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}r.isFormData(d)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var x=u(t.baseURL,t.url);function E(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:t,request:y};o((function(t){e(t),g()}),(function(t){n(t),g()}),i),y=null}}if(y.open(t.method.toUpperCase(),a(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=E:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(E)},y.onabort=function(){y&&(n(f("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(f("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||l.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(f(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var O=(t.withCredentials||s(x))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;O&&(v[t.xsrfHeaderName]=O)}"setRequestHeader"in y&&r.forEach(v,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete v[e]:y.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),m&&"json"!==m&&(y.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(t){y&&(n(!t||t&&t.type?new p("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),d||(d=null),y.send(d)}))}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){var r=n(0);t.exports=function(t,e){e=e||{};var n={};function o(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function i(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function a(t){if(!r.isUndefined(e[t]))return o(void 0,e[t])}function u(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function c(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[n]):void 0}var s={url:a,method:a,data:a,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=s[t]||i,o=e(t);r.isUndefined(o)&&e!==c||(n[t]=o)})),n}},function(t,e){t.exports={version:"0.24.0"}},function(t,e,n){t.exports=n(12)},function(t,e,n){var r=n(0),o=n(3),i=n(13),a=n(9),u=function t(e){var n=new i(e),u=o(i.prototype.request,n);return r.extend(u,i.prototype,n),r.extend(u,n),u.create=function(n){return t(a(e,n))},u}(n(1));u.Axios=i,u.Cancel=n(2),u.CancelToken=n(26),u.isCancel=n(8),u.VERSION=n(10).version,u.all=function(t){return Promise.all(t)},u.spread=n(27),u.isAxiosError=n(28),t.exports=u,t.exports.default=u},function(t,e,n){var r=n(0),o=n(4),i=n(14),a=n(15),u=n(9),c=n(25),s=c.validators;function f(t){this.defaults=t,this.interceptors={request:new i,response:new i}}f.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=u(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(i),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var l=t;n.length;){var p=n.shift(),h=n.shift();try{l=p(l)}catch(t){h(t);break}}try{o=a(l)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},f.prototype.getUri=function(t){return t=u(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){f.prototype[t]=function(e,n){return this.request(u(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(e,n,r){return this.request(u(r||{},{method:t,url:e,data:n}))}})),t.exports=f},function(t,e,n){var r=n(0);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){var r=n(0),o=n(16),i=n(8),a=n(1),u=n(2);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new u("canceled")}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){var r=n(0),o=n(1);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},function(t,e,n){var r=n(0);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){var r=n(7);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){var r=n(21),o=n(22);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){var r=n(0),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){var r=n(10).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={};o.transitional=function(t,e,n){function o(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(o(r," has been removed"+(e?" in "+e:"")));return e&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}},t.exports={assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),o=r.length;o-- >0;){var i=r[o],a=e[i];if(a){var u=t[i],c=void 0===u||a(u,i,t);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},function(t,e,n){var r=n(2);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}}])})),Bi=(Ui=Mi)&&Ui.__esModule&&Object.prototype.hasOwnProperty.call(Ui,"default")?Ui.default:Ui;Mi.axios;var qi="".concat("http://127.0.0.1:11111","/services/print"),Ji="".concat("http://127.0.0.1:11111","/PrintLocal"),zi={transtime:"20211105111933684",transtype:"SYSTEM",interfaceid:"120001",serialnumber:"f81166d2-c175-8cfc-82be-6bd336b5c132",operatorcode:"888",operatorname:"888",transcmd:"100000",transdata:{cmdid:8,reportid:280,formatid:"742",formatname:"血液入库单打印按钮",datamode:1,param:{id:"58"},UserInfo:{ID:"12"},datas:[]},transsystem:"10",transchannel:"100",verifycode:""},Gi=Bi.create({timeout:1e3,withCredentials:!1}),Hi=Bi.create({withCredentials:!1}),Wi=Bi.create({timeout:6e4,withCredentials:!1,headers:{"Content-Type":"application/x-www-form-urlencoded"}}),Yi=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var o,i,a,u,c,s,f,l,p,h,d,v,m;return o=t,i=[{key:"_testConnection",value:function(){var t=this;return new Promise(function(e){var n=this;r(this,t),Gi({url:"".concat("http://127.0.0.1:11111","/test"),method:"get",withCredentials:!1,params:{inputdata:{result:"success"}}}).then(function(t){r(this,n),"success"===t.data.result?e(!0):e(!1)}.bind(this)).catch(function(t){r(this,n),e(!1)}.bind(this))}.bind(this))}},{key:"_queryServicesPrint",value:function(t){var e=this;return Hi({url:qi,method:"get",params:{inputData:JSON.stringify(t)}}).then(function(t){return r(this,e),t.data}.bind(this))}},{key:"_callPrintWithFile",value:function(t){var e=this,n={cmdid:"7",flag:"1"},o={inputData:JSON.stringify(Object.assign({},n,t))};return Hi({url:Ji,method:"post",data:o,transformRequest:[function(t){var e="";for(var n in t)e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n])+"&";return e=e.slice(0,-1)}]}).then(function(t){return r(this,e),t.data}.bind(this))}},{key:"_handleResult",value:function(t,e){return"success"!==t.result?(e({type:"printError",message:t.message||t.Message,result:t.result,errinfo:t.errinfo}),!1):t}},{key:"_handleResultTest",value:function(t,e){return!!t||(console.log("notInstalledApp"),e({type:"notInstalledApp",message:"请打开打印服务器插件"}),!1)}},{key:"_handleEventQueryPrintData",value:(m=e(regeneratorRuntime.mark((function t(e,n,r,o){var i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i={templateId:e,formatId:n,params:r,cmdid:"7"},t.next=3,this._queryServicesPrint(i);case 3:return a=t.sent,t.abrupt("return",this._handleQueryPrintDataResult(a,n,o));case 5:case"end":return t.stop()}}),t,this)}))),function(t,e,n,r){return m.apply(this,arguments)})},{key:"_handleQueryPrintDataResult",value:function(t,e,n){if(null==t||!t.file){try{var r=t.message||t.Message;console.log(r),n({type:"queryPrintDataFailure",message:r})}catch(t){console.log(t)}return!1}return{file:t.file,printerName:t.defprinter,pageCount:t.pagecount,formatId:e}}},{key:"_handleEventDirect",value:(v=e(regeneratorRuntime.mark((function t(e){var n,r,o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.templateId,r=e.formatId,o=e.params,i=e.cmdid,a=e.print,u=e.printdlgshow,c=void 0===u?"1":u,s=e.nobillnode,f={templateId:n,formatId:r,params:o,cmdid:i,nobillnode:void 0===s?"1":s,printdlgshow:c},a){try{a=JSON.parse(a)}catch(t){}f.print=a}return t.next=5,this._queryServicesPrint(f);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return v.apply(this,arguments)})},{key:"_handleEventEditFormat",value:(d=e(regeneratorRuntime.mark((function t(e){var n,r,o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.templateId,r=e.formatId,o=void 0===r?"":r,i=e.params,a=void 0===i?{}:i,u=e.token,c={},s={};try{s=Object.assign({},c,JSON.parse(a))}catch(t){s=c}return f={templateId:n,formatId:o,cmdid:"9",token:u,params:JSON.stringify(s)},t.next=7,this._queryServicesPrint(f);case 7:return t.abrupt("return",t.sent);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"preview",value:(h=e(regeneratorRuntime.mark((function t(e,n,r){var o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,r)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventDirect({templateId:o,formatId:i,params:u,cmdid:"8"});case 8:if(s=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:if(f=this._handleResult(s,r)){t.next=14;break}return t.abrupt("return",!1);case 14:n&&n(f);case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return h.apply(this,arguments)})},{key:"printDirect",value:(p=e(regeneratorRuntime.mark((function t(e,n,r){var o,i,a,u,c,s,f,l,p,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,c=e.print,s=e.printdlgshow,f=e.nobillnode,t.next=3,this._testConnection();case 3:if(l=t.sent,this._handleResultTest(l,r)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventDirect({templateId:o,formatId:i,params:u,cmdid:"7",print:c,printdlgshow:s,nobillnode:f});case 8:if(p=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:if(h=this._handleResult(p,r)){t.next=14;break}return t.abrupt("return",!1);case 14:n&&n(h);case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return p.apply(this,arguments)})},{key:"print",value:(l=e(regeneratorRuntime.mark((function t(e,n,r){var o,i,a,u,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,r)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this.queryPrintData({templateId:o,formatId:i,params:u},null,r);case 8:if(s=t.sent,this.printFileData({formatId:i,file:s.file,printerName:s.printerName},null,r)){t.next=12;break}return t.abrupt("return",!1);case 12:n&&n(result);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return l.apply(this,arguments)})},{key:"queryPrintData",value:(f=e(regeneratorRuntime.mark((function t(e,n,r){var o,i,a,u,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=void 0===a?"":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,r)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventQueryPrintData(o,i,u,r);case 8:if(s=t.sent){t.next=11;break}return t.abrupt("return",!1);case 11:return n&&n(s),t.abrupt("return",s);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return f.apply(this,arguments)})},{key:"printFileData",value:(s=e(regeneratorRuntime.mark((function t(e,n,r){var o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.formatId,i=e.file,a=e.printerName,u=void 0===a?"Default":a,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,r)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._callPrintWithFile({formatId:o,printname:u,file:i});case 8:if(s=t.sent,f=this._handleResult(s,r)){t.next=12;break}return t.abrupt("return",!1);case 12:return n&&n(f),t.abrupt("return",f);case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return s.apply(this,arguments)})},{key:"editPrintFormat",value:(c=e(regeneratorRuntime.mark((function t(e,n,r){var o,i,a,u,c,s,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.formatId,a=e.params,u=e.token,t.next=3,this._testConnection();case 3:if(c=t.sent,this._handleResultTest(c,r)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventEditFormat({templateId:o,formatId:i,params:a,token:u});case 8:if(s=t.sent,f=this._handleResult(s,r)){t.next=12;break}return t.abrupt("return",!1);case 12:n&&n(f);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return c.apply(this,arguments)})},{key:"addPrintFormat",value:(u=e(regeneratorRuntime.mark((function t(e,n,r){var o,i,a,u,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.templateId,i=e.params,a=e.token,t.next=3,this._testConnection();case 3:if(u=t.sent,this._handleResultTest(u,r)){t.next=6;break}return t.abrupt("return",!1);case 6:return t.next=8,this._handleEventEditFormat({templateId:o,params:i,token:a});case 8:if(c=t.sent,s=this._handleResult(c,r)){t.next=12;break}return t.abrupt("return",!1);case 12:n&&n(s);case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return u.apply(this,arguments)})},{key:"handleHisPrint",value:function(t,e){var n=this._getHisPrintParams(e);return n.transdata.cmdid=t,Wi({url:"http://127.0.0.1"+":".concat("8031","/HOInterfaceSvr"),method:"post",data:n})}},{key:"_getHisPrintParams",value:function(t){var e=this._getTranstime(),n=this._getSerialnumber(),r=this._getOperatorcode(),o=this._getOperatorname(),i=this._getCookieUserId(),a=t.reportid,u=t.formatid,c=t.formatname,s=t.param;return Object.assign(zi.transdata,{reportid:a,formatid:u,formatname:c,param:s,UserInfo:{ID:i}}),Object.assign({},zi,{transtime:e,serialnumber:n,operatorcode:r,operatorname:o})}},{key:"_getSerialnumber",value:function(){function t(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}},{key:"_getOperatorcode",value:function(){return this._getCookie("loginName")||"9000"}},{key:"_getOperatorname",value:function(){return this._getCookie("trueName")||"%E4%BE%AF%E7%9B%BC%E7%9B%BC"}},{key:"_getCookieUserId",value:function(){return this._getCookie("userId")||"122298"}},{key:"_getTranstime",value:function(){return this._generateTimeReqestNumber()+parseInt(1e3*Math.random())}},{key:"_pad2",value:function(t){return t<10?"0"+t:t}},{key:"_generateTimeReqestNumber",value:function(){var t=new Date;return t.getFullYear().toString()+this._pad2(t.getMonth()+1)+this._pad2(t.getDate())+this._pad2(t.getHours())+this._pad2(t.getMinutes())+this._pad2(t.getSeconds())}},{key:"_getCookie",value:function(t){for(var e=document.cookie.split("; "),n=0;n<e[n].length;n++){var r=e[n].split("=");return r[0]==t?r[1]:""}}}],i&&n(o.prototype,i),a&&n(o,a),t}();export{Yi as default};
@@ -73,8 +73,10 @@ import { mapGetters, mapActions, mapMutations } from '../store/helper';
73
73
  import fetch, { qs } from '@/utils/chatFetch';
74
74
  import RtcClient from '../utils/rtc-client-multi';
75
75
  import { getSipUserId } from '@/utils/sip-device';
76
+ import uniRTCAPI from './mixins/uniRTCAPI';
76
77
  export default {
77
78
  inject: ['store', 'i18nText'],
79
+ mixins: [uniRTCAPI],
78
80
  components: {
79
81
  SvgIcon,
80
82
  [Icon.name]: Icon,
@@ -255,6 +257,12 @@ export default {
255
257
  this.$message.success(this.i18nText('1.9.386'));
256
258
  // this.appendVideoMessage();
257
259
  this.setVideoData(data.map);
260
+ // 江苏省
261
+ if (this.uniRTC || data.map?.vendor == 3) {
262
+ const targetList = data.map?.targetList || [];
263
+ this.checkStatus(targetList);
264
+ this.startCall(targetList);
265
+ }
258
266
  } else {
259
267
  this.$message.warning(data.resultMsg);
260
268
  this.setShowAudio(false);
@@ -288,6 +296,8 @@ export default {
288
296
  if (this.videoData?.roomId) {
289
297
  this.handleLeaveRoom();
290
298
  this.setMuteAudio(false);
299
+
300
+ this.uniRTC && this.hangUp();
291
301
  }
292
302
  } else {
293
303
  this.$message.warning(data.resultMsg);
@@ -313,6 +323,15 @@ export default {
313
323
  this.setMuteAudio(false);
314
324
  this.setVideoMembers([]);
315
325
  this.setVideoData({});
326
+ // 江苏省
327
+ if (this.uniRTC) {
328
+ if (this.videoData.isCaller || this.videoData.inviteResult == 1) {
329
+ this.stopCall();
330
+ } else {
331
+ // 拒接
332
+ this.refuseCall();
333
+ }
334
+ }
316
335
  } else {
317
336
  if (data.map.type == 1 && data.map.mode == 2) {
318
337
  this.setShowVideo(true);
@@ -322,6 +341,9 @@ export default {
322
341
  this.$nextTick(() => {
323
342
  this.setRecordId(data.map.recordId);
324
343
  });
344
+ // 江苏省接听
345
+ console.log('江苏省接听->videoInviteEnter', this.incoming);
346
+ this.uniRTC && this.acceptCall();
325
347
  }
326
348
  }
327
349
  });
@@ -14,9 +14,11 @@
14
14
  <script>
15
15
  import { mapGetters, mapMutations } from "../store/helper";
16
16
  import fetch, { qs } from "@/utils/chatFetch";
17
+ import uniRTCAPI from './mixins/uniRTCAPI';
17
18
 
18
19
  export default {
19
20
  inject: ["store", "i18nText"],
21
+ mixins: [uniRTCAPI],
20
22
  props: {
21
23
  validTalkingEnv: {
22
24
  type: Function
@@ -119,6 +121,8 @@ export default {
119
121
  }
120
122
  this.disabled = false;
121
123
  if (!accept) {
124
+ // 江苏省拒接
125
+ this.uniRTC && this.refuseCall();
122
126
  return;
123
127
  }
124
128
  let res = data.obj || data.map;
@@ -153,6 +157,8 @@ export default {
153
157
  "1.9.21"
154
158
  )}!`
155
159
  );
160
+ // 江苏省接听
161
+ this.uniRTC && this.acceptCall();
156
162
  } else {
157
163
  let realIndex = this.callings.findIndex(item => item.sessionId === sessionId);
158
164
  if (realIndex !== -1) {
@@ -1357,6 +1357,45 @@ export default {
1357
1357
  };
1358
1358
  </script>
1359
1359
 
1360
+ <style lang="less">
1361
+ .chat-footer-modal-big {
1362
+ padding: 10px;
1363
+ &.ant-modal-wrap {
1364
+ overflow: none;
1365
+ }
1366
+ .ant-modal {
1367
+ width: 100%;
1368
+ height: 100%;
1369
+ top: 0;
1370
+ padding-bottom: 0;
1371
+ }
1372
+ .ant-modal-content {
1373
+ height: 100%;
1374
+ }
1375
+ .ant-modal-body {
1376
+ height: calc(100% - 55px);
1377
+ }
1378
+ }
1379
+ .chat-footer-modal-small {
1380
+ &.ant-modal-wrap {
1381
+ overflow: none;
1382
+ }
1383
+ .ant-modal {
1384
+ width: 80%;
1385
+ height: 80%;
1386
+ padding-bottom: 0;
1387
+ top: 60px;
1388
+ }
1389
+ .ant-modal-content {
1390
+ height: 100%;
1391
+ }
1392
+ .ant-modal-body {
1393
+ height: 100%;
1394
+ padding: 0;
1395
+ }
1396
+ }
1397
+
1398
+ </style>
1360
1399
  <style lang="less" scoped>
1361
1400
  .message-operate {
1362
1401
  display: flex;
@@ -1370,8 +1409,8 @@ export default {
1370
1409
  &::-webkit-scrollbar {
1371
1410
  height: 5px;
1372
1411
  }
1373
- > img,
1374
- > .operate-icon {
1412
+ > img {
1413
+ // > .operate-icon {
1375
1414
  margin-left: 10px;
1376
1415
  }
1377
1416
  /deep/ .ant-tabs .ant-tabs-top-content > .ant-tabs-tabpane {
@@ -1531,7 +1570,8 @@ export default {
1531
1570
  }
1532
1571
  }
1533
1572
  .toolbar {
1534
- margin-left: 10px;
1573
+ // margin-left: 10px;
1574
+ margin: 0 5px;
1535
1575
  font-size: 20px;
1536
1576
  outline: none;
1537
1577
  padding: 6px;
@@ -34,9 +34,11 @@ import fetch, { qs } from '@/utils/chatFetch';
34
34
  import vexutils from '@/utils/vexutils';
35
35
  import SvgIcon from '@/component/svg/index.vue';
36
36
  import { checkTalkingEnv } from '../../utils/index';
37
+ import uniRTCAPI from '../mixins/uniRTCAPI';
37
38
 
38
39
  export default {
39
40
  inject: ['store', 'dispatchEvent', 'i18nText'],
41
+ mixins: [uniRTCAPI],
40
42
  data() {
41
43
  this.stompClient = null;
42
44
  return {
@@ -183,7 +185,8 @@ export default {
183
185
  ]),
184
186
  ...mapActions({
185
187
  getHistoryMsg: 'setMsgList',
186
- setChatTimer: 'setChatTimer'
188
+ setChatTimer: 'setChatTimer',
189
+ initUniRTC: 'initUniRTC'
187
190
  }),
188
191
  // 获取视频sdk
189
192
  getSdkAppId() {
@@ -197,6 +200,15 @@ export default {
197
200
  if (data.result === 'SUCCESS') {
198
201
  const { sdkAppId, host, vendor } = data.obj;
199
202
  this.setSdkInfo({ sdkAppId, host, vendor });
203
+ // 江苏省
204
+ if (vendor == 3) {
205
+ this.initUniRTC({
206
+ ...data.obj,
207
+ params: {
208
+ assemblyId: this.assemblyId,
209
+ }
210
+ });
211
+ }
200
212
  }
201
213
  });
202
214
  },
@@ -131,7 +131,7 @@
131
131
  </a-tabs>
132
132
  <div v-if="isNormalStyle" class="footer-operate">
133
133
  <!-- 状态切换 -->
134
- <UserStatus v-if="hideHeader" type="left-bottom" />
134
+ <UserStatus v-if="hideHeader" placement="topCenter" />
135
135
  <div class="footer-operate-right">
136
136
  <span v-if="showSetting" class="setting-span">
137
137
  <svg-icon icon-class="a-xitongtubiaoliaotianshezhi" @click="handleSetting" />
@@ -177,7 +177,7 @@
177
177
  </div>
178
178
  </a-popover>
179
179
  <!-- 状态切换 -->
180
- <UserStatus v-if="hideHeader" type="left-bottom" style="margin: -10px 0 8px; width: 100px;text-align: center;" />
180
+ <UserStatus v-if="hideHeader" placement="topCenter" />
181
181
  </template>
182
182
  </a-layout-sider>
183
183
  <a-row style="width: 100%;height: 100%;overflow: hidden;">
@@ -337,10 +337,11 @@ import ClassifyTabs from '../components/classify-tabs';
337
337
  import ChatTabsHeader from '../components/chat-tabs-header';
338
338
  import UserStatus from '../components/user-status';
339
339
  import { checkTalkingEnv } from '../utils/index';
340
+ import uniRTCAPI from './mixins/uniRTCAPI';
340
341
 
341
342
  export default {
342
343
  name: 'c-chat-server',
343
- mixins: [baseMix],
344
+ mixins: [baseMix, uniRTCAPI],
344
345
  data() {
345
346
  this.stompClient = null;
346
347
  this.videoGroupSubscribe = null;
@@ -636,7 +637,7 @@ export default {
636
637
  'setCurScrollItem',
637
638
  'setSessionType',
638
639
  ]),
639
- ...mapActions(['setChatTimer', 'getVideoHistoryList']),
640
+ ...mapActions(['setChatTimer', 'getVideoHistoryList', 'initUniRTC']),
640
641
  ...mapActions({
641
642
  getMsgList: 'setMsgList'
642
643
  }),
@@ -1279,6 +1280,15 @@ export default {
1279
1280
  if (data.result === 'SUCCESS') {
1280
1281
  const { sdkAppId, host, vendor } = data.obj;
1281
1282
  this.setSdkInfo({ sdkAppId, host, vendor });
1283
+ // 江苏省
1284
+ if (vendor == 3) {
1285
+ this.initUniRTC({
1286
+ ...data.obj,
1287
+ params: {
1288
+ assemblyId: this.assemblyId,
1289
+ }
1290
+ });
1291
+ }
1282
1292
  }
1283
1293
  });
1284
1294
  },
@@ -1424,6 +1434,9 @@ export default {
1424
1434
  this.$message.warning(data.resultMsg);
1425
1435
  return;
1426
1436
  }
1437
+ // 江苏省接听
1438
+ console.log('江苏省接听->videoInviteEnter', this.incoming);
1439
+ this.uniRTC && this.acceptCall();
1427
1440
  let { recordId, mode, type } = res;
1428
1441
  this.delCalling(id);
1429
1442
  if (type == 1) {
@@ -0,0 +1,77 @@
1
+ import { mapGetters, mapMutations, mapActions } from '../../store/helper';
2
+
3
+ export default {
4
+ computed: {
5
+ ...mapGetters(['uniRTC', 'incoming', 'outing']),
6
+ },
7
+ data() {
8
+ return {
9
+ // outing: [],
10
+ };
11
+ },
12
+ methods: {
13
+ ...mapMutations([
14
+ 'setIncoming',
15
+ 'setOuting',
16
+ ]),
17
+ checkStatus(targetList) {
18
+ const deviceTokens = targetList.map(v => v.deviceToken);
19
+ this.uniRTC.checkStatus(deviceTokens);
20
+ },
21
+ startCall(targetList) {
22
+ // 江苏省
23
+ setTimeout(() => {
24
+ // this.outing = [];
25
+ this.setOuting([]);
26
+ let outings = [];
27
+ for (let i = 0; i < targetList.length; i++) {
28
+ const item = targetList[i];
29
+ const outing = this.uniRTC.startCall(item.deviceToken, '腾讯', 'tencent', {
30
+ sdkAppId: this.uniRTC.appId,
31
+ userId: this.userId,
32
+ userSig: this.videoData.token,
33
+ roomId: this.videoData.roomId,
34
+ // privateMapKey
35
+ }, {
36
+ sdkAppId: this.uniRTC.appId,
37
+ userId: item.username,
38
+ userSig: item.token,
39
+ roomId: this.videoData.roomId,
40
+ // privateMapKey
41
+ });
42
+ outings.push(outing);
43
+ }
44
+ this.setOuting(outings);
45
+ }, 500);
46
+ },
47
+ stopCall() {
48
+ for (let i = 0; i < this.outing.length; i++) {
49
+ const item = this.outing[i];
50
+ // 江苏省主动挂断
51
+ this.uniRTC.stopCall(item);
52
+ }
53
+ this.setOuting([]);
54
+ },
55
+ hangUp() {
56
+ console.log('江苏省会议挂断', this.outing, this.incoming);
57
+ if (this.incoming) {
58
+ this.uniRTC.hangUp(this.incoming.target, 'tencent', '腾讯:挂断并结束视频');
59
+ } else {
60
+ for (let i = 0; i < this.outing.length; i++) {
61
+ const item = this.outing[i];
62
+ // 江苏省会议挂断
63
+ this.uniRTC.hangUp(item.target, 'tencent', '腾讯:挂断并结束视频');
64
+ }
65
+ }
66
+ this.setIncoming(null);
67
+ this.setOuting([]);
68
+ },
69
+ refuseCall() {
70
+ this.incoming && this.uniRTC.refuseCall(this.incoming);
71
+ this.incoming && this.setIncoming(null);
72
+ },
73
+ acceptCall() {
74
+ this.incoming && this.uniRTC.acceptCall(this.incoming);
75
+ }
76
+ }
77
+ };