UNPKG

jslib-tools

Version:

js工具库 封装常用的工具函数 如深拷贝 时间转换日期格式化、浏览器判断等,提高开发效率

5 lines 71.3 kB
/*! * jtools v0.1.6 * jlb web team */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("regenerator-runtime")):"function"==typeof define&&define.amd?define(["regenerator-runtime"],e):t.jtools=e(t.regeneratorRuntime)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;function a(t){return isNaN(t=+t)?0:(0<t?n:e)(t)}function u(t){if(null==t)throw TypeError("Can't call method on "+t);return t}var e=Math.ceil,n=Math.floor;function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function o(t,e){return t(e={exports:{}},e.exports),e.exports}function c(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}function l(t){return"object"==typeof t?null!==t:"function"==typeof t}function p(t){try{return!!t()}catch(t){return!0}}o(function(t){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),o(function(t){t=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)}).version,p(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a});function i(t){return T?M.createElement(t):{}}function h(t){if(!l(t))throw TypeError(t+" is not an object!");return t}function s(t,e){if(!l(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!l(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!l(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!l(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}function m(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function v(r,o,t){if(c(r),void 0===o)return r;switch(t){case 1:return function(t){return r.call(o,t)};case 2:return function(t,e){return r.call(o,t,e)};case 3:return function(t,e,n){return r.call(o,t,e,n)}}return function(){return r.apply(o,arguments)}}function g(t,e){return D.call(t,e)}function f(t){return L.call(t).slice(8,-1)}function d(t){return F(u(t))}function y(t){return 0<t?I(a(t),9007199254740991):0}function b(t,e){var n,r=d(t),o=0,i=[];for(n in r)n!=H&&g(r,n)&&i.push(n);for(;e.length>o;)g(r,n=e[o++])&&(~W(i,n)||i.push(n));return i}function w(){}function _(t,e,n){t&&!g(t=n?t:t.prototype,it)&&ot(t,it,{configurable:!0,value:e})}var x,O=o(function(t){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),S=O.document,j=(l(S)&&l(S.createElement),!p(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),M=O.document,T=l(M)&&l(M.createElement),E=(j||p(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}),!j&&!p(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})),k=Object.defineProperty,P={f:j?Object.defineProperty:function(t,e,n){if(h(t),e=s(e,!0),h(n),E)try{return k(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},A=o(function(t){t=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)}),C=(A.version,j?function(t,e,n){return P.f(t,e,m(1,n))}:function(t,e,n){return t[e]=n,t}),D={}.hasOwnProperty,L={}.toString,F=(Object("z").propertyIsEnumerable(0)&&Object,Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==f(t)?t.split(""):Object(t)}),I=Math.min,B=Math.max,N=Math.min,R=(o(function(t){var e="__core-js_shared__",n=O[e]||(O[e]={});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:A.version,mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),o(function(t){var e="__core-js_shared__",n=O[e]||(O[e]={});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:A.version,mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),U=0,z=Math.random(),J=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++U+z).toString(36))},G=(R("keys"),R("keys")),K=function(t){return G[t]||(G[t]=J(t))},W=(K("IE_PROTO"),x=!1,function(t,e,n){var r,o=d(t),i=y(o.length),u=(t=i,(n=a(n=n))<0?B(n+t,0):N(n,t));if(x&&e!=e){for(;u<i;)if((r=o[u++])!=r)return!0}else for(;u<i;u++)if((x||u in o)&&o[u]===e)return x||u||0;return!x&&-1}),H=K("IE_PROTO"),V="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),$=Object.keys||function(t){return b(t,V)},q=O.document,Z=(q&&q.documentElement,j?Object.defineProperties:function(t,e){h(t);for(var n,r=$(e),o=r.length,i=0;i<o;)P.f(t,n=r[i++],e[n]);return t}),Y=O.document,Q=Y&&Y.documentElement,X=(K("IE_PROTO"),o(function(t){var e=R("wks"),n=O.Symbol,r="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=r&&n[t]||(r?n:J)("Symbol."+t))}).store=e}),o(function(t){var e=R("wks"),n=O.Symbol,r="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=r&&n[t]||(r?n:J)("Symbol."+t))}).store=e})),tt=(X("toStringTag"),K("IE_PROTO")),et="prototype",nt=function(){var t=i("iframe"),e=V.length;for(t.style.display="none",Q.appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),nt=t.F;e--;)delete nt[et][V[e]];return nt()},rt=Object.create||function(t,e){var n;return null!==t?(w[et]=h(t),n=new w,w[et]=null,n[tt]=t):n=nt(),void 0===e?n:Z(n,e)},ot=P.f,it=X("toStringTag");C({},X("iterator"),function(){return this});function ut(t){return Object(u(t))}K("IE_PROTO");var at="prototype",ct=function(t,e,n){var r,o,i,u=t&ct.F,a=t&ct.G,c=t&ct.S,s=t&ct.P,f=t&ct.B,l=t&ct.W,p=a?A:A[e]||(A[e]={}),h=p[at],d=a?O:c?O[e]:(O[e]||{})[at];for(r in n=a?e:n)(o=!u&&d&&void 0!==d[r])&&g(p,r)||(i=(o?d:n)[r],p[r]=a&&"function"!=typeof d[r]?n[r]:f&&o?v(i,O):l&&d[r]==i?function(r){function t(t,e,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(t);case 2:return new r(t,e)}return new r(t,e,n)}return r.apply(this,arguments)}return t[at]=r[at],t}(i):s&&"function"==typeof i?v(Function.call,i):i,s&&((p.virtual||(p.virtual={}))[r]=i,t&ct.R&&h&&!h[r]&&C(h,r,i)))};ct.F=1,ct.G=2,ct.S=4,ct.P=8,ct.B=16,ct.W=32,ct.U=64,ct.R=128;var st=ct,ft=C,lt={},pt={};C(pt,X("iterator"),function(){return this});function ht(){return this}function dt(t,e,n,r,o,i,u){function a(t){if(!wt&&t in d)return d[t];switch(t){case"keys":case _t:return function(){return new n(this,t)}}return function(){return new n(this,t)}}y=e,(g=n).prototype=rt(pt,{next:m(1,r)}),_(g,y+" Iterator");var c,s,f,l=e+" Iterator",p=o==_t,h=!1,d=t.prototype,v=d[bt]||d["@@iterator"]||o&&d[o],r=v||a(o),g=o?p?a("entries"):r:void 0,y="Array"==e&&d.entries||v;if(y&&(f=yt(y.call(new t)))!==Object.prototype&&f.next&&_(f,l,!0),p&&v&&v.name!==_t&&(h=!0,r=function(){return v.call(this)}),u&&(wt||h||!d[bt])&&C(d,bt,r),lt[e]=r,lt[l]=ht,o)if(c={values:p?r:a(_t),keys:i?r:a("keys"),entries:g},u)for(s in c)s in d||ft(d,s,c[s]);else st(st.P+st.F*(wt||h),e,c);return c}var vt=K("IE_PROTO"),gt=Object.prototype,yt=Object.getPrototypeOf||function(t){return t=ut(t),g(t,vt)?t[vt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?gt:null},mt=(X("iterator"),[].keys&&0 in[].keys(),function(i){return function(t,e){var n,r=String(u(t)),o=a(e),t=r.length;return o<0||t<=o?i?"":void 0:(e=r.charCodeAt(o))<55296||56319<e||o+1===t||(n=r.charCodeAt(o+1))<56320||57343<n?i?r.charAt(o):e:i?r.slice(o,o+2):n-56320+(e-55296<<10)+65536}}),bt=X("iterator"),wt=!([].keys&&"next"in[].keys()),_t="values",xt=mt(!0);dt(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,e=this._i;return e>=t.length?{value:void 0,done:!0}:(e=xt(t,e),this._i+=e.length,{value:e,done:!1})});function Ot(t,e){return{value:e,done:!!t}}dt(Array,"Array",function(t,e){this._t=d(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,Ot(1)):Ot(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values");lt.Arguments=lt.Array;dt(Array,"Array",function(t,e){this._t=d(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,Ot(1)):Ot(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values");lt.Arguments=lt.Array;for(var St=X("toStringTag"),jt="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(","),Mt=0;Mt<jt.length;Mt++){var Tt=jt[Mt],Et=O[Tt],Et=Et&&Et.prototype;Et&&!Et[St]&&C(Et,St,Tt),lt[Tt]=lt.Array}X("toStringTag"),f(function(){return arguments}()),X("iterator");function kt(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(t=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Ft))?t:It?f(e):"Object"==(t=f(e))&&"function"==typeof e.callee?"Arguments":t}function Pt(e,t,n,r){try{return r?t(h(n)[0],n[1]):t(n)}catch(t){n=e.return;throw void 0!==n&&h(n.call(e)),t}}function At(t){return void 0!==t&&(lt.Array===t||Rt[Nt]===t)}function Ct(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}function Dt(){var t,e=+this;$t.hasOwnProperty(e)&&(t=$t[e],delete $t[e],t())}var Lt,Ft=X("toStringTag"),It="Arguments"==f(function(){return arguments}()),Bt=X("iterator"),Nt=(A.getIteratorMethod=function(t){if(null!=t)return t[Bt]||t["@@iterator"]||lt[kt(t)]},X("iterator")),Rt=Array.prototype,Ut=X("iterator"),zt=A.getIteratorMethod=function(t){if(null!=t)return t[Ut]||t["@@iterator"]||lt[kt(t)]},Jt=(o(function(t){var l={},p={},t=t.exports=function(t,e,n,r,o){var i,u,a,c,o=o?function(){return t}:zt(t),s=v(n,r,e?2:1),f=0;if("function"!=typeof o)throw TypeError(t+" is not iterable!");if(At(o)){for(i=y(t.length);f<i;f++)if((c=e?s(h(u=t[f])[0],u[1]):s(t[f]))===l||c===p)return c}else for(a=o.call(t);!(u=a.next()).done;)if((c=Pt(a,s,u.value,e))===l||c===p)return c};t.BREAK=l,t.RETURN=p}),X("species"),O.process),Gt=O.setImmediate,Kt=O.clearImmediate,Wt=O.MessageChannel,Ht=O.Dispatch,Vt=0,$t={},qt="onreadystatechange",S=function(t){Dt.call(t.data)};Gt&&Kt||(Kt=function(t){delete $t[t]},"process"==f(Jt)?Lt=function(t){Jt.nextTick(v(Dt,t,1))}:Ht&&Ht.now?Lt=function(t){Ht.now(v(Dt,t,1))}:Wt?(ue=(re=new Wt).port2,re.port1.onmessage=S,Lt=v(ue.postMessage,ue,1)):O.addEventListener&&"function"==typeof postMessage&&!O.importScripts?(Lt=function(t){O.postMessage(t+"","*")},O.addEventListener("message",S,!1)):Lt=qt in i("script")?function(t){Q.appendChild(i("script"))[qt]=function(){Q.removeChild(this),Dt.call(t)}}:function(t){setTimeout(v(Dt,t,1),0)});function Zt(){var t,e=+this;ee.hasOwnProperty(e)&&(t=ee[e],delete ee[e],t())}var Yt,Qt=O.process,q=O.setImmediate,Y=O.clearImmediate,K=O.MessageChannel,Xt=O.Dispatch,te=0,ee={},ne="onreadystatechange",Gt=function(t){Zt.call(t.data)};q&&Y||(q=function(t){for(var e=[],n=1;n<arguments.length;)e.push(arguments[n++]);return ee[++te]=function(){Ct("function"==typeof t?t:Function(t),e)},Yt(te),te},Y=function(t){delete ee[t]},"process"==f(Qt)?Yt=function(t){Qt.nextTick(v(Zt,t,1))}:Xt&&Xt.now?Yt=function(t){Xt.now(v(Zt,t,1))}:K?(Re=(De=new K).port2,De.port1.onmessage=Gt,Yt=v(Re.postMessage,Re,1)):O.addEventListener&&"function"==typeof postMessage&&!O.importScripts?(Yt=function(t){O.postMessage(t+"","*")},O.addEventListener("message",Gt,!1)):Yt=ne in i("script")?function(t){Q.appendChild(i("script"))[ne]=function(){Q.removeChild(this),Zt.call(t)}}:function(t){setTimeout(v(Zt,t,1),0)});var Kt={set:q,clear:Y},Wt=(O.MutationObserver||O.WebKitMutationObserver,O.process),re=(O.Promise,f(Wt),O.navigator);re&&re.userAgent;function oe(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=c(n),this.reject=c(r)}var ie={f:function(t){return new oe(t)}},ue=(X("species"),X("iterator"));try{[7][ue]().return=function(){}}catch(t){}function ae(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}function ce(t,e){var n;return void 0===(t=h(t).constructor)||null==(n=h(t)[de])?e:c(n)}function se(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}function fe(t,e){return h(t),l(e)&&e.constructor===t?e:((0,(t=ie.f(t)).resolve)(e),t.promise)}function le(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:C(t,r,e[r]);return t}function pe(t){t=("function"==typeof A[t]?A:O)[t],j&&t&&!t[_e]&&P.f(t,_e,{configurable:!0,get:function(){return this}})}var he=o(function(t){var l={},p={},t=t.exports=function(t,e,n,r,o){var i,u,a,c,o=o?function(){return t}:zt(t),s=v(n,r,e?2:1),f=0;if("function"!=typeof o)throw TypeError(t+" is not iterable!");if(At(o)){for(i=y(t.length);f<i;f++)if((c=e?s(h(u=t[f])[0],u[1]):s(t[f]))===l||c===p)return c}else for(a=o.call(t);!(u=a.next()).done;)if((c=Pt(a,s,u.value,e))===l||c===p)return c};t.BREAK=l,t.RETURN=p}),de=X("species"),ve=Kt.set,ge=O.MutationObserver||O.WebKitMutationObserver,ye=O.process,me=O.Promise,be="process"==f(ye),S=function(){function t(){var t,e;for(be&&(t=ye.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?o():r=void 0,t}}r=void 0,t&&t.enter()}var n,r,e,o,i,u;return o=be?function(){ye.nextTick(t)}:!ge||O.navigator&&O.navigator.standalone?me&&me.resolve?(e=me.resolve(void 0),function(){e.then(t)}):function(){ve.call(O,t)}:(i=!0,u=document.createTextNode(""),new ge(t).observe(u,{characterData:!0}),function(){u.data=i=!i}),function(t){t={fn:t,next:void 0};r&&(r.next=t),n||(n=t,o()),r=t}},K=O.navigator,we=K&&K.userAgent||"",_e=X("species"),xe=X("iterator"),Oe=!1;try{[7][xe]().return=function(){Oe=!0}}catch(t){}function Se(){}function je(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e}function Me(f,e){var n;f._n||(f._n=!0,n=f._c,Fe(function(){for(var c=f._v,s=1==f._s,t=0;n.length>t;)!function(t){var e,n,r,o=s?t.ok:t.fail,i=t.resolve,u=t.reject,a=t.domain;try{o?(s||(2==f._h&&He(f),f._h=1),!0===o?e=c:(a&&a.enter(),e=o(c),a&&(a.exit(),r=!0)),e===t.promise?u(Be("Promise-chain cycle")):(n=je(e))?n.call(e,i,u):i(e)):u(c)}catch(t){a&&!r&&a.exit(),u(t)}}(n[t++]);f._c=[],f._n=!1,e&&!f._h&&Ke(f)}))}function Te(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),Me(e,!0))}var Ee,ke,Pe,Ae,Ce,De=function(t,e){if(!e&&!Oe)return!1;var n=!1;try{var r=[7],o=r[xe]();o.next=function(){return{done:n=!0}},r[xe]=function(){return o},t(r)}catch(t){}return n},Le=Kt.set,Fe=S(),Ie="Promise",Be=O.TypeError,Ne=O.process,Re=Ne&&Ne.versions,Ue=Re&&Re.v8||"",ze=O[Ie],Je="process"==kt(Ne),Ge=ke=ie.f,Gt=!!function(){try{var t=ze.resolve(1),e=(t.constructor={})[X("species")]=function(t){t(Se,Se)};return(Je||"function"==typeof PromiseRejectionEvent)&&t.then(Se)instanceof e&&0!==Ue.indexOf("6.6")&&-1===we.indexOf("Chrome/66")}catch(t){}}(),Ke=function(o){Le.call(O,function(){var t,e,n=o._v,r=We(o);if(r&&(t=se(function(){Je?Ne.emit("unhandledRejection",n,o):(e=O.onunhandledrejection)?e({promise:o,reason:n}):(e=O.console)&&e.error&&e.error("Unhandled promise rejection",n)}),o._h=Je||We(o)?2:1),o._a=void 0,r&&t.e)throw t.v})},We=function(t){return 1!==t._h&&0===(t._a||t._c).length},He=function(e){Le.call(O,function(){var t;Je?Ne.emit("rejectionHandled",e):(t=O.onrejectionhandled)&&t({promise:e,reason:e._v})})},Ve=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw Be("Promise can't be resolved itself");(n=je(t))?Fe(function(){var e={_w:r,_d:!1};try{n.call(t,v(Ve,e,1),v(Te,e,1))}catch(t){Te.call(e,t)}}):(r._v=t,r._s=1,Me(r,!1))}catch(t){Te.call({_w:r,_d:!1},t)}}};Gt||(ze=function(t){ae(this,ze,Ie,"_h"),c(t),Ee.call(this);try{t(v(Ve,this,1),v(Te,this,1))}catch(t){Te.call(this,t)}},(Ee=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=le(ze.prototype,{then:function(t,e){var n=Ge(ce(this,ze));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Je?Ne.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Me(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Pe=function(){var t=new Ee;this.promise=t,this.resolve=v(Ve,t,1),this.reject=v(Te,t,1)},ie.f=Ge=function(t){return t===ze||t===Ae?new Pe:ke(t)}),st(st.G+st.W+st.F*!Gt,{Promise:ze}),_(ze,Ie),pe(Ie),Ae=A[Ie],st(st.S+st.F*!Gt,Ie,{reject:function(t){var e=Ge(this);return(0,e.reject)(t),e.promise}}),st(st.S+!0*st.F,Ie,{resolve:function(t){return fe(this===Ae?ze:this,t)}}),st(st.S+st.F*!(Gt&&De(function(t){ze.all(t).catch(Se)})),Ie,{all:function(t){var u=this,e=Ge(u),a=e.resolve,c=e.reject,n=se(function(){var r=[],o=0,i=1;he(t,!1,function(t){var e=o++,n=!1;r.push(void 0),i++,u.resolve(t).then(function(t){n||(n=!0,r[e]=t,--i||a(r))},c)}),--i||a(r)});return n.e&&c(n.v),e.promise},race:function(t){var e=this,n=Ge(e),r=n.reject,o=se(function(){he(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}}),st(st.P+st.R,"Promise",{finally:function(e){var n=ce(this,A.Promise||O.Promise),t="function"==typeof e;return this.then(t?function(t){return fe(n,e()).then(function(){return t})}:e,t?function(t){return fe(n,e()).then(function(){throw t})}:e)}}),st(st.S,"Promise",{try:function(t){var e=ie.f(this),t=se(t);return(t.e?e.reject:e.resolve)(t.v),e.promise}}),(Ce=Object.freeze({}))&&Ce.default;var $e=mt(!0);dt(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,e=this._i;return e>=t.length?{value:void 0,done:!0}:(e=$e(t,e),this._i+=e.length,{value:e,done:!1})});for(var qe=X("toStringTag"),Ze="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(","),Ye=0;Ye<Ze.length;Ye++){var Qe=Ze[Ye],Xe=O[Qe],Xe=Xe&&Xe.prototype;Xe&&!Xe[qe]&&C(Xe,qe,Qe),lt[Qe]=lt.Array}function tn(){}function en(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e}function nn(f,e){var n;f._n||(f._n=!0,n=f._c,fn(function(){for(var c=f._v,s=1==f._s,t=0;n.length>t;)!function(t){var e,n,r,o=s?t.ok:t.fail,i=t.resolve,u=t.reject,a=t.domain;try{o?(s||(2==f._h&&wn(f),f._h=1),!0===o?e=c:(a&&a.enter(),e=o(c),a&&(a.exit(),r=!0)),e===t.promise?u(pn("Promise-chain cycle")):(n=en(e))?n.call(e,i,u):i(e)):u(c)}catch(t){a&&!r&&a.exit(),u(t)}}(n[t++]);f._c=[],f._n=!1,e&&!f._h&&mn(f)}))}function rn(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),nn(e,!0))}var on,un,an,cn,sn=Kt.set,fn=S(),ln="Promise",pn=O.TypeError,hn=O.process,q=hn&&hn.versions,dn=q&&q.v8||"",vn=O[ln],gn="process"==kt(hn),yn=un=ie.f,Y=!!function(){try{var t=vn.resolve(1),e=(t.constructor={})[X("species")]=function(t){t(tn,tn)};return(gn||"function"==typeof PromiseRejectionEvent)&&t.then(tn)instanceof e&&0!==dn.indexOf("6.6")&&-1===we.indexOf("Chrome/66")}catch(t){}}(),mn=function(o){sn.call(O,function(){var t,e,n=o._v,r=bn(o);if(r&&(t=se(function(){gn?hn.emit("unhandledRejection",n,o):(e=O.onunhandledrejection)?e({promise:o,reason:n}):(e=O.console)&&e.error&&e.error("Unhandled promise rejection",n)}),o._h=gn||bn(o)?2:1),o._a=void 0,r&&t.e)throw t.v})},bn=function(t){return 1!==t._h&&0===(t._a||t._c).length},wn=function(e){sn.call(O,function(){var t;gn?hn.emit("rejectionHandled",e):(t=O.onrejectionhandled)&&t({promise:e,reason:e._v})})},_n=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw pn("Promise can't be resolved itself");(n=en(t))?fn(function(){var e={_w:r,_d:!1};try{n.call(t,v(_n,e,1),v(rn,e,1))}catch(t){rn.call(e,t)}}):(r._v=t,r._s=1,nn(r,!1))}catch(t){rn.call({_w:r,_d:!1},t)}}};Y||(vn=function(t){ae(this,vn,ln,"_h"),c(t),on.call(this);try{t(v(_n,this,1),v(rn,this,1))}catch(t){rn.call(this,t)}},(on=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=le(vn.prototype,{then:function(t,e){var n=yn(ce(this,vn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=gn?hn.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&nn(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),an=function(){var t=new on;this.promise=t,this.resolve=v(_n,t,1),this.reject=v(rn,t,1)},ie.f=yn=function(t){return t===vn||t===cn?new an:un(t)}),st(st.G+st.W+st.F*!Y,{Promise:vn}),_(vn,ln),pe(ln),cn=A[ln],st(st.S+st.F*!Y,ln,{reject:function(t){var e=yn(this);return(0,e.reject)(t),e.promise}}),st(st.S+!0*st.F,ln,{resolve:function(t){return fe(this===cn?vn:this,t)}}),st(st.S+st.F*!(Y&&De(function(t){vn.all(t).catch(tn)})),ln,{all:function(t){var u=this,e=yn(u),a=e.resolve,c=e.reject,n=se(function(){var r=[],o=0,i=1;he(t,!1,function(t){var e=o++,n=!1;r.push(void 0),i++,u.resolve(t).then(function(t){n||(n=!0,r[e]=t,--i||a(r))},c)}),--i||a(r)});return n.e&&c(n.v),e.promise},race:function(t){var e=this,n=yn(e),r=n.reject,o=se(function(){he(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}}),st(st.P+st.R,"Promise",{finally:function(e){var n=ce(this,A.Promise||O.Promise),t="function"==typeof e;return this.then(t?function(t){return fe(n,e()).then(function(){return t})}:e,t?function(t){return fe(n,e()).then(function(){throw t})}:e)}}),st(st.S,"Promise",{try:function(t){var e=ie.f(this),t=se(t);return(t.e?e.reject:e.resolve)(t.v),e.promise}});var xn=A.Promise;var On="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Wt="["+On+"]",Sn=RegExp("^"+Wt+Wt+"*"),jn=RegExp(Wt+Wt+"*$"),re=function(t,e,n){var r={},o=p(function(){return On[t]()||"​…"!="​…"[t]()}),e=r[t]=o?e(Mn):On[t];n&&(r[n]=e),st(st.P+st.F*o,"String",r)},Mn=re.trim=function(t,e){return t=String(u(t)),1&e&&(t=t.replace(Sn,"")),t=2&e?t.replace(jn,""):t},ue=re,Tn=O.parseInt,En=ue.trim,kn=/^[-+]?0[xX]/,Pn=(8!==Tn(On+"08")||Tn(On+"0x16"),O.parseInt),An=ue.trim,Cn=/^[-+]?0[xX]/,K=8!==Pn(On+"08")||22!==Pn(On+"0x16")?function(t,e){t=An(String(t),3);return Pn(t,e>>>0||(Cn.test(t)?16:10))}:Pn;st(st.G+st.F*(parseInt!=K),{parseInt:K}),st(st.G+st.F*(parseInt!=K),{parseInt:K});var Dn=A.parseInt;var Ln=Array.isArray||function(t){return"Array"==f(t)};st(st.S,"Array",{isArray:Ln}),st(st.S,"Array",{isArray:Ln});var Fn=A.Array.isArray;Gt={device:{trident:-1<(Re=navigator.userAgent).indexOf("Trident"),presto:-1<Re.indexOf("Presto"),webKit:-1<Re.indexOf("AppleWebKit"),gecko:-1<Re.indexOf("Gecko")&&-1===Re.indexOf("KHTML"),mobile:!!Re.match(/AppleWebKit.*Mobile.*/),ios:!!Re.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:-1<Re.indexOf("Android")||-1<Re.indexOf("Adr"),iPhone:-1<Re.indexOf("iPhone"),iPad:-1<Re.indexOf("iPad")||-1<Re.indexOf("Macintosh"),webApp:-1===Re.indexOf("Safari"),weixin:-1<Re.indexOf("MicroMessenger"),qq:-1<Re.indexOf(" QQ")},language:(navigator.browserLanguage||navigator.language).toLowerCase()};function In(t,e){var n=new Blob([t],{type:"application/vnd.ms-excel,charset=UTF-8"});window.navigator.msSaveOrOpenBlob?navigator.msSaveBlob(n,e+".xlsx"):((t=document.createElement("a")).href=window.URL.createObjectURL(n),t.download=e+".xlsx",t.click(),window.URL.revokeObjectURL(t.href))}function Bn(t){if(!t)return"";if("string"!=typeof t)return console.error("需要编译的数据类型需要是字符串类型"),t;return t=t.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(t){return 2===t.length?"&#"+(1024*(t.charCodeAt(0)-55296)+65536+t.charCodeAt(1)-56320)+";":t})}function Nn(t){if(!t)return"";if("string"!=typeof t)return console.error("需要解析的数据类型需要是字符串类型"),t;for(var e=(u=Bn(t)).match(/&#\d+;/g)||[],n=0;n<e.length;n++){i=(i=e[n]).replace("&#","").replace(";","");var r=Math.floor((i-65536)/1024)+55296,o=(i-65536)%1024+56320,i="&#"+i+";",o=String.fromCharCode(r,o),u=u.replace(i,o)}return u}var Rn=A.JSON||(A.JSON={stringify:JSON.stringify}),Un=function(t){return Rn.stringify.apply(Rn,arguments)},mt=function(t,e){var n=(A.Object||{})[t]||Object[t],r={};r[t]=e(n),st(st.S+st.F*p(function(){n(1)}),"Object",r)};mt("keys",function(){return function(t){return $(ut(t))}}),mt("keys",function(){return function(t){return $(ut(t))}});var zn=A.Object.keys;var Jn=O.parseFloat,Gn=ue.trim,Kn=(Jn(On+"-0"),O.parseFloat),Wn=ue.trim,Kt=1/Kn(On+"-0")!=-1/0?function(t){var e=Wn(String(t),3),t=Kn(e);return 0===t&&"-"==e.charAt(0)?-0:t}:Kn;st(st.G+st.F*(parseFloat!=Kt),{parseFloat:Kt}),st(st.G+st.F*(parseFloat!=Kt),{parseFloat:Kt});var Hn=A.parseFloat,S=function(t){if(0===t)return"0 B";var e=Math.floor(Math.log(t)/Math.log(1024));return Hn((t/Math.pow(1024,e)).toFixed(2))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][e]};function Vn(t,e){return t*Math.pow(1024,e-1)*8}function $n(t,e){return t/Math.pow(1024,e-1)/8}function qn(t,e){return t/Math.pow(1024,e)}function Zn(t,e){return t*Math.pow(1024,e)}function Yn(t){return{Bit:{toByte:function(){return $n(t,1)},toKB:function(){return $n(t,2)},toMB:function(){return $n(t,3)},toGB:function(){return $n(t,4)},toTB:function(){return $n(t,5)}},Byte:{toBit:function(){return Vn(t,1)},toKB:function(){return qn(t,1)},toMB:function(){return qn(t,2)},toGB:function(){return qn(t,3)},toTB:function(){return qn(t,4)}},KB:{toBit:function(){return Vn(t,2)},toByte:function(){return Zn(t,1)},toMB:function(){return qn(t,1)},toGB:function(){return qn(t,2)},toTB:function(){return qn(t,3)}},MB:{toBit:function(){return Vn(t,3)},toByte:function(){return Zn(t,2)},toKB:function(){return Zn(t,1)},toGB:function(){return qn(t,1)},toTB:function(){return qn(t,2)}},GB:{toBit:function(){return Vn(t,4)},toByte:function(){return Zn(t,3)},toKB:function(){return Zn(t,2)},toMB:function(){return Zn(t,1)},toTB:function(){return qn(t,1)}},TB:{toBit:function(){return Vn(t,5)},toByte:function(){return Zn(t,4)},toKB:function(){return Zn(t,3)},toMB:function(){return Zn(t,2)},toGB:function(){return Zn(t,1)}}}}function Qn(t){var e=A.Symbol||(A.Symbol={});"_"==t.charAt(0)||t in e||cr(e,t,{value:nr.f(t)})}function Xn(t){var e=$(t),n=rr.f;if(n)for(var r,o=n(t),i=or.f,u=0;o.length>u;)i.call(t,r=o[u++])&&e.push(r);return e}function tr(t){var e=jr[t]=rt(mr[_r]);return e._k=t,e}function er(t,e){h(t);for(var n,r=Xn(e=d(e)),o=0,i=r.length;o<i;)Ar(t,n=r[o++],e[n]);return t}var q=Object.freeze({b2size:S,bytes:Yn,default:{b2size:S,bytes:Yn}}),Y=o(function(t){function n(t){e(t,r,{value:{i:"O"+ ++o,w:{}}})}var r=J("meta"),e=P.f,o=0,i=Object.isExtensible||function(){return!0},u=!p(function(){return i(Object.preventExtensions({}))}),a=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!l(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!g(t,r)){if(!i(t))return"F";if(!e)return"E";n(t)}return t[r].i},getWeak:function(t,e){if(!g(t,r)){if(!i(t))return!0;if(!e)return!1;n(t)}return t[r].w},onFreeze:function(t){return u&&a.NEED&&i(t)&&!g(t,r)&&n(t),t}}}),nr=(Y.KEY,Y.NEED,Y.fastKey,Y.getWeak,Y.onFreeze,{f:X}),rr={f:Object.getOwnPropertySymbols},or={f:{}.propertyIsEnumerable},ir=V.concat("length","prototype"),ur={f:Object.getOwnPropertyNames||function(t){return b(t,ir)}},ar=o(function(t){function n(t){e(t,r,{value:{i:"O"+ ++o,w:{}}})}var r=J("meta"),e=P.f,o=0,i=Object.isExtensible||function(){return!0},u=!p(function(){return i(Object.preventExtensions({}))}),a=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!l(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!g(t,r)){if(!i(t))return"F";if(!e)return"E";n(t)}return t[r].i},getWeak:function(t,e){if(!g(t,r)){if(!i(t))return!0;if(!e)return!1;n(t)}return t[r].w},onFreeze:function(t){return u&&a.NEED&&i(t)&&!g(t,r)&&n(t),t}}}),cr=(ar.KEY,ar.NEED,ar.fastKey,ar.getWeak,ar.onFreeze,P.f),sr=ur.f,fr={}.toString,lr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Wt={f:function(t){return lr&&"[object Window]"==fr.call(t)?function(t){try{return sr(t)}catch(t){return lr.slice()}}(t):sr(d(t))}},pr=Object.getOwnPropertyDescriptor,hr={f:j?pr:function(t,e){if(t=d(t),e=s(e,!0),E)try{return pr(t,e)}catch(t){}if(g(t,e))return m(!or.f.call(t,e),t[e])}},dr=ar.KEY,vr=hr.f,gr=P.f,yr=Wt.f,mr=O.Symbol,br=O.JSON,wr=br&&br.stringify,_r="prototype",xr=X("_hidden"),re=X("toPrimitive"),Or={}.propertyIsEnumerable,Sr=R("symbol-registry"),jr=R("symbols"),Mr=R("op-symbols"),Tr=Object[_r],K="function"==typeof mr&&!!rr.f,Re=O.QObject,Er=!Re||!Re[_r]||!Re[_r].findChild,kr=j&&p(function(){return 7!=rt(gr({},"a",{get:function(){return gr(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=vr(Tr,e);r&&delete Tr[e],gr(t,e,n),r&&t!==Tr&&gr(Tr,e,r)}:gr,Pr=K&&"symbol"==typeof mr.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof mr},Ar=function(t,e,n){return t===Tr&&Ar(Mr,e,n),h(t),e=s(e,!0),h(n),g(jr,e)?(n.enumerable?(g(t,xr)&&t[xr][e]&&(t[xr][e]=!1),n=rt(n,{enumerable:m(0,!1)})):(g(t,xr)||gr(t,xr,m(1,{})),t[xr][e]=!0),kr(t,e,n)):gr(t,e,n)},ue=function(t){var e=Or.call(this,t=s(t,!0));return!(this===Tr&&g(jr,t)&&!g(Mr,t))&&(!(e||!g(this,t)||!g(jr,t)||g(this,xr)&&this[xr][t])||e)},Kt=function(t,e){if(t=d(t),e=s(e,!0),t!==Tr||!g(jr,e)||g(Mr,e)){var n=vr(t,e);return!n||!g(jr,e)||g(t,xr)&&t[xr][e]||(n.enumerable=!0),n}},S=function(t){for(var e,n=yr(d(t)),r=[],o=0;n.length>o;)g(jr,e=n[o++])||e==xr||e==dr||r.push(e);return r},Y=function(t){for(var e,n=t===Tr,r=yr(n?Mr:d(t)),o=[],i=0;r.length>i;)!g(jr,e=r[i++])||n&&!g(Tr,e)||o.push(jr[e]);return o};K||(ft((mr=function(){if(this instanceof mr)throw TypeError("Symbol is not a constructor!");var e=J(0<arguments.length?arguments[0]:void 0),n=function(t){this===Tr&&n.call(Mr,t),g(this,xr)&&g(this[xr],e)&&(this[xr][e]=!1),kr(this,e,m(1,t))};return j&&Er&&kr(Tr,e,{configurable:!0,set:n}),tr(e)})[_r],"toString",function(){return this._k}),hr.f=Kt,P.f=Ar,ur.f=Wt.f=S,or.f=ue,rr.f=Y,nr.f=function(t){return tr(X(t))}),st(st.G+st.W+st.F*!K,{Symbol:mr});for(var Cr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Dr=0;Cr.length>Dr;)X(Cr[Dr++]);for(var Lr=$(X.store),Fr=0;Lr.length>Fr;)Qn(Lr[Fr++]);st(st.S+st.F*!K,"Symbol",{for:function(t){return g(Sr,t+="")?Sr[t]:Sr[t]=mr(t)},keyFor:function(t){if(!Pr(t))throw TypeError(t+" is not a symbol!");for(var e in Sr)if(Sr[e]===t)return e},useSetter:function(){Er=!0},useSimple:function(){Er=!1}}),st(st.S+st.F*!K,"Object",{create:function(t,e){return void 0===e?rt(t):er(rt(t),e)},defineProperty:Ar,defineProperties:er,getOwnPropertyDescriptor:Kt,getOwnPropertyNames:S,getOwnPropertySymbols:Y});Re=p(function(){rr.f(1)});st(st.S+st.F*Re,"Object",{getOwnPropertySymbols:function(t){return rr.f(ut(t))}}),br&&st(st.S+st.F*(!K||p(function(){var t=mr();return"[null]"!=wr([t])||"{}"!=wr({a:t})||"{}"!=wr(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;o<arguments.length;)r.push(arguments[o++]);if(n=e=r[1],(l(e)||void 0!==t)&&!Pr(t))return Ln(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Pr(e))return e}),r[1]=e,wr.apply(br,r)}}),mr[_r][re]||C(mr[_r],re,mr[_r].valueOf),_(mr,"Symbol"),_(Math,"Math",!0),_(O.JSON,"JSON",!0),Qn("asyncIterator"),Qn("observable");function Ir(t){var e=qr[t]=rt(Jr[Wr]);return e._k=t,e}function Br(t,e){h(t);for(var n,r=Xn(e=d(e)),o=0,i=r.length;o<i;)eo(t,n=r[o++],e[n]);return t}var Nr=ar.KEY,Rr=hr.f,Ur=P.f,zr=Wt.f,Jr=O.Symbol,Gr=O.JSON,Kr=Gr&&Gr.stringify,Wr="prototype",Hr=X("_hidden"),ue=X("toPrimitive"),Vr={}.propertyIsEnumerable,$r=R("symbol-registry"),qr=R("symbols"),Zr=R("op-symbols"),Yr=Object[Wr],Kt="function"==typeof Jr&&!!rr.f,S=O.QObject,Qr=!S||!S[Wr]||!S[Wr].findChild,Xr=j&&p(function(){return 7!=rt(Ur({},"a",{get:function(){return Ur(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=Rr(Yr,e);r&&delete Yr[e],Ur(t,e,n),r&&t!==Yr&&Ur(Yr,e,r)}:Ur,to=Kt&&"symbol"==typeof Jr.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Jr},eo=function(t,e,n){return t===Yr&&eo(Zr,e,n),h(t),e=s(e,!0),h(n),g(qr,e)?(n.enumerable?(g(t,Hr)&&t[Hr][e]&&(t[Hr][e]=!1),n=rt(n,{enumerable:m(0,!1)})):(g(t,Hr)||Ur(t,Hr,m(1,{})),t[Hr][e]=!0),Xr(t,e,n)):Ur(t,e,n)},Y=function(t){var e=Vr.call(this,t=s(t,!0));return!(this===Yr&&g(qr,t)&&!g(Zr,t))&&(!(e||!g(this,t)||!g(qr,t)||g(this,Hr)&&this[Hr][t])||e)},Re=function(t,e){if(t=d(t),e=s(e,!0),t!==Yr||!g(qr,e)||g(Zr,e)){var n=Rr(t,e);return!n||!g(qr,e)||g(t,Hr)&&t[Hr][e]||(n.enumerable=!0),n}},K=function(t){for(var e,n=zr(d(t)),r=[],o=0;n.length>o;)g(qr,e=n[o++])||e==Hr||e==Nr||r.push(e);return r},re=function(t){for(var e,n=t===Yr,r=zr(n?Zr:d(t)),o=[],i=0;r.length>i;)!g(qr,e=r[i++])||n&&!g(Yr,e)||o.push(qr[e]);return o};Kt||(ft((Jr=function(){if(this instanceof Jr)throw TypeError("Symbol is not a constructor!");var e=J(0<arguments.length?arguments[0]:void 0),n=function(t){this===Yr&&n.call(Zr,t),g(this,Hr)&&g(this[Hr],e)&&(this[Hr][e]=!1),Xr(this,e,m(1,t))};return j&&Qr&&Xr(Yr,e,{configurable:!0,set:n}),Ir(e)})[Wr],"toString",function(){return this._k}),hr.f=Re,P.f=eo,ur.f=Wt.f=K,or.f=Y,rr.f=re,nr.f=function(t){return Ir(X(t))}),st(st.G+st.W+st.F*!Kt,{Symbol:Jr});for(var no="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ro=0;no.length>ro;)X(no[ro++]);for(var oo=$(X.store),io=0;oo.length>io;)Qn(oo[io++]);st(st.S+st.F*!Kt,"Symbol",{for:function(t){return g($r,t+="")?$r[t]:$r[t]=Jr(t)},keyFor:function(t){if(!to(t))throw TypeError(t+" is not a symbol!");for(var e in $r)if($r[e]===t)return e},useSetter:function(){Qr=!0},useSimple:function(){Qr=!1}}),st(st.S+st.F*!Kt,"Object",{create:function(t,e){return void 0===e?rt(t):Br(rt(t),e)},defineProperty:eo,defineProperties:Br,getOwnPropertyDescriptor:Re,getOwnPropertyNames:K,getOwnPropertySymbols:re});S=p(function(){rr.f(1)});st(st.S+st.F*S,"Object",{getOwnPropertySymbols:function(t){return rr.f(ut(t))}}),Gr&&st(st.S+st.F*(!Kt||p(function(){var t=Jr();return"[null]"!=Kr([t])||"{}"!=Kr({a:t})||"{}"!=Kr(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;o<arguments.length;)r.push(arguments[o++]);if(n=e=r[1],(l(e)||void 0!==t)&&!to(t))return Ln(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!to(e))return e}),r[1]=e,Kr.apply(Gr,r)}}),Jr[Wr][ue]||C(Jr[Wr],ue,Jr[Wr].valueOf),_(Jr,"Symbol"),_(Math,"Math",!0),_(O.JSON,"JSON",!0),Qn("asyncIterator"),Qn("observable");var uo=A.Symbol,ao=nr.f("iterator"),co=r(o(function(e){function n(t){return e.exports=n="function"==typeof uo&&"symbol"==typeof ao?function(t){return typeof t}:function(t){return t&&"function"==typeof uo&&t.constructor===uo&&t!==uo.prototype?"symbol":typeof t},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0}));var Wt="object"==("undefined"==typeof global?"undefined":co(global))?global:window,so=Object.prototype.toString,fo=Wt==Wt.window;function lo(t){if(null==t)return""+t;if("object"!==co(t)&&"function"!=typeof t)return co(t);if(fo){if("number"==typeof t.nodeType)return"node";if("number"==typeof t.length){if(t==t.window)return"window";if(t.item)return"list"}}return so.call(t).slice(8,-1).toLowerCase()}function po(t){return"[object Function]"===so.call(t)||"[object AsyncFunction]"===so.call(t)}function ho(t,e,n,r){if("number"!=typeof t||isNaN(t))return!1;if(null!=e&&t<e)return!1;if(null!=n&&n<t)return!1;if(r&&r<((t+"").split(".")[1]||"").length)return!1;return!0}function vo(t,e,n){return ho(t,e,n)&&t===Math.floor(t)}function go(t,e){t=ho(t)?+t:t,e=ho(e)?+e:e;return t<e?1:t===e?0:-1}Y={getType:lo,isArrayLike:function(t){return"array"==(t=lo(t))||"list"==t||"arguments"==t},isArray:function(t){return"[object Array]"===so.call(t)},isObject:function(t){return t&&"[object Object]"===so.call(t)},def:function(t,e){return void 0!==t?t:e},isNum:ho,isUNum:function(t){return!isNaN(t)&&0<t},isFunc:po,isInt:vo,isUInt:function(t){return vo(t,1)},checkNum:function(t,e,n,r){return"number"==typeof t?ho(t,e,n,r):"string"==typeof t&&((t=t.trim())&&ho(+t,e,n,r))},checkInt:function(t,e,n){return"number"==typeof t?vo(t,e,n):"string"==typeof t&&((t=t.trim())&&vo(+t,e,n))},isJSONStringify:function(e){if("string"!=typeof e)return console.log("It is not a string!"),!1;try{var t=JSON.parse(e);return!("object"!=co(t)||!t)}catch(t){return console.log("error:"+t+"info"+e),!1}},isDiff:function t(e,n){var r,o=e instanceof Object,i=n instanceof Object;if(!o||!i)return e===n;if(zn(e).length!==zn(n).length)return!1;for(r in e){var u=e[r]instanceof Object,a=n[r]instanceof Object;if(u&&a)return t(e[r],n[r]);if(e[r]!==n[r])return!1}return!0},isObjEmpty:function(t){return!!["object","array"].includes(lo(t))&&["{}","[]"].includes(Un(t))},compareSize:go};function yo(e){try{return decodeURIComponent(e)}catch(t){return e}}var mo=Object.prototype.hasOwnProperty,bo={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},wo="null";function _o(t){return bo[t]||t}function xo(t){switch(lo(t)){case"string":return'"'+t.replace(/[\x00-\x1f\\"]/g,_o)+'"';case"list":case"array":for(var e=[],n=0,r=t.length;n<r;n++)"function"!=typeof t[n]&&e.push(null!=t[n]?xo(t[n]):wo);return"["+e+"]";case"object":case"arguments":var o,e=[];for(o in t)mo.call(t,o)&&"function"!=typeof t[o]&&e.push('"'+o+'":'+xo(t[o]));return"{"+e.toString()+"}";case"boolean":return t+"";case"number":return isFinite(t)?t+"":wo;case"date":return isFinite(t.valueOf())?'"'+t.toUTC().format("yyyy-MM-ddTHH:mm:ss.SZ")+'"':wo;case"function":return;default:return"object"==co(t)?"{}":wo}}function Oo(t,e){if(!1!==e&&!/^[\],:{}\s]*$/.test(t.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))throw new Error("JSON SyntaxError");try{return new Function("return "+t)()}catch(t){}}window.JSON||(window.JSON={stringify:xo,parse:Oo});Re={decode_url_param:yo,json_replace:_o,json_encode:JSON.encode=xo,json_decode:JSON.decode=Oo};function So(t,e,n){e in t?P.f(t,e,m(0,n)):t[e]=n}st(st.S+st.F*!De(function(t){}),"Array",{from:function(t){var e,n,r,o,i=ut(t),u="function"==typeof this?this:Array,a=arguments.length,c=1<a?arguments[1]:void 0,s=void 0!==c,f=0,t=zt(i);if(s&&(c=v(c,2<a?arguments[2]:void 0,2)),null==t||u==Array&&At(t))for(n=new u(e=y(i.length));f<e;f++)So(n,f,s?c(i[f],f):i[f]);else for(o=t.call(i),n=new u;!(r=o.next()).done;f++)So(n,f,s?Pt(o,c,[r.value,f],!0):r.value);return n.length=f,n}}),st(st.S+st.F*!De(function(t){}),"Array",{from:function(t){var e,n,r,o,i=ut(t),u="function"==typeof this?this:Array,a=arguments.length,c=1<a?arguments[1]:void 0,s=void 0!==c,f=0,t=zt(i);if(s&&(c=v(c,2<a?arguments[2]:void 0,2)),null==t||u==Array&&At(t))for(n=new u(e=y(i.length));f<e;f++)So(n,f,s?c(i[f],f):i[f]);else for(o=t.call(i),n=new u;!(r=o.next()).done;f++)So(n,f,s?Pt(o,c,[r.value,f],!0):r.value);return n.length=f,n}});var jo=A.Array.from,Mo=(A.Object.getOwnPropertySymbols,hr.f);mt("getOwnPropertyDescriptor",function(){return function(t,e){return Mo(d(t),e)}});var To=hr.f;mt("getOwnPropertyDescriptor",function(){return function(t,e){return To(d(t),e)}});A.Object;var K=O.Reflect,re=(K&&K.ownKeys,O.Reflect),Eo=re&&re.ownKeys||function(t){var e=ur.f(h(t)),n=rr.f;return n?e.concat(n(t)):e};st(st.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=d(t),o=hr.f,i=Eo(r),u={},a=0;i.length>a;)void 0!==(n=o(r,e=i[a++]))&&So(u,e,n);return u}}),st(st.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=d(t),o=hr.f,i=Eo(r),u={},a=0;i.length>a;)void 0!==(n=o(r,e=i[a++]))&&So(u,e,n);return u}});A.Object.getOwnPropertyDescriptors;st(st.S+st.F*!j,"Object",{defineProperties:Z}),st(st.S+st.F*!j,"Object",{defineProperties:Z});A.Object;st(st.S+st.F*!j,"Object",{defineProperty:P.f}),st(st.S+st.F*!j,"Object",{defineProperty:P.f});function ko(t,e){if(!l(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}function Po(t,e){return Ln(t=t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Ln(n.prototype)||(n=void 0),l(n)&&null===(n=n[Ko])&&(n=void 0)),new(void 0===n?Array:n)(e);var n}function Ao(t,e){var n,r=Ho(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n}var Co,Do,Lo,Fo,Io,Bo,No,Ro,Uo,zo=A.Object,Jo=function(t,e,n){return zo.defineProperty(t,e,n)},Go=r(o(function(t){t.exports=function(t,e,n){return e in t?Jo(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0})),Ko=(ar.fastKey,X("species"),X("species")),Wo=P.f,Ho=ar.fastKey,Vo=j?"_s":"size",$o={getConstructor:function(t,o,n,r){var i=t(function(t,e){ae(t,i,o,"_i"),t._t=o,t._i=rt(null),t._f=void 0,t._l=void 0,t[Vo]=0,null!=e&&he(e,n,t[r],t)});return le(i.prototype,{clear:function(){for(var t=ko(this,o),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[Vo]=0},delete:function(t){var e,n=ko(this,o),r=Ao(n,t);return r&&(e=r.n,t=r.p,delete n._i[r.i],r.r=!0,t&&(t.n=e),e&&(e.p=t),n._f==r&&(n._f=e),n._l==r&&(n._l=t),n[Vo]--),!!r},forEach:function(t){ko(this,o);for(var e,n=v(t,1<arguments.length?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!Ao(ko(this,o),t)}}),j&&Wo(i.prototype,"size",{get:function(){return ko(this,o)[Vo]}}),i},def:function(t,e,n){var r,o=Ao(t,e);return o?o.v=n:(t._l=o={i:r=Ho(e,!0),k:e,v:n,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[Vo]++,"F"!==r&&(t._i[r]=o)),t},getEntry:Ao,setStrong:function(t,n,e){dt(t,n,function(t,e){this._t=ko(t,n),this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?Ot(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,Ot(1))},e?"entries":"values",!e,!0),pe(n)}},qo=P.f,Zo=(Lo=1==(Co=0),Fo=2==Co,Io=3==Co,Bo=4==Co,No=6==Co,Ro=5==Co||No,Uo=Do||Po,function(t,e,n){for(var r,o,i=ut(t),u=F(i),a=v(e,n,3),c=y(u.length),s=0,f=Lo?Uo(t,c):Fo?Uo(t,0):void 0;s<c;s++)if((Ro||s in u)&&(o=a(r=u[s],s,i),Co))if(Lo)f[s]=o;else if(o)switch(Co){case 3:return!0;case 5:return r;case 6:return s;case 2:f.push(r)}else if(Bo)return!1;return No?-1:Io||Bo?Bo:f}),S=function(n,t,e,r,o,i){var u=O[n],a=u,c=o?"set":"add",s=a&&a.prototype,f={};return j&&"function"==typeof a&&(i||s.forEach&&!p(function(){(new a).entries().next()}))?(a=t(function(t,e){ae(t,a,n,"_c"),t._c=new u,null!=e&&he(e,o,t[c],t)}),Zo("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(n){var r="add"==n||"set"==n;n in s&&(!i||"clear"!=n)&&C(a.prototype,n,function(t,e){if(ae(this,a,n),!r&&i&&!l(t))return"get"==n&&void 0;e=this._c[n](0===t?0:t,e);return r?this:e})}),i||qo(a.prototype,"size",{get:function(){return this._c.size}})):(a=r.getConstructor(t,n,o,c),le(a.prototype,e),ar.NEED=!0),_(a,n),f[n]=a,st(st.G+st.W+st.F,f),i||r.setStrong(a,n,o),a},Kt=(S("Map",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{get:function(t){t=$o.getEntry(ko(this,"Map"),t);return t&&t.v},set:function(t,e){return $o.def(ko(this,"Map"),0===t?0:t,e)}},$o,!0),function(n){return function(){if(kt(this)!=n)throw TypeError(n+"#toJSON isn't generic");return he(this,!(e=[]),e.push,e,t),e;var t,e}});st(st.P+st.R,"Map",{toJSON:Kt("Map")});ue=function(t){st(st.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})};ue("Map");Wt=function(t){st(st.S,t,{from:function(t){var e,n,r,o,i=arguments[1];return c(this),(e=void 0!==i)&&c(i),null==t?new this:(n=[],e?(r=0,o=v(i,arguments[2],2),he(t,!1,function(t){n.push(o(t,r++))})):he(t,!1,n.push,n),new this(n))}})};Wt("Map");S("Map",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{get:function(t){t=$o.getEntry(ko(this,"Map"),t);return t&&t.v},set:function(t,e){return $o.def(ko(this,"Map"),0===t?0:t,e)}},$o,!0);st(st.P+st.R,"Map",{toJSON:Kt("Map")}),ue("Map"),Wt("Map");var Yo=A.Map,Qo=Array.prototype.slice;function Xo(t,e){for(var n=[],r=e||0,o=t.length;r<o;r++)n.push(t[r]);return n}var ti=function(){try{return Qo.call(document.documentElement.childNodes),function(t,e){return Qo.call(t,e)}}catch(t){return Xo}}();De={toLower:function(t,e){return"string"==typeof t?t.toLowerCase():e},toUpper:function(t,e){return"string"==typeof t?t.toUpperCase():e},toArray:Xo,makeArray:function(t,e){if(null==t)return[];switch(lo(t)){case"array":return e?t.slice(e):t;case"list":return ti(t,e);case"arguments":return Qo.call(t,e)}return[t]}};mt={trim:function(t){return t.replace(/^\s+|\s+$/g,"")},titleize:function(t){return t.toLowerCase().replace(/(?:^|\s)\w/g,function(t){return t.toUpperCase()})},camelize:function(t){return t.replace(/[-_\s]+(.)?/g,function(t,e){return e?e.toUpperCase():""})},dasherize:function(t){return t.replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()},escapeHTML:function(t){var e={"<":"lt",">":"gt",'"':"quot","&":"amp","'":"#39"};return t.replace(new RegExp("["+zn(e).join("")+"]","g"),function(t){return"&"+e[t]+";"})},unescapeHTML:function(t){var n={nbsp:" ",lt:"<",gt:">",quot:'"',amp:"&",apos:"'"};return t.replace(/\&([^;]+);/g,function(t,e){return e in n?n[e]:t})},toSimplifiedChinese:function(t){if(isNaN(t))return"";for(var e=String(t).split("."),n="",r=e[0].length-1;0<=r;r--){if(10<e[0].length)return"";var o="",i=e[0].charAt(r);switch(i){case"0":o="零"+o;break;case"1":o="一"+o;break;case"2":o="二"+o;break;case"3":o="三"+o;break;case"4":o="四"+o;break;case"5":o="五"+o;break;case"6":o="六"+o;break;case"7":o="七"+o;break;case"8":o="八"+o;break;case"9":o="九"+o}switch(e[0].length-r-1){case 0:break;case 1:"0"!==i&&(o+="十");break;case 2:"0"!==i&&(o+="百");break;case 3:"0"!==i&&(o+="千");break;case 4:o+="万";break;case 5:"0"!==i&&(o+="十");break;case 6:"0"!==i&&(o+="百");break;case 7:"0"!==i&&(o+="千");break;case 8:o+="亿";break;case 9:o+="十"}n=o+n}for(;-1!=n.search("零零")||-1!=n.search("零亿")||-1!=n.search("亿万")||-1!=n.search("零万");)n=(n=(n=(n=n.replace("零亿","亿")).replace("亿万","亿")).replace("零万","万")).replace("零零","零");return n=(n=0==n.indexOf("一十")?n.substr(1):n).lastIndexOf("零")==n.length-1?n.substr(0,n.length-1):n}};var ei=r(o(function(t){function c(t,e,n,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void n(t)}a.done?e(c):xn.resolve(c).then(r,o)}t.exports=function(a){return function(){var t=this,u=arguments;return new xn(function(e,n){var r=a.apply(t,u);function o(t){c(r,e,n,o,i,"next",t)}function i(t){c(r,e,n,o,i,"throw",t)}o(void 0)})}},t.exports.default=t.exports,t.exports.__esModule=!0})),ni=t;function ri(){return new xn(function(e){if(window.WebViewJavascriptBridge)return e(window.WebViewJavascriptBridge);!function(t){if(window.WebViewJavascriptBridge)return t(window.WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(t);document.addEventListener("WebViewJavascriptBridgeReady",function(){return t(window.WebViewJavascriptBridge)},!1),window.WVJBCallbacks=[t];var e=document.createElement("iframe");e.style.display="none",e.src="https://__bridge_loaded__",document.documentElement.appendChild(e),setTimeout(function(){document.documentElement.removeChild(e)},0)}(function(t){t.init(function(t,e){e({"Javascript Responds":"Wee!"})}),e(t)})})}K={ctx:null,callHandler:function(){var n=this,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{name:"",data:{}};return new xn(function(){var e=ei(ni.mark(function t(e){return ni.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n.ctx){t.next=4;break}return t.next=3,ri();case 3:n.ctx=t.sent;case 4:n.ctx.callHandler(r.name,r.data,function(t){return e(t)});case 5:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())},registerHandler:function(t){this.ctx.registerHandler(t,function(t,e){e&&e("返回一个字符串,告诉ObjC:我已收到数据".concat(Un(t)))})}};function oi(t){var e=t.wsUrl,n=t.event,r=n.onopen,o=n.onmessage,t=n.onclose,n=n.onerror;this.wsUrl=e,this.onopen=r,this.onmessage=o,this.onclose=t,this.onerror=n,this.socket="",this.flag=!0,this.socketErrorInfo={times:0,limit:5},this.heartConfig={timeOut:18e4,timeObj:null,serverTimeObj:null},this.init()}function ii(t){if(t.clipboardData||t.originalEvent){for(var e=(t.clipboardData||t.originalEvent.clipboardData).items,n=null,r=0;r<e.length;r++)n=e[r].getAsFile();return n}return"errpr-nonsupport"}oi.prototype.init=function(){var n=this;"undefined"==typeof WebSocket&&console.log("您的浏览器不支持WebSocket, 请使用主流浏览器访问页面,如Chrome浏览器");var t="".concat(this.wsUrl);try{return this.socket=new WebSocket(t),this.socket.onopen=function(t){n.onopen&&n.onopen(t,n.socket),n.heart()},this.socket.onmessage=function(t){var e={};isJSON(t.data)?e={data:JSON.parse(t.data)}:console.log("收到不能转换对象的字符串"),n.onmessage&&n.onmessage(e,n.socket),n.socketErrorInfo.times=0,n.heart()},this.socket.onclose=function(t){n.onclose&&n.onclose(t,n.socket),n.reConnect()},this.socket.onerror=function(t){n.onerror&&n.onerror(t,n.socket),n.reConnect()},this.socket}catch(t){this.reConnect()}},oi.prototype.reConnect=function(){var t=this;this.flag&&(this.socketErrorInfo.times&&this.socketErrorInfo.times>this.socketErrorInfo.limit&&(this.socketErrorInfo.times=0,console.log("您当前网络环境差")),this.flag=!1,setTimeout(function(){t.init(),t.flag=!0,t.socketErrorInfo.times++},3e3))},oi.prototype.heart=function(){var t=this;this.heartConfig.timeObj&&clearTimeout(this.heartConfig.timeObj),this.heartConfig.serverTimeObj&&clearTimeout(this.heartConfig.serverTimeObj),this.heartConfig.timeObj=setTimeout(function(){t.socket.send("yxj-islive"),t.heartConfig.serverTimeObj=setTimeout(function(){t.socket.close(),t.reConnect()},t.heartConfig.timeOut)},this.heartConfig.timeOut)};re={dom:"",value:"",getClipboardData:function(t){var e;(t&&(e=t,"function"==typeof HTMLElement?e instanceof HTMLEleme