@hyext/builder-revues 1.4.2 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
if("undefined"==typeof window){var globalObject=eval("this");globalObject.window=globalObject}"undefined"==typeof globalThis&&(globalThis=window),window.__serviceStartTime__=Date.now(),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="script/",n(n.s=507)}([function(e,t,n){var r=n(16),o=n(25),i=n(40),a=n(35),c=n(47),s=function(e,t,n){var u,f,l,d,h=e&s.F,p=e&s.G,v=e&s.S,g=e&s.P,y=e&s.B,m=p?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,b=p?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(u in p&&(n=t),n)l=((f=!h&&m&&void 0!==m[u])?m:n)[u],d=y&&f?c(l,r):g&&"function"==typeof l?c(Function.call,l):l,m&&a(m,u,l,e&s.U),b[u]!=l&&i(b,u,d),g&&w[u]!=l&&(w[u]=l)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){e.exports=n(295)},function(e,t,n){e.exports=n(247)},function(e,t,n){e.exports=n(476)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(91),o=n(236);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),r(e,o(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),r(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(477)},function(e,t,n){var r=n(96),o=n(114);function i(t){return e.exports=i="function"==typeof r&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(91)},function(e,t,n){e.exports=n(480)},function(e,t,n){e.exports=n(283)},function(e,t,n){var r=n(91),o=n(236);e.exports=function(e,t,n){return(t=o(t))in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=n(281)},function(e,t,n){e.exports=n(475)},function(e,t,n){e.exports=n(251)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(19);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(24),o=n(12),i=n(54),a=n(59),c=n(60),s=function(e,t,n){var u,f,l,d=e&s.F,h=e&s.G,p=e&s.S,v=e&s.P,g=e&s.B,y=e&s.W,m=h?o:o[t]||(o[t]={}),b=m.prototype,w=h?r:p?r[t]:(r[t]||{}).prototype;for(u in h&&(n=t),n)(f=!d&&w&&void 0!==w[u])&&c(m,u)||(l=f?w[u]:n[u],m[u]=h&&"function"!=typeof w[u]?n[u]:g&&f?i(l,r):y&&w[u]==l?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((m.virtual||(m.virtual={}))[u]=l,e&s.R&&b&&!b[u]&&a(b,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){e.exports=n(138)},function(e,t,n){var r=n(117)("wks"),o=n(69),i=n(16).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(49),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=n(181)},function(e,t,n){e.exports=!n(17)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(18),o=n(205),i=n(61),a=Object.defineProperty;t.f=n(27)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(57);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(136)("wks"),o=n(112),i=n(24).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(273)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(29);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(46)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(16),o=n(40),i=n(39),a=n(69)("src"),c=n(301),s=(""+c).split("toString");n(25).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||c.call(this)}))},function(e,t,n){var r=n(0),o=n(17),i=n(57),a=/"/g,c=function(e,t,n,r){var o=String(i(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+String(r).replace(a,""")+'"'),c+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(c),r(r.P+r.F*o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){var r=n(149),o=n(203);function i(t){return e.exports=i=r?o.bind():function(e){return e.__proto__||o(e)},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(33),o=n(182),i=n(108),a=Object.defineProperty;t.f=n(34)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(28),o=n(68);e.exports=n(27)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(104),o=n(57);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(255),o=n(257),i=n(196),a=n(267);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(146)},function(e,t,n){var r=n(278),o=n(279),i=n(196),a=n(280);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(48);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(105),o=n(68),i=n(41),a=n(61),c=n(39),s=n(205),u=Object.getOwnPropertyDescriptor;t.f=n(27)?u:function(e,t){if(e=i(e),t=a(t,!0),s)try{return u(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(0),o=n(25),i=n(17);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(47),o=n(104),i=n(30),a=n(23),c=n(221);e.exports=function(e,t){var n=1==e,s=2==e,u=3==e,f=4==e,l=6==e,d=5==e||l,h=t||c;return function(t,c,p){for(var v,g,y=i(t),m=o(y),b=r(c,p,3),w=a(m.length),k=0,S=n?h(t,w):s?h(t,0):void 0;w>k;k++)if((d||k in m)&&(g=b(v=m[k],k,y),e))if(n)S[k]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:S.push(v)}else if(f)return!1;return l?-1:u||f?f:S}}},function(e,t,n){e.exports=n(286)},function(e,t,n){var r=n(66);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(132),o=n(109);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(27)){var r=n(70),o=n(16),i=n(17),a=n(0),c=n(128),s=n(179),u=n(47),f=n(86),l=n(68),d=n(40),h=n(87),p=n(49),v=n(23),g=n(232),y=n(72),m=n(61),b=n(39),w=n(106),k=n(19),S=n(30),_=n(171),x=n(73),C=n(75),M=n(74).f,I=n(173),E=n(69),T=n(22),P=n(52),A=n(118),O=n(107),L=n(175),B=n(84),F=n(121),j=n(85),R=n(174),D=n(223),N=n(28),U=n(50),W=N.f,V=U.f,G=o.RangeError,q=o.TypeError,z=o.Uint8Array,H=Array.prototype,K=s.ArrayBuffer,J=s.DataView,X=P(0),Y=P(2),$=P(3),Q=P(4),Z=P(5),ee=P(6),te=A(!0),ne=A(!1),re=L.values,oe=L.keys,ie=L.entries,ae=H.lastIndexOf,ce=H.reduce,se=H.reduceRight,ue=H.join,fe=H.sort,le=H.slice,de=H.toString,he=H.toLocaleString,pe=T("iterator"),ve=T("toStringTag"),ge=E("typed_constructor"),ye=E("def_constructor"),me=c.CONSTR,be=c.TYPED,we=c.VIEW,ke=P(1,(function(e,t){return Me(O(e,e[ye]),t)})),Se=i((function(){return 1===new z(new Uint16Array([1]).buffer)[0]})),_e=!!z&&!!z.prototype.set&&i((function(){new z(1).set({})})),xe=function(e,t){var n=p(e);if(n<0||n%t)throw G("Wrong offset!");return n},Ce=function(e){if(k(e)&&be in e)return e;throw q(e+" is not a typed array!")},Me=function(e,t){if(!k(e)||!(ge in e))throw q("It is not a typed array constructor!");return new e(t)},Ie=function(e,t){return Ee(O(e,e[ye]),t)},Ee=function(e,t){for(var n=0,r=t.length,o=Me(e,r);r>n;)o[n]=t[n++];return o},Te=function(e,t,n){W(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,r,o,i,a,c=S(e),s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,d=I(c);if(null!=d&&!_(d)){for(a=d.call(c),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);c=r}for(l&&s>2&&(f=u(f,arguments[2],2)),t=0,n=v(c.length),o=Me(this,n);n>t;t++)o[t]=l?f(c[t],t):c[t];return o},Ae=function(){for(var e=0,t=arguments.length,n=Me(this,t);t>e;)n[e]=arguments[e++];return n},Oe=!!z&&i((function(){he.call(new z(1))})),Le=function(){return he.apply(Oe?le.call(Ce(this)):Ce(this),arguments)},Be={copyWithin:function(e,t){return D.call(Ce(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Q(Ce(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return R.apply(Ce(this),arguments)},filter:function(e){return Ie(this,Y(Ce(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(Ce(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ce(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(Ce(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ce(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ce(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Ce(this),arguments)},lastIndexOf:function(e){return ae.apply(Ce(this),arguments)},map:function(e){return ke(Ce(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ce.apply(Ce(this),arguments)},reduceRight:function(e){return se.apply(Ce(this),arguments)},reverse:function(){for(var e,t=Ce(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this},some:function(e){return $(Ce(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return fe.call(Ce(this),e)},subarray:function(e,t){var n=Ce(this),r=n.length,o=y(e,r);return new(O(n,n[ye]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===t?r:y(t,r))-o))}},Fe=function(e,t){return Ie(this,le.call(Ce(this),e,t))},je=function(e){Ce(this);var t=xe(arguments[1],1),n=this.length,r=S(e),o=v(r.length),i=0;if(o+t>n)throw G("Wrong length!");for(;i<o;)this[t+i]=r[i++]},Re={entries:function(){return ie.call(Ce(this))},keys:function(){return oe.call(Ce(this))},values:function(){return re.call(Ce(this))}},De=function(e,t){return k(e)&&e[be]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ne=function(e,t){return De(e,t=m(t,!0))?l(2,e[t]):V(e,t)},Ue=function(e,t,n){return!(De(e,t=m(t,!0))&&k(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?W(e,t,n):(e[t]=n.value,e)};me||(U.f=Ne,N.f=Ue),a(a.S+a.F*!me,"Object",{getOwnPropertyDescriptor:Ne,defineProperty:Ue}),i((function(){de.call({})}))&&(de=he=function(){return ue.call(this)});var We=h({},Be);h(We,Re),d(We,pe,Re.values),h(We,{slice:Fe,set:je,constructor:function(){},toString:de,toLocaleString:Le}),Te(We,"buffer","b"),Te(We,"byteOffset","o"),Te(We,"byteLength","l"),Te(We,"length","e"),W(We,ve,{get:function(){return this[be]}}),e.exports=function(e,t,n,s){var u=e+((s=!!s)?"Clamped":"")+"Array",l="get"+e,h="set"+e,p=o[u],y=p||{},m=p&&C(p),b=!p||!c.ABV,S={},_=p&&p.prototype,I=function(e,n){W(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[l](n*t+r.o,Se)}(this,n)},set:function(e){return function(e,n,r){var o=e._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*t+o.o,r,Se)}(this,n,e)},enumerable:!0})};b?(p=n((function(e,n,r,o){f(e,p,u,"_d");var i,a,c,s,l=0,h=0;if(k(n)){if(!(n instanceof K||"ArrayBuffer"==(s=w(n))||"SharedArrayBuffer"==s))return be in n?Ee(p,n):Pe.call(p,n);i=n,h=xe(r,t);var y=n.byteLength;if(void 0===o){if(y%t)throw G("Wrong length!");if((a=y-h)<0)throw G("Wrong length!")}else if((a=v(o)*t)+h>y)throw G("Wrong length!");c=a/t}else c=g(n),i=new K(a=c*t);for(d(e,"_d",{b:i,o:h,l:a,e:c,v:new J(i)});l<c;)I(e,l++)})),_=p.prototype=x(We),d(_,"constructor",p)):i((function(){p(1)}))&&i((function(){new p(-1)}))&&F((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=n((function(e,n,r,o){var i;return f(e,p,u),k(n)?n instanceof K||"ArrayBuffer"==(i=w(n))||"SharedArrayBuffer"==i?void 0!==o?new y(n,xe(r,t),o):void 0!==r?new y(n,xe(r,t)):new y(n):be in n?Ee(p,n):Pe.call(p,n):new y(g(n))})),X(m!==Function.prototype?M(y).concat(M(m)):M(y),(function(e){e in p||d(p,e,y[e])})),p.prototype=_,r||(_.constructor=p));var E=_[pe],T=!!E&&("values"==E.name||null==E.name),P=Re.values;d(p,ge,!0),d(_,be,u),d(_,we,!0),d(_,ye,p),(s?new p(1)[ve]==u:ve in _)||W(_,ve,{get:function(){return u}}),S[u]=p,a(a.G+a.W+a.F*(p!=y),S),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*i((function(){y.of.call(p,1)})),u,{from:Pe,of:Ae}),"BYTES_PER_ELEMENT"in _||d(_,"BYTES_PER_ELEMENT",t),a(a.P,u,Be),j(u),a(a.P+a.F*_e,u,{set:je}),a(a.P+a.F*!T,u,Re),r||_.toString==de||(_.toString=de),a(a.P+a.F*i((function(){new p(1).slice()})),u,{slice:Fe}),a(a.P+a.F*(i((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!i((function(){_.toLocaleString.call([1,2])}))),u,{toLocaleString:Le}),B[u]=T?E:P,r||T||d(_,pe,P)}}else e.exports=function(){}},function(e,t,n){var r=n(38),o=n(92);e.exports=n(34)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(19);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(69)("meta"),o=n(19),i=n(39),a=n(28).f,c=0,s=Object.isExtensible||function(){return!0},u=!n(17)((function(){return s(Object.preventExtensions({}))})),f=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},l=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";f(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;f(e)}return e[r].w},onFreeze:function(e){return u&&l.NEED&&s(e)&&!i(e,r)&&f(e),e}}},function(e,t,n){e.exports=n(96)},function(e,t,n){var r=n(148),o=n(91),i=n(180);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),o(e,"prototype",{writable:!1}),t&&i(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(7).default,o=n(485);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(109);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var r=n(207),o=n(158);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(49),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(18),o=n(208),i=n(158),a=n(157)("IE_PROTO"),c=function(){},s=function(){var e,t=n(155)("iframe"),r=i.length;for(t.style.display="none",n(159).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(207),o=n(158).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(39),o=n(30),i=n(157)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(22)("unscopables"),o=Array.prototype;null==o[r]&&n(40)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(19);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(184),o=n(137);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){},function(e,t,n){var r=n(54),o=n(191),i=n(192),a=n(33),c=n(111),s=n(194),u={},f={};(t=e.exports=function(e,t,n,l,d){var h,p,v,g,y=d?function(){return e}:s(e),m=r(n,l,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(h=c(e.length);h>b;b++)if((g=t?m(a(p=e[b])[0],p[1]):m(e[b]))===u||g===f)return g}else for(v=y.call(e);!(p=v.next()).done;)if((g=o(v,m,p.value,t))===u||g===f)return g}).BREAK=u,t.RETURN=f},function(e,t,n){var r=n(29);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(28).f,o=n(39),i=n(22)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(0),o=n(57),i=n(17),a=n(161),c="["+a+"]",s=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),f=function(e,t,n){var o={},c=i((function(){return!!a[e]()||"
"!="
"[e]()})),s=o[e]=c?t(l):a[e];n&&(o[n]=s),r(r.P+r.F*c,"String",o)},l=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(u,"")),e};e.exports=f},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(16),o=n(28),i=n(27),a=n(22)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(35);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(146);function o(e,t,n,o,i,a,c){try{var s=e[a](c),u=s.value}catch(e){return void n(e)}s.done?t(u):r.resolve(u).then(o,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new r((function(r,i){var a=e.apply(t,n);function c(e){o(a,r,i,c,s,"next",e)}function s(e){o(a,r,i,c,s,"throw",e)}c(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(144)},function(e,t,n){e.exports=n(496)},function(e,t,n){n(246);var r=n(12).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=!0},function(e,t,n){n(186),n(79),n(260),n(261),e.exports=n(12).Symbol},function(e,t,n){var r=n(112)("meta"),o=n(29),i=n(60),a=n(38).f,c=0,s=Object.isExtensible||function(){return!0},u=!n(46)((function(){return s(Object.preventExtensions({}))})),f=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},l=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";f(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;f(e)}return e[r].w},onFreeze:function(e){return u&&l.NEED&&s(e)&&!i(e,r)&&f(e),e}}},function(e,t,n){var r=n(38).f,o=n(60),i=n(31)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(31)},function(e,t,n){var r=n(33),o=n(187),i=n(137),a=n(135)("IE_PROTO"),c=function(){},s=function(){var e,t=n(131)("iframe"),r=i.length;for(t.style.display="none",n(188).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){"use strict";var r=n(262)(!0);n(143)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){e.exports={}},function(e,t,n){n(264);for(var r=n(24),o=n(59),i=n(102),a=n(31)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<c.length;s++){var u=c[s],f=r[u],l=f&&f.prototype;l&&!l[a]&&o(l,a,u),i[u]=i.Array}},function(e,t,n){var r=n(56);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(56),o=n(22)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(18),o=n(48),i=n(22)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r=n(29);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(94),o=n(92),i=n(55),a=n(108),c=n(60),s=n(182),u=Object.getOwnPropertyDescriptor;t.f=n(34)?u:function(e,t){if(e=i(e),t=a(t,!0),s)try{return u(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(134),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){n(101),n(103),e.exports=n(99).f("iterator")},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(59);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){var r=n(25),o=n(16),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(70)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(41),o=n(23),i=n(72);e.exports=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),f=i(a,u);if(e&&n!=n){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((e||f in s)&&s[f]===n)return e||f||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(56);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(22)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(18);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(106),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";n(225);var r=n(35),o=n(40),i=n(17),a=n(57),c=n(22),s=n(176),u=c("species"),f=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var d=c(e),h=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=h?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!t})):void 0;if(!h||!p||"replace"===e&&!f||"split"===e&&!l){var v=/./[d],g=n(a,d,""[e],(function(e,t,n,r,o){return t.exec===s?h&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=g[0],m=g[1];r(String.prototype,e,y),o(RegExp.prototype,d,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},function(e,t,n){var r=n(47),o=n(220),i=n(171),a=n(18),c=n(23),s=n(173),u={},f={};(t=e.exports=function(e,t,n,l,d){var h,p,v,g,y=d?function(){return e}:s(e),m=r(n,l,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(h=c(e.length);h>b;b++)if((g=t?m(a(p=e[b])[0],p[1]):m(e[b]))===u||g===f)return g}else for(v=y.call(e);!(p=v.next()).done;)if((g=o(v,m,p.value,t))===u||g===f)return g}).BREAK=u,t.RETURN=f},function(e,t,n){var r=n(16).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(16),o=n(0),i=n(35),a=n(87),c=n(62),s=n(125),u=n(86),f=n(19),l=n(17),d=n(121),h=n(82),p=n(162);e.exports=function(e,t,n,v,g,y){var m=r[e],b=m,w=g?"set":"add",k=b&&b.prototype,S={},_=function(e){var t=k[e];i(k,e,"delete"==e||"has"==e?function(e){return!(y&&!f(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!f(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(y||k.forEach&&!l((function(){(new b).entries().next()})))){var x=new b,C=x[w](y?{}:-0,1)!=x,M=l((function(){x.has(1)})),I=d((function(e){new b(e)})),E=!y&&l((function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)}));I||((b=t((function(t,n){u(t,b,e);var r=p(new m,t,b);return null!=n&&s(n,g,r[w],r),r}))).prototype=k,k.constructor=b),(M||E)&&(_("delete"),_("has"),g&&_("get")),(E||C)&&_(w),y&&k.clear&&delete k.clear}else b=v.getConstructor(t,e,g,w),a(b.prototype,n),c.NEED=!0;return h(b,e),S[e]=b,o(o.G+o.W+o.F*(b!=m),S),y||v.setStrong(b,e,g),b}},function(e,t,n){for(var r,o=n(16),i=n(40),a=n(69),c=a("typed_array"),s=a("view"),u=!(!o.ArrayBuffer||!o.DataView),f=u,l=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=o[d[l++]])?(i(r.prototype,c,!0),i(r.prototype,s,!0)):f=!1;e.exports={ABV:u,CONSTR:f,TYPED:c,VIEW:s}},function(e,t,n){e.exports=n(114)},function(e,t,n){var r=n(237),o=n(148),i=n(37),a=n(180),c=n(491),s=n(492);function u(t){var n="function"==typeof r?new r:void 0;return e.exports=u=function(e){if(null===e||!c(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return s(e,arguments,i(this).constructor)}return t.prototype=o(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,u(t)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(29),o=n(24).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(93);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(20),o=n(12),i=n(46);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(136)("keys"),o=n(112);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(12),o=n(24),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(95)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){n(256),e.exports=n(12).Array.isArray},function(e,t,n){var r=n(93);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){e.exports=n(59)},function(e,t,n){var r=n(24),o=n(12),i=n(95),a=n(99),c=n(38).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(184),o=n(137).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(95),o=n(20),i=n(140),a=n(59),c=n(102),s=n(263),u=n(98),f=n(189),l=n(31)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,v,g,y){s(n,t,p);var m,b,w,k=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",_="values"==v,x=!1,C=e.prototype,M=C[l]||C["@@iterator"]||v&&C[v],I=M||k(v),E=v?_?k("entries"):I:void 0,T="Array"==t&&C.entries||M;if(T&&(w=f(T.call(new e)))!==Object.prototype&&w.next&&(u(w,S,!0),r||"function"==typeof w[l]||a(w,l,h)),_&&M&&"values"!==M.name&&(x=!0,I=function(){return M.call(this)}),r&&!y||!d&&!x&&C[l]||a(C,l,I),c[t]=I,c[S]=h,v)if(m={values:_?I:k("values"),keys:g?I:k("keys"),entries:E},y)for(b in m)b in C||i(C,b,m[b]);else o(o.P+o.F*(d||x),t,m);return m}},function(e,t,n){n(101),n(266),e.exports=n(12).Array.from},function(e,t,n){var r=n(93),o=n(31)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){n(79),n(101),n(103),n(268),n(271),n(272),e.exports=n(12).Promise},function(e,t,n){"use strict";var r=n(66);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){n(274);var r=n(12).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(276),e.exports=n(12).Object.setPrototypeOf},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(54),o=n(132),i=n(67),a=n(111),c=n(288);e.exports=function(e,t){var n=1==e,s=2==e,u=3==e,f=4==e,l=6==e,d=5==e||l,h=t||c;return function(t,c,p){for(var v,g,y=i(t),m=o(y),b=r(c,p,3),w=a(m.length),k=0,S=n?h(t,w):s?h(t,0):void 0;w>k;k++)if((d||k in m)&&(g=b(v=m[k],k,y),e))if(n)S[k]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:S.push(v)}else if(f)return!1;return l?-1:u||f?f:S}}},function(e,t,n){"use strict";var r=n(24),o=n(20),i=n(97),a=n(46),c=n(59),s=n(116),u=n(80),f=n(115),l=n(29),d=n(98),h=n(38).f,p=n(151)(0),v=n(34);e.exports=function(e,t,n,g,y,m){var b=r[e],w=b,k=y?"set":"add",S=w&&w.prototype,_={};return v&&"function"==typeof w&&(m||S.forEach&&!a((function(){(new w).entries().next()})))?(w=t((function(t,n){f(t,w,e,"_c"),t._c=new b,null!=n&&u(n,y,t[k],t)})),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(e){var t="add"==e||"set"==e;!(e in S)||m&&"clear"==e||c(w.prototype,e,(function(n,r){if(f(this,w,e),!t&&m&&!l(n))return"get"==e&&void 0;var o=this._c[e](0===n?0:n,r);return t?this:o}))})),m||h(w.prototype,"size",{get:function(){return this._c.size}})):(w=g.getConstructor(t,e,y,k),s(w.prototype,n),i.NEED=!0),d(w,e),_[e]=w,o(o.G+o.W+o.F,_),m||g.setStrong(w,e,y),w}},function(e,t,n){"use strict";var r=n(20);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){"use strict";var r=n(20),o=n(66),i=n(54),a=n(80);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,c,s=arguments[1];return o(this),(t=void 0!==s)&&o(s),null==e?new this:(n=[],t?(r=0,c=i(s,arguments[2],2),a(e,!1,(function(e){n.push(c(e,r++))}))):a(e,!1,n.push,n),new this(n))}})}},function(e,t,n){var r=n(19),o=n(16).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){t.f=n(22)},function(e,t,n){var r=n(117)("keys"),o=n(69);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(16).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(19),o=n(18),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(47)(Function.call,n(50).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(19),o=n(160).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){"use strict";var r=n(49),o=n(57);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(49),o=n(57);e.exports=function(e){return function(t,n){var i,a,c=String(o(t)),s=r(n),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):i:e?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(70),o=n(0),i=n(35),a=n(40),c=n(84),s=n(219),u=n(82),f=n(75),l=n(22)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,v,g,y){s(n,t,p);var m,b,w,k=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",_="values"==v,x=!1,C=e.prototype,M=C[l]||C["@@iterator"]||v&&C[v],I=M||k(v),E=v?_?k("entries"):I:void 0,T="Array"==t&&C.entries||M;if(T&&(w=f(T.call(new e)))!==Object.prototype&&w.next&&(u(w,S,!0),r||"function"==typeof w[l]||a(w,l,h)),_&&M&&"values"!==M.name&&(x=!0,I=function(){return M.call(this)}),r&&!y||!d&&!x&&C[l]||a(C,l,I),c[t]=I,c[S]=h,v)if(m={values:_?I:k("values"),keys:g?I:k("keys"),entries:E},y)for(b in m)b in C||i(C,b,m[b]);else o(o.P+o.F*(d||x),t,m);return m}},function(e,t,n){var r=n(169),o=n(57);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(19),o=n(56),i=n(22)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(22)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(84),o=n(22)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(28),o=n(68);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(106),o=n(22)("iterator"),i=n(84);e.exports=n(25).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(30),o=n(72),i=n(23);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:o(s,n);u>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var r=n(76),o=n(224),i=n(84),a=n(41);e.exports=n(167)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,o,i=n(122),a=RegExp.prototype.exec,c=String.prototype.replace,s=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(u||f)&&(s=function(e){var t,n,r,o,s=this;return f&&(n=new RegExp("^"+s.source+"$(?!\\s)",i.call(s))),u&&(t=s.lastIndex),r=a.call(s,e),u&&r&&(s.lastIndex=s.global?r.index+r[0].length:t),f&&r&&r.length>1&&c.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=s},function(e,t,n){"use strict";var r=n(166)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r,o,i,a=n(47),c=n(213),s=n(159),u=n(155),f=n(16),l=f.process,d=f.setImmediate,h=f.clearImmediate,p=f.MessageChannel,v=f.Dispatch,g=0,y={},m=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},b=function(e){m.call(e.data)};d&&h||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++g]=function(){c("function"==typeof e?e:Function(e),t)},r(g),g},h=function(e){delete y[e]},"process"==n(56)(l)?r=function(e){l.nextTick(a(m,e,1))}:v&&v.now?r=function(e){v.now(a(m,e,1))}:p?(i=(o=new p).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(e){s.appendChild(u("script")).onreadystatechange=function(){s.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:h}},function(e,t,n){"use strict";var r=n(16),o=n(27),i=n(70),a=n(128),c=n(40),s=n(87),u=n(17),f=n(86),l=n(49),d=n(23),h=n(232),p=n(74).f,v=n(28).f,g=n(174),y=n(82),m=r.ArrayBuffer,b=r.DataView,w=r.Math,k=r.RangeError,S=r.Infinity,_=m,x=w.abs,C=w.pow,M=w.floor,I=w.log,E=w.LN2,T=o?"_b":"buffer",P=o?"_l":"byteLength",A=o?"_o":"byteOffset";function O(e,t,n){var r,o,i,a=new Array(n),c=8*n-t-1,s=(1<<c)-1,u=s>>1,f=23===t?C(2,-24)-C(2,-77):0,l=0,d=e<0||0===e&&1/e<0?1:0;for((e=x(e))!=e||e===S?(o=e!=e?1:0,r=s):(r=M(I(e)/E),e*(i=C(2,-r))<1&&(r--,i*=2),(e+=r+u>=1?f/i:f*C(2,1-u))*i>=2&&(r++,i/=2),r+u>=s?(o=0,r=s):r+u>=1?(o=(e*i-1)*C(2,t),r+=u):(o=e*C(2,u-1)*C(2,t),r=0));t>=8;a[l++]=255&o,o/=256,t-=8);for(r=r<<t|o,c+=t;c>0;a[l++]=255&r,r/=256,c-=8);return a[--l]|=128*d,a}function L(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,c=o-7,s=n-1,u=e[s--],f=127&u;for(u>>=7;c>0;f=256*f+e[s],s--,c-=8);for(r=f&(1<<-c)-1,f>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===f)f=1-a;else{if(f===i)return r?NaN:u?-S:S;r+=C(2,t),f-=a}return(u?-1:1)*r*C(2,f-t)}function B(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function F(e){return[255&e]}function j(e){return[255&e,e>>8&255]}function R(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function D(e){return O(e,52,8)}function N(e){return O(e,23,4)}function U(e,t,n){v(e.prototype,t,{get:function(){return this[n]}})}function W(e,t,n,r){var o=h(+n);if(o+t>e[P])throw k("Wrong index!");var i=e[T]._b,a=o+e[A],c=i.slice(a,a+t);return r?c:c.reverse()}function V(e,t,n,r,o,i){var a=h(+n);if(a+t>e[P])throw k("Wrong index!");for(var c=e[T]._b,s=a+e[A],u=r(+o),f=0;f<t;f++)c[s+f]=u[i?f:t-f-1]}if(a.ABV){if(!u((function(){m(1)}))||!u((function(){new m(-1)}))||u((function(){return new m,new m(1.5),new m(NaN),"ArrayBuffer"!=m.name}))){for(var G,q=(m=function(e){return f(this,m),new _(h(e))}).prototype=_.prototype,z=p(_),H=0;z.length>H;)(G=z[H++])in m||c(m,G,_[G]);i||(q.constructor=m)}var K=new b(new m(2)),J=b.prototype.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||s(b.prototype,{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},!0)}else m=function(e){f(this,m,"ArrayBuffer");var t=h(e);this._b=g.call(new Array(t),0),this[P]=t},b=function(e,t,n){f(this,b,"DataView"),f(e,m,"DataView");var r=e[P],o=l(t);if(o<0||o>r)throw k("Wrong offset!");if(o+(n=void 0===n?r-o:d(n))>r)throw k("Wrong length!");this[T]=e,this[A]=o,this[P]=n},o&&(U(m,"byteLength","_l"),U(b,"buffer","_b"),U(b,"byteLength","_l"),U(b,"byteOffset","_o")),s(b.prototype,{getInt8:function(e){return W(this,1,e)[0]<<24>>24},getUint8:function(e){return W(this,1,e)[0]},getInt16:function(e){var t=W(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=W(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return B(W(this,4,e,arguments[1]))},getUint32:function(e){return B(W(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return L(W(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return L(W(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){V(this,1,e,F,t)},setUint8:function(e,t){V(this,1,e,F,t)},setInt16:function(e,t){V(this,2,e,j,t,arguments[2])},setUint16:function(e,t){V(this,2,e,j,t,arguments[2])},setInt32:function(e,t){V(this,4,e,R,t,arguments[2])},setUint32:function(e,t){V(this,4,e,R,t,arguments[2])},setFloat32:function(e,t){V(this,4,e,N,t,arguments[2])},setFloat64:function(e,t){V(this,8,e,D,t,arguments[2])}});y(m,"ArrayBuffer"),y(b,"DataView"),c(b.prototype,a.VIEW,!0),t.ArrayBuffer=m,t.DataView=b},function(e,t,n){var r=n(149);function o(t,n){return e.exports=o=r?r.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(493),e.exports=n(12).Reflect.construct},function(e,t,n){e.exports=!n(34)&&!n(46)((function(){return 7!=Object.defineProperty(n(131)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r=n(34),o=n(78),i=n(113),a=n(94),c=n(67),s=n(132),u=Object.assign;e.exports=!u||n(46)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=c(e),u=arguments.length,f=1,l=i.f,d=a.f;u>f;)for(var h,p=s(arguments[f++]),v=l?o(p).concat(l(p)):o(p),g=v.length,y=0;g>y;)h=v[y++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(60),o=n(55),i=n(253)(!1),a=n(135)("IE_PROTO");e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)n!=a&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(24),o=n(60),i=n(34),a=n(20),c=n(140),s=n(97).KEY,u=n(46),f=n(136),l=n(98),d=n(112),h=n(31),p=n(99),v=n(141),g=n(258),y=n(139),m=n(33),b=n(29),w=n(67),k=n(55),S=n(108),_=n(92),x=n(100),C=n(259),M=n(110),I=n(113),E=n(38),T=n(78),P=M.f,A=E.f,O=C.f,L=r.Symbol,B=r.JSON,F=B&&B.stringify,j=h("_hidden"),R=h("toPrimitive"),D={}.propertyIsEnumerable,N=f("symbol-registry"),U=f("symbols"),W=f("op-symbols"),V=Object.prototype,G="function"==typeof L&&!!I.f,q=r.QObject,z=!q||!q.prototype||!q.prototype.findChild,H=i&&u((function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=P(V,t);r&&delete V[t],A(e,t,n),r&&e!==V&&A(V,t,r)}:A,K=function(e){var t=U[e]=x(L.prototype);return t._k=e,t},J=G&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},X=function(e,t,n){return e===V&&X(W,t,n),m(e),t=S(t,!0),m(n),o(U,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=x(n,{enumerable:_(0,!1)})):(o(e,j)||A(e,j,_(1,{})),e[j][t]=!0),H(e,t,n)):A(e,t,n)},Y=function(e,t){m(e);for(var n,r=g(t=k(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=D.call(this,e=S(e,!0));return!(this===V&&o(U,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,j)&&this[j][e])||t)},Q=function(e,t){if(e=k(e),t=S(t,!0),e!==V||!o(U,t)||o(W,t)){var n=P(e,t);return!n||!o(U,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=O(k(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==j||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===V,r=O(n?W:k(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(V,t)||i.push(U[t]);return i};G||(c((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(W,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),H(this,e,_(1,n))};return i&&z&&H(V,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",(function(){return this._k})),M.f=Q,E.f=X,n(142).f=C.f=Z,n(94).f=$,I.f=ee,i&&!n(95)&&c(V,"propertyIsEnumerable",$,!0),p.f=function(e){return K(h(e))}),a(a.G+a.W+a.F*!G,{Symbol:L});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)h(te[ne++]);for(var re=T(h.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!G,"Symbol",{for:function(e){return o(N,e+="")?N[e]:N[e]=L(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!G,"Object",{create:function(e,t){return void 0===t?x(e):Y(x(e),t)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=u((function(){I.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return I.f(w(e))}}),B&&a(a.S+a.F*(!G||u((function(){var e=L();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!J(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,F.apply(B,r)}}),L.prototype[R]||n(59)(L.prototype,R,L.prototype.valueOf),l(L,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(e,t,n){var r=n(38),o=n(33),i=n(78);e.exports=n(34)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,s=0;c>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(24).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(60),o=n(67),i=n(135)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(33);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(102),o=n(31)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(38),o=n(92);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(145),o=n(31)("iterator"),i=n(102);e.exports=n(12).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(31)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){var r=n(144),o=n(185);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?r(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(33),o=n(66),i=n(31)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(54),c=n(199),s=n(188),u=n(131),f=n(24),l=f.process,d=f.setImmediate,h=f.clearImmediate,p=f.MessageChannel,v=f.Dispatch,g=0,y={},m=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},b=function(e){m.call(e.data)};d&&h||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++g]=function(){c("function"==typeof e?e:Function(e),t)},r(g),g},h=function(e){delete y[e]},"process"==n(93)(l)?r=function(e){l.nextTick(a(m,e,1))}:v&&v.now?r=function(e){v.now(a(m,e,1))}:p?(i=(o=new p).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(e){s.appendChild(u("script")).onreadystatechange=function(){s.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:h}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(33),o=n(29),i=n(147);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(24),o=n(12),i=n(38),a=n(34),c=n(31)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[c]&&i.f(t,c,{configurable:!0,get:function(){return this}})}},function(e,t,n){n(275),e.exports=n(12).Object.getPrototypeOf},function(e,t,n){var r=n(20),o=n(109),i=n(46),a=n(150),c="["+a+"]",s=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),f=function(e,t,n){var o={},c=i((function(){return!!a[e]()||"
"!="
"[e]()})),s=o[e]=c?t(l):a[e];n&&(o[n]=s),r(r.P+r.F*c,"String",o)},l=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(u,"")),e};e.exports=f},function(e,t,n){e.exports=!n(27)&&!n(17)((function(){return 7!=Object.defineProperty(n(155)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(16),o=n(25),i=n(70),a=n(156),c=n(28).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(39),o=n(41),i=n(118)(!1),a=n(157)("IE_PROTO");e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)n!=a&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(28),o=n(18),i=n(71);e.exports=n(27)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,s=0;c>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(41),o=n(74).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(27),o=n(71),i=n(119),a=n(105),c=n(30),s=n(104),u=Object.assign;e.exports=!u||n(17)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=c(e),u=arguments.length,f=1,l=i.f,d=a.f;u>f;)for(var h,p=s(arguments[f++]),v=l?o(p).concat(l(p)):o(p),g=v.length,y=0;g>y;)h=v[y++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:u},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(48),o=n(19),i=n(213),a=[].slice,c={},s=function(e,t,n){if(!(t in c)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";c[t]=Function("F,a","return new F("+r.join(",")+")")}return c[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?s(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(c.prototype=t.prototype),c}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(16).parseInt,o=n(83).trim,i=n(161),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(16).parseFloat,o=n(83).trim;e.exports=1/r(n(161)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(56);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(19),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(73),o=n(68),i=n(82),a={};n(40)(a,n(22)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(18);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(391);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(48),o=n(30),i=n(104),a=n(23);e.exports=function(e,t,n,c,s){r(t);var u=o(e),f=i(u),l=a(u.length),d=s?l-1:0,h=s?-1:1;if(n<2)for(;;){if(d in f){c=f[d],d+=h;break}if(d+=h,s?d<0:l<=d)throw TypeError("Reduce of empty array with no initial value")}for(;s?d>=0:l>d;d+=h)d in f&&(c=t(c,f[d],d,u));return c}},function(e,t,n){"use strict";var r=n(30),o=n(72),i=n(23);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),c=o(e,a),s=o(t,a),u=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===u?a:o(u,a))-s,a-c),l=1;for(s<c&&c<s+f&&(l=-1,s+=f-1,c+=f-1);f-- >0;)s in n?n[c]=n[s]:delete n[c],c+=l,s+=l;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(176);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(27)&&"g"!=/./g.flags&&n(28).f(RegExp.prototype,"flags",{configurable:!0,get:n(122)})},function(e,t,n){"use strict";var r,o,i,a,c=n(70),s=n(16),u=n(47),f=n(106),l=n(0),d=n(19),h=n(48),p=n(86),v=n(125),g=n(107),y=n(178).set,m=n(411)(),b=n(228),w=n(412),k=n(126),S=n(229),_=s.TypeError,x=s.process,C=x&&x.versions,M=C&&C.v8||"",I=s.Promise,E="process"==f(x),T=function(){},P=o=b.f,A=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[n(22)("species")]=function(e){e(T,T)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==M.indexOf("6.6")&&-1===k.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;m((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,c=o?t.ok:t.fail,s=t.resolve,u=t.reject,f=t.domain;try{c?(o||(2==e._h&&j(e),e._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),a=!0)),n===t.promise?u(_("Promise-chain cycle")):(i=O(n))?i.call(n,s,u):s(n)):u(r)}catch(e){f&&!a&&f.exit(),u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&B(e)}))}},B=function(e){y.call(s,(function(){var t,n,r,o=e._v,i=F(e);if(i&&(t=w((function(){E?x.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=E||F(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){y.call(s,(function(){var t;E?x.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=O(e))?m((function(){var r={_w:n,_d:!1};try{t.call(e,u(D,r,1),u(R,r,1))}catch(e){R.call(r,e)}})):(n._v=e,n._s=1,L(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};A||(I=function(e){p(this,I,"Promise","_h"),h(e),r.call(this);try{e(u(D,this,1),u(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(87)(I.prototype,{then:function(e,t){var n=P(g(this,I));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(D,e,1),this.reject=u(R,e,1)},b.f=P=function(e){return e===I||e===a?new i(e):o(e)}),l(l.G+l.W+l.F*!A,{Promise:I}),n(82)(I,"Promise"),n(85)("Promise"),a=n(25).Promise,l(l.S+l.F*!A,"Promise",{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(c||!A),"Promise",{resolve:function(e){return S(c&&this===a?I:this,e)}}),l(l.S+l.F*!(A&&n(121)((function(e){I.all(e).catch(T)}))),"Promise",{all:function(e){var t=this,n=P(t),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;v(e,!1,(function(e){var c=i++,s=!1;n.push(void 0),a++,t.resolve(e).then((function(e){s||(s=!0,n[c]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=P(t),r=n.reject,o=w((function(){v(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(48);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(18),o=n(19),i=n(228);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(28).f,o=n(73),i=n(87),a=n(47),c=n(86),s=n(125),u=n(167),f=n(224),l=n(85),d=n(27),h=n(62).fastKey,p=n(77),v=d?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,r){c(e,f,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[v]=0,null!=r&&s(r,n,e[u],e)}));return i(f.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=p(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(p(this,t),e)}}),d&&r(f.prototype,"size",{get:function(){return p(this,t)[v]}}),f},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[v]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?f(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,f(1))}),n?"entries":"values",!n,!0),l(t)}}},function(e,t,n){"use strict";var r=n(87),o=n(62).getWeak,i=n(18),a=n(19),c=n(86),s=n(125),u=n(52),f=n(39),l=n(77),d=u(5),h=u(6),p=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return d(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){c(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&s(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).delete(e):n&&f(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).has(e):n&&f(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},function(e,t,n){var r=n(49),o=n(23);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(74),o=n(119),i=n(18),a=n(16).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(23),o=n(163),i=n(57);e.exports=function(e,t,n,a){var c=String(i(e)),s=c.length,u=void 0===n?" ":String(n),f=r(t);if(f<=s||""==u)return c;var l=f-s,d=o.call(u,Math.ceil(l/u.length));return d.length>l&&(d=d.slice(0,l)),a?d+c:c+d}},function(e,t,n){var r=n(27),o=n(71),i=n(41),a=n(105).f;e.exports=function(e){return function(t){for(var n,c=i(t),s=o(c),u=s.length,f=0,l=[];u>f;)n=s[f++],r&&!a.call(c,n)||l.push(e?[n,c[n]]:c[n]);return l}}},function(e,t,n){var r=n(7).default,o=n(473);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(79),n(101),n(103),n(486),n(487),n(489),n(490),e.exports=n(12).Map},function(e,t,n){"use strict";var r=n(38).f,o=n(100),i=n(116),a=n(54),c=n(115),s=n(80),u=n(143),f=n(190),l=n(202),d=n(34),h=n(97).fastKey,p=n(81),v=d?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,r){c(e,f,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[v]=0,null!=r&&s(r,n,e[u],e)}));return i(f.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=p(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(p(this,t),e)}}),d&&r(f.prototype,"size",{get:function(){return p(this,t)[v]}}),f},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[v]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?f(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,f(1))}),n?"entries":"values",!n,!0),l(t)}}},function(e,t,n){var r=n(145),o=n(488);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,n){e.exports=n(249)},function(e,t,n){e.exports=n(293)},function(e,t,n){e.exports=n(482)},function(e,t,n){e.exports=n(499)},function(e,t,n){e.exports=n(237)},function(e,t,n){e.exports=n(500)},function(e,t,n){var r=n(20);r(r.S+r.F*!n(34),"Object",{defineProperty:n(38).f})},function(e,t,n){n(248);var r=n(12).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){var r=n(55),o=n(110).f;n(133)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){n(250),e.exports=n(12).Reflect.defineProperty},function(e,t,n){var r=n(38),o=n(20),i=n(33),a=n(108);o(o.S+o.F*n(46)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){n(252),e.exports=n(12).Object.assign},function(e,t,n){var r=n(20);r(r.S+r.F,"Object",{assign:n(183)})},function(e,t,n){var r=n(55),o=n(111),i=n(254);e.exports=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),f=i(a,u);if(e&&n!=n){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((e||f in s)&&s[f]===n)return e||f||0;return!e&&-1}}},function(e,t,n){var r=n(134),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(138),o=n(185);e.exports=function(e){if(r(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20);r(r.S,"Array",{isArray:n(139)})},function(e,t,n){var r=n(96),o=n(114),i=n(144);e.exports=function(e){if(void 0!==r&&null!=e[o]||null!=e["@@iterator"])return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(78),o=n(113),i=n(94);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,c=n(e),s=i.f,u=0;c.length>u;)s.call(e,a=c[u++])&&t.push(a);return t}},function(e,t,n){var r=n(55),o=n(142).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){n(141)("asyncIterator")},function(e,t,n){n(141)("observable")},function(e,t,n){var r=n(134),o=n(109);e.exports=function(e){return function(t,n){var i,a,c=String(o(t)),s=r(n),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):i:e?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(100),o=n(92),i=n(98),a={};n(59)(a,n(31)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(265),o=n(190),i=n(102),a=n(55);e.exports=n(143)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(54),o=n(20),i=n(67),a=n(191),c=n(192),s=n(111),u=n(193),f=n(194);o(o.S+o.F*!n(195)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,l,d=i(e),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,y=0,m=f(d);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),null==m||h==Array&&c(m))for(n=new h(t=s(d.length));t>y;y++)u(n,y,g?v(d[y],y):d[y]);else for(l=m.call(d),n=new h;!(o=l.next()).done;y++)u(n,y,g?a(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r,o,i,a,c=n(95),s=n(24),u=n(54),f=n(145),l=n(20),d=n(29),h=n(66),p=n(115),v=n(80),g=n(197),y=n(198).set,m=n(269)(),b=n(147),w=n(200),k=n(270),S=n(201),_=s.TypeError,x=s.process,C=x&&x.versions,M=C&&C.v8||"",I=s.Promise,E="process"==f(x),T=function(){},P=o=b.f,A=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[n(31)("species")]=function(e){e(T,T)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==M.indexOf("6.6")&&-1===k.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;m((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,c=o?t.ok:t.fail,s=t.resolve,u=t.reject,f=t.domain;try{c?(o||(2==e._h&&j(e),e._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),a=!0)),n===t.promise?u(_("Promise-chain cycle")):(i=O(n))?i.call(n,s,u):s(n)):u(r)}catch(e){f&&!a&&f.exit(),u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&B(e)}))}},B=function(e){y.call(s,(function(){var t,n,r,o=e._v,i=F(e);if(i&&(t=w((function(){E?x.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=E||F(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){y.call(s,(function(){var t;E?x.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=O(e))?m((function(){var r={_w:n,_d:!1};try{t.call(e,u(D,r,1),u(R,r,1))}catch(e){R.call(r,e)}})):(n._v=e,n._s=1,L(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};A||(I=function(e){p(this,I,"Promise","_h"),h(e),r.call(this);try{e(u(D,this,1),u(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(116)(I.prototype,{then:function(e,t){var n=P(g(this,I));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(D,e,1),this.reject=u(R,e,1)},b.f=P=function(e){return e===I||e===a?new i(e):o(e)}),l(l.G+l.W+l.F*!A,{Promise:I}),n(98)(I,"Promise"),n(202)("Promise"),a=n(12).Promise,l(l.S+l.F*!A,"Promise",{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(c||!A),"Promise",{resolve:function(e){return S(c&&this===a?I:this,e)}}),l(l.S+l.F*!(A&&n(195)((function(e){I.all(e).catch(T)}))),"Promise",{all:function(e){var t=this,n=P(t),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;v(e,!1,(function(e){var c=i++,s=!1;n.push(void 0),a++,t.resolve(e).then((function(e){s||(s=!0,n[c]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=P(t),r=n.reject,o=w((function(){v(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(24),o=n(198).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,s="process"==n(93)(a);e.exports=function(){var e,t,n,u=function(){var r,o;for(s&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(u)}}else n=function(){o.call(r,u)};else{var l=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(24).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(20),o=n(12),i=n(24),a=n(197),c=n(201);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";var r=n(20),o=n(147),i=n(200);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){var r=n(7).default,o=n(91),i=n(96),a=n(148),c=n(203),s=n(149),u=n(146);function f(){"use strict";e.exports=f=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},l=Object.prototype,d=l.hasOwnProperty,h=o||function(e,t,n){e[t]=n.value},p="function"==typeof i?i:{},v=p.iterator||"@@iterator",g=p.asyncIterator||"@@asyncIterator",y=p.toStringTag||"@@toStringTag";function m(e,t,n){return o(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{m({},"")}catch(t){m=function(e,t,n){return e[t]=n}}function b(e,t,n,r){var o=t&&t.prototype instanceof C?t:C,i=a(o.prototype),c=new R(r||[]);return h(i,"_invoke",{value:L(e,n,c)}),i}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=b;var k="suspendedStart",S="executing",_="completed",x={};function C(){}function M(){}function I(){}var E={};m(E,v,(function(){return this}));var T=c&&c(c(D([])));T&&T!==l&&d.call(T,v)&&(E=T);var P=I.prototype=C.prototype=a(E);function A(e){["next","throw","return"].forEach((function(t){m(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,i,a,c){var s=w(e[o],e,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==r(f)&&d.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}var o;h(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function L(e,n,r){var o=k;return function(i,a){if(o===S)throw new Error("Generator is already running");if(o===_){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=B(c,r);if(s){if(s===x)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===k)throw o=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=S;var u=w(e,n,r);if("normal"===u.type){if(o=r.done?_:"suspendedYield",u.arg===x)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=_,r.method="throw",r.arg=u.arg)}}}function B(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,B(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),x;var i=w(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,x;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,x):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,x)}function F(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(F,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[v];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(d.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return M.prototype=I,h(P,"constructor",{value:I,configurable:!0}),h(I,"constructor",{value:M,configurable:!0}),M.displayName=m(I,y,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===M||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return s?s(e,I):(e.__proto__=I,m(e,y,"GeneratorFunction")),e.prototype=a(P),e},n.awrap=function(e){return{__await:e}},A(O.prototype),m(O.prototype,g,(function(){return this})),n.AsyncIterator=O,n.async=function(e,t,r,o,i){void 0===i&&(i=u);var a=new O(b(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(P),m(P,y,"Generator"),m(P,v,(function(){return this})),m(P,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=D,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var n in this)"t"===n.charAt(0)&&d.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=d.call(i,"catchLoc"),s=d.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&d.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,x):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),x},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),x}},n}e.exports=f,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20);r(r.S,"Object",{create:n(100)})},function(e,t,n){var r=n(67),o=n(189);n(133)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(20);r(r.S,"Object",{setPrototypeOf:n(277).set})},function(e,t,n){var r=n(29),o=n(33),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(54)(Function.call,n(110).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(138);e.exports=function(e){if(r(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(96),o=n(114);e.exports=function(e,t){var n=null==e?null:void 0!==r&&e[o]||e["@@iterator"];if(null!=n){var i,a,c,s,u=[],f=!0,l=!1;try{if(c=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;f=!1}else for(;!(f=(i=c.call(n)).done)&&(u.push(i.value),u.length!==t);f=!0);}catch(e){l=!0,a=e}finally{try{if(!f&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw a}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(282),e.exports=n(12).Date.now},function(e,t,n){var r=n(20);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){n(284),e.exports=n(12).parseInt},function(e,t,n){var r=n(20),o=n(285);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(24).parseInt,o=n(204).trim,i=n(150),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){n(79),n(103),n(287),n(291),n(292),e.exports=n(12).WeakMap},function(e,t,n){"use strict";var r,o=n(24),i=n(151)(0),a=n(140),c=n(97),s=n(183),u=n(290),f=n(29),l=n(81),d=n(81),h=!o.ActiveXObject&&"ActiveXObject"in o,p=c.getWeak,v=Object.isExtensible,g=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(f(e)){var t=p(e);return!0===t?g(l(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(l(this,"WeakMap"),e,t)}},b=e.exports=n(152)("WeakMap",y,m,u,!0,!0);d&&h&&(s((r=u.getConstructor(y,"WeakMap")).prototype,m),c.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(f(t)&&!v(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},function(e,t,n){var r=n(289);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(29),o=n(139),i=n(31)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(116),o=n(97).getWeak,i=n(33),a=n(29),c=n(115),s=n(80),u=n(151),f=n(60),l=n(81),d=u(5),h=u(6),p=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return d(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){c(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&s(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).delete(e):n&&f(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).has(e):n&&f(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},function(e,t,n){n(153)("WeakMap")},function(e,t,n){n(154)("WeakMap")},function(e,t,n){n(294),e.exports=n(12).Number.isNaN},function(e,t,n){var r=n(20);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){n(296),e.exports=n(12).Object.keys},function(e,t,n){var r=n(67),o=n(78);n(133)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";n(298);var r,o=(r=n(470))&&r.__esModule?r:{default:r};o.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),o.default._babelPolyfill=!0},function(e,t,n){"use strict";n(299),n(442),n(444),n(447),n(449),n(451),n(453),n(455),n(457),n(459),n(461),n(463),n(465),n(469)},function(e,t,n){n(300),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(381),n(382),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(175),n(405),n(225),n(406),n(226),n(407),n(408),n(409),n(410),n(227),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421),n(422),n(423),n(424),n(425),n(426),n(427),n(428),n(429),n(430),n(431),n(432),n(433),n(434),n(435),n(436),n(437),n(438),n(439),n(440),n(441),e.exports=n(25)},function(e,t,n){"use strict";var r=n(16),o=n(39),i=n(27),a=n(0),c=n(35),s=n(62).KEY,u=n(17),f=n(117),l=n(82),d=n(69),h=n(22),p=n(156),v=n(206),g=n(302),y=n(120),m=n(18),b=n(19),w=n(30),k=n(41),S=n(61),_=n(68),x=n(73),C=n(209),M=n(50),I=n(119),E=n(28),T=n(71),P=M.f,A=E.f,O=C.f,L=r.Symbol,B=r.JSON,F=B&&B.stringify,j=h("_hidden"),R=h("toPrimitive"),D={}.propertyIsEnumerable,N=f("symbol-registry"),U=f("symbols"),W=f("op-symbols"),V=Object.prototype,G="function"==typeof L&&!!I.f,q=r.QObject,z=!q||!q.prototype||!q.prototype.findChild,H=i&&u((function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=P(V,t);r&&delete V[t],A(e,t,n),r&&e!==V&&A(V,t,r)}:A,K=function(e){var t=U[e]=x(L.prototype);return t._k=e,t},J=G&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},X=function(e,t,n){return e===V&&X(W,t,n),m(e),t=S(t,!0),m(n),o(U,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=x(n,{enumerable:_(0,!1)})):(o(e,j)||A(e,j,_(1,{})),e[j][t]=!0),H(e,t,n)):A(e,t,n)},Y=function(e,t){m(e);for(var n,r=g(t=k(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=D.call(this,e=S(e,!0));return!(this===V&&o(U,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,j)&&this[j][e])||t)},Q=function(e,t){if(e=k(e),t=S(t,!0),e!==V||!o(U,t)||o(W,t)){var n=P(e,t);return!n||!o(U,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=O(k(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==j||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===V,r=O(n?W:k(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(V,t)||i.push(U[t]);return i};G||(c((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(W,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),H(this,e,_(1,n))};return i&&z&&H(V,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",(function(){return this._k})),M.f=Q,E.f=X,n(74).f=C.f=Z,n(105).f=$,I.f=ee,i&&!n(70)&&c(V,"propertyIsEnumerable",$,!0),p.f=function(e){return K(h(e))}),a(a.G+a.W+a.F*!G,{Symbol:L});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)h(te[ne++]);for(var re=T(h.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!G,"Symbol",{for:function(e){return o(N,e+="")?N[e]:N[e]=L(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!G,"Object",{create:function(e,t){return void 0===t?x(e):Y(x(e),t)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=u((function(){I.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return I.f(w(e))}}),B&&a(a.S+a.F*(!G||u((function(){var e=L();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!J(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,F.apply(B,r)}}),L.prototype[R]||n(40)(L.prototype,R,L.prototype.valueOf),l(L,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(117)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(71),o=n(119),i=n(105);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,c=n(e),s=i.f,u=0;c.length>u;)s.call(e,a=c[u++])&&t.push(a);return t}},function(e,t,n){var r=n(0);r(r.S,"Object",{create:n(73)})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(27),"Object",{defineProperty:n(28).f})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(27),"Object",{defineProperties:n(208)})},function(e,t,n){var r=n(41),o=n(50).f;n(51)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){var r=n(30),o=n(75);n(51)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(30),o=n(71);n(51)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){n(51)("getOwnPropertyNames",(function(){return n(209).f}))},function(e,t,n){var r=n(19),o=n(62).onFreeze;n(51)("freeze",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(19),o=n(62).onFreeze;n(51)("seal",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(19),o=n(62).onFreeze;n(51)("preventExtensions",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(19);n(51)("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(19);n(51)("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(19);n(51)("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},function(e,t,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(210)})},function(e,t,n){var r=n(0);r(r.S,"Object",{is:n(211)})},function(e,t,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(160).set})},function(e,t,n){"use strict";var r=n(106),o={};o[n(22)("toStringTag")]="z",o+""!="[object z]"&&n(35)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){var r=n(0);r(r.P,"Function",{bind:n(212)})},function(e,t,n){var r=n(28).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(27)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(19),o=n(75),i=n(22)("hasInstance"),a=Function.prototype;i in a||n(28).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(0),o=n(214);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(0),o=n(215);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){"use strict";var r=n(16),o=n(39),i=n(56),a=n(162),c=n(61),s=n(17),u=n(74).f,f=n(50).f,l=n(28).f,d=n(83).trim,h=r.Number,p=h,v=h.prototype,g="Number"==i(n(73)(v)),y="trim"in String.prototype,m=function(e){var t=c(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=y?t.trim():d(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,s=t.slice(2),u=0,f=s.length;u<f;u++)if((a=s.charCodeAt(u))<48||a>o)return NaN;return parseInt(s,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?s((function(){v.valueOf.call(n)})):"Number"!=i(n))?a(new p(m(t)),n,h):m(t)};for(var b,w=n(27)?u(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;w.length>k;k++)o(p,b=w[k])&&!o(h,b)&&l(h,b,f(p,b));h.prototype=v,v.constructor=h,n(35)(r,"Number",h)}},function(e,t,n){"use strict";var r=n(0),o=n(49),i=n(216),a=n(163),c=1..toFixed,s=Math.floor,u=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=s(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=s(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)};r(r.P+r.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(17)((function(){c.call({})}))),"Number",{toFixed:function(e){var t,n,r,c,s=i(this,f),u=o(e),v="",g="0";if(u<0||u>20)throw RangeError(f);if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(v="-",s=-s),s>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(s*p(2,69,1))-69)<0?s*p(2,-t,1):s/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(l(0,n),r=u;r>=7;)l(1e7,0),r-=7;for(l(p(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),l(1,1),d(2),g=h()}else l(0,n),l(1<<-t,0),g=h()+a.call("0",u);return u>0?v+((c=g.length)<=u?"0."+a.call("0",u-c)+g:g.slice(0,c-u)+"."+g.slice(c-u)):v+g}})},function(e,t,n){"use strict";var r=n(0),o=n(17),i=n(216),a=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(0),o=n(16).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{isInteger:n(217)})},function(e,t,n){var r=n(0);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(0),o=n(217),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(0),o=n(215);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(0),o=n(214);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(0),o=n(218),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(0),o=n(164);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(0),o=n(165);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(0);r(r.S,"Math",{fround:n(345)})},function(e,t,n){var r=n(164),o=Math.pow,i=o(2,-52),a=o(2,-23),c=o(2,127)*(2-a),s=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),u=r(e);return o<s?u*(o/s/a+1/i-1/i)*s*a:(n=(t=(1+a/i)*o)-(t-o))>c||n!=n?u*(1/0):u*n}},function(e,t,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,c=arguments.length,s=0;a<c;)s<(n=o(arguments[a++]))?(i=i*(r=s/n)*r+1,s=n):i+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(i)}})},function(e,t,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(17)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log1p:n(218)})},function(e,t,n){var r=n(0);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(0);r(r.S,"Math",{sign:n(164)})},function(e,t,n){var r=n(0),o=n(165),i=Math.exp;r(r.S+r.F*n(17)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(0),o=n(165),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(0);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(0),o=n(72),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(0),o=n(41),i=n(23);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},function(e,t,n){"use strict";n(83)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){"use strict";var r=n(166)(!0);n(167)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(0),o=n(166)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(23),i=n(168),a="".endsWith;r(r.P+r.F*n(170)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),c=void 0===n?r:Math.min(o(n),r),s=String(e);return a?a.call(t,s,c):t.slice(c-s.length,c)===s}})},function(e,t,n){"use strict";var r=n(0),o=n(168);r(r.P+r.F*n(170)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(0);r(r.P,"String",{repeat:n(163)})},function(e,t,n){"use strict";var r=n(0),o=n(23),i=n(168),a="".startsWith;r(r.P+r.F*n(170)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(36)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},function(e,t,n){"use strict";n(36)("big",(function(e){return function(){return e(this,"big","","")}}))},function(e,t,n){"use strict";n(36)("blink",(function(e){return function(){return e(this,"blink","","")}}))},function(e,t,n){"use strict";n(36)("bold",(function(e){return function(){return e(this,"b","","")}}))},function(e,t,n){"use strict";n(36)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},function(e,t,n){"use strict";n(36)("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},function(e,t,n){"use strict";n(36)("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},function(e,t,n){"use strict";n(36)("italics",(function(e){return function(){return e(this,"i","","")}}))},function(e,t,n){"use strict";n(36)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";n(36)("small",(function(e){return function(){return e(this,"small","","")}}))},function(e,t,n){"use strict";n(36)("strike",(function(e){return function(){return e(this,"strike","","")}}))},function(e,t,n){"use strict";n(36)("sub",(function(e){return function(){return e(this,"sub","","")}}))},function(e,t,n){"use strict";n(36)("sup",(function(e){return function(){return e(this,"sup","","")}}))},function(e,t,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(0),o=n(30),i=n(61);r(r.P+r.F*n(17)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(0),o=n(380);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(17),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(35)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){var r=n(22)("toPrimitive"),o=Date.prototype;r in o||n(40)(o,r,n(383))},function(e,t,n){"use strict";var r=n(18),o=n(61);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},function(e,t,n){var r=n(0);r(r.S,"Array",{isArray:n(120)})},function(e,t,n){"use strict";var r=n(47),o=n(0),i=n(30),a=n(220),c=n(171),s=n(23),u=n(172),f=n(173);o(o.S+o.F*!n(121)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,l,d=i(e),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,y=0,m=f(d);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),null==m||h==Array&&c(m))for(n=new h(t=s(d.length));t>y;y++)u(n,y,g?v(d[y],y):d[y]);else for(l=m.call(d),n=new h;!(o=l.next()).done;y++)u(n,y,g?a(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t,n){"use strict";var r=n(0),o=n(172);r(r.S+r.F*n(17)((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(0),o=n(41),i=[].join;r(r.P+r.F*(n(104)!=Object||!n(45)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(0),o=n(159),i=n(56),a=n(72),c=n(23),s=[].slice;r(r.P+r.F*n(17)((function(){o&&s.call(o)})),"Array",{slice:function(e,t){var n=c(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return s.call(this,e,t);for(var o=a(e,n),u=a(t,n),f=c(u-o),l=new Array(f),d=0;d<f;d++)l[d]="String"==r?this.charAt(o+d):this[o+d];return l}})},function(e,t,n){"use strict";var r=n(0),o=n(48),i=n(30),a=n(17),c=[].sort,s=[1,2,3];r(r.P+r.F*(a((function(){s.sort(void 0)}))||!a((function(){s.sort(null)}))||!n(45)(c)),"Array",{sort:function(e){return void 0===e?c.call(i(this)):c.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(0),i=n(45)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(19),o=n(120),i=n(22)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(0),o=n(52)(1);r(r.P+r.F*!n(45)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(2);r(r.P+r.F*!n(45)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(3);r(r.P+r.F*!n(45)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(4);r(r.P+r.F*!n(45)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(222);r(r.P+r.F*!n(45)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(0),o=n(222);r(r.P+r.F*!n(45)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(0),o=n(118)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(45)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(41),i=n(49),a=n(23),c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(s||!n(45)(c)),"Array",{lastIndexOf:function(e){if(s)return c.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(0);r(r.P,"Array",{copyWithin:n(223)}),n(76)("copyWithin")},function(e,t,n){var r=n(0);r(r.P,"Array",{fill:n(174)}),n(76)("fill")},function(e,t,n){"use strict";var r=n(0),o=n(52)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(76)("find")},function(e,t,n){"use strict";var r=n(0),o=n(52)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(76)(i)},function(e,t,n){n(85)("Array")},function(e,t,n){var r=n(16),o=n(162),i=n(28).f,a=n(74).f,c=n(169),s=n(122),u=r.RegExp,f=u,l=u.prototype,d=/a/g,h=/a/g,p=new u(d)!==d;if(n(27)&&(!p||n(17)((function(){return h[n(22)("match")]=!1,u(d)!=d||u(h)==h||"/a/i"!=u(d,"i")})))){u=function(e,t){var n=this instanceof u,r=c(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:o(p?new f(r&&!i?e.source:e,t):f((r=e instanceof u)?e.source:e,r&&i?s.call(e):t),n?this:l,u)};for(var v=function(e){e in u||i(u,e,{configurable:!0,get:function(){return f[e]},set:function(t){f[e]=t}})},g=a(f),y=0;g.length>y;)v(g[y++]);l.constructor=u,u.prototype=l,n(35)(r,"RegExp",u)}n(85)("RegExp")},function(e,t,n){"use strict";n(226);var r=n(18),o=n(122),i=n(27),a=/./.toString,c=function(e){n(35)(RegExp.prototype,"toString",e,!0)};n(17)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&c((function(){return a.call(this)}))},function(e,t,n){"use strict";var r=n(18),o=n(23),i=n(177),a=n(123);n(124)("match",1,(function(e,t,n,c){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=c(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this);if(!s.global)return a(s,u);var f=s.unicode;s.lastIndex=0;for(var l,d=[],h=0;null!==(l=a(s,u));){var p=String(l[0]);d[h]=p,""===p&&(s.lastIndex=i(u,o(s.lastIndex),f)),h++}return 0===h?null:d}]}))},function(e,t,n){"use strict";var r=n(18),o=n(30),i=n(23),a=n(49),c=n(177),s=n(123),u=Math.max,f=Math.min,l=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(124)("replace",2,(function(e,t,n,p){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=p(n,e,this,t);if(o.done)return o.value;var l=r(e),d=String(this),h="function"==typeof t;h||(t=String(t));var g=l.global;if(g){var y=l.unicode;l.lastIndex=0}for(var m=[];;){var b=s(l,d);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(l.lastIndex=c(d,i(l.lastIndex),y))}for(var w,k="",S=0,_=0;_<m.length;_++){b=m[_];for(var x=String(b[0]),C=u(f(a(b.index),d.length),0),M=[],I=1;I<b.length;I++)M.push(void 0===(w=b[I])?w:String(w));var E=b.groups;if(h){var T=[x].concat(M,C,d);void 0!==E&&T.push(E);var P=String(t.apply(void 0,T))}else P=v(x,d,C,M,E,t);C>=S&&(k+=d.slice(S,C)+P,S=C+x.length)}return k+d.slice(S)}];function v(e,t,r,i,a,c){var s=r+e.length,u=i.length,f=h;return void 0!==a&&(a=o(a),f=d),n.call(c,f,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":c=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return n;if(f>u){var d=l(f/10);return 0===d?n:d<=u?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):n}c=i[f-1]}return void 0===c?"":c}))}}))},function(e,t,n){"use strict";var r=n(18),o=n(211),i=n(123);n(124)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var c=r(e),s=String(this),u=c.lastIndex;o(u,0)||(c.lastIndex=0);var f=i(c,s);return o(c.lastIndex,u)||(c.lastIndex=u),null===f?-1:f.index}]}))},function(e,t,n){"use strict";var r=n(169),o=n(18),i=n(107),a=n(177),c=n(23),s=n(123),u=n(176),f=n(17),l=Math.min,d=[].push,h="length",p=!f((function(){RegExp(4294967295,"y")}));n(124)("split",2,(function(e,t,n,f){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[h]||2!="ab".split(/(?:ab)*/)[h]||4!=".".split(/(.?)(.?)/)[h]||".".split(/()()/)[h]>1||"".split(/.?/)[h]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,c,s=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,p=void 0===t?4294967295:t>>>0,v=new RegExp(e.source,f+"g");(i=u.call(v,o))&&!((a=v.lastIndex)>l&&(s.push(o.slice(l,i.index)),i[h]>1&&i.index<o[h]&&d.apply(s,i.slice(1)),c=i[0][h],l=a,s[h]>=p));)v.lastIndex===i.index&&v.lastIndex++;return l===o[h]?!c&&v.test("")||s.push(""):s.push(o.slice(l)),s[h]>p?s.slice(0,p):s}:"0".split(void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):v.call(String(o),n,r)},function(e,t){var r=f(v,e,this,t,v!==n);if(r.done)return r.value;var u=o(e),d=String(this),h=i(u,RegExp),g=u.unicode,y=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(p?"y":"g"),m=new h(p?u:"^(?:"+u.source+")",y),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===d.length)return null===s(m,d)?[d]:[];for(var w=0,k=0,S=[];k<d.length;){m.lastIndex=p?k:0;var _,x=s(m,p?d:d.slice(k));if(null===x||(_=l(c(m.lastIndex+(p?0:k)),d.length))===w)k=a(d,k,g);else{if(S.push(d.slice(w,k)),S.length===b)return S;for(var C=1;C<=x.length-1;C++)if(S.push(x[C]),S.length===b)return S;k=w=_}}return S.push(d.slice(w)),S}]}))},function(e,t,n){var r=n(16),o=n(178).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,s="process"==n(56)(a);e.exports=function(){var e,t,n,u=function(){var r,o;for(s&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(u)}}else n=function(){o.call(r,u)};else{var l=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(230),o=n(77);e.exports=n(127)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(230),o=n(77);e.exports=n(127)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(16),i=n(52)(0),a=n(35),c=n(62),s=n(210),u=n(231),f=n(19),l=n(77),d=n(77),h=!o.ActiveXObject&&"ActiveXObject"in o,p=c.getWeak,v=Object.isExtensible,g=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(f(e)){var t=p(e);return!0===t?g(l(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(l(this,"WeakMap"),e,t)}},b=e.exports=n(127)("WeakMap",y,m,u,!0,!0);d&&h&&(s((r=u.getConstructor(y,"WeakMap")).prototype,m),c.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(f(t)&&!v(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},function(e,t,n){"use strict";var r=n(231),o=n(77);n(127)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(0),o=n(128),i=n(179),a=n(18),c=n(72),s=n(23),u=n(19),f=n(16).ArrayBuffer,l=n(107),d=i.ArrayBuffer,h=i.DataView,p=o.ABV&&f.isView,v=d.prototype.slice,g=o.VIEW;r(r.G+r.W+r.F*(f!==d),{ArrayBuffer:d}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(e){return p&&p(e)||u(e)&&g in e}}),r(r.P+r.U+r.F*n(17)((function(){return!new d(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(e,t){if(void 0!==v&&void 0===t)return v.call(a(this),e);for(var n=a(this).byteLength,r=c(e,n),o=c(void 0===t?n:t,n),i=new(l(this,d))(s(o-r)),u=new h(this),f=new h(i),p=0;r<o;)f.setUint8(p++,u.getUint8(r++));return i}}),n(85)("ArrayBuffer")},function(e,t,n){var r=n(0);r(r.G+r.W+r.F*!n(128).ABV,{DataView:n(179).DataView})},function(e,t,n){n(58)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(58)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(0),o=n(48),i=n(18),a=(n(16).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!n(17)((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=o(e),s=i(n);return a?a(r,t,s):c.call(r,t,s)}})},function(e,t,n){var r=n(0),o=n(73),i=n(48),a=n(18),c=n(19),s=n(17),u=n(212),f=(n(16).Reflect||{}).construct,l=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))}));r(r.S+r.F*(l||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!l)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var s=n.prototype,h=o(c(s)?s:Object.prototype),p=Function.apply.call(e,h,t);return c(p)?p:h}})},function(e,t,n){var r=n(28),o=n(0),i=n(18),a=n(61);o(o.S+o.F*n(17)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(50).f,i=n(18);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(0),o=n(18),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(219)(i,"Object",(function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}})),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(50),o=n(75),i=n(39),a=n(0),c=n(19),s=n(18);a(a.S,"Reflect",{get:function e(t,n){var a,u,f=arguments.length<3?t:arguments[2];return s(t)===f?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(f):void 0:c(u=o(t))?e(u,n,f):void 0}})},function(e,t,n){var r=n(50),o=n(0),i=n(18);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(0),o=n(75),i=n(18);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(0),o=n(18),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(233)})},function(e,t,n){var r=n(0),o=n(18),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(28),o=n(50),i=n(75),a=n(39),c=n(0),s=n(68),u=n(18),f=n(19);c(c.S,"Reflect",{set:function e(t,n,c){var l,d,h=arguments.length<4?t:arguments[3],p=o.f(u(t),n);if(!p){if(f(d=i(t)))return e(d,n,c,h);p=s(0)}if(a(p,"value")){if(!1===p.writable||!f(h))return!1;if(l=o.f(h,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=c,r.f(h,n,l)}else r.f(h,n,s(0,c));return!0}return void 0!==p.set&&(p.set.call(h,c),!0)}})},function(e,t,n){var r=n(0),o=n(160);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(443),e.exports=n(25).Array.includes},function(e,t,n){"use strict";var r=n(0),o=n(118)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(76)("includes")},function(e,t,n){n(445),e.exports=n(25).Array.flatMap},function(e,t,n){"use strict";var r=n(0),o=n(446),i=n(30),a=n(23),c=n(48),s=n(221);r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return c(e),t=a(r.length),n=s(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(76)("flatMap")},function(e,t,n){"use strict";var r=n(120),o=n(19),i=n(23),a=n(47),c=n(22)("isConcatSpreadable");e.exports=function e(t,n,s,u,f,l,d,h){for(var p,v,g=f,y=0,m=!!d&&a(d,h,3);y<u;){if(y in s){if(p=m?m(s[y],y,n):s[y],v=!1,o(p)&&(v=void 0!==(v=p[c])?!!v:r(p)),v&&l>0)g=e(t,n,p,i(p.length),g,l-1)-1;else{if(g>=9007199254740991)throw TypeError();t[g]=p}g++}y++}return g}},function(e,t,n){n(448),e.exports=n(25).String.padStart},function(e,t,n){"use strict";var r=n(0),o=n(234),i=n(126),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(450),e.exports=n(25).String.padEnd},function(e,t,n){"use strict";var r=n(0),o=n(234),i=n(126),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(452),e.exports=n(25).String.trimLeft},function(e,t,n){"use strict";n(83)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(454),e.exports=n(25).String.trimRight},function(e,t,n){"use strict";n(83)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t,n){n(456),e.exports=n(156).f("asyncIterator")},function(e,t,n){n(206)("asyncIterator")},function(e,t,n){n(458),e.exports=n(25).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(0),o=n(233),i=n(41),a=n(50),c=n(172);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),s=a.f,u=o(r),f={},l=0;u.length>l;)void 0!==(n=s(r,t=u[l++]))&&c(f,t,n);return f}})},function(e,t,n){n(460),e.exports=n(25).Object.values},function(e,t,n){var r=n(0),o=n(235)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(462),e.exports=n(25).Object.entries},function(e,t,n){var r=n(0),o=n(235)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){"use strict";n(227),n(464),e.exports=n(25).Promise.finally},function(e,t,n){"use strict";var r=n(0),o=n(25),i=n(16),a=n(107),c=n(229);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){n(466),n(467),n(468),e.exports=n(25)},function(e,t,n){var r=n(16),o=n(0),i=n(126),a=[].slice,c=/MSIE .\./.test(i),s=function(e){return function(t,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*c,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},function(e,t,n){var r=n(0),o=n(178);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){for(var r=n(175),o=n(71),i=n(35),a=n(16),c=n(40),s=n(84),u=n(22),f=u("iterator"),l=u("toStringTag"),d=s.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(h),v=0;v<p.length;v++){var g,y=p[v],m=h[y],b=a[y],w=b&&b.prototype;if(w&&(w[f]||c(w,f,d),w[l]||c(w,l,y),s[y]=d,m))for(g in r)w[g]||i(w,g,r[g],!0)}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),c=new C(o||[]);return r(a,"_invoke",{value:k(e,n,c)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function d(){}function h(){}function p(){}var v={};s(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(M([])));y&&y!==t&&n.call(y,i)&&(v=y);var m=p.prototype=d.prototype=Object.create(v);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,c){var s=f(e[o],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,l;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function M(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return h.prototype=p,r(m,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=s(p,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,c,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(m),s(m,c,"Generator"),s(m,i,(function(){return this})),s(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=M,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){n(471),e.exports=n(12).global},function(e,t,n){var r=n(20);r(r.G,{global:n(24)})},function(e,t){String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return"[object regexp]"===Object.prototype.toString.call(e).toLowerCase()?this.replace(e,t):this.replace(new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),t)}),Promise.allSettled||(Promise.allSettled=function(e){return Promise.all(e.map((function(e){return e.then((function(e){return{status:"fulfilled",value:e}})).catch((function(e){return{status:"rejected",reason:e}}))})))}),console.debug||(console.debug=console.log.bind(console))},function(e,t,n){var r=n(474),o=n(7).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[r];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(99).f("toPrimitive")},function(e,t,n){var r=n(12),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){n(186),e.exports=n(12).Object.getOwnPropertySymbols},function(e,t,n){n(478),e.exports=n(12).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(20),o=n(479),i=n(55),a=n(110),c=n(193);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),s=a.f,u=o(r),f={},l=0;u.length>l;)void 0!==(n=s(r,t=u[l++]))&&c(f,t,n);return f}})},function(e,t,n){var r=n(142),o=n(113),i=n(33),a=n(24).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){n(481);var r=n(12).Object;e.exports=function(e,t){return r.defineProperties(e,t)}},function(e,t,n){var r=n(20);r(r.S+r.F*!n(34),"Object",{defineProperties:n(187)})},function(e,t,n){n(483),e.exports=n(12).Object.values},function(e,t,n){var r=n(20),o=n(484)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(34),o=n(78),i=n(55),a=n(94).f;e.exports=function(e){return function(t){for(var n,c=i(t),s=o(c),u=s.length,f=0,l=[];u>f;)n=s[f++],r&&!a.call(c,n)||l.push(e?[n,c[n]]:c[n]);return l}}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(238),o=n(81);e.exports=n(152)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(20);r(r.P+r.R,"Map",{toJSON:n(239)("Map")})},function(e,t,n){var r=n(80);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){n(153)("Map")},function(e,t,n){n(154)("Map")},function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(181),o=n(180),i=n(495);function a(t,n,c){return i()?(e.exports=a=r.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20),o=n(100),i=n(66),a=n(33),c=n(29),s=n(46),u=n(494),f=(n(24).Reflect||{}).construct,l=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))}));r(r.S+r.F*(l||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!l)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var s=n.prototype,h=o(c(s)?s:Object.prototype),p=Function.apply.call(e,h,t);return c(p)?p:h}})},function(e,t,n){"use strict";var r=n(66),o=n(29),i=n(199),a=[].slice,c={},s=function(e,t,n){if(!(t in c)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";c[t]=Function("F,a","return new F("+r.join(",")+")")}return c[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?s(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(c.prototype=t.prototype),c}},function(e,t,n){var r=n(181);e.exports=function(){if("undefined"==typeof Reflect||!r)return!1;if(r.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(r(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(497),e.exports=n(12).parseFloat},function(e,t,n){var r=n(20),o=n(498);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(24).parseFloat,o=n(204).trim;e.exports=1/r(n(150)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){n(79),e.exports=n(99).f("toStringTag")},function(e,t,n){n(79),n(101),n(103),n(501),n(502),n(503),n(504),e.exports=n(12).Set},function(e,t,n){"use strict";var r=n(238),o=n(81);e.exports=n(152)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){var r=n(20);r(r.P+r.R,"Set",{toJSON:n(239)("Set")})},function(e,t,n){n(153)("Set")},function(e,t,n){n(154)("Set")},function(e,t){ServiceJSBridge.on("onGameCanvasTouchEvent",(function(e){var t=e.type;wx.__exeTouchEventCallback(t,e)}))},function(module,exports){if("undefined"==typeof navigator)try{eval("const GeneratorFunction = Object.getPrototypeOf(function *() {}).constructor; const canvas = new GeneratorFunction('', 'console.log(0)'); canvas().__proto__.__proto__.next = () => {};")}catch(e){}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"InvokeAPI",(function(){return Me})),n.d(r,"KeyValueType",(function(){return Ie})),n.d(r,"Speed",(function(){return Ee})),n.d(r,"Slow",(function(){return Te})),n.d(r,"ErrorType",(function(){return Pe})),n.d(r,"LogReport",(function(){return Ae}));var o=n(8),i=n.n(o),a=n(2),c=n.n(a),s=n(240),u=n.n(s),f=n(15),l=n.n(f),d=n(42),h=n.n(d),p=n(88),v=n.n(p),g=n(32),y=n.n(g),m=n(43),b=n.n(m),w=n(44),k=n.n(w),S=n(13),_=n.n(S),x=n(10),C=n.n(x),M=n(53),I=n.n(M),E=n(241),T=n.n(E),P=n(21),A=n.n(P),O=n(1),L=n.n(O),B="web",F=-1!==B.indexOf("Android"),j=window.isAndroidJ2V8,R=-1!==B.indexOf("iPhone")||-1!==B.indexOf("iPad"),D=Boolean(window.isWinSDK),N=window.isIDE,U=window.self!==window.top,W=window.isWebviewGame,V=N||U||D;function G(e){for(var t=(e=e.toString()).split(/[.-]/).filter((function(e){return!ee(Number(e))})),n=["0000","000","00","0",""],r=0;r<t.length;r++){var o=t[r].length;t[r]=n[o]+t[r]}return t.join("")}function q(e,t){return G(e)>=G(t)}function z(e,t){var n,r,o=/(?:[a-zA-Z]+)(\d{8})[vV](\d{2})$/,i=G(e),a=G(t),c=e.match(o),s=t.match(o);if(i===a&&c&&s){var u=c[1],f=Number(c[2]),l=s[1],d=Number(s[2]);return u!==l?(n=u,r=l,new Date("".concat(n.slice(0,4),"-").concat(n.slice(4,6),"-").concat(n.slice(6,8)))>=new Date("".concat(r.slice(0,4),"-").concat(r.slice(4,6),"-").concat(r.slice(6,8)))):f>=d}return i>=a}var H={"[object String]":"String","[object Number]":"Number","[object Boolean]":"Boolean","[object Null]":"Null","[object Undefined]":"Undefined","[object Symbol]":"Symbol","[object BigInt]":"BigInt","[object Object]":"Object","[object Function]":"Function","[object Array]":"Array","[object Date]":"Date","[object RegExp]":"RegExp","[object Error]":"Error"};function K(e){return H[Object.prototype.toString.call(e)]}function J(e,t){return function e(t,n){var r=K(t),o=n?n.get(t):null;if("Object"===r){if(o)return o;for(var i in o={},n&&n.set(t,o),t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=e(t[i],n));return o}if("Array"===r){o=[],n&&n.set(t,o);for(var a=0;a<t.length;a++)o[a]=e(t[a],n);return o}return t}(e,t&&"Undefined"!==K(I.a)?new I.a:null)}function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.__path__;if(!/(https?|file|wdfile|hyfile):/i.test(e)&&!/^\s*data:image/.test(e)){if("/"===e.substring(0,1))return e.startsWith("//")?"https:"+e:e.substr(1);if(0===e.indexOf("./"))return X(e.substr(2),t);var n,r,o=e.split("/");for(n=0,r=o.length;n<r&&".."===o[n];n++);o.splice(0,n);var i=t.length>0?t.split("/"):[];return i.splice(i.length-n-1,n+1),i.concat(o).join("/")}return e}var Y={String:0,NaN:"<NaN>",Infinity:function(e){return e>0?"<Infinity>":"<-Infinity>"},Number:0,Boolean:0,Null:0,Undefined:"<Undefined>",Function:function(e){return""===e.name?"<Function>":"<Function: ".concat(e.name,">")},Date:function(e){return"<Date: ".concat(e.toJSON(),">")},RegExp:function(e){return"<RegExp: ".concat(e.toString(),">")},Error:function(e){return"<".concat(e.name,": ").concat(e.message,">")},Symbol:function(e){return"<Symbol: ".concat(e.toString(),">")},Promise:"<Promise>",Map:function(e){return"<Map: size=".concat(e.size,">")},WeakMap:"<WeakMap>",Set:function(e){return"<Set: size=".concat(e.size,">")},WeakSet:"<WeakSet>",ArrayBuffer:function(e){return"<ArrayBuffer: byteLength=".concat(e.byteLength,">")},DataView:function(e){return"<DataView: byteLength=".concat(e.byteLength,", byteOffset=").concat(e.byteOffset,">")},TypedArray:function(e){return"<".concat(e.constructor&&e.constructor.name?e.constructor.name:"TypedArray",": byteLength=").concat(e.byteLength,", length=").concat(e.length,">")}},$=Object.prototype.toString,Q=Function.prototype.call.bind($);function Z(e){return Q(e).slice(8,-1)}var ee=T.a||function(e){return e!=e},te=A.a||function(e){return"Array"===Z(e)};function ne(e){var t=new I.a,n=0;return function e(r,o){var i,a,c,s=(c=function(e){var t,n,r=Z(e);if("Number"===r){if(ee(e))return"NaN";if("Number"===Z(t=e)&&Math.abs(t)===1/0)return"Infinity"}else if("Object"===r){if(null===e)return"Null"}else if(r.endsWith("Array")&&"Array"!==r&&(n=e,ArrayBuffer.isView(n)&&!function(e){return"DataView"===Z(e)}(n)))return"TypedArray";return r}(a=r))in Y?Y[c]?"function"!=typeof Y[c]?[Y[c],!0]:[Y[c](a),!0]:[a,!0]:[null,!1],u=k()(s,2),f=u[0];return u[1]?f:n>3e3?"<Hidden>":t.has(r)?"<Circular: ".concat(t.get(r),">"):(t.set(r,o),n++,te(r)?r.map((function(t,n){return e(t,"".concat(o,"[").concat(n,"]"))})):(i={},L()(r).forEach((function(t){i[t]=e(r[t],"".concat(o,".").concat(t))})),i))}(e,"@")}var re={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function oe(e,t,n){return ie.apply(this,arguments)}function ie(){return(ie=v()(y.a.mark((function e(t,n,r){var o,i,a,c,s,u;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=n.content,e.prev=1,(i=document.createElement("template")).innerHTML=o,a=0,c=h()(i.content.childNodes),s=c.length,u=y.a.mark((function e(){var n,r;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("SCRIPT"!==(n=c[a]).tagName){e.next=8;break}return(r=document.createElement("script")).innerHTML=n.innerHTML,e.next=6,new b.a((function(e){n.src&&!window.__injectScripts[n.src]?(r.onload=function(t){window.__injectScripts[n.src]=!0,e()},r.setAttribute("charset","utf-8"),r.setAttribute("type","text/javascript"),r.src=n.src):e(),t.appendChild(r)}));case 6:e.next=9;break;case 8:t.appendChild(n);case 9:a++;case 10:case"end":return e.stop()}}),e)}));case 8:if(!(a<s)){e.next=12;break}return e.delegateYield(u(),"t0",10);case 10:e.next=8;break;case 12:"undefined"!=typeof ServiceJSBridge&&setTimeout((function(){ServiceJSBridge.invoke("injectHtmlCallback",{callbackId:r},(function(){}))}),0),e.next=18;break;case 15:e.prev=15,e.t1=e.catch(1),console.log(e.t1);case 18:case"end":return e.stop()}}),e,null,[[1,15]])})))).apply(this,arguments)}(function(){var e=B.toLowerCase(),t=null;return e.indexOf("mac os x")>0&&(t=(e.match(/os [\d._]+/gi)+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."),t=C()(t.split(".")[0])),t})()<=14&&(window.Promise=void 0),n(297),n(472),window.__wxAppData={},window.__wxRoute="",window.__wxRouteBegin=!1,window.__eval=eval,window.__AppCode__={},window.__wxAppCode__=window.__AppCode__,window.global={},window.__injectScripts={},window.injectHtmlPromise=oe,window.injectHtml=function(e,t,n){return oe(e,t,n),n},window.ftConsole={info:function(){},warn:function(){},error:function(){},log:function(){}};var ae=n(4),ce=n.n(ae),se=n(5),ue=n.n(se),fe=n(14),le=n.n(fe),de=function(){function e(){ce()(this,e),this.isIOS=!1,this.callbacks={},this.callbackIndex=0,this.defaultEventHandlers={},this.eventPrefix="custom_event_",this.handlers={},this.IFRAME_PREFIX="hybridjsbrige_",this.isAndroid=F,this.isIOS=R,this.isWinSDK=D,this.isWeb=U,this.sdkSyncEvents=["bindUDPPort","getBatteryInfoSync","getStorageSync","setStorageSync","removeStorageSync","clearStorageSync","getStorageInfoSync","writeSync","writeFileSync","accessSync","appendFileSync","copyFileSync","closeSync","fstatSync","ftruncateSync","mkdirSync","openSync","readdirSync","readFileSync","readSync","renameSync","rmdirSync","saveFileSync","statSync","truncateSync","unlinkSync","drawCanvasSync","getSystemInfoSync","getAccountInfoSync","loadJsFiles","getWindowInfo","getSystemSetting","getDeviceInfo","getAppBaseInfo","getAppAuthorizeSetting","getGlobalVariables","batchSetStorageSync","batchGetStorageSync","loadFontSync","getTextLineHeight"],"undefined"==typeof FinChatJSCore&&(window.FinChatJSCore={invokeHandler:function(){},publishHandler:function(){},webPublishHandler:function(){}})}return ue()(e,[{key:"checkSdkSyncEvents",value:function(e){return this.sdkSyncEvents.some((function(t){return e===t}))}},{key:"pushSdkSyncEvents",value:function(e){this.sdkSyncEvents.push(e)}},{key:"postMessage",value:function(e,t,n){var r={C:e,paramsString:t,callbackId:n,type:"invoke"};if(this.isIOS&&window.webkit)if(this.checkSdkSyncEvents(e)){var o=prompt("invoke",le()(r));if(o&&"function"==typeof this.callbacks[n]){var i;try{i=JSON.parse(o)}catch(e){i={}}this.invokeCallbackHandler(n,i)}}else window.webkit.messageHandlers.invokeHandler.postMessage(r);else if(this.isWinSDK)if(r.command="postMessage",this.checkSdkSyncEvents(e)){var a=prompt("invoke",le()(r));if(a&&"function"==typeof this.callbacks[n]){var c;try{c=JSON.parse(a)}catch(e){c={}}this.invokeCallbackHandler(n,c)}}else window.FinClipExecuteCommandAsync({request:le()(r),persistent:!1,onSuccess:function(){},onFailure:function(){}});else if(this.isWeb){var s=parent.window&&parent.window.FinChatJSCore;if(s){r.from="service";var u=s.invokeHandler(r);u&&this.invokeCallbackHandler(n,u)}}else{var f=FinChatJSCore.invokeHandler(e,t,n);if("string"==typeof f)try{f=JSON.parse(f)}catch(e){f={}}if(f){if(window.isIDE&&["request","downloadFile","uploadFile","createSocketTask","closeSocket","sendSocketMessage"].includes(e))return;this.invokeCallbackHandler(n,f)}}}},{key:"createIframe",value:function(e,t){var n=document.createElement("iframe"),r=this.IFRAME_PREFIX+t;n.style.display="none",n.setAttribute("id",r),n.setAttribute("frameborder","0"),n.setAttribute("src",e),document.documentElement.appendChild(n)}},{key:"retrieveIframe",value:function(e){if("undefined"!=typeof document&&window.webkit){var t=this.IFRAME_PREFIX+e,n=document.querySelector("#"+t);n&&document.documentElement.removeChild(n)}}},{key:"publishHandler",value:function(e,t,n){if(this.isIOS&&window.webkit)window.webkit.messageHandlers.publishHandler.postMessage({event:e,paramsString:t,webviewIds:n});else if(this.isWinSDK){var r={event:e,paramsString:t,webviewIds:n,type:"publish",command:"publish"};window.FinClipExecuteCommandAsync({request:le()(r),persistent:!1,onSuccess:function(){},onFailure:function(){}})}else if(this.isWeb){var o=parent.window&&parent.window.FinChatJSCore;o&&o.publishHandler({event:e,paramsString:t,webviewIds:n,from:"service"})}else FinChatJSCore.publishHandler(e,t||"",n||null)}},{key:"webpublishpublishHandler",value:function(e,t,n){if(this.isIOS&&window.webkit)window.webkit.messageHandlers.webPublishHandler.postMessage({event:e,paramsString:t,webviewIds:n});else if(this.isWinSDK){var r={event:e,paramsString:t,webviewIds:n,type:"webpublish",command:"webpublish"};window.FinClipExecuteCommandAsync({request:le()(r),persistent:!1,onSuccess:function(){},onFailure:function(){}})}else if(this.isWeb){var o=parent.window&&parent.window.FinChatJSCore;o&&o.webPublishHandler({event:e,paramsString:t,webviewIds:n,from:"service"})}else FinChatJSCore.webPublishHandler(e,t||"",n||null)}},{key:"invoke",value:function(e,t,n){var r=t||{},o=++this.callbackIndex;this.callbacks[o]=n,this.postMessage(e,r,o)}},{key:"invokeV2",value:function(e,t,n){var r,o=++this.callbackIndex;this.callbacks[o]=n,r=this.isIOS&&!window.webkit?t:le()(t||{}),this.postMessage(e,r,o)}},{key:"invokeCallbackHandler",value:function(e,t){var n=this.callbacks[e];"function"==typeof n&&n(t),delete this.callbacks[e],this.isIOS&&this.retrieveIframe(e)}},{key:"oldCallbackHandler",value:function(e){if(e){"string"==typeof e&&(e=this.parseData(e));var t=e.bridgeParam.callbackID;if(t){var n=this;setTimeout((function(){n.invokeCallbackHandler(t,e.param)}),1)}}}},{key:"publishCallbackHandler",value:function(e){this.isIOS&&this.retrieveIframe(e)}},{key:"on",value:function(e,t){this.defaultEventHandlers[e]=t}},{key:"publish",value:function(e,t,n){"serviceStart"===e&&(window.__wxConfig?window.__wxLibrary&&("function"==typeof window.__wxLibrary.onEnd&&window.__wxLibrary.onEnd(),window.__wxLibrary=void 0):window.__wxConfig=__wxConfig__),n=n||[];var r=this.eventPrefix+e,o=t;this.publishHandler(r,o,n)}},{key:"webpublish",value:function(e,t,n){n=n||[];var r=this.eventPrefix+e,o=t;this.webpublishpublishHandler(r,o,n)}},{key:"subscribe",value:function(e,t){this.handlers[this.eventPrefix+e]=t}},{key:"subscribeHandler",value:function(e,t,n,r){var o=-1!==e.indexOf(this.eventPrefix)?this.handlers[e]:this.defaultEventHandlers[e];if("function"==typeof o)return o(t,n,r)}},{key:"parseData",value:function(e){var t;if(e&&"string"==typeof e)try{t=JSON.parse(e)}catch(e){t={status:{code:1,msg:"PARAM_PARSE_ERROR"}}}else t=e||{};return t}}]),e}();window.ServiceJSBridge=new de;var he,pe,ve,ge=n(7),ye=n.n(ge),me=n(11),be=n.n(me),we=n(3),ke=n.n(we),Se=n(6),_e=n.n(Se),xe=n(9),Ce=n.n(xe),Me={login:1,login_cancel:2,login_fail:3,request_fail:4,connectSocket_fail:5,closeSocket_fail:6,sendSocketMessage_fail:7,uploadFile_fail:8,downloadFile_fail:9,redirectTo_fail:10,navigateTo_fail:11,navigateBack_fail:12,appServiceSDKScriptError:13,webviewSDKScriptError:14,jsEnginScriptError:15,thirdScriptError:16,webviewScriptError:17,ftparserScriptError:18,startRecord:19,startRecord_fail:20,getLocation:21,getLocation_fail:22,chooseLocation:23,chooseLocation_fail:24,openAddress:25,openAddress_fail:26,openLocation:27,openLocation_fail:28,makePhoneCall:29,makePhoneCall_fail:30,operateWXData:31,operateWXData_fail:32,checkLogin:33,checkLogin_fail:34,refreshSession:35,refreshSession_fail:36,chooseVideo:37,chooseVideo_fail:38,chooseImage:39,chooseImage_fail:40,verifyPaymentPassword:41,verifyPaymentPassword_fail:42,requestPayment:43,requestPayment_fail:44,bindPaymentCard:45,bindPaymentCard_fail:46,requestPaymentToBank:47,requestPaymentToBank_fail:48,openDocument:49,openDocument_fail:50,chooseContact:51,chooseContact_fail:52,operateMusicPlayer:53,operateMusicPlayer_fail:54,getMusicPlayerState_fail:55,playVoice_fail:56,setNavigationBarTitle_fail:57,switchTab_fail:58,getImageInfo_fail:59,enableCompass_fail:60,enableAccelerometer_fail:61,getStorage_fail:62,setStorage_fail:63,clearStorage_fail:64,removeStorage_fail:65,getStorageInfo_fail:66,getStorageSync_fail:67,setStorageSync_fail:68,addCard_fail:69,openCard_fail:70},Ie={Speed:"13544",Error:"13582",Slow:"13968"},Ee={webview2AppService:1,appService2Webview:2,funcReady:3,firstGetData:4,firstRenderTime:5,reRenderTime:6,forceUpdateRenderTime:7,appRoute2newPage:8,newPage2pageReady:9,thirdScriptRunTime:10,pageframe:11,WAWebview:12},Te={apiCallback:1,pageInvoke:2},Pe={appServiceSDKScriptError:1,webviewSDKScriptError:2,jsEnginScriptError:3,thirdScriptError:4,webviewScriptError:5,ftparserScriptError:6,appServiceScriptError:7},Ae={background:1,foreground:2,launch:3,enterPage:4,leavePage:5,pageReady:6,pullDownRefresh:7};function Oe(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Oe(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}function Be(){var e=arguments;!function(e){void 0!==he?e():document.addEventListener(pe+"JSBridgeReady",e,!1)}((function(){he.invoke.apply(he,e)}))}function Fe(){De&&De.length>0&&(Be("systemLog",{dataArray:De}),De=[])}function je(e){Xe.__defineGetter__(e,(function(){return t=Je[e],function(){try{return t.apply(t,arguments)}catch(e){console.error("reporter error:"+e.message)}};var t}))}"undefined"!=typeof ServiceJSBridge?(he=window.ServiceJSBridge,pe="Service",ve="H5_JS_SERVICE_ERR"):"undefined"!=typeof FinChatJSBridge&&(he=window.FinChatJSBridge,pe="FinChat",ve="H5_JS_VIEW_ERR");var Re=[],De=[],Ne=0,Ue=0,We=0,Ve={},Ge={},qe=function(){},ze=function(){},He=function(){},Ke=function(){},Je={surroundThirdByTryCatch:function(e,t){return function(){var n;try{var r=_()();n=e.apply(e,arguments);var o=_()()-r;o>1e3&&Je.slowReport({key:"apiCallback",cost:o,extend:t})}catch(e){Je.thirdErrorReport({error:e,extend:t})}return n}},slowReport:function(e){var t=e.key,n=e.cost,r=e.extend,o=e.force,i=Te[t],a=_()(),c=i&&(o||a-We>=500);if(c&&(L()(Ge).length>50?c=!1:(Ge[r]||(Ge[r]=0),Ge[r]++,c=Ge[r]<=3)),c){We=a;var s=n+","+encodeURIComponent(r)+","+i;Je.reportKeyValue({key:"Slow",value:s,force:!0,valuetype:t,cost:n})}},speedReport:function(e){var t=e.key,n=e.data,r=e.timeMark,o=e.force,i=Ee[t],a=_()(),c=0,s=r.nativeTime,u=i;if(u&&(u=(o||a-(Ve[i]||0)>=500)&&r.startTime&&r.endTime&&(1!==i&&2!==i||s)),u){n&&(c=le()(n).length),Ve[i]=a;var f="".concat(i,",").concat(r.startTime,",").concat(s,",").concat(s,",,").concat(r.endTime,",").concat(c);Je.reportKeyValue({key:"Speed",value:f,force:!0,valuetype:t,payload:{startTime:r.startTime,endTime:r.endTime,nativeTime:s}})}},reportKeyValue:function(e){var t=e.key,n=e.value,o=e.cost,i=e.payload||{},a=e.valuetype;Ie[t]&&Be("reportApmMonitor",{eventType:t,eventName:a,timestamp:(new Date).getTime(),payload:Le({key:r[t][a],value:n,cost:o},i)})},reportIDKey:function(e){var t=e.key;Me[t]&&Be("reportApmMonitor",{eventType:"InvokeAPI",eventName:t,timestamp:(new Date).getTime(),payload:{platform:R?"IOS":"Android",key:Me[t]}})},thirdErrorReport:function(e){var t=e.error,n=e.extend;console.error(t),Je.errorReport({key:"thirdScriptError",error:t,extend:n,isUnhandledRejection:!!e.promise,promise:e.promise,isThirdScriptError:!0})},errorReport:function(e){var t={},n=e.error||{},r=e.extend,o=e.isUnhandledRejection||!1,i=e.promise||{},a=e.key,c=e.isThirdScriptError||!1;t.msg=r?n.message+";"+r:n.message,t.stack=n.stack,Pe[a]?t.key=a:t.key="unknowErr",Be("reportApmMonitor",{eventType:"ErrorType",eventName:a,timestamp:(new Date).getTime(),payload:{event_desc:le()(t),key:Pe[e.key],layer:ve}});var s=c?"MiniProgramError":"SystemError (".concat(a,")"),u="",f="";if("object"===ye()(n)&&(n.message||n.stack))u=n.message,f=n.stack;else{try{u=le()(n)}catch(e){u=""}f=Object.prototype.toString.call(n).slice(8,-1)}var l=u,d="";n.name&&0!==f.indexOf(n.name)&&(d="\n"+n.name+": "+l);var h="".concat(s,"\n").concat(l).concat(d,"\n").concat(f);c?Je.triggerThirdErrorMessage(h,o,n,i):Je.triggerErrorMessage(h,o,n,i)},log:function(e,t){e&&"string"==typeof e&&(t||_()()-Ne>=50)&&(Ne=_()(),De.push(e+""),De.length>=50&&Fe())},submit:function(){_()()-Ue>=50&&(Ue=_()(),Re&&Re.length>0&&(Be("reportKeyValue",{dataArray:Re}),Re=[]),Fe())},registerErrorListener:function(e){"function"==typeof e&&(qe=e)},unRegisterErrorListener:function(){qe=function(){}},triggerErrorMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;void 0!==t?setTimeout((function(){try{t?He(n,r):qe(e)}catch(e){console.error(e.message,"at onError callback function")}}),0):qe(e)},getAppType:function(){return 0},triggerThirdErrorMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;setTimeout((function(){try{t?Ke(n,r):ze(e)}catch(e){console.error(e.message,"at onError callback function")}}),0)},registerThirdErrorListener:function(e){"function"==typeof e&&(ze=e)},registerUnhandledRejectionListener:function(e){"function"==typeof e&&(He=e)},registerThirdUnhandledRejectionListener:function(e){"function"==typeof e&&(Ke=e)}},Xe={};for(var Ye in Je)je(Ye);"undefined"!=typeof window&&(window.onbeforeunload=function(){Je.submit()}),window.Reporter=Xe;var $e=/[ (@]*https?:\/\/([^/]*)\/+(.*?):(\d+):(\d+)/,Qe=[];function Ze(e){if(!e||e.__originalStack__)return!1;var t=e.stack;if(void 0===t)return!1;for(var n=t,r=Qe.length-1,o=0;o>=0&&r>=0;){var i=n.length,a=0;for(var c in et)if(et[c]){var s=n.indexOf(et[c],o);s<0||i<=s||(i=s,a=et[c].length)}if(i>=n.length)break;var u="at <".concat(Qe[r--].description,">");n=n.slice(0,i)+u+n.slice(i+a),o=i+u.length}return Ce()(e,{__originalStack__:{value:t,writable:!0,configurable:!0},stack:{value:n,writable:!0,enumerable:!0,configurable:!0}}),!0}var et={wrapSystemFunction:null,wrapMiniProgramOrPluginFunction:null};function tt(e){var t=((new Error).stack||"").match(/.+/gm),n="",r=0;t&&t.forEach((function(e){if($e.test(e)&&2===(r+=1)){var t=e.match(/^(\s*)at /),o=t?t[1].length:0;return n=e.slice(o),!1}return!0})),et[e]=n}function nt(){for(var e="",t=Qe.length-1;t>=0;t--)Qe[t].pluginAppId&&(e=Qe[t].pluginAppId);return e}function rt(e,t,n,r,o){var i,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];null===et.wrapSystemFunction&&(et.wrapSystemFunction="",ot("","",tt)("wrapSystemFunction")),Qe.push({description:t});try{i=n.apply(r,o)}catch(t){if(Ze(t)){if("AppServiceSdkKnownError"===t.type)throw Qe.pop(),t;if("ThirdScriptError"===t.type){var c=nt();Reporter.thirdErrorReport({error:t,source:c,triggerErrorCallback:!a})}else Reporter.errorReport({key:e,error:t,triggerErrorCallback:!a})}if(a)throw Qe.pop(),t}return Qe.pop(),i}function ot(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return rt(e,t,n,this,i,r)}}function it(e,t,n,r,o){var i,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];null===et.wrapMiniProgramOrPluginFunction&&(et.wrapMiniProgramOrPluginFunction="",at("","",tt)("wrapMiniProgramOrPluginFunction")),Qe.push({description:t,pluginAppId:e});try{i=n.apply(r,o)}catch(t){if(Ze(t)&&Reporter.thirdErrorReport({error:t,source:e||"",triggerErrorCallback:!a}),a)throw Qe.pop(),t}return Qe.pop(),i}function at(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return it(e,t,n,this,i,r)}}var ct={callSystemFunction:rt,wrapSystemFunction:ot,callMiniProgramOrPluginFunction:it,callThirdPartyFunction:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return it(nt(),e,t,n,r,o)},wrapMiniProgramOrPluginFunction:at,wrapThirdPartyFunction:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return it(nt(),e,t,this,o,n)}},surroundThirdByTryCatch:function(e,t){var n=(t||"").match(/^\s*(?:at )?([\s\S]*)$/),r=n?n[1]:"",o=e||function(){};return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return it(nt(),r,o,o,t,!1)}}};window.__errorTracer__=ct,window.__wxLibrary={envType:void 0,contextType:"App:SubContext",execStart:_()()};var st=function(){function e(){ce()(this,e),this.listeners={}}return ue()(e,[{key:"emit",value:function(e,t){if(this.listeners[e]&&this.listeners[e].length>0){var n=!1;return this.listeners[e].forEach((function(e){0!==e.count&&e.cb(t),e.count>0&&e.count--,0===e.count&&(n=!0)})),n&&(this.listeners[e]=this.listeners[e].filter((function(e){return 0!==e.count}))),!0}return!1}},{key:"many",value:function(e,t,n){if(!t)return this;var r={count:n,cb:t};return this.listeners[e]?this.listeners[e].push(r):this.listeners[e]=[r],this}},{key:"on",value:function(e,t){this.many(e,t,-1)}},{key:"once",value:function(e,t){this.many(e,t,1)}},{key:"off",value:function(e,t){for(var n=0;n<this.listeners[e].length;n++){var r=this.listeners[e][n];if(r.cb===t)return void(r.count=0)}}}]),e}(),ut=window.__wxConfig||{},ft=__wxLibrary.envType,lt=__wxLibrary.contextType,dt="Service"===ft,ht="WebView"===ft,pt="Worker"===ft,vt="Widget"===ft,gt=ht||dt&&0===lt.indexOf("App:"),yt=dt&&0===lt.indexOf("Game:"),mt=pt&&"function"==typeof window.workerInvokeJsApi,bt=!!ut.isIsolateContext,wt=dt&&bt&&(lt.indexOf("Uncertain")>=0||lt.indexOf("MainContext"))>=0,kt=dt&<.indexOf("SubContext")>=0,St=wt||kt,_t=ht||wt,xt="wxlib"===ut.workerContentType,Ct={platform:function(){var e=ut.platform;if(!e&&ht){var t=window.navigator.userAgent.toLowerCase();t.indexOf("devtools")>=0?e="devtools":t.indexOf("miniprogramenv/windows")>=0?e="windows":t.indexOf("miniprogramenv/mac")>=0?e="mac":t.indexOf("miniprogramenv/mina")>=0?e="mina":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?e="ios":t.indexOf("android")>=0&&(e="android")}return"devtools".toLowerCase()}(),SDKVersion:"",isIsolateContext:St,isGame:yt,isApp:gt,isMainContext:wt,isSubContext:kt,isSafeEnv:_t,isService:dt,isWebView:ht,isWorker:pt,isWidget:vt,isSupportWorkerAPI:mt,typeStr:ft,isWXLibWorker:xt},Mt=new st,It={};function Et(e,t){e in It?t(It[e]):Pt.once("lifeCycle:"+e,t)}function Tt(e,t){var n=e in It;return n||(It[e]=t,n=Pt.emit("lifeCycle:"+e,t)),n}var Pt={EventEmitter:st,on:Mt.on.bind(Mt),emit:Mt.emit.bind(Mt),once:Mt.once.bind(Mt),onConfigReady:Et.bind(null,"configReady"),emitConfigReady:Tt.bind(null,"configReady"),get isConfigReady(){return"configReady"in It},onLibraryReady:Et.bind(null,"libraryReady"),emitLibraryReady:Tt.bind(null,"libraryReady"),get isLibraryReady(){return"libraryReady"in It},onBridgeReady:function(e){"undefined"!=typeof WeixinJSBridge?e():"object"===("undefined"==typeof document?"undefined":ye()(document))&&document.addEventListener("WeixinJSBridgeReady",e,!1)},env:Ct,global:window};window.__wxLibrary.onEnd=function(e){e||console.warn("建议将编译器版本调整大于等于 1.1.15。升级后渲染将有更好性能。"),Pt.emitLibraryReady({})},window.Foundation=Pt;var At=n(242),Ot=n.n(At),Lt=JSON.parse,Bt=le.a,Ft=Foundation.env.isSubContext,jt=Foundation.env.isSafeEnv,Rt={},Dt=["env","appLaunchInfo","ext","wxAppInfo","debug","entryPagePath","envVersion","tabBar","pages","page","accountInfo","global","platform","system","appType","networkTimeout","navigateToMiniProgramAppIdList","plugins","extAppid","host","prerender"],Nt=window;function Ut(e){return Lt(Bt(e))}var Wt=!0===(window.__wxConfig=void 0!==Nt.__wxConfig?jt?l()({},Nt.__wxConfig):Ut(Nt.__wxConfig):{}).preload,Vt=!1,Gt=!1,qt=[],zt=[],Ht=[],Kt=Foundation.env.typeStr;function Jt(e,t){try{_()(),e(t),_()()}catch(e){"object"===("undefined"==typeof Reporter?"undefined":ye()(Reporter))&&"function"==typeof Reporter.errorReport&&Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:"at wxConfig.onReady callback"})}}Foundation.env.isSubContext&&(Kt="SubContext");var Xt=function(e){Ht.push(e)},Yt=function(e,t){Vt?void 0!==__wxConfig&&(t?Gt?Jt(e,__wxConfig):zt.push(e):Jt(e,__wxConfig)):"function"==typeof e&&(t?zt.push(e):qt.push(e))},$t=function(e){e.tabBar&&e.tabBar.list&&e.tabBar.list.forEach((function(e){delete e.iconData,delete e.selectedIconData})),delete e.permission;var t=e.subPackages||e.subpackages;return t&&t.length>0&&(t.forEach((function(e){delete e.pages})),e.subPackages=e.subpackages=t),Vt&&(delete __wxConfig.usingComponents,Ot()(__wxConfig.page||{}).forEach((function(e){e&&e.window&&delete e.window.usingComponents})),__wxConfig._preloadRule=__wxConfig.preloadRule||{},__wxConfig._page=__wxConfig__.page||{},delete __wxConfig.preloadRule,delete __wxConfig.page,__wxConfig.updatePage=function(e,t){t&&t.window&&(delete t.window.usingComponents,delete t.window.pages),__wxConfig.page=__wxConfig.page||{},__wxConfig.page[e]=__wxConfig.page[e+".html"]=t,Rt[e+".html"]=Ut(t)},__wxConfig.updatePreloadRule=function(e,t){__wxConfig.preloadRule=__wxConfig.preloadRule||{},__wxConfig.preloadRule[e]=t},Nt.__wxConfig.page=Nt.__wxConfig.page||{},__wxConfig.page=__wxConfig.page||{},Nt.__wxConfig.isLazyLoad=__wxConfig__.isLazyLoad,__wxConfig.isLazyLoad=__wxConfig__.isLazyLoad),e},Qt=function(e){return e.onReady=Yt,e.beforeReady=Xt,Ft||(e.preload=Wt),e.isReady=Vt,e.isSubContext=Ft,e.envTag=Kt,e.isSafeContext=jt,e.sdkVersion=e.SDKVersion=Foundation.env.SDKVersion,e.twoPhaseInject=!0,e.platform=Foundation.env.platform,e.brand||"ios"!==e.platform||(e.brand="iPhone"),"number"==typeof e.pixelRatio?e.devicePixelRatio=e.pixelRatio:"number"==typeof e.devicePixelRatio&&(e.pixelRatio=e.devicePixelRatio),e};window.__wxConfig=Qt(window.__wxConfig),window.__wxConfig=$t(window.__wxConfig),Foundation.onConfigReady((function(){!function(){if(void 0!==Nt.__wxConfig&&!Vt){var e=function(){if(__wxConfig.onReadyStart=_()(),qt.forEach((function(e){Jt(e,__wxConfig)})),Gt=!0,zt.forEach((function(e){Jt(e,__wxConfig)})),__wxConfig.onReadyEnd=_()(),qt=[],jt)l()(__wxConfig,{global:__wxConfig__});else{var e=Nt.__wxConfig__,t=Nt.__wxConfig,n=Ut(e);!function(e){e.window&&e.window.pages?(delete e.window.pages,e.tabBar?e.tabBar.list.forEach((function(e){e.pagePath.endsWith(".html")||(e.pagePath+=".html")})):e.tabBar={list:[]}):e.appType=4}(n);var r={};Rt={};try{Dt.forEach((function(o){switch(o){case"page":r[o]=Rt;break;case"env":r[o]={USER_DATA_PATH:window.wx.env.USER_DATA_PATH};break;case"envVersion":case"extAppid":r[o]="";break;case"accountInfo":r[o]={appId:"",icon:"",nickname:""};break;case"appLaunchInfo":r[o]=wx&&"function"==typeof wx.getLaunchOptionsSync?wx.getLaunchOptionsSync():{};break;case"entryPagePath":r[o]=e[o]||e.pages[0]+".html";break;case"ext":r[o]={};break;case"global":r[o]={window:n.window};break;case"tabBar":r[o]=n[o];break;case"plugins":case"pages":o in e&&(r[o]=e[o]);break;default:o in t&&(r[o]=t[o])}})),Nt.__wxConfig=l()({},__wxConfig__,r),Nt.__wxConfig.subpackages?Nt.__wxConfig.subPackages=Nt.__wxConfig.subpackages:Nt.__wxConfig.subPackages&&(Nt.__wxConfig.subpackages=Nt.__wxConfig.subPackages)}catch(t){Nt.__wxConfig=e}}};if(Vt=!0,l()(__wxConfig,jt?Nt.__wxConfig:Ut(Nt.__wxConfig)),__wxConfig=Qt(__wxConfig),__wxConfig=$t(__wxConfig),!Ht.length)return e();var t=!1;setTimeout((function(){t||(console.warn("beforeReady timeout"),t=!0,e())}),3e3),Ht.forEach((function(e){try{e()}catch(e){console.warn("beforeReady error",e)}})),t||(t=!0,e()),Ht=[]}}()})),Foundation.onLibraryReady((function(){Foundation.emitConfigReady(window.__wxConfig)}));var Zt=n(89),en=n.n(Zt),tn=n(63),nn=n.n(tn),rn=n(129),on=n.n(rn);function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cn(e){e?(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),this._maxListeners=void 0!==e.maxListeners?e.maxListeners:20,e.newListener&&(this._newListener=e.newListener),e.removeListener&&(this._removeListener=e.removeListener)):this._maxListeners=20}function sn(){this._events={},this._conf&&cn.call(this,this._conf)}function un(e,t){console.warn("[Event] ".concat(e," listeners of event ").concat(t," have been added, possibly causing memory leak."))}var fn=A.a?A.a:function(e){return"[object Array]"===Object.prototype.toString.call(e)};function ln(e){this._events={},this._newListener=!1,this._removeListener=!1,cn.call(this,e)}ln.prototype.delimiter=".",ln.prototype.setMaxListeners=function(e){void 0!==e&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},ln.prototype.event="",ln.prototype.once=function(e,t){return this._once(e,t,!1)},ln.prototype.prependOnceListener=function(e,t){return this._once(e,t,!0)},ln.prototype._once=function(e,t,n){return this._many(e,1,t,n),this},ln.prototype.many=function(e,t,n){return this._many(e,t,n,!1)},ln.prototype.prependMany=function(e,t,n){return this._many(e,t,n,!0)},ln.prototype._many=function(e,t,n,r){var o=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");function i(){return 0==--t&&o.off(e,i),n.apply(this,arguments)}return i._origin=n,this._on(e,i,r),o},ln.prototype.emit=function(e){if(this._events||sn.call(this),"newListener"===e&&!this._newListener&&!this._events.newListener)return!1;for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r.slice(1);if(this._all&&this._all.length){t=this._all.slice();for(var a=0;a<t.length;a++)switch(this.event=e,n){case 1:t[a].call(this,e);break;case 2:t[a].call(this,e,arguments[1]);break;case 3:t[a].call(this,e,arguments[1],arguments[2]);break;default:t[a].apply(this,r)}}if("function"==typeof(t=this._events[e])){switch(this.event=e,n){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:t.apply(this,i)}return!0}if(t&&(t=t.slice()),t&&t.length){for(var c=0;c<t.length;c++)switch(this.event=e,n){case 1:t[c].call(this);break;case 2:t[c].call(this,arguments[1]);break;case 3:t[c].call(this,arguments[1],arguments[2]);break;default:t[c].apply(this,i)}return!0}if(!this._all&&"error"===e)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},ln.prototype.emitAsync=function(e){if(this._events||sn.call(this),"newListener"===e&&!this._newListener&&!this._events.newListener)return b.a.resolve([!1]);for(var t,n=[],r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.slice(1);if(this._all)for(var c=0;c<this._all.length;c++)switch(this.event=e,r){case 1:n.push(this._all[c].call(this,e));break;case 2:n.push(this._all[c].call(this,e,arguments[1]));break;case 3:n.push(this._all[c].call(this,e,arguments[1],arguments[2]));break;default:n.push(this._all[c].apply(this,o))}if("function"==typeof(t=this._events[e]))switch(this.event=e,r){case 1:n.push(t.call(this));break;case 2:n.push(t.call(this,arguments[1]));break;case 3:n.push(t.call(this,arguments[1],arguments[2]));break;default:n.push(t.apply(this,a))}else if(t&&t.length){t=t.slice();for(var s=0;s<t.length;s++)switch(this.event=e,r){case 1:n.push(t[s].call(this));break;case 2:n.push(t[s].call(this,arguments[1]));break;case 3:n.push(t[s].call(this,arguments[1],arguments[2]));break;default:n.push(t[s].apply(this,a))}}else if(!this._all&&"error"===e)return arguments[1]instanceof Error?b.a.reject(arguments[1]):b.a.reject(new Error("Uncaught, unspecified 'error' event."));return b.a.all(n)},ln.prototype.on=function(e,t){return this._on(e,t,!1)},ln.prototype.prependListener=function(e,t){return this._on(e,t,!0)},ln.prototype.onAny=function(e){return this._onAny(e,!1)},ln.prototype.prependAny=function(e){return this._onAny(e,!0)},ln.prototype.addListener=ln.prototype.on,ln.prototype._onAny=function(e,t){if("function"!=typeof e)throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t?this._all.unshift(e):this._all.push(e),this},ln.prototype._on=function(e,t,n){if("function"==typeof e)return this._onAny(e,t),this;if("function"!=typeof t)throw new Error("on only accepts instances of Function");return this._events||sn.call(this),this._newListener&&this.emit("newListener",e,t),this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),n?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&this._maxListeners>0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,un.call(this,this._events[e].length,e))):this._events[e]=t,this},ln.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,r=[];if(!this._events[e])return this;n=this._events[e],r.push({_listeners:n});for(var o=0;o<r.length;o++){if(n=r[o]._listeners,fn(n)){for(var i=-1,a=0,c=n.length;a<c;a++)if(n[a]===t||n[a].listener&&n[a].listener===t||n[a]._origin&&n[a]._origin===t){i=a;break}if(i<0)continue;return this._events[e].splice(i,1),0===n.length&&delete this._events[e],this._removeListener&&this.emit("removeListener",e,t),this}(n===t||n.listener&&n.listener===t||n._origin&&n._origin===t)&&(delete this._events[e],this._removeListener&&this.emit("removeListener",e,t))}return function e(t){if(void 0!==t){var n=L()(t);for(var r in n){var o=n[r],i=t[o];i instanceof Function||"object"!==ye()(i)||null===i||(L()(i).length>0&&e(t[o]),0===L()(i).length&&delete t[o])}}}(this.listenerTree),this},ln.prototype.offAny=function(e){var t=this._all,n=this._all.length;if(e&&this._all&&this._all.length>0){for(var r=0;r<n;r++)if(e===t[r])return t.splice(r,1),this._removeListener&&this.emit("removeListenerAny",e),this}else{if(this._removeListener)for(var o=0;o<n;o++)this.emit("removeListenerAny",t[o]);this._all=[]}return this},ln.prototype.removeListener=ln.prototype.off,ln.prototype.removeAllListeners=function(e){return void 0===e?!this._events||sn.call(this):this._events&&delete this._events[e],this},ln.prototype.listeners=function(e){return this._events||sn.call(this),this._events[e]||(this._events[e]=[]),fn(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},ln.prototype.eventNames=function(){return L()(this._events)},ln.prototype.listenerCount=function(e){return this.listeners(e).length},ln.prototype.listenersAny=function(){return this._all?this._all:[]};var dn=ln,hn=new ln({maxListeners:20,newListener:!1}),pn=new ln({maxListeners:20,newListener:!1}),vn={};function gn(e){if(e=e[0].toUpperCase()+e.slice(1),!vn[e]){var t=new I.a;vn[e]={getGlobalListeners:function(){return hn.listeners(e)},getInternalListeners:function(){return pn.listeners(e)},emit:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];pn.emit.apply(pn,[e].concat(n)),hn.emit.apply(hn,[e].concat(n))},emitGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];hn.emit.apply(hn,[e].concat(n))},emitInternal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];pn.emit.apply(pn,[e].concat(n))},internalOnMethod:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"function"==typeof t&&(n.prepend?n.once?pn.prependOnceListener(e,t):pn.prependListener(e,t):n.once?pn.once(e,t):pn.on(e,t))},internalOffMethod:function(t){"function"==typeof t&&pn.off(e,t)},onMethod:function(n){var r,o,i=(r=e,"function"!=typeof(o=n)?(console.error("on".concat(r," should accept a function instead of ").concat(ye()(o))),null):__errorTracer__.surroundThirdByTryCatch(o,"at api on".concat(r," callback function")));if(i){if(t.has(n)){var a=t.get(n);a.push(i),t.set(n,a)}else t.set(n,[i]);hn.on(e,i)}},offMethod:function(n){var r,o;r=e,(o=n)&&"function"!=typeof o&&(console.error("off".concat(r," should accept a function instead of ").concat(ye()(o))),1)||(n?t.has(n)&&(t.get(n).forEach((function(t){return hn.off(e,t)})),t.delete(n)):(t=new I.a,hn.removeAllListeners(e)))}}}return vn[e]}var yn,mn,bn=function(){function e(){ce()(this,e),this.listener={},this.emitCache={}}return ue()(e,[{key:"emit",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(!this.listener[e])return this.emitCache[e]||(this.emitCache[e]=[]),void this.emitCache[e].push(r);(function(){var n,o=function(e,t){var n=void 0!==nn.a&&e[on.a]||e["@@iterator"];if(!n){if(A()(e)||(n=function(e,t){if(e){if("string"==typeof e)return an(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?en()(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?an(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(t.listener[e]);try{for(o.s();!(n=o.n()).done;){var i,a=n.value;(i=a.fn).call.apply(i,[a.fn].concat(r))}}catch(e){o.e(e)}finally{o.f()}t.listener[e]=t.listener[e].filter((function(e){return"once"!==e.type}))}).call(this)}},{key:"_clearCache",value:function(e){if(this.emitCache[e])for(;this.emitCache[e].length>0;)this.emit.apply(this,[e].concat(h()(this.emitCache[e].shift())))}},{key:"on",value:function(e,t){var n=__errorTracer__.surroundThirdByTryCatch(t,"at on ".concat(e," callback function"));this._addListener(e,"on",n,t),this._clearCache(e)}},{key:"once",value:function(e,t){var n=__errorTracer__.surroundThirdByTryCatch(t,"at once ".concat(e," callback function"));this._addListener(e,"once",n,t),this._clearCache(e)}},{key:"off",value:function(e,t){if(this.listener[e])if(t)for(var n=0;!(n>=this.listener[e].length);)t===this.listener[e][n].origin&&(this.listener[e].splice(n,1),n--),n++;else this.listener[e]=[],delete this.listener[e]}},{key:"_addListener",value:function(e,t,n,r){this.listener[e]||(this.listener[e]=[]),this.listener[e].push({origin:r,fn:n,type:t})}}]),e}(),wn={hanged:!1,SDKVersion:"2.6.6",curWebviewId:"",appStatus:0},kn={setConfig:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l()(wn,e)},getConfig:function(){return wn||{}},appInfo:{lastRoute:"",lastOpenType:"",query:{},runningStatus:"active",navigatorLock:!1,openUrlLock:!1,possessingBackgroundAudioPlayer:!1,webviewEventCallback:null,hanged:!1,appStatus:wn.appStatus,navigationBarTitleMap:{},currentNetworkType:""},appLaunchInfo:{appLaunchInfo:null,appLaunchShareInfo:null,sceneHistory:[],appId:"",emitter:new dn}},Sn=n(64),_n=n.n(Sn),xn=n(65),Cn=n.n(xn),Mn=n(37),In=n.n(Mn),En=n(130),Tn=n.n(En),Pn=n(90),An=n.n(Pn),On=n(26),Ln=n.n(On);function Bn(){throw new Error("setTimeout has not been defined")}function Fn(){throw new Error("clearTimeout has not been defined")}function jn(e){if(yn===setTimeout)return setTimeout(e,0);if((yn===Bn||!yn)&&setTimeout)return yn=setTimeout,setTimeout(e,0);try{return setTimeout(e,0)}catch(t){return yn.call(this,e,0)}}!function(){try{yn="function"==typeof setTimeout?setTimeout:Bn}catch(e){yn=Bn}try{mn="function"==typeof clearTimeout?clearTimeout:Fn}catch(e){mn=Fn}}();var Rn,Dn=[],Nn=!1,Un=-1;function Wn(){Nn&&Rn&&(Nn=!1,Rn.length?Dn=Rn.concat(Dn):Un=-1,Dn.length&&Vn())}function Vn(){if(!Nn){var e=jn(Wn);Nn=!0;for(var t=Dn.length;t;){for(Rn=Dn,Dn=[];++Un<t;)Rn&&Rn[Un].run();Un=-1,t=Dn.length}Rn=null,Nn=!1,function(e){if(mn===clearTimeout)return clearTimeout(e);if((mn===Fn||!mn)&&clearTimeout)return mn=clearTimeout,clearTimeout(e);try{clearTimeout(e)}catch(t){return mn.call(this,e)}}(e)}}function Gn(e,t){var n,r="function"==typeof e;if(Dn.push({run:function(){if(r)try{e.call(t)}catch(e){console.log(e,t,"nextTick")}else n(t)}}),1!==Dn.length||Nn||jn(Vn),!r&&void 0!==b.a)return new b.a((function(e){n=e}))}var qn=navigator.userAgent.match("iPhone"),zn=window.innerWidth||window.screen&&window.screen.availWidth||375,Hn=window.devicePixelRatio||2,Kn=function(e){return 0===(e=(e=e/750*zn)<0?0-Math.floor(Math.abs(e)):Math.floor(e+1e-4))?1!==Hn&&qn?.5:1:e},Jn=/%%\?[+-]?\d+(\.\d+)?rpx\?%%/g,Xn=/(:|\s|\()[+-]?\d+(\.\d+)?rpx/g;function Yn(e){return"number"==typeof e?e+"px":e}function $n(e){return e+"deg"}for(var Qn={rpxToPxNum:Kn,transformRpx:function(e,t){if(n=e,"[object String]"!==Object.prototype.toString.call(n))return e;var n,r=t?e.match(Xn):e.match(Jn);return r&&r.forEach((function(n){var r=function(e){for(var t=0,n=1,r=!1,o=!1,i=0;i<e.length;++i){var a=e[i];a>="0"&&a<="9"?r?t+=(a-"0")*(n*=.1):t=10*t+(a-"0"):"."===a?r=!0:"-"===a&&(o=!0)}return o&&(t=-t),Kn(t)}(n),o=(t?n[0]:"")+r+"px";e=e.replace(n,o)})),e},nextTick:function(e,t){setTimeout((function(){return Gn(e,t)}),0)},animationToStyle:function(e){var t=e.animates,n=e.option,r=void 0===n?{}:n,o=r.transformOrigin,i=r.transition;if(void 0===i||void 0===t)return{transformOrigin:"",transform:"",transition:""};var a=t.filter((function(e){return"style"!==e.type})).map((function(e){var t=e.type,n=e.args;switch(t){case"matrix":return"matrix("+n.join(",")+")";case"matrix3d":return"matrix3d("+n.join(",")+")";case"rotate":return"rotate("+(n=n.map($n))[0]+")";case"rotate3d":return n[3]=$n(n[3]),"rotate3d("+n.join(",")+")";case"rotateX":return"rotateX("+(n=n.map($n))[0]+")";case"rotateY":return"rotateY("+(n=n.map($n))[0]+")";case"rotateZ":return"rotateZ("+(n=n.map($n))[0]+")";case"scale":return"scale("+n.join(",")+")";case"scale3d":return"scale3d("+n.join(",")+")";case"scaleX":return"scaleX("+n[0]+")";case"scaleY":return"scaleY("+n[0]+")";case"scaleZ":return"scaleZ("+n[0]+")";case"translate":return"translate("+(n=n.map(Yn)).join(",")+")";case"translate3d":return"translate3d("+(n=n.map(Yn)).join(",")+")";case"translateX":return"translateX("+(n=n.map(Yn))[0]+")";case"translateY":return"translateY("+(n=n.map(Yn))[0]+")";case"translateZ":return"translateZ("+(n=n.map(Yn))[0]+")";case"skew":return"skew("+(n=n.map($n)).join(",")+")";case"skewX":return"skewX("+(n=n.map($n))[0]+")";case"skewY":return"skewY("+(n=n.map($n))[0]+")";default:return""}})).join(" "),c=t.filter((function(e){return"style"===e.type})).reduce((function(e,t){return e[t.args[0]]=t.args[1],e}),{});return{style:c,transformOrigin:o,transform:a,transitionProperty:["transform"].concat(h()(L()(c))).join(","),transition:i.duration+"ms "+i.timingFunction+" "+i.delay+"ms"}},getRealRoute:function e(){var t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===o.indexOf("/"))return o.substr(1);if(0===o.indexOf("./"))return e(r,o.substr(2));var i=o.split("/");for(t=0,n=i.length;t<n&&".."===i[t];t++);i.splice(0,t);var a=r.length>0?r.split("/"):[];return a.splice(a.length-t-1,t+1),a.concat(i).join("/")}},Zn={audio:{"1.0.0":["id","src","loop","controls","poster","name","author","binderror","bindplay","bindpause","bindtimeupdate","bindended"]},button:{"1.0.0":[{size:["default","mini"]},{type:["primary","default","warn"]},"plain","disabled","loading",{"form-type":["submit","reset"]},"hover-class","hover-start-time","hover-stay-time","hover-stop-propagation"],"1.1.0":[{"open-type":["contact"]}],"1.2.0":[{"open-type":["share"]}],"1.4.0":[],"1.3.0":[{"open-type":["getUserInfo"]}]},canvas:{"1.0.0":["type","canvas-id","disable-scroll","bindtouchstart","bindtouchmove","bindtouchend","bindtouchcancel","bindlongtap","binderror"]},"checkbox-group":{"1.0.0":["bindchange"]},checkbox:{"1.0.0":["value","disabled","checked","color"]},"contact-button":{"1.0.0":["size",{type:["default-dark","default-light"]},"session-from"]},"cover-view":{"1.4.0":["scroll-top"]},"cover-image":{"1.0.0":["src",{mode:["scaleToFill","aspectFit","aspectFill","widthFix","top","bottom","center","left","right","top left","top right","bottom left","bottom right"]},"binderror","bindload"]},form:{"1.0.0":["report-submit","bindsubmit","bindreset"],"1.2.0":["bindautofill"]},icon:{"1.0.0":[{type:["success","success_no_circle","info","warn","waiting","cancel","download","search","clear"]},"size","color"]},image:{"1.0.0":["src",{mode:["scaleToFill","aspectFit","aspectFill","widthFix","top","bottom","center","left","right","top left","top right","bottom left","bottom right"]},"binderror","bindload"]},input:{"1.0.0":["value",{type:["text","number","idcard","digit"]},"password","placeholder","placeholder-style","placeholder-class","disabled","maxlength","cursor-spacing","auto-focus","focus","bindinput","bindfocus","bindblur","bindconfirm"],"1.1.0":[{"confirm-type":["send","search","next","go","done"]},"confirm-hold"],"1.2.0":["auto-fill","cursor","selection-start","selection-end","hold-keyboard","adjust-position","bindkeyboardheightchange"]},label:{"1.0.0":["for"]},map:{"1.0.0":["longitude","latitude","scale",{markers:["id","latitude","longitude","title","iconPath","rotate","alpha","width","height"]},"covers",{polyline:["points","color","width","dottedLine"]},{circles:["latitude","longitude","color","fillColor","radius","strokeWidth"]},{controls:["id","position","iconPath","clickable"]},"include-points","show-location","bindmarkertap","bindcontroltap","bindregionchange","bindtap"],"1.2.0":[{markers:["callout","label","anchor"]},{polyline:["arrowLine","borderColor","borderWidth"]},"bindcallouttap"]},modal:{"1.0.0":[]},"movable-area":{"1.2.0":["scale-area"]},"movable-view":{"1.2.0":["direction","inertia","out-of-bounds","x","y","damping","friction","disabled","scale","scale-min","scale-max","scale-value","animation","bindchange","bindscale","htouchmove","vtouchmove"]},navigator:{"1.0.0":["url",{"open-type":["navigate","redirect","switchTab"]},"delta","hover-class","hover-start-time","hover-stay-time"],"1.1.0":[{"open-type":["reLaunch","navigateBack"]}]},"open-data":{"1.4.0":[{type:["groupName"]},"open-gid"]},"picker-view":{"1.0.0":["value","indicator-style","bindchange"],"1.1.0":["indicator-class","mask-class","bindpickstart","bindend"]},"picker-view-column":{"1.0.0":[]},picker:{"1.0.0":["range","range-key","value","bindchange","disabled","start","end",{fields:["year","month","day"]},{mode:["selector","date","time"]}],"1.2.0":["auto-fill"],"1.4.0":["bindcolumnchange",{mode:["multiSelector","region"]},"header-text","bindcancel"]},progress:{"1.0.0":["percent","show-info","stroke-width","color","activeColor","backgroundColor","active","font-size","border-radius","active-mode","duration","bindactiveend"]},"radio-group":{"1.0.0":["bindchange"]},radio:{"1.0.0":["value","checked","disabled","color"]},"rich-text":{"1.4.0":[{nodes:["name","attrs","children"]},"space"]},"scroll-view":{"1.0.0":["scroll-x","scroll-y","upper-threshold","lower-threshold","scroll-top","scroll-left","scroll-into-view","scroll-with-animation","enable-back-to-top","bindscrolltoupper","bindscrolltolower","bindscroll"],"3.1.6":["bounces","show-scrollbar"]},slider:{"1.0.0":["min","max","step","disabled","value","color","selected-color","activeColor","backgroundColor","show-value","bindchange","block-size","block-color","bindchanging"]},swiper:{"1.0.0":["indicator-dots","autoplay","current","interval","duration","circular","vertical","bindchange"],"1.1.0":["indicator-color","indicator-active-color","display-multiple-items","easing-function","bindtransition","bindanimationfinish"]},"swiper-item":{"1.0.0":["item-id"]},switch:{"1.0.0":["checked",{type:["switch","checkbox"]},"bindchange","color","disabled"]},text:{"1.0.0":[],"1.1.0":["selectable"],"1.4.0":[{space:["ensp","emsp","nbsp"]},"decode"]},textarea:{"1.0.0":["value","placeholder","placeholder-style","placeholder-class","disabled","maxlength","auto-focus","focus","auto-height","fixed","cursor-spacing","bindfocus","bindblur","bindlinechange","bindinput","bindconfirm"],"1.2.0":["auto-fill","selection-start","selection-end","adjust-position","hold-keyboard","confirm-type","confirm-hold","disable-default-padding","bindkeyboardheightchange"]},video:{"1.0.0":["src","controls","danmu-list","danmu-btn","enable-danmu","autoplay","bindplay","bindpause","bindended","bindtimeupdate","objectFit","poster"],"1.1.0":["duration"],"1.4.0":["loop","direction","muted","initial-time","show-progress","show-fullscreen-btn","show-play-btn","show-center-play-btn","bindfullscreenchange","bindwaiting","binderror","title","bindloadedmetadata","bindcontrolstoggle","bindkeyboardheightchange","binderror","bindprogress","bindloadedmetadata","bindenterpictureinpicture","bindleavepictureinpicture","bindseekcomplete"]},view:{"1.0.0":["hover-class","hover-start-time","hover-stay-time","hover-stop-propagation"]},"web-view":{"1.0.0":["src","bindload","bindmessage","binderror","bindevent"]},"match-media":{"1.0.0":["width","min-width","max-width","height","min-height","max-height","orientation"]},"page-container":{"1.0.0":["show","position","duration","overlay","round","overlay-style","custom-style","z-index","close-on-slide-down","bindbeforeenter","bindenter","bindafterenter","bindbeforeleave","bindleave","bindafterleave","bindclickoverlay"]},"share-element":{"1.0.0":["transform","key","duration","easing-function"]},editor:{"1.0.0":["placeholder","read-only","show-img-size","show-img-toolbar","show-img-resize","bindready","bindfocus","bindblur","bindinput","bindstatuschange"]},"keyboard-accessory":{"1.0.0":[]},camera:{"1.0.0":["mode","resolution","device-position","flash","frame-size","bindstop","binderror","bindinitdone","bindscancode"]},"live-player":{"1.0.0":["id","src","mode","autoplay","muted","orientation","object-fit","min-cache","max-cache","sound-mode","auto-pause-if-navigate","auto-pause-if-open-native","picture-in-picture-mode","options"]},"live-pusher":{"1.0.0":["id","url","mode","autopush","muted","enable-camera","auto-focus","orientation","beauty","whiteness","aspect","min-bitrate","max-bitrate","audio-quality","waiting-image","waiting-image-hash","zoom","device-position","mirror","remote-mirror","local-mirror","audio-reverb-type","enable-mic","enable-agc","enable-ans","audio-volume-type","video-width","video-height","beauty-style","filter","options"]},"navigation-bar":{"1.0.0":["title","loading","front-color","background-color","color-animation-duration","color-animation-timing-func"]},"page-meta":{"1.0.0":["background-text-style","background-color","background-color-top","background-color-bottom","background-color-config","root-background-color","scroll-top","scroll-duration","page-style","root-font-size","page-orientation","bindresize","page-font-size"]},"webrtc-audio":{"1.0.0":["id","muted","src"]},"webrtc-video":{"1.0.0":["id","muted","src"]},"root-portal":{"1.0.0":["enable"]},"aria-component":{"1.0.0":[]}},er={env:{},canIUse:{return:{}},arrayBufferToBase64:{},base64ToArrayBuffer:{},fileToBase64:{},getSystemInfoSync:{return:{SDKVersion:1,appVersion:1,batteryLevel:1,benchmarkLevel:1,bluetoothEnabled:1,brand:1,cameraAuthorized:1,deviceId:1,deviceOrientation:1,versdevicePixelRatioion:1,enableDebug:1,errMsg:1,fontSizeSetting:1,frameworkVersion:1,inFinChat:1,language:1,locationAuthorized:1,locationEnabled:1,microphoneAuthorized:1,mode:1,model:1,notificationAuthorized:1,pixelRatio:1,platform:1,screenHeight:1,screenWidth:1,statusBarHeight:1,system:1,theme:1,version:1,windowHeight:1,windowWidth:1,safeArea:["left","right","top","bottom","width"]}},getSystemInfo:{success:{SDKVersion:1,appVersion:1,batteryLevel:1,benchmarkLevel:1,bluetoothEnabled:1,brand:1,cameraAuthorized:1,deviceId:1,deviceOrientation:1,versdevicePixelRatioion:1,enableDebug:1,errMsg:1,fontSizeSetting:1,frameworkVersion:1,inFinChat:1,language:1,locationAuthorized:1,locationEnabled:1,microphoneAuthorized:1,mode:1,model:1,notificationAuthorized:1,pixelRatio:1,platform:1,screenHeight:1,screenWidth:1,statusBarHeight:1,system:1,theme:1,version:1,windowHeight:1,windowWidth:1,safeArea:["left","right","top","bottom","width"]}},getSystemInfoAsync:{success:{SDKVersion:1,appVersion:1,batteryLevel:1,benchmarkLevel:1,bluetoothEnabled:1,brand:1,cameraAuthorized:1,deviceId:1,deviceOrientation:1,versdevicePixelRatioion:1,enableDebug:1,errMsg:1,fontSizeSetting:1,frameworkVersion:1,inFinChat:1,language:1,locationAuthorized:1,locationEnabled:1,microphoneAuthorized:1,mode:1,model:1,notificationAuthorized:1,pixelRatio:1,platform:1,screenHeight:1,screenWidth:1,statusBarHeight:1,system:1,theme:1,version:1,windowHeight:1,windowWidth:1,safeArea:["left","right","top","bottom","width"]}},openSystemBluetoothSetting:{success:{}},openAppAuthorizeSetting:{success:{}},getWindowInfo:{object:{pixelRatio:1,screenWidth:1,screenHeight:1,windowWidth:1,windowHeight:1,statusBarHeight:1,safeArea:["left","right","top","bottom","width","height"],screenTop:1}},getSystemSetting:{object:{bluetoothEnabled:1,locationEnabled:1,wifiEnabled:1,deviceOrientation:["portrait","landscape"]}},getRendererUserAgent:{success:{UserAgent:""}},getDeviceInfo:{return:{brand:1,model:1,benchmarkLevel:1,system:1,platform:1,CPUType:1}},getAppBaseInfo:{return:{SDKVersion:1,enableDebug:!1,host:{appId:""},language:"",version:"",theme:""}},getAppAuthorizeSetting:{return:{albumAuthorized:"",bluetoothAuthorized:"",cameraAuthorized:"",locationAuthorized:"",locationReducedAccuracy:!1,microphoneAuthorized:"",notificationAuthorized:"",notificationAlertAuthorized:"",notificationBadgeAuthorized:"",notificationSoundAuthorized:"",phoneCalendarAuthorized:""}},updateWeChatApp:{},getUpdateManager:{return:{UpdateManager:1}},UpdateManager:{applyUpdate:1,onCheckForUpdate:1,onUpdateFailed:1,onUpdateReady:1},getLaunchOptionsSync:{return:{path:1,scene:1,query:1,shareTicket:1,referrerInfo:1,forwardMaterials:1,chatType:1,apiCategory:1}},getEnterOptionsSync:{return:{path:1,scene:1,query:1,shareTicket:1,referrerInfo:1,forwardMaterials:1,chatType:1,apiCategory:1}},onUnhandledRejection:{},onThemeChange:{},onPageNotFound:{callback:{path:1,query:1,isEntryPage:1}},onError:{callback:{}},onAudioInterruptionEnd:{callback:{}},onAudioInterruptionBegin:{callback:{}},offAudioInterruptionEnd:{callback:{}},offAudioInterruptionBegin:{callback:{}},onAppShow:{callback:{path:1,query:1,scene:1,shareTicket:1,referrerInfo:["appId","extraData"],forwardMaterials:["type","name","path","size"]}},onAppHide:{callback:{}},offUnhandledRejection:{callback:{}},offThemeChange:{callback:{}},offPageNotFound:{callback:{}},offError:{callback:{}},offAppShow:{callback:{}},offAppHide:{callback:{}},setEnableDebug:{success:{},object:{enableDebug:1}},getRealtimeLogManager:{return:{RealtimeLogManager:1}},getLogManager:{return:{LogManager:1}},console:{debug:1,log:1,error:1,group:1,groupEnd:1,info:1,warn:1},LogManager:{debug:1,info:1,log:1,warn:1},RealtimeLogManager:{error:1,info:1,warn:1,setFilterMsg:1,addFilterMsg:1},switchTab:{object:{url:1},success:{}},reLaunch:{object:{url:1},success:{}},redirectTo:{object:{url:1},success:{}},navigateTo:{object:{url:1,events:1},success:{eventChannel:1}},navigateBack:{object:{delta:1},success:{}},EventChannel:{emit:1,on:1,off:1,once:1},navigateToMiniProgram:{object:{appId:1,path:1,extraData:1,envVersion:["develop","trial","release"],shortLink:1,noRelaunchIfPathUnchanged:1},success:{}},navigateToWechatMiniProgram:{object:{appId:1,path:1,extraData:1,envVersion:["develop","trial","release"],shortLink:1,noRelaunchIfPathUnchanged:1},success:{}},navigateBackMiniProgram:{object:{extraData:1},success:{}},exitMiniProgram:{success:{},object:{}},restartMiniProgram:{success:{},object:{}},showShareMenu:{success:{},object:{withShareTicket:1,menus:1}},hideShareMenu:{object:{menus:1},success:{}},showToast:{object:{title:1,icon:["success","error","loading","none"],duration:1,mask:1,image:1},success:{}},showModal:{object:{title:1,content:1,showCancel:1,cancelText:1,cancelColor:1,confirmText:1,confirmColor:1,editable:1,placeholderText:1},success:{content:1,confirm:1,cancel:1}},showLoading:{object:{title:1,mask:1},success:{}},showActionSheet:{object:{alertText:1,itemList:1,itemColor:1},success:{tapIndex:1}},hideToast:{object:{noConflict:1},success:{}},hideLoading:{object:{noConflict:1},success:{}},enableAlertBeforeUnload:{object:{message:1},success:{}},disableAlertBeforeUnload:{object:{},success:{}},showNavigationBarLoading:{success:{}},setNavigationBarTitle:{object:{title:1},success:{}},setNavigationBarColor:{object:{frontColor:1,backgroundColor:1,animation:["duration",{timingFunc:["linear","easeIn","easeOut","easeInOut"]}]},success:{}},setPageOrientation:{object:{orientation:1,showCapsule:1},success:{}},hideNavigationBarLoading:{success:{}},hideHomeButton:{success:{}},setBackgroundTextStyle:{object:{textStyle:["dark","light"]},success:{}},setBackgroundColor:{object:{backgroundColorTop:1,backgroundColorBottom:1},success:{}},showTabBarRedDot:{object:{index:1},success:{}},showTabBar:{object:{animation:1}},setTabBarStyle:{object:{color:1,selectedColor:1,backgroundColor:1,borderStyle:1},success:{}},setTabBarItem:{object:{index:1,text:1,iconPath:1,selectedIconPath:1},success:{}},setTabBarBadge:{object:{index:1,text:1},success:{}},removeTabBarBadge:{success:{},object:{index:1}},hideTabBarRedDot:{success:{},object:{index:1}},hideTabBar:{object:{animation:1},success:{}},loadFontFace:{object:{global:1,family:1,source:1,desc:["style","weight","variant"],scopes:1},success:{status:1}},stopPullDownRefresh:{success:{}},startPullDownRefresh:{success:{}},pageScrollTo:{object:{scrollTop:1,duration:1,selector:1,offsetTop:1},success:{}},ScrollViewContext:{scrollTo:1,scrollIntoView:1},createAnimation:{object:{duration:1,timingFunction:["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end"],delay:1,transformOrigin:1},return:{Animation:1}},Animation:{export:1,step:1,matrix:1,matrix3d:1,rotate:1,rotate3d:1,rotateX:1,rotateY:1,rotateZ:1,scale:1,scale3d:1,scaleX:1,scaleY:1,scaleZ:1,skew:1,skewX:1,skewY:1,translate:1,translate3d:1,translateX:1,translateY:1,translateZ:1,opacity:1,backgroundColor:1,width:1,height:1,left:1,right:1,top:1,bottom:1},nextTick:{callback:{}},getMenuButtonBoundingClientRect:{return:{}},onWindowResize:{callback:{size:["windowWidth","windowHeight"]}},offWindowResize:{callback:{}},request:{object:{url:1,data:1,header:1,method:["OPTIONS","GET","HEAD","POST","PUT","DELETE","TRACE","CONNECT"],timeout:1,dataType:1,responseType:1,enableHttp2:1,enableQuic:1,enableCache:1,enableHttpDNS:1,httpDNSServiceId:1,enableChunked:1,forceCellularNetwork:1},success:{data:1,statusCode:1,header:1,cookies:1,profile:["redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","SSLconnectionStart","SSLconnectionEnd","requestStart","requestEnd","responseStart","responseEnd","rtt","estimate_nettype","httpRttEstimate","transportRttEstimate","downstreamThroughputKbpsEstimate","throughputKbps","peerIP","port","socketReused","sendBytesCount","receivedBytedCount","protocol"]},return:{RequestTask:1}},RequestTask:{abort:1,offHeadersReceived:1,onHeadersReceived:1},downloadFile:{object:{url:1,header:1,timeout:1,filePath:1},success:{tempFilePath:1,filePath:1,statusCode:1,profile:["redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","SSLconnectionStart","SSLconnectionEnd","requestStart","requestEnd","responseStart","responseEnd","rtt","estimate_nettype","httpRttEstimate","transportRttEstimate","downstreamThroughputKbpsEstimate","throughputKbps","peerIP","port","socketReused","sendBytesCount","receivedBytedCount","protocol"]},return:{DownloadTask:1}},DownloadTask:{abort:1,offHeadersReceived:1,onHeadersReceived:1,offProgressUpdate:1,onProgressUpdate:1},uploadFile:{object:{url:1,filePath:1,name:1,header:1,formData:1,timeout:1},success:{data:1,statusCode:1},return:{UploadTask:1}},UploadTask:{abort:1,offHeadersReceived:1,onHeadersReceived:1,offProgressUpdate:1,onProgressUpdate:1},sendSocketMessage:{object:{data:1},success:{}},onSocketOpen:{callback:{header:1}},onSocketMessage:{callback:{data:1}},onSocketError:{callback:{errMsg:1}},onSocketClose:{callback:{code:1,reason:1}},connectSocket:{object:{url:1,protocols:1,header:1,tcpNoDelay:1,perMessageDeflate:1,timeout:1,forceCellularNetwork:1},return:{SocketTask:1},success:{}},closeSocket:{object:{code:1,reason:1},success:{}},SocketTask:{onOpen:1,onClose:1,onError:1,onMessage:1,send:1,close:1},createTCPSocket:{return:{TCPSocket:1}},TCPSocket:{onMessage:1,write:1,close:1,connect:1,offConnect:1,offClose:1,offError:1,offMessage:1,onClose:1,onConnect:1,onError:1},createUDPSocket:{return:{UDPSocket:1}},UDPSocket:{bind:1,close:1,offClose:1,offError:1,offListening:1,offMessage:1,onClose:1,onError:1,onListening:1,onMessage:1,send:1,connect:1,write:1,setTTL:1},requestPayment:{object:{timeStamp:1,nonceStr:1,package:1,signType:1,paySign:1},success:{}},setStorageSync:{},setStorage:{object:{key:1,data:1},success:{}},removeStorageSync:{},removeStorage:{object:{key:1},success:{}},getStorageSync:{return:{}},getStorageInfoSync:{return:{}},getStorageInfo:{success:{keys:1,currentSize:1,limitSize:1}},getStorage:{object:{key:1,encrypt:1},success:{data:1}},clearStorage:{},clearStorageSync:{},batchSetStorageSync:{},batchSetStorage:{object:{kvList:1},success:{}},batchGetStorageSync:{return:{}},batchGetStorage:{object:{kvList:1},success:{}},createOffscreenCanvas:{object:{type:["webgl","2d"],width:1,height:1,compInst:1},return:{OffscreenCanvas:1}},createCanvasContext:{return:{CanvasContext:1}},canvasToTempFilePath:{object:{x:1,y:1,width:1,height:1,destWidth:1,destHeight:1,canvas:1,fileType:["jpg","png"],canvasId:1,quality:1},success:{tempFilePath:1}},canvasPutImageData:{object:{canvasId:1,data:1,x:1,y:1,width:1,height:1},success:{}},canvasGetImageData:{object:{canvasId:1,x:1,y:1,width:1,height:1},success:{width:1,height:1,data:1}},Canvas:{cancelAnimationFrame:1,createImage:1,createImageData:1,getContext:1,requestAnimationFrame:1,toDataURL:1},CanvasContext:{clearRect:1,drawImage:1,draw:1,createLinearGradient:1,createCircularGradient:1,measureText:1,createImageData:1,save:1,restore:1,rect:1,beginPath:1,moveTo:1,closePath:1,lineTo:1,quadraticCurveTo:1,bezierCurveTo:1,arc:1,arcTo:1,clip:1,createPattern:1,fill:1,fillRect:1,fillText:1,rotate:1,scale:1,setFillStyle:1,setFontSize:1,setGlobalAlpha:1,setLineCap:1,setLineDash:1,setLineJoin:1,setLineWidth:1,setMiterLimit:1,setShadow:1,setStrokeStyle:1,setTextAlign:1,setTextBaseline:1,setTransform:1,stroke:1,strokeRect:1,strokeText:1,transform:1,translate:1},CanvasGradient:{addColorStop:1},Color:{},Image:{},ImageData:{},createMapContext:{return:{MapContext:1}},MapContext:{addArc:1,addCustomLayer:1,addGroundOverlay:1,addMarkers:1,fromScreenLocation:1,getCenterLocation:1,getRegion:1,getRotate:1,getScale:1,getSkew:1,includePoints:1,initMarkerCluster:1,moveAlong:1,moveToLocation:1,on:1,openMapApp:1,removeGroundOverlay:1,removeMarkers:1,setBoundary:1,setCenterOffset:1,setLocMarkerIcon:1,toScreenLocation:1,translateMarker:1,updateGroundOverlay:1},saveImageToPhotosAlbum:{object:{filePath:1},success:{}},previewMedia:{object:{sources:["url","poster",{type:["image","video"]}],current:1,showmenu:1,referrerPolicy:1},success:{}},previewImage:{object:{current:1,urls:1,showmenu:1,referrerPolicy:1},success:{}},getImageInfo:{object:{src:1},success:{width:1,height:1,path:1,orientation:["up","up-mirrored","down","down-mirrored","left-mirrored","right","right-mirrored","left"],type:["unknown","jpeg","png","gif","tiff"]}},compressImage:{object:{src:1,quality:1,compressedWidth:1,compressHeight:1},success:{tempFilePath:1}},chooseFile:{object:{count:1,type:["all","video","image","file"],extension:1},success:{tempFiles:["path","size","name",{type:["video","image","file"]},"time"]}},chooseImage:{object:{count:1,sizeType:["original","compressed"],sourceType:["album","camera"]},success:{tempFilePaths:1,tempFiles:["path","size"]}},saveVideoToPhotosAlbum:{object:{filePath:1},success:{}},getVideoInfo:{object:{src:1},success:{orientation:["up","up-mirrored","down","down-mirrored","left-mirrored","right","right-mirrored","left"],type:1,duration:1,size:1,height:1,width:1,fps:1,bitrate:1}},createVideoContext:{return:{VideoContext:1}},compressVideo:{object:{src:1,quality:["low","medium","high"],bitrate:1,fps:1,resolution:1},success:{tempFilePath:1,size:1}},chooseVideo:{object:{sourceType:["album","camera"],maxDuration:1,camera:["back","front"],compressed:1},success:{coverImagePath:1,tempFilePath:1,duration:1,size:1,height:1,width:1}},chooseMedia:{object:{count:1,mediaType:["image","video","mix"],sourceType:["album","camera"],maxDuration:1,sizeType:1,camera:["back","front"]},success:{tempFiles:["tempFilePath","size","duration","height","width","thumbTempFilePath",{fileType:["image","video"]},"type"]}},VideoContext:{exitBackgroundPlayback:1,exitFullScreen:1,exitPictureInPicture:1,hideStatusBar:1,pause:1,play:1,playbackRate:1,requestBackgroundPlayback:1,requestFullScreen:1,seek:1,sendDanmu:1,showStatusBar:1,stop:1},stopVoice:{success:{}},playVoice:{object:{filePath:1,duration:1},success:{}},pauseVoice:{success:{}},getAvailableAudioSources:{success:{audioSources:["auto","buildInMic","headsetMic","mic","camcorder","voice_communication","voice_recognition"]}},createInnerAudioContext:{return:{InnerAudioContext:1},object:{InnerAudioContext:1}},createAudioContext:{return:{AudioContext:1}},AudioContext:{setSrc:1,play:1,pause:1,seek:1},InnerAudioContext:{destroy:1,offCanplay:1,offEnded:1,offError:1,offTimeUpdate:1,offSeeking:1,offWaiting:1,onEnded:1,offPlay:1,onCanplay:1,onPause:1,offPause:1,offSeeked:1,offStop:1,onError:1,onPlay:1,onSeeked:1,onSeeking:1,onStop:1,onTimeUpdate:1,onWaiting:1,pause:1,play:1,seek:1,stop:1},WebAudioContextNode:{},stopBackgroundAudio:{success:{}},seekBackgroundAudio:{object:{position:1},success:{}},playBackgroundAudio:{object:{dataUrl:1,title:1,coverImgUrl:1},success:{}},pauseBackgroundAudio:{success:{}},onBackgroundAudioStop:{callback:{}},onBackgroundAudioPlay:{callback:{}},onBackgroundAudioPause:{callback:{}},getBackgroundAudioPlayerState:{success:{duration:1,currentPosition:1,downloadPercent:1,dataUrl:1,status:["0","1","2"]}},getBackgroundAudioManager:{return:{BackgroundAudioManager:1}},BackgroundAudioManager:{onCanplay:1,onEnded:1,onError:1,onNext:1,onPause:1,onPlay:1,onPrev:1,onSeeked:1,onSeeking:1,onStop:1,onTimeUpdate:1,onWaiting:1,pause:1,play:1,seek:1,stop:1},createLivePusherContext:{return:{LivePusherContext:1}},createLivePlayerContext:{return:{LivePlayerContext:1}},LivePlayerContext:{exitFullScreen:1,exitPictureInPicture:1,mute:1,pause:1,play:1,requestFullScreen:1,requestPictureInPicture:1,resume:1,snapshot:1,stop:1},LivePusherContext:{exitPictureInPicture:1,pause:1,pauseBGM:1,playBGM:1,resume:1,resumeBGM:1,sendMessage:1,setBGMVolume:1,setMICVolume:1,snapshot:1,start:1,startPreview:1,stop:1,stopBGM:1,stopPreview:1,switchCamera:1,toggleTorch:1},stopRecord:{success:{}},startRecord:{success:{tempFilePath:1}},getRecorderManager:{return:{RecorderManager:1}},RecorderManager:{onError:1,onFrameRecorded:1,onInterruptionBegin:1,onInterruptionEnd:1,onPause:1,onResume:1,onStart:1,onStop:1,pause:1,resume:1,start:1,stop:1},createCameraContext:{return:{CameraContext:1}},CameraContext:{onCameraFrame:1,setZoom:1,startRecord:1,stopRecord:1,takePhoto:1},CameraFrameListener:{start:1,stop:1},EditorContext:{blur:1,clear:1,format:1,getContents:1,getSelectionText:1,insertDivider:1,insertImage:1,insertText:1,redo:1,removeFormat:1,scrollIntoView:1,setContents:1,undo:1},startLocationUpdateBackground:{object:{type:1},success:{}},startLocationUpdate:{object:{type:1},success:{}},openLocation:{object:{latitude:1,longitude:1,scale:1,name:1,address:1},success:{}},onLocationChangeError:{callback:{errCode:1}},onLocationChange:{callback:{latitude:1,longitude:1,speed:1,accuracy:1,altitude:1,verticalAccuracy:1,horizontalAccuracy:1}},offLocationChangeError:{callback:{}},offLocationChange:{callback:{}},getLocation:{object:{type:1,altitude:1,isHighAccuracy:1,highAccuracyExpireTime:1},success:{accuracy:1,altitude:1,horizontalAccuracy:1,latitude:1,longitude:1,speed:1,verticalAccuracy:1}},choosePoi:{object:{},success:{type:1,city:1,name:1,address:1,latitude:1,longitude:1}},chooseLocation:{object:{latitude:1,longitude:1},success:{name:1,address:1,latitude:1,longitude:1}},saveFileToDisk:{object:{filePath:1},success:{}},openDocument:{object:{filePath:1,showMenu:1,fileType:["doc","docx","xls","xlsx","ppt","pptx","pdf"]},success:{}},getFileSystemManager:{return:{FileSystemManager:1}},FileSystemManager:{access:1,accessSync:1,appendFile:1,appendFileSync:1,close:1,closeSync:1,copyFile:1,copyFileSync:1,fstat:1,fstatSync:1,ftruncate:1,ftruncateSync:1,getFileInfo:1,getSavedFileList:1,mkdir:1,mkdirSync:1,open:1,openSync:1,read:1,readCompressedFile:1,readCompressedFileSync:1,readdir:1,readdirSync:1,readFile:1,readFileSync:1,readSync:1,readZipEntry:1,removeSavedFile:1,rename:1,renameSync:1,rmdir:1,rmdirSync:1,saveFile:1,saveFileSync:1,stat:1,statSync:1,truncate:1,truncateSync:1,unlink:1,unlinkSync:1,unzip:1,write:1,writeFile:1,writeFileSync:1,writeSync:1},Stats:{isDirectory:1,isFile:1},login:{success:{code:1}},checkSession:{success:{}},getAccountInfoSync:{return:{}},getUserProfile:{object:{desc:1,lang:["en","zh_CN","zh_TW"]},success:{userInfo:1,rawData:1,signature:1,encryptedData:1,iv:1,cloudID:1}},getUserInfo:{object:{withCredentials:1,lang:["en","zh_CN","zh_TW"]},success:{userInfo:1,rawData:1,signature:1,encryptedData:1,iv:1,cloudID:1}},UserInfo:{},authorize:{object:{scope:1},success:{}},openSetting:{object:{withSubscriptions:1},success:{authSetting:1,subscriptionsSetting:1}},getSetting:{object:{withSubscriptions:1},success:{authSetting:1,subscriptionsSetting:1,miniprogramAuthSetting:1}},AuthSetting:{},stopBluetoothDevicesDiscovery:{success:{}},startBluetoothDevicesDiscovery:{object:{services:1,allowDuplicatesKey:1,interval:1,powerLevel:["low","medium","high"]},success:{}},openBluetoothAdapter:{object:{mode:["central","peripheral"]},success:{}},onBluetoothDeviceFound:{callback:{devices:["name","deviceId","RSSI","advertisData","advertisServiceUUIDs","localName","serviceData","connectable"]}},onBluetoothAdapterStateChange:{callback:{available:1,discovering:1}},offBluetoothDeviceFound:{callback:{}},offBluetoothAdapterStateChange:{callback:{}},makeBluetoothPair:{object:{deviceId:1,pin:1,timeout:1},success:{}},getConnectedBluetoothDevices:{object:{services:1},success:{devices:["name","deviceId"]}},getBluetoothDevices:{success:{devices:["name","deviceId","RSSI","advertisData","advertisServiceUUIDs","localName","serviceData","connectable"]}},getBluetoothAdapterState:{success:{discovering:1,available:1}},closeBluetoothAdapter:{success:{}},writeBLECharacteristicValue:{object:{deviceId:1,serviceId:1,characteristicId:1,value:1,writeType:["write","writeNoResponse"]},success:{}},setBLEMTU:{object:{deviceId:1,mtu:1},success:{mtu:1}},readBLECharacteristicValue:{object:{deviceId:1,serviceId:1,characteristicId:1},success:{}},onBLEConnectionStateChange:{callback:{deviceId:1,connected:1}},onBLECharacteristicValueChange:{callback:{deviceId:1,serviceId:1,characteristicId:1,value:1}},offBLEConnectionStateChange:{callback:{}},offBLECharacteristicValueChange:{callback:{}},notifyBLECharacteristicValueChange:{object:{deviceId:1,serviceId:1,characteristicId:1,state:1,type:1},success:{}},getBLEDeviceServices:{object:{deviceId:1},success:{services:["uuid","isPrimary"]}},getBLEDeviceRSSI:{object:{deviceId:1},success:{RSSI:1}},getBLEDeviceCharacteristics:{object:{deviceId:1,serviceId:1},success:{characteristics:["uuid",{properties:["read","write","notify","indicate","writeNoResponse","writeDefault"]}]}},createBLEConnection:{object:{deviceId:1,timeout:1},success:{}},closeBLEConnection:{object:{deviceId:1},success:{}},onBLEPeripheralConnectionStateChanged:{callback:{deviceId:1,serverId:1,connected:1}},offBLEPeripheralConnectionStateChanged:{callback:{}},createBLEPeripheralServer:{object:{},success:{server:1}},BLEPeripheralServer:{addService:1,close:1,offCharacteristicReadRequest:1,offCharacteristicSubscribed:1,offCharacteristicUnsubscribed:1,offCharacteristicWriteRequest:1,onCharacteristicReadRequest:1,onCharacteristicSubscribed:1,onCharacteristicUnsubscribed:1,onCharacteristicWriteRequest:1,removeService:1,startAdvertising:1,stopAdvertising:1,writeCharacteristicValue:1},stopBeaconDiscovery:{success:{}},startBeaconDiscovery:{object:{uuids:1,ignoreBluetoothAvailable:1},success:{}},onBeaconUpdate:{callback:{beacons:1}},onBeaconServiceChange:{callback:{available:1,discovering:1}},offBeaconUpdate:{callback:{}},offBeaconServiceChange:{callback:{}},getBeacons:{success:{beacons:1}},BeaconInfo:{uuid:1,major:1,minor:1,proximity:1},getNFCAdapter:{return:{NFCAdapter:1}},addPhoneRepeatCalendar:{object:{title:1,startTime:1,allDay:1,description:1,location:1,endTime:1,alarm:1,alarmOffset:1,repeatEndTime:1,repeatInterval:["day","week","month","year"]},success:{}},addPhoneCalendar:{object:{title:1,startTime:1,allDay:1,description:1,location:1,endTime:1,alarm:1,alarmOffset:1},success:{}},chooseContact:{success:{phoneNumber:1,displayName:1,phoneNumberList:1}},addPhoneContact:{object:{firstName:1,photoFilePath:1,nickName:1,lastName:1,middleName:1,remark:1,mobilePhoneNumber:1,weChatNumber:1,addressCountry:1,addressState:1,addressCity:1,addressStreet:1,addressPostalCode:1,organization:1,title:1,workFaxNumber:1,workPhoneNumber:1,hostNumber:1,email:1,url:1,workAddressCountry:1,workAddressState:1,workAddressCity:1,workAddressStreet:1,workAddressPostalCode:1,homeFaxNumber:1,homePhoneNumber:1,homeAddressCountry:1,homeAddressState:1,homeAddressCity:1,homeAddressStreet:1,homeAddressPostalCode:1},success:{}},checkIsOpenAccessibility:{object:{},success:{open:1}},getBatteryInfoSync:{return:{level:1,isCharging:1}},getBatteryInfo:{success:{level:1,isCharging:1}},setClipboardData:{object:{data:1},success:{}},getClipboardData:{success:{data:1}},onNetworkStatusChange:{callback:{isConnected:1,networkType:["wifi","2g","3g","4g","none","unknown"]}},offNetworkStatusChange:{callback:{}},getNetworkType:{success:{networkType:["wifi","2g","3g","4g","none","unknown"],signalStrength:1,hasSystemProxy:1}},getRandomValues:{success:{randomValues:1},object:{length:1}},setVisualEffectOnCapture:{object:{visualEffect:1},success:{}},setScreenBrightness:{object:{value:1},success:{}},setKeepScreenOn:{object:{keepScreenOn:1},success:{}},onUserCaptureScreen:{callback:{}},onScreenRecordingStateChanged:{callback:{state:["start","stop"]}},offUserCaptureScreen:{callback:{}},offScreenRecordingStateChanged:{callback:{}},getScreenRecordingState:{success:{state:["on","off"]}},getScreenBrightness:{success:{value:1}},onKeyboardHeightChange:{callback:{height:1}},offKeyboardHeightChange:{callback:{}},hideKeyboard:{success:{}},getSelectedTextRange:{object:{},success:{start:1,end:1}},makePhoneCall:{object:{phoneNumber:1},success:{}},stopAccelerometer:{success:{}},startAccelerometer:{object:{interval:["game","ui","normal"]},success:{}},onAccelerometerChange:{callback:{x:1,y:1,z:1}},offAccelerometerChange:{callback:{}},stopCompass:{success:{}},startCompass:{success:{}},onCompassChange:{callback:{direction:1,accuracy:1}},offCompassChange:{callback:{}},stopDeviceMotionListening:{object:{},success:{}},startDeviceMotionListening:{object:{interval:["game","ui","normal"]},success:{}},onDeviceMotionChange:{callback:{alpha:1,beta:1,gamma:1}},offDeviceMotionChange:{callback:{}},onMemoryWarning:{callback:{level:["5","10","15"]}},offMemoryWarning:{callback:{}},stopGyroscope:{success:{}},startGyroscope:{object:{interval:["game","ui","normal"]}},onGyroscopeChange:{callback:{x:1,y:1,z:1}},offGyroscopeChange:{callback:{}},scanCode:{object:{onlyFromCamera:1,scanType:["barCode","qrCode","datamatrix","pdf417"]},success:{result:1,scanType:1,charSet:1,path:1,rawData:1}},vibrateShort:{object:{type:1},success:{}},vibrateLong:{success:{}},createSelectorQuery:{return:{SelectorQuery:1}},createIntersectionObserver:{return:{IntersectionObserver:1}},IntersectionObserver:{disconnect:1,observe:1,relativeTo:1,relativeToViewport:1},MediaQueryObserver:{disconnect:1,observe:1},NodesRef:{boundingClientRect:1,context:1,fields:1,node:1,scrollOffset:1},SelectorQuery:{exec:1,in:1,select:1,selectAll:1,selectViewport:1},onCustomEvent:{},offCustomEvent:{},base64ToTempFilePath:{},sendWebviewEvent:{},previewVideo:{},getSuperviseInfo:{success:{idfv:1,imei:1,udid:1,registerMobile:1,actualMobile:1,publicIp:1,publicPort:1,macAddress:1,innerIp:1,systemVersion:1,imsi:1,iccid:1,appName:1,appVersion:1,bundleId:1}}},tr=L()(er),nr=[],rr=0;rr<tr.length;rr++){var or=tr[rr];er[or].success&&!er[or].return&&nr.push(or)}var ir=nr;window.navigator.userAgent;var ar=function(){};function cr(e,t){return function(){try{return e.apply(e,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type||"ConnectSocketError"===e.type)throw e;Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:t})}}}}function sr(e){return"Object"===K(e)}function ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";Reporter.triggerErrorMessage(n);var r=Reporter.surroundThirdByTryCatch(t.fail||(t.complete?ar:console.error.bind(null,"Unhandled promise rejection ")),"at api "+e+" fail callback function"),o=Reporter.surroundThirdByTryCatch(t.complete||ar,"at api "+e+" complete callback function");r({errMsg:n}),o({errMsg:n})}function fr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parameter",r="",o=K(t),i=K(e);if(i!==o)return n+" should be "+o+" instead of "+i+";";switch(o){case"Object":for(var a in t)r+=fr(e[a],t[a],n+"."+a);break;case"Array":if(e.length<t.length)return n+" should have at least "+t.length+" item;";for(var c=0;c<t.length;++c)r+=fr(e[c],t[c],n+"["+c+"]")}return r}function lr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("object"!==ye()(e))return e;var n=[];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))if(t)try{var o=decodeURIComponent(r)===r?encodeURIComponent(r):r,i=decodeURIComponent(e[r])===e[r]?encodeURIComponent(e[r]):e[r];n.push(o+"="+i)}catch(t){n.push(r+"="+e[r])}else n.push(r+"="+e[r]);return n.join("&")}function dr(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){for(var n in t)e[n]=t[n];return e}),{})}function hr(e){if("string"!=typeof e)throw new Error("wx.redirectTo: invalid url:"+e);var t=e.split("?");return t[0]+=".html",void 0!==t[1]?t[0]+"?"+t[1]:t[0]}var pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function vr(e){this.message=e}vr.prototype=new Error,vr.prototype.name="InvalidCharacterError";var gr=window.btoa||function(e){for(var t,n,r=String(e),o=0,i=pr,a="";r.charAt(0|o)||(i="=",o%1);a+=i.charAt(63&t>>8-o%1*8)){if((n=r.charCodeAt(o+=3/4))>255)throw new vr("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a},yr=function(e){var t=String(e).replace(/[=]+$/,"");if(t.length%4==1)throw new vr("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)r=pr.indexOf(r);return a},mr=window.atob||yr,br=function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(e){var r;return ce()(this,n),(r=t.call(this,"APP-SERVICE-SDK:"+e)).type="AppServiceSdkKnownError",r}return ue()(n)}(Tn()(Error)),wr={map:!0,applet:!0},kr={surroundByTryCatchFactory:cr,getDataType:K,isObject:sr,isString:function(e){return"String"===K(e)},isNumber:function(e){return"Number"===K(e)},getRealRoute:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(window.isNewPlugin){var r=window.__wxConfig__.plugins,o=t.split("?"),i=k()(o,2),a=i[0],c=i[1],s=a.split("/").filter((function(e){return e})),u=k()(s,3),f=u[1],l=u[2],d=r[f];if(d){var h=d.id,p=d.pages;p&&p[l]&&(t="__plugin__/".concat(h,"/").concat(p[l]),c&&(t=t+"?"+c))}return n?hr(t):t}return t=n?hr(t):t,/^(plugin|hyfile|https?):\/\//.test(t)?t:Qn.getRealRoute(e,t)},getPlatform:function(){var e=window.navigator.userAgent.toLowerCase();return/devtools/.test(e)?"devtools":/(iphone|ipad)/.test(e)?"ios":/android/.test(e)?"android":"windows"},urlEncodeFormData:lr,addQueryStringToUrl:function(e,t,n){if("string"==typeof e&&"object"===ye()(t)&&t){var r=e.indexOf("?"),o=r>-1?e.slice(0,r):e,i=lr(dr((r>-1?e.slice(r+1):"").split("&").reduce((function(e,t){if("string"==typeof t&&t.length>0){var n=t.split("="),r=n[0],o=n.slice(1).join("=");e[r]=o}return e}),{}),L()(t).reduce((function(e,n){return"object"===ye()(t[n])?e[encodeURIComponent(n)]=encodeURIComponent(le()(t[n])):e[encodeURIComponent(n)]=encodeURIComponent(t[n]),e}),{})),n);return i?o+"?"+i:o}return e},validateUrl:function(e){return/^(http|https):\/\/.*/i.test(e)},assign:dr,encodeUrlQuery:function(e){if("string"==typeof e){var t=e.split("?"),n=t[0],r=(t[1]||"").split("&").reduce((function(e,t){if("string"==typeof t&&t.length>0){var n=t.split("="),r=n[0],o=n[1];e[r]=o}return e}),{}),o=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&o.push(i+"="+encodeURIComponent(r[i]));return o.length>0?n+"?"+o.join("&"):e}return e},transWxmlToHtml:function(e){if("string"!=typeof e)return e;var t=e.split("?");return t[0]+=".html",void 0!==t[1]?t[0]+"?"+t[1]:t[0]},removeHtmlSuffixFromUrl:function(e){return"string"==typeof e?-1!==e.indexOf("?")?e.replace(/\.html\?/,"?"):e.replace(/\.html$/,""):e},extend:function(e,t){for(var n in t)e[n]=t[n];return e},arrayBufferToBase64:function(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,o=0;o<r;o++)t+=String.fromCharCode(n[o]);return gr(t)},base64ToArrayBuffer:function(e){var t;try{t=mr(e)}catch(n){t=yr(e)}for(var n=t.length,r=new Uint8Array(n),o=0;o<n;o++)r[o]=t.charCodeAt(o);return r.buffer},blobToArrayBuffer:function(e,t){var n=new FileReader;n.onload=function(){t(this.result)},n.readAsArrayBuffer(e)},base64ToUint8ClampedArray:function(e){for(var t=mr(e),n=t.length,r=new Uint8ClampedArray(n),o=0;o<n;o++)r[o]=t.charCodeAt(o);return r},uint8ClampedArrayToBase64:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return gr(t)},convertObjectValueToString:function(e){return L()(e).reduce((function(t,n){return"string"==typeof e[n]?t[n]=e[n]:"number"==typeof e[n]?t[n]=e[n]+"":t[n]=Object.prototype.toString.apply(e[n]),t}),{})},anyTypeToString:cr((function(e){var t=Object.prototype.toString.call(e).split(" ")[1].split("]")[0];if("Array"===t||"Object"===t)try{e=le()(e)}catch(e){throw e.type="AppServiceSdkKnownError",e}else e="String"===t||"Number"===t||"Boolean"===t?e.toString():"Date"===t?e.getTime().toString():"Undefined"===t?"undefined":"Null"===t?"null":"";return{data:e,dataType:t}}),"anyTypeToString"),stringToAnyType:cr((function(e,t){return"String"===t?e:"Array"===t||"Object"===t?JSON.parse(e):"Number"===t?An()(e):"Boolean"===t?"true"===e:"Date"===t?new Date(C()(e)):"Undefined"===t?void 0:"Null"===t?null:""}),"stringToAnyType"),AppServiceSdkKnownError:br,renameProperty:function(e,t,n){!1!==sr(e)&&t!==n&&Object.prototype.hasOwnProperty.call(e,t)&&(e[n]=e[t],delete e[t])},defaultRunningStatus:"active",toArray:function(e){if(A()(e)){for(var t=Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return t}return en()(e)},canIUse:function(e){var t=ftparser.exeCompatibleFn(["api","canIUse"],[e]);if(t)return t;var n=e[0];return Zn[n]?function(e){var t=e[0],n=e[1],r=e[2],o=Zn[t];if(n){for(var i in o)for(var a=0;a<o[i].length;a++){if("string"==typeof o[i][a]&&o[i][a]===n)return!0;if(o[i][a][n]){if(!r)return!0;if(o[i][a][n].indexOf(r)>-1)return!0}}return!1}return!0}(e):!!er[n]&&function(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=er[t];return!(!i||n&&(!i[n]||r&&(!i[n][r]||o&&!i[n][r].includes(o))))}(e)},atob:mr,btoa:gr,strToArrayBuffer:function(e){for(var t=e.length,n=-1,r="undefined"==typeof Uint8Array?new Array(1.5*t):new Uint8Array(3*t),o=0,i=0,a=0;a!==t;){if(o=e.charCodeAt(a),a+=1,o>=55296&&o<=56319){if(a===t){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;break}if(!((i=e.charCodeAt(a))>=56320&&i<=57343)){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;continue}if(a+=1,(o=1024*(o-55296)+i-56320+65536)>65535){r[n+=1]=240|o>>>18,r[n+=1]=128|o>>>12&63,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o;continue}}o<=127?r[n+=1]=0|o:o<=2047?(r[n+=1]=192|o>>>6,r[n+=1]=128|63&o):(r[n+=1]=224|o>>>12,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o)}return"undefined"!=typeof Uint8Array?r.subarray(0,n+1):(r.length=n+1,r)},conversionCoordinate:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"applet";if(!wr.map&&!wr.applet)return"unimplement";var r="fail";if(e&&(e.latitude||e.longitude)){var o=null;wr.applet&&"applet"===n?(!(o=wx.convertCoordinateFromApplet({latitude:Number(e.latitude),longitude:Number(e.longitude)}))||o&&o.errMsg.includes(r))&&(wr.applet=!1,o=null):wr.map&&"app"===n&&(!(o=wx.convertCoordinateFromMap({latitude:Number(e.latitude),longitude:Number(e.longitude)}))||o&&o.errMsg.includes(r))&&(wr.map=!1,o=null),o&&(e.latitude=o.latitude,e.longitude=o.longitude)}var i=e.success;wr.map&&t&&"function"==typeof i&&(e.success=function(e){if(e.latitude||e.longitude){var t=wx.convertCoordinateFromMap({latitude:Number(e.latitude),longitude:Number(e.longitude)});t&&!t.errMsg.includes(r)?(e.latitude=t.latitude,e.longitude=t.longitude):wr.map=!1}i(e)})},isAndroid:F,isIOS:R,isWinSDK:D,emptyFn:ar,logErr:ur,paramCheck:fr,beforeInvoke:function(e,t,n){var r=fr(t,n);return!r||(ur(e,t,e+":fail parameter error: "+r),!1)},generateRandomId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id",t=Math.random().toString(36).slice(-6),n=_()().toString(36);return"".concat(e,"-").concat(t,"-").concat(n)},validate:function(e,t,n){t=J(t);try{var r=K(t);"Object"!==r&&(console.warn("".concat(e," parameter should be Object instead of ").concat(r,";")),t={}),t=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parameter",o=function(){var o,a="Function"===K(n[i])?{type:n[i]}:n[i],c=a.type,s=void 0===c?Object:c,u=a.defaultValue,f=a.required,l=void 0!==f&&f;if(!Object.prototype.hasOwnProperty.call(t,i)){if(void 0!==u)return t[i]=u,0;if(l)throw new Error("".concat(r,".").concat(i," should not be empty"));return 0}o=t[i];var d=K(s),h="Function"===d,p=h?s.name:d,v=K(o);if(v!==p&&!["Boolean","Number"].includes(p)&&("Array"!==p||h&&"Array"===p))throw new Error("".concat(r,".").concat(i," should be ").concat(p," instead of ").concat(v));switch(p){case"String":var g=a.maxLength;if(o=o||u||"",l&&!o&&""!==u)throw new Error("".concat(r,".").concat(i," should not be empty"));if(g&&function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.length,n=0,r=0;r<t;r++)e.charCodeAt(r)<27||e.charCodeAt(r)>126?n+=2:n++;return n}(o)>2*g)throw new Error("".concat(r,".").concat(i," length should not larger than ").concat(g));break;case"Number":if(isNaN(o)||null===o)throw new Error("".concat(r,".").concat(i," should be ").concat(p," instead of ").concat(v));o=isFinite(o)?Number(o):0;var y=a.max,m=a.min;o=isFinite(o)?Number(o):0,o=isNaN(m)?o:Math.max(o,m),o=isNaN(y)?o:Math.min(o,y),t[i]=o;break;case"Boolean":t[i]=void 0===o?u:Boolean(o);break;case"Array":if(h){var b=a.maxLength,w=void 0===b?o.length:b,k=a.childType;if(o){if(o.length>w)throw new Error("".concat(r,".").concat(i," should not be larger than ").concat(w));if(l&&o.length<1)throw new Error("".concat(r,".").concat(i," should have at least 1 item;"))}if(k)for(var S in o)e({item:o[S]},{item:{type:k,required:!0}},"".concat(r,"[").concat(S,"]"))}else{var _=a.useError,x=void 0===_||_,C=a.multiple,M=void 0!==C&&C;if(void 0===o&&u&&(t[i]=o=u),M){var I=o instanceof Array;if(x&&!I)throw new Error("invalid ".concat(i,' "').concat(o,'"'));t[i]=I&&0!==o.filter((function(e){return s.indexOf(e)>-1})).length?o.filter((function(e){return s.indexOf(e)>-1})):u}else if(-1===s.indexOf(o)){if(x)throw new Error("invalid ".concat(i,' "').concat(o,'"'));t[i]=u}}}};for(var i in n)o();return t}(t,n,"parameter")}catch(n){return ur(e,t,"".concat(e,":fail parameter error: ").concat(n.toString(),";")),!1}return t},isAsyncApi:function(e){return ir.includes(e)},splitCookies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];for(var n in t)e=e.replaceAll(t[n]+",",t[n]);var r=e.split("\n").filter((function(e){return e})),o=[];return r.forEach((function(e){o.push.apply(o,h()(e.split(", ")))})),o}},Sr={};function _r(){ServiceJSBridge.invoke.apply(ServiceJSBridge,arguments)}function xr(){ServiceJSBridge.on.apply(ServiceJSBridge,arguments)}var Cr=["showTabBarRedDot","showTabBar","setTabBarStyle","setTabBarItem","setTabBarBadge","removeTabBarBadge","hideTabBarRedDot","hideTabBar"];function Mr(e,t,n){var r={};for(var o in t)"function"==typeof t[o]&&(r[o]=Reporter.surroundThirdByTryCatch(t[o],"at api "+e+" "+o+" callback function"),delete t[o]);var i={};for(var a in n)"function"==typeof n[a]&&(i[a]=kr.surroundByTryCatchFactory(n[a],"at api "+e+" "+a+" callback function"));_r(e,t,function(){var n=v()(y.a.mark((function n(o){var a,c,s;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t._sync){n.next=3;break}return"function"==typeof r.success&&r.success(o),n.abrupt("return");case 3:if(o.errMsg=o.errMsg||e+":ok","request"!==e&&"uploadFile"!==e&&"downloadFile"!==e||o.cookies||(o.cookies=o.header&&o.header["Set-Cookie"]?o.header["Set-Cookie"].split(/, */):[]),"request"===e)if((kr.isIOS||kr.isWinSDK)&&o.isBase64)"arraybuffer"===(t.responseType&&t.responseType.toLowerCase())?o.data=kr.base64ToArrayBuffer(o.data):o.data=kr.atob(o.data);else if(kr.isAndroid&&"arraybuffer"===(t.responseType&&t.responseType.toLowerCase())&&"string"==typeof o.data)try{o.data=new Uint8Array(JSON.parse(o.data)).buffer}catch(e){}window.__wxConfig__&&"debug"===window.__wxConfig__.debugLevel&&console.log([e,"response",o]),delete o.isBase64,a=0===o.errMsg.indexOf(e+":cancel"),c=0===o.errMsg.indexOf(e+":fail"),"function"==typeof i.beforeAll&&i.beforeAll(o),a?(o.errMsg=o.errMsg.replace(e+":cancel",e+":fail cancel"),"function"==typeof r.fail&&r.fail(o),"function"==typeof i.beforeCancel&&i.beforeCancel(o),"function"==typeof r.cancel&&r.cancel(o),"function"==typeof i.afterCancel&&i.afterCancel(o)):c?("function"==typeof i.beforeFail&&i.beforeFail(o),"function"==typeof r.fail&&r.fail(o),s=!0,"function"==typeof i.afterFail&&(s=i.afterFail(o)),!1!==s&&Reporter.reportIDKey({key:e+"_fail"})):("function"==typeof i.beforeSuccess&&i.beforeSuccess(o),"function"==typeof r.success&&r.success(o),"function"==typeof i.afterSuccess&&i.afterSuccess(o)),"function"==typeof r.complete&&r.complete(o),"function"==typeof i.afterAll&&i.afterAll(o),(c||a)&&"function"!=typeof r.fail&&"function"!=typeof r.complete&&console.error("Unhandled promise rejection ",o);case 15:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()),Reporter.reportIDKey({key:e})}var Ir,Er,Tr,Pr={invoke:_r,on:xr,publish:function(){var e=Array.prototype.slice.call(arguments);e[1]={data:e[1],options:{timestamp:_()()}},ServiceJSBridge.publish.apply(ServiceJSBridge,e)},webpublish:function(){var e=Array.prototype.slice.call(arguments);e[1]={data:e[1],options:{timestamp:_()()}},ServiceJSBridge.webpublish.apply(ServiceJSBridge,e)},subscribe:function(){var e=Array.prototype.slice.call(arguments),t=e[1];e[1]=function(e,n){var r=e.data,o=e.options,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o&&o.timestamp||0,c=_()();"function"==typeof t&&t(r,n,e),Reporter.speedReport({key:"webview2AppService",data:r||{},timeMark:{startTime:a,endTime:c,nativeTime:i.nativeTime||0}})},ServiceJSBridge.subscribe.apply(ServiceJSBridge,e)},invokeMethod:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Cr.includes(e)?execOnServiceReady((function(){Mr(e,t,n)})):Mr(e,t,n)},onMethod:function(e,t){var n=gn("ServiceJSBridge-".concat(e));Sr[e]||(xr(e,(function(){n.emit.apply(n,arguments)})),Sr[e]=!0),n.internalOnMethod(t)},offMethod:function(e,t){gn("ServiceJSBridge-".concat(e)).internalOffMethod(t)},noop:function(){},checkUrlInConfig:function(e,t,n){var r=t.replace(/\.html\?.*|\.html$/,"");return-1!==window.__wxConfig__.pages.indexOf(r)||(kr.logErr(e,n,'url "'+kr.removeHtmlSuffixFromUrl(t)+'" is not in app.json'),!1)}},Ar={removePathSuffix:function(e){return"string"==typeof e?-1!==e.indexOf("?")?e.replace(/\.html\?/,"?"):e.replace(/\.html$/,""):e}},Or=__wxConfig,Lr=kn.appLaunchInfo,Br=kn.appInfo,Fr={};function jr(e){Fr=e}var Rr={path:"",query:{},scene:1001,referrerInfo:{}};Or.onReady((function(){var e=Or.appLaunchInfo||Rr,t=window._launchOption;t||ServiceJSBridge.invoke("getGlobalVariables",{variable:"_launchOption"},(function(){t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})._launchOption||{}}));try{t=JSON.parse(window._launchOption)}catch(e){}if("string"==typeof t.referrerInfo)try{t.referrerInfo=JSON.parse(t.referrerInfo)}catch(e){}var n=l()({},t),r=__wxConfig__.pages||[];n.path=n.path||__wxConfig__.entryPagePath||r[0],n.query=n.query||{},n.scene=n.scene||1001,n.referrerInfo=n.referrerInfo||{},l()(e,Or.debugLaunchInfo||{},n),eo()?(ServiceJSBridge.publish("gameConfigUpdate",__wxConfig__),delete e.path):Qr(e),Lr.appLaunchInfo=e,Lr.appLaunchShareInfo=e.shareInfo||{},Er=Zr(e,!0),Ir=to(Er,Or.preloadType),Er.__public=no(Ir,""),jr(Ir)}));var Dr=gn("AppEnterForeground"),Nr=Dr.internalOnMethod,Ur=gn("AppEnterBackground"),Wr=Ur.internalOnMethod,Vr=gn("AppShow"),Gr=Vr.offMethod,qr=Vr.internalOnMethod,zr=gn("AppHide"),Hr=zr.onMethod,Kr=zr.offMethod,Jr=zr.internalOnMethod,Xr=gn("WindowResize"),Yr=Xr.onMethod,$r=Xr.offMethod;function Qr(e){var t="default";switch(e.mode){case"default":case"halfPage":"nativeFunctionalized"===e.appearance&&(t="nativeFunctionalized");break;case"singlePage":t="browseOnly";break;case"embedded":t="embedded"}e.apiCategory=t}function Zr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(e.scene=e.scene?C()(e.scene,10):e.scene,e.query=e.query||{},e.path&&(e.path=Ar.removePathSuffix(e.path)),e.referrerInfo=e.referrerInfo||{},e.isLaunch=t,Lr.sceneHistory.push(e.scene),"object"===ye()(e.shareInfo)&&null!==e.shareInfo){var n=e.shareInfo;n.shareKey&&n.shareName&&(e.shareTicket=Lr.ShareInfoStorage.set(n.shareKey,n.shareName),Lr.ShareInfoStorage.lastShareTicket=e.shareTicket),delete e.shareInfo}return e}function eo(){return 4===Or.appType}function to(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};0===(e=l()({},e)).scene?e.scene=Tr:Tr=e.scene;var t=e.scene,n=e.referrerInfo.appId?{appId:e.referrerInfo.appId,extraData:e.referrerInfo.extraData||{}}:{};e.referrerInfo.privateExtraData&&e.referrerInfo.privateExtraData.__pluginAppId&&(e.referrerInfo.appId&&(n.pluginAppId=e.referrerInfo.privateExtraData.__pluginAppId),delete e.referrerInfo.privateExtraData.__pluginAppId,0===L()(e.referrerInfo.privateExtraData).length&&delete e.referrerInfo.privateExtraData);var r={path:e.path,query:e.query,scene:t,shareTicket:e.shareTicket,referrerInfo:n},o=e.nativeExtraData||{};return o.location&&(r.locationInfo=o.location),e.mode&&(r.mode=e.mode),e.apiCategory&&(r.apiCategory=e.apiCategory),r}function no(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(function(e){var t=e.match(ro),n=e.match(oo),r="";if(t){var o=t[0];if("plugin://"===o){var i=o.length,a=e.indexOf("/",i);if(a>=0){var c=e.slice(i,a);r=Or.plugins&&Or.plugins[c]?Or.plugins[c].provider:c}}else if("plugin-private://"===o){var s=o.length,u=e.indexOf("/",s);u>=0&&(r=e.slice(s,u))}else"wx://"===o&&(r="//")}if(n){var f=n[0];if("__plugin__/"===f){var l=f.length,d=e.indexOf("/",l);d>=0&&(r=e.slice(l,d))}else"__wx__/"===f&&(r="//")}return r}(e.path||"")===t)return e;var n={path:e.path,query:{},scene:e.scene,shareTicket:e.shareTicket,referrerInfo:{}};return e.mode&&(n.mode=e.mode),e.apiCategory&&(n.apiCategory=e.apiCategory),10===Or.appType&&(e.nativeExtraData&&(n.nativeExtraData=e.nativeExtraData),n.sessionId=e.sessionId,n.isLaunch=e.isLaunch,e.isLaunch&&(n.prerender=e.prerender),n.clickTimestamp=e.clickTimestamp,n.preloadType=e.preloadType),n}Nr((function(e){Vr.emitInternal(e)})),Wr((function(e){zr.emitInternal(e)})),Pr.onMethod("onAppEnterForeground",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kn.setConfig({appStatus:0}),e.scene=e.scene||1001,e.shareTicket=e.shareTicket||"";var t=e.debugLaunchInfo||{};l()(e,t),delete e.debugLaunchInfo,Qr(e),function(e){if(eo())Dr.emit(e);else{var t=to(e=Zr(e,!1));e.__public=no(t,""),jr(t),Dr.emit(e),Br.scene=e.scene,Br.sceneNote=e.scene_note}}(e),Pr.publish("onAppEnterForeground",e.__public)})),Pr.onMethod("onAppEnterBackground",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={query:e.query||{}};kn.setConfig({appStatus:"hide"===e.mode?0:1,hanged:"close"!==e.mode&&("hang"===e.mode||kn.getConfig().hanged)}),Pr.publish("onAppEnterBackground",t),Pr.publish("pageonhide",t),Ur.emit()})),gn("AppRoute").internalOnMethod((function(e){if("appLaunch"===e.openType){var t=io();Dr.emit(t)}}));var ro=/^[-+a-zA-Z0-9]+:\/\//,oo=/^__[-+a-zA-Z0-9]+__\//;function io(){if(!Ir)throw new Error("getLaunchOptionsSync:fail get launch options");return no(Ir||{},"")}function ao(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ao(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ao(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}window.ftparser={exeCompatibleFn:function(){}},qr((function(e){var t;delete e.path,delete e.query,t=e,Vr.emitGlobal(t)})),Jr((function(e){var t;t=e,zr.emitGlobal(t)})),window.__wxConfig=l()(window.__wxConfig||{},{appType:4});var so={setStorageSync:function(e,t){var n=null,r={key:e,data:t,fail:function(e){n=e.errMsg}},o=ye()(t);t instanceof Date&&(o="Date");try{r.data=le()({data:r.data,_type:o})}catch(e){}kr.beforeInvoke("setStorageSync",r,{key:""})&&(Pr.invokeMethod("setStorageSync",r),n&&console.error(n),Wo.updateLocalStorage(e,t))},setStorage:function(e){var t=e.data,n=ye()(e.data);e.data instanceof Date&&(n="Date");try{e.data=le()({data:e.data,_type:n})}catch(e){}kr.beforeInvoke("setStorage",e,{key:""})&&Pr.invokeMethod("setStorage",e,{afterSuccess:function(){Wo.updateLocalStorage(e.key,t)}})},removeStorageSync:function(e){var t=null;kr.beforeInvoke("removeStorageSync",e,"")&&(Pr.invokeMethod("removeStorageSync",{key:e,fail:function(e){t=e.errMsg}}),t&&console.error(t),Wo.removeLocalStorage(e))},removeStorage:function(e){kr.beforeInvoke("removeStorage",e,{key:""})&&Pr.invokeMethod("removeStorage",e,{afterSuccess:function(){Wo.removeLocalStorage(e.key)}})},getStorageSync:function(e){var t="",n=null,r=ftparser.exeCompatibleFn(["api","getStorageSync"],[e]);if(r&&(e=r),kr.beforeInvoke("getStorageSync",e,"")){if(Pr.invokeMethod("getStorageSync",{key:e,success:function(e){try{var r=JSON.parse(e.data);r._type?(t=r.data,n=r._type):t=e.data}catch(n){t=e.data}},fail:function(e){e.errMsg}}),!n&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){}return"Date"===n&&(t=new Date(t)),t}},getStorageInfoSync:function(){var e="",t=null;return Pr.invokeMethod("getStorageInfoSync",{success:function(t){e=t},fail:function(e){t=e.errMsg}}),t&&console.error(t),e},getStorageInfo:function(e){Pr.invokeMethod("getStorageInfo",e)},getStorage:function(e){kr.beforeInvoke("getStorage",e,{key:""})&&Pr.invokeMethod("getStorage",e,{beforeSuccess:function(e){try{if("string"==typeof e.data)try{var t=JSON.parse(e.data);t._type?e.data=t.data:e.data=t,"Date"===t._type&&(e.data=new Date(e.data))}catch(e){}}catch(e){}return e}})},clearStorageSync:function(){var e=null;Pr.invokeMethod("clearStorageSync",{fail:function(t){e=t.errMsg}}),e&&console.error(e),Wo.clearLocalStorage()},clearStorage:function(e){Pr.invokeMethod("clearStorage",e,{afterSuccess:function(){Wo.clearLocalStorage()}})},batchSetStorageSync:function(e){if(kr.beforeInvoke("batchSetStorageSync",e,[])){var t=e.map((function(e){return{key:e.key,data:le()({data:e.value,_type:e.value instanceof Date?"Date":ye()(e.value)})}}));Pr.invokeMethod("batchSetStorageSync",co({data:t},e),{afterSuccess:function(){e.forEach((function(e){Wo.updateLocalStorage(e.key,e.value)}))}})}},batchGetStorageSync:function(e){var t=[],n=null;return kr.beforeInvoke("batchGetStorageSync",e,[])&&(e.success=function(e){t=e.data.map((function(e){"string"==typeof e&&(e=JSON.parse(e));try{return e&&"object"===ye()(e)&&"Date"===e._type?new Date(e.data):void 0===e?null:e.data}catch(t){return e}}))},e.fail=function(e){n=e.errMsg},Pr.invokeMethod("batchGetStorageSync",co({data:e},e))),n&&console.error(n),t},batchSetStorage:function(e){if(kr.beforeInvoke("batchSetStorage",e,{kvList:[]})){var t=e.kvList.map((function(e){return{key:e.key,data:le()({data:e.value,_type:e.value instanceof Date?"Date":ye()(e.value)})}}));Pr.invokeMethod("batchSetStorage",co({data:t},e),{afterSuccess:function(){e.kvList.forEach((function(e){Wo.updateLocalStorage(e.key,e.value)}))}})}},batchGetStorage:function(e){kr.beforeInvoke("batchGetStorage",e,{keyList:[]})&&Pr.invokeMethod("batchGetStorage",e,{beforeSuccess:function(e){return e.dataList=e.dataList.map((function(e){"string"==typeof e&&(e=JSON.parse(e));try{return e&&"object"===ye()(e)&&"Date"===e._type?new Date(e.data):void 0===e?null:e.data}catch(t){return e}})),e}})}};function uo(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):uo(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var lo=Object.prototype.hasOwnProperty,ho=Object.prototype.toString,po=function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(e){var r;return ce()(this,n),(r=t.call(this,"APP-SERVICE-Engine:"+e)).type="AppServiceEngineKnownError",r}return ue()(n)}(Tn()(Error)),vo={getPlatform:function(){return"devtools"},safeInvoke:function(){var e,t=Array.prototype.slice.call(arguments),n=t[0];t=t.slice(1);try{var r=_()();e=this[n].apply(this,t);var o=_()()-r;o>1e3&&Reporter.slowReport({key:"pageInvoke",cost:o,extend:"at "+this.__route__+" page "+n+" function"})}catch(e){Reporter.thirdErrorReport({error:e,extend:'at "'+this.__route__+'" page '+n+" function"})}return e},isEmptyObject:function(e){for(var t in e)if(lo.call(e,t))return!1;return!0},extend:function(e,t){for(var n=L()(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e},noop:function(){},getDataType:K,isObject:function(e){return"Object"===K(e)},hasOwn:function(e,t){return lo.call(e,t)},def:function(e,t,n,r){i()(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})},isPlainObject:function(e){return"[object Object]"===ho.call(e)},isFunction:function(e){return"[object Function]"===ho.call(e)},error:function(e,t){console.group(new Date+" "+e),console.error(t),console.groupEnd()},warn:function(e,t){console.group(new Date+" "+e),console.warn(t),console.groupEnd()},info:function(e){var t=__wxConfig__&&__wxConfig__.debug;window.isIDE?t&&console.info(e):window.__enableDebug&&console.info(e)},surroundByTryCatch:function(e,t){var n=this;return function(){try{return e.apply(e,arguments)}catch(e){return console.log(e),n.errorReport(e,t),function(){}}}},errorReport:function(e,t){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceEngineKnownError"===e.type)throw e;Reporter.errorReport({key:"jsEnginScriptError",error:e,extend:t})}},publish:function(e,t,n){var r={options:{timestamp:_()()}};t?t.options=this.extend(t.options||{},r.options):t=r,ServiceJSBridge.publish(e,t,n)},objectKeys:"function"==typeof L.a?function(e){return L()(e)}:function(e){var t,n=ye()(e);if(null===e||"function"!==n&&"object"!==n)throw new TypeError("obj must be an Object");var r=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(t);return r},getOwnPropertySymbols:"function"==typeof nn.a?function(e){return ke()(e)}:function(){return[]},indexOf:function(e,t){if("[object Array]"!==ho.call(e))throw new TypeError("array must be an Array");for(var n,r=0,o=e.length;r<o;++r)if((n=e[r])===t||n!=n&&t!=t)return r;return-1},filterPrimitiveData:function(e){var t=ye()(e);return null!==e&&"object"!==t&&"function"!==t?e:null}};function go(e){for(var t=e.length,n=[],r="",o=0,i=!1,a=!1,c=0;c<t;c++){var s=e[c];if("\\"===s)c+1<t&&("."===e[c+1]||"["===e[c+1]||"]"===e[c+1])?(r+=e[c+1],c++):r+="\\";else if("."===s)r&&(n.push(r),r="");else if("["===s){if(r&&(n.push(r),r=""),0===n.length)throw vo.error("数据路径错误","Path can not start with []: "+e);a=!0,i=!1}else if("]"===s){if(!i)throw vo.error("数据路径错误","Must have number in []: "+e);a=!1,n.push(o),o=0}else if(a){if(s<"0"||s>"9")throw vo.error("数据路径错误","Only number 0-9 could inside []: "+e);i=!0,o=10*o+s.charCodeAt(0)-48}else r+=s}if(r&&n.push(r),0===n.length)throw vo.error("数据路径错误","Path can not be empty");return n}var yo=function e(t){var n;if("object"===ye()(t)){for(var r in n=A()(t)?[]:{},t)if(lo.call(t,r)){var o=t[r];"object"===ye()(o)&&null!==o?n[r]=e(o):n[r]=o}}else n=t;return n},mo=fo(fo({},vo),{},{isIOS:R,isWinSDK:D,isDevTools:function(){return!0},addHtmlSuffixToUrl:function(e){if("string"!=typeof e)return e;var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t},removeHtmlSuffixFromUrl:function(e){return"string"==typeof e&&e.indexOf(".html")===e.length-4?e.substring(0,e.length-5):e},cloneObj:yo,cloneFreeData:function(e){return yo(e)},filterObj:function(e,t){var n={};return e?(L()(t).forEach((function(r){new RegExp(e).test(r)||(n[r]=t[r])})),n):t},randomString:function(e){var t="abcdefghijklmnopqrstuvwxyz9876543210",n="",r=0;for(r=0;r<e;r++)n+=t.charAt(Math.floor(36*Math.random()));return n},getObjectByPath:function(e,t){for(var n,r,o=go(t),i=e,a=0;a<o.length;a++)Number(o[a])===o[a]&&o[a]%1==0?A()(i)||(i=[]):vo.isPlainObject(i)||(i={}),r=o[a],n=i,i=i[o[a]];return{obj:n,key:r}},parsePath:go,hasOwnProperty:lo,toString:ho,checkUsingComponents:function(e){return!!/(?:^|\/)__(wx|plugin)__\//.test(e)||!!/^plugin:\/\//.test(e)||!!("undefined"!=typeof __AppCode__&&__AppCode__[e+".json"]||{}).usingComponents},AppServiceEngineKnownError:po}).hasOwnProperty,bo=new(function(){function e(){ce()(this,e),this.tabBars=[],this.stack=[],this.stackObjs={},this.configObjs={},this.currentPage=null,this.timers={},this.unloadCallback={},this.pageCountLimit=0,this.currentRoute="",this.regiestRoute={}}return ue()(e,[{key:"initTabBar",value:function(){var e=this;__wxConfig__.tabBar&&__wxConfig__.tabBar.list&&"object"===ye()(__wxConfig__.tabBar.list)&&"function"==typeof __wxConfig__.tabBar.list.forEach&&__wxConfig__.tabBar.list.forEach((function(t){e.tabBars.push(t.pagePath)}))}},{key:"getPageConfig",value:function(e){return e="/"!==e.substring(0,1)?"/"+e:e,this.configObjs[e]}},{key:"isTabBarsPage",value:function(e){if(!e)return!1;var t=0===e.route.indexOf("/")?e.route.substr(1):e.route;return-1!==this.tabBars.indexOf(t)||-1!==this.tabBars.indexOf(t+".html")}},{key:"push",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6?arguments[6]:void 0,c=this.currentPage;this.currentPage={page:t,webviewId:e,route:n,rawPath:r,lastRoute:c?c.route:"",lastQuery:c?c.page.options:{},node:o},this.stack.push(this.currentPage),this.stackObjs[e]={page:t,route:n,rawPath:r,webviewId:e,statesData:null,framesetViewId:i.framesetViewId,node:a?o:void 0}}},{key:"replace",value:function(e,t,n,r,o){var i=arguments.length>6?arguments[6]:void 0,a=this.currentPage;this.stack.forEach((function(n){n.webviewId===e&&(n.page=t,n.node=o)})),this.stackObjs[e].page=t,this.stackObjs[e].node=i?o:void 0,a.webviewId===e&&(a.page=t,a.node=o)}},{key:"pop",value:function(e){delete this.stackObjs[e];for(var t=this.stack.length-1;t>=0&&this.stack[t].webviewId!==e;)t--;t>=0&&this.stack.splice(t,1)}},{key:"popStack",value:function(){this.stack=this.stack.slice(0,this.stack.length-1)}},{key:"isPageExist",value:function(e){return!!this.stackObjs[e]}},{key:"reset",value:function(){this.stack=[],this.stackObjs={},this.configObjs={},this.currentPage=null}},{key:"getWebviewIdToPage",value:function(){return this.stackObjs}},{key:"getRouteToPage",value:function(){return this.configObjs}},{key:"getCurrentPage",value:function(){return this.currentPage}},{key:"getCurrentPages",value:function(){return this.getCurrentPagesByDomain("/")}},{key:"getCurrentPagesByDomain",value:function(e){var t=[];return this.stack.forEach((function(n){e&&function(e){if(/^__wx__\//.test(e=e||""))return"//";var t=e.match(/(?:^|\/)__plugin__\/(.*?)\//);return t?t[1]:"/"}(n.route)!==e?t.push(null):t.push(n.page)})),t}},{key:"setCurrentRoute",value:function(e){this.currentRoute=e}},{key:"getCurrentRoute",value:function(e){return this.currentRoute}},{key:"getPageByWebviewId",value:function(e){return mo(this.stackObjs,e)?this.stackObjs[e].page:null}},{key:"getPageMetaByWebviewId",value:function(e){return mo(this.stackObjs,e)?this.stackObjs[e].page:null}},{key:"hasPageRoute",value:function(e){return function(){for(var t=0;t<__wxConfig.pages.length;t++)if(__wxConfig.pages[t]===e)return!0;return!1}()||void 0!==this.regiestRoute[e]}},{key:"clearTimer",value:function(e){e&&this.timers[e]&&clearTimeout(this.timers[e])}},{key:"setPageCountLimit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;e=C()(e,10),isNaN(e)?this.pageCountLimit=0:this.pageCountLimit=e}},{key:"canNavigateTo",value:function(){var e=this.pageCountLimit;return!(!isNaN(e)&&e>0)||this.stack.length<e}}]),e}()),wo=__wxConfig,ko=gn("ThemeChange"),So=ko.onMethod;ko.internalOnMethod,ko.offMethod,Pr.onMethod("onThemeUpdate",(function(e){window.__darkmode=e.theme,wo.theme=e.theme,ko.emit({theme:e.theme});var t=bo.getCurrentPage();e.theme&&t&&Pr.publish("updateBodyTheme",e,[t.webviewId])}));var _o=gn("AppService-Error"),xo=gn("AppService-UnhandledRejection");_o.onMethod,_o.offMethod,xo.onMethod,xo.offMethod,Reporter.registerThirdErrorListener((function(e){_o.emit(e)})),Reporter.registerThirdUnhandledRejectionListener((function(e,t){xo.emit({reason:e,promise:t})}));var Co=gn("PageNotFound"),Mo=(Co.onMethod,Co.offMethod,gn("AppRouteNotFound").onMethod),Io={page:void 0,time:_()(),count:0};Mo((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;kn.appInfo.lastRoute="",e&&"string"==typeof e.path&&e.path.endsWith(".html")&&(e.path=Ar(e.path)),e&&"string"==typeof e.query&&(e.query=function(e){for(var n={},r=e.split("&"),o=0;o<r.length;o++){var i=r[o].split("=");if(i.length>1)try{n[i[0]]=decodeURIComponent(i[1])}catch(e){}}return t}(e.query)),Io.page&&Io.page===e.path?Io.count++:Io={page:e.path,time:_()(),count:1},e.isEntryPage=!0,delete e.referrerInfo,Co.emit(e)}));var Eo=function(){try{var e=(window.__fcjs_systemInfo||{}).runtimeSDKVersion;if(!e){var t=(navigator&&navigator.userAgent||"").match(/runtimeSdkVersion\/([^)]+)/i)||[];return t.length&&t[1]?t[1]:""}return e}catch(e){return""}}();function To(){return!!q(Eo,"2.37.7")&&(0!==Eo.indexOf("2.38.0")||z(Eo,"2.38.0-alpha20220730v01"))}var Po=q(Eo,"2.34.1"),Ao=z(Eo,"2.38.0-alpha20220716v01")&&Boolean(!window.isWebviewGame),Oo=(To(),R?To():!!z(Eo,"2.37.10-alpha20220824v01")||0===Eo.indexOf("2.38.0")&&z(Eo,"2.38.0-alpha20220825v01"),Boolean(window.__fcjs_isSupportCanvasObject));function Lo(){var e=Boolean(window.isSupportFinclipWebsocket);return window.isWebviewGame?!window.__wxConfig__.compatibleSocket&&e:e}Bo=function(){var e=navigator.userAgent,t="";return e.indexOf("Mac OS X")>-1?t=(e.match(/OS [\d._]*/gi)+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."):(e.indexOf("Android")>-1||e.indexOf("Linux")>-1)&&(t=e.slice(e.indexOf("Android")+8,e.indexOf(";",e.indexOf("Android")))),t}(),R&&!q(Bo,"10.0.0")||F&&q(Bo,"5.2.0"),z(Eo,"2.39.0-alpha20221111v07"),!(!R||!z(Eo,"2.39.2-alpha20230105v03"))||!D||q(Eo,"1.3.5"),z(Eo,"2.42.0");var Bo,Fo=F&&"2.42.9"===Eo;function jo(){return!(!F||!j)&&q(Eo,"2.42.4-alpha20231109v01")}F?Eo.startsWith("2.40.0")?z(Eo,"2.40.0-beta20230130v01"):q(Eo,"2.40.0"):0===Eo.indexOf("2.39")?z(Eo,"2.39.4-alpha20230117v01"):0===Eo.indexOf("2.40.0")?z(Eo,"2.40.0-alpha20220117v08"):q(Eo,"2.40.0");var Ro=!F||(Eo.startsWith("2.40.0")?z(Eo,"2.40.0-alpha20230224v02"):q(Eo,"2.39.9")),Do=(!R||q(Eo,"2.41.7"),/(finclip-tv)/i.test(navigator&&navigator.userAgent||"")),No=["log","warn","error","info"],Uo=new(function(){function e(){var t=this;ce()(this,e),this.isSupportVConsoleWebview=Ao,this.logQueue=[],this.viewIds=[],this.enableDebug=null,this.methods={},this.shouldUpdateLocalStorage=!0;var n=this;No.forEach((function(e){V||W||(console[e]&&(t.methods[e]=console[e].bind(console)),console[e]=function(){var t;n.logQueue.length>1024&&n.logQueue.shift();var r=window.iosRemoteDebuggerLog;r&&r(arguments);var o=function(e){try{return(e=Array.prototype.slice.call(e)).map(ne)}catch(e){return console.warn("[console] This object can not be logged",e)}}(arguments);n.logQueue.push({method:e,log:o}),n.methods[e]&&(t=n.methods)[e].apply(t,h()(o)),n.viewIds.length>0&&Pr.publish(e,{log:o},n.viewIds)})})),void 0===console.group&&(console.group=function(){}),void 0===console.groupEnd&&(console.groupEnd=function(){})}return ue()(e,[{key:"addEventListener",value:function(){var e=this;this.isAdded||(So((function(t){Pr.publish("initLogs",{theme:t.theme||"light"},e.viewIds)})),Pr.on("onUncaughtError",(function(t){e.methods.error&&e.methods.error(t.error),console.error(t.error)})),this.isAdded=!0)}},{key:"initWebview",value:function(){this.isSupportVConsoleWebview&&this.checkEnableDebug()&&!this.isInitWebview&&(this.addEventListener(),Pr.subscribe("consoleForwardLogs",(function(e){var t=e.method,n=e.log;console[t].apply(console,n)})),Pr.invokeMethod("initVConsole",{}),this.isInitWebview=!0)}},{key:"checkEnableDebug",value:function(){return null===this.enableDebug&&(this.enableDebug="undefined"!=typeof __wxConfig__&&__wxConfig__.debug),void 0!==window.__enableDebug&&(this.enableDebug=window.__enableDebug),!V&&this.enableDebug}},{key:"start",value:function(e,t){if(this.checkEnableDebug()){this.addEventListener(),t&&this.viewIds.push(t);var n={};if(1===this.viewIds.length){var r=so.getStorageInfoSync();A()(r.keys)&&r.keys.length>0&&r.keys.forEach((function(e){n[e]=so.getStorageSync(e)}))}Pr.publish("initLogs",{init:!0,logs:this.logQueue,clearLocalStorage:!0,updateLocalStorage:n,theme:wx.getSystemInfoSync().theme||"light"},[t]),this.attached=!0}}},{key:"toggleShouldUpdate",value:function(e){this.shouldUpdateLocalStorage=e}},{key:"updateLocalStorage",value:function(e,t){if(this.enableDebug&&this.attached&&this.shouldUpdateLocalStorage){var n={};n[e]=t,Pr.publish("initLogs",{updateLocalStorage:n},this.viewIds.slice(0,1))}}},{key:"removeLocalStorage",value:function(e){if(this.enableDebug&&this.attached&&this.shouldUpdateLocalStorage){var t={};t[e]=1,Pr.publish("initLogs",{removeLocalStorage:t},this.viewIds.slice(0,1))}}},{key:"clearLocalStorage",value:function(){this.enableDebug&&this.attached&&Pr.publish("initLogs",{clearLocalStorage:!0},this.viewIds.slice(0,1))}}]),e}());ServiceJSBridge.on("DOMContentLoaded",(function(e,t){Uo.isSupportVConsoleWebview||!window.isIDE&&Uo.start(e,t)})),ServiceJSBridge.subscribe("onViewLogEvent",(function(e,t){var n=e.method,r=e.key,o=e.value;switch(n){case"init":!window.isIDE&&Uo.start(e,t);break;case"clearLogs":Uo.logQueue=[],Pr.publish("clearLogs",{},Uo.viewIds);break;case"setStorage":Uo.toggleShouldUpdate(!1),wx.setStorageSync(r,o),Uo.toggleShouldUpdate(!0);break;case"removeStorage":Uo.toggleShouldUpdate(!1),wx.removeStorageSync(r),Uo.toggleShouldUpdate(!0)}})),Uo.initWebview();var Wo=Uo;function Vo(){if(!__wxConfig__.ext)return{};try{return JSON.parse(le()(__wxConfig__.ext))}catch(e){return{}}}var Go={canIUse:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("string"!=typeof e)throw new kr.AppServiceSdkKnownError("canIUse: schema should be an object");var t=e.split(".");return kr.canIUse(kr.toArray(t))},base64ToArrayBuffer:function(e){return kr.base64ToArrayBuffer(e)},arrayBufferToBase64:function(e){return kr.arrayBufferToBase64(e)},getExtConfigSync:Vo,getExtConfig:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};setTimeout((function(){var t={errMsg:"getExtConfig: ok",extConfig:Vo()};"function"==typeof e.success&&e.success(t),"function"==typeof e.complete&&e.complete(t)}),0)},reportLog:function(e,t){Pr.publish("H5_USER_LOG",{event:e,desc:t||""})},getAppConfig:function(e){Pr.invokeMethod("getAppConfig",e||{},{beforeSuccess:function(e){}})},getSuperviseInfo:function(e){Pr.invokeMethod("getSuperviseInfo",e||{},{beforeSuccess:function(e){}})},setEnableDebug:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===window.__enableDebug){if(kr.beforeInvoke("setEnableDebug",e,{enableDebug:!1})){var t={errMsg:"setEnableDebug: ok"};"function"==typeof e.success&&e.success(t),"function"==typeof e.complete&&e.complete(t)}}else Pr.invokeMethod("setEnableDebug",e)},reportIDKey:function(e,t){},reportKeyValue:function(e,t){},reportAction:function(e){Pr.invokeMethod("reportAction",e)},getPublicLibVersion:function(){var e;return Pr.invokeMethod("getPublicLibVersion",{complete:function(t){t.version?e=t.version:delete(e=t).errMsg}}),e},getLaunchOptionsSync:function(){return io()},getEnterOptionsSync:function(){return no(Fr,"")},onAppShow:function(e){Vr.onMethod(e)},onWindowResize:Yr,offWindowResize:$r,onAppHide:Hr,offAppShow:Gr,offAppHide:Kr,getRandomValues:function(e){var t=e.length,n=e.success,r=e.fail,o=e.complete,i={};if("number"==typeof t)if(t<0||t>1048576||t%1!=0)i.errMsg="getRandomValues:fail invalid length. It must be >= 0 && <= 1048576 && integer","function"==typeof r&&r(i);else{for(var a=new Int8Array(t),c=0;c<t;c++)a[c]=Math.floor(256*Math.random()-128);i.errMsg="getRandomValues:ok",i.randomValues=a.buffer,"function"==typeof n&&n(i)}else i.errMsg="getRandomValues:fail parameter error: parameter.length should be Number instead of ".concat(ye()(t),";"),"function"==typeof r&&r(i);"function"==typeof o&&o(i)},checkIsOpenAccessibility:function(e){Pr.invokeMethod("checkIsOpenAccessibility",e)},getEnvConfig:function(e){Pr.invoke("loadJsFiles",{paths:["env.config.js"]},(function(t){var n;t.scripts&&t.scripts.length?(n=t.scripts[0],e.success&&e.success(n)):(n={errMsg:"getEnvConfig: fail"},e.fail&&e.fail(n)),e.complete&&e.complete(n)}))}},qo={base64ToArrayBuffer:Go.base64ToArrayBuffer,arrayBufferToBase64:Go.arrayBufferToBase64,getExtConfigSync:Go.getExtConfigSync,getExtConfig:Go.getExtConfig,reportLog:Go.reportLog,getAppConfig:Go.getAppConfig,getSuperviseInfo:Go.getSuperviseInfo,setEnableDebug:Go.setEnableDebug,reportIDKey:Go.reportIDKey,reportKeyValue:Go.reportKeyValue,reportAction:Go.reportAction,getPublicLibVersion:Go.getPublicLibVersion,getLaunchOptionsSync:Go.getLaunchOptionsSync,getEnterOptionsSync:Go.getEnterOptionsSync,getRandomValues:Go.getRandomValues,checkIsOpenAccessibility:Go.checkIsOpenAccessibility,onShow:Go.onAppShow,offShow:Go.offAppShow,onHide:Go.onAppHide,offHide:Go.offAppHide,onWindowResize:Go.onWindowResize,offWindowResize:Go.offWindowResize};function zo(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ho(e){var t="2.26.0",n="8.0.28";if(window.__wxConfig__&&__wxConfig__.compatibility&&__wxConfig__.compatibility.systemInfo){var r=__wxConfig__.compatibility.systemInfo,o=r.SDKVersion,i=r.version;t="string"==typeof o&&o?o:t,n="string"==typeof i&&i?i:n}e.SDKVersion=t,e.version=n,e.frameworkVersion=wx.version&&wx.version.version||"",e.platform=Do?"windows":e.platform}function Ko(){var e,t,n=Do?"windows":kr.getPlatform();return Pr.invokeMethod("getSystemInfoSync",{success:function(t){(e=t.data?t.data:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zo(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):zo(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},t)).platform=n},fail:function(e){t=e}}),e&&Ho(e),{data:e,err:t}}var Jo={getSystemInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ko(),n=t.data,r=t.err;for(var o in e)"function"==typeof e[o]&&(e[o]=Reporter.surroundThirdByTryCatch(e[o],"at api getSystemInfo "+o+" callback function"));n?(n.devicePixelRatio=n.pixelRatio,"function"==typeof e.success&&e.success(n)):"function"==typeof e.fail&&e.fail(r),"function"==typeof e.complete&&e.complete(n)},getSystemInfoAsync:function(e){Pr.invokeMethod("getSystemInfo",e,{beforeSuccess:function(e){Ho(e),e.errMsg=e.errMsg.replace("getSystemInfo","getSystemInfoAsync")},beforeFail:function(e){e.errMsg=e.errMsg.replace("getSystemInfo","getSystemInfoAsync")}})},getSystemInfoSync:function(){var e=Ko().data;return e&&delete e.errMsg,e.devicePixelRatio=e.pixelRatio,e}},Xo={onCheckForUpdate:null,onUpdateReady:!1,updateCallbacks:[],readycallbacks:[]};Pr.on("onCheckForUpdate",Reporter.surroundThirdByTryCatch((function(e){Xo.onCheckForUpdate=e,Xo.updateCallbacks.forEach((function(t){return t(e)}))}),"at api onCheckForUpdate callback function")),Pr.on("onUpdateReady",Reporter.surroundThirdByTryCatch((function(){Xo.onUpdateReady=!0,Xo.readycallbacks.forEach((function(e){return e()}))}),"at api onUpdateReady callback function"));var Yo={getUpdateManager:function(){return{applyUpdate:function(){Pr.invokeMethod("applyUpdate",{})},onCheckForUpdate:function(e){if("function"==typeof e){var t=Xo.onCheckForUpdate||null;if(t)return void e(t);Xo.updateCallbacks.push(e)}},onUpdateFailed:function(e){Pr.on("onUpdateFailed",Reporter.surroundThirdByTryCatch(e,"at api onUpdateFailed callback function"))},onUpdateReady:function(e){if("function"==typeof e){if(Xo.onUpdateReady)return void e();Xo.readycallbacks.push(e)}}}}},$o=new dn("LoadSubPackage");Pr.on("onLoadSubPackageTaskStateChange",(function(e){$o.emit(e.state,e.taskId,e)}));var Qo={},Zo=[],ei=new I.a,ti=new I.a,ni=function(e){return Qo[e]},ri=function(e){var t=l()({},e);return delete t.taskId,delete t.state,delete t.moduleName,t};$o.on("success",function(){var e=v()(y.a.mark((function e(t,n){var r,o,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=ni(t),delete Qo[t],o=y.a.mark((function e(){var t,o,a,c,s,u;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=function(){"function"==typeof o.success&&o.success(a),"function"==typeof o.complete&&o.complete(a)},t=n.moduleName,o=ei.get(r[i]),(a=ri(n)).errMsg="loadSubpackage:ok",Zo.push(t),s=t.endsWith(".js")?t:"".concat(t,"game.js"),R&&window.isWebviewGame&&window.subPackageLoadedList?window.subPackageLoadedList.includes(s)?c():(u=function(e){e===s&&(c(),gn("subPackageLoaded").offMethod(u))},gn("subPackageLoaded").onMethod(u)):c();case 8:case"end":return e.stop()}}),e)})),e.t0=y.a.keys(r);case 4:if((e.t1=e.t0()).done){e.next=9;break}return i=e.t1.value,e.delegateYield(o(),"t2",7);case 7:e.next=4;break;case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),$o.on("fail",(function(e,t){var n=ni(e);delete Qo[e],A()(n)&&n.forEach((function(e){var n=ei.get(e),r=ri(t);r.errMsg="loadSubpackage:fail module not found","function"==typeof n.fail&&n.fail(r),"function"==typeof n.complete&&n.complete(r)}))})),$o.on("progressUpdate",(function(e,t){var n=ni(e);A()(n)&&n.forEach((function(e){var n=ti.get(e),r=ri(t);"function"==typeof n&&n(r)}))}));var oi=function(){var e,t=this,n=ei.get(this);if(Zo.indexOf(n.name)>=0){var r={errMsg:"loadSubpackage:ok",moduleName:n.name};return"function"==typeof n.success&&n.success(r),void("function"==typeof n.complete&&n.complete(r))}if("__APP__"===n.name&&N&&__wxConfig.isIsolateContext&&4===__wxConfig.appType){Zo.push(n.name);var o={errMsg:"loadSubpackage:ok"};return"function"==typeof n.success&&n.success(o),void("function"==typeof n.complete&&n.complete(o))}if(Pr.invokeMethod("createLoadSubPackageTask",{moduleName:n.name,success:function(e){void 0===Qo[e.loadTaskId]?Qo[e.loadTaskId]=[t]:Qo[e.loadTaskId].push(t)},fail:function(t){e=t.errMsg,R&&(t.errMsg="loadSubpackage:fail module not found","function"==typeof n.fail&&__errorTracer__.surroundThirdByTryCatch(n.fail)(t),"function"==typeof n.complete&&__errorTracer__.surroundThirdByTryCatch(n.complete)(t))}}),e)throw new Error(e.replace(/createLoadSubPackageTask:fail[ :]/,""))},ii=function(){function e(t){ce()(this,e),ei.set(this,t),["success","fail","complete"].forEach((function(e){"function"==typeof t[e]&&(t[e]=__errorTracer__.surroundThirdByTryCatch(t[e],"at api loadSubpackage ".concat(e," callback function")))})),oi.call(this)}return ue()(e,[{key:"onProgressUpdate",value:function(e){ti.set(this,(function(t){"function"==typeof e&&__errorTracer__.surroundThirdByTryCatch(e,"at LoadTask.onProgressUpdate callback function")(t)}))}}]),e}(),ai={loadSubpackage:function(e){var t=l()({},e);if(kr.beforeInvoke("loadSubPackage",t,{name:""})){var n=__wxConfig.subPackages||__wxConfig.subpackages;if(n){n.forEach((function(e){t.name!==e.alias&&t.name!==e.name||(t.name=e.root)})),"__APP__"===t.name||"__GAME__"===t.name||t.name.endsWith(".js")||t.name.endsWith("/")||(t.name="".concat(t.name,"/")),"__GAME__"===t.name&&(t.name="__APP__"),t.name.startsWith("/")&&(t.name=t.name.substring(1));try{return new ii(t)}catch(e){kr.logErr("loadSubpackage",t,e.message)}}else kr.logErr("loadSubpackage",t,"Your subpackages configuration is invalid.")}}};function ci(){return{destroy:function(){},hide:function(){},offClose:function(){},offError:function(){},offLoad:function(){},offResize:function(){},onClose:function(){},onError:function(){},onLoad:function(){},onResize:function(){},show:function(){}}}var si={onShareTimeline:function(){},createRewardedVideoAd:ci,createInterstitialAd:ci,createGridAd:ci,createCustomAd:ci,createBannerAd:ci};function ui(){}F&&window.NativeGlobal&&window.NativeGlobal.createArrayBuffer&&["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"].forEach((function(e){window[e]&&(window[e]=ue()((function t(n){return ce()(this,t),window.NativeGlobal.createArrayBuffer(e,n)})))}));var fi=0,li={createCanvas:function(){var e;e=R&&!W?new NativeGlobal.Canvas("canvas"):NativeGlobal.Canvas("canvas"+fi++);var t=new ui;e.__proto__=new Proxy(e.__proto__,{setPrototypeOf:function(e,n){return t=n,!0},getPrototypeOf:function(){return t}}),e.constructor=ui;var n=["touchstart","touchend","touchmove","touchcancel"],r=kr.getPlatform();return"android"!==r&&"ios"!==r&&(n=n.concat(["mouseup","mousedown","mousemove","wheel"])),n.forEach((function(t){e.addEventListener&&e.addEventListener(t,(function(e){wx.__exeTouchEventCallback(t,e)}))})),e}},di=ue()((function e(){ce()(this,e)})),hi={createImage:function(){var e;if(W||F)return NativeGlobal.createImage();if(R){(e=new NativeGlobal.Image).constructor=di;var t=new di;e.__proto__=new Proxy(e.__proto__,{setPrototypeOf:function(e,n){return t=n,!0},getPrototypeOf:function(){return t}})}return e}},pi={startCompass:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("startCompass",e,{})},stopCompass:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopCompass",e,{})}},vi={startAccelerometer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("startAccelerometer",e,{})},stopAccelerometer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopAccelerometer",e,{})}};function gi(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function yi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gi(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):gi(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var mi=!1,bi=!1,wi=!1,ki=!1,Si=gn("accelerometerChange"),_i=gn("composeChange"),xi=gn("gyroscopeChange"),Ci=gn("deviceMotionChange"),Mi=gn("memoryWarning");Pr.on("onMemoryWarningCallback",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Mi.emit(e)})),Pr.on("onAccelerometerChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Si.emit(e)})),Pr.on("onCompassChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_i.emit(e)})),Pr.on("onGyroscopeChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};xi.emit(e)}));var Ii=null;Pr.onMethod("onUserCaptureScreen",(function(){Ii&&Ii.emit({})})),Pr.on("onDeviceMotionChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Ci.emit(e)}));var Ei,Ti=function(e){var t=new Date(1e3*e);return t.setHours(0,0,0),t.valueOf()/1e3},Pi=function(e){var t=new Date(1e3*e);return t.setSeconds(0),t.valueOf()/1e3},Ai={onMemoryWarning:function(e){"function"==typeof e&&(Mi.onMethod(e),Pr.invokeMethod("onMemoryWarning",{enable:!0}))},offMemoryWarning:function(e){if("function"==typeof e){var t=Mi.getGlobalListeners("onMemoryWarning").length;Mi.offMethod(e),0===t&&Pr.invokeMethod("onMemoryWarning",{enable:!1})}else void 0===e&&(Mi.offMethod(),Pr.invokeMethod("onMemoryWarning",{enable:!1}))},onDeviceMotionChange:function(e){return ki||(Pr.invokeMethod("enableDeviceMotion",{enable:!0,fail:Pr.noop}),ki=!0),Ci.onMethod(e)},offDeviceMotionChange:function(e){Ci.offMethod(e),ki&&0===Ci.getGlobalListeners().length&&(Pr.invokeMethod("enableDeviceMotion",{enable:!1,fail:Pr.noop}),ki=!1)},startDeviceMotionListening:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interval=e.interval||200,Pr.invokeMethod("startDeviceMotionListening",e)},stopDeviceMotionListening:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopDeviceMotionListening",e)},onGyroscopeChange:function(e){return wi||(Pr.invokeMethod("enableGyroscope",{enable:!0,fail:Pr.noop}),wi=!0),xi.onMethod(e)},offGyroscopeChange:function(e){xi.offMethod(e),wi&&0===xi.getGlobalListeners().length&&(Pr.invokeMethod("enableGyroscope",{enable:!1,fail:Pr.noop}),wi=!1)},onAccelerometerChange:function(e){return mi||(Pr.invokeMethod("enableAccelerometer",{enable:!0,fail:Pr.noop}),mi=!0),Si.onMethod(e)},offAccelerometerChange:function(e){Si.offMethod(e),mi&&0===Si.getGlobalListeners().length&&(Pr.invokeMethod("enableAccelerometer",{enable:!1,fail:Pr.noop}),mi=!1)},onCompassChange:function(e){return bi||(Pr.invokeMethod("enableCompass",{enable:!0,fail:Pr.noop}),bi=!0),_i.onMethod(e)},offCompassChange:function(e){_i.offMethod(e),bi&&0===_i.getGlobalListeners().length&&(Pr.invokeMethod("enableCompass",{enable:!1}),bi=!1)},vibrateShort:function(e){Pr.invokeMethod("vibrateShort",e)},vibrateLong:function(e){Pr.invokeMethod("vibrateLong",e)},addPhoneContact:function(e){kr.beforeInvoke("addPhoneContact",e,{firstName:""})&&Pr.invokeMethod("addPhoneContact",e||{},{beforeSuccess:function(e){}})},getScreenBrightness:function(e){Pr.invokeMethod("getScreenBrightness",e||{},{beforeSuccess:function(e){}})},setScreenBrightness:function(e){kr.beforeInvoke("setScreenBrightness",e,{value:1})&&Pr.invokeMethod("setScreenBrightness",e||{},{beforeSuccess:function(e){}})},setKeepScreenOn:function(e){kr.beforeInvoke("setKeepScreenOn",e,{keepScreenOn:!0})&&Pr.invokeMethod("setKeepScreenOn",e||{},{beforeSuccess:function(e){}})},scanCode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("scanCode",e,{})&&Pr.invokeMethod("scanCode",e,{beforeSuccess:function(e){"string"==typeof e.path&&(e.path=e.path.replace(/\.html$/,""),e.path=e.path.replace(/\.html\?/,"?"))}})},openAddress:function(e){Pr.invokeMethod("openAddress",e)},chooseContact:function(e){Pr.invokeMethod("chooseContact",e)},scanVehicle:function(e){Pr.invokeMethod("scanVehicle",e||{},{beforeAll:function(e){},beforeSuccess:function(e){}})},makePhoneCall:function(e){kr.beforeInvoke("makePhoneCall",e,{phoneNumber:""})&&Pr.invokeMethod("makePhoneCall",e)},chooseAddress:function(e){Pr.invokeMethod("openAddress",e,{beforeSuccess:function(e){kr.renameProperty(e,"addressPostalCode","postalCode"),kr.renameProperty(e,"proviceFirstStageName","provinceName"),kr.renameProperty(e,"addressCitySecondStageName","cityName"),kr.renameProperty(e,"addressCountiesThirdStageName","countyName"),kr.renameProperty(e,"addressDetailInfo","detailInfo")},beforeAll:function(e){e.errMsg=e.errMsg.replace("openAddress","chooseAddress"),delete e.err_msg}})},onUserCaptureScreen:function(e){Ii||(Pr.invokeMethod("enableUserCaptureScreenListener",{enable:!0,fail:Pr.noop}),Ii=gn("onUserCaptureScreen")),Ii.onMethod(e)},offUserCaptureScreen:function(e){Ii&&(Ii.offMethod(e),0===Ii.getGlobalListeners().length&&(Pr.invokeMethod("enableUserCaptureScreenListener",{enable:!1,fail:Pr.noop}),Ii=null))},addPhoneRepeatCalendar:function(e){kr.beforeInvoke("addPhoneRepeatCalendar",e,{title:"",startTime:0})&&(e.desc=e.description||"",delete e.description,e.endTime=e.endTime?e.endTime:e.startTime,Pr.invokeMethod("addPhoneRepeatCalendar",e))},addPhoneCalendar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(kr.beforeInvoke("addPhoneCalendar",e,{title:"",startTime:0})){e.desc=e.description||"",delete e.description;var t=e.allDay?Ti(e.startTime):Pi(e.startTime);e.endTime=e.endTime?e.endTime:e.startTime;var n=e.endTime?e.allDay?Ti(e.endTime):Pi(e.endTime):0;Pr.invokeMethod("addPhoneCalendar",yi(yi({},e),{},{startTime:t,endTime:n}))}}},Oi={showToast:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("showToast",e,{duration:{type:Number,defaultValue:1500,max:1e4},title:{required:!0,type:String,defaultValue:""},icon:{type:["success","loading","none","error"],defaultValue:"success",useError:!1},mask:{type:Boolean,defaultValue:!1},image:{type:String}}))&&Pr.invokeMethod("showToast",e)},hideToast:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={success:function(){},fail:function(){},complete:function(){}};t=kr.extend(t,e),Pr.invokeMethod("hideToast",t)},showLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("showLoading",e,{title:{required:!0,type:String,defaultValue:""},mask:{type:Boolean,defaultValue:!1}}))&&Pr.invokeMethod("showLoading",e)},hideLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={success:function(){},fail:function(){},complete:function(){}};t=kr.extend(t,e),Pr.invokeMethod("hideLoading",t)},showModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=kr.validate("showModal",e,{title:{type:String,defaultValue:""},content:{type:String,defaultValue:""},placeholderText:{type:String,defaultValue:""},confirmText:{type:String,defaultValue:"确定"},cancelText:{type:String,defaultValue:"取消"},confirmColor:{type:String,defaultValue:"dark"===window.__darkmode?"#368CE4":"#409EFF"},cancelColor:{type:String,defaultValue:"dark"===window.__darkmode?"#A5A5A5":"#000000"},showCancel:{type:Boolean,defaultValue:!0},editable:{type:Boolean,defaultValue:!1}});t&&Pr.invokeMethod("showModal",t,{beforeSuccess:function(e){e.confirm=Boolean(e.confirm)}})},showActionSheet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null===e.alertText&&(e.alertText="");var t=kr.validate("showActionSheet",e,{itemList:{type:Array,childType:String,required:!0,maxLength:6},itemColor:{type:String,defaultValue:"#000000"},alertText:{type:String,defaultValue:""}});t&&Pr.invokeMethod("showActionSheet",t,{beforeCancel:function(){try{"function"==typeof e.success&&e.success({errMsg:"showActionSheet:ok",cancel:!0})}catch(e){Reporter.thirdErrorReport({error:e,extend:"showActionSheet success callback error"})}}})},enableAlertBeforeUnload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.enable=!0,Pr.invokeMethod("enableAlertBeforeUnload",e)},disableAlertBeforeUnload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.enable=!1,e.webviewId=0,Pr.invokeMethod("disableAlertBeforeUnload",e)},getMenuButtonBoundingClientRect:function(){if(window.isIDE){var e={};return Pr.invokeMethod("getMenuButtonBoundingClientRect",{success:function(t){e=t}}),delete e.errMsg,e}var t=window.__wxConfig__,n=window.__fcjs_menuButtonBoundingClientRect&&("string"==typeof window.__fcjs_menuButtonBoundingClientRect?JSON.parse(window.__fcjs_menuButtonBoundingClientRect):window.__fcjs_menuButtonBoundingClientRect)||{},r=(n="landscape"===t.deviceOrientation?n.horizontal||{}:n.vertical||{}).left,o=n.right,i=n.width;return l()({},n,{right:o,left:r,width:i})}};function Li(e){if(""!==Ei){var t={},n=[Ei,t.__route__,e?1:0,L()(t.options||{}).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t.options[e])})).join("&")].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"Clipboard",value:n,force:!0})}}var Bi={getClipboardData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("getClipboardData",e,{})},setClipboardData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};void 0===e.showToastSDK&&(e.showToastSDK=!0),kr.beforeInvoke("setClipboardData",e,{data:""})&&Pr.invokeMethod("setClipboardData",e,{beforeSuccess:function(){Ei=e.data,Li(!0)}})},reportClipBoardData:Li},Fi=gn("screenRecording"),ji=Fi.onMethod,Ri=Fi.offMethod;Pr.on("onScreenRecordingStateChanged",(function(e){Fi.emit(e)}));var Di={onScreenRecordingStateChanged:ji,offScreenRecordingStateChanged:Ri,getScreenRecordingState:function(e){Pr.invokeMethod("getScreenRecordingState",e)},setVisualEffectOnCapture:function(e){e.visualEffect=e.visualEffect?e.visualEffect:"none",Pr.invokeMethod("setVisualEffectOnCapture",e)}};Pr.onMethod("onDeviceOrientationChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onDeviceOrientationChange").emit(e)}));var Ni={setDeviceOrientation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("setDeviceOrientation",e,{value:{type:["landscape","portrait"],defaultValue:"portrait"}}))&&Pr.invokeMethod("setDeviceOrientation",e)},onDeviceOrientationChange:function(e){gn("onDeviceOrientationChange").onMethod(e)},offDeviceOrientationChange:function(e){gn("onDeviceOrientationChange").offMethod(e)}},Ui={touchstart:[],touchmove:[],touchend:[],touchcancel:[],mousedown:[],mouseup:[],mousemove:[],wheel:[]};function Wi(e,t){if(void 0!==t){var n=Ui[e]||[],r=n.findIndex((function(e){return e===t}));r>-1&&n.splice(r,1)}else Ui[e]=[]}var Vi={mousedown:1,mouseup:1,mousemove:1,wheel:1};var Gi={onTouchStart:function(e){"function"==typeof e&&Ui.touchstart.push(e)},onTouchMove:function(e){"function"==typeof e&&Ui.touchmove.push(e)},onTouchEnd:function(e){"function"==typeof e&&Ui.touchend.push(e)},onTouchCancel:function(e){"function"==typeof e&&Ui.touchcancel.push(e)},offTouchStart:function(e){Wi("touchstart",e)},offTouchMove:function(e){Wi("touchmove",e)},offTouchEnd:function(e){Wi("touchend",e)},offTouchCancel:function(e){Wi("touchcancel",e)},__exeTouchEventCallback:function(e,t){Ui[e].forEach((function(n){n(function(e,t){if(null!=Vi[e]){var n={x:t.x,y:t.y,button:t.button,timeStamp:t.timeStamp};return"wheel"===e?Object.assign(n,{deltaX:t.deltaX,deltaY:t.deltaY,deltaZ:t.deltaZ}):n}return{type:t.type,timeStamp:t.timeStamp,changedTouches:t.changedTouches,touches:t.touches}}(e,t))}))}},qi=gn("onGameKeyDown"),zi=gn("onGameKeyUp"),Hi={DPAD_UP:"ArrowUp",DPAD_DOWN:"ArrowDown",DPAD_LEFT:"ArrowLeft",DPAD_RIGHT:"ArrowRight",DPAD_CENTER:"Enter"},Ki={19:38,20:40,21:37,22:39,23:13};Pr.on("onGameKeyDown",(function(e){e.code=Hi[e.code]||e.code,e.key=Hi[e.code]||e.code,e.keyCode=Ki[e.keyCode]||e.keyCode,qi.emit(e)})),Pr.on("onGameKeyUp",(function(e){e.code=Hi[e.code]||e.code,e.key=Hi[e.code]||e.code,e.keyCode=Ki[e.keyCode]||e.keyCode,zi.emit(e)}));var Ji={onKeyDown:function(e){qi.onMethod(e)},offKeyDown:function(e){qi.offMethod(e)},onKeyUp:function(e){zi.onMethod(e)},offKeyUp:function(e){zi.offMethod(e)},onMouseDown:function(e){"function"==typeof e&&Ui.mousedown.push(e)},onMouseMove:function(e){"function"==typeof e&&Ui.mousemove.push(e)},onMouseUp:function(e){"function"==typeof e&&Ui.mouseup.push(e)},onWheel:function(e){"function"==typeof e&&Ui.wheel.push(e)},offMouseDown:function(e){Wi("mousedown",e)},offMouseMove:function(e){Wi("mousemove",e)},offMouseUp:function(e){Wi("mouseup",e)},offWheel:function(e){Wi("wheel",e)}},Xi=n(243),Yi=n.n(Xi);function $i(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$i(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):$i(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Zi=["ascii","base64","utf-8","utf8","binary","hex","ucs2","ucs-2","utf16le","utf-16le","latin1"],ea=["a","ax","a+","ax+","as","as+","r","r+","w","wx","w+","wx+"];if("undefined"==typeof TextEncoder){window.TextEncoder=function(){},TextEncoder.prototype.encode=function(e){for(var t=e.length,n=-1,r="undefined"==typeof Uint8Array?new Array(1.5*t):new Uint8Array(3*t),o=0,i=0,a=0;a!==t;){if(o=e.charCodeAt(a),a+=1,o>=55296&&o<=56319){if(a===t){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;break}if(!((i=e.charCodeAt(a))>=56320&&i<=57343)){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;continue}if(a+=1,(o=1024*(o-55296)+i-56320+65536)>65535){r[n+=1]=240|o>>>18,r[n+=1]=128|o>>>12&63,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o;continue}}o<=127?r[n+=1]=0|o:o<=2047?(r[n+=1]=192|o>>>6,r[n+=1]=128|63&o):(r[n+=1]=224|o>>>12,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o)}return"undefined"!=typeof Uint8Array?r.subarray(0,n+1):(r.length=n+1,r)},TextEncoder.prototype.toString=function(){return"[object TextEncoder]"};try{i()(TextEncoder.prototype,"encoding",{get:function(){if(TextEncoder.prototype.isPrototypeOf(this))return"utf-8";throw TypeError("Illegal invocation")}})}catch(yf){TextEncoder.prototype.encoding="utf-8"}void 0!==nn.a&&(TextEncoder.prototype[Yi.a]="TextEncoder")}function ta(e,t,n){var r,o="";return L()(n).some((function(e){var n=t[e],i=""===n||void 0===n,a=/path/i.test(e)&&"string"==typeof n&&n.includes("..");return i&&(r=e,o="parameter is empty"),a&&(r=e,o='cannot contain ".."'),i||a}))?(kr.logErr(e,t,e+":fail the ".concat((r||"").replace(/^fat/,"")," ").concat(o)),!1):kr.beforeInvoke(e,t,n)}function na(e,t,n){var r,o=null,i=Qi(Qi({},t),{},{success:function(e){o=e.data},fail:function(e){r=e.errMsg}});if(ta(e,i,n)&&Pr.invokeMethod(e,i),r)throw new Error(r);return o}function ra(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var oa=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ra(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ra(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({saveFile:function(e){kr.beforeInvoke("saveFile",e,{tempFilePath:""})&&Pr.invokeMethod("saveFile",e)},openDocument:function(e){kr.beforeInvoke("openDocument",e,{filePath:""})&&Pr.invokeMethod("openDocument",e)},getSavedFileList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("getSavedFileList",e)},getSavedFileInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getSavedFileInfo",e,{filePath:""})&&Pr.invokeMethod("getSavedFileInfo",e)},getFileInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&void 0===e.digestAlgorithm&&(e.digestAlgorithm="md5"),kr.beforeInvoke("getFileInfo",e,{filePath:""})){if(-1===["md5","sha1"].indexOf(e.digestAlgorithm))return void kr.logErr("getFileInfo",e,'parameter error: invalid digestAlgorithm "'+e.digestAlgorithm+'"');Pr.invokeMethod("getFileInfo",e,{})}},removeSavedFile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("removeSavedFile",e,{filePath:""})&&Pr.invokeMethod("removeSavedFile",e)},base64ToTempFilePath:function(e){Pr.invokeMethod("base64ToTempFilePath",e||{},{beforeAll:function(e){},beforeSuccess:function(e){}})},fileToBase64:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("fileToBase64",e,{url:""})&&Pr.invokeMethod("fileToBase64",e)}},{getFileSystemManager:function(){return{access:function(e){ta("access",e,{path:""})&&Pr.invokeMethod("access",e)},accessSync:function(e){return na("accessSync",{path:e},{path:""})},appendFile:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):"binary"===e.encoding&&(e.encoding="utf8"),ta("appendFile",e,{filePath:""})&&Pr.invokeMethod("appendFile",e)},appendFileSync:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf-8";return-1===Zi.indexOf(n)&&(n="utf8"),t instanceof ArrayBuffer?(t=kr.arrayBufferToBase64(t),n="base64"):"binary"===n&&(n="utf8"),na("appendFileSync",{filePath:e,data:t,encoding:n},{filePath:""})},copyFile:function(e){ta("copyFile",e,{srcPath:"",destPath:""})&&Pr.invokeMethod("copyFile",e)},copyFileSync:function(e,t){return na("copyFileSync",{srcPath:e,destPath:t},{srcPath:"",destPath:""})},close:function(e){ta("close",e,{})&&Pr.invokeMethod("close",e)},closeSync:function(e){return na("closeSync",{fd:e.fd},{})},fstat:function(e){ta("fstat",e,{})&&Pr.invokeMethod("fstat",e)},fstatSync:function(e){return na("fstatSync",{fd:e.fd},{})},ftruncate:function(e){var t=e&&e.length;t=isNaN(t)?0:Number(t),ta("ftruncate",e,{})&&Pr.invokeMethod("ftruncate",Qi(Qi({},e||{}),{},{length:t}))},ftruncateSync:function(e){var t=e.fd,n=e.length;return na("ftruncateSync",{fd:t,length:n=isNaN(n)?0:Number(n)},{})},readCompressedFile(e){Pr.invokeMethod("readCompressedFile",e)},readCompressedFileSync:e=>na("readCompressedFileSync",{filePath:e.filePath,compressionAlgorithm:e.compressionAlgorithm},{compressionAlgorithm:"br"}),getFileInfo:function(e){if(kr.beforeInvoke("getFileInfo",e,{filePath:""})){if(void 0!==e.digestAlgorithm){var t=kr.beforeInvoke(e,{digestAlgorithm:""});t&&kr.logErr("getFileInfo",e,"parameter error: "+t),-1===["md5","sha1"].indexOf(e.digestAlgorithm)&&kr.logErr("getFileInfo",e,'parameter error: invalid digestAlgorithm "'+e.digestAlgorithm+'"')}Pr.invokeMethod("getFileInfo",e,{})}},getSavedFileList:function(e){Pr.invokeMethod("getSavedFileList",e)},getSavedFileInfo:function(e){kr.beforeInvoke("getSavedFileInfo",e,{filePath:""})&&Pr.invokeMethod("getSavedFileInfo",e)},mkdir:function(e){ta("mkdir",e,{dirPath:""})&&Pr.invokeMethod("mkdir",e)},mkdirSync:function(e){return na("mkdirSync",{dirPath:e,recursive:arguments.length>1&&void 0!==arguments[1]&&arguments[1]},{dirPath:""})},open:function(e){e=Qi({},e),-1===ea.indexOf(e.flag)&&(e.flag="r"),ta("open",e,{filePath:""})&&Pr.invokeMethod("open",e)},openSync:function(e){var t=e.filePath,n=e.flag,r=void 0===n?"r":n;return-1===ea.indexOf(r)&&(r="r"),na("openSync",{filePath:t,flag:r},{filePath:""})},read:function(e){var t=(e=Qi({},e)).arrayBuffer;if(ta("read",e,{arrayBuffer:new ArrayBuffer})){var n=e.success;e.success=function(e){"function"==typeof n&&n({errMsg:e.errMsg,bytesRead:e.bytesRead,arrayBuffer:kr.base64ToArrayBuffer(e.arrayBuffer)})},e.arrayBuffer=kr.arrayBufferToBase64(t),e.arrayBufferLength=t.byteLength,Pr.invokeMethod("read",e)}},readSync:function(e){(e=Qi({},e)).arrayBufferLength=e.arrayBuffer?e.arrayBuffer.byteLength:0;var t=na("readSync",e,{arrayBuffer:new ArrayBuffer});return{bytesRead:t.bytesRead,arrayBuffer:kr.base64ToArrayBuffer(t.arrayBuffer)}},readdir:function(e){ta("readdir",e,{dirPath:""})&&Pr.invokeMethod("readdir",e)},readdirSync:function(e){return na("readdirSync",{dirPath:e},{dirPath:""})},readFile:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="binary");var t=e.success;if("binary"===e.encoding&&(e.encoding="base64",e.success=function(e){e.data=kr.base64ToArrayBuffer(e.data),"function"==typeof t&&t(e)}),ta("readFile",e,{filePath:""})){var n=e,r=n.length,o=n.position;if(""===r||void 0===r)delete e.length;else{if(isNaN(r)||r<0)return void kr.logErr("readFile",e,"readFile:fail the value of length is out of range");if(null===r)return void kr.logErr("readFile",e,"readFile:fail invalid length: null");e.length=C()(r,10)}if(""===o||void 0===o)delete e.position;else{if(isNaN(o)||o<0)return void kr.logErr("readFile",e,"readFile:fail the value of position is out of range");if(null===o)return void kr.logErr("readFile",e,"readFile:fail invalid position: null");e.position=C()(o,10)}Pr.invokeMethod("readFile",e)}},readFileSync:function(e,t,n,r){var o,i={filePath:e,encoding:t,position:n,length:r};if(-1===Zi.indexOf(i.encoding)&&(i.encoding="binary"),"binary"===i.encoding&&(o=!0,i.encoding="base64"),""===r||void 0===r)delete i.length;else{if(isNaN(r)||r<0)throw new Error("readFileSync:fail the value of length is out of range");if(null===r)throw new Error("readFileSync:fail invalid length: null");i.length=C()(r,10)}if(""===n||void 0===n)delete i.position;else{if(isNaN(n)||n<0)throw new Error("readFileSync:fail the value of position is out of range");if(null===n)throw new Error("readFileSync:fail invalid position: null");i.position=C()(n,10)}var a=na("readFileSync",i,{filePath:""});return o?kr.base64ToArrayBuffer(a):a},readZipEntry:function(e){Pr.invokeMethod("readZipEntry",e)},removeSavedFile:function(e){ta("removeSavedFile",e,{filePath:""})&&Pr.invokeMethod("removeSavedFile",e)},rename:function(e){var t=Qi(Qi({},e),{},{oldPath:e.oldPath,fatNewPath:e.newPath});delete t.newPath,ta("rename",t,{oldPath:"",fatNewPath:""})&&Pr.invokeMethod("rename",t)},renameSync:function(e,t){return na("renameSync",{oldPath:e,fatNewPath:t},{oldPath:"",fatNewPath:""})},rmdir:function(e){ta("rmdir",e,{dirPath:""})&&Pr.invokeMethod("rmdir",e)},rmdirSync:function(e){return na("rmdirSync",{dirPath:e,recursive:arguments.length>1&&void 0!==arguments[1]&&arguments[1]},{dirPath:""})},saveFile:function(e){ta("saveFile",e,{tempFilePath:""})&&Pr.invokeMethod("saveFile",e)},saveFileSync:function(e){return na("saveFileSync",{tempFilePath:e,filePath:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""},{tempFilePath:""})},stat:function(e){ta("stat",e,{path:""})&&Pr.invokeMethod("stat",e)},statSync:function(e,t){return na("statSync",{path:e,recursive:t},{path:""})},truncate:function(e){ta("truncate",e,{filePath:""})&&Pr.invokeMethod("truncate",e)},truncateSync:function(e){return na("truncateSync",{filePath:e.filePath,length:e.length},{filePath:""})},unlink:function(e){ta("unlink",e,{filePath:""})&&Pr.invokeMethod("unlink",e)},unlinkSync:function(e){return na("unlinkSync",{filePath:e},{filePath:""})},unzip:function(e){e&&e.zipFilePath===e.targetPath?kr.logErr("unzip",e,"unzip:fail zipFilePath and targetPath cannot be the same"):ta("unzip",e,{zipFilePath:"",targetPath:""})&&Pr.invokeMethod("unzip",e)},write:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):("binary"===e.encoding&&(e.encoding="utf8"),delete e.offset,delete e.length),ta("write",e,{})&&Pr.invokeMethod("write",e)},writeSync:function(e){return e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):("binary"===e.encoding&&(e.encoding="utf8"),delete e.offset,delete e.length),na("writeSync",e,{})},writeFile:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):"binary"===e.encoding&&(e.encoding="utf8"),ta("writeFile",e,{filePath:"",data:""})&&Pr.invokeMethod("writeFile",e)},writeFileSync:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf-8";return-1===Zi.indexOf(n)&&(n="utf8"),t instanceof ArrayBuffer?(t=kr.arrayBufferToBase64(t),n="base64"):"binary"===n&&(n="utf8"),na("writeFileSync",{filePath:e,data:t,encoding:n},{filePath:"",data:""})}}}}),ia={beforeAll:function(e){e.errMsg=e.errMsg.replace("Game","")}};Pr.onMethod("onKeyboardInput",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardInput").emit(e)})),Pr.onMethod("onKeyboardHeightChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardHeightChange").emit(e)})),Pr.onMethod("onKeyboardConfirm",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardConfirm").emit(e)})),Pr.onMethod("onKeyboardComplete",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardComplete").emit(e)}));var aa={hideKeyboard:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("hideGameKeyboard",e,ia)},showKeyboard:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("showKeyboard",e,{defaultValue:{required:!0,type:String,defaultValue:""},maxLength:{required:!0,type:Number,defaultValue:1e3},multiple:{required:!0,type:Boolean,defaultValue:!1},confirmHold:{required:!0,type:Boolean,defaultValue:!1},confirmType:{type:["done","next","search","go","send"],defaultValue:"done",useError:!1}}))&&(e.maxLength>0&&(e.defaultValue=e.defaultValue.slice(0,e.maxLength)),Pr.invokeMethod("showGameKeyboard",e,ia))},updateKeyboard:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("updateKeyboard",e,{value:{required:!0,type:String,defaultValue:""}}))&&Pr.invokeMethod("updateGameKeyboard",e,ia)},onKeyboardInput:function(e){gn("onKeyboardInput").onMethod(e)},offKeyboardInput:function(e){gn("onKeyboardInput").offMethod(e)},onKeyboardHeightChange:function(e){gn("onKeyboardHeightChange").onMethod(e)},offKeyboardHeightChange:function(e){gn("onKeyboardHeightChange").offMethod(e)},onKeyboardConfirm:function(e){gn("onKeyboardConfirm").onMethod(e)},offKeyboardConfirm:function(e){gn("onKeyboardConfirm").offMethod(e)},onKeyboardComplete:function(e){gn("onKeyboardComplete").onMethod(e)},offKeyboardComplete:function(e){gn("onKeyboardComplete").offMethod(e)}},ca=gn("locationChangeError"),sa=gn("locationChange");function ua(e,t){var n=[];return A()(e)&&e.forEach((function(e){if(e&&"object"===ye()(e)){kr.conversionCoordinate(e,!1,t);var r=e.points;if(r&&A()(r)){var o=[];r.forEach((function(e){kr.conversionCoordinate(e,!1,t),o.push(e)})),e.points=o}}n.push(e)})),n}Pr.on("onLocationChangeError",(function(e){ca.emit(e)})),Pr.on("onLocationChange",(function(e){kr.conversionCoordinate(e),sa.emit(e)})),Pr.on("onWindowResize",(function(e){Xr.emit(e)})),ServiceJSBridge.subscribe("conversionCoordinate",(function(e){var t=e.data,n=e.uuid,r=e.webviewId,o=e.__source__,i={uuid:n},a="conversionCoordinateResponse";try{var c=t.centerLocation,s=t.latitude,u=t.longitude,f=t.region,l=t.cluster,d=t.circles,h=t.includePoints,p=t.markers,v=t.polygons,g=t.polyline;if((s||u)&&"unimplement"===kr.conversionCoordinate(t,!1,o))return i.errMsg="convertCoordinateFromMap:fail",void Pr.publish(a,i,[r]);if(c&&kr.conversionCoordinate(t.centerLocation,!1,o),f)for(var y in f)Object.hasOwnProperty.call(f,y)&&kr.conversionCoordinate(f[y],!1,o);l&&l.center&&kr.conversionCoordinate(t.cluster.center,!1,o),d&&(t.circles=ua(d,o)),h&&(t.includePoints=ua(h,o)),p&&(t.markers=ua(p,o)),v&&(t.polygons=ua(v,o)),g&&(t.polyline=ua(g,o)),i.conversionData=t}catch(e){console.error(e)}finally{Pr.publish(a,i,[r])}}));var fa={getLocation:function(e){var t=kn.getConfig();1===t.appStatus&&!1===t.hanged||Pr.invokeMethod("getLocation",e)},openLocation:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.scale;if("number"!=typeof n&&("string"!=typeof n||isNaN(n))&&(t.scale=16),null!==(e=t.name)&&void 0!==e||(t.name="位置"),kr.beforeInvoke("openLocation",t,{latitude:.1,longitude:.1})){if(t.latitude<-90||t.latitude>90)return void kr.logErr("openLocation",t,"openLocation:fail parameter error: latitude out of range");if(t.longitude<-180||t.longitude>180)return void kr.logErr("openLocation",t,"openLocation:fail parameter error: longitude out of range");kr.conversionCoordinate(t),Pr.invokeMethod("openLocation",t)}},chooseLocation:function(e){e.latitude<-90||e.latitude>90?kr.logErr("chooseLocation",e,"chooseLocation:fail parameter error: latitude out of range"):e.longitude<-180||e.longitude>180?kr.logErr("chooseLocation",e,"chooseLocation:fail parameter error: longitude out of range"):(kr.conversionCoordinate(e),Pr.invokeMethod("chooseLocation",e))},choosePoi:function(e){kr.conversionCoordinate(e),Pr.invokeMethod("choosePoi",e)},startLocationUpdate:function(e){Pr.invokeMethod("startLocationUpdate",e)},startLocationUpdateBackground:function(e){Pr.invokeMethod("startLocationUpdateBackground",e)},onLocationChangeError:function(e){ca.onMethod(e)},offLocationChangeError:function(e){ca.offMethod(e)},onLocationChange:function(e){sa.onMethod(e)},offLocationChange:function(e){sa.offMethod(e)},stopLocationUpdate:function(e){Pr.invokeMethod("stopLocationUpdate",e)}},la={showShareMenu:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("showShareMenu",e,{})&&Pr.invokeMethod("showShareMenu",{menus:e.menus,success:e.success,fail:e.fail,complete:e.complete})},hideShareMenu:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("hideShareMenu",e,{})&&Pr.invokeMethod("hideShareMenu",{menus:e.menus,success:e.success,fail:e.fail,complete:e.complete})}},da=0,ha={};function pa(){return da++}var va=ue()((function e(t,n,r){ce()(this,e),this._src="",this.tempSrc="",this.imageId=r,this.width=0,this.height=0,this.onload=null,this.onerror=null,ha[r]=this,i()(this,"src",{get:function(){return this._src},set:function(e){var r=this;this._src=e,e&&(!/^http(s)?:/.test(e)&&(r.tempSrc=e),wx.getImageInfo({src:e,success:function(e){r.tempSrc=e.path.startsWith("hyfile")?e.path:"/".concat(e.path),r.width=e.width,r.height=e.height,r.complete=!0,Na({canvasId:t,canvasNumber:n||Ja(Ra(void 0,t)),reserve:!0,actions:[{method:"preloadImage",data:[r.tempSrc],imageId:r.imageId}],mode:"default"})},fail:function(e){"function"==typeof r.onerror&&r.onerror({target:r})}}))}})}));function ga(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ga(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}ServiceJSBridge.subscribe("onCanvasPreloadImage",(function(e){var t=e.imageId,n=e.type,r=ha[t],o="onload"===n;!r||"Function"!==K(r[n])||o&&r._loaded||(r[n]({target:r}),o&&(r._loaded=!0))}));var ma=!1;function ba(e,t){var n=function(e,t){if(e[0].length!==t.length)return t;for(var n=e.length,r=e[0].length,o=t[0].length,i=new Array(n).fill(0).map((function(e){return new Array(o).fill(0)})),a=0;a<n;a++)for(var c=0;c<o;c++)for(var s=0;s<r;s++)i[a][c]+=e[a][s]*t[s][c];return i}([[e.a,e.c,e.e],[e.b,e.d,e.f],[0,0,1]],[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),r=k()(n,2),o=k()(r[0],3),i=o[0],a=o[1],c=o[2],s=k()(r[1],3);return{a:i,b:s[0],c:a,d:s[1],e:c,f:s[2]}}function wa(e){var t=null;if("transparent"===e||"none"===e||!e)return[0,0,0,0];if(8!==e.length&&null!=(t=/^#([0-9|A-F|a-f]{6,8})$/.exec(e)))return[C()(t[1].slice(0,2),16),C()(t[1].slice(2,4),16),C()(t[1].slice(4,6),16),C()(t[1].slice(6)||"ff",16)];if(null!=(t=/^#([0-9|A-F|a-f]{3,4})$/.exec(e))){var n=t[1].slice(0,1),r=t[1].slice(1,2),o=t[1].slice(2,3),i=t[1].slice(3)||"f";return[n=C()(n+n,16),r=C()(r+r,16),o=C()(o+o,16),i=C()(i+i,16)]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return C()(e.trim())})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){var n=Number(e.trim());return 3===t&&n<=1&&(n*=255),Math.min(255,C()(n))}));var a=e.toLowerCase();return Object.prototype.hasOwnProperty.call(re,a)?(t=/^#([0-9|A-F|a-f]{6})$/.exec(re[a]),[C()(t[1].slice(0,2),16),C()(t[1].slice(2,4),16),C()(t[1].slice(4),16),255]):[0,0,0,255]}var ka=ue()((function e(t,n,r,o,i){ce()(this,e),t instanceof va?this.image=t.tempSrc:(/^(hyfile|http|\/)/.test(t)?this.image=t:this.image="/"+kr.getRealRoute(window.__path__,t,!1),Na({canvasId:r,canvasNumber:o,reserve:!0,actions:[{method:"preloadImage",data:[this.image],imageId:pa()}],from:i})),this.repetition=n}));function Sa(e,t,n){"string"==typeof n?Ia(e,{method:t,data:["normal",wa(n)]}):n instanceof ka?Ia(e,{method:t,data:["pattern",n.image,n.repetition]}):n instanceof Ma&&Ia(e,{method:t,data:[n.type,n.data,n.colorStop]})}var _a=["scale","rotate","translate","setTransform","transform"],xa=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Ca=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"],Ma=function(){function e(t,n){ce()(this,e),this.type=t,this.data=n,this.colorStop=[]}return ue()(e,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,wa(t)])}}]),e}();function Ia(e,t){!e.pending&&e.autoDraw&&(e.pending=!0,Gn((function(){e.draw(!0),e.pending=!1}))),e.actions.push(t)}var Ea=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ce()(this,e),this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.canvasId=t,this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",transform:{a:1,b:0,c:0,d:1,e:0,f:0}},this.pending=!1;var a=o.mode,c=void 0===a?"default":a,s=o.canvasNumber,u=o.autoDraw,f=void 0!==u&&u,l=o.from;this.mode=c,this.autoDraw=f,this.from=l,s?(this.canvasNumber=s,Ka(s,this)):n?(this.canvasNumber=Ra(void 0,t,n),Ka(this.canvasNumber,this)):this.canvasId&&Ka(Ra(void 0,this.canvasId),this),this.listenProps=["fillStyle","strokeStyle","font","globalAlpha","textAlign","lineCap","lineJoin","lineWidth","miterLimit","textBaseline","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","globalCompositeOperation","lineDashOffset"];var d=this,h=function(){var e=r.listenProps[p],t=r[e];i()(r,e,{get:function(){return t},set:function(t){var n="set"+e,r="set"+n[3].toUpperCase()+n.slice(4);switch(e){case"fillStyle":case"strokeStyle":t&&Sa(d,r,t);break;case"font":!function(e,t,n){function r(){Ia(e,{method:"setFontWeight",data:["normal"]}),e.state.fontWeight="normal"}var o=e;e.state.font=n;var i=n.match(/^(([\w-]+\s)*)([\d.]+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(i){var a=i[1].trim().split(/\s/),c=An()(i[3]),s=i[7],u=[],f="";if(a.forEach((function(t,n){["italic","oblique","normal"].indexOf(t)>-1?(u.push({method:"setFontStyle",data:[t]}),o.state.fontStyle=t):["bold","normal"].indexOf(t)>-1?(u.push({method:"setFontWeight",data:[t]}),o.state.fontWeight=t):0===n?(Ia(e,{method:"setFontStyle",data:["normal"]}),e.state.fontStyle="normal"):1===n&&r()})),1===a.length)return r(),f=u.map((function(e){return e.data[0]})).join(" "),e.state.fontSize=c,e.state.fontFamily=s,void Ia(e,{method:"setFont",data:[f=f+" "+c+"px "+s]});e.actions.push.apply(e.actions,u),Ia(e,{method:"setFontSize",data:[c]}),Ia(e,{method:"setFontFamily",data:[s]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.")}(d,0,t);break;case"globalAlpha":isNaN(t)||Ia(d,{method:"setGlobalAlpha",data:[Math.floor(255*An()(t))]});break;case"shadowBlur":Ia(d,{method:"setShadow",data:[d.state.shadowOffsetX,d.state.shadowOffsetY,t,d.state.shadowColor]}),d.state.shadowBlur=t;break;case"shadowColor":var o=wa(t);Ia(d,{method:"setShadow",data:[d.state.shadowOffsetX,d.state.shadowOffsetY,d.state.shadowBlur,o]}),d.state.shadowColor=o;break;case"shadowOffsetX":Ia(d,{method:"setShadow",data:[t,d.state.shadowOffsetY,d.state.shadowBlur,d.state.shadowColor]}),d.state.shadowOffsetX=t;break;case"shadowOffsetY":Ia(d,{method:"setShadow",data:[d.state.shadowOffsetX,t,d.state.shadowBlur,d.state.shadowColor]}),d.state.shadowOffsetY=t;break;default:Ia(d,{method:r,data:[t]})}},configurable:!0})};for(var p in this.listenProps)h();if("native"===c&&(window.isNewCanvasSupported||ma)){var v={drawImage:1},g=[].concat(_a,xa,["rect","beginPath","moveTo","closePath","lineTo","quadraticCurveTo","bezierCurveTo","arc","arcTo","clip","stroke","fill"]),y=function(){var e=g[m];if(v[e])return 1;r[e]=function(){Ia(this,{method:e,data:[].slice.apply(arguments)})}};for(var m in g)y()}}return ue()(e,[{key:"getActions",value:function(){var e=J(this.actions);return this.actions=[],this.path=[],this.subpath=[],e}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"draw",value:function(e,t,n){if(this.actions.length){var r=J(this.actions);this.actions=[],Na({canvasId:this.canvasId,canvasNumber:this.canvasNumber,actions:r,reserve:Boolean(e),callback:t,from:this.from})}}},{key:"createLinearGradient",value:function(e,t,n,r){return new Ma("linear",[e,t,n,r])}},{key:"createCircularGradient",value:function(e,t,n){return new Ma("radial",[e,t,n])}},{key:"createRadialGradient",value:function(e,t,n,r,o,i){return new Ma("radial",[e,t,n,r,o,i])}},{key:"measureText",value:function(e){return e?Ga({canvasId:this.canvasId,canvasNumber:this.canvasNumber,mode:this.mode,method:"measureText",data:{font:this.state.font,text:e},from:this.from}):{width:0}}},{key:"createImageData",value:function(e,t){return"object"===ye()(e)&&e.width&&e.height&&(t=(e=e.width).height),{data:new Uint8ClampedArray(e*t*4),width:e,height:t}}},{key:"getImageData",value:function(e,t,n,r){var o=Ga({canvasId:this.canvasId,canvasNumber:this.canvasNumber,mode:this.mode,method:"getImageData",data:{x:e,y:t,width:n,height:r},from:this.from});return o.data&&(o.data=kr.base64ToUint8ClampedArray(o.data)),o}},{key:"putImageData",value:function(e,t,n,r,o,i,a){return(e={width:e.width,height:e.height,data:e.data}).data&&(e.data=kr.uint8ClampedArrayToBase64(e.data)),Ga({canvasId:this.canvasId,canvasNumber:this.canvasNumber,mode:this.mode,method:"putImageData",data:{imgData:e,x:t,y:n,dirtyX:r,dirtyY:o,dirtyWidth:i,dirtyHeight:a},from:this.from})}},{key:"save",value:function(){Ia(this,{method:"save",data:[]}),this.drawingState.push(J(this.state))}},{key:"restore",value:function(){this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",transform:{a:1,b:0,c:0,d:1,e:0,f:0}},Ia(this,{method:"restore",data:[]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}},{key:"rect",value:function(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]],"native"!==this.mode&&"android"===kr.getPlatform()&&this.path.push({method:"closePath",data:[]})}},{key:"getLineDash",value:function(){return this.state.lineDash}},{key:"beginPath",value:function(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}},{key:"moveTo",value:function(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"lineTo",value:function(e,t){(isNaN(e)||isNaN(t))&&console.error("Failed to execute 'lineTo' on 'CanvasContext': invalid arguments."),0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[].slice.apply(arguments)}):this.path.push({method:"lineTo",data:[].slice.apply(arguments)}),this.subpath.push([e,t])}},{key:"quadraticCurveTo",value:function(e,t,n,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}},{key:"bezierCurveTo",value:function(e,t,n,r,o,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,o,i]}),this.subpath.push([o,i])}},{key:"arc",value:function(e,t,n,r,o,i){return this.path.push({method:"arc",data:[e,t,n,r,o,Boolean(i)]}),this.subpath.push([e,t])}},{key:"arcTo",value:function(e,t,n,r,o){return this.path.push({method:"arcTo",data:[e,t,n,r,o]}),this.subpath.push([n,r])}},{key:"getTransform",value:function(){return this.state.transform}},{key:"clip",value:function(){Ia(this,{method:"clip",data:J(this.path)})}},{key:"createPattern",value:function(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(-1!==["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t))return new ka(e,t,this.canvasId,this.canvasNumber,this.from);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}}]),e}();[].concat(_a,xa).forEach((function(e){switch(e){case"fill":Ea.prototype[e]=function(){Ia(this,{method:"fillPath",data:J(this.path)}),this.closePath()};break;case"stroke":Ea.prototype[e]=function(){Ia(this,{method:"strokePath",data:J(this.path)})};break;case"fillRect":Ea.prototype[e]=function(e,t,n,r){Ia(this,{method:"fillPath",data:[{method:"rect",data:[e,t,n,r]}]})};break;case"strokeRect":Ea.prototype[e]=function(e,t,n,r){Ia(this,{method:"strokePath",data:[{method:"rect",data:[e,t,n,r]}]})};break;case"fillText":case"strokeText":Ea.prototype[e]=function(t,n,r,o){var i=[t.toString(),n,r];"number"==typeof o&&i.push(o),Ia(this,{method:e,data:i})};break;case"transform":Ea.prototype[e]=function(t,n,r,o,i,a){[t,n,r,o,i,a].some((function(e){return isNaN(e)}))||(this.state.transform=ba(ya({},this.state.transform),{a:t,b:n,c:r,d:o,e:i,f:a}),Ia(this,{method:e,data:[t,n,r,o,i,a]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]}))};break;case"setTransform":Ea.prototype[e]=function(t,n,r,o,i,a){[t,n,r,o,i,a].some((function(e){return isNaN(e)}))||(this.state.transform={a:t,b:n,c:r,d:o,e:i,f:a},Ia(this,{method:e,data:[t,n,r,o,i,a]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]}))};break;case"scale":Ea.prototype[e]=function(t,n){if(isNaN(t)||isNaN(n))console.error('Failed to execute "scale", arguments invalid');else{var r=this.state.transform;this.state.transform=ba(ya({},r),{a:t,b:0,c:0,d:n,e:0,f:0}),Ia(this,{method:e,data:[].slice.apply(arguments)}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}};break;case"rotate":Ea.prototype[e]=function(t){if(!isNaN(t)){var n=Math.cos(t),r=Math.sin(t),o=-Math.sin(t),i=Math.cos(t),a=this.state.transform;this.state.transform=ba(ya({},a),{a:n,b:r,c:o,d:i,e:0,f:0}),Ia(this,{method:e,data:[t]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}};break;case"translate":Ea.prototype[e]=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!isNaN(t)&&!isNaN(n)){var r=this.state.transform;this.state.transform=ba(ya({},r),{a:1,b:0,c:0,d:1,e:t,f:n}),Ia(this,{method:e,data:[t,n]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}};break;case"drawImage":Ea.prototype[e]=function(){var t=arguments[0];if(t instanceof va)arguments[0]=t.tempSrc;else{if("string"!=typeof t)return;/^(hyfile|http|\/)/.test(t)||(arguments[0]="/"+kr.getRealRoute(window.__path__,t,!1)),Na({canvasId:this.canvasId,canvasNumber:this.canvasNumber,reserve:!0,actions:[{method:"preloadImage",data:[arguments[0]],imageId:pa()}],from:this.from})}Ia(this,{method:e,data:[].slice.apply(arguments)})};break;default:Ea.prototype[e]=function(){Ia(this,{method:e,data:[].slice.apply(arguments)})}}})),Ca.forEach((function(e){switch(e){case"setFillStyle":case"setStrokeStyle":Ea.prototype[e]=function(t){Sa(this,e,t)};break;case"setGlobalAlpha":Ea.prototype[e]=function(t){isNaN(t)||Ia(this,{method:e,data:[Math.floor(255*An()(t))]})};break;case"setShadow":Ea.prototype[e]=function(){var t=[].slice.apply(arguments,[0,4]);"string"==typeof t[3]&&(this.state.shadowColor=t[3]=wa(t[3])),Ia(this,{method:e,data:t}),this.state.shadowBlur=t[2],this.state.shadowOffsetX=t[0],this.state.shadowOffsetY=t[1]};break;case"setLineDash":Ea.prototype[e]=function(){var t=[].slice.apply(arguments,[0,2]);t[0]=t[0]&&t[0].length?t[0]:[0,0],t[1]=t[1]||0,Ia(this,{method:e,data:t}),this.state.lineDash=t[0]};break;case"setFontSize":Ea.prototype.setFontSize=function(e){this.state.font=this.state.font.replace(/\d+\.?\d*px/,e+"px"),this.state.fontSize=e,Ia(this,{method:"setFontSize",data:[e]})};break;default:Ea.prototype[e]=function(){Ia(this,{method:e,data:[].slice.apply(arguments,[0,1])})}}})),Fo&&Pr.onMethod("onWindowInjected",(function(e,t){F&&e.isCanvasEmbedSupported&&(ma=e.isCanvasEmbedSupported)}));var Ta,Pa={Context:Ea,apiList:["createLinearGradient","createCircularGradient","measureText","save","restore","rect","beginPath","moveTo","closePath","lineTo","quadraticCurveTo","bezierCurveTo","arc","arcTo"].concat(Ca,xa,_a)};function Aa(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Aa(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Aa(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var La=0,Ba={},Fa=window.document,ja=Fa?Fa.createElement.bind(Fa):void 0;if(void 0!==Fa&&ja&&!N)try{Ta=ja("canvas").getContext("2d")}catch(yf){console.warn(yf)}function Ra(e,t,n){var r=n&&(n.__wxExparserNodeId__||n._defaultComponent.__wxExparserNodeId__)||"";return"canvas_".concat(e||La,"_").concat(t)+(r?"_".concat(r):"")}function Da(e,t,n){"native"===t.mode?ServiceJSBridge[Oo?"invokeV2":"invoke"]("drawCanvas",{canvasId:e,actions:t.actions,reserve:t.reserve},n):(wx.onCanvasEvent({fn:n,canvasId:e}),ServiceJSBridge.publish("canvas"+e+"actionsChanged",t,[La]))}function Na(e){var t=e.canvasId,n=e.canvasNumber,r=e.actions,o=e.reserve,i=e.from,a=Ra(La,t);if(t&&A()(r)){n||(n=Ja(a));var c=Ba[n]||{},s=e.mode||c.mode,u=c.isReady;n&&u?Da(n,{actions:r,reserve:o,mode:s,from:i},e.callback):(Ba[a=n||a]=Ba[a]||{cacheActions:[]},Ba[a].cacheActions=Ba[a].cacheActions.concat({actions:r,reserve:o,callback:e.callback,from:i}))}}var Ua=function(e){var t=e.canvasId,n=e.canvasNumber,r=e.actions;if(t){var o=Ba[n]||{},i=o.mode,a=o.isReady;if(e={actions:r,reserve:!1,mode:i,from:"createSelectorQuery"},n&&a)Da(n,e);else{var c=n||Ra(La,t);Ba[c]=Ba[c]||{cacheActions:[]},Ba[c].cacheActions=Ba[c].cacheActions.concat(e)}}},Wa={},Va={measureText:function(e){var t=e.data,n=t.font,r=t.text;if(Ta)return Ta.font=n,Ta.measureText(r);if(Wa[n]&&Wa[n][r])return Wa[n][r];var o=null,i=null;return Pr.invokeMethod("canvasMethod",{method:"measureText",data:{font:n,text:r},success:function(e){o=e.data,Wa[n]=Wa[n]||{},Wa[n][r]=o},fail:function(e){i=e.errMsg}}),i&&console.warn(i),o},putImageData:function(e){var t=e.data,n=[t.imgData,t.x,t.y,t.dirtyX,t.dirtyY,t.dirtyWidth,t.dirtyHeight],r=null;Pr.invokeMethod("canvasMethod",{method:"putImageData",canvasNumber:e.canvasNumber,data:n,success:function(e){e.data},fail:function(e){r=e.errMsg}}),r&&console.warn(r)},getImageData:function(e){var t=e.data,n=[t.x,t.y,t.width,t.height],r=null,o=null;return Pr.invokeMethod("canvasMethod",{method:"getImageData",canvasNumber:e.canvasNumber,data:n,success:function(e){r=e.data},fail:function(e){o=e.errMsg}}),o&&console.warn(o),r},toDataURL:function(e){var t=null,n=null;return Pr.invokeMethod("canvasMethod",{method:"toDataURL",canvasNumber:e.canvasNumber,data:e.data||[],success:function(e){t=e.data},fail:function(e){n=e.errMsg}}),n&&console.warn(n),t}};function Ga(e){var t=e.method,n=e.mode,r=e.canvasNumber;if("native"===n&&r)return function(e,t){var n=null,r=null;return Pr.invokeMethod("drawCanvasSync",Oa(Oa({},t),{},{canvasId:e,success:function(e){n=e.data},fail:function(e){r=e.errMsg}})),r&&console.warn(r.replace(":"," ".concat(t.method,":")),e),n}(r,e);var o=Va[t];return"function"==typeof o?o(e):void 0}var qa={canvasToTempFilePath:function(e){"native"===(e=Oa({},e)).mode?Pr.invokeMethod("invokeCanvasApi",Oa(Oa({},e),{},{method:"canvasToTempFilePath"}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("invokeCanvasApi","canvasToTempFilePath")}}):"offscreen"===e.mode||(ServiceJSBridge.subscribe("onCanvasToDataUrl_"+e.canvasId,(function(t){var n=t.dataUrl,r=t.width,o=t.height,i=e,a=i.x,c=void 0===a?0:a,s=i.y,u=void 0===s?0:s,f=i.width,l=void 0===f?r:f,d=i.height,h=void 0===d?o:d,p=i.destWidth,v=i.destHeight,g=wx.getSystemInfoSync().pixelRatio;c=Math.max(0,isNaN(c)?0:c),u=Math.max(0,isNaN(u)?0:u),l=Math.max(0,isNaN(l)?r:l||r),h=Math.max(0,isNaN(h)?o:h||o),p=Math.max(0,isNaN(p)||p<=0?r*g:p),v=Math.max(0,isNaN(v)||v<=0?o*g:v),c>=r&&(c=0),u>=o&&(u=0),l>r&&(l=r),h>o&&(h=o),c+l>r&&(l=r-c),u+h>o&&(h=o-u);var y=Oa(Oa({},e),{},{x:c,y:u,width:l,height:h,destWidth:p,destHeight:v});Pr.invokeMethod("base64ToTempFilePath",kr.assign({base64Data:n},y),{beforeAll:function(e){e.errMsg=e.errMsg.replace("base64ToTempFilePath","canvasToTempFilePath")}})})),delete e.canvas,Gn((function(){Pr.publish("invokeCanvasToDataUrl_"+e.canvasId,kr.assign({canvasId:e.canvasId},e),[La])})))},canvasPutImageData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Oa({},e)).x=e.x||0,e.y=e.y||0;var t=null;e.data&&"object"===ye()(e.data)?e.data=kr.uint8ClampedArrayToBase64(e.data):t={errMsg:"canvasPutImageData:fail data invalid"},isNaN(e.width)&&(t={errMsg:"canvasPutImageData:fail invalid width argument"}),isNaN(e.height)&&(t={errMsg:"canvasPutImageData:fail invalid height argument"});var n=e.width*e.height;if(!t&&n>(e.data.length||e.data.byteLength)&&(t={errMsg:"canvasPutImageData:fail invalid data format"}),t)return"function"==typeof e.fail&&e.fail(t),void("function"==typeof e.complete&&e.complete(t));if(e.width=Math.max(e.width,0),e.height=Math.max(e.height,0),/(native|offscreen)/.test(e.mode)){var r={errMsg:"canvasPutImageData:fail canvas is native component, use context.putImageData instead"};"function"==typeof e.fail&&e.fail(r),"function"==typeof e.complete&&e.complete(r)}else ServiceJSBridge.subscribe("onCanvasPutImageData_"+e.canvasId,(function(){var t={errMsg:"canvasPutImageData:ok"};"function"==typeof e.success&&e.success(t),"function"==typeof e.complete&&e.complete(t)})),Pr.publish("invokeCanvasPutImageData_"+e.canvasId,kr.assign({canvasId:e.canvasId},e),[La])},canvasGetImageData:function(e){var t;if((e=Oa({},e)).x=Math.max(0,e.x),e.y=Math.max(0,e.y),e.width||(t={errMsg:"canvasGetImageData:fail the source width is 0"}),e.height||(t={errMsg:"canvasGetImageData:fail the source height is 0"}),/(native|offscreen)/.test(e.mode)&&(t={errMsg:"canvasPutImageData:fail canvas is native component, use context.getImageData instead"}),t)return"function"==typeof e.fail&&e.fail(t),void("function"==typeof e.complete&&e.complete(t));ServiceJSBridge.subscribe("onCanvasGetImageData_"+e.canvasId,(function(t){var n={data:kr.base64ToUint8ClampedArray(t.data),width:t.width,height:t.height};"function"==typeof e.success&&e.success(n),"function"==typeof e.complete&&e.complete(n)})),Pr.publish("invokeCanvasGetImageData_"+e.canvasId,kr.assign({canvasId:e.canvasId},e),[La])}};function za(e,t,n){var r=t.canvasId||t.canvas&&t.canvas._canvasId;if(r){var o=Ra(La,r),i=Ha[o];if(void 0!==Ba[i]){t.canvasId=i,t.mode=Ba[i].mode;var a=qa[e];"function"==typeof a&&a(t)}else{var c={errMsg:"".concat(e,":fail canvas is empty")};"function"==typeof t.fail&&t.fail(c),"function"==typeof t.complete&&t.complete(c)}}else{var s={errMsg:"".concat(e,":fail canvasId invalid")};"function"==typeof t.fail&&t.fail(s),"function"==typeof t.complete&&t.complete(s)}}var Ha={};function Ka(e,t){Ba[e]=Ba[e]||{cacheActions:[]},Ba[e].context=t}function Ja(e){return Ha[e]}function Xa(e){e.context&&(e.context.mode=e.mode,e.context.canvasNumber=e.canvasNumber,delete e.context),A()(e.cacheActions)&&(e.cacheActions.forEach((function(t){Da(e.canvasNumber,{actions:t.actions,reserve:t.reserve,mode:e.mode,from:t.from},t.callback)})),e.cacheActions=[])}ServiceJSBridge.subscribe("canvasInsert",(function(e){var t=e.canvasId,n=e.canvasNumber,r=e.webviewId,o=e.data,i=e.mode||"default",a=Ra(r,t);if(Ha[a]=n,Ba[a]){var c=Oa(Oa({cacheActions:[]},Ba[a]||{}),{},{lastTouches:[],data:o,mode:i,canvasNumber:n,isReady:!0});delete Ba[a],Ba[n]=c,Xa(c)}else Xa(Ba[n]=Oa(Oa({cacheActions:[]},Ba[n]||{}),{},{lastTouches:[],data:o,mode:i,canvasNumber:n,isReady:!0}))})),ServiceJSBridge.subscribe("canvasRemove",(function(e,t){var n=e.canvasId,r=e.canvasNumber,o=Ra(e.webviewId,n);delete Ha[o],delete Ba[r]}));!function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ce()(this,e),this._canvasId=t,this._canvasNumber=t,this._target=n,this._options=r,this.width=r.width,this.height=r.height}ue()(e,[{key:"width",get:function(){return this._width},set:function(e){this._width=e;var t=(this._options||{}).canvas;t?t.width=e:Ua({canvasId:this._canvasId,canvasNumber:this._canvasId,actions:[{method:"setSize",data:[this._width,this._height]}]})}},{key:"height",get:function(){return this._height},set:function(e){this._height=e;var t=(this._options||{}).canvas;t?t.height=e:Ua({canvasId:this._canvasId,canvasNumber:this._canvasId,actions:[{method:"setSize",data:[this._width,this._height]}]})}},{key:"getContext",value:function(){var t=(this._options||{}).canvas;if(t){var n=t.getContext("2d"),r=n.drawImage;return n.drawImage=function(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];o[0]instanceof e&&(o[0]=o[0]._options.canvas),r.apply(n,o)},n}return new Pa.Context(this._canvasId,this._target,this._options)}},{key:"createImage",value:function(){var e=(this._options||{}).canvas;if(e){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.createImage.apply(e,n)}return function(e,t){return new va(e,t,pa())}(this._canvasId,this._canvasId)}}])}();var Ya=function(e){La=e};za.bind(null,"canvasToTempFilePath"),za.bind(null,"canvasGetImageData"),za.bind(null,"canvasPutImageData");function $a(e){Za=e}function Qa(e,t){return e+"map"+t}var Za=0;function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(arguments.length>1?arguments[1]:void 0).windowPath;if(!/(https?|file|wdfile|hyfile):/i.test(e)&&!/^\s*data:image/.test(e))if("/"===e.substring(0,1))e=e.startsWith("//")?"https:"+e:e.substr(1);else if(e.startsWith("./")){var n=t.split("/").slice(0,-1);e="/".concat(n.join("/")).concat(n.length?"/":"").concat(e.slice(2))}else if(e.startsWith("../")){var r=e.match(/(\.\.\/)/g)||[],o=r.length?t.split("/").slice(0,-(r.length+1)):t.split("/");e="/".concat(o.join("/")).concat(o.length?"/":"").concat(e.replace(/\.\.\//g,""))}return e}var tc=function(){function e(t){if(ce()(this,e),"string"!=typeof t)throw new Error("map ID should be a String");this.key=Qa(Za,t)}return ue()(e,[{key:"addCustomLayer",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,this.publishMapEvent({eventName:this.preName+"addCustomLayer",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"addGroundOverlay",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,e.bounds&&(e.bounds.southwest&&kr.conversionCoordinate(e.bounds.southwest),e.bounds.northeast&&kr.conversionCoordinate(e.northeast)),this.publishMapEvent({eventName:this.preName+"addGroundOverlay",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"addMarkers",value:function(e){var t=this;kr.beforeInvoke("addMarkers",e,{markers:[]})&&(e.markers.forEach((function(e){kr.conversionCoordinate(e,!1),e.iconPath&&(e.iconPath=ec(e.iconPath,t.info||{}))})),this.publishMapEvent({eventName:this.preName+"addMarkers",key:this.key,opt:e,mapId:this.mapId}),R&&this.publishToView({mapId:this.info.mapId,clear:e.clear,markers:e.markers.filter((function(e){return e.customCallout}))}))}},{key:"fromScreenLocation",value:function(e){kr.beforeInvoke("fromScreenLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"fromScreenLocation",key:this.key,opt:e,mapId:this.mapId}))}},{key:"getCenterLocation",value:function(e){kr.beforeInvoke("getCenterLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"getCenterLocation",key:this.key,opt:e,mapId:this.mapId}))}},{key:"getRegion",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getRegion",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"getRegion",key:this.key,opt:e,mapId:this.mapId}))}},{key:"getRotate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getRotate",e,{})&&this.publishMapEvent({eventName:this.preName+"getRotate",key:this.key,opt:e,mapId:this.mapId})}},{key:"getScale",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getScale",e,{})&&this.publishMapEvent({eventName:this.preName+"getScale",key:this.key,opt:e,mapId:this.mapId})}},{key:"getSkew",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getSkew",e,{})&&this.publishMapEvent({eventName:this.preName+"getSkew",key:this.key,opt:e,mapId:this.mapId})}},{key:"includePoints",value:function(e){if(kr.beforeInvoke("includePoints",e,{points:[]})){if(e.points){var t=[];e.points.forEach((function(e){kr.conversionCoordinate(e),t.push(e)})),e.points=t}this.publishMapEvent({eventName:this.preName+"includePoints",key:this.key,opt:e,mapId:this.mapId,trans:!1})}}},{key:"initMarkerCluster",value:function(e){kr.beforeInvoke("initMarkerCluster",e,{})&&this.publishMapEvent({eventName:this.preName+"initMarkerCluster",key:this.key,opt:e,mapId:this.mapId})}},{key:"moveAlong",value:function(e){if(kr.beforeInvoke("moveAlong",e,{markerId:1,path:[],duration:1})){var t=e.path||[],n=[];t.forEach((function(e){kr.conversionCoordinate(e,!1),n.push(e)})),e.path=n,this.publishMapEvent({eventName:this.preName+"moveAlong",key:this.key,opt:e,mapId:this.mapId,trans:!1})}}},{key:"moveToLocation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("moveToLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"moveToLocation",key:this.key,opt:e,mapId:this.mapId,trans:!1}))}},{key:"openMapApp",value:function(e){kr.beforeInvoke("openMapApp",e,{longitude:1,latitude:1,destination:""})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"openMapApp",key:this.key,opt:e,mapId:this.mapId,trans:!1}))}},{key:"removeCustomLayer",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,this.publishMapEvent({eventName:this.preName+"removeCustomLayer",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"removeGroundOverlay",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,this.publishMapEvent({eventName:this.preName+"removeGroundOverlay",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"removeMarkers",value:function(e){kr.beforeInvoke("removeMarkers",e,{markerIds:[]})&&this.publishMapEvent({eventName:this.preName+"removeMarkers",key:this.key,opt:e,mapId:this.mapId})}},{key:"setCenterOffset",value:function(e){void 0===e.offset&&(e.offset=[.5,.5]),this.publishMapEvent({eventName:this.preName+"setCenterOffset",key:this.key,opt:e,mapId:this.mapId})}},{key:"setLocMarkerIcon",value:function(e){e.iconPath&&(e.iconPath=ec(e.iconPath,this.info||{})),kr.beforeInvoke("setLocMarkerIcon",e,{})&&this.publishMapEvent({eventName:this.preName+"setLocMarkerIcon",key:this.key,opt:e,mapId:this.mapId})}},{key:"toScreenLocation",value:function(e){kr.beforeInvoke("toScreenLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"toScreenLocation",key:this.key,opt:e,mapId:this.mapId}))}},{key:"translateMarker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("function"==typeof e.animationEnd){var t=e.success,n=e.animationEnd;e.success=function(e){t&&t(e),n()}}"markerId"in e?kr.beforeInvoke("translateMarker",e,{destination:{}})&&(kr.conversionCoordinate(e.destination,!1),this.publishMapEvent({eventName:this.preName+"translateMarker",key:this.key,opt:e,mapId:this.mapId,trans:!1})):console.warn("MapContext.translateMarker: require markerId")}},{key:"updateGroundOverlay",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,e.bounds&&(e.bounds.southwest&&kr.conversionCoordinate(e.bounds.southwest),e.bounds.northeast&&kr.conversionCoordinate(e.northeast)),this.publishMapEvent({eventName:this.preName+"updateGroundOverlay",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"addArc",value:function(e){e.southwest&&kr.conversionCoordinate(e.southwest,!1),e.northeast&&kr.conversionCoordinate(e.northeast,!1),console.warn("addArc interface is not implemented")}},{key:"setBoundary",value:function(e){e.start&&kr.conversionCoordinate(e.start,!1),e.end&&kr.conversionCoordinate(e.end,!1),console.warn("setBoundary interface is not implemented")}},{key:"publishToView",value:function(e){Pr.publish("handlerMapCustomCallout",e,[Za])}}]),e}(),nc={addMarkers:"addMapMarkers",fromScreenLocation:"fromScreenLocation",getCenterLocation:"getMapCenterLocation",getRegion:"getMapRegion",getRotate:"getMapRotate",getScale:"getMapScale",getSkew:"getMapSkew",includePoints:"includeMapPoints",initMarkerCluster:"initMapMarkerCluster",moveAlong:"moveAlong",moveToLocation:"moveToMapLocation",openMapApp:"openMapApp",removeMarkers:"removeMapMarkers",setCenterOffset:"setMapCenterOffset",setLocMarkerIcon:"setMapLocMarkerIcon",toScreenLocation:"toScreenLocation",translateMarker:"translateMapMarker",addCustomLayer:"addCustomLayer",addGroundOverlay:"addGroundOverlay",updateGroundOverlay:"updateGroundOverlay",removeGroundOverlay:"removeGroundOverlay",removeCustomLayer:"removeCustomLayer"};var rc={},oc={},ic=0,ac=new dn,cc={notifyWebviewIdtoMap:$a,MapContext:function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(e){var r;return ce()(this,n),(r=t.call(this,e)).domId=e,r.preName="",ac.on("mapInsert_"+r.key,(function(){r.info=rc[r.key]})),r}return ue()(n,[{key:"publishMapEvent",value:function(e){var t=this,n=e.eventName,r=e.key,o=e.opt,i=e.mapId;rc[this.key]?this._publishMapEvent({eventName:n,key:r,opt:o,mapId:i}):ac.on("mapInsert_"+this.key,(function(){t._publishMapEvent({eventName:n,key:r,opt:o,mapId:i})}))}},{key:"_publishMapEvent",value:function(e){var t=e.eventName,n=(e.key,e.opt),r=(e.mapId,{}),o={};for(var i in n)"function"==typeof n[i]?o[i]=n[i]:r[i]=n[i];r.method=t,o.method=t;var a="callback"+Za+"_"+rc[this.key].mapId+"_"+ic++;oc[a]=o,r.callbackId=a,r.mapId=rc[this.key].mapId,Pr.publish("doMapAction",r,[Za])}},{key:"on",value:function(){console.error("on 暂不支持")}}]),n}(tc),init:function(){ServiceJSBridge.subscribe("mapInsert",(function(e,t){var n=e.id||"",r=e.mapId,o=e.cid,i=e.windowPath,a=Qa(Za,n);rc[a]={mapId:r,cid:o,windowPath:i},ac.emit("mapInsert_"+a)})),ServiceJSBridge.subscribe("doneMapAction",(function(e,t){var n=oc[e.callbackId],r=e.eventName,o=e.res,i=0===o.errMsg.indexOf(r+":ok"),a=0===o.errMsg.indexOf(r+":cancel"),c=0===o.errMsg.indexOf(r+":fail");o.errMsg=o.errMsg.replace(r,nc[r]),i?"function"==typeof n.success&&n.success(o):a?(o.errMsg=o.errMsg.replace(r+":cancel",r+":fail cancel"),"function"==typeof n.fail&&n.fail(o),"function"==typeof n.cancel&&n.cancel(o)):c&&"function"==typeof n.fail&&n.fail(o),"function"==typeof n.complete&&n.complete(o)}))}};function sc(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var uc,fc={},lc={},dc={},hc=function(e,t){e.errMsg=e.errMsg.replace("invokeMapTask",nc[t])},pc=function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0;return ce()(this,n),(e=t.call(this,r,o)).preName="",e.mapId=r,vc.on("mapInsert_"+e.key,(function(){e.info=fc[e.key]})),e}return ue()(n,[{key:"publishMapEvent",value:function(e){var t=this,n=e.eventName,r=e.key,o=e.opt,i=e.mapId,a=e.trans;fc[this.key]?this._publishMapEvent({eventName:n,key:r,opt:o,mapId:i,trans:a}):vc.on("mapInsert_"+this.key,(function(){t._publishMapEvent({eventName:n,key:r,opt:o,mapId:i,trans:a})}))}},{key:"_publishMapEvent",value:function(e){var t=e.eventName,n=e.key,r=e.opt,o=(e.mapId,e.trans,{});for(var a in r)"function"==typeof r[a]&&(o[a]=r[a],delete r[a]);Pr.invokeMethod("invokeMapTask",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sc(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):sc(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({eventName:t,mapId:fc[n].mapId,key:n,nativeViewId:fc[n].cid,data:r},o),{beforeAll:function(e){hc(e,t)},beforeCancel:function(e){hc(e,t)},beforeFail:function(e){hc(e,t)}})}},{key:"on",value:function(e,t){var n=this;fc[this.key]?this._on(e,t):vc.on("mapInsert_"+this.key,(function(){n._on(e,t)}))}},{key:"_on",value:function(e,t){"markerClusterCreate"===e?lc[fc[this.key].mapId]=t:"markerClusterClick"===e&&(dc[fc[this.key].mapId]=t)}}]),n}(tc),vc=new dn,gc={notifyWebviewIdtoMap:$a,MapContext:pc,init:function(){ServiceJSBridge.subscribe("mapInsert",(function(e,t){var n=e.id||"",r=e.mapId,o=e.cid,i=e.windowPath,a=Qa(Za,n);fc[a]={mapId:r,cid:o,windowPath:i},vc.emit("mapInsert_"+a)})),ServiceJSBridge.subscribe("mapRemove",(function(e,t){var n=e.id,r=Qa(Za,n);fc[r]&&delete fc[r]})),ServiceJSBridge.on("mapMarkerClusterCreate",(function(e){var t=lc[e.mapId];kr.conversionCoordinate(e.center);var n=[];e.markerIds&&(e.markerIds.forEach((function(e){kr.conversionCoordinate(e),n.push(e)})),e.markerIds=n),t&&t(e)})),ServiceJSBridge.on("mapMarkerClusterClick",(function(e){var t=dc[e.mapId];t&&t(e)}))}},yc=window.isSupportFinclipTongceng||{};yc&&yc.map,V?(uc=cc,cc.init()):(uc=gc,gc.init());var mc={notifyWebviewIdtoMap:uc.notifyWebviewIdtoMap,createMapContext:function(e,t){return new uc.MapContext(e)}},bc=[];function wc(e,t,n){n[e]=t}function kc(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Sc="";function _c(e){window.__path__=e,Sc=e}function xc(e,t){var n=t.url;t.url.startsWith("/")&&(n=n.slice(1));var r=t.url.lastIndexOf("?"),o=(n=r>-1?t.url.substring(0,r):t.url).lastIndexOf(".html");n=o>-1?n.substring(0,o):n;var i=__wxConfig__.tabBar&&__wxConfig__.tabBar.list.find((function(e){return e.pagePath===n}));if("redirectTo"===e||"navigateTo"===e){if(i)return kr.logErr(e,t,e+":can not ".concat(e," to a tabbar page")),!1}else if("switchTab"===e&&!i)return kr.logErr(e,t,e+":fail can not switch to no-tabBar page"),!1;return-1!==__wxConfig__.pages.indexOf(n)||(kr.logErr(e,t,e+":fail url not in app.json"),!1)}var Cc=gn("AppRouteDone"),Mc=Cc.internalOnMethod,Ic=Cc.internalOffMethod;Pr.onMethod("onAppRouteDone",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e.path=e.path.replace(/\.\w+(\?|$)/,"$1"),e.webviewId=void 0!==e.webviewId?e.webviewId:t,_c(e.path),Cc.emit(e),Pr.publish("onAppRouteDone",{},[t])}));var Ec=gn("AppRoute"),Tc=Ec.internalOnMethod,Pc=Ec.internalOffMethod;Pr.onMethod("onAppRoute",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;execOnServiceReady((function(){var n=__wxConfig;if(e.path=e.path.replace(/\.\w+(\?|$)/,"$1"),e.webviewId=e.webviewId?e.webviewId:t,_c(e.path),!Ro&&kr.isObject(e.query))for(var r in e.query)e.query[r]=decodeURIComponent(e.query[r]);Ya(e.webviewId),mc.notifyWebviewIdtoMap(e.webviewId),kn.setConfig({curWebviewId:e.webviewId}),"dismissPip"!==e.openType&&(kn.appInfo.query=e.query,kn.appInfo.currentWebviewId=e.webviewId);var o=e.preloadRule||n._preloadRule&&n._preloadRule[e.path],i=e.page;if(i||(__wxConfig__.windows?i=__wxConfig__.windows.pages&&__wxConfig__.windows.pages[e.path]:__wxConfig__.window&&(i=__wxConfig__.window.pages&&__wxConfig__.window.pages[e.path])),o&&n.updatePreloadRule&&n.updatePreloadRule(e.path,o),i){var a=n.global&&n.global.window||{};i.window=l()({},a,i.window),n.updatePage&&n.updatePage(e.path,i)}Ec.emit(e)}))})),Pr.onMethod("onPageKilled",(function(e){!function(e){Pr.invokeMethod("reloadPage",e)}(e)}));var Ac={switchTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("switchTab",e,{url:""})&&(/\?.*$/.test(e.url)&&(console.warn("wx.switchTab: url 不支持 queryString"),e.url=e.url.replace(/\?.*$/,"")),e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url)),xc("switchTab",e)&&Pr.invokeMethod("switchTab",e,{afterSuccess:function(){Sc=e.url}}))},reLaunch:function(e){if("active"!==kr.defaultRunningStatus)return kr.logErr("reLaunch",e,"reLaunch fail: can not invoke reLaunch in background");kr.beforeInvoke("reLaunch",e,{url:""})&&(e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url)),xc("reLaunch",e)&&Pr.invokeMethod("reLaunch",e,{afterSuccess:function(){Sc=e.url},afterFail:function(){}}))},redirectTo:function(e){kr.beforeInvoke("redirectTo",e,{url:""})&&(e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url)),xc("redirectTo",e)&&Pr.invokeMethod("redirectTo",e,{afterSuccess:function(){Sc=e.url}}))},navigateTo:function(e){if(kr.beforeInvoke("navigateTo",e,{url:""})){if(!bo.canNavigateTo())return void(e.fail&&"function"==typeof e.fail&&e.fail({errMsg:"navigateTo:fail webview count limit exceed"}));e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url));for(var t={},n=new bn,r=new bn,o=["listener","emit","on","once","off","_addListener"],i=0,a=o;i<a.length;i++){var c=a[i];"emit"===c?t[c]=r[c].bind(r):"function"==typeof n[c]?t[c]=n[c].bind(n):t[c]=n[c]}for(var s=function(){var e={};return bc.push(e),e}(),u=0,f=o;u<f.length;u++){var l=f[u];"emit"===l?wc(l,n[l].bind(n),s):"function"==typeof r[l]?wc(l,r[l].bind(r),s):wc(l,r[l],s)}if(e.events)for(var d in e.events)t.on(d,e.events[d]);xc("navigateTo",e)&&Pr.invokeMethod("navigateTo",e,{beforeSuccess:function(e){e.eventChannel=t},afterSuccess:function(){Sc=e.url}})}},navigateBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"number"!=typeof e.delta?e.delta=1:(e.delta=C()(e.delta),e.delta<1&&(e.delta=1)),Pr.invokeMethod("navigateBack",e)},onAppRoute:Tc,onAppRouteDone:Mc,onAppEnterBackground:Wr,onAppEnterForeground:Nr,offAppRoute:Pc,offAppRouteDone:Ic,restartMiniProgram:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kc(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):kc(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},e),kr.beforeInvoke("restartMiniProgram",e,{path:""})){if(!e.path){var t={errMsg:"restartMiniProgram:fail invalid path"};return"function"==typeof e.fail&&e.fail(t),void("function"==typeof e.complete&&e.complete(t))}e.path=kr.getRealRoute(Sc,e.path),!Ro&&(e.path=kr.encodeUrlQuery(e.path)),Pr.invokeMethod("restartMiniProgram",e)}}},Oc={},Lc=new dn;ServiceJSBridge.subscribe("audioInsert",(function(e,t){var n=e.audioId;Oc[t+"_"+n]=!0,Lc.emit("audioInsert_"+t+"_"+n)}));var Bc=function(){function e(t,n){if(ce()(this,e),"string"!=typeof t)throw new Error("audioId should be a String");this.audioId=t,this.webviewId=n}return ue()(e,[{key:"setSrc",value:function(e){this._sendAction({method:"setSrc",data:e})}},{key:"play",value:function(){var e=this._getAppStatus();this._getHanged(),1===e||this._sendAction({method:"play"})}},{key:"pause",value:function(){this._sendAction({method:"pause"})}},{key:"seek",value:function(e){this._sendAction({method:"setCurrentTime",data:e})}},{key:"_ready",value:function(e){Oc[this.webviewId+"_"+this.audioId]?e():Lc.on("audioInsert_"+this.webviewId+"_"+this.audioId,(function(){e()}))}},{key:"_sendAction",value:function(e){var t=this;this._ready((function(){ServiceJSBridge.publish("audio_"+t.audioId+"_actionChanged",e,[t.webviewId])}))}}]),e}();Pr.onMethod("onAudioInterruptionEnd",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onAudioInterruptionEnd").emit(e)})),Pr.onMethod("onAudioInterruptionBegin",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onAudioInterruptionBegin").emit(e)}));var Fc={playVoice:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e&&"object"===ye()(e)&&(e.duration=e.duration||60),kr.beforeInvoke("playVoice",e,{filePath:""})&&Pr.invokeMethod("playVoice",e)},pauseVoice:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("pauseVoice",e)},stopVoice:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopVoice",e)},onVoicePlayEnd:function(e){Pr.onMethod("onVoicePlayEnd",Reporter.surroundThirdByTryCatch(e,"at onVoicePlayEnd callback function"))},createAudioContext:function(e){return function(e,t){var n=new Bc(e,t);return n._getAppStatus=function(){return kn.getConfig().appStatus},n._getHanged=function(){return kn.getConfig().hanged},Ac.onAppEnterBackground((function(){n.pause()})),n}(e,kn.getConfig().curWebviewId)},setInnerAudioOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("setInnerAudioOption",l()({mixWithOther:!0,obeyMuteSwitch:!0},e))},onAudioInterruptionEnd:function(e){gn("onAudioInterruptionEnd").onMethod(e)},offAudioInterruptionEnd:function(e){gn("onAudioInterruptionEnd").offMethod(e)},onAudioInterruptionBegin:function(e){gn("onAudioInterruptionBegin").onMethod(e)},offAudioInterruptionBegin:function(e){gn("onAudioInterruptionBegin").offMethod(e)},getAvailableAudioSources:function(e){e=e||{},Pr.invokeMethod("getAvailableAudioSources",e)}};function jc(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jc(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):jc(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Dc=1,Nc={};function Uc(e){Pr.invokeMethod("innerAudio",e)}function Wc(e){var t=e.src;return t.startsWith(".")&&(t=X(e.src)),{startTime:e.startTime,autoplay:e.autoplay,loop:e.loop,volume:e.volume,playbackRate:e.playbackRate,src:t}}Pr.onMethod("onInnerAudio",(function(e){var t=e.data,n=e.method,r=e.innerAudioContextId,o=Nc[r];if(o){switch(n){case"onPlay":o._playEnded=!1,o._paused=!1;break;case"onPause":case"onStop":o._paused=!0,o._isPlaying=!1;break;case"onTimeUpdate":o._paused="boolean"==typeof t.paused?t.paused:"true"===t.paused||1===t.paused,o._onlyReadyObj=t;break;case"onEnded":o._playEnded=!0,o._isPlaying=!1;break;case"onCanplay":o._canplay=!0,o._onlyReadyObj=t}(o.listeners[n.slice(2)]||[]).forEach((function(e){"function"==typeof e&&("onError"===n?(o._paused=!0,e(Rc(Rc({},t),{},{src:o.src}))):e({src:o.src}))}))}}));var Vc={};Pr.onMethod("onAd",(function(e){var t=e.method,n=e.adUnitId,r=Vc[n],o=e.data;null!=r&&("onError"===t&&(r.errors=o),r.listeners.emit(t,o))}));var Gc=["duration","currentTime","buffered"],qc=["Canplay","Ended","Error","Pause","Play","Seeked","Seeking","Stop","TimeUpdate","Waiting"],zc=["volume","playbackRate"],Hc=["src","autoplay"],Kc=function(){function e(){var t=this;ce()(this,e),this._src="",this._volume=1,this._playbackRate=1,this._autoplay=!1,this.innerAudioContextId=Dc++,this.startTime=0,this.autoplay=!1,this.loop=!1,this.listeners={},this.active=!0,this._paused=!0,this._onlyReadyObj={};var n=this;qc.forEach((function(e){t["on"+e]=function(t){n.listeners[e]=n.listeners[e]||[],n.listeners[e].push(t),"Canplay"===e&&n._canplay&&"function"==typeof t&&t({src:n.src})},t["off"+e]=function(t){if(t){var r=(n.listeners[e]||[]).indexOf(t);r>-1&&n.listeners[e].splice(r,1)}else delete n.listeners[e]}})),Gc.forEach((function(e){i()(n,e,{get:function(){return n._onlyReadyObj[e]},set:function(){}})})),i()(this,"paused",{get:function(){return this._paused},set:function(){}}),zc.forEach((function(e){i()(n,e,{get:function(){return n["_"+e]},set:function(t){n["_"+e]=t,this.paused||Uc({method:"play",data:Rc(Rc({},Wc(this)),{},{isPlayMethod:!1}),innerAudioContextId:this.innerAudioContextId})}})})),Hc.forEach((function(e){i()(n,e,{get:function(){return n["_"+e]},set:function(t){var r=this;if(n["_"+e]=t,"src"===e&&t&&Uc({method:"play",data:Rc(Rc({},Wc(this)),{},{isPlayMethod:!1}),innerAudioContextId:this.innerAudioContextId}),"autoplay"===e&&t)var o=setTimeout((function(){Uc({method:"play",data:Rc(Rc({},Wc(r)),{},{isPlayMethod:!1}),innerAudioContextId:r.innerAudioContextId}),clearTimeout(o)}),1)}})})),Uc({method:"create",data:Wc(this),innerAudioContextId:this.innerAudioContextId})}return ue()(e,[{key:"play",value:function(){this.active&&1!==kn.getConfig().appStatus&&(Uc({method:"play",data:Rc(Rc({},Wc(this)),{},{isPlayMethod:!0}),innerAudioContextId:this.innerAudioContextId}),this._isPlaying=!0)}},{key:"pause",value:function(){this.active&&(Uc({method:"pause",innerAudioContextId:this.innerAudioContextId}),this._isPlaying=!1)}},{key:"stop",value:function(){this.active&&(Uc({method:"stop",innerAudioContextId:this.innerAudioContextId}),this._isPlaying=!1)}},{key:"seek",value:function(e){this.active&&Uc({method:"seek",data:{position:e},innerAudioContextId:this.innerAudioContextId})}},{key:"destroy",value:function(){this.active&&(this.active=!1,Uc({method:"destroy",innerAudioContextId:this.innerAudioContextId}),delete Nc[this.innerAudioContextId])}}]),e}();function Jc(e){e.complete=function(){},Pr.invokeMethod("recorderManager",e)}var Xc,Yc=["Error","FrameRecorded","InterruptionBegin","InterruptionEnd","Pause","Resume","Start","Stop"],$c={numberOfChannels:[2,1],format:["aac","mp3","wav","pcm"]},Qc={8e3:[16e3,48e3],11025:[16e3,48e3],12e3:[24e3,64e3],16e3:[24e3,96e3],22050:[32e3,128e3],24e3:[32e3,128e3],32e3:[48e3,192e3],44100:[64e3,32e4],48e3:[64e3,32e4]},Zc=function(){function e(){ce()(this,e);var t=this;this.listeners={},Yc.forEach((function(e){t["on"+e]=function(n){t.listeners[e]=n}}))}return ue()(e,[{key:"start",value:function(e){var t=this;e=e||{},this.frameSize=C()(e.frameSize);var n=l()({duration:6e4,sampleRate:8e3,numberOfChannels:2,encodeBitRate:48e3,format:"aac",audioSource:"auto"},e);if(L()(e||{}).forEach((function(t){"format"===t&&(e[t]=e[t].toLowerCase()),$c[t]?n[t]=$c[t].includes(e[t])?e[t]:$c[t][0]:n[t]=e[t]})),-1===L()(Qc).map((function(e){return C()(e)})).indexOf(n.sampleRate))throw new Error('invalid sampleRate "'.concat(n.sampleRate,'", sampleRate should be one of ').concat(le()(L()(Qc))));if(n.encodeBitRate>Qc[n.sampleRate][1]||n.encodeBitRate<Qc[n.sampleRate][0])throw new Error('invalid encodeBitRate "'.concat(n.encodeBitRate,'", encodeBitRate should be greater than ').concat(Qc[n.sampleRate][0]," and less than ").concat(Qc[n.sampleRate][1]));var r=C()(n.duration);r>6e5&&(n.duration=6e5),(isNaN(r)||r<0)&&(n.duration=6e4),isNaN(this.frameSize)&&delete this.frameSize,Jc({method:"start",data:n}),jo()&&(this.func=function(e){var n=e.data;t.frameSize&&"function"==typeof t.listeners.FrameRecorded&&(t.listeners.FrameRecorded({frameBuffer:n.buffer,isLastFrame:n.isLastFrame||!1}),n.isLastFrame&&(t.func&&gn("recorderManagerFrameCallback").offMethod(t.func),t.func=null))},gn("recorderManagerFrameCallback").onMethod(this.func))}},{key:"pause",value:function(){Jc({method:"pause"})}},{key:"resume",value:function(){Jc({method:"resume"})}},{key:"stop",value:function(){Jc({method:"stop"}),this._stopped=!0}}]),e}(),es=["onError","onStop","onFrameRecorded"];Pr.onMethod("onRecorderManager",(function(e){var t=e.data,n=e.method,r=!0,o=Xc.listeners[n.slice(2)];if("onFrameRecorded"!==n||"function"!=typeof o)Xc&&"function"==typeof o&&(es.includes(n)?o(t):o());else{if(jo())return;if(!Xc.frameSize)return;if(t.errMsg&&r)return r=!1,Xc.stop(),void o(t);if(R&&t.buffer_id){var i=window[t.buffer_id];i&&(o({frameBuffer:new Int8Array(i).buffer,isLastFrame:t.isLastFrame||!1}),delete window[t.buffer_id],Jc({method:"onFrameRecordedRemove",data:{buffer_id:t.buffer_id}}),i=null)}else{var a=new XMLHttpRequest;a.onload=function(){200===a.status&&r&&o({frameBuffer:a.response,isLastFrame:t.isLastFrame||!1})},a.open("GET",t.url),a.responseType="arraybuffer",a.send()}}})),Ac.onAppRoute((function(){Xc&&Xc.pause()})),Ac.onAppEnterBackground((function(){Xc&&Xc.pause()}));function ts(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function ns(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ts(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ts(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}function rs(e,t){Pr.invokeMethod("backgroundAudioManager",{cname:e,data:t})}function os(e){var t=e.src;return t.startsWith(".")&&(t=X(e.src)),{src:t,startTime:e.startTime||0,title:e.title,epname:e.epname,singer:e.singer,coverImgUrl:e.coverImgUrl,webUrl:e.webUrl,protocol:e.protocol||"http",playbackRate:e.playbackRate||1,currentTime:e.currentTime||0,volume:e.volume}}var is=["Canplay","Waiting","Error","Play","Pause","Seeking","Seeked","Ended","Stop","TimeUpdate","Next","Prev"],as=["duration","currentTime","paused","buffered"],cs=["volume","playbackRate"],ss={},us="",fs=function(){function e(){var t=this;ce()(this,e),this._volume=1,this._playbackRate=1,this.listeners={};var n=this;is.forEach((function(e){t["on"+e]=function(t){this.listeners[e]=t}})),Pr.on("backgroundAudioEvent",(function(e){var t=e.method,r=e.data;if("onTimeUpdate"===t){var o=r.duration,i=r.currentTime,a=r.buffered;ss.duration=o,ss.currentTime=i,ss.buffered=a}switch(t){case"onPlay":ss.paused=!1;break;case"onPause":case"onStop":case"onEnded":ss.paused=!0}var c=n.listeners[t.slice(2)];"function"==typeof c&&c("onError"===t?ns(ns({},r),{},{src:n.src}):{src:n.src})})),i()(n,"src",{set:function(e){""!==(us=e)&&n.play()},get:function(){return us}}),as.forEach((function(e){i()(n,e,{get:function(){return ss[e]},set:function(){}})})),cs.forEach((function(e){i()(t,e,{get:function(){return this["_"+e]},set:function(t){var n=this;this["_"+e]=t;var r=setTimeout((function(){rs("play",os(n)),clearTimeout(r)}),1)}})}))}return ue()(e,[{key:"play",value:function(){var e=this;if(this.src&&""!==this.src&&void 0!==this.src){this.title&&void 0!==this.title||(this.title="");var t=setTimeout((function(){rs("play",os(e)),clearTimeout(t)}),1)}else console.error("audio src 不能为空!")}},{key:"pause",value:function(){rs("pause",{})}},{key:"seek",value:function(e){"number"!=typeof e||e<0?console.error("Failed to seek, the currentTime ".concat(e," is invalid.")):(ss.currentTime=e,rs("seek",{currentTime:e}))}},{key:"stop",value:function(){rs("stop",{})}}]),e}(),ls={getBackgroundAudioManager:function(){var e=new fs;return e.paused=!1,e},getBackgroundAudioPlayerState:function(e){Pr.invokeMethod("getMusicPlayerState",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace("getBackgroundAudioPlayerState","getMusicPlayerState")}})},playBackgroundAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=kn.getConfig();1===t.appStatus&&!1===t.hanged||Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"play"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","playBackgroundAudio")}})},pauseBackgroundAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"pause"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","pauseBackgroundAudio")}})},seekBackgroundAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("seekBackgroundAudio",e,{position:1})&&Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"seek"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","seekBackgroundAudio")}})},stopBackgroundAudio:function(e){Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"stop"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","stopBackgroundAudio")}})},onBackgroundAudioPlay:function(e){Pr.onMethod("onMusicPlay",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioPlay callback function"))},onBackgroundAudioPause:function(e){Pr.onMethod("onMusicPause",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioPause callback function"))},onBackgroundAudioStop:function(e){Pr.onMethod("onMusicEnd",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioStop callback function"))}};function ds(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var hs={chooseImage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof e.sizeType&&(e.sizeType=e.sizeType.split(",")),Pr.invokeMethod("chooseImage",kr.assign({count:9,sizeType:["original","compressed"],sourceType:["album","camera"]},e))},previewImage:function(e){kr.beforeInvoke("previewImage",e,{urls:[""]})&&Pr.invokeMethod("previewImage",e)},previewMedia:function(e){kr.beforeInvoke("previewMedia",e,{sources:[{}]})&&(e.sources.forEach((function(e){!e.type&&(e.type="image")})),Pr.invokeMethod("previewMedia",e))},compressImage:function(e){var t=(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ds(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ds(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},e||{})).quality;void 0!==t&&(isNaN(t)||e.quality<0||e.quality>100)?kr.logErr("compressImage",e,"compressImage:fail param compress quality invalid"):kr.beforeInvoke("compressImage",e,{src:""})&&(""!==e.src?(["compressedWidth","compressedHeight"].forEach((function(t){isNaN(e[t])&&delete e[t]})),/^(http|https):\/\//.test(e.src)?kr.logErr("compressImage",e,"compressImage:fail file doesn't exist"):(e.src=/^hyfile:\/\//.test(e.src)?e.src:"/".concat(e.src),Pr.invokeMethod("compressImage",kr.assign({quality:80},e)))):kr.logErr("compressImage",e,"compressImage:fail param src invalid"))},getImageInfo:function(e){if(kr.beforeInvoke("getImageInfo",e,{src:""}))if(/^(http|https):\/\//.test(e.src)){var t=kr.generateRandomId("downloadFile");Pr.invokeMethod("downloadFile",{taskId:t,url:e.src},{afterSuccess:function(t){e.src=t.tempFilePath,Pr.invokeMethod("getImageInfo",e,{beforeSuccess:function(t){t.path=e.src}})},afterFail:function(){kr.logErr("getImageInfo",e,"getImageInfo:fail download image fail")}})}else/^(wdfile|hyfile):\/\//.test(e.src),Pr.invokeMethod("getImageInfo",e,{beforeSuccess:function(t){t.path=e.src}})},chooseMessageFile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("chooseMessageFile",e)},chooseFile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.type||(e.type="all"),void 0===e.count&&(e.count=100),kr.beforeInvoke("chooseFile",e,{count:1,type:""})&&(e.count<=0?kr.logErr("chooseFile",e,"chooseFile:fail param count should be larger than 0."):void 0===e.extension?(e.count>100&&(e.count=100),Pr.invokeMethod("chooseFile",e)):"[object Array]"!==Object.prototype.toString.call(e.extension)?kr.logErr("chooseFile",e,"chooseFile:fail param extension should be Array."):e.extension.length?(e.count>100&&(e.count=100),Pr.invokeMethod("chooseFile",e)):kr.logErr("chooseFile",e,"chooseFile:fail param extension should not be empty."))},saveImageToPhotosAlbum:function(e){if(kr.beforeInvoke("saveImageToPhotosAlbum",e,{filePath:""})){var t=e.filePath;t.startsWith(".")&&(t=kr.transformUrl(t)),Pr.invokeMethod("saveImageToPhotosAlbum",e)}}},ps={startRecord:function(e){var t=kn.getConfig();1===t.appStatus&&!1===t.hanged||Pr.invokeMethod("startRecord",e)},stopRecord:function(e){Pr.invokeMethod("stopRecord",e)}},vs=new(function(){function e(){ce()(this,e),this.ids={},this.uniqueIds={},this.callbacks={}}return ue()(e,[{key:"setReady",value:function(e,t){if(!this.ids[e]){this.ids[e]=t;var n=this.callbacks[e];"function"==typeof n&&n(t),this.callbacks[e]=null}this.uniqueIds[t]=!0;var r=this.callbacks[t];"function"==typeof r&&r(t),this.callbacks[t]=null}},{key:"getReady",value:function(e,t){if(t)return this.uniqueIds[t];var n=this.ids[e];return this.uniqueIds[n]}},{key:"onReady",value:function(e,t){if(this.ids[e]||this.uniqueIds[e]){var n=this.ids[e]||e;this.uniqueIds[n]&&"function"==typeof t&&t(n)}else this.callbacks[e]=t}},{key:"clear",value:function(e,t){delete this.ids[e],delete this.uniqueIds[t],delete this.callbacks[e],delete this.callbacks[t]}}]),e}());ServiceJSBridge.subscribe("videoPlayerInsertFinish",(function(e,t){var n=e.domId,r=e.videoPlayerId;n="".concat(n,"-").concat(t),vs.setReady(n,r)})),ServiceJSBridge.subscribe("videoPlayerRemoved",(function(e,t){var n=e.domId,r=e.videoPlayerId;n="".concat(n,"-").concat(t),vs.clear(n,r)}));var gs=function(){function e(t,n){var r,o=this;if(ce()(this,e),"string"!=typeof t)throw new Error("video ID should be a String");this._cachedActions=[],this._webviewId=kn.getConfig().curWebviewId,r=n&&n.contextId?n.contextId:"".concat(t,"-").concat(this._webviewId),vs.onReady(r,(function(e){o._ready=!0,o._videoId=e,o._cachedActions.forEach((function(e){var t=e.method,n=e.data;"function"==typeof o[t]&&o[t].apply(o,h()(n))}))}))}return ue()(e,[{key:"play",value:function(){var e=this._getAppStatus();1===e||2===e||this._invokeMethod("play")}},{key:"pause",value:function(){this._invokeMethod("pause")}},{key:"stop",value:function(){this._invokeMethod("stop")}},{key:"seek",value:function(e){this._invokeMethod("seek",[e])}},{key:"playbackRate",value:function(e){[.5,.8,1,1.25,1.5,2].indexOf(Number(e))>-1&&this._invokeMethod("playbackRate",[e])}},{key:"sendDanmu",value:function(e){var t=e.text,n=e.color;this._invokeMethod("sendDanmu",[t,n])}},{key:"requestFullScreen",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("requestFullScreen",[e&&e.direction])}},{key:"exitFullScreen",value:function(){this._invokeMethod("exitFullScreen")}},{key:"showStatusBar",value:function(){this._invokeMethod("showStatusBar")}},{key:"hideStatusBar",value:function(){this._invokeMethod("hideStatusBar")}},{key:"exitPictureInPicture",value:function(){this._invokeMethod("exitPictureInPicture")}},{key:"requestBackgroundPlayback",value:function(){this._invokeMethod("requestBackgroundPlayback")}},{key:"exitBackgroundPlayback",value:function(){this._invokeMethod("exitBackgroundPlayback")}},{key:"_invokeMethod",value:function(e,t){this._ready?this._sendAction(e,t):this._cachedActions.push({method:"_invokeMethod",data:[e,t]})}},{key:"_sendAction",value:function(e,t){ServiceJSBridge.publish("video_"+this._videoId+"_actionChanged",{method:e,data:t},[this._webviewId])}}]),e}();function ys(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var ms={compressVideo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(kr.beforeInvoke("compressVideo",e,{src:""})){if(void 0===e.quality){if(delete e.quality,!e.bitrate&&!e.fps&&!e.resolution)return void kr.logErr("compressVideo",e,"ccompressVideo:fail invalid data");if(e.bitrate<0&&e.fps<0&&e.resolution<0)return void kr.logErr("compressVideo",e,"ccompressVideo:fail invalid data")}else["low","medium","high"].includes(e.quality)||(e.quality="high");e.bitrate||(e.bitrate=0),e.fps||(e.fps=0),e.resolution||(e.resolution=0),Pr.invokeMethod("compressVideo",e)}},chooseVideo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("chooseVideo",kr.assign({sourceType:["album","camera"],compressed:!0,maxDuration:60,camera:"back"},e))},chooseMedia:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ys(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},e)).maxDuration=e.maxDuration||10,e.count=e.count||9,e.maxDuration&&"string"==typeof e.maxDuration&&(e.maxDuration=e.maxDuration.replace(/s$/,"")),!isNaN(e.maxDuration)&&(e.maxDuration<3||e.maxDuration>60)&&(e.maxDuration=10),(e=kr.validate("showToast",e,{count:{type:Number,defaultValue:9,max:9,min:0},mediaType:{type:["image","video","mix"],multiple:!0,useError:!1,defaultValue:["image","video"]},sourceType:{type:["album","camera"],multiple:!0,useError:!1,defaultValue:["album","camera"]},maxDuration:{type:Number,defaultValue:10,max:60,min:3},sizeType:{type:["original","compressed"],multiple:!0,useError:!1,defaultValue:["original","compressed"]},camera:{type:["back","front"],useError:!1,defaultValue:"back"}}))&&(0===e.count&&(e.count=9),e.maxDuration=Math.floor(e.maxDuration),Pr.invokeMethod("chooseMedia",e))},previewVideo:function(e){kr.beforeInvoke("previewVideo",e,{url:"",autoplay:!1})&&Pr.invokeMethod("previewVideo",e)},saveVideoToPhotosAlbum:function(e){kr.beforeInvoke("saveVideoToPhotosAlbum",e,{filePath:""})&&Pr.invokeMethod("saveVideoToPhotosAlbum",e)},createVideoContext:function(e){return function(e,t){var n=new gs(e,t);return n._getAppStatus=function(){return kn.getConfig().appStatus},n._getHanged=function(){return kn.getConfig().hanged},!Po&&Ac.onAppEnterBackground((function(){n.pause()})),n}(e)}},bs=null;function ws(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;ServiceJSBridge.invoke("cameraContextInvoke",{cname:e,webviewId:n,data:r},(function(n){if(/:ok/.test(n.errMsg))n.errMsg="".concat(e,":ok"),"function"==typeof t.success&&t.success(n),"function"==typeof o&&o(n);else{var r=n.errMsg;try{r=r.replace(/cameraContextInvoke:fail\s+/,"").replace(new RegExp("^"+e+":(\\s)?(fail)?"),"")}catch(e){console.warn(e)}n.errMsg="".concat(e,":fail ").concat(r),"function"==typeof t.fail&&t.fail(n),"function"==typeof o&&o(n)}"function"==typeof t.complete&&t.complete(n)}))}var ks=function(){function e(t){ce()(this,e),this.webviewId=t}return ue()(e,[{key:"onCameraFrame",value:function(e){return new Ss(this.webviewId,e)}},{key:"takePhoto",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.hasOwnProperty("quality")||(e.quality="normal"),ws("takePhoto",e,this.webviewId,{quality:e.quality})}},{key:"setZoom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.hasOwnProperty("zoom")||(e.zoom="1"),ws("setZoom",e,this.webviewId,{zoom:e.zoom})}},{key:"startRecord",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ws("startRecord",t,this.webviewId,{},(function(n){if(!/:fail/.test(n.errMsg)){var r="number"==typeof t.timeout?Math.max(0,t.timeout):30;r=Math.min(C()(r),300),bs=setTimeout((function(){ws("stopRecord",{success:function(e){e.errMsg="timeoutCallback:ok","function"==typeof t.timeoutCallback&&t.timeoutCallback(e)}},e.webviewId,{compressed:!1}),clearTimeout(bs)}),1e3*r)}}))}},{key:"stopRecord",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bs&&clearTimeout(bs),e.hasOwnProperty("compressed")||(e.compressed=!1),ws("stopRecord",e,this.webviewId,{compressed:e.compressed})}}]),e}(),Ss=ue()((function e(t,n){var r=this;if(ce()(this,e),this.webviewId=t,this.callback=n,this._status=!1,R||jo()){var o=this;gn("cameraFrameCallback").onMethod((function(e){var t=e.data;o._status&&n({data:t.buffer.buffer,width:t.width,height:t.height})}))}return{start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r._status=!0,ws("cameraFrameListenerStart",e,r.webviewId,{});var t=!0,n=r;Pr.on("cameraFrameListener",(function(e){if(e.errMsg&&t)return t=!1,n.callback(e),void n.stop();if(!jo()){var r=new XMLHttpRequest;r.onload=function(){n._status&&200===r.status&&t&&n.callback({data:r.response,width:e.width,height:e.height}),ws("cameraFrameListenerRemove",{},n.webviewId,{})},r.open("GET",e.url),r.responseType="arraybuffer",r.send()}}))},stop:function(){ws("cameraFrameListenerStop",arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r.webviewId,{},(function(e){e&&(r._status=!1)}))}}})),_s=[];Ac.onAppEnterBackground((function(){_s.forEach((function(e){ServiceJSBridge.publish("onCameraStop",{},[e.webviewId]),ws("stopCamera",{},e.webviewId,{compressed:!1})}))})),ServiceJSBridge.subscribe("onCameraEvent",(function(e){"removeCamera"===e.cname&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=_s.findIndex((function(t){return t.webviewId===e}));(n>-1||t)&&ServiceJSBridge.invoke("cameraContextInvoke",{cname:"removeCamera",webviewId:e,data:{}},(function(){}))}(e.webviewId,!0)}));var xs={createCameraContext:function(){var e=kn.getConfig().curWebviewId,t=_s.find((function(t){return t.webviewId===e}));if(!t){var n=new ks(e);return _s.push({cameraObj:n,webviewId:e}),n}return t.cameraObj}},Cs="SocketTask.send:fail SocketTask.readyState is not OPEN",Ms=function(){function e(t){ce()(this,e),this._socketId=t.socketId,this._onMsgCallbacks=[],this._onErrorCallback=null,this._onOpenCallback=null,this._onCloseCallback=null,this.readyState=0,this.CLOSED=3,this.CLOSING=2,this.CONNECTING=0,this.OPEN=1}return ue()(e,[{key:"_callOnOpen",value:function(e){"function"==typeof this._onOpenCallback&&this._onOpenCallback(e)}},{key:"_callOnClose",value:function(e){"function"==typeof this._onCloseCallback&&this._onCloseCallback(e)}},{key:"_callOnMessage",value:function(e){this._onMsgCallbacks.forEach((function(t){if("function"==typeof t)try{t(e)}catch(e){console.error(e)}}))}},{key:"_callOnError",value:function(e){"function"==typeof this._onErrorCallback&&this._onErrorCallback(e)}},{key:"onOpen",value:function(e){this._onOpenCallback=e}},{key:"onClose",value:function(e){this._onCloseCallback=e}},{key:"onError",value:function(e){this._onErrorCallback=e}},{key:"onMessage",value:function(e){this._onMsgCallbacks.push(e)}},{key:"send",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.readyState===this.CLOSED||this.readyState===this.CONNECTING)return"function"==typeof e.fail&&e.fail({errMsg:Cs}),void("function"==typeof e.complete&&e.complete({errMsg:Cs}));e.socketId=this._socketId,(e.data instanceof ArrayBuffer||ArrayBuffer.isView(e.data))&&(e.isBase64=!0,e.data=kr.arrayBufferToBase64(e.data)),Pr.invokeMethod("sendSocketMessage",e)}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.readyState===this.CLOSED)return"function"==typeof t.fail&&t.fail({errMsg:"closeSocket:fail task not found"}),void("function"==typeof t.complete&&t.complete({errMsg:"closeSocket:fail task not found"}));t.code=t.code||1e3,t.socketId=this._socketId;var n=t.complete;t.complete=function(t){e.readyState=2,n&&n(t)},Pr.invokeMethod("closeSocket",t)}}]),e}(),Is=1,Es=window.WebSocket,Ts=window.FileReader,Ps=function(){function e(t){ce()(this,e),this.socketId=Is++,this.websocket=new Es(t.url,t.protocols||[]),this.onMsgCallbacks=[],this.onErrorCallbacks=[],this.onOpenCallback=null,this.onCloseCallback=null,this.readyState=0,t.globalSocketCallBacks.onOpen&&(this.onOpenCallback=t.globalSocketCallBacks.onOpen),t.globalSocketCallBacks.onClose&&(this.onCloseCallback=t.globalSocketCallBacks.onClose),t.globalSocketCallBacks.onMessage&&(this.onMsgCallbacks=t.globalSocketCallBacks.onMessage),t.globalSocketCallBacks.onError&&(this.onErrorCallbacks=t.globalSocketCallBacks.onError),this.websocket.onopen=function(e){this.readyState=1,"function"==typeof this.onOpenCallback&&this.onOpenCallback(e)}.bind(this),this.websocket.onclose=function(e){this.readyState=3,"function"==typeof this.onCloseCallback&&this.onCloseCallback({code:e.code,reason:e.reason})}.bind(this),this.websocket.onmessage=function(e){var t=this;if(e.data instanceof Blob){var n=new Ts;n.onload=function(e){var n=e.target.result;t.onMsgCallbacks.forEach((function(e){e({data:n})}))},n.readAsArrayBuffer(e.data)}else this.onMsgCallbacks.forEach((function(t){t({data:e.data})}))}.bind(this),this.websocket.onerror=function(e){this.onErrorCallbacks.forEach((function(t){t(e)}))}.bind(this)}return ue()(e,[{key:"onOpen",value:function(e){this.onOpenCallback=e||this.defaultHandler}},{key:"onClose",value:function(e){this.onCloseCallback=e||this.defaultHandler}},{key:"onError",value:function(e){this.onErrorCallback=e||this.defaultHandler}},{key:"defaultHandler",value:function(e){console.log(e)}},{key:"onMessage",value:function(e){this.onMsgCallbacks.push(e)}},{key:"send",value:function(e){var t="function"==typeof e.success&&Reporter.surroundThirdByTryCatch(e.success,"at websocket send success callback function"),n="function"==typeof e.fail&&Reporter.surroundThirdByTryCatch(e.fail,"at websocket send success callback function"),r="function"==typeof e.complete&&Reporter.surroundThirdByTryCatch(e.complete,"at websocket send success callback function");if(1!==this.readyState)return n&&n({errMsg:"sendSocketMessage:fail WebSocket is not connected"}),void(r&&r({errMsg:"sendSocketMessage:fail WebSocket is not connected"}));try{this.websocket.send(e.data)}catch(e){return r&&r({errMsg:e}),void(n&&n({errMsg:e}))}t&&t({errMsg:"sendSocketMessage:ok"}),r&&r({errMsg:"sendSocketMessage:ok"})}},{key:"close",value:function(e){this.websocket.close()}}]),e}();function As(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Os(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?As(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):As(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Ls=function(){function e(){ce()(this,e),this.socketId=kr.generateRandomId("udp"),this.connectChannel=gn("connect_".concat(this.socketId)),this.listeningChannel=gn("listening_".concat(this.socketId)),this.messageChannel=gn("message_".concat(this.socketId)),this.errorChannel=gn("error_".concat(this.socketId)),this.closeChannel=gn("close_".concat(this.socketId)),this.port=null,this._createUDPSocket(),this._initSDKCallBack()}return ue()(e,[{key:"_createUDPSocket",value:function(){Pr.invokeMethod("createUDPSocket",{socketId:this.socketId})}},{key:"_initSDKCallBack",value:function(){var e=this;Pr.onMethod("onUDPMessage",(function(t){if(t.socketId===e.socketId&&e.messageChannel.getGlobalListeners().length>0){var n=kr.base64ToArrayBuffer(t.message),r=Os({},t);delete r.socketId,delete r.message,e.messageChannel.emit({message:n,remoteInfo:Os({},r)})}})),Pr.onMethod("onUDPError",(function(t){t.socketId===e.socketId&&e.errorChannel.emit({errMsg:t.errMsg,errCode:-2})})),Pr.onMethod("onUDPEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.type,r=t.socketId,o=t.payload;if(r===e.socketId){if("onMessage"===n){var i=kr.base64ToArrayBuffer(o.message),a=Os({},o);return delete a.socketId,delete a.message,void e.messageChannel.emit({message:i,remoteInfo:Os({},a)})}e["".concat(n.slice(2).toLocaleLowerCase(),"Channel")].emit(o)}}))}},{key:"bind",value:function(e){var t=this;if(e&&"number"!=typeof e)return this.errorChannel.emit({errMsg:"Error: port must be number",errCode:2}),void console.error("Error: port must be number");var n=null,r=null;if(Pr.invokeMethod("bindUDPPort",{socketId:this.socketId,port:e,success:function(e){"number"==typeof e.port&&(console.log("UDPSocket bind port",e.port),n=e.port,t.port=e.port,t.listeningChannel.emit({port:t.port}))},fail:function(e){r=e.errMsg}}),r)throw new Error(r);return n||e}},{key:"close",value:function(){Pr.invokeMethod("closeUDPSocket",{socketId:this.socketId}),this.closeChannel.emit()}},{key:"onListening",value:function(e){return this.listeningChannel.onMethod(e)}},{key:"offListening",value:function(e){return this.listeningChannel.offMethod(e)}},{key:"onMessage",value:function(e){return this.messageChannel.onMethod(e)}},{key:"offMessage",value:function(e){return this.messageChannel.offMethod(e)}},{key:"onError",value:function(e){return this.errorChannel.onMethod(e)}},{key:"offError",value:function(e){return this.errorChannel.offMethod(e)}},{key:"onClose",value:function(e){return this.closeChannel.onMethod(e)}},{key:"offClose",value:function(e){return this.closeChannel.offMethod(e)}},{key:"send",value:function(e){var t=this,n=e.message;if(!n)return this.errorChannel.emit({errMsg:"Error: must be string or ArrayBuffer"}),void console.error(new TypeError("Error: message must be string or ArrayBuffer"));var r=Os({socketId:this.socketId},e);if("string"==typeof n){delete r.offset,delete r.length;var o=kr.strToArrayBuffer(n);r.message=kr.arrayBufferToBase64(o)}n instanceof ArrayBuffer&&(r.message=kr.arrayBufferToBase64(n)),n.buffer instanceof ArrayBuffer&&(r.message=kr.arrayBufferToBase64(n.buffer)),r.fail=function(e){t.errorChannel.emit({errMsg:e.errMsg}),console.error(e.errMsg)},Pr.invokeMethod("sendUDPMessage",r)}},{key:"connect",value:function(e){}},{key:"write",value:function(e){this.send(e)}},{key:"setTTL",value:function(e){if(e<0||e>255)this.errorChannel.emit({errMsg:"ttl value should be between 0 and 255. Please enter a valid value"});else{0===e&&(e=64);try{var t={socketId:this.socketId,ttl:e};Pr.invokeMethod("setUDPTTL",t)}catch(e){console.error(e)}}}}]),e}();function Bs(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bs(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Bs(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var js=0,Rs=null,Ds={},Ns=function(){function e(){ce()(this,e),this.socketId=kr.generateRandomId("tcp"),this.isConnected=!1,this.connectChannel=gn("connect_".concat(this.socketId)),this.messageChannel=gn("message_".concat(this.socketId)),this.errorChannel=gn("error_".concat(this.socketId)),this.closeChannel=gn("close_".concat(this.socketId)),Ds[this.socketId]=this,this._createTCPSocket()}return ue()(e,[{key:"_createTCPSocket",value:function(){try{if(Rs||(Rs=setInterval((function(){js=0}),3e5)),++js>20)throw new Error("[TCPSocket] created too much.");Pr.invokeMethod("createTCPSocket",{socketId:this.socketId})}catch(e){console.error(e)}}},{key:"_getErrInfo",value:function(e,t){return{errMsg:"connect fail: invalid address ".concat(e,":").concat(t),errCode:-4}}},{key:"connect",value:function(e){if("string"==typeof e.port&&(e.port=C()(e.port)),isNaN(e.port))return void 0!==e.port&&(e.port=-1),void this.errorChannel.emit(this._getErrInfo(e.address,e.port));/^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$)){4}$/.test(e.address)?Pr.invokeMethod("connectTCPSocket",Fs(Fs({},e),{},{socketId:this.socketId})):this.errorChannel.emit(this._getErrInfo(e.address,e.port))}},{key:"write",value:function(e){if("string"==typeof e||e instanceof ArrayBuffer)if(this.isConnected){var t=null;if("string"==typeof e){var n=kr.strToArrayBuffer(e);t=kr.arrayBufferToBase64(n)}e instanceof ArrayBuffer&&(t=kr.arrayBufferToBase64(e)),e&&e.buffer instanceof ArrayBuffer&&(t=kr.arrayBufferToBase64(e.buffer)),Pr.invokeMethod("sendTCPMessage",{message:t,socketId:this.socketId})}else this.errorChannel.emit({errCode:-1,errMsg:"send socket tcp not call accept or connect"});else console.error("Error: must be String or ArrayBuffer")}},{key:"close",value:function(){this.isConnected?Pr.invokeMethod("closeTCPSocket",{socketId:this.socketId}):this.errorChannel.emit({errCode:-1,errMsg:"close socket tcp not call bind or connect"})}},{key:"onConnect",value:function(e){return this.connectChannel.onMethod(e)}},{key:"offConnect",value:function(e){return this.connectChannel.offMethod(e)}},{key:"onMessage",value:function(e){return this.messageChannel.onMethod(e)}},{key:"offMessage",value:function(e){return this.messageChannel.offMethod(e)}},{key:"onError",value:function(e){return this.errorChannel.onMethod(e)}},{key:"offError",value:function(e){return this.errorChannel.offMethod(e)}},{key:"onClose",value:function(e){return this.closeChannel.onMethod(e)}},{key:"offClose",value:function(e){return this.closeChannel.offMethod(e)}}]),e}();Pr.onMethod("onTCPEvent",(function(e){var t=e.socketId,n=e.type;if(void 0!==Ds[t]){var r=Ds[t],o=e.payload||{};switch(n){case"onMessage":o.message=kr.base64ToArrayBuffer(o.message),r.messageChannel.emit(o);break;case"onConnect":r.connectChannel.emit(t),r.isConnected=!0;break;case"onClose":r.closeChannel.emit(t),r.isConnected=!1;break;case"onError":r.errorChannel.emit(o)}}}));var Us=Ns;function Ws(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ws(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Ws(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Gs=null,qs={onOpen:null,onClose:null,onError:[],onMessage:[]},zs=[],Hs={};function Ks(e,t){var n=gn("".concat(e,"_").concat(t,"_headers")),r=gn("".concat(e,"_").concat(t,"_progress"));Hs["".concat(t)]=[n,r];var o={abort:function(){Pr.invoke("taskAbort",{type:e,taskId:t}),n.offMethod(),r.offMethod()},offHeadersReceived:function(e){n.offMethod(e)},onHeadersReceived:function(e){n.onMethod(e)},offProgressUpdate:function(e){r.offMethod(e)},onProgressUpdate:function(e){r.onMethod(e)}};return"request"===e&&(delete o.offProgressUpdate,delete o.onProgressUpdate),o}Pr.on("onTaskHeadersReceived",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&e.taskId){var t=e.taskId,n=Hs["".concat(t)]||[null,null],r=k()(n,2),o=r[0];r[1],o&&(delete e.taskId,e.cookies=kr.splitCookies(e.header&&e.header["Set-Cookie"]),o.emit(e),o.offMethod())}})),Pr.on("onTaskProgressUpdate",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&e.taskId){var t=e.taskId,n=Hs["".concat(t)]||[null,null],r=k()(n,2),o=(r[0],r[1]);o&&(delete e.taskId,e.cookies=kr.splitCookies(e.header&&e.header["Set-Cookie"]),delete e.header,o.emit(e),e.progress>=100&&o.offMethod())}}));var Js,Xs={},Ys={},$s={};["Open","Close","Message","Error"].forEach((function(e){Pr.onMethod("onSocket".concat(e),(function(t){var n=t.socketId;if(delete t.socketId,t.isBase64&&(t.data=kr.base64ToArrayBuffer(t.data)),delete t.isBase64,"function"==typeof Ys[e])try{Ys[e](t)}catch(e){console.error(e)}switch(e){case"Open":Xs[n].readyState=1;break;case"Close":Xs[n].readyState=3,Js&&Qs(Js.socketId)}Xs[n]["_callOn".concat(e)](t)}))}));var Qs=function(e){delete $s[e];var t=L()($s).length;Js=t?$s[L()($s)[t-1]]:null};Pr.onMethod("onNetworkStatusChange",Reporter.surroundThirdByTryCatch((function(e){gn("onNetworkStatusChange").emit(e)}),"at onNetworkStatusChange callback function"));var Zs={request:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(kr.beforeInvoke("request",e,{url:""})){if(e=Vs({},e),!1===kr.validateUrl(e.url))return kr.logErr("request",e,'request:fail invalid url "'+e.url+'"');if("function"===e.data)return kr.logErr("request",e,"request:fail data should not be Function");var t=kr.getDataType(e.header);e.header=e.header||{},e.header=kr.convertObjectValueToString(e.header),"Undefined"!==t&&"Object"!==t&&(console.warn("wx.request: header must be an object"),e.header={}),e.header=L()(e.header).reduce((function(t,n){return"content-type"===n.toLowerCase()?t[n.toLowerCase()]=e.header[n]:t[n]=e.header[n],t}),{});var n=e.header||{},r="String"===kr.getDataType(e.method)?e.method.toUpperCase():"GET",o="";e.dataType=e.dataType||"json",n["content-type"]=n["content-type"]||"application/json";var i=[];e.data instanceof ArrayBuffer?(i.push({base64:kr.arrayBufferToBase64(e.data),key:"data"}),o=null):o=e.data?"String"!==kr.getDataType(e.data)?n["content-type"].indexOf("application/x-www-form-urlencoded")>-1?kr.urlEncodeFormData(e.data,!0):n["content-type"].indexOf("application/json")>-1||"Object"===kr.getDataType(e.data)?le()(e.data):o.toString():e.data:"","GET"===r&&(e.url=kr.addQueryStringToUrl(e.url,e.data));var a=window.__wxConfig__,c=e.timeout||a&&a.networkTimeout&&a.networkTimeout.request||6e4,s=kr.generateRandomId("request");return Pr.invokeMethod("request",{url:e.url,data:o,header:n,method:r,dataType:e.dataType||"json",responseType:e.responseType,timeout:c,forceCellularNetwork:e.forceCellularNetwork,success:e.success,fail:e.fail,complete:e.complete,taskId:s,__nativeBuffers__:i},{beforeSuccess:function(t){if("json"===e.dataType||i.length)try{t.data=JSON.parse(t.data)}catch(e){}t.statusCode=C()(t.statusCode)}}),Ks("request",s)}},connectSocket:function(e){if(Lo())try{"object"!==ye()(e.header)&&void 0!==e.header&&(console.warn("connectSocket: header must be an object"),delete e.header);var t={};e.header&&(t=kr.convertObjectValueToString(e.header),e.header=t);var n=window.__wxConfig__;e.timeout=e.timeout||n&&n.networkTimeout&&n.networkTimeout.connectSocket||6e4;var r=Math.random().toString().substr(3)+_()();e.socketId=r;var o=new Ms(e);return Xs[r]=o,$s[r]=o,o.socketId=r,Js=o,Pr.invokeMethod("createSocketTask",Vs({},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("createSocketTask","connectSocket")}}),o}catch(i){console.warn(i)}else{if(zs.filter((function(e){return 1===e.readyState})).length>=2){console.error("同时最多发起 2 个 socket 请求"),zs[1].onErrorCallback({errMsg:"exceed max task count"});var i=new Error("exceed max task count");throw i.type="ConnectSocketError",i}if(kr.beforeInvoke("connectSocket",e,{url:""})){"object"!==ye()(e.header)&&void 0!==e.header&&(console.warn("connectSocket: header must be an object"),delete e.header);var a={};e.header&&(a=kr.convertObjectValueToString(e.header),e.header=a),e.globalSocketCallBacks=qs;var c=new Ps(e);return Gs=c,qs={onOpen:null,onClose:null,onError:[],onMessage:[]},zs.push(c),c}}},closeSocket:function(e){if(Lo()){if(!Js||!Js.socketId)return"function"==typeof e.fail&&e.fail({errMsg:"closeSocket:fail WebSocket is not connected"}),void("function"==typeof e.complete&&e.complete({errMsg:"closeSocket:fail WebSocket is not connected"}));e.code=e.code||1e3,e.socketId=Js.socketId,Pr.invokeMethod("closeSocket",e),Qs(Js.socketId)}else Gs&&(Gs.close(),Gs=null)},createUDPSocket:function(){return new Ls},createTCPSocket:function(){return new Us},onSocketOpen:function(e){Lo()?"function"==typeof e&&(Ys.Open=e):Gs?Gs.onOpen(e):qs.onOpen=e},onSocketClose:function(e){Lo()?"function"==typeof e&&(Ys.Close=e):Gs?Gs.onClose(e):qs.onClose=e},sendSocketMessage:function(e){if(Lo()){if(!Js||!Js.socketId)return"function"==typeof e.fail&&e.fail({errMsg:"sendSocketMessage:fail WebSocket is not connected"}),void("function"==typeof e.complete&&e.complete({errMsg:"sendSocketMessage:fail WebSocket is not connected"}));e.socketId=Js.socketId,e.data instanceof ArrayBuffer&&(e.isBase64=!0,e.data=kr.arrayBufferToBase64(e.data)),Pr.invokeMethod("sendSocketMessage",e)}else Gs.send(e)},onSocketMessage:function(e){Lo()?"function"==typeof e&&(Ys.Message=e):kr.beforeInvoke("onSocketMessage",e,kr.emptyFn)&&(e=Reporter.surroundThirdByTryCatch(e,"at onSocketMessage callback function"),Gs?Gs.onMessage(e):qs.onMessage.push(e))},onSocketError:function(e){Lo()?"function"==typeof e&&(Ys.Error=e):Gs?Gs.onError(e):qs.onError.push(e)},uploadFile:function(e){if(kr.beforeInvoke("uploadFile",e,{url:"",filePath:"",name:""})){"object"!==ye()(e.header)&&void 0!==e.header&&(console.warn("uploadFile: header must be an object"),delete e.header),"object"!==ye()(e.formData)&&void 0!==e.formData&&(console.warn("uploadFile: formData must be an object"),delete e.formData);var t={},n={};e.header&&(t=kr.convertObjectValueToString(e.header)),e.formData&&(n=kr.convertObjectValueToString(e.formData)),e.url=kr.addQueryStringToUrl(e.url,{},!0);var r=window.__wxConfig__,o=e.timeout||r&&r.networkTimeout&&r.networkTimeout.uploadFile||6e4,i=kr.generateRandomId("uploadFile");return e.taskId=i,Pr.invokeMethod("uploadFile",kr.assign({},e,{header:t,formData:n,timeout:o}),{beforeSuccess:function(e){e.statusCode=C()(e.statusCode)}}),Ks("uploadFile",i)}},downloadFile:function(e){if(kr.beforeInvoke("downloadFile",e,{url:""})){e.url=kr.addQueryStringToUrl(e.url,{},!0);var t=window.__wxConfig__;e.timeout=e.timeout||t&&t.networkTimeout&&t.networkTimeout.downloadFile||6e4;var n=kr.generateRandomId("downloadFile");return e.taskId=n,Pr.invokeMethod("downloadFile",e,{beforeSuccess:function(e){e.statusCode=C()(e.statusCode),-1===[200,304].indexOf(e.statusCode)&&delete e.tempFilePath}}),Ks("downloadFile",n)}},getNetworkType:function(e){Pr.invokeMethod("getNetworkType",e)},onNetworkStatusChange:function(e){gn("onNetworkStatusChange").onMethod(e)},offNetworkStatusChange:function(e){gn("onNetworkStatusChange").offMethod(e)}},eu={navigateToMiniProgram:function(e){kr.beforeInvoke("navigateToMiniProgram",e,{appId:""})&&Pr.invokeMethod("navigateToMiniProgram",e)},navigateToWechatMiniProgram:function(e){kr.beforeInvoke("navigateToWechatMiniProgram",e,{originId:""})&&Pr.invokeMethod("navigateToWechatMiniProgram",e)},navigateBackMiniProgram:function(e){Pr.invokeMethod("navigateBackMiniProgram",e)},exitMiniProgram:function(e){Pr.invokeMethod("exitMiniProgram",e)}},tu={verifyPaymentPassword:function(e){Pr.invokeMethod("verifyPaymentPassword",e)},bindPaymentCard:function(e){Pr.invokeMethod("bindPaymentCard",e)},requestPaymentToBank:function(e){Pr.invokeMethod("requestPaymentToBank",e)},addCard:function(e){kr.beforeInvoke("addCard",e,{cardList:[]})&&Pr.invokeMethod("addCard",e)},openCard:function(e){kr.beforeInvoke("openCard",e,{cardList:[]})&&Pr.invokeMethod("openCard",e)}},nu={getSetting:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Pr.invokeMethod("getSetting",e,{beforeSuccess:function(t){t.authSetting&&L()(t.authSetting).forEach((function(e){t.authSetting[e]=Boolean(t.authSetting[e])})),e.withSubscriptions&&(t.subscriptionsSetting={itemSettings:{}})}})},openSetting:function(e){return Pr.invokeMethod("openSetting",e,{beforeSuccess:function(e){var t=e.authSetting||{};for(var n in t)t[n]=Boolean(t[n])}})},requestSubscribeMessage:function(e){return Pr.invokeMethod("requestSubscribeMessage",e)}};var ru={loginSuccess:function(){},checkLogin:function(e){Pr.invokeMethod("checkLogin",e)},authorize:function(e){if(e){if("string"!=typeof e.scope){var t={errMsg:"authorize:fail parameter error: parameter.scope should be String instead of ".concat(ye()(e.scope),";")};return e&&"function"==typeof e.fail&&e.fail(t),void(e&&"function"==typeof e.complete&&e.complete())}Pr.invokeMethod("authorize",e)}},getUserInfo:function(e){Pr.invokeMethod("operateWXData",kr.assign({data:{api_name:"webapi_getuserinfo",data:e.data||{}}},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData","getUserInfo")},beforeSuccess:function(e){try{e.rawData=e.data.rawData,e.userInfo=e.data.userInfo,e.signature=e.data.signature,e.data.encryptData&&(console.group(new Date+" encryptData 字段即将废除"),console.warn("请使用 encryptedData 和 iv 字段进行解密,详见:https://mp.weixin.qq.com/debug/wxadoc/dev/api/open.html"),console.groupEnd(),e.encryptData=e.data.encryptData),e.data.encryptedData&&(e.encryptedData=e.data.encryptedData,e.iv=e.data.iv),delete e.data}catch(e){}}})},getFriends:function(e){Pr.invokeMethod("operateWXData",{data:{api_name:"webapi_getfriends",data:e.data||{}},success:e.success,fail:e.fail,complete:e.complete},{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData","getFriends")},beforeSuccess:function(e){e.rawData=e.data.data;try{e.friends=JSON.parse(e.data.data),e.signature=e.data.signature,delete e.data}catch(e){}}})},getAccountInfoSync:function(){var e,t=null,n={success:function(e){t=e.data||{miniProgram:{},plugin:{}}},fail:function(t){e=t.errMsg}};if(Pr.invokeMethod("getAccountInfoSync",n),e)throw new Error(e);return t}},ou=so,iu=gn("CustomEvent"),au=iu.onMethod,cu=iu.offMethod,su=iu.internalOnMethod,uu={},fu=function(e,t){return"onCustomEvent"===e?"_CustomEvent":t&&e.startsWith("on")?e.slice(2):e},lu={};su((function(e){if(e.name){var t=uu[e.name]||uu[fu(e.name,!0)];t&&t.emit(e.data);var n=lu[fu(e.name)];n&&n.emit(e)}})),Pr.on("onCustomEvent",(function(e){iu.emit(e)}));var du={onCustomEvent:au,offCustomEvent:cu,addCustomEventListener:function(e,t){var n=fu(e);lu[n]||(lu[n]=gn(n)),lu[n].onMethod(t)},removeCustomEventListener:function(e,t){var n=fu(e);lu[n]&&lu[n].offMethod(t)}},hu=gn("AppService-Error"),pu=gn("AppService-UnhandledRejection"),vu=hu.onMethod,gu=hu.offMethod,yu=pu.onMethod,mu=pu.offMethod;Reporter.registerThirdErrorListener((function(e){hu.emit(e)})),Reporter.registerThirdUnhandledRejectionListener((function(e,t){pu.emit({reason:e,promise:t})}));var bu={onError:vu,offError:gu,onUnhandledRejection:yu,offUnhandledRejection:mu},wu=n(244),ku=n.n(wu);Pr.on("onBLEConnectionStateChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBLEConnectionStateChange").emit(e)})),Pr.on("onBLECharacteristicValueChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.value&&(e.value=kr.base64ToArrayBuffer(e.value)),gn("onBLECharacteristicValueChange").emit(e)})),Pr.on("onBluetoothDeviceFound",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.advertisData&&(e.advertisData=kr.base64ToArrayBuffer(e.advertisData)),e&&A()(e.devices)&&e.devices.length>0&&e.devices.forEach((function(e){e.advertisData&&(e.advertisData=kr.base64ToArrayBuffer(e.advertisData))})),gn("onBluetoothDeviceFound").emit(e)})),Pr.on("onBluetoothAdapterStateChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBluetoothAdapterStateChange").emit(e)})),Pr.on("onBLEPeripheralConnectionStateChanged",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBLEPeripheralConnectionStateChanged").emit(e)}));var Su=new ku.a,_u=function(){function e(t){var n=this;ce()(this,e),this.serverId=t,this.services=[],["CharacteristicReadRequest","CharacteristicWriteRequest","CharacteristicSubscribed","CharacteristicUnsubscribed"].forEach((function(e){n["on".concat(e,"Channel")]=gn(e),n["on".concat(e)]=function(t){n["on".concat(e,"Channel")].onMethod(t)},n["off".concat(e)]=function(t){n["on".concat(e,"Channel")].offMethod(t)}})),Su.set(t,this)}return ue()(e,[{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.serverId=this.serverId,Pr.invokeMethod("closeBLEPeripheralServer",e,{beforeSuccess:function(e){},afterSuccess:function(){}}),Su.delete(this.serverId)}},{key:"addService",value:function(e){e.serverId=this.serverId,Pr.invokeMethod("addBLEPeripheralService",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"removeService",value:function(e){e.serverId=this.serverId,Pr.invokeMethod("removeBLEPeripheralService",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"startAdvertising",value:function(e){e.serverId=this.serverId,e.powerLevel||(e.powerLevel="medium"),Pr.invokeMethod("startBLEPeripheralAdvertising",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"stopAdvertising",value:function(e){e.serverId=this.serverId,Pr.invokeMethod("stopBLEPeripheralAdvertising",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"writeCharacteristicValue",value:function(e){e.serverId=this.serverId,e.value instanceof ArrayBuffer&&(e.value=kr.arrayBufferToBase64(e.value)),Pr.invokeMethod("writeBLEPeripheralCharacteristicValue",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}}]),e}();["CharacteristicReadRequest","CharacteristicWriteRequest","CharacteristicSubscribed","CharacteristicUnsubscribed"].forEach((function(e){Pr.on("on".concat(e),(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Su.get(t.serverId);if(n){delete t.serverId,t.value&&(t.value=kr.base64ToArrayBuffer(t.value));var r=n["on".concat(e,"Channel")];r&&r.emit(t)}}))})),Pr.on("onBeaconUpdate",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBeaconUpdate").emit(e)})),Pr.on("onBeaconServiceChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBeaconServiceChange").emit(e)}));var xu={openBluetoothAdapter:function(e){Pr.invokeMethod("openBluetoothAdapter",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},writeBLECharacteristicValue:function(e){e.value instanceof ArrayBuffer&&(e.value=kr.arrayBufferToBase64(e.value)),Pr.invokeMethod("writeBLECharacteristicValue",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},setBLEMTU:function(e){Pr.invokeMethod("setBLEMTU",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},readBLECharacteristicValue:function(e){Pr.invokeMethod("readBLECharacteristicValue",e,{beforeSuccess:function(e){e.value&&(e.value=kr.base64ToArrayBuffer(e.value))},afterSuccess:function(){}})},notifyBLECharacteristicValueChange:function(e){Pr.invokeMethod("notifyBLECharacteristicValueChange",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},makeBluetoothPair:function(e){Pr.invokeMethod("makeBluetoothPair",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBLEDeviceServices:function(e){Pr.invokeMethod("getBLEDeviceServices",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBLEDeviceRSSI:function(e){Pr.invokeMethod("getBLEDeviceRSSI",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBLEDeviceCharacteristics:function(e){Pr.invokeMethod("getBLEDeviceCharacteristics",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},createBLEConnection:function(e){Pr.invokeMethod("createBLEConnection",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},closeBLEConnection:function(e){Pr.invokeMethod("closeBLEConnection",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},stopBluetoothDevicesDiscovery:function(e){Pr.invokeMethod("stopBluetoothDevicesDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},startBluetoothDevicesDiscovery:function(e){if(e&&e.services&&!A()(e.services))return kr.logErr("startBluetoothDevicesDiscovery",e,"services must be an Array");if(e&&e.services&&e.services.length>0){var t=!0;if(e.services.forEach((function(e){"string"!=typeof e&&(t=!1)})),!t)return kr.logErr("startBluetoothDevicesDiscovery",e,"invalid service uuid")}Pr.invokeMethod("startBluetoothDevicesDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getConnectedBluetoothDevices:function(e){if(e&&e.services&&!A()(e.services))return kr.logErr("getConnectedBluetoothDevices",e,"services must be an Array");if(e&&e.services&&e.services.length>0){var t=!0;if(e.services.forEach((function(e){"string"!=typeof e&&(t=!1)})),!t)return kr.logErr("getConnectedBluetoothDevices",e,"invalid service uuid")}Pr.invokeMethod("getConnectedBluetoothDevices",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBluetoothDevices:function(e){Pr.invokeMethod("getBluetoothDevices",e,{beforeSuccess:function(e){e&&e.length>0&&e.forEach((function(e){e.advertisData&&(e.advertisData=kr.base64ToArrayBuffer(e.advertisData))}))},afterSuccess:function(){}})},getBluetoothAdapterState:function(e){Pr.invokeMethod("getBluetoothAdapterState",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},closeBluetoothAdapter:function(e){Pr.invokeMethod("closeBluetoothAdapter",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},onBLEConnectionStateChange:function(e){gn("onBLEConnectionStateChange").onMethod(e)},offBLEConnectionStateChange:function(e){gn("onBLEConnectionStateChange").offMethod(e)},onBLECharacteristicValueChange:function(e){gn("onBLECharacteristicValueChange").onMethod(e)},offBLECharacteristicValueChange:function(e){gn("onBLECharacteristicValueChange").offMethod(e)},onBluetoothDeviceFound:function(e){gn("onBluetoothDeviceFound").onMethod(e)},offBluetoothDeviceFound:function(e){gn("onBluetoothDeviceFound").offMethod(e)},onBluetoothAdapterStateChange:function(e){gn("onBluetoothAdapterStateChange").onMethod(e)},offBluetoothAdapterStateChange:function(e){gn("onBluetoothAdapterStateChange").offMethod(e)},createBLEPeripheralServer:function(e){Pr.invokeMethod("createBLEPeripheralServer",e,{beforeSuccess:function(e){var t=e.serverId,n=new _u(t);delete e.serverId,e.server=n}})},offBLEPeripheralConnectionStateChanged:function(e){gn("onBLEPeripheralConnectionStateChanged").offMethod(e)},onBLEPeripheralConnectionStateChanged:function(e){gn("onBLEPeripheralConnectionStateChanged").onMethod(e)},stopBeaconDiscovery:function(e){Pr.invokeMethod("stopBeaconDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},startBeaconDiscovery:function(e){Pr.invokeMethod("startBeaconDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},onBeaconUpdate:function(e){gn("onBeaconUpdate").onMethod(e)},onBeaconServiceChange:function(e){gn("onBeaconServiceChange").onMethod(e)},offBeaconUpdate:function(e){gn("onBeaconUpdate").offMethod(e)},offBeaconServiceChange:function(e){gn("onBeaconServiceChange").offMethod(e)},getBeacons:function(e){Pr.invokeMethod("getBeacons",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}};function Cu(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Cu(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Iu=0,Eu={loadFont:function(e){if(""!==e){if("string"==typeof e){if(e.startsWith("/")&&(e="."+e),window.isWebviewGame){var t="CustomFont"+Iu++,n=new FontFace(t,"url('"+e+"')");return document.fonts.add(n),n.load(),n.loaded.then((function(){return t}),(function(e){return console.warn("字体加载失败",e),t}))}var r,o;return window.loadFont?window.loadFont(e):(Pr.invokeMethod("loadFontSync",{path:e,success:function(e){try{r=e.data}catch(e){r=""}},fail:function(e){o=e.errMsg}}),o&&console.warn(o),r)}console.warn("loadFont path must be string, got",ye()(e))}else console.warn('loadFont path empty, got ""')},getTextLineHeight:function(e){var t,n;if(e=kr.validate("getTextLineHeight",e,{fontStyle:{type:String,defaultValue:"normal"},fontWeight:{type:String,defaultValue:"normal"},fontSize:{type:Number,defaultValue:16},fontFamily:{type:String},text:{required:!0,type:String}})){if(window.isWebviewGame){var r=document.createElement("div");L()(e).forEach((function(t){"fontSize"===t&&(e[t]=e[t]+"px"),r.style[t]=e[t]})),r.innerHTML=e.text,document.body.appendChild(r);var o=r.getBoundingClientRect().height;return r.remove(),o}Pr.invokeMethod("getTextLineHeight",Mu(Mu({},e),{},{success:function(e){try{t=e.data}catch(e){t=""}},fail:function(e){n=e.errMsg}}))}return n&&console.warn(n),t}},Tu=function(){},Pu={getOpenDataContext:function(){},triggerGC:function(){},getPerformance:function(){return{now:function(){return window.isIDE?_()():1e3*_()()}}},setPreferredFramesPerSecond:function(e){isNaN(e)||(window.setPreferredFramesPerSecond?window.setPreferredFramesPerSecond(e):Pr.invoke("setPreferredFramesPerSecond",{fps:e}),window.frameTime=1e3/e)},getLogManager:function(){return console.warn("getLogManager unsupported"),{info:Tu,warn:Tu,error:Tu,debug:Tu,log:Tu}},getRealtimeLogManager:function(){return console.warn("getRealtimeLogManager unsupported"),{info:Tu,warn:Tu,error:Tu,setFilterMsg:Tu,addFilterMsg:Tu,log:Tu}}};function Au(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ou(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ou(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Ou(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}function Bu(e){Ru.__defineGetter__(e,(function(){return"function"==typeof Uu[e]?kr.surroundByTryCatchFactory(Uu[e],"wx."+e):Uu[e]}))}var Fu=[];function ju(e){Fu.includes(e)?console.error("".concat(e," not supported in plugin")):Du.__defineGetter__(e,(function(){return kr.surroundByTryCatchFactory(Uu[e],"wx."+e)}))}var Ru={},Du={},Nu=[],Uu=Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu({invoke:Pr.invoke,on:Pr.on},Qn),qo),Jo),Yo),ai),si),li),hi),pi),vi),Ai),Bi),Di),Ni),Gi),Ji),oa),Oi),aa),fa),la),Fc),{},{createRewardedVideoAd:function(e){var t=e.adUnitId;e.opts;if(Vc[t])throw new Error(t+"-广告实例已经存在");var n=Object.assign({type:"rewardedVideo"},e),r={events:{},off:function(e,t){var n=this.events[e];if(null!=n)if(null==t)this.events[e]=[];else{var r=n.findIndex((function(e){return e===t}));r>-1&&this.events[e].splice(r,1)}},on:function(e,t){var n=this.events[e];null==n?this.events[e]=[t]:n.push(t)},emit(e,t){var n=this.events[e];if(Array.isArray(n))if(1===n.length)n[0](t);else for(var r=0;r<n.length;r++)n[r](t)}},o={errors:null,listeners:r,load:function(){return new Promise(((e,t)=>{Pr.invokeMethod("ad",Object.assign({method:"load",success:function(){e()},fail:function(e){t(e)}},n))}))},destroy:function(){return new Promise(((e,r)=>{Pr.invokeMethod("ad",Object.assign({method:"destroy",success:function(){delete Vc[t],e()},fail:function(e){r(e)}},n))}))},hide:function(){return new Promise((function(e,t){Pr.invokeMethod("ad",Object.assign({method:"hide",success:function(){e()},fail:function(){t()}},n))}))},show:function(){return new Promise((function(e,t){null!=o.errors&&t("ad instance already occured error: "+JSON.stringify(this$1.errors)),Pr.invokeMethod("ad",Object.assign({method:"show",sucess:function(){e()},fail:function(){t()}},n))}))},offClose:function(e){r.off("onClose",e)},offError:function(e){r.off("onError",e)},offLoad:function(e){r.off("onLoad",e)},onClose:function(e){r.on("onClose",e)},onError:function(e){r.on("onError",e)},onLoad:function(e){r.on("onLoad",e)}};return Vc[t]=o,o},createInnerAudioContext:function(){var e=new Kc;return Nc[e.innerAudioContextId]=e,Ac.onAppEnterBackground((function(t){e._isPlaying&&(e._needPlay=!0),e.pause()})),Ac.onAppEnterForeground((function(t){e._needPlay&&(e._needPlay=!1)})),e},getRecorderManager:function(){return Xc||(Xc=new Zc),Xc}},ls),hs),ps),ms),xs),Zs),eu),tu),nu),ru),ou),du),bu),xu),Eu),Pu),{createGameClubButton:function(){return{show(){},hide(){},destroy(){},onTap(){},offTap(){},style:{},icon:"",type:"",text:"",image:""}},createUserInfoButton:function(){return{show(){},hide(){},destroy(){},onTap(){},offTap(){},style:{},icon:"",type:"",text:"",image:""}}},{onShareAppMessage:function(){},onNativeEvent:function(e){["onCanvasTouchStart","onCanvasTouchMove","onCanvasTouchEnd"].forEach((function(t){Pr.onMethod(t,(function(n,r){e({data:n,eventName:t,webviewId:r})}))}))},onCanvasEvent:function(e){var t=Nu.find((function(t){return t.canvasId===e.canvasId}));t?t.fn=e.fn:Nu.push(e)},getEventChannel:function(e){if(["subPackageLoaded","onGameKeyDown","onGameKeyUp"].includes(e))return gn(e)}});for(var Wu in Pr.subscribe("INVOKE_METHOD",(function(e,t){var n=e.name,r=e.args;r.forwordEvent&&(r.success=function(e){var n=e;n.forwordEventStatus="success",ServiceJSBridge.publish(r.forwordEvent,n,[t])},r.fail=function(e){var n=e;n.forwordEventStatus="fail",ServiceJSBridge.publish(r.forwordEvent,n,[t])},r.complete=function(e){var n=e;n.forwordEventStatus="complete",ServiceJSBridge.publish(r.forwordEvent,n,[t])}),Uu[n](r,!0)})),Pr.subscribe("CANVAS_EVENT_V2",(function(e){var t=e.data.canvasId;Nu.forEach((function(e){e.canvasId===t&&e.fn&&e.fn({errMsg:"drawCanvas:ok"})}))})),Pr.subscribe("WEBVIEW_ERROR_MSG",(function(e,t){var n=e.msg;Reporter.triggerErrorMessage(n)})),Pr.onMethod("onError",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};console.error("thirdScriptError","\n","sdk uncaught third Error","\n",e.message,"\n",e.stack)})),Uu)Bu(Wu),ju(Wu);var Vu={invoke:Pr.invoke,invokeSync:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(window.ServiceJSBridge.pushSdkSyncEvents(e),"object"!==ye()(t))throw new Error("invokeSync 参数只支持 object 类型");try{t=JSON.parse(le()(t))}catch(e){throw new Error("invokeSync 参数中 object 的 key 值仅支持基本类型")}var r="";return t.success=function(e){r=e},t.fail=function(e){r=e},t._sync=!0,Pr.invokeMethod(e,t,n),r},addEventListener:function(e,t){var n=fu(e,!0);uu[n]||(uu[n]=gn(n)),uu[n].onMethod(t)},removeEventListener:function(e,t){var n=fu(e,!0);uu[n]&&uu[n].offMethod(t)}};function Gu(e){e.name&&(Ru[e.name]&&!e.overwrite||(Ru[e.name]=function(t){var n=t||{};if(!e.params||kr.beforeInvoke(e.name,n,e.params)){if(e.fn)return e.fn.call(Vu,t);if(n._sync=e.sync||!1,e.sync)return Vu.invokeSync(e.name,n,e.option);Pr.invokeMethod(e.name,n,e.option)}}))}Ru.env={USER_DATA_PATH:window.__revuejs_user_data_path||"hyfile://usr"},Ru.loadExtApi=function(e){if(e){var t=kr.getDataType(e);if("Array"===t){var n,r=function(e,t){var n=void 0!==nn.a&&e[on.a]||e["@@iterator"];if(!n){if(A()(e)||(n=function(e,t){if(e){if("string"==typeof e)return Au(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?en()(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Au(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(e);try{for(r.s();!(n=r.n()).done;)Gu(n.value)}catch(e){r.e(e)}finally{r.f()}}else"Object"===t&&Gu(e)}},Ru.loadExtApi([{name:"login"},{name:"getUserProfile"},{name:"checkSession"},{name:"requestPayment"}]),window.FinChatExtApiConf&&Ru.loadExtApi(window.FinChatExtApiConf),window.FinClipExtApiConf&&Ru.loadExtApi(window.FinClipExtApiConf),window.onerror=function(e,t,n,r,o){"Script error."!==e&&(Reporter.errorReport({key:"appServiceScriptError",error:o}),console.error(o))},"function"==typeof window.addEventListener&&window.addEventListener("unhandledrejection",(function(e){Reporter.thirdErrorReport({key:"appServiceScriptError",promise:e.promise,error:e.reason}),e.preventDefault()})),window.wx=Ru,window.ft=Ru,window.wxPlugin=Du;var qu=n(245),zu=n.n(qu);if(W);else if(R){var Hu=new NativeGlobal.GlobalUtils;window.performance={now:function(){return Hu.performanceNow()}},window.setTimeout=function(e,t){return Hu.setTimeout(e,t||0)},window.setInterval=function(e,t){return Hu.setInterval(e,t||0)},window.clearTimeout=function(e){return Hu.clearTimeout(e)},window.clearInterval=function(e){return Hu.clearInterval(e)},window.requestAnimationFrame=function(e){return Hu.requestAnimationFrame((function(){e(Hu.performanceNow())}))},window.cancelAnimationFrame=function(e){return Hu.cancelAnimationFrame(e)},window.loadFont=function(e){return Hu.loadFont(e)},window.setPreferredFramesPerSecond=function(e){return Hu.setPreferredFramesPerSecond(e)}}else{var Ku=["setTimeout","clearTimeout","setInterval","clearInterval"];if(Ku.every((function(e){return NativeGlobal[e]})))Ku.forEach((function(e){var t=NativeGlobal[e];t&&(window[e]=t.bind(NativeGlobal))}));else{var Ju=function(){return Yu++},Xu={},Yu=(new zu.a,1);j&&(ServiceJSBridge.on("onSetTimeout",(function(e,t){var n=e.timeoutID||e.callbackId||"";"function"==typeof Xu[n]&&(Xu[n](),delete Xu[n])}),"onSetTimeout"),ServiceJSBridge.on("onSetInterval",(function(e,t){var n=e.timeoutID||e.callbackId||"";"function"==typeof Xu[n]&&Xu[n]()}),"onSetInterval"),window.setTimeout=function(e,t){if("function"!=typeof e)throw new TypeError("setTimetout expects a function as first argument but got "+ye()(e)+".");t=void 0===t?0:t;var n=Reporter.surroundThirdByTryCatch(e,"at setTimeout callback function"),r=Ju();return Xu[r]=n,ServiceJSBridge.publish("setTimeout",{delay:t,timeoutID:r,callbackId:r,timer:t},""),r},window.setInterval=function(e,t){if("function"!=typeof e)throw new TypeError("setTimetout expects a function as first argument but got "+ye()(e)+".");var n=Reporter.surroundThirdByTryCatch(e,"at setTimeout callback function"),r=Ju();return Xu[r]=n,t||(t=1e3),ServiceJSBridge.publish("setInterval",{delay:t,timeoutID:r,callbackId:r,timer:t},""),r},window.clearTimeout=function(e){ServiceJSBridge.publish("clearTimeout",e,""),delete Xu[e]},window.clearInterval=function(e){for(var t in ServiceJSBridge.publish("clearTimeout",e,""),Xu)if(t===e){delete Xu[t];break}})}}n(505),n(506);var $u={readZipEntry:"readZipEntryFrameCallback",camera:"cameraFrameCallback",recorderManager:"recorderManagerFrameCallback"};setTimeout((function(){(kr.isIOS||jo())&&(window.bigData=function(e){var t=e.target;t&&$u[t]&&gn($u[t]).emit(e)})}),0);var Qu={},Zu=null,ef=[],tf=!1,nf=!1,rf=!1,of=function(e){var t=function(e){var t=e.match(/(.*)\/([^\/]+)?$/);return t&&t[1]?t[1]:"./"}(e),n=function(e,n,r){if("string"!=typeof e)throw new Error("require args must be a string");var o=!1;if(tf){var i=function(e){var t={key:""},n=!1;if(ef.forEach((function(r){e.startsWith(r.key)&&t.key.length<r.key.length&&(t=r,n=!0)})),n){var r=e.replace(t.key,t.value);return"/"===r[0]&&(r=r.slice(1)),{path:r,tag:!0}}return{path:e,tag:!1}}(e);e=i.path,o=i.tag}var a=!1,c=t;lf&&(c.startsWith(lf.slice(0,-1))||c.startsWith("@babel"))&&(c.startsWith(lf.slice(0,-1))&&(c=c.substring(lf.length)),a=!0);for(var s,u=[],f=(s=o?("/"+e).split("/"):(c+"/"+e).split("/")).length,l=0;l<f;++l){var d=s[l];if(""!==d&&"."!==d)if(".."===d){if(0===u.length)throw new Error("can't find module : "+e);u.pop()}else l+1<f&&".."===s[l+1]?l++:u.push(d)}var h=lf&&!a?e:u.join("/");try{return sf(h,n,r)}catch(o){return cf(e,n,r,h,t)}};return n.async=function(e){return new b.a((function(t,r){try{return n(e,t,r)}catch(e){r(e)}}))},n},af=function(e){var t=e+"/index.js";return Qu[t]?t:(/\.js$/.test(t=e)||(t+=".js"),Qu[t]?t:"")},cf=function(e,t,n,r,o){for(var i,a="./"===o?[]:o.split("/"),c="";a.length&&(i=a.join("/")+"/miniprogram_npm/"+e,!(c=af(i)));)a.pop();return c||(c=af(i="miniprogram_npm/"+e)),sf(c||r,t,n,e)},sf=function e(t,n,r,o){if("string"!=typeof t)throw new Error("require args must be a string");/\.js$/.test(t)||(t+=".js"),lf&&(t=lf+t),rf&&"game.js"===t&&(t="custom-".concat(t)),rf=rf||"game.js"===t;var i=Qu[t];if("function"!=typeof n){if(!i)throw new Error("module '".concat(t,"' is not defined, require args is '").concat(o,"'"));if(1===i.status){var a,c,s,u=i.factory;if(Qu[t]={exports:{__esModule:!0}},a=Zu.window,c=Zu.document,s=a.XMLHttpRequest,u)try{i.status=2,u(of(t),Qu[t],Qu[t].exports,a,c,a,s,Zu.window.hyExt,Zu.window.Taf,a)}catch(e){console.log(t),console.log(e)}Qu[t].status=3}var f=Qu[t].exports;if(f&&f.__esModule&&!f.default)try{f.default=f}catch(r){}return f}var l=function(e){("function"==typeof r?r:function(){})({errMsg:e.message||"async require: fail",mod:t})};i?setTimeout((function(){return function(){try{var t=e.apply(void 0,arguments);n(t)}catch(e){l(e)}}(t)})):l(new Error('module "'+t+'" is not defined'))},uf={};window.isNewPlugin=!1;var ff={},lf=!1,df={};__wxConfig.beforeReady((function(){var e;e=__wxConfig__.resolveAlias||{},L()(e).length&&(tf=!0,L()(e).forEach((function(t){var n=e[t];t.endsWith("*")&&(t=t.slice(0,-1)),n.endsWith("*")&&(n=n.slice(0,-1),ef.push({key:t,value:n}))})))})),window.define=function(e,t,n){lf&&(e=lf+e),nf&&"game.js"===e&&(e="custom-".concat(e)),nf=nf||"game.js"===e,Qu[e]||(Qu[e]={status:1,factory:function(){try{for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n?t.apply(void 0,o.concat([window.wxPlugin])):t.apply(void 0,o)}catch(t){Je.thirdErrorReport({error:t,extend:"\n at "+e}),console.error("".concat(e,": "),t)}},exports:{}})},window.require=sf,window.requirePlugin=function(e,t){if("string"!=typeof e)throw new Error("require args must be a string");function n(e){var t;try{t=sf(e)}catch(e){}return t}if(e.startsWith("plugin://"))lf=e+"/";else{var r=e.split("/")[0];ff[r]&&(lf="plugin://"+ff[r].id+"/")}var o=window.isNewPlugin?function(e){var r=e,o=e;if(ff[r])o=ff[r].key,r="plugin://"+ff[r].id;else if(r.startsWith("plugin://")){var i=r.replace("plugin://","");if(o=L()(ff).find((function(e){return ff[e].id===i})),null==o&&Qu[r])return n(r)}else{var a=r.split("/"),c=a[0],s=a.slice(1),u=s.length>1?s.join("/"):s[0]||"unknown",f="plugin://"+ff[c].id+"/"+u;if(Qu[f])return n(f)}var l,d=uf[r];if(!d)throw new Error('plugin module "'+r+'" is not defined');if(1===d.status){var h=d.factory;if(uf[r]={exports:{__esModule:!0}},h)try{d.status=2,h(of(r),uf[r],uf[r].exports,wx)}catch(e){console.log(e)}uf[r].status=3}if(!t)try{var p=lf?ff[o].main:r+"/"+ff[o].main;l=sf(p)}catch(e){}return l}(e):function(e){var t=e,n=__wxConfig__.plugins[t];if(n||(n=(t=L()(__wxConfig__.plugins).find((function(t){return __wxConfig__.plugins[t].id===e})))&&__wxConfig__.plugins[t]),n&&n.main){var r="plugin/".concat(t,"/").concat(n.main);if(!Qu[r])throw new Error('plugin "'+e+'" is not exported');return sf(r)}throw new Error('plugin "'+e+'" is not exported')}(e);return e.startsWith("plugin://")&&(lf=!1),o},window.definePlugin=function(e,t){ff=__wxConfig__.plugins||{},window.isNewPlugin=!0;var n,r=e.replace("plugin://",""),o=L()(ff).find((function(e){return ff[e].id===r}));if(!uf[e]){var i=function(e,t){var n={};df[e]={wx:n,appId:e,version:t};var r=function(e){n.__defineGetter__(e,(function(){return t=window.wxPlugin[e],r=n,o="wx."+e,function(){try{return t.apply(r,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type||"ConnectSocketError"===e.type)throw e;Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:o})}}};var t,r,o}))};for(var o in window.wxPlugin)r(o);return n}((n=ff[o]).id,n.version);uf[e]={status:1,factory:function(){try{return t.apply(void 0,arguments)}catch(t){console.error("".concat(e,": "),t)}},exports:{},wx:i}}},window.__moduleArr=Qu,window.__pluginWxMap=df,wx.version={info:"",updateTime:"3/22/2024, 4:27:52 PM",version:"1.0.0"},window.__vd_version_info__={noCss:!0},console.info("基础库版本: ".concat("1.0.0"));var hf={};window.sharedCanvas=hf,delete window.CSS;var pf=hf.__proto__.__proto__;hf.__proto__=new Proxy(hf.__proto__,{setPrototypeOf:function(e,t){return pf=t,!0},getPrototypeOf:function(){return pf}});var vf=window.WebAssembly;if(vf){var gf=window.WebAssembly.instantiate.bind(window.WebAssembly);vf.instantiate=function(e,t){if("string"==typeof e){var n=wx.getFileSystemManager().readFileSync(e,"binary");return gf(n,t)}return gf(e,t)}}var yf,mf={},bf=window.XMLHttpRequest,wf=new Proxy(mf,{get:function(e,t){return mf&&mf[t]||window.document&&window.document[t]},set:function(e,t,n){mf[t]=n},defineProperty:function(e,t,n){return i()(mf,t,n),!0}}),kf={},Sf={},_f=new Proxy({},{getOwnPropertyDescriptor:function(e,t){var n=c()(window,t);return n&&!1===n.configurable&&u()(e,t,n),n},has:function(e,t){return t in window},get:function(e,t,n){switch(t){case"performance":return wx.getPerformance();case"sharedCanvas":return hf;case"WXWebAssembly":return vf;case"document":return wf;case"XMLHttpRequest":return bf;case"hyExt":return parent.window.hyExt;case"innerWidth":return parent.window.innerWidth;case"innerHeight":return parent.window.innerHeight;case"Taf":return parent.window.Taf;case"isIOSHighPerformanceMode":return __wxConfig__&&__wxConfig__.iOSHighPerformanceMode||!1}var r=window[t];return"function"!=typeof r||kf[t]?r:r.bind(window)},set:function(e,t,n){var r=c()(window,t);return"document"===t&&(mf=l()(mf,n)),"XMLHttpRequest"===t?(bf=n,!0):(void 0===r&&(kf[t]=!0),r&&!0!==r.configurable||"window"===t||i()(window,t,{value:n,configurable:!0,writable:!0}),!0)},defineProperty:function(e,t,n){var r=c()(window,t);return r&&!0!==r.configurable||("XMLHttpRequest"===t?bf=n.value:i()(window,t,n)),!0}});i()(Sf,"window",{get:function(){return _f},set:function(e){}}),i()(Sf,"document",{get:function(){return wf},set:function(e){}}),window.GameGlobal=Sf.window,Zu=yf=Sf,delete window.indexedDB,window.eval=void 0,window.isWebviewGame&&"function"==typeof window.onServiceReady&&window.onServiceReady({isIOS:ServiceJSBridge.isIOS,isAndroid:ServiceJSBridge.isAndroid}),ServiceJSBridge.publish("gameServiceReady",{})}]),window.__serviceEndTime__=Date.now();
|
1
|
+
if("undefined"==typeof window){var globalObject=eval("this");globalObject.window=globalObject}"undefined"==typeof globalThis&&(globalThis=window),window.__serviceStartTime__=Date.now(),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="script/",n(n.s=507)}([function(e,t,n){var r=n(16),o=n(25),i=n(40),a=n(35),c=n(47),s=function(e,t,n){var u,f,l,d,h=e&s.F,p=e&s.G,v=e&s.S,g=e&s.P,y=e&s.B,m=p?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,b=p?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(u in p&&(n=t),n)l=((f=!h&&m&&void 0!==m[u])?m:n)[u],d=y&&f?c(l,r):g&&"function"==typeof l?c(Function.call,l):l,m&&a(m,u,l,e&s.U),b[u]!=l&&i(b,u,d),g&&w[u]!=l&&(w[u]=l)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){e.exports=n(295)},function(e,t,n){e.exports=n(247)},function(e,t,n){e.exports=n(476)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(91),o=n(236);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),r(e,o(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),r(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(477)},function(e,t,n){var r=n(96),o=n(114);function i(t){return e.exports=i="function"==typeof r&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(91)},function(e,t,n){e.exports=n(480)},function(e,t,n){e.exports=n(283)},function(e,t,n){var r=n(91),o=n(236);e.exports=function(e,t,n){return(t=o(t))in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=n(281)},function(e,t,n){e.exports=n(475)},function(e,t,n){e.exports=n(251)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(19);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(24),o=n(12),i=n(54),a=n(59),c=n(60),s=function(e,t,n){var u,f,l,d=e&s.F,h=e&s.G,p=e&s.S,v=e&s.P,g=e&s.B,y=e&s.W,m=h?o:o[t]||(o[t]={}),b=m.prototype,w=h?r:p?r[t]:(r[t]||{}).prototype;for(u in h&&(n=t),n)(f=!d&&w&&void 0!==w[u])&&c(m,u)||(l=f?w[u]:n[u],m[u]=h&&"function"!=typeof w[u]?n[u]:g&&f?i(l,r):y&&w[u]==l?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((m.virtual||(m.virtual={}))[u]=l,e&s.R&&b&&!b[u]&&a(b,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){e.exports=n(138)},function(e,t,n){var r=n(117)("wks"),o=n(69),i=n(16).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(49),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=n(181)},function(e,t,n){e.exports=!n(17)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(18),o=n(205),i=n(61),a=Object.defineProperty;t.f=n(27)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(57);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(136)("wks"),o=n(112),i=n(24).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(273)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(29);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(46)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(16),o=n(40),i=n(39),a=n(69)("src"),c=n(301),s=(""+c).split("toString");n(25).inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||c.call(this)}))},function(e,t,n){var r=n(0),o=n(17),i=n(57),a=/"/g,c=function(e,t,n,r){var o=String(i(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+String(r).replace(a,""")+'"'),c+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(c),r(r.P+r.F*o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){var r=n(149),o=n(203);function i(t){return e.exports=i=r?o.bind():function(e){return e.__proto__||o(e)},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(33),o=n(182),i=n(108),a=Object.defineProperty;t.f=n(34)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(28),o=n(68);e.exports=n(27)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(104),o=n(57);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(255),o=n(257),i=n(196),a=n(267);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(146)},function(e,t,n){var r=n(278),o=n(279),i=n(196),a=n(280);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(48);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(105),o=n(68),i=n(41),a=n(61),c=n(39),s=n(205),u=Object.getOwnPropertyDescriptor;t.f=n(27)?u:function(e,t){if(e=i(e),t=a(t,!0),s)try{return u(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(0),o=n(25),i=n(17);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(47),o=n(104),i=n(30),a=n(23),c=n(221);e.exports=function(e,t){var n=1==e,s=2==e,u=3==e,f=4==e,l=6==e,d=5==e||l,h=t||c;return function(t,c,p){for(var v,g,y=i(t),m=o(y),b=r(c,p,3),w=a(m.length),k=0,S=n?h(t,w):s?h(t,0):void 0;w>k;k++)if((d||k in m)&&(g=b(v=m[k],k,y),e))if(n)S[k]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:S.push(v)}else if(f)return!1;return l?-1:u||f?f:S}}},function(e,t,n){e.exports=n(286)},function(e,t,n){var r=n(66);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(132),o=n(109);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(27)){var r=n(70),o=n(16),i=n(17),a=n(0),c=n(128),s=n(179),u=n(47),f=n(86),l=n(68),d=n(40),h=n(87),p=n(49),v=n(23),g=n(232),y=n(72),m=n(61),b=n(39),w=n(106),k=n(19),S=n(30),_=n(171),x=n(73),C=n(75),M=n(74).f,I=n(173),E=n(69),T=n(22),P=n(52),A=n(118),O=n(107),L=n(175),B=n(84),F=n(121),j=n(85),R=n(174),D=n(223),N=n(28),U=n(50),W=N.f,V=U.f,G=o.RangeError,q=o.TypeError,z=o.Uint8Array,H=Array.prototype,K=s.ArrayBuffer,J=s.DataView,X=P(0),Y=P(2),$=P(3),Q=P(4),Z=P(5),ee=P(6),te=A(!0),ne=A(!1),re=L.values,oe=L.keys,ie=L.entries,ae=H.lastIndexOf,ce=H.reduce,se=H.reduceRight,ue=H.join,fe=H.sort,le=H.slice,de=H.toString,he=H.toLocaleString,pe=T("iterator"),ve=T("toStringTag"),ge=E("typed_constructor"),ye=E("def_constructor"),me=c.CONSTR,be=c.TYPED,we=c.VIEW,ke=P(1,(function(e,t){return Me(O(e,e[ye]),t)})),Se=i((function(){return 1===new z(new Uint16Array([1]).buffer)[0]})),_e=!!z&&!!z.prototype.set&&i((function(){new z(1).set({})})),xe=function(e,t){var n=p(e);if(n<0||n%t)throw G("Wrong offset!");return n},Ce=function(e){if(k(e)&&be in e)return e;throw q(e+" is not a typed array!")},Me=function(e,t){if(!k(e)||!(ge in e))throw q("It is not a typed array constructor!");return new e(t)},Ie=function(e,t){return Ee(O(e,e[ye]),t)},Ee=function(e,t){for(var n=0,r=t.length,o=Me(e,r);r>n;)o[n]=t[n++];return o},Te=function(e,t,n){W(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,r,o,i,a,c=S(e),s=arguments.length,f=s>1?arguments[1]:void 0,l=void 0!==f,d=I(c);if(null!=d&&!_(d)){for(a=d.call(c),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);c=r}for(l&&s>2&&(f=u(f,arguments[2],2)),t=0,n=v(c.length),o=Me(this,n);n>t;t++)o[t]=l?f(c[t],t):c[t];return o},Ae=function(){for(var e=0,t=arguments.length,n=Me(this,t);t>e;)n[e]=arguments[e++];return n},Oe=!!z&&i((function(){he.call(new z(1))})),Le=function(){return he.apply(Oe?le.call(Ce(this)):Ce(this),arguments)},Be={copyWithin:function(e,t){return D.call(Ce(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Q(Ce(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return R.apply(Ce(this),arguments)},filter:function(e){return Ie(this,Y(Ce(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(Ce(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ce(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(Ce(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ce(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ce(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Ce(this),arguments)},lastIndexOf:function(e){return ae.apply(Ce(this),arguments)},map:function(e){return ke(Ce(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ce.apply(Ce(this),arguments)},reduceRight:function(e){return se.apply(Ce(this),arguments)},reverse:function(){for(var e,t=Ce(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this},some:function(e){return $(Ce(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return fe.call(Ce(this),e)},subarray:function(e,t){var n=Ce(this),r=n.length,o=y(e,r);return new(O(n,n[ye]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===t?r:y(t,r))-o))}},Fe=function(e,t){return Ie(this,le.call(Ce(this),e,t))},je=function(e){Ce(this);var t=xe(arguments[1],1),n=this.length,r=S(e),o=v(r.length),i=0;if(o+t>n)throw G("Wrong length!");for(;i<o;)this[t+i]=r[i++]},Re={entries:function(){return ie.call(Ce(this))},keys:function(){return oe.call(Ce(this))},values:function(){return re.call(Ce(this))}},De=function(e,t){return k(e)&&e[be]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ne=function(e,t){return De(e,t=m(t,!0))?l(2,e[t]):V(e,t)},Ue=function(e,t,n){return!(De(e,t=m(t,!0))&&k(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?W(e,t,n):(e[t]=n.value,e)};me||(U.f=Ne,N.f=Ue),a(a.S+a.F*!me,"Object",{getOwnPropertyDescriptor:Ne,defineProperty:Ue}),i((function(){de.call({})}))&&(de=he=function(){return ue.call(this)});var We=h({},Be);h(We,Re),d(We,pe,Re.values),h(We,{slice:Fe,set:je,constructor:function(){},toString:de,toLocaleString:Le}),Te(We,"buffer","b"),Te(We,"byteOffset","o"),Te(We,"byteLength","l"),Te(We,"length","e"),W(We,ve,{get:function(){return this[be]}}),e.exports=function(e,t,n,s){var u=e+((s=!!s)?"Clamped":"")+"Array",l="get"+e,h="set"+e,p=o[u],y=p||{},m=p&&C(p),b=!p||!c.ABV,S={},_=p&&p.prototype,I=function(e,n){W(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[l](n*t+r.o,Se)}(this,n)},set:function(e){return function(e,n,r){var o=e._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*t+o.o,r,Se)}(this,n,e)},enumerable:!0})};b?(p=n((function(e,n,r,o){f(e,p,u,"_d");var i,a,c,s,l=0,h=0;if(k(n)){if(!(n instanceof K||"ArrayBuffer"==(s=w(n))||"SharedArrayBuffer"==s))return be in n?Ee(p,n):Pe.call(p,n);i=n,h=xe(r,t);var y=n.byteLength;if(void 0===o){if(y%t)throw G("Wrong length!");if((a=y-h)<0)throw G("Wrong length!")}else if((a=v(o)*t)+h>y)throw G("Wrong length!");c=a/t}else c=g(n),i=new K(a=c*t);for(d(e,"_d",{b:i,o:h,l:a,e:c,v:new J(i)});l<c;)I(e,l++)})),_=p.prototype=x(We),d(_,"constructor",p)):i((function(){p(1)}))&&i((function(){new p(-1)}))&&F((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=n((function(e,n,r,o){var i;return f(e,p,u),k(n)?n instanceof K||"ArrayBuffer"==(i=w(n))||"SharedArrayBuffer"==i?void 0!==o?new y(n,xe(r,t),o):void 0!==r?new y(n,xe(r,t)):new y(n):be in n?Ee(p,n):Pe.call(p,n):new y(g(n))})),X(m!==Function.prototype?M(y).concat(M(m)):M(y),(function(e){e in p||d(p,e,y[e])})),p.prototype=_,r||(_.constructor=p));var E=_[pe],T=!!E&&("values"==E.name||null==E.name),P=Re.values;d(p,ge,!0),d(_,be,u),d(_,we,!0),d(_,ye,p),(s?new p(1)[ve]==u:ve in _)||W(_,ve,{get:function(){return u}}),S[u]=p,a(a.G+a.W+a.F*(p!=y),S),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*i((function(){y.of.call(p,1)})),u,{from:Pe,of:Ae}),"BYTES_PER_ELEMENT"in _||d(_,"BYTES_PER_ELEMENT",t),a(a.P,u,Be),j(u),a(a.P+a.F*_e,u,{set:je}),a(a.P+a.F*!T,u,Re),r||_.toString==de||(_.toString=de),a(a.P+a.F*i((function(){new p(1).slice()})),u,{slice:Fe}),a(a.P+a.F*(i((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!i((function(){_.toLocaleString.call([1,2])}))),u,{toLocaleString:Le}),B[u]=T?E:P,r||T||d(_,pe,P)}}else e.exports=function(){}},function(e,t,n){var r=n(38),o=n(92);e.exports=n(34)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(19);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(69)("meta"),o=n(19),i=n(39),a=n(28).f,c=0,s=Object.isExtensible||function(){return!0},u=!n(17)((function(){return s(Object.preventExtensions({}))})),f=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},l=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";f(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;f(e)}return e[r].w},onFreeze:function(e){return u&&l.NEED&&s(e)&&!i(e,r)&&f(e),e}}},function(e,t,n){e.exports=n(96)},function(e,t,n){var r=n(148),o=n(91),i=n(180);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),o(e,"prototype",{writable:!1}),t&&i(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(7).default,o=n(485);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(109);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var r=n(207),o=n(158);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(49),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(18),o=n(208),i=n(158),a=n(157)("IE_PROTO"),c=function(){},s=function(){var e,t=n(155)("iframe"),r=i.length;for(t.style.display="none",n(159).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(207),o=n(158).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(39),o=n(30),i=n(157)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(22)("unscopables"),o=Array.prototype;null==o[r]&&n(40)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(19);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(184),o=n(137);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){},function(e,t,n){var r=n(54),o=n(191),i=n(192),a=n(33),c=n(111),s=n(194),u={},f={};(t=e.exports=function(e,t,n,l,d){var h,p,v,g,y=d?function(){return e}:s(e),m=r(n,l,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(h=c(e.length);h>b;b++)if((g=t?m(a(p=e[b])[0],p[1]):m(e[b]))===u||g===f)return g}else for(v=y.call(e);!(p=v.next()).done;)if((g=o(v,m,p.value,t))===u||g===f)return g}).BREAK=u,t.RETURN=f},function(e,t,n){var r=n(29);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(28).f,o=n(39),i=n(22)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(0),o=n(57),i=n(17),a=n(161),c="["+a+"]",s=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),f=function(e,t,n){var o={},c=i((function(){return!!a[e]()||"
"!="
"[e]()})),s=o[e]=c?t(l):a[e];n&&(o[n]=s),r(r.P+r.F*c,"String",o)},l=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(u,"")),e};e.exports=f},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(16),o=n(28),i=n(27),a=n(22)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(35);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(146);function o(e,t,n,o,i,a,c){try{var s=e[a](c),u=s.value}catch(e){return void n(e)}s.done?t(u):r.resolve(u).then(o,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new r((function(r,i){var a=e.apply(t,n);function c(e){o(a,r,i,c,s,"next",e)}function s(e){o(a,r,i,c,s,"throw",e)}c(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(144)},function(e,t,n){e.exports=n(496)},function(e,t,n){n(246);var r=n(12).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=!0},function(e,t,n){n(186),n(79),n(260),n(261),e.exports=n(12).Symbol},function(e,t,n){var r=n(112)("meta"),o=n(29),i=n(60),a=n(38).f,c=0,s=Object.isExtensible||function(){return!0},u=!n(46)((function(){return s(Object.preventExtensions({}))})),f=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},l=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";f(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;f(e)}return e[r].w},onFreeze:function(e){return u&&l.NEED&&s(e)&&!i(e,r)&&f(e),e}}},function(e,t,n){var r=n(38).f,o=n(60),i=n(31)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(31)},function(e,t,n){var r=n(33),o=n(187),i=n(137),a=n(135)("IE_PROTO"),c=function(){},s=function(){var e,t=n(131)("iframe"),r=i.length;for(t.style.display="none",n(188).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){"use strict";var r=n(262)(!0);n(143)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){e.exports={}},function(e,t,n){n(264);for(var r=n(24),o=n(59),i=n(102),a=n(31)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<c.length;s++){var u=c[s],f=r[u],l=f&&f.prototype;l&&!l[a]&&o(l,a,u),i[u]=i.Array}},function(e,t,n){var r=n(56);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(56),o=n(22)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(18),o=n(48),i=n(22)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r=n(29);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(94),o=n(92),i=n(55),a=n(108),c=n(60),s=n(182),u=Object.getOwnPropertyDescriptor;t.f=n(34)?u:function(e,t){if(e=i(e),t=a(t,!0),s)try{return u(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(134),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){n(101),n(103),e.exports=n(99).f("iterator")},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(59);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){var r=n(25),o=n(16),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(70)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(41),o=n(23),i=n(72);e.exports=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),f=i(a,u);if(e&&n!=n){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((e||f in s)&&s[f]===n)return e||f||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(56);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(22)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(18);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(106),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";n(225);var r=n(35),o=n(40),i=n(17),a=n(57),c=n(22),s=n(176),u=c("species"),f=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var d=c(e),h=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=h?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!t})):void 0;if(!h||!p||"replace"===e&&!f||"split"===e&&!l){var v=/./[d],g=n(a,d,""[e],(function(e,t,n,r,o){return t.exec===s?h&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=g[0],m=g[1];r(String.prototype,e,y),o(RegExp.prototype,d,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},function(e,t,n){var r=n(47),o=n(220),i=n(171),a=n(18),c=n(23),s=n(173),u={},f={};(t=e.exports=function(e,t,n,l,d){var h,p,v,g,y=d?function(){return e}:s(e),m=r(n,l,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(h=c(e.length);h>b;b++)if((g=t?m(a(p=e[b])[0],p[1]):m(e[b]))===u||g===f)return g}else for(v=y.call(e);!(p=v.next()).done;)if((g=o(v,m,p.value,t))===u||g===f)return g}).BREAK=u,t.RETURN=f},function(e,t,n){var r=n(16).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(16),o=n(0),i=n(35),a=n(87),c=n(62),s=n(125),u=n(86),f=n(19),l=n(17),d=n(121),h=n(82),p=n(162);e.exports=function(e,t,n,v,g,y){var m=r[e],b=m,w=g?"set":"add",k=b&&b.prototype,S={},_=function(e){var t=k[e];i(k,e,"delete"==e||"has"==e?function(e){return!(y&&!f(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!f(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(y||k.forEach&&!l((function(){(new b).entries().next()})))){var x=new b,C=x[w](y?{}:-0,1)!=x,M=l((function(){x.has(1)})),I=d((function(e){new b(e)})),E=!y&&l((function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)}));I||((b=t((function(t,n){u(t,b,e);var r=p(new m,t,b);return null!=n&&s(n,g,r[w],r),r}))).prototype=k,k.constructor=b),(M||E)&&(_("delete"),_("has"),g&&_("get")),(E||C)&&_(w),y&&k.clear&&delete k.clear}else b=v.getConstructor(t,e,g,w),a(b.prototype,n),c.NEED=!0;return h(b,e),S[e]=b,o(o.G+o.W+o.F*(b!=m),S),y||v.setStrong(b,e,g),b}},function(e,t,n){for(var r,o=n(16),i=n(40),a=n(69),c=a("typed_array"),s=a("view"),u=!(!o.ArrayBuffer||!o.DataView),f=u,l=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=o[d[l++]])?(i(r.prototype,c,!0),i(r.prototype,s,!0)):f=!1;e.exports={ABV:u,CONSTR:f,TYPED:c,VIEW:s}},function(e,t,n){e.exports=n(114)},function(e,t,n){var r=n(237),o=n(148),i=n(37),a=n(180),c=n(491),s=n(492);function u(t){var n="function"==typeof r?new r:void 0;return e.exports=u=function(e){if(null===e||!c(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return s(e,arguments,i(this).constructor)}return t.prototype=o(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,u(t)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(29),o=n(24).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(93);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(20),o=n(12),i=n(46);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(136)("keys"),o=n(112);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(12),o=n(24),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(95)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){n(256),e.exports=n(12).Array.isArray},function(e,t,n){var r=n(93);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){e.exports=n(59)},function(e,t,n){var r=n(24),o=n(12),i=n(95),a=n(99),c=n(38).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(184),o=n(137).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(95),o=n(20),i=n(140),a=n(59),c=n(102),s=n(263),u=n(98),f=n(189),l=n(31)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,v,g,y){s(n,t,p);var m,b,w,k=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",_="values"==v,x=!1,C=e.prototype,M=C[l]||C["@@iterator"]||v&&C[v],I=M||k(v),E=v?_?k("entries"):I:void 0,T="Array"==t&&C.entries||M;if(T&&(w=f(T.call(new e)))!==Object.prototype&&w.next&&(u(w,S,!0),r||"function"==typeof w[l]||a(w,l,h)),_&&M&&"values"!==M.name&&(x=!0,I=function(){return M.call(this)}),r&&!y||!d&&!x&&C[l]||a(C,l,I),c[t]=I,c[S]=h,v)if(m={values:_?I:k("values"),keys:g?I:k("keys"),entries:E},y)for(b in m)b in C||i(C,b,m[b]);else o(o.P+o.F*(d||x),t,m);return m}},function(e,t,n){n(101),n(266),e.exports=n(12).Array.from},function(e,t,n){var r=n(93),o=n(31)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){n(79),n(101),n(103),n(268),n(271),n(272),e.exports=n(12).Promise},function(e,t,n){"use strict";var r=n(66);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){n(274);var r=n(12).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(276),e.exports=n(12).Object.setPrototypeOf},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(54),o=n(132),i=n(67),a=n(111),c=n(288);e.exports=function(e,t){var n=1==e,s=2==e,u=3==e,f=4==e,l=6==e,d=5==e||l,h=t||c;return function(t,c,p){for(var v,g,y=i(t),m=o(y),b=r(c,p,3),w=a(m.length),k=0,S=n?h(t,w):s?h(t,0):void 0;w>k;k++)if((d||k in m)&&(g=b(v=m[k],k,y),e))if(n)S[k]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:S.push(v)}else if(f)return!1;return l?-1:u||f?f:S}}},function(e,t,n){"use strict";var r=n(24),o=n(20),i=n(97),a=n(46),c=n(59),s=n(116),u=n(80),f=n(115),l=n(29),d=n(98),h=n(38).f,p=n(151)(0),v=n(34);e.exports=function(e,t,n,g,y,m){var b=r[e],w=b,k=y?"set":"add",S=w&&w.prototype,_={};return v&&"function"==typeof w&&(m||S.forEach&&!a((function(){(new w).entries().next()})))?(w=t((function(t,n){f(t,w,e,"_c"),t._c=new b,null!=n&&u(n,y,t[k],t)})),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(e){var t="add"==e||"set"==e;!(e in S)||m&&"clear"==e||c(w.prototype,e,(function(n,r){if(f(this,w,e),!t&&m&&!l(n))return"get"==e&&void 0;var o=this._c[e](0===n?0:n,r);return t?this:o}))})),m||h(w.prototype,"size",{get:function(){return this._c.size}})):(w=g.getConstructor(t,e,y,k),s(w.prototype,n),i.NEED=!0),d(w,e),_[e]=w,o(o.G+o.W+o.F,_),m||g.setStrong(w,e,y),w}},function(e,t,n){"use strict";var r=n(20);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){"use strict";var r=n(20),o=n(66),i=n(54),a=n(80);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,c,s=arguments[1];return o(this),(t=void 0!==s)&&o(s),null==e?new this:(n=[],t?(r=0,c=i(s,arguments[2],2),a(e,!1,(function(e){n.push(c(e,r++))}))):a(e,!1,n.push,n),new this(n))}})}},function(e,t,n){var r=n(19),o=n(16).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){t.f=n(22)},function(e,t,n){var r=n(117)("keys"),o=n(69);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(16).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(19),o=n(18),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(47)(Function.call,n(50).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){var r=n(19),o=n(160).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){"use strict";var r=n(49),o=n(57);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(49),o=n(57);e.exports=function(e){return function(t,n){var i,a,c=String(o(t)),s=r(n),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):i:e?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(70),o=n(0),i=n(35),a=n(40),c=n(84),s=n(219),u=n(82),f=n(75),l=n(22)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,v,g,y){s(n,t,p);var m,b,w,k=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",_="values"==v,x=!1,C=e.prototype,M=C[l]||C["@@iterator"]||v&&C[v],I=M||k(v),E=v?_?k("entries"):I:void 0,T="Array"==t&&C.entries||M;if(T&&(w=f(T.call(new e)))!==Object.prototype&&w.next&&(u(w,S,!0),r||"function"==typeof w[l]||a(w,l,h)),_&&M&&"values"!==M.name&&(x=!0,I=function(){return M.call(this)}),r&&!y||!d&&!x&&C[l]||a(C,l,I),c[t]=I,c[S]=h,v)if(m={values:_?I:k("values"),keys:g?I:k("keys"),entries:E},y)for(b in m)b in C||i(C,b,m[b]);else o(o.P+o.F*(d||x),t,m);return m}},function(e,t,n){var r=n(169),o=n(57);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(19),o=n(56),i=n(22)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(22)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(84),o=n(22)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(28),o=n(68);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(106),o=n(22)("iterator"),i=n(84);e.exports=n(25).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(30),o=n(72),i=n(23);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:o(s,n);u>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var r=n(76),o=n(224),i=n(84),a=n(41);e.exports=n(167)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,o,i=n(122),a=RegExp.prototype.exec,c=String.prototype.replace,s=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(u||f)&&(s=function(e){var t,n,r,o,s=this;return f&&(n=new RegExp("^"+s.source+"$(?!\\s)",i.call(s))),u&&(t=s.lastIndex),r=a.call(s,e),u&&r&&(s.lastIndex=s.global?r.index+r[0].length:t),f&&r&&r.length>1&&c.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=s},function(e,t,n){"use strict";var r=n(166)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r,o,i,a=n(47),c=n(213),s=n(159),u=n(155),f=n(16),l=f.process,d=f.setImmediate,h=f.clearImmediate,p=f.MessageChannel,v=f.Dispatch,g=0,y={},m=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},b=function(e){m.call(e.data)};d&&h||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++g]=function(){c("function"==typeof e?e:Function(e),t)},r(g),g},h=function(e){delete y[e]},"process"==n(56)(l)?r=function(e){l.nextTick(a(m,e,1))}:v&&v.now?r=function(e){v.now(a(m,e,1))}:p?(i=(o=new p).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(e){s.appendChild(u("script")).onreadystatechange=function(){s.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:h}},function(e,t,n){"use strict";var r=n(16),o=n(27),i=n(70),a=n(128),c=n(40),s=n(87),u=n(17),f=n(86),l=n(49),d=n(23),h=n(232),p=n(74).f,v=n(28).f,g=n(174),y=n(82),m=r.ArrayBuffer,b=r.DataView,w=r.Math,k=r.RangeError,S=r.Infinity,_=m,x=w.abs,C=w.pow,M=w.floor,I=w.log,E=w.LN2,T=o?"_b":"buffer",P=o?"_l":"byteLength",A=o?"_o":"byteOffset";function O(e,t,n){var r,o,i,a=new Array(n),c=8*n-t-1,s=(1<<c)-1,u=s>>1,f=23===t?C(2,-24)-C(2,-77):0,l=0,d=e<0||0===e&&1/e<0?1:0;for((e=x(e))!=e||e===S?(o=e!=e?1:0,r=s):(r=M(I(e)/E),e*(i=C(2,-r))<1&&(r--,i*=2),(e+=r+u>=1?f/i:f*C(2,1-u))*i>=2&&(r++,i/=2),r+u>=s?(o=0,r=s):r+u>=1?(o=(e*i-1)*C(2,t),r+=u):(o=e*C(2,u-1)*C(2,t),r=0));t>=8;a[l++]=255&o,o/=256,t-=8);for(r=r<<t|o,c+=t;c>0;a[l++]=255&r,r/=256,c-=8);return a[--l]|=128*d,a}function L(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,c=o-7,s=n-1,u=e[s--],f=127&u;for(u>>=7;c>0;f=256*f+e[s],s--,c-=8);for(r=f&(1<<-c)-1,f>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===f)f=1-a;else{if(f===i)return r?NaN:u?-S:S;r+=C(2,t),f-=a}return(u?-1:1)*r*C(2,f-t)}function B(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function F(e){return[255&e]}function j(e){return[255&e,e>>8&255]}function R(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function D(e){return O(e,52,8)}function N(e){return O(e,23,4)}function U(e,t,n){v(e.prototype,t,{get:function(){return this[n]}})}function W(e,t,n,r){var o=h(+n);if(o+t>e[P])throw k("Wrong index!");var i=e[T]._b,a=o+e[A],c=i.slice(a,a+t);return r?c:c.reverse()}function V(e,t,n,r,o,i){var a=h(+n);if(a+t>e[P])throw k("Wrong index!");for(var c=e[T]._b,s=a+e[A],u=r(+o),f=0;f<t;f++)c[s+f]=u[i?f:t-f-1]}if(a.ABV){if(!u((function(){m(1)}))||!u((function(){new m(-1)}))||u((function(){return new m,new m(1.5),new m(NaN),"ArrayBuffer"!=m.name}))){for(var G,q=(m=function(e){return f(this,m),new _(h(e))}).prototype=_.prototype,z=p(_),H=0;z.length>H;)(G=z[H++])in m||c(m,G,_[G]);i||(q.constructor=m)}var K=new b(new m(2)),J=b.prototype.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||s(b.prototype,{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},!0)}else m=function(e){f(this,m,"ArrayBuffer");var t=h(e);this._b=g.call(new Array(t),0),this[P]=t},b=function(e,t,n){f(this,b,"DataView"),f(e,m,"DataView");var r=e[P],o=l(t);if(o<0||o>r)throw k("Wrong offset!");if(o+(n=void 0===n?r-o:d(n))>r)throw k("Wrong length!");this[T]=e,this[A]=o,this[P]=n},o&&(U(m,"byteLength","_l"),U(b,"buffer","_b"),U(b,"byteLength","_l"),U(b,"byteOffset","_o")),s(b.prototype,{getInt8:function(e){return W(this,1,e)[0]<<24>>24},getUint8:function(e){return W(this,1,e)[0]},getInt16:function(e){var t=W(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=W(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return B(W(this,4,e,arguments[1]))},getUint32:function(e){return B(W(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return L(W(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return L(W(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){V(this,1,e,F,t)},setUint8:function(e,t){V(this,1,e,F,t)},setInt16:function(e,t){V(this,2,e,j,t,arguments[2])},setUint16:function(e,t){V(this,2,e,j,t,arguments[2])},setInt32:function(e,t){V(this,4,e,R,t,arguments[2])},setUint32:function(e,t){V(this,4,e,R,t,arguments[2])},setFloat32:function(e,t){V(this,4,e,N,t,arguments[2])},setFloat64:function(e,t){V(this,8,e,D,t,arguments[2])}});y(m,"ArrayBuffer"),y(b,"DataView"),c(b.prototype,a.VIEW,!0),t.ArrayBuffer=m,t.DataView=b},function(e,t,n){var r=n(149);function o(t,n){return e.exports=o=r?r.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(493),e.exports=n(12).Reflect.construct},function(e,t,n){e.exports=!n(34)&&!n(46)((function(){return 7!=Object.defineProperty(n(131)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r=n(34),o=n(78),i=n(113),a=n(94),c=n(67),s=n(132),u=Object.assign;e.exports=!u||n(46)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=c(e),u=arguments.length,f=1,l=i.f,d=a.f;u>f;)for(var h,p=s(arguments[f++]),v=l?o(p).concat(l(p)):o(p),g=v.length,y=0;g>y;)h=v[y++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(60),o=n(55),i=n(253)(!1),a=n(135)("IE_PROTO");e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)n!=a&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(24),o=n(60),i=n(34),a=n(20),c=n(140),s=n(97).KEY,u=n(46),f=n(136),l=n(98),d=n(112),h=n(31),p=n(99),v=n(141),g=n(258),y=n(139),m=n(33),b=n(29),w=n(67),k=n(55),S=n(108),_=n(92),x=n(100),C=n(259),M=n(110),I=n(113),E=n(38),T=n(78),P=M.f,A=E.f,O=C.f,L=r.Symbol,B=r.JSON,F=B&&B.stringify,j=h("_hidden"),R=h("toPrimitive"),D={}.propertyIsEnumerable,N=f("symbol-registry"),U=f("symbols"),W=f("op-symbols"),V=Object.prototype,G="function"==typeof L&&!!I.f,q=r.QObject,z=!q||!q.prototype||!q.prototype.findChild,H=i&&u((function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=P(V,t);r&&delete V[t],A(e,t,n),r&&e!==V&&A(V,t,r)}:A,K=function(e){var t=U[e]=x(L.prototype);return t._k=e,t},J=G&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},X=function(e,t,n){return e===V&&X(W,t,n),m(e),t=S(t,!0),m(n),o(U,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=x(n,{enumerable:_(0,!1)})):(o(e,j)||A(e,j,_(1,{})),e[j][t]=!0),H(e,t,n)):A(e,t,n)},Y=function(e,t){m(e);for(var n,r=g(t=k(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=D.call(this,e=S(e,!0));return!(this===V&&o(U,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,j)&&this[j][e])||t)},Q=function(e,t){if(e=k(e),t=S(t,!0),e!==V||!o(U,t)||o(W,t)){var n=P(e,t);return!n||!o(U,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=O(k(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==j||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===V,r=O(n?W:k(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(V,t)||i.push(U[t]);return i};G||(c((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(W,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),H(this,e,_(1,n))};return i&&z&&H(V,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",(function(){return this._k})),M.f=Q,E.f=X,n(142).f=C.f=Z,n(94).f=$,I.f=ee,i&&!n(95)&&c(V,"propertyIsEnumerable",$,!0),p.f=function(e){return K(h(e))}),a(a.G+a.W+a.F*!G,{Symbol:L});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)h(te[ne++]);for(var re=T(h.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!G,"Symbol",{for:function(e){return o(N,e+="")?N[e]:N[e]=L(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!G,"Object",{create:function(e,t){return void 0===t?x(e):Y(x(e),t)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=u((function(){I.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return I.f(w(e))}}),B&&a(a.S+a.F*(!G||u((function(){var e=L();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!J(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,F.apply(B,r)}}),L.prototype[R]||n(59)(L.prototype,R,L.prototype.valueOf),l(L,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(e,t,n){var r=n(38),o=n(33),i=n(78);e.exports=n(34)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,s=0;c>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(24).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(60),o=n(67),i=n(135)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(33);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(102),o=n(31)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(38),o=n(92);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(145),o=n(31)("iterator"),i=n(102);e.exports=n(12).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(31)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){var r=n(144),o=n(185);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?r(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(33),o=n(66),i=n(31)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(54),c=n(199),s=n(188),u=n(131),f=n(24),l=f.process,d=f.setImmediate,h=f.clearImmediate,p=f.MessageChannel,v=f.Dispatch,g=0,y={},m=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},b=function(e){m.call(e.data)};d&&h||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++g]=function(){c("function"==typeof e?e:Function(e),t)},r(g),g},h=function(e){delete y[e]},"process"==n(93)(l)?r=function(e){l.nextTick(a(m,e,1))}:v&&v.now?r=function(e){v.now(a(m,e,1))}:p?(i=(o=new p).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(e){s.appendChild(u("script")).onreadystatechange=function(){s.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:h}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(33),o=n(29),i=n(147);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(24),o=n(12),i=n(38),a=n(34),c=n(31)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[c]&&i.f(t,c,{configurable:!0,get:function(){return this}})}},function(e,t,n){n(275),e.exports=n(12).Object.getPrototypeOf},function(e,t,n){var r=n(20),o=n(109),i=n(46),a=n(150),c="["+a+"]",s=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),f=function(e,t,n){var o={},c=i((function(){return!!a[e]()||"
"!="
"[e]()})),s=o[e]=c?t(l):a[e];n&&(o[n]=s),r(r.P+r.F*c,"String",o)},l=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(s,"")),2&t&&(e=e.replace(u,"")),e};e.exports=f},function(e,t,n){e.exports=!n(27)&&!n(17)((function(){return 7!=Object.defineProperty(n(155)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(16),o=n(25),i=n(70),a=n(156),c=n(28).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(39),o=n(41),i=n(118)(!1),a=n(157)("IE_PROTO");e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)n!=a&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(28),o=n(18),i=n(71);e.exports=n(27)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,s=0;c>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(41),o=n(74).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(27),o=n(71),i=n(119),a=n(105),c=n(30),s=n(104),u=Object.assign;e.exports=!u||n(17)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=c(e),u=arguments.length,f=1,l=i.f,d=a.f;u>f;)for(var h,p=s(arguments[f++]),v=l?o(p).concat(l(p)):o(p),g=v.length,y=0;g>y;)h=v[y++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:u},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(48),o=n(19),i=n(213),a=[].slice,c={},s=function(e,t,n){if(!(t in c)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";c[t]=Function("F,a","return new F("+r.join(",")+")")}return c[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?s(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(c.prototype=t.prototype),c}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(16).parseInt,o=n(83).trim,i=n(161),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(16).parseFloat,o=n(83).trim;e.exports=1/r(n(161)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(56);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(19),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(73),o=n(68),i=n(82),a={};n(40)(a,n(22)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(18);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(391);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(48),o=n(30),i=n(104),a=n(23);e.exports=function(e,t,n,c,s){r(t);var u=o(e),f=i(u),l=a(u.length),d=s?l-1:0,h=s?-1:1;if(n<2)for(;;){if(d in f){c=f[d],d+=h;break}if(d+=h,s?d<0:l<=d)throw TypeError("Reduce of empty array with no initial value")}for(;s?d>=0:l>d;d+=h)d in f&&(c=t(c,f[d],d,u));return c}},function(e,t,n){"use strict";var r=n(30),o=n(72),i=n(23);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),c=o(e,a),s=o(t,a),u=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===u?a:o(u,a))-s,a-c),l=1;for(s<c&&c<s+f&&(l=-1,s+=f-1,c+=f-1);f-- >0;)s in n?n[c]=n[s]:delete n[c],c+=l,s+=l;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(176);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(27)&&"g"!=/./g.flags&&n(28).f(RegExp.prototype,"flags",{configurable:!0,get:n(122)})},function(e,t,n){"use strict";var r,o,i,a,c=n(70),s=n(16),u=n(47),f=n(106),l=n(0),d=n(19),h=n(48),p=n(86),v=n(125),g=n(107),y=n(178).set,m=n(411)(),b=n(228),w=n(412),k=n(126),S=n(229),_=s.TypeError,x=s.process,C=x&&x.versions,M=C&&C.v8||"",I=s.Promise,E="process"==f(x),T=function(){},P=o=b.f,A=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[n(22)("species")]=function(e){e(T,T)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==M.indexOf("6.6")&&-1===k.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;m((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,c=o?t.ok:t.fail,s=t.resolve,u=t.reject,f=t.domain;try{c?(o||(2==e._h&&j(e),e._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),a=!0)),n===t.promise?u(_("Promise-chain cycle")):(i=O(n))?i.call(n,s,u):s(n)):u(r)}catch(e){f&&!a&&f.exit(),u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&B(e)}))}},B=function(e){y.call(s,(function(){var t,n,r,o=e._v,i=F(e);if(i&&(t=w((function(){E?x.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=E||F(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){y.call(s,(function(){var t;E?x.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=O(e))?m((function(){var r={_w:n,_d:!1};try{t.call(e,u(D,r,1),u(R,r,1))}catch(e){R.call(r,e)}})):(n._v=e,n._s=1,L(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};A||(I=function(e){p(this,I,"Promise","_h"),h(e),r.call(this);try{e(u(D,this,1),u(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(87)(I.prototype,{then:function(e,t){var n=P(g(this,I));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(D,e,1),this.reject=u(R,e,1)},b.f=P=function(e){return e===I||e===a?new i(e):o(e)}),l(l.G+l.W+l.F*!A,{Promise:I}),n(82)(I,"Promise"),n(85)("Promise"),a=n(25).Promise,l(l.S+l.F*!A,"Promise",{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(c||!A),"Promise",{resolve:function(e){return S(c&&this===a?I:this,e)}}),l(l.S+l.F*!(A&&n(121)((function(e){I.all(e).catch(T)}))),"Promise",{all:function(e){var t=this,n=P(t),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;v(e,!1,(function(e){var c=i++,s=!1;n.push(void 0),a++,t.resolve(e).then((function(e){s||(s=!0,n[c]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=P(t),r=n.reject,o=w((function(){v(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(48);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(18),o=n(19),i=n(228);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(28).f,o=n(73),i=n(87),a=n(47),c=n(86),s=n(125),u=n(167),f=n(224),l=n(85),d=n(27),h=n(62).fastKey,p=n(77),v=d?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,r){c(e,f,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[v]=0,null!=r&&s(r,n,e[u],e)}));return i(f.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=p(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(p(this,t),e)}}),d&&r(f.prototype,"size",{get:function(){return p(this,t)[v]}}),f},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[v]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?f(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,f(1))}),n?"entries":"values",!n,!0),l(t)}}},function(e,t,n){"use strict";var r=n(87),o=n(62).getWeak,i=n(18),a=n(19),c=n(86),s=n(125),u=n(52),f=n(39),l=n(77),d=u(5),h=u(6),p=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return d(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){c(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&s(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).delete(e):n&&f(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).has(e):n&&f(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},function(e,t,n){var r=n(49),o=n(23);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(74),o=n(119),i=n(18),a=n(16).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(23),o=n(163),i=n(57);e.exports=function(e,t,n,a){var c=String(i(e)),s=c.length,u=void 0===n?" ":String(n),f=r(t);if(f<=s||""==u)return c;var l=f-s,d=o.call(u,Math.ceil(l/u.length));return d.length>l&&(d=d.slice(0,l)),a?d+c:c+d}},function(e,t,n){var r=n(27),o=n(71),i=n(41),a=n(105).f;e.exports=function(e){return function(t){for(var n,c=i(t),s=o(c),u=s.length,f=0,l=[];u>f;)n=s[f++],r&&!a.call(c,n)||l.push(e?[n,c[n]]:c[n]);return l}}},function(e,t,n){var r=n(7).default,o=n(473);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(79),n(101),n(103),n(486),n(487),n(489),n(490),e.exports=n(12).Map},function(e,t,n){"use strict";var r=n(38).f,o=n(100),i=n(116),a=n(54),c=n(115),s=n(80),u=n(143),f=n(190),l=n(202),d=n(34),h=n(97).fastKey,p=n(81),v=d?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,r){c(e,f,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[v]=0,null!=r&&s(r,n,e[u],e)}));return i(f.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=p(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(p(this,t),e)}}),d&&r(f.prototype,"size",{get:function(){return p(this,t)[v]}}),f},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[v]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?f(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,f(1))}),n?"entries":"values",!n,!0),l(t)}}},function(e,t,n){var r=n(145),o=n(488);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,n){e.exports=n(249)},function(e,t,n){e.exports=n(293)},function(e,t,n){e.exports=n(482)},function(e,t,n){e.exports=n(499)},function(e,t,n){e.exports=n(237)},function(e,t,n){e.exports=n(500)},function(e,t,n){var r=n(20);r(r.S+r.F*!n(34),"Object",{defineProperty:n(38).f})},function(e,t,n){n(248);var r=n(12).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){var r=n(55),o=n(110).f;n(133)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){n(250),e.exports=n(12).Reflect.defineProperty},function(e,t,n){var r=n(38),o=n(20),i=n(33),a=n(108);o(o.S+o.F*n(46)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){n(252),e.exports=n(12).Object.assign},function(e,t,n){var r=n(20);r(r.S+r.F,"Object",{assign:n(183)})},function(e,t,n){var r=n(55),o=n(111),i=n(254);e.exports=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),f=i(a,u);if(e&&n!=n){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((e||f in s)&&s[f]===n)return e||f||0;return!e&&-1}}},function(e,t,n){var r=n(134),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(138),o=n(185);e.exports=function(e){if(r(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20);r(r.S,"Array",{isArray:n(139)})},function(e,t,n){var r=n(96),o=n(114),i=n(144);e.exports=function(e){if(void 0!==r&&null!=e[o]||null!=e["@@iterator"])return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(78),o=n(113),i=n(94);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,c=n(e),s=i.f,u=0;c.length>u;)s.call(e,a=c[u++])&&t.push(a);return t}},function(e,t,n){var r=n(55),o=n(142).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){n(141)("asyncIterator")},function(e,t,n){n(141)("observable")},function(e,t,n){var r=n(134),o=n(109);e.exports=function(e){return function(t,n){var i,a,c=String(o(t)),s=r(n),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):i:e?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(100),o=n(92),i=n(98),a={};n(59)(a,n(31)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(265),o=n(190),i=n(102),a=n(55);e.exports=n(143)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(54),o=n(20),i=n(67),a=n(191),c=n(192),s=n(111),u=n(193),f=n(194);o(o.S+o.F*!n(195)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,l,d=i(e),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,y=0,m=f(d);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),null==m||h==Array&&c(m))for(n=new h(t=s(d.length));t>y;y++)u(n,y,g?v(d[y],y):d[y]);else for(l=m.call(d),n=new h;!(o=l.next()).done;y++)u(n,y,g?a(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r,o,i,a,c=n(95),s=n(24),u=n(54),f=n(145),l=n(20),d=n(29),h=n(66),p=n(115),v=n(80),g=n(197),y=n(198).set,m=n(269)(),b=n(147),w=n(200),k=n(270),S=n(201),_=s.TypeError,x=s.process,C=x&&x.versions,M=C&&C.v8||"",I=s.Promise,E="process"==f(x),T=function(){},P=o=b.f,A=!!function(){try{var e=I.resolve(1),t=(e.constructor={})[n(31)("species")]=function(e){e(T,T)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==M.indexOf("6.6")&&-1===k.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;m((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,c=o?t.ok:t.fail,s=t.resolve,u=t.reject,f=t.domain;try{c?(o||(2==e._h&&j(e),e._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),a=!0)),n===t.promise?u(_("Promise-chain cycle")):(i=O(n))?i.call(n,s,u):s(n)):u(r)}catch(e){f&&!a&&f.exit(),u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&B(e)}))}},B=function(e){y.call(s,(function(){var t,n,r,o=e._v,i=F(e);if(i&&(t=w((function(){E?x.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=E||F(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},F=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){y.call(s,(function(){var t;E?x.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=O(e))?m((function(){var r={_w:n,_d:!1};try{t.call(e,u(D,r,1),u(R,r,1))}catch(e){R.call(r,e)}})):(n._v=e,n._s=1,L(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};A||(I=function(e){p(this,I,"Promise","_h"),h(e),r.call(this);try{e(u(D,this,1),u(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(116)(I.prototype,{then:function(e,t){var n=P(g(this,I));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(D,e,1),this.reject=u(R,e,1)},b.f=P=function(e){return e===I||e===a?new i(e):o(e)}),l(l.G+l.W+l.F*!A,{Promise:I}),n(98)(I,"Promise"),n(202)("Promise"),a=n(12).Promise,l(l.S+l.F*!A,"Promise",{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(c||!A),"Promise",{resolve:function(e){return S(c&&this===a?I:this,e)}}),l(l.S+l.F*!(A&&n(195)((function(e){I.all(e).catch(T)}))),"Promise",{all:function(e){var t=this,n=P(t),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;v(e,!1,(function(e){var c=i++,s=!1;n.push(void 0),a++,t.resolve(e).then((function(e){s||(s=!0,n[c]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=P(t),r=n.reject,o=w((function(){v(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(24),o=n(198).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,s="process"==n(93)(a);e.exports=function(){var e,t,n,u=function(){var r,o;for(s&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(u)}}else n=function(){o.call(r,u)};else{var l=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(24).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(20),o=n(12),i=n(24),a=n(197),c=n(201);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";var r=n(20),o=n(147),i=n(200);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){var r=n(7).default,o=n(91),i=n(96),a=n(148),c=n(203),s=n(149),u=n(146);function f(){"use strict";e.exports=f=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},l=Object.prototype,d=l.hasOwnProperty,h=o||function(e,t,n){e[t]=n.value},p="function"==typeof i?i:{},v=p.iterator||"@@iterator",g=p.asyncIterator||"@@asyncIterator",y=p.toStringTag||"@@toStringTag";function m(e,t,n){return o(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{m({},"")}catch(t){m=function(e,t,n){return e[t]=n}}function b(e,t,n,r){var o=t&&t.prototype instanceof C?t:C,i=a(o.prototype),c=new R(r||[]);return h(i,"_invoke",{value:L(e,n,c)}),i}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=b;var k="suspendedStart",S="executing",_="completed",x={};function C(){}function M(){}function I(){}var E={};m(E,v,(function(){return this}));var T=c&&c(c(D([])));T&&T!==l&&d.call(T,v)&&(E=T);var P=I.prototype=C.prototype=a(E);function A(e){["next","throw","return"].forEach((function(t){m(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,i,a,c){var s=w(e[o],e,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==r(f)&&d.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,c)}))}c(s.arg)}var o;h(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function L(e,n,r){var o=k;return function(i,a){if(o===S)throw new Error("Generator is already running");if(o===_){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=B(c,r);if(s){if(s===x)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===k)throw o=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=S;var u=w(e,n,r);if("normal"===u.type){if(o=r.done?_:"suspendedYield",u.arg===x)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=_,r.method="throw",r.arg=u.arg)}}}function B(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,B(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),x;var i=w(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,x;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,x):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,x)}function F(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(F,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[v];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(d.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return M.prototype=I,h(P,"constructor",{value:I,configurable:!0}),h(I,"constructor",{value:M,configurable:!0}),M.displayName=m(I,y,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===M||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return s?s(e,I):(e.__proto__=I,m(e,y,"GeneratorFunction")),e.prototype=a(P),e},n.awrap=function(e){return{__await:e}},A(O.prototype),m(O.prototype,g,(function(){return this})),n.AsyncIterator=O,n.async=function(e,t,r,o,i){void 0===i&&(i=u);var a=new O(b(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(P),m(P,y,"Generator"),m(P,v,(function(){return this})),m(P,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=D,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var n in this)"t"===n.charAt(0)&&d.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=d.call(i,"catchLoc"),s=d.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&d.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,x):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),x},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),x}},n}e.exports=f,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20);r(r.S,"Object",{create:n(100)})},function(e,t,n){var r=n(67),o=n(189);n(133)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(20);r(r.S,"Object",{setPrototypeOf:n(277).set})},function(e,t,n){var r=n(29),o=n(33),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(54)(Function.call,n(110).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(138);e.exports=function(e){if(r(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(96),o=n(114);e.exports=function(e,t){var n=null==e?null:void 0!==r&&e[o]||e["@@iterator"];if(null!=n){var i,a,c,s,u=[],f=!0,l=!1;try{if(c=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;f=!1}else for(;!(f=(i=c.call(n)).done)&&(u.push(i.value),u.length!==t);f=!0);}catch(e){l=!0,a=e}finally{try{if(!f&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw a}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(282),e.exports=n(12).Date.now},function(e,t,n){var r=n(20);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){n(284),e.exports=n(12).parseInt},function(e,t,n){var r=n(20),o=n(285);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(24).parseInt,o=n(204).trim,i=n(150),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){n(79),n(103),n(287),n(291),n(292),e.exports=n(12).WeakMap},function(e,t,n){"use strict";var r,o=n(24),i=n(151)(0),a=n(140),c=n(97),s=n(183),u=n(290),f=n(29),l=n(81),d=n(81),h=!o.ActiveXObject&&"ActiveXObject"in o,p=c.getWeak,v=Object.isExtensible,g=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(f(e)){var t=p(e);return!0===t?g(l(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(l(this,"WeakMap"),e,t)}},b=e.exports=n(152)("WeakMap",y,m,u,!0,!0);d&&h&&(s((r=u.getConstructor(y,"WeakMap")).prototype,m),c.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(f(t)&&!v(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},function(e,t,n){var r=n(289);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(29),o=n(139),i=n(31)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(116),o=n(97).getWeak,i=n(33),a=n(29),c=n(115),s=n(80),u=n(151),f=n(60),l=n(81),d=u(5),h=u(6),p=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},y=function(e,t){return d(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){c(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&s(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).delete(e):n&&f(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?v(l(this,t)).has(e):n&&f(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},function(e,t,n){n(153)("WeakMap")},function(e,t,n){n(154)("WeakMap")},function(e,t,n){n(294),e.exports=n(12).Number.isNaN},function(e,t,n){var r=n(20);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){n(296),e.exports=n(12).Object.keys},function(e,t,n){var r=n(67),o=n(78);n(133)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";n(298);var r,o=(r=n(470))&&r.__esModule?r:{default:r};o.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),o.default._babelPolyfill=!0},function(e,t,n){"use strict";n(299),n(442),n(444),n(447),n(449),n(451),n(453),n(455),n(457),n(459),n(461),n(463),n(465),n(469)},function(e,t,n){n(300),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(381),n(382),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(175),n(405),n(225),n(406),n(226),n(407),n(408),n(409),n(410),n(227),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421),n(422),n(423),n(424),n(425),n(426),n(427),n(428),n(429),n(430),n(431),n(432),n(433),n(434),n(435),n(436),n(437),n(438),n(439),n(440),n(441),e.exports=n(25)},function(e,t,n){"use strict";var r=n(16),o=n(39),i=n(27),a=n(0),c=n(35),s=n(62).KEY,u=n(17),f=n(117),l=n(82),d=n(69),h=n(22),p=n(156),v=n(206),g=n(302),y=n(120),m=n(18),b=n(19),w=n(30),k=n(41),S=n(61),_=n(68),x=n(73),C=n(209),M=n(50),I=n(119),E=n(28),T=n(71),P=M.f,A=E.f,O=C.f,L=r.Symbol,B=r.JSON,F=B&&B.stringify,j=h("_hidden"),R=h("toPrimitive"),D={}.propertyIsEnumerable,N=f("symbol-registry"),U=f("symbols"),W=f("op-symbols"),V=Object.prototype,G="function"==typeof L&&!!I.f,q=r.QObject,z=!q||!q.prototype||!q.prototype.findChild,H=i&&u((function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=P(V,t);r&&delete V[t],A(e,t,n),r&&e!==V&&A(V,t,r)}:A,K=function(e){var t=U[e]=x(L.prototype);return t._k=e,t},J=G&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},X=function(e,t,n){return e===V&&X(W,t,n),m(e),t=S(t,!0),m(n),o(U,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=x(n,{enumerable:_(0,!1)})):(o(e,j)||A(e,j,_(1,{})),e[j][t]=!0),H(e,t,n)):A(e,t,n)},Y=function(e,t){m(e);for(var n,r=g(t=k(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=D.call(this,e=S(e,!0));return!(this===V&&o(U,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,j)&&this[j][e])||t)},Q=function(e,t){if(e=k(e),t=S(t,!0),e!==V||!o(U,t)||o(W,t)){var n=P(e,t);return!n||!o(U,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=O(k(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==j||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===V,r=O(n?W:k(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(V,t)||i.push(U[t]);return i};G||(c((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(W,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),H(this,e,_(1,n))};return i&&z&&H(V,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",(function(){return this._k})),M.f=Q,E.f=X,n(74).f=C.f=Z,n(105).f=$,I.f=ee,i&&!n(70)&&c(V,"propertyIsEnumerable",$,!0),p.f=function(e){return K(h(e))}),a(a.G+a.W+a.F*!G,{Symbol:L});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)h(te[ne++]);for(var re=T(h.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!G,"Symbol",{for:function(e){return o(N,e+="")?N[e]:N[e]=L(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!G,"Object",{create:function(e,t){return void 0===t?x(e):Y(x(e),t)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=u((function(){I.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return I.f(w(e))}}),B&&a(a.S+a.F*(!G||u((function(){var e=L();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!J(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,F.apply(B,r)}}),L.prototype[R]||n(40)(L.prototype,R,L.prototype.valueOf),l(L,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(117)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(71),o=n(119),i=n(105);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,c=n(e),s=i.f,u=0;c.length>u;)s.call(e,a=c[u++])&&t.push(a);return t}},function(e,t,n){var r=n(0);r(r.S,"Object",{create:n(73)})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(27),"Object",{defineProperty:n(28).f})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(27),"Object",{defineProperties:n(208)})},function(e,t,n){var r=n(41),o=n(50).f;n(51)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){var r=n(30),o=n(75);n(51)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(30),o=n(71);n(51)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){n(51)("getOwnPropertyNames",(function(){return n(209).f}))},function(e,t,n){var r=n(19),o=n(62).onFreeze;n(51)("freeze",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(19),o=n(62).onFreeze;n(51)("seal",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(19),o=n(62).onFreeze;n(51)("preventExtensions",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(19);n(51)("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(19);n(51)("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(19);n(51)("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},function(e,t,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(210)})},function(e,t,n){var r=n(0);r(r.S,"Object",{is:n(211)})},function(e,t,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(160).set})},function(e,t,n){"use strict";var r=n(106),o={};o[n(22)("toStringTag")]="z",o+""!="[object z]"&&n(35)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){var r=n(0);r(r.P,"Function",{bind:n(212)})},function(e,t,n){var r=n(28).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(27)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(19),o=n(75),i=n(22)("hasInstance"),a=Function.prototype;i in a||n(28).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(0),o=n(214);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(0),o=n(215);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){"use strict";var r=n(16),o=n(39),i=n(56),a=n(162),c=n(61),s=n(17),u=n(74).f,f=n(50).f,l=n(28).f,d=n(83).trim,h=r.Number,p=h,v=h.prototype,g="Number"==i(n(73)(v)),y="trim"in String.prototype,m=function(e){var t=c(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=y?t.trim():d(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,s=t.slice(2),u=0,f=s.length;u<f;u++)if((a=s.charCodeAt(u))<48||a>o)return NaN;return parseInt(s,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?s((function(){v.valueOf.call(n)})):"Number"!=i(n))?a(new p(m(t)),n,h):m(t)};for(var b,w=n(27)?u(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;w.length>k;k++)o(p,b=w[k])&&!o(h,b)&&l(h,b,f(p,b));h.prototype=v,v.constructor=h,n(35)(r,"Number",h)}},function(e,t,n){"use strict";var r=n(0),o=n(49),i=n(216),a=n(163),c=1..toFixed,s=Math.floor,u=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=s(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=s(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)};r(r.P+r.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(17)((function(){c.call({})}))),"Number",{toFixed:function(e){var t,n,r,c,s=i(this,f),u=o(e),v="",g="0";if(u<0||u>20)throw RangeError(f);if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(v="-",s=-s),s>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(s*p(2,69,1))-69)<0?s*p(2,-t,1):s/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(l(0,n),r=u;r>=7;)l(1e7,0),r-=7;for(l(p(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),l(1,1),d(2),g=h()}else l(0,n),l(1<<-t,0),g=h()+a.call("0",u);return u>0?v+((c=g.length)<=u?"0."+a.call("0",u-c)+g:g.slice(0,c-u)+"."+g.slice(c-u)):v+g}})},function(e,t,n){"use strict";var r=n(0),o=n(17),i=n(216),a=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(0),o=n(16).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{isInteger:n(217)})},function(e,t,n){var r=n(0);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(0),o=n(217),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(0),o=n(215);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(0),o=n(214);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(0),o=n(218),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(0),o=n(164);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(0),o=n(165);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(0);r(r.S,"Math",{fround:n(345)})},function(e,t,n){var r=n(164),o=Math.pow,i=o(2,-52),a=o(2,-23),c=o(2,127)*(2-a),s=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),u=r(e);return o<s?u*(o/s/a+1/i-1/i)*s*a:(n=(t=(1+a/i)*o)-(t-o))>c||n!=n?u*(1/0):u*n}},function(e,t,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,c=arguments.length,s=0;a<c;)s<(n=o(arguments[a++]))?(i=i*(r=s/n)*r+1,s=n):i+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(i)}})},function(e,t,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(17)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log1p:n(218)})},function(e,t,n){var r=n(0);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(0);r(r.S,"Math",{sign:n(164)})},function(e,t,n){var r=n(0),o=n(165),i=Math.exp;r(r.S+r.F*n(17)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(0),o=n(165),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(0);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(0),o=n(72),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(0),o=n(41),i=n(23);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},function(e,t,n){"use strict";n(83)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){"use strict";var r=n(166)(!0);n(167)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(0),o=n(166)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(23),i=n(168),a="".endsWith;r(r.P+r.F*n(170)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),c=void 0===n?r:Math.min(o(n),r),s=String(e);return a?a.call(t,s,c):t.slice(c-s.length,c)===s}})},function(e,t,n){"use strict";var r=n(0),o=n(168);r(r.P+r.F*n(170)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(0);r(r.P,"String",{repeat:n(163)})},function(e,t,n){"use strict";var r=n(0),o=n(23),i=n(168),a="".startsWith;r(r.P+r.F*n(170)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(36)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},function(e,t,n){"use strict";n(36)("big",(function(e){return function(){return e(this,"big","","")}}))},function(e,t,n){"use strict";n(36)("blink",(function(e){return function(){return e(this,"blink","","")}}))},function(e,t,n){"use strict";n(36)("bold",(function(e){return function(){return e(this,"b","","")}}))},function(e,t,n){"use strict";n(36)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},function(e,t,n){"use strict";n(36)("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},function(e,t,n){"use strict";n(36)("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},function(e,t,n){"use strict";n(36)("italics",(function(e){return function(){return e(this,"i","","")}}))},function(e,t,n){"use strict";n(36)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";n(36)("small",(function(e){return function(){return e(this,"small","","")}}))},function(e,t,n){"use strict";n(36)("strike",(function(e){return function(){return e(this,"strike","","")}}))},function(e,t,n){"use strict";n(36)("sub",(function(e){return function(){return e(this,"sub","","")}}))},function(e,t,n){"use strict";n(36)("sup",(function(e){return function(){return e(this,"sup","","")}}))},function(e,t,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(0),o=n(30),i=n(61);r(r.P+r.F*n(17)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(0),o=n(380);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(17),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(35)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){var r=n(22)("toPrimitive"),o=Date.prototype;r in o||n(40)(o,r,n(383))},function(e,t,n){"use strict";var r=n(18),o=n(61);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},function(e,t,n){var r=n(0);r(r.S,"Array",{isArray:n(120)})},function(e,t,n){"use strict";var r=n(47),o=n(0),i=n(30),a=n(220),c=n(171),s=n(23),u=n(172),f=n(173);o(o.S+o.F*!n(121)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,l,d=i(e),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,y=0,m=f(d);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),null==m||h==Array&&c(m))for(n=new h(t=s(d.length));t>y;y++)u(n,y,g?v(d[y],y):d[y]);else for(l=m.call(d),n=new h;!(o=l.next()).done;y++)u(n,y,g?a(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t,n){"use strict";var r=n(0),o=n(172);r(r.S+r.F*n(17)((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(0),o=n(41),i=[].join;r(r.P+r.F*(n(104)!=Object||!n(45)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(0),o=n(159),i=n(56),a=n(72),c=n(23),s=[].slice;r(r.P+r.F*n(17)((function(){o&&s.call(o)})),"Array",{slice:function(e,t){var n=c(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return s.call(this,e,t);for(var o=a(e,n),u=a(t,n),f=c(u-o),l=new Array(f),d=0;d<f;d++)l[d]="String"==r?this.charAt(o+d):this[o+d];return l}})},function(e,t,n){"use strict";var r=n(0),o=n(48),i=n(30),a=n(17),c=[].sort,s=[1,2,3];r(r.P+r.F*(a((function(){s.sort(void 0)}))||!a((function(){s.sort(null)}))||!n(45)(c)),"Array",{sort:function(e){return void 0===e?c.call(i(this)):c.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(0),i=n(45)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(19),o=n(120),i=n(22)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(0),o=n(52)(1);r(r.P+r.F*!n(45)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(2);r(r.P+r.F*!n(45)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(3);r(r.P+r.F*!n(45)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(52)(4);r(r.P+r.F*!n(45)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(222);r(r.P+r.F*!n(45)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(0),o=n(222);r(r.P+r.F*!n(45)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(0),o=n(118)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(45)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(41),i=n(49),a=n(23),c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(s||!n(45)(c)),"Array",{lastIndexOf:function(e){if(s)return c.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(0);r(r.P,"Array",{copyWithin:n(223)}),n(76)("copyWithin")},function(e,t,n){var r=n(0);r(r.P,"Array",{fill:n(174)}),n(76)("fill")},function(e,t,n){"use strict";var r=n(0),o=n(52)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(76)("find")},function(e,t,n){"use strict";var r=n(0),o=n(52)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(76)(i)},function(e,t,n){n(85)("Array")},function(e,t,n){var r=n(16),o=n(162),i=n(28).f,a=n(74).f,c=n(169),s=n(122),u=r.RegExp,f=u,l=u.prototype,d=/a/g,h=/a/g,p=new u(d)!==d;if(n(27)&&(!p||n(17)((function(){return h[n(22)("match")]=!1,u(d)!=d||u(h)==h||"/a/i"!=u(d,"i")})))){u=function(e,t){var n=this instanceof u,r=c(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:o(p?new f(r&&!i?e.source:e,t):f((r=e instanceof u)?e.source:e,r&&i?s.call(e):t),n?this:l,u)};for(var v=function(e){e in u||i(u,e,{configurable:!0,get:function(){return f[e]},set:function(t){f[e]=t}})},g=a(f),y=0;g.length>y;)v(g[y++]);l.constructor=u,u.prototype=l,n(35)(r,"RegExp",u)}n(85)("RegExp")},function(e,t,n){"use strict";n(226);var r=n(18),o=n(122),i=n(27),a=/./.toString,c=function(e){n(35)(RegExp.prototype,"toString",e,!0)};n(17)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&c((function(){return a.call(this)}))},function(e,t,n){"use strict";var r=n(18),o=n(23),i=n(177),a=n(123);n(124)("match",1,(function(e,t,n,c){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=c(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this);if(!s.global)return a(s,u);var f=s.unicode;s.lastIndex=0;for(var l,d=[],h=0;null!==(l=a(s,u));){var p=String(l[0]);d[h]=p,""===p&&(s.lastIndex=i(u,o(s.lastIndex),f)),h++}return 0===h?null:d}]}))},function(e,t,n){"use strict";var r=n(18),o=n(30),i=n(23),a=n(49),c=n(177),s=n(123),u=Math.max,f=Math.min,l=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(124)("replace",2,(function(e,t,n,p){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=p(n,e,this,t);if(o.done)return o.value;var l=r(e),d=String(this),h="function"==typeof t;h||(t=String(t));var g=l.global;if(g){var y=l.unicode;l.lastIndex=0}for(var m=[];;){var b=s(l,d);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(l.lastIndex=c(d,i(l.lastIndex),y))}for(var w,k="",S=0,_=0;_<m.length;_++){b=m[_];for(var x=String(b[0]),C=u(f(a(b.index),d.length),0),M=[],I=1;I<b.length;I++)M.push(void 0===(w=b[I])?w:String(w));var E=b.groups;if(h){var T=[x].concat(M,C,d);void 0!==E&&T.push(E);var P=String(t.apply(void 0,T))}else P=v(x,d,C,M,E,t);C>=S&&(k+=d.slice(S,C)+P,S=C+x.length)}return k+d.slice(S)}];function v(e,t,r,i,a,c){var s=r+e.length,u=i.length,f=h;return void 0!==a&&(a=o(a),f=d),n.call(c,f,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":c=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return n;if(f>u){var d=l(f/10);return 0===d?n:d<=u?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):n}c=i[f-1]}return void 0===c?"":c}))}}))},function(e,t,n){"use strict";var r=n(18),o=n(211),i=n(123);n(124)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var c=r(e),s=String(this),u=c.lastIndex;o(u,0)||(c.lastIndex=0);var f=i(c,s);return o(c.lastIndex,u)||(c.lastIndex=u),null===f?-1:f.index}]}))},function(e,t,n){"use strict";var r=n(169),o=n(18),i=n(107),a=n(177),c=n(23),s=n(123),u=n(176),f=n(17),l=Math.min,d=[].push,h="length",p=!f((function(){RegExp(4294967295,"y")}));n(124)("split",2,(function(e,t,n,f){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[h]||2!="ab".split(/(?:ab)*/)[h]||4!=".".split(/(.?)(.?)/)[h]||".".split(/()()/)[h]>1||"".split(/.?/)[h]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,c,s=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,p=void 0===t?4294967295:t>>>0,v=new RegExp(e.source,f+"g");(i=u.call(v,o))&&!((a=v.lastIndex)>l&&(s.push(o.slice(l,i.index)),i[h]>1&&i.index<o[h]&&d.apply(s,i.slice(1)),c=i[0][h],l=a,s[h]>=p));)v.lastIndex===i.index&&v.lastIndex++;return l===o[h]?!c&&v.test("")||s.push(""):s.push(o.slice(l)),s[h]>p?s.slice(0,p):s}:"0".split(void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):v.call(String(o),n,r)},function(e,t){var r=f(v,e,this,t,v!==n);if(r.done)return r.value;var u=o(e),d=String(this),h=i(u,RegExp),g=u.unicode,y=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(p?"y":"g"),m=new h(p?u:"^(?:"+u.source+")",y),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===d.length)return null===s(m,d)?[d]:[];for(var w=0,k=0,S=[];k<d.length;){m.lastIndex=p?k:0;var _,x=s(m,p?d:d.slice(k));if(null===x||(_=l(c(m.lastIndex+(p?0:k)),d.length))===w)k=a(d,k,g);else{if(S.push(d.slice(w,k)),S.length===b)return S;for(var C=1;C<=x.length-1;C++)if(S.push(x[C]),S.length===b)return S;k=w=_}}return S.push(d.slice(w)),S}]}))},function(e,t,n){var r=n(16),o=n(178).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,s="process"==n(56)(a);e.exports=function(){var e,t,n,u=function(){var r,o;for(s&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(u)}}else n=function(){o.call(r,u)};else{var l=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(230),o=n(77);e.exports=n(127)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(230),o=n(77);e.exports=n(127)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(16),i=n(52)(0),a=n(35),c=n(62),s=n(210),u=n(231),f=n(19),l=n(77),d=n(77),h=!o.ActiveXObject&&"ActiveXObject"in o,p=c.getWeak,v=Object.isExtensible,g=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(f(e)){var t=p(e);return!0===t?g(l(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(l(this,"WeakMap"),e,t)}},b=e.exports=n(127)("WeakMap",y,m,u,!0,!0);d&&h&&(s((r=u.getConstructor(y,"WeakMap")).prototype,m),c.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(f(t)&&!v(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},function(e,t,n){"use strict";var r=n(231),o=n(77);n(127)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(0),o=n(128),i=n(179),a=n(18),c=n(72),s=n(23),u=n(19),f=n(16).ArrayBuffer,l=n(107),d=i.ArrayBuffer,h=i.DataView,p=o.ABV&&f.isView,v=d.prototype.slice,g=o.VIEW;r(r.G+r.W+r.F*(f!==d),{ArrayBuffer:d}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(e){return p&&p(e)||u(e)&&g in e}}),r(r.P+r.U+r.F*n(17)((function(){return!new d(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(e,t){if(void 0!==v&&void 0===t)return v.call(a(this),e);for(var n=a(this).byteLength,r=c(e,n),o=c(void 0===t?n:t,n),i=new(l(this,d))(s(o-r)),u=new h(this),f=new h(i),p=0;r<o;)f.setUint8(p++,u.getUint8(r++));return i}}),n(85)("ArrayBuffer")},function(e,t,n){var r=n(0);r(r.G+r.W+r.F*!n(128).ABV,{DataView:n(179).DataView})},function(e,t,n){n(58)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(58)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(58)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(0),o=n(48),i=n(18),a=(n(16).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!n(17)((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=o(e),s=i(n);return a?a(r,t,s):c.call(r,t,s)}})},function(e,t,n){var r=n(0),o=n(73),i=n(48),a=n(18),c=n(19),s=n(17),u=n(212),f=(n(16).Reflect||{}).construct,l=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))}));r(r.S+r.F*(l||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!l)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var s=n.prototype,h=o(c(s)?s:Object.prototype),p=Function.apply.call(e,h,t);return c(p)?p:h}})},function(e,t,n){var r=n(28),o=n(0),i=n(18),a=n(61);o(o.S+o.F*n(17)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(50).f,i=n(18);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(0),o=n(18),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(219)(i,"Object",(function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}})),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(50),o=n(75),i=n(39),a=n(0),c=n(19),s=n(18);a(a.S,"Reflect",{get:function e(t,n){var a,u,f=arguments.length<3?t:arguments[2];return s(t)===f?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(f):void 0:c(u=o(t))?e(u,n,f):void 0}})},function(e,t,n){var r=n(50),o=n(0),i=n(18);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(0),o=n(75),i=n(18);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(0),o=n(18),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(233)})},function(e,t,n){var r=n(0),o=n(18),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(28),o=n(50),i=n(75),a=n(39),c=n(0),s=n(68),u=n(18),f=n(19);c(c.S,"Reflect",{set:function e(t,n,c){var l,d,h=arguments.length<4?t:arguments[3],p=o.f(u(t),n);if(!p){if(f(d=i(t)))return e(d,n,c,h);p=s(0)}if(a(p,"value")){if(!1===p.writable||!f(h))return!1;if(l=o.f(h,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=c,r.f(h,n,l)}else r.f(h,n,s(0,c));return!0}return void 0!==p.set&&(p.set.call(h,c),!0)}})},function(e,t,n){var r=n(0),o=n(160);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(443),e.exports=n(25).Array.includes},function(e,t,n){"use strict";var r=n(0),o=n(118)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(76)("includes")},function(e,t,n){n(445),e.exports=n(25).Array.flatMap},function(e,t,n){"use strict";var r=n(0),o=n(446),i=n(30),a=n(23),c=n(48),s=n(221);r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return c(e),t=a(r.length),n=s(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(76)("flatMap")},function(e,t,n){"use strict";var r=n(120),o=n(19),i=n(23),a=n(47),c=n(22)("isConcatSpreadable");e.exports=function e(t,n,s,u,f,l,d,h){for(var p,v,g=f,y=0,m=!!d&&a(d,h,3);y<u;){if(y in s){if(p=m?m(s[y],y,n):s[y],v=!1,o(p)&&(v=void 0!==(v=p[c])?!!v:r(p)),v&&l>0)g=e(t,n,p,i(p.length),g,l-1)-1;else{if(g>=9007199254740991)throw TypeError();t[g]=p}g++}y++}return g}},function(e,t,n){n(448),e.exports=n(25).String.padStart},function(e,t,n){"use strict";var r=n(0),o=n(234),i=n(126),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(450),e.exports=n(25).String.padEnd},function(e,t,n){"use strict";var r=n(0),o=n(234),i=n(126),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(452),e.exports=n(25).String.trimLeft},function(e,t,n){"use strict";n(83)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(454),e.exports=n(25).String.trimRight},function(e,t,n){"use strict";n(83)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t,n){n(456),e.exports=n(156).f("asyncIterator")},function(e,t,n){n(206)("asyncIterator")},function(e,t,n){n(458),e.exports=n(25).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(0),o=n(233),i=n(41),a=n(50),c=n(172);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),s=a.f,u=o(r),f={},l=0;u.length>l;)void 0!==(n=s(r,t=u[l++]))&&c(f,t,n);return f}})},function(e,t,n){n(460),e.exports=n(25).Object.values},function(e,t,n){var r=n(0),o=n(235)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(462),e.exports=n(25).Object.entries},function(e,t,n){var r=n(0),o=n(235)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){"use strict";n(227),n(464),e.exports=n(25).Promise.finally},function(e,t,n){"use strict";var r=n(0),o=n(25),i=n(16),a=n(107),c=n(229);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){n(466),n(467),n(468),e.exports=n(25)},function(e,t,n){var r=n(16),o=n(0),i=n(126),a=[].slice,c=/MSIE .\./.test(i),s=function(e){return function(t,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*c,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},function(e,t,n){var r=n(0),o=n(178);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){for(var r=n(175),o=n(71),i=n(35),a=n(16),c=n(40),s=n(84),u=n(22),f=u("iterator"),l=u("toStringTag"),d=s.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(h),v=0;v<p.length;v++){var g,y=p[v],m=h[y],b=a[y],w=b&&b.prototype;if(w&&(w[f]||c(w,f,d),w[l]||c(w,l,y),s[y]=d,m))for(g in r)w[g]||i(w,g,r[g],!0)}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),c=new C(o||[]);return r(a,"_invoke",{value:k(e,n,c)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function d(){}function h(){}function p(){}var v={};s(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(M([])));y&&y!==t&&n.call(y,i)&&(v=y);var m=p.prototype=d.prototype=Object.create(v);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,c){var s=f(e[o],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=f(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,l;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function M(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return h.prototype=p,r(m,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=s(p,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,s(e,c,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(m),s(m,c,"Generator"),s(m,i,(function(){return this})),s(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=M,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){n(471),e.exports=n(12).global},function(e,t,n){var r=n(20);r(r.G,{global:n(24)})},function(e,t){String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return"[object regexp]"===Object.prototype.toString.call(e).toLowerCase()?this.replace(e,t):this.replace(new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),t)}),Promise.allSettled||(Promise.allSettled=function(e){return Promise.all(e.map((function(e){return e.then((function(e){return{status:"fulfilled",value:e}})).catch((function(e){return{status:"rejected",reason:e}}))})))}),console.debug||(console.debug=console.log.bind(console))},function(e,t,n){var r=n(474),o=n(7).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[r];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(99).f("toPrimitive")},function(e,t,n){var r=n(12),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){n(186),e.exports=n(12).Object.getOwnPropertySymbols},function(e,t,n){n(478),e.exports=n(12).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(20),o=n(479),i=n(55),a=n(110),c=n(193);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),s=a.f,u=o(r),f={},l=0;u.length>l;)void 0!==(n=s(r,t=u[l++]))&&c(f,t,n);return f}})},function(e,t,n){var r=n(142),o=n(113),i=n(33),a=n(24).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){n(481);var r=n(12).Object;e.exports=function(e,t){return r.defineProperties(e,t)}},function(e,t,n){var r=n(20);r(r.S+r.F*!n(34),"Object",{defineProperties:n(187)})},function(e,t,n){n(483),e.exports=n(12).Object.values},function(e,t,n){var r=n(20),o=n(484)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(34),o=n(78),i=n(55),a=n(94).f;e.exports=function(e){return function(t){for(var n,c=i(t),s=o(c),u=s.length,f=0,l=[];u>f;)n=s[f++],r&&!a.call(c,n)||l.push(e?[n,c[n]]:c[n]);return l}}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(238),o=n(81);e.exports=n(152)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(20);r(r.P+r.R,"Map",{toJSON:n(239)("Map")})},function(e,t,n){var r=n(80);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){n(153)("Map")},function(e,t,n){n(154)("Map")},function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(181),o=n(180),i=n(495);function a(t,n,c){return i()?(e.exports=a=r.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20),o=n(100),i=n(66),a=n(33),c=n(29),s=n(46),u=n(494),f=(n(24).Reflect||{}).construct,l=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!s((function(){f((function(){}))}));r(r.S+r.F*(l||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!l)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var s=n.prototype,h=o(c(s)?s:Object.prototype),p=Function.apply.call(e,h,t);return c(p)?p:h}})},function(e,t,n){"use strict";var r=n(66),o=n(29),i=n(199),a=[].slice,c={},s=function(e,t,n){if(!(t in c)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";c[t]=Function("F,a","return new F("+r.join(",")+")")}return c[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?s(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(c.prototype=t.prototype),c}},function(e,t,n){var r=n(181);e.exports=function(){if("undefined"==typeof Reflect||!r)return!1;if(r.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(r(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n(497),e.exports=n(12).parseFloat},function(e,t,n){var r=n(20),o=n(498);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(24).parseFloat,o=n(204).trim;e.exports=1/r(n(150)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){n(79),e.exports=n(99).f("toStringTag")},function(e,t,n){n(79),n(101),n(103),n(501),n(502),n(503),n(504),e.exports=n(12).Set},function(e,t,n){"use strict";var r=n(238),o=n(81);e.exports=n(152)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){var r=n(20);r(r.P+r.R,"Set",{toJSON:n(239)("Set")})},function(e,t,n){n(153)("Set")},function(e,t,n){n(154)("Set")},function(e,t){ServiceJSBridge.on("onGameCanvasTouchEvent",(function(e){var t=e.type;wx.__exeTouchEventCallback(t,e)}))},function(module,exports){if("undefined"==typeof navigator)try{eval("const GeneratorFunction = Object.getPrototypeOf(function *() {}).constructor; const canvas = new GeneratorFunction('', 'console.log(0)'); canvas().__proto__.__proto__.next = () => {};")}catch(e){}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"InvokeAPI",(function(){return Me})),n.d(r,"KeyValueType",(function(){return Ie})),n.d(r,"Speed",(function(){return Ee})),n.d(r,"Slow",(function(){return Te})),n.d(r,"ErrorType",(function(){return Pe})),n.d(r,"LogReport",(function(){return Ae}));var o=n(8),i=n.n(o),a=n(2),c=n.n(a),s=n(240),u=n.n(s),f=n(15),l=n.n(f),d=n(42),h=n.n(d),p=n(88),v=n.n(p),g=n(32),y=n.n(g),m=n(43),b=n.n(m),w=n(44),k=n.n(w),S=n(13),_=n.n(S),x=n(10),C=n.n(x),M=n(53),I=n.n(M),E=n(241),T=n.n(E),P=n(21),A=n.n(P),O=n(1),L=n.n(O),B="web",F=-1!==B.indexOf("Android"),j=window.isAndroidJ2V8,R=-1!==B.indexOf("iPhone")||-1!==B.indexOf("iPad"),D=Boolean(window.isWinSDK),N=window.isIDE,U=window.self!==window.top,W=window.isWebviewGame,V=N||U||D;function G(e){for(var t=(e=e.toString()).split(/[.-]/).filter((function(e){return!ee(Number(e))})),n=["0000","000","00","0",""],r=0;r<t.length;r++){var o=t[r].length;t[r]=n[o]+t[r]}return t.join("")}function q(e,t){return G(e)>=G(t)}function z(e,t){var n,r,o=/(?:[a-zA-Z]+)(\d{8})[vV](\d{2})$/,i=G(e),a=G(t),c=e.match(o),s=t.match(o);if(i===a&&c&&s){var u=c[1],f=Number(c[2]),l=s[1],d=Number(s[2]);return u!==l?(n=u,r=l,new Date("".concat(n.slice(0,4),"-").concat(n.slice(4,6),"-").concat(n.slice(6,8)))>=new Date("".concat(r.slice(0,4),"-").concat(r.slice(4,6),"-").concat(r.slice(6,8)))):f>=d}return i>=a}var H={"[object String]":"String","[object Number]":"Number","[object Boolean]":"Boolean","[object Null]":"Null","[object Undefined]":"Undefined","[object Symbol]":"Symbol","[object BigInt]":"BigInt","[object Object]":"Object","[object Function]":"Function","[object Array]":"Array","[object Date]":"Date","[object RegExp]":"RegExp","[object Error]":"Error"};function K(e){return H[Object.prototype.toString.call(e)]}function J(e,t){return function e(t,n){var r=K(t),o=n?n.get(t):null;if("Object"===r){if(o)return o;for(var i in o={},n&&n.set(t,o),t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=e(t[i],n));return o}if("Array"===r){o=[],n&&n.set(t,o);for(var a=0;a<t.length;a++)o[a]=e(t[a],n);return o}return t}(e,t&&"Undefined"!==K(I.a)?new I.a:null)}function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.__path__;if(!/(https?|file|wdfile|hyfile):/i.test(e)&&!/^\s*data:image/.test(e)){if("/"===e.substring(0,1))return e.startsWith("//")?"https:"+e:e.substr(1);if(0===e.indexOf("./"))return X(e.substr(2),t);var n,r,o=e.split("/");for(n=0,r=o.length;n<r&&".."===o[n];n++);o.splice(0,n);var i=t.length>0?t.split("/"):[];return i.splice(i.length-n-1,n+1),i.concat(o).join("/")}return e}var Y={String:0,NaN:"<NaN>",Infinity:function(e){return e>0?"<Infinity>":"<-Infinity>"},Number:0,Boolean:0,Null:0,Undefined:"<Undefined>",Function:function(e){return""===e.name?"<Function>":"<Function: ".concat(e.name,">")},Date:function(e){return"<Date: ".concat(e.toJSON(),">")},RegExp:function(e){return"<RegExp: ".concat(e.toString(),">")},Error:function(e){return"<".concat(e.name,": ").concat(e.message,">")},Symbol:function(e){return"<Symbol: ".concat(e.toString(),">")},Promise:"<Promise>",Map:function(e){return"<Map: size=".concat(e.size,">")},WeakMap:"<WeakMap>",Set:function(e){return"<Set: size=".concat(e.size,">")},WeakSet:"<WeakSet>",ArrayBuffer:function(e){return"<ArrayBuffer: byteLength=".concat(e.byteLength,">")},DataView:function(e){return"<DataView: byteLength=".concat(e.byteLength,", byteOffset=").concat(e.byteOffset,">")},TypedArray:function(e){return"<".concat(e.constructor&&e.constructor.name?e.constructor.name:"TypedArray",": byteLength=").concat(e.byteLength,", length=").concat(e.length,">")}},$=Object.prototype.toString,Q=Function.prototype.call.bind($);function Z(e){return Q(e).slice(8,-1)}var ee=T.a||function(e){return e!=e},te=A.a||function(e){return"Array"===Z(e)};function ne(e){var t=new I.a,n=0;return function e(r,o){var i,a,c,s=(c=function(e){var t,n,r=Z(e);if("Number"===r){if(ee(e))return"NaN";if("Number"===Z(t=e)&&Math.abs(t)===1/0)return"Infinity"}else if("Object"===r){if(null===e)return"Null"}else if(r.endsWith("Array")&&"Array"!==r&&(n=e,ArrayBuffer.isView(n)&&!function(e){return"DataView"===Z(e)}(n)))return"TypedArray";return r}(a=r))in Y?Y[c]?"function"!=typeof Y[c]?[Y[c],!0]:[Y[c](a),!0]:[a,!0]:[null,!1],u=k()(s,2),f=u[0];return u[1]?f:n>3e3?"<Hidden>":t.has(r)?"<Circular: ".concat(t.get(r),">"):(t.set(r,o),n++,te(r)?r.map((function(t,n){return e(t,"".concat(o,"[").concat(n,"]"))})):(i={},L()(r).forEach((function(t){i[t]=e(r[t],"".concat(o,".").concat(t))})),i))}(e,"@")}var re={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function oe(e,t,n){return ie.apply(this,arguments)}function ie(){return(ie=v()(y.a.mark((function e(t,n,r){var o,i,a,c,s,u;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=n.content,e.prev=1,(i=document.createElement("template")).innerHTML=o,a=0,c=h()(i.content.childNodes),s=c.length,u=y.a.mark((function e(){var n,r;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("SCRIPT"!==(n=c[a]).tagName){e.next=8;break}return(r=document.createElement("script")).innerHTML=n.innerHTML,e.next=6,new b.a((function(e){n.src&&!window.__injectScripts[n.src]?(r.onload=function(t){window.__injectScripts[n.src]=!0,e()},r.setAttribute("charset","utf-8"),r.setAttribute("type","text/javascript"),r.src=n.src):e(),t.appendChild(r)}));case 6:e.next=9;break;case 8:t.appendChild(n);case 9:a++;case 10:case"end":return e.stop()}}),e)}));case 8:if(!(a<s)){e.next=12;break}return e.delegateYield(u(),"t0",10);case 10:e.next=8;break;case 12:"undefined"!=typeof ServiceJSBridge&&setTimeout((function(){ServiceJSBridge.invoke("injectHtmlCallback",{callbackId:r},(function(){}))}),0),e.next=18;break;case 15:e.prev=15,e.t1=e.catch(1),console.log(e.t1);case 18:case"end":return e.stop()}}),e,null,[[1,15]])})))).apply(this,arguments)}(function(){var e=B.toLowerCase(),t=null;return e.indexOf("mac os x")>0&&(t=(e.match(/os [\d._]+/gi)+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."),t=C()(t.split(".")[0])),t})()<=14&&(window.Promise=void 0),n(297),n(472),window.__wxAppData={},window.__wxRoute="",window.__wxRouteBegin=!1,window.__eval=eval,window.__AppCode__={},window.__wxAppCode__=window.__AppCode__,window.global={},window.__injectScripts={},window.injectHtmlPromise=oe,window.injectHtml=function(e,t,n){return oe(e,t,n),n},window.ftConsole={info:function(){},warn:function(){},error:function(){},log:function(){}};var ae=n(4),ce=n.n(ae),se=n(5),ue=n.n(se),fe=n(14),le=n.n(fe),de=function(){function e(){ce()(this,e),this.isIOS=!1,this.callbacks={},this.callbackIndex=0,this.defaultEventHandlers={},this.eventPrefix="custom_event_",this.handlers={},this.IFRAME_PREFIX="hybridjsbrige_",this.isAndroid=F,this.isIOS=R,this.isWinSDK=D,this.isWeb=U,this.sdkSyncEvents=["bindUDPPort","getBatteryInfoSync","getStorageSync","setStorageSync","removeStorageSync","clearStorageSync","getStorageInfoSync","writeSync","writeFileSync","accessSync","appendFileSync","copyFileSync","closeSync","fstatSync","ftruncateSync","mkdirSync","openSync","readdirSync","readFileSync","readSync","renameSync","rmdirSync","saveFileSync","statSync","truncateSync","unlinkSync","drawCanvasSync","getSystemInfoSync","getAccountInfoSync","loadJsFiles","getWindowInfo","getSystemSetting","getDeviceInfo","getAppBaseInfo","getAppAuthorizeSetting","getGlobalVariables","batchSetStorageSync","batchGetStorageSync","loadFontSync","getTextLineHeight"],"undefined"==typeof FinChatJSCore&&(window.FinChatJSCore={invokeHandler:function(){},publishHandler:function(){},webPublishHandler:function(){}})}return ue()(e,[{key:"checkSdkSyncEvents",value:function(e){return this.sdkSyncEvents.some((function(t){return e===t}))}},{key:"pushSdkSyncEvents",value:function(e){this.sdkSyncEvents.push(e)}},{key:"postMessage",value:function(e,t,n){var r={C:e,paramsString:t,callbackId:n,type:"invoke"};if(this.isIOS&&window.webkit)if(this.checkSdkSyncEvents(e)){var o=prompt("invoke",le()(r));if(o&&"function"==typeof this.callbacks[n]){var i;try{i=JSON.parse(o)}catch(e){i={}}this.invokeCallbackHandler(n,i)}}else window.webkit.messageHandlers.invokeHandler.postMessage(r);else if(this.isWinSDK)if(r.command="postMessage",this.checkSdkSyncEvents(e)){var a=prompt("invoke",le()(r));if(a&&"function"==typeof this.callbacks[n]){var c;try{c=JSON.parse(a)}catch(e){c={}}this.invokeCallbackHandler(n,c)}}else window.FinClipExecuteCommandAsync({request:le()(r),persistent:!1,onSuccess:function(){},onFailure:function(){}});else if(this.isWeb){var s=parent.window&&parent.window.FinChatJSCore;if(s){r.from="service";var u=s.invokeHandler(r);u&&this.invokeCallbackHandler(n,u)}}else{var f=FinChatJSCore.invokeHandler(e,t,n);if("string"==typeof f)try{f=JSON.parse(f)}catch(e){f={}}if(f){if(window.isIDE&&["request","downloadFile","uploadFile","createSocketTask","closeSocket","sendSocketMessage"].includes(e))return;this.invokeCallbackHandler(n,f)}}}},{key:"createIframe",value:function(e,t){var n=document.createElement("iframe"),r=this.IFRAME_PREFIX+t;n.style.display="none",n.setAttribute("id",r),n.setAttribute("frameborder","0"),n.setAttribute("src",e),document.documentElement.appendChild(n)}},{key:"retrieveIframe",value:function(e){if("undefined"!=typeof document&&window.webkit){var t=this.IFRAME_PREFIX+e,n=document.querySelector("#"+t);n&&document.documentElement.removeChild(n)}}},{key:"publishHandler",value:function(e,t,n){if(this.isIOS&&window.webkit)window.webkit.messageHandlers.publishHandler.postMessage({event:e,paramsString:t,webviewIds:n});else if(this.isWinSDK){var r={event:e,paramsString:t,webviewIds:n,type:"publish",command:"publish"};window.FinClipExecuteCommandAsync({request:le()(r),persistent:!1,onSuccess:function(){},onFailure:function(){}})}else if(this.isWeb){var o=parent.window&&parent.window.FinChatJSCore;o&&o.publishHandler({event:e,paramsString:t,webviewIds:n,from:"service"})}else FinChatJSCore.publishHandler(e,t||"",n||null)}},{key:"webpublishpublishHandler",value:function(e,t,n){if(this.isIOS&&window.webkit)window.webkit.messageHandlers.webPublishHandler.postMessage({event:e,paramsString:t,webviewIds:n});else if(this.isWinSDK){var r={event:e,paramsString:t,webviewIds:n,type:"webpublish",command:"webpublish"};window.FinClipExecuteCommandAsync({request:le()(r),persistent:!1,onSuccess:function(){},onFailure:function(){}})}else if(this.isWeb){var o=parent.window&&parent.window.FinChatJSCore;o&&o.webPublishHandler({event:e,paramsString:t,webviewIds:n,from:"service"})}else FinChatJSCore.webPublishHandler(e,t||"",n||null)}},{key:"invoke",value:function(e,t,n){var r=t||{},o=++this.callbackIndex;this.callbacks[o]=n,this.postMessage(e,r,o)}},{key:"invokeV2",value:function(e,t,n){var r,o=++this.callbackIndex;this.callbacks[o]=n,r=this.isIOS&&!window.webkit?t:le()(t||{}),this.postMessage(e,r,o)}},{key:"invokeCallbackHandler",value:function(e,t){var n=this.callbacks[e];"function"==typeof n&&n(t),delete this.callbacks[e],this.isIOS&&this.retrieveIframe(e)}},{key:"oldCallbackHandler",value:function(e){if(e){"string"==typeof e&&(e=this.parseData(e));var t=e.bridgeParam.callbackID;if(t){var n=this;setTimeout((function(){n.invokeCallbackHandler(t,e.param)}),1)}}}},{key:"publishCallbackHandler",value:function(e){this.isIOS&&this.retrieveIframe(e)}},{key:"on",value:function(e,t){this.defaultEventHandlers[e]=t}},{key:"publish",value:function(e,t,n){"serviceStart"===e&&(window.__wxConfig?window.__wxLibrary&&("function"==typeof window.__wxLibrary.onEnd&&window.__wxLibrary.onEnd(),window.__wxLibrary=void 0):window.__wxConfig=__wxConfig__),n=n||[];var r=this.eventPrefix+e,o=t;this.publishHandler(r,o,n)}},{key:"webpublish",value:function(e,t,n){n=n||[];var r=this.eventPrefix+e,o=t;this.webpublishpublishHandler(r,o,n)}},{key:"subscribe",value:function(e,t){this.handlers[this.eventPrefix+e]=t}},{key:"subscribeHandler",value:function(e,t,n,r){var o=-1!==e.indexOf(this.eventPrefix)?this.handlers[e]:this.defaultEventHandlers[e];if("function"==typeof o)return o(t,n,r)}},{key:"parseData",value:function(e){var t;if(e&&"string"==typeof e)try{t=JSON.parse(e)}catch(e){t={status:{code:1,msg:"PARAM_PARSE_ERROR"}}}else t=e||{};return t}}]),e}();window.ServiceJSBridge=new de;var he,pe,ve,ge=n(7),ye=n.n(ge),me=n(11),be=n.n(me),we=n(3),ke=n.n(we),Se=n(6),_e=n.n(Se),xe=n(9),Ce=n.n(xe),Me={login:1,login_cancel:2,login_fail:3,request_fail:4,connectSocket_fail:5,closeSocket_fail:6,sendSocketMessage_fail:7,uploadFile_fail:8,downloadFile_fail:9,redirectTo_fail:10,navigateTo_fail:11,navigateBack_fail:12,appServiceSDKScriptError:13,webviewSDKScriptError:14,jsEnginScriptError:15,thirdScriptError:16,webviewScriptError:17,ftparserScriptError:18,startRecord:19,startRecord_fail:20,getLocation:21,getLocation_fail:22,chooseLocation:23,chooseLocation_fail:24,openAddress:25,openAddress_fail:26,openLocation:27,openLocation_fail:28,makePhoneCall:29,makePhoneCall_fail:30,operateWXData:31,operateWXData_fail:32,checkLogin:33,checkLogin_fail:34,refreshSession:35,refreshSession_fail:36,chooseVideo:37,chooseVideo_fail:38,chooseImage:39,chooseImage_fail:40,verifyPaymentPassword:41,verifyPaymentPassword_fail:42,requestPayment:43,requestPayment_fail:44,bindPaymentCard:45,bindPaymentCard_fail:46,requestPaymentToBank:47,requestPaymentToBank_fail:48,openDocument:49,openDocument_fail:50,chooseContact:51,chooseContact_fail:52,operateMusicPlayer:53,operateMusicPlayer_fail:54,getMusicPlayerState_fail:55,playVoice_fail:56,setNavigationBarTitle_fail:57,switchTab_fail:58,getImageInfo_fail:59,enableCompass_fail:60,enableAccelerometer_fail:61,getStorage_fail:62,setStorage_fail:63,clearStorage_fail:64,removeStorage_fail:65,getStorageInfo_fail:66,getStorageSync_fail:67,setStorageSync_fail:68,addCard_fail:69,openCard_fail:70},Ie={Speed:"13544",Error:"13582",Slow:"13968"},Ee={webview2AppService:1,appService2Webview:2,funcReady:3,firstGetData:4,firstRenderTime:5,reRenderTime:6,forceUpdateRenderTime:7,appRoute2newPage:8,newPage2pageReady:9,thirdScriptRunTime:10,pageframe:11,WAWebview:12},Te={apiCallback:1,pageInvoke:2},Pe={appServiceSDKScriptError:1,webviewSDKScriptError:2,jsEnginScriptError:3,thirdScriptError:4,webviewScriptError:5,ftparserScriptError:6,appServiceScriptError:7},Ae={background:1,foreground:2,launch:3,enterPage:4,leavePage:5,pageReady:6,pullDownRefresh:7};function Oe(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Oe(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}function Be(){var e=arguments;!function(e){void 0!==he?e():document.addEventListener(pe+"JSBridgeReady",e,!1)}((function(){he.invoke.apply(he,e)}))}function Fe(){De&&De.length>0&&(Be("systemLog",{dataArray:De}),De=[])}function je(e){Xe.__defineGetter__(e,(function(){return t=Je[e],function(){try{return t.apply(t,arguments)}catch(e){console.error("reporter error:"+e.message)}};var t}))}"undefined"!=typeof ServiceJSBridge?(he=window.ServiceJSBridge,pe="Service",ve="H5_JS_SERVICE_ERR"):"undefined"!=typeof FinChatJSBridge&&(he=window.FinChatJSBridge,pe="FinChat",ve="H5_JS_VIEW_ERR");var Re=[],De=[],Ne=0,Ue=0,We=0,Ve={},Ge={},qe=function(){},ze=function(){},He=function(){},Ke=function(){},Je={surroundThirdByTryCatch:function(e,t){return function(){var n;try{var r=_()();n=e.apply(e,arguments);var o=_()()-r;o>1e3&&Je.slowReport({key:"apiCallback",cost:o,extend:t})}catch(e){Je.thirdErrorReport({error:e,extend:t})}return n}},slowReport:function(e){var t=e.key,n=e.cost,r=e.extend,o=e.force,i=Te[t],a=_()(),c=i&&(o||a-We>=500);if(c&&(L()(Ge).length>50?c=!1:(Ge[r]||(Ge[r]=0),Ge[r]++,c=Ge[r]<=3)),c){We=a;var s=n+","+encodeURIComponent(r)+","+i;Je.reportKeyValue({key:"Slow",value:s,force:!0,valuetype:t,cost:n})}},speedReport:function(e){var t=e.key,n=e.data,r=e.timeMark,o=e.force,i=Ee[t],a=_()(),c=0,s=r.nativeTime,u=i;if(u&&(u=(o||a-(Ve[i]||0)>=500)&&r.startTime&&r.endTime&&(1!==i&&2!==i||s)),u){n&&(c=le()(n).length),Ve[i]=a;var f="".concat(i,",").concat(r.startTime,",").concat(s,",").concat(s,",,").concat(r.endTime,",").concat(c);Je.reportKeyValue({key:"Speed",value:f,force:!0,valuetype:t,payload:{startTime:r.startTime,endTime:r.endTime,nativeTime:s}})}},reportKeyValue:function(e){var t=e.key,n=e.value,o=e.cost,i=e.payload||{},a=e.valuetype;Ie[t]&&Be("reportApmMonitor",{eventType:t,eventName:a,timestamp:(new Date).getTime(),payload:Le({key:r[t][a],value:n,cost:o},i)})},reportIDKey:function(e){var t=e.key;Me[t]&&Be("reportApmMonitor",{eventType:"InvokeAPI",eventName:t,timestamp:(new Date).getTime(),payload:{platform:R?"IOS":"Android",key:Me[t]}})},thirdErrorReport:function(e){var t=e.error,n=e.extend;console.error(t),Je.errorReport({key:"thirdScriptError",error:t,extend:n,isUnhandledRejection:!!e.promise,promise:e.promise,isThirdScriptError:!0})},errorReport:function(e){var t={},n=e.error||{},r=e.extend,o=e.isUnhandledRejection||!1,i=e.promise||{},a=e.key,c=e.isThirdScriptError||!1;t.msg=r?n.message+";"+r:n.message,t.stack=n.stack,Pe[a]?t.key=a:t.key="unknowErr",Be("reportApmMonitor",{eventType:"ErrorType",eventName:a,timestamp:(new Date).getTime(),payload:{event_desc:le()(t),key:Pe[e.key],layer:ve}});var s=c?"MiniProgramError":"SystemError (".concat(a,")"),u="",f="";if("object"===ye()(n)&&(n.message||n.stack))u=n.message,f=n.stack;else{try{u=le()(n)}catch(e){u=""}f=Object.prototype.toString.call(n).slice(8,-1)}var l=u,d="";n.name&&0!==f.indexOf(n.name)&&(d="\n"+n.name+": "+l);var h="".concat(s,"\n").concat(l).concat(d,"\n").concat(f);c?Je.triggerThirdErrorMessage(h,o,n,i):Je.triggerErrorMessage(h,o,n,i)},log:function(e,t){e&&"string"==typeof e&&(t||_()()-Ne>=50)&&(Ne=_()(),De.push(e+""),De.length>=50&&Fe())},submit:function(){_()()-Ue>=50&&(Ue=_()(),Re&&Re.length>0&&(Be("reportKeyValue",{dataArray:Re}),Re=[]),Fe())},registerErrorListener:function(e){"function"==typeof e&&(qe=e)},unRegisterErrorListener:function(){qe=function(){}},triggerErrorMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;void 0!==t?setTimeout((function(){try{t?He(n,r):qe(e)}catch(e){console.error(e.message,"at onError callback function")}}),0):qe(e)},getAppType:function(){return 0},triggerThirdErrorMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;setTimeout((function(){try{t?Ke(n,r):ze(e)}catch(e){console.error(e.message,"at onError callback function")}}),0)},registerThirdErrorListener:function(e){"function"==typeof e&&(ze=e)},registerUnhandledRejectionListener:function(e){"function"==typeof e&&(He=e)},registerThirdUnhandledRejectionListener:function(e){"function"==typeof e&&(Ke=e)}},Xe={};for(var Ye in Je)je(Ye);"undefined"!=typeof window&&(window.onbeforeunload=function(){Je.submit()}),window.Reporter=Xe;var $e=/[ (@]*https?:\/\/([^/]*)\/+(.*?):(\d+):(\d+)/,Qe=[];function Ze(e){if(!e||e.__originalStack__)return!1;var t=e.stack;if(void 0===t)return!1;for(var n=t,r=Qe.length-1,o=0;o>=0&&r>=0;){var i=n.length,a=0;for(var c in et)if(et[c]){var s=n.indexOf(et[c],o);s<0||i<=s||(i=s,a=et[c].length)}if(i>=n.length)break;var u="at <".concat(Qe[r--].description,">");n=n.slice(0,i)+u+n.slice(i+a),o=i+u.length}return Ce()(e,{__originalStack__:{value:t,writable:!0,configurable:!0},stack:{value:n,writable:!0,enumerable:!0,configurable:!0}}),!0}var et={wrapSystemFunction:null,wrapMiniProgramOrPluginFunction:null};function tt(e){var t=((new Error).stack||"").match(/.+/gm),n="",r=0;t&&t.forEach((function(e){if($e.test(e)&&2===(r+=1)){var t=e.match(/^(\s*)at /),o=t?t[1].length:0;return n=e.slice(o),!1}return!0})),et[e]=n}function nt(){for(var e="",t=Qe.length-1;t>=0;t--)Qe[t].pluginAppId&&(e=Qe[t].pluginAppId);return e}function rt(e,t,n,r,o){var i,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];null===et.wrapSystemFunction&&(et.wrapSystemFunction="",ot("","",tt)("wrapSystemFunction")),Qe.push({description:t});try{i=n.apply(r,o)}catch(t){if(Ze(t)){if("AppServiceSdkKnownError"===t.type)throw Qe.pop(),t;if("ThirdScriptError"===t.type){var c=nt();Reporter.thirdErrorReport({error:t,source:c,triggerErrorCallback:!a})}else Reporter.errorReport({key:e,error:t,triggerErrorCallback:!a})}if(a)throw Qe.pop(),t}return Qe.pop(),i}function ot(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return rt(e,t,n,this,i,r)}}function it(e,t,n,r,o){var i,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];null===et.wrapMiniProgramOrPluginFunction&&(et.wrapMiniProgramOrPluginFunction="",at("","",tt)("wrapMiniProgramOrPluginFunction")),Qe.push({description:t,pluginAppId:e});try{i=n.apply(r,o)}catch(t){if(Ze(t)&&Reporter.thirdErrorReport({error:t,source:e||"",triggerErrorCallback:!a}),a)throw Qe.pop(),t}return Qe.pop(),i}function at(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return it(e,t,n,this,i,r)}}var ct={callSystemFunction:rt,wrapSystemFunction:ot,callMiniProgramOrPluginFunction:it,callThirdPartyFunction:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return it(nt(),e,t,n,r,o)},wrapMiniProgramOrPluginFunction:at,wrapThirdPartyFunction:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return it(nt(),e,t,this,o,n)}},surroundThirdByTryCatch:function(e,t){var n=(t||"").match(/^\s*(?:at )?([\s\S]*)$/),r=n?n[1]:"",o=e||function(){};return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return it(nt(),r,o,o,t,!1)}}};window.__errorTracer__=ct,window.__wxLibrary={envType:void 0,contextType:"App:SubContext",execStart:_()()};var st=function(){function e(){ce()(this,e),this.listeners={}}return ue()(e,[{key:"emit",value:function(e,t){if(this.listeners[e]&&this.listeners[e].length>0){var n=!1;return this.listeners[e].forEach((function(e){0!==e.count&&e.cb(t),e.count>0&&e.count--,0===e.count&&(n=!0)})),n&&(this.listeners[e]=this.listeners[e].filter((function(e){return 0!==e.count}))),!0}return!1}},{key:"many",value:function(e,t,n){if(!t)return this;var r={count:n,cb:t};return this.listeners[e]?this.listeners[e].push(r):this.listeners[e]=[r],this}},{key:"on",value:function(e,t){this.many(e,t,-1)}},{key:"once",value:function(e,t){this.many(e,t,1)}},{key:"off",value:function(e,t){for(var n=0;n<this.listeners[e].length;n++){var r=this.listeners[e][n];if(r.cb===t)return void(r.count=0)}}}]),e}(),ut=window.__wxConfig||{},ft=__wxLibrary.envType,lt=__wxLibrary.contextType,dt="Service"===ft,ht="WebView"===ft,pt="Worker"===ft,vt="Widget"===ft,gt=ht||dt&&0===lt.indexOf("App:"),yt=dt&&0===lt.indexOf("Game:"),mt=pt&&"function"==typeof window.workerInvokeJsApi,bt=!!ut.isIsolateContext,wt=dt&&bt&&(lt.indexOf("Uncertain")>=0||lt.indexOf("MainContext"))>=0,kt=dt&<.indexOf("SubContext")>=0,St=wt||kt,_t=ht||wt,xt="wxlib"===ut.workerContentType,Ct={platform:function(){var e=ut.platform;if(!e&&ht){var t=window.navigator.userAgent.toLowerCase();t.indexOf("devtools")>=0?e="devtools":t.indexOf("miniprogramenv/windows")>=0?e="windows":t.indexOf("miniprogramenv/mac")>=0?e="mac":t.indexOf("miniprogramenv/mina")>=0?e="mina":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?e="ios":t.indexOf("android")>=0&&(e="android")}return"devtools".toLowerCase()}(),SDKVersion:"",isIsolateContext:St,isGame:yt,isApp:gt,isMainContext:wt,isSubContext:kt,isSafeEnv:_t,isService:dt,isWebView:ht,isWorker:pt,isWidget:vt,isSupportWorkerAPI:mt,typeStr:ft,isWXLibWorker:xt},Mt=new st,It={};function Et(e,t){e in It?t(It[e]):Pt.once("lifeCycle:"+e,t)}function Tt(e,t){var n=e in It;return n||(It[e]=t,n=Pt.emit("lifeCycle:"+e,t)),n}var Pt={EventEmitter:st,on:Mt.on.bind(Mt),emit:Mt.emit.bind(Mt),once:Mt.once.bind(Mt),onConfigReady:Et.bind(null,"configReady"),emitConfigReady:Tt.bind(null,"configReady"),get isConfigReady(){return"configReady"in It},onLibraryReady:Et.bind(null,"libraryReady"),emitLibraryReady:Tt.bind(null,"libraryReady"),get isLibraryReady(){return"libraryReady"in It},onBridgeReady:function(e){"undefined"!=typeof WeixinJSBridge?e():"object"===("undefined"==typeof document?"undefined":ye()(document))&&document.addEventListener("WeixinJSBridgeReady",e,!1)},env:Ct,global:window};window.__wxLibrary.onEnd=function(e){e||console.warn("建议将编译器版本调整大于等于 1.1.15。升级后渲染将有更好性能。"),Pt.emitLibraryReady({})},window.Foundation=Pt;var At=n(242),Ot=n.n(At),Lt=JSON.parse,Bt=le.a,Ft=Foundation.env.isSubContext,jt=Foundation.env.isSafeEnv,Rt={},Dt=["env","appLaunchInfo","ext","wxAppInfo","debug","entryPagePath","envVersion","tabBar","pages","page","accountInfo","global","platform","system","appType","networkTimeout","navigateToMiniProgramAppIdList","plugins","extAppid","host","prerender"],Nt=window;function Ut(e){return Lt(Bt(e))}var Wt=!0===(window.__wxConfig=void 0!==Nt.__wxConfig?jt?l()({},Nt.__wxConfig):Ut(Nt.__wxConfig):{}).preload,Vt=!1,Gt=!1,qt=[],zt=[],Ht=[],Kt=Foundation.env.typeStr;function Jt(e,t){try{_()(),e(t),_()()}catch(e){"object"===("undefined"==typeof Reporter?"undefined":ye()(Reporter))&&"function"==typeof Reporter.errorReport&&Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:"at wxConfig.onReady callback"})}}Foundation.env.isSubContext&&(Kt="SubContext");var Xt=function(e){Ht.push(e)},Yt=function(e,t){Vt?void 0!==__wxConfig&&(t?Gt?Jt(e,__wxConfig):zt.push(e):Jt(e,__wxConfig)):"function"==typeof e&&(t?zt.push(e):qt.push(e))},$t=function(e){e.tabBar&&e.tabBar.list&&e.tabBar.list.forEach((function(e){delete e.iconData,delete e.selectedIconData})),delete e.permission;var t=e.subPackages||e.subpackages;return t&&t.length>0&&(t.forEach((function(e){delete e.pages})),e.subPackages=e.subpackages=t),Vt&&(delete __wxConfig.usingComponents,Ot()(__wxConfig.page||{}).forEach((function(e){e&&e.window&&delete e.window.usingComponents})),__wxConfig._preloadRule=__wxConfig.preloadRule||{},__wxConfig._page=__wxConfig__.page||{},delete __wxConfig.preloadRule,delete __wxConfig.page,__wxConfig.updatePage=function(e,t){t&&t.window&&(delete t.window.usingComponents,delete t.window.pages),__wxConfig.page=__wxConfig.page||{},__wxConfig.page[e]=__wxConfig.page[e+".html"]=t,Rt[e+".html"]=Ut(t)},__wxConfig.updatePreloadRule=function(e,t){__wxConfig.preloadRule=__wxConfig.preloadRule||{},__wxConfig.preloadRule[e]=t},Nt.__wxConfig.page=Nt.__wxConfig.page||{},__wxConfig.page=__wxConfig.page||{},Nt.__wxConfig.isLazyLoad=__wxConfig__.isLazyLoad,__wxConfig.isLazyLoad=__wxConfig__.isLazyLoad),e},Qt=function(e){return e.onReady=Yt,e.beforeReady=Xt,Ft||(e.preload=Wt),e.isReady=Vt,e.isSubContext=Ft,e.envTag=Kt,e.isSafeContext=jt,e.sdkVersion=e.SDKVersion=Foundation.env.SDKVersion,e.twoPhaseInject=!0,e.platform=Foundation.env.platform,e.brand||"ios"!==e.platform||(e.brand="iPhone"),"number"==typeof e.pixelRatio?e.devicePixelRatio=e.pixelRatio:"number"==typeof e.devicePixelRatio&&(e.pixelRatio=e.devicePixelRatio),e};window.__wxConfig=Qt(window.__wxConfig),window.__wxConfig=$t(window.__wxConfig),Foundation.onConfigReady((function(){!function(){if(void 0!==Nt.__wxConfig&&!Vt){var e=function(){if(__wxConfig.onReadyStart=_()(),qt.forEach((function(e){Jt(e,__wxConfig)})),Gt=!0,zt.forEach((function(e){Jt(e,__wxConfig)})),__wxConfig.onReadyEnd=_()(),qt=[],jt)l()(__wxConfig,{global:__wxConfig__});else{var e=Nt.__wxConfig__,t=Nt.__wxConfig,n=Ut(e);!function(e){e.window&&e.window.pages?(delete e.window.pages,e.tabBar?e.tabBar.list.forEach((function(e){e.pagePath.endsWith(".html")||(e.pagePath+=".html")})):e.tabBar={list:[]}):e.appType=4}(n);var r={};Rt={};try{Dt.forEach((function(o){switch(o){case"page":r[o]=Rt;break;case"env":r[o]={USER_DATA_PATH:window.wx.env.USER_DATA_PATH};break;case"envVersion":case"extAppid":r[o]="";break;case"accountInfo":r[o]={appId:"",icon:"",nickname:""};break;case"appLaunchInfo":r[o]=wx&&"function"==typeof wx.getLaunchOptionsSync?wx.getLaunchOptionsSync():{};break;case"entryPagePath":r[o]=e[o]||e.pages[0]+".html";break;case"ext":r[o]={};break;case"global":r[o]={window:n.window};break;case"tabBar":r[o]=n[o];break;case"plugins":case"pages":o in e&&(r[o]=e[o]);break;default:o in t&&(r[o]=t[o])}})),Nt.__wxConfig=l()({},__wxConfig__,r),Nt.__wxConfig.subpackages?Nt.__wxConfig.subPackages=Nt.__wxConfig.subpackages:Nt.__wxConfig.subPackages&&(Nt.__wxConfig.subpackages=Nt.__wxConfig.subPackages)}catch(t){Nt.__wxConfig=e}}};if(Vt=!0,l()(__wxConfig,jt?Nt.__wxConfig:Ut(Nt.__wxConfig)),__wxConfig=Qt(__wxConfig),__wxConfig=$t(__wxConfig),!Ht.length)return e();var t=!1;setTimeout((function(){t||(console.warn("beforeReady timeout"),t=!0,e())}),3e3),Ht.forEach((function(e){try{e()}catch(e){console.warn("beforeReady error",e)}})),t||(t=!0,e()),Ht=[]}}()})),Foundation.onLibraryReady((function(){Foundation.emitConfigReady(window.__wxConfig)}));var Zt=n(89),en=n.n(Zt),tn=n(63),nn=n.n(tn),rn=n(129),on=n.n(rn);function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cn(e){e?(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),this._maxListeners=void 0!==e.maxListeners?e.maxListeners:20,e.newListener&&(this._newListener=e.newListener),e.removeListener&&(this._removeListener=e.removeListener)):this._maxListeners=20}function sn(){this._events={},this._conf&&cn.call(this,this._conf)}function un(e,t){console.warn("[Event] ".concat(e," listeners of event ").concat(t," have been added, possibly causing memory leak."))}var fn=A.a?A.a:function(e){return"[object Array]"===Object.prototype.toString.call(e)};function ln(e){this._events={},this._newListener=!1,this._removeListener=!1,cn.call(this,e)}ln.prototype.delimiter=".",ln.prototype.setMaxListeners=function(e){void 0!==e&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},ln.prototype.event="",ln.prototype.once=function(e,t){return this._once(e,t,!1)},ln.prototype.prependOnceListener=function(e,t){return this._once(e,t,!0)},ln.prototype._once=function(e,t,n){return this._many(e,1,t,n),this},ln.prototype.many=function(e,t,n){return this._many(e,t,n,!1)},ln.prototype.prependMany=function(e,t,n){return this._many(e,t,n,!0)},ln.prototype._many=function(e,t,n,r){var o=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");function i(){return 0==--t&&o.off(e,i),n.apply(this,arguments)}return i._origin=n,this._on(e,i,r),o},ln.prototype.emit=function(e){if(this._events||sn.call(this),"newListener"===e&&!this._newListener&&!this._events.newListener)return!1;for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r.slice(1);if(this._all&&this._all.length){t=this._all.slice();for(var a=0;a<t.length;a++)switch(this.event=e,n){case 1:t[a].call(this,e);break;case 2:t[a].call(this,e,arguments[1]);break;case 3:t[a].call(this,e,arguments[1],arguments[2]);break;default:t[a].apply(this,r)}}if("function"==typeof(t=this._events[e])){switch(this.event=e,n){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:t.apply(this,i)}return!0}if(t&&(t=t.slice()),t&&t.length){for(var c=0;c<t.length;c++)switch(this.event=e,n){case 1:t[c].call(this);break;case 2:t[c].call(this,arguments[1]);break;case 3:t[c].call(this,arguments[1],arguments[2]);break;default:t[c].apply(this,i)}return!0}if(!this._all&&"error"===e)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},ln.prototype.emitAsync=function(e){if(this._events||sn.call(this),"newListener"===e&&!this._newListener&&!this._events.newListener)return b.a.resolve([!1]);for(var t,n=[],r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.slice(1);if(this._all)for(var c=0;c<this._all.length;c++)switch(this.event=e,r){case 1:n.push(this._all[c].call(this,e));break;case 2:n.push(this._all[c].call(this,e,arguments[1]));break;case 3:n.push(this._all[c].call(this,e,arguments[1],arguments[2]));break;default:n.push(this._all[c].apply(this,o))}if("function"==typeof(t=this._events[e]))switch(this.event=e,r){case 1:n.push(t.call(this));break;case 2:n.push(t.call(this,arguments[1]));break;case 3:n.push(t.call(this,arguments[1],arguments[2]));break;default:n.push(t.apply(this,a))}else if(t&&t.length){t=t.slice();for(var s=0;s<t.length;s++)switch(this.event=e,r){case 1:n.push(t[s].call(this));break;case 2:n.push(t[s].call(this,arguments[1]));break;case 3:n.push(t[s].call(this,arguments[1],arguments[2]));break;default:n.push(t[s].apply(this,a))}}else if(!this._all&&"error"===e)return arguments[1]instanceof Error?b.a.reject(arguments[1]):b.a.reject(new Error("Uncaught, unspecified 'error' event."));return b.a.all(n)},ln.prototype.on=function(e,t){return this._on(e,t,!1)},ln.prototype.prependListener=function(e,t){return this._on(e,t,!0)},ln.prototype.onAny=function(e){return this._onAny(e,!1)},ln.prototype.prependAny=function(e){return this._onAny(e,!0)},ln.prototype.addListener=ln.prototype.on,ln.prototype._onAny=function(e,t){if("function"!=typeof e)throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t?this._all.unshift(e):this._all.push(e),this},ln.prototype._on=function(e,t,n){if("function"==typeof e)return this._onAny(e,t),this;if("function"!=typeof t)throw new Error("on only accepts instances of Function");return this._events||sn.call(this),this._newListener&&this.emit("newListener",e,t),this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),n?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&this._maxListeners>0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,un.call(this,this._events[e].length,e))):this._events[e]=t,this},ln.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,r=[];if(!this._events[e])return this;n=this._events[e],r.push({_listeners:n});for(var o=0;o<r.length;o++){if(n=r[o]._listeners,fn(n)){for(var i=-1,a=0,c=n.length;a<c;a++)if(n[a]===t||n[a].listener&&n[a].listener===t||n[a]._origin&&n[a]._origin===t){i=a;break}if(i<0)continue;return this._events[e].splice(i,1),0===n.length&&delete this._events[e],this._removeListener&&this.emit("removeListener",e,t),this}(n===t||n.listener&&n.listener===t||n._origin&&n._origin===t)&&(delete this._events[e],this._removeListener&&this.emit("removeListener",e,t))}return function e(t){if(void 0!==t){var n=L()(t);for(var r in n){var o=n[r],i=t[o];i instanceof Function||"object"!==ye()(i)||null===i||(L()(i).length>0&&e(t[o]),0===L()(i).length&&delete t[o])}}}(this.listenerTree),this},ln.prototype.offAny=function(e){var t=this._all,n=this._all.length;if(e&&this._all&&this._all.length>0){for(var r=0;r<n;r++)if(e===t[r])return t.splice(r,1),this._removeListener&&this.emit("removeListenerAny",e),this}else{if(this._removeListener)for(var o=0;o<n;o++)this.emit("removeListenerAny",t[o]);this._all=[]}return this},ln.prototype.removeListener=ln.prototype.off,ln.prototype.removeAllListeners=function(e){return void 0===e?!this._events||sn.call(this):this._events&&delete this._events[e],this},ln.prototype.listeners=function(e){return this._events||sn.call(this),this._events[e]||(this._events[e]=[]),fn(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},ln.prototype.eventNames=function(){return L()(this._events)},ln.prototype.listenerCount=function(e){return this.listeners(e).length},ln.prototype.listenersAny=function(){return this._all?this._all:[]};var dn=ln,hn=new ln({maxListeners:20,newListener:!1}),pn=new ln({maxListeners:20,newListener:!1}),vn={};function gn(e){if(e=e[0].toUpperCase()+e.slice(1),!vn[e]){var t=new I.a;vn[e]={getGlobalListeners:function(){return hn.listeners(e)},getInternalListeners:function(){return pn.listeners(e)},emit:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];pn.emit.apply(pn,[e].concat(n)),hn.emit.apply(hn,[e].concat(n))},emitGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];hn.emit.apply(hn,[e].concat(n))},emitInternal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];pn.emit.apply(pn,[e].concat(n))},internalOnMethod:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"function"==typeof t&&(n.prepend?n.once?pn.prependOnceListener(e,t):pn.prependListener(e,t):n.once?pn.once(e,t):pn.on(e,t))},internalOffMethod:function(t){"function"==typeof t&&pn.off(e,t)},onMethod:function(n){var r,o,i=(r=e,"function"!=typeof(o=n)?(console.error("on".concat(r," should accept a function instead of ").concat(ye()(o))),null):__errorTracer__.surroundThirdByTryCatch(o,"at api on".concat(r," callback function")));if(i){if(t.has(n)){var a=t.get(n);a.push(i),t.set(n,a)}else t.set(n,[i]);hn.on(e,i)}},offMethod:function(n){var r,o;r=e,(o=n)&&"function"!=typeof o&&(console.error("off".concat(r," should accept a function instead of ").concat(ye()(o))),1)||(n?t.has(n)&&(t.get(n).forEach((function(t){return hn.off(e,t)})),t.delete(n)):(t=new I.a,hn.removeAllListeners(e)))}}}return vn[e]}var yn,mn,bn=function(){function e(){ce()(this,e),this.listener={},this.emitCache={}}return ue()(e,[{key:"emit",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(!this.listener[e])return this.emitCache[e]||(this.emitCache[e]=[]),void this.emitCache[e].push(r);(function(){var n,o=function(e,t){var n=void 0!==nn.a&&e[on.a]||e["@@iterator"];if(!n){if(A()(e)||(n=function(e,t){if(e){if("string"==typeof e)return an(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?en()(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?an(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(t.listener[e]);try{for(o.s();!(n=o.n()).done;){var i,a=n.value;(i=a.fn).call.apply(i,[a.fn].concat(r))}}catch(e){o.e(e)}finally{o.f()}t.listener[e]=t.listener[e].filter((function(e){return"once"!==e.type}))}).call(this)}},{key:"_clearCache",value:function(e){if(this.emitCache[e])for(;this.emitCache[e].length>0;)this.emit.apply(this,[e].concat(h()(this.emitCache[e].shift())))}},{key:"on",value:function(e,t){var n=__errorTracer__.surroundThirdByTryCatch(t,"at on ".concat(e," callback function"));this._addListener(e,"on",n,t),this._clearCache(e)}},{key:"once",value:function(e,t){var n=__errorTracer__.surroundThirdByTryCatch(t,"at once ".concat(e," callback function"));this._addListener(e,"once",n,t),this._clearCache(e)}},{key:"off",value:function(e,t){if(this.listener[e])if(t)for(var n=0;!(n>=this.listener[e].length);)t===this.listener[e][n].origin&&(this.listener[e].splice(n,1),n--),n++;else this.listener[e]=[],delete this.listener[e]}},{key:"_addListener",value:function(e,t,n,r){this.listener[e]||(this.listener[e]=[]),this.listener[e].push({origin:r,fn:n,type:t})}}]),e}(),wn={hanged:!1,SDKVersion:"2.6.6",curWebviewId:"",appStatus:0},kn={setConfig:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l()(wn,e)},getConfig:function(){return wn||{}},appInfo:{lastRoute:"",lastOpenType:"",query:{},runningStatus:"active",navigatorLock:!1,openUrlLock:!1,possessingBackgroundAudioPlayer:!1,webviewEventCallback:null,hanged:!1,appStatus:wn.appStatus,navigationBarTitleMap:{},currentNetworkType:""},appLaunchInfo:{appLaunchInfo:null,appLaunchShareInfo:null,sceneHistory:[],appId:"",emitter:new dn}},Sn=n(64),_n=n.n(Sn),xn=n(65),Cn=n.n(xn),Mn=n(37),In=n.n(Mn),En=n(130),Tn=n.n(En),Pn=n(90),An=n.n(Pn),On=n(26),Ln=n.n(On);function Bn(){throw new Error("setTimeout has not been defined")}function Fn(){throw new Error("clearTimeout has not been defined")}function jn(e){if(yn===setTimeout)return setTimeout(e,0);if((yn===Bn||!yn)&&setTimeout)return yn=setTimeout,setTimeout(e,0);try{return setTimeout(e,0)}catch(t){return yn.call(this,e,0)}}!function(){try{yn="function"==typeof setTimeout?setTimeout:Bn}catch(e){yn=Bn}try{mn="function"==typeof clearTimeout?clearTimeout:Fn}catch(e){mn=Fn}}();var Rn,Dn=[],Nn=!1,Un=-1;function Wn(){Nn&&Rn&&(Nn=!1,Rn.length?Dn=Rn.concat(Dn):Un=-1,Dn.length&&Vn())}function Vn(){if(!Nn){var e=jn(Wn);Nn=!0;for(var t=Dn.length;t;){for(Rn=Dn,Dn=[];++Un<t;)Rn&&Rn[Un].run();Un=-1,t=Dn.length}Rn=null,Nn=!1,function(e){if(mn===clearTimeout)return clearTimeout(e);if((mn===Fn||!mn)&&clearTimeout)return mn=clearTimeout,clearTimeout(e);try{clearTimeout(e)}catch(t){return mn.call(this,e)}}(e)}}function Gn(e,t){var n,r="function"==typeof e;if(Dn.push({run:function(){if(r)try{e.call(t)}catch(e){console.log(e,t,"nextTick")}else n(t)}}),1!==Dn.length||Nn||jn(Vn),!r&&void 0!==b.a)return new b.a((function(e){n=e}))}var qn=navigator.userAgent.match("iPhone"),zn=window.innerWidth||window.screen&&window.screen.availWidth||375,Hn=window.devicePixelRatio||2,Kn=function(e){return 0===(e=(e=e/750*zn)<0?0-Math.floor(Math.abs(e)):Math.floor(e+1e-4))?1!==Hn&&qn?.5:1:e},Jn=/%%\?[+-]?\d+(\.\d+)?rpx\?%%/g,Xn=/(:|\s|\()[+-]?\d+(\.\d+)?rpx/g;function Yn(e){return"number"==typeof e?e+"px":e}function $n(e){return e+"deg"}for(var Qn={rpxToPxNum:Kn,transformRpx:function(e,t){if(n=e,"[object String]"!==Object.prototype.toString.call(n))return e;var n,r=t?e.match(Xn):e.match(Jn);return r&&r.forEach((function(n){var r=function(e){for(var t=0,n=1,r=!1,o=!1,i=0;i<e.length;++i){var a=e[i];a>="0"&&a<="9"?r?t+=(a-"0")*(n*=.1):t=10*t+(a-"0"):"."===a?r=!0:"-"===a&&(o=!0)}return o&&(t=-t),Kn(t)}(n),o=(t?n[0]:"")+r+"px";e=e.replace(n,o)})),e},nextTick:function(e,t){setTimeout((function(){return Gn(e,t)}),0)},animationToStyle:function(e){var t=e.animates,n=e.option,r=void 0===n?{}:n,o=r.transformOrigin,i=r.transition;if(void 0===i||void 0===t)return{transformOrigin:"",transform:"",transition:""};var a=t.filter((function(e){return"style"!==e.type})).map((function(e){var t=e.type,n=e.args;switch(t){case"matrix":return"matrix("+n.join(",")+")";case"matrix3d":return"matrix3d("+n.join(",")+")";case"rotate":return"rotate("+(n=n.map($n))[0]+")";case"rotate3d":return n[3]=$n(n[3]),"rotate3d("+n.join(",")+")";case"rotateX":return"rotateX("+(n=n.map($n))[0]+")";case"rotateY":return"rotateY("+(n=n.map($n))[0]+")";case"rotateZ":return"rotateZ("+(n=n.map($n))[0]+")";case"scale":return"scale("+n.join(",")+")";case"scale3d":return"scale3d("+n.join(",")+")";case"scaleX":return"scaleX("+n[0]+")";case"scaleY":return"scaleY("+n[0]+")";case"scaleZ":return"scaleZ("+n[0]+")";case"translate":return"translate("+(n=n.map(Yn)).join(",")+")";case"translate3d":return"translate3d("+(n=n.map(Yn)).join(",")+")";case"translateX":return"translateX("+(n=n.map(Yn))[0]+")";case"translateY":return"translateY("+(n=n.map(Yn))[0]+")";case"translateZ":return"translateZ("+(n=n.map(Yn))[0]+")";case"skew":return"skew("+(n=n.map($n)).join(",")+")";case"skewX":return"skewX("+(n=n.map($n))[0]+")";case"skewY":return"skewY("+(n=n.map($n))[0]+")";default:return""}})).join(" "),c=t.filter((function(e){return"style"===e.type})).reduce((function(e,t){return e[t.args[0]]=t.args[1],e}),{});return{style:c,transformOrigin:o,transform:a,transitionProperty:["transform"].concat(h()(L()(c))).join(","),transition:i.duration+"ms "+i.timingFunction+" "+i.delay+"ms"}},getRealRoute:function e(){var t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===o.indexOf("/"))return o.substr(1);if(0===o.indexOf("./"))return e(r,o.substr(2));var i=o.split("/");for(t=0,n=i.length;t<n&&".."===i[t];t++);i.splice(0,t);var a=r.length>0?r.split("/"):[];return a.splice(a.length-t-1,t+1),a.concat(i).join("/")}},Zn={audio:{"1.0.0":["id","src","loop","controls","poster","name","author","binderror","bindplay","bindpause","bindtimeupdate","bindended"]},button:{"1.0.0":[{size:["default","mini"]},{type:["primary","default","warn"]},"plain","disabled","loading",{"form-type":["submit","reset"]},"hover-class","hover-start-time","hover-stay-time","hover-stop-propagation"],"1.1.0":[{"open-type":["contact"]}],"1.2.0":[{"open-type":["share"]}],"1.4.0":[],"1.3.0":[{"open-type":["getUserInfo"]}]},canvas:{"1.0.0":["type","canvas-id","disable-scroll","bindtouchstart","bindtouchmove","bindtouchend","bindtouchcancel","bindlongtap","binderror"]},"checkbox-group":{"1.0.0":["bindchange"]},checkbox:{"1.0.0":["value","disabled","checked","color"]},"contact-button":{"1.0.0":["size",{type:["default-dark","default-light"]},"session-from"]},"cover-view":{"1.4.0":["scroll-top"]},"cover-image":{"1.0.0":["src",{mode:["scaleToFill","aspectFit","aspectFill","widthFix","top","bottom","center","left","right","top left","top right","bottom left","bottom right"]},"binderror","bindload"]},form:{"1.0.0":["report-submit","bindsubmit","bindreset"],"1.2.0":["bindautofill"]},icon:{"1.0.0":[{type:["success","success_no_circle","info","warn","waiting","cancel","download","search","clear"]},"size","color"]},image:{"1.0.0":["src",{mode:["scaleToFill","aspectFit","aspectFill","widthFix","top","bottom","center","left","right","top left","top right","bottom left","bottom right"]},"binderror","bindload"]},input:{"1.0.0":["value",{type:["text","number","idcard","digit"]},"password","placeholder","placeholder-style","placeholder-class","disabled","maxlength","cursor-spacing","auto-focus","focus","bindinput","bindfocus","bindblur","bindconfirm"],"1.1.0":[{"confirm-type":["send","search","next","go","done"]},"confirm-hold"],"1.2.0":["auto-fill","cursor","selection-start","selection-end","hold-keyboard","adjust-position","bindkeyboardheightchange"]},label:{"1.0.0":["for"]},map:{"1.0.0":["longitude","latitude","scale",{markers:["id","latitude","longitude","title","iconPath","rotate","alpha","width","height"]},"covers",{polyline:["points","color","width","dottedLine"]},{circles:["latitude","longitude","color","fillColor","radius","strokeWidth"]},{controls:["id","position","iconPath","clickable"]},"include-points","show-location","bindmarkertap","bindcontroltap","bindregionchange","bindtap"],"1.2.0":[{markers:["callout","label","anchor"]},{polyline:["arrowLine","borderColor","borderWidth"]},"bindcallouttap"]},modal:{"1.0.0":[]},"movable-area":{"1.2.0":["scale-area"]},"movable-view":{"1.2.0":["direction","inertia","out-of-bounds","x","y","damping","friction","disabled","scale","scale-min","scale-max","scale-value","animation","bindchange","bindscale","htouchmove","vtouchmove"]},navigator:{"1.0.0":["url",{"open-type":["navigate","redirect","switchTab"]},"delta","hover-class","hover-start-time","hover-stay-time"],"1.1.0":[{"open-type":["reLaunch","navigateBack"]}]},"open-data":{"1.4.0":[{type:["groupName"]},"open-gid"]},"picker-view":{"1.0.0":["value","indicator-style","bindchange"],"1.1.0":["indicator-class","mask-class","bindpickstart","bindend"]},"picker-view-column":{"1.0.0":[]},picker:{"1.0.0":["range","range-key","value","bindchange","disabled","start","end",{fields:["year","month","day"]},{mode:["selector","date","time"]}],"1.2.0":["auto-fill"],"1.4.0":["bindcolumnchange",{mode:["multiSelector","region"]},"header-text","bindcancel"]},progress:{"1.0.0":["percent","show-info","stroke-width","color","activeColor","backgroundColor","active","font-size","border-radius","active-mode","duration","bindactiveend"]},"radio-group":{"1.0.0":["bindchange"]},radio:{"1.0.0":["value","checked","disabled","color"]},"rich-text":{"1.4.0":[{nodes:["name","attrs","children"]},"space"]},"scroll-view":{"1.0.0":["scroll-x","scroll-y","upper-threshold","lower-threshold","scroll-top","scroll-left","scroll-into-view","scroll-with-animation","enable-back-to-top","bindscrolltoupper","bindscrolltolower","bindscroll"],"3.1.6":["bounces","show-scrollbar"]},slider:{"1.0.0":["min","max","step","disabled","value","color","selected-color","activeColor","backgroundColor","show-value","bindchange","block-size","block-color","bindchanging"]},swiper:{"1.0.0":["indicator-dots","autoplay","current","interval","duration","circular","vertical","bindchange"],"1.1.0":["indicator-color","indicator-active-color","display-multiple-items","easing-function","bindtransition","bindanimationfinish"]},"swiper-item":{"1.0.0":["item-id"]},switch:{"1.0.0":["checked",{type:["switch","checkbox"]},"bindchange","color","disabled"]},text:{"1.0.0":[],"1.1.0":["selectable"],"1.4.0":[{space:["ensp","emsp","nbsp"]},"decode"]},textarea:{"1.0.0":["value","placeholder","placeholder-style","placeholder-class","disabled","maxlength","auto-focus","focus","auto-height","fixed","cursor-spacing","bindfocus","bindblur","bindlinechange","bindinput","bindconfirm"],"1.2.0":["auto-fill","selection-start","selection-end","adjust-position","hold-keyboard","confirm-type","confirm-hold","disable-default-padding","bindkeyboardheightchange"]},video:{"1.0.0":["src","controls","danmu-list","danmu-btn","enable-danmu","autoplay","bindplay","bindpause","bindended","bindtimeupdate","objectFit","poster"],"1.1.0":["duration"],"1.4.0":["loop","direction","muted","initial-time","show-progress","show-fullscreen-btn","show-play-btn","show-center-play-btn","bindfullscreenchange","bindwaiting","binderror","title","bindloadedmetadata","bindcontrolstoggle","bindkeyboardheightchange","binderror","bindprogress","bindloadedmetadata","bindenterpictureinpicture","bindleavepictureinpicture","bindseekcomplete"]},view:{"1.0.0":["hover-class","hover-start-time","hover-stay-time","hover-stop-propagation"]},"web-view":{"1.0.0":["src","bindload","bindmessage","binderror","bindevent"]},"match-media":{"1.0.0":["width","min-width","max-width","height","min-height","max-height","orientation"]},"page-container":{"1.0.0":["show","position","duration","overlay","round","overlay-style","custom-style","z-index","close-on-slide-down","bindbeforeenter","bindenter","bindafterenter","bindbeforeleave","bindleave","bindafterleave","bindclickoverlay"]},"share-element":{"1.0.0":["transform","key","duration","easing-function"]},editor:{"1.0.0":["placeholder","read-only","show-img-size","show-img-toolbar","show-img-resize","bindready","bindfocus","bindblur","bindinput","bindstatuschange"]},"keyboard-accessory":{"1.0.0":[]},camera:{"1.0.0":["mode","resolution","device-position","flash","frame-size","bindstop","binderror","bindinitdone","bindscancode"]},"live-player":{"1.0.0":["id","src","mode","autoplay","muted","orientation","object-fit","min-cache","max-cache","sound-mode","auto-pause-if-navigate","auto-pause-if-open-native","picture-in-picture-mode","options"]},"live-pusher":{"1.0.0":["id","url","mode","autopush","muted","enable-camera","auto-focus","orientation","beauty","whiteness","aspect","min-bitrate","max-bitrate","audio-quality","waiting-image","waiting-image-hash","zoom","device-position","mirror","remote-mirror","local-mirror","audio-reverb-type","enable-mic","enable-agc","enable-ans","audio-volume-type","video-width","video-height","beauty-style","filter","options"]},"navigation-bar":{"1.0.0":["title","loading","front-color","background-color","color-animation-duration","color-animation-timing-func"]},"page-meta":{"1.0.0":["background-text-style","background-color","background-color-top","background-color-bottom","background-color-config","root-background-color","scroll-top","scroll-duration","page-style","root-font-size","page-orientation","bindresize","page-font-size"]},"webrtc-audio":{"1.0.0":["id","muted","src"]},"webrtc-video":{"1.0.0":["id","muted","src"]},"root-portal":{"1.0.0":["enable"]},"aria-component":{"1.0.0":[]}},er={env:{},canIUse:{return:{}},arrayBufferToBase64:{},base64ToArrayBuffer:{},fileToBase64:{},getSystemInfoSync:{return:{SDKVersion:1,appVersion:1,batteryLevel:1,benchmarkLevel:1,bluetoothEnabled:1,brand:1,cameraAuthorized:1,deviceId:1,deviceOrientation:1,versdevicePixelRatioion:1,enableDebug:1,errMsg:1,fontSizeSetting:1,frameworkVersion:1,inFinChat:1,language:1,locationAuthorized:1,locationEnabled:1,microphoneAuthorized:1,mode:1,model:1,notificationAuthorized:1,pixelRatio:1,platform:1,screenHeight:1,screenWidth:1,statusBarHeight:1,system:1,theme:1,version:1,windowHeight:1,windowWidth:1,safeArea:["left","right","top","bottom","width"]}},getSystemInfo:{success:{SDKVersion:1,appVersion:1,batteryLevel:1,benchmarkLevel:1,bluetoothEnabled:1,brand:1,cameraAuthorized:1,deviceId:1,deviceOrientation:1,versdevicePixelRatioion:1,enableDebug:1,errMsg:1,fontSizeSetting:1,frameworkVersion:1,inFinChat:1,language:1,locationAuthorized:1,locationEnabled:1,microphoneAuthorized:1,mode:1,model:1,notificationAuthorized:1,pixelRatio:1,platform:1,screenHeight:1,screenWidth:1,statusBarHeight:1,system:1,theme:1,version:1,windowHeight:1,windowWidth:1,safeArea:["left","right","top","bottom","width"]}},getSystemInfoAsync:{success:{SDKVersion:1,appVersion:1,batteryLevel:1,benchmarkLevel:1,bluetoothEnabled:1,brand:1,cameraAuthorized:1,deviceId:1,deviceOrientation:1,versdevicePixelRatioion:1,enableDebug:1,errMsg:1,fontSizeSetting:1,frameworkVersion:1,inFinChat:1,language:1,locationAuthorized:1,locationEnabled:1,microphoneAuthorized:1,mode:1,model:1,notificationAuthorized:1,pixelRatio:1,platform:1,screenHeight:1,screenWidth:1,statusBarHeight:1,system:1,theme:1,version:1,windowHeight:1,windowWidth:1,safeArea:["left","right","top","bottom","width"]}},openSystemBluetoothSetting:{success:{}},openAppAuthorizeSetting:{success:{}},getWindowInfo:{object:{pixelRatio:1,screenWidth:1,screenHeight:1,windowWidth:1,windowHeight:1,statusBarHeight:1,safeArea:["left","right","top","bottom","width","height"],screenTop:1}},getSystemSetting:{object:{bluetoothEnabled:1,locationEnabled:1,wifiEnabled:1,deviceOrientation:["portrait","landscape"]}},getRendererUserAgent:{success:{UserAgent:""}},getDeviceInfo:{return:{brand:1,model:1,benchmarkLevel:1,system:1,platform:1,CPUType:1}},getAppBaseInfo:{return:{SDKVersion:1,enableDebug:!1,host:{appId:""},language:"",version:"",theme:""}},getAppAuthorizeSetting:{return:{albumAuthorized:"",bluetoothAuthorized:"",cameraAuthorized:"",locationAuthorized:"",locationReducedAccuracy:!1,microphoneAuthorized:"",notificationAuthorized:"",notificationAlertAuthorized:"",notificationBadgeAuthorized:"",notificationSoundAuthorized:"",phoneCalendarAuthorized:""}},updateWeChatApp:{},getUpdateManager:{return:{UpdateManager:1}},UpdateManager:{applyUpdate:1,onCheckForUpdate:1,onUpdateFailed:1,onUpdateReady:1},getLaunchOptionsSync:{return:{path:1,scene:1,query:1,shareTicket:1,referrerInfo:1,forwardMaterials:1,chatType:1,apiCategory:1}},getEnterOptionsSync:{return:{path:1,scene:1,query:1,shareTicket:1,referrerInfo:1,forwardMaterials:1,chatType:1,apiCategory:1}},onUnhandledRejection:{},onThemeChange:{},onPageNotFound:{callback:{path:1,query:1,isEntryPage:1}},onError:{callback:{}},onAudioInterruptionEnd:{callback:{}},onAudioInterruptionBegin:{callback:{}},offAudioInterruptionEnd:{callback:{}},offAudioInterruptionBegin:{callback:{}},onAppShow:{callback:{path:1,query:1,scene:1,shareTicket:1,referrerInfo:["appId","extraData"],forwardMaterials:["type","name","path","size"]}},onAppHide:{callback:{}},offUnhandledRejection:{callback:{}},offThemeChange:{callback:{}},offPageNotFound:{callback:{}},offError:{callback:{}},offAppShow:{callback:{}},offAppHide:{callback:{}},setEnableDebug:{success:{},object:{enableDebug:1}},getRealtimeLogManager:{return:{RealtimeLogManager:1}},getLogManager:{return:{LogManager:1}},console:{debug:1,log:1,error:1,group:1,groupEnd:1,info:1,warn:1},LogManager:{debug:1,info:1,log:1,warn:1},RealtimeLogManager:{error:1,info:1,warn:1,setFilterMsg:1,addFilterMsg:1},switchTab:{object:{url:1},success:{}},reLaunch:{object:{url:1},success:{}},redirectTo:{object:{url:1},success:{}},navigateTo:{object:{url:1,events:1},success:{eventChannel:1}},navigateBack:{object:{delta:1},success:{}},EventChannel:{emit:1,on:1,off:1,once:1},navigateToMiniProgram:{object:{appId:1,path:1,extraData:1,envVersion:["develop","trial","release"],shortLink:1,noRelaunchIfPathUnchanged:1},success:{}},navigateToWechatMiniProgram:{object:{appId:1,path:1,extraData:1,envVersion:["develop","trial","release"],shortLink:1,noRelaunchIfPathUnchanged:1},success:{}},navigateBackMiniProgram:{object:{extraData:1},success:{}},exitMiniProgram:{success:{},object:{}},restartMiniProgram:{success:{},object:{}},showShareMenu:{success:{},object:{withShareTicket:1,menus:1}},hideShareMenu:{object:{menus:1},success:{}},showToast:{object:{title:1,icon:["success","error","loading","none"],duration:1,mask:1,image:1},success:{}},showModal:{object:{title:1,content:1,showCancel:1,cancelText:1,cancelColor:1,confirmText:1,confirmColor:1,editable:1,placeholderText:1},success:{content:1,confirm:1,cancel:1}},showLoading:{object:{title:1,mask:1},success:{}},showActionSheet:{object:{alertText:1,itemList:1,itemColor:1},success:{tapIndex:1}},hideToast:{object:{noConflict:1},success:{}},hideLoading:{object:{noConflict:1},success:{}},enableAlertBeforeUnload:{object:{message:1},success:{}},disableAlertBeforeUnload:{object:{},success:{}},showNavigationBarLoading:{success:{}},setNavigationBarTitle:{object:{title:1},success:{}},setNavigationBarColor:{object:{frontColor:1,backgroundColor:1,animation:["duration",{timingFunc:["linear","easeIn","easeOut","easeInOut"]}]},success:{}},setPageOrientation:{object:{orientation:1,showCapsule:1},success:{}},hideNavigationBarLoading:{success:{}},hideHomeButton:{success:{}},setBackgroundTextStyle:{object:{textStyle:["dark","light"]},success:{}},setBackgroundColor:{object:{backgroundColorTop:1,backgroundColorBottom:1},success:{}},showTabBarRedDot:{object:{index:1},success:{}},showTabBar:{object:{animation:1}},setTabBarStyle:{object:{color:1,selectedColor:1,backgroundColor:1,borderStyle:1},success:{}},setTabBarItem:{object:{index:1,text:1,iconPath:1,selectedIconPath:1},success:{}},setTabBarBadge:{object:{index:1,text:1},success:{}},removeTabBarBadge:{success:{},object:{index:1}},hideTabBarRedDot:{success:{},object:{index:1}},hideTabBar:{object:{animation:1},success:{}},loadFontFace:{object:{global:1,family:1,source:1,desc:["style","weight","variant"],scopes:1},success:{status:1}},stopPullDownRefresh:{success:{}},startPullDownRefresh:{success:{}},pageScrollTo:{object:{scrollTop:1,duration:1,selector:1,offsetTop:1},success:{}},ScrollViewContext:{scrollTo:1,scrollIntoView:1},createAnimation:{object:{duration:1,timingFunction:["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end"],delay:1,transformOrigin:1},return:{Animation:1}},Animation:{export:1,step:1,matrix:1,matrix3d:1,rotate:1,rotate3d:1,rotateX:1,rotateY:1,rotateZ:1,scale:1,scale3d:1,scaleX:1,scaleY:1,scaleZ:1,skew:1,skewX:1,skewY:1,translate:1,translate3d:1,translateX:1,translateY:1,translateZ:1,opacity:1,backgroundColor:1,width:1,height:1,left:1,right:1,top:1,bottom:1},nextTick:{callback:{}},getMenuButtonBoundingClientRect:{return:{}},onWindowResize:{callback:{size:["windowWidth","windowHeight"]}},offWindowResize:{callback:{}},request:{object:{url:1,data:1,header:1,method:["OPTIONS","GET","HEAD","POST","PUT","DELETE","TRACE","CONNECT"],timeout:1,dataType:1,responseType:1,enableHttp2:1,enableQuic:1,enableCache:1,enableHttpDNS:1,httpDNSServiceId:1,enableChunked:1,forceCellularNetwork:1},success:{data:1,statusCode:1,header:1,cookies:1,profile:["redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","SSLconnectionStart","SSLconnectionEnd","requestStart","requestEnd","responseStart","responseEnd","rtt","estimate_nettype","httpRttEstimate","transportRttEstimate","downstreamThroughputKbpsEstimate","throughputKbps","peerIP","port","socketReused","sendBytesCount","receivedBytedCount","protocol"]},return:{RequestTask:1}},RequestTask:{abort:1,offHeadersReceived:1,onHeadersReceived:1},downloadFile:{object:{url:1,header:1,timeout:1,filePath:1},success:{tempFilePath:1,filePath:1,statusCode:1,profile:["redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","SSLconnectionStart","SSLconnectionEnd","requestStart","requestEnd","responseStart","responseEnd","rtt","estimate_nettype","httpRttEstimate","transportRttEstimate","downstreamThroughputKbpsEstimate","throughputKbps","peerIP","port","socketReused","sendBytesCount","receivedBytedCount","protocol"]},return:{DownloadTask:1}},DownloadTask:{abort:1,offHeadersReceived:1,onHeadersReceived:1,offProgressUpdate:1,onProgressUpdate:1},uploadFile:{object:{url:1,filePath:1,name:1,header:1,formData:1,timeout:1},success:{data:1,statusCode:1},return:{UploadTask:1}},UploadTask:{abort:1,offHeadersReceived:1,onHeadersReceived:1,offProgressUpdate:1,onProgressUpdate:1},sendSocketMessage:{object:{data:1},success:{}},onSocketOpen:{callback:{header:1}},onSocketMessage:{callback:{data:1}},onSocketError:{callback:{errMsg:1}},onSocketClose:{callback:{code:1,reason:1}},connectSocket:{object:{url:1,protocols:1,header:1,tcpNoDelay:1,perMessageDeflate:1,timeout:1,forceCellularNetwork:1},return:{SocketTask:1},success:{}},closeSocket:{object:{code:1,reason:1},success:{}},SocketTask:{onOpen:1,onClose:1,onError:1,onMessage:1,send:1,close:1},createTCPSocket:{return:{TCPSocket:1}},TCPSocket:{onMessage:1,write:1,close:1,connect:1,offConnect:1,offClose:1,offError:1,offMessage:1,onClose:1,onConnect:1,onError:1},createUDPSocket:{return:{UDPSocket:1}},UDPSocket:{bind:1,close:1,offClose:1,offError:1,offListening:1,offMessage:1,onClose:1,onError:1,onListening:1,onMessage:1,send:1,connect:1,write:1,setTTL:1},requestPayment:{object:{timeStamp:1,nonceStr:1,package:1,signType:1,paySign:1},success:{}},setStorageSync:{},setStorage:{object:{key:1,data:1},success:{}},removeStorageSync:{},removeStorage:{object:{key:1},success:{}},getStorageSync:{return:{}},getStorageInfoSync:{return:{}},getStorageInfo:{success:{keys:1,currentSize:1,limitSize:1}},getStorage:{object:{key:1,encrypt:1},success:{data:1}},clearStorage:{},clearStorageSync:{},batchSetStorageSync:{},batchSetStorage:{object:{kvList:1},success:{}},batchGetStorageSync:{return:{}},batchGetStorage:{object:{kvList:1},success:{}},createOffscreenCanvas:{object:{type:["webgl","2d"],width:1,height:1,compInst:1},return:{OffscreenCanvas:1}},createCanvasContext:{return:{CanvasContext:1}},canvasToTempFilePath:{object:{x:1,y:1,width:1,height:1,destWidth:1,destHeight:1,canvas:1,fileType:["jpg","png"],canvasId:1,quality:1},success:{tempFilePath:1}},canvasPutImageData:{object:{canvasId:1,data:1,x:1,y:1,width:1,height:1},success:{}},canvasGetImageData:{object:{canvasId:1,x:1,y:1,width:1,height:1},success:{width:1,height:1,data:1}},Canvas:{cancelAnimationFrame:1,createImage:1,createImageData:1,getContext:1,requestAnimationFrame:1,toDataURL:1},CanvasContext:{clearRect:1,drawImage:1,draw:1,createLinearGradient:1,createCircularGradient:1,measureText:1,createImageData:1,save:1,restore:1,rect:1,beginPath:1,moveTo:1,closePath:1,lineTo:1,quadraticCurveTo:1,bezierCurveTo:1,arc:1,arcTo:1,clip:1,createPattern:1,fill:1,fillRect:1,fillText:1,rotate:1,scale:1,setFillStyle:1,setFontSize:1,setGlobalAlpha:1,setLineCap:1,setLineDash:1,setLineJoin:1,setLineWidth:1,setMiterLimit:1,setShadow:1,setStrokeStyle:1,setTextAlign:1,setTextBaseline:1,setTransform:1,stroke:1,strokeRect:1,strokeText:1,transform:1,translate:1},CanvasGradient:{addColorStop:1},Color:{},Image:{},ImageData:{},createMapContext:{return:{MapContext:1}},MapContext:{addArc:1,addCustomLayer:1,addGroundOverlay:1,addMarkers:1,fromScreenLocation:1,getCenterLocation:1,getRegion:1,getRotate:1,getScale:1,getSkew:1,includePoints:1,initMarkerCluster:1,moveAlong:1,moveToLocation:1,on:1,openMapApp:1,removeGroundOverlay:1,removeMarkers:1,setBoundary:1,setCenterOffset:1,setLocMarkerIcon:1,toScreenLocation:1,translateMarker:1,updateGroundOverlay:1},saveImageToPhotosAlbum:{object:{filePath:1},success:{}},previewMedia:{object:{sources:["url","poster",{type:["image","video"]}],current:1,showmenu:1,referrerPolicy:1},success:{}},previewImage:{object:{current:1,urls:1,showmenu:1,referrerPolicy:1},success:{}},getImageInfo:{object:{src:1},success:{width:1,height:1,path:1,orientation:["up","up-mirrored","down","down-mirrored","left-mirrored","right","right-mirrored","left"],type:["unknown","jpeg","png","gif","tiff"]}},compressImage:{object:{src:1,quality:1,compressedWidth:1,compressHeight:1},success:{tempFilePath:1}},chooseFile:{object:{count:1,type:["all","video","image","file"],extension:1},success:{tempFiles:["path","size","name",{type:["video","image","file"]},"time"]}},chooseImage:{object:{count:1,sizeType:["original","compressed"],sourceType:["album","camera"]},success:{tempFilePaths:1,tempFiles:["path","size"]}},saveVideoToPhotosAlbum:{object:{filePath:1},success:{}},getVideoInfo:{object:{src:1},success:{orientation:["up","up-mirrored","down","down-mirrored","left-mirrored","right","right-mirrored","left"],type:1,duration:1,size:1,height:1,width:1,fps:1,bitrate:1}},createVideoContext:{return:{VideoContext:1}},compressVideo:{object:{src:1,quality:["low","medium","high"],bitrate:1,fps:1,resolution:1},success:{tempFilePath:1,size:1}},chooseVideo:{object:{sourceType:["album","camera"],maxDuration:1,camera:["back","front"],compressed:1},success:{coverImagePath:1,tempFilePath:1,duration:1,size:1,height:1,width:1}},chooseMedia:{object:{count:1,mediaType:["image","video","mix"],sourceType:["album","camera"],maxDuration:1,sizeType:1,camera:["back","front"]},success:{tempFiles:["tempFilePath","size","duration","height","width","thumbTempFilePath",{fileType:["image","video"]},"type"]}},VideoContext:{exitBackgroundPlayback:1,exitFullScreen:1,exitPictureInPicture:1,hideStatusBar:1,pause:1,play:1,playbackRate:1,requestBackgroundPlayback:1,requestFullScreen:1,seek:1,sendDanmu:1,showStatusBar:1,stop:1},stopVoice:{success:{}},playVoice:{object:{filePath:1,duration:1},success:{}},pauseVoice:{success:{}},getAvailableAudioSources:{success:{audioSources:["auto","buildInMic","headsetMic","mic","camcorder","voice_communication","voice_recognition"]}},createInnerAudioContext:{return:{InnerAudioContext:1},object:{InnerAudioContext:1}},createAudioContext:{return:{AudioContext:1}},AudioContext:{setSrc:1,play:1,pause:1,seek:1},InnerAudioContext:{destroy:1,offCanplay:1,offEnded:1,offError:1,offTimeUpdate:1,offSeeking:1,offWaiting:1,onEnded:1,offPlay:1,onCanplay:1,onPause:1,offPause:1,offSeeked:1,offStop:1,onError:1,onPlay:1,onSeeked:1,onSeeking:1,onStop:1,onTimeUpdate:1,onWaiting:1,pause:1,play:1,seek:1,stop:1},WebAudioContextNode:{},stopBackgroundAudio:{success:{}},seekBackgroundAudio:{object:{position:1},success:{}},playBackgroundAudio:{object:{dataUrl:1,title:1,coverImgUrl:1},success:{}},pauseBackgroundAudio:{success:{}},onBackgroundAudioStop:{callback:{}},onBackgroundAudioPlay:{callback:{}},onBackgroundAudioPause:{callback:{}},getBackgroundAudioPlayerState:{success:{duration:1,currentPosition:1,downloadPercent:1,dataUrl:1,status:["0","1","2"]}},getBackgroundAudioManager:{return:{BackgroundAudioManager:1}},BackgroundAudioManager:{onCanplay:1,onEnded:1,onError:1,onNext:1,onPause:1,onPlay:1,onPrev:1,onSeeked:1,onSeeking:1,onStop:1,onTimeUpdate:1,onWaiting:1,pause:1,play:1,seek:1,stop:1},createLivePusherContext:{return:{LivePusherContext:1}},createLivePlayerContext:{return:{LivePlayerContext:1}},LivePlayerContext:{exitFullScreen:1,exitPictureInPicture:1,mute:1,pause:1,play:1,requestFullScreen:1,requestPictureInPicture:1,resume:1,snapshot:1,stop:1},LivePusherContext:{exitPictureInPicture:1,pause:1,pauseBGM:1,playBGM:1,resume:1,resumeBGM:1,sendMessage:1,setBGMVolume:1,setMICVolume:1,snapshot:1,start:1,startPreview:1,stop:1,stopBGM:1,stopPreview:1,switchCamera:1,toggleTorch:1},stopRecord:{success:{}},startRecord:{success:{tempFilePath:1}},getRecorderManager:{return:{RecorderManager:1}},RecorderManager:{onError:1,onFrameRecorded:1,onInterruptionBegin:1,onInterruptionEnd:1,onPause:1,onResume:1,onStart:1,onStop:1,pause:1,resume:1,start:1,stop:1},createCameraContext:{return:{CameraContext:1}},CameraContext:{onCameraFrame:1,setZoom:1,startRecord:1,stopRecord:1,takePhoto:1},CameraFrameListener:{start:1,stop:1},EditorContext:{blur:1,clear:1,format:1,getContents:1,getSelectionText:1,insertDivider:1,insertImage:1,insertText:1,redo:1,removeFormat:1,scrollIntoView:1,setContents:1,undo:1},startLocationUpdateBackground:{object:{type:1},success:{}},startLocationUpdate:{object:{type:1},success:{}},openLocation:{object:{latitude:1,longitude:1,scale:1,name:1,address:1},success:{}},onLocationChangeError:{callback:{errCode:1}},onLocationChange:{callback:{latitude:1,longitude:1,speed:1,accuracy:1,altitude:1,verticalAccuracy:1,horizontalAccuracy:1}},offLocationChangeError:{callback:{}},offLocationChange:{callback:{}},getLocation:{object:{type:1,altitude:1,isHighAccuracy:1,highAccuracyExpireTime:1},success:{accuracy:1,altitude:1,horizontalAccuracy:1,latitude:1,longitude:1,speed:1,verticalAccuracy:1}},choosePoi:{object:{},success:{type:1,city:1,name:1,address:1,latitude:1,longitude:1}},chooseLocation:{object:{latitude:1,longitude:1},success:{name:1,address:1,latitude:1,longitude:1}},saveFileToDisk:{object:{filePath:1},success:{}},openDocument:{object:{filePath:1,showMenu:1,fileType:["doc","docx","xls","xlsx","ppt","pptx","pdf"]},success:{}},getFileSystemManager:{return:{FileSystemManager:1}},FileSystemManager:{access:1,accessSync:1,appendFile:1,appendFileSync:1,close:1,closeSync:1,copyFile:1,copyFileSync:1,fstat:1,fstatSync:1,ftruncate:1,ftruncateSync:1,getFileInfo:1,getSavedFileList:1,mkdir:1,mkdirSync:1,open:1,openSync:1,read:1,readCompressedFile:1,readCompressedFileSync:1,readdir:1,readdirSync:1,readFile:1,readFileSync:1,readSync:1,readZipEntry:1,removeSavedFile:1,rename:1,renameSync:1,rmdir:1,rmdirSync:1,saveFile:1,saveFileSync:1,stat:1,statSync:1,truncate:1,truncateSync:1,unlink:1,unlinkSync:1,unzip:1,write:1,writeFile:1,writeFileSync:1,writeSync:1},Stats:{isDirectory:1,isFile:1},login:{success:{code:1}},checkSession:{success:{}},getAccountInfoSync:{return:{}},getUserProfile:{object:{desc:1,lang:["en","zh_CN","zh_TW"]},success:{userInfo:1,rawData:1,signature:1,encryptedData:1,iv:1,cloudID:1}},getUserInfo:{object:{withCredentials:1,lang:["en","zh_CN","zh_TW"]},success:{userInfo:1,rawData:1,signature:1,encryptedData:1,iv:1,cloudID:1}},UserInfo:{},authorize:{object:{scope:1},success:{}},openSetting:{object:{withSubscriptions:1},success:{authSetting:1,subscriptionsSetting:1}},getSetting:{object:{withSubscriptions:1},success:{authSetting:1,subscriptionsSetting:1,miniprogramAuthSetting:1}},AuthSetting:{},stopBluetoothDevicesDiscovery:{success:{}},startBluetoothDevicesDiscovery:{object:{services:1,allowDuplicatesKey:1,interval:1,powerLevel:["low","medium","high"]},success:{}},openBluetoothAdapter:{object:{mode:["central","peripheral"]},success:{}},onBluetoothDeviceFound:{callback:{devices:["name","deviceId","RSSI","advertisData","advertisServiceUUIDs","localName","serviceData","connectable"]}},onBluetoothAdapterStateChange:{callback:{available:1,discovering:1}},offBluetoothDeviceFound:{callback:{}},offBluetoothAdapterStateChange:{callback:{}},makeBluetoothPair:{object:{deviceId:1,pin:1,timeout:1},success:{}},getConnectedBluetoothDevices:{object:{services:1},success:{devices:["name","deviceId"]}},getBluetoothDevices:{success:{devices:["name","deviceId","RSSI","advertisData","advertisServiceUUIDs","localName","serviceData","connectable"]}},getBluetoothAdapterState:{success:{discovering:1,available:1}},closeBluetoothAdapter:{success:{}},writeBLECharacteristicValue:{object:{deviceId:1,serviceId:1,characteristicId:1,value:1,writeType:["write","writeNoResponse"]},success:{}},setBLEMTU:{object:{deviceId:1,mtu:1},success:{mtu:1}},readBLECharacteristicValue:{object:{deviceId:1,serviceId:1,characteristicId:1},success:{}},onBLEConnectionStateChange:{callback:{deviceId:1,connected:1}},onBLECharacteristicValueChange:{callback:{deviceId:1,serviceId:1,characteristicId:1,value:1}},offBLEConnectionStateChange:{callback:{}},offBLECharacteristicValueChange:{callback:{}},notifyBLECharacteristicValueChange:{object:{deviceId:1,serviceId:1,characteristicId:1,state:1,type:1},success:{}},getBLEDeviceServices:{object:{deviceId:1},success:{services:["uuid","isPrimary"]}},getBLEDeviceRSSI:{object:{deviceId:1},success:{RSSI:1}},getBLEDeviceCharacteristics:{object:{deviceId:1,serviceId:1},success:{characteristics:["uuid",{properties:["read","write","notify","indicate","writeNoResponse","writeDefault"]}]}},createBLEConnection:{object:{deviceId:1,timeout:1},success:{}},closeBLEConnection:{object:{deviceId:1},success:{}},onBLEPeripheralConnectionStateChanged:{callback:{deviceId:1,serverId:1,connected:1}},offBLEPeripheralConnectionStateChanged:{callback:{}},createBLEPeripheralServer:{object:{},success:{server:1}},BLEPeripheralServer:{addService:1,close:1,offCharacteristicReadRequest:1,offCharacteristicSubscribed:1,offCharacteristicUnsubscribed:1,offCharacteristicWriteRequest:1,onCharacteristicReadRequest:1,onCharacteristicSubscribed:1,onCharacteristicUnsubscribed:1,onCharacteristicWriteRequest:1,removeService:1,startAdvertising:1,stopAdvertising:1,writeCharacteristicValue:1},stopBeaconDiscovery:{success:{}},startBeaconDiscovery:{object:{uuids:1,ignoreBluetoothAvailable:1},success:{}},onBeaconUpdate:{callback:{beacons:1}},onBeaconServiceChange:{callback:{available:1,discovering:1}},offBeaconUpdate:{callback:{}},offBeaconServiceChange:{callback:{}},getBeacons:{success:{beacons:1}},BeaconInfo:{uuid:1,major:1,minor:1,proximity:1},getNFCAdapter:{return:{NFCAdapter:1}},addPhoneRepeatCalendar:{object:{title:1,startTime:1,allDay:1,description:1,location:1,endTime:1,alarm:1,alarmOffset:1,repeatEndTime:1,repeatInterval:["day","week","month","year"]},success:{}},addPhoneCalendar:{object:{title:1,startTime:1,allDay:1,description:1,location:1,endTime:1,alarm:1,alarmOffset:1},success:{}},chooseContact:{success:{phoneNumber:1,displayName:1,phoneNumberList:1}},addPhoneContact:{object:{firstName:1,photoFilePath:1,nickName:1,lastName:1,middleName:1,remark:1,mobilePhoneNumber:1,weChatNumber:1,addressCountry:1,addressState:1,addressCity:1,addressStreet:1,addressPostalCode:1,organization:1,title:1,workFaxNumber:1,workPhoneNumber:1,hostNumber:1,email:1,url:1,workAddressCountry:1,workAddressState:1,workAddressCity:1,workAddressStreet:1,workAddressPostalCode:1,homeFaxNumber:1,homePhoneNumber:1,homeAddressCountry:1,homeAddressState:1,homeAddressCity:1,homeAddressStreet:1,homeAddressPostalCode:1},success:{}},checkIsOpenAccessibility:{object:{},success:{open:1}},getBatteryInfoSync:{return:{level:1,isCharging:1}},getBatteryInfo:{success:{level:1,isCharging:1}},setClipboardData:{object:{data:1},success:{}},getClipboardData:{success:{data:1}},onNetworkStatusChange:{callback:{isConnected:1,networkType:["wifi","2g","3g","4g","none","unknown"]}},offNetworkStatusChange:{callback:{}},getNetworkType:{success:{networkType:["wifi","2g","3g","4g","none","unknown"],signalStrength:1,hasSystemProxy:1}},getRandomValues:{success:{randomValues:1},object:{length:1}},setVisualEffectOnCapture:{object:{visualEffect:1},success:{}},setScreenBrightness:{object:{value:1},success:{}},setKeepScreenOn:{object:{keepScreenOn:1},success:{}},onUserCaptureScreen:{callback:{}},onScreenRecordingStateChanged:{callback:{state:["start","stop"]}},offUserCaptureScreen:{callback:{}},offScreenRecordingStateChanged:{callback:{}},getScreenRecordingState:{success:{state:["on","off"]}},getScreenBrightness:{success:{value:1}},onKeyboardHeightChange:{callback:{height:1}},offKeyboardHeightChange:{callback:{}},hideKeyboard:{success:{}},getSelectedTextRange:{object:{},success:{start:1,end:1}},makePhoneCall:{object:{phoneNumber:1},success:{}},stopAccelerometer:{success:{}},startAccelerometer:{object:{interval:["game","ui","normal"]},success:{}},onAccelerometerChange:{callback:{x:1,y:1,z:1}},offAccelerometerChange:{callback:{}},stopCompass:{success:{}},startCompass:{success:{}},onCompassChange:{callback:{direction:1,accuracy:1}},offCompassChange:{callback:{}},stopDeviceMotionListening:{object:{},success:{}},startDeviceMotionListening:{object:{interval:["game","ui","normal"]},success:{}},onDeviceMotionChange:{callback:{alpha:1,beta:1,gamma:1}},offDeviceMotionChange:{callback:{}},onMemoryWarning:{callback:{level:["5","10","15"]}},offMemoryWarning:{callback:{}},stopGyroscope:{success:{}},startGyroscope:{object:{interval:["game","ui","normal"]}},onGyroscopeChange:{callback:{x:1,y:1,z:1}},offGyroscopeChange:{callback:{}},scanCode:{object:{onlyFromCamera:1,scanType:["barCode","qrCode","datamatrix","pdf417"]},success:{result:1,scanType:1,charSet:1,path:1,rawData:1}},vibrateShort:{object:{type:1},success:{}},vibrateLong:{success:{}},createSelectorQuery:{return:{SelectorQuery:1}},createIntersectionObserver:{return:{IntersectionObserver:1}},IntersectionObserver:{disconnect:1,observe:1,relativeTo:1,relativeToViewport:1},MediaQueryObserver:{disconnect:1,observe:1},NodesRef:{boundingClientRect:1,context:1,fields:1,node:1,scrollOffset:1},SelectorQuery:{exec:1,in:1,select:1,selectAll:1,selectViewport:1},onCustomEvent:{},offCustomEvent:{},base64ToTempFilePath:{},sendWebviewEvent:{},previewVideo:{},getSuperviseInfo:{success:{idfv:1,imei:1,udid:1,registerMobile:1,actualMobile:1,publicIp:1,publicPort:1,macAddress:1,innerIp:1,systemVersion:1,imsi:1,iccid:1,appName:1,appVersion:1,bundleId:1}}},tr=L()(er),nr=[],rr=0;rr<tr.length;rr++){var or=tr[rr];er[or].success&&!er[or].return&&nr.push(or)}var ir=nr;window.navigator.userAgent;var ar=function(){};function cr(e,t){return function(){try{return e.apply(e,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type||"ConnectSocketError"===e.type)throw e;Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:t})}}}}function sr(e){return"Object"===K(e)}function ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";Reporter.triggerErrorMessage(n);var r=Reporter.surroundThirdByTryCatch(t.fail||(t.complete?ar:console.error.bind(null,"Unhandled promise rejection ")),"at api "+e+" fail callback function"),o=Reporter.surroundThirdByTryCatch(t.complete||ar,"at api "+e+" complete callback function");r({errMsg:n}),o({errMsg:n})}function fr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parameter",r="",o=K(t),i=K(e);if(i!==o)return n+" should be "+o+" instead of "+i+";";switch(o){case"Object":for(var a in t)r+=fr(e[a],t[a],n+"."+a);break;case"Array":if(e.length<t.length)return n+" should have at least "+t.length+" item;";for(var c=0;c<t.length;++c)r+=fr(e[c],t[c],n+"["+c+"]")}return r}function lr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("object"!==ye()(e))return e;var n=[];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))if(t)try{var o=decodeURIComponent(r)===r?encodeURIComponent(r):r,i=decodeURIComponent(e[r])===e[r]?encodeURIComponent(e[r]):e[r];n.push(o+"="+i)}catch(t){n.push(r+"="+e[r])}else n.push(r+"="+e[r]);return n.join("&")}function dr(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){for(var n in t)e[n]=t[n];return e}),{})}function hr(e){if("string"!=typeof e)throw new Error("wx.redirectTo: invalid url:"+e);var t=e.split("?");return t[0]+=".html",void 0!==t[1]?t[0]+"?"+t[1]:t[0]}var pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function vr(e){this.message=e}vr.prototype=new Error,vr.prototype.name="InvalidCharacterError";var gr=window.btoa||function(e){for(var t,n,r=String(e),o=0,i=pr,a="";r.charAt(0|o)||(i="=",o%1);a+=i.charAt(63&t>>8-o%1*8)){if((n=r.charCodeAt(o+=3/4))>255)throw new vr("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a},yr=function(e){var t=String(e).replace(/[=]+$/,"");if(t.length%4==1)throw new vr("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)r=pr.indexOf(r);return a},mr=window.atob||yr,br=function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(e){var r;return ce()(this,n),(r=t.call(this,"APP-SERVICE-SDK:"+e)).type="AppServiceSdkKnownError",r}return ue()(n)}(Tn()(Error)),wr={map:!0,applet:!0},kr={surroundByTryCatchFactory:cr,getDataType:K,isObject:sr,isString:function(e){return"String"===K(e)},isNumber:function(e){return"Number"===K(e)},getRealRoute:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(window.isNewPlugin){var r=window.__wxConfig__.plugins,o=t.split("?"),i=k()(o,2),a=i[0],c=i[1],s=a.split("/").filter((function(e){return e})),u=k()(s,3),f=u[1],l=u[2],d=r[f];if(d){var h=d.id,p=d.pages;p&&p[l]&&(t="__plugin__/".concat(h,"/").concat(p[l]),c&&(t=t+"?"+c))}return n?hr(t):t}return t=n?hr(t):t,/^(plugin|hyfile|https?):\/\//.test(t)?t:Qn.getRealRoute(e,t)},getPlatform:function(){var e=window.navigator.userAgent.toLowerCase();return/devtools/.test(e)?"devtools":/(iphone|ipad)/.test(e)?"ios":/android/.test(e)?"android":"windows"},urlEncodeFormData:lr,addQueryStringToUrl:function(e,t,n){if("string"==typeof e&&"object"===ye()(t)&&t){var r=e.indexOf("?"),o=r>-1?e.slice(0,r):e,i=lr(dr((r>-1?e.slice(r+1):"").split("&").reduce((function(e,t){if("string"==typeof t&&t.length>0){var n=t.split("="),r=n[0],o=n.slice(1).join("=");e[r]=o}return e}),{}),L()(t).reduce((function(e,n){return"object"===ye()(t[n])?e[encodeURIComponent(n)]=encodeURIComponent(le()(t[n])):e[encodeURIComponent(n)]=encodeURIComponent(t[n]),e}),{})),n);return i?o+"?"+i:o}return e},validateUrl:function(e){return/^(http|https):\/\/.*/i.test(e)},assign:dr,encodeUrlQuery:function(e){if("string"==typeof e){var t=e.split("?"),n=t[0],r=(t[1]||"").split("&").reduce((function(e,t){if("string"==typeof t&&t.length>0){var n=t.split("="),r=n[0],o=n[1];e[r]=o}return e}),{}),o=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&o.push(i+"="+encodeURIComponent(r[i]));return o.length>0?n+"?"+o.join("&"):e}return e},transWxmlToHtml:function(e){if("string"!=typeof e)return e;var t=e.split("?");return t[0]+=".html",void 0!==t[1]?t[0]+"?"+t[1]:t[0]},removeHtmlSuffixFromUrl:function(e){return"string"==typeof e?-1!==e.indexOf("?")?e.replace(/\.html\?/,"?"):e.replace(/\.html$/,""):e},extend:function(e,t){for(var n in t)e[n]=t[n];return e},arrayBufferToBase64:function(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,o=0;o<r;o++)t+=String.fromCharCode(n[o]);return gr(t)},base64ToArrayBuffer:function(e){var t;try{t=mr(e)}catch(n){t=yr(e)}for(var n=t.length,r=new Uint8Array(n),o=0;o<n;o++)r[o]=t.charCodeAt(o);return r.buffer},blobToArrayBuffer:function(e,t){var n=new FileReader;n.onload=function(){t(this.result)},n.readAsArrayBuffer(e)},base64ToUint8ClampedArray:function(e){for(var t=mr(e),n=t.length,r=new Uint8ClampedArray(n),o=0;o<n;o++)r[o]=t.charCodeAt(o);return r},uint8ClampedArrayToBase64:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return gr(t)},convertObjectValueToString:function(e){return L()(e).reduce((function(t,n){return"string"==typeof e[n]?t[n]=e[n]:"number"==typeof e[n]?t[n]=e[n]+"":t[n]=Object.prototype.toString.apply(e[n]),t}),{})},anyTypeToString:cr((function(e){var t=Object.prototype.toString.call(e).split(" ")[1].split("]")[0];if("Array"===t||"Object"===t)try{e=le()(e)}catch(e){throw e.type="AppServiceSdkKnownError",e}else e="String"===t||"Number"===t||"Boolean"===t?e.toString():"Date"===t?e.getTime().toString():"Undefined"===t?"undefined":"Null"===t?"null":"";return{data:e,dataType:t}}),"anyTypeToString"),stringToAnyType:cr((function(e,t){return"String"===t?e:"Array"===t||"Object"===t?JSON.parse(e):"Number"===t?An()(e):"Boolean"===t?"true"===e:"Date"===t?new Date(C()(e)):"Undefined"===t?void 0:"Null"===t?null:""}),"stringToAnyType"),AppServiceSdkKnownError:br,renameProperty:function(e,t,n){!1!==sr(e)&&t!==n&&Object.prototype.hasOwnProperty.call(e,t)&&(e[n]=e[t],delete e[t])},defaultRunningStatus:"active",toArray:function(e){if(A()(e)){for(var t=Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return t}return en()(e)},canIUse:function(e){var t=ftparser.exeCompatibleFn(["api","canIUse"],[e]);if(t)return t;var n=e[0];return Zn[n]?function(e){var t=e[0],n=e[1],r=e[2],o=Zn[t];if(n){for(var i in o)for(var a=0;a<o[i].length;a++){if("string"==typeof o[i][a]&&o[i][a]===n)return!0;if(o[i][a][n]){if(!r)return!0;if(o[i][a][n].indexOf(r)>-1)return!0}}return!1}return!0}(e):!!er[n]&&function(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=er[t];return!(!i||n&&(!i[n]||r&&(!i[n][r]||o&&!i[n][r].includes(o))))}(e)},atob:mr,btoa:gr,strToArrayBuffer:function(e){for(var t=e.length,n=-1,r="undefined"==typeof Uint8Array?new Array(1.5*t):new Uint8Array(3*t),o=0,i=0,a=0;a!==t;){if(o=e.charCodeAt(a),a+=1,o>=55296&&o<=56319){if(a===t){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;break}if(!((i=e.charCodeAt(a))>=56320&&i<=57343)){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;continue}if(a+=1,(o=1024*(o-55296)+i-56320+65536)>65535){r[n+=1]=240|o>>>18,r[n+=1]=128|o>>>12&63,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o;continue}}o<=127?r[n+=1]=0|o:o<=2047?(r[n+=1]=192|o>>>6,r[n+=1]=128|63&o):(r[n+=1]=224|o>>>12,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o)}return"undefined"!=typeof Uint8Array?r.subarray(0,n+1):(r.length=n+1,r)},conversionCoordinate:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"applet";if(!wr.map&&!wr.applet)return"unimplement";var r="fail";if(e&&(e.latitude||e.longitude)){var o=null;wr.applet&&"applet"===n?(!(o=wx.convertCoordinateFromApplet({latitude:Number(e.latitude),longitude:Number(e.longitude)}))||o&&o.errMsg.includes(r))&&(wr.applet=!1,o=null):wr.map&&"app"===n&&(!(o=wx.convertCoordinateFromMap({latitude:Number(e.latitude),longitude:Number(e.longitude)}))||o&&o.errMsg.includes(r))&&(wr.map=!1,o=null),o&&(e.latitude=o.latitude,e.longitude=o.longitude)}var i=e.success;wr.map&&t&&"function"==typeof i&&(e.success=function(e){if(e.latitude||e.longitude){var t=wx.convertCoordinateFromMap({latitude:Number(e.latitude),longitude:Number(e.longitude)});t&&!t.errMsg.includes(r)?(e.latitude=t.latitude,e.longitude=t.longitude):wr.map=!1}i(e)})},isAndroid:F,isIOS:R,isWinSDK:D,emptyFn:ar,logErr:ur,paramCheck:fr,beforeInvoke:function(e,t,n){var r=fr(t,n);return!r||(ur(e,t,e+":fail parameter error: "+r),!1)},generateRandomId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id",t=Math.random().toString(36).slice(-6),n=_()().toString(36);return"".concat(e,"-").concat(t,"-").concat(n)},validate:function(e,t,n){t=J(t);try{var r=K(t);"Object"!==r&&(console.warn("".concat(e," parameter should be Object instead of ").concat(r,";")),t={}),t=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parameter",o=function(){var o,a="Function"===K(n[i])?{type:n[i]}:n[i],c=a.type,s=void 0===c?Object:c,u=a.defaultValue,f=a.required,l=void 0!==f&&f;if(!Object.prototype.hasOwnProperty.call(t,i)){if(void 0!==u)return t[i]=u,0;if(l)throw new Error("".concat(r,".").concat(i," should not be empty"));return 0}o=t[i];var d=K(s),h="Function"===d,p=h?s.name:d,v=K(o);if(v!==p&&!["Boolean","Number"].includes(p)&&("Array"!==p||h&&"Array"===p))throw new Error("".concat(r,".").concat(i," should be ").concat(p," instead of ").concat(v));switch(p){case"String":var g=a.maxLength;if(o=o||u||"",l&&!o&&""!==u)throw new Error("".concat(r,".").concat(i," should not be empty"));if(g&&function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.length,n=0,r=0;r<t;r++)e.charCodeAt(r)<27||e.charCodeAt(r)>126?n+=2:n++;return n}(o)>2*g)throw new Error("".concat(r,".").concat(i," length should not larger than ").concat(g));break;case"Number":if(isNaN(o)||null===o)throw new Error("".concat(r,".").concat(i," should be ").concat(p," instead of ").concat(v));o=isFinite(o)?Number(o):0;var y=a.max,m=a.min;o=isFinite(o)?Number(o):0,o=isNaN(m)?o:Math.max(o,m),o=isNaN(y)?o:Math.min(o,y),t[i]=o;break;case"Boolean":t[i]=void 0===o?u:Boolean(o);break;case"Array":if(h){var b=a.maxLength,w=void 0===b?o.length:b,k=a.childType;if(o){if(o.length>w)throw new Error("".concat(r,".").concat(i," should not be larger than ").concat(w));if(l&&o.length<1)throw new Error("".concat(r,".").concat(i," should have at least 1 item;"))}if(k)for(var S in o)e({item:o[S]},{item:{type:k,required:!0}},"".concat(r,"[").concat(S,"]"))}else{var _=a.useError,x=void 0===_||_,C=a.multiple,M=void 0!==C&&C;if(void 0===o&&u&&(t[i]=o=u),M){var I=o instanceof Array;if(x&&!I)throw new Error("invalid ".concat(i,' "').concat(o,'"'));t[i]=I&&0!==o.filter((function(e){return s.indexOf(e)>-1})).length?o.filter((function(e){return s.indexOf(e)>-1})):u}else if(-1===s.indexOf(o)){if(x)throw new Error("invalid ".concat(i,' "').concat(o,'"'));t[i]=u}}}};for(var i in n)o();return t}(t,n,"parameter")}catch(n){return ur(e,t,"".concat(e,":fail parameter error: ").concat(n.toString(),";")),!1}return t},isAsyncApi:function(e){return ir.includes(e)},splitCookies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];for(var n in t)e=e.replaceAll(t[n]+",",t[n]);var r=e.split("\n").filter((function(e){return e})),o=[];return r.forEach((function(e){o.push.apply(o,h()(e.split(", ")))})),o}},Sr={};function _r(){ServiceJSBridge.invoke.apply(ServiceJSBridge,arguments)}function xr(){ServiceJSBridge.on.apply(ServiceJSBridge,arguments)}var Cr=["showTabBarRedDot","showTabBar","setTabBarStyle","setTabBarItem","setTabBarBadge","removeTabBarBadge","hideTabBarRedDot","hideTabBar"];function Mr(e,t,n){var r={};for(var o in t)"function"==typeof t[o]&&(r[o]=Reporter.surroundThirdByTryCatch(t[o],"at api "+e+" "+o+" callback function"),delete t[o]);var i={};for(var a in n)"function"==typeof n[a]&&(i[a]=kr.surroundByTryCatchFactory(n[a],"at api "+e+" "+a+" callback function"));_r(e,t,function(){var n=v()(y.a.mark((function n(o){var a,c,s;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t._sync){n.next=3;break}return"function"==typeof r.success&&r.success(o),n.abrupt("return");case 3:if(o.errMsg=o.errMsg||e+":ok","request"!==e&&"uploadFile"!==e&&"downloadFile"!==e||o.cookies||(o.cookies=o.header&&o.header["Set-Cookie"]?o.header["Set-Cookie"].split(/, */):[]),"request"===e)if((kr.isIOS||kr.isWinSDK)&&o.isBase64)"arraybuffer"===(t.responseType&&t.responseType.toLowerCase())?o.data=kr.base64ToArrayBuffer(o.data):o.data=kr.atob(o.data);else if(kr.isAndroid&&"arraybuffer"===(t.responseType&&t.responseType.toLowerCase())&&"string"==typeof o.data)try{o.data=new Uint8Array(JSON.parse(o.data)).buffer}catch(e){}window.__wxConfig__&&"debug"===window.__wxConfig__.debugLevel&&console.log([e,"response",o]),delete o.isBase64,a=0===o.errMsg.indexOf(e+":cancel"),c=0===o.errMsg.indexOf(e+":fail"),"function"==typeof i.beforeAll&&i.beforeAll(o),a?(o.errMsg=o.errMsg.replace(e+":cancel",e+":fail cancel"),"function"==typeof r.fail&&r.fail(o),"function"==typeof i.beforeCancel&&i.beforeCancel(o),"function"==typeof r.cancel&&r.cancel(o),"function"==typeof i.afterCancel&&i.afterCancel(o)):c?("function"==typeof i.beforeFail&&i.beforeFail(o),"function"==typeof r.fail&&r.fail(o),s=!0,"function"==typeof i.afterFail&&(s=i.afterFail(o)),!1!==s&&Reporter.reportIDKey({key:e+"_fail"})):("function"==typeof i.beforeSuccess&&i.beforeSuccess(o),"function"==typeof r.success&&r.success(o),"function"==typeof i.afterSuccess&&i.afterSuccess(o)),"function"==typeof r.complete&&r.complete(o),"function"==typeof i.afterAll&&i.afterAll(o),(c||a)&&"function"!=typeof r.fail&&"function"!=typeof r.complete&&console.error("Unhandled promise rejection ",o);case 15:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()),Reporter.reportIDKey({key:e})}var Ir,Er,Tr,Pr={invoke:_r,on:xr,publish:function(){var e=Array.prototype.slice.call(arguments);e[1]={data:e[1],options:{timestamp:_()()}},ServiceJSBridge.publish.apply(ServiceJSBridge,e)},webpublish:function(){var e=Array.prototype.slice.call(arguments);e[1]={data:e[1],options:{timestamp:_()()}},ServiceJSBridge.webpublish.apply(ServiceJSBridge,e)},subscribe:function(){var e=Array.prototype.slice.call(arguments),t=e[1];e[1]=function(e,n){var r=e.data,o=e.options,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o&&o.timestamp||0,c=_()();"function"==typeof t&&t(r,n,e),Reporter.speedReport({key:"webview2AppService",data:r||{},timeMark:{startTime:a,endTime:c,nativeTime:i.nativeTime||0}})},ServiceJSBridge.subscribe.apply(ServiceJSBridge,e)},invokeMethod:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Cr.includes(e)?execOnServiceReady((function(){Mr(e,t,n)})):Mr(e,t,n)},onMethod:function(e,t){var n=gn("ServiceJSBridge-".concat(e));Sr[e]||(xr(e,(function(){n.emit.apply(n,arguments)})),Sr[e]=!0),n.internalOnMethod(t)},offMethod:function(e,t){gn("ServiceJSBridge-".concat(e)).internalOffMethod(t)},noop:function(){},checkUrlInConfig:function(e,t,n){var r=t.replace(/\.html\?.*|\.html$/,"");return-1!==window.__wxConfig__.pages.indexOf(r)||(kr.logErr(e,n,'url "'+kr.removeHtmlSuffixFromUrl(t)+'" is not in app.json'),!1)}},Ar={removePathSuffix:function(e){return"string"==typeof e?-1!==e.indexOf("?")?e.replace(/\.html\?/,"?"):e.replace(/\.html$/,""):e}},Or=__wxConfig,Lr=kn.appLaunchInfo,Br=kn.appInfo,Fr={};function jr(e){Fr=e}var Rr={path:"",query:{},scene:1001,referrerInfo:{}};Or.onReady((function(){var e=Or.appLaunchInfo||Rr,t=window._launchOption;t||ServiceJSBridge.invoke("getGlobalVariables",{variable:"_launchOption"},(function(){t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})._launchOption||{}}));try{t=JSON.parse(window._launchOption)}catch(e){}if("string"==typeof t.referrerInfo)try{t.referrerInfo=JSON.parse(t.referrerInfo)}catch(e){}var n=l()({},t),r=__wxConfig__.pages||[];n.path=n.path||__wxConfig__.entryPagePath||r[0],n.query=n.query||{},n.scene=n.scene||1001,n.referrerInfo=n.referrerInfo||{},l()(e,Or.debugLaunchInfo||{},n),eo()?(ServiceJSBridge.publish("gameConfigUpdate",__wxConfig__),delete e.path):Qr(e),Lr.appLaunchInfo=e,Lr.appLaunchShareInfo=e.shareInfo||{},Er=Zr(e,!0),Ir=to(Er,Or.preloadType),Er.__public=no(Ir,""),jr(Ir)}));var Dr=gn("AppEnterForeground"),Nr=Dr.internalOnMethod,Ur=gn("AppEnterBackground"),Wr=Ur.internalOnMethod,Vr=gn("AppShow"),Gr=Vr.offMethod,qr=Vr.internalOnMethod,zr=gn("AppHide"),Hr=zr.onMethod,Kr=zr.offMethod,Jr=zr.internalOnMethod,Xr=gn("WindowResize"),Yr=Xr.onMethod,$r=Xr.offMethod;function Qr(e){var t="default";switch(e.mode){case"default":case"halfPage":"nativeFunctionalized"===e.appearance&&(t="nativeFunctionalized");break;case"singlePage":t="browseOnly";break;case"embedded":t="embedded"}e.apiCategory=t}function Zr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(e.scene=e.scene?C()(e.scene,10):e.scene,e.query=e.query||{},e.path&&(e.path=Ar.removePathSuffix(e.path)),e.referrerInfo=e.referrerInfo||{},e.isLaunch=t,Lr.sceneHistory.push(e.scene),"object"===ye()(e.shareInfo)&&null!==e.shareInfo){var n=e.shareInfo;n.shareKey&&n.shareName&&(e.shareTicket=Lr.ShareInfoStorage.set(n.shareKey,n.shareName),Lr.ShareInfoStorage.lastShareTicket=e.shareTicket),delete e.shareInfo}return e}function eo(){return 4===Or.appType}function to(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};0===(e=l()({},e)).scene?e.scene=Tr:Tr=e.scene;var t=e.scene,n=e.referrerInfo.appId?{appId:e.referrerInfo.appId,extraData:e.referrerInfo.extraData||{}}:{};e.referrerInfo.privateExtraData&&e.referrerInfo.privateExtraData.__pluginAppId&&(e.referrerInfo.appId&&(n.pluginAppId=e.referrerInfo.privateExtraData.__pluginAppId),delete e.referrerInfo.privateExtraData.__pluginAppId,0===L()(e.referrerInfo.privateExtraData).length&&delete e.referrerInfo.privateExtraData);var r={path:e.path,query:e.query,scene:t,shareTicket:e.shareTicket,referrerInfo:n},o=e.nativeExtraData||{};return o.location&&(r.locationInfo=o.location),e.mode&&(r.mode=e.mode),e.apiCategory&&(r.apiCategory=e.apiCategory),r}function no(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(function(e){var t=e.match(ro),n=e.match(oo),r="";if(t){var o=t[0];if("plugin://"===o){var i=o.length,a=e.indexOf("/",i);if(a>=0){var c=e.slice(i,a);r=Or.plugins&&Or.plugins[c]?Or.plugins[c].provider:c}}else if("plugin-private://"===o){var s=o.length,u=e.indexOf("/",s);u>=0&&(r=e.slice(s,u))}else"wx://"===o&&(r="//")}if(n){var f=n[0];if("__plugin__/"===f){var l=f.length,d=e.indexOf("/",l);d>=0&&(r=e.slice(l,d))}else"__wx__/"===f&&(r="//")}return r}(e.path||"")===t)return e;var n={path:e.path,query:{},scene:e.scene,shareTicket:e.shareTicket,referrerInfo:{}};return e.mode&&(n.mode=e.mode),e.apiCategory&&(n.apiCategory=e.apiCategory),10===Or.appType&&(e.nativeExtraData&&(n.nativeExtraData=e.nativeExtraData),n.sessionId=e.sessionId,n.isLaunch=e.isLaunch,e.isLaunch&&(n.prerender=e.prerender),n.clickTimestamp=e.clickTimestamp,n.preloadType=e.preloadType),n}Nr((function(e){Vr.emitInternal(e)})),Wr((function(e){zr.emitInternal(e)})),Pr.onMethod("onAppEnterForeground",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kn.setConfig({appStatus:0}),e.scene=e.scene||1001,e.shareTicket=e.shareTicket||"";var t=e.debugLaunchInfo||{};l()(e,t),delete e.debugLaunchInfo,Qr(e),function(e){if(eo())Dr.emit(e);else{var t=to(e=Zr(e,!1));e.__public=no(t,""),jr(t),Dr.emit(e),Br.scene=e.scene,Br.sceneNote=e.scene_note}}(e),Pr.publish("onAppEnterForeground",e.__public)})),Pr.onMethod("onAppEnterBackground",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={query:e.query||{}};kn.setConfig({appStatus:"hide"===e.mode?0:1,hanged:"close"!==e.mode&&("hang"===e.mode||kn.getConfig().hanged)}),Pr.publish("onAppEnterBackground",t),Pr.publish("pageonhide",t),Ur.emit()})),gn("AppRoute").internalOnMethod((function(e){if("appLaunch"===e.openType){var t=io();Dr.emit(t)}}));var ro=/^[-+a-zA-Z0-9]+:\/\//,oo=/^__[-+a-zA-Z0-9]+__\//;function io(){if(!Ir)throw new Error("getLaunchOptionsSync:fail get launch options");return no(Ir||{},"")}function ao(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ao(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ao(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}window.ftparser={exeCompatibleFn:function(){}},qr((function(e){var t;delete e.path,delete e.query,t=e,Vr.emitGlobal(t)})),Jr((function(e){var t;t=e,zr.emitGlobal(t)})),window.__wxConfig=l()(window.__wxConfig||{},{appType:4});var so={setStorageSync:function(e,t){var n=null,r={key:e,data:t,fail:function(e){n=e.errMsg}},o=ye()(t);t instanceof Date&&(o="Date");try{r.data=le()({data:r.data,_type:o})}catch(e){}kr.beforeInvoke("setStorageSync",r,{key:""})&&(Pr.invokeMethod("setStorageSync",r),n&&console.error(n),Wo.updateLocalStorage(e,t))},setStorage:function(e){var t=e.data,n=ye()(e.data);e.data instanceof Date&&(n="Date");try{e.data=le()({data:e.data,_type:n})}catch(e){}kr.beforeInvoke("setStorage",e,{key:""})&&Pr.invokeMethod("setStorage",e,{afterSuccess:function(){Wo.updateLocalStorage(e.key,t)}})},removeStorageSync:function(e){var t=null;kr.beforeInvoke("removeStorageSync",e,"")&&(Pr.invokeMethod("removeStorageSync",{key:e,fail:function(e){t=e.errMsg}}),t&&console.error(t),Wo.removeLocalStorage(e))},removeStorage:function(e){kr.beforeInvoke("removeStorage",e,{key:""})&&Pr.invokeMethod("removeStorage",e,{afterSuccess:function(){Wo.removeLocalStorage(e.key)}})},getStorageSync:function(e){var t="",n=null,r=ftparser.exeCompatibleFn(["api","getStorageSync"],[e]);if(r&&(e=r),kr.beforeInvoke("getStorageSync",e,"")){if(Pr.invokeMethod("getStorageSync",{key:e,success:function(e){try{var r=JSON.parse(e.data);r._type?(t=r.data,n=r._type):t=e.data}catch(n){t=e.data}},fail:function(e){e.errMsg}}),!n&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){}return"Date"===n&&(t=new Date(t)),t}},getStorageInfoSync:function(){var e="",t=null;return Pr.invokeMethod("getStorageInfoSync",{success:function(t){e=t},fail:function(e){t=e.errMsg}}),t&&console.error(t),e},getStorageInfo:function(e){Pr.invokeMethod("getStorageInfo",e)},getStorage:function(e){kr.beforeInvoke("getStorage",e,{key:""})&&Pr.invokeMethod("getStorage",e,{beforeSuccess:function(e){try{if("string"==typeof e.data)try{var t=JSON.parse(e.data);t._type?e.data=t.data:e.data=t,"Date"===t._type&&(e.data=new Date(e.data))}catch(e){}}catch(e){}return e}})},clearStorageSync:function(){var e=null;Pr.invokeMethod("clearStorageSync",{fail:function(t){e=t.errMsg}}),e&&console.error(e),Wo.clearLocalStorage()},clearStorage:function(e){Pr.invokeMethod("clearStorage",e,{afterSuccess:function(){Wo.clearLocalStorage()}})},batchSetStorageSync:function(e){if(kr.beforeInvoke("batchSetStorageSync",e,[])){var t=e.map((function(e){return{key:e.key,data:le()({data:e.value,_type:e.value instanceof Date?"Date":ye()(e.value)})}}));Pr.invokeMethod("batchSetStorageSync",co({data:t},e),{afterSuccess:function(){e.forEach((function(e){Wo.updateLocalStorage(e.key,e.value)}))}})}},batchGetStorageSync:function(e){var t=[],n=null;return kr.beforeInvoke("batchGetStorageSync",e,[])&&(e.success=function(e){t=e.data.map((function(e){"string"==typeof e&&(e=JSON.parse(e));try{return e&&"object"===ye()(e)&&"Date"===e._type?new Date(e.data):void 0===e?null:e.data}catch(t){return e}}))},e.fail=function(e){n=e.errMsg},Pr.invokeMethod("batchGetStorageSync",co({data:e},e))),n&&console.error(n),t},batchSetStorage:function(e){if(kr.beforeInvoke("batchSetStorage",e,{kvList:[]})){var t=e.kvList.map((function(e){return{key:e.key,data:le()({data:e.value,_type:e.value instanceof Date?"Date":ye()(e.value)})}}));Pr.invokeMethod("batchSetStorage",co({data:t},e),{afterSuccess:function(){e.kvList.forEach((function(e){Wo.updateLocalStorage(e.key,e.value)}))}})}},batchGetStorage:function(e){kr.beforeInvoke("batchGetStorage",e,{keyList:[]})&&Pr.invokeMethod("batchGetStorage",e,{beforeSuccess:function(e){return e.dataList=e.dataList.map((function(e){"string"==typeof e&&(e=JSON.parse(e));try{return e&&"object"===ye()(e)&&"Date"===e._type?new Date(e.data):void 0===e?null:e.data}catch(t){return e}})),e}})}};function uo(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):uo(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var lo=Object.prototype.hasOwnProperty,ho=Object.prototype.toString,po=function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(e){var r;return ce()(this,n),(r=t.call(this,"APP-SERVICE-Engine:"+e)).type="AppServiceEngineKnownError",r}return ue()(n)}(Tn()(Error)),vo={getPlatform:function(){return"devtools"},safeInvoke:function(){var e,t=Array.prototype.slice.call(arguments),n=t[0];t=t.slice(1);try{var r=_()();e=this[n].apply(this,t);var o=_()()-r;o>1e3&&Reporter.slowReport({key:"pageInvoke",cost:o,extend:"at "+this.__route__+" page "+n+" function"})}catch(e){Reporter.thirdErrorReport({error:e,extend:'at "'+this.__route__+'" page '+n+" function"})}return e},isEmptyObject:function(e){for(var t in e)if(lo.call(e,t))return!1;return!0},extend:function(e,t){for(var n=L()(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e},noop:function(){},getDataType:K,isObject:function(e){return"Object"===K(e)},hasOwn:function(e,t){return lo.call(e,t)},def:function(e,t,n,r){i()(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})},isPlainObject:function(e){return"[object Object]"===ho.call(e)},isFunction:function(e){return"[object Function]"===ho.call(e)},error:function(e,t){console.group(new Date+" "+e),console.error(t),console.groupEnd()},warn:function(e,t){console.group(new Date+" "+e),console.warn(t),console.groupEnd()},info:function(e){var t=__wxConfig__&&__wxConfig__.debug;window.isIDE?t&&console.info(e):window.__enableDebug&&console.info(e)},surroundByTryCatch:function(e,t){var n=this;return function(){try{return e.apply(e,arguments)}catch(e){return console.log(e),n.errorReport(e,t),function(){}}}},errorReport:function(e,t){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceEngineKnownError"===e.type)throw e;Reporter.errorReport({key:"jsEnginScriptError",error:e,extend:t})}},publish:function(e,t,n){var r={options:{timestamp:_()()}};t?t.options=this.extend(t.options||{},r.options):t=r,ServiceJSBridge.publish(e,t,n)},objectKeys:"function"==typeof L.a?function(e){return L()(e)}:function(e){var t,n=ye()(e);if(null===e||"function"!==n&&"object"!==n)throw new TypeError("obj must be an Object");var r=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(t);return r},getOwnPropertySymbols:"function"==typeof nn.a?function(e){return ke()(e)}:function(){return[]},indexOf:function(e,t){if("[object Array]"!==ho.call(e))throw new TypeError("array must be an Array");for(var n,r=0,o=e.length;r<o;++r)if((n=e[r])===t||n!=n&&t!=t)return r;return-1},filterPrimitiveData:function(e){var t=ye()(e);return null!==e&&"object"!==t&&"function"!==t?e:null}};function go(e){for(var t=e.length,n=[],r="",o=0,i=!1,a=!1,c=0;c<t;c++){var s=e[c];if("\\"===s)c+1<t&&("."===e[c+1]||"["===e[c+1]||"]"===e[c+1])?(r+=e[c+1],c++):r+="\\";else if("."===s)r&&(n.push(r),r="");else if("["===s){if(r&&(n.push(r),r=""),0===n.length)throw vo.error("数据路径错误","Path can not start with []: "+e);a=!0,i=!1}else if("]"===s){if(!i)throw vo.error("数据路径错误","Must have number in []: "+e);a=!1,n.push(o),o=0}else if(a){if(s<"0"||s>"9")throw vo.error("数据路径错误","Only number 0-9 could inside []: "+e);i=!0,o=10*o+s.charCodeAt(0)-48}else r+=s}if(r&&n.push(r),0===n.length)throw vo.error("数据路径错误","Path can not be empty");return n}var yo=function e(t){var n;if("object"===ye()(t)){for(var r in n=A()(t)?[]:{},t)if(lo.call(t,r)){var o=t[r];"object"===ye()(o)&&null!==o?n[r]=e(o):n[r]=o}}else n=t;return n},mo=fo(fo({},vo),{},{isIOS:R,isWinSDK:D,isDevTools:function(){return!0},addHtmlSuffixToUrl:function(e){if("string"!=typeof e)return e;var t=e.split("?")[0],n=e.split("?")[1];return t+=".html",void 0!==n?t+"?"+n:t},removeHtmlSuffixFromUrl:function(e){return"string"==typeof e&&e.indexOf(".html")===e.length-4?e.substring(0,e.length-5):e},cloneObj:yo,cloneFreeData:function(e){return yo(e)},filterObj:function(e,t){var n={};return e?(L()(t).forEach((function(r){new RegExp(e).test(r)||(n[r]=t[r])})),n):t},randomString:function(e){var t="abcdefghijklmnopqrstuvwxyz9876543210",n="",r=0;for(r=0;r<e;r++)n+=t.charAt(Math.floor(36*Math.random()));return n},getObjectByPath:function(e,t){for(var n,r,o=go(t),i=e,a=0;a<o.length;a++)Number(o[a])===o[a]&&o[a]%1==0?A()(i)||(i=[]):vo.isPlainObject(i)||(i={}),r=o[a],n=i,i=i[o[a]];return{obj:n,key:r}},parsePath:go,hasOwnProperty:lo,toString:ho,checkUsingComponents:function(e){return!!/(?:^|\/)__(wx|plugin)__\//.test(e)||!!/^plugin:\/\//.test(e)||!!("undefined"!=typeof __AppCode__&&__AppCode__[e+".json"]||{}).usingComponents},AppServiceEngineKnownError:po}).hasOwnProperty,bo=new(function(){function e(){ce()(this,e),this.tabBars=[],this.stack=[],this.stackObjs={},this.configObjs={},this.currentPage=null,this.timers={},this.unloadCallback={},this.pageCountLimit=0,this.currentRoute="",this.regiestRoute={}}return ue()(e,[{key:"initTabBar",value:function(){var e=this;__wxConfig__.tabBar&&__wxConfig__.tabBar.list&&"object"===ye()(__wxConfig__.tabBar.list)&&"function"==typeof __wxConfig__.tabBar.list.forEach&&__wxConfig__.tabBar.list.forEach((function(t){e.tabBars.push(t.pagePath)}))}},{key:"getPageConfig",value:function(e){return e="/"!==e.substring(0,1)?"/"+e:e,this.configObjs[e]}},{key:"isTabBarsPage",value:function(e){if(!e)return!1;var t=0===e.route.indexOf("/")?e.route.substr(1):e.route;return-1!==this.tabBars.indexOf(t)||-1!==this.tabBars.indexOf(t+".html")}},{key:"push",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6?arguments[6]:void 0,c=this.currentPage;this.currentPage={page:t,webviewId:e,route:n,rawPath:r,lastRoute:c?c.route:"",lastQuery:c?c.page.options:{},node:o},this.stack.push(this.currentPage),this.stackObjs[e]={page:t,route:n,rawPath:r,webviewId:e,statesData:null,framesetViewId:i.framesetViewId,node:a?o:void 0}}},{key:"replace",value:function(e,t,n,r,o){var i=arguments.length>6?arguments[6]:void 0,a=this.currentPage;this.stack.forEach((function(n){n.webviewId===e&&(n.page=t,n.node=o)})),this.stackObjs[e].page=t,this.stackObjs[e].node=i?o:void 0,a.webviewId===e&&(a.page=t,a.node=o)}},{key:"pop",value:function(e){delete this.stackObjs[e];for(var t=this.stack.length-1;t>=0&&this.stack[t].webviewId!==e;)t--;t>=0&&this.stack.splice(t,1)}},{key:"popStack",value:function(){this.stack=this.stack.slice(0,this.stack.length-1)}},{key:"isPageExist",value:function(e){return!!this.stackObjs[e]}},{key:"reset",value:function(){this.stack=[],this.stackObjs={},this.configObjs={},this.currentPage=null}},{key:"getWebviewIdToPage",value:function(){return this.stackObjs}},{key:"getRouteToPage",value:function(){return this.configObjs}},{key:"getCurrentPage",value:function(){return this.currentPage}},{key:"getCurrentPages",value:function(){return this.getCurrentPagesByDomain("/")}},{key:"getCurrentPagesByDomain",value:function(e){var t=[];return this.stack.forEach((function(n){e&&function(e){if(/^__wx__\//.test(e=e||""))return"//";var t=e.match(/(?:^|\/)__plugin__\/(.*?)\//);return t?t[1]:"/"}(n.route)!==e?t.push(null):t.push(n.page)})),t}},{key:"setCurrentRoute",value:function(e){this.currentRoute=e}},{key:"getCurrentRoute",value:function(e){return this.currentRoute}},{key:"getPageByWebviewId",value:function(e){return mo(this.stackObjs,e)?this.stackObjs[e].page:null}},{key:"getPageMetaByWebviewId",value:function(e){return mo(this.stackObjs,e)?this.stackObjs[e].page:null}},{key:"hasPageRoute",value:function(e){return function(){for(var t=0;t<__wxConfig.pages.length;t++)if(__wxConfig.pages[t]===e)return!0;return!1}()||void 0!==this.regiestRoute[e]}},{key:"clearTimer",value:function(e){e&&this.timers[e]&&clearTimeout(this.timers[e])}},{key:"setPageCountLimit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;e=C()(e,10),isNaN(e)?this.pageCountLimit=0:this.pageCountLimit=e}},{key:"canNavigateTo",value:function(){var e=this.pageCountLimit;return!(!isNaN(e)&&e>0)||this.stack.length<e}}]),e}()),wo=__wxConfig,ko=gn("ThemeChange"),So=ko.onMethod;ko.internalOnMethod,ko.offMethod,Pr.onMethod("onThemeUpdate",(function(e){window.__darkmode=e.theme,wo.theme=e.theme,ko.emit({theme:e.theme});var t=bo.getCurrentPage();e.theme&&t&&Pr.publish("updateBodyTheme",e,[t.webviewId])}));var _o=gn("AppService-Error"),xo=gn("AppService-UnhandledRejection");_o.onMethod,_o.offMethod,xo.onMethod,xo.offMethod,Reporter.registerThirdErrorListener((function(e){_o.emit(e)})),Reporter.registerThirdUnhandledRejectionListener((function(e,t){xo.emit({reason:e,promise:t})}));var Co=gn("PageNotFound"),Mo=(Co.onMethod,Co.offMethod,gn("AppRouteNotFound").onMethod),Io={page:void 0,time:_()(),count:0};Mo((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;kn.appInfo.lastRoute="",e&&"string"==typeof e.path&&e.path.endsWith(".html")&&(e.path=Ar(e.path)),e&&"string"==typeof e.query&&(e.query=function(e){for(var n={},r=e.split("&"),o=0;o<r.length;o++){var i=r[o].split("=");if(i.length>1)try{n[i[0]]=decodeURIComponent(i[1])}catch(e){}}return t}(e.query)),Io.page&&Io.page===e.path?Io.count++:Io={page:e.path,time:_()(),count:1},e.isEntryPage=!0,delete e.referrerInfo,Co.emit(e)}));var Eo=function(){try{var e=(window.__fcjs_systemInfo||{}).runtimeSDKVersion;if(!e){var t=(navigator&&navigator.userAgent||"").match(/runtimeSdkVersion\/([^)]+)/i)||[];return t.length&&t[1]?t[1]:""}return e}catch(e){return""}}();function To(){return!!q(Eo,"2.37.7")&&(0!==Eo.indexOf("2.38.0")||z(Eo,"2.38.0-alpha20220730v01"))}var Po=q(Eo,"2.34.1"),Ao=z(Eo,"2.38.0-alpha20220716v01")&&Boolean(!window.isWebviewGame),Oo=(To(),R?To():!!z(Eo,"2.37.10-alpha20220824v01")||0===Eo.indexOf("2.38.0")&&z(Eo,"2.38.0-alpha20220825v01"),Boolean(window.__fcjs_isSupportCanvasObject));function Lo(){var e=Boolean(window.isSupportFinclipWebsocket);return window.isWebviewGame?!window.__wxConfig__.compatibleSocket&&e:e}Bo=function(){var e=navigator.userAgent,t="";return e.indexOf("Mac OS X")>-1?t=(e.match(/OS [\d._]*/gi)+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."):(e.indexOf("Android")>-1||e.indexOf("Linux")>-1)&&(t=e.slice(e.indexOf("Android")+8,e.indexOf(";",e.indexOf("Android")))),t}(),R&&!q(Bo,"10.0.0")||F&&q(Bo,"5.2.0"),z(Eo,"2.39.0-alpha20221111v07"),!(!R||!z(Eo,"2.39.2-alpha20230105v03"))||!D||q(Eo,"1.3.5"),z(Eo,"2.42.0");var Bo,Fo=F&&"2.42.9"===Eo;function jo(){return!(!F||!j)&&q(Eo,"2.42.4-alpha20231109v01")}F?Eo.startsWith("2.40.0")?z(Eo,"2.40.0-beta20230130v01"):q(Eo,"2.40.0"):0===Eo.indexOf("2.39")?z(Eo,"2.39.4-alpha20230117v01"):0===Eo.indexOf("2.40.0")?z(Eo,"2.40.0-alpha20220117v08"):q(Eo,"2.40.0");var Ro=!F||(Eo.startsWith("2.40.0")?z(Eo,"2.40.0-alpha20230224v02"):q(Eo,"2.39.9")),Do=(!R||q(Eo,"2.41.7"),/(finclip-tv)/i.test(navigator&&navigator.userAgent||"")),No=["log","warn","error","info"],Uo=new(function(){function e(){var t=this;ce()(this,e),this.isSupportVConsoleWebview=Ao,this.logQueue=[],this.viewIds=[],this.enableDebug=null,this.methods={},this.shouldUpdateLocalStorage=!0;var n=this;No.forEach((function(e){V||W||(console[e]&&(t.methods[e]=console[e].bind(console)),console[e]=function(){var t;n.logQueue.length>1024&&n.logQueue.shift();var r=window.iosRemoteDebuggerLog;r&&r(arguments);var o=function(e){try{return(e=Array.prototype.slice.call(e)).map(ne)}catch(e){return console.warn("[console] This object can not be logged",e)}}(arguments);n.logQueue.push({method:e,log:o}),n.methods[e]&&(t=n.methods)[e].apply(t,h()(o)),n.viewIds.length>0&&Pr.publish(e,{log:o},n.viewIds)})})),void 0===console.group&&(console.group=function(){}),void 0===console.groupEnd&&(console.groupEnd=function(){})}return ue()(e,[{key:"addEventListener",value:function(){var e=this;this.isAdded||(So((function(t){Pr.publish("initLogs",{theme:t.theme||"light"},e.viewIds)})),Pr.on("onUncaughtError",(function(t){e.methods.error&&e.methods.error(t.error),console.error(t.error)})),this.isAdded=!0)}},{key:"initWebview",value:function(){this.isSupportVConsoleWebview&&this.checkEnableDebug()&&!this.isInitWebview&&(this.addEventListener(),Pr.subscribe("consoleForwardLogs",(function(e){var t=e.method,n=e.log;console[t].apply(console,n)})),Pr.invokeMethod("initVConsole",{}),this.isInitWebview=!0)}},{key:"checkEnableDebug",value:function(){return null===this.enableDebug&&(this.enableDebug="undefined"!=typeof __wxConfig__&&__wxConfig__.debug),void 0!==window.__enableDebug&&(this.enableDebug=window.__enableDebug),!V&&this.enableDebug}},{key:"start",value:function(e,t){if(this.checkEnableDebug()){this.addEventListener(),t&&this.viewIds.push(t);var n={};if(1===this.viewIds.length){var r=so.getStorageInfoSync();A()(r.keys)&&r.keys.length>0&&r.keys.forEach((function(e){n[e]=so.getStorageSync(e)}))}Pr.publish("initLogs",{init:!0,logs:this.logQueue,clearLocalStorage:!0,updateLocalStorage:n,theme:wx.getSystemInfoSync().theme||"light"},[t]),this.attached=!0}}},{key:"toggleShouldUpdate",value:function(e){this.shouldUpdateLocalStorage=e}},{key:"updateLocalStorage",value:function(e,t){if(this.enableDebug&&this.attached&&this.shouldUpdateLocalStorage){var n={};n[e]=t,Pr.publish("initLogs",{updateLocalStorage:n},this.viewIds.slice(0,1))}}},{key:"removeLocalStorage",value:function(e){if(this.enableDebug&&this.attached&&this.shouldUpdateLocalStorage){var t={};t[e]=1,Pr.publish("initLogs",{removeLocalStorage:t},this.viewIds.slice(0,1))}}},{key:"clearLocalStorage",value:function(){this.enableDebug&&this.attached&&Pr.publish("initLogs",{clearLocalStorage:!0},this.viewIds.slice(0,1))}}]),e}());ServiceJSBridge.on("DOMContentLoaded",(function(e,t){Uo.isSupportVConsoleWebview||!window.isIDE&&Uo.start(e,t)})),ServiceJSBridge.subscribe("onViewLogEvent",(function(e,t){var n=e.method,r=e.key,o=e.value;switch(n){case"init":!window.isIDE&&Uo.start(e,t);break;case"clearLogs":Uo.logQueue=[],Pr.publish("clearLogs",{},Uo.viewIds);break;case"setStorage":Uo.toggleShouldUpdate(!1),wx.setStorageSync(r,o),Uo.toggleShouldUpdate(!0);break;case"removeStorage":Uo.toggleShouldUpdate(!1),wx.removeStorageSync(r),Uo.toggleShouldUpdate(!0)}})),Uo.initWebview();var Wo=Uo;function Vo(){if(!__wxConfig__.ext)return{};try{return JSON.parse(le()(__wxConfig__.ext))}catch(e){return{}}}var Go={canIUse:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("string"!=typeof e)throw new kr.AppServiceSdkKnownError("canIUse: schema should be an object");var t=e.split(".");return kr.canIUse(kr.toArray(t))},base64ToArrayBuffer:function(e){return kr.base64ToArrayBuffer(e)},arrayBufferToBase64:function(e){return kr.arrayBufferToBase64(e)},getExtConfigSync:Vo,getExtConfig:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};setTimeout((function(){var t={errMsg:"getExtConfig: ok",extConfig:Vo()};"function"==typeof e.success&&e.success(t),"function"==typeof e.complete&&e.complete(t)}),0)},reportLog:function(e,t){Pr.publish("H5_USER_LOG",{event:e,desc:t||""})},getAppConfig:function(e){Pr.invokeMethod("getAppConfig",e||{},{beforeSuccess:function(e){}})},getSuperviseInfo:function(e){Pr.invokeMethod("getSuperviseInfo",e||{},{beforeSuccess:function(e){}})},setEnableDebug:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===window.__enableDebug){if(kr.beforeInvoke("setEnableDebug",e,{enableDebug:!1})){var t={errMsg:"setEnableDebug: ok"};"function"==typeof e.success&&e.success(t),"function"==typeof e.complete&&e.complete(t)}}else Pr.invokeMethod("setEnableDebug",e)},reportIDKey:function(e,t){},reportKeyValue:function(e,t){},reportAction:function(e){Pr.invokeMethod("reportAction",e)},getPublicLibVersion:function(){var e;return Pr.invokeMethod("getPublicLibVersion",{complete:function(t){t.version?e=t.version:delete(e=t).errMsg}}),e},getLaunchOptionsSync:function(){return io()},getEnterOptionsSync:function(){return no(Fr,"")},onAppShow:function(e){Vr.onMethod(e)},onWindowResize:Yr,offWindowResize:$r,onAppHide:Hr,offAppShow:Gr,offAppHide:Kr,getRandomValues:function(e){var t=e.length,n=e.success,r=e.fail,o=e.complete,i={};if("number"==typeof t)if(t<0||t>1048576||t%1!=0)i.errMsg="getRandomValues:fail invalid length. It must be >= 0 && <= 1048576 && integer","function"==typeof r&&r(i);else{for(var a=new Int8Array(t),c=0;c<t;c++)a[c]=Math.floor(256*Math.random()-128);i.errMsg="getRandomValues:ok",i.randomValues=a.buffer,"function"==typeof n&&n(i)}else i.errMsg="getRandomValues:fail parameter error: parameter.length should be Number instead of ".concat(ye()(t),";"),"function"==typeof r&&r(i);"function"==typeof o&&o(i)},checkIsOpenAccessibility:function(e){Pr.invokeMethod("checkIsOpenAccessibility",e)},getEnvConfig:function(e){Pr.invoke("loadJsFiles",{paths:["env.config.js"]},(function(t){var n;t.scripts&&t.scripts.length?(n=t.scripts[0],e.success&&e.success(n)):(n={errMsg:"getEnvConfig: fail"},e.fail&&e.fail(n)),e.complete&&e.complete(n)}))}},qo={base64ToArrayBuffer:Go.base64ToArrayBuffer,arrayBufferToBase64:Go.arrayBufferToBase64,getExtConfigSync:Go.getExtConfigSync,getExtConfig:Go.getExtConfig,reportLog:Go.reportLog,getAppConfig:Go.getAppConfig,getSuperviseInfo:Go.getSuperviseInfo,setEnableDebug:Go.setEnableDebug,reportIDKey:Go.reportIDKey,reportKeyValue:Go.reportKeyValue,reportAction:Go.reportAction,getPublicLibVersion:Go.getPublicLibVersion,getLaunchOptionsSync:Go.getLaunchOptionsSync,getEnterOptionsSync:Go.getEnterOptionsSync,getRandomValues:Go.getRandomValues,checkIsOpenAccessibility:Go.checkIsOpenAccessibility,onShow:Go.onAppShow,offShow:Go.offAppShow,onHide:Go.onAppHide,offHide:Go.offAppHide,onWindowResize:Go.onWindowResize,offWindowResize:Go.offWindowResize};function zo(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ho(e){var t="2.26.0",n="8.0.28";if(window.__wxConfig__&&__wxConfig__.compatibility&&__wxConfig__.compatibility.systemInfo){var r=__wxConfig__.compatibility.systemInfo,o=r.SDKVersion,i=r.version;t="string"==typeof o&&o?o:t,n="string"==typeof i&&i?i:n}e.SDKVersion=t,e.version=n,e.frameworkVersion=wx.version&&wx.version.version||"",e.platform=Do?"windows":e.platform}function Ko(){var e,t,n=Do?"windows":kr.getPlatform();return Pr.invokeMethod("getSystemInfoSync",{success:function(t){(e=t.data?t.data:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zo(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):zo(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},t)).platform=n},fail:function(e){t=e}}),e&&Ho(e),{data:e,err:t}}var Jo={getSystemInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ko(),n=t.data,r=t.err;for(var o in e)"function"==typeof e[o]&&(e[o]=Reporter.surroundThirdByTryCatch(e[o],"at api getSystemInfo "+o+" callback function"));n?(n.devicePixelRatio=n.pixelRatio,"function"==typeof e.success&&e.success(n)):"function"==typeof e.fail&&e.fail(r),"function"==typeof e.complete&&e.complete(n)},getSystemInfoAsync:function(e){Pr.invokeMethod("getSystemInfo",e,{beforeSuccess:function(e){Ho(e),e.errMsg=e.errMsg.replace("getSystemInfo","getSystemInfoAsync")},beforeFail:function(e){e.errMsg=e.errMsg.replace("getSystemInfo","getSystemInfoAsync")}})},getSystemInfoSync:function(){var e=Ko().data;return e&&delete e.errMsg,e.devicePixelRatio=e.pixelRatio,e}},Xo={onCheckForUpdate:null,onUpdateReady:!1,updateCallbacks:[],readycallbacks:[]};Pr.on("onCheckForUpdate",Reporter.surroundThirdByTryCatch((function(e){Xo.onCheckForUpdate=e,Xo.updateCallbacks.forEach((function(t){return t(e)}))}),"at api onCheckForUpdate callback function")),Pr.on("onUpdateReady",Reporter.surroundThirdByTryCatch((function(){Xo.onUpdateReady=!0,Xo.readycallbacks.forEach((function(e){return e()}))}),"at api onUpdateReady callback function"));var Yo={getUpdateManager:function(){return{applyUpdate:function(){Pr.invokeMethod("applyUpdate",{})},onCheckForUpdate:function(e){if("function"==typeof e){var t=Xo.onCheckForUpdate||null;if(t)return void e(t);Xo.updateCallbacks.push(e)}},onUpdateFailed:function(e){Pr.on("onUpdateFailed",Reporter.surroundThirdByTryCatch(e,"at api onUpdateFailed callback function"))},onUpdateReady:function(e){if("function"==typeof e){if(Xo.onUpdateReady)return void e();Xo.readycallbacks.push(e)}}}}},$o=new dn("LoadSubPackage");Pr.on("onLoadSubPackageTaskStateChange",(function(e){$o.emit(e.state,e.taskId,e)}));var Qo={},Zo=[],ei=new I.a,ti=new I.a,ni=function(e){return Qo[e]},ri=function(e){var t=l()({},e);return delete t.taskId,delete t.state,delete t.moduleName,t};$o.on("success",function(){var e=v()(y.a.mark((function e(t,n){var r,o,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=ni(t),delete Qo[t],o=y.a.mark((function e(){var t,o,a,c,s,u;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=function(){"function"==typeof o.success&&o.success(a),"function"==typeof o.complete&&o.complete(a)},t=n.moduleName,o=ei.get(r[i]),(a=ri(n)).errMsg="loadSubpackage:ok",Zo.push(t),s=t.endsWith(".js")?t:"".concat(t,"game.js"),R&&window.isWebviewGame&&window.subPackageLoadedList?window.subPackageLoadedList.includes(s)?c():(u=function(e){e===s&&(c(),gn("subPackageLoaded").offMethod(u))},gn("subPackageLoaded").onMethod(u)):c();case 8:case"end":return e.stop()}}),e)})),e.t0=y.a.keys(r);case 4:if((e.t1=e.t0()).done){e.next=9;break}return i=e.t1.value,e.delegateYield(o(),"t2",7);case 7:e.next=4;break;case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),$o.on("fail",(function(e,t){var n=ni(e);delete Qo[e],A()(n)&&n.forEach((function(e){var n=ei.get(e),r=ri(t);r.errMsg="loadSubpackage:fail module not found","function"==typeof n.fail&&n.fail(r),"function"==typeof n.complete&&n.complete(r)}))})),$o.on("progressUpdate",(function(e,t){var n=ni(e);A()(n)&&n.forEach((function(e){var n=ti.get(e),r=ri(t);"function"==typeof n&&n(r)}))}));var oi=function(){var e,t=this,n=ei.get(this);if(Zo.indexOf(n.name)>=0){var r={errMsg:"loadSubpackage:ok",moduleName:n.name};return"function"==typeof n.success&&n.success(r),void("function"==typeof n.complete&&n.complete(r))}if("__APP__"===n.name&&N&&__wxConfig.isIsolateContext&&4===__wxConfig.appType){Zo.push(n.name);var o={errMsg:"loadSubpackage:ok"};return"function"==typeof n.success&&n.success(o),void("function"==typeof n.complete&&n.complete(o))}if(Pr.invokeMethod("createLoadSubPackageTask",{moduleName:n.name,success:function(e){void 0===Qo[e.loadTaskId]?Qo[e.loadTaskId]=[t]:Qo[e.loadTaskId].push(t)},fail:function(t){e=t.errMsg,R&&(t.errMsg="loadSubpackage:fail module not found","function"==typeof n.fail&&__errorTracer__.surroundThirdByTryCatch(n.fail)(t),"function"==typeof n.complete&&__errorTracer__.surroundThirdByTryCatch(n.complete)(t))}}),e)throw new Error(e.replace(/createLoadSubPackageTask:fail[ :]/,""))},ii=function(){function e(t){ce()(this,e),ei.set(this,t),["success","fail","complete"].forEach((function(e){"function"==typeof t[e]&&(t[e]=__errorTracer__.surroundThirdByTryCatch(t[e],"at api loadSubpackage ".concat(e," callback function")))})),oi.call(this)}return ue()(e,[{key:"onProgressUpdate",value:function(e){ti.set(this,(function(t){"function"==typeof e&&__errorTracer__.surroundThirdByTryCatch(e,"at LoadTask.onProgressUpdate callback function")(t)}))}}]),e}(),ai={loadSubpackage:function(e){var t=l()({},e);if(kr.beforeInvoke("loadSubPackage",t,{name:""})){var n=__wxConfig.subPackages||__wxConfig.subpackages;if(n){n.forEach((function(e){t.name!==e.alias&&t.name!==e.name||(t.name=e.root)})),"__APP__"===t.name||"__GAME__"===t.name||t.name.endsWith(".js")||t.name.endsWith("/")||(t.name="".concat(t.name,"/")),"__GAME__"===t.name&&(t.name="__APP__"),t.name.startsWith("/")&&(t.name=t.name.substring(1));try{return new ii(t)}catch(e){kr.logErr("loadSubpackage",t,e.message)}}else kr.logErr("loadSubpackage",t,"Your subpackages configuration is invalid.")}}};function ci(){return{destroy:function(){},hide:function(){},offClose:function(){},offError:function(){},offLoad:function(){},offResize:function(){},onClose:function(){},onError:function(){},onLoad:function(){},onResize:function(){},show:function(){}}}var si={onShareTimeline:function(){},createRewardedVideoAd:ci,createInterstitialAd:ci,createGridAd:ci,createCustomAd:ci,createBannerAd:ci};function ui(){}F&&window.NativeGlobal&&window.NativeGlobal.createArrayBuffer&&["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"].forEach((function(e){window[e]&&(window[e]=ue()((function t(n){return ce()(this,t),window.NativeGlobal.createArrayBuffer(e,n)})))}));var fi=0,li={createCanvas:function(){var e;e=R&&!W?new NativeGlobal.Canvas("canvas"):NativeGlobal.Canvas("canvas"+fi++);var t=new ui;e.__proto__=new Proxy(e.__proto__,{setPrototypeOf:function(e,n){return t=n,!0},getPrototypeOf:function(){return t}}),e.constructor=ui;var n=["touchstart","touchend","touchmove","touchcancel"],r=kr.getPlatform();return"android"!==r&&"ios"!==r&&(n=n.concat(["mouseup","mousedown","mousemove","wheel"])),n.forEach((function(t){e.addEventListener&&e.addEventListener(t,(function(e){wx.__exeTouchEventCallback(t,e)}))})),e}},di=ue()((function e(){ce()(this,e)})),hi={createImage:function(){var e;if(W||F)return NativeGlobal.createImage();if(R){(e=new NativeGlobal.Image).constructor=di;var t=new di;e.__proto__=new Proxy(e.__proto__,{setPrototypeOf:function(e,n){return t=n,!0},getPrototypeOf:function(){return t}})}return e}},pi={startCompass:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("startCompass",e,{})},stopCompass:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopCompass",e,{})}},vi={startAccelerometer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("startAccelerometer",e,{})},stopAccelerometer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopAccelerometer",e,{})}};function gi(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function yi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gi(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):gi(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var mi=!1,bi=!1,wi=!1,ki=!1,Si=gn("accelerometerChange"),_i=gn("composeChange"),xi=gn("gyroscopeChange"),Ci=gn("deviceMotionChange"),Mi=gn("memoryWarning");Pr.on("onMemoryWarningCallback",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Mi.emit(e)})),Pr.on("onAccelerometerChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Si.emit(e)})),Pr.on("onCompassChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_i.emit(e)})),Pr.on("onGyroscopeChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};xi.emit(e)}));var Ii=null;Pr.onMethod("onUserCaptureScreen",(function(){Ii&&Ii.emit({})})),Pr.on("onDeviceMotionChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Ci.emit(e)}));var Ei,Ti=function(e){var t=new Date(1e3*e);return t.setHours(0,0,0),t.valueOf()/1e3},Pi=function(e){var t=new Date(1e3*e);return t.setSeconds(0),t.valueOf()/1e3},Ai={onMemoryWarning:function(e){"function"==typeof e&&(Mi.onMethod(e),Pr.invokeMethod("onMemoryWarning",{enable:!0}))},offMemoryWarning:function(e){if("function"==typeof e){var t=Mi.getGlobalListeners("onMemoryWarning").length;Mi.offMethod(e),0===t&&Pr.invokeMethod("onMemoryWarning",{enable:!1})}else void 0===e&&(Mi.offMethod(),Pr.invokeMethod("onMemoryWarning",{enable:!1}))},onDeviceMotionChange:function(e){return ki||(Pr.invokeMethod("enableDeviceMotion",{enable:!0,fail:Pr.noop}),ki=!0),Ci.onMethod(e)},offDeviceMotionChange:function(e){Ci.offMethod(e),ki&&0===Ci.getGlobalListeners().length&&(Pr.invokeMethod("enableDeviceMotion",{enable:!1,fail:Pr.noop}),ki=!1)},startDeviceMotionListening:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interval=e.interval||200,Pr.invokeMethod("startDeviceMotionListening",e)},stopDeviceMotionListening:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopDeviceMotionListening",e)},onGyroscopeChange:function(e){return wi||(Pr.invokeMethod("enableGyroscope",{enable:!0,fail:Pr.noop}),wi=!0),xi.onMethod(e)},offGyroscopeChange:function(e){xi.offMethod(e),wi&&0===xi.getGlobalListeners().length&&(Pr.invokeMethod("enableGyroscope",{enable:!1,fail:Pr.noop}),wi=!1)},onAccelerometerChange:function(e){return mi||(Pr.invokeMethod("enableAccelerometer",{enable:!0,fail:Pr.noop}),mi=!0),Si.onMethod(e)},offAccelerometerChange:function(e){Si.offMethod(e),mi&&0===Si.getGlobalListeners().length&&(Pr.invokeMethod("enableAccelerometer",{enable:!1,fail:Pr.noop}),mi=!1)},onCompassChange:function(e){return bi||(Pr.invokeMethod("enableCompass",{enable:!0,fail:Pr.noop}),bi=!0),_i.onMethod(e)},offCompassChange:function(e){_i.offMethod(e),bi&&0===_i.getGlobalListeners().length&&(Pr.invokeMethod("enableCompass",{enable:!1}),bi=!1)},vibrateShort:function(e){Pr.invokeMethod("vibrateShort",e)},vibrateLong:function(e){Pr.invokeMethod("vibrateLong",e)},addPhoneContact:function(e){kr.beforeInvoke("addPhoneContact",e,{firstName:""})&&Pr.invokeMethod("addPhoneContact",e||{},{beforeSuccess:function(e){}})},getScreenBrightness:function(e){Pr.invokeMethod("getScreenBrightness",e||{},{beforeSuccess:function(e){}})},setScreenBrightness:function(e){kr.beforeInvoke("setScreenBrightness",e,{value:1})&&Pr.invokeMethod("setScreenBrightness",e||{},{beforeSuccess:function(e){}})},setKeepScreenOn:function(e){kr.beforeInvoke("setKeepScreenOn",e,{keepScreenOn:!0})&&Pr.invokeMethod("setKeepScreenOn",e||{},{beforeSuccess:function(e){}})},scanCode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("scanCode",e,{})&&Pr.invokeMethod("scanCode",e,{beforeSuccess:function(e){"string"==typeof e.path&&(e.path=e.path.replace(/\.html$/,""),e.path=e.path.replace(/\.html\?/,"?"))}})},openAddress:function(e){Pr.invokeMethod("openAddress",e)},chooseContact:function(e){Pr.invokeMethod("chooseContact",e)},scanVehicle:function(e){Pr.invokeMethod("scanVehicle",e||{},{beforeAll:function(e){},beforeSuccess:function(e){}})},makePhoneCall:function(e){kr.beforeInvoke("makePhoneCall",e,{phoneNumber:""})&&Pr.invokeMethod("makePhoneCall",e)},chooseAddress:function(e){Pr.invokeMethod("openAddress",e,{beforeSuccess:function(e){kr.renameProperty(e,"addressPostalCode","postalCode"),kr.renameProperty(e,"proviceFirstStageName","provinceName"),kr.renameProperty(e,"addressCitySecondStageName","cityName"),kr.renameProperty(e,"addressCountiesThirdStageName","countyName"),kr.renameProperty(e,"addressDetailInfo","detailInfo")},beforeAll:function(e){e.errMsg=e.errMsg.replace("openAddress","chooseAddress"),delete e.err_msg}})},onUserCaptureScreen:function(e){Ii||(Pr.invokeMethod("enableUserCaptureScreenListener",{enable:!0,fail:Pr.noop}),Ii=gn("onUserCaptureScreen")),Ii.onMethod(e)},offUserCaptureScreen:function(e){Ii&&(Ii.offMethod(e),0===Ii.getGlobalListeners().length&&(Pr.invokeMethod("enableUserCaptureScreenListener",{enable:!1,fail:Pr.noop}),Ii=null))},addPhoneRepeatCalendar:function(e){kr.beforeInvoke("addPhoneRepeatCalendar",e,{title:"",startTime:0})&&(e.desc=e.description||"",delete e.description,e.endTime=e.endTime?e.endTime:e.startTime,Pr.invokeMethod("addPhoneRepeatCalendar",e))},addPhoneCalendar:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(kr.beforeInvoke("addPhoneCalendar",e,{title:"",startTime:0})){e.desc=e.description||"",delete e.description;var t=e.allDay?Ti(e.startTime):Pi(e.startTime);e.endTime=e.endTime?e.endTime:e.startTime;var n=e.endTime?e.allDay?Ti(e.endTime):Pi(e.endTime):0;Pr.invokeMethod("addPhoneCalendar",yi(yi({},e),{},{startTime:t,endTime:n}))}}},Oi={showToast:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("showToast",e,{duration:{type:Number,defaultValue:1500,max:1e4},title:{required:!0,type:String,defaultValue:""},icon:{type:["success","loading","none","error"],defaultValue:"success",useError:!1},mask:{type:Boolean,defaultValue:!1},image:{type:String}}))&&Pr.invokeMethod("showToast",e)},hideToast:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={success:function(){},fail:function(){},complete:function(){}};t=kr.extend(t,e),Pr.invokeMethod("hideToast",t)},showLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("showLoading",e,{title:{required:!0,type:String,defaultValue:""},mask:{type:Boolean,defaultValue:!1}}))&&Pr.invokeMethod("showLoading",e)},hideLoading:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={success:function(){},fail:function(){},complete:function(){}};t=kr.extend(t,e),Pr.invokeMethod("hideLoading",t)},showModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=kr.validate("showModal",e,{title:{type:String,defaultValue:""},content:{type:String,defaultValue:""},placeholderText:{type:String,defaultValue:""},confirmText:{type:String,defaultValue:"确定"},cancelText:{type:String,defaultValue:"取消"},confirmColor:{type:String,defaultValue:"dark"===window.__darkmode?"#368CE4":"#409EFF"},cancelColor:{type:String,defaultValue:"dark"===window.__darkmode?"#A5A5A5":"#000000"},showCancel:{type:Boolean,defaultValue:!0},editable:{type:Boolean,defaultValue:!1}});t&&Pr.invokeMethod("showModal",t,{beforeSuccess:function(e){e.confirm=Boolean(e.confirm)}})},showActionSheet:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null===e.alertText&&(e.alertText="");var t=kr.validate("showActionSheet",e,{itemList:{type:Array,childType:String,required:!0,maxLength:6},itemColor:{type:String,defaultValue:"#000000"},alertText:{type:String,defaultValue:""}});t&&Pr.invokeMethod("showActionSheet",t,{beforeCancel:function(){try{"function"==typeof e.success&&e.success({errMsg:"showActionSheet:ok",cancel:!0})}catch(e){Reporter.thirdErrorReport({error:e,extend:"showActionSheet success callback error"})}}})},enableAlertBeforeUnload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.enable=!0,Pr.invokeMethod("enableAlertBeforeUnload",e)},disableAlertBeforeUnload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.enable=!1,e.webviewId=0,Pr.invokeMethod("disableAlertBeforeUnload",e)},getMenuButtonBoundingClientRect:function(){if(window.isIDE){var e={};return Pr.invokeMethod("getMenuButtonBoundingClientRect",{success:function(t){e=t}}),delete e.errMsg,e}var t=window.__wxConfig__,n=window.__fcjs_menuButtonBoundingClientRect&&("string"==typeof window.__fcjs_menuButtonBoundingClientRect?JSON.parse(window.__fcjs_menuButtonBoundingClientRect):window.__fcjs_menuButtonBoundingClientRect)||{},r=(n="landscape"===t.deviceOrientation?n.horizontal||{}:n.vertical||{}).left,o=n.right,i=n.width;return l()({},n,{right:o,left:r,width:i})}};function Li(e){if(""!==Ei){var t={},n=[Ei,t.__route__,e?1:0,L()(t.options||{}).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t.options[e])})).join("&")].map(encodeURIComponent).join(",");Reporter.reportKeyValue({key:"Clipboard",value:n,force:!0})}}var Bi={getClipboardData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("getClipboardData",e,{})},setClipboardData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};void 0===e.showToastSDK&&(e.showToastSDK=!0),kr.beforeInvoke("setClipboardData",e,{data:""})&&Pr.invokeMethod("setClipboardData",e,{beforeSuccess:function(){Ei=e.data,Li(!0)}})},reportClipBoardData:Li},Fi=gn("screenRecording"),ji=Fi.onMethod,Ri=Fi.offMethod;Pr.on("onScreenRecordingStateChanged",(function(e){Fi.emit(e)}));var Di={onScreenRecordingStateChanged:ji,offScreenRecordingStateChanged:Ri,getScreenRecordingState:function(e){Pr.invokeMethod("getScreenRecordingState",e)},setVisualEffectOnCapture:function(e){e.visualEffect=e.visualEffect?e.visualEffect:"none",Pr.invokeMethod("setVisualEffectOnCapture",e)}};Pr.onMethod("onDeviceOrientationChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onDeviceOrientationChange").emit(e)}));var Ni={setDeviceOrientation:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("setDeviceOrientation",e,{value:{type:["landscape","portrait"],defaultValue:"portrait"}}))&&Pr.invokeMethod("setDeviceOrientation",e)},onDeviceOrientationChange:function(e){gn("onDeviceOrientationChange").onMethod(e)},offDeviceOrientationChange:function(e){gn("onDeviceOrientationChange").offMethod(e)}},Ui={touchstart:[],touchmove:[],touchend:[],touchcancel:[],mousedown:[],mouseup:[],mousemove:[],wheel:[]};function Wi(e,t){if(void 0!==t){var n=Ui[e]||[],r=n.findIndex((function(e){return e===t}));r>-1&&n.splice(r,1)}else Ui[e]=[]}var Vi={mousedown:1,mouseup:1,mousemove:1,wheel:1};var Gi={onTouchStart:function(e){"function"==typeof e&&Ui.touchstart.push(e)},onTouchMove:function(e){"function"==typeof e&&Ui.touchmove.push(e)},onTouchEnd:function(e){"function"==typeof e&&Ui.touchend.push(e)},onTouchCancel:function(e){"function"==typeof e&&Ui.touchcancel.push(e)},offTouchStart:function(e){Wi("touchstart",e)},offTouchMove:function(e){Wi("touchmove",e)},offTouchEnd:function(e){Wi("touchend",e)},offTouchCancel:function(e){Wi("touchcancel",e)},__exeTouchEventCallback:function(e,t){Ui[e].forEach((function(n){n(function(e,t){if(null!=Vi[e]){var n={x:t.x,y:t.y,button:t.button,timeStamp:t.timeStamp};return"wheel"===e?Object.assign(n,{deltaX:t.deltaX,deltaY:t.deltaY,deltaZ:t.deltaZ}):n}return{type:t.type,timeStamp:t.timeStamp,changedTouches:t.changedTouches,touches:t.touches}}(e,t))}))}},qi=gn("onGameKeyDown"),zi=gn("onGameKeyUp"),Hi={DPAD_UP:"ArrowUp",DPAD_DOWN:"ArrowDown",DPAD_LEFT:"ArrowLeft",DPAD_RIGHT:"ArrowRight",DPAD_CENTER:"Enter"},Ki={19:38,20:40,21:37,22:39,23:13};Pr.on("onGameKeyDown",(function(e){e.code=Hi[e.code]||e.code,e.key=Hi[e.code]||e.code,e.keyCode=Ki[e.keyCode]||e.keyCode,qi.emit(e)})),Pr.on("onGameKeyUp",(function(e){e.code=Hi[e.code]||e.code,e.key=Hi[e.code]||e.code,e.keyCode=Ki[e.keyCode]||e.keyCode,zi.emit(e)}));var Ji={onKeyDown:function(e){qi.onMethod(e)},offKeyDown:function(e){qi.offMethod(e)},onKeyUp:function(e){zi.onMethod(e)},offKeyUp:function(e){zi.offMethod(e)},onMouseDown:function(e){"function"==typeof e&&Ui.mousedown.push(e)},onMouseMove:function(e){"function"==typeof e&&Ui.mousemove.push(e)},onMouseUp:function(e){"function"==typeof e&&Ui.mouseup.push(e)},onWheel:function(e){"function"==typeof e&&Ui.wheel.push(e)},offMouseDown:function(e){Wi("mousedown",e)},offMouseMove:function(e){Wi("mousemove",e)},offMouseUp:function(e){Wi("mouseup",e)},offWheel:function(e){Wi("wheel",e)}},Xi=n(243),Yi=n.n(Xi);function $i(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$i(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):$i(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Zi=["ascii","base64","utf-8","utf8","binary","hex","ucs2","ucs-2","utf16le","utf-16le","latin1"],ea=["a","ax","a+","ax+","as","as+","r","r+","w","wx","w+","wx+"];if("undefined"==typeof TextEncoder){window.TextEncoder=function(){},TextEncoder.prototype.encode=function(e){for(var t=e.length,n=-1,r="undefined"==typeof Uint8Array?new Array(1.5*t):new Uint8Array(3*t),o=0,i=0,a=0;a!==t;){if(o=e.charCodeAt(a),a+=1,o>=55296&&o<=56319){if(a===t){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;break}if(!((i=e.charCodeAt(a))>=56320&&i<=57343)){r[n+=1]=239,r[n+=1]=191,r[n+=1]=189;continue}if(a+=1,(o=1024*(o-55296)+i-56320+65536)>65535){r[n+=1]=240|o>>>18,r[n+=1]=128|o>>>12&63,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o;continue}}o<=127?r[n+=1]=0|o:o<=2047?(r[n+=1]=192|o>>>6,r[n+=1]=128|63&o):(r[n+=1]=224|o>>>12,r[n+=1]=128|o>>>6&63,r[n+=1]=128|63&o)}return"undefined"!=typeof Uint8Array?r.subarray(0,n+1):(r.length=n+1,r)},TextEncoder.prototype.toString=function(){return"[object TextEncoder]"};try{i()(TextEncoder.prototype,"encoding",{get:function(){if(TextEncoder.prototype.isPrototypeOf(this))return"utf-8";throw TypeError("Illegal invocation")}})}catch(yf){TextEncoder.prototype.encoding="utf-8"}void 0!==nn.a&&(TextEncoder.prototype[Yi.a]="TextEncoder")}function ta(e,t,n){var r,o="";return L()(n).some((function(e){var n=t[e],i=""===n||void 0===n,a=/path/i.test(e)&&"string"==typeof n&&n.includes("..");return i&&(r=e,o="parameter is empty"),a&&(r=e,o='cannot contain ".."'),i||a}))?(kr.logErr(e,t,e+":fail the ".concat((r||"").replace(/^fat/,"")," ").concat(o)),!1):kr.beforeInvoke(e,t,n)}function na(e,t,n){var r,o=null,i=Qi(Qi({},t),{},{success:function(e){o=e.data},fail:function(e){r=e.errMsg}});if(ta(e,i,n)&&Pr.invokeMethod(e,i),r)throw new Error(r);return o}function ra(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var oa=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ra(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ra(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({saveFile:function(e){kr.beforeInvoke("saveFile",e,{tempFilePath:""})&&Pr.invokeMethod("saveFile",e)},openDocument:function(e){kr.beforeInvoke("openDocument",e,{filePath:""})&&Pr.invokeMethod("openDocument",e)},getSavedFileList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("getSavedFileList",e)},getSavedFileInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getSavedFileInfo",e,{filePath:""})&&Pr.invokeMethod("getSavedFileInfo",e)},getFileInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&void 0===e.digestAlgorithm&&(e.digestAlgorithm="md5"),kr.beforeInvoke("getFileInfo",e,{filePath:""})){if(-1===["md5","sha1"].indexOf(e.digestAlgorithm))return void kr.logErr("getFileInfo",e,'parameter error: invalid digestAlgorithm "'+e.digestAlgorithm+'"');Pr.invokeMethod("getFileInfo",e,{})}},removeSavedFile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("removeSavedFile",e,{filePath:""})&&Pr.invokeMethod("removeSavedFile",e)},base64ToTempFilePath:function(e){Pr.invokeMethod("base64ToTempFilePath",e||{},{beforeAll:function(e){},beforeSuccess:function(e){}})},fileToBase64:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("fileToBase64",e,{url:""})&&Pr.invokeMethod("fileToBase64",e)}},{getFileSystemManager:function(){return{access:function(e){ta("access",e,{path:""})&&Pr.invokeMethod("access",e)},accessSync:function(e){return na("accessSync",{path:e},{path:""})},appendFile:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):"binary"===e.encoding&&(e.encoding="utf8"),ta("appendFile",e,{filePath:""})&&Pr.invokeMethod("appendFile",e)},appendFileSync:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf-8";return-1===Zi.indexOf(n)&&(n="utf8"),t instanceof ArrayBuffer?(t=kr.arrayBufferToBase64(t),n="base64"):"binary"===n&&(n="utf8"),na("appendFileSync",{filePath:e,data:t,encoding:n},{filePath:""})},copyFile:function(e){ta("copyFile",e,{srcPath:"",destPath:""})&&Pr.invokeMethod("copyFile",e)},copyFileSync:function(e,t){return na("copyFileSync",{srcPath:e,destPath:t},{srcPath:"",destPath:""})},close:function(e){ta("close",e,{})&&Pr.invokeMethod("close",e)},closeSync:function(e){return na("closeSync",{fd:e.fd},{})},fstat:function(e){ta("fstat",e,{})&&Pr.invokeMethod("fstat",e)},fstatSync:function(e){return na("fstatSync",{fd:e.fd},{})},ftruncate:function(e){var t=e&&e.length;t=isNaN(t)?0:Number(t),ta("ftruncate",e,{})&&Pr.invokeMethod("ftruncate",Qi(Qi({},e||{}),{},{length:t}))},ftruncateSync:function(e){var t=e.fd,n=e.length;return na("ftruncateSync",{fd:t,length:n=isNaN(n)?0:Number(n)},{})},readCompressedFile(e){Pr.invokeMethod("readCompressedFile",e)},readCompressedFileSync:e=>na("readCompressedFileSync",{filePath:e.filePath,compressionAlgorithm:e.compressionAlgorithm},{compressionAlgorithm:"br"}),getFileInfo:function(e){if(kr.beforeInvoke("getFileInfo",e,{filePath:""})){if(void 0!==e.digestAlgorithm){var t=kr.beforeInvoke(e,{digestAlgorithm:""});t&&kr.logErr("getFileInfo",e,"parameter error: "+t),-1===["md5","sha1"].indexOf(e.digestAlgorithm)&&kr.logErr("getFileInfo",e,'parameter error: invalid digestAlgorithm "'+e.digestAlgorithm+'"')}Pr.invokeMethod("getFileInfo",e,{})}},getSavedFileList:function(e){Pr.invokeMethod("getSavedFileList",e)},getSavedFileInfo:function(e){kr.beforeInvoke("getSavedFileInfo",e,{filePath:""})&&Pr.invokeMethod("getSavedFileInfo",e)},mkdir:function(e){ta("mkdir",e,{dirPath:""})&&Pr.invokeMethod("mkdir",e)},mkdirSync:function(e){return na("mkdirSync",{dirPath:e,recursive:arguments.length>1&&void 0!==arguments[1]&&arguments[1]},{dirPath:""})},open:function(e){e=Qi({},e),-1===ea.indexOf(e.flag)&&(e.flag="r"),ta("open",e,{filePath:""})&&Pr.invokeMethod("open",e)},openSync:function(e){var t=e.filePath,n=e.flag,r=void 0===n?"r":n;return-1===ea.indexOf(r)&&(r="r"),na("openSync",{filePath:t,flag:r},{filePath:""})},read:function(e){var t=(e=Qi({},e)).arrayBuffer;if(ta("read",e,{arrayBuffer:new ArrayBuffer})){var n=e.success;e.success=function(e){"function"==typeof n&&n({errMsg:e.errMsg,bytesRead:e.bytesRead,arrayBuffer:kr.base64ToArrayBuffer(e.arrayBuffer)})},e.arrayBuffer=kr.arrayBufferToBase64(t),e.arrayBufferLength=t.byteLength,Pr.invokeMethod("read",e)}},readSync:function(e){(e=Qi({},e)).arrayBufferLength=e.arrayBuffer?e.arrayBuffer.byteLength:0;var t=na("readSync",e,{arrayBuffer:new ArrayBuffer});return{bytesRead:t.bytesRead,arrayBuffer:kr.base64ToArrayBuffer(t.arrayBuffer)}},readdir:function(e){ta("readdir",e,{dirPath:""})&&Pr.invokeMethod("readdir",e)},readdirSync:function(e){return na("readdirSync",{dirPath:e},{dirPath:""})},readFile:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="binary");var t=e.success;if("binary"===e.encoding&&(e.encoding="base64",e.success=function(e){e.data=kr.base64ToArrayBuffer(e.data),"function"==typeof t&&t(e)}),ta("readFile",e,{filePath:""})){var n=e,r=n.length,o=n.position;if(""===r||void 0===r)delete e.length;else{if(isNaN(r)||r<0)return void kr.logErr("readFile",e,"readFile:fail the value of length is out of range");if(null===r)return void kr.logErr("readFile",e,"readFile:fail invalid length: null");e.length=C()(r,10)}if(""===o||void 0===o)delete e.position;else{if(isNaN(o)||o<0)return void kr.logErr("readFile",e,"readFile:fail the value of position is out of range");if(null===o)return void kr.logErr("readFile",e,"readFile:fail invalid position: null");e.position=C()(o,10)}Pr.invokeMethod("readFile",e)}},readFileSync:function(e,t,n,r){var o,i={filePath:e,encoding:t,position:n,length:r};if(-1===Zi.indexOf(i.encoding)&&(i.encoding="binary"),"binary"===i.encoding&&(o=!0,i.encoding="base64"),""===r||void 0===r)delete i.length;else{if(isNaN(r)||r<0)throw new Error("readFileSync:fail the value of length is out of range");if(null===r)throw new Error("readFileSync:fail invalid length: null");i.length=C()(r,10)}if(""===n||void 0===n)delete i.position;else{if(isNaN(n)||n<0)throw new Error("readFileSync:fail the value of position is out of range");if(null===n)throw new Error("readFileSync:fail invalid position: null");i.position=C()(n,10)}var a=na("readFileSync",i,{filePath:""});return o?kr.base64ToArrayBuffer(a):a},readZipEntry:function(e){Pr.invokeMethod("readZipEntry",e)},removeSavedFile:function(e){ta("removeSavedFile",e,{filePath:""})&&Pr.invokeMethod("removeSavedFile",e)},rename:function(e){var t=Qi(Qi({},e),{},{oldPath:e.oldPath,fatNewPath:e.newPath});delete t.newPath,ta("rename",t,{oldPath:"",fatNewPath:""})&&Pr.invokeMethod("rename",t)},renameSync:function(e,t){return na("renameSync",{oldPath:e,fatNewPath:t},{oldPath:"",fatNewPath:""})},rmdir:function(e){ta("rmdir",e,{dirPath:""})&&Pr.invokeMethod("rmdir",e)},rmdirSync:function(e){return na("rmdirSync",{dirPath:e,recursive:arguments.length>1&&void 0!==arguments[1]&&arguments[1]},{dirPath:""})},saveFile:function(e){ta("saveFile",e,{tempFilePath:""})&&Pr.invokeMethod("saveFile",e)},saveFileSync:function(e){return na("saveFileSync",{tempFilePath:e,filePath:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""},{tempFilePath:""})},stat:function(e){ta("stat",e,{path:""})&&Pr.invokeMethod("stat",e)},statSync:function(e,t){return na("statSync",{path:e,recursive:t},{path:""})},truncate:function(e){ta("truncate",e,{filePath:""})&&Pr.invokeMethod("truncate",e)},truncateSync:function(e){return na("truncateSync",{filePath:e.filePath,length:e.length},{filePath:""})},unlink:function(e){ta("unlink",e,{filePath:""})&&Pr.invokeMethod("unlink",e)},unlinkSync:function(e){return na("unlinkSync",{filePath:e},{filePath:""})},unzip:function(e){e&&e.zipFilePath===e.targetPath?kr.logErr("unzip",e,"unzip:fail zipFilePath and targetPath cannot be the same"):ta("unzip",e,{zipFilePath:"",targetPath:""})&&Pr.invokeMethod("unzip",e)},write:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):("binary"===e.encoding&&(e.encoding="utf8"),delete e.offset,delete e.length),ta("write",e,{})&&Pr.invokeMethod("write",e)},writeSync:function(e){return e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):("binary"===e.encoding&&(e.encoding="utf8"),delete e.offset,delete e.length),na("writeSync",e,{})},writeFile:function(e){e=Qi({},e),-1===Zi.indexOf(e.encoding)&&(e.encoding="utf8"),e.data instanceof ArrayBuffer?(e.data=kr.arrayBufferToBase64(e.data),e.encoding="base64"):"binary"===e.encoding&&(e.encoding="utf8"),ta("writeFile",e,{filePath:"",data:""})&&Pr.invokeMethod("writeFile",e)},writeFileSync:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf-8";return-1===Zi.indexOf(n)&&(n="utf8"),t instanceof ArrayBuffer?(t=kr.arrayBufferToBase64(t),n="base64"):"binary"===n&&(n="utf8"),na("writeFileSync",{filePath:e,data:t,encoding:n},{filePath:"",data:""})}}}}),ia={beforeAll:function(e){e.errMsg=e.errMsg.replace("Game","")}};Pr.onMethod("onKeyboardInput",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardInput").emit(e)})),Pr.onMethod("onKeyboardHeightChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardHeightChange").emit(e)})),Pr.onMethod("onKeyboardConfirm",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardConfirm").emit(e)})),Pr.onMethod("onKeyboardComplete",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onKeyboardComplete").emit(e)}));var aa={hideKeyboard:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("hideGameKeyboard",e,ia)},showKeyboard:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("showKeyboard",e,{defaultValue:{required:!0,type:String,defaultValue:""},maxLength:{required:!0,type:Number,defaultValue:1e3},multiple:{required:!0,type:Boolean,defaultValue:!1},confirmHold:{required:!0,type:Boolean,defaultValue:!1},confirmType:{type:["done","next","search","go","send"],defaultValue:"done",useError:!1}}))&&(e.maxLength>0&&(e.defaultValue=e.defaultValue.slice(0,e.maxLength)),Pr.invokeMethod("showGameKeyboard",e,ia))},updateKeyboard:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=kr.validate("updateKeyboard",e,{value:{required:!0,type:String,defaultValue:""}}))&&Pr.invokeMethod("updateGameKeyboard",e,ia)},onKeyboardInput:function(e){gn("onKeyboardInput").onMethod(e)},offKeyboardInput:function(e){gn("onKeyboardInput").offMethod(e)},onKeyboardHeightChange:function(e){gn("onKeyboardHeightChange").onMethod(e)},offKeyboardHeightChange:function(e){gn("onKeyboardHeightChange").offMethod(e)},onKeyboardConfirm:function(e){gn("onKeyboardConfirm").onMethod(e)},offKeyboardConfirm:function(e){gn("onKeyboardConfirm").offMethod(e)},onKeyboardComplete:function(e){gn("onKeyboardComplete").onMethod(e)},offKeyboardComplete:function(e){gn("onKeyboardComplete").offMethod(e)}},ca=gn("locationChangeError"),sa=gn("locationChange");function ua(e,t){var n=[];return A()(e)&&e.forEach((function(e){if(e&&"object"===ye()(e)){kr.conversionCoordinate(e,!1,t);var r=e.points;if(r&&A()(r)){var o=[];r.forEach((function(e){kr.conversionCoordinate(e,!1,t),o.push(e)})),e.points=o}}n.push(e)})),n}Pr.on("onLocationChangeError",(function(e){ca.emit(e)})),Pr.on("onLocationChange",(function(e){kr.conversionCoordinate(e),sa.emit(e)})),Pr.on("onWindowResize",(function(e){Xr.emit(e)})),ServiceJSBridge.subscribe("conversionCoordinate",(function(e){var t=e.data,n=e.uuid,r=e.webviewId,o=e.__source__,i={uuid:n},a="conversionCoordinateResponse";try{var c=t.centerLocation,s=t.latitude,u=t.longitude,f=t.region,l=t.cluster,d=t.circles,h=t.includePoints,p=t.markers,v=t.polygons,g=t.polyline;if((s||u)&&"unimplement"===kr.conversionCoordinate(t,!1,o))return i.errMsg="convertCoordinateFromMap:fail",void Pr.publish(a,i,[r]);if(c&&kr.conversionCoordinate(t.centerLocation,!1,o),f)for(var y in f)Object.hasOwnProperty.call(f,y)&&kr.conversionCoordinate(f[y],!1,o);l&&l.center&&kr.conversionCoordinate(t.cluster.center,!1,o),d&&(t.circles=ua(d,o)),h&&(t.includePoints=ua(h,o)),p&&(t.markers=ua(p,o)),v&&(t.polygons=ua(v,o)),g&&(t.polyline=ua(g,o)),i.conversionData=t}catch(e){console.error(e)}finally{Pr.publish(a,i,[r])}}));var fa={getLocation:function(e){var t=kn.getConfig();1===t.appStatus&&!1===t.hanged||Pr.invokeMethod("getLocation",e)},openLocation:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.scale;if("number"!=typeof n&&("string"!=typeof n||isNaN(n))&&(t.scale=16),null!==(e=t.name)&&void 0!==e||(t.name="位置"),kr.beforeInvoke("openLocation",t,{latitude:.1,longitude:.1})){if(t.latitude<-90||t.latitude>90)return void kr.logErr("openLocation",t,"openLocation:fail parameter error: latitude out of range");if(t.longitude<-180||t.longitude>180)return void kr.logErr("openLocation",t,"openLocation:fail parameter error: longitude out of range");kr.conversionCoordinate(t),Pr.invokeMethod("openLocation",t)}},chooseLocation:function(e){e.latitude<-90||e.latitude>90?kr.logErr("chooseLocation",e,"chooseLocation:fail parameter error: latitude out of range"):e.longitude<-180||e.longitude>180?kr.logErr("chooseLocation",e,"chooseLocation:fail parameter error: longitude out of range"):(kr.conversionCoordinate(e),Pr.invokeMethod("chooseLocation",e))},choosePoi:function(e){kr.conversionCoordinate(e),Pr.invokeMethod("choosePoi",e)},startLocationUpdate:function(e){Pr.invokeMethod("startLocationUpdate",e)},startLocationUpdateBackground:function(e){Pr.invokeMethod("startLocationUpdateBackground",e)},onLocationChangeError:function(e){ca.onMethod(e)},offLocationChangeError:function(e){ca.offMethod(e)},onLocationChange:function(e){sa.onMethod(e)},offLocationChange:function(e){sa.offMethod(e)},stopLocationUpdate:function(e){Pr.invokeMethod("stopLocationUpdate",e)}},la={showShareMenu:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("showShareMenu",e,{})&&Pr.invokeMethod("showShareMenu",{menus:e.menus,success:e.success,fail:e.fail,complete:e.complete})},hideShareMenu:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("hideShareMenu",e,{})&&Pr.invokeMethod("hideShareMenu",{menus:e.menus,success:e.success,fail:e.fail,complete:e.complete})}},da=0,ha={};function pa(){return da++}var va=ue()((function e(t,n,r){ce()(this,e),this._src="",this.tempSrc="",this.imageId=r,this.width=0,this.height=0,this.onload=null,this.onerror=null,ha[r]=this,i()(this,"src",{get:function(){return this._src},set:function(e){var r=this;this._src=e,e&&(!/^http(s)?:/.test(e)&&(r.tempSrc=e),wx.getImageInfo({src:e,success:function(e){r.tempSrc=e.path.startsWith("hyfile")?e.path:"/".concat(e.path),r.width=e.width,r.height=e.height,r.complete=!0,Na({canvasId:t,canvasNumber:n||Ja(Ra(void 0,t)),reserve:!0,actions:[{method:"preloadImage",data:[r.tempSrc],imageId:r.imageId}],mode:"default"})},fail:function(e){"function"==typeof r.onerror&&r.onerror({target:r})}}))}})}));function ga(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ga(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}ServiceJSBridge.subscribe("onCanvasPreloadImage",(function(e){var t=e.imageId,n=e.type,r=ha[t],o="onload"===n;!r||"Function"!==K(r[n])||o&&r._loaded||(r[n]({target:r}),o&&(r._loaded=!0))}));var ma=!1;function ba(e,t){var n=function(e,t){if(e[0].length!==t.length)return t;for(var n=e.length,r=e[0].length,o=t[0].length,i=new Array(n).fill(0).map((function(e){return new Array(o).fill(0)})),a=0;a<n;a++)for(var c=0;c<o;c++)for(var s=0;s<r;s++)i[a][c]+=e[a][s]*t[s][c];return i}([[e.a,e.c,e.e],[e.b,e.d,e.f],[0,0,1]],[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),r=k()(n,2),o=k()(r[0],3),i=o[0],a=o[1],c=o[2],s=k()(r[1],3);return{a:i,b:s[0],c:a,d:s[1],e:c,f:s[2]}}function wa(e){var t=null;if("transparent"===e||"none"===e||!e)return[0,0,0,0];if(8!==e.length&&null!=(t=/^#([0-9|A-F|a-f]{6,8})$/.exec(e)))return[C()(t[1].slice(0,2),16),C()(t[1].slice(2,4),16),C()(t[1].slice(4,6),16),C()(t[1].slice(6)||"ff",16)];if(null!=(t=/^#([0-9|A-F|a-f]{3,4})$/.exec(e))){var n=t[1].slice(0,1),r=t[1].slice(1,2),o=t[1].slice(2,3),i=t[1].slice(3)||"f";return[n=C()(n+n,16),r=C()(r+r,16),o=C()(o+o,16),i=C()(i+i,16)]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return C()(e.trim())})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){var n=Number(e.trim());return 3===t&&n<=1&&(n*=255),Math.min(255,C()(n))}));var a=e.toLowerCase();return Object.prototype.hasOwnProperty.call(re,a)?(t=/^#([0-9|A-F|a-f]{6})$/.exec(re[a]),[C()(t[1].slice(0,2),16),C()(t[1].slice(2,4),16),C()(t[1].slice(4),16),255]):[0,0,0,255]}var ka=ue()((function e(t,n,r,o,i){ce()(this,e),t instanceof va?this.image=t.tempSrc:(/^(hyfile|http|\/)/.test(t)?this.image=t:this.image="/"+kr.getRealRoute(window.__path__,t,!1),Na({canvasId:r,canvasNumber:o,reserve:!0,actions:[{method:"preloadImage",data:[this.image],imageId:pa()}],from:i})),this.repetition=n}));function Sa(e,t,n){"string"==typeof n?Ia(e,{method:t,data:["normal",wa(n)]}):n instanceof ka?Ia(e,{method:t,data:["pattern",n.image,n.repetition]}):n instanceof Ma&&Ia(e,{method:t,data:[n.type,n.data,n.colorStop]})}var _a=["scale","rotate","translate","setTransform","transform"],xa=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Ca=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"],Ma=function(){function e(t,n){ce()(this,e),this.type=t,this.data=n,this.colorStop=[]}return ue()(e,[{key:"addColorStop",value:function(e,t){this.colorStop.push([e,wa(t)])}}]),e}();function Ia(e,t){!e.pending&&e.autoDraw&&(e.pending=!0,Gn((function(){e.draw(!0),e.pending=!1}))),e.actions.push(t)}var Ea=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ce()(this,e),this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.canvasId=t,this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",transform:{a:1,b:0,c:0,d:1,e:0,f:0}},this.pending=!1;var a=o.mode,c=void 0===a?"default":a,s=o.canvasNumber,u=o.autoDraw,f=void 0!==u&&u,l=o.from;this.mode=c,this.autoDraw=f,this.from=l,s?(this.canvasNumber=s,Ka(s,this)):n?(this.canvasNumber=Ra(void 0,t,n),Ka(this.canvasNumber,this)):this.canvasId&&Ka(Ra(void 0,this.canvasId),this),this.listenProps=["fillStyle","strokeStyle","font","globalAlpha","textAlign","lineCap","lineJoin","lineWidth","miterLimit","textBaseline","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","globalCompositeOperation","lineDashOffset"];var d=this,h=function(){var e=r.listenProps[p],t=r[e];i()(r,e,{get:function(){return t},set:function(t){var n="set"+e,r="set"+n[3].toUpperCase()+n.slice(4);switch(e){case"fillStyle":case"strokeStyle":t&&Sa(d,r,t);break;case"font":!function(e,t,n){function r(){Ia(e,{method:"setFontWeight",data:["normal"]}),e.state.fontWeight="normal"}var o=e;e.state.font=n;var i=n.match(/^(([\w-]+\s)*)([\d.]+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(i){var a=i[1].trim().split(/\s/),c=An()(i[3]),s=i[7],u=[],f="";if(a.forEach((function(t,n){["italic","oblique","normal"].indexOf(t)>-1?(u.push({method:"setFontStyle",data:[t]}),o.state.fontStyle=t):["bold","normal"].indexOf(t)>-1?(u.push({method:"setFontWeight",data:[t]}),o.state.fontWeight=t):0===n?(Ia(e,{method:"setFontStyle",data:["normal"]}),e.state.fontStyle="normal"):1===n&&r()})),1===a.length)return r(),f=u.map((function(e){return e.data[0]})).join(" "),e.state.fontSize=c,e.state.fontFamily=s,void Ia(e,{method:"setFont",data:[f=f+" "+c+"px "+s]});e.actions.push.apply(e.actions,u),Ia(e,{method:"setFontSize",data:[c]}),Ia(e,{method:"setFontFamily",data:[s]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.")}(d,0,t);break;case"globalAlpha":isNaN(t)||Ia(d,{method:"setGlobalAlpha",data:[Math.floor(255*An()(t))]});break;case"shadowBlur":Ia(d,{method:"setShadow",data:[d.state.shadowOffsetX,d.state.shadowOffsetY,t,d.state.shadowColor]}),d.state.shadowBlur=t;break;case"shadowColor":var o=wa(t);Ia(d,{method:"setShadow",data:[d.state.shadowOffsetX,d.state.shadowOffsetY,d.state.shadowBlur,o]}),d.state.shadowColor=o;break;case"shadowOffsetX":Ia(d,{method:"setShadow",data:[t,d.state.shadowOffsetY,d.state.shadowBlur,d.state.shadowColor]}),d.state.shadowOffsetX=t;break;case"shadowOffsetY":Ia(d,{method:"setShadow",data:[d.state.shadowOffsetX,t,d.state.shadowBlur,d.state.shadowColor]}),d.state.shadowOffsetY=t;break;default:Ia(d,{method:r,data:[t]})}},configurable:!0})};for(var p in this.listenProps)h();if("native"===c&&(window.isNewCanvasSupported||ma)){var v={drawImage:1},g=[].concat(_a,xa,["rect","beginPath","moveTo","closePath","lineTo","quadraticCurveTo","bezierCurveTo","arc","arcTo","clip","stroke","fill"]),y=function(){var e=g[m];if(v[e])return 1;r[e]=function(){Ia(this,{method:e,data:[].slice.apply(arguments)})}};for(var m in g)y()}}return ue()(e,[{key:"getActions",value:function(){var e=J(this.actions);return this.actions=[],this.path=[],this.subpath=[],e}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"draw",value:function(e,t,n){if(this.actions.length){var r=J(this.actions);this.actions=[],Na({canvasId:this.canvasId,canvasNumber:this.canvasNumber,actions:r,reserve:Boolean(e),callback:t,from:this.from})}}},{key:"createLinearGradient",value:function(e,t,n,r){return new Ma("linear",[e,t,n,r])}},{key:"createCircularGradient",value:function(e,t,n){return new Ma("radial",[e,t,n])}},{key:"createRadialGradient",value:function(e,t,n,r,o,i){return new Ma("radial",[e,t,n,r,o,i])}},{key:"measureText",value:function(e){return e?Ga({canvasId:this.canvasId,canvasNumber:this.canvasNumber,mode:this.mode,method:"measureText",data:{font:this.state.font,text:e},from:this.from}):{width:0}}},{key:"createImageData",value:function(e,t){return"object"===ye()(e)&&e.width&&e.height&&(t=(e=e.width).height),{data:new Uint8ClampedArray(e*t*4),width:e,height:t}}},{key:"getImageData",value:function(e,t,n,r){var o=Ga({canvasId:this.canvasId,canvasNumber:this.canvasNumber,mode:this.mode,method:"getImageData",data:{x:e,y:t,width:n,height:r},from:this.from});return o.data&&(o.data=kr.base64ToUint8ClampedArray(o.data)),o}},{key:"putImageData",value:function(e,t,n,r,o,i,a){return(e={width:e.width,height:e.height,data:e.data}).data&&(e.data=kr.uint8ClampedArrayToBase64(e.data)),Ga({canvasId:this.canvasId,canvasNumber:this.canvasNumber,mode:this.mode,method:"putImageData",data:{imgData:e,x:t,y:n,dirtyX:r,dirtyY:o,dirtyWidth:i,dirtyHeight:a},from:this.from})}},{key:"save",value:function(){Ia(this,{method:"save",data:[]}),this.drawingState.push(J(this.state))}},{key:"restore",value:function(){this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",transform:{a:1,b:0,c:0,d:1,e:0,f:0}},Ia(this,{method:"restore",data:[]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}},{key:"rect",value:function(e,t,n,r){this.path.push({method:"rect",data:[e,t,n,r]}),this.subpath=[[e,t]],"native"!==this.mode&&"android"===kr.getPlatform()&&this.path.push({method:"closePath",data:[]})}},{key:"getLineDash",value:function(){return this.state.lineDash}},{key:"beginPath",value:function(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}},{key:"moveTo",value:function(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"lineTo",value:function(e,t){(isNaN(e)||isNaN(t))&&console.error("Failed to execute 'lineTo' on 'CanvasContext': invalid arguments."),0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[].slice.apply(arguments)}):this.path.push({method:"lineTo",data:[].slice.apply(arguments)}),this.subpath.push([e,t])}},{key:"quadraticCurveTo",value:function(e,t,n,r){this.path.push({method:"quadraticCurveTo",data:[e,t,n,r]}),this.subpath.push([n,r])}},{key:"bezierCurveTo",value:function(e,t,n,r,o,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,r,o,i]}),this.subpath.push([o,i])}},{key:"arc",value:function(e,t,n,r,o,i){return this.path.push({method:"arc",data:[e,t,n,r,o,Boolean(i)]}),this.subpath.push([e,t])}},{key:"arcTo",value:function(e,t,n,r,o){return this.path.push({method:"arcTo",data:[e,t,n,r,o]}),this.subpath.push([n,r])}},{key:"getTransform",value:function(){return this.state.transform}},{key:"clip",value:function(){Ia(this,{method:"clip",data:J(this.path)})}},{key:"createPattern",value:function(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(-1!==["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t))return new ka(e,t,this.canvasId,this.canvasNumber,this.from);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}}]),e}();[].concat(_a,xa).forEach((function(e){switch(e){case"fill":Ea.prototype[e]=function(){Ia(this,{method:"fillPath",data:J(this.path)}),this.closePath()};break;case"stroke":Ea.prototype[e]=function(){Ia(this,{method:"strokePath",data:J(this.path)})};break;case"fillRect":Ea.prototype[e]=function(e,t,n,r){Ia(this,{method:"fillPath",data:[{method:"rect",data:[e,t,n,r]}]})};break;case"strokeRect":Ea.prototype[e]=function(e,t,n,r){Ia(this,{method:"strokePath",data:[{method:"rect",data:[e,t,n,r]}]})};break;case"fillText":case"strokeText":Ea.prototype[e]=function(t,n,r,o){var i=[t.toString(),n,r];"number"==typeof o&&i.push(o),Ia(this,{method:e,data:i})};break;case"transform":Ea.prototype[e]=function(t,n,r,o,i,a){[t,n,r,o,i,a].some((function(e){return isNaN(e)}))||(this.state.transform=ba(ya({},this.state.transform),{a:t,b:n,c:r,d:o,e:i,f:a}),Ia(this,{method:e,data:[t,n,r,o,i,a]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]}))};break;case"setTransform":Ea.prototype[e]=function(t,n,r,o,i,a){[t,n,r,o,i,a].some((function(e){return isNaN(e)}))||(this.state.transform={a:t,b:n,c:r,d:o,e:i,f:a},Ia(this,{method:e,data:[t,n,r,o,i,a]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]}))};break;case"scale":Ea.prototype[e]=function(t,n){if(isNaN(t)||isNaN(n))console.error('Failed to execute "scale", arguments invalid');else{var r=this.state.transform;this.state.transform=ba(ya({},r),{a:t,b:0,c:0,d:n,e:0,f:0}),Ia(this,{method:e,data:[].slice.apply(arguments)}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}};break;case"rotate":Ea.prototype[e]=function(t){if(!isNaN(t)){var n=Math.cos(t),r=Math.sin(t),o=-Math.sin(t),i=Math.cos(t),a=this.state.transform;this.state.transform=ba(ya({},a),{a:n,b:r,c:o,d:i,e:0,f:0}),Ia(this,{method:e,data:[t]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}};break;case"translate":Ea.prototype[e]=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!isNaN(t)&&!isNaN(n)){var r=this.state.transform;this.state.transform=ba(ya({},r),{a:1,b:0,c:0,d:1,e:t,f:n}),Ia(this,{method:e,data:[t,n]}),this.path.length&&this.path.push({method:"state",data:[ya({},this.state.transform)]})}};break;case"drawImage":Ea.prototype[e]=function(){var t=arguments[0];if(t instanceof va)arguments[0]=t.tempSrc;else{if("string"!=typeof t)return;/^(hyfile|http|\/)/.test(t)||(arguments[0]="/"+kr.getRealRoute(window.__path__,t,!1)),Na({canvasId:this.canvasId,canvasNumber:this.canvasNumber,reserve:!0,actions:[{method:"preloadImage",data:[arguments[0]],imageId:pa()}],from:this.from})}Ia(this,{method:e,data:[].slice.apply(arguments)})};break;default:Ea.prototype[e]=function(){Ia(this,{method:e,data:[].slice.apply(arguments)})}}})),Ca.forEach((function(e){switch(e){case"setFillStyle":case"setStrokeStyle":Ea.prototype[e]=function(t){Sa(this,e,t)};break;case"setGlobalAlpha":Ea.prototype[e]=function(t){isNaN(t)||Ia(this,{method:e,data:[Math.floor(255*An()(t))]})};break;case"setShadow":Ea.prototype[e]=function(){var t=[].slice.apply(arguments,[0,4]);"string"==typeof t[3]&&(this.state.shadowColor=t[3]=wa(t[3])),Ia(this,{method:e,data:t}),this.state.shadowBlur=t[2],this.state.shadowOffsetX=t[0],this.state.shadowOffsetY=t[1]};break;case"setLineDash":Ea.prototype[e]=function(){var t=[].slice.apply(arguments,[0,2]);t[0]=t[0]&&t[0].length?t[0]:[0,0],t[1]=t[1]||0,Ia(this,{method:e,data:t}),this.state.lineDash=t[0]};break;case"setFontSize":Ea.prototype.setFontSize=function(e){this.state.font=this.state.font.replace(/\d+\.?\d*px/,e+"px"),this.state.fontSize=e,Ia(this,{method:"setFontSize",data:[e]})};break;default:Ea.prototype[e]=function(){Ia(this,{method:e,data:[].slice.apply(arguments,[0,1])})}}})),Fo&&Pr.onMethod("onWindowInjected",(function(e,t){F&&e.isCanvasEmbedSupported&&(ma=e.isCanvasEmbedSupported)}));var Ta,Pa={Context:Ea,apiList:["createLinearGradient","createCircularGradient","measureText","save","restore","rect","beginPath","moveTo","closePath","lineTo","quadraticCurveTo","bezierCurveTo","arc","arcTo"].concat(Ca,xa,_a)};function Aa(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Aa(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Aa(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var La=0,Ba={},Fa=window.document,ja=Fa?Fa.createElement.bind(Fa):void 0;if(void 0!==Fa&&ja&&!N)try{Ta=ja("canvas").getContext("2d")}catch(yf){console.warn(yf)}function Ra(e,t,n){var r=n&&(n.__wxExparserNodeId__||n._defaultComponent.__wxExparserNodeId__)||"";return"canvas_".concat(e||La,"_").concat(t)+(r?"_".concat(r):"")}function Da(e,t,n){"native"===t.mode?ServiceJSBridge[Oo?"invokeV2":"invoke"]("drawCanvas",{canvasId:e,actions:t.actions,reserve:t.reserve},n):(wx.onCanvasEvent({fn:n,canvasId:e}),ServiceJSBridge.publish("canvas"+e+"actionsChanged",t,[La]))}function Na(e){var t=e.canvasId,n=e.canvasNumber,r=e.actions,o=e.reserve,i=e.from,a=Ra(La,t);if(t&&A()(r)){n||(n=Ja(a));var c=Ba[n]||{},s=e.mode||c.mode,u=c.isReady;n&&u?Da(n,{actions:r,reserve:o,mode:s,from:i},e.callback):(Ba[a=n||a]=Ba[a]||{cacheActions:[]},Ba[a].cacheActions=Ba[a].cacheActions.concat({actions:r,reserve:o,callback:e.callback,from:i}))}}var Ua=function(e){var t=e.canvasId,n=e.canvasNumber,r=e.actions;if(t){var o=Ba[n]||{},i=o.mode,a=o.isReady;if(e={actions:r,reserve:!1,mode:i,from:"createSelectorQuery"},n&&a)Da(n,e);else{var c=n||Ra(La,t);Ba[c]=Ba[c]||{cacheActions:[]},Ba[c].cacheActions=Ba[c].cacheActions.concat(e)}}},Wa={},Va={measureText:function(e){var t=e.data,n=t.font,r=t.text;if(Ta)return Ta.font=n,Ta.measureText(r);if(Wa[n]&&Wa[n][r])return Wa[n][r];var o=null,i=null;return Pr.invokeMethod("canvasMethod",{method:"measureText",data:{font:n,text:r},success:function(e){o=e.data,Wa[n]=Wa[n]||{},Wa[n][r]=o},fail:function(e){i=e.errMsg}}),i&&console.warn(i),o},putImageData:function(e){var t=e.data,n=[t.imgData,t.x,t.y,t.dirtyX,t.dirtyY,t.dirtyWidth,t.dirtyHeight],r=null;Pr.invokeMethod("canvasMethod",{method:"putImageData",canvasNumber:e.canvasNumber,data:n,success:function(e){e.data},fail:function(e){r=e.errMsg}}),r&&console.warn(r)},getImageData:function(e){var t=e.data,n=[t.x,t.y,t.width,t.height],r=null,o=null;return Pr.invokeMethod("canvasMethod",{method:"getImageData",canvasNumber:e.canvasNumber,data:n,success:function(e){r=e.data},fail:function(e){o=e.errMsg}}),o&&console.warn(o),r},toDataURL:function(e){var t=null,n=null;return Pr.invokeMethod("canvasMethod",{method:"toDataURL",canvasNumber:e.canvasNumber,data:e.data||[],success:function(e){t=e.data},fail:function(e){n=e.errMsg}}),n&&console.warn(n),t}};function Ga(e){var t=e.method,n=e.mode,r=e.canvasNumber;if("native"===n&&r)return function(e,t){var n=null,r=null;return Pr.invokeMethod("drawCanvasSync",Oa(Oa({},t),{},{canvasId:e,success:function(e){n=e.data},fail:function(e){r=e.errMsg}})),r&&console.warn(r.replace(":"," ".concat(t.method,":")),e),n}(r,e);var o=Va[t];return"function"==typeof o?o(e):void 0}var qa={canvasToTempFilePath:function(e){"native"===(e=Oa({},e)).mode?Pr.invokeMethod("invokeCanvasApi",Oa(Oa({},e),{},{method:"canvasToTempFilePath"}),{beforeAll:function(e){e.errMsg=e.errMsg.replace("invokeCanvasApi","canvasToTempFilePath")}}):"offscreen"===e.mode||(ServiceJSBridge.subscribe("onCanvasToDataUrl_"+e.canvasId,(function(t){var n=t.dataUrl,r=t.width,o=t.height,i=e,a=i.x,c=void 0===a?0:a,s=i.y,u=void 0===s?0:s,f=i.width,l=void 0===f?r:f,d=i.height,h=void 0===d?o:d,p=i.destWidth,v=i.destHeight,g=wx.getSystemInfoSync().pixelRatio;c=Math.max(0,isNaN(c)?0:c),u=Math.max(0,isNaN(u)?0:u),l=Math.max(0,isNaN(l)?r:l||r),h=Math.max(0,isNaN(h)?o:h||o),p=Math.max(0,isNaN(p)||p<=0?r*g:p),v=Math.max(0,isNaN(v)||v<=0?o*g:v),c>=r&&(c=0),u>=o&&(u=0),l>r&&(l=r),h>o&&(h=o),c+l>r&&(l=r-c),u+h>o&&(h=o-u);var y=Oa(Oa({},e),{},{x:c,y:u,width:l,height:h,destWidth:p,destHeight:v});Pr.invokeMethod("base64ToTempFilePath",kr.assign({base64Data:n},y),{beforeAll:function(e){e.errMsg=e.errMsg.replace("base64ToTempFilePath","canvasToTempFilePath")}})})),delete e.canvas,Gn((function(){Pr.publish("invokeCanvasToDataUrl_"+e.canvasId,kr.assign({canvasId:e.canvasId},e),[La])})))},canvasPutImageData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Oa({},e)).x=e.x||0,e.y=e.y||0;var t=null;e.data&&"object"===ye()(e.data)?e.data=kr.uint8ClampedArrayToBase64(e.data):t={errMsg:"canvasPutImageData:fail data invalid"},isNaN(e.width)&&(t={errMsg:"canvasPutImageData:fail invalid width argument"}),isNaN(e.height)&&(t={errMsg:"canvasPutImageData:fail invalid height argument"});var n=e.width*e.height;if(!t&&n>(e.data.length||e.data.byteLength)&&(t={errMsg:"canvasPutImageData:fail invalid data format"}),t)return"function"==typeof e.fail&&e.fail(t),void("function"==typeof e.complete&&e.complete(t));if(e.width=Math.max(e.width,0),e.height=Math.max(e.height,0),/(native|offscreen)/.test(e.mode)){var r={errMsg:"canvasPutImageData:fail canvas is native component, use context.putImageData instead"};"function"==typeof e.fail&&e.fail(r),"function"==typeof e.complete&&e.complete(r)}else ServiceJSBridge.subscribe("onCanvasPutImageData_"+e.canvasId,(function(){var t={errMsg:"canvasPutImageData:ok"};"function"==typeof e.success&&e.success(t),"function"==typeof e.complete&&e.complete(t)})),Pr.publish("invokeCanvasPutImageData_"+e.canvasId,kr.assign({canvasId:e.canvasId},e),[La])},canvasGetImageData:function(e){var t;if((e=Oa({},e)).x=Math.max(0,e.x),e.y=Math.max(0,e.y),e.width||(t={errMsg:"canvasGetImageData:fail the source width is 0"}),e.height||(t={errMsg:"canvasGetImageData:fail the source height is 0"}),/(native|offscreen)/.test(e.mode)&&(t={errMsg:"canvasPutImageData:fail canvas is native component, use context.getImageData instead"}),t)return"function"==typeof e.fail&&e.fail(t),void("function"==typeof e.complete&&e.complete(t));ServiceJSBridge.subscribe("onCanvasGetImageData_"+e.canvasId,(function(t){var n={data:kr.base64ToUint8ClampedArray(t.data),width:t.width,height:t.height};"function"==typeof e.success&&e.success(n),"function"==typeof e.complete&&e.complete(n)})),Pr.publish("invokeCanvasGetImageData_"+e.canvasId,kr.assign({canvasId:e.canvasId},e),[La])}};function za(e,t,n){var r=t.canvasId||t.canvas&&t.canvas._canvasId;if(r){var o=Ra(La,r),i=Ha[o];if(void 0!==Ba[i]){t.canvasId=i,t.mode=Ba[i].mode;var a=qa[e];"function"==typeof a&&a(t)}else{var c={errMsg:"".concat(e,":fail canvas is empty")};"function"==typeof t.fail&&t.fail(c),"function"==typeof t.complete&&t.complete(c)}}else{var s={errMsg:"".concat(e,":fail canvasId invalid")};"function"==typeof t.fail&&t.fail(s),"function"==typeof t.complete&&t.complete(s)}}var Ha={};function Ka(e,t){Ba[e]=Ba[e]||{cacheActions:[]},Ba[e].context=t}function Ja(e){return Ha[e]}function Xa(e){e.context&&(e.context.mode=e.mode,e.context.canvasNumber=e.canvasNumber,delete e.context),A()(e.cacheActions)&&(e.cacheActions.forEach((function(t){Da(e.canvasNumber,{actions:t.actions,reserve:t.reserve,mode:e.mode,from:t.from},t.callback)})),e.cacheActions=[])}ServiceJSBridge.subscribe("canvasInsert",(function(e){var t=e.canvasId,n=e.canvasNumber,r=e.webviewId,o=e.data,i=e.mode||"default",a=Ra(r,t);if(Ha[a]=n,Ba[a]){var c=Oa(Oa({cacheActions:[]},Ba[a]||{}),{},{lastTouches:[],data:o,mode:i,canvasNumber:n,isReady:!0});delete Ba[a],Ba[n]=c,Xa(c)}else Xa(Ba[n]=Oa(Oa({cacheActions:[]},Ba[n]||{}),{},{lastTouches:[],data:o,mode:i,canvasNumber:n,isReady:!0}))})),ServiceJSBridge.subscribe("canvasRemove",(function(e,t){var n=e.canvasId,r=e.canvasNumber,o=Ra(e.webviewId,n);delete Ha[o],delete Ba[r]}));!function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ce()(this,e),this._canvasId=t,this._canvasNumber=t,this._target=n,this._options=r,this.width=r.width,this.height=r.height}ue()(e,[{key:"width",get:function(){return this._width},set:function(e){this._width=e;var t=(this._options||{}).canvas;t?t.width=e:Ua({canvasId:this._canvasId,canvasNumber:this._canvasId,actions:[{method:"setSize",data:[this._width,this._height]}]})}},{key:"height",get:function(){return this._height},set:function(e){this._height=e;var t=(this._options||{}).canvas;t?t.height=e:Ua({canvasId:this._canvasId,canvasNumber:this._canvasId,actions:[{method:"setSize",data:[this._width,this._height]}]})}},{key:"getContext",value:function(){var t=(this._options||{}).canvas;if(t){var n=t.getContext("2d"),r=n.drawImage;return n.drawImage=function(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];o[0]instanceof e&&(o[0]=o[0]._options.canvas),r.apply(n,o)},n}return new Pa.Context(this._canvasId,this._target,this._options)}},{key:"createImage",value:function(){var e=(this._options||{}).canvas;if(e){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.createImage.apply(e,n)}return function(e,t){return new va(e,t,pa())}(this._canvasId,this._canvasId)}}])}();var Ya=function(e){La=e};za.bind(null,"canvasToTempFilePath"),za.bind(null,"canvasGetImageData"),za.bind(null,"canvasPutImageData");function $a(e){Za=e}function Qa(e,t){return e+"map"+t}var Za=0;function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(arguments.length>1?arguments[1]:void 0).windowPath;if(!/(https?|file|wdfile|hyfile):/i.test(e)&&!/^\s*data:image/.test(e))if("/"===e.substring(0,1))e=e.startsWith("//")?"https:"+e:e.substr(1);else if(e.startsWith("./")){var n=t.split("/").slice(0,-1);e="/".concat(n.join("/")).concat(n.length?"/":"").concat(e.slice(2))}else if(e.startsWith("../")){var r=e.match(/(\.\.\/)/g)||[],o=r.length?t.split("/").slice(0,-(r.length+1)):t.split("/");e="/".concat(o.join("/")).concat(o.length?"/":"").concat(e.replace(/\.\.\//g,""))}return e}var tc=function(){function e(t){if(ce()(this,e),"string"!=typeof t)throw new Error("map ID should be a String");this.key=Qa(Za,t)}return ue()(e,[{key:"addCustomLayer",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,this.publishMapEvent({eventName:this.preName+"addCustomLayer",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"addGroundOverlay",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,e.bounds&&(e.bounds.southwest&&kr.conversionCoordinate(e.bounds.southwest),e.bounds.northeast&&kr.conversionCoordinate(e.northeast)),this.publishMapEvent({eventName:this.preName+"addGroundOverlay",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"addMarkers",value:function(e){var t=this;kr.beforeInvoke("addMarkers",e,{markers:[]})&&(e.markers.forEach((function(e){kr.conversionCoordinate(e,!1),e.iconPath&&(e.iconPath=ec(e.iconPath,t.info||{}))})),this.publishMapEvent({eventName:this.preName+"addMarkers",key:this.key,opt:e,mapId:this.mapId}),R&&this.publishToView({mapId:this.info.mapId,clear:e.clear,markers:e.markers.filter((function(e){return e.customCallout}))}))}},{key:"fromScreenLocation",value:function(e){kr.beforeInvoke("fromScreenLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"fromScreenLocation",key:this.key,opt:e,mapId:this.mapId}))}},{key:"getCenterLocation",value:function(e){kr.beforeInvoke("getCenterLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"getCenterLocation",key:this.key,opt:e,mapId:this.mapId}))}},{key:"getRegion",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getRegion",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"getRegion",key:this.key,opt:e,mapId:this.mapId}))}},{key:"getRotate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getRotate",e,{})&&this.publishMapEvent({eventName:this.preName+"getRotate",key:this.key,opt:e,mapId:this.mapId})}},{key:"getScale",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getScale",e,{})&&this.publishMapEvent({eventName:this.preName+"getScale",key:this.key,opt:e,mapId:this.mapId})}},{key:"getSkew",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("getSkew",e,{})&&this.publishMapEvent({eventName:this.preName+"getSkew",key:this.key,opt:e,mapId:this.mapId})}},{key:"includePoints",value:function(e){if(kr.beforeInvoke("includePoints",e,{points:[]})){if(e.points){var t=[];e.points.forEach((function(e){kr.conversionCoordinate(e),t.push(e)})),e.points=t}this.publishMapEvent({eventName:this.preName+"includePoints",key:this.key,opt:e,mapId:this.mapId,trans:!1})}}},{key:"initMarkerCluster",value:function(e){kr.beforeInvoke("initMarkerCluster",e,{})&&this.publishMapEvent({eventName:this.preName+"initMarkerCluster",key:this.key,opt:e,mapId:this.mapId})}},{key:"moveAlong",value:function(e){if(kr.beforeInvoke("moveAlong",e,{markerId:1,path:[],duration:1})){var t=e.path||[],n=[];t.forEach((function(e){kr.conversionCoordinate(e,!1),n.push(e)})),e.path=n,this.publishMapEvent({eventName:this.preName+"moveAlong",key:this.key,opt:e,mapId:this.mapId,trans:!1})}}},{key:"moveToLocation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("moveToLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"moveToLocation",key:this.key,opt:e,mapId:this.mapId,trans:!1}))}},{key:"openMapApp",value:function(e){kr.beforeInvoke("openMapApp",e,{longitude:1,latitude:1,destination:""})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"openMapApp",key:this.key,opt:e,mapId:this.mapId,trans:!1}))}},{key:"removeCustomLayer",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,this.publishMapEvent({eventName:this.preName+"removeCustomLayer",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"removeGroundOverlay",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,this.publishMapEvent({eventName:this.preName+"removeGroundOverlay",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"removeMarkers",value:function(e){kr.beforeInvoke("removeMarkers",e,{markerIds:[]})&&this.publishMapEvent({eventName:this.preName+"removeMarkers",key:this.key,opt:e,mapId:this.mapId})}},{key:"setCenterOffset",value:function(e){void 0===e.offset&&(e.offset=[.5,.5]),this.publishMapEvent({eventName:this.preName+"setCenterOffset",key:this.key,opt:e,mapId:this.mapId})}},{key:"setLocMarkerIcon",value:function(e){e.iconPath&&(e.iconPath=ec(e.iconPath,this.info||{})),kr.beforeInvoke("setLocMarkerIcon",e,{})&&this.publishMapEvent({eventName:this.preName+"setLocMarkerIcon",key:this.key,opt:e,mapId:this.mapId})}},{key:"toScreenLocation",value:function(e){kr.beforeInvoke("toScreenLocation",e,{})&&(kr.conversionCoordinate(e),this.publishMapEvent({eventName:this.preName+"toScreenLocation",key:this.key,opt:e,mapId:this.mapId}))}},{key:"translateMarker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("function"==typeof e.animationEnd){var t=e.success,n=e.animationEnd;e.success=function(e){t&&t(e),n()}}"markerId"in e?kr.beforeInvoke("translateMarker",e,{destination:{}})&&(kr.conversionCoordinate(e.destination,!1),this.publishMapEvent({eventName:this.preName+"translateMarker",key:this.key,opt:e,mapId:this.mapId,trans:!1})):console.warn("MapContext.translateMarker: require markerId")}},{key:"updateGroundOverlay",value:function(e){var t={},n={};"string"==typeof e?t={arg:e}:n=e,e.bounds&&(e.bounds.southwest&&kr.conversionCoordinate(e.bounds.southwest),e.bounds.northeast&&kr.conversionCoordinate(e.northeast)),this.publishMapEvent({eventName:this.preName+"updateGroundOverlay",key:this.key,data:t,opt:n,mapId:this.mapId})}},{key:"addArc",value:function(e){e.southwest&&kr.conversionCoordinate(e.southwest,!1),e.northeast&&kr.conversionCoordinate(e.northeast,!1),console.warn("addArc interface is not implemented")}},{key:"setBoundary",value:function(e){e.start&&kr.conversionCoordinate(e.start,!1),e.end&&kr.conversionCoordinate(e.end,!1),console.warn("setBoundary interface is not implemented")}},{key:"publishToView",value:function(e){Pr.publish("handlerMapCustomCallout",e,[Za])}}]),e}(),nc={addMarkers:"addMapMarkers",fromScreenLocation:"fromScreenLocation",getCenterLocation:"getMapCenterLocation",getRegion:"getMapRegion",getRotate:"getMapRotate",getScale:"getMapScale",getSkew:"getMapSkew",includePoints:"includeMapPoints",initMarkerCluster:"initMapMarkerCluster",moveAlong:"moveAlong",moveToLocation:"moveToMapLocation",openMapApp:"openMapApp",removeMarkers:"removeMapMarkers",setCenterOffset:"setMapCenterOffset",setLocMarkerIcon:"setMapLocMarkerIcon",toScreenLocation:"toScreenLocation",translateMarker:"translateMapMarker",addCustomLayer:"addCustomLayer",addGroundOverlay:"addGroundOverlay",updateGroundOverlay:"updateGroundOverlay",removeGroundOverlay:"removeGroundOverlay",removeCustomLayer:"removeCustomLayer"};var rc={},oc={},ic=0,ac=new dn,cc={notifyWebviewIdtoMap:$a,MapContext:function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(e){var r;return ce()(this,n),(r=t.call(this,e)).domId=e,r.preName="",ac.on("mapInsert_"+r.key,(function(){r.info=rc[r.key]})),r}return ue()(n,[{key:"publishMapEvent",value:function(e){var t=this,n=e.eventName,r=e.key,o=e.opt,i=e.mapId;rc[this.key]?this._publishMapEvent({eventName:n,key:r,opt:o,mapId:i}):ac.on("mapInsert_"+this.key,(function(){t._publishMapEvent({eventName:n,key:r,opt:o,mapId:i})}))}},{key:"_publishMapEvent",value:function(e){var t=e.eventName,n=(e.key,e.opt),r=(e.mapId,{}),o={};for(var i in n)"function"==typeof n[i]?o[i]=n[i]:r[i]=n[i];r.method=t,o.method=t;var a="callback"+Za+"_"+rc[this.key].mapId+"_"+ic++;oc[a]=o,r.callbackId=a,r.mapId=rc[this.key].mapId,Pr.publish("doMapAction",r,[Za])}},{key:"on",value:function(){console.error("on 暂不支持")}}]),n}(tc),init:function(){ServiceJSBridge.subscribe("mapInsert",(function(e,t){var n=e.id||"",r=e.mapId,o=e.cid,i=e.windowPath,a=Qa(Za,n);rc[a]={mapId:r,cid:o,windowPath:i},ac.emit("mapInsert_"+a)})),ServiceJSBridge.subscribe("doneMapAction",(function(e,t){var n=oc[e.callbackId],r=e.eventName,o=e.res,i=0===o.errMsg.indexOf(r+":ok"),a=0===o.errMsg.indexOf(r+":cancel"),c=0===o.errMsg.indexOf(r+":fail");o.errMsg=o.errMsg.replace(r,nc[r]),i?"function"==typeof n.success&&n.success(o):a?(o.errMsg=o.errMsg.replace(r+":cancel",r+":fail cancel"),"function"==typeof n.fail&&n.fail(o),"function"==typeof n.cancel&&n.cancel(o)):c&&"function"==typeof n.fail&&n.fail(o),"function"==typeof n.complete&&n.complete(o)}))}};function sc(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var uc,fc={},lc={},dc={},hc=function(e,t){e.errMsg=e.errMsg.replace("invokeMapTask",nc[t])},pc=function(e){_n()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Ln.a)return!1;if(Ln.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Ln()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=In()(e);if(t){var o=In()(this).constructor;n=Ln()(r,arguments,o)}else n=r.apply(this,arguments);return Cn()(this,n)}}(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0;return ce()(this,n),(e=t.call(this,r,o)).preName="",e.mapId=r,vc.on("mapInsert_"+e.key,(function(){e.info=fc[e.key]})),e}return ue()(n,[{key:"publishMapEvent",value:function(e){var t=this,n=e.eventName,r=e.key,o=e.opt,i=e.mapId,a=e.trans;fc[this.key]?this._publishMapEvent({eventName:n,key:r,opt:o,mapId:i,trans:a}):vc.on("mapInsert_"+this.key,(function(){t._publishMapEvent({eventName:n,key:r,opt:o,mapId:i,trans:a})}))}},{key:"_publishMapEvent",value:function(e){var t=e.eventName,n=e.key,r=e.opt,o=(e.mapId,e.trans,{});for(var a in r)"function"==typeof r[a]&&(o[a]=r[a],delete r[a]);Pr.invokeMethod("invokeMapTask",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sc(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):sc(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({eventName:t,mapId:fc[n].mapId,key:n,nativeViewId:fc[n].cid,data:r},o),{beforeAll:function(e){hc(e,t)},beforeCancel:function(e){hc(e,t)},beforeFail:function(e){hc(e,t)}})}},{key:"on",value:function(e,t){var n=this;fc[this.key]?this._on(e,t):vc.on("mapInsert_"+this.key,(function(){n._on(e,t)}))}},{key:"_on",value:function(e,t){"markerClusterCreate"===e?lc[fc[this.key].mapId]=t:"markerClusterClick"===e&&(dc[fc[this.key].mapId]=t)}}]),n}(tc),vc=new dn,gc={notifyWebviewIdtoMap:$a,MapContext:pc,init:function(){ServiceJSBridge.subscribe("mapInsert",(function(e,t){var n=e.id||"",r=e.mapId,o=e.cid,i=e.windowPath,a=Qa(Za,n);fc[a]={mapId:r,cid:o,windowPath:i},vc.emit("mapInsert_"+a)})),ServiceJSBridge.subscribe("mapRemove",(function(e,t){var n=e.id,r=Qa(Za,n);fc[r]&&delete fc[r]})),ServiceJSBridge.on("mapMarkerClusterCreate",(function(e){var t=lc[e.mapId];kr.conversionCoordinate(e.center);var n=[];e.markerIds&&(e.markerIds.forEach((function(e){kr.conversionCoordinate(e),n.push(e)})),e.markerIds=n),t&&t(e)})),ServiceJSBridge.on("mapMarkerClusterClick",(function(e){var t=dc[e.mapId];t&&t(e)}))}},yc=window.isSupportFinclipTongceng||{};yc&&yc.map,V?(uc=cc,cc.init()):(uc=gc,gc.init());var mc={notifyWebviewIdtoMap:uc.notifyWebviewIdtoMap,createMapContext:function(e,t){return new uc.MapContext(e)}},bc=[];function wc(e,t,n){n[e]=t}function kc(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Sc="";function _c(e){window.__path__=e,Sc=e}function xc(e,t){var n=t.url;t.url.startsWith("/")&&(n=n.slice(1));var r=t.url.lastIndexOf("?"),o=(n=r>-1?t.url.substring(0,r):t.url).lastIndexOf(".html");n=o>-1?n.substring(0,o):n;var i=__wxConfig__.tabBar&&__wxConfig__.tabBar.list.find((function(e){return e.pagePath===n}));if("redirectTo"===e||"navigateTo"===e){if(i)return kr.logErr(e,t,e+":can not ".concat(e," to a tabbar page")),!1}else if("switchTab"===e&&!i)return kr.logErr(e,t,e+":fail can not switch to no-tabBar page"),!1;return-1!==__wxConfig__.pages.indexOf(n)||(kr.logErr(e,t,e+":fail url not in app.json"),!1)}var Cc=gn("AppRouteDone"),Mc=Cc.internalOnMethod,Ic=Cc.internalOffMethod;Pr.onMethod("onAppRouteDone",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e.path=e.path.replace(/\.\w+(\?|$)/,"$1"),e.webviewId=void 0!==e.webviewId?e.webviewId:t,_c(e.path),Cc.emit(e),Pr.publish("onAppRouteDone",{},[t])}));var Ec=gn("AppRoute"),Tc=Ec.internalOnMethod,Pc=Ec.internalOffMethod;Pr.onMethod("onAppRoute",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;execOnServiceReady((function(){var n=__wxConfig;if(e.path=e.path.replace(/\.\w+(\?|$)/,"$1"),e.webviewId=e.webviewId?e.webviewId:t,_c(e.path),!Ro&&kr.isObject(e.query))for(var r in e.query)e.query[r]=decodeURIComponent(e.query[r]);Ya(e.webviewId),mc.notifyWebviewIdtoMap(e.webviewId),kn.setConfig({curWebviewId:e.webviewId}),"dismissPip"!==e.openType&&(kn.appInfo.query=e.query,kn.appInfo.currentWebviewId=e.webviewId);var o=e.preloadRule||n._preloadRule&&n._preloadRule[e.path],i=e.page;if(i||(__wxConfig__.windows?i=__wxConfig__.windows.pages&&__wxConfig__.windows.pages[e.path]:__wxConfig__.window&&(i=__wxConfig__.window.pages&&__wxConfig__.window.pages[e.path])),o&&n.updatePreloadRule&&n.updatePreloadRule(e.path,o),i){var a=n.global&&n.global.window||{};i.window=l()({},a,i.window),n.updatePage&&n.updatePage(e.path,i)}Ec.emit(e)}))})),Pr.onMethod("onPageKilled",(function(e){!function(e){Pr.invokeMethod("reloadPage",e)}(e)}));var Ac={switchTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("switchTab",e,{url:""})&&(/\?.*$/.test(e.url)&&(console.warn("wx.switchTab: url 不支持 queryString"),e.url=e.url.replace(/\?.*$/,"")),e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url)),xc("switchTab",e)&&Pr.invokeMethod("switchTab",e,{afterSuccess:function(){Sc=e.url}}))},reLaunch:function(e){if("active"!==kr.defaultRunningStatus)return kr.logErr("reLaunch",e,"reLaunch fail: can not invoke reLaunch in background");kr.beforeInvoke("reLaunch",e,{url:""})&&(e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url)),xc("reLaunch",e)&&Pr.invokeMethod("reLaunch",e,{afterSuccess:function(){Sc=e.url},afterFail:function(){}}))},redirectTo:function(e){kr.beforeInvoke("redirectTo",e,{url:""})&&(e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url)),xc("redirectTo",e)&&Pr.invokeMethod("redirectTo",e,{afterSuccess:function(){Sc=e.url}}))},navigateTo:function(e){if(kr.beforeInvoke("navigateTo",e,{url:""})){if(!bo.canNavigateTo())return void(e.fail&&"function"==typeof e.fail&&e.fail({errMsg:"navigateTo:fail webview count limit exceed"}));e.url=kr.getRealRoute(Sc,e.url),!Ro&&(e.url=kr.encodeUrlQuery(e.url));for(var t={},n=new bn,r=new bn,o=["listener","emit","on","once","off","_addListener"],i=0,a=o;i<a.length;i++){var c=a[i];"emit"===c?t[c]=r[c].bind(r):"function"==typeof n[c]?t[c]=n[c].bind(n):t[c]=n[c]}for(var s=function(){var e={};return bc.push(e),e}(),u=0,f=o;u<f.length;u++){var l=f[u];"emit"===l?wc(l,n[l].bind(n),s):"function"==typeof r[l]?wc(l,r[l].bind(r),s):wc(l,r[l],s)}if(e.events)for(var d in e.events)t.on(d,e.events[d]);xc("navigateTo",e)&&Pr.invokeMethod("navigateTo",e,{beforeSuccess:function(e){e.eventChannel=t},afterSuccess:function(){Sc=e.url}})}},navigateBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"number"!=typeof e.delta?e.delta=1:(e.delta=C()(e.delta),e.delta<1&&(e.delta=1)),Pr.invokeMethod("navigateBack",e)},onAppRoute:Tc,onAppRouteDone:Mc,onAppEnterBackground:Wr,onAppEnterForeground:Nr,offAppRoute:Pc,offAppRouteDone:Ic,restartMiniProgram:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kc(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):kc(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},e),kr.beforeInvoke("restartMiniProgram",e,{path:""})){if(!e.path){var t={errMsg:"restartMiniProgram:fail invalid path"};return"function"==typeof e.fail&&e.fail(t),void("function"==typeof e.complete&&e.complete(t))}e.path=kr.getRealRoute(Sc,e.path),!Ro&&(e.path=kr.encodeUrlQuery(e.path)),Pr.invokeMethod("restartMiniProgram",e)}}},Oc={},Lc=new dn;ServiceJSBridge.subscribe("audioInsert",(function(e,t){var n=e.audioId;Oc[t+"_"+n]=!0,Lc.emit("audioInsert_"+t+"_"+n)}));var Bc=function(){function e(t,n){if(ce()(this,e),"string"!=typeof t)throw new Error("audioId should be a String");this.audioId=t,this.webviewId=n}return ue()(e,[{key:"setSrc",value:function(e){this._sendAction({method:"setSrc",data:e})}},{key:"play",value:function(){var e=this._getAppStatus();this._getHanged(),1===e||this._sendAction({method:"play"})}},{key:"pause",value:function(){this._sendAction({method:"pause"})}},{key:"seek",value:function(e){this._sendAction({method:"setCurrentTime",data:e})}},{key:"_ready",value:function(e){Oc[this.webviewId+"_"+this.audioId]?e():Lc.on("audioInsert_"+this.webviewId+"_"+this.audioId,(function(){e()}))}},{key:"_sendAction",value:function(e){var t=this;this._ready((function(){ServiceJSBridge.publish("audio_"+t.audioId+"_actionChanged",e,[t.webviewId])}))}}]),e}();Pr.onMethod("onAudioInterruptionEnd",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onAudioInterruptionEnd").emit(e)})),Pr.onMethod("onAudioInterruptionBegin",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onAudioInterruptionBegin").emit(e)}));var Fc={playVoice:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e&&"object"===ye()(e)&&(e.duration=e.duration||60),kr.beforeInvoke("playVoice",e,{filePath:""})&&Pr.invokeMethod("playVoice",e)},pauseVoice:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("pauseVoice",e)},stopVoice:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("stopVoice",e)},onVoicePlayEnd:function(e){Pr.onMethod("onVoicePlayEnd",Reporter.surroundThirdByTryCatch(e,"at onVoicePlayEnd callback function"))},createAudioContext:function(e){return function(e,t){var n=new Bc(e,t);return n._getAppStatus=function(){return kn.getConfig().appStatus},n._getHanged=function(){return kn.getConfig().hanged},Ac.onAppEnterBackground((function(){n.pause()})),n}(e,kn.getConfig().curWebviewId)},setInnerAudioOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("setInnerAudioOption",l()({mixWithOther:!0,obeyMuteSwitch:!0},e))},onAudioInterruptionEnd:function(e){gn("onAudioInterruptionEnd").onMethod(e)},offAudioInterruptionEnd:function(e){gn("onAudioInterruptionEnd").offMethod(e)},onAudioInterruptionBegin:function(e){gn("onAudioInterruptionBegin").onMethod(e)},offAudioInterruptionBegin:function(e){gn("onAudioInterruptionBegin").offMethod(e)},getAvailableAudioSources:function(e){e=e||{},Pr.invokeMethod("getAvailableAudioSources",e)}};function jc(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jc(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):jc(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Dc=1,Nc={};function Uc(e){Pr.invokeMethod("innerAudio",e)}function Wc(e){var t=e.src;return t.startsWith(".")&&(t=X(e.src)),{startTime:e.startTime,autoplay:e.autoplay,loop:e.loop,volume:e.volume,playbackRate:e.playbackRate,src:t}}Pr.onMethod("onInnerAudio",(function(e){var t=e.data,n=e.method,r=e.innerAudioContextId,o=Nc[r];if(o){switch(n){case"onPlay":o._playEnded=!1,o._paused=!1;break;case"onPause":case"onStop":o._paused=!0,o._isPlaying=!1;break;case"onTimeUpdate":o._paused="boolean"==typeof t.paused?t.paused:"true"===t.paused||1===t.paused,o._onlyReadyObj=t;break;case"onEnded":o._playEnded=!0,o._isPlaying=!1;break;case"onCanplay":o._canplay=!0,o._onlyReadyObj=t}(o.listeners[n.slice(2)]||[]).forEach((function(e){"function"==typeof e&&("onError"===n?(o._paused=!0,e(Rc(Rc({},t),{},{src:o.src}))):e({src:o.src}))}))}}));var Vc={};Pr.onMethod("onAd",(function(e){var t=e.method,n=e.adUnitId,r=Vc[n],o=e.data;null!=r&&("onError"===t&&(r.errors=o),r.listeners.emit(t,o))}));var Gc=["duration","currentTime","buffered"],qc=["Canplay","Ended","Error","Pause","Play","Seeked","Seeking","Stop","TimeUpdate","Waiting"],zc=["volume","playbackRate"],Hc=["src","autoplay"],Kc=function(){function e(){var t=this;ce()(this,e),this._src="",this._volume=1,this._playbackRate=1,this._autoplay=!1,this.innerAudioContextId=Dc++,this.startTime=0,this.autoplay=!1,this.loop=!1,this.listeners={},this.active=!0,this._paused=!0,this._onlyReadyObj={};var n=this;qc.forEach((function(e){t["on"+e]=function(t){n.listeners[e]=n.listeners[e]||[],n.listeners[e].push(t),"Canplay"===e&&n._canplay&&"function"==typeof t&&t({src:n.src})},t["off"+e]=function(t){if(t){var r=(n.listeners[e]||[]).indexOf(t);r>-1&&n.listeners[e].splice(r,1)}else delete n.listeners[e]}})),Gc.forEach((function(e){i()(n,e,{get:function(){return n._onlyReadyObj[e]},set:function(){}})})),i()(this,"paused",{get:function(){return this._paused},set:function(){}}),zc.forEach((function(e){i()(n,e,{get:function(){return n["_"+e]},set:function(t){n["_"+e]=t,this.paused||Uc({method:"play",data:Rc(Rc({},Wc(this)),{},{isPlayMethod:!1}),innerAudioContextId:this.innerAudioContextId})}})})),Hc.forEach((function(e){i()(n,e,{get:function(){return n["_"+e]},set:function(t){var r=this;if(n["_"+e]=t,"src"===e&&t&&Uc({method:"play",data:Rc(Rc({},Wc(this)),{},{isPlayMethod:!1}),innerAudioContextId:this.innerAudioContextId}),"autoplay"===e&&t)var o=setTimeout((function(){Uc({method:"play",data:Rc(Rc({},Wc(r)),{},{isPlayMethod:!1}),innerAudioContextId:r.innerAudioContextId}),clearTimeout(o)}),1)}})})),Uc({method:"create",data:Wc(this),innerAudioContextId:this.innerAudioContextId})}return ue()(e,[{key:"play",value:function(){this.active&&1!==kn.getConfig().appStatus&&(Uc({method:"play",data:Rc(Rc({},Wc(this)),{},{isPlayMethod:!0}),innerAudioContextId:this.innerAudioContextId}),this._isPlaying=!0)}},{key:"pause",value:function(){this.active&&(Uc({method:"pause",innerAudioContextId:this.innerAudioContextId}),this._isPlaying=!1)}},{key:"stop",value:function(){this.active&&(Uc({method:"stop",innerAudioContextId:this.innerAudioContextId}),this._isPlaying=!1)}},{key:"seek",value:function(e){this.active&&Uc({method:"seek",data:{position:e},innerAudioContextId:this.innerAudioContextId})}},{key:"destroy",value:function(){this.active&&(this.active=!1,Uc({method:"destroy",innerAudioContextId:this.innerAudioContextId}),delete Nc[this.innerAudioContextId])}}]),e}();function Jc(e){e.complete=function(){},Pr.invokeMethod("recorderManager",e)}var Xc,Yc=["Error","FrameRecorded","InterruptionBegin","InterruptionEnd","Pause","Resume","Start","Stop"],$c={numberOfChannels:[2,1],format:["aac","mp3","wav","pcm"]},Qc={8e3:[16e3,48e3],11025:[16e3,48e3],12e3:[24e3,64e3],16e3:[24e3,96e3],22050:[32e3,128e3],24e3:[32e3,128e3],32e3:[48e3,192e3],44100:[64e3,32e4],48e3:[64e3,32e4]},Zc=function(){function e(){ce()(this,e);var t=this;this.listeners={},Yc.forEach((function(e){t["on"+e]=function(n){t.listeners[e]=n}}))}return ue()(e,[{key:"start",value:function(e){var t=this;e=e||{},this.frameSize=C()(e.frameSize);var n=l()({duration:6e4,sampleRate:8e3,numberOfChannels:2,encodeBitRate:48e3,format:"aac",audioSource:"auto"},e);if(L()(e||{}).forEach((function(t){"format"===t&&(e[t]=e[t].toLowerCase()),$c[t]?n[t]=$c[t].includes(e[t])?e[t]:$c[t][0]:n[t]=e[t]})),-1===L()(Qc).map((function(e){return C()(e)})).indexOf(n.sampleRate))throw new Error('invalid sampleRate "'.concat(n.sampleRate,'", sampleRate should be one of ').concat(le()(L()(Qc))));if(n.encodeBitRate>Qc[n.sampleRate][1]||n.encodeBitRate<Qc[n.sampleRate][0])throw new Error('invalid encodeBitRate "'.concat(n.encodeBitRate,'", encodeBitRate should be greater than ').concat(Qc[n.sampleRate][0]," and less than ").concat(Qc[n.sampleRate][1]));var r=C()(n.duration);r>6e5&&(n.duration=6e5),(isNaN(r)||r<0)&&(n.duration=6e4),isNaN(this.frameSize)&&delete this.frameSize,Jc({method:"start",data:n}),jo()&&(this.func=function(e){var n=e.data;t.frameSize&&"function"==typeof t.listeners.FrameRecorded&&(t.listeners.FrameRecorded({frameBuffer:n.buffer,isLastFrame:n.isLastFrame||!1}),n.isLastFrame&&(t.func&&gn("recorderManagerFrameCallback").offMethod(t.func),t.func=null))},gn("recorderManagerFrameCallback").onMethod(this.func))}},{key:"pause",value:function(){Jc({method:"pause"})}},{key:"resume",value:function(){Jc({method:"resume"})}},{key:"stop",value:function(){Jc({method:"stop"}),this._stopped=!0}}]),e}(),es=["onError","onStop","onFrameRecorded"];Pr.onMethod("onRecorderManager",(function(e){var t=e.data,n=e.method,r=!0,o=Xc.listeners[n.slice(2)];if("onFrameRecorded"!==n||"function"!=typeof o)Xc&&"function"==typeof o&&(es.includes(n)?o(t):o());else{if(jo())return;if(!Xc.frameSize)return;if(t.errMsg&&r)return r=!1,Xc.stop(),void o(t);if(R&&t.buffer_id){var i=window[t.buffer_id];i&&(o({frameBuffer:new Int8Array(i).buffer,isLastFrame:t.isLastFrame||!1}),delete window[t.buffer_id],Jc({method:"onFrameRecordedRemove",data:{buffer_id:t.buffer_id}}),i=null)}else{var a=new XMLHttpRequest;a.onload=function(){200===a.status&&r&&o({frameBuffer:a.response,isLastFrame:t.isLastFrame||!1})},a.open("GET",t.url),a.responseType="arraybuffer",a.send()}}})),Ac.onAppRoute((function(){Xc&&Xc.pause()})),Ac.onAppEnterBackground((function(){Xc&&Xc.pause()}));function ts(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function ns(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ts(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ts(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}function rs(e,t){Pr.invokeMethod("backgroundAudioManager",{cname:e,data:t})}function os(e){var t=e.src;return t.startsWith(".")&&(t=X(e.src)),{src:t,startTime:e.startTime||0,title:e.title,epname:e.epname,singer:e.singer,coverImgUrl:e.coverImgUrl,webUrl:e.webUrl,protocol:e.protocol||"http",playbackRate:e.playbackRate||1,currentTime:e.currentTime||0,volume:e.volume}}var is=["Canplay","Waiting","Error","Play","Pause","Seeking","Seeked","Ended","Stop","TimeUpdate","Next","Prev"],as=["duration","currentTime","paused","buffered"],cs=["volume","playbackRate"],ss={},us="",fs=function(){function e(){var t=this;ce()(this,e),this._volume=1,this._playbackRate=1,this.listeners={};var n=this;is.forEach((function(e){t["on"+e]=function(t){this.listeners[e]=t}})),Pr.on("backgroundAudioEvent",(function(e){var t=e.method,r=e.data;if("onTimeUpdate"===t){var o=r.duration,i=r.currentTime,a=r.buffered;ss.duration=o,ss.currentTime=i,ss.buffered=a}switch(t){case"onPlay":ss.paused=!1;break;case"onPause":case"onStop":case"onEnded":ss.paused=!0}var c=n.listeners[t.slice(2)];"function"==typeof c&&c("onError"===t?ns(ns({},r),{},{src:n.src}):{src:n.src})})),i()(n,"src",{set:function(e){""!==(us=e)&&n.play()},get:function(){return us}}),as.forEach((function(e){i()(n,e,{get:function(){return ss[e]},set:function(){}})})),cs.forEach((function(e){i()(t,e,{get:function(){return this["_"+e]},set:function(t){var n=this;this["_"+e]=t;var r=setTimeout((function(){rs("play",os(n)),clearTimeout(r)}),1)}})}))}return ue()(e,[{key:"play",value:function(){var e=this;if(this.src&&""!==this.src&&void 0!==this.src){this.title&&void 0!==this.title||(this.title="");var t=setTimeout((function(){rs("play",os(e)),clearTimeout(t)}),1)}else console.error("audio src 不能为空!")}},{key:"pause",value:function(){rs("pause",{})}},{key:"seek",value:function(e){"number"!=typeof e||e<0?console.error("Failed to seek, the currentTime ".concat(e," is invalid.")):(ss.currentTime=e,rs("seek",{currentTime:e}))}},{key:"stop",value:function(){rs("stop",{})}}]),e}(),ls={getBackgroundAudioManager:function(){var e=new fs;return e.paused=!1,e},getBackgroundAudioPlayerState:function(e){Pr.invokeMethod("getMusicPlayerState",e,{beforeAll:function(e){e.errMsg=e.errMsg.replace("getBackgroundAudioPlayerState","getMusicPlayerState")}})},playBackgroundAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=kn.getConfig();1===t.appStatus&&!1===t.hanged||Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"play"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","playBackgroundAudio")}})},pauseBackgroundAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"pause"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","pauseBackgroundAudio")}})},seekBackgroundAudio:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};kr.beforeInvoke("seekBackgroundAudio",e,{position:1})&&Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"seek"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","seekBackgroundAudio")}})},stopBackgroundAudio:function(e){Pr.invokeMethod("operateMusicPlayer",kr.assign({operationType:"stop"},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateMusicPlayer","stopBackgroundAudio")}})},onBackgroundAudioPlay:function(e){Pr.onMethod("onMusicPlay",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioPlay callback function"))},onBackgroundAudioPause:function(e){Pr.onMethod("onMusicPause",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioPause callback function"))},onBackgroundAudioStop:function(e){Pr.onMethod("onMusicEnd",Reporter.surroundThirdByTryCatch(e,"at onBackgroundAudioStop callback function"))}};function ds(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var hs={chooseImage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof e.sizeType&&(e.sizeType=e.sizeType.split(",")),Pr.invokeMethod("chooseImage",kr.assign({count:9,sizeType:["original","compressed"],sourceType:["album","camera"]},e))},previewImage:function(e){kr.beforeInvoke("previewImage",e,{urls:[""]})&&Pr.invokeMethod("previewImage",e)},previewMedia:function(e){kr.beforeInvoke("previewMedia",e,{sources:[{}]})&&(e.sources.forEach((function(e){!e.type&&(e.type="image")})),Pr.invokeMethod("previewMedia",e))},compressImage:function(e){var t=(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ds(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ds(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},e||{})).quality;void 0!==t&&(isNaN(t)||e.quality<0||e.quality>100)?kr.logErr("compressImage",e,"compressImage:fail param compress quality invalid"):kr.beforeInvoke("compressImage",e,{src:""})&&(""!==e.src?(["compressedWidth","compressedHeight"].forEach((function(t){isNaN(e[t])&&delete e[t]})),/^(http|https):\/\//.test(e.src)?kr.logErr("compressImage",e,"compressImage:fail file doesn't exist"):(e.src=/^hyfile:\/\//.test(e.src)?e.src:"/".concat(e.src),Pr.invokeMethod("compressImage",kr.assign({quality:80},e)))):kr.logErr("compressImage",e,"compressImage:fail param src invalid"))},getImageInfo:function(e){if(kr.beforeInvoke("getImageInfo",e,{src:""}))if(/^(http|https):\/\//.test(e.src)){var t=kr.generateRandomId("downloadFile");Pr.invokeMethod("downloadFile",{taskId:t,url:e.src},{afterSuccess:function(t){e.src=t.tempFilePath,Pr.invokeMethod("getImageInfo",e,{beforeSuccess:function(t){t.path=e.src}})},afterFail:function(){kr.logErr("getImageInfo",e,"getImageInfo:fail download image fail")}})}else/^(wdfile|hyfile):\/\//.test(e.src),Pr.invokeMethod("getImageInfo",e,{beforeSuccess:function(t){t.path=e.src}})},chooseMessageFile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("chooseMessageFile",e)},chooseFile:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.type||(e.type="all"),void 0===e.count&&(e.count=100),kr.beforeInvoke("chooseFile",e,{count:1,type:""})&&(e.count<=0?kr.logErr("chooseFile",e,"chooseFile:fail param count should be larger than 0."):void 0===e.extension?(e.count>100&&(e.count=100),Pr.invokeMethod("chooseFile",e)):"[object Array]"!==Object.prototype.toString.call(e.extension)?kr.logErr("chooseFile",e,"chooseFile:fail param extension should be Array."):e.extension.length?(e.count>100&&(e.count=100),Pr.invokeMethod("chooseFile",e)):kr.logErr("chooseFile",e,"chooseFile:fail param extension should not be empty."))},saveImageToPhotosAlbum:function(e){if(kr.beforeInvoke("saveImageToPhotosAlbum",e,{filePath:""})){var t=e.filePath;t.startsWith(".")&&(t=kr.transformUrl(t)),Pr.invokeMethod("saveImageToPhotosAlbum",e)}}},ps={startRecord:function(e){var t=kn.getConfig();1===t.appStatus&&!1===t.hanged||Pr.invokeMethod("startRecord",e)},stopRecord:function(e){Pr.invokeMethod("stopRecord",e)}},vs=new(function(){function e(){ce()(this,e),this.ids={},this.uniqueIds={},this.callbacks={}}return ue()(e,[{key:"setReady",value:function(e,t){if(!this.ids[e]){this.ids[e]=t;var n=this.callbacks[e];"function"==typeof n&&n(t),this.callbacks[e]=null}this.uniqueIds[t]=!0;var r=this.callbacks[t];"function"==typeof r&&r(t),this.callbacks[t]=null}},{key:"getReady",value:function(e,t){if(t)return this.uniqueIds[t];var n=this.ids[e];return this.uniqueIds[n]}},{key:"onReady",value:function(e,t){if(this.ids[e]||this.uniqueIds[e]){var n=this.ids[e]||e;this.uniqueIds[n]&&"function"==typeof t&&t(n)}else this.callbacks[e]=t}},{key:"clear",value:function(e,t){delete this.ids[e],delete this.uniqueIds[t],delete this.callbacks[e],delete this.callbacks[t]}}]),e}());ServiceJSBridge.subscribe("videoPlayerInsertFinish",(function(e,t){var n=e.domId,r=e.videoPlayerId;n="".concat(n,"-").concat(t),vs.setReady(n,r)})),ServiceJSBridge.subscribe("videoPlayerRemoved",(function(e,t){var n=e.domId,r=e.videoPlayerId;n="".concat(n,"-").concat(t),vs.clear(n,r)}));var gs=function(){function e(t,n){var r,o=this;if(ce()(this,e),"string"!=typeof t)throw new Error("video ID should be a String");this._cachedActions=[],this._webviewId=kn.getConfig().curWebviewId,r=n&&n.contextId?n.contextId:"".concat(t,"-").concat(this._webviewId),vs.onReady(r,(function(e){o._ready=!0,o._videoId=e,o._cachedActions.forEach((function(e){var t=e.method,n=e.data;"function"==typeof o[t]&&o[t].apply(o,h()(n))}))}))}return ue()(e,[{key:"play",value:function(){var e=this._getAppStatus();1===e||2===e||this._invokeMethod("play")}},{key:"pause",value:function(){this._invokeMethod("pause")}},{key:"stop",value:function(){this._invokeMethod("stop")}},{key:"seek",value:function(e){this._invokeMethod("seek",[e])}},{key:"playbackRate",value:function(e){[.5,.8,1,1.25,1.5,2].indexOf(Number(e))>-1&&this._invokeMethod("playbackRate",[e])}},{key:"sendDanmu",value:function(e){var t=e.text,n=e.color;this._invokeMethod("sendDanmu",[t,n])}},{key:"requestFullScreen",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._invokeMethod("requestFullScreen",[e&&e.direction])}},{key:"exitFullScreen",value:function(){this._invokeMethod("exitFullScreen")}},{key:"showStatusBar",value:function(){this._invokeMethod("showStatusBar")}},{key:"hideStatusBar",value:function(){this._invokeMethod("hideStatusBar")}},{key:"exitPictureInPicture",value:function(){this._invokeMethod("exitPictureInPicture")}},{key:"requestBackgroundPlayback",value:function(){this._invokeMethod("requestBackgroundPlayback")}},{key:"exitBackgroundPlayback",value:function(){this._invokeMethod("exitBackgroundPlayback")}},{key:"_invokeMethod",value:function(e,t){this._ready?this._sendAction(e,t):this._cachedActions.push({method:"_invokeMethod",data:[e,t]})}},{key:"_sendAction",value:function(e,t){ServiceJSBridge.publish("video_"+this._videoId+"_actionChanged",{method:e,data:t},[this._webviewId])}}]),e}();function ys(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var ms={compressVideo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(kr.beforeInvoke("compressVideo",e,{src:""})){if(void 0===e.quality){if(delete e.quality,!e.bitrate&&!e.fps&&!e.resolution)return void kr.logErr("compressVideo",e,"ccompressVideo:fail invalid data");if(e.bitrate<0&&e.fps<0&&e.resolution<0)return void kr.logErr("compressVideo",e,"ccompressVideo:fail invalid data")}else["low","medium","high"].includes(e.quality)||(e.quality="high");e.bitrate||(e.bitrate=0),e.fps||(e.fps=0),e.resolution||(e.resolution=0),Pr.invokeMethod("compressVideo",e)}},chooseVideo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pr.invokeMethod("chooseVideo",kr.assign({sourceType:["album","camera"],compressed:!0,maxDuration:60,camera:"back"},e))},chooseMedia:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):ys(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}({},e)).maxDuration=e.maxDuration||10,e.count=e.count||9,e.maxDuration&&"string"==typeof e.maxDuration&&(e.maxDuration=e.maxDuration.replace(/s$/,"")),!isNaN(e.maxDuration)&&(e.maxDuration<3||e.maxDuration>60)&&(e.maxDuration=10),(e=kr.validate("showToast",e,{count:{type:Number,defaultValue:9,max:9,min:0},mediaType:{type:["image","video","mix"],multiple:!0,useError:!1,defaultValue:["image","video"]},sourceType:{type:["album","camera"],multiple:!0,useError:!1,defaultValue:["album","camera"]},maxDuration:{type:Number,defaultValue:10,max:60,min:3},sizeType:{type:["original","compressed"],multiple:!0,useError:!1,defaultValue:["original","compressed"]},camera:{type:["back","front"],useError:!1,defaultValue:"back"}}))&&(0===e.count&&(e.count=9),e.maxDuration=Math.floor(e.maxDuration),Pr.invokeMethod("chooseMedia",e))},previewVideo:function(e){kr.beforeInvoke("previewVideo",e,{url:"",autoplay:!1})&&Pr.invokeMethod("previewVideo",e)},saveVideoToPhotosAlbum:function(e){kr.beforeInvoke("saveVideoToPhotosAlbum",e,{filePath:""})&&Pr.invokeMethod("saveVideoToPhotosAlbum",e)},createVideoContext:function(e){return function(e,t){var n=new gs(e,t);return n._getAppStatus=function(){return kn.getConfig().appStatus},n._getHanged=function(){return kn.getConfig().hanged},!Po&&Ac.onAppEnterBackground((function(){n.pause()})),n}(e)}},bs=null;function ws(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;ServiceJSBridge.invoke("cameraContextInvoke",{cname:e,webviewId:n,data:r},(function(n){if(/:ok/.test(n.errMsg))n.errMsg="".concat(e,":ok"),"function"==typeof t.success&&t.success(n),"function"==typeof o&&o(n);else{var r=n.errMsg;try{r=r.replace(/cameraContextInvoke:fail\s+/,"").replace(new RegExp("^"+e+":(\\s)?(fail)?"),"")}catch(e){console.warn(e)}n.errMsg="".concat(e,":fail ").concat(r),"function"==typeof t.fail&&t.fail(n),"function"==typeof o&&o(n)}"function"==typeof t.complete&&t.complete(n)}))}var ks=function(){function e(t){ce()(this,e),this.webviewId=t}return ue()(e,[{key:"onCameraFrame",value:function(e){return new Ss(this.webviewId,e)}},{key:"takePhoto",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.hasOwnProperty("quality")||(e.quality="normal"),ws("takePhoto",e,this.webviewId,{quality:e.quality})}},{key:"setZoom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.hasOwnProperty("zoom")||(e.zoom="1"),ws("setZoom",e,this.webviewId,{zoom:e.zoom})}},{key:"startRecord",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ws("startRecord",t,this.webviewId,{},(function(n){if(!/:fail/.test(n.errMsg)){var r="number"==typeof t.timeout?Math.max(0,t.timeout):30;r=Math.min(C()(r),300),bs=setTimeout((function(){ws("stopRecord",{success:function(e){e.errMsg="timeoutCallback:ok","function"==typeof t.timeoutCallback&&t.timeoutCallback(e)}},e.webviewId,{compressed:!1}),clearTimeout(bs)}),1e3*r)}}))}},{key:"stopRecord",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bs&&clearTimeout(bs),e.hasOwnProperty("compressed")||(e.compressed=!1),ws("stopRecord",e,this.webviewId,{compressed:e.compressed})}}]),e}(),Ss=ue()((function e(t,n){var r=this;if(ce()(this,e),this.webviewId=t,this.callback=n,this._status=!1,R||jo()){var o=this;gn("cameraFrameCallback").onMethod((function(e){var t=e.data;o._status&&n({data:t.buffer.buffer,width:t.width,height:t.height})}))}return{start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r._status=!0,ws("cameraFrameListenerStart",e,r.webviewId,{});var t=!0,n=r;Pr.on("cameraFrameListener",(function(e){if(e.errMsg&&t)return t=!1,n.callback(e),void n.stop();if(!jo()){var r=new XMLHttpRequest;r.onload=function(){n._status&&200===r.status&&t&&n.callback({data:r.response,width:e.width,height:e.height}),ws("cameraFrameListenerRemove",{},n.webviewId,{})},r.open("GET",e.url),r.responseType="arraybuffer",r.send()}}))},stop:function(){ws("cameraFrameListenerStop",arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r.webviewId,{},(function(e){e&&(r._status=!1)}))}}})),_s=[];Ac.onAppEnterBackground((function(){_s.forEach((function(e){ServiceJSBridge.publish("onCameraStop",{},[e.webviewId]),ws("stopCamera",{},e.webviewId,{compressed:!1})}))})),ServiceJSBridge.subscribe("onCameraEvent",(function(e){"removeCamera"===e.cname&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=_s.findIndex((function(t){return t.webviewId===e}));(n>-1||t)&&ServiceJSBridge.invoke("cameraContextInvoke",{cname:"removeCamera",webviewId:e,data:{}},(function(){}))}(e.webviewId,!0)}));var xs={createCameraContext:function(){var e=kn.getConfig().curWebviewId,t=_s.find((function(t){return t.webviewId===e}));if(!t){var n=new ks(e);return _s.push({cameraObj:n,webviewId:e}),n}return t.cameraObj}},Cs="SocketTask.send:fail SocketTask.readyState is not OPEN",Ms=function(){function e(t){ce()(this,e),this._socketId=t.socketId,this._onMsgCallbacks=[],this._onErrorCallback=null,this._onOpenCallback=null,this._onCloseCallback=null,this.readyState=0,this.CLOSED=3,this.CLOSING=2,this.CONNECTING=0,this.OPEN=1}return ue()(e,[{key:"_callOnOpen",value:function(e){"function"==typeof this._onOpenCallback&&this._onOpenCallback(e)}},{key:"_callOnClose",value:function(e){"function"==typeof this._onCloseCallback&&this._onCloseCallback(e)}},{key:"_callOnMessage",value:function(e){this._onMsgCallbacks.forEach((function(t){if("function"==typeof t)try{t(e)}catch(e){console.error(e)}}))}},{key:"_callOnError",value:function(e){"function"==typeof this._onErrorCallback&&this._onErrorCallback(e)}},{key:"onOpen",value:function(e){this._onOpenCallback=e}},{key:"onClose",value:function(e){this._onCloseCallback=e}},{key:"onError",value:function(e){this._onErrorCallback=e}},{key:"onMessage",value:function(e){this._onMsgCallbacks.push(e)}},{key:"send",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.readyState===this.CLOSED||this.readyState===this.CONNECTING)return"function"==typeof e.fail&&e.fail({errMsg:Cs}),void("function"==typeof e.complete&&e.complete({errMsg:Cs}));e.socketId=this._socketId,(e.data instanceof ArrayBuffer||ArrayBuffer.isView(e.data))&&(e.isBase64=!0,e.data=kr.arrayBufferToBase64(e.data)),Pr.invokeMethod("sendSocketMessage",e)}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.readyState===this.CLOSED)return"function"==typeof t.fail&&t.fail({errMsg:"closeSocket:fail task not found"}),void("function"==typeof t.complete&&t.complete({errMsg:"closeSocket:fail task not found"}));t.code=t.code||1e3,t.socketId=this._socketId;var n=t.complete;t.complete=function(t){e.readyState=2,n&&n(t)},Pr.invokeMethod("closeSocket",t)}}]),e}(),Is=1,Es=window.WebSocket,Ts=window.FileReader,Ps=function(){function e(t){ce()(this,e),this.socketId=Is++,this.websocket=new Es(t.url,t.protocols||[]),this.onMsgCallbacks=[],this.onErrorCallbacks=[],this.onOpenCallback=null,this.onCloseCallback=null,this.readyState=0,t.globalSocketCallBacks.onOpen&&(this.onOpenCallback=t.globalSocketCallBacks.onOpen),t.globalSocketCallBacks.onClose&&(this.onCloseCallback=t.globalSocketCallBacks.onClose),t.globalSocketCallBacks.onMessage&&(this.onMsgCallbacks=t.globalSocketCallBacks.onMessage),t.globalSocketCallBacks.onError&&(this.onErrorCallbacks=t.globalSocketCallBacks.onError),this.websocket.onopen=function(e){this.readyState=1,"function"==typeof this.onOpenCallback&&this.onOpenCallback(e)}.bind(this),this.websocket.onclose=function(e){this.readyState=3,"function"==typeof this.onCloseCallback&&this.onCloseCallback({code:e.code,reason:e.reason})}.bind(this),this.websocket.onmessage=function(e){var t=this;if(e.data instanceof Blob){var n=new Ts;n.onload=function(e){var n=e.target.result;t.onMsgCallbacks.forEach((function(e){e({data:n})}))},n.readAsArrayBuffer(e.data)}else this.onMsgCallbacks.forEach((function(t){t({data:e.data})}))}.bind(this),this.websocket.onerror=function(e){this.onErrorCallbacks.forEach((function(t){t(e)}))}.bind(this)}return ue()(e,[{key:"onOpen",value:function(e){this.onOpenCallback=e||this.defaultHandler}},{key:"onClose",value:function(e){this.onCloseCallback=e||this.defaultHandler}},{key:"onError",value:function(e){this.onErrorCallback=e||this.defaultHandler}},{key:"defaultHandler",value:function(e){console.log(e)}},{key:"onMessage",value:function(e){this.onMsgCallbacks.push(e)}},{key:"send",value:function(e){var t="function"==typeof e.success&&Reporter.surroundThirdByTryCatch(e.success,"at websocket send success callback function"),n="function"==typeof e.fail&&Reporter.surroundThirdByTryCatch(e.fail,"at websocket send success callback function"),r="function"==typeof e.complete&&Reporter.surroundThirdByTryCatch(e.complete,"at websocket send success callback function");if(1!==this.readyState)return n&&n({errMsg:"sendSocketMessage:fail WebSocket is not connected"}),void(r&&r({errMsg:"sendSocketMessage:fail WebSocket is not connected"}));try{this.websocket.send(e.data)}catch(e){return r&&r({errMsg:e}),void(n&&n({errMsg:e}))}t&&t({errMsg:"sendSocketMessage:ok"}),r&&r({errMsg:"sendSocketMessage:ok"})}},{key:"close",value:function(e){this.websocket.close()}}]),e}();function As(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Os(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?As(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):As(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Ls=function(){function e(){ce()(this,e),this.socketId=kr.generateRandomId("udp"),this.connectChannel=gn("connect_".concat(this.socketId)),this.listeningChannel=gn("listening_".concat(this.socketId)),this.messageChannel=gn("message_".concat(this.socketId)),this.errorChannel=gn("error_".concat(this.socketId)),this.closeChannel=gn("close_".concat(this.socketId)),this.port=null,this._createUDPSocket(),this._initSDKCallBack()}return ue()(e,[{key:"_createUDPSocket",value:function(){Pr.invokeMethod("createUDPSocket",{socketId:this.socketId})}},{key:"_initSDKCallBack",value:function(){var e=this;Pr.onMethod("onUDPMessage",(function(t){if(t.socketId===e.socketId&&e.messageChannel.getGlobalListeners().length>0){var n=kr.base64ToArrayBuffer(t.message),r=Os({},t);delete r.socketId,delete r.message,e.messageChannel.emit({message:n,remoteInfo:Os({},r)})}})),Pr.onMethod("onUDPError",(function(t){t.socketId===e.socketId&&e.errorChannel.emit({errMsg:t.errMsg,errCode:-2})})),Pr.onMethod("onUDPEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.type,r=t.socketId,o=t.payload;if(r===e.socketId){if("onMessage"===n){var i=kr.base64ToArrayBuffer(o.message),a=Os({},o);return delete a.socketId,delete a.message,void e.messageChannel.emit({message:i,remoteInfo:Os({},a)})}e["".concat(n.slice(2).toLocaleLowerCase(),"Channel")].emit(o)}}))}},{key:"bind",value:function(e){var t=this;if(e&&"number"!=typeof e)return this.errorChannel.emit({errMsg:"Error: port must be number",errCode:2}),void console.error("Error: port must be number");var n=null,r=null;if(Pr.invokeMethod("bindUDPPort",{socketId:this.socketId,port:e,success:function(e){"number"==typeof e.port&&(console.log("UDPSocket bind port",e.port),n=e.port,t.port=e.port,t.listeningChannel.emit({port:t.port}))},fail:function(e){r=e.errMsg}}),r)throw new Error(r);return n||e}},{key:"close",value:function(){Pr.invokeMethod("closeUDPSocket",{socketId:this.socketId}),this.closeChannel.emit()}},{key:"onListening",value:function(e){return this.listeningChannel.onMethod(e)}},{key:"offListening",value:function(e){return this.listeningChannel.offMethod(e)}},{key:"onMessage",value:function(e){return this.messageChannel.onMethod(e)}},{key:"offMessage",value:function(e){return this.messageChannel.offMethod(e)}},{key:"onError",value:function(e){return this.errorChannel.onMethod(e)}},{key:"offError",value:function(e){return this.errorChannel.offMethod(e)}},{key:"onClose",value:function(e){return this.closeChannel.onMethod(e)}},{key:"offClose",value:function(e){return this.closeChannel.offMethod(e)}},{key:"send",value:function(e){var t=this,n=e.message;if(!n)return this.errorChannel.emit({errMsg:"Error: must be string or ArrayBuffer"}),void console.error(new TypeError("Error: message must be string or ArrayBuffer"));var r=Os({socketId:this.socketId},e);if("string"==typeof n){delete r.offset,delete r.length;var o=kr.strToArrayBuffer(n);r.message=kr.arrayBufferToBase64(o)}n instanceof ArrayBuffer&&(r.message=kr.arrayBufferToBase64(n)),n.buffer instanceof ArrayBuffer&&(r.message=kr.arrayBufferToBase64(n.buffer)),r.fail=function(e){t.errorChannel.emit({errMsg:e.errMsg}),console.error(e.errMsg)},Pr.invokeMethod("sendUDPMessage",r)}},{key:"connect",value:function(e){}},{key:"write",value:function(e){this.send(e)}},{key:"setTTL",value:function(e){if(e<0||e>255)this.errorChannel.emit({errMsg:"ttl value should be between 0 and 255. Please enter a valid value"});else{0===e&&(e=64);try{var t={socketId:this.socketId,ttl:e};Pr.invokeMethod("setUDPTTL",t)}catch(e){console.error(e)}}}}]),e}();function Bs(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bs(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Bs(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var js=0,Rs=null,Ds={},Ns=function(){function e(){ce()(this,e),this.socketId=kr.generateRandomId("tcp"),this.isConnected=!1,this.connectChannel=gn("connect_".concat(this.socketId)),this.messageChannel=gn("message_".concat(this.socketId)),this.errorChannel=gn("error_".concat(this.socketId)),this.closeChannel=gn("close_".concat(this.socketId)),Ds[this.socketId]=this,this._createTCPSocket()}return ue()(e,[{key:"_createTCPSocket",value:function(){try{if(Rs||(Rs=setInterval((function(){js=0}),3e5)),++js>20)throw new Error("[TCPSocket] created too much.");Pr.invokeMethod("createTCPSocket",{socketId:this.socketId})}catch(e){console.error(e)}}},{key:"_getErrInfo",value:function(e,t){return{errMsg:"connect fail: invalid address ".concat(e,":").concat(t),errCode:-4}}},{key:"connect",value:function(e){if("string"==typeof e.port&&(e.port=C()(e.port)),isNaN(e.port))return void 0!==e.port&&(e.port=-1),void this.errorChannel.emit(this._getErrInfo(e.address,e.port));/^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$)){4}$/.test(e.address)?Pr.invokeMethod("connectTCPSocket",Fs(Fs({},e),{},{socketId:this.socketId})):this.errorChannel.emit(this._getErrInfo(e.address,e.port))}},{key:"write",value:function(e){if("string"==typeof e||e instanceof ArrayBuffer)if(this.isConnected){var t=null;if("string"==typeof e){var n=kr.strToArrayBuffer(e);t=kr.arrayBufferToBase64(n)}e instanceof ArrayBuffer&&(t=kr.arrayBufferToBase64(e)),e&&e.buffer instanceof ArrayBuffer&&(t=kr.arrayBufferToBase64(e.buffer)),Pr.invokeMethod("sendTCPMessage",{message:t,socketId:this.socketId})}else this.errorChannel.emit({errCode:-1,errMsg:"send socket tcp not call accept or connect"});else console.error("Error: must be String or ArrayBuffer")}},{key:"close",value:function(){this.isConnected?Pr.invokeMethod("closeTCPSocket",{socketId:this.socketId}):this.errorChannel.emit({errCode:-1,errMsg:"close socket tcp not call bind or connect"})}},{key:"onConnect",value:function(e){return this.connectChannel.onMethod(e)}},{key:"offConnect",value:function(e){return this.connectChannel.offMethod(e)}},{key:"onMessage",value:function(e){return this.messageChannel.onMethod(e)}},{key:"offMessage",value:function(e){return this.messageChannel.offMethod(e)}},{key:"onError",value:function(e){return this.errorChannel.onMethod(e)}},{key:"offError",value:function(e){return this.errorChannel.offMethod(e)}},{key:"onClose",value:function(e){return this.closeChannel.onMethod(e)}},{key:"offClose",value:function(e){return this.closeChannel.offMethod(e)}}]),e}();Pr.onMethod("onTCPEvent",(function(e){var t=e.socketId,n=e.type;if(void 0!==Ds[t]){var r=Ds[t],o=e.payload||{};switch(n){case"onMessage":o.message=kr.base64ToArrayBuffer(o.message),r.messageChannel.emit(o);break;case"onConnect":r.connectChannel.emit(t),r.isConnected=!0;break;case"onClose":r.closeChannel.emit(t),r.isConnected=!1;break;case"onError":r.errorChannel.emit(o)}}}));var Us=Ns;function Ws(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ws(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Ws(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Gs=null,qs={onOpen:null,onClose:null,onError:[],onMessage:[]},zs=[],Hs={};function Ks(e,t){var n=gn("".concat(e,"_").concat(t,"_headers")),r=gn("".concat(e,"_").concat(t,"_progress"));Hs["".concat(t)]=[n,r];var o={abort:function(){Pr.invoke("taskAbort",{type:e,taskId:t}),n.offMethod(),r.offMethod()},offHeadersReceived:function(e){n.offMethod(e)},onHeadersReceived:function(e){n.onMethod(e)},offProgressUpdate:function(e){r.offMethod(e)},onProgressUpdate:function(e){r.onMethod(e)}};return"request"===e&&(delete o.offProgressUpdate,delete o.onProgressUpdate),o}Pr.on("onTaskHeadersReceived",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&e.taskId){var t=e.taskId,n=Hs["".concat(t)]||[null,null],r=k()(n,2),o=r[0];r[1],o&&(delete e.taskId,e.cookies=kr.splitCookies(e.header&&e.header["Set-Cookie"]),o.emit(e),o.offMethod())}})),Pr.on("onTaskProgressUpdate",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&e.taskId){var t=e.taskId,n=Hs["".concat(t)]||[null,null],r=k()(n,2),o=(r[0],r[1]);o&&(delete e.taskId,e.cookies=kr.splitCookies(e.header&&e.header["Set-Cookie"]),delete e.header,o.emit(e),e.progress>=100&&o.offMethod())}}));var Js,Xs={},Ys={},$s={};["Open","Close","Message","Error"].forEach((function(e){Pr.onMethod("onSocket".concat(e),(function(t){var n=t.socketId;if(delete t.socketId,t.isBase64&&(t.data=kr.base64ToArrayBuffer(t.data)),delete t.isBase64,"function"==typeof Ys[e])try{Ys[e](t)}catch(e){console.error(e)}switch(e){case"Open":Xs[n].readyState=1;break;case"Close":Xs[n].readyState=3,Js&&Qs(Js.socketId)}Xs[n]["_callOn".concat(e)](t)}))}));var Qs=function(e){delete $s[e];var t=L()($s).length;Js=t?$s[L()($s)[t-1]]:null};Pr.onMethod("onNetworkStatusChange",Reporter.surroundThirdByTryCatch((function(e){gn("onNetworkStatusChange").emit(e)}),"at onNetworkStatusChange callback function"));var Zs={request:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(kr.beforeInvoke("request",e,{url:""})){if(e=Vs({},e),!1===kr.validateUrl(e.url))return kr.logErr("request",e,'request:fail invalid url "'+e.url+'"');if("function"===e.data)return kr.logErr("request",e,"request:fail data should not be Function");var t=kr.getDataType(e.header);e.header=e.header||{},e.header=kr.convertObjectValueToString(e.header),"Undefined"!==t&&"Object"!==t&&(console.warn("wx.request: header must be an object"),e.header={}),e.header=L()(e.header).reduce((function(t,n){return"content-type"===n.toLowerCase()?t[n.toLowerCase()]=e.header[n]:t[n]=e.header[n],t}),{});var n=e.header||{},r="String"===kr.getDataType(e.method)?e.method.toUpperCase():"GET",o="";e.dataType=e.dataType||"json",n["content-type"]=n["content-type"]||"application/json";var i=[];e.data instanceof ArrayBuffer?(i.push({base64:kr.arrayBufferToBase64(e.data),key:"data"}),o=null):o=e.data?"String"!==kr.getDataType(e.data)?n["content-type"].indexOf("application/x-www-form-urlencoded")>-1?kr.urlEncodeFormData(e.data,!0):n["content-type"].indexOf("application/json")>-1||"Object"===kr.getDataType(e.data)?le()(e.data):o.toString():e.data:"","GET"===r&&(e.url=kr.addQueryStringToUrl(e.url,e.data));var a=window.__wxConfig__,c=e.timeout||a&&a.networkTimeout&&a.networkTimeout.request||6e4,s=kr.generateRandomId("request");return Pr.invokeMethod("request",{url:e.url,data:o,header:n,method:r,dataType:e.dataType||"json",responseType:e.responseType,timeout:c,forceCellularNetwork:e.forceCellularNetwork,success:e.success,fail:e.fail,complete:e.complete,taskId:s,__nativeBuffers__:i},{beforeSuccess:function(t){if("json"===e.dataType||i.length)try{t.data=JSON.parse(t.data)}catch(e){}t.statusCode=C()(t.statusCode)}}),Ks("request",s)}},connectSocket:function(e){if(Lo())try{"object"!==ye()(e.header)&&void 0!==e.header&&(console.warn("connectSocket: header must be an object"),delete e.header);var t={};e.header&&(t=kr.convertObjectValueToString(e.header),e.header=t);var n=window.__wxConfig__;e.timeout=e.timeout||n&&n.networkTimeout&&n.networkTimeout.connectSocket||6e4;var r=Math.random().toString().substr(3)+_()();e.socketId=r;var o=new Ms(e);return Xs[r]=o,$s[r]=o,o.socketId=r,Js=o,Pr.invokeMethod("createSocketTask",Vs({},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("createSocketTask","connectSocket")}}),o}catch(i){console.warn(i)}else{if(zs.filter((function(e){return 1===e.readyState})).length>=2){console.error("同时最多发起 2 个 socket 请求"),zs[1].onErrorCallback({errMsg:"exceed max task count"});var i=new Error("exceed max task count");throw i.type="ConnectSocketError",i}if(kr.beforeInvoke("connectSocket",e,{url:""})){"object"!==ye()(e.header)&&void 0!==e.header&&(console.warn("connectSocket: header must be an object"),delete e.header);var a={};e.header&&(a=kr.convertObjectValueToString(e.header),e.header=a),e.globalSocketCallBacks=qs;var c=new Ps(e);return Gs=c,qs={onOpen:null,onClose:null,onError:[],onMessage:[]},zs.push(c),c}}},closeSocket:function(e){if(Lo()){if(!Js||!Js.socketId)return"function"==typeof e.fail&&e.fail({errMsg:"closeSocket:fail WebSocket is not connected"}),void("function"==typeof e.complete&&e.complete({errMsg:"closeSocket:fail WebSocket is not connected"}));e.code=e.code||1e3,e.socketId=Js.socketId,Pr.invokeMethod("closeSocket",e),Qs(Js.socketId)}else Gs&&(Gs.close(),Gs=null)},createUDPSocket:function(){return new Ls},createTCPSocket:function(){return new Us},onSocketOpen:function(e){Lo()?"function"==typeof e&&(Ys.Open=e):Gs?Gs.onOpen(e):qs.onOpen=e},onSocketClose:function(e){Lo()?"function"==typeof e&&(Ys.Close=e):Gs?Gs.onClose(e):qs.onClose=e},sendSocketMessage:function(e){if(Lo()){if(!Js||!Js.socketId)return"function"==typeof e.fail&&e.fail({errMsg:"sendSocketMessage:fail WebSocket is not connected"}),void("function"==typeof e.complete&&e.complete({errMsg:"sendSocketMessage:fail WebSocket is not connected"}));e.socketId=Js.socketId,e.data instanceof ArrayBuffer&&(e.isBase64=!0,e.data=kr.arrayBufferToBase64(e.data)),Pr.invokeMethod("sendSocketMessage",e)}else Gs.send(e)},onSocketMessage:function(e){Lo()?"function"==typeof e&&(Ys.Message=e):kr.beforeInvoke("onSocketMessage",e,kr.emptyFn)&&(e=Reporter.surroundThirdByTryCatch(e,"at onSocketMessage callback function"),Gs?Gs.onMessage(e):qs.onMessage.push(e))},onSocketError:function(e){Lo()?"function"==typeof e&&(Ys.Error=e):Gs?Gs.onError(e):qs.onError.push(e)},uploadFile:function(e){if(kr.beforeInvoke("uploadFile",e,{url:"",filePath:"",name:""})){"object"!==ye()(e.header)&&void 0!==e.header&&(console.warn("uploadFile: header must be an object"),delete e.header),"object"!==ye()(e.formData)&&void 0!==e.formData&&(console.warn("uploadFile: formData must be an object"),delete e.formData);var t={},n={};e.header&&(t=kr.convertObjectValueToString(e.header)),e.formData&&(n=kr.convertObjectValueToString(e.formData)),e.url=kr.addQueryStringToUrl(e.url,{},!0);var r=window.__wxConfig__,o=e.timeout||r&&r.networkTimeout&&r.networkTimeout.uploadFile||6e4,i=kr.generateRandomId("uploadFile");return e.taskId=i,Pr.invokeMethod("uploadFile",kr.assign({},e,{header:t,formData:n,timeout:o}),{beforeSuccess:function(e){e.statusCode=C()(e.statusCode)}}),Ks("uploadFile",i)}},downloadFile:function(e){if(kr.beforeInvoke("downloadFile",e,{url:""})){e.url=kr.addQueryStringToUrl(e.url,{},!0);var t=window.__wxConfig__;e.timeout=e.timeout||t&&t.networkTimeout&&t.networkTimeout.downloadFile||6e4;var n=kr.generateRandomId("downloadFile");return e.taskId=n,Pr.invokeMethod("downloadFile",e,{beforeSuccess:function(e){e.statusCode=C()(e.statusCode),-1===[200,304].indexOf(e.statusCode)&&delete e.tempFilePath}}),Ks("downloadFile",n)}},getNetworkType:function(e){Pr.invokeMethod("getNetworkType",e)},onNetworkStatusChange:function(e){gn("onNetworkStatusChange").onMethod(e)},offNetworkStatusChange:function(e){gn("onNetworkStatusChange").offMethod(e)}},eu={navigateToMiniProgram:function(e){kr.beforeInvoke("navigateToMiniProgram",e,{appId:""})&&Pr.invokeMethod("navigateToMiniProgram",e)},navigateToWechatMiniProgram:function(e){kr.beforeInvoke("navigateToWechatMiniProgram",e,{originId:""})&&Pr.invokeMethod("navigateToWechatMiniProgram",e)},navigateBackMiniProgram:function(e){Pr.invokeMethod("navigateBackMiniProgram",e)},exitMiniProgram:function(e){Pr.invokeMethod("exitMiniProgram",e)}},tu={verifyPaymentPassword:function(e){Pr.invokeMethod("verifyPaymentPassword",e)},bindPaymentCard:function(e){Pr.invokeMethod("bindPaymentCard",e)},requestPaymentToBank:function(e){Pr.invokeMethod("requestPaymentToBank",e)},addCard:function(e){kr.beforeInvoke("addCard",e,{cardList:[]})&&Pr.invokeMethod("addCard",e)},openCard:function(e){kr.beforeInvoke("openCard",e,{cardList:[]})&&Pr.invokeMethod("openCard",e)}},nu={getSetting:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Pr.invokeMethod("getSetting",e,{beforeSuccess:function(t){t.authSetting&&L()(t.authSetting).forEach((function(e){t.authSetting[e]=Boolean(t.authSetting[e])})),e.withSubscriptions&&(t.subscriptionsSetting={itemSettings:{}})}})},openSetting:function(e){return Pr.invokeMethod("openSetting",e,{beforeSuccess:function(e){var t=e.authSetting||{};for(var n in t)t[n]=Boolean(t[n])}})},requestSubscribeMessage:function(e){return Pr.invokeMethod("requestSubscribeMessage",e)}};var ru={loginSuccess:function(){},checkLogin:function(e){Pr.invokeMethod("checkLogin",e)},authorize:function(e){if(e){if("string"!=typeof e.scope){var t={errMsg:"authorize:fail parameter error: parameter.scope should be String instead of ".concat(ye()(e.scope),";")};return e&&"function"==typeof e.fail&&e.fail(t),void(e&&"function"==typeof e.complete&&e.complete())}Pr.invokeMethod("authorize",e)}},getUserInfo:function(e){Pr.invokeMethod("operateWXData",kr.assign({data:{api_name:"webapi_getuserinfo",data:e.data||{}}},e),{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData","getUserInfo")},beforeSuccess:function(e){try{e.rawData=e.data.rawData,e.userInfo=e.data.userInfo,e.signature=e.data.signature,e.data.encryptData&&(console.group(new Date+" encryptData 字段即将废除"),console.warn("请使用 encryptedData 和 iv 字段进行解密,详见:https://mp.weixin.qq.com/debug/wxadoc/dev/api/open.html"),console.groupEnd(),e.encryptData=e.data.encryptData),e.data.encryptedData&&(e.encryptedData=e.data.encryptedData,e.iv=e.data.iv),delete e.data}catch(e){}}})},getFriends:function(e){Pr.invokeMethod("operateWXData",{data:{api_name:"webapi_getfriends",data:e.data||{}},success:e.success,fail:e.fail,complete:e.complete},{beforeAll:function(e){e.errMsg=e.errMsg.replace("operateWXData","getFriends")},beforeSuccess:function(e){e.rawData=e.data.data;try{e.friends=JSON.parse(e.data.data),e.signature=e.data.signature,delete e.data}catch(e){}}})},getAccountInfoSync:function(){var e,t=null,n={success:function(e){t=e.data||{miniProgram:{},plugin:{}}},fail:function(t){e=t.errMsg}};if(Pr.invokeMethod("getAccountInfoSync",n),e)throw new Error(e);return t}},ou=so,iu=gn("CustomEvent"),au=iu.onMethod,cu=iu.offMethod,su=iu.internalOnMethod,uu={},fu=function(e,t){return"onCustomEvent"===e?"_CustomEvent":t&&e.startsWith("on")?e.slice(2):e},lu={};su((function(e){if(e.name){var t=uu[e.name]||uu[fu(e.name,!0)];t&&t.emit(e.data);var n=lu[fu(e.name)];n&&n.emit(e)}})),Pr.on("onCustomEvent",(function(e){iu.emit(e)}));var du={onCustomEvent:au,offCustomEvent:cu,addCustomEventListener:function(e,t){var n=fu(e);lu[n]||(lu[n]=gn(n)),lu[n].onMethod(t)},removeCustomEventListener:function(e,t){var n=fu(e);lu[n]&&lu[n].offMethod(t)}},hu=gn("AppService-Error"),pu=gn("AppService-UnhandledRejection"),vu=hu.onMethod,gu=hu.offMethod,yu=pu.onMethod,mu=pu.offMethod;Reporter.registerThirdErrorListener((function(e){hu.emit(e)})),Reporter.registerThirdUnhandledRejectionListener((function(e,t){pu.emit({reason:e,promise:t})}));var bu={onError:vu,offError:gu,onUnhandledRejection:yu,offUnhandledRejection:mu},wu=n(244),ku=n.n(wu);Pr.on("onBLEConnectionStateChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBLEConnectionStateChange").emit(e)})),Pr.on("onBLECharacteristicValueChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.value&&(e.value=kr.base64ToArrayBuffer(e.value)),gn("onBLECharacteristicValueChange").emit(e)})),Pr.on("onBluetoothDeviceFound",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.advertisData&&(e.advertisData=kr.base64ToArrayBuffer(e.advertisData)),e&&A()(e.devices)&&e.devices.length>0&&e.devices.forEach((function(e){e.advertisData&&(e.advertisData=kr.base64ToArrayBuffer(e.advertisData))})),gn("onBluetoothDeviceFound").emit(e)})),Pr.on("onBluetoothAdapterStateChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBluetoothAdapterStateChange").emit(e)})),Pr.on("onBLEPeripheralConnectionStateChanged",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBLEPeripheralConnectionStateChanged").emit(e)}));var Su=new ku.a,_u=function(){function e(t){var n=this;ce()(this,e),this.serverId=t,this.services=[],["CharacteristicReadRequest","CharacteristicWriteRequest","CharacteristicSubscribed","CharacteristicUnsubscribed"].forEach((function(e){n["on".concat(e,"Channel")]=gn(e),n["on".concat(e)]=function(t){n["on".concat(e,"Channel")].onMethod(t)},n["off".concat(e)]=function(t){n["on".concat(e,"Channel")].offMethod(t)}})),Su.set(t,this)}return ue()(e,[{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.serverId=this.serverId,Pr.invokeMethod("closeBLEPeripheralServer",e,{beforeSuccess:function(e){},afterSuccess:function(){}}),Su.delete(this.serverId)}},{key:"addService",value:function(e){e.serverId=this.serverId,Pr.invokeMethod("addBLEPeripheralService",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"removeService",value:function(e){e.serverId=this.serverId,Pr.invokeMethod("removeBLEPeripheralService",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"startAdvertising",value:function(e){e.serverId=this.serverId,e.powerLevel||(e.powerLevel="medium"),Pr.invokeMethod("startBLEPeripheralAdvertising",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"stopAdvertising",value:function(e){e.serverId=this.serverId,Pr.invokeMethod("stopBLEPeripheralAdvertising",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}},{key:"writeCharacteristicValue",value:function(e){e.serverId=this.serverId,e.value instanceof ArrayBuffer&&(e.value=kr.arrayBufferToBase64(e.value)),Pr.invokeMethod("writeBLEPeripheralCharacteristicValue",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}}]),e}();["CharacteristicReadRequest","CharacteristicWriteRequest","CharacteristicSubscribed","CharacteristicUnsubscribed"].forEach((function(e){Pr.on("on".concat(e),(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Su.get(t.serverId);if(n){delete t.serverId,t.value&&(t.value=kr.base64ToArrayBuffer(t.value));var r=n["on".concat(e,"Channel")];r&&r.emit(t)}}))})),Pr.on("onBeaconUpdate",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBeaconUpdate").emit(e)})),Pr.on("onBeaconServiceChange",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};gn("onBeaconServiceChange").emit(e)}));var xu={openBluetoothAdapter:function(e){Pr.invokeMethod("openBluetoothAdapter",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},writeBLECharacteristicValue:function(e){e.value instanceof ArrayBuffer&&(e.value=kr.arrayBufferToBase64(e.value)),Pr.invokeMethod("writeBLECharacteristicValue",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},setBLEMTU:function(e){Pr.invokeMethod("setBLEMTU",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},readBLECharacteristicValue:function(e){Pr.invokeMethod("readBLECharacteristicValue",e,{beforeSuccess:function(e){e.value&&(e.value=kr.base64ToArrayBuffer(e.value))},afterSuccess:function(){}})},notifyBLECharacteristicValueChange:function(e){Pr.invokeMethod("notifyBLECharacteristicValueChange",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},makeBluetoothPair:function(e){Pr.invokeMethod("makeBluetoothPair",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBLEDeviceServices:function(e){Pr.invokeMethod("getBLEDeviceServices",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBLEDeviceRSSI:function(e){Pr.invokeMethod("getBLEDeviceRSSI",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBLEDeviceCharacteristics:function(e){Pr.invokeMethod("getBLEDeviceCharacteristics",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},createBLEConnection:function(e){Pr.invokeMethod("createBLEConnection",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},closeBLEConnection:function(e){Pr.invokeMethod("closeBLEConnection",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},stopBluetoothDevicesDiscovery:function(e){Pr.invokeMethod("stopBluetoothDevicesDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},startBluetoothDevicesDiscovery:function(e){if(e&&e.services&&!A()(e.services))return kr.logErr("startBluetoothDevicesDiscovery",e,"services must be an Array");if(e&&e.services&&e.services.length>0){var t=!0;if(e.services.forEach((function(e){"string"!=typeof e&&(t=!1)})),!t)return kr.logErr("startBluetoothDevicesDiscovery",e,"invalid service uuid")}Pr.invokeMethod("startBluetoothDevicesDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getConnectedBluetoothDevices:function(e){if(e&&e.services&&!A()(e.services))return kr.logErr("getConnectedBluetoothDevices",e,"services must be an Array");if(e&&e.services&&e.services.length>0){var t=!0;if(e.services.forEach((function(e){"string"!=typeof e&&(t=!1)})),!t)return kr.logErr("getConnectedBluetoothDevices",e,"invalid service uuid")}Pr.invokeMethod("getConnectedBluetoothDevices",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},getBluetoothDevices:function(e){Pr.invokeMethod("getBluetoothDevices",e,{beforeSuccess:function(e){e&&e.length>0&&e.forEach((function(e){e.advertisData&&(e.advertisData=kr.base64ToArrayBuffer(e.advertisData))}))},afterSuccess:function(){}})},getBluetoothAdapterState:function(e){Pr.invokeMethod("getBluetoothAdapterState",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},closeBluetoothAdapter:function(e){Pr.invokeMethod("closeBluetoothAdapter",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},onBLEConnectionStateChange:function(e){gn("onBLEConnectionStateChange").onMethod(e)},offBLEConnectionStateChange:function(e){gn("onBLEConnectionStateChange").offMethod(e)},onBLECharacteristicValueChange:function(e){gn("onBLECharacteristicValueChange").onMethod(e)},offBLECharacteristicValueChange:function(e){gn("onBLECharacteristicValueChange").offMethod(e)},onBluetoothDeviceFound:function(e){gn("onBluetoothDeviceFound").onMethod(e)},offBluetoothDeviceFound:function(e){gn("onBluetoothDeviceFound").offMethod(e)},onBluetoothAdapterStateChange:function(e){gn("onBluetoothAdapterStateChange").onMethod(e)},offBluetoothAdapterStateChange:function(e){gn("onBluetoothAdapterStateChange").offMethod(e)},createBLEPeripheralServer:function(e){Pr.invokeMethod("createBLEPeripheralServer",e,{beforeSuccess:function(e){var t=e.serverId,n=new _u(t);delete e.serverId,e.server=n}})},offBLEPeripheralConnectionStateChanged:function(e){gn("onBLEPeripheralConnectionStateChanged").offMethod(e)},onBLEPeripheralConnectionStateChanged:function(e){gn("onBLEPeripheralConnectionStateChanged").onMethod(e)},stopBeaconDiscovery:function(e){Pr.invokeMethod("stopBeaconDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},startBeaconDiscovery:function(e){Pr.invokeMethod("startBeaconDiscovery",e,{beforeSuccess:function(e){},afterSuccess:function(){}})},onBeaconUpdate:function(e){gn("onBeaconUpdate").onMethod(e)},onBeaconServiceChange:function(e){gn("onBeaconServiceChange").onMethod(e)},offBeaconUpdate:function(e){gn("onBeaconUpdate").offMethod(e)},offBeaconServiceChange:function(e){gn("onBeaconServiceChange").offMethod(e)},getBeacons:function(e){Pr.invokeMethod("getBeacons",e,{beforeSuccess:function(e){},afterSuccess:function(){}})}};function Cu(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Cu(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}var Iu=0,Eu={loadFont:function(e){if(""!==e){if("string"==typeof e){if(e.startsWith("/")&&(e="."+e),window.isWebviewGame){var t="CustomFont"+Iu++,n=new FontFace(t,"url('"+e+"')");return document.fonts.add(n),n.load(),n.loaded.then((function(){return t}),(function(e){return console.warn("字体加载失败",e),t}))}var r,o;return window.loadFont?window.loadFont(e):(Pr.invokeMethod("loadFontSync",{path:e,success:function(e){try{r=e.data}catch(e){r=""}},fail:function(e){o=e.errMsg}}),o&&console.warn(o),r)}console.warn("loadFont path must be string, got",ye()(e))}else console.warn('loadFont path empty, got ""')},getTextLineHeight:function(e){var t,n;if(e=kr.validate("getTextLineHeight",e,{fontStyle:{type:String,defaultValue:"normal"},fontWeight:{type:String,defaultValue:"normal"},fontSize:{type:Number,defaultValue:16},fontFamily:{type:String},text:{required:!0,type:String}})){if(window.isWebviewGame){var r=document.createElement("div");L()(e).forEach((function(t){"fontSize"===t&&(e[t]=e[t]+"px"),r.style[t]=e[t]})),r.innerHTML=e.text,document.body.appendChild(r);var o=r.getBoundingClientRect().height;return r.remove(),o}Pr.invokeMethod("getTextLineHeight",Mu(Mu({},e),{},{success:function(e){try{t=e.data}catch(e){t=""}},fail:function(e){n=e.errMsg}}))}return n&&console.warn(n),t}},Tu=function(){},Pu={getOpenDataContext:function(){},triggerGC:function(){},getPerformance:function(){return{now:function(){return window.isIDE?_()():1e3*_()()}}},setPreferredFramesPerSecond:function(e){isNaN(e)||(window.setPreferredFramesPerSecond?window.setPreferredFramesPerSecond(e):Pr.invoke("setPreferredFramesPerSecond",{fps:e}),window.frameTime=1e3/e)},getLogManager:function(){return console.warn("getLogManager unsupported"),{info:Tu,warn:Tu,error:Tu,debug:Tu,log:Tu}},getRealtimeLogManager:function(){return console.warn("getRealtimeLogManager unsupported"),{info:Tu,warn:Tu,error:Tu,setFilterMsg:Tu,addFilterMsg:Tu,log:Tu}}};function Au(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ou(e,t){var n=L()(e);if(ke.a){var r=ke()(e);t&&(r=r.filter((function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ou(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):_e.a?Ce()(e,_e()(n)):Ou(Object(n)).forEach((function(t){i()(e,t,c()(n,t))}))}return e}function Bu(e){Ru.__defineGetter__(e,(function(){return"function"==typeof Uu[e]?kr.surroundByTryCatchFactory(Uu[e],"wx."+e):Uu[e]}))}var Fu=[];function ju(e){Fu.includes(e)?console.error("".concat(e," not supported in plugin")):Du.__defineGetter__(e,(function(){return kr.surroundByTryCatchFactory(Uu[e],"wx."+e)}))}var Ru={},Du={},Nu=[],Uu=Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu(Lu({invoke:Pr.invoke,on:Pr.on},Qn),qo),Jo),Yo),ai),si),li),hi),pi),vi),Ai),Bi),Di),Ni),Gi),Ji),oa),Oi),aa),fa),la),Fc),{},{createRewardedVideoAd:function(e){var t=e.adUnitId;e.opts;if(Vc[t])throw new Error(t+"-广告实例已经存在");var n=Object.assign({type:"rewardedVideo"},e),r={events:{},off:function(e,t){var n=this.events[e];if(null!=n)if(null==t)this.events[e]=[];else{var r=n.findIndex((function(e){return e===t}));r>-1&&this.events[e].splice(r,1)}},on:function(e,t){var n=this.events[e];null==n?this.events[e]=[t]:n.push(t)},emit(e,t){var n=this.events[e];if(Array.isArray(n))if(1===n.length)n[0](t);else for(var r=0;r<n.length;r++)n[r](t)}},o={errors:null,listeners:r,load:function(){return new Promise(((e,t)=>{Pr.invokeMethod("ad",Object.assign({method:"load",success:function(){e()},fail:function(e){t(e)}},n))}))},destroy:function(){return new Promise(((e,r)=>{Pr.invokeMethod("ad",Object.assign({method:"destroy",success:function(){delete Vc[t],e()},fail:function(e){r(e)}},n))}))},hide:function(){return new Promise((function(e,t){Pr.invokeMethod("ad",Object.assign({method:"hide",success:function(){e()},fail:function(){t()}},n))}))},show:function(){return new Promise((function(e,t){null!=o.errors&&t("ad instance already occured error: "+JSON.stringify(this$1.errors)),Pr.invokeMethod("ad",Object.assign({method:"show",sucess:function(){e()},fail:function(){t()}},n))}))},offClose:function(e){r.off("onClose",e)},offError:function(e){r.off("onError",e)},offLoad:function(e){r.off("onLoad",e)},onClose:function(e){r.on("onClose",e)},onError:function(e){r.on("onError",e)},onLoad:function(e){r.on("onLoad",e)}};return Vc[t]=o,o},createInnerAudioContext:function(){var e=new Kc;return Nc[e.innerAudioContextId]=e,Ac.onAppEnterBackground((function(t){e._isPlaying&&(e._needPlay=!0),e.pause()})),Ac.onAppEnterForeground((function(t){e._needPlay&&(e._needPlay=!1)})),e},getRecorderManager:function(){return Xc||(Xc=new Zc),Xc}},ls),hs),ps),ms),xs),Zs),eu),tu),nu),ru),ou),du),bu),xu),Eu),Pu),{createGameClubButton:function(){return{show(){},hide(){},destroy(){},onTap(){},offTap(){},style:{},icon:"",type:"",text:"",image:""}},createUserInfoButton:function(){return{show(){},hide(){},destroy(){},onTap(){},offTap(){},style:{},icon:"",type:"",text:"",image:""}}},{onShareAppMessage:function(){},onNativeEvent:function(e){["onCanvasTouchStart","onCanvasTouchMove","onCanvasTouchEnd"].forEach((function(t){Pr.onMethod(t,(function(n,r){e({data:n,eventName:t,webviewId:r})}))}))},onCanvasEvent:function(e){var t=Nu.find((function(t){return t.canvasId===e.canvasId}));t?t.fn=e.fn:Nu.push(e)},getEventChannel:function(e){if(["subPackageLoaded","onGameKeyDown","onGameKeyUp"].includes(e))return gn(e)}});for(var Wu in Pr.subscribe("INVOKE_METHOD",(function(e,t){var n=e.name,r=e.args;r.forwordEvent&&(r.success=function(e){var n=e;n.forwordEventStatus="success",ServiceJSBridge.publish(r.forwordEvent,n,[t])},r.fail=function(e){var n=e;n.forwordEventStatus="fail",ServiceJSBridge.publish(r.forwordEvent,n,[t])},r.complete=function(e){var n=e;n.forwordEventStatus="complete",ServiceJSBridge.publish(r.forwordEvent,n,[t])}),Uu[n](r,!0)})),Pr.subscribe("CANVAS_EVENT_V2",(function(e){var t=e.data.canvasId;Nu.forEach((function(e){e.canvasId===t&&e.fn&&e.fn({errMsg:"drawCanvas:ok"})}))})),Pr.subscribe("WEBVIEW_ERROR_MSG",(function(e,t){var n=e.msg;Reporter.triggerErrorMessage(n)})),Pr.onMethod("onError",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};console.error("thirdScriptError","\n","sdk uncaught third Error","\n",e.message,"\n",e.stack)})),Uu)Bu(Wu),ju(Wu);var Vu={invoke:Pr.invoke,invokeSync:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(window.ServiceJSBridge.pushSdkSyncEvents(e),"object"!==ye()(t))throw new Error("invokeSync 参数只支持 object 类型");try{t=JSON.parse(le()(t))}catch(e){throw new Error("invokeSync 参数中 object 的 key 值仅支持基本类型")}var r="";return t.success=function(e){r=e},t.fail=function(e){r=e},t._sync=!0,Pr.invokeMethod(e,t,n),r},addEventListener:function(e,t){var n=fu(e,!0);uu[n]||(uu[n]=gn(n)),uu[n].onMethod(t)},removeEventListener:function(e,t){var n=fu(e,!0);uu[n]&&uu[n].offMethod(t)}};function Gu(e){e.name&&(Ru[e.name]&&!e.overwrite||(Ru[e.name]=function(t){var n=t||{};if(!e.params||kr.beforeInvoke(e.name,n,e.params)){if(e.fn)return e.fn.call(Vu,t);if(n._sync=e.sync||!1,e.sync)return Vu.invokeSync(e.name,n,e.option);Pr.invokeMethod(e.name,n,e.option)}}))}Ru.env={USER_DATA_PATH:window.__revuejs_user_data_path||"hyfile://usr"},Ru.loadExtApi=function(e){if(e){var t=kr.getDataType(e);if("Array"===t){var n,r=function(e,t){var n=void 0!==nn.a&&e[on.a]||e["@@iterator"];if(!n){if(A()(e)||(n=function(e,t){if(e){if("string"==typeof e)return Au(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?en()(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Au(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}(e);try{for(r.s();!(n=r.n()).done;)Gu(n.value)}catch(e){r.e(e)}finally{r.f()}}else"Object"===t&&Gu(e)}},Ru.loadExtApi([{name:"login"},{name:"getUserProfile"},{name:"checkSession"},{name:"requestPayment"}]),window.FinChatExtApiConf&&Ru.loadExtApi(window.FinChatExtApiConf),window.FinClipExtApiConf&&Ru.loadExtApi(window.FinClipExtApiConf),window.onerror=function(e,t,n,r,o){"Script error."!==e&&(Reporter.errorReport({key:"appServiceScriptError",error:o}),console.error(o))},"function"==typeof window.addEventListener&&window.addEventListener("unhandledrejection",(function(e){Reporter.thirdErrorReport({key:"appServiceScriptError",promise:e.promise,error:e.reason}),e.preventDefault()})),window.wx=Ru,window.ft=Ru,window.wxPlugin=Du;var qu=n(245),zu=n.n(qu);if(W);else if(R){var Hu=new NativeGlobal.GlobalUtils;window.performance={now:function(){return Hu.performanceNow()}},window.setTimeout=function(e,t){return Hu.setTimeout(e,t||0)},window.setInterval=function(e,t){return Hu.setInterval(e,t||0)},window.clearTimeout=function(e){return Hu.clearTimeout(e)},window.clearInterval=function(e){return Hu.clearInterval(e)},window.requestAnimationFrame=function(e){return Hu.requestAnimationFrame((function(){e(Hu.performanceNow())}))},window.cancelAnimationFrame=function(e){return Hu.cancelAnimationFrame(e)},window.loadFont=function(e){return Hu.loadFont(e)},window.setPreferredFramesPerSecond=function(e){return Hu.setPreferredFramesPerSecond(e)}}else{var Ku=["setTimeout","clearTimeout","setInterval","clearInterval"];if(Ku.every((function(e){return NativeGlobal[e]})))Ku.forEach((function(e){var t=NativeGlobal[e];t&&(window[e]=t.bind(NativeGlobal))}));else{var Ju=function(){return Yu++},Xu={},Yu=(new zu.a,1);j&&(ServiceJSBridge.on("onSetTimeout",(function(e,t){var n=e.timeoutID||e.callbackId||"";"function"==typeof Xu[n]&&(Xu[n](),delete Xu[n])}),"onSetTimeout"),ServiceJSBridge.on("onSetInterval",(function(e,t){var n=e.timeoutID||e.callbackId||"";"function"==typeof Xu[n]&&Xu[n]()}),"onSetInterval"),window.setTimeout=function(e,t){if("function"!=typeof e)throw new TypeError("setTimetout expects a function as first argument but got "+ye()(e)+".");t=void 0===t?0:t;var n=Reporter.surroundThirdByTryCatch(e,"at setTimeout callback function"),r=Ju();return Xu[r]=n,ServiceJSBridge.publish("setTimeout",{delay:t,timeoutID:r,callbackId:r,timer:t},""),r},window.setInterval=function(e,t){if("function"!=typeof e)throw new TypeError("setTimetout expects a function as first argument but got "+ye()(e)+".");var n=Reporter.surroundThirdByTryCatch(e,"at setTimeout callback function"),r=Ju();return Xu[r]=n,t||(t=1e3),ServiceJSBridge.publish("setInterval",{delay:t,timeoutID:r,callbackId:r,timer:t},""),r},window.clearTimeout=function(e){ServiceJSBridge.publish("clearTimeout",e,""),delete Xu[e]},window.clearInterval=function(e){for(var t in ServiceJSBridge.publish("clearTimeout",e,""),Xu)if(t===e){delete Xu[t];break}})}}n(505),n(506);var $u={readZipEntry:"readZipEntryFrameCallback",camera:"cameraFrameCallback",recorderManager:"recorderManagerFrameCallback"};setTimeout((function(){(kr.isIOS||jo())&&(window.bigData=function(e){var t=e.target;t&&$u[t]&&gn($u[t]).emit(e)})}),0);var Qu={},Zu=null,ef=[],tf=!1,nf=!1,rf=!1,of=function(e){var t=function(e){var t=e.match(/(.*)\/([^\/]+)?$/);return t&&t[1]?t[1]:"./"}(e),n=function(e,n,r){if("string"!=typeof e)throw new Error("require args must be a string");var o=!1;if(tf){var i=function(e){var t={key:""},n=!1;if(ef.forEach((function(r){e.startsWith(r.key)&&t.key.length<r.key.length&&(t=r,n=!0)})),n){var r=e.replace(t.key,t.value);return"/"===r[0]&&(r=r.slice(1)),{path:r,tag:!0}}return{path:e,tag:!1}}(e);e=i.path,o=i.tag}var a=!1,c=t;lf&&(c.startsWith(lf.slice(0,-1))||c.startsWith("@babel"))&&(c.startsWith(lf.slice(0,-1))&&(c=c.substring(lf.length)),a=!0);for(var s,u=[],f=(s=o?("/"+e).split("/"):(c+"/"+e).split("/")).length,l=0;l<f;++l){var d=s[l];if(""!==d&&"."!==d)if(".."===d){if(0===u.length)throw new Error("can't find module : "+e);u.pop()}else l+1<f&&".."===s[l+1]?l++:u.push(d)}var h=lf&&!a?e:u.join("/");try{return sf(h,n,r)}catch(o){return cf(e,n,r,h,t)}};return n.async=function(e){return new b.a((function(t,r){try{return n(e,t,r)}catch(e){r(e)}}))},n},af=function(e){var t=e+"/index.js";return Qu[t]?t:(/\.js$/.test(t=e)||(t+=".js"),Qu[t]?t:"")},cf=function(e,t,n,r,o){for(var i,a="./"===o?[]:o.split("/"),c="";a.length&&(i=a.join("/")+"/miniprogram_npm/"+e,!(c=af(i)));)a.pop();return c||(c=af(i="miniprogram_npm/"+e)),sf(c||r,t,n,e)},sf=function e(t,n,r,o){if("string"!=typeof t)throw new Error("require args must be a string");/\.js$/.test(t)||(t+=".js"),lf&&(t=lf+t),rf&&"game.js"===t&&(t="custom-".concat(t)),rf=rf||"game.js"===t;var i=Qu[t];if("function"!=typeof n){if(!i)throw new Error("module '".concat(t,"' is not defined, require args is '").concat(o,"'"));if(1===i.status){var a,c,s,u=i.factory;if(Qu[t]={exports:{__esModule:!0}},a=Zu.window,c=Zu.document,s=a.XMLHttpRequest,u)try{i.status=2,u(of(t),Qu[t],Qu[t].exports,a,c,a,s,Zu.window.hyExt,Zu.window.Taf,a)}catch(e){console.log(t),console.log(e)}Qu[t].status=3}var f=Qu[t].exports;if(f&&f.__esModule&&!f.default)try{f.default=f}catch(r){}return f}var l=function(e){("function"==typeof r?r:function(){})({errMsg:e.message||"async require: fail",mod:t})};i?setTimeout((function(){return function(){try{var t=e.apply(void 0,arguments);n(t)}catch(e){l(e)}}(t)})):l(new Error('module "'+t+'" is not defined'))},uf={};window.isNewPlugin=!1;var ff={},lf=!1,df={};__wxConfig.beforeReady((function(){var e;e=__wxConfig__.resolveAlias||{},L()(e).length&&(tf=!0,L()(e).forEach((function(t){var n=e[t];t.endsWith("*")&&(t=t.slice(0,-1)),n.endsWith("*")&&(n=n.slice(0,-1),ef.push({key:t,value:n}))})))})),window.define=function(e,t,n){lf&&(e=lf+e),nf&&"game.js"===e&&(e="custom-".concat(e)),nf=nf||"game.js"===e,Qu[e]||(Qu[e]={status:1,factory:function(){try{for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n?t.apply(void 0,o.concat([window.wxPlugin])):t.apply(void 0,o)}catch(t){Je.thirdErrorReport({error:t,extend:"\n at "+e}),console.error("".concat(e,": "),t)}},exports:{}})},window.require=sf,window.requirePlugin=function(e,t){if("string"!=typeof e)throw new Error("require args must be a string");function n(e){var t;try{t=sf(e)}catch(e){}return t}if(e.startsWith("plugin://"))lf=e+"/";else{var r=e.split("/")[0];ff[r]&&(lf="plugin://"+ff[r].id+"/")}var o=window.isNewPlugin?function(e){var r=e,o=e;if(ff[r])o=ff[r].key,r="plugin://"+ff[r].id;else if(r.startsWith("plugin://")){var i=r.replace("plugin://","");if(o=L()(ff).find((function(e){return ff[e].id===i})),null==o&&Qu[r])return n(r)}else{var a=r.split("/"),c=a[0],s=a.slice(1),u=s.length>1?s.join("/"):s[0]||"unknown",f="plugin://"+ff[c].id+"/"+u;if(Qu[f])return n(f)}var l,d=uf[r];if(!d)throw new Error('plugin module "'+r+'" is not defined');if(1===d.status){var h=d.factory;if(uf[r]={exports:{__esModule:!0}},h)try{d.status=2,h(of(r),uf[r],uf[r].exports,wx)}catch(e){console.log(e)}uf[r].status=3}if(!t)try{var p=lf?ff[o].main:r+"/"+ff[o].main;l=sf(p)}catch(e){}return l}(e):function(e){var t=e,n=__wxConfig__.plugins[t];if(n||(n=(t=L()(__wxConfig__.plugins).find((function(t){return __wxConfig__.plugins[t].id===e})))&&__wxConfig__.plugins[t]),n&&n.main){var r="plugin/".concat(t,"/").concat(n.main);if(!Qu[r])throw new Error('plugin "'+e+'" is not exported');return sf(r)}throw new Error('plugin "'+e+'" is not exported')}(e);return e.startsWith("plugin://")&&(lf=!1),o},window.definePlugin=function(e,t){ff=__wxConfig__.plugins||{},window.isNewPlugin=!0;var n,r=e.replace("plugin://",""),o=L()(ff).find((function(e){return ff[e].id===r}));if(!uf[e]){var i=function(e,t){var n={};df[e]={wx:n,appId:e,version:t};var r=function(e){n.__defineGetter__(e,(function(){return t=window.wxPlugin[e],r=n,o="wx."+e,function(){try{return t.apply(r,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"===e.type||"ConnectSocketError"===e.type)throw e;Reporter.errorReport({key:"appServiceSDKScriptError",error:e,extend:o})}}};var t,r,o}))};for(var o in window.wxPlugin)r(o);return n}((n=ff[o]).id,n.version);uf[e]={status:1,factory:function(){try{return t.apply(void 0,arguments)}catch(t){console.error("".concat(e,": "),t)}},exports:{},wx:i}}},window.__moduleArr=Qu,window.__pluginWxMap=df,wx.version={info:"",updateTime:"3/22/2024, 4:27:52 PM",version:"1.0.0"},window.__vd_version_info__={noCss:!0},console.info("基础库版本: ".concat("1.0.0"));var hf={};window.sharedCanvas=hf,delete window.CSS;var pf=hf.__proto__.__proto__;hf.__proto__=new Proxy(hf.__proto__,{setPrototypeOf:function(e,t){return pf=t,!0},getPrototypeOf:function(){return pf}});var vf=window.WebAssembly;if(vf){var gf=window.WebAssembly.instantiate.bind(window.WebAssembly);vf.instantiate=function(e,t){if("string"==typeof e){var n=wx.getFileSystemManager().readFileSync(e,"binary");return gf(n,t)}return gf(e,t)}}var yf,mf={},bf=window.XMLHttpRequest,wf=new Proxy(mf,{get:function(e,t){return mf&&mf[t]||window.document&&window.document[t]},set:function(e,t,n){mf[t]=n},defineProperty:function(e,t,n){return i()(mf,t,n),!0}}),kf={},Sf={},_f=new Proxy({},{getOwnPropertyDescriptor:function(e,t){var n=c()(window,t);return n&&!1===n.configurable&&u()(e,t,n),n},has:function(e,t){return t in window},get:function(e,t,n){switch(t){case"performance":return wx.getPerformance();case"sharedCanvas":return hf;case"WXWebAssembly":return vf;case"document":return wf;case"XMLHttpRequest":return bf;case"hyExt":return parent.window.hyExt;case"innerWidth":return parent.window.innerWidth;case"innerHeight":return parent.window.innerHeight;case"Taf":return parent.window.Taf;case"performanceInfo":return parent.window.performanceInfo;case"isIOSHighPerformanceMode":return __wxConfig__&&__wxConfig__.iOSHighPerformanceMode||!1}var r=window[t];return"function"!=typeof r||kf[t]?r:r.bind(window)},set:function(e,t,n){var r=c()(window,t);return"document"===t&&(mf=l()(mf,n)),"XMLHttpRequest"===t?(bf=n,!0):(void 0===r&&(kf[t]=!0),r&&!0!==r.configurable||"window"===t||i()(window,t,{value:n,configurable:!0,writable:!0}),!0)},defineProperty:function(e,t,n){var r=c()(window,t);return r&&!0!==r.configurable||("XMLHttpRequest"===t?bf=n.value:i()(window,t,n)),!0}});i()(Sf,"window",{get:function(){return _f},set:function(e){}}),i()(Sf,"document",{get:function(){return wf},set:function(e){}}),window.GameGlobal=Sf.window,Zu=yf=Sf,delete window.indexedDB,window.eval=void 0,window.isWebviewGame&&"function"==typeof window.onServiceReady&&window.onServiceReady({isIOS:ServiceJSBridge.isIOS,isAndroid:ServiceJSBridge.isAndroid}),ServiceJSBridge.publish("gameServiceReady",{})}]),window.__serviceEndTime__=Date.now();
|