(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"00ce":function(t,e,n){"use strict";var r,i=SyntaxError,o=Function,s=TypeError,a=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(O){c=null}var u=function(){throw new s},l=c?function(){try{return u}catch(t){try{return c(arguments,"callee").get}catch(e){return u}}}():u,f=n("5156")(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},p="undefined"===typeof Uint8Array?r:h(Uint8Array),g={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f?h((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&f?h((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":s,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};try{null.error}catch(O){var v=h(h(O));g["%Error.prototype%"]=v}var y=function t(e){var n;if("%AsyncFunction%"===e)n=a("async function () {}");else if("%GeneratorFunction%"===e)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=a("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(n=h(i.prototype))}return g[e]=n,n},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},I=n("0f7c"),M=n("a0d3"),b=I.call(Function.call,Array.prototype.concat),C=I.call(Function.apply,Array.prototype.splice),_=I.call(Function.call,String.prototype.replace),A=I.call(Function.call,String.prototype.slice),T=I.call(Function.call,RegExp.prototype.exec),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,N=function(t){var e=A(t,0,1),n=A(t,-1);if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return _(t,w,(function(t,e,n,i){r[r.length]=n?_(i,E,"$1"):e||t})),r},S=function(t,e){var n,r=t;if(M(m,r)&&(n=m[r],r="%"+n[0]+"%"),M(g,r)){var o=g[r];if(o===d&&(o=y(r)),"undefined"===typeof o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=N(t),r=n.length>0?n[0]:"",o=S("%"+r+"%",e),a=o.name,u=o.value,l=!1,f=o.alias;f&&(r=f[0],C(n,b([0,1],f)));for(var h=1,d=!0;h<n.length;h+=1){var p=n[h],v=A(p,0,1),y=A(p,-1);if(('"'===v||"'"===v||"`"===v||'"'===y||"'"===y||"`"===y)&&v!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&d||(l=!0),r+="."+p,a="%"+r+"%",M(g,a))u=g[a];else if(null!=u){if(!(p in u)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(c&&h+1>=n.length){var m=c(u,p);d=!!m,u=d&&"get"in m&&!("originalValue"in m.get)?m.get:u[p]}else d=M(u,p),u=u[p];d&&!l&&(g[a]=u)}}return u}},"013f":function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},"014b":function(t,e,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),s=n("63b6"),a=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),f=n("45f2"),h=n("62a0"),d=n("5168"),p=n("ccb9"),g=n("6718"),v=n("47ee"),y=n("9003"),m=n("e4ae"),I=n("f772"),M=n("241e"),b=n("36c3"),C=n("1bc3"),_=n("aebd"),A=n("a159"),T=n("0395"),w=n("bf0b"),E=n("9aa9"),N=n("d9f6"),S=n("c3a1"),O=w.f,D=N.f,x=T.f,L=r.Symbol,R=r.JSON,j=R&&R.stringify,k="prototype",P=d("_hidden"),U=d("toPrimitive"),z={}.propertyIsEnumerable,B=l("symbol-registry"),G=l("symbols"),Y=l("op-symbols"),$=Object[k],H="function"==typeof L&&!!E.f,F=r.QObject,V=!F||!F[k]||!F[k].findChild,Q=o&&u((function(){return 7!=A(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O($,e);r&&delete $[e],D(t,e,n),r&&t!==$&&D($,e,r)}:D,W=function(t){var e=G[t]=A(L[k]);return e._k=t,e},Z=H&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},K=function(t,e,n){return t===$&&K(Y,e,n),m(t),e=C(e,!0),m(n),i(G,e)?(n.enumerable?(i(t,P)&&t[P][e]&&(t[P][e]=!1),n=A(n,{enumerable:_(0,!1)})):(i(t,P)||D(t,P,_(1,{})),t[P][e]=!0),Q(t,e,n)):D(t,e,n)},q=function(t,e){m(t);var n,r=v(e=b(e)),i=0,o=r.length;while(o>i)K(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?A(t):q(A(t),e)},X=function(t){var e=z.call(this,t=C(t,!0));return!(this===$&&i(G,t)&&!i(Y,t))&&(!(e||!i(this,t)||!i(G,t)||i(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=b(t),e=C(e,!0),t!==$||!i(G,e)||i(Y,e)){var n=O(t,e);return!n||!i(G,e)||i(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=x(b(t)),r=[],o=0;while(n.length>o)i(G,e=n[o++])||e==P||e==c||r.push(e);return r},nt=function(t){var e,n=t===$,r=x(n?Y:b(t)),o=[],s=0;while(r.length>s)!i(G,e=r[s++])||n&&!i($,e)||o.push(G[e]);return o};H||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===$&&e.call(Y,n),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,_(1,n))};return o&&V&&Q($,t,{configurable:!0,set:e}),W(t)},a(L[k],"toString",(function(){return this._k})),w.f=tt,N.f=K,n("6abf").f=T.f=et,n("355d").f=X,E.f=nt,o&&!n("b8e3")&&a($,"propertyIsEnumerable",X,!0),p.f=function(t){return W(d(t))}),s(s.G+s.W+s.F*!H,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=S(d.store),st=0;ot.length>st;)g(ot[st++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!H,"Object",{create:J,defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=u((function(){E.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return E.f(M(t))}}),R&&s(s.S+s.F*(!H||u((function(){var t=L();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(I(e)||void 0!==t)&&!Z(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Z(e))return e}),r[1]=e,j.apply(R,r)}}),L[k][U]||n("35e8")(L[k],U,L[k].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,C,_,A=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w=m==g,E=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||A(m),D=m?w?A("entries"):O:void 0,x="Array"==e&&N.entries||S;if(x&&(_=l(x.call(new t)),_!==Object.prototype&&_.next&&(u(_,T,!0),r||"function"==typeof _[f]||s(_,f,v))),w&&S&&S.name!==g&&(E=!0,O=function(){return S.call(this)}),r&&!M||!h&&!E&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:w?O:A(g),keys:I?O:A(p),entries:D},M)for(C in b)C in N||o(N,C,b[C]);else i(i.P+i.F*(h||E),e,b);return b}},"0293":function(t,e,n){var r=n("241e"),i=n("53e2");n("ce7e")("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},"0298":function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99");r(r.P+r.F*n("79e5")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"02de":function(t,e,n){"use strict";function r(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}n.d(e,"a",(function(){return r}))},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"036c":function(t,e,n){"use strict";var r=n("5ca1"),i=n("4588"),o=n("bef9"),s=n("9744"),a=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",h=function(t,e){var n=-1,r=e;while(++n<6)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},d=function(t){var e=6,n=0;while(--e>=0)n+=u[e],u[e]=c(n/t),n=n%t*1e7},p=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+s.call(f,7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},v=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("79e5")((function(){a.call({})}))),"Number",{toFixed:function(t){var e,n,r,a,c=o(this,l),u=i(t),y="",m=f;if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(y="-",c=-c),c>1e-21)if(e=v(c*g(2,69,1))-69,n=e<0?c*g(2,-e,1):c/g(2,e,1),n*=4503599627370496,e=52-e,e>0){h(0,n),r=u;while(r>=7)h(1e7,0),r-=7;h(g(10,r,1),0),r=e-1;while(r>=23)d(1<<23),r-=23;d(1<<r),h(1,1),d(2),m=p()}else h(0,n),h(1<<-e,0),m=p()+s.call(f,u);return u>0?(a=m.length,m=y+(a<=u?"0."+s.call(f,u-a)+m:m.slice(0,a-u)+"."+m.slice(a-u))):m=y+m,m}})},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"042e":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{fround:n("91ca")})},"044b":function(t,e){ /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */ t.exports=function(t){return null!=t&&null!=t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},"049f":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{log1p:n("d6c6")})},"04ff":function(t,e,n){var r=n("5ca1"),i=n("3ca5");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},"061b":function(t,e,n){t.exports=n("fa99")},"06a7":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},"06db":function(t,e,n){"use strict";var r=n("23c6"),i={};i[n("2b4c")("toStringTag")]="z",i+""!="[object z]"&&n("2aba")(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),s=n("ebd6"),a=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},"09e0":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},"09fa":function(t,e,n){var r=n("4588"),i=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},"0a06":function(t,e,n){"use strict";var r=n("2444"),i=n("c532"),o=n("f6b4"),s=n("5270");function a(t){this.defaults=t,this.interceptors={request:new o,response:new o}}a.prototype.request=function(t){"string"===typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(r,{method:"get"},this.defaults,t),t.method=t.method.toLowerCase();var e=[s,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head","options"],(function(t){a.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}})),i.forEach(["post","put","patch"],(function(t){a.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=a},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),s=n("9def"),a=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f,d=e||a;return function(e,a,p){for(var g,v,y=o(e),m=i(y),I=r(a,p,3),M=s(m.length),b=0,C=n?d(e,M):c?d(e,0):void 0;M>b;b++)if((h||b in m)&&(g=m[b],v=I(g,b,y),t))if(n)C[b]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return b;case 2:C.push(g)}else if(l)return!1;return f?-1:u||l?l:C}}},"0b21":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{sign:n("96fb")})},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0c00":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},"0c36":function(t,e,n){var r=n("5ca1");r(r.G,{global:n("7726")})},"0cd8":function(t,e,n){"use strict";var r=n("5ca1"),i=n("7b23");r(r.P+r.F*!n("2f21")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},"0d25":function(t,e,n){var r=n("5ca1"),i=n("8079")(),o=n("7726").process,s="process"==n("2d95")(o);r(r.G,{asap:function(t){var e=s&&o.domain;i(e?e.bind(t):t)}})},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0d6d":function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("freeze",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e15":function(t,e,n){var r=n("597f");t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},"0f7c":function(t,e,n){"use strict";var r=n("688e");t.exports=Function.prototype.bind||r},"0f88":function(t,e,n){var r,i=n("7726"),o=n("32e9"),s=n("ca5a"),a=s("typed_array"),c=s("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,h=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(f<h)(r=i[d[f++]])?(o(r.prototype,a,!0),o(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:a,VIEW:c}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1098:function(t,e,n){"use strict";e.__esModule=!0;var r=n("17ed"),i=c(r),o=n("f893"),s=c(o),a="function"===typeof s.default&&"symbol"===typeof i.default?function(t){return typeof t}:function(t){return t&&"function"===typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};function c(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof s.default&&"symbol"===a(i.default)?function(t){return"undefined"===typeof t?"undefined":a(t)}:function(t){return t&&"function"===typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":"undefined"===typeof t?"undefined":a(t)}},"10ad":function(t,e,n){"use strict";var r,i=n("7726"),o=n("0a49")(0),s=n("2aba"),a=n("67ab"),c=n("7333"),u=n("643e"),l=n("d3f4"),f=n("b39a"),h=n("b39a"),d=!i.ActiveXObject&&"ActiveXObject"in i,p="WeakMap",g=a.getWeak,v=Object.isExtensible,y=u.ufstore,m=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},I={get:function(t){if(l(t)){var e=g(t);return!0===e?y(f(this,p)).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,p),t,e)}},M=t.exports=n("e0b8")(p,m,I,u,!0,!0);h&&d&&(r=u.getConstructor(m,p),c(r.prototype,I),a.NEED=!0,o(["delete","has","get","set"],(function(t){var e=M.prototype,n=e[t];s(e,t,(function(e,i){if(l(e)&&!v(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)}))})))},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},1173:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},"130f":function(t,e,n){var r=n("5ca1"),i=n("1991");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},1325:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return u}));var r=n("a142"),i=!1;if(!r["g"])try{var o={};Object.defineProperty(o,"passive",{get:function(){i=!0}}),window.addEventListener("test-passive",null,o)}catch(l){}function s(t,e,n,o){void 0===o&&(o=!1),r["g"]||t.addEventListener(e,n,!!i&&{capture:!1,passive:o})}function a(t,e,n){r["g"]||t.removeEventListener(e,n)}function c(t){t.stopPropagation()}function u(t,e){("boolean"!==typeof t.cancelable||t.cancelable)&&t.preventDefault(),e&&c(t)}},"13d9":function(t,e){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach((function(e){t.addRange(e)})),e&&e.focus()}}},1448:function(t,e,n){"use strict";n("386b")("strike",(function(t){return function(){return t(this,"strike","","")}}))},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"14b9":function(t,e,n){var r=n("5ca1");r(r.P,"String",{repeat:n("9744")})},"14e1":function(t,e,n){},"157a":function(t,e,n){},"15ac":function(t,e,n){n("ec30")("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"165b":function(t,e,n){var r=n("d3f4");n("5eda")("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1696:function(t,e,n){"use strict";t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(e in t[e]=r,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},"17ed":function(t,e,n){t.exports={default:n("d8d6"),__esModule:!0}},"18d0":function(t,e,n){var r=n("5ca1"),i=n("3ca5");r(r.G+r.F*(parseInt!=i),{parseInt:i})},1991:function(t,e,n){var r,i,o,s=n("9b43"),a=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,v=0,y={},m="onreadystatechange",I=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},M=function(t){I.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return y[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete y[t]},"process"==n("2d95")(f)?r=function(t){f.nextTick(s(I,t,1))}:g&&g.now?r=function(t){g.now(s(I,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=M,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",M,!1)):r=m in u("script")?function(t){c.appendChild(u("script"))[m]=function(){c.removeChild(this),I.call(t)}}:function(t){setTimeout(s(I,t,1),0)}),t.exports={set:h,clear:d}},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1c01":function(t,e,n){var r=n("5ca1");r(r.S+r.F*!n("9e1e"),"Object",{defineProperty:n("86cc").f})},"1c4c":function(t,e,n){"use strict";var r=n("9b43"),i=n("5ca1"),o=n("4bf8"),s=n("1fa8"),a=n("33a4"),c=n("9def"),u=n("f1ae"),l=n("27ee");i(i.S+i.F*!n("5cc5")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,y=0,m=l(h);if(v&&(g=r(g,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&a(m))for(e=c(h.length),n=new d(e);e>y;y++)u(n,y,v?g(h[y],y):h[y]);else for(f=m.call(h),n=new d;!(i=f.next()).done;y++)u(n,y,v?s(f,g,[i.value,y],!0):i.value);return n.length=y,n}})},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},"1df8":function(t,e,n){var r=n("63b6");r(r.S,"Object",{setPrototypeOf:n("ead6").set})},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"1f18":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},"1f91":function(t,e,n){var r=n("5ca1"),i=n("e9d2"),o=n("91ca");r(r.S,"Math",{fscale:function(t,e,n,r,s){return o(i(t,e,n,r,s))}})},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(s){var o=t["return"];throw void 0!==o&&r(o.call(t)),s}}},"1fb5":function(t,e,n){"use strict";e.byteLength=l,e.toByteArray=h,e.fromByteArray=g;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a<c;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function l(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function f(t,e,n){return 3*(e+n)/4-n}function h(t){var e,n,r=u(t),s=r[0],a=r[1],c=new o(f(t,s,a)),l=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[l++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c}function d(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function p(t,e,n){for(var r,i=[],o=e;o<n;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(d(r));return i.join("")}function g(t){for(var e,n=t.length,i=n%3,o=[],s=16383,a=0,c=n-i;a<c;a+=s)o.push(p(t,a,a+s>c?c:a+s));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"20d6":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(6),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"20fd":function(t,e,n){"use strict";var r=n("d9f6"),i=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),c=n("520a"),u=a("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=a(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e})):void 0;if(!d||!p||"replace"===t&&!l||"split"===t&&!f){var g=/./[h],v=n(s,h,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),y=v[0],m=v[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},"217b":function(t,e,n){"use strict";var r=n("d3f4"),i=n("38fd"),o=n("2b4c")("hasInstance"),s=Function.prototype;o in s||n("86cc").f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;while(t=i(t))if(this.prototype===t)return!0;return!1}})},"21a1":function(t,e,n){(function(e){(function(e,n){t.exports=n()})(0,(function(){"use strict";"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}var n=t((function(t,e){(function(e,n){t.exports=n()})(0,(function(){function t(t){var e=t&&"object"===typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(t){return Array.isArray(t)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&t(n)?o(e(n),n,r):n}function r(e,r,i){var s=e.slice();return r.forEach((function(r,a){"undefined"===typeof s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function i(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}function o(t,e,o){var s=Array.isArray(e),a=o||{arrayMerge:r},c=a.arrayMerge||r;return s?Array.isArray(t)?c(t,e,o):n(e,o):i(t,e,o)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}))}));function r(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).map((function(t){t(n)})),(t["*"]||[]).map((function(t){t(e,n)}))}}}var i=t((function(t,e){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};e.default=n,t.exports=e.default})),o=function(t){return Object.keys(t).map((function(e){var n=t[e].toString().replace(/"/g,""");return e+'="'+n+'"'})).join(" ")},s=i.svg,a=i.xlink,c={};c[s.name]=s.uri,c[a.name]=a.uri;var u,l=function(t,e){void 0===t&&(t="");var r=n(c,e||{}),i=o(r);return"<svg "+i+">"+t+"</svg>"},f=i.svg,h=i.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; ")},u[f.name]=f.uri,u[h.name]=h.uri,u)},p=function(t){this.config=n(d,t||{}),this.symbols=[]};p.prototype.add=function(t){var e=this,n=e.symbols,r=this.find(t.id);return r?(n[n.indexOf(r)]=t,!1):(n.push(t),!0)},p.prototype.remove=function(t){var e=this,n=e.symbols,r=this.find(t);return!!r&&(n.splice(n.indexOf(r),1),r.destroy(),!0)},p.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},p.prototype.has=function(t){return null!==this.find(t)},p.prototype.stringify=function(){var t=this.config,e=t.attrs,n=this.symbols.map((function(t){return t.stringify()})).join("");return l(n,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var g=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};g.prototype.stringify=function(){return this.content},g.prototype.toString=function(){return this.stringify()},g.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var v=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"===typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return v(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(g),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},I=function(t){return Array.prototype.slice.call(t,0)},M=navigator.userAgent,b={isChrome:/chrome/i.test(M),isFirefox:/firefox/i.test(M),isIE:/msie/i.test(M)||/trident/i.test(M),isEdge:/edge/i.test(M)},C=function(t,e){var n=document.createEvent("CustomEvent");n.initCustomEvent(t,!1,!1,e),window.dispatchEvent(n)},_=function(t){var e=[];return I(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})),e},A=function(t){return(t||window.location.href).split("#")[0]},T=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){C(t,{oldUrl:r,newUrl:n})}))}])},w="linearGradient, radialGradient, pattern",E=function(t,e){return void 0===e&&(e=w),I(t.querySelectorAll("symbol")).forEach((function(t){I(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t};function N(t,e){var n=I(t).reduce((function(t,n){if(!n.attributes)return t;var r=I(n.attributes),i=e?r.filter(e):r;return t.concat(i)}),[]);return n}var S=i.xlink.uri,O="xlink:href",D=/[{}|\\\^\[\]`"<>]/g;function x(t){return t.replace(D,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}function L(t,e,n){return I(t).forEach((function(t){var r=t.getAttribute(O);if(r&&0===r.indexOf(e)){var i=r.replace(e,n);t.setAttributeNS(S,O,i)}})),t}var R,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],k=j.map((function(t){return"["+t+"]"})).join(","),P=function(t,e,n,r){var i=x(n),o=x(r),s=t.querySelectorAll(k),a=N(s,(function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+i)}));a.forEach((function(t){return t.value=t.value.replace(i,o)})),L(e,i,o)},U={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},z=function(t){function e(e){var i=this;void 0===e&&(e={}),t.call(this,n(m,e));var o=r();this._emitter=o,this.node=null;var s=this,a=s.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var c=document.getElementsByTagName("base")[0].getAttribute("href");o.on(U.MOUNT,(function(){return i.updateUrls("#",c)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&T(a.locationChangeEvent),o.on(U.MOUNT,(function(t){a.moveGradientsOutsideSymbol&&E(t)})),o.on(U.SYMBOL_MOUNT,(function(t){a.moveGradientsOutsideSymbol&&E(t.parentNode),(b.isIE||b.isEdge)&&_(t)}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={isMounted:{}};return i.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this,n=e.config;"undefined"===typeof t.syncUrlsWithBaseTag&&(n.syncUrlsWithBaseTag="undefined"!==typeof document.getElementsByTagName("base")[0]),"undefined"===typeof t.locationChangeAngularEmitter&&(n.locationChangeAngularEmitter="angular"in window),"undefined"===typeof t.moveGradientsOutsideSymbol&&(n.moveGradientsOutsideSymbol=b.isFirefox)},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=this,r=t.prototype.add.call(this,e);return this.isMounted&&r&&(e.mount(n.node),this._emitter.emit(U.SYMBOL_MOUNT,e.node)),r},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"===typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(U.SYMBOL_MOUNT,t.node)})),I(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(U.MOUNT,r),r},e.prototype.destroy=function(){var t=this,e=t.config,n=t.symbols,r=t._emitter;n.forEach((function(t){return t.destroy()})),r.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1);var n=this;if(n.isMounted)return n.node;var r="string"===typeof t?document.querySelector(t):t,i=n.render();return this.node=i,e&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(U.MOUNT,i),i},e.prototype.render=function(){return v(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return P(this.node,n,A(t)+"#",A(e)+"#"),!0},Object.defineProperties(e.prototype,i),e}(p),B=t((function(t){ /*! * domready (c) Dustin Diaz 2014 - License MIT */ !function(e,n){t.exports=n()}(0,(function(){var t,e=[],n=document,r=n.documentElement.doScroll,i="DOMContentLoaded",o=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return o||n.addEventListener(i,t=function(){n.removeEventListener(i,t),o=1;while(t=e.shift())t()}),function(t){o?setTimeout(t,0):e.push(t)}}))})),G="__SVG_SPRITE_NODE__",Y="__SVG_SPRITE__",$=!!window[Y];$?R=window[Y]:(R=new z({attrs:{id:G}}),window[Y]=R);var H=function(){var t=document.getElementById(G);t?R.attach(t):R.mount(document.body,!0)};document.body?H():B(H);var F=R;return F}))}).call(this,n("c8ba"))},2251:function(t,e,n){var r=n("5ca1"),i=n("cb7c"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2397:function(t,e,n){var r=n("5ca1"),i=n("2aeb"),o=n("d8e8"),s=n("cb7c"),a=n("d3f4"),c=n("79e5"),u=n("f0c1"),l=(n("7726").Reflect||{}).construct,f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!c((function(){l((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,d=i(a(c)?c:Object.prototype),p=Function.apply.call(t,d,e);return a(p)?p:d}})},"23be":function(t,e,n){"use strict";n("aa77")("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},"23bf":function(t,e,n){"use strict";var r=n("5ca1"),i=n("fab2"),o=n("2d95"),s=n("77f1"),a=n("9def"),c=[].slice;r(r.P+r.F*n("79e5")((function(){i&&c.call(i)})),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var i=s(t,n),u=s(e,n),l=a(u-i),f=new Array(l),h=0;h<l;h++)f[h]="String"==r?this.charAt(i+h):this[i+h];return f}})},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"23db":function(t,e,n){(function(t,n){var r=9007199254740991,i="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",a="[object Map]",c="[object Object]",u="[object Promise]",l="[object Set]",f="[object WeakMap]",h="[object DataView]",d=/[\\^$.*+?()[\]{}|]/g,p=/^\[object .+?Constructor\]$/,g="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,y=g||v||Function("return this")(),m=e&&!e.nodeType&&e,I=m&&"object"==typeof n&&n&&!n.nodeType&&n,M=I&&I.exports===m;function b(t,e){return null==t?void 0:t[e]}function C(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function _(t,e){return function(n){return t(e(n))}}var A=Function.prototype,T=Object.prototype,w=y["__core-js_shared__"],E=function(){var t=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),N=A.toString,S=T.hasOwnProperty,O=T.toString,D=RegExp("^"+N.call(S).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=M?y.Buffer:void 0,L=T.propertyIsEnumerable,R=x?x.isBuffer:void 0,j=_(Object.keys,Object),k=Z(y,"DataView"),P=Z(y,"Map"),U=Z(y,"Promise"),z=Z(y,"Set"),B=Z(y,"WeakMap"),G=!L.call({valueOf:1},"valueOf"),Y=X(k),$=X(P),H=X(U),F=X(z),V=X(B);function Q(t){return O.call(t)}function W(t){if(!ct(t)||q(t))return!1;var e=st(t)||C(t)?D:p;return e.test(X(t))}function Z(t,e){var n=b(t,e);return W(n)?n:void 0}var K=Q;function q(t){return!!E&&E in t}function J(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||T;return t===n}function X(t){if(null!=t){try{return N.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function tt(t){return rt(t)&&S.call(t,"callee")&&(!L.call(t,"callee")||O.call(t)==i)}(k&&K(new k(new ArrayBuffer(1)))!=h||P&&K(new P)!=a||U&&K(U.resolve())!=u||z&&K(new z)!=l||B&&K(new B)!=f)&&(K=function(t){var e=O.call(t),n=e==c?t.constructor:void 0,r=n?X(n):void 0;if(r)switch(r){case Y:return h;case $:return a;case H:return u;case F:return l;case V:return f}return e});var et=Array.isArray;function nt(t){return null!=t&&at(t.length)&&!st(t)}function rt(t){return ut(t)&&nt(t)}var it=R||lt;function ot(t){if(nt(t)&&(et(t)||"string"==typeof t||"function"==typeof t.splice||it(t)||tt(t)))return!t.length;var e=K(t);if(e==a||e==l)return!t.size;if(G||J(t))return!j(t).length;for(var n in t)if(S.call(t,n))return!1;return!0}function st(t){var e=ct(t)?O.call(t):"";return e==o||e==s}function at(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}function ct(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ut(t){return!!t&&"object"==typeof t}function lt(){return!1}n.exports=ot}).call(this,n("c8ba"),n("62e4")(t))},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"242a":function(t,e,n){"use strict";n("386b")("sup",(function(t){return function(){return t(this,"sup","","")}}))},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),i=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e)&&(t=n("b50d")),t}var c={adapter:a(),transformRequest:[function(t,e){return i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(s(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(o)})),t.exports=c}).call(this,n("4362"))},"24c5":function(t,e,n){"use strict";var r,i,o,s,a=n("b8e3"),c=n("e53d"),u=n("d864"),l=n("40c3"),f=n("63b6"),h=n("f772"),d=n("79aa"),p=n("1173"),g=n("a22a"),v=n("f201"),y=n("4178").set,m=n("aba2")(),I=n("656e"),M=n("4439"),b=n("bc13"),C=n("cd78"),_="Promise",A=c.TypeError,T=c.process,w=T&&T.versions,E=w&&w.v8||"",N=c[_],S="process"==l(T),O=function(){},D=i=I.f,x=!!function(){try{var t=N.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(O,O)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==E.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(r){}}(),L=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;m((function(){var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(i||(2==t._h&&P(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(A("Promise-chain cycle")):(o=L(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!s&&l.exit(),u(f)}};while(n.length>o)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){y.call(c,(function(){var e,n,r,i=t._v,o=k(t);if(o&&(e=M((function(){S?T.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=S||k(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){y.call(c,(function(){var e;S?T.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},U=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw A("Promise can't be resolved itself");(e=L(t))?m((function(){var r={_w:n,_d:!1};try{e.call(t,u(z,r,1),u(U,r,1))}catch(i){U.call(r,i)}})):(n._v=t,n._s=1,R(n,!1))}catch(r){U.call({_w:n,_d:!1},r)}}};x||(N=function(t){p(this,N,_,"_h"),d(t),r.call(this);try{t(u(z,this,1),u(U,this,1))}catch(e){U.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(N.prototype,{then:function(t,e){var n=D(v(this,N));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(z,t,1),this.reject=u(U,t,1)},I.f=D=function(t){return t===N||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!x,{Promise:N}),n("45f2")(N,_),n("4c95")(_),s=n("584a")[_],f(f.S+f.F*!x,_,{reject:function(t){var e=D(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(a||!x),_,{resolve:function(t){return C(a&&this===s?N:this,t)}}),f(f.S+f.F*!(x&&n("4ee1")((function(t){N.all(t)["catch"](O)}))),_,{all:function(t){var e=this,n=D(e),r=n.resolve,i=n.reject,o=M((function(){var n=[],o=0,s=1;g(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--s||r(n))}),i)})),--s||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=D(e),r=n.reject,i=M((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"25b0":function(t,e,n){n("1df8"),t.exports=n("584a").Object.setPrototypeOf},"25c9":function(t,e,n){var r=n("5ca1"),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},"25db":function(t,e,n){n("5eda")("getOwnPropertyNames",(function(){return n("7bbc").f}))},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"262f":function(t,e,n){var r=n("5ca1");r(r.G+r.W+r.F*!n("0f88").ABV,{DataView:n("ed0b").DataView})},2638:function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)}var i=["attrs","props","domProps"],o=["class","style","directives"],s=["on","nativeOn"],a=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==i.indexOf(n))t[n]=r({},t[n],e[n]);else if(-1!==o.indexOf(n)){var a=t[n]instanceof Array?t[n]:[t[n]],u=e[n]instanceof Array?e[n]:[e[n]];t[n]=a.concat(u)}else if(-1!==s.indexOf(n))for(var l in e[n])if(t[n][l]){var f=t[n][l]instanceof Array?t[n][l]:[t[n][l]],h=e[n][l]instanceof Array?e[n][l]:[e[n][l]];t[n][l]=f.concat(h)}else t[n][l]=e[n][l];else if("hook"==n)for(var d in e[n])t[n][d]=t[n][d]?c(t[n][d],e[n][d]):e[n][d];else t[n]=e[n];else t[n]=e[n];return t}),{})},c=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=a},"268f":function(t,e,n){t.exports=n("fde4")},2714:function(t,e,n){var r="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"===typeof i.get?i.get:null,s=r&&Map.prototype.forEach,a="function"===typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=a&&c&&"function"===typeof c.get?c.get:null,l=a&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype,h=f?WeakMap.prototype.has:null,d="function"===typeof WeakSet&&WeakSet.prototype,p=d?WeakSet.prototype.has:null,g="function"===typeof WeakRef&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,m=Object.prototype.toString,I=Function.prototype.toString,M=String.prototype.match,b=String.prototype.slice,C=String.prototype.replace,_=String.prototype.toUpperCase,A=String.prototype.toLowerCase,T=RegExp.prototype.test,w=Array.prototype.concat,E=Array.prototype.join,N=Array.prototype.slice,S=Math.floor,O="function"===typeof BigInt?BigInt.prototype.valueOf:null,D=Object.getOwnPropertySymbols,x="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,L="function"===typeof Symbol&&"object"===typeof Symbol.iterator,R="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===L||"symbol")?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,k=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function P(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||T.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof t){var r=t<0?-S(-t):S(t);if(r!==t){var i=String(r),o=b.call(e,i.length+1);return C.call(i,n,"$&_")+"."+C.call(C.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return C.call(e,n,"$&_")}var U=n(1),z=U.custom,B=K(z)?z:null;function G(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function Y(t){return C.call(String(t),/"/g,""")}function $(t){return"[object Array]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function H(t){return"[object Date]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function F(t){return"[object RegExp]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function V(t){return"[object Error]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function Q(t){return"[object String]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function W(t){return"[object Number]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function Z(t){return"[object Boolean]"===tt(t)&&(!R||!("object"===typeof t&&R in t))}function K(t){if(L)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!x)return!1;try{return x.call(t),!0}catch(e){}return!1}function q(t){if(!t||"object"!==typeof t||!O)return!1;try{return O.call(t),!0}catch(e){}return!1}t.exports=function t(e,n,r,i){var a=n||{};if(X(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(X(a,"maxStringLength")&&("number"===typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!X(a,"customInspect")||a.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(X(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(X(a,"numericSeparator")&&"boolean"!==typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=a.numericSeparator;if("undefined"===typeof e)return"undefined";if(null===e)return"null";if("boolean"===typeof e)return e?"true":"false";if("string"===typeof e)return ut(e,a);if("number"===typeof e){if(0===e)return 1/0/e>0?"0":"-0";var h=String(e);return f?P(e,h):h}if("bigint"===typeof e){var d=String(e)+"n";return f?P(e,d):d}var p="undefined"===typeof a.depth?5:a.depth;if("undefined"===typeof r&&(r=0),r>=p&&p>0&&"object"===typeof e)return $(e)?"[Array]":"[Object]";var g=gt(a,r);if("undefined"===typeof i)i=[];else if(nt(i,e)>=0)return"[Circular]";function v(e,n,o){if(n&&(i=N.call(i),i.push(n)),o){var s={depth:a.depth};return X(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),t(e,s,r+1,i)}return t(e,a,r+1,i)}if("function"===typeof e&&!F(e)){var m=et(e),I=yt(e,v);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(I.length>0?" { "+E.call(I,", ")+" }":"")}if(K(e)){var M=L?C.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):x.call(e);return"object"!==typeof e||L?M:ft(M)}if(ct(e)){for(var _="<"+A.call(String(e.nodeName)),T=e.attributes||[],S=0;S<T.length;S++)_+=" "+T[S].name+"="+G(Y(T[S].value),"double",a);return _+=">",e.childNodes&&e.childNodes.length&&(_+="..."),_+="</"+A.call(String(e.nodeName))+">",_}if($(e)){if(0===e.length)return"[]";var D=yt(e,v);return g&&!pt(D)?"["+vt(D,g)+"]":"[ "+E.call(D,", ")+" ]"}if(V(e)){var z=yt(e,v);return"cause"in Error.prototype||!("cause"in e)||j.call(e,"cause")?0===z.length?"["+String(e)+"]":"{ ["+String(e)+"] "+E.call(z,", ")+" }":"{ ["+String(e)+"] "+E.call(w.call("[cause]: "+v(e.cause),z),", ")+" }"}if("object"===typeof e&&c){if(B&&"function"===typeof e[B]&&U)return U(e,{depth:p-r});if("symbol"!==c&&"function"===typeof e.inspect)return e.inspect()}if(rt(e)){var J=[];return s&&s.call(e,(function(t,n){J.push(v(n,e,!0)+" => "+v(t,e))})),dt("Map",o.call(e),J,g)}if(st(e)){var lt=[];return l&&l.call(e,(function(t){lt.push(v(t,e))})),dt("Set",u.call(e),lt,g)}if(it(e))return ht("WeakMap");if(at(e))return ht("WeakSet");if(ot(e))return ht("WeakRef");if(W(e))return ft(v(Number(e)));if(q(e))return ft(v(O.call(e)));if(Z(e))return ft(y.call(e));if(Q(e))return ft(v(String(e)));if(!H(e)&&!F(e)){var mt=yt(e,v),It=k?k(e)===Object.prototype:e instanceof Object||e.constructor===Object,Mt=e instanceof Object?"":"null prototype",bt=!It&&R&&Object(e)===e&&R in e?b.call(tt(e),8,-1):Mt?"Object":"",Ct=It||"function"!==typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"",_t=Ct+(bt||Mt?"["+E.call(w.call([],bt||[],Mt||[]),": ")+"] ":"");return 0===mt.length?_t+"{}":g?_t+"{"+vt(mt,g)+"}":_t+"{ "+E.call(mt,", ")+" }"}return String(e)};var J=Object.prototype.hasOwnProperty||function(t){return t in this};function X(t,e){return J.call(t,e)}function tt(t){return m.call(t)}function et(t){if(t.name)return t.name;var e=M.call(I.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nt(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function rt(t){if(!o||!t||"object"!==typeof t)return!1;try{o.call(t);try{u.call(t)}catch(e){return!0}return t instanceof Map}catch(n){}return!1}function it(t){if(!h||!t||"object"!==typeof t)return!1;try{h.call(t,h);try{p.call(t,p)}catch(e){return!0}return t instanceof WeakMap}catch(n){}return!1}function ot(t){if(!v||!t||"object"!==typeof t)return!1;try{return v.call(t),!0}catch(e){}return!1}function st(t){if(!u||!t||"object"!==typeof t)return!1;try{u.call(t);try{o.call(t)}catch(e){return!0}return t instanceof Set}catch(n){}return!1}function at(t){if(!p||!t||"object"!==typeof t)return!1;try{p.call(t,p);try{h.call(t,h)}catch(e){return!0}return t instanceof WeakSet}catch(n){}return!1}function ct(t){return!(!t||"object"!==typeof t)&&("undefined"!==typeof HTMLElement&&t instanceof HTMLElement||"string"===typeof t.nodeName&&"function"===typeof t.getAttribute)}function ut(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return ut(b.call(t,0,e.maxStringLength),e)+r}var i=C.call(C.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lt);return G(i,"single",e)}function lt(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+_.call(e.toString(16))}function ft(t){return"Object("+t+")"}function ht(t){return t+" { ? }"}function dt(t,e,n,r){var i=r?vt(n,r):E.call(n,", ");return t+" ("+e+") {"+i+"}"}function pt(t){for(var e=0;e<t.length;e++)if(nt(t[e],"\n")>=0)return!1;return!0}function gt(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=E.call(Array(t.indent+1)," ")}return{base:n,prev:E.call(Array(e+1),n)}}function vt(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+E.call(t,","+n)+"\n"+e.prev}function yt(t,e){var n=$(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=X(t,i)?e(t[i],t):""}var o,s="function"===typeof D?D(t):[];if(L){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var c in t)X(t,c)&&(n&&String(Number(c))===c&&c<t.length||L&&o["$"+c]instanceof Symbol||(T.call(/[^\w$]/,c)?r.push(e(c,t)+": "+e(t[c],t)):r.push(c+": "+e(t[c],t))));if("function"===typeof D)for(var u=0;u<s.length;u++)j.call(t,s[u])&&r.push("["+e(s[u])+"]: "+e(t[s[u]],t));return r}},2748:function(t,e,n){var r=n("5ca1"),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),s=n("0390"),a=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,h=[].push,d="split",p="length",g="lastIndex",v=4294967295,y=!l((function(){RegExp(v,"y")}));n("214f")("split",2,(function(t,e,n,l){var m;return m="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,s,a,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?v:e>>>0,y=new RegExp(t.source,l+"g");while(o=u.call(y,i)){if(s=y[g],s>f&&(c.push(i.slice(f,o.index)),o[p]>1&&o.index<i[p]&&h.apply(c,o.slice(1)),a=o[0][p],f=s,c[p]>=d))break;y[g]===o.index&&y[g]++}return f===i[p]?!a&&y.test("")||c.push(""):c.push(i.slice(f)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):m.call(String(i),n,r)},function(t,e){var r=l(m,t,this,e,m!==n);if(r.done)return r.value;var u=i(t),h=String(this),d=o(u,RegExp),p=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(y?"y":"g"),I=new d(y?u:"^(?:"+u.source+")",g),M=void 0===e?v:e>>>0;if(0===M)return[];if(0===h.length)return null===c(I,h)?[h]:[];var b=0,C=0,_=[];while(C<h.length){I.lastIndex=y?C:0;var A,T=c(I,y?h:h.slice(C));if(null===T||(A=f(a(I.lastIndex+(y?0:C)),h.length))===b)C=s(h,C,p);else{if(_.push(h.slice(b,C)),_.length===M)return _;for(var w=1;w<=T.length-1;w++)if(_.push(T[w]),_.length===M)return _;C=b=A}}return _.push(h.slice(b)),_}]}))},"28e4":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("9b43"),s=n("4a59");t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,a,c=arguments[1];return i(this),e=void 0!==c,e&&i(c),void 0==t?new this:(n=[],e?(r=0,a=o(c,arguments[2],2),s(t,!1,(function(t){n.push(a(t,r++))}))):s(t,!1,n.push,n),new this(n))}})}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),c="toString",u=(""+a).split(c);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){ /*! * Vue.js v2.6.10 * (c) 2014-2019 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function s(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var y=v("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var I=Object.prototype.hasOwnProperty;function M(t,e){return I.call(t,e)}function b(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var C=/-(\w)/g,_=b((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),A=b((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,w=b((function(t){return t.replace(T,"-$1").toLowerCase()}));function E(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function N(t,e){return t.bind(e)}var S=Function.prototype.bind?N:E;function O(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function x(t){for(var e={},n=0;n<t.length;n++)t[n]&&D(e,t[n]);return e}function L(t,e,n){}var R=function(t,e,n){return!1},j=function(t){return t};function k(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return k(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return k(t[n],e[n])}))}catch(u){return!1}}function P(t,e){for(var n=0;n<t.length;n++)if(k(t[n],e))return n;return-1}function U(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var z="data-server-rendered",B=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Y={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:R,isReservedAttr:R,isUnknownElement:R,getTagNamespace:L,parsePlatformTagName:j,mustUseProp:R,async:!0,_lifecycleHooks:G},$=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function F(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var V=new RegExp("[^"+$.source+".$_\\d]");function Q(t){if(!V.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var W,Z="__proto__"in{},K="undefined"!==typeof window,q="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=q&&WXEnvironment.platform.toLowerCase(),X=K&&window.navigator.userAgent.toLowerCase(),tt=X&&/msie|trident/.test(X),et=X&&X.indexOf("msie 9.0")>0,nt=X&&X.indexOf("edge/")>0,rt=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===J),it=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),ot={}.watch,st=!1;if(K)try{var at={};Object.defineProperty(at,"passive",{get:function(){st=!0}}),window.addEventListener("test-passive",null,at)}catch(_s){}var ct=function(){return void 0===W&&(W=!K&&!q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),W},ut=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,ht="undefined"!==typeof Symbol&<(Symbol)&&"undefined"!==typeof Reflect&<(Reflect.ownKeys);ft="undefined"!==typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=L,pt=0,gt=function(){this.id=pt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){m(this.subs,t)},gt.prototype.depend=function(){gt.target&>.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},gt.target=null;var vt=[];function yt(t){vt.push(t),gt.target=t}function mt(){vt.pop(),gt.target=vt[vt.length-1]}var It=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Mt={child:{configurable:!0}};Mt.child.get=function(){return this.componentInstance},Object.defineProperties(It.prototype,Mt);var bt=function(t){void 0===t&&(t="");var e=new It;return e.text=t,e.isComment=!0,e};function Ct(t){return new It(void 0,void 0,void 0,String(t))}function _t(t){var e=new It(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var At=Array.prototype,Tt=Object.create(At),wt=["push","pop","shift","unshift","splice","sort","reverse"];wt.forEach((function(t){var e=At[t];F(Tt,t,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&s.observeArray(i),s.dep.notify(),o}))}));var Et=Object.getOwnPropertyNames(Tt),Nt=!0;function St(t){Nt=t}var Ot=function(t){this.value=t,this.dep=new gt,this.vmCount=0,F(t,"__ob__",this),Array.isArray(t)?(Z?Dt(t,Tt):xt(t,Tt,Et),this.observeArray(t)):this.walk(t)};function Dt(t,e){t.__proto__=e}function xt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];F(t,o,e[o])}}function Lt(t,e){var n;if(c(t)&&!(t instanceof It))return M(t,"__ob__")&&t.__ob__ instanceof Ot?n=t.__ob__:Nt&&!ct()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Ot(t)),e&&n&&n.vmCount++,n}function Rt(t,e,n,r,i){var o=new gt,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get,c=s&&s.set;a&&!c||2!==arguments.length||(n=t[e]);var u=!i&&Lt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return gt.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&Pt(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||a&&!c||(c?c.call(t,e):n=e,u=!i&&Lt(e),o.notify())}})}}function jt(t,e,n){if(Array.isArray(t)&&h(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Rt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function kt(t,e){if(Array.isArray(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||M(t,e)&&(delete t[e],n&&n.dep.notify())}}function Pt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Pt(e)}Ot.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Rt(t,e[n])},Ot.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Lt(t[e])};var Ut=Y.optionMergeStrategies;function zt(t,e){if(!e)return t;for(var n,r,i,o=ht?Reflect.ownKeys(e):Object.keys(e),s=0;s<o.length;s++)n=o[s],"__ob__"!==n&&(r=t[n],i=e[n],M(t,n)?r!==i&&l(r)&&l(i)&&zt(r,i):jt(t,n,i));return t}function Bt(t,e,n){return n?function(){var r="function"===typeof e?e.call(n,n):e,i="function"===typeof t?t.call(n,n):t;return r?zt(r,i):i}:e?t?function(){return zt("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Gt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?Yt(n):n}function Yt(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function $t(t,e,n,r){var i=Object.create(t||null);return e?D(i,e):i}Ut.data=function(t,e,n){return n?Bt(t,e,n):e&&"function"!==typeof e?t:Bt(t,e)},G.forEach((function(t){Ut[t]=Gt})),B.forEach((function(t){Ut[t+"s"]=$t})),Ut.watch=function(t,e,n,r){if(t===ot&&(t=void 0),e===ot&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in D(i,t),e){var s=i[o],a=e[o];s&&!Array.isArray(s)&&(s=[s]),i[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return i},Ut.props=Ut.methods=Ut.inject=Ut.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return D(i,t),e&&D(i,e),i},Ut.provide=Bt;var Ht=function(t,e){return void 0===e?t:e};function Ft(t,e){var n=t.props;if(n){var r,i,o,s={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=_(i),s[o]={type:null})}else if(l(n))for(var a in n)i=n[a],o=_(a),s[o]=l(i)?i:{type:i};else 0;t.props=s}}function Vt(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var s=n[o];r[o]=l(s)?D({from:o},s):{from:s}}else 0}}function Qt(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"===typeof r&&(e[n]={bind:r,update:r})}}function Wt(t,e,n){if("function"===typeof e&&(e=e.options),Ft(e,n),Vt(e,n),Qt(e),!e._base&&(e.extends&&(t=Wt(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Wt(t,e.mixins[r],n);var o,s={};for(o in t)a(o);for(o in e)M(t,o)||a(o);function a(r){var i=Ut[r]||Ht;s[r]=i(t[r],e[r],n,r)}return s}function Zt(t,e,n,r){if("string"===typeof n){var i=t[e];if(M(i,n))return i[n];var o=_(n);if(M(i,o))return i[o];var s=A(o);if(M(i,s))return i[s];var a=i[n]||i[o]||i[s];return a}}function Kt(t,e,n,r){var i=e[t],o=!M(n,t),s=n[t],a=te(Boolean,i.type);if(a>-1)if(o&&!M(i,"default"))s=!1;else if(""===s||s===w(t)){var c=te(String,i.type);(c<0||a<c)&&(s=!0)}if(void 0===s){s=qt(r,i,t);var u=Nt;St(!0),Lt(s),St(u)}return s}function qt(t,e,n){if(M(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof r&&"Function"!==Jt(e.type)?r.call(t):r}}function Jt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Xt(t,e){return Jt(t)===Jt(e)}function te(t,e){if(!Array.isArray(e))return Xt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Xt(e[n],t))return n;return-1}function ee(t,e,n){yt();try{if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var s=!1===i[o].call(r,t,e,n);if(s)return}catch(_s){re(_s,r,"errorCaptured hook")}}}re(t,e,n)}finally{mt()}}function ne(t,e,n,r,i){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(t){return ee(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(_s){ee(_s,r,i)}return o}function re(t,e,n){if(Y.errorHandler)try{return Y.errorHandler.call(null,t,e,n)}catch(_s){_s!==t&&ie(_s,null,"config.errorHandler")}ie(t,e,n)}function ie(t,e,n){if(!K&&!q||"undefined"===typeof console)throw t;console.error(t)}var oe,se=!1,ae=[],ce=!1;function ue(){ce=!1;var t=ae.slice(0);ae.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&<(Promise)){var le=Promise.resolve();oe=function(){le.then(ue),rt&&setTimeout(L)},se=!0}else if(tt||"undefined"===typeof MutationObserver||!lt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())oe="undefined"!==typeof setImmediate&<(setImmediate)?function(){setImmediate(ue)}:function(){setTimeout(ue,0)};else{var fe=1,he=new MutationObserver(ue),de=document.createTextNode(String(fe));he.observe(de,{characterData:!0}),oe=function(){fe=(fe+1)%2,de.data=String(fe)},se=!0}function pe(t,e){var n;if(ae.push((function(){if(t)try{t.call(e)}catch(_s){ee(_s,e,"nextTick")}else n&&n(e)})),ce||(ce=!0,oe()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var ge=new ft;function ve(t){ye(t,ge),ge.clear()}function ye(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!c(t)||Object.isFrozen(t)||t instanceof It)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i){n=t.length;while(n--)ye(t[n],e)}else{r=Object.keys(t),n=r.length;while(n--)ye(t[r[n]],e)}}}var me=b((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function Ie(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return ne(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)ne(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function Me(t,e,n,i,s,a){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=me(c),r(u)||(r(l)?(r(u.fns)&&(u=t[c]=Ie(u,a)),o(f.once)&&(u=t[c]=s(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)r(t[c])&&(f=me(c),i(f.name,e[c],f.capture))}function be(t,e,n){var s;t instanceof It&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function c(){n.apply(this,arguments),m(s.fns,c)}r(a)?s=Ie([c]):i(a.fns)&&o(a.merged)?(s=a,s.fns.push(c)):s=Ie([a,c]),s.merged=!0,t[e]=s}function Ce(t,e,n){var o=e.options.props;if(!r(o)){var s={},a=t.attrs,c=t.props;if(i(a)||i(c))for(var u in o){var l=w(u);_e(s,c,u,l,!0)||_e(s,a,u,l,!1)}return s}}function _e(t,e,n,r,o){if(i(e)){if(M(e,n))return t[n]=e[n],o||delete e[n],!0;if(M(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function Ae(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Te(t){return a(t)?[Ct(t)]:Array.isArray(t)?Ee(t):void 0}function we(t){return i(t)&&i(t.text)&&s(t.isComment)}function Ee(t,e){var n,s,c,u,l=[];for(n=0;n<t.length;n++)s=t[n],r(s)||"boolean"===typeof s||(c=l.length-1,u=l[c],Array.isArray(s)?s.length>0&&(s=Ee(s,(e||"")+"_"+n),we(s[0])&&we(u)&&(l[c]=Ct(u.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?we(u)?l[c]=Ct(u.text+s):""!==s&&l.push(Ct(s)):we(s)&&we(u)?l[c]=Ct(u.text+s.text):(o(t._isVList)&&i(s.tag)&&r(s.key)&&i(e)&&(s.key="__vlist"+e+"_"+n+"__"),l.push(s)));return l}function Ne(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Se(t){var e=Oe(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach((function(n){Rt(t,n,e[n])})),St(!0))}function Oe(t,e){if(t){for(var n=Object.create(null),r=ht?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var s=t[o].from,a=e;while(a){if(a._provided&&M(a._provided,s)){n[o]=a._provided[s];break}a=a.$parent}if(!a)if("default"in t[o]){var c=t[o].default;n[o]="function"===typeof c?c.call(e):c}else 0}}return n}}function De(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,c=n[a]||(n[a]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(xe)&&delete n[u];return n}function xe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Le(t,e,r){var i,o=Object.keys(e).length>0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==n&&a===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Re(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=je(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),F(i,"$stable",s),F(i,"$key",a),F(i,"$hasNormal",o),i}function Re(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Te(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function je(t,e){return function(){return t[e]}}function ke(t,e){var n,r,o,s,a;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"===typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))if(ht&&t[Symbol.iterator]){n=[];var u=t[Symbol.iterator](),l=u.next();while(!l.done)n.push(e(l.value,n.length)),l=u.next()}else for(s=Object.keys(t),n=new Array(s.length),r=0,o=s.length;r<o;r++)a=s[r],n[r]=e(t[a],a,r);return i(n)||(n=[]),n._isVList=!0,n}function Pe(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=D(D({},r),n)),i=o(n)||e):i=this.$slots[t]||e;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Ue(t){return Zt(this.$options,"filters",t,!0)||j}function ze(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Be(t,e,n,r,i){var o=Y.keyCodes[e]||n;return i&&r&&!Y.keyCodes[e]?ze(i,r):o?ze(o,t):r?w(r)!==e:void 0}function Ge(t,e,n,r,i){if(n)if(c(n)){var o;Array.isArray(n)&&(n=x(n));var s=function(s){if("class"===s||"style"===s||y(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||Y.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=_(s),u=w(s);if(!(c in o)&&!(u in o)&&(o[s]=n[s],i)){var l=t.on||(t.on={});l["update:"+s]=function(t){n[s]=t}}};for(var a in n)s(a)}else;return t}function Ye(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),He(r,"__static__"+t,!1)),r}function $e(t,e,n){return He(t,"__once__"+e+(n?"_"+n:""),!0),t}function He(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&Fe(t[r],e+"_"+r,n);else Fe(t,e,n)}function Fe(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ve(t,e){if(e)if(l(e)){var n=t.on=t.on?D({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Qe(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Qe(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function We(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Ze(t,e){return"string"===typeof t?e+t:t}function Ke(t){t._o=$e,t._n=g,t._s=p,t._l=ke,t._t=Pe,t._q=k,t._i=P,t._m=Ye,t._f=Ue,t._k=Be,t._b=Ge,t._v=Ct,t._e=bt,t._u=Qe,t._g=Ve,t._d=We,t._p=Ze}function qe(t,e,r,i,s){var a,c=this,u=s.options;M(i,"_uid")?(a=Object.create(i),a._original=i):(a=i,i=i._original);var l=o(u._compiled),f=!l;this.data=t,this.props=e,this.children=r,this.parent=i,this.listeners=t.on||n,this.injections=Oe(u.inject,i),this.slots=function(){return c.$slots||Le(t.scopedSlots,c.$slots=De(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Le(t.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Le(t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var o=fn(a,t,e,n,r,f);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return fn(a,t,e,n,r,f)}}function Je(t,e,r,o,s){var a=t.options,c={},u=a.props;if(i(u))for(var l in u)c[l]=Kt(l,u,e||n);else i(r.attrs)&&tn(c,r.attrs),i(r.props)&&tn(c,r.props);var f=new qe(r,c,s,o,t),h=a.render.call(null,f._c,f);if(h instanceof It)return Xe(h,r,f.parent,a,f);if(Array.isArray(h)){for(var d=Te(h)||[],p=new Array(d.length),g=0;g<d.length;g++)p[g]=Xe(d[g],r,f.parent,a,f);return p}}function Xe(t,e,n,r,i){var o=_t(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function tn(t,e){for(var n in e)t[_(n)]=e[n]}Ke(qe.prototype);var en={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;en.prepatch(n,n)}else{var r=t.componentInstance=on(t,On);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;jn(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,zn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Jn(n):Pn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Un(e,!0):e.$destroy())}},nn=Object.keys(en);function rn(t,e,n,s,a){if(!r(t)){var u=n.$options._base;if(c(t)&&(t=u.extend(t)),"function"===typeof t){var l;if(r(t.cid)&&(l=t,t=bn(l,u),void 0===t))return Mn(l,e,n,s,a);e=e||{},br(t),i(e.model)&&cn(t.options,e);var f=Ce(e,t,a);if(o(t.options.functional))return Je(t,f,e,n,s);var h=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}sn(e);var p=t.options.name||a,g=new It("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:h,tag:a,children:s},l);return g}}}function on(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function sn(t){for(var e=t.hook||(t.hook={}),n=0;n<nn.length;n++){var r=nn[n],i=e[r],o=en[r];i===o||i&&i._merged||(e[r]=i?an(o,i):o)}}function an(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function cn(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[r],a=e.model.callback;i(s)?(Array.isArray(s)?-1===s.indexOf(a):s!==a)&&(o[r]=[a].concat(s)):o[r]=a}var un=1,ln=2;function fn(t,e,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=ln),hn(t,e,n,r,i)}function hn(t,e,n,r,o){if(i(n)&&i(n.__ob__))return bt();if(i(n)&&i(n.is)&&(e=n.is),!e)return bt();var s,a,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===ln?r=Te(r):o===un&&(r=Ae(r)),"string"===typeof e)?(a=t.$vnode&&t.$vnode.ns||Y.getTagNamespace(e),s=Y.isReservedTag(e)?new It(Y.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!i(c=Zt(t.$options,"components",e))?new It(e,n,r,void 0,void 0,t):rn(c,n,t,r,e)):s=rn(e,n,t,r);return Array.isArray(s)?s:i(s)?(i(a)&&dn(s,a),i(n)&&pn(n),s):bt()}function dn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var s=0,a=t.children.length;s<a;s++){var c=t.children[s];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&dn(c,e,n)}}function pn(t){c(t.style)&&ve(t.style),c(t.class)&&ve(t.class)}function gn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=De(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return fn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return fn(t,e,n,r,i,!0)};var o=r&&r.data;Rt(t,"$attrs",o&&o.attrs||n,null,!0),Rt(t,"$listeners",e._parentListeners||n,null,!0)}var vn,yn=null;function mn(t){Ke(t.prototype),t.prototype.$nextTick=function(t){return pe(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=Le(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{yn=e,t=r.call(e._renderProxy,e.$createElement)}catch(_s){ee(_s,e,"render"),t=e._vnode}finally{yn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof It||(t=bt()),t.parent=i,t}}function In(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Mn(t,e,n,r,i){var o=bt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function bn(t,e){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=yn;if(n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var s=t.owners=[n],a=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return m(s,n)}));var f=function(t){for(var e=0,n=s.length;e<n;e++)s[e].$forceUpdate();t&&(s.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},h=U((function(n){t.resolved=In(n,e),a?s.length=0:f(!0)})),p=U((function(e){i(t.errorComp)&&(t.error=!0,f(!0))})),g=t(h,p);return c(g)&&(d(g)?r(t.resolved)&&g.then(h,p):d(g.component)&&(g.component.then(h,p),i(g.error)&&(t.errorComp=In(g.error,e)),i(g.loading)&&(t.loadingComp=In(g.loading,e),0===g.delay?t.loading=!0:u=setTimeout((function(){u=null,r(t.resolved)&&r(t.error)&&(t.loading=!0,f(!1))}),g.delay||200)),i(g.timeout)&&(l=setTimeout((function(){l=null,r(t.resolved)&&p(null)}),g.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}function Cn(t){return t.isComment&&t.asyncFactory}function _n(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||Cn(n)))return n}}function An(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Nn(t,e)}function Tn(t,e){vn.$on(t,e)}function wn(t,e){vn.$off(t,e)}function En(t,e){var n=vn;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function Nn(t,e,n){vn=t,Me(e,n||{},Tn,wn,En,t),vn=void 0}function Sn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var a=s.length;while(a--)if(o=s[a],o===e||o.fn===e){s.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?O(n):n;for(var r=O(arguments,1),i='event handler for "'+t+'"',o=0,s=n.length;o<s;o++)ne(n[o],e,r,e,i)}return e}}var On=null;function Dn(t){var e=On;return On=t,function(){On=e}}function xn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Ln(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=Dn(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){zn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||m(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),zn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Rn(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=bt),zn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new nr(t,r,L,{before:function(){t._isMounted&&!t._isDestroyed&&zn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,zn(t,"mounted")),t}function jn(t,e,r,i,o){var s=i.data.scopedSlots,a=t.$scopedSlots,c=!!(s&&!s.$stable||a!==n&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key),u=!!(o||t.$options._renderChildren||c);if(t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o,t.$attrs=i.data.attrs||n,t.$listeners=r||n,e&&t.$options.props){St(!1);for(var l=t._props,f=t.$options._propKeys||[],h=0;h<f.length;h++){var d=f[h],p=t.$options.props;l[d]=Kt(d,p,e,t)}St(!0),t.$options.propsData=e}r=r||n;var g=t.$options._parentListeners;t.$options._parentListeners=r,Nn(t,r,g),u&&(t.$slots=De(o,i.context),t.$forceUpdate())}function kn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Pn(t,e){if(e){if(t._directInactive=!1,kn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Pn(t.$children[n]);zn(t,"activated")}}function Un(t,e){if((!e||(t._directInactive=!0,!kn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Un(t.$children[n]);zn(t,"deactivated")}}function zn(t,e){yt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)ne(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),mt()}var Bn=[],Gn=[],Yn={},$n=!1,Hn=!1,Fn=0;function Vn(){Fn=Bn.length=Gn.length=0,Yn={},$n=Hn=!1}var Qn=0,Wn=Date.now;if(K&&!tt){var Zn=window.performance;Zn&&"function"===typeof Zn.now&&Wn()>document.createEvent("Event").timeStamp&&(Wn=function(){return Zn.now()})}function Kn(){var t,e;for(Qn=Wn(),Hn=!0,Bn.sort((function(t,e){return t.id-e.id})),Fn=0;Fn<Bn.length;Fn++)t=Bn[Fn],t.before&&t.before(),e=t.id,Yn[e]=null,t.run();var n=Gn.slice(),r=Bn.slice();Vn(),Xn(n),qn(r),ut&&Y.devtools&&ut.emit("flush")}function qn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&zn(r,"updated")}}function Jn(t){t._inactive=!1,Gn.push(t)}function Xn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Pn(t[e],!0)}function tr(t){var e=t.id;if(null==Yn[e]){if(Yn[e]=!0,Hn){var n=Bn.length-1;while(n>Fn&&Bn[n].id>t.id)n--;Bn.splice(n+1,0,t)}else Bn.push(t);$n||($n=!0,pe(Kn))}}var er=0,nr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++er,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"===typeof e?this.getter=e:(this.getter=Q(e),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var t;yt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(_s){if(!this.user)throw _s;ee(_s,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),mt(),this.cleanupDeps()}return t},nr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},nr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},nr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(_s){ee(_s,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:L,set:L};function ir(t,e,n){rr.get=function(){return this[e][n]},rr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,rr)}function or(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&pr(t,e.methods),e.data?ar(t):Lt(t._data={},!0),e.computed&&lr(t,e.computed),e.watch&&e.watch!==ot&&gr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||St(!1);var s=function(o){i.push(o);var s=Kt(o,e,n,t);Rt(r,o,s),o in t||ir(t,"_props",o)};for(var a in e)s(a);St(!0)}function ar(t){var e=t.$options.data;e=t._data="function"===typeof e?cr(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&M(r,o)||H(o)||ir(t,"_data",o)}Lt(e,!0)}function cr(t,e){yt();try{return t.call(e,e)}catch(_s){return ee(_s,e,"data()"),{}}finally{mt()}}var ur={lazy:!0};function lr(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],s="function"===typeof o?o:o.get;0,r||(n[i]=new nr(t,s||L,L,ur)),i in t||fr(t,i,o)}}function fr(t,e,n){var r=!ct();"function"===typeof n?(rr.get=r?hr(e):dr(n),rr.set=L):(rr.get=n.get?r&&!1!==n.cache?hr(e):dr(n.get):L,rr.set=n.set||L),Object.defineProperty(t,e,rr)}function hr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function dr(t){return function(){return t.call(this,this)}}function pr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?L:S(e[n],t)}function gr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)vr(t,n,r[i]);else vr(t,n,r)}}function vr(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function yr(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=jt,t.prototype.$delete=kt,t.prototype.$watch=function(t,e,n){var r=this;if(l(e))return vr(r,t,e,n);n=n||{},n.user=!0;var i=new nr(r,t,e,n);if(n.immediate)try{e.call(r,i.value)}catch(o){ee(o,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var mr=0;function Ir(t){t.prototype._init=function(t){var e=this;e._uid=mr++,e._isVue=!0,t&&t._isComponent?Mr(e,t):e.$options=Wt(br(e.constructor),t||{},e),e._renderProxy=e,e._self=e,xn(e),An(e),gn(e),zn(e,"beforeCreate"),Se(e),or(e),Ne(e),zn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Mr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function br(t){var e=t.options;if(t.super){var n=br(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var i=Cr(t);i&&D(t.extendOptions,i),e=t.options=Wt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Cr(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}function _r(t){this._init(t)}function Ar(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Tr(t){t.mixin=function(t){return this.options=Wt(this.options,t),this}}function wr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Wt(n.options,t),s["super"]=n,s.options.props&&Er(s),s.options.computed&&Nr(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,B.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=D({},s.options),i[r]=s,s}}function Er(t){var e=t.options.props;for(var n in e)ir(t.prototype,"_props",n)}function Nr(t){var e=t.options.computed;for(var n in e)fr(t.prototype,n,e[n])}function Sr(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Or(t){return t&&(t.Ctor.options.name||t.tag)}function Dr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function xr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Or(s.componentOptions);a&&!e(a)&&Lr(n,o,r,i)}}}function Lr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,m(n,e)}Ir(_r),yr(_r),Sn(_r),Ln(_r),mn(_r);var Rr=[String,RegExp,Array],jr={name:"keep-alive",abstract:!0,props:{include:Rr,exclude:Rr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){xr(t,(function(t){return Dr(e,t)}))})),this.$watch("exclude",(function(e){xr(t,(function(t){return!Dr(e,t)}))}))},render:function(){var t=this.$slots.default,e=_n(t),n=e&&e.componentOptions;if(n){var r=Or(n),i=this,o=i.include,s=i.exclude;if(o&&(!r||!Dr(o,r))||s&&r&&Dr(s,r))return e;var a=this,c=a.cache,u=a.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,m(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&Lr(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},kr={KeepAlive:jr};function Pr(t){var e={get:function(){return Y}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:D,mergeOptions:Wt,defineReactive:Rt},t.set=jt,t.delete=kt,t.nextTick=pe,t.observable=function(t){return Lt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,kr),Ar(t),Tr(t),wr(t),Sr(t)}Pr(_r),Object.defineProperty(_r.prototype,"$isServer",{get:ct}),Object.defineProperty(_r.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(_r,"FunctionalRenderContext",{value:qe}),_r.version="2.6.10";var Ur=v("style,class"),zr=v("input,textarea,option,select,progress"),Br=function(t,e,n){return"value"===n&&zr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Gr=v("contenteditable,draggable,spellcheck"),Yr=v("events,caret,typing,plaintext-only"),$r=function(t,e){return Wr(e)||"false"===e?"false":"contenteditable"===t&&Yr(e)?e:"true"},Hr=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Fr="http://www.w3.org/1999/xlink",Vr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Qr=function(t){return Vr(t)?t.slice(6,t.length):""},Wr=function(t){return null==t||!1===t};function Zr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Kr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Kr(e,n.data));return qr(e.staticClass,e.class)}function Kr(t,e){return{staticClass:Jr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function qr(t,e){return i(t)||i(e)?Jr(t,Xr(e)):""}function Jr(t,e){return t?e?t+" "+e:t:e||""}function Xr(t){return Array.isArray(t)?ti(t):c(t)?ei(t):"string"===typeof t?t:""}function ti(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Xr(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function ei(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var ni={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ri=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ii=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(t){return ri(t)||ii(t)};function si(t){return ii(t)?"svg":"math"===t?"math":void 0}var ai=Object.create(null);function ci(t){if(!K)return!0;if(oi(t))return!1;if(t=t.toLowerCase(),null!=ai[t])return ai[t];var e=document.createElement(t);return t.indexOf("-")>-1?ai[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ai[t]=/HTMLUnknownElement/.test(e.toString())}var ui=v("text,number,password,search,email,tel,url");function li(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function fi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(t,e){return document.createElementNS(ni[t],e)}function di(t){return document.createTextNode(t)}function pi(t){return document.createComment(t)}function gi(t,e,n){t.insertBefore(e,n)}function vi(t,e){t.removeChild(e)}function yi(t,e){t.appendChild(e)}function mi(t){return t.parentNode}function Ii(t){return t.nextSibling}function Mi(t){return t.tagName}function bi(t,e){t.textContent=e}function Ci(t,e){t.setAttribute(e,"")}var _i=Object.freeze({createElement:fi,createElementNS:hi,createTextNode:di,createComment:pi,insertBefore:gi,removeChild:vi,appendChild:yi,parentNode:mi,nextSibling:Ii,tagName:Mi,setTextContent:bi,setStyleScope:Ci}),Ai={create:function(t,e){Ti(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ti(t,!0),Ti(e))},destroy:function(t){Ti(t,!0)}};function Ti(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?m(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var wi=new It("",{},[]),Ei=["create","activate","update","remove","destroy"];function Ni(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Si(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Si(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||ui(r)&&ui(o)}function Oi(t,e,n){var r,o,s={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(s[o]=r);return s}function Di(t){var e,n,s={},c=t.modules,u=t.nodeOps;for(e=0;e<Ei.length;++e)for(s[Ei[e]]=[],n=0;n<c.length;++n)i(c[n][Ei[e]])&&s[Ei[e]].push(c[n][Ei[e]]);function l(t){return new It(u.tagName(t).toLowerCase(),{},[],void 0,t)}function f(t,e){function n(){0===--n.listeners&&h(t)}return n.listeners=e,n}function h(t){var e=u.parentNode(t);i(e)&&u.removeChild(e,t)}function d(t,e,n,r,s,a,c){if(i(t.elm)&&i(a)&&(t=a[c]=_t(t)),t.isRootInsert=!s,!p(t,e,n,r)){var l=t.data,f=t.children,h=t.tag;i(h)?(t.elm=t.ns?u.createElementNS(t.ns,h):u.createElement(h,t),C(t),I(t,f,e),i(l)&&b(t,e),m(n,t.elm,r)):o(t.isComment)?(t.elm=u.createComment(t.text),m(n,t.elm,r)):(t.elm=u.createTextNode(t.text),m(n,t.elm,r))}}function p(t,e,n,r){var s=t.data;if(i(s)){var a=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1),i(t.componentInstance))return g(t,e),m(n,t.elm,r),o(a)&&y(t,e,n,r),!0}}function g(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,M(t)?(b(t,e),C(t)):(Ti(t),e.push(t))}function y(t,e,n,r){var o,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](wi,a);e.push(a);break}m(n,t.elm,r)}function m(t,e,n){i(t)&&(i(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function I(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)d(e[r],n,t.elm,null,!0,e,r)}else a(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function M(t){while(t.componentInstance)t=t.componentInstance._vnode;return i(t.tag)}function b(t,n){for(var r=0;r<s.create.length;++r)s.create[r](wi,t);e=t.data.hook,i(e)&&(i(e.create)&&e.create(wi,t),i(e.insert)&&n.push(t))}function C(t){var e;if(i(e=t.fnScopeId))u.setStyleScope(t.elm,e);else{var n=t;while(n)i(e=n.context)&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent}i(e=On)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function _(t,e,n,r,i,o){for(;r<=i;++r)d(n[r],o,t,e,!1,n,r)}function A(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<s.destroy.length;++e)s.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)A(t.children[n])}function T(t,e,n,r){for(;n<=r;++n){var o=e[n];i(o)&&(i(o.tag)?(w(o),A(o)):h(o.elm))}}function w(t,e){if(i(e)||i(t.data)){var n,r=s.remove.length+1;for(i(e)?e.listeners+=r:e=f(t.elm,r),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&w(n,e),n=0;n<s.remove.length;++n)s.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else h(t.elm)}function E(t,e,n,o,s){var a,c,l,f,h=0,p=0,g=e.length-1,v=e[0],y=e[g],m=n.length-1,I=n[0],M=n[m],b=!s;while(h<=g&&p<=m)r(v)?v=e[++h]:r(y)?y=e[--g]:Ni(v,I)?(S(v,I,o,n,p),v=e[++h],I=n[++p]):Ni(y,M)?(S(y,M,o,n,m),y=e[--g],M=n[--m]):Ni(v,M)?(S(v,M,o,n,m),b&&u.insertBefore(t,v.elm,u.nextSibling(y.elm)),v=e[++h],M=n[--m]):Ni(y,I)?(S(y,I,o,n,p),b&&u.insertBefore(t,y.elm,v.elm),y=e[--g],I=n[++p]):(r(a)&&(a=Oi(e,h,g)),c=i(I.key)?a[I.key]:N(I,e,h,g),r(c)?d(I,o,t,v.elm,!1,n,p):(l=e[c],Ni(l,I)?(S(l,I,o,n,p),e[c]=void 0,b&&u.insertBefore(t,l.elm,v.elm)):d(I,o,t,v.elm,!1,n,p)),I=n[++p]);h>g?(f=r(n[m+1])?null:n[m+1].elm,_(t,f,n,p,m,o)):p>m&&T(t,e,h,g)}function N(t,e,n,r){for(var o=n;o<r;o++){var s=e[o];if(i(s)&&Ni(t,s))return o}}function S(t,e,n,a,c,l){if(t!==e){i(e.elm)&&i(a)&&(e=a[c]=_t(e));var f=e.elm=t.elm;if(o(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?x(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var h,d=e.data;i(d)&&i(h=d.hook)&&i(h=h.prepatch)&&h(t,e);var p=t.children,g=e.children;if(i(d)&&M(e)){for(h=0;h<s.update.length;++h)s.update[h](t,e);i(h=d.hook)&&i(h=h.update)&&h(t,e)}r(e.text)?i(p)&&i(g)?p!==g&&E(f,p,g,n,l):i(g)?(i(t.text)&&u.setTextContent(f,""),_(f,null,g,0,g.length-1,n)):i(p)?T(f,p,0,p.length-1):i(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),i(d)&&i(h=d.hook)&&i(h=h.postpatch)&&h(t,e)}}}function O(t,e,n){if(o(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var D=v("attrs,class,staticClass,staticStyle,key");function x(t,e,n,r){var s,a=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,o(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(s=c.hook)&&i(s=s.init)&&s(e,!0),i(s=e.componentInstance)))return g(e,n),!0;if(i(a)){if(i(u))if(t.hasChildNodes())if(i(s=c)&&i(s=s.domProps)&&i(s=s.innerHTML)){if(s!==t.innerHTML)return!1}else{for(var l=!0,f=t.firstChild,h=0;h<u.length;h++){if(!f||!x(f,u[h],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else I(e,u,n);if(i(c)){var d=!1;for(var p in c)if(!D(p)){d=!0,b(e,n);break}!d&&c["class"]&&ve(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,a){if(!r(e)){var c=!1,f=[];if(r(t))c=!0,d(e,f);else{var h=i(t.nodeType);if(!h&&Ni(t,e))S(t,e,f,null,null,a);else{if(h){if(1===t.nodeType&&t.hasAttribute(z)&&(t.removeAttribute(z),n=!0),o(n)&&x(t,e,f))return O(e,f,!0),t;t=l(t)}var p=t.elm,g=u.parentNode(p);if(d(e,f,p._leaveCb?null:g,u.nextSibling(p)),i(e.parent)){var v=e.parent,y=M(e);while(v){for(var m=0;m<s.destroy.length;++m)s.destroy[m](v);if(v.elm=e.elm,y){for(var I=0;I<s.create.length;++I)s.create[I](wi,v);var b=v.data.hook.insert;if(b.merged)for(var C=1;C<b.fns.length;C++)b.fns[C]()}else Ti(v);v=v.parent}}i(g)?T(g,[t],0,0):i(t.tag)&&A(t)}}return O(e,f,c),e.elm}i(t)&&A(t)}}var xi={create:Li,update:Li,destroy:function(t){Li(t,wi)}};function Li(t,e){(t.data.directives||e.data.directives)&&Ri(t,e)}function Ri(t,e){var n,r,i,o=t===wi,s=e===wi,a=ki(t.data.directives,t.context),c=ki(e.data.directives,e.context),u=[],l=[];for(n in c)r=a[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ui(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(Ui(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Ui(u[n],"inserted",e,t)};o?be(e,"insert",f):f()}if(l.length&&be(e,"postpatch",(function(){for(var n=0;n<l.length;n++)Ui(l[n],"componentUpdated",e,t)})),!o)for(n in a)c[n]||Ui(a[n],"unbind",t,t,s)}var ji=Object.create(null);function ki(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)r=t[n],r.modifiers||(r.modifiers=ji),i[Pi(r)]=r,r.def=Zt(e.$options,"directives",r.name,!0);return i}function Pi(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Ui(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(_s){ee(_s,n.context,"directive "+t.name+" "+e+" hook")}}var zi=[Ai,xi];function Bi(t,e){var n=e.componentOptions;if((!i(n)||!1!==n.Ctor.options.inheritAttrs)&&(!r(t.data.attrs)||!r(e.data.attrs))){var o,s,a,c=e.elm,u=t.data.attrs||{},l=e.data.attrs||{};for(o in i(l.__ob__)&&(l=e.data.attrs=D({},l)),l)s=l[o],a=u[o],a!==s&&Gi(c,o,s);for(o in(tt||nt)&&l.value!==u.value&&Gi(c,"value",l.value),u)r(l[o])&&(Vr(o)?c.removeAttributeNS(Fr,Qr(o)):Gr(o)||c.removeAttribute(o))}}function Gi(t,e,n){t.tagName.indexOf("-")>-1?Yi(t,e,n):Hr(e)?Wr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Gr(e)?t.setAttribute(e,$r(e,n)):Vr(e)?Wr(n)?t.removeAttributeNS(Fr,Qr(e)):t.setAttributeNS(Fr,e,n):Yi(t,e,n)}function Yi(t,e,n){if(Wr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var $i={create:Bi,update:Bi};function Hi(t,e){var n=e.elm,o=e.data,s=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=Zr(e),c=n._transitionClasses;i(c)&&(a=Jr(a,Xr(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Fi,Vi={create:Hi,update:Hi},Qi="__r",Wi="__c";function Zi(t){if(i(t[Qi])){var e=tt?"change":"input";t[e]=[].concat(t[Qi],t[e]||[]),delete t[Qi]}i(t[Wi])&&(t.change=[].concat(t[Wi],t.change||[]),delete t[Wi])}function Ki(t,e,n){var r=Fi;return function i(){var o=e.apply(null,arguments);null!==o&&Xi(t,i,n,r)}}var qi=se&&!(it&&Number(it[1])<=53);function Ji(t,e,n,r){if(qi){var i=Qn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Fi.addEventListener(t,e,st?{capture:n,passive:r}:n)}function Xi(t,e,n,r){(r||Fi).removeEventListener(t,e._wrapper||e,n)}function to(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Fi=e.elm,Zi(n),Me(n,i,Ji,Xi,Ki,e.context),Fi=void 0}}var eo,no={create:to,update:to};function ro(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,s=e.elm,a=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=D({},c)),a)n in c||(s[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=o;var u=r(o)?"":String(o);io(s,u)&&(s.value=u)}else if("innerHTML"===n&&ii(s.tagName)&&r(s.innerHTML)){eo=eo||document.createElement("div"),eo.innerHTML="<svg>"+o+"</svg>";var l=eo.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(l.firstChild)s.appendChild(l.firstChild)}else if(o!==a[n])try{s[n]=o}catch(_s){}}}}function io(t,e){return!t.composing&&("OPTION"===t.tagName||oo(t,e)||so(t,e))}function oo(t,e){var n=!0;try{n=document.activeElement!==t}catch(_s){}return n&&t.value!==e}function so(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var ao={create:ro,update:ro},co=b((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function uo(t){var e=lo(t.style);return t.staticStyle?D(t.staticStyle,e):e}function lo(t){return Array.isArray(t)?x(t):"string"===typeof t?co(t):t}function fo(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=uo(i.data))&&D(r,n)}(n=uo(t.data))&&D(r,n);var o=t;while(o=o.parent)o.data&&(n=uo(o.data))&&D(r,n);return r}var ho,po=/^--/,go=/\s*!important$/,vo=function(t,e,n){if(po.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(w(e),n.replace(go,""),"important");else{var r=mo(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},yo=["Webkit","Moz","ms"],mo=b((function(t){if(ho=ho||document.createElement("div").style,t=_(t),"filter"!==t&&t in ho)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<yo.length;n++){var r=yo[n]+e;if(r in ho)return r}}));function Io(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var s,a,c=e.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,h=lo(e.data.style)||{};e.data.normalizedStyle=i(h.__ob__)?D({},h):h;var d=fo(e,!0);for(a in f)r(d[a])&&vo(c,a,"");for(a in d)s=d[a],s!==f[a]&&vo(c,a,null==s?"":s)}}var Mo={create:Io,update:Io},bo=/\s+/;function Co(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(bo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function _o(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(bo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Ao(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&D(e,To(t.name||"v")),D(e,t),e}return"string"===typeof t?To(t):void 0}}var To=b((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),wo=K&&!et,Eo="transition",No="animation",So="transition",Oo="transitionend",Do="animation",xo="animationend";wo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(So="WebkitTransition",Oo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Do="WebkitAnimation",xo="webkitAnimationEnd"));var Lo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ro(t){Lo((function(){Lo(t)}))}function jo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Co(t,e))}function ko(t,e){t._transitionClasses&&m(t._transitionClasses,e),_o(t,e)}function Po(t,e,n){var r=zo(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===Eo?Oo:xo,c=0,u=function(){t.removeEventListener(a,l),n()},l=function(e){e.target===t&&++c>=s&&u()};setTimeout((function(){c<s&&u()}),o+1),t.addEventListener(a,l)}var Uo=/\b(transform|all)(,|$)/;function zo(t,e){var n,r=window.getComputedStyle(t),i=(r[So+"Delay"]||"").split(", "),o=(r[So+"Duration"]||"").split(", "),s=Bo(i,o),a=(r[Do+"Delay"]||"").split(", "),c=(r[Do+"Duration"]||"").split(", "),u=Bo(a,c),l=0,f=0;e===Eo?s>0&&(n=Eo,l=s,f=o.length):e===No?u>0&&(n=No,l=u,f=c.length):(l=Math.max(s,u),n=l>0?s>u?Eo:No:null,f=n?n===Eo?o.length:c.length:0);var h=n===Eo&&Uo.test(r[So+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:h}}function Bo(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Go(e)+Go(t[n])})))}function Go(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Yo(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Ao(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){var s=o.css,a=o.type,u=o.enterClass,l=o.enterToClass,f=o.enterActiveClass,h=o.appearClass,d=o.appearToClass,p=o.appearActiveClass,v=o.beforeEnter,y=o.enter,m=o.afterEnter,I=o.enterCancelled,M=o.beforeAppear,b=o.appear,C=o.afterAppear,_=o.appearCancelled,A=o.duration,T=On,w=On.$vnode;while(w&&w.parent)T=w.context,w=w.parent;var E=!T._isMounted||!t.isRootInsert;if(!E||b||""===b){var N=E&&h?h:u,S=E&&p?p:f,O=E&&d?d:l,D=E&&M||v,x=E&&"function"===typeof b?b:y,L=E&&C||m,R=E&&_||I,j=g(c(A)?A.enter:A);0;var k=!1!==s&&!et,P=Fo(x),z=n._enterCb=U((function(){k&&(ko(n,O),ko(n,S)),z.cancelled?(k&&ko(n,N),R&&R(n)):L&&L(n),n._enterCb=null}));t.data.show||be(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),x&&x(n,z)})),D&&D(n),k&&(jo(n,N),jo(n,S),Ro((function(){ko(n,N),z.cancelled||(jo(n,O),P||(Ho(j)?setTimeout(z,j):Po(n,a,z)))}))),t.data.show&&(e&&e(),x&&x(n,z)),k||P||z()}}}function $o(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=Ao(t.data.transition);if(r(o)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var s=o.css,a=o.type,u=o.leaveClass,l=o.leaveToClass,f=o.leaveActiveClass,h=o.beforeLeave,d=o.leave,p=o.afterLeave,v=o.leaveCancelled,y=o.delayLeave,m=o.duration,I=!1!==s&&!et,M=Fo(d),b=g(c(m)?m.leave:m);0;var C=n._leaveCb=U((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),I&&(ko(n,l),ko(n,f)),C.cancelled?(I&&ko(n,u),v&&v(n)):(e(),p&&p(n)),n._leaveCb=null}));y?y(_):_()}function _(){C.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),I&&(jo(n,u),jo(n,f),Ro((function(){ko(n,u),C.cancelled||(jo(n,l),M||(Ho(b)?setTimeout(C,b):Po(n,a,C)))}))),d&&d(n,C),I||M||C())}}function Ho(t){return"number"===typeof t&&!isNaN(t)}function Fo(t){if(r(t))return!1;var e=t.fns;return i(e)?Fo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Vo(t,e){!0!==e.data.show&&Yo(e)}var Qo=K?{create:Vo,activate:Vo,remove:function(t,e){!0!==t.data.show?$o(t,e):e()}}:{},Wo=[$i,Vi,no,ao,Mo,Qo],Zo=Wo.concat(zi),Ko=Di({nodeOps:_i,modules:Zo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&is(t,"input")}));var qo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?be(n,"postpatch",(function(){qo.componentUpdated(t,e,n)})):Jo(t,e,n.context),t._vOptions=[].map.call(t.options,es)):("textarea"===n.tag||ui(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ns),t.addEventListener("compositionend",rs),t.addEventListener("change",rs),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Jo(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,es);if(i.some((function(t,e){return!k(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ts(t,i)})):e.value!==e.oldValue&&ts(e.value,i);o&&is(t,"change")}}}};function Jo(t,e,n){Xo(t,e,n),(tt||nt)&&setTimeout((function(){Xo(t,e,n)}),0)}function Xo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,c=t.options.length;a<c;a++)if(s=t.options[a],i)o=P(r,es(s))>-1,s.selected!==o&&(s.selected=o);else if(k(es(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function ts(t,e){return e.every((function(e){return!k(e,t)}))}function es(t){return"_value"in t?t._value:t.value}function ns(t){t.target.composing=!0}function rs(t){t.target.composing&&(t.target.composing=!1,is(t.target,"input"))}function is(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function os(t){return!t.componentInstance||t.data&&t.data.transition?t:os(t.componentInstance._vnode)}var ss={bind:function(t,e,n){var r=e.value;n=os(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Yo(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=os(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Yo(n,(function(){t.style.display=t.__vOriginalDisplay})):$o(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},as={model:qo,show:ss},cs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function us(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?us(_n(e.children)):t}function ls(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[_(o)]=i[o];return e}function fs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function hs(t){while(t=t.parent)if(t.data.transition)return!0}function ds(t,e){return e.key===t.key&&e.tag===t.tag}var ps=function(t){return t.tag||Cn(t)},gs=function(t){return"show"===t.name},vs={name:"transition",props:cs,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ps),n.length)){0;var r=this.mode;0;var i=n[0];if(hs(this.$vnode))return i;var o=us(i);if(!o)return i;if(this._leaving)return fs(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=ls(this),u=this._vnode,l=us(u);if(o.data.directives&&o.data.directives.some(gs)&&(o.data.show=!0),l&&l.data&&!ds(o,l)&&!Cn(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=D({},c);if("out-in"===r)return this._leaving=!0,be(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),fs(t,i);if("in-out"===r){if(Cn(o))return u;var h,d=function(){h()};be(c,"afterEnter",d),be(c,"enterCancelled",d),be(f,"delayLeave",(function(t){h=t}))}}return i}}},ys=D({tag:String,moveClass:String},cs);delete ys.mode;var ms={props:ys,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Dn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=ls(this),a=0;a<i.length;a++){var c=i[a];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=s;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var h=r[f];h.data.transition=s,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?u.push(h):l.push(h)}this.kept=t(e,null,u),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Is),t.forEach(Ms),t.forEach(bs),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;jo(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Oo,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Oo,t),n._moveCb=null,ko(n,e))})}})))},methods:{hasMove:function(t,e){if(!wo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){_o(n,t)})),Co(n,e),n.style.display="none",this.$el.appendChild(n);var r=zo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Is(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ms(t){t.data.newPos=t.elm.getBoundingClientRect()}function bs(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var Cs={Transition:vs,TransitionGroup:ms};_r.config.mustUseProp=Br,_r.config.isReservedTag=oi,_r.config.isReservedAttr=Ur,_r.config.getTagNamespace=si,_r.config.isUnknownElement=ci,D(_r.options.directives,as),D(_r.options.components,Cs),_r.prototype.__patch__=K?Ko:L,_r.prototype.$mount=function(t,e){return t=t&&K?li(t):void 0,Rn(this,t,e)},K&&setTimeout((function(){Y.devtools&&ut&&ut.emit("init",_r)}),0),e["default"]=_r}.call(this,n("c8ba"))},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"2b88":function(t,e,n){"use strict"; /*! * portal-vue © Thorsten Lünborg, 2019 * * Version: 2.1.7 * * LICENCE: MIT * * https://github.com/linusborg/portal-vue * */function r(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("2b0e"));function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function s(t){return a(t)||c(t)||u()}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function c(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var l="undefined"!==typeof window;function f(t){return Array.isArray(t)||"object"===o(t)?Object.freeze(t):t}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],i="function"===typeof r?r(e):n.passengers;return t.concat(i)}),[])}function d(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var g={},v={},y={},m=i.extend({data:function(){return{transports:g,targets:v,sources:y,trackInstances:l}},methods:{open:function(t){if(l){var e=t.to,n=t.from,r=t.passengers,o=t.order,s=void 0===o?1/0:o;if(e&&n&&r){var a={to:e,from:n,passengers:f(r),order:s},c=Object.keys(this.transports);-1===c.indexOf(e)&&i.set(this.transports,e,[]);var u=this.$_getTransportIndex(a),h=this.transports[e].slice(0);-1===u?h.push(a):h[u]=a,this.transports[e]=d(h,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var o=this.transports[n].slice(0);o.splice(i,1),this.transports[n]=o}}},registerTarget:function(t,e,n){l&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){l&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}),I=new m(g),M=1,b=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(M++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){I.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){I.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};I.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:s(t),order:this.order};I.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),C=i.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:I.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){I.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){I.unregisterTarget(e),I.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){I.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return h(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),_=0,A=["disabled","name","order","slim","slotProps","tag","to"],T=["multiple","transition"],w=i.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(_++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(I.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=I.targets[e.name];else{var n=e.append;if(n){var r="string"===typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var o=p(this.$props,T);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new C({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,A);return t(b,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",b),t.component(e.portalTargetName||"PortalTarget",C),t.component(e.MountingPortalName||"MountingPortal",w)}var N={install:E};e.default=N,e.Portal=b,e.PortalTarget=C,e.MountingPortal=w,e.Wormhole=I},"2bdd":function(t,e,n){"use strict";var r=n("d282"),i=n("02de"),o=n("a8c1"),s=n("5fbe"),a=n("543e"),c=Object(r["a"])("list"),u=c[0],l=c[1],f=c[2];e["a"]=u({mixins:[Object(s["a"])((function(t){this.scroller||(this.scroller=Object(o["c"])(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,n=t.$el,r=t.scroller,o=t.offset,s=t.direction;e=r.getBoundingClientRect?r.getBoundingClientRect():{top:0,bottom:r.innerHeight};var a=e.bottom-e.top;if(!a||Object(i["a"])(n))return!1;var c=!1,u=t.$refs.placeholder.getBoundingClientRect();c="up"===s?e.top-u.top<=o:u.bottom-e.bottom<=o,c&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:l("loading")},[this.slots("loading")||t(a["a"],{attrs:{size:"16"}},[this.loadingText||f("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:l("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:l("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:l("placeholder")});return t("div",{class:l(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}})},"2caf":function(t,e,n){var r=n("5ca1");r(r.S,"Array",{isArray:n("1169")})},"2d00":function(t,e){t.exports=!1},"2d34":function(t,e,n){var r=n("5ca1"),i=n("38fd"),o=n("cb7c");r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},"2d5c":function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},"2d63":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("67bb"),i=n.n(r),o=n("5d58"),s=n.n(o),a=n("a745"),c=n.n(a),u=n("e630");function l(t,e){var n="undefined"!==typeof i.a&&t[s.a]||t["@@iterator"];if(!n){if(c()(t)||(n=Object(u["a"])(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},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 a,l=!0,f=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){f=!0,a=t},f:function(){try{l||null==n["return"]||n["return"]()}finally{if(f)throw a}}}}},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2e08":function(t,e,n){var r=n("9def"),i=n("9744"),o=n("be13");t.exports=function(t,e,n,s){var a=String(o(t)),c=a.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return a;var f=l-c,h=i.call(u,Math.ceil(f/u.length));return h.length>f&&(h=h.slice(0,f)),s?h+a:a+h}},"2e37":function(t,e,n){var r=n("5ca1");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2ef0":function(t,e,n){(function(t,r){var i; /** * @license * Lodash <https://lodash.com/> * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,s="4.17.21",a=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",p=1,g=2,v=4,y=1,m=2,I=1,M=2,b=4,C=8,_=16,A=32,T=64,w=128,E=256,N=512,S=30,O="...",D=800,x=16,L=1,R=2,j=3,k=1/0,P=9007199254740991,U=17976931348623157e292,z=NaN,B=4294967295,G=B-1,Y=B>>>1,$=[["ary",w],["bind",I],["bindKey",M],["curry",C],["curryRight",_],["flip",N],["partial",A],["partialRight",T],["rearg",E]],H="[object Arguments]",F="[object Array]",V="[object AsyncFunction]",Q="[object Boolean]",W="[object Date]",Z="[object DOMException]",K="[object Error]",q="[object Function]",J="[object GeneratorFunction]",X="[object Map]",tt="[object Number]",et="[object Null]",nt="[object Object]",rt="[object Promise]",it="[object Proxy]",ot="[object RegExp]",st="[object Set]",at="[object String]",ct="[object Symbol]",ut="[object Undefined]",lt="[object WeakMap]",ft="[object WeakSet]",ht="[object ArrayBuffer]",dt="[object DataView]",pt="[object Float32Array]",gt="[object Float64Array]",vt="[object Int8Array]",yt="[object Int16Array]",mt="[object Int32Array]",It="[object Uint8Array]",Mt="[object Uint8ClampedArray]",bt="[object Uint16Array]",Ct="[object Uint32Array]",_t=/\b__p \+= '';/g,At=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,Et=/[&<>"']/g,Nt=RegExp(wt.source),St=RegExp(Et.source),Ot=/<%-([\s\S]+?)%>/g,Dt=/<%([\s\S]+?)%>/g,xt=/<%=([\s\S]+?)%>/g,Lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rt=/^\w*$/,jt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kt=/[\\^$.*+?()[\]{}|]/g,Pt=RegExp(kt.source),Ut=/^\s+/,zt=/\s/,Bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gt=/\{\n\/\* \[wrapped with (.+)\] \*/,Yt=/,? & /,$t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ht=/[()=,{}\[\]\/\s]/,Ft=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qt=/\w*$/,Wt=/^[-+]0x[0-9a-f]+$/i,Zt=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,qt=/^0o[0-7]+$/i,Jt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ee=/['\n\r\u2028\u2029\\]/g,ne="\\ud800-\\udfff",re="\\u0300-\\u036f",ie="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",se=re+ie+oe,ae="\\u2700-\\u27bf",ce="a-z\\xdf-\\xf6\\xf8-\\xff",ue="\\xac\\xb1\\xd7\\xf7",le="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fe="\\u2000-\\u206f",he=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",de="A-Z\\xc0-\\xd6\\xd8-\\xde",pe="\\ufe0e\\ufe0f",ge=ue+le+fe+he,ve="['’]",ye="["+ne+"]",me="["+ge+"]",Ie="["+se+"]",Me="\\d+",be="["+ae+"]",Ce="["+ce+"]",_e="[^"+ne+ge+Me+ae+ce+de+"]",Ae="\\ud83c[\\udffb-\\udfff]",Te="(?:"+Ie+"|"+Ae+")",we="[^"+ne+"]",Ee="(?:\\ud83c[\\udde6-\\uddff]){2}",Ne="[\\ud800-\\udbff][\\udc00-\\udfff]",Se="["+de+"]",Oe="\\u200d",De="(?:"+Ce+"|"+_e+")",xe="(?:"+Se+"|"+_e+")",Le="(?:"+ve+"(?:d|ll|m|re|s|t|ve))?",Re="(?:"+ve+"(?:D|LL|M|RE|S|T|VE))?",je=Te+"?",ke="["+pe+"]?",Pe="(?:"+Oe+"(?:"+[we,Ee,Ne].join("|")+")"+ke+je+")*",Ue="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ze="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Be=ke+je+Pe,Ge="(?:"+[be,Ee,Ne].join("|")+")"+Be,Ye="(?:"+[we+Ie+"?",Ie,Ee,Ne,ye].join("|")+")",$e=RegExp(ve,"g"),He=RegExp(Ie,"g"),Fe=RegExp(Ae+"(?="+Ae+")|"+Ye+Be,"g"),Ve=RegExp([Se+"?"+Ce+"+"+Le+"(?="+[me,Se,"$"].join("|")+")",xe+"+"+Re+"(?="+[me,Se+De,"$"].join("|")+")",Se+"?"+De+"+"+Le,Se+"+"+Re,ze,Ue,Me,Ge].join("|"),"g"),Qe=RegExp("["+Oe+ne+se+pe+"]"),We=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ke=-1,qe={};qe[pt]=qe[gt]=qe[vt]=qe[yt]=qe[mt]=qe[It]=qe[Mt]=qe[bt]=qe[Ct]=!0,qe[H]=qe[F]=qe[ht]=qe[Q]=qe[dt]=qe[W]=qe[K]=qe[q]=qe[X]=qe[tt]=qe[nt]=qe[ot]=qe[st]=qe[at]=qe[lt]=!1;var Je={};Je[H]=Je[F]=Je[ht]=Je[dt]=Je[Q]=Je[W]=Je[pt]=Je[gt]=Je[vt]=Je[yt]=Je[mt]=Je[X]=Je[tt]=Je[nt]=Je[ot]=Je[st]=Je[at]=Je[ct]=Je[It]=Je[Mt]=Je[bt]=Je[Ct]=!0,Je[K]=Je[q]=Je[lt]=!1;var Xe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},tn={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,on=parseInt,sn="object"==typeof t&&t&&t.Object===Object&&t,an="object"==typeof self&&self&&self.Object===Object&&self,cn=sn||an||Function("return this")(),un=e&&!e.nodeType&&e,ln=un&&"object"==typeof r&&r&&!r.nodeType&&r,fn=ln&&ln.exports===un,hn=fn&&sn.process,dn=function(){try{var t=ln&&ln.require&&ln.require("util").types;return t||hn&&hn.binding&&hn.binding("util")}catch(e){}}(),pn=dn&&dn.isArrayBuffer,gn=dn&&dn.isDate,vn=dn&&dn.isMap,yn=dn&&dn.isRegExp,mn=dn&&dn.isSet,In=dn&&dn.isTypedArray;function Mn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function bn(t,e,n,r){var i=-1,o=null==t?0:t.length;while(++i<o){var s=t[i];e(r,s,n(s),t)}return r}function Cn(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!1===e(t[n],n,t))break;return t}function _n(t,e){var n=null==t?0:t.length;while(n--)if(!1===e(t[n],n,t))break;return t}function An(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!e(t[n],n,t))return!1;return!0}function Tn(t,e){var n=-1,r=null==t?0:t.length,i=0,o=[];while(++n<r){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function wn(t,e){var n=null==t?0:t.length;return!!n&&Un(t,e,0)>-1}function En(t,e,n){var r=-1,i=null==t?0:t.length;while(++r<i)if(n(e,t[r]))return!0;return!1}function Nn(t,e){var n=-1,r=null==t?0:t.length,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}function Sn(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}function On(t,e,n,r){var i=-1,o=null==t?0:t.length;r&&o&&(n=t[++i]);while(++i<o)n=e(n,t[i],i,t);return n}function Dn(t,e,n,r){var i=null==t?0:t.length;r&&i&&(n=t[--i]);while(i--)n=e(n,t[i],i,t);return n}function xn(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(e(t[n],n,t))return!0;return!1}var Ln=Yn("length");function Rn(t){return t.split("")}function jn(t){return t.match($t)||[]}function kn(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function Pn(t,e,n,r){var i=t.length,o=n+(r?1:-1);while(r?o--:++o<i)if(e(t[o],o,t))return o;return-1}function Un(t,e,n){return e===e?pr(t,e,n):Pn(t,Bn,n)}function zn(t,e,n,r){var i=n-1,o=t.length;while(++i<o)if(r(t[i],e))return i;return-1}function Bn(t){return t!==t}function Gn(t,e){var n=null==t?0:t.length;return n?Vn(t,e)/n:z}function Yn(t){return function(e){return null==e?o:e[t]}}function $n(t){return function(e){return null==t?o:t[e]}}function Hn(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Fn(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}function Vn(t,e){var n,r=-1,i=t.length;while(++r<i){var s=e(t[r]);s!==o&&(n=n===o?s:n+s)}return n}function Qn(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function Wn(t,e){return Nn(e,(function(e){return[e,t[e]]}))}function Zn(t){return t?t.slice(0,mr(t)+1).replace(Ut,""):t}function Kn(t){return function(e){return t(e)}}function qn(t,e){return Nn(e,(function(e){return t[e]}))}function Jn(t,e){return t.has(e)}function Xn(t,e){var n=-1,r=t.length;while(++n<r&&Un(e,t[n],0)>-1);return n}function tr(t,e){var n=t.length;while(n--&&Un(e,t[n],0)>-1);return n}function er(t,e){var n=t.length,r=0;while(n--)t[n]===e&&++r;return r}var nr=$n(Xe),rr=$n(tn);function ir(t){return"\\"+nn[t]}function or(t,e){return null==t?o:t[e]}function sr(t){return Qe.test(t)}function ar(t){return We.test(t)}function cr(t){var e,n=[];while(!(e=t.next()).done)n.push(e.value);return n}function ur(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function lr(t,e){return function(n){return t(e(n))}}function fr(t,e){var n=-1,r=t.length,i=0,o=[];while(++n<r){var s=t[n];s!==e&&s!==d||(t[n]=d,o[i++]=n)}return o}function hr(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function dr(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function pr(t,e,n){var r=n-1,i=t.length;while(++r<i)if(t[r]===e)return r;return-1}function gr(t,e,n){var r=n+1;while(r--)if(t[r]===e)return r;return r}function vr(t){return sr(t)?Mr(t):Ln(t)}function yr(t){return sr(t)?br(t):Rn(t)}function mr(t){var e=t.length;while(e--&&zt.test(t.charAt(e)));return e}var Ir=$n(en);function Mr(t){var e=Fe.lastIndex=0;while(Fe.test(t))++e;return e}function br(t){return t.match(Fe)||[]}function Cr(t){return t.match(Ve)||[]}var _r=function t(e){e=null==e?cn:Ar.defaults(cn.Object(),e,Ar.pick(cn,Ze));var n=e.Array,r=e.Date,i=e.Error,zt=e.Function,$t=e.Math,ne=e.Object,re=e.RegExp,ie=e.String,oe=e.TypeError,se=n.prototype,ae=zt.prototype,ce=ne.prototype,ue=e["__core-js_shared__"],le=ae.toString,fe=ce.hasOwnProperty,he=0,de=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),pe=ce.toString,ge=le.call(ne),ve=cn._,ye=re("^"+le.call(fe).replace(kt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=fn?e.Buffer:o,Ie=e.Symbol,Me=e.Uint8Array,be=me?me.allocUnsafe:o,Ce=lr(ne.getPrototypeOf,ne),_e=ne.create,Ae=ce.propertyIsEnumerable,Te=se.splice,we=Ie?Ie.isConcatSpreadable:o,Ee=Ie?Ie.iterator:o,Ne=Ie?Ie.toStringTag:o,Se=function(){try{var t=Qs(ne,"defineProperty");return t({},"",{}),t}catch(e){}}(),Oe=e.clearTimeout!==cn.clearTimeout&&e.clearTimeout,De=r&&r.now!==cn.Date.now&&r.now,xe=e.setTimeout!==cn.setTimeout&&e.setTimeout,Le=$t.ceil,Re=$t.floor,je=ne.getOwnPropertySymbols,ke=me?me.isBuffer:o,Pe=e.isFinite,Ue=se.join,ze=lr(ne.keys,ne),Be=$t.max,Ge=$t.min,Ye=r.now,Fe=e.parseInt,Ve=$t.random,Qe=se.reverse,We=Qs(e,"DataView"),Xe=Qs(e,"Map"),tn=Qs(e,"Promise"),en=Qs(e,"Set"),nn=Qs(e,"WeakMap"),sn=Qs(ne,"create"),an=nn&&new nn,un={},ln=xa(We),hn=xa(Xe),dn=xa(tn),Ln=xa(en),Rn=xa(nn),$n=Ie?Ie.prototype:o,pr=$n?$n.valueOf:o,Mr=$n?$n.toString:o;function br(t){if(Tl(t)&&!cl(t)&&!(t instanceof Er)){if(t instanceof wr)return t;if(fe.call(t,"__wrapped__"))return Ra(t)}return new wr(t)}var _r=function(){function t(){}return function(e){if(!Al(e))return{};if(_e)return _e(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function Tr(){}function wr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Er(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function Nr(){var t=new Er(this.__wrapped__);return t.__actions__=is(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=is(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=is(this.__views__),t}function Sr(){if(this.__filtered__){var t=new Er(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Or(){var t=this.__wrapped__.value(),e=this.__dir__,n=cl(t),r=e<0,i=n?t.length:0,o=Js(0,i,this.__views__),s=o.start,a=o.end,c=a-s,u=r?a:s-1,l=this.__iteratees__,f=l.length,h=0,d=Ge(c,this.__takeCount__);if(!n||!r&&i==c&&d==c)return zo(t,this.__actions__);var p=[];t:while(c--&&h<d){u+=e;var g=-1,v=t[u];while(++g<f){var y=l[g],m=y.iteratee,I=y.type,M=m(v);if(I==R)v=M;else if(!M){if(I==L)continue t;break t}}p[h++]=v}return p}function Dr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function xr(){this.__data__=sn?sn(null):{},this.size=0}function Lr(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Rr(t){var e=this.__data__;if(sn){var n=e[t];return n===f?o:n}return fe.call(e,t)?e[t]:o}function jr(t){var e=this.__data__;return sn?e[t]!==o:fe.call(e,t)}function kr(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=sn&&e===o?f:e,this}function Pr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ur(){this.__data__=[],this.size=0}function zr(t){var e=this.__data__,n=li(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Te.call(e,n,1),--this.size,!0}function Br(t){var e=this.__data__,n=li(e,t);return n<0?o:e[n][1]}function Gr(t){return li(this.__data__,t)>-1}function Yr(t,e){var n=this.__data__,r=li(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function $r(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Hr(){this.size=0,this.__data__={hash:new Dr,map:new(Xe||Pr),string:new Dr}}function Fr(t){var e=Fs(this,t)["delete"](t);return this.size-=e?1:0,e}function Vr(t){return Fs(this,t).get(t)}function Qr(t){return Fs(this,t).has(t)}function Wr(t,e){var n=Fs(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Zr(t){var e=-1,n=null==t?0:t.length;this.__data__=new $r;while(++e<n)this.add(t[e])}function Kr(t){return this.__data__.set(t,f),this}function qr(t){return this.__data__.has(t)}function Jr(t){var e=this.__data__=new Pr(t);this.size=e.size}function Xr(){this.__data__=new Pr,this.size=0}function ti(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function ei(t){return this.__data__.get(t)}function ni(t){return this.__data__.has(t)}function ri(t,e){var n=this.__data__;if(n instanceof Pr){var r=n.__data__;if(!Xe||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new $r(r)}return n.set(t,e),this.size=n.size,this}function ii(t,e){var n=cl(t),r=!n&&al(t),i=!n&&!r&&dl(t),o=!n&&!r&&!i&&Bl(t),s=n||r||i||o,a=s?Qn(t.length,ie):[],c=a.length;for(var u in t)!e&&!fe.call(t,u)||s&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||sa(u,c))||a.push(u);return a}function oi(t){var e=t.length;return e?t[mo(0,e-1)]:o}function si(t,e){return Sa(is(t),vi(e,0,t.length))}function ai(t){return Sa(is(t))}function ci(t,e,n){(n!==o&&!il(t[e],n)||n===o&&!(e in t))&&pi(t,e,n)}function ui(t,e,n){var r=t[e];fe.call(t,e)&&il(r,n)&&(n!==o||e in t)||pi(t,e,n)}function li(t,e){var n=t.length;while(n--)if(il(t[n][0],e))return n;return-1}function fi(t,e,n,r){return Ci(t,(function(t,i,o){e(r,t,n(t),o)})),r}function hi(t,e){return t&&os(e,_f(e),t)}function di(t,e){return t&&os(e,Af(e),t)}function pi(t,e,n){"__proto__"==e&&Se?Se(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function gi(t,e){var r=-1,i=e.length,s=n(i),a=null==t;while(++r<i)s[r]=a?o:yf(t,e[r]);return s}function vi(t,e,n){return t===t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function yi(t,e,n,r,i,s){var a,c=e&p,u=e&g,l=e&v;if(n&&(a=i?n(t,r,i,s):n(t)),a!==o)return a;if(!Al(t))return t;var f=cl(t);if(f){if(a=ea(t),!c)return is(t,a)}else{var h=qs(t),d=h==q||h==J;if(dl(t))return Wo(t,c);if(h==nt||h==H||d&&!i){if(a=u||d?{}:na(t),!c)return u?as(t,di(a,t)):ss(t,hi(a,t))}else{if(!Je[h])return i?t:{};a=ra(t,h,c)}}s||(s=new Jr);var y=s.get(t);if(y)return y;s.set(t,a),Pl(t)?t.forEach((function(r){a.add(yi(r,e,n,r,t,s))})):wl(t)&&t.forEach((function(r,i){a.set(i,yi(r,e,n,i,t,s))}));var m=l?u?Bs:zs:u?Af:_f,I=f?o:m(t);return Cn(I||t,(function(r,i){I&&(i=r,r=t[i]),ui(a,i,yi(r,e,n,i,t,s))})),a}function mi(t){var e=_f(t);return function(n){return Ii(n,t,e)}}function Ii(t,e,n){var r=n.length;if(null==t)return!r;t=ne(t);while(r--){var i=n[r],s=e[i],a=t[i];if(a===o&&!(i in t)||!s(a))return!1}return!0}function Mi(t,e,n){if("function"!=typeof t)throw new oe(u);return Ta((function(){t.apply(o,n)}),e)}function bi(t,e,n,r){var i=-1,o=wn,s=!0,c=t.length,u=[],l=e.length;if(!c)return u;n&&(e=Nn(e,Kn(n))),r?(o=En,s=!1):e.length>=a&&(o=Jn,s=!1,e=new Zr(e));t:while(++i<c){var f=t[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,s&&h===h){var d=l;while(d--)if(e[d]===h)continue t;u.push(f)}else o(e,h,r)||u.push(f)}return u}br.templateSettings={escape:Ot,evaluate:Dt,interpolate:xt,variable:"",imports:{_:br}},br.prototype=Tr.prototype,br.prototype.constructor=br,wr.prototype=_r(Tr.prototype),wr.prototype.constructor=wr,Er.prototype=_r(Tr.prototype),Er.prototype.constructor=Er,Dr.prototype.clear=xr,Dr.prototype["delete"]=Lr,Dr.prototype.get=Rr,Dr.prototype.has=jr,Dr.prototype.set=kr,Pr.prototype.clear=Ur,Pr.prototype["delete"]=zr,Pr.prototype.get=Br,Pr.prototype.has=Gr,Pr.prototype.set=Yr,$r.prototype.clear=Hr,$r.prototype["delete"]=Fr,$r.prototype.get=Vr,$r.prototype.has=Qr,$r.prototype.set=Wr,Zr.prototype.add=Zr.prototype.push=Kr,Zr.prototype.has=qr,Jr.prototype.clear=Xr,Jr.prototype["delete"]=ti,Jr.prototype.get=ei,Jr.prototype.has=ni,Jr.prototype.set=ri;var Ci=ls(Di),_i=ls(xi,!0);function Ai(t,e){var n=!0;return Ci(t,(function(t,r,i){return n=!!e(t,r,i),n})),n}function Ti(t,e,n){var r=-1,i=t.length;while(++r<i){var s=t[r],a=e(s);if(null!=a&&(c===o?a===a&&!zl(a):n(a,c)))var c=a,u=s}return u}function wi(t,e,n,r){var i=t.length;n=Wl(n),n<0&&(n=-n>i?0:i+n),r=r===o||r>i?i:Wl(r),r<0&&(r+=i),r=n>r?0:Zl(r);while(n<r)t[n++]=e;return t}function Ei(t,e){var n=[];return Ci(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function Ni(t,e,n,r,i){var o=-1,s=t.length;n||(n=oa),i||(i=[]);while(++o<s){var a=t[o];e>0&&n(a)?e>1?Ni(a,e-1,n,r,i):Sn(i,a):r||(i[i.length]=a)}return i}var Si=fs(),Oi=fs(!0);function Di(t,e){return t&&Si(t,e,_f)}function xi(t,e){return t&&Oi(t,e,_f)}function Li(t,e){return Tn(e,(function(e){return bl(t[e])}))}function Ri(t,e){e=Ho(e,t);var n=0,r=e.length;while(null!=t&&n<r)t=t[Da(e[n++])];return n&&n==r?t:o}function ji(t,e,n){var r=e(t);return cl(t)?r:Sn(r,n(t))}function ki(t){return null==t?t===o?ut:et:Ne&&Ne in ne(t)?Ws(t):Ia(t)}function Pi(t,e){return t>e}function Ui(t,e){return null!=t&&fe.call(t,e)}function zi(t,e){return null!=t&&e in ne(t)}function Bi(t,e,n){return t>=Ge(e,n)&&t<Be(e,n)}function Gi(t,e,r){var i=r?En:wn,s=t[0].length,a=t.length,c=a,u=n(a),l=1/0,f=[];while(c--){var h=t[c];c&&e&&(h=Nn(h,Kn(e))),l=Ge(h.length,l),u[c]=!r&&(e||s>=120&&h.length>=120)?new Zr(c&&h):o}h=t[0];var d=-1,p=u[0];t:while(++d<s&&f.length<l){var g=h[d],v=e?e(g):g;if(g=r||0!==g?g:0,!(p?Jn(p,v):i(f,v,r))){c=a;while(--c){var y=u[c];if(!(y?Jn(y,v):i(t[c],v,r)))continue t}p&&p.push(v),f.push(g)}}return f}function Yi(t,e,n,r){return Di(t,(function(t,i,o){e(r,n(t),i,o)})),r}function $i(t,e,n){e=Ho(e,t),t=ba(t,e);var r=null==t?t:t[Da(oc(e))];return null==r?o:Mn(r,t,n)}function Hi(t){return Tl(t)&&ki(t)==H}function Fi(t){return Tl(t)&&ki(t)==ht}function Vi(t){return Tl(t)&&ki(t)==W}function Qi(t,e,n,r,i){return t===e||(null==t||null==e||!Tl(t)&&!Tl(e)?t!==t&&e!==e:Wi(t,e,n,r,Qi,i))}function Wi(t,e,n,r,i,o){var s=cl(t),a=cl(e),c=s?F:qs(t),u=a?F:qs(e);c=c==H?nt:c,u=u==H?nt:u;var l=c==nt,f=u==nt,h=c==u;if(h&&dl(t)){if(!dl(e))return!1;s=!0,l=!1}if(h&&!l)return o||(o=new Jr),s||Bl(t)?js(t,e,n,r,i,o):ks(t,e,c,n,r,i,o);if(!(n&y)){var d=l&&fe.call(t,"__wrapped__"),p=f&&fe.call(e,"__wrapped__");if(d||p){var g=d?t.value():t,v=p?e.value():e;return o||(o=new Jr),i(g,v,n,r,o)}}return!!h&&(o||(o=new Jr),Ps(t,e,n,r,i,o))}function Zi(t){return Tl(t)&&qs(t)==X}function Ki(t,e,n,r){var i=n.length,s=i,a=!r;if(null==t)return!s;t=ne(t);while(i--){var c=n[i];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}while(++i<s){c=n[i];var u=c[0],l=t[u],f=c[1];if(a&&c[2]){if(l===o&&!(u in t))return!1}else{var h=new Jr;if(r)var d=r(l,f,u,t,e,h);if(!(d===o?Qi(f,l,y|m,r,h):d))return!1}}return!0}function qi(t){if(!Al(t)||fa(t))return!1;var e=bl(t)?ye:Kt;return e.test(xa(t))}function Ji(t){return Tl(t)&&ki(t)==ot}function Xi(t){return Tl(t)&&qs(t)==st}function to(t){return Tl(t)&&_l(t.length)&&!!qe[ki(t)]}function eo(t){return"function"==typeof t?t:null==t?Dh:"object"==typeof t?cl(t)?ao(t[0],t[1]):so(t):Hh(t)}function no(t){if(!da(t))return ze(t);var e=[];for(var n in ne(t))fe.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ro(t){if(!Al(t))return ma(t);var e=da(t),n=[];for(var r in t)("constructor"!=r||!e&&fe.call(t,r))&&n.push(r);return n}function io(t,e){return t<e}function oo(t,e){var r=-1,i=ll(t)?n(t.length):[];return Ci(t,(function(t,n,o){i[++r]=e(t,n,o)})),i}function so(t){var e=Vs(t);return 1==e.length&&e[0][2]?ga(e[0][0],e[0][1]):function(n){return n===t||Ki(n,t,e)}}function ao(t,e){return ca(t)&&pa(e)?ga(Da(t),e):function(n){var r=yf(n,t);return r===o&&r===e?If(n,t):Qi(e,r,y|m)}}function co(t,e,n,r,i){t!==e&&Si(e,(function(s,a){if(i||(i=new Jr),Al(s))uo(t,e,a,n,co,r,i);else{var c=r?r(_a(t,a),s,a+"",t,e,i):o;c===o&&(c=s),ci(t,a,c)}}),Af)}function uo(t,e,n,r,i,s,a){var c=_a(t,n),u=_a(e,n),l=a.get(u);if(l)ci(t,n,l);else{var f=s?s(c,u,n+"",t,e,a):o,h=f===o;if(h){var d=cl(u),p=!d&&dl(u),g=!d&&!p&&Bl(u);f=u,d||p||g?cl(c)?f=c:fl(c)?f=is(c):p?(h=!1,f=Wo(u,!0)):g?(h=!1,f=Xo(u,!0)):f=[]:Rl(u)||al(u)?(f=c,al(c)?f=ql(c):Al(c)&&!bl(c)||(f=na(u))):h=!1}h&&(a.set(u,f),i(f,u,r,s,a),a["delete"](u)),ci(t,n,f)}}function lo(t,e){var n=t.length;if(n)return e+=e<0?n:0,sa(e,n)?t[e]:o}function fo(t,e,n){e=e.length?Nn(e,(function(t){return cl(t)?function(e){return Ri(e,1===t.length?t[0]:t)}:t})):[Dh];var r=-1;e=Nn(e,Kn(Hs()));var i=oo(t,(function(t,n,i){var o=Nn(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return Fn(i,(function(t,e){return es(t,e,n)}))}function ho(t,e){return po(t,e,(function(e,n){return If(t,n)}))}function po(t,e,n){var r=-1,i=e.length,o={};while(++r<i){var s=e[r],a=Ri(t,s);n(a,s)&&Ao(o,Ho(s,t),a)}return o}function go(t){return function(e){return Ri(e,t)}}function vo(t,e,n,r){var i=r?zn:Un,o=-1,s=e.length,a=t;t===e&&(e=is(e)),n&&(a=Nn(t,Kn(n)));while(++o<s){var c=0,u=e[o],l=n?n(u):u;while((c=i(a,l,c,r))>-1)a!==t&&Te.call(a,c,1),Te.call(t,c,1)}return t}function yo(t,e){var n=t?e.length:0,r=n-1;while(n--){var i=e[n];if(n==r||i!==o){var o=i;sa(i)?Te.call(t,i,1):ko(t,i)}}return t}function mo(t,e){return t+Re(Ve()*(e-t+1))}function Io(t,e,r,i){var o=-1,s=Be(Le((e-t)/(r||1)),0),a=n(s);while(s--)a[i?s:++o]=t,t+=r;return a}function Mo(t,e){var n="";if(!t||e<1||e>P)return n;do{e%2&&(n+=t),e=Re(e/2),e&&(t+=t)}while(e);return n}function bo(t,e){return wa(Ma(t,e,Dh),t+"")}function Co(t){return oi(Yf(t))}function _o(t,e){var n=Yf(t);return Sa(n,vi(e,0,n.length))}function Ao(t,e,n,r){if(!Al(t))return t;e=Ho(e,t);var i=-1,s=e.length,a=s-1,c=t;while(null!=c&&++i<s){var u=Da(e[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=a){var f=c[u];l=r?r(f,u,c):o,l===o&&(l=Al(f)?f:sa(e[i+1])?[]:{})}ui(c,u,l),c=c[u]}return t}var To=an?function(t,e){return an.set(t,e),t}:Dh,wo=Se?function(t,e){return Se(t,"toString",{configurable:!0,enumerable:!1,value:Eh(e),writable:!0})}:Dh;function Eo(t){return Sa(Yf(t))}function No(t,e,r){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;var s=n(o);while(++i<o)s[i]=t[i+e];return s}function So(t,e){var n;return Ci(t,(function(t,r,i){return n=e(t,r,i),!n})),!!n}function Oo(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=Y){while(r<i){var o=r+i>>>1,s=t[o];null!==s&&!zl(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return Do(t,e,Dh,n)}function Do(t,e,n,r){var i=0,s=null==t?0:t.length;if(0===s)return 0;e=n(e);var a=e!==e,c=null===e,u=zl(e),l=e===o;while(i<s){var f=Re((i+s)/2),h=n(t[f]),d=h!==o,p=null===h,g=h===h,v=zl(h);if(a)var y=r||g;else y=l?g&&(r||d):c?g&&d&&(r||!p):u?g&&d&&!p&&(r||!v):!p&&!v&&(r?h<=e:h<e);y?i=f+1:s=f}return Ge(s,G)}function xo(t,e){var n=-1,r=t.length,i=0,o=[];while(++n<r){var s=t[n],a=e?e(s):s;if(!n||!il(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function Lo(t){return"number"==typeof t?t:zl(t)?z:+t}function Ro(t){if("string"==typeof t)return t;if(cl(t))return Nn(t,Ro)+"";if(zl(t))return Mr?Mr.call(t):"";var e=t+"";return"0"==e&&1/t==-k?"-0":e}function jo(t,e,n){var r=-1,i=wn,o=t.length,s=!0,c=[],u=c;if(n)s=!1,i=En;else if(o>=a){var l=e?null:Ss(t);if(l)return hr(l);s=!1,i=Jn,u=new Zr}else u=e?[]:c;t:while(++r<o){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,s&&h===h){var d=u.length;while(d--)if(u[d]===h)continue t;e&&u.push(h),c.push(f)}else i(u,h,n)||(u!==c&&u.push(h),c.push(f))}return c}function ko(t,e){return e=Ho(e,t),t=ba(t,e),null==t||delete t[Da(oc(e))]}function Po(t,e,n,r){return Ao(t,e,n(Ri(t,e)),r)}function Uo(t,e,n,r){var i=t.length,o=r?i:-1;while((r?o--:++o<i)&&e(t[o],o,t));return n?No(t,r?0:o,r?o+1:i):No(t,r?o+1:0,r?i:o)}function zo(t,e){var n=t;return n instanceof Er&&(n=n.value()),On(e,(function(t,e){return e.func.apply(e.thisArg,Sn([t],e.args))}),n)}function Bo(t,e,r){var i=t.length;if(i<2)return i?jo(t[0]):[];var o=-1,s=n(i);while(++o<i){var a=t[o],c=-1;while(++c<i)c!=o&&(s[o]=bi(s[o]||a,t[c],e,r))}return jo(Ni(s,1),e,r)}function Go(t,e,n){var r=-1,i=t.length,s=e.length,a={};while(++r<i){var c=r<s?e[r]:o;n(a,t[r],c)}return a}function Yo(t){return fl(t)?t:[]}function $o(t){return"function"==typeof t?t:Dh}function Ho(t,e){return cl(t)?t:ca(t,e)?[t]:Oa(Xl(t))}var Fo=bo;function Vo(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:No(t,e,n)}var Qo=Oe||function(t){return cn.clearTimeout(t)};function Wo(t,e){if(e)return t.slice();var n=t.length,r=be?be(n):new t.constructor(n);return t.copy(r),r}function Zo(t){var e=new t.constructor(t.byteLength);return new Me(e).set(new Me(t)),e}function Ko(t,e){var n=e?Zo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function qo(t){var e=new t.constructor(t.source,Qt.exec(t));return e.lastIndex=t.lastIndex,e}function Jo(t){return pr?ne(pr.call(t)):{}}function Xo(t,e){var n=e?Zo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ts(t,e){if(t!==e){var n=t!==o,r=null===t,i=t===t,s=zl(t),a=e!==o,c=null===e,u=e===e,l=zl(e);if(!c&&!l&&!s&&t>e||s&&a&&u&&!c&&!l||r&&a&&u||!n&&u||!i)return 1;if(!r&&!s&&!l&&t<e||l&&n&&i&&!r&&!s||c&&n&&i||!a&&i||!u)return-1}return 0}function es(t,e,n){var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;while(++r<s){var c=ts(i[r],o[r]);if(c){if(r>=a)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}function ns(t,e,r,i){var o=-1,s=t.length,a=r.length,c=-1,u=e.length,l=Be(s-a,0),f=n(u+l),h=!i;while(++c<u)f[c]=e[c];while(++o<a)(h||o<s)&&(f[r[o]]=t[o]);while(l--)f[c++]=t[o++];return f}function rs(t,e,r,i){var o=-1,s=t.length,a=-1,c=r.length,u=-1,l=e.length,f=Be(s-c,0),h=n(f+l),d=!i;while(++o<f)h[o]=t[o];var p=o;while(++u<l)h[p+u]=e[u];while(++a<c)(d||o<s)&&(h[p+r[a]]=t[o++]);return h}function is(t,e){var r=-1,i=t.length;e||(e=n(i));while(++r<i)e[r]=t[r];return e}function os(t,e,n,r){var i=!n;n||(n={});var s=-1,a=e.length;while(++s<a){var c=e[s],u=r?r(n[c],t[c],c,n,t):o;u===o&&(u=t[c]),i?pi(n,c,u):ui(n,c,u)}return n}function ss(t,e){return os(t,Zs(t),e)}function as(t,e){return os(t,Ks(t),e)}function cs(t,e){return function(n,r){var i=cl(n)?bn:fi,o=e?e():{};return i(n,t,Hs(r,2),o)}}function us(t){return bo((function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;s=t.length>3&&"function"==typeof s?(i--,s):o,a&&aa(n[0],n[1],a)&&(s=i<3?o:s,i=1),e=ne(e);while(++r<i){var c=n[r];c&&t(e,c,r,s)}return e}))}function ls(t,e){return function(n,r){if(null==n)return n;if(!ll(n))return t(n,r);var i=n.length,o=e?i:-1,s=ne(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function fs(t){return function(e,n,r){var i=-1,o=ne(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function hs(t,e,n){var r=e&I,i=gs(t);function o(){var e=this&&this!==cn&&this instanceof o?i:t;return e.apply(r?n:this,arguments)}return o}function ds(t){return function(e){e=Xl(e);var n=sr(e)?yr(e):o,r=n?n[0]:e.charAt(0),i=n?Vo(n,1).join(""):e.slice(1);return r[t]()+i}}function ps(t){return function(e){return On(Ch(Zf(e).replace($e,"")),t,"")}}function gs(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=_r(t.prototype),r=t.apply(n,e);return Al(r)?r:n}}function vs(t,e,r){var i=gs(t);function s(){var a=arguments.length,c=n(a),u=a,l=$s(s);while(u--)c[u]=arguments[u];var f=a<3&&c[0]!==l&&c[a-1]!==l?[]:fr(c,l);if(a-=f.length,a<r)return Es(t,e,Is,s.placeholder,o,c,f,o,o,r-a);var h=this&&this!==cn&&this instanceof s?i:t;return Mn(h,this,c)}return s}function ys(t){return function(e,n,r){var i=ne(e);if(!ll(e)){var s=Hs(n,3);e=_f(e),n=function(t){return s(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[s?e[a]:a]:o}}function ms(t){return Us((function(e){var n=e.length,r=n,i=wr.prototype.thru;t&&e.reverse();while(r--){var s=e[r];if("function"!=typeof s)throw new oe(u);if(i&&!a&&"wrapper"==Ys(s))var a=new wr([],!0)}r=a?r:n;while(++r<n){s=e[r];var c=Ys(s),l="wrapper"==c?Gs(s):o;a=l&&la(l[0])&&l[1]==(w|C|A|E)&&!l[4].length&&1==l[9]?a[Ys(l[0])].apply(a,l[3]):1==s.length&&la(s)?a[c]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&cl(r))return a.plant(r).value();var i=0,o=n?e[i].apply(this,t):r;while(++i<n)o=e[i].call(this,o);return o}}))}function Is(t,e,r,i,s,a,c,u,l,f){var h=e&w,d=e&I,p=e&M,g=e&(C|_),v=e&N,y=p?o:gs(t);function m(){var o=arguments.length,I=n(o),M=o;while(M--)I[M]=arguments[M];if(g)var b=$s(m),C=er(I,b);if(i&&(I=ns(I,i,s,g)),a&&(I=rs(I,a,c,g)),o-=C,g&&o<f){var _=fr(I,b);return Es(t,e,Is,m.placeholder,r,I,_,u,l,f-o)}var A=d?r:this,T=p?A[t]:t;return o=I.length,u?I=Ca(I,u):v&&o>1&&I.reverse(),h&&l<o&&(I.length=l),this&&this!==cn&&this instanceof m&&(T=y||gs(T)),T.apply(A,I)}return m}function Ms(t,e){return function(n,r){return Yi(n,t,e(r),{})}}function bs(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Ro(n),r=Ro(r)):(n=Lo(n),r=Lo(r)),i=t(n,r)}return i}}function Cs(t){return Us((function(e){return e=Nn(e,Kn(Hs())),bo((function(n){var r=this;return t(e,(function(t){return Mn(t,r,n)}))}))}))}function _s(t,e){e=e===o?" ":Ro(e);var n=e.length;if(n<2)return n?Mo(e,t):e;var r=Mo(e,Le(t/vr(e)));return sr(e)?Vo(yr(r),0,t).join(""):r.slice(0,t)}function As(t,e,r,i){var o=e&I,s=gs(t);function a(){var e=-1,c=arguments.length,u=-1,l=i.length,f=n(l+c),h=this&&this!==cn&&this instanceof a?s:t;while(++u<l)f[u]=i[u];while(c--)f[u++]=arguments[++e];return Mn(h,o?r:this,f)}return a}function Ts(t){return function(e,n,r){return r&&"number"!=typeof r&&aa(e,n,r)&&(n=r=o),e=Ql(e),n===o?(n=e,e=0):n=Ql(n),r=r===o?e<n?1:-1:Ql(r),Io(e,n,r,t)}}function ws(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Kl(e),n=Kl(n)),t(e,n)}}function Es(t,e,n,r,i,s,a,c,u,l){var f=e&C,h=f?a:o,d=f?o:a,p=f?s:o,g=f?o:s;e|=f?A:T,e&=~(f?T:A),e&b||(e&=~(I|M));var v=[t,e,i,p,h,g,d,c,u,l],y=n.apply(o,v);return la(t)&&Aa(y,v),y.placeholder=r,Ea(y,t,e)}function Ns(t){var e=$t[t];return function(t,n){if(t=Kl(t),n=null==n?0:Ge(Wl(n),292),n&&Pe(t)){var r=(Xl(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Xl(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}var Ss=en&&1/hr(new en([,-0]))[1]==k?function(t){return new en(t)}:zh;function Os(t){return function(e){var n=qs(e);return n==X?ur(e):n==st?dr(e):Wn(e,t(e))}}function Ds(t,e,n,r,i,s,a,c){var l=e&M;if(!l&&"function"!=typeof t)throw new oe(u);var f=r?r.length:0;if(f||(e&=~(A|T),r=i=o),a=a===o?a:Be(Wl(a),0),c=c===o?c:Wl(c),f-=i?i.length:0,e&T){var h=r,d=i;r=i=o}var p=l?o:Gs(t),g=[t,e,n,r,i,h,d,s,a,c];if(p&&ya(g,p),t=g[0],e=g[1],n=g[2],r=g[3],i=g[4],c=g[9]=g[9]===o?l?0:t.length:Be(g[9]-f,0),!c&&e&(C|_)&&(e&=~(C|_)),e&&e!=I)v=e==C||e==_?vs(t,e,c):e!=A&&e!=(I|A)||i.length?Is.apply(o,g):As(t,e,n,r);else var v=hs(t,e,n);var y=p?To:Aa;return Ea(y(v,g),t,e)}function xs(t,e,n,r){return t===o||il(t,ce[n])&&!fe.call(r,n)?e:t}function Ls(t,e,n,r,i,s){return Al(t)&&Al(e)&&(s.set(e,t),co(t,e,o,Ls,s),s["delete"](e)),t}function Rs(t){return Rl(t)?o:t}function js(t,e,n,r,i,s){var a=n&y,c=t.length,u=e.length;if(c!=u&&!(a&&u>c))return!1;var l=s.get(t),f=s.get(e);if(l&&f)return l==e&&f==t;var h=-1,d=!0,p=n&m?new Zr:o;s.set(t,e),s.set(e,t);while(++h<c){var g=t[h],v=e[h];if(r)var I=a?r(v,g,h,e,t,s):r(g,v,h,t,e,s);if(I!==o){if(I)continue;d=!1;break}if(p){if(!xn(e,(function(t,e){if(!Jn(p,e)&&(g===t||i(g,t,n,r,s)))return p.push(e)}))){d=!1;break}}else if(g!==v&&!i(g,v,n,r,s)){d=!1;break}}return s["delete"](t),s["delete"](e),d}function ks(t,e,n,r,i,o,s){switch(n){case dt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ht:return!(t.byteLength!=e.byteLength||!o(new Me(t),new Me(e)));case Q:case W:case tt:return il(+t,+e);case K:return t.name==e.name&&t.message==e.message;case ot:case at:return t==e+"";case X:var a=ur;case st:var c=r&y;if(a||(a=hr),t.size!=e.size&&!c)return!1;var u=s.get(t);if(u)return u==e;r|=m,s.set(t,e);var l=js(a(t),a(e),r,i,o,s);return s["delete"](t),l;case ct:if(pr)return pr.call(t)==pr.call(e)}return!1}function Ps(t,e,n,r,i,s){var a=n&y,c=zs(t),u=c.length,l=zs(e),f=l.length;if(u!=f&&!a)return!1;var h=u;while(h--){var d=c[h];if(!(a?d in e:fe.call(e,d)))return!1}var p=s.get(t),g=s.get(e);if(p&&g)return p==e&&g==t;var v=!0;s.set(t,e),s.set(e,t);var m=a;while(++h<u){d=c[h];var I=t[d],M=e[d];if(r)var b=a?r(M,I,d,e,t,s):r(I,M,d,t,e,s);if(!(b===o?I===M||i(I,M,n,r,s):b)){v=!1;break}m||(m="constructor"==d)}if(v&&!m){var C=t.constructor,_=e.constructor;C==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof C&&C instanceof C&&"function"==typeof _&&_ instanceof _||(v=!1)}return s["delete"](t),s["delete"](e),v}function Us(t){return wa(Ma(t,o,Wa),t+"")}function zs(t){return ji(t,_f,Zs)}function Bs(t){return ji(t,Af,Ks)}var Gs=an?function(t){return an.get(t)}:zh;function Ys(t){var e=t.name+"",n=un[e],r=fe.call(un,e)?n.length:0;while(r--){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function $s(t){var e=fe.call(br,"placeholder")?br:t;return e.placeholder}function Hs(){var t=br.iteratee||xh;return t=t===xh?eo:t,arguments.length?t(arguments[0],arguments[1]):t}function Fs(t,e){var n=t.__data__;return ua(e)?n["string"==typeof e?"string":"hash"]:n.map}function Vs(t){var e=_f(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,pa(i)]}return e}function Qs(t,e){var n=or(t,e);return qi(n)?n:o}function Ws(t){var e=fe.call(t,Ne),n=t[Ne];try{t[Ne]=o;var r=!0}catch(s){}var i=pe.call(t);return r&&(e?t[Ne]=n:delete t[Ne]),i}var Zs=je?function(t){return null==t?[]:(t=ne(t),Tn(je(t),(function(e){return Ae.call(t,e)})))}:Wh,Ks=je?function(t){var e=[];while(t)Sn(e,Zs(t)),t=Ce(t);return e}:Wh,qs=ki;function Js(t,e,n){var r=-1,i=n.length;while(++r<i){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Ge(e,t+s);break;case"takeRight":t=Be(t,e-s);break}}return{start:t,end:e}}function Xs(t){var e=t.match(Gt);return e?e[1].split(Yt):[]}function ta(t,e,n){e=Ho(e,t);var r=-1,i=e.length,o=!1;while(++r<i){var s=Da(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&_l(i)&&sa(s,i)&&(cl(t)||al(t)))}function ea(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&fe.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function na(t){return"function"!=typeof t.constructor||da(t)?{}:_r(Ce(t))}function ra(t,e,n){var r=t.constructor;switch(e){case ht:return Zo(t);case Q:case W:return new r(+t);case dt:return Ko(t,n);case pt:case gt:case vt:case yt:case mt:case It:case Mt:case bt:case Ct:return Xo(t,n);case X:return new r;case tt:case at:return new r(t);case ot:return qo(t);case st:return new r;case ct:return Jo(t)}}function ia(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Bt,"{\n/* [wrapped with "+e+"] */\n")}function oa(t){return cl(t)||al(t)||!!(we&&t&&t[we])}function sa(t,e){var n=typeof t;return e=null==e?P:e,!!e&&("number"==n||"symbol"!=n&&Jt.test(t))&&t>-1&&t%1==0&&t<e}function aa(t,e,n){if(!Al(n))return!1;var r=typeof e;return!!("number"==r?ll(n)&&sa(e,n.length):"string"==r&&e in n)&&il(n[e],t)}function ca(t,e){if(cl(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!zl(t))||(Rt.test(t)||!Lt.test(t)||null!=e&&t in ne(e))}function ua(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function la(t){var e=Ys(t),n=br[e];if("function"!=typeof n||!(e in Er.prototype))return!1;if(t===n)return!0;var r=Gs(n);return!!r&&t===r[0]}function fa(t){return!!de&&de in t}(We&&qs(new We(new ArrayBuffer(1)))!=dt||Xe&&qs(new Xe)!=X||tn&&qs(tn.resolve())!=rt||en&&qs(new en)!=st||nn&&qs(new nn)!=lt)&&(qs=function(t){var e=ki(t),n=e==nt?t.constructor:o,r=n?xa(n):"";if(r)switch(r){case ln:return dt;case hn:return X;case dn:return rt;case Ln:return st;case Rn:return lt}return e});var ha=ue?bl:Zh;function da(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ce;return t===n}function pa(t){return t===t&&!Al(t)}function ga(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in ne(n)))}}function va(t){var e=Bu(t,(function(t){return n.size===h&&n.clear(),t})),n=e.cache;return e}function ya(t,e){var n=t[1],r=e[1],i=n|r,o=i<(I|M|w),s=r==w&&n==C||r==w&&n==E&&t[7].length<=e[8]||r==(w|E)&&e[7].length<=e[8]&&n==C;if(!o&&!s)return t;r&I&&(t[2]=e[2],i|=n&I?0:b);var a=e[3];if(a){var c=t[3];t[3]=c?ns(c,a,e[4]):a,t[4]=c?fr(t[3],d):e[4]}return a=e[5],a&&(c=t[5],t[5]=c?rs(c,a,e[6]):a,t[6]=c?fr(t[5],d):e[6]),a=e[7],a&&(t[7]=a),r&w&&(t[8]=null==t[8]?e[8]:Ge(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function ma(t){var e=[];if(null!=t)for(var n in ne(t))e.push(n);return e}function Ia(t){return pe.call(t)}function Ma(t,e,r){return e=Be(e===o?t.length-1:e,0),function(){var i=arguments,o=-1,s=Be(i.length-e,0),a=n(s);while(++o<s)a[o]=i[e+o];o=-1;var c=n(e+1);while(++o<e)c[o]=i[o];return c[e]=r(a),Mn(t,this,c)}}function ba(t,e){return e.length<2?t:Ri(t,No(e,0,-1))}function Ca(t,e){var n=t.length,r=Ge(e.length,n),i=is(t);while(r--){var s=e[r];t[r]=sa(s,n)?i[s]:o}return t}function _a(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Aa=Na(To),Ta=xe||function(t,e){return cn.setTimeout(t,e)},wa=Na(wo);function Ea(t,e,n){var r=e+"";return wa(t,ia(r,La(Xs(r),n)))}function Na(t){var e=0,n=0;return function(){var r=Ye(),i=x-(r-n);if(n=r,i>0){if(++e>=D)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Sa(t,e){var n=-1,r=t.length,i=r-1;e=e===o?r:e;while(++n<e){var s=mo(n,i),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var Oa=va((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(jt,(function(t,n,r,i){e.push(r?i.replace(Ft,"$1"):n||t)})),e}));function Da(t){if("string"==typeof t||zl(t))return t;var e=t+"";return"0"==e&&1/t==-k?"-0":e}function xa(t){if(null!=t){try{return le.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function La(t,e){return Cn($,(function(n){var r="_."+n[0];e&n[1]&&!wn(t,r)&&t.push(r)})),t.sort()}function Ra(t){if(t instanceof Er)return t.clone();var e=new wr(t.__wrapped__,t.__chain__);return e.__actions__=is(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ja(t,e,r){e=(r?aa(t,e,r):e===o)?1:Be(Wl(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];var s=0,a=0,c=n(Le(i/e));while(s<i)c[a++]=No(t,s,s+=e);return c}function ka(t){var e=-1,n=null==t?0:t.length,r=0,i=[];while(++e<n){var o=t[e];o&&(i[r++]=o)}return i}function Pa(){var t=arguments.length;if(!t)return[];var e=n(t-1),r=arguments[0],i=t;while(i--)e[i-1]=arguments[i];return Sn(cl(r)?is(r):[r],Ni(e,1))}var Ua=bo((function(t,e){return fl(t)?bi(t,Ni(e,1,fl,!0)):[]})),za=bo((function(t,e){var n=oc(e);return fl(n)&&(n=o),fl(t)?bi(t,Ni(e,1,fl,!0),Hs(n,2)):[]})),Ba=bo((function(t,e){var n=oc(e);return fl(n)&&(n=o),fl(t)?bi(t,Ni(e,1,fl,!0),o,n):[]}));function Ga(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:Wl(e),No(t,e<0?0:e,r)):[]}function Ya(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:Wl(e),e=r-e,No(t,0,e<0?0:e)):[]}function $a(t,e){return t&&t.length?Uo(t,Hs(e,3),!0,!0):[]}function Ha(t,e){return t&&t.length?Uo(t,Hs(e,3),!0):[]}function Fa(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&aa(t,e,n)&&(n=0,r=i),wi(t,e,n,r)):[]}function Va(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Wl(n);return i<0&&(i=Be(r+i,0)),Pn(t,Hs(e,3),i)}function Qa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Wl(n),i=n<0?Be(r+i,0):Ge(i,r-1)),Pn(t,Hs(e,3),i,!0)}function Wa(t){var e=null==t?0:t.length;return e?Ni(t,1):[]}function Za(t){var e=null==t?0:t.length;return e?Ni(t,k):[]}function Ka(t,e){var n=null==t?0:t.length;return n?(e=e===o?1:Wl(e),Ni(t,e)):[]}function qa(t){var e=-1,n=null==t?0:t.length,r={};while(++e<n){var i=t[e];r[i[0]]=i[1]}return r}function Ja(t){return t&&t.length?t[0]:o}function Xa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Wl(n);return i<0&&(i=Be(r+i,0)),Un(t,e,i)}function tc(t){var e=null==t?0:t.length;return e?No(t,0,-1):[]}var ec=bo((function(t){var e=Nn(t,Yo);return e.length&&e[0]===t[0]?Gi(e):[]})),nc=bo((function(t){var e=oc(t),n=Nn(t,Yo);return e===oc(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Gi(n,Hs(e,2)):[]})),rc=bo((function(t){var e=oc(t),n=Nn(t,Yo);return e="function"==typeof e?e:o,e&&n.pop(),n.length&&n[0]===t[0]?Gi(n,o,e):[]}));function ic(t,e){return null==t?"":Ue.call(t,e)}function oc(t){var e=null==t?0:t.length;return e?t[e-1]:o}function sc(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=Wl(n),i=i<0?Be(r+i,0):Ge(i,r-1)),e===e?gr(t,e,i):Pn(t,Bn,i,!0)}function ac(t,e){return t&&t.length?lo(t,Wl(e)):o}var cc=bo(uc);function uc(t,e){return t&&t.length&&e&&e.length?vo(t,e):t}function lc(t,e,n){return t&&t.length&&e&&e.length?vo(t,e,Hs(n,2)):t}function fc(t,e,n){return t&&t.length&&e&&e.length?vo(t,e,o,n):t}var hc=Us((function(t,e){var n=null==t?0:t.length,r=gi(t,e);return yo(t,Nn(e,(function(t){return sa(t,n)?+t:t})).sort(ts)),r}));function dc(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;e=Hs(e,3);while(++r<o){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return yo(t,i),n}function pc(t){return null==t?t:Qe.call(t)}function gc(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&aa(t,e,n)?(e=0,n=r):(e=null==e?0:Wl(e),n=n===o?r:Wl(n)),No(t,e,n)):[]}function vc(t,e){return Oo(t,e)}function yc(t,e,n){return Do(t,e,Hs(n,2))}function mc(t,e){var n=null==t?0:t.length;if(n){var r=Oo(t,e);if(r<n&&il(t[r],e))return r}return-1}function Ic(t,e){return Oo(t,e,!0)}function Mc(t,e,n){return Do(t,e,Hs(n,2),!0)}function bc(t,e){var n=null==t?0:t.length;if(n){var r=Oo(t,e,!0)-1;if(il(t[r],e))return r}return-1}function Cc(t){return t&&t.length?xo(t):[]}function _c(t,e){return t&&t.length?xo(t,Hs(e,2)):[]}function Ac(t){var e=null==t?0:t.length;return e?No(t,1,e):[]}function Tc(t,e,n){return t&&t.length?(e=n||e===o?1:Wl(e),No(t,0,e<0?0:e)):[]}function wc(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:Wl(e),e=r-e,No(t,e<0?0:e,r)):[]}function Ec(t,e){return t&&t.length?Uo(t,Hs(e,3),!1,!0):[]}function Nc(t,e){return t&&t.length?Uo(t,Hs(e,3)):[]}var Sc=bo((function(t){return jo(Ni(t,1,fl,!0))})),Oc=bo((function(t){var e=oc(t);return fl(e)&&(e=o),jo(Ni(t,1,fl,!0),Hs(e,2))})),Dc=bo((function(t){var e=oc(t);return e="function"==typeof e?e:o,jo(Ni(t,1,fl,!0),o,e)}));function xc(t){return t&&t.length?jo(t):[]}function Lc(t,e){return t&&t.length?jo(t,Hs(e,2)):[]}function Rc(t,e){return e="function"==typeof e?e:o,t&&t.length?jo(t,o,e):[]}function jc(t){if(!t||!t.length)return[];var e=0;return t=Tn(t,(function(t){if(fl(t))return e=Be(t.length,e),!0})),Qn(e,(function(e){return Nn(t,Yn(e))}))}function kc(t,e){if(!t||!t.length)return[];var n=jc(t);return null==e?n:Nn(n,(function(t){return Mn(e,o,t)}))}var Pc=bo((function(t,e){return fl(t)?bi(t,e):[]})),Uc=bo((function(t){return Bo(Tn(t,fl))})),zc=bo((function(t){var e=oc(t);return fl(e)&&(e=o),Bo(Tn(t,fl),Hs(e,2))})),Bc=bo((function(t){var e=oc(t);return e="function"==typeof e?e:o,Bo(Tn(t,fl),o,e)})),Gc=bo(jc);function Yc(t,e){return Go(t||[],e||[],ui)}function $c(t,e){return Go(t||[],e||[],Ao)}var Hc=bo((function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,kc(t,n)}));function Fc(t){var e=br(t);return e.__chain__=!0,e}function Vc(t,e){return e(t),t}function Qc(t,e){return e(t)}var Wc=Us((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return gi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Er&&sa(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Qc,args:[i],thisArg:o}),new wr(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(i)}));function Zc(){return Fc(this)}function Kc(){return new wr(this.value(),this.__chain__)}function qc(){this.__values__===o&&(this.__values__=Vl(this.value()));var t=this.__index__>=this.__values__.length,e=t?o:this.__values__[this.__index__++];return{done:t,value:e}}function Jc(){return this}function Xc(t){var e,n=this;while(n instanceof Tr){var r=Ra(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e}function tu(){var t=this.__wrapped__;if(t instanceof Er){var e=t;return this.__actions__.length&&(e=new Er(this)),e=e.reverse(),e.__actions__.push({func:Qc,args:[pc],thisArg:o}),new wr(e,this.__chain__)}return this.thru(pc)}function eu(){return zo(this.__wrapped__,this.__actions__)}var nu=cs((function(t,e,n){fe.call(t,n)?++t[n]:pi(t,n,1)}));function ru(t,e,n){var r=cl(t)?An:Ai;return n&&aa(t,e,n)&&(e=o),r(t,Hs(e,3))}function iu(t,e){var n=cl(t)?Tn:Ei;return n(t,Hs(e,3))}var ou=ys(Va),su=ys(Qa);function au(t,e){return Ni(vu(t,e),1)}function cu(t,e){return Ni(vu(t,e),k)}function uu(t,e,n){return n=n===o?1:Wl(n),Ni(vu(t,e),n)}function lu(t,e){var n=cl(t)?Cn:Ci;return n(t,Hs(e,3))}function fu(t,e){var n=cl(t)?_n:_i;return n(t,Hs(e,3))}var hu=cs((function(t,e,n){fe.call(t,n)?t[n].push(e):pi(t,n,[e])}));function du(t,e,n,r){t=ll(t)?t:Yf(t),n=n&&!r?Wl(n):0;var i=t.length;return n<0&&(n=Be(i+n,0)),Ul(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Un(t,e,n)>-1}var pu=bo((function(t,e,r){var i=-1,o="function"==typeof e,s=ll(t)?n(t.length):[];return Ci(t,(function(t){s[++i]=o?Mn(e,t,r):$i(t,e,r)})),s})),gu=cs((function(t,e,n){pi(t,n,e)}));function vu(t,e){var n=cl(t)?Nn:oo;return n(t,Hs(e,3))}function yu(t,e,n,r){return null==t?[]:(cl(e)||(e=null==e?[]:[e]),n=r?o:n,cl(n)||(n=null==n?[]:[n]),fo(t,e,n))}var mu=cs((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));function Iu(t,e,n){var r=cl(t)?On:Hn,i=arguments.length<3;return r(t,Hs(e,4),n,i,Ci)}function Mu(t,e,n){var r=cl(t)?Dn:Hn,i=arguments.length<3;return r(t,Hs(e,4),n,i,_i)}function bu(t,e){var n=cl(t)?Tn:Ei;return n(t,Gu(Hs(e,3)))}function Cu(t){var e=cl(t)?oi:Co;return e(t)}function _u(t,e,n){e=(n?aa(t,e,n):e===o)?1:Wl(e);var r=cl(t)?si:_o;return r(t,e)}function Au(t){var e=cl(t)?ai:Eo;return e(t)}function Tu(t){if(null==t)return 0;if(ll(t))return Ul(t)?vr(t):t.length;var e=qs(t);return e==X||e==st?t.size:no(t).length}function wu(t,e,n){var r=cl(t)?xn:So;return n&&aa(t,e,n)&&(e=o),r(t,Hs(e,3))}var Eu=bo((function(t,e){if(null==t)return[];var n=e.length;return n>1&&aa(t,e[0],e[1])?e=[]:n>2&&aa(e[0],e[1],e[2])&&(e=[e[0]]),fo(t,Ni(e,1),[])})),Nu=De||function(){return cn.Date.now()};function Su(t,e){if("function"!=typeof e)throw new oe(u);return t=Wl(t),function(){if(--t<1)return e.apply(this,arguments)}}function Ou(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Ds(t,w,o,o,o,o,e)}function Du(t,e){var n;if("function"!=typeof e)throw new oe(u);return t=Wl(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var xu=bo((function(t,e,n){var r=I;if(n.length){var i=fr(n,$s(xu));r|=A}return Ds(t,r,e,n,i)})),Lu=bo((function(t,e,n){var r=I|M;if(n.length){var i=fr(n,$s(Lu));r|=A}return Ds(e,r,t,n,i)}));function Ru(t,e,n){e=n?o:e;var r=Ds(t,C,o,o,o,o,o,e);return r.placeholder=Ru.placeholder,r}function ju(t,e,n){e=n?o:e;var r=Ds(t,_,o,o,o,o,o,e);return r.placeholder=ju.placeholder,r}function ku(t,e,n){var r,i,s,a,c,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new oe(u);function g(e){var n=r,s=i;return r=i=o,f=e,a=t.apply(s,n),a}function v(t){return f=t,c=Ta(I,e),h?g(t):a}function y(t){var n=t-l,r=t-f,i=e-n;return d?Ge(i,s-r):i}function m(t){var n=t-l,r=t-f;return l===o||n>=e||n<0||d&&r>=s}function I(){var t=Nu();if(m(t))return M(t);c=Ta(I,y(t))}function M(t){return c=o,p&&r?g(t):(r=i=o,a)}function b(){c!==o&&Qo(c),f=0,r=l=i=c=o}function C(){return c===o?a:M(Nu())}function _(){var t=Nu(),n=m(t);if(r=arguments,i=this,l=t,n){if(c===o)return v(l);if(d)return Qo(c),c=Ta(I,e),g(l)}return c===o&&(c=Ta(I,e)),a}return e=Kl(e)||0,Al(n)&&(h=!!n.leading,d="maxWait"in n,s=d?Be(Kl(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),_.cancel=b,_.flush=C,_}var Pu=bo((function(t,e){return Mi(t,1,e)})),Uu=bo((function(t,e,n){return Mi(t,Kl(e)||0,n)}));function zu(t){return Ds(t,N)}function Bu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(u);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Bu.Cache||$r),n}function Gu(t){if("function"!=typeof t)throw new oe(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Yu(t){return Du(2,t)}Bu.Cache=$r;var $u=Fo((function(t,e){e=1==e.length&&cl(e[0])?Nn(e[0],Kn(Hs())):Nn(Ni(e,1),Kn(Hs()));var n=e.length;return bo((function(r){var i=-1,o=Ge(r.length,n);while(++i<o)r[i]=e[i].call(this,r[i]);return Mn(t,this,r)}))})),Hu=bo((function(t,e){var n=fr(e,$s(Hu));return Ds(t,A,o,e,n)})),Fu=bo((function(t,e){var n=fr(e,$s(Fu));return Ds(t,T,o,e,n)})),Vu=Us((function(t,e){return Ds(t,E,o,o,o,e)}));function Qu(t,e){if("function"!=typeof t)throw new oe(u);return e=e===o?e:Wl(e),bo(t,e)}function Wu(t,e){if("function"!=typeof t)throw new oe(u);return e=null==e?0:Be(Wl(e),0),bo((function(n){var r=n[e],i=Vo(n,0,e);return r&&Sn(i,r),Mn(t,this,i)}))}function Zu(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new oe(u);return Al(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ku(t,e,{leading:r,maxWait:e,trailing:i})}function Ku(t){return Ou(t,1)}function qu(t,e){return Hu($o(e),t)}function Ju(){if(!arguments.length)return[];var t=arguments[0];return cl(t)?t:[t]}function Xu(t){return yi(t,v)}function tl(t,e){return e="function"==typeof e?e:o,yi(t,v,e)}function el(t){return yi(t,p|v)}function nl(t,e){return e="function"==typeof e?e:o,yi(t,p|v,e)}function rl(t,e){return null==e||Ii(t,e,_f(e))}function il(t,e){return t===e||t!==t&&e!==e}var ol=ws(Pi),sl=ws((function(t,e){return t>=e})),al=Hi(function(){return arguments}())?Hi:function(t){return Tl(t)&&fe.call(t,"callee")&&!Ae.call(t,"callee")},cl=n.isArray,ul=pn?Kn(pn):Fi;function ll(t){return null!=t&&_l(t.length)&&!bl(t)}function fl(t){return Tl(t)&&ll(t)}function hl(t){return!0===t||!1===t||Tl(t)&&ki(t)==Q}var dl=ke||Zh,pl=gn?Kn(gn):Vi;function gl(t){return Tl(t)&&1===t.nodeType&&!Rl(t)}function vl(t){if(null==t)return!0;if(ll(t)&&(cl(t)||"string"==typeof t||"function"==typeof t.splice||dl(t)||Bl(t)||al(t)))return!t.length;var e=qs(t);if(e==X||e==st)return!t.size;if(da(t))return!no(t).length;for(var n in t)if(fe.call(t,n))return!1;return!0}function yl(t,e){return Qi(t,e)}function ml(t,e,n){n="function"==typeof n?n:o;var r=n?n(t,e):o;return r===o?Qi(t,e,o,n):!!r}function Il(t){if(!Tl(t))return!1;var e=ki(t);return e==K||e==Z||"string"==typeof t.message&&"string"==typeof t.name&&!Rl(t)}function Ml(t){return"number"==typeof t&&Pe(t)}function bl(t){if(!Al(t))return!1;var e=ki(t);return e==q||e==J||e==V||e==it}function Cl(t){return"number"==typeof t&&t==Wl(t)}function _l(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=P}function Al(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Tl(t){return null!=t&&"object"==typeof t}var wl=vn?Kn(vn):Zi;function El(t,e){return t===e||Ki(t,e,Vs(e))}function Nl(t,e,n){return n="function"==typeof n?n:o,Ki(t,e,Vs(e),n)}function Sl(t){return Ll(t)&&t!=+t}function Ol(t){if(ha(t))throw new i(c);return qi(t)}function Dl(t){return null===t}function xl(t){return null==t}function Ll(t){return"number"==typeof t||Tl(t)&&ki(t)==tt}function Rl(t){if(!Tl(t)||ki(t)!=nt)return!1;var e=Ce(t);if(null===e)return!0;var n=fe.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&le.call(n)==ge}var jl=yn?Kn(yn):Ji;function kl(t){return Cl(t)&&t>=-P&&t<=P}var Pl=mn?Kn(mn):Xi;function Ul(t){return"string"==typeof t||!cl(t)&&Tl(t)&&ki(t)==at}function zl(t){return"symbol"==typeof t||Tl(t)&&ki(t)==ct}var Bl=In?Kn(In):to;function Gl(t){return t===o}function Yl(t){return Tl(t)&&qs(t)==lt}function $l(t){return Tl(t)&&ki(t)==ft}var Hl=ws(io),Fl=ws((function(t,e){return t<=e}));function Vl(t){if(!t)return[];if(ll(t))return Ul(t)?yr(t):is(t);if(Ee&&t[Ee])return cr(t[Ee]());var e=qs(t),n=e==X?ur:e==st?hr:Yf;return n(t)}function Ql(t){if(!t)return 0===t?t:0;if(t=Kl(t),t===k||t===-k){var e=t<0?-1:1;return e*U}return t===t?t:0}function Wl(t){var e=Ql(t),n=e%1;return e===e?n?e-n:e:0}function Zl(t){return t?vi(Wl(t),0,B):0}function Kl(t){if("number"==typeof t)return t;if(zl(t))return z;if(Al(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Al(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Zn(t);var n=Zt.test(t);return n||qt.test(t)?on(t.slice(2),n?2:8):Wt.test(t)?z:+t}function ql(t){return os(t,Af(t))}function Jl(t){return t?vi(Wl(t),-P,P):0===t?t:0}function Xl(t){return null==t?"":Ro(t)}var tf=us((function(t,e){if(da(e)||ll(e))os(e,_f(e),t);else for(var n in e)fe.call(e,n)&&ui(t,n,e[n])})),ef=us((function(t,e){os(e,Af(e),t)})),nf=us((function(t,e,n,r){os(e,Af(e),t,r)})),rf=us((function(t,e,n,r){os(e,_f(e),t,r)})),of=Us(gi);function sf(t,e){var n=_r(t);return null==e?n:hi(n,e)}var af=bo((function(t,e){t=ne(t);var n=-1,r=e.length,i=r>2?e[2]:o;i&&aa(e[0],e[1],i)&&(r=1);while(++n<r){var s=e[n],a=Af(s),c=-1,u=a.length;while(++c<u){var l=a[c],f=t[l];(f===o||il(f,ce[l])&&!fe.call(t,l))&&(t[l]=s[l])}}return t})),cf=bo((function(t){return t.push(o,Ls),Mn(Nf,o,t)}));function uf(t,e){return kn(t,Hs(e,3),Di)}function lf(t,e){return kn(t,Hs(e,3),xi)}function ff(t,e){return null==t?t:Si(t,Hs(e,3),Af)}function hf(t,e){return null==t?t:Oi(t,Hs(e,3),Af)}function df(t,e){return t&&Di(t,Hs(e,3))}function pf(t,e){return t&&xi(t,Hs(e,3))}function gf(t){return null==t?[]:Li(t,_f(t))}function vf(t){return null==t?[]:Li(t,Af(t))}function yf(t,e,n){var r=null==t?o:Ri(t,e);return r===o?n:r}function mf(t,e){return null!=t&&ta(t,e,Ui)}function If(t,e){return null!=t&&ta(t,e,zi)}var Mf=Ms((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n}),Eh(Dh)),bf=Ms((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),fe.call(t,e)?t[e].push(n):t[e]=[n]}),Hs),Cf=bo($i);function _f(t){return ll(t)?ii(t):no(t)}function Af(t){return ll(t)?ii(t,!0):ro(t)}function Tf(t,e){var n={};return e=Hs(e,3),Di(t,(function(t,r,i){pi(n,e(t,r,i),t)})),n}function wf(t,e){var n={};return e=Hs(e,3),Di(t,(function(t,r,i){pi(n,r,e(t,r,i))})),n}var Ef=us((function(t,e,n){co(t,e,n)})),Nf=us((function(t,e,n,r){co(t,e,n,r)})),Sf=Us((function(t,e){var n={};if(null==t)return n;var r=!1;e=Nn(e,(function(e){return e=Ho(e,t),r||(r=e.length>1),e})),os(t,Bs(t),n),r&&(n=yi(n,p|g|v,Rs));var i=e.length;while(i--)ko(n,e[i]);return n}));function Of(t,e){return xf(t,Gu(Hs(e)))}var Df=Us((function(t,e){return null==t?{}:ho(t,e)}));function xf(t,e){if(null==t)return{};var n=Nn(Bs(t),(function(t){return[t]}));return e=Hs(e),po(t,n,(function(t,n){return e(t,n[0])}))}function Lf(t,e,n){e=Ho(e,t);var r=-1,i=e.length;i||(i=1,t=o);while(++r<i){var s=null==t?o:t[Da(e[r])];s===o&&(r=i,s=n),t=bl(s)?s.call(t):s}return t}function Rf(t,e,n){return null==t?t:Ao(t,e,n)}function jf(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Ao(t,e,n,r)}var kf=Os(_f),Pf=Os(Af);function Uf(t,e,n){var r=cl(t),i=r||dl(t)||Bl(t);if(e=Hs(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Al(t)&&bl(o)?_r(Ce(t)):{}}return(i?Cn:Di)(t,(function(t,r,i){return e(n,t,r,i)})),n}function zf(t,e){return null==t||ko(t,e)}function Bf(t,e,n){return null==t?t:Po(t,e,$o(n))}function Gf(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Po(t,e,$o(n),r)}function Yf(t){return null==t?[]:qn(t,_f(t))}function $f(t){return null==t?[]:qn(t,Af(t))}function Hf(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=Kl(n),n=n===n?n:0),e!==o&&(e=Kl(e),e=e===e?e:0),vi(Kl(t),e,n)}function Ff(t,e,n){return e=Ql(e),n===o?(n=e,e=0):n=Ql(n),t=Kl(t),Bi(t,e,n)}function Vf(t,e,n){if(n&&"boolean"!=typeof n&&aa(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Ql(t),e===o?(e=t,t=0):e=Ql(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Ve();return Ge(t+i*(e-t+rn("1e-"+((i+"").length-1))),e)}return mo(t,e)}var Qf=ps((function(t,e,n){return e=e.toLowerCase(),t+(n?Wf(e):e)}));function Wf(t){return bh(Xl(t).toLowerCase())}function Zf(t){return t=Xl(t),t&&t.replace(Xt,nr).replace(He,"")}function Kf(t,e,n){t=Xl(t),e=Ro(e);var r=t.length;n=n===o?r:vi(Wl(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function qf(t){return t=Xl(t),t&&St.test(t)?t.replace(Et,rr):t}function Jf(t){return t=Xl(t),t&&Pt.test(t)?t.replace(kt,"\\$&"):t}var Xf=ps((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),th=ps((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),eh=ds("toLowerCase");function nh(t,e,n){t=Xl(t),e=Wl(e);var r=e?vr(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return _s(Re(i),n)+t+_s(Le(i),n)}function rh(t,e,n){t=Xl(t),e=Wl(e);var r=e?vr(t):0;return e&&r<e?t+_s(e-r,n):t}function ih(t,e,n){t=Xl(t),e=Wl(e);var r=e?vr(t):0;return e&&r<e?_s(e-r,n)+t:t}function oh(t,e,n){return n||null==e?e=0:e&&(e=+e),Fe(Xl(t).replace(Ut,""),e||0)}function sh(t,e,n){return e=(n?aa(t,e,n):e===o)?1:Wl(e),Mo(Xl(t),e)}function ah(){var t=arguments,e=Xl(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var ch=ps((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));function uh(t,e,n){return n&&"number"!=typeof n&&aa(t,e,n)&&(e=n=o),n=n===o?B:n>>>0,n?(t=Xl(t),t&&("string"==typeof e||null!=e&&!jl(e))&&(e=Ro(e),!e&&sr(t))?Vo(yr(t),0,n):t.split(e,n)):[]}var lh=ps((function(t,e,n){return t+(n?" ":"")+bh(e)}));function fh(t,e,n){return t=Xl(t),n=null==n?0:vi(Wl(n),0,t.length),e=Ro(e),t.slice(n,n+e.length)==e}function hh(t,e,n){var r=br.templateSettings;n&&aa(t,e,n)&&(e=o),t=Xl(t),e=nf({},e,r,xs);var s,a,c=nf({},e.imports,r.imports,xs),u=_f(c),f=qn(c,u),h=0,d=e.interpolate||te,p="__p += '",g=re((e.escape||te).source+"|"+d.source+"|"+(d===xt?Vt:te).source+"|"+(e.evaluate||te).source+"|$","g"),v="//# sourceURL="+(fe.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ke+"]")+"\n";t.replace(g,(function(e,n,r,i,o,c){return r||(r=i),p+=t.slice(h,c).replace(ee,ir),n&&(s=!0,p+="' +\n__e("+n+") +\n'"),o&&(a=!0,p+="';\n"+o+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=c+e.length,e})),p+="';\n";var y=fe.call(e,"variable")&&e.variable;if(y){if(Ht.test(y))throw new i(l)}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(_t,""):p).replace(At,"$1").replace(Tt,"$1;"),p="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=_h((function(){return zt(u,v+"return "+p).apply(o,f)}));if(m.source=p,Il(m))throw m;return m}function dh(t){return Xl(t).toLowerCase()}function ph(t){return Xl(t).toUpperCase()}function gh(t,e,n){if(t=Xl(t),t&&(n||e===o))return Zn(t);if(!t||!(e=Ro(e)))return t;var r=yr(t),i=yr(e),s=Xn(r,i),a=tr(r,i)+1;return Vo(r,s,a).join("")}function vh(t,e,n){if(t=Xl(t),t&&(n||e===o))return t.slice(0,mr(t)+1);if(!t||!(e=Ro(e)))return t;var r=yr(t),i=tr(r,yr(e))+1;return Vo(r,0,i).join("")}function yh(t,e,n){if(t=Xl(t),t&&(n||e===o))return t.replace(Ut,"");if(!t||!(e=Ro(e)))return t;var r=yr(t),i=Xn(r,yr(e));return Vo(r,i).join("")}function mh(t,e){var n=S,r=O;if(Al(e)){var i="separator"in e?e.separator:i;n="length"in e?Wl(e.length):n,r="omission"in e?Ro(e.omission):r}t=Xl(t);var s=t.length;if(sr(t)){var a=yr(t);s=a.length}if(n>=s)return t;var c=n-vr(r);if(c<1)return r;var u=a?Vo(a,0,c).join(""):t.slice(0,c);if(i===o)return u+r;if(a&&(c+=u.length-c),jl(i)){if(t.slice(c).search(i)){var l,f=u;i.global||(i=re(i.source,Xl(Qt.exec(i))+"g")),i.lastIndex=0;while(l=i.exec(f))var h=l.index;u=u.slice(0,h===o?c:h)}}else if(t.indexOf(Ro(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r}function Ih(t){return t=Xl(t),t&&Nt.test(t)?t.replace(wt,Ir):t}var Mh=ps((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),bh=ds("toUpperCase");function Ch(t,e,n){return t=Xl(t),e=n?o:e,e===o?ar(t)?Cr(t):jn(t):t.match(e)||[]}var _h=bo((function(t,e){try{return Mn(t,o,e)}catch(n){return Il(n)?n:new i(n)}})),Ah=Us((function(t,e){return Cn(e,(function(e){e=Da(e),pi(t,e,xu(t[e],t))})),t}));function Th(t){var e=null==t?0:t.length,n=Hs();return t=e?Nn(t,(function(t){if("function"!=typeof t[1])throw new oe(u);return[n(t[0]),t[1]]})):[],bo((function(n){var r=-1;while(++r<e){var i=t[r];if(Mn(i[0],this,n))return Mn(i[1],this,n)}}))}function wh(t){return mi(yi(t,p))}function Eh(t){return function(){return t}}function Nh(t,e){return null==t||t!==t?e:t}var Sh=ms(),Oh=ms(!0);function Dh(t){return t}function xh(t){return eo("function"==typeof t?t:yi(t,p))}function Lh(t){return so(yi(t,p))}function Rh(t,e){return ao(t,yi(e,p))}var jh=bo((function(t,e){return function(n){return $i(n,t,e)}})),kh=bo((function(t,e){return function(n){return $i(t,n,e)}}));function Ph(t,e,n){var r=_f(e),i=Li(e,r);null!=n||Al(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Li(e,_f(e)));var o=!(Al(n)&&"chain"in n)||!!n.chain,s=bl(t);return Cn(i,(function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=is(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Sn([this.value()],arguments))})})),t}function Uh(){return cn._===this&&(cn._=ve),this}function zh(){}function Bh(t){return t=Wl(t),bo((function(e){return lo(e,t)}))}var Gh=Cs(Nn),Yh=Cs(An),$h=Cs(xn);function Hh(t){return ca(t)?Yn(Da(t)):go(t)}function Fh(t){return function(e){return null==t?o:Ri(t,e)}}var Vh=Ts(),Qh=Ts(!0);function Wh(){return[]}function Zh(){return!1}function Kh(){return{}}function qh(){return""}function Jh(){return!0}function Xh(t,e){if(t=Wl(t),t<1||t>P)return[];var n=B,r=Ge(t,B);e=Hs(e),t-=B;var i=Qn(r,e);while(++n<t)e(n);return i}function td(t){return cl(t)?Nn(t,Da):zl(t)?[t]:is(Oa(Xl(t)))}function ed(t){var e=++he;return Xl(t)+e}var nd=bs((function(t,e){return t+e}),0),rd=Ns("ceil"),id=bs((function(t,e){return t/e}),1),od=Ns("floor");function sd(t){return t&&t.length?Ti(t,Dh,Pi):o}function ad(t,e){return t&&t.length?Ti(t,Hs(e,2),Pi):o}function cd(t){return Gn(t,Dh)}function ud(t,e){return Gn(t,Hs(e,2))}function ld(t){return t&&t.length?Ti(t,Dh,io):o}function fd(t,e){return t&&t.length?Ti(t,Hs(e,2),io):o}var hd=bs((function(t,e){return t*e}),1),dd=Ns("round"),pd=bs((function(t,e){return t-e}),0);function gd(t){return t&&t.length?Vn(t,Dh):0}function vd(t,e){return t&&t.length?Vn(t,Hs(e,2)):0}return br.after=Su,br.ary=Ou,br.assign=tf,br.assignIn=ef,br.assignInWith=nf,br.assignWith=rf,br.at=of,br.before=Du,br.bind=xu,br.bindAll=Ah,br.bindKey=Lu,br.castArray=Ju,br.chain=Fc,br.chunk=ja,br.compact=ka,br.concat=Pa,br.cond=Th,br.conforms=wh,br.constant=Eh,br.countBy=nu,br.create=sf,br.curry=Ru,br.curryRight=ju,br.debounce=ku,br.defaults=af,br.defaultsDeep=cf,br.defer=Pu,br.delay=Uu,br.difference=Ua,br.differenceBy=za,br.differenceWith=Ba,br.drop=Ga,br.dropRight=Ya,br.dropRightWhile=$a,br.dropWhile=Ha,br.fill=Fa,br.filter=iu,br.flatMap=au,br.flatMapDeep=cu,br.flatMapDepth=uu,br.flatten=Wa,br.flattenDeep=Za,br.flattenDepth=Ka,br.flip=zu,br.flow=Sh,br.flowRight=Oh,br.fromPairs=qa,br.functions=gf,br.functionsIn=vf,br.groupBy=hu,br.initial=tc,br.intersection=ec,br.intersectionBy=nc,br.intersectionWith=rc,br.invert=Mf,br.invertBy=bf,br.invokeMap=pu,br.iteratee=xh,br.keyBy=gu,br.keys=_f,br.keysIn=Af,br.map=vu,br.mapKeys=Tf,br.mapValues=wf,br.matches=Lh,br.matchesProperty=Rh,br.memoize=Bu,br.merge=Ef,br.mergeWith=Nf,br.method=jh,br.methodOf=kh,br.mixin=Ph,br.negate=Gu,br.nthArg=Bh,br.omit=Sf,br.omitBy=Of,br.once=Yu,br.orderBy=yu,br.over=Gh,br.overArgs=$u,br.overEvery=Yh,br.overSome=$h,br.partial=Hu,br.partialRight=Fu,br.partition=mu,br.pick=Df,br.pickBy=xf,br.property=Hh,br.propertyOf=Fh,br.pull=cc,br.pullAll=uc,br.pullAllBy=lc,br.pullAllWith=fc,br.pullAt=hc,br.range=Vh,br.rangeRight=Qh,br.rearg=Vu,br.reject=bu,br.remove=dc,br.rest=Qu,br.reverse=pc,br.sampleSize=_u,br.set=Rf,br.setWith=jf,br.shuffle=Au,br.slice=gc,br.sortBy=Eu,br.sortedUniq=Cc,br.sortedUniqBy=_c,br.split=uh,br.spread=Wu,br.tail=Ac,br.take=Tc,br.takeRight=wc,br.takeRightWhile=Ec,br.takeWhile=Nc,br.tap=Vc,br.throttle=Zu,br.thru=Qc,br.toArray=Vl,br.toPairs=kf,br.toPairsIn=Pf,br.toPath=td,br.toPlainObject=ql,br.transform=Uf,br.unary=Ku,br.union=Sc,br.unionBy=Oc,br.unionWith=Dc,br.uniq=xc,br.uniqBy=Lc,br.uniqWith=Rc,br.unset=zf,br.unzip=jc,br.unzipWith=kc,br.update=Bf,br.updateWith=Gf,br.values=Yf,br.valuesIn=$f,br.without=Pc,br.words=Ch,br.wrap=qu,br.xor=Uc,br.xorBy=zc,br.xorWith=Bc,br.zip=Gc,br.zipObject=Yc,br.zipObjectDeep=$c,br.zipWith=Hc,br.entries=kf,br.entriesIn=Pf,br.extend=ef,br.extendWith=nf,Ph(br,br),br.add=nd,br.attempt=_h,br.camelCase=Qf,br.capitalize=Wf,br.ceil=rd,br.clamp=Hf,br.clone=Xu,br.cloneDeep=el,br.cloneDeepWith=nl,br.cloneWith=tl,br.conformsTo=rl,br.deburr=Zf,br.defaultTo=Nh,br.divide=id,br.endsWith=Kf,br.eq=il,br.escape=qf,br.escapeRegExp=Jf,br.every=ru,br.find=ou,br.findIndex=Va,br.findKey=uf,br.findLast=su,br.findLastIndex=Qa,br.findLastKey=lf,br.floor=od,br.forEach=lu,br.forEachRight=fu,br.forIn=ff,br.forInRight=hf,br.forOwn=df,br.forOwnRight=pf,br.get=yf,br.gt=ol,br.gte=sl,br.has=mf,br.hasIn=If,br.head=Ja,br.identity=Dh,br.includes=du,br.indexOf=Xa,br.inRange=Ff,br.invoke=Cf,br.isArguments=al,br.isArray=cl,br.isArrayBuffer=ul,br.isArrayLike=ll,br.isArrayLikeObject=fl,br.isBoolean=hl,br.isBuffer=dl,br.isDate=pl,br.isElement=gl,br.isEmpty=vl,br.isEqual=yl,br.isEqualWith=ml,br.isError=Il,br.isFinite=Ml,br.isFunction=bl,br.isInteger=Cl,br.isLength=_l,br.isMap=wl,br.isMatch=El,br.isMatchWith=Nl,br.isNaN=Sl,br.isNative=Ol,br.isNil=xl,br.isNull=Dl,br.isNumber=Ll,br.isObject=Al,br.isObjectLike=Tl,br.isPlainObject=Rl,br.isRegExp=jl,br.isSafeInteger=kl,br.isSet=Pl,br.isString=Ul,br.isSymbol=zl,br.isTypedArray=Bl,br.isUndefined=Gl,br.isWeakMap=Yl,br.isWeakSet=$l,br.join=ic,br.kebabCase=Xf,br.last=oc,br.lastIndexOf=sc,br.lowerCase=th,br.lowerFirst=eh,br.lt=Hl,br.lte=Fl,br.max=sd,br.maxBy=ad,br.mean=cd,br.meanBy=ud,br.min=ld,br.minBy=fd,br.stubArray=Wh,br.stubFalse=Zh,br.stubObject=Kh,br.stubString=qh,br.stubTrue=Jh,br.multiply=hd,br.nth=ac,br.noConflict=Uh,br.noop=zh,br.now=Nu,br.pad=nh,br.padEnd=rh,br.padStart=ih,br.parseInt=oh,br.random=Vf,br.reduce=Iu,br.reduceRight=Mu,br.repeat=sh,br.replace=ah,br.result=Lf,br.round=dd,br.runInContext=t,br.sample=Cu,br.size=Tu,br.snakeCase=ch,br.some=wu,br.sortedIndex=vc,br.sortedIndexBy=yc,br.sortedIndexOf=mc,br.sortedLastIndex=Ic,br.sortedLastIndexBy=Mc,br.sortedLastIndexOf=bc,br.startCase=lh,br.startsWith=fh,br.subtract=pd,br.sum=gd,br.sumBy=vd,br.template=hh,br.times=Xh,br.toFinite=Ql,br.toInteger=Wl,br.toLength=Zl,br.toLower=dh,br.toNumber=Kl,br.toSafeInteger=Jl,br.toString=Xl,br.toUpper=ph,br.trim=gh,br.trimEnd=vh,br.trimStart=yh,br.truncate=mh,br.unescape=Ih,br.uniqueId=ed,br.upperCase=Mh,br.upperFirst=bh,br.each=lu,br.eachRight=fu,br.first=Ja,Ph(br,function(){var t={};return Di(br,(function(e,n){fe.call(br.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),br.VERSION=s,Cn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){br[t].placeholder=br})),Cn(["drop","take"],(function(t,e){Er.prototype[t]=function(n){n=n===o?1:Be(Wl(n),0);var r=this.__filtered__&&!e?new Er(this):this.clone();return r.__filtered__?r.__takeCount__=Ge(n,r.__takeCount__):r.__views__.push({size:Ge(n,B),type:t+(r.__dir__<0?"Right":"")}),r},Er.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Cn(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=n==L||n==j;Er.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Hs(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Cn(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Er.prototype[t]=function(){return this[n](1).value()[0]}})),Cn(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Er.prototype[t]=function(){return this.__filtered__?new Er(this):this[n](1)}})),Er.prototype.compact=function(){return this.filter(Dh)},Er.prototype.find=function(t){return this.filter(t).head()},Er.prototype.findLast=function(t){return this.reverse().find(t)},Er.prototype.invokeMap=bo((function(t,e){return"function"==typeof t?new Er(this):this.map((function(n){return $i(n,t,e)}))})),Er.prototype.reject=function(t){return this.filter(Gu(Hs(t)))},Er.prototype.slice=function(t,e){t=Wl(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Er(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(e=Wl(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},Er.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Er.prototype.toArray=function(){return this.take(B)},Di(Er.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=br[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);i&&(br.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,c=e instanceof Er,u=a[0],l=c||cl(e),f=function(t){var e=i.apply(br,Sn([t],a));return r&&h?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=s&&!h,g=c&&!d;if(!s&&l){e=g?e:new Er(this);var v=t.apply(e,a);return v.__actions__.push({func:Qc,args:[f],thisArg:o}),new wr(v,h)}return p&&g?t.apply(this,a):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),Cn(["pop","push","shift","sort","splice","unshift"],(function(t){var e=se[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);br.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(cl(i)?i:[],t)}return this[n]((function(n){return e.apply(cl(n)?n:[],t)}))}})),Di(Er.prototype,(function(t,e){var n=br[e];if(n){var r=n.name+"";fe.call(un,r)||(un[r]=[]),un[r].push({name:e,func:n})}})),un[Is(o,M).name]=[{name:"wrapper",func:o}],Er.prototype.clone=Nr,Er.prototype.reverse=Sr,Er.prototype.value=Or,br.prototype.at=Wc,br.prototype.chain=Zc,br.prototype.commit=Kc,br.prototype.next=qc,br.prototype.plant=Xc,br.prototype.reverse=tu,br.prototype.toJSON=br.prototype.valueOf=br.prototype.value=eu,br.prototype.first=br.prototype.head,Ee&&(br.prototype[Ee]=Jc),br},Ar=_r();cn._=Ar,i=function(){return Ar}.call(e,n,e,r),i===o||(r.exports=i)}).call(this)}).call(this,n("c8ba"),n("62e4")(t))},"2f21":function(t,e,n){"use strict";var r=n("79e5");t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2f62":function(t,e,n){"use strict"; /** * vuex v3.1.0 * (c) 2019 Evan You * @license MIT */ function r(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return D}));var i="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)})))}function s(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}var u=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},u.prototype.addChild=function(t,e){this._children[t]=e},u.prototype.removeChild=function(t){delete this._children[t]},u.prototype.getChild=function(t){return this._children[t]},u.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},u.prototype.forEachChild=function(t){s(this._children,t)},u.prototype.forEachGetter=function(t){this._rawModule.getters&&s(this._rawModule.getters,t)},u.prototype.forEachAction=function(t){this._rawModule.actions&&s(this._rawModule.actions,t)},u.prototype.forEachMutation=function(t){this._rawModule.mutations&&s(this._rawModule.mutations,t)},Object.defineProperties(u.prototype,l);var f=function(t){this.register([],t,!1)};function h(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;h(t.concat(r),e.getChild(r),n.modules[r])}}f.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},f.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},f.prototype.update=function(t){h([],this.root,t)},f.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new u(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&s(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},f.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var d;var p=function(t){var e=this;void 0===t&&(t={}),!d&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new d;var i=this,s=this,a=s.dispatch,c=s.commit;this.dispatch=function(t,e){return a.call(i,t,e)},this.commit=function(t,e,n){return c.call(i,t,e,n)},this.strict=r;var u=this._modules.root.state;I(this,u,[],this._modules.root),m(this,u),n.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:d.config.devtools;l&&o(this)},g={state:{configurable:!0}};function v(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function y(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;I(t,n,[],t._modules.root,!0),m(t,n,e)}function m(t,e,n){var r=t._vm;t.getters={};var i=t._wrappedGetters,o={};s(i,(function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=d.config.silent;d.config.silent=!0,t._vm=new d({data:{$$state:e},computed:o}),d.config.silent=a,t.strict&&T(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),d.nextTick((function(){return r.$destroy()})))}function I(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s]=r),!o&&!i){var a=w(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){d.set(a,c,r.state)}))}var u=r.context=M(t,s,n);r.forEachMutation((function(e,n){var r=s+n;C(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;_(t,r,i,u)})),r.forEachGetter((function(e,n){var r=s+n;A(t,r,e,u)})),r.forEachChild((function(r,o){I(t,e,n.concat(o),r,i)}))}function M(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=E(n,r,i),s=o.payload,a=o.options,c=o.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,i){var o=E(n,r,i),s=o.payload,a=o.options,c=o.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return b(t,e)}},state:{get:function(){return w(t.state,n)}}}),i}function b(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),n}function C(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function _(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e,i){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,i);return c(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function A(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function T(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function w(t,e){return e.length?e.reduce((function(t,e){return t[e]}),t):t}function E(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function N(t){d&&t===d||(d=t,r(d))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(t){0},p.prototype.commit=function(t,e,n){var r=this,i=E(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.forEach((function(t){return t(a,r.state)})))},p.prototype.dispatch=function(t,e){var n=this,r=E(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(u){0}var c=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return c.then((function(t){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(u){0}return t}))}},p.prototype.subscribe=function(t){return v(t,this._subscribers)},p.prototype.subscribeAction=function(t){var e="function"===typeof t?{before:t}:t;return v(e,this._actionSubscribers)},p.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},p.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},p.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),I(this,this.state,t,this._modules.get(t),n.preserveState),m(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=w(e.state,t.slice(0,-1));d.delete(n,t[t.length-1])})),y(this)},p.prototype.hotUpdate=function(t){this._modules.update(t),y(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,g);var S=j((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=k(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),O=j((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=k(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),D=j((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),x=j((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=k(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),L=function(t){return{mapState:S.bind(null,t),mapGetters:D.bind(null,t),mapMutations:O.bind(null,t),mapActions:x.bind(null,t)}};function R(t){return Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}}))}function j(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function k(t,e,n){var r=t._modulesNamespaceMap[n];return r}var P={Store:p,install:N,version:"3.1.0",mapState:S,mapMutations:O,mapGetters:D,mapActions:x,createNamespacedHelpers:L};e["a"]=P},"2f78":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o-(r>>>0)-((~i&s|~(i^s)&i-s>>>0)>>>31)|0}})},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},3024:function(t,e){t.exports=function(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)}},"308d":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7618"),i=n("013f");function o(t,e){if(e&&("object"===Object(r["a"])(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(i["a"])(t)}},"30b5":function(t,e,n){"use strict";var r=n("c532");function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),s=n("35e8"),a=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),f=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,C,_,A=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w=m==g,E=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||A(m),D=m?w?A("entries"):O:void 0,x="Array"==e&&N.entries||S;if(x&&(_=l(x.call(new t)),_!==Object.prototype&&_.next&&(u(_,T,!0),r||"function"==typeof _[f]||s(_,f,v))),w&&S&&S.name!==g&&(E=!0,O=function(){return S.call(this)}),r&&!M||!h&&!E&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:w?O:A(g),keys:I?O:A(p),entries:D},M)for(C in b)C in N||o(N,C,b[C]);else i(i.P+i.F*(h||E),e,b);return b}},"31f4":function(t,e){t.exports=function(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)}},"323e":function(t,e,n){var r,i; /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */(function(o,s){r=s,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i)})(0,(function(){var t={version:"0.2.0"},e=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(t,e,n){return t<e?e:t>n?n:t}function r(t){return 100*(-1+t)}function i(t,n,i){var o;return o="translate3d"===e.positionUsing?{transform:"translate3d("+r(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+r(t)+"%,0)"}:{"margin-left":r(t)+"%"},o.transition="all "+n+"ms "+i,o}t.configure=function(t){var n,r;for(n in t)r=t[n],void 0!==r&&t.hasOwnProperty(n)&&(e[n]=r);return this},t.status=null,t.set=function(r){var a=t.isStarted();r=n(r,e.minimum,1),t.status=1===r?null:r;var c=t.render(!a),u=c.querySelector(e.barSelector),l=e.speed,f=e.easing;return c.offsetWidth,o((function(n){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),s(u,i(r,l,f)),1===r?(s(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout((function(){s(c,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){t.remove(),n()}),l)}),l)):setTimeout(n,l)})),this},t.isStarted=function(){return"number"===typeof t.status},t.start=function(){t.status||t.set(0);var n=function(){setTimeout((function(){t.status&&(t.trickle(),n())}),e.trickleSpeed)};return e.trickle&&n(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var r=t.status;return r?("number"!==typeof e&&(e=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+e,0,.994),t.set(r)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,n=0;t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always((function(){n--,0===n?(e=0,t.done()):t.set((e-n)/e)})),this):this}}(),t.render=function(n){if(t.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=e.template;var o,a=i.querySelector(e.barSelector),u=n?"-100":r(t.status||0),l=document.querySelector(e.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),e.showSpinner||(o=i.querySelector(e.spinnerSelector),o&&f(o)),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(i),i},t.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var o=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function r(e){var n=document.body.style;if(e in n)return e;var r,i=t.length,o=e.charAt(0).toUpperCase()+e.slice(1);while(i--)if(r=t[i]+o,r in n)return r;return e}function i(t){return t=n(t),e[t]||(e[t]=r(t))}function o(t,e,n){e=i(e),t.style[e]=n}return function(t,e){var n,r,i=arguments;if(2==i.length)for(n in e)r=e[n],void 0!==r&&e.hasOwnProperty(n)&&o(t,n,r);else o(t,i[1],i[2])}}();function a(t,e){var n="string"==typeof t?t:l(t);return n.indexOf(" "+e+" ")>=0}function c(t,e){var n=l(t),r=n+e;a(n,e)||(t.className=r.substring(1))}function u(t,e){var n,r=l(t);a(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function l(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return t}))},"32a6":function(t,e,n){var r=n("241e"),i=n("c3a1");n("ce7e")("keys",(function(){return function(t){return i(r(t))}}))},"32d7":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"34ef":function(t,e,n){n("ec30")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},3535:function(t,e,n){"use strict";var r=n("5ca1"),i=n("02f4")(!0),o=n("79e5"),s=o((function(){return"𠮷"!=="𠮷".at(0)}));r(r.P+r.F*s,"String",{at:function(t){return i(this,t)}})},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"36bd":function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");t.exports=function(t){var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),c=s>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);while(u>a)e[a++]=t;return e}},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3702:function(t,e,n){var r=n("481b"),i=n("5168")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"373f":function(t,e,n){"use strict";var r=n("5ca1"),i=n("6821"),o=[].join;r(r.P+r.F*(n("626a")!=Object||!n("2f21")(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},"37a7":function(t,e,n){var r=n("f400"),i=n("5ca1"),o=n("5537")("metadata"),s=o.store||(o.store=new(n("10ad"))),a=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},c=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},u=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){a(n,r,!0).set(t,e)},f=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach((function(t,e){r.push(e)})),r},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},d=function(t){i(i.S,"Reflect",t)};t.exports={store:s,map:a,has:c,get:u,set:l,keys:f,key:h,exp:d}},"37b5":function(t,e,n){"use strict";var r=n("5ca1"),i=n("7726"),o=n("8378"),s=n("8079")(),a=n("2b4c")("observable"),c=n("d8e8"),u=n("cb7c"),l=n("f605"),f=n("dcbc"),h=n("32e9"),d=n("4a59"),p=d.RETURN,g=function(t){return null==t?void 0:c(t)},v=function(t){var e=t._c;e&&(t._c=void 0,e())},y=function(t){return void 0===t._o},m=function(t){y(t)||(t._o=void 0,v(t))},I=function(t,e){u(t),this._c=void 0,this._o=t,t=new M(this);try{var n=e(t),r=n;null!=n&&("function"===typeof n.unsubscribe?n=function(){r.unsubscribe()}:c(n),this._c=n)}catch(i){return void t.error(i)}y(this)&&v(this)};I.prototype=f({},{unsubscribe:function(){m(this)}});var M=function(t){this._s=t};M.prototype=f({},{next:function(t){var e=this._s;if(!y(e)){var n=e._o;try{var r=g(n.next);if(r)return r.call(n,t)}catch(i){try{m(e)}finally{throw i}}}},error:function(t){var e=this._s;if(y(e))throw t;var n=e._o;e._o=void 0;try{var r=g(n.error);if(!r)throw t;t=r.call(n,t)}catch(i){try{v(e)}finally{throw i}}return v(e),t},complete:function(t){var e=this._s;if(!y(e)){var n=e._o;e._o=void 0;try{var r=g(n.complete);t=r?r.call(n,t):void 0}catch(i){try{v(e)}finally{throw i}}return v(e),t}}});var b=function(t){l(this,b,"Observable","_f")._f=c(t)};f(b.prototype,{subscribe:function(t){return new I(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)((function(n,r){c(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n})}))}}),f(b,{from:function(t){var e="function"===typeof this?this:b,n=g(u(t)[a]);if(n){var r=u(n.call(t));return r.constructor===e?r:new e((function(t){return r.subscribe(t)}))}return new e((function(e){var n=!1;return s((function(){if(!n){try{if(d(t,!1,(function(t){if(e.next(t),n)return p}))===p)return}catch(r){if(n)throw r;return void e.error(r)}e.complete()}})),function(){n=!0}}))},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t<e;)n[t]=arguments[t++];return new("function"===typeof this?this:b)((function(t){var e=!1;return s((function(){if(!e){for(var r=0;r<n.length;++r)if(t.next(n[r]),e)return;t.complete()}})),function(){e=!0}}))}}),h(b.prototype,a,(function(){return this})),r(r.G,{Observable:b}),n("7a56")("Observable")},"37c8":function(t,e,n){e.f=n("2b4c")},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(t,e,n){var r=n("5ca1"),i=n("79e5"),o=n("be13"),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,""")+'"'),a+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},"386d":function(t,e,n){"use strict";var r=n("cb7c"),i=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,s){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var a=r(t),c=String(this),u=a.lastIndex;i(u,0)||(a.lastIndex=0);var l=o(a,c);return i(a.lastIndex,u)||(a.lastIndex=u),null===l?-1:l.index}]}))},3875:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("1325");function i(t,e){return t>e?"horizontal":e>t?"vertical":""}var o={data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e=t.touches[0];this.deltaX=e.clientX<0?0:e.clientX-this.startX,this.deltaY=e.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY);var n=10;(!this.direction||this.offsetX<n&&this.offsetY<n)&&(this.direction=i(this.offsetX,this.offsetY))},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,n=this.onTouchMove,i=this.onTouchEnd;Object(r["b"])(t,"touchstart",e),Object(r["b"])(t,"touchmove",n),i&&(Object(r["b"])(t,"touchend",i),Object(r["b"])(t,"touchcancel",i))}}}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"3a72":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("2d00"),s=n("37c8"),a=n("86cc").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},"3a9c":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=n("d8e8"),s=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),s(r))}}})},"3b2b":function(t,e,n){var r=n("7726"),i=n("5dbc"),o=n("86cc").f,s=n("9093").f,a=n("aae3"),c=n("0bfb"),u=r.RegExp,l=u,f=u.prototype,h=/a/g,d=/a/g,p=new u(h)!==h;if(n("9e1e")&&(!p||n("79e5")((function(){return d[n("2b4c")("match")]=!1,u(h)!=h||u(d)==d||"/a/i"!=u(h,"i")})))){u=function(t,e){var n=this instanceof u,r=a(t),o=void 0===e;return!n&&r&&t.constructor===u&&o?t:i(p?new l(r&&!o?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&o?c.call(t):e),n?this:f,u)};for(var g=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},v=s(l),y=0;v.length>y;)g(v[y++]);f.constructor=u,u.prototype=f,n("2aba")(r,"RegExp",u)}n("7a56")("RegExp")},"3b74":function(t,e,n){"use strict";function r(t){return t instanceof RegExp}function i(t){return t&&"[object Function]"==={}.toString.call(t)}function o(t){return null!==t&&!Array.isArray(t)&&"object"===typeof t}function s(t){return"undefined"===typeof t}e.__esModule=!0,e.isUndefined=e.isPlainObject=e.isFunction=e.isRegex=void 0,e.isRegex=r,e.isFunction=i,e.isPlainObject=o,e.isUndefined=s},"3b8d":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("795b"),i=n.n(r);function o(t,e,n,r,o,s,a){try{var c=t[s](a),u=c.value}catch(l){return void n(l)}c.done?e(u):i.a.resolve(u).then(r,o)}function s(t){return function(){var e=this,n=arguments;return new i.a((function(r,i){var s=t.apply(e,n);function a(t){o(s,r,i,a,c,"next",t)}function c(t){o(s,r,i,a,c,"throw",t)}a(void 0)}))}}},"3c11":function(t,e,n){"use strict";var r=n("63b6"),i=n("584a"),o=n("e53d"),s=n("f201"),a=n("cd78");r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},"3c4e":function(t,e,n){"use strict";var r=function(t){return i(t)&&!o(t)};function i(t){return!!t&&"object"===typeof t}function o(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||c(t)}var s="function"===typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103;function c(t){return t.$$typeof===a}function u(t){return Array.isArray(t)?[]:{}}function l(t,e){var n=e&&!0===e.clone;return n&&r(t)?d(u(t),t,e):t}function f(t,e,n){var i=t.slice();return e.forEach((function(e,o){"undefined"===typeof i[o]?i[o]=l(e,n):r(e)?i[o]=d(t[o],e,n):-1===t.indexOf(e)&&i.push(l(e,n))})),i}function h(t,e,n){var i={};return r(t)&&Object.keys(t).forEach((function(e){i[e]=l(t[e],n)})),Object.keys(e).forEach((function(o){r(e[o])&&t[o]?i[o]=d(t[o],e[o],n):i[o]=l(e[o],n)})),i}function d(t,e,n){var r=Array.isArray(e),i=Array.isArray(t),o=n||{arrayMerge:f},s=r===i;if(s){if(r){var a=o.arrayMerge||f;return a(t,e,n)}return h(t,e,n)}return l(e,n)}d.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return d(t,n,e)}))};var p=d;t.exports=p},"3ca5":function(t,e,n){var r=n("7726").parseInt,i=n("aa77").trim,o=n("fdef"),s=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},"3eb1":function(t,e,n){"use strict";var r=n("0f7c"),i=n("00ce"),o=i("%Function.prototype.apply%"),s=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||r.call(s,o),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(h){u=null}t.exports=function(t){var e=a(r,s,arguments);if(c&&u){var n=c(e,"length");n.configurable&&u(e,"length",{value:1+l(0,t.length-(arguments.length-1))})}return e};var f=function(){return a(r,o,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},"3f6b":function(t,e,n){t.exports={default:n("51b6"),__esModule:!0}},"40c3":function(t,e,n){var r=n("6b4c"),i=n("5168")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},4127:function(t,e,n){"use strict";var r=n("5402"),i=n("d233"),o=n("b313"),s=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,f=function(t,e){l.apply(t,c(e)?e:[e])},h=Date.prototype.toISOString,d=o["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},g=function(t){return"string"===typeof t||"number"===typeof t||"boolean"===typeof t||"symbol"===typeof t||"bigint"===typeof t},v={},y=function t(e,n,o,s,a,l,h,d,y,m,I,M,b,C,_){var A=e,T=_,w=0,E=!1;while(void 0!==(T=T.get(v))&&!E){var N=T.get(e);if(w+=1,"undefined"!==typeof N){if(N===w)throw new RangeError("Cyclic object value");E=!0}"undefined"===typeof T.get(v)&&(w=0)}if("function"===typeof h?A=h(n,A):A instanceof Date?A=m(A):"comma"===o&&c(A)&&(A=i.maybeMap(A,(function(t){return t instanceof Date?m(t):t}))),null===A){if(s)return l&&!b?l(n,p.encoder,C,"key",I):n;A=""}if(g(A)||i.isBuffer(A)){if(l){var S=b?n:l(n,p.encoder,C,"key",I);if("comma"===o&&b){for(var O=u.call(String(A),","),D="",x=0;x<O.length;++x)D+=(0===x?"":",")+M(l(O[x],p.encoder,C,"value",I));return[M(S)+(c(A)&&1===O.length?"[]":"")+"="+D]}return[M(S)+"="+M(l(A,p.encoder,C,"value",I))]}return[M(n)+"="+M(String(A))]}var L,R=[];if("undefined"===typeof A)return R;if("comma"===o&&c(A))L=[{value:A.length>0?A.join(",")||null:void 0}];else if(c(h))L=h;else{var j=Object.keys(A);L=d?j.sort(d):j}for(var k="comma"===o&&c(A)&&1===A.length?n+"[]":n,P=0;P<L.length;++P){var U=L[P],z="object"===typeof U&&"undefined"!==typeof U.value?U.value:A[U];if(!a||null!==z){var B=c(A)?"function"===typeof o?o(k,U):k:k+(y?"."+U:"["+U+"]");_.set(e,w);var G=r();G.set(v,_),f(R,t(z,B,o,s,a,l,h,d,y,m,I,M,b,C,G))}}return R},m=function(t){if(!t)return p;if(null!==t.encoder&&"undefined"!==typeof t.encoder&&"function"!==typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o["default"];if("undefined"!==typeof t.format){if(!s.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=p.filter;return("function"===typeof t.filter||c(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"===typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeof t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeof t.delimiter?p.delimiter:t.delimiter,encode:"boolean"===typeof t.encode?t.encode:p.encode,encoder:"function"===typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"===typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"===typeof t.sort?t.sort:null,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}};t.exports=function(t,e){var n,i,o=t,s=m(e);"function"===typeof s.filter?(i=s.filter,o=i("",o)):c(s.filter)&&(i=s.filter,n=i);var u,l=[];if("object"!==typeof o||null===o)return"";u=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var h=a[u];n||(n=Object.keys(o)),s.sort&&n.sort(s.sort);for(var d=r(),p=0;p<n.length;++p){var g=n[p];s.skipNulls&&null===o[g]||f(l,y(o[g],g,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,d))}var v=l.join(s.delimiter),I=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?I+="utf8=%26%2310003%3B&":I+="utf8=%E2%9C%93&"),v.length>0?I+v:""}},"416c":function(t,e,n){n("28e4")("Map")},4178:function(t,e,n){var r,i,o,s=n("d864"),a=n("3024"),c=n("32fc"),u=n("1ec9"),l=n("e53d"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,v=0,y={},m="onreadystatechange",I=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},M=function(t){I.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return y[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete y[t]},"process"==n("6b4c")(f)?r=function(t){f.nextTick(s(I,t,1))}:g&&g.now?r=function(t){g.now(s(I,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=M,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",M,!1)):r=m in u("script")?function(t){c.appendChild(u("script"))[m]=function(){c.removeChild(this),I.call(t)}}:function(t){setTimeout(s(I,t,1),0)}),t.exports={set:h,clear:d}},"419e":function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};function o(t,e,n){var o=new Set(e);return function(e,s,a){return a===t&&Array.from(i(i([],r(e)),r(s)).map((function(t){return{key:n(t),value:t}})).map((function(t){var e=t.key,n=t.value;return{key:o.has(e)?e:n,value:n}})).reduce((function(t,e){var n=e.key,r=e.value;return t["delete"](n),t.set(n,r)}),new Map).values())}}e.__esModule=!0,e["default"]=o},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"41b2":function(t,e,n){"use strict";e.__esModule=!0;var r=n("3f6b"),i=o(r);function o(t){return t&&t.__esModule?t:{default:t}}e.default=i.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},4208:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e,n){t=t||{};var r=e.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(t,e,n,i){return r.fromToBase(t,e,n,i)}n.en.relativeTime=i,r.fromToBase=function(e,r,o,s,a){for(var c,u,l,f=o.$locale().relativeTime||i,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=h.length,p=0;p<d;p+=1){var g=h[p];g.d&&(c=s?n(e).diff(o,g.d,!0):o.diff(e,g.d,!0));var v=(t.rounding||Math.round)(Math.abs(c));if(l=c>0,v<=g.r||!g.r){v<=1&&p>0&&(g=h[p-1]);var y=f[g.l];a&&(v=a(""+v)),u="string"==typeof y?y.replace("%d",v):y(v,r,g.l,l);break}}if(r)return u;var m=l?f.future:f.past;return"function"==typeof m?m(u):m.replace("%s",u)},r.to=function(t,e){return o(t,e,this,!0)},r.from=function(t,e){return o(t,e,this)};var s=function(t){return t.$u?n.utc():n()};r.toNow=function(t){return this.to(s(this),t)},r.fromNow=function(t){return this.from(s(this),t)}}}))},4276:function(t,e,n){var r=n("5ca1"),i=n("2d95");r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},"42ab":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"014b":function(t,e,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),s=n("63b6"),a=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),f=n("45f2"),h=n("62a0"),d=n("5168"),p=n("ccb9"),g=n("6718"),v=n("47ee"),y=n("9003"),m=n("e4ae"),I=n("f772"),M=n("241e"),b=n("36c3"),C=n("1bc3"),_=n("aebd"),A=n("a159"),T=n("0395"),w=n("bf0b"),E=n("9aa9"),N=n("d9f6"),S=n("c3a1"),O=w.f,D=N.f,x=T.f,L=r.Symbol,R=r.JSON,j=R&&R.stringify,k="prototype",P=d("_hidden"),U=d("toPrimitive"),z={}.propertyIsEnumerable,B=l("symbol-registry"),G=l("symbols"),Y=l("op-symbols"),$=Object[k],H="function"==typeof L&&!!E.f,F=r.QObject,V=!F||!F[k]||!F[k].findChild,Q=o&&u((function(){return 7!=A(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O($,e);r&&delete $[e],D(t,e,n),r&&t!==$&&D($,e,r)}:D,W=function(t){var e=G[t]=A(L[k]);return e._k=t,e},Z=H&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},K=function(t,e,n){return t===$&&K(Y,e,n),m(t),e=C(e,!0),m(n),i(G,e)?(n.enumerable?(i(t,P)&&t[P][e]&&(t[P][e]=!1),n=A(n,{enumerable:_(0,!1)})):(i(t,P)||D(t,P,_(1,{})),t[P][e]=!0),Q(t,e,n)):D(t,e,n)},q=function(t,e){m(t);var n,r=v(e=b(e)),i=0,o=r.length;while(o>i)K(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?A(t):q(A(t),e)},X=function(t){var e=z.call(this,t=C(t,!0));return!(this===$&&i(G,t)&&!i(Y,t))&&(!(e||!i(this,t)||!i(G,t)||i(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=b(t),e=C(e,!0),t!==$||!i(G,e)||i(Y,e)){var n=O(t,e);return!n||!i(G,e)||i(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=x(b(t)),r=[],o=0;while(n.length>o)i(G,e=n[o++])||e==P||e==c||r.push(e);return r},nt=function(t){var e,n=t===$,r=x(n?Y:b(t)),o=[],s=0;while(r.length>s)!i(G,e=r[s++])||n&&!i($,e)||o.push(G[e]);return o};H||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===$&&e.call(Y,n),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,_(1,n))};return o&&V&&Q($,t,{configurable:!0,set:e}),W(t)},a(L[k],"toString",(function(){return this._k})),w.f=tt,N.f=K,n("6abf").f=T.f=et,n("355d").f=X,E.f=nt,o&&!n("b8e3")&&a($,"propertyIsEnumerable",X,!0),p.f=function(t){return W(d(t))}),s(s.G+s.W+s.F*!H,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=S(d.store),st=0;ot.length>st;)g(ot[st++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!H,"Object",{create:J,defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=u((function(){E.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return E.f(M(t))}}),R&&s(s.S+s.F*(!H||u((function(){var t=L();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(I(e)||void 0!==t)&&!Z(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Z(e))return e}),r[1]=e,j.apply(R,r)}}),L[k][U]||n("35e8")(L[k],U,L[k].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,C,_,A=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w=m==g,E=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||A(m),D=m?w?A("entries"):O:void 0,x="Array"==e&&N.entries||S;if(x&&(_=l(x.call(new t)),_!==Object.prototype&&_.next&&(u(_,T,!0),r||"function"==typeof _[f]||s(_,f,v))),w&&S&&S.name!==g&&(E=!0,O=function(){return S.call(this)}),r&&!M||!h&&!E&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:w?O:A(g),keys:I?O:A(p),entries:D},M)for(C in b)C in N||o(N,C,b[C]);else i(i.P+i.F*(h||E),e,b);return b}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"07fa":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-layers{z-index:11;position:absolute;left:0;bottom:0;width:100%;height:100%}",""])},"0b49":function(t,e,n){var r=n("3b4a");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("b8b31476",r,!0,{sourceMap:!1,shadowMode:!1})},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d22":function(t,e,n){"use strict";var r=n("3863"),i=n.n(r);i.a},"0d2d":function(t){t.exports=JSON.parse('{"dashboard":{"btn":{"play":"再生","pause":"一時停止","fullscreen":"全画面","exitFullscreen":"全画面をキャンセル","mute":"ミュート","unmute":"ミュートを解除","back":"戻る","pip":"ピクチャインピクチャ"},"settings":{"autoplay":"自動再生","loop":"ループプレイ","speed":"スピード","resolution":"画質"}},"layers":{"error":{"2404":"ソースが見つかりません","2502":"ネットワークエラー","2503":"デコードエラー","2504":"働いていない","title":"(O_O)? 再生エラー!"},"loading":{"msg":"待っている ..."}}}')},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0e5b":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-controls{z-index:10;position:absolute;left:0;bottom:5px;width:100%;height:50px;text-align:left}.playback-control,.setting-control{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:0;height:100%;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.playback-control{left:0}.setting-control{right:0}",""])},"0ee8":function(t,e,n){var r=n("f31c");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("20ebd1d3",r,!0,{sourceMap:!1,shadowMode:!1})},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1170:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".settings-control .btn-mute{display:none}.settings-control .btn-settings svg{width:24px;margin-top:-2px}.settings-control .btn-control-panel{display:block;right:0;left:auto;min-height:130px;-webkit-transform:translateX(0);transform:translateX(0)}.settings-control .btn-control-panel .current-panel{width:180px}.settings-control .btn-control-panel .resolution-list,.settings-control .btn-control-panel .speed-list{width:80px}.settings-control .btn-control-panel .resolution-list li,.settings-control .btn-control-panel .speed-list li{cursor:pointer}.settings-control .btn-control-panel .resolution-list li:first-child,.settings-control .btn-control-panel .speed-list li:first-child{margin-left:-20px;cursor:pointer}.vcp-m-dashboard .settings-control .btn-control-panel{z-index:20000;position:fixed;left:0;right:0;bottom:0}.vcp-m-dashboard .settings-control .btn-control-panel .current-panel{width:100%}.vcp-m-dashboard .settings-control .btn-control-panel .resolution-list,.vcp-m-dashboard .settings-control .btn-control-panel .speed-list{margin-left:20px}",""])},"11de":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-controls{z-index:10;position:absolute;left:0;bottom:5px;width:100%;height:50px;text-align:left}.playback-control,.setting-control{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:0;height:100%;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.playback-control{left:0}.setting-control{right:0}",""])},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},"12ae":function(t,e,n){var r=n("1170");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("280eb641",r,!0,{sourceMap:!1,shadowMode:!1})},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"14ab":function(t,e,n){"use strict";t.exports=function(){var t,e=Object.assign;return"function"===typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},"156e":function(t,e,n){"use strict";var r=n("234e"),i=n.n(r);i.a},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1689:function(t,e,n){var r=n("cfb4");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("169e5806",r,!0,{sourceMap:!1,shadowMode:!1})},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1793:function(t,e,n){"use strict";var r=n("6321"),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;t.exports=function(t){return!!r(t)&&!i.test(o.call(t))}},"18ec":function(t,e,n){"use strict";var r="razdwatrzy";t.exports=function(){return"function"===typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}},"1a94":function(t,e,n){"use strict";t.exports=function(t){if("function"!==typeof t)throw new TypeError(t+" is not a function");return t}},"1b6f":function(t,e,n){"use strict";var r=n("ff1c"),i=n.n(r);i.a},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2031:function(t,e,n){"use strict";t.exports=n("14ab")()?Object.assign:n("f60e")},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),c=n("520a"),u=a("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=a(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e})):void 0;if(!d||!p||"replace"===t&&!l||"split"===t&&!f){var g=/./[h],v=n(s,h,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),y=v[0],m=v[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},"22bf":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-m-dashboard{z-index:11;position:absolute;left:0;bottom:0;width:100%;height:59px;background:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.7)),to(transparent));background:linear-gradient(0deg,rgba(0,0,0,.7),transparent)}.fullscreen .vcp-m-dashboard{bottom:12px}.small .vcp-m-dashboard{height:49px}.settings-open .vcp-m-dashboard{display:block!important}.small .vcp-m-dashboard .vcp-controls{height:40px}",""])},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2316:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".title-layer{z-index:11;text-align:left}.title-layer .video-title{position:absolute;top:0;left:0;right:0;padding:16px 20px;line-height:32px;font-size:14px;background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.7)),to(transparent));background-image:linear-gradient(180deg,rgba(0,0,0,.7),transparent)}.fullscreen .title-layer .video-title{font-size:16px;font-weight:700}",""])},"234e":function(t,e,n){var r=n("743b");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("13d618fe",r,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=r(i),s=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(s).concat([o]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"===typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"263c":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.play-pause-layer{z-index:12;background:rgba(0,0,0,.25)}.play-pause-layer .btn-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;width:60px;height:60px;margin-left:-30px;margin-top:-30px;background-color:#fff;border-radius:30px}.play-pause-layer .btn-control:before{content:"";display:block;position:absolute;top:50%;left:50%;width:72px;height:72px;margin-left:-36px;margin-top:-36px;border-radius:36px;background-color:hsla(0,0%,100%,.25)}.play-pause-layer .btn-play svg{margin-left:10px}',""])},2814:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.vue-core-video-player-control{display:inline-block;position:relative;width:30px;height:30px}.vue-core-video-player-control svg{width:20px}.volume-control:hover .btn-control-panel{display:block}.volume-control .btn-control-panel{display:none;width:40px;height:150px}.volume-control .btn-control-panel:before{content:"";display:block;position:absolute;bottom:-30px;left:0;width:100%;height:35px}.volume-control .btn-control-panel .progress{position:absolute;width:4px;height:100px;left:50%;top:50%;margin-left:-2px;margin-top:-50px;background-color:hsla(0,0%,100%,.7);cursor:pointer}.volume-control .btn-control-panel .progress .volume-current{position:absolute;bottom:0;left:0;height:0;width:100%;background-color:#ff6060}.volume-control .btn-control-panel .progress .volume-current .thumb-drag{opacity:0;position:absolute;left:50%;top:0;width:10px;height:10px;border-radius:5px;background-color:#fff;-webkit-transform:translateY(-50%) translateX(-50%);transform:translateY(-50%) translateX(-50%);-webkit-transition:height .05s ease .15s;transition:height .05s ease .15s}.volume-control .btn-control-panel .progress .volume-current .thumb-drag:before{content:"";display:inline-block;position:absolute;top:-2px;left:-2px;width:14px;height:14px;border-radius:7px;background-color:hsla(0,0%,100%,.3)}.volume-control .btn-control-panel .progress:hover .thumb-drag{opacity:1}.volume-control .btn-control-panel .volume-info{position:absolute;top:-30px;left:0;width:40px;height:20px;background-color:rgba(0,0,0,.7);border-radius:4px;font-size:12px;line-height:20px}.settings-open .volume-control:hover .btn-control-panel{display:none}',""])},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),s=n("0390"),a=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,h=[].push,d="split",p="length",g="lastIndex",v=4294967295,y=!l((function(){RegExp(v,"y")}));n("214f")("split",2,(function(t,e,n,l){var m;return m="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,s,a,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?v:e>>>0,y=new RegExp(t.source,l+"g");while(o=u.call(y,i)){if(s=y[g],s>f&&(c.push(i.slice(f,o.index)),o[p]>1&&o.index<i[p]&&h.apply(c,o.slice(1)),a=o[0][p],f=s,c[p]>=d))break;y[g]===o.index&&y[g]++}return f===i[p]?!a&&y.test("")||c.push(""):c.push(i.slice(f)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):m.call(String(i),n,r)},function(t,e){var r=l(m,t,this,e,m!==n);if(r.done)return r.value;var u=i(t),h=String(this),d=o(u,RegExp),p=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(y?"y":"g"),I=new d(y?u:"^(?:"+u.source+")",g),M=void 0===e?v:e>>>0;if(0===M)return[];if(0===h.length)return null===c(I,h)?[h]:[];var b=0,C=0,_=[];while(C<h.length){I.lastIndex=y?C:0;var A,T=c(I,y?h:h.slice(C));if(null===T||(A=f(a(I.lastIndex+(y?0:C)),h.length))===b)C=s(h,C,p);else{if(_.push(h.slice(b,C)),_.length===M)return _;for(var w=1;w<=T.length-1;w++)if(_.push(T[w]),_.length===M)return _;C=b=A}}return _.push(h.slice(b)),_}]}))},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),c="toString",u=(""+a).split(c);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"2be5":function(t,e,n){var r=n("07fa");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("6fa741d5",r,!0,{sourceMap:!1,shadowMode:!1})},"2c1a":function(t,e,n){"use strict";var r=n("2be5"),i=n.n(r);i.a},"2d00":function(t,e){t.exports=!1},"2d60":function(t,e,n){var r=n("6f66");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("61ad65d7",r,!0,{sourceMap:!1,shadowMode:!1})},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),s=n("35e8"),a=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),f=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,C,_,A=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w=m==g,E=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||A(m),D=m?w?A("entries"):O:void 0,x="Array"==e&&N.entries||S;if(x&&(_=l(x.call(new t)),_!==Object.prototype&&_.next&&(u(_,T,!0),r||"function"==typeof _[f]||s(_,f,v))),w&&S&&S.name!==g&&(E=!0,O=function(){return S.call(this)}),r&&!M||!h&&!E&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:w?O:A(g),keys:I?O:A(p),entries:D},M)for(C in b)C in N||o(N,C,b[C]);else i(i.P+i.F*(h||E),e,b);return b}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},3863:function(t,e,n){var r=n("f232");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("3b10f201",r,!0,{sourceMap:!1,shadowMode:!1})},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"3b4a":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control.timespan{line-height:30px;width:140px;font-family:Arial!important}",""])},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"42e9":function(t,e,n){"use strict";var r=n("e9c8"),i=n.n(r);i.a},4447:function(t,e,n){"use strict";var r=n("6412"),i=n.n(r);i.a},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(t,e,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");t.exports=function(t){var e=r(t),n=i.f;if(n){var s,a=n(t),c=o.f,u=0;while(a.length>u)c.call(t,s=a[u++])&&e.push(s)}return e}},"481b":function(t,e){t.exports={}},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a=o[1],c=o[2],u=o[3],l={id:t+":"+i,css:a,media:c,sourceMap:u};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,u=!1,l=function(){},f=null,h="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){u=n,f=i||{};var s=r(t,e);return g(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i],c=o[a.id];c.refs--,n.push(c)}e?(s=r(t,e),g(s)):s=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(y(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(y(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function v(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function y(t){var e,n,r=document.querySelector("style["+h+'~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(d){var i=c++;r=a||(a=v()),e=I.bind(null,r,i,!1),n=I.bind(null,r,i,!0)}else r=v(),e=M.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function I(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function M(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),f.ssrId&&t.setAttribute(h,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4cc6":function(t,e,n){"use strict";var r=n("7c86"),i=n.n(r);i.a},5005:function(t,e,n){var r=n("22bf");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("c17df316",r,!0,{sourceMap:!1,shadowMode:!1})},"504c":function(t,e,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),s=n("52a7").f;t.exports=function(t){return function(e){var n,a=o(e),c=i(a),u=c.length,l=0,f=[];while(u>l)n=c[l++],r&&!s.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[a]||0!==e[a]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(s=function(t){var e,n,s,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[a]),s=i.call(f,t),c&&s&&(f[a]=f.global?s.index+s[0].length:e),u&&s&&s.length>1&&o.call(s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s}),t.exports=s},5276:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".logo-layer{z-index:11;text-align:left}.logo-layer .logo-wrap{position:absolute;top:15px;right:15px;opacity:.7;text-align:right}.logo-layer .logo-wrap img{max-width:160px;height:48px}",""])},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5311:function(t,e,n){"use strict";var r=n("0b49"),i=n.n(r);i.a},"53e2":function(t,e,n){var r=n("07e3"),i=n("241e"),o=n("5559")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},5695:function(t,e,n){var r=n("e9d0");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("1c7c0837",r,!0,{sourceMap:!1,shadowMode:!1})},"56fb":function(t,e,n){"use strict";var r=n("f922"),i=n.n(r);i.a},"584a":function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",u=function(t,e,n){var l,f,h,d,p=t&u.F,g=t&u.G,v=t&u.S,y=t&u.P,m=t&u.B,I=g?r:v?r[e]||(r[e]={}):(r[e]||{})[c],M=g?i:i[e]||(i[e]={}),b=M[c]||(M[c]={});for(l in g&&(n=e),n)f=!p&&I&&void 0!==I[l],h=(f?I:n)[l],d=m&&f?a(h,r):y&&"function"==typeof h?a(Function.call,h):h,I&&s(I,l,h,t&u.U),M[l]!=h&&o(M,l,d),y&&b[l]!=h&&(b[l]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5d58":function(t,e,n){t.exports=n("d8d6")},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},"5edd":function(t,e,n){"use strict";var r=n("936a"),i={object:!0,function:!0,undefined:!0};t.exports=function(t){return!!r(t)&&hasOwnProperty.call(i,typeof t)}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"62c4":function(t,e,n){"use strict";var r=n("e76c")();t.exports=function(t){return t!==r&&null!==t}},6321:function(t,e,n){"use strict";var r=n("9013");t.exports=function(t){if("function"!==typeof t)return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if("number"!==typeof t.length)return!1;if("function"!==typeof t.call)return!1;if("function"!==typeof t.apply)return!1}catch(e){return!1}return!r(t)}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),c="prototype",u=function(t,e,n){var l,f,h,d=t&u.F,p=t&u.G,g=t&u.S,v=t&u.P,y=t&u.B,m=t&u.W,I=p?i:i[e]||(i[e]={}),M=I[c],b=p?r:g?r[e]:(r[e]||{})[c];for(l in p&&(n=e),n)f=!d&&b&&void 0!==b[l],f&&a(I,l)||(h=f?b[l]:n[l],I[l]=p&&"function"!=typeof b[l]?n[l]:y&&f?o(h,r):m&&b[l]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((I.virtual||(I.virtual={}))[l]=h,t&u.R&&M&&!M[l]&&s(M,l,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},6412:function(t,e,n){var r=n("263c");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("2625ca16",r,!0,{sourceMap:!1,shadowMode:!1})},6718:function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),s=n("ccb9"),a=n("d9f6").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],c=function(t){n("2aba")(RegExp.prototype,s,t,!0)};n("79e5")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):a.name!=s&&c((function(){return a.call(this)}))},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),s=n("5168")("toStringTag"),a="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(","),c=0;c<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},"6d0c":function(t,e,n){var r=n("6ddc");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("f6023f92",r,!0,{sourceMap:!1,shadowMode:!1})},"6ddc":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".loading-layer{z-index:16;background-color:#333}.loading-layer .loading-wrap{position:absolute;left:50%;top:50%;width:120px;height:80px;margin-top:-40px;margin-left:-60px;text-align:center}.loading-layer .h5-layer-loading{position:relative;width:40px;height:40px;margin:0 auto}.loading-layer .h5-layer-loading .spinner{backface-visibility:hidden;-webkit-backface-visibility:hidden;-webkit-animation:rotator 1.4s linear infinite;animation:rotator 1.4s linear infinite}.loading-layer .h5-layer-loading p{padding-top:20px}@-webkit-keyframes rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}@keyframes rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}.loading-layer .h5-layer-loading .path{stroke-dasharray:188.8;stroke-dashoffset:188.8;-webkit-transform-origin:center;transform-origin:center;-webkit-animation:dash 1.4s ease-in-out infinite;animation:dash 1.4s ease-in-out infinite}.loading-layer .h5-layer-loading .dot1{-webkit-animation:dot1a 1.4s ease-in-out infinite;animation:dot1a 1.4s ease-in-out infinite}.loading-layer .h5-layer-loading .dot1,.loading-layer .h5-layer-loading .dot2{stroke-dasharray:188.8;stroke-dashoffset:187.8;-webkit-transform-origin:center;transform-origin:center}.loading-layer .h5-layer-loading .dot2{-webkit-animation:dot2a 1.4s ease-in-out infinite forwards;animation:dot2a 1.4s ease-in-out infinite forwards}@-webkit-keyframes dash{0%{stroke-dashoffset:188.8}50%{stroke-dashoffset:47.2;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@keyframes dash{0%{stroke-dashoffset:188.8}50%{stroke-dashoffset:47.2;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@-webkit-keyframes dot1a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0);transform:rotate(0)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@keyframes dot1a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0);transform:rotate(0)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@-webkit-keyframes dot2a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(415deg);transform:rotate(415deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@keyframes dot2a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(415deg);transform:rotate(415deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}",""])},"6f66":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".cover-layer{z-index:11;background-color:#333}.cover-layer img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}",""])},"71c1":function(t,e,n){var r=n("3a38"),i=n("25eb");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),s=n("52a7"),a=n("4bf8"),c=n("626a"),u=Object.assign;t.exports=!u||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=a(t),u=arguments.length,l=1,f=o.f,h=s.f;while(u>l){var d,p=c(arguments[l++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},7335:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control .btn-pip svg{width:22px}",""])},7373:function(t,e,n){"use strict";var r=n("62c4"),i=Object.keys;t.exports=function(t){return i(r(t)?Object(t):t)}},"743b":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control .btn-fullscreen svg{width:20px}",""])},"765d":function(t,e,n){n("6718")("observable")},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7bdf":function(t,e,n){"use strict";t.exports=n("ecf9")()?Object.keys:n("7373")},"7c86":function(t,e,n){var r=n("11de");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("8bc865d0",r,!0,{sourceMap:!1,shadowMode:!1})},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7fc5":function(t,e,n){"use strict";var r=n("ab5c"),i=n.n(r);i.a},8378:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"850d":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control .btn-pause{margin-left:20px}.vue-core-video-player-control .btn-pause svg{width:15px}.vue-core-video-player-control .btn-play{margin-left:20px}.vue-core-video-player-control .btn-play svg{width:16px}",""])},"85f2":function(t,e,n){t.exports=n("454f")},8615:function(t,e,n){var r=n("5ca1"),i=n("504c")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8bbf":function(t,e){t.exports=n("2b0e")},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),s=n("11e9"),a=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=s.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&a(l,e,n);return l}})},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9013:function(t,e,n){"use strict";var r=n("5edd");t.exports=function(t){if(!r(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(e){return!1}}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"90e0":function(t,e,n){var r=n("2316");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("41493392",r,!0,{sourceMap:!1,shadowMode:!1})},9138:function(t,e,n){t.exports=n("35e8")},"936a":function(t,e,n){"use strict";var r=void 0;t.exports=function(t){return t!==r&&null!==t}},9643:function(t,e,n){var r=n("850d");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("39384dc1",r,!0,{sourceMap:!1,shadowMode:!1})},"96ae":function(t,e,n){"use strict";var r=n("62c4");t.exports=function(t){if(!r(t))throw new TypeError("Cannot use null or undefined");return t}},"990b":function(t,e,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),s=n("7726").Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},9983:function(t,e,n){"use strict";var r=n("2d60"),i=n.n(r);i.a},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},a3e9:function(t,e,n){"use strict";var r=n("5005"),i=n.n(r);i.a},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,g){return[function(r,i){var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=g(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),d="function"===typeof e;d||(e=String(e));var y=f.global;if(y){var m=f.unicode;f.lastIndex=0}var I=[];while(1){var M=c(f,h);if(null===M)break;if(I.push(M),!y)break;var b=String(M[0]);""===b&&(f.lastIndex=a(h,o(f.lastIndex),m))}for(var C="",_=0,A=0;A<I.length;A++){M=I[A];for(var T=String(M[0]),w=u(l(s(M.index),h.length),0),E=[],N=1;N<M.length;N++)E.push(p(M[N]));var S=M.groups;if(d){var O=[T].concat(E,w,h);void 0!==S&&O.push(S);var D=String(e.apply(void 0,O))}else D=v(T,h,w,E,S,e);w>=_&&(C+=h.slice(_,w)+D,_=w+T.length)}return C+h.slice(_)}];function v(t,e,r,o,s,a){var c=r+t.length,u=o.length,l=d;return void 0!==s&&(s=i(s),l=h),n.call(a,l,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":a=s[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}a=o[l-1]}return void 0===a?"":a}))}}))},aa54:function(t,e,n){"use strict";var r=n("12ae"),i=n.n(r);i.a},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},ab5c:function(t,e,n){var r=n("0e5b");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("76a6120a",r,!0,{sourceMap:!1,shadowMode:!1})},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={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=i(d),g=0;g<p.length;g++){var v,y=p[g],m=d[y],I=s[y],M=I&&I.prototype;if(M&&(M[l]||a(M,l,h),M[f]||a(M,f,y),c[y]=h,m))for(v in r)M[v]||o(M,v,r[v],!0)}},add7:function(t,e,n){var r=n("dc03");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("26edf8bf",r,!0,{sourceMap:!1,shadowMode:!1})},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b1ba:function(t,e,n){"use strict";var r=n("6d0c"),i=n.n(r);i.a},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b5de:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-container{position:relative;margin:0 auto}.vcp-container,.vcp-container video{width:100%;height:100%;background-color:#000}",""])},b72f:function(t,e,n){"use strict";var r=n("90e0"),i=n.n(r);i.a},b8e3:function(t,e){t.exports=!0},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bead:function(t,e,n){"use strict";var r=n("f0b7"),i=n.n(r);i.a},bf0b:function(t,e,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),s=n("1bc3"),a=n("07e3"),c=n("794b"),u=Object.getOwnPropertyDescriptor;e.f=n("8e60")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},c207:function(t,e){},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),s=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c428:function(t,e,n){"use strict";var r=n("1689"),i=n.n(r);i.a},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c9fc:function(t,e,n){"use strict";var r,i,o,s,a,c,u,l=n("f508"),f=n("1a94"),h=Function.prototype.apply,d=Function.prototype.call,p=Object.create,g=Object.defineProperty,v=Object.defineProperties,y=Object.prototype.hasOwnProperty,m={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return f(e),y.call(this,"__ee__")?n=this.__ee__:(n=m.value=p(null),g(this,"__ee__",m),m.value=null),n[t]?"object"===typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return f(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),h.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(f(e),!y.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"===typeof r)for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},s=function(t){var e,n,r,i,o;if(y.call(this,"__ee__")&&(i=this.__ee__[t],i))if("object"===typeof i){for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];for(i=i.slice(),e=0;r=i[e];++e)h.call(r,this,o)}else switch(arguments.length){case 1:d.call(i,this);break;case 2:d.call(i,this,arguments[1]);break;case 3:d.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];h.call(i,this,o)}},a={on:r,once:i,off:o,emit:s},c={on:l(r),once:l(i),off:l(o),emit:l(s)},u=v({},c),t.exports=e=function(t){return null==t?p(u):v(Object(t),c)},e.methods=a},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cc1d:function(t,e,n){"use strict";var r=n("0ee8"),i=n.n(r);i.a},ccb9:function(t,e,n){e.f=n("5168")},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},cfb4:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.vcp-switch{display:inline-block;position:relative;width:40px;height:16px;border-radius:8px;background-color:#fff;cursor:pointer}.vcp-switch:after{content:"";display:inline-block;position:absolute;top:1px;left:2px;width:14px;height:14px;border-radius:7px;background-color:#ff6060;-webkit-transition:left .2s ease-in .05s;transition:left .2s ease-in .05s}.vcp-switch.open:after{left:23px}',""])},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d658:function(t,e,n){"use strict";var r=n("9643"),i=n.n(r);i.a},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc03:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".animated{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(20%,0,0);transform:translate3d(20%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(20%,0,0);transform:translate3d(20%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.vcp-layer{position:absolute;top:0;bottom:0;right:0;left:0;color:#fff;font-weight:400}.vcp-layer div,.vcp-layer svg{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vcp-icon{display:inline-block}.vue-core-video-player-control{display:inline-block;position:relative;width:30px;height:30px;margin-right:20px;font-size:13px;color:#fff}.vcp-m-dashboard .vue-core-video-player-control{margin-right:10px}.btn-control-panel{position:absolute;left:50%;bottom:54px;padding:20px;min-height:30px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:rgba(0,0,0,.7);border-radius:4px;font-weight:500}.btn-control-panel li,.btn-control-panel ul{margin:0;padding:0;text-align:center}.btn-control-panel ul li{list-style:none;height:30px;line-height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:left}.btn-control-panel ul li .item-name{-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-item-align:start;align-self:flex-start}.btn-control-panel ul li .item-control{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:30px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.btn-control,.btn-control-panel ul li .item-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.btn-control{position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px}.btn-control:focus{background:none;outline-style:none}.btn-control .tips{display:none;position:absolute;min-width:30px;padding:4px;border-radius:2px;bottom:54px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:12px;font-weight:700;color:hsla(0,0%,100%,.7);background-color:rgba(0,0,0,.7);text-align:center;line-height:1.2;word-break:keep-all;word-wrap:no-wrap;white-space:nowrap;opacity:0;-webkit-transition:opacity .15s ease-in;transition:opacity .15s ease-in}.btn-control svg{opacity:.85;-webkit-transition:opacity .1s ease;transition:opacity .1s ease}.btn-control:hover svg{opacity:1}.btn-control:hover .tips{display:block;opacity:1}",""])},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e312:function(t){t.exports=JSON.parse('{"dashboard":{"btn":{"play":"Play","pause":"Pause","fullscreen":"Full Screen","exitFullscreen":"Exit Full Screen","mute":"Mute","unmute":"Unmute","back":"Back","pip":"Picture-in-Picture"},"settings":{"autoplay":"Autoplay","loop":"Loop","speed":"Speed","resolution":"Resolution"}},"layers":{"error":{"2404":"Video Source Not Found","2502":"Media Network Error","2503":"Video Cannot DECODE","2504":"Video Cannot Play!","title":"(O_O)? Error!"},"loading":{"msg":"Loading ..."}}}')},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),s=n("5559")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},e76c:function(t,e,n){"use strict";t.exports=function(){}},e9c8:function(t,e,n){var r=n("2814");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("d37f223e",r,!0,{sourceMap:!1,shadowMode:!1})},e9d0:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".error-layer{z-index:12;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);background-color:#333;background-repeat:repeat;text-align:center}.error-layer .error-icon{width:194px;margin:-40px auto 0}.error-layer .error-msg{color:hsla(0,0%,100%,.7)}",""])},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},ebfd:function(t,e,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),s=n("d9f6").f,a=0,c=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},ecf9:function(t,e,n){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},f0b7:function(t,e,n){var r=n("b5de");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("9172fcae",r,!0,{sourceMap:!1,shadowMode:!1})},f1ae:function(t,e,n){"use strict";var r=n("86cc"),i=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},f201:function(t){t.exports=JSON.parse('{"dashboard":{"btn":{"play":"播放","pause":"暂停","fullscreen":"全屏","exitFullscreen":"退出全屏","mute":"静音","unmute":"取消静音","back":"返回","pip":"画中画模式"},"settings":{"autoplay":"自动播放","loop":"循环播放","speed":"播放速度","resolution":"清晰度"}},"layers":{"error":{"2404":"找不到播放视频","2502":"播放网络异常","2503":"视频无法解码","2504":"视频无法正常播放","title":"(O_O)? 播放错误!"},"loading":{"msg":"加载中 ..."}}}')},f232:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.vcp-progress-hover{position:absolute;bottom:100%;left:0;height:12px;width:100%;cursor:pointer}.vcp-progress-hover .vcp-progress{position:absolute;bottom:0;left:0;height:4px;width:100%;background-color:hsla(0,0%,100%,.3);-webkit-transition:height .2s ease .05s;transition:height .2s ease .05s}.vcp-progress-hover:hover .vcp-progress{height:6px}.vcp-progress-hover:hover .vcp-progress .thumb-drag{opacity:1}.vcp-progress-loaded,.vcp-progress-played{position:absolute;top:0;left:0;width:0;height:100%;background-color:hsla(0,0%,100%,.7)}.vcp-progress-loaded{-webkit-transition:width .1s cubic-bezier(.4,0,1,1);transition:width .1s cubic-bezier(.4,0,1,1)}.vcp-progress-played{width:0;background-color:#ff6060}.vcp-progress-played .thumb-drag{opacity:0;position:absolute;right:0;top:50%;width:12px;height:12px;border-radius:6px;background-color:#fff;-webkit-transform:translateY(-50%) translateX(50%);transform:translateY(-50%) translateX(50%);-webkit-transition:height .05s ease .15s;transition:height .05s ease .15s}.vcp-progress-played .thumb-drag:before{content:"";display:inline-block;position:absolute;top:-2px;left:-2px;width:16px;height:16px;border-radius:7px;background-color:hsla(0,0%,100%,.3)}.vcp-m-dashboard .vcp-progress-hover{bottom:0}.vcp-m-dashboard .vcp-progress-hover .vcp-progress{height:3px}.vcp-m-dashboard .vcp-progress-hover .vcp-progress-played .thumb-drag{background-color:#ff6060}.vcp-m-dashboard .vcp-progress-hover .vcp-progress-played .thumb-drag:before{background-color:#ff6060;opacity:.25}',""])},f31c:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-dashboard{z-index:11;position:absolute;left:0;bottom:0;width:100%;height:59px;background:rgba(0,0,0,.5)}.fullscreen .vcp-dashboard{bottom:60px;width:1182px;left:50%;margin-left:-591px}.small .vcp-dashboard{height:49px}.settings-open .vcp-dashboard{display:block!important}.small .vcp-dashboard .vcp-controls{height:40px}",""])},f3a6:function(t,e,n){"use strict";var r=n("62c4"),i=Array.prototype.forEach,o=Object.create,s=function(t,e){var n;for(n in t)e[n]=t[n]};t.exports=function(t){var e=o(null);return i.call(arguments,(function(t){r(t)&&s(Object(t),e)})),e}},f508:function(t,e,n){"use strict";var r=n("936a"),i=n("1793"),o=n("2031"),s=n("f3a6"),a=n("f973"),c=t.exports=function(t,e){var n,i,c,u,l;return arguments.length<2||"string"!==typeof t?(u=e,e=t,t=null):u=arguments[2],r(t)?(n=a.call(t,"c"),i=a.call(t,"e"),c=a.call(t,"w")):(n=c=!0,i=!1),l={value:e,configurable:n,enumerable:i,writable:c},u?o(s(u),l):l};c.gs=function(t,e,n){var c,u,l,f;return"string"!==typeof t?(l=n,n=e,e=t,t=null):l=arguments[3],r(e)?i(e)?r(n)?i(n)||(l=n,n=void 0):n=void 0:(l=e,e=n=void 0):e=void 0,r(t)?(c=a.call(t,"c"),u=a.call(t,"e")):(c=!0,u=!1),f={get:e,set:n,configurable:c,enumerable:u},l?o(s(l),f):f}},f60e:function(t,e,n){"use strict";var r=n("7bdf"),i=n("96ae"),o=Math.max;t.exports=function(t,e){var n,s,a,c=o(arguments.length,2);for(t=Object(i(t)),a=function(r){try{t[r]=e[r]}catch(i){n||(n=i)}},s=1;s<c;++s)e=arguments[s],r(e).forEach(a);if(void 0!==n)throw n;return t}},f64c:function(t,e,n){"use strict";var r=n("5695"),i=n.n(r);i.a},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},f922:function(t,e,n){var r=n("5276");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("22717135",r,!0,{sourceMap:!1,shadowMode:!1})},f967:function(t,e,n){"use strict";var r=String.prototype.indexOf;t.exports=function(t){return r.call(this,t,arguments[1])>-1}},f973:function(t,e,n){"use strict";t.exports=n("18ec")()?String.prototype.contains:n("f967")},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=n("5d58"),o=n.n(i),s=n("67bb"),a=n.n(s);function c(t){return c="function"===typeof a.a&&"symbol"===typeof o.a?function(t){return typeof t}:function(t){return t&&"function"===typeof a.a&&t.constructor===a.a&&t!==a.a.prototype?"symbol":typeof t},c(t)}function u(t){return u="function"===typeof a.a&&"symbol"===c(o.a)?function(t){return c(t)}:function(t){return t&&"function"===typeof a.a&&t.constructor===a.a&&t!==a.a.prototype?"symbol":c(t)},u(t)}n("28a5");var l=n("f201"),f=n("e312"),h=n("0d2d"),d={"zh-CN":l,jp:h,en:f},p={t:function(t,e){for(var n=t.split("."),r=n.length,i=p.locale,o=0;o<r;o++)i.hasOwnProperty(n[o])&&(i=i[n[o]]);return i||e},setLocale:function(t){return"object"===u(t)?p.locale=t:p.locale=d[t||"en"],p.locale}},g=p,v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"vcp-el",staticClass:"vcp-container"},[n("video",{ref:"vcp-video",attrs:{title:t.title,cover:t.cover,loop:t.loop,playsinline:t.playsinline,src:t.source}}),n("Layers"),t.isMobile?t._e():n("Dashboard",{attrs:{controls:t.controls,muted:t.muted}}),t.isMobile?n("MobileDashboard",{attrs:{controls:t.controls,muted:t.muted}}):t._e()],1)},y=[],m=(n("8e6e"),n("456d"),n("cadf"),n("8615"),n("85f2")),I=n.n(m);function M(t,e,n){return e in t?I()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n("ac6a"),n("add7");var b=n("8bbf"),C=n.n(b);C.a.directive("t",{bind:function(t,e){t.innerText=g.t(e.expression)}});var _={loop:!1,volume:1,muted:!1,autoplay:!1,preload:"metadata",playList:[],safeBufferTime:2,minPlayBufferTime:1,resolution:"720p",dashboardHideDelay:2500},A=_;function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(n,!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var E={ERROR_NO_MEDIA:"ERROR_NO_MEDIA",ERROR_AUTO_PLAY:"ERROR_AUTO_PLAY"},N={LIFECYCLE_INITING:"lifecycle_initing",LIFECYCLE_INITED:"lifecycle_inited",LIFECYCLE_PARSED:"lifecycle_parse",LIFECYCLE_STOP:"lifecycle_stop"},S={SOURCE_UPDATED:"SOURCE_UPDATED"},O={UI_DASHBOARD_SHOW:"ui_dashboard_show",UI_DASHBOARD_HIDE:"ui_dashboard_hide",UI_PLAY:"ui_play",UI_PAUSE:"ui_pause"},D=w({},E,{},N,{},S,{},O,{SERVICE_LOADING:"service_loading",SERVICE_ENDED:"service_ended",LOADING_START:"loading_start",LOADING_END:"loading_end",CORE_TO_MP4:"core_to_mp4",PLAY:"play",PAUSE:"pause",LOADEDDATA:"loadeddata",CANPLAY:"canplay",CANPLAYTHROUGH:"canplaythrough",ERROR:"error",DURATIONCHANGE:"durationchange",ENDED:"ended",TIMEUPDATE:"timeupdate",LOADEDMETADATA:"loadedmetadata",WAITING:"waiting",PLAYING:"playing",RETRY:"retry",SEEKED:"seeked",SEEKING:"seeking",VOLUMECHANGE:"volumechange",EXIT:"exit",PROGRESS:"progress",STALLED:"stalled",LOADSTART:"loadstart",RESOLUTION_UPDATE:"resolution_update"}),x=D,L={NO_SOURCE:{code:"2404",msg:"Prop `src` not found"},2502:"Media Network Error",2503:"Video Cannot DECODE",2504:"Video Cannot Play!",2701:"Parse Error",2801:"Not found reason"},R=L,j=["video/webm","video/mp4"];n("6b54"),n("a481");const k=/iPhone/i,P=/iPod/i,U=/iPad/i,z=/\bAndroid(?:.+)Mobile\b/i,B=/Android/i,G=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Y=/Silk/i,$=/Windows Phone/i,H=/\bWindows(?:.+)ARM\b/i,F=/BlackBerry/i,V=/BB10/i,Q=/Opera Mini/i,W=/\b(CriOS|Chrome)(?:.+)Mobile/i,Z=/Mobile(?:.+)Firefox\b/i;function K(t,e){return t.test(e)}function q(t){t=t||("undefined"!==typeof navigator?navigator.userAgent:"");let e=t.split("[FBAN");"undefined"!==typeof e[1]&&(t=e[0]),e=t.split("Twitter"),"undefined"!==typeof e[1]&&(t=e[0]);const n={apple:{phone:K(k,t)&&!K($,t),ipod:K(P,t),tablet:!K(k,t)&&K(U,t)&&!K($,t),device:(K(k,t)||K(P,t)||K(U,t))&&!K($,t)},amazon:{phone:K(G,t),tablet:!K(G,t)&&K(Y,t),device:K(G,t)||K(Y,t)},android:{phone:!K($,t)&&K(G,t)||!K($,t)&&K(z,t),tablet:!K($,t)&&!K(G,t)&&!K(z,t)&&(K(Y,t)||K(B,t)),device:!K($,t)&&(K(G,t)||K(Y,t)||K(z,t)||K(B,t))||K(/\bokhttp\b/i,t)},windows:{phone:K($,t),tablet:K(H,t),device:K($,t)||K(H,t)},other:{blackberry:K(F,t),blackberry10:K(V,t),opera:K(Q,t),firefox:K(Z,t),chrome:K(W,t),device:K(F,t)||K(V,t)||K(Q,t)||K(Z,t)||K(W,t)},any:!1,phone:!1,tablet:!1};return n.any=n.apple.device||n.android.device||n.windows.device||n.other.device,n.phone=n.apple.phone||n.android.phone||n.windows.phone,n.tablet=n.apple.tablet||n.android.tablet||n.windows.tablet,n}function J(t){return"string"===typeof t}var X=navigator.userAgent.toLowerCase();function tt(t){return t<10?"0".concat(t):t}function et(t,e){t=parseInt(t);var n=t%60,r=parseInt(t/3600),i=parseInt(t%3600/60);return"array"===e?[r,i,n]:"m:s"===e?(i=parseInt(t/60),[i,n].map((function(t){return tt(t)})).join(":")):[r,i,n].map((function(t){return tt(t)})).join(":")}function nt(t){var e=0,n=0;do{e+=t.offsetLeft,n+=t.offsetTop}while(t=t.offsetParent);return{left:e,top:n}}function rt(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}var it=function(){return navigator.userAgent.indexOf("Safari")>-1};function ot(t,e){if(0===e.length)return 0;for(var n=0;n<e.length;n++){var r=e.start(n),i=e.end(n);if(t>=r&&t<=i)return e.end(n)}return t}var st=function(){return"object"!==("undefined"===typeof localStorage?"undefined":u(localStorage))&&"object"!==("undefined"===typeof navigator?"undefined":u(navigator))},at=q(X).any,ct=q(X).android,ut=q(X).apple&&q(X).apple.device,lt=(ut&&it(),/MQQBrowser/i.test(X)),ft=(/ucbrowser/i.test(X),/chrome/i.test(X)),ht=(/MicroMessenger/i.test(X),/firefox/i.test(X)),dt=function(t){return!!(Array.isArray(t)&&"object"===u(t[0])&&t[0].resolution&&t[0].src)};function pt(t){return dt(t)?t.filter((function(t){return t.src&&t.resolution})):"string"===typeof t?[t]:t}function gt(t,e){return st()?!(!ht&&!ft||"video/webm"!==t)||"video/mp4"===t:(e||(e=document.createElement("videos")),e.canPlayType(t))}n("f751");function vt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),I()(t,r.key,r)}}function mt(t,e,n){return e&&yt(t.prototype,e),n&&yt(t,n),t}function It(t,e){if(e&&t){var n=e.split(" ");if(t.classList&&1===n.length)t.classList.add(e);else{var r=t.className.split(" ");r.push(e),t.className=r.join(" ")}}}function Mt(t,e){if(t.classList)t.classList.remove(e);else{for(var n=t.className.split(" "),r=-1,i=0,o=n.length;i<o;i++)n[i]===e&&(r=i);r>-1&&n.splice(r,1),t.className=n.join(" ")}}function bt(t,e){var n=e.parentNode;while(null!=n){if(n===t)return!0;n=n.parentNode}return!1}function Ct(t,e,n){if(e){var r=at?t.changedTouches[0]["clientX"]:t.clientX,i=at?t.changedTouches[0]["clientY"]:t.clientY,o=r-n.x,s=i-n.y;return o<=n.minLeft&&(o=n.minLeft),o>=n.maxLeft&&(o=n.maxLeft),s<=n.minTop&&(s=n.minTop),s>=n.maxTop&&(s=n.maxTop),{left:o,top:s}}}function _t(t){document.addEventListener("fullscreenchange",(function(){t(document.webkitIsFullScreen)}),!1),document.addEventListener("mozfullscreenchange",(function(){t(document.mozFullScreen)}),!1),document.addEventListener("msFullscreenElement",(function(){t(document.mozFullScreen)}),!1),document.addEventListener("webkitfullscreenchange",(function(){t(document.webkitIsFullScreen)}),!1)}var At=["play","playing","timeupdate","pause","seeking","waiting","loadedmetadata","loadeddata","loadstart","seeked","ended","durationchange","progress","canplaythrough","volumechange"],Tt=["muted","volume","loop","preload"],wt=function(){function t(e){vt(this,t),this.config=Object.assign(A,e),this.$video=this.config.videoEl,this.$el=this.config.el,this._eventEmitter=e.eventEmitter,this.state={};var n=this.config.src;this.checkSource(n)&&(this.parse(n),this.init())}return mt(t,[{key:"parse",value:function(t){this.initResolution(t),this.initVideoType()}},{key:"checkSource",value:function(t){if(!t){var e=R.NO_SOURCE.code;return this.emit(x.ERROR,{code:e}),!1}return!!(!Array.isArray(t)||t[0]&&t[0].src)}},{key:"setSource",value:function(t){var e=this;if(this.checkSource(t)){this.parse(t);var n=this.isPlaying();if(n){this.pause();var r=function t(){e.play(),e.$video.removeEventListener(x.DURATIONCHANGE,t)};this.$video.addEventListener(x.DURATIONCHANGE,r)}}}},{key:"init",value:function(){this.checkSource(this.config.src),this._autoRegisterEvents(),this._setVideoAttr(),this.setContainer(),this.setSize(),this.emit(x.LIFECYCLE_INITED),this._autoplay()}},{key:"setContainer",value:function(){at&&It(this.$el,"mobile")}},{key:"setSize",value:function(){var t=this.$el.offsetWidth,e="";t<=763&&(e="small"),It(this.$el,e)}},{key:"_autoplay",value:function(){var t=this;if(this.config.autoplay&&!at){var e=function(){var e=t.play();t.autoPlayPolicy(e)};e()}}},{key:"setConfig",value:function(t,e){Tt.indexOf(t)>=0&&(this.config[t]=e,this.$video[t]=e)}},{key:"initResolution",value:function(t){var e=this,n=this.config.resolution;this.medias=pt(t),this.medias.forEach((function(t){t.resolution===n&&(e.config.src=t.src)})),this.resolution=n,setTimeout((function(){e.emit(x.SOURCE_UPDATED)}),200)}},{key:"initVideoType",value:function(){for(var t=this,e=function(e){for(var n=0;n<t.medias.length;n++)if(t.medias[n].type===e)return t.medias[n]},n=0;n<j.length;n++){var r=e(j[n]);if(gt(j[n],this.$video)&&r)return this.config.src=r.src,this.$video.src=this.config.src,this.resolution="",void(this.medias=[r])}}},{key:"setResolution",value:function(t){var e=this,n=this.medias;if(n&&n.length>1)for(var r=0;r<n.length;r++)n[r].resolution===t&&function(){e.resolution=t;var i=e.isPlaying(),o=e.getCurrentTime();e.$video.src=n[r].src,e.emit(x.SOURCE_UPDATED),e.$video.load(),i&&o<1&&e.$video.play();var s=x.CANPLAYTHROUGH,a=0,c=function t(){ct&<?(e.play(),1===a&&e.seek(o),a+=1):e.seek(o),ct&<&&!i&&e.pause(),e.$video.removeEventListener(x.CANPLAYTHROUGH,t),2===a&&(e.$video.removeEventListener(x.DURATIONCHANGE,t),a=0)},u=function t(){i&&e.play(),e.$video.removeEventListener(x.SEEKED,t)},l=function t(){e.start(),e.$video.removeEventListener(x.PLAYING,t)};ct&<&&(s=x.DURATIONCHANGE,e.play()),e.$video.addEventListener(s,c),e.$video.addEventListener(x.SEEKED,u),e.$video.addEventListener(x.PLAY,l)}()}},{key:"setAudio",value:function(t){}},{key:"_autoRegisterEvents",value:function(){var t=this;At.forEach((function(e){t.$video.addEventListener(e,(function(n){var r="on".concat(e);"function"===typeof t[r]&&t[r](n),t.emit(e,{name:e,target:t.$video})}))})),this.$video.addEventListener("error",(function(e){if(e.target.getAttribute("src"))if(e.target.error&&e.target.error.code){var n=Object.assign({},e.target.error,{code:"250"+e.target.error.code});t.emit("error",n)}else"object"!==u(e)&&(e={code:5001,e:e}),t.emit("error",e)})),this.on(x.CORE_TO_MP4,(function(){t.downgradeCore()})),this._bindProgressEvent()}},{key:"_bindProgressEvent",value:function(){var t=this,e=this.config,n=e.minPlayBUfferTime,r=e.safeBufferTime,i=function(){if(t.state.waiting_trigger){var e=t.getBufferTime(),i=t.getCurrentTime(),o=t.getDuration();if(!(i<2)&&!(o-i<n)){var s=e-i;e-i<n?(t.player.pause(),t.state.waiting_pause=!0,t.emit(x.LOADING_START,!0)):t.state.waiting_pause&&s>r&&(t.play(),t.state.waiting_pause=!1)}}};this.on(x.UI_PLAY,(function(){t.state.waiting_pause=!0}));var o=!1;this.on(x.PLAY,(function(){o||(o=!0,t.on(x.PROGRESS,i))})),this.on(x.UI_PAUSE,(function(){t.state.waiting_trigger=!1})),this.on(x.UI_PLAY,(function(){t.state.waiting_trigger=!0}))}},{key:"play",value:function(){return this.$video.play()}},{key:"pause",value:function(){this.$video.pause()}},{key:"isPlaying",value:function(){return!this.$video.paused&&!this.$video.ended}},{key:"replay",value:function(){this.$video.play()}},{key:"seek",value:function(t){this.$video.currentTime=t}},{key:"requestPictureInPicture",value:function(){var t=this.$video;try{t!==document.pictureInPictureElement?t.requestPictureInPicture():document.exitPictureInPicture()}catch(e){console.error(e)}}},{key:"onended",value:function(){var t=this.config.loop;t&&this.player.play()}},{key:"getDuration",value:function(){return this.$video&&this.$video.duration||0}},{key:"getCurrentTime",value:function(){var t=this.$video.currentTime||0;return t}},{key:"getBufferTime",value:function(){var t=this.$video,e=this.getCurrentTime();return ot(e,t.buffered)}},{key:"getProgress",value:function(){return this.getCurrentTime()&&(this.getCurrentTime()/this.getDuration()*100).toFixed(2)||0}},{key:"getVolume",value:function(){return this.$video?this.$video.volume:1}},{key:"getVideoAttr",value:function(t){return this.$video[t]}},{key:"setVideoAttr",value:function(t,e){this.$video[t]=e}},{key:"_setVideoAttr",value:function(){var t=this;at&&(this.$video.setAttribute("x5-video-player-type","h5"),this.$video.setAttribute("x5-video-player-fullscreen",!1)),this.$video.loop=!1,Tt.forEach((function(e){t.config[e]&&(t.$video[e]=t.config[e])}))}},{key:"autoPlayPolicy",value:function(t){var e=this;void 0!==t&&t.catch((function(t){e.emit(x.ERROR_AUTO_PLAY,t),e.config.autoplay=!1})).then((function(){}))}},{key:"setVolume",value:function(t){this.$video.volume=t}},{key:"setMuted",value:function(t){this.$video.muted=t,t&&this.emit(x.VOLUMECHANGE,!0)}},{key:"setSpeed",value:function(t){this.$video.playbackRate=t}},{key:"destroy",value:function(){this.pause()}},{key:"getVideoElement",value:function(){return this.$video}},{key:"on",value:function(t,e){this._eventEmitter.on(t,e)}},{key:"off",value:function(t,e){this._eventEmitter.off(t,e)}},{key:"emit",value:function(t,e){this._eventEmitter.emit(t,e)}},{key:"once",value:function(t,e){this._eventEmitter.once(t,e)}}],[{key:"debug",set:function(t){localStorage._vueCorePlayerDebug=!!t||""}}]),t}();window.VCPVideoCore=wt;var Et=wt,Nt={};function St(t){var e=rt();t._id=e;var n=t.core||Et,r=new n(t);return r.id=e,Nt[e]=r,r}var Ot=n("c9fc"),Dt=n.n(Ot),xt=Dt()(),Lt={data:function(){return{show:!1,fullscreen:!1,isPlaying:!1,_coreID:""}},created:function(){var t=this;this.on(x.LIFECYCLE_INITING,(function(e){t.$player=e,t.$container=t.$player.$el})),this.on(x.PLAY,(function(){t.isPlaying=!0})),this.on(x.PAUSE,(function(){t.isPlaying=!1})),_t((function(e){e?(It(t.$container,"fullscreen"),t.emit("fullscreen",!0)):(Mt(t.$container,"fullscreen"),t.emit("fullscreen",!1))}))},_events:{},methods:{play:function(){this.$player.play()},pause:function(){this.$player.pause()},enterFullscreen:function(){var t=this.$container;t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.requestFullScreen&&t.requestFullscreen(),this.fullscreen=!0},cancelFullscreen:function(t){document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.cancelFullScreen&&document.cancelFullScreen(),this.fullscreen=!1},getFullscreen:function(){return!document.fullscreenElement&&!document.webkitIsFullScreen&&!document.mozFullScreen&&!document.msFullscreenElement},on:function(t,e){var n=this;J(t)?(this._events[t]=e,xt.on(t,e)):Array.isArray(t)&&t.forEach((function(t){n._events[t]=e,xt.on(t,e)}))},emit:function(t,e){xt.emit(t,e)},off:function(t,e){xt.off(t,e)},removeAllEvents:function(){for(var t in this._events)xt.off(t,this._events[t])},addClass:function(t){this.$container.classList.remove(t)},removeClass:function(t){this.$container.classList.remove(t)}},beforeDestroy:function(){this.removeAllEvents()}},Rt=Lt,jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],ref:"dashboard",staticClass:"vcp-dashboard",attrs:{autoplay:""}},[n("Progress"),n("Controls",{attrs:{muted:t.muted}})],1)},kt=[],Pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"input",staticClass:"vcp-progress-hover",on:{click:t.seek}},[n("div",{ref:"container",staticClass:"vcp-progress"},[n("div",{staticClass:"vcp-progress-loaded",style:{width:t.bufferProgress+"%"}}),n("div",{staticClass:"vcp-progress-played",style:{width:t.progress+"%"}},[n("div",{ref:"thumb",staticClass:"thumb-drag",on:{touchstart:t.startDrag,mousedown:t.startDrag}})])])])},Ut=[],zt={name:"Progress",props:{visible:Boolean},mixins:[Rt],data:function(){return{progress:0,bufferProgress:0}},created:function(){var t=this;this.on(x.TIMEUPDATE,(function(){if(!t._dragEl){var e=t.$player.getCurrentTime(),n=t.$player.getDuration();t.progress=(e/n*100).toFixed(2)}})),this.on(x.PROGRESS,(function(){var e=t.$player.getBufferTime(),n=t.$player.getDuration();e>0&&n>0&&(t.bufferProgress=(e/n*100).toFixed(2))})),this.on(x.LOADSTART,(function(){var e=t.$player.getBufferTime(),n=t.$player.getDuration();t.bufferProgress=(e/n*100).toFixed(2)}))},methods:{seek:function(t){var e=nt(t.currentTarget);this.getFullscreen()&&(e.left=0);var n=t.currentTarget.getBoundingClientRect(),r=t.pageX-n.left,i=t.currentTarget.offsetWidth,o=(r/i*100).toFixed(2);this.progress=o;var s=this.$player.getDuration();this.$player.seek(r/i*s)},startDrag:function(t){this.initDrag(t),this.startSeek=!0},initDrag:function(t){t.preventDefault();var e=this;this._dragEl=this.$refs["thumb"];var n=this.$refs["input"].offsetWidth,r=getComputedStyle(this._dragEl,null).marginLeft;r&&(r=parseFloat(r));var i={x:(at?t.touches[0].clientX:t.pageX)-this._dragEl.offsetLeft+r,y:(at?t.touches[0].clientX:t.clientY)-this._dragEl.offsetTop,maxLeft:n};this.getFullscreen()&&(i.x=t.pageX-this._dragEl.offsetLeft);var o=function(t){if(e._dragEl){var r=Ct(t,e._dragEl,i);if(r){var o=r.left,s=(o/n*100).toFixed(2);e.progress=s;var a=e.$player.getDuration();e.$player.seek(o/n*a)}}},s=function t(){if(e._dragEl=null,at)return e.$refs["container"].removeEventListener("touchmove",o,!1),void document.removeEventListener("touchend",t,!1);document.removeEventListener("mousemove",o,!1),document.removeEventListener("mouseup",t,!1)};if(at)return e.$refs["container"].addEventListener("touchmove",o,!1),void document.addEventListener("touchend",s,!1);document.addEventListener("mousemove",o,!1),document.addEventListener("mouseup",s,!1)}}},Bt=zt;n("0d22");function Gt(t,e,n,r,i,o,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var Yt=Gt(Bt,Pt,Ut,!1,null,null,null),$t=Yt.exports,Ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vcp-controls"},[n("div",{staticClass:"playback-control"},[n("play-pause-cntrol"),n("time-span")],1),n("div",{staticClass:"setting-control"},[n("volume-control",{attrs:{muted:t.muted}}),n("picture-in-picture"),n("settings-control"),n("fullscreen-control")],1)])},Ft=[],Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control"},[t.isPlaying?n("div",{staticClass:"btn-control btn-pause",on:{click:t.pause}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"48",viewBox:"0 0 36 48"}},[n("g",{attrs:{transform:"translate(-950 -398)"}},[n("rect",{attrs:{width:"12",height:"48",transform:"translate(950 398)",fill:"#fff"}}),n("rect",{attrs:{width:"12",height:"48",transform:"translate(974 398)",fill:"#fff"}})])]),n("span",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.pause")))])]):n("div",{staticClass:"btn-control btn-play",on:{click:t.play}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"41",height:"47",viewBox:"0 0 41 47"}},[n("path",{attrs:{d:"M23.5,0,47,41H0Z",transform:"translate(41) rotate(90)",fill:"#fff"}})]),n("span",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.play")))])])])},Qt=[],Wt={name:"PlayPauseControl",mixins:[Rt],props:{visible:Boolean}},Zt=Wt,Kt=(n("d658"),Gt(Zt,Vt,Qt,!1,null,null,null)),qt=Kt.exports,Jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control timespan"},[n("span",{staticClass:"time-current"},[t._v(t._s(t.currentTime))]),n("span",{staticClass:"time-split"},[t._v(" / ")]),n("span",{staticClass:"time-duration"},[t._v(t._s(t.duration))])])},Xt=[],te={name:"TimeSpan",props:{visible:Boolean},mixins:[Rt],data:function(){return{currentTime:"00:00:00",duration:"--:--:--"}},created:function(){var t=this;this.on(x.TIMEUPDATE,(function(){var e=t.$player.getCurrentTime();if(e){t.currentTime=et(e);var n=t.$player.getDuration();n!==t.duration&&(t.duration=et(n))}})),this.on(x.DURATIONCHANGE,(function(){var e=t.$player.getDuration();t.duration=et(e)}))}},ee=te,ne=(n("5311"),Gt(ee,Jt,Xt,!1,null,null,null)),re=ne.exports,ie=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control volume-control"},[t.isMuted?t._e():n("div",{staticClass:"btn-control btn-volume",on:{click:t.toggle}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"23.542",height:"23",viewBox:"0 0 23.542 23"}},[n("path",{attrs:{"data-name":"15",fill:"#fff",d:"M0 5.5h7v12H0z"}}),n("path",{attrs:{"data-name":"3",d:"M.5 11.5L12.5 0v23z",fill:"#fff"}}),n("g",{attrs:{"data-name":"12 1",fill:"none",stroke:"#fff","stroke-width":"1.5"}},[n("path",{attrs:{"data-name":"2",d:"M15.787 8.349a2.89 2.89 0 0 1 3.04 3.126 2.763 2.763 0 0 1-3.142 2.833","stroke-width":"1.50021"}}),n("path",{attrs:{"data-name":"3",d:"M16.052 4.807s6.917-.147 6.61 6.796-6.83 6.16-6.83 6.16","stroke-width":"1.50021"}})])])]),t.isMuted?n("div",{staticClass:"btn-control btn-mute",on:{click:t.toggle}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24.485",height:"23",viewBox:"0 0 24.485 23"}},[n("g",{attrs:{fill:"#fff"}},[n("path",{attrs:{"data-name":"矩形 15",d:"M0 5.5h7v12H0z"}}),n("path",{attrs:{"data-name":"多边形 3",d:"M.5 11.5L12.5 0v23z"}}),n("g",{attrs:{"data-name":"组 3"}},[n("path",{attrs:{"data-name":"矩形 39",d:"M23.071 7.257l1.414 1.414-7.07 7.071L16 14.328z"}}),n("path",{attrs:{"data-name":"矩形 40",d:"M16 8.672l1.414-1.414 7.071 7.07-1.414 1.415z"}})])])])]):t._e(),n("div",{staticClass:"btn-control-panel"},[n("div",{staticClass:"progress",on:{click:t.seek}},[n("div",{staticClass:"volume-current",style:{height:t.volume+"%"}},[n("div",{staticClass:"thumb-drag"})])]),n("div",{staticClass:"volume-info"},[t._v(t._s(t.volume)+"%")])])])},oe=[],se={name:"Volume",props:{visible:Boolean,muted:Boolean},mixins:[Rt],data:function(){return{panelShow:!1,volume:50,isMuted:this.muted}},methods:{seek:function(t){var e=t.offsetY;"volume-current"===t.target.className&&(e+=t.target.offsetTop);var n=t.currentTarget.offsetHeight,r=1-e/n;this.isMuted&&this.$player.setMuted(!1),this.$player.setVolume(r,!0),this.setRangeValue(r)},setRangeValue:function(t){this.volume=parseInt(100*t)},toggle:function(){this.isMuted=!this.isMuted,this.isMuted?(this.$player.setMuted(!0),this.volume=0):(this.$player.setMuted(!1),this.volume=parseInt(100*this.$player.getVolume()))}}},ae=se,ce=(n("42e9"),Gt(ae,ie,oe,!1,null,null,null)),ue=ce.exports,le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.disable?t._e():n("div",{staticClass:"vue-core-video-player-control"},[t.fullscreen?t._e():n("div",{staticClass:"btn-control btn-fullscreen",on:{click:t.enterFullscreen}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"20",viewBox:"0 0 28 20"}},[n("g",{attrs:{fill:"#fff"}},[n("g",{attrs:{"data-name":"6 7"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M16 0h10v2H16z"}}),n("path",{attrs:{"data-name":"8",d:"M26 0h2v6h-2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M18 18h10v2H18z"}}),n("path",{attrs:{"data-name":"10",d:"M26 14h2v6h-2z"}})])]),n("g",{attrs:{"data-name":"6 8"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M12 20H2v-2h10z"}}),n("path",{attrs:{"data-name":"8",d:"M2 20H0v-6h2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M10 2H0V0h10z"}}),n("path",{attrs:{"data-name":"10",d:"M2 6H0V0h2z"}})])])])]),n("div",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.fullscreen")))])]),t.fullscreen?n("div",{staticClass:"btn-control btn-off-fullscreen",on:{click:t.cancelFullscreen}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"18",viewBox:"0 0 25 18"}},[n("g",{attrs:{fill:"#fff"}},[n("g",{attrs:{"data-name":"6 9"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M15 5h10v2H15z"}}),n("path",{attrs:{"data-name":"8",d:"M15 0h2v6h-2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M15 12h10v2H15z"}}),n("path",{attrs:{"data-name":"10",d:"M15 12h2v6h-2z"}})])]),n("g",{attrs:{"data-name":"6 10"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M10 14H0v-2h10z"}}),n("path",{attrs:{"data-name":"8",d:"M10 18H8v-6h2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M10 6H0V4h10z"}}),n("path",{attrs:{"data-name":"10",d:"M10 6H8V0h2z"}})])])])]),n("span",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.exitFullscreen")))])]):t._e()])},fe=[],he={name:"Fullscreen",mixins:[Rt],props:{visible:Boolean},data:function(){return{disable:at&&ut}}},de=he,pe=(n("156e"),Gt(de,le,fe,!1,null,null,null)),ge=pe.exports,ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control settings-control"},[n("div",{staticClass:"btn-control btn-settings",on:{click:t.toggle}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"31.971",height:"31.971",viewBox:"0 0 31.971 31.971"}},[n("g",{attrs:{"data-name":"7",transform:"translate(6.985 6.985)",fill:"none",stroke:"#fff","stroke-width":"5"}},[n("circle",{attrs:{cx:"9",cy:"9",r:"9",stroke:"none"}}),n("circle",{attrs:{cx:"9",cy:"9",r:"6.5"}})]),n("g",{attrs:{"data-name":"15 10",fill:"#fff"}},[n("g",{attrs:{"data-name":"14 1"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M13.985 3.985h4v3h-4z"}}),n("path",{attrs:{"data-name":"4",d:"M15.985 3.985l3 4h-6z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M17.985 27.985h-4v-3h4z"}}),n("path",{attrs:{"data-name":"4",d:"M15.985 27.985l-3-4h6z"}})])]),n("g",{attrs:{"data-name":"14 2"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M23.056 6.085l2.829 2.829-2.122 2.12-2.828-2.828z"}}),n("path",{attrs:{"data-name":"4",d:"M24.47 7.5l-.707 4.95-4.242-4.244z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M8.914 25.884l-2.828-2.828 2.12-2.122 2.83 2.829z"}}),n("path",{attrs:{"data-name":"4",d:"M7.5 24.47l.707-4.95 4.243 4.243z"}})])])]),n("g",{attrs:{"data-name":"15 11",fill:"#fff"}},[n("g",{attrs:{"data-name":"14 1"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M23.056 6.086l2.828 2.828-2.12 2.122-2.83-2.829z"}}),n("path",{attrs:{"data-name":"4",d:"M24.47 7.5l-.707 4.95-4.242-4.243z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M8.914 25.885l-2.828-2.828 2.12-2.122 2.83 2.829z"}}),n("path",{attrs:{"data-name":"4",d:"M7.5 24.47l.707-4.949 4.242 4.243z"}})])]),n("g",{attrs:{"data-name":"14 2"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M27.985 13.985v4h-3v-4z"}}),n("path",{attrs:{"data-name":"4",d:"M27.985 15.985l-4 3v-6z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M3.985 17.985v-4h3v4z"}}),n("path",{attrs:{"data-name":"4",d:"M3.985 15.985l4-3v6z"}})])])]),n("g",{attrs:{"data-name":"15 12",fill:"#fff"}},[n("g",{attrs:{"data-name":"14 1"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M27.985 13.985v4h-3v-4z"}}),n("path",{attrs:{"data-name":"4",d:"M27.985 15.985l-4 3v-6z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M3.985 17.985v-4h3v4z"}}),n("path",{attrs:{"data-name":"4",d:"M3.985 15.985l4-3v6z"}})])]),n("g",{attrs:{"data-name":"14 2"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M25.885 23.056l-2.829 2.829-2.12-2.122 2.828-2.828z"}}),n("path",{attrs:{"data-name":"4",d:"M24.47 24.47l-4.95-.707 4.244-4.242z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M6.086 8.914l2.828-2.828 2.122 2.12-2.829 2.83z"}}),n("path",{attrs:{"data-name":"4",d:"M7.5 7.5l4.95.707-4.243 4.243z"}})])])])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.panelShow,expression:"panelShow"}],staticClass:"btn-control-panel",on:{click:t.preventHide}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.currentPanel,expression:"currentPanel"}],staticClass:"current-panel"},[n("li",[n("span",{staticClass:"item-name"},[t._v("\n "+t._s(t.$t("dashboard.settings.autoplay"))+"\n ")]),n("div",{staticClass:"item-control"},[n("widgets-switch",{ref:"autoplaySwitch",on:{change:t.changeAutoplaySettings}})],1)]),n("li",[n("span",{staticClass:"item-name"},[t._v(t._s(t.$t("dashboard.settings.loop")))]),n("div",{staticClass:"item-control"},[n("widgets-switch",{ref:"loopSwitch",on:{change:t.changeLoopSettings}})],1)]),n("li",[n("span",{staticClass:"item-name"},[t._v(t._s(t.$t("dashboard.settings.speed")))]),n("div",{staticClass:"item-control",on:{click:t.showSpeedPanel}},[n("span",[t._v(t._s(t.speed)+"x")]),n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"4",d:"M.809.616l3.9 5-3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})])])]),n("li",{directives:[{name:"show",rawName:"v-show",value:t.medias.length>1,expression:"medias.length > 1"}]},[n("span",{staticClass:"item-name"},[t._v(t._s(t.$t("dashboard.settings.resolution")))]),t.resolution?n("div",{staticClass:"item-control",on:{click:t.showResolutionPanel}},[n("span",[t._v(t._s(t.resolution))]),n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"4",d:"M.809.616l3.9 5-3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})])]):t._e()])]),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.resolutionListPanel,expression:"resolutionListPanel"}],staticClass:"resolution-list animated fadeInRight"},[n("li",{on:{click:t.backCurrentPanel}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"5",d:"M5.154.616l-3.9 5 3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})]),t._v("\n "+t._s(t.$t("dashboard.btn.back"))+"\n ")]),t._l(t.medias,(function(e,r){return n("li",{key:r,on:{click:function(n){return t.setResolution(e)}}},[t._v(t._s(e.resolution))])}))],2),t.speedListPanel?n("ul",{staticClass:"speed-list animated fadeInRight"},[n("li",{on:{click:t.backCurrentPanel}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"5",d:"M5.154.616l-3.9 5 3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})]),t._v("\n "+t._s(t.$t("dashboard.btn.back"))+"\n ")]),n("li",{attrs:{"data-val":"0.5"},on:{click:t.setSpeed}},[t._v("0.5x")]),n("li",{attrs:{"data-val":"1"},on:{click:t.setSpeed}},[t._v("1x")]),n("li",{attrs:{"data-val":"1.25"},on:{click:t.setSpeed}},[t._v("1.25x")]),n("li",{attrs:{"data-val":"1.5"},on:{click:t.setSpeed}},[t._v("1.5x")]),n("li",{attrs:{"data-val":"2"},on:{click:t.setSpeed}},[t._v("2x")])]):t._e()])])},ye=[],me=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vcp-switch",class:{open:t.isOpen},on:{click:t.toggle}})},Ie=[],Me={name:"setting-switch",props:{openStatus:Boolean},data:function(){return{isOpen:!1}},methods:{toggle:function(){this.isOpen=!this.isOpen,this.$emit("change",this.isOpen)},open:function(){this.isOpen=!0}}},be=Me,Ce=(n("c428"),Gt(be,me,Ie,!1,null,null,null)),_e=Ce.exports,Ae={name:"Settings",props:{visible:Boolean},mixins:[Rt],components:{"widgets-switch":_e},data:function(){return{autoplay:!1,loop:!1,resolution:"",panelShow:!1,currentPanel:!0,resolutionListPanel:!1,speedListPanel:!1,speed:1,medias:[]}},methods:{toggle:function(t){t&&t.stopPropagation(),this.panelShow=!this.panelShow,this.panelShow?this.$container.classList.add("settings-open"):this.$container.classList.remove("settings-open")},preventHide:function(t){t.stopPropagation()},showResolutionPanel:function(t){this.medias.length<=1||(this.currentPanel=!1,this.resolutionListPanel=!0)},showSpeedPanel:function(t){this.currentPanel=!1,this.speedListPanel=!0},backCurrentPanel:function(){this.currentPanel=!0,this.speedListPanel=!1,this.resolutionListPanel=!1},setResolution:function(t){this.resolution!==t.resolution?(this.$player.setResolution(t.resolution),this.backCurrentPanel(),this.toggle()):this.backCurrentPanel()},setSpeed:function(t){var e=+t.target.dataset["val"];this.speed=e,this.$player.setSpeed(e),this.backCurrentPanel()},changeAutoplaySettings:function(t){this.$player.setConfig("autoplay",t)},changeLoopSettings:function(t){this.$player.setConfig("loop",t)}},mounted:function(){var t=this;this.on(x.SOURCE_UPDATED,(function(){t.medias=t.$player.medias,t.resolution=t.$player.resolution})),this.on(x.LIFECYCLE_INITING,(function(){var e=t.$player.config,n=e.autoplay,r=e.loop;n&&t.$refs["autoplaySwitch"].open(),r&&t.$refs["loopSwitch"].open()})),document.addEventListener("click",(function(){t.panelShow&&(t.panelShow=!1,t.speedListPanel=!1,t.resolutionListPanel=!1,t.$container.classList.remove("settings-open"))}))}},Te=Ae,we=(n("aa54"),Gt(Te,ve,ye,!1,null,null,null)),Ee=we.exports,Ne=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",{staticClass:"vue-core-video-player-control",on:{click:t.requestPictureInPicture}},[n("div",{staticClass:"btn-control btn-pip"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"16",viewBox:"0 0 28 16"}},[n("g",{attrs:{"data-name":"6 13"}},[n("g",{attrs:{"data-name":"5 1",fill:"#fff"}},[n("path",{attrs:{"data-name":"9",d:"M18 14h10v2H18z"}}),n("path",{attrs:{"data-name":"10",d:"M26 9h2v6h-2z"}})])]),n("g",{attrs:{"data-name":"6 14",fill:"#fff"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M12 16H2v-2h10z"}}),n("path",{attrs:{"data-name":"8",d:"M2 16H0V6h2z"}})]),n("path",{attrs:{"data-name":"41",d:"M28 2H0V0h28z"}})])]),n("div",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.pip")))])])]):t._e()},Se=[],Oe=function(){if("pictureInPictureEnabled"in document)return!0;var t=document.createElement("video");return!(!t.requestPictureInPicture||"function"!==typeof t.requestPictureInPicture)},De={name:"PictureInPicture",mixins:[Rt],props:{visible:Boolean},data:function(){return{show:!1}},created:function(){Oe&&(this.show=!0)},methods:{requestPictureInPicture:function(){this.$player.requestPictureInPicture()}}},xe=De,Le=(n("1b6f"),Gt(xe,Ne,Se,!1,null,null,null)),Re=Le.exports,je={name:"Controls",components:{"play-pause-cntrol":qt,"time-span":re,"volume-control":ue,"fullscreen-control":ge,"settings-control":Ee,"picture-in-picture":Re},props:{visible:Boolean,muted:Boolean}},ke=je,Pe=(n("7fc5"),Gt(ke,Ht,Ft,!1,null,null,null)),Ue=Pe.exports,ze={x:null,y:null},Be={name:"Dashboard",components:{Progress:$t,Controls:Ue},props:{controls:[Boolean,String],muted:Boolean},data:function(){return{show:!0}},mixins:[Rt],methods:{showDashboard:function(t){var e=this;window.clearTimeout(this._hideTimeout),this.show=!0,this.emit(x.UI_DASHBOARD_SHOW),0===t||(this._hideTimeout=setTimeout((function(){e.hideDashboard()}),t||A.dashboardHideDelay))},hideDashboard:function(){this.show=!1,this.emit(x.UI_DASHBOARD_HIDE)},_initAutoMode:function(){var t=this.$refs["dashboard"].parentNode;at?t.addEventListener("touchend",this._onTouchend.bind(this),!0):(t.addEventListener("mousemove",this._onMousemove.bind(this)),t.addEventListener("mouseleave",this._onMouseleave.bind(this)),t.addEventListener("mouseover",this._onMouseover.bind(this),!0)),this.showDashboard(4e3)},_onMousemove:function(t){return t.pageX===ze.x&&t.pageY===ze.y?(ze.x=t.pageX,void(ze.y=t.pageY)):(ze.x=t.pageX,ze.y=t.pageY,bt(this._el,t.target)?this.showDashboard(0):void this.showDashboard())},_onMouseleave:function(){this.showDashboard()},_onMouseover:function(){this.showDashboard(0)},_onTouchend:function(){this.showDashboard()}},mounted:function(){var t=this.controls;t?"fixed"===t?this.show=!0:this._initAutoMode():this.show=!1}},Ge=Be,Ye=(n("cc1d"),Gt(Ge,jt,kt,!1,null,null,null)),$e=Ye.exports,He=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],ref:"dashboard",staticClass:"vcp-m-dashboard",attrs:{autoplay:""}},[n("MobileControls",{attrs:{muted:t.muted}}),n("Progress")],1)},Fe=[],Ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vcp-controls"},[n("div",{staticClass:"playback-control"},[n("time-span")],1),n("div",{staticClass:"setting-control"},[n("picture-in-picture"),n("settings-control"),n("fullscreen-control")],1)])},Qe=[],We={name:"Controls",components:{"time-span":re,"fullscreen-control":ge,"settings-control":Ee,"picture-in-picture":Re},props:{visible:Boolean,muted:Boolean}},Ze=We,Ke=(n("4cc6"),Gt(Ze,Ve,Qe,!1,null,null,null)),qe=Ke.exports,Je={x:null,y:null},Xe={name:"MobileDashboard",components:{Progress:$t,MobileControls:qe},props:{controls:[Boolean,String],muted:Boolean},data:function(){return{show:!0}},mixins:[Rt],methods:{showDashboard:function(t){var e=this;window.clearTimeout(this._hideTimeout),this.show=!0,this.emit(x.UI_DASHBOARD_SHOW),0===t||(this._hideTimeout=setTimeout((function(){e.hideDashboard()}),t||A.dashboardHideDelay))},hideDashboard:function(){this.show=!1,this.emit(x.UI_DASHBOARD_HIDE)},_initAutoMode:function(){var t=this.$refs["dashboard"].parentNode;at?t.addEventListener("touchend",this._onTouchend.bind(this),!0):(t.addEventListener("mousemove",this._onMousemove.bind(this)),t.addEventListener("mouseleave",this._onMouseleave.bind(this)),t.addEventListener("mouseover",this._onMouseover.bind(this),!0)),this.showDashboard(4e3)},_onMousemove:function(t){return t.pageX===Je.x&&t.pageY===Je.y?(Je.x=t.pageX,void(Je.y=t.pageY)):(Je.x=t.pageX,Je.y=t.pageY,bt(this._el,t.target)?this.showDashboard(0):void this.showDashboard())},_onMouseleave:function(){this.showDashboard()},_onMouseover:function(){this.showDashboard(0)},_onTouchend:function(){this.showDashboard()}},mounted:function(){var t=this.controls;t?"fixed"===t?this.show=!0:this._initAutoMode():this.show=!1}},tn=Xe,en=(n("a3e9"),Gt(tn,He,Fe,!1,null,null,null)),nn=en.exports,rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-layers"},[n("cover-layer"),n("logo-layer"),n("title-layer"),n("play-pause-layer"),n("loading-layer"),n("error-layer")],1)},on=[],sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show&&t.title.length,expression:"show && title.length"}],staticClass:"vcp-layer title-layer"},[n("div",{staticClass:"video-title"},[t._v(t._s(t.title))])])},an=[],cn={name:"CoverLayer",mixins:[Rt],data:function(){return{title:"",show:!1}},mounted:function(){var t=this;this.on(x.LIFECYCLE_INITING,(function(){var e=t.$player.config.title;e&&(t.title=e)})),this.on(x.UI_DASHBOARD_SHOW,(function(){t.show=!0})),this.on(x.UI_DASHBOARD_HIDE,(function(){t.show=!1}))}},un=cn,ln=(n("b72f"),Gt(un,sn,an,!1,null,null,null)),fn=ln.exports,hn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.logo?n("div",{staticClass:"vcp-layer logo-layer"},[n("div",{staticClass:"logo-wrap"},[n("img",{attrs:{alt:"logo",src:t.logo}})])]):t._e()},dn=[],pn={name:"CoverLayer",mixins:[Rt],props:{visible:Boolean},data:function(){return{logo:""}},mounted:function(){var t=this;this.on(x.LIFECYCLE_INITING,(function(){var e=t.$player.config.logo;e&&(t.logo=e)}))}},gn=pn,vn=(n("56fb"),Gt(gn,hn,dn,!1,null,null,null)),yn=vn.exports,mn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer play-pause-layer"},[t.isPlaying?t._e():n("a",{staticClass:"btn-control btn-play",attrs:{href:"javascript:;"},on:{click:t.play}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"31",height:"35",viewBox:"0 0 41 47"}},[n("path",{attrs:{d:"M23.5,0,47,41H0Z",transform:"translate(41) rotate(90)",fill:"#ff6060"}})])]),t.isPlaying?n("a",{staticClass:"btn-control btn-pause",attrs:{href:"javascript:;"},on:{click:t.pause}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"27",height:"36",viewBox:"0 0 36 48"}},[n("g",{attrs:{transform:"translate(-950 -398)"}},[n("rect",{attrs:{width:"12",height:"48",transform:"translate(950 398)",fill:"#ff6060"}}),n("rect",{attrs:{width:"12",height:"48",transform:"translate(974 398)",fill:"#ff6060"}})])])]):t._e()])},In=[],Mn={name:"PlayPauseLayer",mixins:[Rt],props:{visible:Boolean},data:function(){return{show:at}},mounted:function(){var t=this;this.on(x.UI_DASHBOARD_SHOW,(function(){t.show=!0})),this.on(x.UI_DASHBOARD_HIDE,(function(){t.show=!1}))}},bn=Mn,Cn=(n("4447"),Gt(bn,mn,In,!1,null,null,null)),_n=Cn.exports,An=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer cover-layer"},[n("img",{attrs:{alt:"video cover",src:t.cover}})])},Tn=[],wn={name:"CoverLayer",mixins:[Rt],props:{visible:Boolean},data:function(){return{cover:"data:image/gif;base64,R0lGODlhAgACAIAAADMzMwAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0MzUyLCAyMDIwLzAxLzMwLTE1OjUwOjM4ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMSAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyMEQ4MDk3RDgzRTUxMUVBOEFBNkNFRTA4ODA0RDY3OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyMEQ4MDk3RTgzRTUxMUVBOEFBNkNFRTA4ODA0RDY3OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIwRDgwOTdCODNFNTExRUE4QUE2Q0VFMDg4MDRENjc4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIwRDgwOTdDODNFNTExRUE4QUE2Q0VFMDg4MDRENjc4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAAAAAAAsAAAAAAIAAgAAAgKEUQA7",show:!1}},mounted:function(){var t=this;this.on(x.LIFECYCLE_INITING,(function(){var e=t.$player.config.cover;e&&(t.cover=e)})),this.on(x.ERROR_AUTO_PLAY,(function(){t.show=!0})),this.on(x.PLAY,(function(){t.show=!1}))}},En=wn,Nn=(n("9983"),Gt(En,An,Tn,!1,null,null,null)),Sn=Nn.exports,On=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer loading-layer"},[n("div",{staticClass:"loading-wrap"},[n("div",{staticClass:"h5-layer-loading"},[n("svg",{staticClass:"spinner",attrs:{width:"100%",height:"100%",viewBox:"0 0 80 80",xmlns:"http://www.w3.org/2000/svg"}},[n("defs",[n("linearGradient",{attrs:{id:"grad",gradientUnits:"objectBoundingBox",gradientTransform:"rotate(135 0.5 0.5)"}},[n("stop",{attrs:{offset:"0%","stop-color":"#ff6060"}}),n("stop",{attrs:{offset:"100%","stop-color":"#fa3b3b"}})],1)],1),n("circle",{staticClass:"path",attrs:{stroke:"url(#grad)","stroke-width":"10",fill:"none","stroke-linecap":"round",cx:"40",cy:"40",r:"30"}})])]),n("p",[t._v(t._s(t.$t("layers.loading.msg")))])])])},Dn=[],xn=600,Ln={name:"LoadingLayer",mixins:[Rt],data:function(){return{show:!1}},methods:{showLoading:function(t){var e=this;t?this.show=!0:(window.clearTimeout(this._timeout),this._timeout=setTimeout((function(){e.show=!0}),xn))},hideLoading:function(){window.clearTimeout(this._timeout),this.show=!1}},created:function(){var t=this;this.on([x.CANPLAY,x.CANPLAYTHROUGH,x.PLAY,x.LOADEDMETADATA,x.SEEKED,x.ERROR],(function(){t.hideLoading()})),this.on([x.SEEKING,x.STALLED,x.LOADSTART],(function(e){t.showLoading()})),this.on(["playing"],(function(){t.hideLoading()}))}},Rn=Ln,jn=(n("b1ba"),Gt(Rn,On,Dn,!1,null,null,null)),kn=jn.exports,Pn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer error-layer"},[n("div",{staticClass:"error-icon"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 200 200"}},[n("g",{attrs:{transform:"translate(-963 -1663)"}},[n("circle",{attrs:{"data-name":"11",cx:"100",cy:"100",r:"100",transform:"translate(963 1663)",fill:"#ff5e5c"}}),n("g",{attrs:{"data-name":"46",transform:"translate(1006 1727)",fill:"#fff",stroke:"#fff","stroke-width":"3"}},[n("rect",{attrs:{width:"120",height:"73",rx:"2",stroke:"none"}}),n("rect",{attrs:{x:"1.5",y:"1.5",width:"117",height:"70",rx:".5",fill:"none"}})]),n("g",{attrs:{"data-name":"12",transform:"translate(1108 1743)",fill:"#fff",stroke:"#ff5a52","stroke-width":"2"}},[n("circle",{attrs:{cx:"6",cy:"6",r:"6",stroke:"none"}}),n("circle",{attrs:{cx:"6",cy:"6",r:"5",fill:"none"}})]),n("path",{attrs:{"data-name":"1",fill:"none",stroke:"#fff","stroke-width":"3",d:"M1057.5 1728.5l30-22"}}),n("path",{attrs:{"data-name":"2",fill:"none",stroke:"#fff","stroke-width":"3",d:"M1036.5 1697.5l22 30"}}),n("path",{attrs:{"data-name":"48",d:"M1018 1737h80a4 4 0 0 1 4 4v45a5 5 0 0 1-5 5h-78a5 5 0 0 1-5-5v-45a4 4 0 0 1 4-4z",fill:"#2785f2"}}),n("g",{attrs:{"data-name":"4",fill:"#ff584c"}},[n("path",{attrs:{"data-name":"49",d:"M1108 1757h3v2h-3z"}}),n("path",{attrs:{"data-name":"50",d:"M1113 1757h3v2h-3z"}}),n("path",{attrs:{"data-name":"51",d:"M1118 1757h3v2h-3z"}})]),n("g",{attrs:{"data-name":"5",fill:"#ff584c"}},[n("path",{attrs:{"data-name":"49",d:"M1108 1760h3v2h-3z"}}),n("path",{attrs:{"data-name":"50",d:"M1113 1760h3v2h-3z"}}),n("path",{attrs:{"data-name":"51",d:"M1118 1760h3v2h-3z"}})])])])]),n("div",{staticClass:"error-msg-wrap"},[n("h2",[t._v(t._s(t.$t("layers.error.title")))]),n("p",{staticClass:"error-msg"},[t._v(t._s(t.errMsg))])])])},Un=[],zn={name:"CoverLayer",mixins:[Rt],props:{dsiable:Boolean},data:function(){return{errMsg:"",show:!1}},mounted:function(){var t=this;this.on(x.ERROR,(function(e){console.log(e),t.show=!0;var n="layers.error."+e.code;t.errMsg=g.t(n,"")}))}},Bn=zn,Gn=(n("f64c"),Gt(Bn,Pn,Un,!1,null,null,null)),Yn=Gn.exports,$n={name:"Layers",components:{PlayPauseLayer:_n,CoverLayer:Sn,LogoLayer:yn,TitleLayer:fn,LoadingLayer:kn,ErrorLayer:Yn},props:{visible:Boolean}},Hn=$n,Fn=(n("2c1a"),Gt(Hn,rn,on,!1,null,null,null)),Vn=Fn.exports;function Qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qn(n,!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qn(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Zn={name:"VueCoreVideoPlayer",mixins:[Rt],components:{Dashboard:$e,MobileDashboard:nn,Layers:Vn},props:{src:[String,Array],autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!1},playsinline:{type:Boolean,default:!0},title:String,cover:String,logo:String,muted:{type:Boolean,default:!1},controls:{type:[String,Boolean],default:!0},lang:{type:[String,Object],default:"en"},core:{type:Function},viewCore:{type:Array,default:function(){return[]}}},data:function(){return{isMobile:at}},computed:{source:function(){var t=this.src;if(!t)return"";var e,n=this.resolution||A.resolution,r=pt(t);return r.forEach((function(t){t.resolution===n&&(e=t.src)})),e||("object"===u(r[0])&&r[0].src?e=r[0].src:"string"===typeof r[0]&&(e=r[0])),this.$player&&this.$player.setSource(t),e}},mounted:function(){var t=this;this.$player=this.videoCore=St(Wn({},this.$props,{videoEl:this.$refs["vcp-video"],el:this.$refs["vcp-el"],eventEmitter:{on:this.on,emit:this.emit,off:this.off}})),Object.values(x).forEach((function(e){t.$player.on(e,(function(n){"function"===typeof t.$listeners[e]&&t.$listeners[e](n)}))})),this._coreID=this.videoCore.id,this.emit(x.LIFECYCLE_INITING,this.$player);try{this.viewCore.map((function(e){"function"===typeof e&&e(t.$player,t.$player.config)}))}catch(e){console.error(e)}},beforeDestroy:function(){this.$player.destroy()}},Kn=Zn,qn=(n("bead"),Gt(Kn,v,y,!1,null,null,null)),Jn=qn.exports,Xn={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g.setLocale(e.lang),t.prototype.$t=function(t){return g.t(t)},t.component("vue-core-video-player",Jn)}},tr=Xn;n.d(e,"BaseVideoCore",(function(){return Et})),n.d(e,"EVENTS",(function(){return x}));e["default"]=tr},ff1c:function(t,e,n){var r=n("7335");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("4cfaecc1",r,!0,{sourceMap:!1,shadowMode:!1})}})},4328:function(t,e,n){"use strict";var r=n("4127"),i=n("9e6a"),o=n("b313");t.exports={formats:o,parse:i,stringify:r}},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("df7c")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},4379:function(t,e,n){var r=n("4a59");t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},"43fc":function(t,e,n){"use strict";var r=n("63b6"),i=n("656e"),o=n("4439");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"44b8":function(t,e,n){var r=n("23c6"),i=n("4379");t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},4504:function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("d8e8"),s=n("86cc");n("9e1e")&&r(r.P+n("c5b4"),"Object",{__defineGetter__:function(t,e){s.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},4704:function(t,e,n){var r=n("5ca1");r(r.P+r.R,"Map",{toJSON:n("44b8")("Map")})},4795:function(t,e,n){var r=n("7726"),i=n("5ca1"),o=n("a25f"),s=[].slice,a=/MSIE .\./.test(o),c=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&s.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*a,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},"47ee":function(t,e,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");t.exports=function(t){var e=r(t),n=i.f;if(n){var s,a=n(t),c=o.f,u=0;while(a.length>u)c.call(t,s=a[u++])&&e.push(s)}return e}},"481b":function(t,e){t.exports={}},"48c0":function(t,e,n){"use strict";n("386b")("bold",(function(t){return function(){return t(this,"b","","")}}))},"48f4":function(t,e,n){"use strict";function r(t){return"NavigationDuplicated"===t.name||t.message&&-1!==t.message.indexOf("redundant navigation")}function i(t,e){var n=e.to,i=e.url,o=e.replace;if(n&&t){var s=t[o?"replace":"push"](n);s&&s.catch&&s.catch((function(t){if(t&&!r(t))throw t}))}else i&&(o?location.replace(i):location.href=i)}function o(t){i(t.parent&&t.parent.$router,t.props)}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s}));var s={url:String,replace:Boolean,to:[String,Object]}},"48f8":function(t,e,n){"use strict";var r=n("5ca1"),i=n("7b23");r(r.P+r.F*!n("2f21")([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},4917:function(t,e,n){"use strict";var r=n("cb7c"),i=n("9def"),o=n("0390"),s=n("5f1b");n("214f")("match",1,(function(t,e,n,a){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return s(c,u);var l=c.unicode;c.lastIndex=0;var f,h=[],d=0;while(null!==(f=s(c,u))){var p=String(f[0]);h[d]=p,""===p&&(c.lastIndex=o(u,i(c.lastIndex),l)),d++}return 0===d?null:h}]}))},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),s=n("cb7c"),a=n("9def"),c=n("27ee"),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,g,v,y=h?function(){return t}:c(t),m=r(n,f,e?2:1),I=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=a(t.length);d>I;I++)if(v=e?m(s(p=t[I])[0],p[1]):m(t[I]),v===u||v===l)return v}else for(g=y.call(t);!(p=g.next()).done;)if(v=i(g,m,p.value,e),v===u||v===l)return v};e.BREAK=u,e.RETURN=l},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4c95":function(t,e,n){"use strict";var r=n("e53d"),i=n("584a"),o=n("d9f6"),s=n("8e60"),a=n("5168")("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},"4d16":function(t,e,n){t.exports=n("25b0")},"4dda":function(t,e,n){n("ec30")("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"4e2b":function(t,e,n){"use strict";var r=n("4aa6"),i=n.n(r),o=n("85f2"),s=n.n(o),a=n("4d16"),c=n.n(a);function u(t,e){return u=c.a?c.a.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=i()(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),s()(t,"prototype",{writable:!1}),e&&u(t,e)}n.d(e,"a",(function(){return l}))},"4ee1":function(t,e,n){var r=n("5168")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(s){}return n}},"4f37":function(t,e,n){"use strict";n("aa77")("trim",(function(t){return function(){return t(this,3)}}))},"4f7f":function(t,e,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Set";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t=0===t?0:t,t)}},r)},"504c":function(t,e,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),s=n("52a7").f;t.exports=function(t){return function(e){var n,a=o(e),c=i(a),u=c.length,l=0,f=[];while(u>l)n=c[l++],r&&!s.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},5156:function(t,e,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n("1696");t.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"51b6":function(t,e,n){n("a3c3"),t.exports=n("584a").Object.assign},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[a]||0!==e[a]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(s=function(t){var e,n,s,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[a]),s=i.call(f,t),c&&s&&(f[a]=f.global?s.index+s[0].length:e),u&&s&&s.length>1&&o.call(s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s}),t.exports=s},5270:function(t,e,n){"use strict";var r=n("c532"),i=n("c401"),o=n("2e67"),s=n("2444"),a=n("d925"),c=n("e683");function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){u(t),t.baseURL&&!a(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"52f6":function(t,e,n){"use strict";(function(e){ /*! * shallow-clone <https://github.com/jonschlinkert/shallow-clone> * * Copyright (c) 2015-present, Jon Schlinkert. * Released under the MIT License. */ const r=Symbol.prototype.valueOf,i=n("ef5d");function o(t,e){switch(i(t)){case"array":return t.slice();case"object":return Object.assign({},t);case"date":return new t.constructor(Number(t));case"map":return new Map(t);case"set":return new Set(t);case"buffer":return u(t);case"symbol":return l(t);case"arraybuffer":return a(t);case"float32array":case"float64array":case"int16array":case"int32array":case"int8array":case"uint16array":case"uint32array":case"uint8clampedarray":case"uint8array":return c(t);case"regexp":return s(t);case"error":return Object.create(t);default:return t}}function s(t){const e=void 0!==t.flags?t.flags:/\w+$/.exec(t)||void 0,n=new t.constructor(t.source,e);return n.lastIndex=t.lastIndex,n}function a(t){const e=new t.constructor(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}function c(t,e){return new t.constructor(t.buffer,t.byteOffset,t.length)}function u(t){const n=t.length,r=e.allocUnsafe?e.allocUnsafe(n):e.from(n);return t.copy(r),r}function l(t){return r?Object(r.call(t)):{}}t.exports=o}).call(this,n("b639").Buffer)},"536b":function(t,e,n){var r=n("5ca1"),i=Math.asinh;function o(t){return isFinite(t=+t)&&0!=t?t<0?-o(-t):Math.log(t+Math.sqrt(t*t+1)):t}r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:o})},"53e2":function(t,e,n){var r=n("07e3"),i=n("241e"),o=n("5559")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},5402:function(t,e,n){"use strict";var r=n("00ce"),i=n("545e"),o=n("2714"),s=r("%TypeError%"),a=r("%WeakMap%",!0),c=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),g=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},v=function(t,e){var n=g(t,e);return n&&n.value},y=function(t,e,n){var r=g(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}},m=function(t,e){return!!g(t,e)};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new s("Side channel does not contain "+o(t))},get:function(r){if(a&&r&&("object"===typeof r||"function"===typeof r)){if(t)return u(t,r)}else if(c){if(e)return h(e,r)}else if(n)return v(n,r)},has:function(r){if(a&&r&&("object"===typeof r||"function"===typeof r)){if(t)return f(t,r)}else if(c){if(e)return p(e,r)}else if(n)return m(n,r);return!1},set:function(r,i){a&&r&&("object"===typeof r||"function"===typeof r)?(t||(t=new a),l(t,r,i)):c?(e||(e=new c),d(e,r,i)):(n||(n={key:{},next:null}),y(n,r,i))}};return r}},"543e":function(t,e,n){"use strict";var r=n("2638"),i=n.n(r),o=n("d282"),s=n("ea8e"),a=n("ba31"),c=Object(o["a"])("loading"),u=c[0],l=c[1];function f(t,e){if("spinner"===e.type){for(var n=[],r=0;r<12;r++)n.push(t("i"));return n}return t("svg",{class:l("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])}function h(t,e,n){if(n.default){var r,i={fontSize:Object(s["a"])(e.textSize),color:null!=(r=e.textColor)?r:e.color};return t("span",{class:l("text"),style:i},[n.default()])}}function d(t,e,n,r){var o=e.color,c=e.size,u=e.type,d={color:o};if(c){var p=Object(s["a"])(c);d.width=p,d.height=p}return t("div",i()([{class:l([u,{vertical:e.vertical}])},Object(a["b"])(r,!0)]),[t("span",{class:l("spinner",u),style:d},[f(t,e)]),h(t,e,n)])}d.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"circular"}},e["a"]=u(d)},"545e":function(t,e,n){"use strict";var r=n("00ce"),i=n("3eb1"),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"===typeof n&&o(t,".prototype.")>-1?i(n):n}},"549b":function(t,e,n){"use strict";var r=n("d864"),i=n("63b6"),o=n("241e"),s=n("b0dc"),a=n("3702"),c=n("b447"),u=n("20fd"),l=n("7cd6");i(i.S+i.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,y=0,m=l(h);if(v&&(g=r(g,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&a(m))for(e=c(h.length),n=new d(e);e>y;y++)u(n,y,v?g(h[y],y):h[y]);else for(f=m.call(h),n=new d;!(i=f.next()).done;y++)u(n,y,v?s(f,g,[i.value,y],!0):i.value);return n.length=y,n}})},"54a8":function(t,e,n){"use strict";var r=n("5ca1"),i=n("79e5"),o=n("bef9"),s=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==s.call(1,void 0)}))||!i((function(){s.call({})}))),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},"551c":function(t,e,n){"use strict";var r,i,o,s,a=n("2d00"),c=n("7726"),u=n("9b43"),l=n("23c6"),f=n("5ca1"),h=n("d3f4"),d=n("d8e8"),p=n("f605"),g=n("4a59"),v=n("ebd6"),y=n("1991").set,m=n("8079")(),I=n("a5b8"),M=n("9c80"),b=n("a25f"),C=n("bcaa"),_="Promise",A=c.TypeError,T=c.process,w=T&&T.versions,E=w&&w.v8||"",N=c[_],S="process"==l(T),O=function(){},D=i=I.f,x=!!function(){try{var t=N.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(O,O)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==E.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(r){}}(),L=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;m((function(){var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(i||(2==t._h&&P(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(A("Promise-chain cycle")):(o=L(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!s&&l.exit(),u(f)}};while(n.length>o)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){y.call(c,(function(){var e,n,r,i=t._v,o=k(t);if(o&&(e=M((function(){S?T.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=S||k(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){y.call(c,(function(){var e;S?T.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},U=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw A("Promise can't be resolved itself");(e=L(t))?m((function(){var r={_w:n,_d:!1};try{e.call(t,u(z,r,1),u(U,r,1))}catch(i){U.call(r,i)}})):(n._v=t,n._s=1,R(n,!1))}catch(r){U.call({_w:n,_d:!1},r)}}};x||(N=function(t){p(this,N,_,"_h"),d(t),r.call(this);try{t(u(z,this,1),u(U,this,1))}catch(e){U.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(N.prototype,{then:function(t,e){var n=D(v(this,N));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(z,t,1),this.reject=u(U,t,1)},I.f=D=function(t){return t===N||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!x,{Promise:N}),n("7f20")(N,_),n("7a56")(_),s=n("8378")[_],f(f.S+f.F*!x,_,{reject:function(t){var e=D(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(a||!x),_,{resolve:function(t){return C(a&&this===s?N:this,t)}}),f(f.S+f.F*!(x&&n("5cc5")((function(t){N.all(t)["catch"](O)}))),_,{all:function(t){var e=this,n=D(e),r=n.resolve,i=n.reject,o=M((function(){var n=[],o=0,s=1;g(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--s||r(n))}),i)})),--s||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=D(e),r=n.reject,i=M((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},"55dd":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("4bf8"),s=n("79e5"),a=[].sort,c=[1,2,3];r(r.P+r.F*(s((function(){c.sort(void 0)}))||!s((function(){c.sort(null)}))||!n("2f21")(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),i(t))}})},5695:function(t,e,n){var r=n("5ca1"),i=n("77f1"),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){var e,n=[],r=arguments.length,s=0;while(r>s){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},"57e7":function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n("2f21")(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},"57f0":function(t,e,n){var r=n("d3f4");n("5eda")("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},"584a":function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"58b2":function(t,e,n){var r=n("5ca1");r(r.S+r.F*!n("9e1e"),"Object",{defineProperties:n("1495")})},"58e6":function(t,e,n){"use strict";var r=n("d282"),i=n("1325"),o=n("a8c1"),s=n("3875"),a=n("543e"),c=Object(r["a"])("pull-refresh"),u=c[0],l=c[1],f=c[2],h=50,d=["pulling","loosing","success"];e["a"]=u({mixins:[s["a"]],props:{disabled:Boolean,successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:[Number,String],value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:h}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(this.headHeight!==h)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=Object(o["c"])(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===Object(o["b"])(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&this.deltaY>=0&&"vertical"===this.direction&&(Object(i["c"])(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick((function(){t.$emit("refresh")}))):this.setStatus(0))},ease:function(t){var e=+(this.pullDistance||this.headHeight);return t>e&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){var n;n=e?"loading":0===t?"normal":t<(this.pullDistance||this.headHeight)?"pulling":"loosing",this.distance=t,n!==this.status&&(this.status=n)},genStatus:function(){var t=this.$createElement,e=this.status,n=this.distance,r=this.slots(e,{distance:n});if(r)return r;var i=[],o=this[e+"Text"]||f(e);return-1!==d.indexOf(e)&&i.push(t("div",{class:l("text")},[o])),"loading"===e&&i.push(t(a["a"],{attrs:{size:"16"}},[o])),i},showSuccessTip:function(){var t=this;this.status="success",setTimeout((function(){t.setStatus(0)}),this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:l()},[t("div",{ref:"track",class:l("track"),style:e},[t("div",{class:l("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}})},"597f":function(t,e){t.exports=function(t,e,n,r){var i,o=0;function s(){var s=this,a=Number(new Date)-o,c=arguments;function u(){o=Number(new Date),n.apply(s,c)}function l(){i=void 0}r&&!i&&u(),i&&clearTimeout(i),void 0===r&&a>t?u():!0!==e&&(i=setTimeout(r?l:u,void 0===r?t-a:t))}return"boolean"!==typeof e&&(r=n,n=e,e=void 0),s}},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",c="week",u="month",l="quarter",f="year",h="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},m={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,u),o=n-i<0,s=e.clone().add(r+(o?-1:1),u);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:f,w:c,d:a,D:h,h:s,m:o,s:i,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},I="en",M={};M[I]=v;var b=function(t){return t instanceof T},C=function t(e,n,r){var i;if(!e)return I;if("string"==typeof e){var o=e.toLowerCase();M[o]&&(i=o),n&&(M[o]=n,i=o);var s=e.split("-");if(!i&&s.length>1)return t(s[0])}else{var a=e.name;M[a]=e,i=a}return!r&&i&&(I=i),i||!r&&I},_=function(t,e){if(b(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new T(n)},A=m;A.l=C,A.i=b,A.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function v(t){this.$L=C(t.locale,null,!0),this.parse(t)}var y=v.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return A},y.isValid=function(){return!(this.$d.toString()===d)},y.isSame=function(t,e){var n=_(t);return this.startOf(e)<=n&&n<=this.endOf(e)},y.isAfter=function(t,e){return _(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<_(t)},y.$g=function(t,e,n){return A.u(t)?this[e]:this.set(n,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var n=this,r=!!A.u(e)||e,l=A.p(t),d=function(t,e){var i=A.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},p=function(t,e){return A.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},g=this.$W,v=this.$M,y=this.$D,m="set"+(this.$u?"UTC":"");switch(l){case f:return r?d(1,0):d(31,11);case u:return r?d(1,v):d(0,v+1);case c:var I=this.$locale().weekStart||0,M=(g<I?g+7:g)-I;return d(r?y-M:y+(6-M),v);case a:case h:return p(m+"Hours",0);case s:return p(m+"Minutes",1);case o:return p(m+"Seconds",2);case i:return p(m+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var n,c=A.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[a]=l+"Date",n[h]=l+"Date",n[u]=l+"Month",n[f]=l+"FullYear",n[s]=l+"Hours",n[o]=l+"Minutes",n[i]=l+"Seconds",n[r]=l+"Milliseconds",n)[c],p=c===a?this.$D+(e-this.$W):e;if(c===u||c===f){var g=this.clone().set(h,1);g.$d[d](p),g.init(),this.$d=g.set(h,Math.min(this.$D,g.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[A.p(t)]()},y.add=function(r,l){var h,d=this;r=Number(r);var p=A.p(l),g=function(t){var e=_(d);return A.w(e.date(e.date()+Math.round(t*r)),d)};if(p===u)return this.set(u,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===a)return g(1);if(p===c)return g(7);var v=(h={},h[o]=e,h[s]=n,h[i]=t,h)[p]||1,y=this.$d.getTime()+r*v;return A.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,s=this.$m,a=this.$M,c=n.weekdays,u=n.months,l=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].slice(0,o)},f=function(t){return A.s(o%12||12,t,"0")},h=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:A.s(a+1,2,"0"),MMM:l(n.monthsShort,a,u,3),MMMM:l(u,a),D:this.$D,DD:A.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,c,2),ddd:l(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:A.s(o,2,"0"),h:f(1),hh:f(2),a:h(o,s,!0),A:h(o,s,!1),m:String(s),mm:A.s(s,2,"0"),s:String(this.$s),ss:A.s(this.$s,2,"0"),SSS:A.s(this.$ms,3,"0"),Z:i};return r.replace(g,(function(t,e){return e||p[t]||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,h,d){var p,g=A.p(h),v=_(r),y=(v.utcOffset()-this.utcOffset())*e,m=this-v,I=A.m(this,v);return I=(p={},p[f]=I/12,p[u]=I,p[l]=I/3,p[c]=(m-y)/6048e5,p[a]=(m-y)/864e5,p[s]=m/n,p[o]=m/e,p[i]=m/t,p)[g]||m,d?I:A.a(I)},y.daysInMonth=function(){return this.endOf(u).$D},y.$locale=function(){return M[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=C(t,e,!0);return r&&(n.$L=r),n},y.clone=function(){return A.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),w=T.prototype;return _.prototype=w,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",u],["$y",f],["$D",h]].forEach((function(t){w[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,T,_),t.$i=!0),_},_.locale=C,_.isDayjs=b,_.unix=function(t){return _(1e3*t)},_.en=M[I],_.Ls=M,_.p={},_}))},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},"5bba":function(t,e,n){n("9d98");var r=n("584a").Object;t.exports=function(t,e){return r.defineProperties(t,e)}},"5c95":function(t,e,n){var r=n("35e8");t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",u=function(t,e,n){var l,f,h,d,p=t&u.F,g=t&u.G,v=t&u.S,y=t&u.P,m=t&u.B,I=g?r:v?r[e]||(r[e]={}):(r[e]||{})[c],M=g?i:i[e]||(i[e]={}),b=M[c]||(M[c]={});for(l in g&&(n=e),n)f=!p&&I&&void 0!==I[l],h=(f?I:n)[l],d=m&&f?a(h,r):y&&"function"==typeof h?a(Function.call,h):h,I&&s(I,l,h,t&u.U),M[l]!=h&&o(M,l,d),y&&b[l]!=h&&(b[l]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(s){}return n}},"5d40":function(t,e,n){n("28e4")("WeakMap")},"5d58":function(t,e,n){t.exports=n("d8d6")},"5d90":function(t,e,n){n("28e4")("WeakSet")},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5df2":function(t,e,n){var r=n("5ca1"),i=n("d752");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},"5df3":function(t,e,n){"use strict";var r=n("02f4")(!0);n("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"5e83":function(t,e,n){t.exports=n("8580")},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"5fbe":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("1325"),i=0;function o(t){var e="binded_"+i++;function n(){this[e]||(t.call(this,r["b"],!0),this[e]=!0)}function o(){this[e]&&(t.call(this,r["a"],!1),this[e]=!1)}return{mounted:n,activated:n,deactivated:o,beforeDestroy:o}}},6095:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(4);r(r.P+r.F*!n("2f21")([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),c="prototype",u=function(t,e,n){var l,f,h,d=t&u.F,p=t&u.G,g=t&u.S,v=t&u.P,y=t&u.B,m=t&u.W,I=p?i:i[e]||(i[e]={}),M=I[c],b=p?r:g?r[e]:(r[e]||{})[c];for(l in p&&(n=e),n)f=!d&&b&&void 0!==b[l],f&&a(I,l)||(h=f?b[l]:n[l],I[l]=p&&"function"!=typeof b[l]?n[l]:y&&f?o(h,r):m&&b[l]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((I.virtual||(I.virtual={}))[l]=h,t&u.R&&M&&!M[l]&&s(M,l,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"63d9":function(t,e,n){n("ec30")("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"643e":function(t,e,n){"use strict";var r=n("dcbc"),i=n("67ab").getWeak,o=n("cb7c"),s=n("d3f4"),a=n("f605"),c=n("4a59"),u=n("0a49"),l=n("69a8"),f=n("b39a"),h=u(5),d=u(6),p=0,g=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},y=function(t,e){return h(t.a,(function(t){return t[0]===e}))};v.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var u=t((function(t,r){a(t,u,e,"_i"),t._t=e,t._i=p++,t._l=void 0,void 0!=r&&c(r,n,t[o],t)}));return r(u.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return!0===n?g(f(this,e))["delete"](t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return!0===n?g(f(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=i(o(e),!0);return!0===r?g(t).set(e,n):r[t._i]=n,t},ufstore:g}},"64d5":function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99"),s=n("38fd"),a=n("11e9").f;n("9e1e")&&r(r.P+n("c5b4"),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.set}while(n=s(n))}})},"656e":function(t,e,n){"use strict";var r=n("79aa");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},6612:function(t,e,n){var r,i; /*! @preserve * numeral.js * version : 2.0.6 * author : Adam Draper * license : MIT * http://adamwdraper.github.com/Numeral-js/ */(function(o,s){r=s,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i)})(0,(function(){var t,e,n="2.0.6",r={},i={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function a(t,e){this._input=t,this._value=e}return t=function(n){var i,o,c,u;if(t.isNumeral(n))i=n.value();else if(0===n||"undefined"===typeof n)i=0;else if(null===n||e.isNaN(n))i=null;else if("string"===typeof n)if(s.zeroFormat&&n===s.zeroFormat)i=0;else if(s.nullFormat&&n===s.nullFormat||!n.replace(/[^0-9]+/g,"").length)i=null;else{for(o in r)if(u="function"===typeof r[o].regexps.unformat?r[o].regexps.unformat():r[o].regexps.unformat,u&&n.match(u)){c=r[o].unformat;break}c=c||t._.stringToNumber,i=c(n)}else i=Number(n)||null;return new a(n,i)},t.version=n,t.isNumeral=function(t){return t instanceof a},t._=e={numberToFormat:function(e,n,r){var o,s,a,c,u,l,f,h=i[t.options.currentLocale],d=!1,p=!1,g=0,v="",y=1e12,m=1e9,I=1e6,M=1e3,b="",C=!1;if(e=e||0,s=Math.abs(e),t._.includes(n,"(")?(d=!0,n=n.replace(/[\(|\)]/g,"")):(t._.includes(n,"+")||t._.includes(n,"-"))&&(u=t._.includes(n,"+")?n.indexOf("+"):e<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),t._.includes(n,"a")&&(o=n.match(/a(k|m|b|t)?/),o=!!o&&o[1],t._.includes(n," a")&&(v=" "),n=n.replace(new RegExp(v+"a[kmbt]?"),""),s>=y&&!o||"t"===o?(v+=h.abbreviations.trillion,e/=y):s<y&&s>=m&&!o||"b"===o?(v+=h.abbreviations.billion,e/=m):s<m&&s>=I&&!o||"m"===o?(v+=h.abbreviations.million,e/=I):(s<I&&s>=M&&!o||"k"===o)&&(v+=h.abbreviations.thousand,e/=M)),t._.includes(n,"[.]")&&(p=!0,n=n.replace("[.]",".")),a=e.toString().split(".")[0],c=n.split(".")[1],l=n.indexOf(","),g=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(t._.includes(c,"[")?(c=c.replace("]",""),c=c.split("["),b=t._.toFixed(e,c[0].length+c[1].length,r,c[1].length)):b=t._.toFixed(e,c.length,r),a=b.split(".")[0],b=t._.includes(b,".")?h.delimiters.decimal+b.split(".")[1]:"",p&&0===Number(b.slice(1))&&(b="")):a=t._.toFixed(e,0,r),v&&!o&&Number(a)>=1e3&&v!==h.abbreviations.trillion)switch(a=String(Number(a)/1e3),v){case h.abbreviations.thousand:v=h.abbreviations.million;break;case h.abbreviations.million:v=h.abbreviations.billion;break;case h.abbreviations.billion:v=h.abbreviations.trillion;break}if(t._.includes(a,"-")&&(a=a.slice(1),C=!0),a.length<g)for(var _=g-a.length;_>0;_--)a="0"+a;return l>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+h.delimiters.thousands)),0===n.indexOf(".")&&(a=""),f=a+b+(v||""),d?f=(d&&C?"(":"")+f+(d&&C?")":""):u>=0?f=0===u?(C?"-":"+")+f:f+(C?"-":"+"):C&&(f="-"+f),f},stringToNumber:function(t){var e,n,r,o=i[s.currentLocale],a=t,c={thousand:3,million:6,billion:9,trillion:12};if(s.zeroFormat&&t===s.zeroFormat)n=0;else if(s.nullFormat&&t===s.nullFormat||!t.replace(/[^0-9]+/g,"").length)n=null;else{for(e in n=1,"."!==o.delimiters.decimal&&(t=t.replace(/\./g,"").replace(o.delimiters.decimal,".")),c)if(r=new RegExp("[^a-zA-Z]"+o.abbreviations[e]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),a.match(r)){n*=Math.pow(10,c[e]);break}n*=(t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1,t=t.replace(/[^0-9\.]+/g,""),n*=Number(t)}return n},isNaN:function(t){return"number"===typeof t&&isNaN(t)},includes:function(t,e){return-1!==t.indexOf(e)},insert:function(t,e,n){return t.slice(0,n)+e+t.slice(n)},reduce:function(t,e){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!==typeof e)throw new TypeError(e+" is not a function");var n,r=Object(t),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{while(o<i&&!(o in r))o++;if(o>=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;o<i;o++)o in r&&(n=e(n,r[o],o,r));return n},multiplier:function(t){var e=t.toString().split(".");return e.length<2?1:Math.pow(10,e[1].length)},correctionFactor:function(){var t=Array.prototype.slice.call(arguments);return t.reduce((function(t,n){var r=e.multiplier(n);return t>r?t:r}),1)},toFixed:function(t,e,n,r){var i,o,s,a,c=t.toString().split("."),u=e-(r||0);return i=2===c.length?Math.min(Math.max(c[1].length,u),e):u,s=Math.pow(10,i),a=(n(t+"e+"+i)/s).toFixed(i),r>e-i&&(o=new RegExp("\\.?0{1,"+(r-(e-i))+"}$"),a=a.replace(o,"")),a}},t.options=s,t.formats=r,t.locales=i,t.locale=function(t){return t&&(s.currentLocale=t.toLowerCase()),s.currentLocale},t.localeData=function(t){if(!t)return i[s.currentLocale];if(t=t.toLowerCase(),!i[t])throw new Error("Unknown locale : "+t);return i[t]},t.reset=function(){for(var t in o)s[t]=o[t]},t.zeroFormat=function(t){s.zeroFormat="string"===typeof t?t:null},t.nullFormat=function(t){s.nullFormat="string"===typeof t?t:null},t.defaultFormat=function(t){s.defaultFormat="string"===typeof t?t:"0.0"},t.register=function(t,e,n){if(e=e.toLowerCase(),this[t+"s"][e])throw new TypeError(e+" "+t+" already registered.");return this[t+"s"][e]=n,n},t.validate=function(e,n){var r,i,o,s,a,c,u,l;if("string"!==typeof e&&(e+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",e)),e=e.trim(),e.match(/^\d+$/))return!0;if(""===e)return!1;try{u=t.localeData(n)}catch(f){u=t.localeData(t.locale())}return o=u.currency.symbol,a=u.abbreviations,r=u.delimiters.decimal,i="."===u.delimiters.thousands?"\\.":u.delimiters.thousands,l=e.match(/^[^\d]+/),(null===l||(e=e.substr(1),l[0]===o))&&(l=e.match(/[^\d]+$/),(null===l||(e=e.slice(0,-1),l[0]===a.thousand||l[0]===a.million||l[0]===a.billion||l[0]===a.trillion))&&(c=new RegExp(i+"{2}"),!e.match(/[^\d.,]/g)&&(s=e.split(r),!(s.length>2)&&(s.length<2?!!s[0].match(/^\d+.*\d$/)&&!s[0].match(c):1===s[0].length?!!s[0].match(/^\d+$/)&&!s[0].match(c)&&!!s[1].match(/^\d+$/):!!s[0].match(/^\d+.*\d$/)&&!s[0].match(c)&&!!s[1].match(/^\d+$/)))))},t.fn=a.prototype={clone:function(){return t(this)},format:function(e,n){var i,o,a,c=this._value,u=e||s.defaultFormat;if(n=n||Math.round,0===c&&null!==s.zeroFormat)o=s.zeroFormat;else if(null===c&&null!==s.nullFormat)o=s.nullFormat;else{for(i in r)if(u.match(r[i].regexps.format)){a=r[i].format;break}a=a||t._.numberToFormat,o=a(c,u,n)}return o},value:function(){return this._value},input:function(){return this._input},set:function(t){return this._value=Number(t),this},add:function(t){var n=e.correctionFactor.call(null,this._value,t);function r(t,e,r,i){return t+Math.round(n*e)}return this._value=e.reduce([this._value,t],r,0)/n,this},subtract:function(t){var n=e.correctionFactor.call(null,this._value,t);function r(t,e,r,i){return t-Math.round(n*e)}return this._value=e.reduce([t],r,Math.round(this._value*n))/n,this},multiply:function(t){function n(t,n,r,i){var o=e.correctionFactor(t,n);return Math.round(t*o)*Math.round(n*o)/Math.round(o*o)}return this._value=e.reduce([this._value,t],n,1),this},divide:function(t){function n(t,n,r,i){var o=e.correctionFactor(t,n);return Math.round(t*o)/Math.round(n*o)}return this._value=e.reduce([this._value,t],n),this},difference:function(e){return Math.abs(t(this._value).subtract(e).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(e,n,r){var i,o=t._.includes(n," BPS")?" ":"";return e*=1e4,n=n.replace(/\s?BPS/,""),i=t._.numberToFormat(e,n,r),t._.includes(i,")")?(i=i.split(""),i.splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(e){return+(1e-4*t._.stringToNumber(e)).toFixed(15)}})}(),function(){var e={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},n={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},r=e.suffixes.concat(n.suffixes.filter((function(t){return e.suffixes.indexOf(t)<0}))),i=r.join("|");i="("+i.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(r,i,o){var s,a,c,u,l=t._.includes(i,"ib")?n:e,f=t._.includes(i," b")||t._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=l.suffixes.length;a++)if(c=Math.pow(l.base,a),u=Math.pow(l.base,a+1),null===r||0===r||r>=c&&r<u){f+=l.suffixes[a],c>0&&(r/=c);break}return s=t._.numberToFormat(r,i,o),s+f},unformat:function(r){var i,o,s=t._.stringToNumber(r);if(s){for(i=e.suffixes.length-1;i>=0;i--){if(t._.includes(r,e.suffixes[i])){o=Math.pow(e.base,i);break}if(t._.includes(r,n.suffixes[i])){o=Math.pow(n.base,i);break}}s*=o||1}return s}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(e,n,r){var i,o,s,a=t.locales[t.options.currentLocale],c={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=t._.numberToFormat(e,n,r),e>=0?(c.before=c.before.replace(/[\-\(]/,""),c.after=c.after.replace(/[\-\)]/,"")):e<0&&!t._.includes(c.before,"-")&&!t._.includes(c.before,"(")&&(c.before="-"+c.before),s=0;s<c.before.length;s++)switch(o=c.before[s],o){case"$":i=t._.insert(i,a.currency.symbol,s);break;case" ":i=t._.insert(i," ",s+a.currency.symbol.length-1);break}for(s=c.after.length-1;s>=0;s--)switch(o=c.after[s],o){case"$":i=s===c.after.length-1?i+a.currency.symbol:t._.insert(i,a.currency.symbol,-(c.after.length-(1+s)));break;case" ":i=s===c.after.length-1?i+" ":t._.insert(i," ",-(c.after.length-(1+s)+a.currency.symbol.length-1));break}return i}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(e,n,r){var i,o="number"!==typeof e||t._.isNaN(e)?"0e+0":e.toExponential(),s=o.split("e");return n=n.replace(/e[\+|\-]{1}0/,""),i=t._.numberToFormat(Number(s[0]),n,r),i+"e"+s[1]},unformat:function(e){var n=t._.includes(e,"e+")?e.split("e+"):e.split("e-"),r=Number(n[0]),i=Number(n[1]);function o(e,n,r,i){var o=t._.correctionFactor(e,n),s=e*o*(n*o)/(o*o);return s}return i=t._.includes(e,"e-")?i*=-1:i,t._.reduce([r,Math.pow(10,i)],o,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(e,n,r){var i,o=t.locales[t.options.currentLocale],s=t._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),s+=o.ordinal(e),i=t._.numberToFormat(e,n,r),i+s}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(e,n,r){var i,o=t._.includes(n," %")?" ":"";return t.options.scalePercentBy100&&(e*=100),n=n.replace(/\s?\%/,""),i=t._.numberToFormat(e,n,r),t._.includes(i,")")?(i=i.split(""),i.splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(e){var n=t._.stringToNumber(e);return t.options.scalePercentBy100?.01*n:n}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(t,e,n){var r=Math.floor(t/60/60),i=Math.floor((t-60*r*60)/60),o=Math.round(t-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(t){var e=t.split(":"),n=0;return 3===e.length?(n+=60*Number(e[0])*60,n+=60*Number(e[1]),n+=Number(e[2])):2===e.length&&(n+=60*Number(e[0]),n+=Number(e[1])),Number(n)}})}(),t}))},6625:function(t,e,n){!function(e,n){t.exports=n()}("undefined"!=typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=40)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(28)("wks"),i=n(29),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(0),i=n(2),o=n(11),s=n(5),a=n(9),c=function(t,e,n){var u,l,f,h=t&c.F,d=t&c.G,p=t&c.S,g=t&c.P,v=t&c.B,y=t&c.W,m=d?i:i[e]||(i[e]={}),I=m.prototype,M=d?r:p?r[e]:(r[e]||{}).prototype;for(u in d&&(n=e),n)(l=!h&&M&&void 0!==M[u])&&a(m,u)||(f=l?M[u]:n[u],m[u]=d&&"function"!=typeof M[u]?n[u]:v&&l?o(f,r):y&&M[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):g&&"function"==typeof f?o(Function.call,f):f,g&&((m.virtual||(m.virtual={}))[u]=f,t&c.R&&I&&!I[u]&&s(I,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(13),i=n(31);t.exports=n(6)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(14)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports={}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(12);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(3),i=n(50),o=n(51),s=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(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}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(46),i=n(30);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(26),i=n(16);t.exports=function(t){return r(i(t))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(28)("keys"),i=n(29);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports=!0},function(t,e,n){var r=n(7),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(13).f,i=n(9),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(12);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(43)),i=l(n(32)),o=l(n(79)),s=l(n(86)),a=l(n(87)),c=l(n(88)),u=l(n(89));function l(t){return t&&t.__esModule?t:{default:t}}var f="UN_READY",h="PENDING",d="READY";e.default={name:"VueUeditorWrap",data:function(){return{status:f,defaultConfig:{UEDITOR_HOME_URL:void 0!==t&&t.env.BASE_URL?t.env.BASE_URL+"UEditor/":"/static/UEditor/"}}},props:{mode:{type:String,default:"observer",validator:function(t){return-1!==["observer","listener"].indexOf(t)}},value:{type:String,default:""},config:{type:Object,default:function(){return{}}},init:{type:Function,default:function(){}},destroy:{type:Boolean,default:!0},name:{type:String,default:""},observerDebounceTime:{type:Number,default:50,validator:function(t){return t>=20}},observerOptions:{type:Object,default:function(){return{attributes:!0,attributeFilter:["src","style","type","name"],characterData:!0,childList:!0,subtree:!0}}},forceInit:{type:Boolean,default:!1},editorId:{type:String},editorDependencies:Array,editorDependenciesChecker:Function},computed:{mixedConfig:function(){return(0,o.default)({},this.defaultConfig,this.config)}},methods:{registerButton:function(t){var e=t.name,n=t.icon,r=t.tip,i=t.handler,o=t.index,s=t.UE,a=void 0===s?window.UE:s;a.registerUI(e,(function(t,e){t.registerCommand(e,{execCommand:function(){i(t,e)}});var o=new a.ui.Button({name:e,title:r,cssRules:"background-image: url("+n+") !important;background-size: cover;",onclick:function(){t.execCommand(e)}});return t.addListener("selectionchange",(function(){var n=t.queryCommandState(e);-1===n?(o.setDisabled(!0),o.setChecked(!1)):(o.setDisabled(!1),o.setChecked(n))})),o}),o,this.id)},_initEditor:function(){var t=this;this.$refs.container.id=this.id=this.editorId||"editor_"+(0,u.default)(8),this.init(),this.$emit("before-init",this.id,this.mixedConfig),this.$emit("beforeInit",this.id,this.mixedConfig),this.editor=window.UE.getEditor(this.id,this.mixedConfig),this.editor.addListener("ready",(function(){t.status===d?t.editor.setContent(t.value):(t.status=d,t.$emit("ready",t.editor),t.value&&t.editor.setContent(t.value)),"observer"===t.mode&&window.MutationObserver?t._observerChangeListener():t._normalChangeListener()}))},_loadScript:function(t){return new i.default((function(e,n){if(window.$loadEventBus.on(t,e),!1===window.$loadEventBus.listeners[t].requested){window.$loadEventBus.listeners[t].requested=!0;var r=document.createElement("script");r.src=t,r.onload=function(){window.$loadEventBus.emit(t)},r.onerror=n,document.getElementsByTagName("head")[0].appendChild(r)}}))},_loadCss:function(t){return new i.default((function(e,n){if(window.$loadEventBus.on(t,e),!1===window.$loadEventBus.listeners[t].requested){window.$loadEventBus.listeners[t].requested=!0;var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t,r.onload=function(){window.$loadEventBus.emit(t)},r.onerror=n,document.getElementsByTagName("head")[0].appendChild(r)}}))},_loadEditorDependencies:function(){var t=this;window.$loadEventBus||(window.$loadEventBus=new s.default);var e=["ueditor.config.js","ueditor.all.min.js"];return new i.default((function(n,o){if(t.editorDependencies&&t.editorDependenciesChecker&&t.editorDependenciesChecker())n();else if(!t.editorDependencies&&window.UE&&window.UE.getEditor&&window.UEDITOR_CONFIG&&0!==(0,r.default)(window.UEDITOR_CONFIG).length)n();else{var s=(t.editorDependencies||e).reduce((function(e,n){return/^((https?:)?\/\/)?[-a-zA-Z0-9]+(\.[-a-zA-Z0-9]+)+\//.test(n)||(n=(t.mixedConfig.UEDITOR_HOME_URL||"")+n),".js"===n.slice(-3)?e.jsLinks.push(n):".css"===n.slice(-4)&&e.cssLinks.push(n),e}),{jsLinks:[],cssLinks:[]}),a=s.jsLinks,u=s.cssLinks;i.default.all([i.default.all(u.map((function(e){return t._loadCss(e)}))),(0,c.default)(a.map((function(e){return function(){return t._loadScript(e)}})))]).then((function(){return n()})).catch(o)}}))},_contentChangeHandler:function(){this.innerValue=this.editor.getContent(),this.$emit("input",this.innerValue)},_normalChangeListener:function(){this.editor.addListener("contentChange",this._contentChangeHandler)},_observerChangeListener:function(){var t=this;this.observer=new MutationObserver((0,a.default)((function(){t.editor.document.getElementById("baidu_pastebin")||(t.innerValue=t.editor.getContent(),t.$emit("input",t.innerValue))}),this.observerDebounceTime)),this.observer.observe(this.editor.body,this.observerOptions)}},deactivated:function(){this.editor&&this.editor.removeListener("contentChange",this._contentChangeHandler),this.observer&&this.observer.disconnect()},beforeDestroy:function(){this.destroy&&this.editor&&this.editor.destroy&&this.editor.destroy(),this.observer&&this.observer.disconnect&&this.observer.disconnect()},watch:{value:{handler:function(t){var e=this;this.status===f?(this.status=h,(this.forceInit||"undefined"!=typeof window)&&this._loadEditorDependencies().then((function(){e.$refs.container?e._initEditor():e.$nextTick((function(){return e._initEditor()}))})).catch((function(){throw new Error("[vue-ueditor-wrap] UEditor 资源加载失败!请检查资源是否存在,UEDITOR_HOME_URL 是否配置正确!")}))):this.status===d&&(t===this.innerValue||this.editor.setContent(t||""))},immediate:!0}}}}).call(e,n(42))},function(t,e,n){var r=n(10);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(19),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){t.exports={default:n(52),__esModule:!0}},function(t,e,n){"use strict";var r=n(21),i=n(4),o=n(56),s=n(5),a=n(8),c=n(57),u=n(23),l=n(60),f=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,g,v,y){c(n,e,p);var m,I,M,b=function(t){if(!h&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",_="values"==g,A=!1,T=t.prototype,w=T[f]||T["@@iterator"]||g&&T[g],E=w||b(g),N=g?_?b("entries"):E:void 0,S="Array"==e&&T.entries||w;if(S&&(M=l(S.call(new t)))!==Object.prototype&&M.next&&(u(M,C,!0),r||"function"==typeof M[f]||s(M,f,d)),_&&w&&"values"!==w.name&&(A=!0,E=function(){return w.call(this)}),r&&!y||!h&&!A&&T[f]||s(T,f,E),a[e]=E,a[C]=d,g)if(m={values:_?E:b("values"),keys:v?E:b("keys"),entries:N},y)for(I in m)I in T||o(T,I,m[I]);else i(i.P+i.F*(h||A),e,m);return m}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(10),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var r=n(3),i=n(12),o=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},function(t,e,n){var r,i,o,s=n(11),a=n(71),c=n(34),u=n(22),l=n(0),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,v=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},I=function(t){m.call(t.data)};h&&d||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete y[t]},"process"==n(10)(f)?r=function(t){f.nextTick(s(m,t,1))}:g&&g.now?r=function(t){g.now(s(m,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=I,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",I,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:h,clear:d}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(3),i=n(7),o=n(24);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(25),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);var s=n(90),a=n(41)(i.a,s.a,!1,null,null,null);a.options.__file="src/components/vue-ueditor-wrap.vue",e.default=a.exports},function(t,e){t.exports=function(t,e,n,r,i,o){var s,a=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(s=t,a=t.default);var u,l="function"==typeof a?a.options:a;if(e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId=i),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=u):r&&(u=r),u){var f=l.functional,h=f?l.render:l.beforeCreate;f?(l._injectStyles=u,l.render=function(t,e){return u.call(e),h(t,e)}):l.beforeCreate=h?[].concat(h,u):[u]}return{esModule:s,exports:a,options:l}}},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var c,u=[],l=!1,f=-1;function h(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var t=a(h);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new p(t,e)),1!==u.length||l||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){t.exports={default:n(44),__esModule:!0}},function(t,e,n){n(45),t.exports=n(2).Object.keys},function(t,e,n){var r=n(15),i=n(17);n(49)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(9),i=n(18),o=n(47)(!1),s=n(20)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(18),i=n(27),o=n(48);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(19),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(4),i=n(2),o=n(14);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},function(t,e,n){t.exports=!n(6)&&!n(14)((function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){n(53),n(54),n(61),n(65),n(77),n(78),t.exports=n(2).Promise},function(t,e){},function(t,e,n){"use strict";var r=n(55)(!0);n(33)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(19),i=n(16);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536}}},function(t,e,n){t.exports=n(5)},function(t,e,n){"use strict";var r=n(58),i=n(31),o=n(23),s={};n(5)(s,n(1)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(3),i=n(59),o=n(30),s=n(20)("IE_PROTO"),a=function(){},c=function(){var t,e=n(22)("iframe"),r=o.length;for(e.style.display="none",n(34).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(13),i=n(3),o=n(17);t.exports=n(6)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},function(t,e,n){var r=n(9),i=n(15),o=n(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){n(62);for(var r=n(0),i=n(5),o=n(8),s=n(1)("toStringTag"),a="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(","),c=0;c<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},function(t,e,n){"use strict";var r=n(63),i=n(64),o=n(8),s=n(18);t.exports=n(33)(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r,i,o,s,a=n(21),c=n(0),u=n(11),l=n(35),f=n(4),h=n(7),d=n(12),p=n(66),g=n(67),v=n(36),y=n(37).set,m=n(72)(),I=n(24),M=n(38),b=n(73),C=n(39),_=c.TypeError,A=c.process,T=A&&A.versions,w=T&&T.v8||"",E=c.Promise,N="process"==l(A),S=function(){},O=i=I.f,D=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(S,S)};return(N||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof e&&0!==w.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),x=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;m((function(){for(var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(i||(2==t._h&&k(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(_("Promise-chain cycle")):(o=x(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!s&&l.exit(),u(t)}};n.length>o;)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&R(t)}))}},R=function(t){y.call(c,(function(){var e,n,r,i=t._v,o=j(t);if(o&&(e=M((function(){N?A.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=N||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){y.call(c,(function(){var e;N?A.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},P=function(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()),L(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=x(t))?m((function(){var r={_w:n,_d:!1};try{e.call(t,u(U,r,1),u(P,r,1))}catch(t){P.call(r,t)}})):(n._v=t,n._s=1,L(n,!1))}catch(t){P.call({_w:n,_d:!1},t)}}};D||(E=function(t){p(this,E,"Promise","_h"),d(t),r.call(this);try{t(u(U,this,1),u(P,this,1))}catch(t){P.call(this,t)}},(r=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=n(74)(E.prototype,{then:function(t,e){var n=O(v(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=N?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(P,t,1)},I.f=O=function(t){return t===E||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!D,{Promise:E}),n(23)(E,"Promise"),n(75)("Promise"),s=n(2).Promise,f(f.S+f.F*!D,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!D),"Promise",{resolve:function(t){return C(a&&this===s?E:this,t)}}),f(f.S+f.F*!(D&&n(76)((function(t){E.all(t).catch(S)}))),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,i=n.reject,o=M((function(){var n=[],o=0,s=1;g(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--s||r(n))}),i)})),--s||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,i=M((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(11),i=n(68),o=n(69),s=n(3),a=n(27),c=n(70),u={},l={};(e=t.exports=function(t,e,n,f,h){var d,p,g,v,y=h?function(){return t}:c(t),m=r(n,f,e?2:1),I=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=a(t.length);d>I;I++)if((v=e?m(s(p=t[I])[0],p[1]):m(t[I]))===u||v===l)return v}else for(g=y.call(t);!(p=g.next()).done;)if((v=i(g,m,p.value,e))===u||v===l)return v}).BREAK=u,e.RETURN=l},function(t,e,n){var r=n(3);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(8),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(35),i=n(1)("iterator"),o=n(8);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e){t.exports=function(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(t,e,n){var r=n(0),i=n(37).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(10)(s);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(0).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(13),s=n(6),a=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(0),s=n(36),a=n(39);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";var r=n(4),i=n(24),o=n(38);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(80),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){t.exports={default:n(81),__esModule:!0}},function(t,e,n){n(82),t.exports=n(2).Object.assign},function(t,e,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(83)})},function(t,e,n){"use strict";var r=n(6),i=n(17),o=n(84),s=n(85),a=n(15),c=n(26),u=Object.assign;t.exports=!u||n(14)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=o.f,h=s.f;u>l;)for(var d,p=c(arguments[l++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;v>y;)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:u},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){this.listeners={},this.on=function(t,e){void 0===this.listeners[t]&&(this.listeners[t]={triggered:!1,requested:!1,cbs:[]}),this.listeners[t].triggered&&e(),this.listeners[t].cbs.push(e)},this.emit=function(t){this.listeners[t]&&(this.listeners[t].triggered=!0,this.listeners[t].cbs.forEach((function(t){return t()})))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=null;return function(){var r=this,i=arguments;n&&clearTimeout(n),n=setTimeout((function(){t.apply(r,i)}),e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(32),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t){return t.reduce((function(t,e){return t.then(e)}),o.default.resolve())}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e="abcdefghijklmnopqrstuvwxyz",n="",r=0;r<t;r++)n+=e.charAt(Math.floor(Math.random()*e.length));return n}},function(t,e,n){"use strict";var r=function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{ref:"container",attrs:{name:this.name}})])};r._withStripped=!0;var i={render:r,staticRenderFns:[]};e.a=i}]).default}))},"66c8":function(t,e,n){var r=n("d3f4");n("5eda")("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},"66f9":function(t,e,n){n("8a81"),n("8478"),n("1c01"),n("58b2"),n("9986"),n("e4f7"),n("456d"),n("25db"),n("0d6d"),n("cf6a"),n("9aea"),n("66c8"),n("57f0"),n("165b"),n("f751"),n("db97"),n("fd24"),n("06db"),n("d92a"),n("7f7f"),n("217b"),n("18d0"),n("b72c"),n("c5f6"),n("036c"),n("54a8"),n("2e37"),n("fca0"),n("7cdf"),n("ee1d"),n("b1b1"),n("87f3"),n("9278"),n("5df2"),n("04ff"),n("7f25"),n("536b"),n("d9ab"),n("f9ab"),n("32d7"),n("25c9"),n("9f3c"),n("042e"),n("c7c6"),n("f4ff"),n("7872"),n("049f"),n("a69f"),n("0b21"),n("6c1a"),n("c7c62"),n("84b4"),n("5695"),n("788d"),n("4f37"),n("5df3"),n("a032"),n("aef6"),n("2fdb"),n("14b9"),n("f559"),n("8449"),n("9c86"),n("fa83"),n("48c0"),n("d263"),n("6c37"),n("9ec8"),n("d0b0"),n("b54a"),n("f386"),n("1448"),n("673e"),n("242a"),n("78ce"),n("0298"),n("8ea5"),n("87b3"),n("c8ce"),n("2caf"),n("1c4c"),n("e804"),n("373f"),n("23bf"),n("55dd"),n("f3e2"),n("6d67"),n("d25f"),n("759f"),n("6095"),n("0cd8"),n("48f8"),n("57e7"),n("9865"),n("744f"),n("6c7b"),n("7514"),n("20d6"),n("d04f"),n("cadf"),n("3b2b"),n("b0c5"),n("6b54"),n("3846"),n("4917"),n("a481"),n("386d"),n("28a5"),n("551c"),n("f400"),n("4f7f"),n("10ad"),n("c02b"),n("c66f"),n("262f"),n("b05c"),n("34ef"),n("6aa2"),n("15ac"),n("af56"),n("b6e4"),n("9c29"),n("63d9"),n("4dda"),n("df1b"),n("2397"),n("88ca"),n("ba16"),n("7ff6"),n("d185"),n("ebde"),n("2d34"),n("f6b3"),n("2251"),n("c698"),n("a19f"),n("9253"),n("9275"),n("6762"),n("e956"),n("71f1"),n("3535"),n("f576"),n("ed50"),n("23be"),n("7c0e"),n("988d"),n("ac4d"),n("c7ca"),n("8e6e"),n("8615"),n("ffc1"),n("4504"),n("fee7"),n("b9a1"),n("64d5"),n("4704"),n("db9a"),n("729b"),n("99c5"),n("764f"),n("bdd1"),n("416c"),n("dd8a"),n("5d40"),n("5d90"),n("0c36"),n("a234"),n("4276"),n("09e0"),n("0c00"),n("2748"),n("1f91"),n("9c00"),n("2f78"),n("b4c2"),n("1f18"),n("692b"),n("c775"),n("8a5c"),n("ed7e"),n("097d"),n("a9cc"),n("e3d0"),n("ceaf"),n("e394"),n("b80b"),n("06a7"),n("7cdff"),n("896f"),n("ec39"),n("3a9c"),n("0d25"),n("37b5"),n("4795"),n("130f"),n("ac6a"),t.exports=n("8378")},6718:function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),s=n("ccb9"),a=n("d9f6").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},"673e":function(t,e,n){"use strict";n("386b")("sub",(function(t){return function(){return t(this,"sub","","")}}))},6762:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(t,e,n){var r=n("ca5a")("meta"),i=n("d3f4"),o=n("69a8"),s=n("86cc").f,a=0,c=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"688e":function(t,e,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,s="[object Function]";t.exports=function(t){var e=this;if("function"!==typeof e||o.call(e)!==s)throw new TypeError(r+e);for(var n,a=i.call(arguments,1),c=function(){if(this instanceof n){var r=e.apply(this,a.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,a.concat(i.call(arguments)))},u=Math.max(0,e.length-a.length),l=[],f=0;f<u;f++)l.push("$"+f);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),e.prototype){var h=function(){};h.prototype=e.prototype,n.prototype=new h,h.prototype=null}return n}},"692b":function(t,e,n){var r=n("5ca1"),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(t,e,n){n("ec30")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},"6abf":function(t,e,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],c=function(t){n("2aba")(RegExp.prototype,s,t,!0)};n("79e5")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):a.name!=s&&c((function(){return a.call(this)}))},"6bb5":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("4d16"),i=n.n(r),o=n("061b"),s=n.n(o);function a(t){return a=i.a?s.a.bind():function(t){return t.__proto__||s()(t)},a(t)}},"6c1a":function(t,e,n){var r=n("5ca1"),i=n("2d5c"),o=Math.exp;r(r.S+r.F*n("79e5")((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),s=n("5168")("toStringTag"),a="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(","),c=0;c<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},"6c37":function(t,e,n){"use strict";n("386b")("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},"6c7b":function(t,e,n){var r=n("5ca1");r(r.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"6d67":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(1);r(r.P+r.F*!n("2f21")([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},"6dd8":function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof t&&t.Math===Math?t:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)}}(),s=2;function a(t,e){var n=!1,r=!1,i=0;function a(){n&&(n=!1,t()),r&&u()}function c(){o(a)}function u(){var t=Date.now();if(n){if(t-i<s)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return u}var c=20,u=["top","right","bottom","left","width","height","size","weight"],l="undefined"!==typeof MutationObserver,f=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=a(this.refresh.bind(this),c)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e,r=u.some((function(t){return!!~n.indexOf(t)}));r&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),h=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||i},p=A(0,0,0,0);function g(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){var r=t["border-"+n+"-width"];return e+g(r)}),0)}function y(t){for(var e=["top","right","bottom","left"],n={},r=0,i=e;r<i.length;r++){var o=i[r],s=t["padding-"+o];n[o]=g(s)}return n}function m(t){var e=t.getBBox();return A(0,0,e.width,e.height)}function I(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=d(t).getComputedStyle(t),i=y(r),o=i.left+i.right,s=i.top+i.bottom,a=g(r.width),c=g(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==e&&(a-=v(r,"left","right")+o),Math.round(c+s)!==n&&(c-=v(r,"top","bottom")+s)),!b(t)){var u=Math.round(a+o)-e,l=Math.round(c+s)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(l)&&(c-=l)}return A(i.left,i.top,a,c)}var M=function(){return"undefined"!==typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"===typeof t.getBBox}}();function b(t){return t===d(t).document.documentElement}function C(t){return r?M(t)?m(t):I(t):p}function _(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(o.prototype);return h(s,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),s}function A(t,e,n,r){return{x:t,y:e,width:n,height:r}}var T=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=A(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=C(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(){function t(t,e){var n=_(e);h(this,{target:t,contentRect:n})}return t}(),E=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new T(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),N="undefined"!==typeof WeakMap?new WeakMap:new n,S=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new E(e,n,this);N.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach((function(t){S.prototype[t]=function(){var e;return(e=N.get(this))[t].apply(e,arguments)}}));var O=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:S}();e["default"]=O}.call(this,n("c8ba"))},"6f71":function(t,e,n){"use strict";var r=/(\*|\?)/g;function i(t,e){this.text=t=t||"",this.hasWild=t.indexOf("*")>=0,this.separator=e,this.parts=t.split(e).map(this.classifyPart.bind(this))}i.prototype.match=function(t){var e,n,r=!0,i=this.parts,o=i.length;if("string"==typeof t||t instanceof String)if(this.hasWild||this.text==t){for(n=(t||"").split(this.separator),e=0;r&&e<o;e++)"*"!==i[e]&&(r=e<n.length&&(i[e]instanceof RegExp?i[e].test(n[e]):i[e]===n[e]));r=r&&n}else r=!1;else if("function"==typeof t.splice)for(r=[],e=t.length;e--;)this.match(t[e])&&(r[r.length]=t[e]);else if("object"==typeof t)for(var s in r={},t)this.match(s)&&(r[s]=t[s]);return r},i.prototype.classifyPart=function(t){return"*"===t?t:t.indexOf("*")>=0||t.indexOf("?")>=0?new RegExp(t.replace(r,".$1")):t},t.exports=function(t,e,n){var r=new i(t,n||/[\/\.]/);return"undefined"!=typeof e?r.match(e):r}},"71c1":function(t,e,n){var r=n("3a38"),i=n("25eb");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"71f1":function(t,e,n){"use strict";var r=n("5ca1"),i=n("c45f"),o=n("4bf8"),s=n("9def"),a=n("4588"),c=n("cd1c");r(r.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=s(e.length),r=c(e,0);return i(r,e,e,n,0,void 0===t?1:a(t)),r}}),n("9c6c")("flatten")},"729b":function(t,e,n){n("c6a1")("Map")},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),s=n("52a7"),a=n("4bf8"),c=n("626a"),u=Object.assign;t.exports=!u||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=a(t),u=arguments.length,l=1,f=o.f,h=s.f;while(u>l){var d,p=c(arguments[l++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},"733c":function(t,e,n){var r=n("63b6"),i=n("a159"),o=n("79aa"),s=n("e4ae"),a=n("f772"),c=n("294c"),u=n("c189"),l=(n("e53d").Reflect||{}).construct,f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!c((function(){l((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,d=i(a(c)?c:Object.prototype),p=Function.apply.call(t,d,e);return a(p)?p:d}})},"744f":function(t,e,n){var r=n("5ca1");r(r.P,"Array",{copyWithin:n("ba92")}),n("9c6c")("copyWithin")},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r(r.P+r.F*s,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"759f":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(3);r(r.P+r.F*!n("2f21")([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},"75fc":function(t,e,n){"use strict";var r=n("a745"),i=n.n(r),o=n("db2a");function s(t){if(i()(t))return Object(o["a"])(t)}var a=n("67bb"),c=n.n(a),u=n("5d58"),l=n.n(u),f=n("774e"),h=n.n(f);function d(t){if("undefined"!==typeof c.a&&null!=t[l.a]||null!=t["@@iterator"])return h()(t)}var p=n("e630");function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(t){return s(t)||d(t)||Object(p["a"])(t)||g()}n.d(e,"a",(function(){return v}))},7618:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("67bb"),i=n.n(r),o=n("5d58"),s=n.n(o);function a(t){return a="function"==typeof i.a&&"symbol"==typeof s.a?function(t){return typeof t}:function(t){return t&&"function"==typeof i.a&&t.constructor===i.a&&t!==i.a.prototype?"symbol":typeof t},a(t)}},"764f":function(t,e,n){n("c6a1")("WeakMap")},"765d":function(t,e,n){n("6718")("observable")},7676:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},r.apply(this,arguments)},i=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},o=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.unique=e.mergeWithRules=e.mergeWithCustomize=e["default"]=e.merge=e.CustomizeRule=e.customizeObject=e.customizeArray=void 0;var a=s(n("6f71")),c=s(n("d540")),u=s(n("c4d8")),l=s(n("419e"));e.unique=l["default"];var f=n("8a52");e.CustomizeRule=f.CustomizeRule;var h=n("3b74");function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return p({}).apply(void 0,o([t],i(e)))}function p(t){return function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(h.isUndefined(e)||n.some(h.isUndefined))throw new TypeError("Merging undefined is not supported");if(e.then)throw new TypeError("Promises are not supported");if(!e)return{};if(0===n.length){if(Array.isArray(e)){if(0===e.length)return{};if(e.some(h.isUndefined))throw new TypeError("Merging undefined is not supported");if(e[0].then)throw new TypeError("Promises are not supported");return c["default"](e,u["default"](t))}return e}return c["default"]([e].concat(n),u["default"](t))}}function g(t){return function(e,n,r){var s=Object.keys(t).find((function(t){return a["default"](t,r)}))||"";if(s)switch(t[s]){case f.CustomizeRule.Prepend:return o(o([],i(n)),i(e));case f.CustomizeRule.Replace:return n;case f.CustomizeRule.Append:default:return o(o([],i(e)),i(n))}}}function v(t){return p({customizeArray:function(e,n,r){var i=t;return r.split(".").forEach((function(t){i&&(i=i[t])})),h.isPlainObject(i)?m({currentRule:i,a:e,b:n}):"string"===typeof i?I({currentRule:i,a:e,b:n}):void 0}})}e.merge=d,e["default"]=d,e.mergeWithCustomize=p,e.customizeArray=g,e.mergeWithRules=v;var y=Array.isArray;function m(t){var e=t.currentRule,n=t.a,s=t.b;if(!y(n))return n;var a=[],c=n.map((function(t){if(!h.isPlainObject(e))return t;var n={},c=[],u={};Object.entries(e).forEach((function(t){var e=i(t,2),n=e[0],r=e[1];r===f.CustomizeRule.Match?c.push(n):u[n]=r}));var l=s.filter((function(e){var n=c.every((function(n){var r,i;return(null===(r=t[n])||void 0===r?void 0:r.toString())===(null===(i=e[n])||void 0===i?void 0:i.toString())}));return n&&a.push(e),n}));return h.isPlainObject(t)?(Object.entries(t).forEach((function(t){var s=i(t,2),a=s[0],c=s[1],d=e;switch(e[a]){case f.CustomizeRule.Match:n[a]=c,Object.entries(d).forEach((function(t){var e=i(t,2),r=e[0],o=e[1];if(o===f.CustomizeRule.Replace&&l.length>0){var s=M(l)[r];"undefined"!==typeof s&&(n[r]=s)}}));break;case f.CustomizeRule.Append:if(!l.length){n[a]=c;break}var p=M(l)[a];if(!y(c)||!y(p))throw new TypeError("Trying to append non-arrays");n[a]=c.concat(p);break;case f.CustomizeRule.Merge:if(!l.length){n[a]=c;break}var g=M(l)[a];if(!h.isPlainObject(c)||!h.isPlainObject(g))throw new TypeError("Trying to merge non-objects");n[a]=r(r({},c),g);break;case f.CustomizeRule.Prepend:if(!l.length){n[a]=c;break}var v=M(l)[a];if(!y(c)||!y(v))throw new TypeError("Trying to prepend non-arrays");n[a]=v.concat(c);break;case f.CustomizeRule.Replace:n[a]=l.length>0?M(l)[a]:c;break;default:var I=u[a],b=l.map((function(t){return t[a]})).reduce((function(t,e){return y(t)&&y(e)?o(o([],i(t)),i(e)):t}),[]);n[a]=m({currentRule:I,a:c,b:b});break}})),n):t}));return c.concat(s.filter((function(t){return!a.includes(t)})))}function I(t){var e=t.currentRule,n=t.a,r=t.b;switch(e){case f.CustomizeRule.Append:return n.concat(r);case f.CustomizeRule.Prepend:return r.concat(n);case f.CustomizeRule.Replace:return r}return n}function M(t){return t[t.length-1]}function b(t){return function(e,n,r){switch(t[r]){case f.CustomizeRule.Prepend:return c["default"]([n,e],u["default"]());case f.CustomizeRule.Replace:return n;case f.CustomizeRule.Append:return c["default"]([e,n],u["default"]())}}}e.customizeObject=b},"768b":function(t,e,n){"use strict";var r=n("a745"),i=n.n(r);function o(t){if(i()(t))return t}var s=n("67bb"),a=n.n(s),c=n("5d58"),u=n.n(c);function l(t,e){var n=null==t?null:"undefined"!==typeof a.a&&t[u.a]||t["@@iterator"];if(null!=n){var r,i,o=[],s=!0,c=!1;try{for(n=n.call(t);!(s=(r=n.next()).done);s=!0)if(o.push(r.value),e&&o.length===e)break}catch(l){c=!0,i=l}finally{try{s||null==n["return"]||n["return"]()}finally{if(c)throw i}}return o}}var f=n("e630");function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(t,e){return o(t)||l(t,e)||Object(f["a"])(t,e)||h()}n.d(e,"a",(function(){return d}))},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},7744:function(t,e,n){"use strict";var r=n("c31d"),i=n("2638"),o=n.n(i),s=n("d282"),a=n("a142"),c=n("ba31"),u=n("48f4"),l=n("dfaf"),f=n("ad06"),h=Object(s["a"])("cell"),d=h[0],p=h[1];function g(t,e,n,r){var i,s=e.icon,l=e.size,h=e.title,d=e.label,g=e.value,v=e.isLink,y=n.title||Object(a["c"])(h);function m(){var r=n.label||Object(a["c"])(d);if(r)return t("div",{class:[p("label"),e.labelClass]},[n.label?n.label():d])}function I(){if(y)return t("div",{class:[p("title"),e.titleClass],style:e.titleStyle},[n.title?n.title():t("span",[h]),m()])}function M(){var r=n.default||Object(a["c"])(g);if(r)return t("div",{class:[p("value",{alone:!y}),e.valueClass]},[n.default?n.default():t("span",[g])])}function b(){return n.icon?n.icon():s?t(f["a"],{class:p("left-icon"),attrs:{name:s,classPrefix:e.iconPrefix}}):void 0}function C(){var r=n["right-icon"];if(r)return r();if(v){var i=e.arrowDirection;return t(f["a"],{class:p("right-icon"),attrs:{name:i?"arrow-"+i:"arrow"}})}}function _(t){Object(c["a"])(r,"click",t),Object(u["a"])(r)}var A=null!=(i=e.clickable)?i:v,T={clickable:A,center:e.center,required:e.required,borderless:!e.border};return l&&(T[l]=l),t("div",o()([{class:p(T),attrs:{role:A?"button":null,tabindex:A?0:null},on:{click:_}},Object(c["b"])(r)]),[b(),I(),M(),C(),null==n.extra?void 0:n.extra()])}g.props=Object(r["a"])({},l["a"],u["c"]),e["a"]=d(g)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},7872:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},"788d":function(t,e,n){var r=n("5ca1"),i=n("6821"),o=n("9def");r(r.S,"String",{raw:function(t){var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;while(n>a)s.push(String(e[a++])),a<r&&s.push(String(arguments[a]));return s.join("")}})},"78ce":function(t,e,n){var r=n("5ca1");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"795b":function(t,e,n){t.exports=n("696e")},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b23":function(t,e,n){var r=n("d8e8"),i=n("4bf8"),o=n("626a"),s=n("9def");t.exports=function(t,e,n,a,c){r(e);var u=i(t),l=o(u),f=s(u.length),h=c?f-1:0,d=c?-1:1;if(n<2)for(;;){if(h in l){a=l[h],h+=d;break}if(h+=d,c?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:f>h;h+=d)h in l&&(a=e(a,l[h],h,u));return a}},"7b3e":function(t,e,n){"use strict";var r,i=n("a3de"); /** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, * `reset`, `load`, `error`, and `select`. * * Borrows from Modernizr. * * @param {string} eventNameSuffix Event name, e.g. "click". * @param {?boolean} capture Check if the capture phase is supported. * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ function o(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,o=n in document;if(!o){var s=document.createElement("div");s.setAttribute(n,"return;"),o="function"===typeof s[n]}return!o&&r&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=o},"7bbc":function(t,e,n){var r=n("6821"),i=n("9093").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"7c0e":function(t,e,n){"use strict";n("aa77")("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},"7cd6":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"7cdf":function(t,e,n){var r=n("5ca1");r(r.S,"Number",{isInteger:n("9c12")})},"7cdff":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:s(arguments[1]))}})},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f25":function(t,e,n){var r=n("5ca1"),i=n("d6c6"),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in i||n("9e1e")&&r(i,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"7ff6":function(t,e,n){"use strict";var r=n("5ca1"),i=n("cb7c"),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n("41a0")(o,"Object",(function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n("2d95")(s);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=s.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8096:function(t,e,n){},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8381:function(t,e,n){"use strict";var r=n("cb7c"),i=n("6a99"),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},8436:function(t,e){t.exports=function(){}},8449:function(t,e,n){"use strict";n("386b")("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},8478:function(t,e,n){var r=n("5ca1");r(r.S,"Object",{create:n("2aeb")})},"84b4":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},"84f2":function(t,e){t.exports={}},8580:function(t,e,n){n("ee6d"),t.exports=n("584a").Object.getOwnPropertyDescriptors},"85f2":function(t,e,n){t.exports=n("454f")},8615:function(t,e,n){var r=n("5ca1"),i=n("504c")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"87b3":function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",s=r[o],a=r.getTime;new Date(NaN)+""!=i&&n("2aba")(r,o,(function(){var t=a.call(this);return t===t?s.call(this):i}))},"87f3":function(t,e,n){var r=n("5ca1");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},"88ca":function(t,e,n){var r=n("86cc"),i=n("5ca1"),o=n("cb7c"),s=n("6a99");i(i.S+i.F*n("79e5")((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(i){return!1}}})},"896f":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=n("38fd"),s=r.has,a=r.key,c=function(t,e,n){var r=s(t,e,n);if(r)return!0;var i=o(e);return null!==i&&c(t,i,n)};r.exp({hasMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},"8a52":function(t,e,n){"use strict";e.__esModule=!0,e.CustomizeRule=void 0,function(t){t["Match"]="match",t["Merge"]="merge",t["Append"]="append",t["Prepend"]="prepend",t["Replace"]="replace"}(e.CustomizeRule||(e.CustomizeRule={}))},"8a5c":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{umulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>>16,c=i>>>16,u=(a*s>>>0)+(o*s>>>16);return a*c+(u>>>16)+((o*c>>>0)+(u&n)>>>16)}})},"8a81":function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("9e1e"),s=n("5ca1"),a=n("2aba"),c=n("67ab").KEY,u=n("79e5"),l=n("5537"),f=n("7f20"),h=n("ca5a"),d=n("2b4c"),p=n("37c8"),g=n("3a72"),v=n("d4c0"),y=n("1169"),m=n("cb7c"),I=n("d3f4"),M=n("4bf8"),b=n("6821"),C=n("6a99"),_=n("4630"),A=n("2aeb"),T=n("7bbc"),w=n("11e9"),E=n("2621"),N=n("86cc"),S=n("0d58"),O=w.f,D=N.f,x=T.f,L=r.Symbol,R=r.JSON,j=R&&R.stringify,k="prototype",P=d("_hidden"),U=d("toPrimitive"),z={}.propertyIsEnumerable,B=l("symbol-registry"),G=l("symbols"),Y=l("op-symbols"),$=Object[k],H="function"==typeof L&&!!E.f,F=r.QObject,V=!F||!F[k]||!F[k].findChild,Q=o&&u((function(){return 7!=A(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O($,e);r&&delete $[e],D(t,e,n),r&&t!==$&&D($,e,r)}:D,W=function(t){var e=G[t]=A(L[k]);return e._k=t,e},Z=H&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},K=function(t,e,n){return t===$&&K(Y,e,n),m(t),e=C(e,!0),m(n),i(G,e)?(n.enumerable?(i(t,P)&&t[P][e]&&(t[P][e]=!1),n=A(n,{enumerable:_(0,!1)})):(i(t,P)||D(t,P,_(1,{})),t[P][e]=!0),Q(t,e,n)):D(t,e,n)},q=function(t,e){m(t);var n,r=v(e=b(e)),i=0,o=r.length;while(o>i)K(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?A(t):q(A(t),e)},X=function(t){var e=z.call(this,t=C(t,!0));return!(this===$&&i(G,t)&&!i(Y,t))&&(!(e||!i(this,t)||!i(G,t)||i(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=b(t),e=C(e,!0),t!==$||!i(G,e)||i(Y,e)){var n=O(t,e);return!n||!i(G,e)||i(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=x(b(t)),r=[],o=0;while(n.length>o)i(G,e=n[o++])||e==P||e==c||r.push(e);return r},nt=function(t){var e,n=t===$,r=x(n?Y:b(t)),o=[],s=0;while(r.length>s)!i(G,e=r[s++])||n&&!i($,e)||o.push(G[e]);return o};H||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===$&&e.call(Y,n),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,_(1,n))};return o&&V&&Q($,t,{configurable:!0,set:e}),W(t)},a(L[k],"toString",(function(){return this._k})),w.f=tt,N.f=K,n("9093").f=T.f=et,n("52a7").f=X,E.f=nt,o&&!n("2d00")&&a($,"propertyIsEnumerable",X,!0),p.f=function(t){return W(d(t))}),s(s.G+s.W+s.F*!H,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=S(d.store),st=0;ot.length>st;)g(ot[st++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!H,"Object",{create:J,defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=u((function(){E.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return E.f(M(t))}}),R&&s(s.S+s.F*(!H||u((function(){var t=L();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(I(e)||void 0!==t)&&!Z(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Z(e))return e}),r[1]=e,j.apply(R,r)}}),L[k][U]||n("32e9")(L[k],U,L[k].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8c4f":function(t,e,n){"use strict"; /*! * vue-router v3.0.6 * (c) 2019 Evan You * @license MIT */function r(t,e){0}function i(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function o(t,e){for(var n in e)t[n]=e[n];return t}var s={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,s=e.data;s.routerView=!0;var c=i.$createElement,u=n.name,l=i.$route,f=i._routerViewCache||(i._routerViewCache={}),h=0,d=!1;while(i&&i._routerRoot!==i){var p=i.$vnode&&i.$vnode.data;p&&(p.routerView&&h++,p.keepAlive&&i._inactive&&(d=!0)),i=i.$parent}if(s.routerViewDepth=h,d)return c(f[u],s,r);var g=l.matched[h];if(!g)return f[u]=null,c();var v=f[u]=g.components[u];s.registerRouteInstance=function(t,e){var n=g.instances[u];(e&&n!==t||!e&&n===t)&&(g.instances[u]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){g.instances[u]=e.componentInstance},s.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[u]&&(g.instances[u]=t.componentInstance)};var y=s.props=a(l,g.props&&g.props[u]);if(y){y=s.props=o({},y);var m=s.attrs=s.attrs||{};for(var I in y)v.props&&I in v.props||(m[I]=y[I],delete y[I])}return c(v,s,r)}};function a(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}var c=/[!'()*]/g,u=function(t){return"%"+t.charCodeAt(0).toString(16)},l=/%2C/g,f=function(t){return encodeURIComponent(t).replace(c,u).replace(l,",")},h=decodeURIComponent;function d(t,e,n){void 0===e&&(e={});var r,i=n||p;try{r=i(t||"")}catch(s){r={}}for(var o in e)r[o]=e[o];return r}function p(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=h(n.shift()),i=n.length>0?h(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function g(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return f(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(f(e)):r.push(f(e)+"="+f(t)))})),r.join("&")}return f(e)+"="+f(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var v=/\/?$/;function y(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=m(o)}catch(a){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:b(e,i),matched:t?M(t):[]};return n&&(s.redirectedFrom=b(n,i)),Object.freeze(s)}function m(t){if(Array.isArray(t))return t.map(m);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=m(t[n]);return e}return t}var I=y(null,{path:"/"});function M(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function b(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||g;return(n||"/")+o(r)+i}function C(t,e){return e===I?t===e:!!e&&(t.path&&e.path?t.path.replace(v,"")===e.path.replace(v,"")&&t.hash===e.hash&&_(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params)))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((function(n){var r=t[n],i=e[n];return"object"===typeof r&&"object"===typeof i?_(r,i):String(r)===String(i)}))}function A(t,e){return 0===t.path.replace(v,"/").indexOf(e.path.replace(v,"/"))&&(!e.hash||t.hash===e.hash)&&T(t.query,e.query)}function T(t,e){for(var n in e)if(!(n in t))return!1;return!0}var w,E=[String,Object],N=[String,Array],S={name:"RouterLink",props:{to:{type:E,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:N,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),s=i.location,a=i.route,c=i.href,u={},l=n.options.linkActiveClass,f=n.options.linkExactActiveClass,h=null==l?"router-link-active":l,d=null==f?"router-link-exact-active":f,p=null==this.activeClass?h:this.activeClass,g=null==this.exactActiveClass?d:this.exactActiveClass,v=s.path?y(null,s,null,n):a;u[g]=C(r,v),u[p]=this.exact?u[g]:A(r,v);var m=function(t){O(t)&&(e.replace?n.replace(s):n.push(s))},I={click:O};Array.isArray(this.event)?this.event.forEach((function(t){I[t]=m})):I[this.event]=m;var M={class:u};if("a"===this.tag)M.on=I,M.attrs={href:c};else{var b=D(this.$slots.default);if(b){b.isStatic=!1;var _=b.data=o({},b.data);_.on=I;var T=b.data.attrs=o({},b.data.attrs);T.href=c}else M.on=I}return t(this.tag,M,this.$slots.default)}};function O(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function D(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=D(e.children)))return e}}function x(t){if(!x.installed||w!==t){x.installed=!0,w=t;var e=function(t){return void 0!==t},n=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",s),t.component("RouterLink",S);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var L="undefined"!==typeof window;function R(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?i.pop():"."!==a&&i.push(a)}return""!==i[0]&&i.unshift(""),i.join("/")}function j(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function k(t){return t.replace(/\/\//g,"/")}var P=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},U=rt,z=H,B=F,G=W,Y=nt,$=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function H(t,e){var n,r=[],i=0,o=0,s="",a=e&&e.delimiter||"/";while(null!=(n=$.exec(t))){var c=n[0],u=n[1],l=n.index;if(s+=t.slice(o,l),o=l+c.length,u)s+=u[1];else{var f=t[o],h=n[2],d=n[3],p=n[4],g=n[5],v=n[6],y=n[7];s&&(r.push(s),s="");var m=null!=h&&null!=f&&f!==h,I="+"===v||"*"===v,M="?"===v||"*"===v,b=n[2]||a,C=p||g;r.push({name:d||i++,prefix:h||"",delimiter:b,optional:M,repeat:I,partial:m,asterisk:!!y,pattern:C?K(C):y?".*":"[^"+Z(b)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&r.push(s),r}function F(t,e){return W(H(t,e))}function V(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Q(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function W(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"===typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var i="",o=n||{},s=r||{},a=s.pretty?V:encodeURIComponent,c=0;c<t.length;c++){var u=t[c];if("string"!==typeof u){var l,f=o[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(P(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(l=a(f[h]),!e[c].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===h?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?Q(f):a(f),!e[c].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');i+=u.prefix+l}}else i+=u}return i}}function Z(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function K(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function q(t,e){return t.keys=e,t}function J(t){return t.sensitive?"":"i"}function X(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return q(t,e)}function tt(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(rt(t[i],e,n).source);var o=new RegExp("(?:"+r.join("|")+")",J(n));return q(o,e)}function et(t,e,n){return nt(H(t,n),e,n)}function nt(t,e,n){P(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,i=!1!==n.end,o="",s=0;s<t.length;s++){var a=t[s];if("string"===typeof a)o+=Z(a);else{var c=Z(a.prefix),u="(?:"+a.pattern+")";e.push(a),a.repeat&&(u+="(?:"+c+u+")*"),u=a.optional?a.partial?c+"("+u+")?":"(?:"+c+"("+u+"))?":c+"("+u+")",o+=u}}var l=Z(n.delimiter||"/"),f=o.slice(-l.length)===l;return r||(o=(f?o.slice(0,-l.length):o)+"(?:"+l+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+l+"|$)",q(new RegExp("^"+o,J(n)),e)}function rt(t,e,n){return P(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?X(t,e):P(t)?tt(t,e,n):et(t,e,n)}U.parse=z,U.compile=B,U.tokensToFunction=G,U.tokensToRegExp=Y;var it=Object.create(null);function ot(t,e,n){e=e||{};try{var r=it[t]||(it[t]=U.compile(t));return e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(i){return""}finally{delete e[0]}}function st(t,e,n,r){var i=e||[],o=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){at(i,o,s,t)}));for(var a=0,c=i.length;a<c;a++)"*"===i[a]&&(i.push(i.splice(a,1)[0]),c--,a--);return{pathList:i,pathMap:o,nameMap:s}}function at(t,e,n,r,i,o){var s=r.path,a=r.name;var c=r.pathToRegexpOptions||{},u=ut(s,i,c.strict);"boolean"===typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var l={path:u,regex:ct(u,c),components:r.components||{default:r.component},instances:{},name:a,parent:i,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach((function(r){var i=o?k(o+"/"+r.path):void 0;at(t,e,n,r,l,i)})),void 0!==r.alias){var f=Array.isArray(r.alias)?r.alias:[r.alias];f.forEach((function(o){var s={path:o,children:r.children};at(t,e,n,s,i,l.path||"/")}))}e[l.path]||(t.push(l.path),e[l.path]=l),a&&(n[a]||(n[a]=l))}function ct(t,e){var n=U(t,[],e);return n}function ut(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:k(e.path+"/"+t)}function lt(t,e,n,r){var i="string"===typeof t?{path:t}:t;if(i._normalized)return i;if(i.name)return o({},t);if(!i.path&&i.params&&e){i=o({},i),i._normalized=!0;var s=o(o({},e.params),i.params);if(e.name)i.name=e.name,i.params=s;else if(e.matched.length){var a=e.matched[e.matched.length-1].path;i.path=ot(a,s,"path "+e.path)}else 0;return i}var c=j(i.path||""),u=e&&e.path||"/",l=c.path?R(c.path,u,n||i.append):u,f=d(c.query,i.query,r&&r.options.parseQuery),h=i.hash||c.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:l,query:f,hash:h}}function ft(t,e){var n=st(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function s(t){st(t,r,i,o)}function a(t,n,s){var a=lt(t,n,!1,e),c=a.name;if(c){var u=o[c];if(!u)return l(null,a);var f=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof a.params&&(a.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in a.params)&&f.indexOf(h)>-1&&(a.params[h]=n.params[h]);if(u)return a.path=ot(u.path,a.params,'named route "'+c+'"'),l(u,a,s)}else if(a.path){a.params={};for(var d=0;d<r.length;d++){var p=r[d],g=i[p];if(ht(g.regex,a.path,a.params))return l(g,a,s)}}return l(null,a)}function c(t,n){var r=t.redirect,i="function"===typeof r?r(y(t,n,null,e)):r;if("string"===typeof i&&(i={path:i}),!i||"object"!==typeof i)return l(null,n);var s=i,c=s.name,u=s.path,f=n.query,h=n.hash,d=n.params;if(f=s.hasOwnProperty("query")?s.query:f,h=s.hasOwnProperty("hash")?s.hash:h,d=s.hasOwnProperty("params")?s.params:d,c){o[c];return a({_normalized:!0,name:c,query:f,hash:h,params:d},void 0,n)}if(u){var p=dt(u,t),g=ot(p,d,'redirect route with path "'+p+'"');return a({_normalized:!0,path:g,query:f,hash:h},void 0,n)}return l(null,n)}function u(t,e,n){var r=ot(n,e.params,'aliased route with path "'+n+'"'),i=a({_normalized:!0,path:r});if(i){var o=i.matched,s=o[o.length-1];return e.params=i.params,l(s,e)}return l(null,e)}function l(t,n,r){return t&&t.redirect?c(t,r||n):t&&t.matchAs?u(t,n,t.matchAs):y(t,n,r,e)}return{match:a,addRoutes:s}}function ht(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var s=t.keys[i-1],a="string"===typeof r[i]?decodeURIComponent(r[i]):r[i];s&&(n[s.name||"pathMatch"]=a)}return!0}function dt(t,e){return R(t,e.parent?e.parent.path:"/",!0)}var pt=Object.create(null);function gt(){window.history.replaceState({key:St()},"",window.location.href.replace(window.location.origin,"")),window.addEventListener("popstate",(function(t){yt(),t.state&&t.state.key&&Ot(t.state.key)}))}function vt(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=mt(),s=i.call(t,e,n,r?o:null);s&&("function"===typeof s.then?s.then((function(t){At(t,o)})).catch((function(t){0})):At(s,o))}))}}function yt(){var t=St();t&&(pt[t]={x:window.pageXOffset,y:window.pageYOffset})}function mt(){var t=St();if(t)return pt[t]}function It(t,e){var n=document.documentElement,r=n.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-r.left-e.x,y:i.top-r.top-e.y}}function Mt(t){return _t(t.x)||_t(t.y)}function bt(t){return{x:_t(t.x)?t.x:window.pageXOffset,y:_t(t.y)?t.y:window.pageYOffset}}function Ct(t){return{x:_t(t.x)?t.x:0,y:_t(t.y)?t.y:0}}function _t(t){return"number"===typeof t}function At(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var r=document.querySelector(t.selector);if(r){var i=t.offset&&"object"===typeof t.offset?t.offset:{};i=Ct(i),e=It(r,i)}else Mt(t)&&(e=bt(t))}else n&&Mt(t)&&(e=bt(t));e&&window.scrollTo(e.x,e.y)}var Tt=L&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),wt=L&&window.performance&&window.performance.now?window.performance:Date,Et=Nt();function Nt(){return wt.now().toFixed(3)}function St(){return Et}function Ot(t){Et=t}function Dt(t,e){yt();var n=window.history;try{e?n.replaceState({key:Et},"",t):(Et=Nt(),n.pushState({key:Et},"",t))}catch(r){window.location[e?"replace":"assign"](t)}}function xt(t){Dt(t,!0)}function Lt(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}function Rt(t){return function(e,n,r){var o=!1,s=0,a=null;jt(t,(function(t,e,n,c){if("function"===typeof t&&void 0===t.cid){o=!0,s++;var u,l=zt((function(e){Ut(e)&&(e=e.default),t.resolved="function"===typeof e?e:w.extend(e),n.components[c]=e,s--,s<=0&&r()})),f=zt((function(t){var e="Failed to resolve async component "+c+": "+t;a||(a=i(t)?t:new Error(e),r(a))}));try{u=t(l,f)}catch(d){f(d)}if(u)if("function"===typeof u.then)u.then(l,f);else{var h=u.component;h&&"function"===typeof h.then&&h.then(l,f)}}})),o||r()}}function jt(t,e){return kt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function kt(t){return Array.prototype.concat.apply([],t)}var Pt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Ut(t){return t.__esModule||Pt&&"Module"===t[Symbol.toStringTag]}function zt(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Bt=function(t,e){this.router=t,this.base=Gt(e),this.current=I,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Gt(t){if(!t)if(L){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function Yt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function $t(t,e,n,r){var i=jt(t,(function(t,r,i,o){var s=Ht(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,r,i,o)})):n(s,r,i,o)}));return kt(r?i.reverse():i)}function Ht(t,e){return"function"!==typeof t&&(t=w.extend(t)),t.options[e]}function Ft(t){return $t(t,"beforeRouteLeave",Qt,!0)}function Vt(t){return $t(t,"beforeRouteUpdate",Qt)}function Qt(t,e){if(e)return function(){return t.apply(e,arguments)}}function Wt(t,e,n){return $t(t,"beforeRouteEnter",(function(t,r,i,o){return Zt(t,i,o,e,n)}))}function Zt(t,e,n,r,i){return function(o,s,a){return t(o,s,(function(t){a(t),"function"===typeof t&&r.push((function(){Kt(t,e.instances,n,i)}))}))}}function Kt(t,e,n,r){e[n]&&!e[n]._isBeingDestroyed?t(e[n]):r()&&setTimeout((function(){Kt(t,e,n,r)}),16)}Bt.prototype.listen=function(t){this.cb=t},Bt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Bt.prototype.onError=function(t){this.errorCbs.push(t)},Bt.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,(function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)})))}))},Bt.prototype.confirmTransition=function(t,e,n){var o=this,s=this.current,a=function(t){i(t)&&(o.errorCbs.length?o.errorCbs.forEach((function(e){e(t)})):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(C(t,s)&&t.matched.length===s.matched.length)return this.ensureURL(),a();var c=Yt(this.current.matched,t.matched),u=c.updated,l=c.deactivated,f=c.activated,h=[].concat(Ft(l),this.router.beforeHooks,Vt(u),f.map((function(t){return t.beforeEnter})),Rt(f));this.pending=t;var d=function(e,n){if(o.pending!==t)return a();try{e(t,s,(function(t){!1===t||i(t)?(o.ensureURL(!0),a(t)):"string"===typeof t||"object"===typeof t&&("string"===typeof t.path||"string"===typeof t.name)?(a(),"object"===typeof t&&t.replace?o.replace(t):o.push(t)):n(t)}))}catch(r){a(r)}};Lt(h,d,(function(){var n=[],r=function(){return o.current===t},i=Wt(f,n,r),s=i.concat(o.router.resolveHooks);Lt(s,d,(function(){if(o.pending!==t)return a();o.pending=null,e(t),o.router.app&&o.router.app.$nextTick((function(){n.forEach((function(t){t()}))}))}))}))},Bt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach((function(n){n&&n(t,e)}))};var qt=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior,o=Tt&&i;o&>();var s=Jt(this.base);window.addEventListener("popstate",(function(t){var n=r.current,i=Jt(r.base);r.current===I&&i===s||r.transitionTo(i,(function(t){o&&vt(e,t,n,!0)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Dt(k(r.base+t.fullPath)),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){xt(k(r.base+t.fullPath)),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Jt(this.base)!==this.current.fullPath){var e=k(this.base+this.current.fullPath);t?Dt(e):xt(e)}},e.prototype.getCurrentLocation=function(){return Jt(this.base)},e}(Bt);function Jt(t){var e=decodeURI(window.location.pathname);return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Xt=function(t){function e(e,n,r){t.call(this,e,n),r&&te(this.base)||ee()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=Tt&&n;r&>(),window.addEventListener(Tt?"popstate":"hashchange",(function(){var e=t.current;ee()&&t.transitionTo(ne(),(function(n){r&&vt(t.router,n,e,!0),Tt||oe(n.fullPath)}))}))},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){ie(t.fullPath),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){oe(t.fullPath),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ne()!==e&&(t?ie(e):oe(e))},e.prototype.getCurrentLocation=function(){return ne()},e}(Bt);function te(t){var e=Jt(t);if(!/^\/#/.test(e))return window.location.replace(k(t+"/#"+e)),!0}function ee(){var t=ne();return"/"===t.charAt(0)||(oe("/"+t),!1)}function ne(){var t=window.location.href,e=t.indexOf("#");if(e<0)return"";t=t.slice(e+1);var n=t.indexOf("?");if(n<0){var r=t.indexOf("#");t=r>-1?decodeURI(t.slice(0,r))+t.slice(r):decodeURI(t)}else n>-1&&(t=decodeURI(t.slice(0,n))+t.slice(n));return t}function re(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ie(t){Tt?Dt(re(t)):window.location.hash=t}function oe(t){Tt?xt(re(t)):window.location.replace(re(t))}var se=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){e.index=n,e.updateRoute(r)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Bt),ae=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ft(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Tt&&!1!==t.fallback,this.fallback&&(e="hash"),L||(e="abstract"),this.mode=e,e){case"history":this.history=new qt(this,t.base);break;case"hash":this.history=new Xt(this,t.base,this.fallback);break;case"abstract":this.history=new se(this,t.base);break;default:0}},ce={currentRoute:{configurable:!0}};function ue(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function le(t,e,n){var r="hash"===n?"#"+e:e;return t?k(t+"/"+r):r}ae.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},ce.currentRoute.get=function(){return this.history&&this.history.current},ae.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null)})),!this.app){this.app=t;var n=this.history;if(n instanceof qt)n.transitionTo(n.getCurrentLocation());else if(n instanceof Xt){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},ae.prototype.beforeEach=function(t){return ue(this.beforeHooks,t)},ae.prototype.beforeResolve=function(t){return ue(this.resolveHooks,t)},ae.prototype.afterEach=function(t){return ue(this.afterHooks,t)},ae.prototype.onReady=function(t,e){this.history.onReady(t,e)},ae.prototype.onError=function(t){this.history.onError(t)},ae.prototype.push=function(t,e,n){this.history.push(t,e,n)},ae.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},ae.prototype.go=function(t){this.history.go(t)},ae.prototype.back=function(){this.go(-1)},ae.prototype.forward=function(){this.go(1)},ae.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},ae.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=lt(t,e,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,s=this.history.base,a=le(s,o,this.mode);return{location:r,route:i,href:a,normalizedTo:r,resolved:i}},ae.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==I&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ae.prototype,ce),ae.install=x,ae.version="3.0.6",L&&window.Vue&&window.Vue.use(ae),e["a"]=ae},"8df4":function(t,e,n){"use strict";var r=n("7a77");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),s=n("11e9"),a=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=s.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&a(l,e,n);return l}})},"8ea5":function(t,e,n){var r=n("5ca1"),i=n("8ed0");r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},"8eb7":function(t,e){var n,r,i,o,s,a,c,u,l,f,h,d,p,g,v,y=!1;function m(){if(!y){y=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),m=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(d=/\b(iPhone|iP[ao]d)/.exec(t),p=/\b(iP[ao]d)/.exec(t),f=/Android/i.exec(t),g=/FBAN\/\w+;/i.exec(t),v=/Mobile/i.exec(t),h=!!/Win64/.exec(t),e){n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var I=/(?:Trident\/(\d+.\d+))/.exec(t);a=I?parseFloat(I[1])+4:n,r=e[2]?parseFloat(e[2]):NaN,i=e[3]?parseFloat(e[3]):NaN,o=e[4]?parseFloat(e[4]):NaN,o?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),s=e&&e[1]?parseFloat(e[1]):NaN):s=NaN}else n=r=i=s=o=NaN;if(m){if(m[1]){var M=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);c=!M||parseFloat(M[1].replace("_","."))}else c=!1;u=!!m[2],l=!!m[3]}else c=u=l=!1}}var I={ie:function(){return m()||n},ieCompatibilityMode:function(){return m()||a>n},ie64:function(){return I.ie()&&h},firefox:function(){return m()||r},opera:function(){return m()||i},webkit:function(){return m()||o},safari:function(){return I.webkit()},chrome:function(){return m()||s},windows:function(){return m()||u},osx:function(){return m()||c},linux:function(){return m()||l},iphone:function(){return m()||d},mobile:function(){return m()||d||p||f||v},nativeApp:function(){return m()||g},android:function(){return m()||f},ipad:function(){return m()||p}};t.exports=I},"8ed0":function(t,e,n){"use strict";var r=n("79e5"),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"8f9b":function(t,e,n){!function(e,r){t.exports=r(n("2b0e"))}("undefined"!=typeof self&&self,(function(t){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="./",e(e.s=64)}([function(t,e,n){"use strict";var r=n(45),i=n.n(r),o=n(6),s=n(50),a=n(13),c=n(49),u=n(27);e.a={data:function(){return{unwatchFns:[]}},mounted:function(){var t=this;a.b&&a.b.load().then((function(){t.__contextReady&&t.__contextReady.call(t,t.convertProps())})),this.$amap=this.$amap||this.$parent.$amap,this.$amap?this.register():this.$on(c.a.AMAP_READY_EVENT,(function(e){t.$amap=e,t.register()}))},destroyed:function(){this.unregisterEvents(),this.$amapComponent&&(this.$amapComponent.setMap&&this.$amapComponent.setMap(null),this.$amapComponent.close&&this.$amapComponent.close(),this.$amapComponent.editor&&this.$amapComponent.editor.close(),this.unwatchFns.forEach((function(t){return t()})),this.unwatchFns=[])},methods:{getHandlerFun:function(t){return this.handlers&&this.handlers[t]?this.handlers[t]:this.$amapComponent["set"+i()(t)]||this.$amapComponent.setOptions},convertProps:function(){var t=this,e={};this.$amap&&(e.map=this.$amap);var n=this.$options.propsData,r=void 0===n?{}:n,i=this.propsRedirect;return Object.keys(r).reduce((function(n,o){var s=o,a=t.convertSignalProp(s,r[s]);return void 0===a||(i&&i[o]&&(s=i[s]),e[s]=a),n}),e)},convertSignalProp:function(t,e){var n="",r="";if(this.amapTagName)try{var s=i()(this.amapTagName).replace(/^El/,"");r=(u.default[s]||"").props[t].$type,n=o.a[r]}catch(t){}if(r&&n)return n(e);if(this.converters&&this.converters[t])return this.converters[t].call(this,e);var a=o.a[t];return a?a(e):e},registerEvents:function(){if(this.setEditorEvents&&this.setEditorEvents(),this.$options.propsData){if(this.$options.propsData.events)for(var t in this.events)s.a.addListener(this.$amapComponent,t,this.events[t]);if(this.$options.propsData.onceEvents)for(var e in this.onceEvents)s.a.addListenerOnce(this.$amapComponent,e,this.onceEvents[e])}},unregisterEvents:function(){s.a.clearListeners(this.$amapComponent)},setPropWatchers:function(){var t=this,e=this.propsRedirect,n=this.$options.propsData,r=void 0===n?{}:n;Object.keys(r).forEach((function(n){var r=n;e&&e[n]&&(r=e[n]);var i=t.getHandlerFun(r);if(i||"events"===n){var o=t.$watch(n,(function(e){return"events"===n?(t.unregisterEvents(),void t.registerEvents()):i&&i===t.$amapComponent.setOptions?i.call(t.$amapComponent,(o={},o[r]=t.convertSignalProp(n,e),o)):void i.call(t.$amapComponent,t.convertSignalProp(n,e));var o}));t.unwatchFns.push(o)}}))},registerToManager:function(){var t=this.amapManager||this.$parent.amapManager;t&&void 0!==this.vid&&t.setComponent(this.vid,this.$amapComponent)},initProps:function(){var t=this;["editable","visible"].forEach((function(e){if(void 0!==t[e]){var n=t.getHandlerFun(e);n&&n.call(t.$amapComponent,t.convertSignalProp(e,t[e]))}}))},printReactiveProp:function(){var t=this;Object.keys(this._props).forEach((function(e){t.$amapComponent["set"+i()(e)]&&console.log(e)}))},register:function(){var t=this,e=this.__initComponent&&this.__initComponent(this.convertProps());e&&e.then?e.then((function(e){return t.registerRest(e)})):this.registerRest(e)},registerRest:function(t){!this.$amapComponent&&t&&(this.$amapComponent=t),this.registerEvents(),this.initProps(),this.setPropWatchers(),this.registerToManager(),this.events&&this.events.init&&this.events.init(this.$amapComponent,this.$amap,this.amapManager||this.$parent.amapManager)},$$getInstance:function(){return this.$amapComponent}}}},function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId=o),s?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var f=l.render;l.render=function(t,e){return u.call(e),f(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,u):[u]}return{exports:t,options:l}}e.a=r},function(t,e,n){var r=n(30)("wks"),i=n(14),o=n(3).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(15)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){"use strict";function r(t){return new AMap.Pixel(t[0],t[1])}function i(t){return new AMap.Size(t[0],t[1])}function o(t){return Array.isArray(t)?t:[t.getX(),t.getY()]}function s(t){return new AMap.LngLat(t[0],t[1])}function a(t){if(t)return Array.isArray(t)?t.slice():[t.getLng(),t.getLat()]}function c(t){return new AMap.Bounds(s(t[0]),s(t[1]))}e.e=r,e.c=o,e.d=s,e.b=a,n.d(e,"a",(function(){return u}));var u={position:s,offset:r,bounds:c,LngLat:s,Pixel:r,Size:i,Bounds:c}},function(t,e,n){var r=n(3),i=n(8),o=n(11),s=n(14)("src"),a=Function.toString,c=(""+a).split("toString");n(16).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[s]||a.call(this)}))},function(t,e,n){var r=n(9),i=n(20);t.exports=n(5)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(10),i=n(31),o=n(33),s=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(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}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports={}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var r=n(97),i=n(19),o=n.n(i),s=null,a=function(t){o.a.prototype.$isServer||s||(s||(s=new r.a(t)),s.load())}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(71);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(75),i=n(22);t.exports=function(t){return r(i(t))}},function(e,n){e.exports=t},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(70),i=n(34),o=n(7),s=n(8),a=n(12),c=n(72),u=n(25),l=n(79),f=n(2)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,g,v,y){c(n,e,p);var m,I,M,b=function(t){if(!h&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",_="values"==g,A=!1,T=t.prototype,w=T[f]||T["@@iterator"]||g&&T[g],E=w||b(g),N=g?_?b("entries"):E:void 0,S="Array"==e&&T.entries||w;if(S&&(M=l(S.call(new t)))!==Object.prototype&&M.next&&(u(M,C,!0),r||"function"==typeof M[f]||s(M,f,d)),_&&w&&"values"!==w.name&&(A=!0,E=function(){return w.call(this)}),r&&!y||!h&&!A&&T[f]||s(T,f,E),a[e]=E,a[C]=d,g)if(m={values:_?E:b("values"),keys:v?E:b("keys"),entries:N},y)for(I in m)I in T||o(T,I,m[I]);else i(i.P+i.F*(h||A),e,m);return m}},function(t,e,n){var r=n(30)("keys"),i=n(14);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(9).f,i=n(11),o=n(2)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(50);e.a={methods:{setEditorEvents:function(){var t=this;if(this.$amapComponent.editor&&this.events){var e=["addnode","adjust","removenode","end","move"],n={};Object.keys(this.events).forEach((function(r){-1!==e.indexOf(r)&&(n[r]=t.events[r])})),Object.keys(n).forEach((function(e){r.a.addListener(t.$amapComponent.editor,e,n[e])}))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=(n(65),n(45)),i=n.n(r),o=n(13),s=n(100),a=n(106),c=n(107),u=n(111),l=n(113),f=n(115),h=n(116),d=n(118),p=n(120),g=n(122),v=n(124),y=n(126),m=n(128),I=n(130),M=n(131);n.d(e,"AMapManager",(function(){return I.a})),n.d(e,"initAMapApiLoader",(function(){return o.a})),n.d(e,"createCustomComponent",(function(){return M.a})),n.d(e,"lazyAMapApiLoaderInstance",(function(){return o.b}));var b=[s.a,a.a,c.a,u.a,l.a,f.a,d.a,h.a,p.a,g.a,v.a,y.a,m.a],C={initAMapApiLoader:o.a,AMapManager:I.a,install:function(t){C.installed||(t.config.optionMergeStrategies.deferredReady=t.config.optionMergeStrategies.created,b.map((function(e){t.component(e.name,e),C[i()(e.name).replace(/^El/,"")]=e})))}};"undefined"!=typeof window&&window.Vue&&function t(e){t.installed||C.install(e)}(window.Vue),e.default=C},function(t,e,n){var r=n(29),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(3),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e,n){t.exports=!n(5)&&!n(15)((function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(4),i=n(3).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(3),i=n(16),o=n(8),s=n(7),a=n(17),c=function(t,e,n){var u,l,f,h,d=t&c.F,p=t&c.G,g=t&c.S,v=t&c.P,y=t&c.B,m=p?r:g?r[e]||(r[e]={}):(r[e]||{}).prototype,I=p?i:i[e]||(i[e]={}),M=I.prototype||(I.prototype={});for(u in p&&(n=e),n)l=!d&&m&&void 0!==m[u],f=(l?m:n)[u],h=y&&l?a(f,r):v&&"function"==typeof f?a(Function.call,f):f,m&&s(m,u,f,t&c.U),I[u]!=f&&o(I,u,h),v&&M[u]!=f&&(M[u]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(10),i=n(73),o=n(38),s=n(24)("IE_PROTO"),a=function(){},c=function(){var t,e=n(32)("iframe"),r=o.length;for(e.style.display="none",n(78).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(74),i=n(38);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(21),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(17),i=n(86),o=n(87),s=n(10),a=n(37),c=n(88),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,g,v,y=h?function(){return t}:c(t),m=r(n,f,e?2:1),I=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=a(t.length);d>I;I++)if((v=e?m(s(p=t[I])[0],p[1]):m(t[I]))===u||v===l)return v}else for(g=y.call(t);!(p=g.next()).done;)if((v=i(g,m,p.value,e))===u||v===l)return v};e.BREAK=u,e.RETURN=l},function(t,e,n){var r=n(14)("meta"),i=n(4),o=n(11),s=n(9).f,a=0,c=Object.isExtensible||function(){return!0},u=!n(15)((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";var r=n(96);t.exports=function(){var t=r.apply(r,arguments);return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}))).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(t,e,n){function r(t){for(var e=0;e<t.length;e++){var n=t[e],r=l[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(o(n.parts[i]));l[n.id]={id:n.id,refs:1,parts:s}}}}function i(){var t=document.createElement("style");return t.type="text/css",f.appendChild(t),t}function o(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(p)return g;r.parentNode.removeChild(r)}if(v){var o=d++;r=h||(h=i()),e=s.bind(null,r,o,!1),n=s.bind(null,r,o,!0)}else r=i(),e=a.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function s(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function a(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(103),l={},f=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,p=!1,g=function(){},v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){p=n;var i=u(t,e);return r(i),function(e){for(var n=[],o=0;o<i.length;o++){var s=i[o],a=l[s.id];a.refs--,n.push(a)}e?(i=u(t,e),r(i)):i=[];for(o=0;o<n.length;o++){a=n[o];if(0===a.refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete l[a.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){"use strict";var r=n(104),i=n(49),o=n(6),s=n(0),a=n(13),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.a={name:"el-amap",mixins:[s.a],props:["viewMode","skyColor","rotateEnable","pitch","buildingAnimation","pitchEnable","vid","events","center","zoom","draggEnable","level","zooms","lang","defaultCursor","crs","animateEnable","isHotspot","defaultLayer","rotateEnable","resizeEnable","showIndoorMap","indoorMap","expandZoomRange","dragEnable","zoomEnable","doubleClickZoom","keyboardEnable","jogEnable","scrollWheel","touchZoom","mapStyle","plugin","features","amapManager"],beforeCreate:function(){this._loadPromise=a.b.load()},destroyed:function(){this.$amap&&this.$amap.destroy()},computed:{plugins:function(){var t=[],e=/^AMap./,n=function(t){return e.test(t)?t:"AMap."+t},r=function(t){return t.replace(e,"")};return"string"==typeof this.plugin?t.push({pName:n(this.plugin),sName:r(this.plugin)}):this.plugin instanceof Array&&(t=this.plugin.map((function(t){var e={};return"string"==typeof t?e={pName:n(t),sName:r(t)}:(t.pName=n(t.pName),t.sName=r(t.pName),e=t),e}))),t}},data:function(){return{converters:{center:function(t){return Object(o.d)(t)}},handlers:{zoomEnable:function(t){this.setStatus({zoomEnable:t})},dragEnable:function(t){this.setStatus({dragEnable:t})},rotateEnable:function(t){this.setStatus({rotateEnable:t})}}}},mounted:function(){this.createMap()},addEvents:function(){var t=this;this.$amapComponent.on("moveend",(function(){var e=t.$amapComponent.getCenter();t.center=[e.getLng(),e.getLat()]}))},methods:{addPlugins:function(){var t=this.plugins.filter((function(t){return!AMap[t.sName]}));return t&&t.length?this.$amapComponent.plugin(t,this.addMapControls):this.addMapControls()},addMapControls:function(){var t=this;this.plugins&&this.plugins.length&&(this.$plugins=this.$plugins||{},this.plugins.forEach((function(e){var n=t.convertAMapPluginProps(e),r=t.$plugins[n.pName]=new AMap[n.sName](n);if(t.$amapComponent.addControl(r),e.events)for(var i in e.events){var o=e.events[i];"init"===i?o(r):AMap.event.addListener(r,i,o)}})))},convertAMapPluginProps:function(t){if("object"===(void 0===t?"undefined":c(t))&&t.pName){switch(t.pName){case"AMap.ToolBar":case"AMap.Scale":t.offset&&t.offset instanceof Array&&(t.offset=Object(o.e)(t.offset))}return t}return""},setStatus:function(t){this.$amap.setStatus(t)},createMap:function(){var t=this;this._loadPromise.then((function(){var e=t.$el.querySelector(".el-vue-amap"),n=t.vid||Object(r.a)();e.id=n,t.$amap=t.$amapComponent=new AMap.Map(n,t.convertProps()),t.amapManager&&t.amapManager.setMap(t.$amap),t.$emit(i.a.AMAP_READY_EVENT,t.$amap),t.$children.forEach((function(e){e.$emit(i.a.AMAP_READY_EVENT,t.$amap)})),t.plugins&&t.plugins.length&&t.addPlugins()}))},$$getCenter:function(){return this.$amap?Object(o.b)(this.$amap.getCenter()):Object(o.b)(this.center)}}}},function(t,e,n){"use strict";e.a={AMAP_READY_EVENT:"AMAP_READY_EVENT"}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=void 0,o=function(){function t(){r(this,t),this._listener=new Map}return t.prototype.addListener=function(t,e,n,r){if(!AMap.event)throw new Error("please wait for Map API load");var i=AMap.event.addListener(t,e,n,r);this._listener.get(t)||this._listener.set(t,{});var o=this._listener.get(t);o[e]||(o[e]=[]),o[e].push(i)},t.prototype.removeListener=function(t,e,n){if(!AMap.event)throw new Error("please wait for Map API load");if(this._listener.get(t)&&this._listener.get(t)[e]){var r=this._listener.get(t)[e];if(n){var i=r.indexOf(n);AMap.event.removeListener(r[i]),r.splice(i,1)}else r.forEach((function(t){AMap.event.removeListener(t)})),this._listener.get(t)[e]=[]}},t.prototype.addListenerOnce=function(t,e,n,r){return AMap.event.addListenerOnce(t,e,n,r)},t.prototype.trigger=function(t,e,n){return AMap.event.trigger(t,e,n)},t.prototype.clearListeners=function(t){var e=this,n=this._listener.get(t);n&&Object.keys(n).map((function(n){e.removeListener(t,n)}))},t}();i=i||new o,e.a=i},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(52),s=n(19),a=n.n(s),c="el-amap-marker";e.a={name:c,mixins:[r.a],props:["vid","position","offset","icon","content","topWhenClick","bubble","draggable","raiseOnDrag","cursor","visible","zIndex","angle","autoRotation","animation","shadow","title","clickable","shape","extData","label","events","onceEvents","template","vnode","contentRender"],data:function(){var t=this;return{$tagName:c,withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{shape:function(t){return new AMap.MarkerShape(t)},shadow:function(t){return new AMap.Icon(t)},template:function(e){var n=Object(o.a)(e,t);return this.$customContent=n,n.$el},vnode:function(e){var n="function"==typeof e?e(t):e,r=Object(o.c)(n);return this.$customContent=r,r.$el},contentRender:function(e){var n=Object(o.b)(e,t);return this.$customContent=n,n.$el},label:function(t){var e=t.content,n=void 0===e?"":e,r=t.offset,o=void 0===r?[0,0]:r;return{content:n,offset:Object(i.e)(o)}}},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}}}},created:function(){this.tmpVM=new a.a({data:function(){return{node:""}},render:function(t){var e=this.node;return t("div",{ref:"node"},Array.isArray(e)?e:[e])}}).$mount()},methods:{__initComponent:function(t){this.$slots.default&&this.$slots.default.length&&(t.content=this.tmpVM.$refs.node),this.$amapComponent=new AMap.Marker(t)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$getPosition:function(){return Object(i.b)(this.$amapComponent.getPosition())},$$getOffset:function(){return Object(i.c)(this.$amapComponent.getOffset())}},render:function(t){var e=this.$slots.default||[];return e.length&&(this.tmpVM.node=e),null},destroyed:function(){this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return c}));var r=n(19),i=n.n(r),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(t,e){var n=["methods","computed","data","filters"],r={},s=i.a.compile(t);n.forEach((function(t){r[t]=e.$parent.$parent.$options[t],"data"===t&&"function"==typeof r[t]&&(r[t]=r[t]())}));var a=new i.a(o({},r,s));return a.$mount(),a},a=function(t){var e=new i.a({render:function(e){return e("div",t)}});return e.$mount(),e},c=function(t,e){var n=new i.a({render:function(n){return t(n,e)}});return n.$mount(),n}},function(t,e,n){"use strict";var r=n(0),i=n(13);e.a={name:"el-amap-search-box",mixins:[r.a],props:["searchOption","onSearchResult","events","default"],data:function(){return{keyword:this.default||"",tips:[],selectedTip:-1,loaded:!1,adcode:null}},mounted:function(){var t=this;i.b.load().then((function(){t.loaded=!0,t._onSearchResult=t.onSearchResult,t.events&&t.events.init&&t.events.init({autoComplete:t._autoComplete,placeSearch:t._placeSearch})}))},computed:{_autoComplete:function(){if(this.loaded)return new AMap.Autocomplete(this.searchOption||{})},_placeSearch:function(){if(this.loaded)return new AMap.PlaceSearch(this.searchOption||{})}},methods:{autoComplete:function(){var t=this;this.keyword&&this._autoComplete&&this._autoComplete.search(this.keyword,(function(e,n){"complete"===e&&(t.tips=n.tips)}))},search:function(){var t=this;if(this.tips=[],this._placeSearch){var e=null;e=this.searchOption.citylimit&&this.searchOption.city?this.searchOption.city:this.adcode,this._placeSearch.setCity(e||this.searchOption.city),this._placeSearch.search(this.keyword,(function(e,n){if(n&&n.poiList&&n.poiList.count){var r=n.poiList.pois,i=r.map((function(t){return t.lat=t.location.lat,t.lng=t.location.lng,t}));t._onSearchResult(i)}else if(void 0===n.poiList)throw new Error(n)}))}},changeTip:function(t){this.adcode=t.adcode,this.keyword=t.name,this.search()},selectTip:function(t){"up"===t&&this.selectedTip>0?(this.selectedTip-=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode):"down"===t&&this.selectedTip+1<this.tips.length&&(this.selectedTip+=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode)}}}},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(26);e.a={name:"el-amap-circle",mixins:[r.a,o.a],props:["vid","zIndex","center","bubble","radius","strokeColor","strokeOpacity","strokeWeight","editable","fillColor","fillOpacity","strokeStyle","extData","strokeDasharray","events","visible","extData","onceEvents"],data:function(){return{converters:{center:function(t){return Object(i.d)(t)}},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()},editable:function(t){!0===t?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Circle(t),this.$amapComponent.editor=new AMap.CircleEditor(this.$amap,this.$amapComponent)},$$getCenter:function(){return Object(i.b)(this.$amapComponent.getCenter())}}}},function(t,e,n){"use strict";var r=n(0);e.a={name:"el-amap-ground-image",mixins:[r.a],props:["vid","clickable","opacity","url","bounds","visible","events","onceEvents"],destroyed:function(){this.$amapComponent.setMap(null)},data:function(){return{converters:{},handlers:{visible:function(t){!1===t?this.setMap(null):this.setMap(this.$amap)}}}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.ImageLayer(t)}}}},function(t,e,n){"use strict";var r=n(6),i=n(0),o=n(52),s=n(19),a=n.n(s);e.a={name:"el-amap-info-window",mixins:[i.a],props:["vid","isCustom","autoMove","closeWhenClickMap","content","size","offset","position","showShadow","visible","events","template","vnode","contentRender"],data:function(){var t=this;return{withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{template:function(e){var n=Object(o.a)(e,t);return this.$customContent=n,n.$el},vnode:function(e){var n="function"==typeof e?e(t):e,r=Object(o.c)(n);return this.$customContent=r,r.$el},contentRender:function(e){var n=Object(o.b)(e,t);return this.$customContent=n,n.$el}},handlers:{visible:function(e){var n=this.getPosition();n&&(!1===e?this.close():this.open(t.$amap,[n.lng,n.lat]))},template:function(t){this.setContent(t)}}}},created:function(){this.tmpVM=new a.a({data:function(){return{node:""}},render:function(t){var e=this.node;return t("div",{ref:"node"},Array.isArray(e)?e:[e])}}).$mount()},destroyed:function(){this.$amapComponent.close(),this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()},methods:{__initComponent:function(t){this.$slots.default&&this.$slots.default.length&&(t.content=this.tmpVM.$refs.node),delete t.map,this.$amapComponent=new AMap.InfoWindow(t),!1!==this.visible&&this.$amapComponent.open(this.$amap,Object(r.d)(this.position))}},render:function(t){var e=this.$slots.default||[];return e.length&&(this.tmpVM.node=e),null}}},function(t,e,n){"use strict";var r=n(0),i=n(26),o=n(6);e.a={name:"el-amap-polyline",mixins:[r.a,i.a],props:["vid","zIndex","visible","editable","bubble","geodesic","isOutline","outlineColor","path","strokeColor","strokeOpacity","strokeWeight","strokeStyle","strokeDasharray","events","extData","onceEvents","lineJoin"],data:function(){return{converters:{},handlers:{visible:function(t){!1===t?this.hide():this.show()},editable:function(t){!0===t?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Polyline(t),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getBounds:function(){return this.$amapComponent.getBounds()},$$getExtData:function(){return this.$amapComponent.getExtData()}}}},function(t,e,n){"use strict";var r=n(0),i=n(26),o=n(6);e.a={name:"el-amap-polygon",mixins:[r.a,i.a],props:["vid","zIndex","path","bubble","strokeColor","strokeOpacity","strokeWeight","fillColor","editable","fillOpacity","extData","strokeStyle","visible","strokeDasharray","events","onceEvents","draggable"],data:function(){return{converters:{},handlers:{visible:function(t){!1===t?this.hide():this.show()},zIndex:function(t){this.setOptions({zIndex:t})},editable:function(t){!0===t?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(){var t=this.convertProps();this.$amapComponent=new AMap.Polygon(t),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$contains:function(t){return Array.isArray(t)&&(t=new AMap.LngLat(t[0],t[1])),this.$amapComponent.getBounds().contains(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-text";e.a={name:i,mixins:[r.a],props:{vid:{type:String,default:""},text:{type:String,default:""},textAlign:{type:String,default:""},verticalAlign:{type:String,default:""},position:{type:Array,default:function(){return[0,0]},$type:"LngLat"},offset:{type:Array,default:function(){return[0,0]},$type:"Pixel"},topWhenClick:{type:Boolean,default:function(){return!1}},bubble:{type:Boolean,default:function(){return!1}},draggable:{type:Boolean,default:function(){return!1}},raiseOnDrag:{type:Boolean,default:function(){return!1}},cursor:{type:String,default:function(){return""}},visible:{type:Boolean,default:function(){return!0}},zIndex:{type:Number,default:function(){return 100}},angle:{type:Number,default:function(){return 0}},autoRotation:{type:Boolean,default:function(){return!1}},animation:{type:String,default:function(){return"“AMAP_ANIMATION_NONE”"}},shadow:{type:Object,default:function(){return{}},$type:"Icon"},title:{type:String,default:function(){return""}},clickable:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Text(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-bezier-curve";e.a={name:i,mixins:[r.a],props:{vid:{type:String},path:{type:Array},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number,default:function(){return 1}},strokeStyle:{type:String},strokeDasharray:{type:Array},zIndex:{type:Number},showDir:{type:Boolean},bubble:{type:Boolean},cursor:{type:String},outlineColor:{type:Boolean},isOutline:{type:Boolean},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.BezierCurve(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-circle-marker";e.a={name:i,mixins:[r.a],props:{vid:{type:String},zIndex:{type:Number},visible:{type:Boolean,default:!0},center:{type:Array,$type:"LngLat"},bubble:{type:Boolean},radius:{type:Number},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},extData:{type:Object},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.CircleMarker(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-ellipse";e.a={name:i,mixins:[r.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},radius:{type:Array,default:function(){return[1e3,1e3]}},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Ellipse(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-rectangle";e.a={name:i,mixins:[r.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},bounds:{type:Array,$type:"Bounds"},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Rectangle(t)}}}},function(t,e,n){t.exports=n(27)},function(t,e,n){"use strict";var r=n(66);n.n(r)},function(t,e,n){n(67),n(68),n(81),n(84),t.exports=n(16).Map},function(t,e,n){"use strict";var r=n(28),i={};i[n(2)("toStringTag")]="z",i+""!="[object z]"&&n(7)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){"use strict";var r=n(69)(!0);n(23)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(21),i=n(22);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(35),i=n(20),o=n(25),s={};n(8)(s,n(2)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(9),i=n(10),o=n(36);t.exports=n(5)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},function(t,e,n){var r=n(11),i=n(18),o=n(76)(!1),s=n(24)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(29);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(18),i=n(37),o=n(77);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(21),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(3).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(11),i=n(80),o=n(24)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(22);t.exports=function(t){return Object(r(t))}},function(t,e,n){for(var r=n(82),i=n(36),o=n(7),s=n(3),a=n(8),c=n(12),u=n(2),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={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=i(d),g=0;g<p.length;g++){var v,y=p[g],m=d[y],I=s[y],M=I&&I.prototype;if(M&&(M[l]||a(M,l,h),M[f]||a(M,f,y),c[y]=h,m))for(v in r)M[v]||o(M,v,r[v],!0)}},function(t,e,n){"use strict";var r=n(83),i=n(39),o=n(12),s=n(18);t.exports=n(23)(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(2)("unscopables"),i=Array.prototype;void 0==i[r]&&n(8)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){"use strict";var r=n(85),i=n(44);t.exports=n(90)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(9).f,i=n(35),o=n(40),s=n(17),a=n(41),c=n(42),u=n(23),l=n(39),f=n(89),h=n(5),d=n(43).fastKey,p=n(44),g=h?"_s":"size",v=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){a(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&c(r,n,t[u],t)}));return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=p(this,e),r=v(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(t){p(this,e);for(var n,r=s(t,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(t){return!!v(p(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return p(this,e)[g]}}),l},def:function(t,e,n){var r,i,o=v(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,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)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(12),i=n(2)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(28),i=n(2)("iterator"),o=n(12);t.exports=n(16).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(3),i=n(9),o=n(5),s=n(2)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(3),i=n(34),o=n(7),s=n(40),a=n(43),c=n(42),u=n(41),l=n(4),f=n(15),h=n(91),d=n(25),p=n(92);t.exports=function(t,e,n,g,v,y){var m=r[t],I=m,M=v?"set":"add",b=I&&I.prototype,C={},_=function(t){var e=b[t];o(b,t,"delete"==t||"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof I&&(y||b.forEach&&!f((function(){(new I).entries().next()})))){var A=new I,T=A[M](y?{}:-0,1)!=A,w=f((function(){A.has(1)})),E=h((function(t){new I(t)})),N=!y&&f((function(){for(var t=new I,e=5;e--;)t[M](e,e);return!t.has(-0)}));E||(I=e((function(e,n){u(e,I,t);var r=p(new m,e,I);return void 0!=n&&c(n,v,r[M],r),r})),I.prototype=b,b.constructor=I),(w||N)&&(_("delete"),_("has"),v&&_("get")),(N||T)&&_(M),y&&b.clear&&delete b.clear}else I=g.getConstructor(e,t,v,M),s(I.prototype,n),a.NEED=!0;return d(I,t),C[t]=I,i(i.G+i.W+i.F*(I!=m),C),y||g.setStrong(I,t,v),I}},function(t,e,n){var r=n(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){var r=n(4),i=n(93).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){var r=n(4),i=n(10),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(17)(Function.call,n(94).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){var r=n(95),i=n(20),o=n(18),s=n(33),a=n(11),c=n(31),u=Object.getOwnPropertyDescriptor;e.f=n(5)?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";t.exports=function(){var t=[].map.call(arguments,(function(t){return t.trim()})).filter((function(t){return t.length})).join("-");return t.length?1!==t.length&&/[_.\- ]+/.test(t)?t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(t,e){return e.toUpperCase()})):t[0]===t[0].toLowerCase()&&t.slice(1)!==t.slice(1).toLowerCase()?t:t.toLowerCase():""}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(98),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s={key:null,v:"1.4.4",protocol:"https",hostAndPath:"webapi.amap.com/maps",plugin:[],callback:"amapInitComponent"},a=function(){function t(e){r(this,t),this._config=o({},s,e),this._document=document,this._window=window,this._scriptLoaded=!1,this._queueEvents=[i.a]}return t.prototype.load=function(){var t=this;if(this._window.AMap&&this._window.AMap.Map)return this.loadUIAMap();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;var e=this._document.createElement("script");e.type="text/javascript",e.async=!0,e.defer=!0,e.src=this._getScriptSrc();var n=this._config.uiVersion?this.loadUIAMap():null;return this._scriptLoadingPromise=new Promise((function(r,i){t._window.amapInitComponent=function(){for(;t._queueEvents.length;)t._queueEvents.pop().apply();if(!n)return r();n.then((function(){window.initAMapUI(),setTimeout(r)}))},e.onerror=function(t){return i(t)}})),this._document.head.appendChild(e),this._scriptLoadingPromise},t.prototype.loadUIAMap=function(){var t=this;return!this._config.uiVersion||window.AMapUI?Promise.resolve():new Promise((function(e,n){var r=document.createElement("script"),i=t._config.uiVersion.split("."),o=i[0],s=i[1],a=i[2];if(void 0!==o&&void 0!==s){var c=t._config.protocol+"://webapi.amap.com/ui/"+o+"."+s+"/main-async.js";a&&(c+="?v="+o+"."+s+"."+a),r.src=c,r.type="text/javascript",r.async=!0,t._document.head.appendChild(r),r.onload=function(){setTimeout(e,0)},r.onerror=function(){return n()}}else console.error("amap ui version is not correct, please check! version: ",t._config.uiVersion)}))},t.prototype._getScriptSrc=function(){var t=/^AMap./,e=this._config,n=["v","key","plugin","callback"];if(e.plugin&&e.plugin.length>0){e.plugin.push("Autocomplete","PlaceSearch","PolyEditor","CircleEditor");var r=[];e.plugin.forEach((function(e){var n=t.test(e)?e:"AMap."+e,i=n.replace(t,"");r.push(n,i)})),e.plugin=r}var i=Object.keys(e).filter((function(t){return~n.indexOf(t)})).filter((function(t){return null!=e[t]})).filter((function(t){return!Array.isArray(e[t])||Array.isArray(e[t])&&e[t].length>0})).map((function(t){var n=e[t];return Array.isArray(n)?{key:t,value:n.join(",")}:{key:t,value:n}})).map((function(t){return t.key+"="+t.value})).join("&");return this._config.protocol+"://"+this._config.hostAndPath+"?"+i},t}();e.a=a},function(t,e,n){"use strict";function r(){if(AMap.UA.ios&&"https:"!==document.location.protocol){var t=new i.a;navigator.geolocation.getCurrentPosition=function(){return t.getCurrentPosition.apply(t,arguments)},navigator.geolocation.watchPosition=function(){return t.watchPosition.apply(t,arguments)}}}e.a=r;var i=n(99)},function(t,e,n){"use strict";function r(){this._remoteSvrUrl="https://webapi.amap.com/html/geolocate.html",this._callbackList=[],this._seqBase=1,this._frameReady=0,this._watchIdMap={}}r.prototype={_getSeq:function(){return this._seqBase++},_onRrameReady:function(t){if(0===this._frameReady)return this._frameReadyList||(this._frameReadyList=[]),this._frameReadyList.push(t),void this._prepareIframe();t.call(this)},_prepareIframe:function(){if(!this._iframeWin){var t=document.createElement("iframe");t.src=this._remoteSvrUrl+(this._remoteSvrUrl.indexOf("?")>0?"&":"?"),t.width="0px",t.height="0px",t.style.position="absolute",t.style.display="none",t.allow="geolocation";var e=this,n=setTimeout((function(){e._frameReady=!1,e._callbackFrameReadyList()}),5e3);t.onload=function(){clearTimeout(n),e._frameReady=!0,e._callbackFrameReadyList(),t.onload=null},document.body.appendChild(t),this._iframeWin=t.contentWindow,window.addEventListener("message",(function(t){0===e._remoteSvrUrl.indexOf(t.origin)&&e._handleRemoteMsg(t.data)}),!1)}},_callbackFrameReadyList:function(){if(this._frameReadyList){var t=this._frameReadyList;this._frameReadyList=null;for(var e=0,n=t.length;e<n;e++)t[e].call(this,this._frameReady)}},_pickCallback:function(t,e){for(var n=this._callbackList,r=0,i=n.length;r<i;r++){var o=n[r];if(t===o.seq)return e||n.splice(r,1),o}},_handleRemoteMsg:function(t){var e=t.seq,n=this._pickCallback(e,!!t.notify);n?n.cbk.call(null,t.error,t.result):console.warn("Receive remote msg: ",t)},_postMessage:function(t,e,n,r){this._prepareIframe();var i={cmd:t,args:e,seq:r||this._getSeq()};this._callbackList.push({cbk:n,seq:i.seq}),this._onRrameReady((function(){if(!0===this._frameReady)try{this._iframeWin.postMessage(i,"*")}catch(t){this._pickCallback(i.seq),n(t)}else this._pickCallback(i.seq),n({message:"iFrame load failed!"})}))},getCurrentPosition:function(t,e,n){this._postMessage("getCurrentPosition",[n],(function(n,r){n?e&&e(n):t&&t(r)}))},watchPosition:function(t,e,n){var r="wk"+this._getSeq(),i=this._getSeq();this._watchIdMap[r]={stat:0,seq:i};var o=this;return this._postMessage("watchPosition",[n],(function(n,i){var s=null;i&&(s=i.id);var a=o._watchIdMap[r];if(a.id=s,a.stat=1,a.callbackList){var c=a.callbackList;a.callbackList=null;for(var u=0,l=c.length;u<l;u++)c[u].call(o,s)}n?e&&e(n):t&&t(i.pos)}),i),r},clearWatch:function(t,e){function n(n){i._postMessage("clearWatch",[n],(function(n,o){n||(i._pickCallback(r.seq),delete i._watchIdMap[t]),e&&e(n,o)}))}if(this._watchIdMap[t]){var r=this._watchIdMap[t],i=this;r.stat<1?(r.callbackList||(r.callbackList=[]),r.callbackList.push((function(t){n(t)}))):n(r.id)}else e("Id not exists: "+t)}},e.a=r},function(t,e,n){"use strict";function r(t){n(101)}var i=n(48),o=n(105),s=n(1),a=r,c=Object(s.a)(i.a,o.a,o.b,!1,a,null,null);e.a=c.exports},function(t,e,n){var r=n(102);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(47)("d6014b94",r,!0)},function(t,e,n){e=t.exports=n(46)(!1),e.push([t.i,".el-vue-amap-container,.el-vue-amap-container .el-vue-amap{height:100%}",""])},function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a=o[1],c=o[2],u=o[3],l={id:t+":"+i,css:a,media:c,sourceMap:u};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}return n}},function(t,e,n){"use strict";function r(){for(var t=[],e="0123456789abcdef",n=0;n<36;n++)t[n]=e.substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-vue-amap-container"},[n("div",{staticClass:"el-vue-amap"}),t._v(" "),t._t("default")],2)},i=[]},function(t,e,n){"use strict";var r=n(51),i=n(1),o=Object(i.a)(r.a,void 0,void 0,!1,null,null,null);e.a=o.exports},function(t,e,n){"use strict";function r(t){n(108)}var i=n(53),o=n(110),s=n(1),a=r,c=Object(s.a)(i.a,o.a,o.b,!1,a,null,null);e.a=c.exports},function(t,e,n){var r=n(109);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(47)("80e271aa",r,!0)},function(t,e,n){e=t.exports=n(46)(!1),e.push([t.i,".el-vue-search-box-container{position:relative;width:360px;height:45px;background:#fff;box-shadow:0 2px 2px rgba(0,0,0,.15);border-radius:2px 3px 3px 2px;z-index:10}.el-vue-search-box-container .search-box-wrapper{position:absolute;display:flex;align-items:center;left:0;top:0;width:100%;height:100%;box-sizing:border-box}.el-vue-search-box-container .search-box-wrapper input{flex:1;height:20px;line-height:20px;letter-spacing:.5px;font-size:14px;text-indent:10px;box-sizing:border-box;border:none;outline:none}.el-vue-search-box-container .search-box-wrapper .search-btn{width:45px;height:100%;display:flex;align-items:center;justify-content:center;background:transparent;cursor:pointer}.el-vue-search-box-container .search-tips{position:absolute;top:100%;border:1px solid #dbdbdb;background:#fff;overflow:auto}.el-vue-search-box-container .search-tips ul{padding:0;margin:0}.el-vue-search-box-container .search-tips ul li{height:40px;line-height:40px;box-shadow:0 1px 1px rgba(0,0,0,.1);padding:0 10px;cursor:pointer}.el-vue-search-box-container .search-tips ul li.autocomplete-selected{background:#eee}",""])},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-vue-search-box-container",on:{keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;t.selectTip("up")},function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;t.selectTip("down")}]}},[n("div",{staticClass:"search-box-wrapper"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],attrs:{type:"text"},domProps:{value:t.keyword},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.search(e):null},input:[function(e){e.target.composing||(t.keyword=e.target.value)},t.autoComplete]}}),t._v(" "),n("span",{staticClass:"search-btn",on:{click:t.search}},[t._v("搜索")])]),t._v(" "),n("div",{staticClass:"search-tips"},[n("ul",t._l(t.tips,(function(e,r){return n("li",{key:r,class:{"autocomplete-selected":r===t.selectedTip},on:{click:function(n){t.changeTip(e)},mouseover:function(e){t.selectedTip=r}}},[t._v(t._s(e.name))])})))])])},i=[]},function(t,e,n){"use strict";var r=n(54),i=n(112),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(55),i=n(114),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(56),i=n(1),o=Object(i.a)(r.a,void 0,void 0,!1,null,null,null);e.a=o.exports},function(t,e,n){"use strict";var r=n(57),i=n(117),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(58),i=n(119),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(59),i=n(121),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(60),i=n(123),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(61),i=n(125),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(62),i=n(127),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(63),i=n(129),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(){r(this,t),this._componentMap=new Map,this._map=null}return t.prototype.setMap=function(t){this._map=t},t.prototype.getMap=function(){return this._map},t.prototype.setComponent=function(t,e){this._componentMap.set(t,e)},t.prototype.getComponent=function(t){return this._componentMap.get(t)},t.prototype.getChildInstance=function(t){return this.getComponent(t)},t.prototype.removeComponent=function(t){this._componentMap.delete(t)},t}();e.a=i},function(t,e,n){"use strict";var r=n(0),i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.a=function(t){var e=t.init,n=t.data,o=void 0===n?function(){return{}}:n,s=t.converters,a=void 0===s?{}:s,c=t.handlers,u=void 0===c?{}:c,l=t.computed,f=t.methods,h=t.name,d=t.render,p=t.contextReady,g=t.template,v=t.mixins,y=void 0===v?[]:v,m=t.props,I=void 0===m?{}:m,M=i({},t,{props:I,data:function(){return i({},o(),{converters:a,handlers:u})},mixins:[r.a].concat(y),computed:l,methods:i({},f,{__initComponent:e,__contextReady:p})});return g||d||(M.render=function(){return null}),M.install=function(t){return t.use(h,M)},M}}])}))},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"903e":function(t,e,n){"use strict";(function(t){var r;n.d(e,"a",(function(){return ls})),n.d(e,"b",(function(){return me})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return Co})),n.d(e,"e",(function(){return N})),n.d(e,"f",(function(){return q})),n.d(e,"g",(function(){return ge})),n.d(e,"h",(function(){return O})),n.d(e,"i",(function(){return Yi})),n.d(e,"j",(function(){return dt})),n.d(e,"k",(function(){return de})),n.d(e,"l",(function(){return ct})),n.d(e,"m",(function(){return Z})),n.d(e,"n",(function(){return nt})),n.d(e,"o",(function(){return $i})),n.d(e,"p",(function(){return st})),n.d(e,"q",(function(){return it})),n.d(e,"r",(function(){return o})),n.d(e,"s",(function(){return It})),n.d(e,"t",(function(){return lt})),n.d(e,"u",(function(){return Ie})),n.d(e,"v",(function(){return bo})),n.d(e,"w",(function(){return T})),n.d(e,"x",(function(){return Ee})),n.d(e,"y",(function(){return Rt})),n.d(e,"z",(function(){return R})),n.d(e,"A",(function(){return x})),n.d(e,"B",(function(){return Y})),n.d(e,"C",(function(){return L})),n.d(e,"D",(function(){return D})),n.d(e,"E",(function(){return B})),n.d(e,"F",(function(){return H})),n.d(e,"G",(function(){return V})),n.d(e,"H",(function(){return ne})),n.d(e,"I",(function(){return P})),n.d(e,"J",(function(){return k})),n.d(e,"K",(function(){return Be})),function(t){t[t.READ=1]="READ",t[t.LISTENED=2]="LISTENED",t[t.DOWNLOADED=4]="DOWNLOADED",t[t.RETRIEVED=8]="RETRIEVED",t[t.UNREAD=0]="UNREAD"}(r||(r={}));var i,o=r,s=["https://nav.cn.ronghub.com","https://nav2-cn.ronghub.com"],a=["wsproxy.cn.ronghub.com","wsap-cn.ronghub.com"],c=["cometproxy-cn.ronghub.com","mini-cn.ronghub.com"],u={"RC:TxtMsg":{isCounted:!0,isPersited:!0},"RC:ImgMsg":{isCounted:!0,isPersited:!0},"RC:VcMsg":{isCounted:!0,isPersited:!0},"RC:ImgTextMsg":{isCounted:!0,isPersited:!0},"RC:FileMsg":{isCounted:!0,isPersited:!0},"RC:HQVCMsg":{isCounted:!0,isPersited:!0},"RC:LBSMsg":{isCounted:!0,isPersited:!0},"RC:PSImgTxtMsg":{isCounted:!0,isPersited:!0},"RC:PSMultiImgTxtMsg":{isCounted:!0,isPersited:!0},"RCJrmf:RpMsg":{isCounted:!0,isPersited:!0},"RCJrmf:RpOpendMsg":{isCounted:!0,isPersited:!0},"RC:CombineMsg":{isCounted:!0,isPersited:!0},"RC:ReferenceMsg":{isCounted:!0,isPersited:!0},"RC:SightMsg":{isCounted:!0,isPersited:!0},"RC:GIFMsg":{isCounted:!0,isPersited:!0},"RC:InfoNtf":{isCounted:!1,isPersited:!0},"RC:ContactNtf":{isCounted:!1,isPersited:!0},"RC:ProfileNtf":{isCounted:!1,isPersited:!0},"RC:CmdNtf":{isCounted:!1,isPersited:!0},"RC:GrpNtf":{isCounted:!1,isPersited:!0},"RC:RcCmd":{isCounted:!1,isPersited:!0},"RC:CmdMsg":{isCounted:!1,isPersited:!1},"RC:TypSts":{isCounted:!1,isPersited:!1},"RC:PSCmd":{isCounted:!1,isPersited:!1},"RC:SRSMsg":{isCounted:!1,isPersited:!1},"RC:RRReqMsg":{isCounted:!1,isPersited:!1},"RC:RRRspMsg":{isCounted:!1,isPersited:!1},"RC:CsChaR":{isCounted:!1,isPersited:!1},"RC:CSCha":{isCounted:!1,isPersited:!1},"RC:CsEva":{isCounted:!1,isPersited:!1},"RC:CsContact":{isCounted:!1,isPersited:!1},"RC:CsHs":{isCounted:!1,isPersited:!1},"RC:CsHsR":{isCounted:!1,isPersited:!1},"RC:CsSp":{isCounted:!1,isPersited:!1},"RC:CsEnd":{isCounted:!1,isPersited:!1},"RC:CsUpdate":{isCounted:!1,isPersited:!1},"RC:ReadNtf":{isCounted:!1,isPersited:!1},"RC:chrmKVNotiMsg":{isCounted:!1,isPersited:!1},"RC:VCAccept":{isCounted:!1,isPersited:!1},"RC:VCRinging":{isCounted:!1,isPersited:!1},"RC:VCSummary":{isCounted:!1,isPersited:!1},"RC:VCHangup":{isCounted:!1,isPersited:!1},"RC:VCInvite":{isCounted:!1,isPersited:!1},"RC:VCModifyMedia":{isCounted:!1,isPersited:!1},"RC:VCModifyMem":{isCounted:!1,isPersited:!1},"RC:MsgExMsg":{isCounted:!1,isPersited:!1},"RC:RRMsg":{isCounted:!1,isPersited:!1},"RC:LogCmdMsg":{isCounted:!1,isPersited:!1},"RC:InterceptMsg":{isCounted:!1,isPersited:!1}},l=["RC:TypSts","RC:InterceptMsg"];!function(t){t.WEBSOCKET="websocket",t.COMET="comet"}(i||(i={}));var f,h=function(t){return f||(f={set:function(e,n){t.localStorage.setItem(e,JSON.stringify(n))},get:function(e){var n;try{n=JSON.parse(t.localStorage.getItem(e))}catch(t){n=null}return n},remove:function(e){return t.localStorage.removeItem(e)},getKeys:function(){var e=[];for(var n in t.localStorage)e.push(n);return e}}),f},d=function(){function t(t){this._caches={},t&&(this._caches=t)}return t.prototype.set=function(t,e){this._caches[t]=e},t.prototype.remove=function(t){var e=this.get(t);return delete this._caches[t],e},t.prototype.get=function(t){return this._caches[t]},t.prototype.getKeys=function(){var t=[];for(var e in this._caches)t.push(e);return t},t}(),p=function(){function t(t,e){var n,r=e?"".concat("RCV4-").concat(e):"RCV4-";this._rootStorage=h(t);var i=this._rootStorage.get(r)||{};this._cache=new d(((n={})[r]=i,n)),this._storageKey=r}return t.prototype._get=function(){var t=this._storageKey;return this._cache.get(t)||{}},t.prototype._set=function(t){var e=this._storageKey;t=t||{},this._cache.set(e,t),this._rootStorage.set(e,t)},t.prototype.set=function(t,e){var n=this._get();n[t]=e,this._set(n)},t.prototype.remove=function(t){var e=this._get();delete e[t],this._set(e)},t.prototype.clear=function(){var t=this._storageKey;this._rootStorage.remove(t),this._cache.remove(t)},t.prototype.get=function(t){return this._get()[t]},t.prototype.getKeys=function(){var t=this._get(),e=[];for(var n in t)e.push(n);return e},t.prototype.getValues=function(){return this._get()||{}},t}(),v=function(t,e){return v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},v(t,e)};function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}v(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var m=function(){return m=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},m.apply(this,arguments)};function I(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))}function M(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function b(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}(function(t){function e(e){return t.call(this,"TODO => ".concat(e))||this}y(e,t)})(Error);var C,_=function(t,e,n){if(void 0===e||void 0===n)return t.toUpperCase();var r=t.slice(e,n);return t.replace(r,(function(t){return t.toUpperCase()}))},A=function(t,e){void 0===e&&(e="utf-8");var n,r=0;if("utf-16"===e)for(var i=0,o=t.length;i<o;i++)r+=(n=t.charCodeAt(i))<=65535?2:4;else for(i=0,o=t.length;i<o;i++)r+=(n=t.charCodeAt(i))<127?1:n<=2047?2:n<=65535?3:4;return r},T=function(t,e){if(t=t.replace(/\?$/,""),!e)return t;var n=Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).filter((function(t){return!!t}));return n.length?[t,n.join("&")].join("?"):t},w=function(t){return t.match(/\d+(\.\d+){2}/)[0]};!function(t){t[t.NONE=0]="NONE",t[t.PRIVATE=1]="PRIVATE",t[t.DISCUSSION=2]="DISCUSSION",t[t.GROUP=3]="GROUP",t[t.CHATROOM=4]="CHATROOM",t[t.CUSTOMER_SERVICE=5]="CUSTOMER_SERVICE",t[t.SYSTEM=6]="SYSTEM",t[t.APP_PUBLIC_SERVICE=7]="APP_PUBLIC_SERVICE",t[t.PUBLIC_SERVICE=8]="PUBLIC_SERVICE",t[t.ULTRA_GROUP=10]="ULTRA_GROUP",t[t.RTC_ROOM=12]="RTC_ROOM"}(C||(C={}));var E,N=C;!function(t){t[t.IMAGE=1]="IMAGE",t[t.AUDIO=2]="AUDIO",t[t.VIDEO=3]="VIDEO",t[t.FILE=4]="FILE",t[t.SIGHT=5]="SIGHT",t[t.COMBINE_HTML=6]="COMBINE_HTML"}(E||(E={}));var S,O=E,D=function(t){return"string"==typeof t},x=function(t){return"boolean"==typeof t},L=function(t){return"number"==typeof t&&!isNaN(t)},R=function(t){return-1!==Object.prototype.toString.call(t).indexOf("Array")},j=function(t){return"[object ArrayBuffer]"===Object.prototype.toString.call(t)},k=function(t){return D(t)&&t.length>0},P=function(t){return R(t)&&t.length>0},U=function(t){return"[object Object]"===Object.prototype.toString.call(t)},z=function(t){return"[object Function]"===Object.prototype.toString.call(t)},B=function(t){return void 0===t||"[object Undefined]"===Object.prototype.toString.call(t)},G=function(t){return"[object Null]"===Object.prototype.toString.call(t)},Y=function(t){return D(t)&&/https?:\/\//.test(t)},$=function(t){for(var e in t)return!0;return!1},H=function(t){return L(t)&&Object.prototype.hasOwnProperty.call(N,t)},F=function(t){var e=!1;return D(t)&&!/_/g.test(t)&&t.length<=20&&(e=!0),e},V=function(t){return L(t)&&Object.prototype.hasOwnProperty.call(O,t)},Q=function(t){var e=!1,n=!1,r=!1;if(U(t)){var i=Object.keys(t).length;for(var o in e=i>20,t)if(n||(n=D(o)&&!/^[A-Za-z0-9_=+-]+$/.test(o)),!r){var s=t[o];r=o.length>32||s.length>4096}}return{isExceedLimit:e,isIllgalEx:n,isExKeyOrValLengthExceedLimit:r}};!function(t){t[t.SEND=1]="SEND",t[t.RECEIVE=2]="RECEIVE"}(S||(S={}));var W,Z=S;!function(t){t[t.TIMEOUT=-1]="TIMEOUT",t[t.UNKNOWN=-2]="UNKNOWN",t[t.PARAMETER_ERROR=-3]="PARAMETER_ERROR",t[t.EXTRA_METHOD_UNDEFINED=-4]="EXTRA_METHOD_UNDEFINED",t[t.MAIN_PROCESS_ERROR=-5]="MAIN_PROCESS_ERROR",t[t.PARAMETER_CHANGED=-6]="PARAMETER_CHANGED",t[t.SUCCESS=0]="SUCCESS",t[t.RC_DISCUSSION_GROUP_ID_INVALID=20407]="RC_DISCUSSION_GROUP_ID_INVALID",t[t.SEND_FREQUENCY_TOO_FAST=20604]="SEND_FREQUENCY_TOO_FAST",t[t.NOT_IN_DISCUSSION=21406]="NOT_IN_DISCUSSION",t[t.FORBIDDEN_IN_GROUP=22408]="FORBIDDEN_IN_GROUP",t[t.RECALL_MESSAGE=25101]="RECALL_MESSAGE",t[t.NOT_IN_GROUP=22406]="NOT_IN_GROUP",t[t.NOT_IN_CHATROOM=23406]="NOT_IN_CHATROOM",t[t.FORBIDDEN_IN_CHATROOM=23408]="FORBIDDEN_IN_CHATROOM",t[t.RC_CHATROOM_USER_KICKED=23409]="RC_CHATROOM_USER_KICKED",t[t.RC_CHATROOM_NOT_EXIST=23410]="RC_CHATROOM_NOT_EXIST",t[t.RC_CHATROOM_IS_FULL=23411]="RC_CHATROOM_IS_FULL",t[t.RC_CHATROOM_PATAMETER_INVALID=23412]="RC_CHATROOM_PATAMETER_INVALID",t[t.CHATROOM_GET_HISTORYMSG_ERROR=23413]="CHATROOM_GET_HISTORYMSG_ERROR",t[t.CHATROOM_NOT_OPEN_HISTORYMSG_STORE=23414]="CHATROOM_NOT_OPEN_HISTORYMSG_STORE",t[t.CHATROOM_KV_EXCEED=23423]="CHATROOM_KV_EXCEED",t[t.CHATROOM_KV_OVERWRITE_INVALID=23424]="CHATROOM_KV_OVERWRITE_INVALID",t[t.CHATROOM_KV_STORE_NOT_OPEN=23426]="CHATROOM_KV_STORE_NOT_OPEN",t[t.CHATROOM_KEY_NOT_EXIST=23427]="CHATROOM_KEY_NOT_EXIST",t[t.CHATROOM_KV_SET_ERROR=23431]="CHATROOM_KV_SET_ERROR",t[t.SENSITIVE_SHIELD=21501]="SENSITIVE_SHIELD",t[t.SENSITIVE_REPLACE=21502]="SENSITIVE_REPLACE",t[t.JOIN_IN_DISCUSSION=21407]="JOIN_IN_DISCUSSION",t[t.CREATE_DISCUSSION=21408]="CREATE_DISCUSSION",t[t.INVITE_DICUSSION=21409]="INVITE_DICUSSION",t[t.GET_USERINFO_ERROR=23407]="GET_USERINFO_ERROR",t[t.REJECTED_BY_BLACKLIST=405]="REJECTED_BY_BLACKLIST",t[t.RC_NET_CHANNEL_INVALID=30001]="RC_NET_CHANNEL_INVALID",t[t.RC_NET_UNAVAILABLE=30002]="RC_NET_UNAVAILABLE",t[t.RC_MSG_RESP_TIMEOUT=30003]="RC_MSG_RESP_TIMEOUT",t[t.RC_HTTP_SEND_FAIL=30004]="RC_HTTP_SEND_FAIL",t[t.RC_HTTP_REQ_TIMEOUT=30005]="RC_HTTP_REQ_TIMEOUT",t[t.RC_HTTP_RECV_FAIL=30006]="RC_HTTP_RECV_FAIL",t[t.RC_NAVI_RESOURCE_ERROR=30007]="RC_NAVI_RESOURCE_ERROR",t[t.RC_NODE_NOT_FOUND=30008]="RC_NODE_NOT_FOUND",t[t.RC_DOMAIN_NOT_RESOLVE=30009]="RC_DOMAIN_NOT_RESOLVE",t[t.RC_SOCKET_NOT_CREATED=30010]="RC_SOCKET_NOT_CREATED",t[t.RC_SOCKET_DISCONNECTED=30011]="RC_SOCKET_DISCONNECTED",t[t.RC_PING_SEND_FAIL=30012]="RC_PING_SEND_FAIL",t[t.RC_PONG_RECV_FAIL=30013]="RC_PONG_RECV_FAIL",t[t.RC_MSG_SEND_FAIL=30014]="RC_MSG_SEND_FAIL",t[t.RC_MSG_CONTENT_EXCEED_LIMIT=30016]="RC_MSG_CONTENT_EXCEED_LIMIT",t[t.RC_CONN_ACK_TIMEOUT=31e3]="RC_CONN_ACK_TIMEOUT",t[t.RC_CONN_PROTO_VERSION_ERROR=31001]="RC_CONN_PROTO_VERSION_ERROR",t[t.RC_CONN_ID_REJECT=31002]="RC_CONN_ID_REJECT",t[t.RC_CONN_SERVER_UNAVAILABLE=31003]="RC_CONN_SERVER_UNAVAILABLE",t[t.RC_CONN_USER_OR_PASSWD_ERROR=31004]="RC_CONN_USER_OR_PASSWD_ERROR",t[t.RC_CONN_NOT_AUTHRORIZED=31005]="RC_CONN_NOT_AUTHRORIZED",t[t.RC_CONN_REDIRECTED=31006]="RC_CONN_REDIRECTED",t[t.RC_CONN_PACKAGE_NAME_INVALID=31007]="RC_CONN_PACKAGE_NAME_INVALID",t[t.RC_CONN_APP_BLOCKED_OR_DELETED=31008]="RC_CONN_APP_BLOCKED_OR_DELETED",t[t.RC_CONN_USER_BLOCKED=31009]="RC_CONN_USER_BLOCKED",t[t.RC_DISCONN_KICK=31010]="RC_DISCONN_KICK",t[t.RC_DISCONN_EXCEPTION=31011]="RC_DISCONN_EXCEPTION",t[t.RC_DISCONN_SAME_CLIENT_ON_LINE=31023]="RC_DISCONN_SAME_CLIENT_ON_LINE",t[t.RC_APP_AUTH_NOT_PASS=31026]="RC_APP_AUTH_NOT_PASS",t[t.RC_OTP_USED=31027]="RC_OTP_USED",t[t.RC_PLATFORM_ERROR=31028]="RC_PLATFORM_ERROR",t[t.RC_QUERY_ACK_NO_DATA=32001]="RC_QUERY_ACK_NO_DATA",t[t.RC_MSG_DATA_INCOMPLETE=32002]="RC_MSG_DATA_INCOMPLETE",t[t.BIZ_ERROR_CLIENT_NOT_INIT=33001]="BIZ_ERROR_CLIENT_NOT_INIT",t[t.BIZ_ERROR_DATABASE_ERROR=33002]="BIZ_ERROR_DATABASE_ERROR",t[t.BIZ_ERROR_INVALID_PARAMETER=33003]="BIZ_ERROR_INVALID_PARAMETER",t[t.BIZ_ERROR_NO_CHANNEL=33004]="BIZ_ERROR_NO_CHANNEL",t[t.BIZ_ERROR_RECONNECT_SUCCESS=33005]="BIZ_ERROR_RECONNECT_SUCCESS",t[t.BIZ_ERROR_CONNECTING=33006]="BIZ_ERROR_CONNECTING",t[t.MSG_ROAMING_SERVICE_UNAVAILABLE=33007]="MSG_ROAMING_SERVICE_UNAVAILABLE",t[t.MSG_INSERT_ERROR=33008]="MSG_INSERT_ERROR",t[t.MSG_DEL_ERROR=33009]="MSG_DEL_ERROR",t[t.TAG_EXISTS=33101]="TAG_EXISTS",t[t.TAG_NOT_EXIST=33100]="TAG_NOT_EXIST",t[t.NO_TAG_IN_CONVER=33102]="NO_TAG_IN_CONVER",t[t.CONVER_REMOVE_ERROR=34001]="CONVER_REMOVE_ERROR",t[t.CONVER_GETLIST_ERROR=34002]="CONVER_GETLIST_ERROR",t[t.CONVER_SETOP_ERROR=34003]="CONVER_SETOP_ERROR",t[t.CONVER_TOTAL_UNREAD_ERROR=34004]="CONVER_TOTAL_UNREAD_ERROR",t[t.CONVER_TYPE_UNREAD_ERROR=34005]="CONVER_TYPE_UNREAD_ERROR",t[t.CONVER_ID_TYPE_UNREAD_ERROR=34006]="CONVER_ID_TYPE_UNREAD_ERROR",t[t.EXPANSION_LIMIT_EXCEET=34010]="EXPANSION_LIMIT_EXCEET",t[t.MESSAGE_KV_NOT_SUPPORT=34008]="MESSAGE_KV_NOT_SUPPORT",t[t.CONVER_OUT_LIMIT_ERROR=34013]="CONVER_OUT_LIMIT_ERROR",t[t.CONVER_GET_ERROR=35021]="CONVER_GET_ERROR",t[t.GROUP_SYNC_ERROR=35001]="GROUP_SYNC_ERROR",t[t.GROUP_MATCH_ERROR=35002]="GROUP_MATCH_ERROR",t[t.READ_RECEIPT_ERROR=35003]="READ_RECEIPT_ERROR",t[t.PACKAGE_ENVIRONMENT_ERROR=35006]="PACKAGE_ENVIRONMENT_ERROR",t[t.CAN_NOT_RECONNECT=35007]="CAN_NOT_RECONNECT",t[t.SERVER_UNAVAILABLE=35008]="SERVER_UNAVAILABLE",t[t.HOSTNAME_ERROR=35009]="HOSTNAME_ERROR",t[t.HAS_OHTER_SAME_CLIENT_ON_LINE=35010]="HAS_OHTER_SAME_CLIENT_ON_LINE",t[t.METHOD_NOT_AVAILABLE=35011]="METHOD_NOT_AVAILABLE",t[t.METHOD_NOT_SUPPORT=35012]="METHOD_NOT_SUPPORT",t[t.MSG_LIMIT_ERROR=35013]="MSG_LIMIT_ERROR",t[t.METHOD_ONLY_SUPPORT_ULTRA_GROUP=35014]="METHOD_ONLY_SUPPORT_ULTRA_GROUP",t[t.UPLOAD_FILE_FAILED=35020]="UPLOAD_FILE_FAILED",t[t.CHATROOM_ID_ISNULL=36001]="CHATROOM_ID_ISNULL",t[t.CHARTOOM_JOIN_ERROR=36002]="CHARTOOM_JOIN_ERROR",t[t.CHATROOM_HISMESSAGE_ERROR=36003]="CHATROOM_HISMESSAGE_ERROR",t[t.CHATROOM_KV_NOT_FOUND=36004]="CHATROOM_KV_NOT_FOUND",t[t.BLACK_ADD_ERROR=37001]="BLACK_ADD_ERROR",t[t.BLACK_GETSTATUS_ERROR=37002]="BLACK_GETSTATUS_ERROR",t[t.BLACK_REMOVE_ERROR=37003]="BLACK_REMOVE_ERROR",t[t.DRAF_GET_ERROR=38001]="DRAF_GET_ERROR",t[t.DRAF_SAVE_ERROR=38002]="DRAF_SAVE_ERROR",t[t.DRAF_REMOVE_ERROR=38003]="DRAF_REMOVE_ERROR",t[t.SUBSCRIBE_ERROR=39001]="SUBSCRIBE_ERROR",t[t.NOT_SUPPORT=39002]="NOT_SUPPORT",t[t.QNTKN_FILETYPE_ERROR=41001]="QNTKN_FILETYPE_ERROR",t[t.QNTKN_GET_ERROR=41002]="QNTKN_GET_ERROR",t[t.COOKIE_ENABLE=51001]="COOKIE_ENABLE",t[t.HAVNODEVICEID=24001]="HAVNODEVICEID",t[t.DEVICEIDISHAVE=24002]="DEVICEIDISHAVE",t[t.FEILD=24009]="FEILD",t[t.VOIPISNULL=24013]="VOIPISNULL",t[t.NOENGINETYPE=24010]="NOENGINETYPE",t[t.NULLCHANNELNAME=24011]="NULLCHANNELNAME",t[t.VOIPDYANMICERROR=24012]="VOIPDYANMICERROR",t[t.NOVOIP=24014]="NOVOIP",t[t.INTERNALERRROR=24015]="INTERNALERRROR",t[t.VOIPCLOSE=24016]="VOIPCLOSE",t[t.ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL=24416]="ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL",t[t.CANCEL=1]="CANCEL",t[t.REJECT=2]="REJECT",t[t.HANGUP=3]="HANGUP",t[t.BUSYLINE=4]="BUSYLINE",t[t.NO_RESPONSE=5]="NO_RESPONSE",t[t.ENGINE_UN_SUPPORTED=6]="ENGINE_UN_SUPPORTED",t[t.NETWORK_ERROR=7]="NETWORK_ERROR",t[t.REMOTE_CANCEL=11]="REMOTE_CANCEL",t[t.REMOTE_REJECT=12]="REMOTE_REJECT",t[t.REMOTE_HANGUP=13]="REMOTE_HANGUP",t[t.REMOTE_BUSYLINE=14]="REMOTE_BUSYLINE",t[t.REMOTE_NO_RESPONSE=15]="REMOTE_NO_RESPONSE",t[t.REMOTE_ENGINE_UN_SUPPORTED=16]="REMOTE_ENGINE_UN_SUPPORTED",t[t.REMOTE_NETWORK_ERROR=17]="REMOTE_NETWORK_ERROR",t[t.VOIP_NOT_AVALIABLE=18]="VOIP_NOT_AVALIABLE",t[t.CHATROOM_KV_STORE_NOT_ALL_SUCCESS=23428]="CHATROOM_KV_STORE_NOT_ALL_SUCCESS",t[t.CHATROOM_KV_STORE_OUT_LIMIT=23429]="CHATROOM_KV_STORE_OUT_LIMIT"}(W||(W={}));var K,q=W;!function(t){t[t.CONNECTED=0]="CONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.DISCONNECTED=2]="DISCONNECTED",t[t.NETWORK_UNAVAILABLE=3]="NETWORK_UNAVAILABLE",t[t.CONNECTION_CLOSED=4]="CONNECTION_CLOSED",t[t.KICKED_OFFLINE_BY_OTHER_CLIENT=6]="KICKED_OFFLINE_BY_OTHER_CLIENT",t[t.WEBSOCKET_UNAVAILABLE=7]="WEBSOCKET_UNAVAILABLE",t[t.WEBSOCKET_ERROR=8]="WEBSOCKET_ERROR",t[t.BLOCKED=9]="BLOCKED",t[t.DOMAIN_INCORRECT=12]="DOMAIN_INCORRECT",t[t.DISCONNECT_BY_SERVER=13]="DISCONNECT_BY_SERVER",t[t.REDIRECT=14]="REDIRECT",t[t.APPKEY_IS_FAKE=20]="APPKEY_IS_FAKE",t[t.FORBID_RECONNECT_BY_OTHER_SAME_CLIENT=31023]="FORBID_RECONNECT_BY_OTHER_SAME_CLIENT",t[t.ULTRALIMIT=1101]="ULTRALIMIT",t[t.REQUEST_NAVI=201]="REQUEST_NAVI",t[t.RESPONSE_NAVI=202]="RESPONSE_NAVI",t[t.RESPONSE_NAVI_ERROR=203]="RESPONSE_NAVI_ERROR",t[t.RESPONSE_NAVI_TIMEOUT=204]="RESPONSE_NAVI_TIMEOUT"}(K||(K={}));var J,X=K,tt={ACCEPTED:0,UNACCEPTABLE_PROTOCOL_VERSION:1,IDENTIFIER_REJECTED:2,SERVER_UNAVAILABLE:3,TOKEN_INCORRECT:4,NOT_AUTHORIZED:5,REDIRECT:6,PACKAGE_ERROR:7,APP_BLOCK_OR_DELETE:8,BLOCK:9,TOKEN_EXPIRE:10,DEVICE_ERROR:11,HOSTNAME_ERROR:12,HASOHTERSAMECLIENTONLINE:13,IN_OTHER_CLUSTER:15,APP_AUTH_NOT_PASS:16,OTP_USED:17,PLATFORM_ERROR:18};!function(t){t.TextMessage="RC:TxtMsg",t.VOICE="RC:VcMsg",t.HQ_VOICE="RC:HQVCMsg",t.IMAGE="RC:ImgMsg",t.GIF="RC:GIFMsg",t.RICH_CONTENT="RC:ImgTextMsg",t.LOCATION="RC:LBSMsg",t.FILE="RC:FileMsg",t.SIGHT="RC:SightMsg",t.COMBINE="RC:CombineMsg",t.CHRM_KV_NOTIFY="RC:chrmKVNotiMsg",t.LOG_COMMAND="RC:LogCmdMsg",t.EXPANSION_NOTIFY="RC:MsgExMsg",t.REFERENCE="RC:ReferenceMsg",t.RECALL="RC:RcCmd",t.READ_RECEIPT="RC:ReadNtf",t.READ_RECEIPT_REQUEST="RC:RRReqMsg",t.READ_RECEIPT_RESPONSE="RC:RRRspMsg",t.SYNC_READ_STATUS="RC:SRSMsg",t.GROUP_READ_RECEIPT_REQUEST="RC:RRMsg",t.CHATROOM_JOIN="RC:ChrmJoinNtf",t.CHATROOM_LEFT="RC:ChrmQuitNtf",t.CHATROOM_MERGE_CHANGE="RC:ChrmMemChange",t.TYPING_STATUS="RC:TypSts",t.INTERCEPT="RC:InterceptMsg"}(J||(J={}));var et,nt=J;!function(t){t[t.OPEN=1]="OPEN",t[t.CLOSE=2]="CLOSE"}(et||(et={}));var rt,it=et;!function(t){t[t.ALL_MESSAGE=-1]="ALL_MESSAGE",t[t.NOT_SET=0]="NOT_SET",t[t.AT_MESSAGE_NOTIFICATION=1]="AT_MESSAGE_NOTIFICATION",t[t.AT_USER_NOTIFICATION=2]="AT_USER_NOTIFICATION",t[t.AT_GROUP_ALL_USER_NOTIFICATION=4]="AT_GROUP_ALL_USER_NOTIFICATION",t[t.NOT_MESSAGE_NOTIFICATION=5]="NOT_MESSAGE_NOTIFICATION"}(rt||(rt={}));var ot,st=rt;!function(t){t[t.ALL=1]="ALL",t[t.SINGAL=2]="SINGAL"}(ot||(ot={}));var at,ct=ot;!function(t){t[t.QINIU=1]="QINIU",t[t.ALI=2]="ALI",t[t.AWS=3]="AWS",t[t.STC=4]="STC"}(at||(at={}));var ut,lt=at;!function(t){t[t.UPDATE=1]="UPDATE",t[t.DELETE=2]="DELETE"}(ut||(ut={}));var ft,ht,dt,pt,gt=ut;!function(t){t[t.LOG=0]="LOG",t[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR",t[t.FATAL=4]="FATAL",t[t.STATISTICS=6]="STATISTICS",t[t.NONE=1e3]="NONE"}(ft||(ft={})),function(t){t.IM="IM",t.RTC="RTC"}(ht||(ht={})),function(t){t.L_IMSDK_VER_O="L-imsdk_ver-O",t.A_INIT_O="A-init-O",t.L_INIT_O="L-init-O",t.P_INIT_O="P-init-O",t.A_CONNECT_T="A-connect-T",t.A_CONNECT_R="A-connect-R",t.A_CONNECT_S="A-connect-S",t.A_DISCONNECT_O="A-disconnect-O",t.A_RECONNECT_T="A-reconnect-T",t.A_RECONNECT_R="A_RECONNECT_R",t.L_CONNECT_T="L-connect-T",t.L_CONNECT_R="L-connect-R",t.L_CONNECT_S="L-connect-S",t.P_CONNECT_O="P-connect-O",t.P_CONNECT_S="P-connect-S",t.A_SEND_MSG_T="A-send_msg-T",t.A_SEND_MSG_R="A-send_msg-R",t.P_SEND_MSG_T="P-send_msg-T",t.P_SEND_MSG_R="P-send_msg-R",t.L_SEND_MSG_T="L-send_msg-T",t.L_SEND_MSG_R="L-send_msg-R",t.L_PULL_MSG_T="L-pull_msg-T",t.L_PULL_MSG_R="L-pull_msg-R",t.L_PULL_ULTRA_MSG_T="L-pull_ultra_msg-T",t.L_PULL_ULTRA_MSG_R="L-pull_ultra_msg-R",t.L_PULL_CHATROOM_KV_T="L-pull_chatroom_kv-T",t.L_PULL_CHATROOM_KV_R="L-pull_chatroom_kv-R",t.L_PULL_CHATROOM_MSG_T="L-pull_chatroom_msg-T",t.L_PULL_CHATROOM_MSG_R="L-pull_chatroom_msg-R",t.A_DELETE_MESSAGES_S="A-delete_messages-S",t.P_DELETE_MSG_S="P-delete_msg-S",t.L_PULL_CONVERSATION_S="L-pull_conversation-S",t.L_RECALL_ULTRA_MSG_S="L-recall_ultra_msg-S",t.A_REGTYP_O="A-regtyp-O",t.P_REGTYP_O="P-regtype-O",t.P_REGTYP_E="P-regtype-E",t.L_GET_NAVI_T="L-get_navi-T",t.L_GET_NAVI_R="L-get_navi-R",t.L_ENV_S="L-Env-S",t.L_GET_INDEX_NAVI_S="L-get_index_navi-S",t.A_JOIN_CHATROOM_T="A-join_chatroom-T",t.A_JOIN_CHATROOM_R="A-join_chatroom-R",t.L_JOIN_CHATROOM_T="L-join_chatroom-T",t.L_JOIN_CHATROOM_R="L-join_chatroom-R",t.A_QUIT_CHATROOM_T="A-quit_chatroom-T",t.A_QUIT_CHATROOM_R="A-quit_chatroom-R",t.L_REJOIN_CHATROOM_T="L-rejoin_chatroom-T",t.L_REJOIN_CHATROOM_R="L-rejoin_chatroom-R",t.L_MEDIA_S="L-media-S",t.L_MEDIA_UPLOAD_T="L-media_upload-T",t.L_MEDIA_UPLOAD_R="L-media_upload-R",t.G_UPLOAD_LOG_S="G-upload_log-S",t.G_UPLOAD_LOG_E="G-upload_log-E",t.G_GET_REAL_TIMELOG_COMMAND_S="G-get_real_timelog_command-S",t.L_CHECK_ALIVE_IM_T="L-check_alive_im-T",t.L_CHECK_ALIVE_IM_R="L-check_alive_im-R",t.A_GET_HISTORY_MSG_T="A-get_history_msg-T",t.A_GET_HISTORY_MSG_R="A-get_history_msg-R",t.L_GET_HISTORY_MSG_T="L-get_history_msg-T",t.L_GET_HISTORY_MSG_R="L-get_history_msg-R",t.A_CALLBACK_O="A-callback-O",t.A_CALLBACK_E="A-callback-E"}(dt||(dt={})),function(t){t[t.QUIT=0]="QUIT",t[t.JOIN=1]="JOIN"}(pt||(pt={}));var vt,yt=pt;!function(t){t[t.GLOBAL=1]="GLOBAL",t[t.CUSTOM=2]="CUSTOM",t[t.THIRD_PARTY=3]="THIRD_PARTY"}(vt||(vt={}));var mt;!function(t){t[t.typing=0]="typing"}(mt||(mt={}));var It,Mt,bt,Ct,_t,At,Tt;!function(t){t[t.PUBLIC=0]="PUBLIC",t[t.PRIVATE=1]="PRIVATE"}(It||(It={})),function(t){t[t.PUBLIC_TO_PRIVATE=2]="PUBLIC_TO_PRIVATE",t[t.PRIVATE_TO_PUBLIC=3]="PRIVATE_TO_PUBLIC",t[t.PUBLIC_TO_PRIVATE_USER_NOT_IN=6]="PUBLIC_TO_PRIVATE_USER_NOT_IN"}(Mt||(Mt={})),function(t){t[t.MSG_EXPANSION=1]="MSG_EXPANSION",t[t.MSG_MODIFY=2]="MSG_MODIFY",t[t.MSG_RECALL=3]="MSG_RECALL",t[t.CHANNEL_CHANGE=4]="CHANNEL_CHANGE"}(bt||(bt={})),function(t){t[t.CHANNEL_DELETE=1]="CHANNEL_DELETE",t[t.PUBLIC_TO_PRIVATE=2]="PUBLIC_TO_PRIVATE",t[t.PRIVATE_TO_PUBLIC=3]="PRIVATE_TO_PUBLIC",t[t.PRIVATE_CHANNEL_USER_JOIN_PUBLIC=4]="PRIVATE_CHANNEL_USER_JOIN_PUBLIC",t[t.CHANNEL_USER_KICKED=5]="CHANNEL_USER_KICKED",t[t.PUBLIC_TO_PRIVATE_USER_NOT_IN=6]="PUBLIC_TO_PRIVATE_USER_NOT_IN"}(Ct||(Ct={})),function(t){t[t.RTC=0]="RTC",t[t.LIVE=2]="LIVE"}(_t||(_t={})),function(t){t[t.AUDIO_AND_VIDEO=0]="AUDIO_AND_VIDEO",t[t.AUDIO=1]="AUDIO"}(At||(At={})),function(t){t[t.ANCHOR=1]="ANCHOR",t[t.AUDIENCE=2]="AUDIENCE"}(Tt||(Tt={}));var wt,Et,Nt,St={"RC:VCAccept":"RC:VCAccept","RC:VCRinging":"RC:VCRinging","RC:VCSummary":"RC:VCSummary","RC:VCHangup":"RC:VCHangup","RC:VCInvite":"RC:VCInvite","RC:VCModifyMedia":"RC:VCModifyMedia","RC:VCModifyMem":"RC:VCModifyMem"};!function(t){t[t.ROOM=1]="ROOM",t[t.PERSON=2]="PERSON"}(wt||(wt={})),function(t){t[t.AnchorToViewer=1]="AnchorToViewer",t[t.ViewerToAnchor=2]="ViewerToAnchor"}(Et||(Et={})),function(t){t[t.KICK=0]="KICK",t[t.REFUSE=1]="REFUSE",t[t.COEXIST=2]="COEXIST"}(Nt||(Nt={}));var Ot="RC_Logs";function Dt(t){var e=t.target.result;if(1===t.oldVersion)try{e.deleteObjectStore(Ot)}catch(t){console.warn("version 1 indexDB delete error, name: ".concat(t.name,", message: ").concat(t.message,", stack: ").concat(t.stack))}!function(t,e,n){var r;if(!t.objectStoreNames.contains(e)){var i=m({},n.objectStoreParams);r=t.createObjectStore(e,i),n.indexs&&n.indexs.length>0&&n.indexs.forEach((function(t){r.createIndex(t.indexName,t.key,{unique:t.unique})}))}}(e,Ot,{indexs:[{indexName:"time",key:"time",unique:!1}],objectStoreParams:{autoIncrement:!0}})}var xt,Lt=function(){function t(){}return t.init=function(){if("undefined"!=typeof window&&window&&window.indexedDB){if(t.indexDBSwitch&&!t.opening){t.opening=!0;var e=window.indexedDB.open("RC_ENGINE_DB",2);e.onerror=function(e){t.opening=!1,console.warn("open indexDB request failed "+e.target.error)},e.onsuccess=function(e){t.opening=!1,t._db=e.target.result,t._db&&(t._db.onclose=function(e){var n;console.warn("The database ".concat(null===(n=t._db)||void 0===n?void 0:n.name," has unexpectedly closed."),e),t._db=null,t._instance=null},t._db.onerror=function(e){var n;console.warn("The database ".concat(null===(n=t._db)||void 0===n?void 0:n.name," has opening error."),e),t._db=null,t._instance=null},t._db.onabort=function(e){var n;console.warn("The database ".concat(null===(n=t._db)||void 0===n?void 0:n.name," has opening aborted."),e),t._db=null,t._instance=null}),t._instance=new t},e.onupgradeneeded=function(e){t.opening=!1,t._db=e.target.result,Dt(e)}}}else console.debug("IndexDB is not currently supported in the environment!")},t.getInstance=function(){return t._instance},t.prototype.addList=function(e,n){return new Promise((function(r){if(t._db){var i=t._db.transaction([e],"readwrite"),o=i.objectStore(e);n.forEach((function(t){null==o||o.add(t)})),i.oncomplete=function(t){r(!0)},i.onerror=function(t){r(!1)}}else r(!1)}))},t.prototype.getRangeData=function(e,n,r,i){return new Promise((function(o){if(t._db){var s=t._db.transaction([e],"readwrite").objectStore(e),a=IDBKeyRange.bound(r,i),c=s.index(n),u=[],l=c.openCursor(a);l.onsuccess=function(t){var e=t.target.result;e?(u.push(e.value),e.continue()):o(u)},l.onerror=function(t){console.error(t),o([])}}else o([])}))},t.prototype.getCount=function(e,n){return new Promise((function(n){if(t._db){var r=t._db.transaction([e],"readonly").objectStore(e).count();r.onsuccess=function(){n(r.result)},r.onerror=function(t){console.error(t),n(0)}}else n(0)}))},t.prototype.removeFirstData=function(e,n,r){return new Promise((function(n){if(t._db){var i=t._db.transaction([e],"readwrite").objectStore(e),o=i.getAllKeys(IDBKeyRange.lowerBound(0),r);o.onsuccess=function(){var t=o.result;t.length>0&&(i.delete(IDBKeyRange.bound(t[0],t[t.length-1])).onsuccess=function(){n(!0)})}}else n(!1)}))},t._db=null,t.indexDBSwitch=!0,t.opening=!1,t}(),Rt=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))},jt=function(){var t=Rt();if(t=t.replace(/-/g,"")+"a",(t=function(t){var e="0123456789abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZa0".split(""),n=e.length+1,r=+t,i=[];do{var o=r%n;r=(r-o)/n,i.unshift(e[o])}while(r);return i.join("")}(t=parseInt(t,16))).length>22&&(t=t.slice(0,22)),t.length<22)for(var e=22-t.length,n=0;n<e;n++)t+="0";return t},kt=jt(),Pt={};function Ut(t){return 4-t}console&&((xt={})[ft.DEBUG]=console.debug.bind(console),xt[ft.INFO]=console.info.bind(console),xt[ft.WARN]=console.warn.bind(console),xt[ft.ERROR]=console.error.bind(console),xt[ft.FATAL]=console.log.bind(console),Pt=xt);var zt=[],Bt=function(t){return D(t)||L(t)||B(t)||x(t)?t:t instanceof Error?JSON.stringify({name:t.name,message:t.message,stack:t.stack}):JSON.stringify(t)};function Gt(t,e,n,r){e=/^[\w]+-[\w]+-[\w]+?/.test(e)?e:"L-".concat(e,"-O"),r||(r=["RCRTCLog","RCCall","RCRTC","RTC-A"].includes(e)?ht.RTC:ht.IM);var i=Date.now(),o="";try{o=(o=JSON.stringify({message:n,userId:$t.userId})).replace(/"/g,'""'),o='"'.concat(o,'"')}catch(t){te(dt.G_UPLOAD_LOG_E,{name:t.name,message:t.message,stack:t.stack})}A(o)>=1e3&&(o=function(t,e,n){if(void 0===n&&(n="utf-8"),!t||!e)return"";var r="utf-8"===n?3:2,i=0,o=0,s="";for(o=0;o<t.length;o++){if(t.charCodeAt(o)>255?i+=r:i++,i>e)return s;s+=t.charAt(o)}return t}(o,1e3));var s=Ut(t),a={sessionId:kt,time:i,level:s,content:"".concat(kt,",").concat(Date.now(),",").concat(r,",").concat(s,",").concat(e,",").concat(o,"\n"),userId:$t.userId};return zt.push(a),a}function Yt(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];console&&Pt[t]&&Pt[t].apply(Pt,b(["".concat(e,":")],n,!1))}var $t={localLogLevel:ft.WARN,userId:""},Ht=-1;Ht>=0&&(clearInterval(Ht),Ht=-1),"undefined"!=typeof window&&window&&window.indexedDB&&(Ht=setInterval((function(){zt.length&&function(t){return I(this,void 0,void 0,(function(){var e,n,r;return M(this,(function(i){switch(i.label){case 0:if(!(e=Lt.getInstance()))return[3,6];i.label=1;case 1:return i.trys.push([1,4,,5]),[4,e.addList(Ot,t)];case 2:return n=i.sent(),[4,e.getCount(Ot,"time")];case 3:return i.sent()>1e5&&e.removeFirstData(Ot,"time",2e3),[2,n];case 4:return r=i.sent(),te(dt.G_UPLOAD_LOG_E,{name:r.name,message:r.message,stack:r.stack}),[2,!1];case 5:return[3,7];case 6:return Lt.init(),[2,!1];case 7:return[2]}}))}))}(zt.slice()).then((function(t){t&&(zt=[])}))}),3e3));var Ft=Date.now(),Vt=0;function Qt(){var t=Date.now();return Ft!==t&&(Ft=t,Vt=0),"".concat(Ft,"-").concat(Vt++)}function Wt(t){!t.customLogPrint&&delete t.customLogPrint,$t=Object.assign($t,t)}function Zt(t,e,n,r){if(void 0===n&&(n={}),void 0===r&&(r={}),t>ft.DEBUG&&(r&&(n=Object.assign(n,r)),Gt(t,e,n,null==r?void 0:r.logSource)),t>=$t.localLogLevel){var i="".concat((new Date).toISOString(),"[").concat(e,"][").concat(ft[t],"]"),o="".concat(i," - ").concat(Bt(n));$t.customLogPrint?$t.customLogPrint(t,o):Yt(t,i,Bt(n))}}var Kt,qt=Zt.bind(null,ft.DEBUG),Jt=Zt.bind(null,ft.INFO),Xt=Zt.bind(null,ft.WARN),te=Zt.bind(null,ft.ERROR),ee=Zt.bind(null,ft.FATAL),ne=Object.freeze({__proto__:null,sessionId:kt,logLevelTransformer:Ut,formatLogObj:Bt,insertIntoLogCache:Gt,_defaultStdout:Yt,ID:Qt,init:Wt,log:Zt,debug:qt,info:Jt,warn:Xt,error:te,fatal:ee}),re=function(t){if("browser"!==t.tag)return{type:t.tag,version:"UnKonw"};var e,n,r=navigator.userAgent,i={IE:/rv:([\d.]+)\) like Gecko|MSIE ([\d.]+)/,Edge:/Edge\/([\d.]+)/,Firefox:/Firefox\/([\d.]+)/,Opera:/(?:OPERA|OPR).([\d.]+)/,WeChat:/MicroMessenger\/([\d.]+)/,QQBrowser:/QQBrowser\/([\d.]+)/,Chrome:/Chrome\/([\d.]+)/,Safari:/Version\/([\d.]+).*Safari/,iOSChrome:/Mobile\/([\d.]+).*Safari/};for(var o in i)if(i.hasOwnProperty(o)){var s=r.match(i[o]);if(s){n=o,e=s[1]||s[2];break}}return{type:n||"UnKonw",version:e||"UnKonw"}},ie=function(t){var e="RCDeviceId",n=h(t),r="",i=n.get(e);return i?r=i:(r=jt(),n.set(e,r)),r},oe=function(){function t(){}return t.compress=function(t){for(var e=this,n={},r=0;r<t.length-1;r++){var i=t.charAt(r)+t.charAt(r+1);n.hasOwnProperty(i)?n[i].push(r):n[i]=[r]}for(var o=[],s=[],a=function(){if(s.length>0){var t=s.join("");if(s=[],t.length>26){var n=e.numberEncode(t.length),r=String.fromCharCode(e.dataType.NormalExt|n.length);o.push(r+n)}else{var i=String.fromCharCode(e.dataType.Normal|t.length);o.push(i)}o.push(t)}},c=0;c<t.length;){var u=e.indexOf(n,t,c);if(u.length<2)s.push(t.charAt(c++));else if(u.length<4)s.push(t.substr(c,u.length)),c+=u.length;else{var l=e.numberEncode(c-u.offset),f=e.numberEncode(u.length);if(l.length+f.length>=u.length)s.push(t.substr(c,u.length)),c+=u.length;else{a();var h=String.fromCharCode(e.dataType.Compressed|l.length<<2|f.length);o.push(h+l+f),c+=u.length}}}a();var d=e.numberEncode(t.length),p=String.fromCharCode(e.dataType.Tail|d.length);return o.push(p+d),o.join("")},t.uncompress=function(t){var e=this,n=0,r="";t:do{var i=t.charCodeAt(n++),o=i&e.dataType.Mark,s=15&i,a=void 0;switch(o){case e.dataType.Compressed:var c=s>>2,u=3&s;if(0===c||0===u)throw new Error("Data parsing error,at "+n);var l=e.numberDecode(t.substr(n,c)),f=e.numberDecode(t.substr(n+=c,u));if((l=r.length-l)+f>r.length)throw new Error("Data parsing error,at "+n);n+=u,r+=r.substr(l,f);break;case e.dataType.Tail:if((a=e.numberDecode(t.substr(n,s)))!==r.length)throw console.log(r.length),console.log(a),new Error("Data parsing error,at "+n);n+=s;break t;case e.dataType.NormalExt:a=e.numberDecode(t.substr(n,s)),r+=t.substr(n+=s,a),n+=a;break;case e.dataType.Normal:r+=t.substr(n,s),n+=s;break;case e.dataType.Mark:if(s>10)throw new Error("Data parsing error,at "+n);r+=t.substr(n,16+s),n+=16+s;break;default:throw new Error("Data parsing error,at "+n+" header:"+o)}}while(n<t.length);return r},t.indexOf=function(t,e,n){var r={length:0,offset:-1};if(e.length,n>=e.length-1)return r;var i=t[e.charAt(n)+e.charAt(n+1)];if(i[0]===n)return r;for(var o=e.length-n,s=0,a=i.length;s<a;s++){var c=i[s],u=n-c;if(!(u>this.max)){var l=Math.min(o,u);if(l<=r.length)break;if(!(r.length>2&&e.charAt(c+r.length-1)!==e.charAt(n+r.length-1))){for(var f=2,h=f;h<l&&e.charAt(c+h)===e.charAt(n+h);h++)f++;f>=r.length&&(r.length=f,r.offset=c)}}}return r},t.numberEncode=function(t){var e=this,n=[],r=0;do{r=t%e.scale,n.push(e.chars.charAt(r)),t=(t-r)/e.scale}while(t>0);return n.join("")},t.numberDecode=function(t){for(var e=0,n=0,r=t.length-1;r>=0;r--){if(-1===(n=this.chars.indexOf(t.charAt(r))))throw new Error('decode number error, data is "'+t+'"');e=e*this.scale+n}return e},t.dataType={Tail:48,Compressed:64,NormalExt:80,Normal:96,Mark:112},t.chars="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",t.scale=t.chars.length,t.max=238327,t}(),se=function(t){return D(t)&&/https?:\/\//.test(t)},ae=function(){function t(t){this.info=t,this.logUrl="logcollection.ronghub.com",this.level=1,this.itv=30,this.times=5,this.deviceId="",this.deviceInfo="",this.logSwitch=0,this.logUrl=t.logPolicy.url||this.logUrl,this.level=t.logPolicy.level||this.level,this.itv=t.logPolicy.itv||this.itv,this.times=t.logPolicy.times||this.times,this.deviceId=ie(t.runtime),this.logSwitch=t.logSwitch;var e=re(t.runtime);this.deviceInfo="".concat(e.type,"|").concat(e.version,"|").concat(null==t?void 0:t.sessionId)}return t.prototype.updateUploadLogAttr=function(t){var e=t.logPolicy,n=t.logSwitch,r=t.runtime,i=t.sessionId,o=void 0===i?"":i,s=t.userId;if(e){var a=e.url,c=e.level,u=e.itv,l=e.times;this.logUrl=a||this.logUrl,this.level=c||this.level,this.itv=u||this.itv,this.times=l||this.times}if(n&&(this.logSwitch=n),r){this.deviceId=ie(r);var f=re(r);this.deviceInfo="".concat(f.type,"|").concat(f.version,"|").concat(o)}s&&(this.info.userId=s)},t.init=function(e){return t.reportSwitch=!0,t._instance||(t._instance=new t(e)),t._instance},t.getInstance=function(){return t._instance},t.prototype.reportRealtimeLog=function(e){var n=this;if(0===e.length||!this.logUrl)return Promise.resolve();var r=oe.compress(e.map((function(t){return t.content})).join("")),i=se(this.logUrl)?"":"https://",o="".concat(i).concat(this.logUrl,"?version=").concat(this.info.version,"&appkey=").concat(this.info.appkey,"&userId=").concat(this.info.userId,"&deviceId=").concat(this.deviceId,"&deviceInfo=").concat(this.deviceInfo,"&platform=Web");return this.info.runtime.httpReq({method:"POST",url:o,body:r}).then((function(e){var r=e.data;r&&(r=JSON.parse(r),n.itv=r.nextTime,n.level=r.level,n.logSwitch=r.logSwitch,t.currentRTTimes=1)}))},t.prototype.reportFullLog=function(e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l,f,h=this;return M(this,(function(d){switch(d.label){case 0:return n=e.startTime,r=e.endTime,i=e.platform,o=e.logId,s=e.uri,a=Lt.getInstance(),"web"===i.toLowerCase()&&a?n>r?[2]:[4,a.getRangeData(Ot,"time",n,r)]:[2];case 1:return c=(c=d.sent()).filter((function(t){return!t.userId||t.userId===h.info.userId})),u=oe.compress(c.map((function(t){return t.content})).join("")||"no data"),l=1,f=function(){if(l>3||!t.reportSwitch)return Promise.resolve();var e=s||h.logUrl,n=se(e)?"":"https://",r="".concat(n).concat(e,"?version=").concat(h.info.version,"&appkey=").concat(h.info.appkey,"&userId=").concat(h.info.userId,"&logId=").concat(o,"&deviceId=").concat(h.deviceId,"&deviceInfo=").concat(h.deviceInfo,"&platform=Web"),i=5e3*(l-1);return l++,new Promise((function(e,n){setTimeout((function(){t.reportSwitch&&h.info.runtime.httpReq({url:r,method:"POST",body:u}).then((function(){e()})).catch((function(t){n(t),f()}))}),i)}))},[2,f()]}}))}))},t.prototype.distroy=function(){t.currentRTTimes=1,t.reportSwitch=!1},t.currentRTTimes=1,t.reportSwitch=!1,t}(),ce=[],ue=-1;function le(t){Kt&&Kt.updateUploadLogAttr(t)}function fe(t,e,n,r){Gt(4-t,e,n);var i=JSON.stringify({message:n});i=i.replace(/"/g,'""'),i='"'.concat(i,'"');var o={level:t,content:[kt,Date.now(),r||ht.IM,t,e,i].join()+"\n"};ce.push(o),ce.length>=600&&(ce=ce.slice(-500))}function he(){if(ue>=0&&(clearTimeout(ue),ue=-1),Kt&&Kt.logSwitch&&ae.reportSwitch){var t=Kt.itv*Math.pow(2,ae.currentRTTimes-1);ae.currentRTTimes<Kt.times&&ae.currentRTTimes++,ue=setTimeout((function(){var t=ce.filter((function(t){return t.level<=Kt.level}));0===t.length?he():Kt.reportRealtimeLog(t).then((function(){ce=[],Jt(dt.G_UPLOAD_LOG_S,"report real-time log success"),he()})).catch((function(t){Jt(dt.G_UPLOAD_LOG_E,"report real-time log error -> "+t),he()}))}),1e3*t)}}var de=function(){function t(t,e,n){this.tagId=t,this.logSource=e,this.initiator=n,this._localLogLevel=ft.WARN,this.debug=this.log.bind(this,ft.DEBUG),this.info=this.log.bind(this,ft.INFO),this.warn=this.log.bind(this,ft.WARN),this.error=this.log.bind(this,ft.ERROR),this.fatal=this.log.bind(this,ft.FATAL),this.reportLog=fe}return t.prototype.setLogLevel=function(t){this._localLogLevel="number"!=typeof t?ft.WARN:t},t.prototype.setLogStdout=function(t){this._customLogPrint=t},t.prototype.log=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(t>ft.DEBUG&&Gt(t,this.tagId,e.map(Bt).join(" ")),!(t<this._localLogLevel)){var r="".concat((new Date).toISOString(),"[").concat(this.tagId,"][").concat(ft[t],"]"),i="".concat(r," - ").concat(e.map(Bt).join(" "));this._customLogPrint?this._customLogPrint(t,i):this._stdout?this._stdout(t,i):Yt.apply(void 0,b([t,r],e,!1))}},t.prototype.set=function(t,e){this.warn("logger.set has being deprecated!")},t.prototype.setStdout=function(t){this._stdout=t},t}(),pe=new de("RCEngine"),ge=function(){function t(){this._map={}}return t.prototype.on=function(t,e,n){var r=this._map[t]||(this._map[t]=[]);r.some((function(t){return t.listener===e&&t.target===n}))||r.push({listener:e,target:n})},t.prototype.once=function(t,e,n){var r=this._map[t]||(this._map[t]=[]);r.some((function(t){return t.listener===e&&t.target===n}))||r.push({listener:e,target:n,once:!0})},t.prototype.off=function(t,e,n){var r=this._map[t];r&&((r=r.filter((function(t){return t.listener!==e||t.target!==n}))).length?this._map[t]=r:delete this._map[t])},t.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this._map[t];if(r)for(var i=r.length-1;i>=0;i-=1){var o=r[i],s=o.target,a=o.once,c=o.listener;a&&r.splice(i,1);try{c.call.apply(c,b([s],e,!1))}catch(t){pe.error(t)}}},t.prototype.removeAll=function(t){delete this._map[t]},t.prototype.clear=function(){Object.keys(this._map).forEach(this.removeAll,this)},t}(),ve="undefined"!=typeof window&&window?(window.__RCVersionInfo||(window.__RCVersionInfo={}),window.__RCVersionInfo):{};ve.engine="5.4.3";var ye,me,Ie=function(){function t(){}return t.add=function(t,e){ve[t]=e},t.validEngine=function(t){var e=t.match(/\d+\.\d+\.\d+/);if(!e)return pe.warn("The validation engine version '".concat(t,"' is invalid!")),!1;var n=e[0].split(".").map((function(t){return t.padStart(3,"0")})).join("");return ve.engine.match(/\d+\.\d+\.\d+/)[0].split(".").map((function(t){return t.padStart(3,"0")})).join("")>=n},t.getInfo=function(){return ve},t}();!function(t){t[t.STRING=0]="STRING",t[t.ONLY_STRING=1]="ONLY_STRING",t[t.NUMBER=2]="NUMBER",t[t.BOOLEAN=3]="BOOLEAN",t[t.OBJECT=4]="OBJECT",t[t.ARRAY=5]="ARRAY",t[t.CALLBACK=6]="CALLBACK",t[t.CHANNEL_ID=7]="CHANNEL_ID",t[t.CONVERSATION=8]="CONVERSATION"}(me||(me={}));var Me,be,Ce,_e,Ae,Te=((ye={})[me.STRING]=k,ye[me.ONLY_STRING]=D,ye[me.NUMBER]=L,ye[me.BOOLEAN]=function(t){return"boolean"==typeof t},ye[me.OBJECT]=U,ye[me.ARRAY]=R,ye[me.CALLBACK]=function(t){var e=!0;return U(t)||(e=!1),(t=t||{}).onSuccess&&!z(t.onSuccess)&&(e=!1),t.onError&&!z(t.onError)&&(e=!1),e},ye[me.CHANNEL_ID]=F,ye[me.CONVERSATION]=function(t){var e=!0;return U(t)||(e=!1),D(t.targetId)||(e=!1),H(t.conversationType)||(e=!1),B(t.channelId)||F(t.channelId)||(e=!1),e},ye),we=function(t){function e(e){var n=t.call(this,e)||this;return n.name="RCAssertError",n}return y(e,t),e}(Error),Ee=function(t,e,n,r){if(void 0===r&&(r=!1),!Ne(t,e,n,r))throw new we("'".concat(t,"' is invalid: ").concat(JSON.stringify(e)))},Ne=function(t,e,n,r){void 0===r&&(r=!1),n=Te[n]||n;var i=r&&!n(e)||!r&&!(B(e)||null===e||n(e));return i&&pe.error("'".concat(t,"' is invalid: ").concat(JSON.stringify(e))),!i},Se=function(t){if(!U(t)||void 0===t.low||void 0===t.high)return t;var e=t.low;return e<0&&(e+=4294967296),e=e.toString(16),parseInt(t.high.toString(16)+"00000000".replace(new RegExp("0{"+e.length+"}$"),e),16)},Oe=function(t,e){var n=Math.floor(1e3*Math.random()%1e4),r=Rt(),i=function(t){t=t||"-";var e=new Date,n=e.getFullYear(),r=e.getMonth()+1,i=e.getDate();return"".concat(n).concat(t).concat(r).concat(t).concat(i)}(),o=(new Date).getTime(),s="";if(e){var a=e.split(".");s="."+a[a.length-1]}return"".concat(t,"__RC-").concat(i,"_").concat(n,"_").concat(o).concat(r).concat(s)},De=function(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=t.threadId,r=t.apnsCollapseId,i=t.category,o=t.richMediaUri,s=e.channelIdMi,a=e.channelIdHW,c=e.channelIdOPPO,u=e.typeVivo,l=e.googleConfig,f={};f["thread-id"]=n||"",f["apns-collapse-id"]=r||"",f.category=i||"",f.richMediaUri=o||"";var h={};h.collapse_key=null==l?void 0:l.collapseKey,h.imageUrl=null==l?void 0:l.imageUrl;var d=null==l?void 0:l.priority;d&&!["high","normal"].includes(d)&&(d="normal"),h.priority=d;var p=[{HW:{channelId:a||""}},{MI:{channelId:s||""}},{OPPO:{channelId:c||""}},{VIVO:{classification:u||""}},{APNS:f},{FCM:h}];return JSON.stringify(p)},xe=function(t,e){var n={},r={notificationId:e||""};if(!t)return{iOSConfig:n,androidConfig:r};try{var i=JSON.parse(t);null==i||i.forEach((function(t){var e,i,o,s,a=Object.keys(t);if(0!==a.length){var c=a[0];switch(c){case"HW":return void(r.channelIdHW=null===(e=t[c])||void 0===e?void 0:e.channelId);case"MI":return void(r.channelIdMi=null===(i=t[c])||void 0===i?void 0:i.channelId);case"OPPO":return void(r.channelIdOPPO=null===(o=t[c])||void 0===o?void 0:o.channelId);case"VIVO":return void(r.typeVivo=null===(s=t[c])||void 0===s?void 0:s.classification);case"APNS":return n.threadId=t[c]["thread-id"],n.apnsCollapseId=t[c]["apns-collapse-id"],n.category=t[c].category,void(n.richMediaUri=t[c].richMediaUri);case"FCM":r.googleConfig={collapseKey:t[c].collapse_key||"",imageUrl:t[c].imageUrl||"",priority:t[c].priority||""}}}}))}catch(e){pe.error("Wrong format for pushConfigs field! content: "+t)}return{iOSConfig:n,androidConfig:r}},Le=function(t){var e=/^[A-Za-z0-9_=+-]+$/.test(t),n=t.length;return e&&n<=128&&n>=1},Re=function(t){var e=t.length;return e<=4096&&e>=1},je=function(t,e,n){e=e||function(){};var r=(n=n||{}).isReverse;U(t)&&function(){for(var n in t)e(t[n],n,t)}(),(R(t)||D(t))&&function(){if(r)for(var n=t.length-1;n>=0;n--)e(t[n],n);else for(var i=0,o=t.length;i<o;i++)e(t[i],i)}()},ke=function(t,e){return je(t,(function(n,r){t[r]=e(n,r)})),t},Pe=function(t,e){if(t.indexOf)return t.indexOf(e);var n=-1;return je(t,(function(t,r){e===t&&(n=r)})),n},Ue=function(t,e){var n=[];return je(t,(function(t){n.push(t)})),-1!==Pe(n,e)},ze=function(t){return JSON.parse(JSON.stringify(t))},Be=function(){return"undefined"!=typeof RCCppEngine},Ge=function(t){switch(t){case tt.SERVER_UNAVAILABLE:return q.SERVER_UNAVAILABLE;case tt.TOKEN_INCORRECT:return q.RC_CONN_USER_OR_PASSWD_ERROR;case tt.REDIRECT:return q.RC_CONN_REDIRECTED;case tt.APP_BLOCK_OR_DELETE:return q.RC_CONN_APP_BLOCKED_OR_DELETED;case tt.BLOCK:return q.RC_CONN_USER_BLOCKED;case tt.TOKEN_EXPIRE:return q.RC_CONN_USER_OR_PASSWD_ERROR;case tt.HOSTNAME_ERROR:return q.HOSTNAME_ERROR;case tt.HASOHTERSAMECLIENTONLINE:return q.HAS_OHTER_SAME_CLIENT_ON_LINE;case tt.APP_AUTH_NOT_PASS:return q.RC_APP_AUTH_NOT_PASS;case tt.OTP_USED:return q.RC_OTP_USED;case tt.PLATFORM_ERROR:return q.RC_PLATFORM_ERROR;default:return q.RC_NET_UNAVAILABLE}},Ye=function(t){var e;if("object"==typeof t&&null!==t)if(Array.isArray(t))for(var n in e=[],t)e.push(Ye(t[n]));else for(var n in e={},t)e[n]=Ye(t[n]);else e=t;return e},$e=function(t){var e;try{e=Ye(t)}catch(o){pe.error("clone err:",o),e=JSON.parse(JSON.stringify(t))}return e},He=function(t){var e={},n=JSON.parse(t);return je(n,(function(t,n){e[n]=t.v})),e},Fe={_delayTime:0,setTime:function(t){var e=(new Date).getTime();Fe._delayTime=e-t},getTime:function(){var t=Fe._delayTime;return(new Date).getTime()-t}},Ve=function(t,e){var n=0;return t.isAutoDelete&&(n|=1),t.isOverwrite&&(n|=2),2===e&&(n|=4),n};!function(t){t[t.AT_MOST_ONCE=0]="AT_MOST_ONCE",t[t.AT_LEAST_ONCE=1]="AT_LEAST_ONCE",t[t.EXACTLY_ONCE=2]="EXACTLY_ONCE",t[t.DEFAULT=3]="DEFAULT"}(Me||(Me={})),function(t){t[t.SYMMETRIC=0]="SYMMETRIC",t[t.CONNECT=1]="CONNECT",t[t.CONN_ACK=2]="CONN_ACK",t[t.PUBLISH=3]="PUBLISH",t[t.PUB_ACK=4]="PUB_ACK",t[t.QUERY=5]="QUERY",t[t.QUERY_ACK=6]="QUERY_ACK",t[t.QUERY_CONFIRM=7]="QUERY_CONFIRM",t[t.SUBSCRIBE=8]="SUBSCRIBE",t[t.SUB_ACK=9]="SUB_ACK",t[t.UNSUBSCRIBE=10]="UNSUBSCRIBE",t[t.UNSUB_ACK=11]="UNSUB_ACK",t[t.PING_REQ=12]="PING_REQ",t[t.PING_RESP=13]="PING_RESP",t[t.DISCONNECT=14]="DISCONNECT",t[t.RESERVER2=15]="RESERVER2"}(be||(be={})),function(t){t.CONN_ACK="ConnAckMessage",t.DISCONNECT="DisconnectMessage",t.PING_REQ="PingReqMessage",t.PING_RESP="PingRespMessage",t.PUBLISH="PublishMessage",t.PUB_ACK="PubAckMessage",t.QUERY="QueryMessage",t.QUERY_CON="QueryConMessage",t.QUERY_ACK="QueryAckMessage"}(Ce||(Ce={})),function(t){t.PUB="pub",t.QUERY="qry"}(_e||(_e={})),function(t){t[t.V4=4]="V4",t[t.V3=3]="V3"}(Ae||(Ae={}));var Qe,We=function(){function t(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=Me.AT_LEAST_ONCE),void 0===r&&(r=!1),this._retain=!1,this.qos=Me.AT_LEAST_ONCE,this._dup=!1,this.syncMsg=!1;var i=t>0;t&&i&&1===arguments.length?(this._retain=(1&t)>0,this.qos=(6&t)>>1,this._dup=(8&t)>0,this.type=t>>4&15,this.syncMsg=8==(8&t)):(this.type=t,this._retain=e,this.qos=n,this._dup=r)}return t.prototype.encode=function(){var t=this.type<<4;return t|=this._retain?1:0,t|=this.qos<<1,t|(this._dup?8:0)},t}(),Ze=function(){function t(){}return t.writeUTF=function(t,e){var n=[],r=0;if(D(t))for(var i=0,o=t.length;i<o;i++){var s=t.charCodeAt(i);s>=0&&s<=127?(r+=1,n.push(s)):s>=128&&s<=2047?(r+=2,n.push(192|31&s>>6),n.push(128|63&s)):s>=2048&&s<=65535&&(r+=3,n.push(224|15&s>>12),n.push(128|63&s>>6),n.push(128|63&s))}for(i=0,o=n.length;i<o;i++)n[i]>255&&(n[i]&=255);return e?n:r<=255?[0,r].concat(n):[r>>8,255&r].concat(n)},t.readUTF=function(t){for(var e,n,r=[],i=-1,o=t,s="";++i<o.length;){var a=Number(o[i]);if(a===(127&a)||(240==(240&a)?a=(a=(a=(a^=240)<<6|128^o[++i])<<6|128^o[++i])<<6|128^o[++i]:224==(224&a)?a=(a=(a^=224)<<6|128^o[++i])<<6|128^o[++i]:192==(192&a)&&(a=(a^=192)<<6|128^o[++i])),!isFinite(a)||a<0||a>1114111||Math.floor(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?r.push(a):(e=(a-=65536)>>10|55296,n=a%1024|56320,r.push(e,n)),(i+1===o.length||r.length>16384)&&(s+=String.fromCharCode.apply(null,r),r.length=0)}return s},t}(),Ke=function(){function t(t){this._position=0,this._poolLen=0,this._pool=t,this._poolLen=t.length}return t.prototype.check=function(){return this._position>=this._pool.length},t.prototype.read2Byte=function(){var t=this;if(t.check())return-1;for(var e="",n=0;n<2;n++){var r=t._pool[t._position++].toString(16);1===r.length&&(r="0"+r),e+=r.toString()}return parseInt(e,16)},t.prototype.readInt=function(){var t=this;if(t.check())return-1;for(var e="",n=0;n<4;n++){var r=t._pool[t._position++].toString(16);1===r.length&&(r="0"+r),e+=r.toString()}return parseInt(e,16)},t.prototype.readLong=function(){var t=this;if(t.check())return-1;for(var e="",n=0;n<8;n++){var r=t._pool[t._position++].toString(16);1===r.length&&(r="0"+r),e+=r}return parseInt(e,16)},t.prototype.readByte=function(){if(this.check())return-1;var t=this._pool[this._position++];return t>255&&(t&=255),t},t.prototype.readUTF=function(){if(this.check())return"";var t=this.readByte()<<8|this.readByte(),e=this._pool.subarray(this._position,this._position+=t);return Ze.readUTF(e)},t.prototype.readAll=function(){return this._pool.subarray(this._position,this._poolLen)},t}(),qe=function(){function t(){this._pool=[],this._position=0,this._writen=0}return t.prototype.write=function(t){return-1!==Object.prototype.toString.call(t).indexOf("Array")?this._pool=this._pool.concat(t):t>=0&&(t>255&&(t&=255),this._pool.push(t),this._writen++),t},t.prototype.writeArr=function(t){return this._pool=this._pool.concat(t),t},t.prototype.writeUTF=function(t){var e=Ze.writeUTF(t);this._pool=this._pool.concat(e),this._writen+=e.length},t.prototype.getBytesArray=function(){return this._pool},t}(),Je="UpStreamMessage",Xe="PushExtra",tn="DownStreamMessage",en="DownStreamMessages",nn="SessionsAttQryInput",rn="SessionsAttOutput",on="SyncRequestMsg",sn="ChrmPullMsg",an="NotifyMsg",cn="HistoryMsgInput",un="HistoryMsgOuput",ln="RelationQryInput",fn="RelationsOutput",hn="DeleteSessionsInput",dn="SessionInfo",pn="DeleteSessionsOutput",gn="RelationsInput",vn="DeleteMsgInput",yn="CleanHisMsgInput",mn="SessionMsgReadInput",In="ChrmInput",Mn="ChrmOutput",bn="QueryChatRoomInfoInput",Cn="QueryChatRoomInfoOutput",_n="RtcInput",An="RtcUserListOutput",Tn="SetUserStatusInput",wn="RtcSetDataInput",En="RtcUserSetDataInput",Nn="RtcDataInput",Sn="RtcSetOutDataInput",On="MCFollowInput",Dn="RtcTokenOutput",xn="RtcQryOutput",Ln="RtcQryUserOutDataInput",Rn="RtcUserOutDataOutput",jn="RtcQueryListInput",kn="RtcRoomInfoOutput",Pn="RtcValueInfo",Un="RtcKeyDeleteInput",zn="GetQNupTokenInput",Bn="GetQNupTokenOutput",Gn="GetQNdownloadUrlInput",Yn="GetDownloadUrlInput",$n="GetQNdownloadUrlOutput",Hn="GetDownloadUrlOutput",Fn="ChrmKVEntity",Vn="SetChrmKV",Qn="SetChrmKVS",Wn="DeleteChrmKVS",Zn="ChrmKVOutput",Kn="ChrmKVSOutput",qn="ChrmKVSVersionEntity",Jn="ChrmKVSOutputEntity",Xn="QueryChrmKV",tr="SetUserSettingInput",er="SetUserSettingOutput",nr="PullUserSettingInput",rr="PullUserSettingOutput",ir="UserSettingNotification",or="SessionReq",sr="SessionStates",ar="SessionState",cr="SessionStateItem",ur="SessionStateModifyReq",lr="SessionStateModifyResp",fr="GroupUnpushQuery",hr="GroupUnpushSet",dr="GroupUnpushResult",pr="GrpReadReceiptMsg",gr="GrpReadReceiptQryReq",vr="GrpReadReceiptQryResp",yr="GrpMsgReadUser",mr="SessionTagAddInput",Ir="SessionTagItem",Mr="SessionTagDelInput",br="SessionDisTagReq",Cr="ReportSDKInput",_r="ReportSDKOutput",Ar="UltraGrpPullSes",Tr="UltraGrpPullMsg",wr="MsgChangeReq",Er="QueryMsgChange",Nr="MsgChange",Sr="MsgChangeList",Or="MsgQuery",Dr="MessageQueryInfo",xr="MsgQueryAck",Lr="OperateStatus",Rr="OperateStatusNotify",jr="OperateInfo",kr="OperateSummary",Pr="RtcNotifyMsg",Ur="RtcPullKV",zr="RtcKVOutput",Br="RtcQueryUserJoinedInput",Gr="RtcQueryUserJoinedOutput",Yr="RtcViewerJoinedOutput",$r="RtcInviteInput",Hr="RtcCancelInviteInput",Fr="RtcInviteAnswerInput",Vr="RtcEndInviteInput",Qr="SetRtcRoomIdInput",Wr="SetRtcRoomIdOutput",Zr=((Qe={})[Je]=["sessionId","classname","content","pushText","userId","configFlag","appData","extraContent","pushExt","busChannel"],Qe[en]=["list","syncTime","finished","broadcastSyncTime"],Qe[tn]=["fromUserId","type","groupId","classname","content","dataTime","status","msgId","extraContent","pushContent","configFlag","pushExt","busChannel","extStatus","toUserId","groupUnpush"],Qe[Xe]=["title","templateIdNoUse","pushId","pushConfigs","templateId"],Qe[nn]=["nothing"],Qe[rn]=["inboxTime","sendboxTime","totalUnreadCount"],Qe[on]=["syncTime","ispolling","isweb","isPullSend","isKeeping","sendBoxSyncTime","broadcastSyncTime"],Qe[sn]=["syncTime","count"],Qe[an]=["type","time","chrmId"],Qe[cn]=["targetId","time","count","order","busChannel"],Qe[un]=["list","syncTime","hasMsg"],Qe[ln]=["type","count","startTime","order"],Qe[fn]=["info","isFinished"],Qe[hn]=["sessions"],Qe[dn]=["type","channelId","busChannel"],Qe[pn]=["nothing"],Qe[gn]=["type","msg","count","busChannel","startTime","endTime"],Qe[vn]=["type","conversationId","msgs","busChannel"],Qe[yn]=["targetId","dataTime","conversationType","busChannel"],Qe[mn]=["type","msgTime","channelId","busChannel"],Qe[In]=["nothing"],Qe[Mn]=["nothing","sessionId","joinTime"],Qe[bn]=["count","order"],Qe[Cn]=["userTotalNums","userInfos"],Qe[zn]=["type","key","httpMethod","queryString"],Qe[Gn]=["type","key","fileName"],Qe[Yn]=["type","key","fileName"],Qe[Bn]=["deadline","token","bosToken","bosDate","path","osskeyId","ossPolicy","ossSign","ossBucketName"],Qe[$n]=["downloadUrl"],Qe[Hn]=["downloadUrl"],Qe[Fn]=["key","value","status","timestamp","uid","version"],Qe[Vn]=["entry","bNotify","notification","type"],Qe[Qn]=["entry","bNotify","notification","type"],Qe[Wn]=["entry","bNotify","notification","type"],Qe[Zn]=["entries","bFullUpdate","syncTime"],Qe[Kn]=["timestamp","errorKeys","keysVersion"],Qe[qn]=["version","key"],Qe[Jn]=["key","errorCode"],Qe[Xn]=["timestamp"],Qe[tr]=["version","value"],Qe[er]=["version","reserve"],Qe[nr]=["version","reserve"],Qe[rr]=["items","version"],Qe.UserSettingItem=["targetId","type","key","value","version","status","tags"],Qe[or]=["time"],Qe[sr]=["version","state"],Qe[ar]=["type","channelId","time","stateItem","busChannel"],Qe[cr]=["sessionStateType","value","tags"],Qe[ur]=["version","state"],Qe[lr]=["version"],Qe[hr]=["busChannel","unpushLevel"],Qe[fr]=["busChannel"],Qe[dr]=["groupId","busChannel","unpushLevel"],Qe[pr]=["msgId","busChannel"],Qe[gr]=["msgId","busChannel"],Qe[vr]=["totalMemberNum","list"],Qe[yr]=["readTime","userId"],Qe[mr]=["version","tags"],Qe[Ir]=["tagId","name","createdTime","isTop"],Qe[Mr]=["version","tags"],Qe[br]=["tagId"],Qe[ir]=["version","reserve"],Qe[Cr]=["sdkInfo"],Qe[_r]=["nothing"],Qe[Ar]=["syncTime","isEraseMsgContent"],Qe[Tr]=["syncTime"],Qe[wr]=["fromUserId","targetId","type","busChannel","msgUID","msgTime","content"],Qe[Er]=["syncTime"],Qe[Sr]=["list","syncTime","hasNext"],Qe[Nr]=["targetId","type","time","changeType","msgUID","msgTime","busChannel","isAdmin","isDel","operatorId","subChangeType"],Qe[Or]=["targetId","type","query"],Qe[Dr]=["msgTime","msgUID","busChannel"],Qe[xr]=["list"],Qe[Lr]=["targetId","type","opType","busChannel"],Qe[Rr]=["type","notifyType","info","summary"],Qe[jr]=["targetId","busChannel","userId","opType","optime"],Qe[kr]=["targetId","busChannel","count","opType"],Qe[_n]=["roomType","broadcastType","extraInnerData","needSysChatroom","identityChangeType","joinType"],Qe[An]=["users","token","sessionId","roomInfo"],Qe[Tn]=["status"],Qe[wn]=["interior","target","key","value","objectName","content"],Qe[En]=["valueInfo","objectName","content"],Qe[Nn]=["interior","target","key","objectName","content"],Qe[Sn]=["target","valueInfo","objectName","content"],Qe[On]=["state"],Qe[Dn]=["rtcToken"],Qe[xn]=["outInfo"],Qe[Ln]=["userId"],Qe[Rn]=["user"],Qe[jn]=["order"],Qe[kn]=["roomId","roomData","userCount","list"],Qe[Pn]=["key","value"],Qe[Un]=["key"],Qe[Pr]=["type","time","roomId"],Qe[Ur]=["timestamp","roomId"],Qe[zr]=["entries","bFullUpdate","syncTime"],Qe[Br]=["userId"],Qe[Gr]=["info"],Qe[$r]=["invitedUserId","timeoutTime","invitedRoomId","inviteInfo","inviteSessionId"],Qe[Hr]=["invitedUserId","invitedRoomId","inviteInfo","inviteSessionId"],Qe[Fr]=["inviteUserID","answerCode","inviteRoomId","inviteSessionId","content","key","value"],Qe[Vr]=["inviteRoomId","inviteSessionId","inviteContent","inviteRoomKeys"],Qe[Qr]=["rtcRoomId"],Qe[Wr]=["nothing"],Qe),Kr={},qr=function(t){var e=Zr[t];Kr[t]=function(){for(var t={},n={getArrayData:function(){return t}},r=function(r){var i=e[r],o="set".concat(_(i,0,1));n[o]=function(e){t[i]=e}},i=0;i<e.length;i++)r(i);return n},Kr[t].decode=function(t){var e={};D(t)&&(t=JSON.parse(t));var n=function(n){var r="get".concat(_(n,0,1));e[n]=t[n],e[r]=function(){return t[n]}};for(var r in t)n(r);return e}};for(var Jr in Zr)qr(Jr);Kr.getModule=function(t){return Kr[t]()};var Xr,ti,ei,ni,ri,ii,oi,si="\npackage Modules;\nmessage probuf {\n message ".concat(Tn,"\n {\n optional int32 status=1;\n }\n\n message SetUserStatusOutput\n {\n optional int32 nothing=1;\n }\n\n message GetUserStatusInput\n {\n optional int32 nothing=1;\n }\n\n message GetUserStatusOutput\n {\n optional string status=1;\n optional string subUserId=2;\n }\n\n message SubUserStatusInput\n {\n repeated string userid =1;\n }\n\n message SubUserStatusOutput\n {\n optional int32 nothing=1;\n }\n message VoipDynamicInput\n {\n required int32 engineType = 1;\n required string channelName = 2;\n optional string channelExtra = 3;\n }\n\n message VoipDynamicOutput\n {\n required string dynamicKey=1;\n }\n message ").concat(an," {\n required int32 type = 1;\n optional int64 time = 2;\n optional string chrmId=3;\n }\n message ").concat(on," {\n required int64 syncTime = 1;\n required bool ispolling = 2;\n optional bool isweb=3;\n optional bool isPullSend=4;\n optional bool isKeeping=5;\n optional int64 sendBoxSyncTime=6;\n optional int64 broadcastSyncTime=7;\n }\n message ").concat(Je," {\n required int32 sessionId = 1;\n required string classname = 2;\n required bytes content = 3;\n optional string pushText = 4;\n optional string appData = 5;\n repeated string userId = 6;\n optional int64 delMsgTime = 7;\n optional string delMsgId = 8;\n optional int32 configFlag = 9;\n optional int64 clientUniqueId = 10;\n optional string extraContent = 11;\n optional PushExtra pushExt = 12;\n optional string busChannel = 13; // 该消息所属会话的业务标识\n }\n message ").concat(Xe," {\n optional string title = 1;\n optional int32 templateIdNoUse= 2;\n optional string pushId = 3;\n optional string pushConfigs = 4;\n optional string templateId = 5;\n }\n message ").concat(en," {\n repeated DownStreamMessage list = 1;\n required int64 syncTime = 2;\n optional bool finished = 3;\n optional int64 broadcastSyncTime = 4;\n }\n message ").concat(tn," {\n required string fromUserId = 1;\n required ChannelType type = 2;\n optional string groupId = 3;\n required string classname = 4;\n required bytes content = 5;\n required int64 dataTime = 6;\n required int64 status = 7;\n optional int64 extra = 8;\n optional string msgId = 9;\n optional int32 direction = 10;\n optional int32 plantform =11;\n optional int32 isRemoved = 12;\n optional string source = 13;\n optional int64 clientUniqueId = 14;\n optional string extraContent = 15;\n optional string pushContent = 16;\n optional int32 configFlag = 17;\n optional PushExtra pushExt = 18;\n optional string busChannel = 19; // 该消息所属会话的业务标识,限制20字符以内\n optional int64 extStatus = 20; // 消息的扩展标记 第0位,表示送达状态: 0x01 表示已送达;断档: 0x02 表示是否需要执行断档策略; 消息修改: 0x04 拉取历史消息时表示该消息是否修改过 0x08 每条消息携带的频道类型\n repeated string toUserId = 21; //指定接收者(限定群和讨论组)//增加聊天室定向成员\n optional int32 groupUnpush = 22; //群聊默认免打扰级别\n }\n enum ChannelType {\n PERSON = 1;\n PERSONS = 2;\n GROUP = 3;\n TEMPGROUP = 4;\n CUSTOMERSERVICE = 5;\n NOTIFY = 6;\n MC=7;\n MP=8;\n ULTRAGROUP = 10;\n }\n message CreateDiscussionInput {\n optional string name = 1;\n }\n message CreateDiscussionOutput {\n required string id = 1;\n }\n message ChannelInvitationInput {\n repeated string users = 1;\n }\n message LeaveChannelInput {\n required int32 nothing = 1;\n }\n message ChannelEvictionInput {\n required string user = 1;\n }\n message RenameChannelInput {\n required string name = 1;\n }\n message ChannelInfoInput {\n required int32 nothing = 1;\n }\n message ChannelInfoOutput {\n required ChannelType type = 1;\n required string channelId = 2;\n required string channelName = 3;\n required string adminUserId = 4;\n repeated string firstTenUserIds = 5;\n required int32 openStatus = 6;\n }\n message ChannelInfosInput {\n required int32 page = 1;\n optional int32 number = 2;\n }\n message ChannelInfosOutput {\n repeated ChannelInfoOutput channels = 1;\n required int32 total = 2;\n }\n message MemberInfo {\n required string userId = 1;\n required string userName = 2;\n required string userPortrait = 3;\n required string extension = 4;\n }\n message GroupMembersInput {\n required int32 page = 1;\n optional int32 number = 2;\n }\n message GroupMembersOutput {\n repeated MemberInfo members = 1;\n required int32 total = 2;\n }\n message GetUserInfoInput {\n required int32 nothing = 1;\n }\n message GetUserInfoOutput {\n required string userId = 1;\n required string userName = 2;\n required string userPortrait = 3;\n }\n message GetSessionIdInput {\n required int32 nothing = 1;\n }\n message GetSessionIdOutput {\n required int32 sessionId = 1;\n }\n enum FileType {\n image = ").concat(O.IMAGE,";\n audio = ").concat(O.AUDIO,";\n video = ").concat(O.VIDEO,";\n file = ").concat(O.FILE,";\n }\n message ").concat(zn," {\n required FileType type = 1;\n optional string key = 2;\n optional string httpMethod = 3;\n optional string queryString = 4;\n }\n message ").concat(Gn," {\n required FileType type = 1;\n required string key = 2;\n optional string fileName = 3;\n }\n message ").concat(Yn," {\n required FileType type = 1;\n required string key = 2;\n optional string fileName = 3;\n }\n message ").concat(Bn," {\n required int64 deadline = 1;\n required string token = 2;\n optional string bosToken = 3;\n optional string bosDate = 4;\n optional string path = 5;\n optional string osskeyId = 6;\n optional string ossPolicy = 7;\n optional string ossSign = 8;\n optional string ossBucketName = 9;\n optional string s3Credential = 10;\n optional string s3Algorithm = 11;\n optional string s3Date = 12;\n optional string s3Policy = 13;\n optional string s3Signature = 14;\n optional string s3BucketName = 15;\n optional string stcAuthorization = 16;\n optional string stcContentSha256 = 17;\n optional string stcDate = 18;\n optional string stcBucketName = 19;\n }\n message ").concat($n," {\n required string downloadUrl = 1;\n }\n message ").concat(Hn," {\n required string downloadUrl = 1;\n }\n message Add2BlackListInput {\n required string userId = 1;\n }\n message RemoveFromBlackListInput {\n required string userId = 1;\n }\n message QueryBlackListInput {\n required int32 nothing = 1;\n }\n message QueryBlackListOutput {\n repeated string userIds = 1;\n }\n message BlackListStatusInput {\n required string userId = 1;\n }\n message BlockPushInput {\n required string blockeeId = 1;\n }\n message ModifyPermissionInput {\n required int32 openStatus = 1;\n }\n message GroupInput {\n repeated GroupInfo groupInfo = 1;\n }\n message GroupOutput {\n required int32 nothing = 1;\n }\n message GroupInfo {\n required string id = 1;\n required string name = 2;\n }\n message GroupHashInput {\n required string userId = 1;\n required string groupHashCode = 2;\n }\n message GroupHashOutput {\n required GroupHashType result = 1;\n }\n enum GroupHashType {\n group_success = 0x00;\n group_failure = 0x01;\n }\n message ").concat(In," {\n required int32 nothing = 1;\n }\n message ").concat(Mn," {\n required int32 nothing = 1;\n optional string sessionId = 2;\n optional int64 joinTime = 3;\n }\n message ").concat(sn," {\n required int64 syncTime = 1;\n required int32 count = 2;\n }\n\n message ChrmPullMsgNew\n {\n required int32 count = 1;\n required int64 syncTime = 2;\n optional string chrmId=3;\n }\n message ").concat(ln,"\n {\n optional ChannelType type = 1;\n optional int32 count = 2;\n optional int64 startTime = 3;\n optional int32 order = 4;\n }\n message ").concat(gn,"\n {\n required ChannelType type = 1;\n optional DownStreamMessage msg =2;\n optional int32 count = 3;\n repeated string busChannel = 4;\n optional int64 startTime = 5;\n optional int64 endTime = 6;\n }\n message ").concat(fn,"\n {\n repeated RelationInfo info = 1;\n optional bool isFinished = 2;//是否结束\n }\n message RelationInfo\n {\n required ChannelType type = 1;\n required string userId = 2;\n optional DownStreamMessage msg =3;\n optional int64 readMsgTime= 4;\n optional int64 unreadCount= 5;\n optional string busChannel = 6;//该消息所属会话的业务标识\n optional int64 versionTime = 7;//会话项变更时间戳,注意:非排序时间戳\n optional int64 remindCount = 8;//被@的未读数\n optional int32 busChannelType = 9; // 0: 公有频道; 1: 私有频道;\n }\n message RelationInfoReadTime\n {\n required ChannelType type = 1;\n required int64 readMsgTime= 2;\n required string targetId = 3;\n }\n message ").concat(yn,"\n {\n required string targetId = 1;\n required int64 dataTime = 2;\n optional int32 conversationType= 3;\n optional string busChannel = 4; //该消息所属会话的业务标识,限制20字符以内\n }\n message HistoryMessageInput\n {\n required string targetId = 1;\n required int64 dataTime =2;\n required int32 size = 3;\n }\n\n message HistoryMessagesOuput\n {\n repeated DownStreamMessage list = 1;\n required int64 syncTime = 2;\n required int32 hasMsg = 3;\n }\n message ").concat(bn,"\n {\n required int32 count= 1;\n optional int32 order= 2;\n }\n\n message ").concat(Cn,"\n {\n optional int32 userTotalNums = 1;\n repeated ChrmMember userInfos = 2;\n }\n message ChrmMember\n {\n required int64 time = 1;\n required string id = 2;\n }\n message MPFollowInput\n {\n required string id = 1;\n }\n\n message MPFollowOutput\n {\n required int32 nothing = 1;\n optional MpInfo info =2;\n }\n\n message ").concat(On,"\n {\n required string state = 1;\n }\n\n message MCFollowOutput\n {\n required int32 nothing = 1;\n optional MpInfo info =2;\n }\n\n message MpInfo\n {\n required string mpid=1;\n required string name = 2;\n required string type = 3;\n required int64 time=4;\n optional string portraitUrl=5;\n optional string extra =6;\n }\n\n message SearchMpInput\n {\n required int32 type=1;\n required string id=2;\n }\n\n message SearchMpOutput\n {\n required int32 nothing=1;\n repeated MpInfo info = 2;\n }\n\n message PullMpInput\n {\n required int64 time=1;\n required string mpid=2;\n }\n\n message PullMpOutput\n {\n required int32 status=1;\n repeated MpInfo info = 2;\n }\n message ").concat(cn,"\n {\n optional string targetId = 1;\n optional int64 time = 2;\n optional int32 count = 3;\n optional int32 order = 4;\n optional string busChannel = 5; //该消息所属会话的业务标识,限制20字符以内\n }\n\n message ").concat(un,"\n {\n repeated DownStreamMessage list=1;\n required int64 syncTime=2;\n required int32 hasMsg=3;\n }\n message ").concat(jn,"{\n optional int32 order=1;\n }\n\n message ").concat(Un,"{\n repeated string key=1;\n }\n\n message ").concat(Pn,"{\n required string key=1;\n required string value=2;\n }\n\n message RtcUserInfo{\n required string userId=1;\n repeated ").concat(Pn," userData=2; //用户资源信息\n }\n\n message ").concat(An,"{\n repeated RtcUserInfo users=1;\n optional string token=2;\n optional string sessionId=3;\n repeated RtcValueInfo roomInfo = 4; //房间key value\n repeated RtcKVEntity entries = 5;//直播KV属性对象集合\n optional int64 syncTime = 6;//所有属性的最大时间戳(下次拉取KV时用)。\n optional int32 offlineKickTime = 7;//server超时踢人时间,默认60s\n }\n message RtcRoomInfoOutput{\n optional string roomId = 1;\n repeated ").concat(Pn," roomData = 2;\n optional int32 userCount = 3;\n repeated RtcUserInfo list=4;\n }\n message ").concat(_n,"{\n required int32 roomType=1;\n optional int32 broadcastType=2;\n optional RtcValueInfo extraInnerData = 3;\n optional bool needSysChatroom = 4; //是否需要同步聊天室\n optional IdentityChangeType identityChangeType = 5; //身份变更类型\n optional JoinType joinType = 6; // 加入房间类型\n repeated ").concat(Pn," innerDatas = 7; //用户内部inner数据,角色或者连麦信息等\n repeated ").concat(Pn," outerDatas = 8; //用户内部outer数据,自定义数据结构RtcInput。\n }\n enum JoinType {\n KICK = 0; //踢前一个设备\n REFUSE = 1; //当前加入拒绝\n COEXIST = 2; //两个设备共存\n }\n message RtcQryInput{\n required bool isInterior=1;\n required targetType target=2;\n repeated string key=3;\n }\n message ").concat(xn,"{\n repeated ").concat(Pn," outInfo=1;\n }\n message RtcDelDataInput{\n repeated string key=1;\n required bool isInterior=2;\n required targetType target=3;\n }\n message ").concat(Nn,"{\n required bool interior=1;\n required targetType target=2;\n repeated string key=3;\n optional string objectName=4;\n optional string content=5;\n }\n message ").concat(wn,"{\n required bool interior=1;\n required targetType target=2;\n required string key=3;\n required string value=4;\n optional string objectName=5;\n optional string content=6;\n }\n message ").concat(En," {\n repeated ").concat(Pn," valueInfo = 1;\n required string objectName = 2;\n repeated ").concat(Pn," content = 3;\n }\n message RtcOutput\n {\n optional int32 nothing=1;\n }\n message ").concat(Dn,"{\n required string rtcToken=1;\n }\n enum targetType {\n ROOM =1 ;\n PERSON = 2;\n }\n message ").concat(Sn,"{\n required targetType target=1;\n repeated ").concat(Pn," valueInfo=2;\n optional string objectName=3;\n optional string content=4;\n }\n message ").concat(Ln,"{\n repeated string userId = 1;\n }\n message ").concat(Rn,"{\n repeated RtcUserInfo user = 1;\n }\n message ").concat(nn,"{\n required int32 nothing = 1;\n }\n message ").concat(rn,"{\n required int64 inboxTime = 1;\n required int64 sendboxTime = 2;\n required int64 totalUnreadCount = 3;\n }\n message ").concat(mn,"\n {\n required ChannelType type = 1;\n required int64 msgTime = 2;\n required string channelId = 3;\n optional string busChannel = 4;//该消息所属会话的业务标识\n }\n message SessionMsgReadOutput\n {\n optional int32 nothing=1;\n }\n message ").concat(hn,"\n {\n repeated SessionInfo sessions = 1;\n }\n message ").concat(dn,"\n {\n required ChannelType type = 1;\n required string channelId = 2;\n optional string busChannel = 3;//所属会话业务标识\n }\n message ").concat(pn,"\n {\n optional int32 nothing=1;\n }\n message ").concat(vn,"\n {\n optional ChannelType type = 1;\n optional string conversationId = 2;\n repeated DeleteMsg msgs = 3;\n optional string busChannel = 4; //该消息所属会话的业务标识,限制20字符以内\n }\n message DeleteMsg\n {\n optional string msgId = 1;\n optional int64 msgDataTime = 2;\n optional int32 direct = 3;\n }\n message ChrmKVEntity {\n required string key = 1;\n required string value = 2;\n optional int32 status = 3;\n optional int64 timestamp = 4;\n optional string uid = 5;\n optional int64 version = 6;\n }\n message ").concat(Vn," {\n required ChrmKVEntity entry = 1;\n optional bool bNotify = 2;\n optional UpStreamMessage notification = 3;\n optional ChannelType type = 4;\n }\n message ").concat(Qn," {\n repeated ChrmKVEntity entry = 1;\n optional bool bNotify = 2;\n optional UpStreamMessage notification = 3;\n optional ChannelType type = 4;\n }\n message ").concat(Wn," {\n repeated ChrmKVEntity entry = 1;\n optional bool bNotify = 2;\n optional UpStreamMessage notification = 3;\n optional ChannelType type = 4;\n }\n message ").concat(Zn," {\n repeated ChrmKVEntity entries = 1;\n optional bool bFullUpdate = 2;\n optional int64 syncTime = 3;\n }\n message ChrmKVSVersionEntity {\n optional int64 version = 1;\n optional string key = 2;\n }\n\n message ").concat(Kn," {\n repeated ChrmKVSOutputEntity errorKeys = 1;\n repeated ChrmKVSVersionEntity keysVersion = 2;\n }\n message ").concat(Jn,"\n {\n optional string key = 1;\n optional int32 errorCode = 2;\n }\n message ").concat(Xn," {\n required int64 timestamp = 1;\n }\n message ").concat(tr," {\n required int64 version=1;\n required string value=2;\n }\n message ").concat(er," {\n required int64 version=1;\n required bool reserve=2;\n }\n message ").concat(nr," {\n required int64 version=1;\n optional bool reserve=2;\n }\n message ").concat(rr," {\n repeated UserSettingItem items = 1;\n required int64 version=2;\n }\n message UserSettingItem {\n required string targetId= 1;\n required ChannelType type = 2;\n required string key = 4;\n required bytes value = 5;\n required int64 version=6;\n required int32 status=7;\n repeated SessionTagItem tags= 8;\n }\n message ").concat(or," {\n required int64 time = 1;\n }\n message ").concat(sr," {\n required int64 version=1;\n repeated SessionState state= 2;\n }\n message ").concat(ar," {\n required ChannelType type = 1;\n required string channelId = 2;\n optional int64 time = 3;\n repeated SessionStateItem stateItem = 4;\n optional string busChannel = 5;//该消息所属会话的业务标识\n }\n message ").concat(cr," {\n required SessionStateType sessionStateType = 1;\n required string value = 2;\n repeated SessionTagItem tags = 3;\n }\n enum SessionStateType {\n IsSilent = 1;\n IsTop = 2;\n Tags = 3;\n }\n message ").concat(ur," {\n required int64 version=1;\n repeated SessionState state= 2;\n }\n message ").concat(fr," {\n optional string busChannel = 1;\n }\n message ").concat(hr,"{\n optional string busChannel = 1;\n required int32 unpushLevel = 2;\n }\n message ").concat(dr," {\n required string groupId = 1;\n optional string busChannel = 2;\n required int32 unpushLevel = 3;\n }\n message ").concat(lr," {\n required int64 version=1;\n }\n message ").concat(pr," {\n repeated string msgId=1; //已读消息ID\n optional string channelId = 2; // 该消息所属会话的业务标识\n }\n message ").concat(gr," {\n repeated string msgId=1; //已读消息ID\n optional string channelId = 2; // 该消息所属会话的业务标识\n }\n message ").concat(vr," {\n required int32 totalMemberNum = 1;//群内总人数\n repeated GrpMsgReadUser list = 2;//已读用户列表(list复类型)\n }\n message ").concat(yr," {\n required int64 readTime = 1;//已读时间\n required string userId = 2;//已读用户id\n }\n message ").concat(mr," {\n required int64 version=1;\n repeated SessionTagItem tags=2;\n }\n message ").concat(Ir," {\n required string tagId=1;\n optional string name=2;\n optional int64 createdTime=3;\n optional bool isTop=4;\n }\n message ").concat(Mr," {\n required int64 version=1;\n repeated SessionTagItem tags=2;\n }\n message ").concat(br," {\n repeated string tagId=1;\n }\n message ").concat(ir," {\n required int64 version=1;\n required bool reserve=2;\n }\n message ").concat(Cr,' {\n required string sdkInfo=1; // 用户集成的 sdk 信息,json 格式 {"web-rtc": "4.0.3.7"}\n }\n message ').concat(_r,"\n {\n optional int32 nothing=1; //占位\n }\n message ").concat(Pr," \n {\n required int32 type= 1; //(通知类型 1:rtc房间状态KV变更通知)\n optional int64 time= 2; //消息产生时间\n optional string roomId=3; //主播房间id\n }\n message ").concat(Ur,"\n {\n required int64 timestamp = 1;\n required string roomId = 2;\n }\n message ").concat(zr,"\n {\n repeated RtcKVEntity entries = 1;\n optional bool bFullUpdate = 2;\n optional int64 syncTime = 3; \n }\n message RtcKVEntity \n {\n required string key = 1;\n required string value = 2;\n optional int32 status = 3;\n optional int64 timestamp = 4;\n optional string uid = 5;\n }\n enum IdentityChangeType \n {\n AnchorToViewer = 1; //1为主播变观众\n ViewerToAnchor = 2; //2为观众变主播\n }\n message ").concat(Br,"\n {\n required string userId = 1;\n }\n message ").concat(Gr,"\n {\n repeated RtcJoinedInfo info = 1;\n }\n message RtcJoinedInfo\n {\n required string deviceId = 1; //设备ID\n required string roomId = 2; //加入的房间ID\n optional int64 joinTime = 3; //加入的时间\n }\n message ").concat(Yr,"\n {\n required string rtcToken=1;\n repeated RtcKVEntity entries = 2;//KV属性对象集合\n optional int64 syncTime = 3;//所有属性的最大时间戳(下次拉取KV时用)。\n }\n message ").concat($r,"\n {\n required string invitedUserId=1; //被邀请的人的uid\n optional int32 timeoutTime=2; //邀请超时时间(秒),默认三十秒\n required string invitedRoomId=3; //被邀请的房间\n required string inviteInfo=4; //邀请的信息(包含邀请人,被邀请人,各自userid)客户端定义好.协议栈和server透传\n required string inviteSessionId= 5; //客户端保证唯一性(建议roomid_userid_时间戳_随机数)\n }\n message ").concat(Hr,"\n {\n required string invitedUserId=1; //被邀请的人的uid\n required string invitedRoomId=2; //被邀请的房间\n required string inviteInfo=3; //取消邀请的信息(包含邀请人,被邀请人,各自userid)客户端定义好.协议栈和server透传\n required string inviteSessionId=4; //邀请的sessionId,客户端发起邀请时产生\n }\n message ").concat(Fr,"\n {\n required string inviteUserId=1; //邀请的人的uid\n required int32 answerCode=2; //是否接受连麦邀请.0为拒绝,1为接受\n required string inviteRoomId=3; //邀请的房间\n required string inviteSessionId=4; //邀请的sessionId\n required string content=5; //需要转发的content\n optional string key=6; //如果接受的话,需要加这个字段,放在room级别的k和v,新加入房间的能拉取到\n optional string value=7; //如果接受的话,需要加这个字段,放在room级别的k和v,新加入房间的能拉取到\n }\n message ").concat(Vr,"\n {\n required string inviteRoomId=1; //邀请的房间\n required string inviteSessionId=2; //邀请的sessionId\n required string inviteContent=3; //结束连麦的信息(需要透传给房间内其他人)\n repeated string inviteRoomKeys=4; //需要删除连麦的信息的key\n }\n message ").concat(Ar,"\n {\n required int64 syncTime = 1;//同步时间戳\n optional bool isEraseMsgContent = 2;//拉取会话时,是否屏蔽掉消息内容\n }\n message ").concat(Tr,"\n {\n required int64 syncTime = 1;//同步时间戳\n }\n message ").concat(wr,"\n {\n required string fromUserId = 1;//(谁发的)\n required string targetId = 2;// 目标Id(超级群Id)\n required ChannelType type = 3;//发送类型如:(P2P,GROUP,ULTRAGROUP)\n required string msgUID = 4; // 扩展消息的内容体\n required int64 msgTime = 5; //原始消息时间\n optional string busChannel = 6; // 该消息所属会话的业务标识,限制20字符以内\n optional string content = 7; // 即extraContent消息扩展内容,下表格说明\n }\n message ").concat(Er," //查询入参\n {\n required int64 syncTime = 1;//同步时间戳\n }\n message ").concat(Sr," //应答结果\n {\n repeated MsgChange list = 1; //变更\n required int64 syncTime = 2; //同步时间(用于下次同步入参)\n optional bool hasNext = 3 ;\n }\n message ").concat(Nr," //变更详情\n {\n required string targetId = 1; // 目标Id(超级群Id)\n required ChannelType type = 2; // 会话类型\n required int64 time = 3; // 变更时间\n required int32 changeType = 4; // 消息变更类型(1:扩展,2:修改,3:撤回,4:频道变更)\n required string msgUID = 5; // 消息ID\n required int64 msgTime = 6; // 消息时间\n optional string busChannel = 7; // 频道ID\n optional bool isAdmin = 8; //是否为管理员,默认为 0, 设为 1 时, IMKit 收到此条消息后,小灰条默认显示为“管理员 撤回了一条消息”。\n optional bool isDel = 9; //默认为 0 撤回该条消息同时,用户端将该条消息删除并替换为一条小灰条撤回提示消息;为 1 时,该条消息删除后,不替换为小灰条提示消息。\n optional string operatorId = 10; // 消息变更的操作人 Id; subChangeType 为 5 时,operatorId 表示被踢出超级群私有频道白名单的用户\n optional int32 subChangeType = 11; // 当 changeType 为 4 时,该参数有意义; 1: 删除频道; 2: 公有频道变为私有频道; 3: 私有频道变为公有频道; 4: 私有频道成员变更-加入, SDK 不通知业务层; 5: 私有频道成员变更-退出; 6: 公有频道变为私有频道,当前用户不在白名单中;\n }\n message ").concat(Or," //请求\n {\n required string targetId = 1; // 目标Id(超级群Id)\n required ChannelType type = 2; // 会话类型\n repeated MessageQueryInfo query = 3; //\n }\n message MessageQueryInfo\n {\n required int64 msgTime = 1; // 消息时间\n required string msgUID = 2; // 消息ID\n optional string busChannel = 3; // 频道ID\n }\n message ").concat(xr," //应答\n {\n repeated DownStreamMessage list = 1;//消息\n }\n message ").concat(Lr," //客户端发送\n {\n optional string targetId = 1;// targetId\n optional ChannelType type = 2;//发送会话类型如:(P2P,GROUP) \n optional int32 opType = 3; //0 , 正在输入, 1 正在XXX \n optional string busChannel = 4; // 频道(channelId,可以为空)\n }\n message ").concat(Rr," //服务端发送\n {\n optional ChannelType type = 1;//发送会话类型如(P2P,GROUP) \n optional int64 notifyType = 2; //0x1 表示明细, 0x2 表示汇总 0x3 表示明细+汇总\n repeated OperateInfo info = 3 ; //明细列表 当notifyType 为 1和3时,有效\n repeated OperateSummary summary = 4 ; //汇总列表, 当notifyType 为2和3 时,有效\n }\n message ").concat(jr," {\n // XX 正在做什么\n optional string targetId = 1; // 超级群Id 会话id\n optional string busChannel = 2; // 频道(channelId,可以为空)\n optional string userId = 3; // userId\n optional int32 opType = 4; //0 , 正在输入, 1 正在XX \n optional int64 optime = 5; //服务端收到用户操作的上行时间. \n }\n \n message ").concat(kr," {\n // 几个人 正在干什么\n optional string targetId = 1; // 超级群Id 会话id\n optional string busChannel = 2; // 频道(channelId,可以为空)\n optional int32 count = 3; // 操作人数\n optional int32 opType = 4; //0, 正在输入, 1 正在XX \n }\n message ").concat(Qr,"\n {\n required string rtcRoomId= 1; //rtc房间ID;\n }\n message ").concat(Wr,"\n {\n required int32 nothing = 1; //用于占位\n }\n}\n"),ai=(Xr=si,ti=function(){function t(t,e,n){this.low=0|t,this.high=0|e,this.unsigned=!!n}function e(t){return!0===(t&&t.__isLong__)}function n(t,e){var n,r,o;return e?(o=(t>>>=0)>=0&&t<256)&&(r=c[t])?r:(n=i(t,(0|t)<0?-1:0,!0),o&&(c[t]=n),n):(o=(t|=0)>=-128&&t<128)&&(r=a[t])?r:(n=i(t,t<0?-1:0,!1),o&&(a[t]=n),n)}function r(t,e){if(isNaN(t)||!isFinite(t))return e?g:p;if(e){if(t<0)return g;if(t>=f)return M}else{if(-h>=t)return b;if(t+1>=h)return I}return t<0?r(-t,e).neg():i(0|t%l,0|t/l,e)}function i(e,n,r){return new t(e,n,r)}function o(t,e,n){var i,s,a,c,l,f,h;if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return p;if("number"==typeof e?(n=e,e=!1):e=!!e,(n=n||10)<2||n>36)throw RangeError("radix");if((i=t.indexOf("-"))>0)throw Error("interior hyphen");if(0===i)return o(t.substring(1),e,n).neg();for(s=r(u(n,8)),a=p,c=0;c<t.length;c+=8)l=Math.min(8,t.length-c),f=parseInt(t.substring(c,c+l),n),l<8?(h=r(u(n,l)),a=a.mul(h).add(r(f))):a=(a=a.mul(s)).add(r(f));return a.unsigned=e,a}function s(e){return e instanceof t?e:"number"==typeof e?r(e):"string"==typeof e?o(e):i(e.low,e.high,e.unsigned)}var a,c,u,l,f,h,d,p,g,v,y,m,I,M,b,C;return t.prototype.__isLong__,Object.defineProperty(t.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1}),t.isLong=e,a={},c={},t.fromInt=n,t.fromNumber=r,t.fromBits=i,u=Math.pow,t.fromString=o,t.fromValue=s,h=(f=(l=4294967296)*l)/2,d=n(16777216),p=n(0),t.ZERO=p,g=n(0,!0),t.UZERO=g,v=n(1),t.ONE=v,y=n(1,!0),t.UONE=y,m=n(-1),t.NEG_ONE=m,I=i(-1,2147483647,!1),t.MAX_VALUE=I,M=i(-1,-1,!0),t.MAX_UNSIGNED_VALUE=M,b=i(0,-2147483648,!1),t.MIN_VALUE=b,(C=t.prototype).toInt=function(){return this.unsigned?this.low>>>0:this.low},C.toNumber=function(){return this.unsigned?(this.high>>>0)*l+(this.low>>>0):this.high*l+(this.low>>>0)},C.toString=function(t){var e,n,i,o,s,a,c,l;if((t=t||10)<2||t>36)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())return this.eq(b)?(e=r(t),i=(n=this.div(e)).mul(e).sub(this),n.toString(t)+i.toInt().toString(t)):"-"+this.neg().toString(t);for(o=r(u(t,6),this.unsigned),s=this,a="";;){if(c=s.div(o),l=(s.sub(c.mul(o)).toInt()>>>0).toString(t),(s=c).isZero())return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}},C.getHighBits=function(){return this.high},C.getHighBitsUnsigned=function(){return this.high>>>0},C.getLowBits=function(){return this.low},C.getLowBitsUnsigned=function(){return this.low>>>0},C.getNumBitsAbs=function(){var t,e;if(this.isNegative())return this.eq(b)?64:this.neg().getNumBitsAbs();for(t=0!=this.high?this.high:this.low,e=31;e>0&&0==(t&1<<e);e--);return 0!=this.high?e+33:e+1},C.isZero=function(){return 0===this.high&&0===this.low},C.isNegative=function(){return!this.unsigned&&this.high<0},C.isPositive=function(){return this.unsigned||this.high>=0},C.isOdd=function(){return 1==(1&this.low)},C.isEven=function(){return 0==(1&this.low)},C.equals=function(t){return e(t)||(t=s(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},C.eq=C.equals,C.notEquals=function(t){return!this.eq(t)},C.neq=C.notEquals,C.lessThan=function(t){return this.comp(t)<0},C.lt=C.lessThan,C.lessThanOrEqual=function(t){return this.comp(t)<=0},C.lte=C.lessThanOrEqual,C.greaterThan=function(t){return this.comp(t)>0},C.gt=C.greaterThan,C.greaterThanOrEqual=function(t){return this.comp(t)>=0},C.gte=C.greaterThanOrEqual,C.compare=function(t){if(e(t)||(t=s(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},C.comp=C.compare,C.negate=function(){return!this.unsigned&&this.eq(b)?b:this.not().add(v)},C.neg=C.negate,C.add=function(t){var n,r,o,a,c,u,l,f,h,d,p;return e(t)||(t=s(t)),n=this.high>>>16,r=65535&this.high,o=this.low>>>16,a=65535&this.low,c=t.high>>>16,u=65535&t.high,l=t.low>>>16,f=0,h=0,d=0,p=0,d+=(p+=a+(65535&t.low))>>>16,h+=(d+=o+l)>>>16,f+=(h+=r+u)>>>16,f+=n+c,i((d&=65535)<<16|(p&=65535),(f&=65535)<<16|(h&=65535),this.unsigned)},C.subtract=function(t){return e(t)||(t=s(t)),this.add(t.neg())},C.sub=C.subtract,C.multiply=function(t){var n,o,a,c,u,l,f,h,g,v,y,m;return this.isZero()?p:(e(t)||(t=s(t)),t.isZero()?p:this.eq(b)?t.isOdd()?b:p:t.eq(b)?this.isOdd()?b:p:this.isNegative()?t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg():t.isNegative()?this.mul(t.neg()).neg():this.lt(d)&&t.lt(d)?r(this.toNumber()*t.toNumber(),this.unsigned):(n=this.high>>>16,o=65535&this.high,a=this.low>>>16,c=65535&this.low,u=t.high>>>16,l=65535&t.high,f=t.low>>>16,g=0,v=0,y=0,m=0,y+=(m+=c*(h=65535&t.low))>>>16,v+=(y+=a*h)>>>16,y&=65535,v+=(y+=c*f)>>>16,g+=(v+=o*h)>>>16,v&=65535,g+=(v+=a*f)>>>16,v&=65535,g+=(v+=c*l)>>>16,g+=n*h+o*f+a*l+c*u,i((y&=65535)<<16|(m&=65535),(g&=65535)<<16|(v&=65535),this.unsigned)))},C.mul=C.multiply,C.divide=function(t){var n,i,o,a,c,l,f;if(e(t)||(t=s(t)),t.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?g:p;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return g;if(t.gt(this.shru(1)))return y;o=g}else{if(this.eq(b))return t.eq(v)||t.eq(m)?b:t.eq(b)?v:(n=this.shr(1).div(t).shl(1)).eq(p)?t.isNegative()?v:m:(i=this.sub(t.mul(n)),o=n.add(i.div(t)));if(t.eq(b))return this.unsigned?g:p;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();o=p}for(i=this;i.gte(t);){for(n=Math.max(1,Math.floor(i.toNumber()/t.toNumber())),c=(a=Math.ceil(Math.log(n)/Math.LN2))<=48?1:u(2,a-48),f=(l=r(n)).mul(t);f.isNegative()||f.gt(i);)f=(l=r(n-=c,this.unsigned)).mul(t);l.isZero()&&(l=v),o=o.add(l),i=i.sub(f)}return o},C.div=C.divide,C.modulo=function(t){return e(t)||(t=s(t)),this.sub(this.div(t).mul(t))},C.mod=C.modulo,C.not=function(){return i(~this.low,~this.high,this.unsigned)},C.and=function(t){return e(t)||(t=s(t)),i(this.low&t.low,this.high&t.high,this.unsigned)},C.or=function(t){return e(t)||(t=s(t)),i(this.low|t.low,this.high|t.high,this.unsigned)},C.xor=function(t){return e(t)||(t=s(t)),i(this.low^t.low,this.high^t.high,this.unsigned)},C.shiftLeft=function(t){return e(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?i(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):i(0,this.low<<t-32,this.unsigned)},C.shl=C.shiftLeft,C.shiftRight=function(t){return e(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?i(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):i(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},C.shr=C.shiftRight,C.shiftRightUnsigned=function(t){var n;return e(t)&&(t=t.toInt()),0==(t&=63)?this:(n=this.high,t<32?i(this.low>>>t|n<<32-t,n>>>t,this.unsigned):i(32===t?n:n>>>t-32,0,this.unsigned))},C.shru=C.shiftRightUnsigned,C.toSigned=function(){return this.unsigned?i(this.low,this.high,!1):this},C.toUnsigned=function(){return this.unsigned?this:i(this.low,this.high,!0)},C.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},C.toBytesLE=function(){var t=this.high,e=this.low;return[255&e,255&e>>>8,255&e>>>16,255&e>>>24,255&t,255&t>>>8,255&t>>>16,255&t>>>24]},C.toBytesBE=function(){var t=this.high,e=this.low;return[255&t>>>24,255&t>>>16,255&t>>>8,255&t,255&e>>>24,255&e>>>16,255&e>>>8,255&e]},t}(),ei=function(t){function e(t){var e=0;return function(){return e<t.length?t.charCodeAt(e++):null}}function n(){var t=[],e=[];return function(){return 0===arguments.length?e.join("")+a.apply(String,t):(t.length+arguments.length>1024&&(e.push(a.apply(String,t)),t.length=0),void Array.prototype.push.apply(t,arguments))}}function r(t,e,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,u=c>>1,l=-7,f=n?i-1:0,h=n?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+t[e+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=u}return(d?-1:1)*s*Math.pow(2,o-r)}function i(t,e,n,r,i,o){var s,a,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,i),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[n+d]=255&s,d+=p,s/=256,u-=8);t[n+d-p]|=128*g}var o,s,a,c,u,l=function(t,e,n){if(void 0===t&&(t=l.DEFAULT_CAPACITY),void 0===e&&(e=l.DEFAULT_ENDIAN),void 0===n&&(n=l.DEFAULT_NOASSERT),!n){if((t|=0)<0)throw RangeError("Illegal capacity");e=!!e,n=!!n}this.buffer=0===t?s:new ArrayBuffer(t),this.view=0===t?null:new Uint8Array(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=t,this.littleEndian=e,this.noAssert=n};return l.VERSION="5.0.1",l.LITTLE_ENDIAN=!0,l.BIG_ENDIAN=!1,l.DEFAULT_CAPACITY=16,l.DEFAULT_ENDIAN=l.BIG_ENDIAN,l.DEFAULT_NOASSERT=!1,l.Long=t||null,(o=l.prototype).__isByteBuffer__,Object.defineProperty(o,"__isByteBuffer__",{value:!0,enumerable:!1,configurable:!1}),s=new ArrayBuffer(0),a=String.fromCharCode,l.accessor=function(){return Uint8Array},l.allocate=function(t,e,n){return new l(t,e,n)},l.concat=function(t,e,n,r){var i,o,s,a,c,u;for(("boolean"==typeof e||"string"!=typeof e)&&(r=n,n=e,e=void 0),i=0,s=0,a=t.length;a>s;++s)l.isByteBuffer(t[s])||(t[s]=l.wrap(t[s],e)),(o=t[s].limit-t[s].offset)>0&&(i+=o);if(0===i)return new l(0,n,r);for(u=new l(i,n,r),s=0;a>s;)(o=(c=t[s++]).limit-c.offset)<=0||(u.view.set(c.view.subarray(c.offset,c.limit),u.offset),u.offset+=o);return u.limit=u.offset,u.offset=0,u},l.isByteBuffer=function(t){return!0===(t&&t.__isByteBuffer__)},l.type=function(){return ArrayBuffer},l.wrap=function(t,e,n,r){var i,s;if("string"!=typeof e&&(r=n,n=e,e=void 0),"string"==typeof t)switch(void 0===e&&(e="utf8"),e){case"base64":return l.fromBase64(t,n);case"hex":return l.fromHex(t,n);case"binary":return l.fromBinary(t,n);case"utf8":return l.fromUTF8(t,n);case"debug":return l.fromDebug(t,n);default:throw Error("Unsupported encoding: "+e)}if(null===t||"object"!=typeof t)throw TypeError("Illegal buffer");if(l.isByteBuffer(t))return(i=o.clone.call(t)).markedOffset=-1,i;if(t instanceof Uint8Array)i=new l(0,n,r),t.length>0&&(i.buffer=t.buffer,i.offset=t.byteOffset,i.limit=t.byteOffset+t.byteLength,i.view=new Uint8Array(t.buffer));else if(t instanceof ArrayBuffer)i=new l(0,n,r),t.byteLength>0&&(i.buffer=t,i.offset=0,i.limit=t.byteLength,i.view=t.byteLength>0?new Uint8Array(t):null);else{if("[object Array]"!==Object.prototype.toString.call(t))throw TypeError("Illegal buffer");for((i=new l(t.length,n,r)).limit=t.length,s=0;s<t.length;++s)i.view[s]=t[s]}return i},o.writeBitSet=function(t,e){var n,r,i,o,s,a,c=void 0===e;if(c&&(e=this.offset),!this.noAssert){if(!(t instanceof Array))throw TypeError("Illegal BitSet: Not an array");if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}for(r=e,o=(i=t.length)>>3,s=0,e+=this.writeVarint32(i,e);o--;)n=1&!!t[s++]|(1&!!t[s++])<<1|(1&!!t[s++])<<2|(1&!!t[s++])<<3|(1&!!t[s++])<<4|(1&!!t[s++])<<5|(1&!!t[s++])<<6|(1&!!t[s++])<<7,this.writeByte(n,e++);if(i>s){for(a=0,n=0;i>s;)n|=(1&!!t[s++])<<a++;this.writeByte(n,e++)}return c?(this.offset=e,this):e-r},o.readBitSet=function(t){var e,n,r,i,o,s,a,c=void 0===t;for(c&&(t=this.offset),i=(r=(n=this.readVarint32(t)).value)>>3,o=0,s=[],t+=n.length;i--;)e=this.readByte(t++),s[o++]=!!(1&e),s[o++]=!!(2&e),s[o++]=!!(4&e),s[o++]=!!(8&e),s[o++]=!!(16&e),s[o++]=!!(32&e),s[o++]=!!(64&e),s[o++]=!!(128&e);if(r>o)for(a=0,e=this.readByte(t++);r>o;)s[o++]=!!(1&e>>a++);return c&&(this.offset=t),s},o.readBytes=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+t>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+"+t+") <= "+this.buffer.byteLength)}return n=this.slice(e,e+t),r&&(this.offset+=t),n},o.writeBytes=o.append,o.writeInt8=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=1)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=1,this.view[e]=t,r&&(this.offset+=1),this},o.writeByte=o.writeInt8,o.readInt8=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return 128==(128&(e=this.view[t]))&&(e=-(255-e+1)),n&&(this.offset+=1),e},o.readByte=o.readInt8,o.writeUint8=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=1)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=1,this.view[e]=t,r&&(this.offset+=1),this},o.writeUInt8=o.writeUint8,o.readUint8=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return e=this.view[t],n&&(this.offset+=1),e},o.readUInt8=o.readUint8,o.writeInt16=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=2)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=2,this.littleEndian?(this.view[e+1]=(65280&t)>>>8,this.view[e]=255&t):(this.view[e]=(65280&t)>>>8,this.view[e+1]=255&t),r&&(this.offset+=2),this},o.writeShort=o.writeInt16,o.readInt16=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+2) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t],e|=this.view[t+1]<<8):(e=this.view[t]<<8,e|=this.view[t+1]),32768==(32768&e)&&(e=-(65535-e+1)),n&&(this.offset+=2),e},o.readShort=o.readInt16,o.writeUint16=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=2)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=2,this.littleEndian?(this.view[e+1]=(65280&t)>>>8,this.view[e]=255&t):(this.view[e]=(65280&t)>>>8,this.view[e+1]=255&t),r&&(this.offset+=2),this},o.writeUInt16=o.writeUint16,o.readUint16=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+2) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t],e|=this.view[t+1]<<8):(e=this.view[t]<<8,e|=this.view[t+1]),n&&(this.offset+=2),e},o.readUInt16=o.readUint16,o.writeInt32=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=4)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=4,this.littleEndian?(this.view[e+3]=255&t>>>24,this.view[e+2]=255&t>>>16,this.view[e+1]=255&t>>>8,this.view[e]=255&t):(this.view[e]=255&t>>>24,this.view[e+1]=255&t>>>16,this.view[e+2]=255&t>>>8,this.view[e+3]=255&t),r&&(this.offset+=4),this},o.writeInt=o.writeInt32,o.readInt32=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t+2]<<16,e|=this.view[t+1]<<8,e|=this.view[t],e+=this.view[t+3]<<24>>>0):(e=this.view[t+1]<<16,e|=this.view[t+2]<<8,e|=this.view[t+3],e+=this.view[t]<<24>>>0),e|=0,n&&(this.offset+=4),e},o.readInt=o.readInt32,o.writeUint32=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=4)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=4,this.littleEndian?(this.view[e+3]=255&t>>>24,this.view[e+2]=255&t>>>16,this.view[e+1]=255&t>>>8,this.view[e]=255&t):(this.view[e]=255&t>>>24,this.view[e+1]=255&t>>>16,this.view[e+2]=255&t>>>8,this.view[e+3]=255&t),r&&(this.offset+=4),this},o.writeUInt32=o.writeUint32,o.readUint32=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t+2]<<16,e|=this.view[t+1]<<8,e|=this.view[t],e+=this.view[t+3]<<24>>>0):(e=this.view[t+1]<<16,e|=this.view[t+2]<<8,e|=this.view[t+3],e+=this.view[t]<<24>>>0),n&&(this.offset+=4),e},o.readUInt32=o.readUint32,t&&(o.writeInt64=function(e,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return"number"==typeof e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e)),(n+=8)>(r=this.buffer.byteLength)&&this.resize((r*=2)>n?r:n),n-=8,i=e.low,o=e.high,this.littleEndian?(this.view[n+3]=255&i>>>24,this.view[n+2]=255&i>>>16,this.view[n+1]=255&i>>>8,this.view[n]=255&i,n+=4,this.view[n+3]=255&o>>>24,this.view[n+2]=255&o>>>16,this.view[n+1]=255&o>>>8,this.view[n]=255&o):(this.view[n]=255&o>>>24,this.view[n+1]=255&o>>>16,this.view[n+2]=255&o>>>8,this.view[n+3]=255&o,n+=4,this.view[n]=255&i>>>24,this.view[n+1]=255&i>>>16,this.view[n+2]=255&i>>>8,this.view[n+3]=255&i),s&&(this.offset+=8),this},o.writeLong=o.writeInt64,o.readInt64=function(e){var n,r,i,o=void 0===e;if(o&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}return n=0,r=0,this.littleEndian?(n=this.view[e+2]<<16,n|=this.view[e+1]<<8,n|=this.view[e],n+=this.view[e+3]<<24>>>0,e+=4,r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0,e+=4,n=this.view[e+1]<<16,n|=this.view[e+2]<<8,n|=this.view[e+3],n+=this.view[e]<<24>>>0),i=new t(n,r,!1),o&&(this.offset+=8),i},o.readLong=o.readInt64,o.writeUint64=function(e,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return"number"==typeof e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e)),(n+=8)>(r=this.buffer.byteLength)&&this.resize((r*=2)>n?r:n),n-=8,i=e.low,o=e.high,this.littleEndian?(this.view[n+3]=255&i>>>24,this.view[n+2]=255&i>>>16,this.view[n+1]=255&i>>>8,this.view[n]=255&i,n+=4,this.view[n+3]=255&o>>>24,this.view[n+2]=255&o>>>16,this.view[n+1]=255&o>>>8,this.view[n]=255&o):(this.view[n]=255&o>>>24,this.view[n+1]=255&o>>>16,this.view[n+2]=255&o>>>8,this.view[n+3]=255&o,n+=4,this.view[n]=255&i>>>24,this.view[n+1]=255&i>>>16,this.view[n+2]=255&i>>>8,this.view[n+3]=255&i),s&&(this.offset+=8),this},o.writeUInt64=o.writeUint64,o.readUint64=function(e){var n,r,i,o=void 0===e;if(o&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}return n=0,r=0,this.littleEndian?(n=this.view[e+2]<<16,n|=this.view[e+1]<<8,n|=this.view[e],n+=this.view[e+3]<<24>>>0,e+=4,r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0,e+=4,n=this.view[e+1]<<16,n|=this.view[e+2]<<8,n|=this.view[e+3],n+=this.view[e]<<24>>>0),i=new t(n,r,!0),o&&(this.offset+=8),i},o.readUInt64=o.readUint64),o.writeFloat32=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t)throw TypeError("Illegal value: "+t+" (not a number)");if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=4)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=4,i(this.view,t,e,this.littleEndian,23,4),r&&(this.offset+=4),this},o.writeFloat=o.writeFloat32,o.readFloat32=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=r(this.view,t,this.littleEndian,23,4),n&&(this.offset+=4),e},o.readFloat=o.readFloat32,o.writeFloat64=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t)throw TypeError("Illegal value: "+t+" (not a number)");if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=8)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=8,i(this.view,t,e,this.littleEndian,52,8),r&&(this.offset+=8),this},o.writeDouble=o.writeFloat64,o.readFloat64=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+8) <= "+this.buffer.byteLength)}return e=r(this.view,t,this.littleEndian,52,8),n&&(this.offset+=8),e},o.readDouble=o.readFloat64,l.MAX_VARINT32_BYTES=5,l.calculateVarint32=function(t){return(t>>>=0)<128?1:t<16384?2:1<<21>t?3:1<<28>t?4:5},l.zigZagEncode32=function(t){return((t|=0)<<1^t>>31)>>>0},l.zigZagDecode32=function(t){return 0|t>>>1^-(1&t)},o.writeVarint32=function(t,e){var n,r,i,o=void 0===e;if(o&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}for((e+=r=l.calculateVarint32(t))>(i=this.buffer.byteLength)&&this.resize((i*=2)>e?i:e),e-=r,t>>>=0;t>=128;)n=128|127&t,this.view[e++]=n,t>>>=7;return this.view[e++]=t,o?(this.offset=e,this):r},o.writeVarint32ZigZag=function(t,e){return this.writeVarint32(l.zigZagEncode32(t),e)},o.readVarint32=function(t){var e,n,r,i,o=void 0===t;if(o&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}n=0,r=0;do{if(!this.noAssert&&t>this.limit)throw(i=Error("Truncated")).truncated=!0,i;e=this.view[t++],n<5&&(r|=(127&e)<<7*n),++n}while(0!=(128&e));return r|=0,o?(this.offset=t,r):{value:r,length:n}},o.readVarint32ZigZag=function(t){var e=this.readVarint32(t);return"object"==typeof e?e.value=l.zigZagDecode32(e.value):e=l.zigZagDecode32(e),e},t&&(l.MAX_VARINT64_BYTES=10,l.calculateVarint64=function(e){"number"==typeof e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e));var n=e.toInt()>>>0,r=e.shiftRightUnsigned(28).toInt()>>>0,i=e.shiftRightUnsigned(56).toInt()>>>0;return 0==i?0==r?n<16384?n<128?1:2:1<<21>n?3:4:r<16384?r<128?5:6:1<<21>r?7:8:i<128?9:10},l.zigZagEncode64=function(e){return"number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),e.shiftLeft(1).xor(e.shiftRight(63)).toUnsigned()},l.zigZagDecode64=function(e){return"number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),e.shiftRightUnsigned(1).xor(e.and(t.ONE).toSigned().negate()).toSigned()},o.writeVarint64=function(e,n){var r,i,o,s,a,c=void 0===n;if(c&&(n=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}switch("number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),r=l.calculateVarint64(e),i=e.toInt()>>>0,o=e.shiftRightUnsigned(28).toInt()>>>0,s=e.shiftRightUnsigned(56).toInt()>>>0,(n+=r)>(a=this.buffer.byteLength)&&this.resize((a*=2)>n?a:n),n-=r,r){case 10:this.view[n+9]=1&s>>>7;case 9:this.view[n+8]=9!==r?128|s:127&s;case 8:this.view[n+7]=8!==r?128|o>>>21:127&o>>>21;case 7:this.view[n+6]=7!==r?128|o>>>14:127&o>>>14;case 6:this.view[n+5]=6!==r?128|o>>>7:127&o>>>7;case 5:this.view[n+4]=5!==r?128|o:127&o;case 4:this.view[n+3]=4!==r?128|i>>>21:127&i>>>21;case 3:this.view[n+2]=3!==r?128|i>>>14:127&i>>>14;case 2:this.view[n+1]=2!==r?128|i>>>7:127&i>>>7;case 1:this.view[n]=1!==r?128|i:127&i}return c?(this.offset+=r,this):r},o.writeVarint64ZigZag=function(t,e){return this.writeVarint64(l.zigZagEncode64(t),e)},o.readVarint64=function(e){var n,r,i,o,s,a,c=void 0===e;if(c&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}if(n=e,r=0,i=0,o=0,s=0,r=127&(s=this.view[e++]),128&s&&(r|=(127&(s=this.view[e++]))<<7,(128&s||this.noAssert&&void 0===s)&&(r|=(127&(s=this.view[e++]))<<14,(128&s||this.noAssert&&void 0===s)&&(r|=(127&(s=this.view[e++]))<<21,(128&s||this.noAssert&&void 0===s)&&(i=127&(s=this.view[e++]),(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<7,(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<14,(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<21,(128&s||this.noAssert&&void 0===s)&&(o=127&(s=this.view[e++]),(128&s||this.noAssert&&void 0===s)&&(o|=(127&(s=this.view[e++]))<<7,128&s||this.noAssert&&void 0===s))))))))))throw Error("Buffer overrun");return a=t.fromBits(r|i<<28,i>>>4|o<<24,!1),c?(this.offset=e,a):{value:a,length:e-n}},o.readVarint64ZigZag=function(e){var n=this.readVarint64(e);return n&&n.value instanceof t?n.value=l.zigZagDecode64(n.value):n=l.zigZagDecode64(n),n}),o.writeCString=function(t,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),i=t.length,!this.noAssert){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");for(r=0;i>r;++r)if(0===t.charCodeAt(r))throw RangeError("Illegal str: Contains NULL-characters");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return i=u.calculateUTF16asUTF8(e(t))[1],n+=i+1,o=this.buffer.byteLength,n>o&&this.resize((o*=2)>n?o:n),n-=i+1,u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),this.view[n++]=0,s?(this.offset=n,this):i},o.readCString=function(t){var e,r,i,o=void 0===t;if(o&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return e=t,i=-1,u.decodeUTF8toUTF16(function(){if(0===i)return null;if(t>=this.limit)throw RangeError("Illegal range: Truncated data, "+t+" < "+this.limit);return 0===(i=this.view[t++])?null:i}.bind(this),r=n(),!0),o?(this.offset=t,r()):{string:r(),length:t-e}},o.writeIString=function(t,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}if(i=n,r=u.calculateUTF16asUTF8(e(t),this.noAssert)[1],n+=4+r,o=this.buffer.byteLength,n>o&&this.resize((o*=2)>n?o:n),n-=4+r,this.littleEndian?(this.view[n+3]=255&r>>>24,this.view[n+2]=255&r>>>16,this.view[n+1]=255&r>>>8,this.view[n]=255&r):(this.view[n]=255&r>>>24,this.view[n+1]=255&r>>>16,this.view[n+2]=255&r>>>8,this.view[n+3]=255&r),n+=4,u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),n!==i+4+r)throw RangeError("Illegal range: Truncated data, "+n+" == "+(n+4+r));return s?(this.offset=n,this):n-i},o.readIString=function(t){var e,n,r,i=void 0===t;if(i&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=t,n=this.readUint32(t),r=this.readUTF8String(n,l.METRICS_BYTES,t+=4),t+=r.length,i?(this.offset=t,r.string):{string:r.string,length:t-e}},l.METRICS_CHARS="c",l.METRICS_BYTES="b",o.writeUTF8String=function(t,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return i=n,r=u.calculateUTF16asUTF8(e(t))[1],n+=r,o=this.buffer.byteLength,n>o&&this.resize((o*=2)>n?o:n),n-=r,u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),s?(this.offset=n,this):n-i},o.writeString=o.writeUTF8String,l.calculateUTF8Chars=function(t){return u.calculateUTF16asUTF8(e(t))[0]},l.calculateUTF8Bytes=function(t){return u.calculateUTF16asUTF8(e(t))[1]},l.calculateString=l.calculateUTF8Bytes,o.readUTF8String=function(t,e,r){var i,o,s,a,c;if("number"==typeof e&&(r=e,e=void 0),(i=void 0===r)&&(r=this.offset),void 0===e&&(e=l.METRICS_CHARS),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal length: "+t+" (not an integer)");if(t|=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}if(s=0,a=r,e===l.METRICS_CHARS){if(o=n(),u.decodeUTF8(function(){return t>s&&r<this.limit?this.view[r++]:null}.bind(this),(function(t){++s,u.UTF8toUTF16(t,o)})),s!==t)throw RangeError("Illegal range: Truncated data, "+s+" == "+t);return i?(this.offset=r,o()):{string:o(),length:r-a}}if(e===l.METRICS_BYTES){if(!this.noAssert){if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+t>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+"+t+") <= "+this.buffer.byteLength)}if(c=r+t,u.decodeUTF8toUTF16(function(){return c>r?this.view[r++]:null}.bind(this),o=n(),this.noAssert),r!==c)throw RangeError("Illegal range: Truncated data, "+r+" == "+c);return i?(this.offset=r,o()):{string:o(),length:r-a}}throw TypeError("Unsupported metrics: "+e)},o.readString=o.readUTF8String,o.writeVString=function(t,n){var r,i,o,s,a=void 0===n;if(a&&(n=this.offset),!this.noAssert){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}if(o=n,r=u.calculateUTF16asUTF8(e(t),this.noAssert)[1],i=l.calculateVarint32(r),n+=i+r,s=this.buffer.byteLength,n>s&&this.resize((s*=2)>n?s:n),n-=i+r,n+=this.writeVarint32(r,n),u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),n!==o+r+i)throw RangeError("Illegal range: Truncated data, "+n+" == "+(n+r+i));return a?(this.offset=n,this):n-o},o.readVString=function(t){var e,n,r,i=void 0===t;if(i&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return e=t,n=this.readVarint32(t),r=this.readUTF8String(n.value,l.METRICS_BYTES,t+=n.length),t+=r.length,i?(this.offset=t,r.string):{string:r.string,length:t-e}},o.append=function(t,e,n){var r,i,o;if(("number"==typeof e||"string"!=typeof e)&&(n=e,e=void 0),(r=void 0===n)&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return t instanceof l||(t=l.wrap(t,e)),(i=t.limit-t.offset)<=0||((n+=i)>(o=this.buffer.byteLength)&&this.resize((o*=2)>n?o:n),n-=i,this.view.set(t.view.subarray(t.offset,t.limit),n),t.offset+=i,r&&(this.offset+=i)),this},o.appendTo=function(t,e){return t.append(this,e),this},o.assert=function(t){return this.noAssert=!t,this},o.capacity=function(){return this.buffer.byteLength},o.clear=function(){return this.offset=0,this.limit=this.buffer.byteLength,this.markedOffset=-1,this},o.clone=function(t){var e=new l(0,this.littleEndian,this.noAssert);return t?(e.buffer=new ArrayBuffer(this.buffer.byteLength),e.view=new Uint8Array(e.buffer)):(e.buffer=this.buffer,e.view=this.view),e.offset=this.offset,e.markedOffset=this.markedOffset,e.limit=this.limit,e},o.compact=function(t,e){var n,r,i;if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}return 0===t&&e===this.buffer.byteLength?this:0==(n=e-t)?(this.buffer=s,this.view=null,this.markedOffset>=0&&(this.markedOffset-=t),this.offset=0,this.limit=0,this):(r=new ArrayBuffer(n),(i=new Uint8Array(r)).set(this.view.subarray(t,e)),this.buffer=r,this.view=i,this.markedOffset>=0&&(this.markedOffset-=t),this.offset=0,this.limit=n,this)},o.copy=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}if(t===e)return new l(0,this.littleEndian,this.noAssert);var n=e-t,r=new l(n,this.littleEndian,this.noAssert);return r.offset=0,r.limit=n,r.markedOffset>=0&&(r.markedOffset-=t),this.copyTo(r,0,t,e),r},o.copyTo=function(t,e,n,r){var i,o,s;if(!this.noAssert&&!l.isByteBuffer(t))throw TypeError("Illegal target: Not a ByteBuffer");if(e=(o=void 0===e)?t.offset:0|e,n=(i=void 0===n)?this.offset:0|n,r=void 0===r?this.limit:0|r,e<0||e>t.buffer.byteLength)throw RangeError("Illegal target range: 0 <= "+e+" <= "+t.buffer.byteLength);if(n<0||r>this.buffer.byteLength)throw RangeError("Illegal source range: 0 <= "+n+" <= "+this.buffer.byteLength);return 0==(s=r-n)?t:(t.ensureCapacity(e+s),t.view.set(this.view.subarray(n,r),e),i&&(this.offset+=s),o&&(t.offset+=s),this)},o.ensureCapacity=function(t){var e=this.buffer.byteLength;return t>e?this.resize((e*=2)>t?e:t):this},o.fill=function(t,e,n){var r=void 0===e;if(r&&(e=this.offset),"string"==typeof t&&t.length>0&&(t=t.charCodeAt(0)),void 0===e&&(e=this.offset),void 0===n&&(n=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof n||n%1!=0)throw TypeError("Illegal end: Not an integer");if(n>>>=0,e<0||e>n||n>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+n+" <= "+this.buffer.byteLength)}if(e>=n)return this;for(;n>e;)this.view[e++]=t;return r&&(this.offset=e),this},o.flip=function(){return this.limit=this.offset,this.offset=0,this},o.mark=function(t){if(t=void 0===t?this.offset:t,!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}return this.markedOffset=t,this},o.order=function(t){if(!this.noAssert&&"boolean"!=typeof t)throw TypeError("Illegal littleEndian: Not a boolean");return this.littleEndian=!!t,this},o.LE=function(t){return this.littleEndian=void 0===t||!!t,this},o.BE=function(t){return this.littleEndian=void 0!==t&&!t,this},o.prepend=function(t,e,n){var r,i,o,s,a;if(("number"==typeof e||"string"!=typeof e)&&(n=e,e=void 0),(r=void 0===n)&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return t instanceof l||(t=l.wrap(t,e)),(i=t.limit-t.offset)<=0||((o=i-n)>0?(s=new ArrayBuffer(this.buffer.byteLength+o),(a=new Uint8Array(s)).set(this.view.subarray(n,this.buffer.byteLength),i),this.buffer=s,this.view=a,this.offset+=o,this.markedOffset>=0&&(this.markedOffset+=o),this.limit+=o,n+=o):new Uint8Array(this.buffer),this.view.set(t.view.subarray(t.offset,t.limit),n-i),t.offset=t.limit,r&&(this.offset-=i)),this},o.prependTo=function(t,e){return t.prepend(this,e),this},o.printDebug=function(t){"function"!=typeof t&&(t=console.log.bind(console)),t(this.toString()+"\n-------------------------------------------------------------------\n"+this.toDebug(!0))},o.remaining=function(){return this.limit-this.offset},o.reset=function(){return this.markedOffset>=0?(this.offset=this.markedOffset,this.markedOffset=-1):this.offset=0,this},o.resize=function(t){var e,n;if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal capacity: "+t+" (not an integer)");if((t|=0)<0)throw RangeError("Illegal capacity: 0 <= "+t)}return this.buffer.byteLength<t&&(e=new ArrayBuffer(t),(n=new Uint8Array(e)).set(this.view),this.buffer=e,this.view=n),this},o.reverse=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}return t===e||Array.prototype.reverse.call(this.view.subarray(t,e)),this},o.skip=function(t){if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal length: "+t+" (not an integer)");t|=0}var e=this.offset+t;if(!this.noAssert&&(e<0||e>this.buffer.byteLength))throw RangeError("Illegal length: 0 <= "+this.offset+" + "+t+" <= "+this.buffer.byteLength);return this.offset=e,this},o.slice=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}var n=this.clone();return n.offset=t,n.limit=e,n},o.toBuffer=function(t){var e,n=this.offset,r=this.limit;if(!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: Not an integer");if(n>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal limit: Not an integer");if(r>>>=0,n<0||n>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+n+" <= "+r+" <= "+this.buffer.byteLength)}return t||0!==n||r!==this.buffer.byteLength?n===r?s:(e=new ArrayBuffer(r-n),new Uint8Array(e).set(new Uint8Array(this.buffer).subarray(n,r),0),e):this.buffer},o.toArrayBuffer=o.toBuffer,o.toString=function(t,e,n){if(void 0===t)return"ByteBufferAB(offset="+this.offset+",markedOffset="+this.markedOffset+",limit="+this.limit+",capacity="+this.capacity()+")";switch("number"==typeof t&&(n=e=t="utf8"),t){case"utf8":return this.toUTF8(e,n);case"base64":return this.toBase64(e,n);case"hex":return this.toHex(e,n);case"binary":return this.toBinary(e,n);case"debug":return this.toDebug();case"columns":return this.toColumns();default:throw Error("Unsupported encoding: "+t)}},c=function(){var t,e,n={},r=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47],i=[];for(t=0,e=r.length;e>t;++t)i[r[t]]=t;return n.encode=function(t,e){for(var n,i;null!==(n=t());)e(r[63&n>>2]),i=(3&n)<<4,null!==(n=t())?(e(r[63&((i|=15&n>>4)|15&n>>4)]),i=(15&n)<<2,null!==(n=t())?(e(r[63&(i|3&n>>6)]),e(r[63&n])):(e(r[63&i]),e(61))):(e(r[63&i]),e(61),e(61))},n.decode=function(t,e){function n(t){throw Error("Illegal character code: "+t)}for(var r,o,s;null!==(r=t());)if(void 0===(o=i[r])&&n(r),null!==(r=t())&&(void 0===(s=i[r])&&n(r),e(o<<2>>>0|(48&s)>>4),null!==(r=t()))){if(void 0===(o=i[r])){if(61===r)break;n(r)}if(e((15&s)<<4>>>0|(60&o)>>2),null!==(r=t())){if(void 0===(s=i[r])){if(61===r)break;n(r)}e((3&o)<<6>>>0|s)}}},n.test=function(t){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(t)},n}(),o.toBase64=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),e|=0,(t|=0)<0||e>this.capacity||t>e)throw RangeError("begin, end");var r;return c.encode(function(){return e>t?this.view[t++]:null}.bind(this),r=n()),r()},l.fromBase64=function(t,n){if("string"!=typeof t)throw TypeError("str");var r=new l(t.length/4*3,n),i=0;return c.decode(e(t),(function(t){r.view[i++]=t})),r.limit=i,r},l.btoa=function(t){return l.fromBinary(t).toBase64()},l.atob=function(t){return l.fromBase64(t).toBinary()},o.toBinary=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),e|=0,(t|=0)<0||e>this.capacity()||t>e)throw RangeError("begin, end");if(t===e)return"";for(var n=[],r=[];e>t;)n.push(this.view[t++]),n.length>=1024&&(r.push(String.fromCharCode.apply(String,n)),n=[]);return r.join("")+String.fromCharCode.apply(String,n)},l.fromBinary=function(t,e){if("string"!=typeof t)throw TypeError("str");for(var n,r=0,i=t.length,o=new l(i,e);i>r;){if((n=t.charCodeAt(r))>255)throw RangeError("illegal char code: "+n);o.view[r++]=n}return o.limit=i,o},o.toDebug=function(t){for(var e,n=-1,r=this.buffer.byteLength,i="",o="",s="";r>n;){if(-1!==n&&(i+=(e=this.view[n])<16?"0"+e.toString(16).toUpperCase():e.toString(16).toUpperCase(),t&&(o+=e>32&&e<127?String.fromCharCode(e):".")),++n,t&&n>0&&n%16==0&&n!==r){for(;i.length<51;)i+=" ";s+=i+o+"\n",i=o=""}i+=n===this.offset&&n===this.limit?n===this.markedOffset?"!":"|":n===this.offset?n===this.markedOffset?"[":"<":n===this.limit?n===this.markedOffset?"]":">":n===this.markedOffset?"'":t||0!==n&&n!==r?" ":""}if(t&&" "!==i){for(;i.length<51;)i+=" ";s+=i+o+"\n"}return t?s:i},l.fromDebug=function(t,e,n){for(var r,i,o=t.length,s=new l(0|(o+1)/3,e,n),a=0,c=0,u=!1,f=!1,h=!1,d=!1,p=!1;o>a;){switch(r=t.charAt(a++)){case"!":if(!n){if(f||h||d){p=!0;break}f=h=d=!0}s.offset=s.markedOffset=s.limit=c,u=!1;break;case"|":if(!n){if(f||d){p=!0;break}f=d=!0}s.offset=s.limit=c,u=!1;break;case"[":if(!n){if(f||h){p=!0;break}f=h=!0}s.offset=s.markedOffset=c,u=!1;break;case"<":if(!n){if(f){p=!0;break}f=!0}s.offset=c,u=!1;break;case"]":if(!n){if(d||h){p=!0;break}d=h=!0}s.limit=s.markedOffset=c,u=!1;break;case">":if(!n){if(d){p=!0;break}d=!0}s.limit=c,u=!1;break;case"'":if(!n){if(h){p=!0;break}h=!0}s.markedOffset=c,u=!1;break;case" ":u=!1;break;default:if(!n&&u){p=!0;break}if(i=parseInt(r+t.charAt(a++),16),!n&&(isNaN(i)||i<0||i>255))throw TypeError("Illegal str: Not a debug encoded string");s.view[c++]=i,u=!0}if(p)throw TypeError("Illegal str: Invalid symbol at "+a)}if(!n){if(!f||!d)throw TypeError("Illegal str: Missing offset or limit");if(c<s.buffer.byteLength)throw TypeError("Illegal str: Not a debug encoded string (is it hex?) "+c+" < "+o)}return s},o.toHex=function(t,e){if(t=void 0===t?this.offset:t,e=void 0===e?this.limit:e,!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}for(var n,r=new Array(e-t);e>t;)(n=this.view[t++])<16?r.push("0",n.toString(16)):r.push(n.toString(16));return r.join("")},l.fromHex=function(t,e,n){var r,i,o,s,a;if(!n){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");if(t.length%2!=0)throw TypeError("Illegal str: Length not a multiple of 2")}for(i=t.length,o=new l(0|i/2,e),s=0,a=0;i>s;s+=2){if(r=parseInt(t.substring(s,s+2),16),!n&&(!isFinite(r)||r<0||r>255))throw TypeError("Illegal str: Contains non-hex characters");o.view[a++]=r}return o.limit=a,o},u=function(){var t={MAX_CODEPOINT:1114111,encodeUTF8:function(t,e){var n=null;for("number"==typeof t&&(n=t,t=function(){return null});null!==n||null!==(n=t());)n<128?e(127&n):n<2048?(e(192|31&n>>6),e(128|63&n)):n<65536?(e(224|15&n>>12),e(128|63&n>>6),e(128|63&n)):(e(240|7&n>>18),e(128|63&n>>12),e(128|63&n>>6),e(128|63&n)),n=null},decodeUTF8:function(t,e){for(var n,r,i,o,s=function(t){t=t.slice(0,t.indexOf(null));var e=Error(t.toString());throw e.name="TruncatedError",e.bytes=t,e};null!==(n=t());)if(0==(128&n))e(n);else if(192==(224&n))null===(r=t())&&s([n,r]),e((31&n)<<6|63&r);else if(224==(240&n))(null===(r=t())||null===(i=t()))&&s([n,r,i]),e((15&n)<<12|(63&r)<<6|63&i);else{if(240!=(248&n))throw RangeError("Illegal starting byte: "+n);(null===(r=t())||null===(i=t())||null===(o=t()))&&s([n,r,i,o]),e((7&n)<<18|(63&r)<<12|(63&i)<<6|63&o)}},UTF16toUTF8:function(t,e){for(var n,r=null;null!==(n=null!==r?r:t());)n>=55296&&n<=57343&&null!==(r=t())&&r>=56320&&r<=57343?(e(1024*(n-55296)+r-56320+65536),r=null):e(n);null!==r&&e(r)},UTF8toUTF16:function(t,e){var n=null;for("number"==typeof t&&(n=t,t=function(){return null});null!==n||null!==(n=t());)n<=65535?e(n):(e(55296+((n-=65536)>>10)),e(n%1024+56320)),n=null},encodeUTF16toUTF8:function(e,n){t.UTF16toUTF8(e,(function(e){t.encodeUTF8(e,n)}))},decodeUTF8toUTF16:function(e,n){t.decodeUTF8(e,(function(e){t.UTF8toUTF16(e,n)}))},calculateCodePoint:function(t){return t<128?1:t<2048?2:t<65536?3:4},calculateUTF8:function(t){for(var e,n=0;null!==(e=t());)n+=e<128?1:e<2048?2:e<65536?3:4;return n},calculateUTF16asUTF8:function(e){var n=0,r=0;return t.UTF16toUTF8(e,(function(t){++n,r+=t<128?1:t<2048?2:t<65536?3:4})),[n,r]}};return t}(),o.toUTF8=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}var r;try{u.decodeUTF8toUTF16(function(){return e>t?this.view[t++]:null}.bind(this),r=n())}catch(n){if(t!==e)throw RangeError("Illegal range: Truncated data, "+t+" != "+e)}return r()},l.fromUTF8=function(t,n,r){if(!r&&"string"!=typeof t)throw TypeError("Illegal str: Not a string");var i=new l(u.calculateUTF16asUTF8(e(t),!0)[1],n,r),o=0;return u.encodeUTF16toUTF8(e(t),(function(t){i.view[o++]=t})),i.limit=o,i},l}(ti),ni=function(e,n){var r,i,o={};return o.ByteBuffer=e,o.c=e,r=e,o.Long=n||null,o.VERSION="5.0.1",o.WIRE_TYPES={},o.WIRE_TYPES.VARINT=0,o.WIRE_TYPES.BITS64=1,o.WIRE_TYPES.LDELIM=2,o.WIRE_TYPES.STARTGROUP=3,o.WIRE_TYPES.ENDGROUP=4,o.WIRE_TYPES.BITS32=5,o.PACKABLE_WIRE_TYPES=[o.WIRE_TYPES.VARINT,o.WIRE_TYPES.BITS64,o.WIRE_TYPES.BITS32],o.TYPES={int32:{name:"int32",wireType:o.WIRE_TYPES.VARINT,defaultValue:0},uint32:{name:"uint32",wireType:o.WIRE_TYPES.VARINT,defaultValue:0},sint32:{name:"sint32",wireType:o.WIRE_TYPES.VARINT,defaultValue:0},int64:{name:"int64",wireType:o.WIRE_TYPES.VARINT,defaultValue:o.Long?o.Long.ZERO:void 0},uint64:{name:"uint64",wireType:o.WIRE_TYPES.VARINT,defaultValue:o.Long?o.Long.UZERO:void 0},sint64:{name:"sint64",wireType:o.WIRE_TYPES.VARINT,defaultValue:o.Long?o.Long.ZERO:void 0},bool:{name:"bool",wireType:o.WIRE_TYPES.VARINT,defaultValue:!1},double:{name:"double",wireType:o.WIRE_TYPES.BITS64,defaultValue:0},string:{name:"string",wireType:o.WIRE_TYPES.LDELIM,defaultValue:""},bytes:{name:"bytes",wireType:o.WIRE_TYPES.LDELIM,defaultValue:null},fixed32:{name:"fixed32",wireType:o.WIRE_TYPES.BITS32,defaultValue:0},sfixed32:{name:"sfixed32",wireType:o.WIRE_TYPES.BITS32,defaultValue:0},fixed64:{name:"fixed64",wireType:o.WIRE_TYPES.BITS64,defaultValue:o.Long?o.Long.UZERO:void 0},sfixed64:{name:"sfixed64",wireType:o.WIRE_TYPES.BITS64,defaultValue:o.Long?o.Long.ZERO:void 0},float:{name:"float",wireType:o.WIRE_TYPES.BITS32,defaultValue:0},enum:{name:"enum",wireType:o.WIRE_TYPES.VARINT,defaultValue:0},message:{name:"message",wireType:o.WIRE_TYPES.LDELIM,defaultValue:null},group:{name:"group",wireType:o.WIRE_TYPES.STARTGROUP,defaultValue:null}},o.MAP_KEY_TYPES=[o.TYPES.int32,o.TYPES.sint32,o.TYPES.sfixed32,o.TYPES.uint32,o.TYPES.fixed32,o.TYPES.int64,o.TYPES.sint64,o.TYPES.sfixed64,o.TYPES.uint64,o.TYPES.fixed64,o.TYPES.bool,o.TYPES.string,o.TYPES.bytes],o.ID_MIN=1,o.ID_MAX=536870911,o.convertFieldsToCamelCase=!1,o.populateAccessors=!0,o.populateDefaults=!0,o.Util=function(){var e={};return e.IS_NODE=!("object"!=typeof t||t+""!="[object process]"||t.browser),e.XHR=function(){var t,e=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],n=null;for(t=0;t<e.length;t++){try{n=e[t]()}catch(t){continue}break}if(!n)throw Error("XMLHttpRequest is not supported");return n},e.fetch=function(t,n){if(n&&"function"!=typeof n&&(n=null),e.IS_NODE)if(n)g.readFile(t,(function(t,e){n(t?null:""+e)}));else try{return g.readFileSync(t)}catch(e){return null}else{var r=e.XHR();if(r.open("GET",t,!!n),r.setRequestHeader("Accept","text/plain"),"function"==typeof r.overrideMimeType&&r.overrideMimeType("text/plain"),!n)return r.send(null),200==r.status||0==r.status&&"string"==typeof r.responseText?r.responseText:null;if(r.onreadystatechange=function(){4==r.readyState&&(200==r.status||0==r.status&&"string"==typeof r.responseText?n(r.responseText):n(null))},4==r.readyState)return;r.send(null)}},e.toCamelCase=function(t){return t.replace(/_([a-zA-Z])/g,(function(t,e){return e.toUpperCase()}))},e}(),o.Lang={DELIM:/[\s\{\}=;:\[\],'"\(\)<>]/g,RULE:/^(?:required|optional|repeated|map)$/,TYPE:/^(?:double|float|int32|uint32|sint32|int64|uint64|sint64|fixed32|sfixed32|fixed64|sfixed64|bool|string|bytes)$/,NAME:/^[a-zA-Z_][a-zA-Z_0-9]*$/,TYPEDEF:/^[a-zA-Z][a-zA-Z_0-9]*$/,TYPEREF:/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)+$/,FQTYPEREF:/^(?:\.[a-zA-Z][a-zA-Z_0-9]*)+$/,NUMBER:/^-?(?:[1-9][0-9]*|0|0[xX][0-9a-fA-F]+|0[0-7]+|([0-9]*(\.[0-9]*)?([Ee][+-]?[0-9]+)?)|inf|nan)$/,NUMBER_DEC:/^(?:[1-9][0-9]*|0)$/,NUMBER_HEX:/^0[xX][0-9a-fA-F]+$/,NUMBER_OCT:/^0[0-7]+$/,NUMBER_FLT:/^([0-9]*(\.[0-9]*)?([Ee][+-]?[0-9]+)?|inf|nan)$/,BOOL:/^(?:true|false)$/i,ID:/^(?:[1-9][0-9]*|0|0[xX][0-9a-fA-F]+|0[0-7]+)$/,NEGID:/^\-?(?:[1-9][0-9]*|0|0[xX][0-9a-fA-F]+|0[0-7]+)$/,WHITESPACE:/\s/,STRING:/(?:"([^"\\]*(?:\\.[^"\\]*)*)")|(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,STRING_DQ:/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,STRING_SQ:/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g},o.DotProto=function(t,e){function n(t,n){var r=-1,i=1;if("-"==t.charAt(0)&&(i=-1,t=t.substring(1)),e.NUMBER_DEC.test(t))r=parseInt(t);else if(e.NUMBER_HEX.test(t))r=parseInt(t.substring(2),16);else{if(!e.NUMBER_OCT.test(t))throw Error("illegal id value: "+(i<0?"-":"")+t);r=parseInt(t.substring(1),8)}if(r=0|i*r,!n&&r<0)throw Error("illegal id value: "+(i<0?"-":"")+t);return r}function r(t){var n=1;if("-"==t.charAt(0)&&(n=-1,t=t.substring(1)),e.NUMBER_DEC.test(t))return n*parseInt(t,10);if(e.NUMBER_HEX.test(t))return n*parseInt(t.substring(2),16);if(e.NUMBER_OCT.test(t))return n*parseInt(t.substring(1),8);if("inf"===t)return 1/0*n;if("nan"===t)return NaN;if(e.NUMBER_FLT.test(t))return n*parseFloat(t);throw Error("illegal number value: "+(n<0?"-":"")+t)}function i(t,e,n){void 0===t[e]?t[e]=n:(Array.isArray(t[e])||(t[e]=[t[e]]),t[e].push(n))}var o,s,a={},c=function(t){this.source=t+"",this.index=0,this.line=1,this.stack=[],this._stringOpen=null},u=c.prototype;return u._readString=function(){var t,n='"'===this._stringOpen?e.STRING_DQ:e.STRING_SQ;if(n.lastIndex=this.index-1,!(t=n.exec(this.source)))throw Error("unterminated string");return this.index=n.lastIndex,this.stack.push(this._stringOpen),this._stringOpen=null,t[1]},u.next=function(){var t,n,r,i,o;if(this.stack.length>0)return this.stack.shift();if(this.index>=this.source.length)return null;if(null!==this._stringOpen)return this._readString();do{for(t=!1;e.WHITESPACE.test(r=this.source.charAt(this.index));)if("\n"===r&&++this.line,++this.index===this.source.length)return null;if("/"===this.source.charAt(this.index))if(++this.index,"/"===this.source.charAt(this.index)){for(;"\n"!==this.source.charAt(++this.index);)if(this.index==this.source.length)return null;++this.index,++this.line,t=!0}else{if("*"!==(r=this.source.charAt(this.index)))return"/";do{if("\n"===r&&++this.line,++this.index===this.source.length)return null;n=r,r=this.source.charAt(this.index)}while("*"!==n||"/"!==r);++this.index,t=!0}}while(t);if(this.index===this.source.length)return null;if(i=this.index,e.DELIM.lastIndex=0,!e.DELIM.test(this.source.charAt(i++)))for(;i<this.source.length&&!e.DELIM.test(this.source.charAt(i));)++i;return('"'===(o=this.source.substring(this.index,this.index=i))||"'"===o)&&(this._stringOpen=o),o},u.peek=function(){if(0===this.stack.length){var t=this.next();if(null===t)return null;this.stack.push(t)}return this.stack[0]},u.skip=function(t){var e=this.next();if(e!==t)throw Error("illegal '"+e+"', '"+t+"' expected")},u.omit=function(t){return this.peek()===t&&(this.next(),!0)},u.toString=function(){return"Tokenizer ("+this.index+"/"+this.source.length+" at line "+this.line+")"},a.Tokenizer=c,o=function(t){this.tn=new c(t),this.proto3=!1},(s=o.prototype).parse=function(){var t,n={name:"[ROOT]",package:null,messages:[],enums:[],imports:[],options:{},services:[]},r=!0;try{for(;t=this.tn.next();)switch(t){case"package":if(!r||null!==n.package)throw Error("unexpected 'package'");if(t=this.tn.next(),!e.TYPEREF.test(t))throw Error("illegal package name: "+t);this.tn.skip(";"),n.package=t;break;case"import":if(!r)throw Error("unexpected 'import'");"public"===(t=this.tn.peek())&&this.tn.next(),t=this._readString(),this.tn.skip(";"),n.imports.push(t);break;case"syntax":if(!r)throw Error("unexpected 'syntax'");this.tn.skip("="),"proto3"===(n.syntax=this._readString())&&(this.proto3=!0),this.tn.skip(";");break;case"message":this._parseMessage(n,null),r=!1;break;case"enum":this._parseEnum(n),r=!1;break;case"option":this._parseOption(n);break;case"service":this._parseService(n);break;case"extend":this._parseExtend(n);break;default:throw Error("unexpected '"+t+"'")}}catch(t){throw t.message="Parse error at line "+this.tn.line+": "+t.message,t}return delete n.name,n},o.parse=function(t){return new o(t).parse()},s._readString=function(){var t,e,n="";do{if("'"!==(e=this.tn.next())&&'"'!==e)throw Error("illegal string delimiter: "+e);n+=this.tn.next(),this.tn.skip(e),t=this.tn.peek()}while('"'===t||'"'===t);return n},s._readValue=function(t){var n=this.tn.peek();if('"'===n||"'"===n)return this._readString();if(this.tn.next(),e.NUMBER.test(n))return r(n);if(e.BOOL.test(n))return"true"===n.toLowerCase();if(t&&e.TYPEREF.test(n))return n;throw Error("illegal value: "+n)},s._parseOption=function(t,n){var r,i=this.tn.next(),o=!1;if("("===i&&(o=!0,i=this.tn.next()),!e.TYPEREF.test(i))throw Error("illegal option name: "+i);r=i,o&&(this.tn.skip(")"),r="("+r+")",i=this.tn.peek(),e.FQTYPEREF.test(i)&&(r+=i,this.tn.next())),this.tn.skip("="),this._parseOptionValue(t,r),n||this.tn.skip(";")},s._parseOptionValue=function(t,n){var r=this.tn.peek();if("{"!==r)i(t.options,n,this._readValue(!0));else for(this.tn.skip("{");"}"!==(r=this.tn.next());){if(!e.NAME.test(r))throw Error("illegal option name: "+n+"."+r);this.tn.omit(":")?i(t.options,n+"."+r,this._readValue(!0)):this._parseOptionValue(t,n+"."+r)}},s._parseService=function(t){var n,r=this.tn.next();if(!e.NAME.test(r))throw Error("illegal service name at line "+this.tn.line+": "+r);for(n={name:r,rpc:{},options:{}},this.tn.skip("{");"}"!==(r=this.tn.next());)if("option"===r)this._parseOption(n);else{if("rpc"!==r)throw Error("illegal service token: "+r);this._parseServiceRPC(n)}this.tn.omit(";"),t.services.push(n)},s._parseServiceRPC=function(t){var n,r,i="rpc",o=this.tn.next();if(!e.NAME.test(o))throw Error("illegal rpc service method name: "+o);if(n=o,r={request:null,response:null,request_stream:!1,response_stream:!1,options:{}},this.tn.skip("("),"stream"===(o=this.tn.next()).toLowerCase()&&(r.request_stream=!0,o=this.tn.next()),!e.TYPEREF.test(o))throw Error("illegal rpc service request type: "+o);if(r.request=o,this.tn.skip(")"),"returns"!==(o=this.tn.next()).toLowerCase())throw Error("illegal rpc service request type delimiter: "+o);if(this.tn.skip("("),"stream"===(o=this.tn.next()).toLowerCase()&&(r.response_stream=!0,o=this.tn.next()),r.response=o,this.tn.skip(")"),"{"===(o=this.tn.peek())){for(this.tn.next();"}"!==(o=this.tn.next());){if("option"!==o)throw Error("illegal rpc service token: "+o);this._parseOption(r)}this.tn.omit(";")}else this.tn.skip(";");void 0===t[i]&&(t[i]={}),t[i][n]=r},s._parseMessage=function(t,r){var i=!!r,o=this.tn.next(),s={name:"",fields:[],enums:[],messages:[],options:{},services:[],oneofs:{}};if(!e.NAME.test(o))throw Error("illegal "+(i?"group":"message")+" name: "+o);for(s.name=o,i&&(this.tn.skip("="),r.id=n(this.tn.next()),s.isGroup=!0),"["===(o=this.tn.peek())&&r&&this._parseFieldOptions(r),this.tn.skip("{");"}"!==(o=this.tn.next());)if(e.RULE.test(o))this._parseMessageField(s,o);else if("oneof"===o)this._parseMessageOneOf(s);else if("enum"===o)this._parseEnum(s);else if("message"===o)this._parseMessage(s);else if("option"===o)this._parseOption(s);else if("service"===o)this._parseService(s);else if("extensions"===o)s.extensions=this._parseExtensionRanges();else if("reserved"===o)this._parseIgnored();else if("extend"===o)this._parseExtend(s);else{if(!e.TYPEREF.test(o))throw Error("illegal message token: "+o);if(!this.proto3)throw Error("illegal field rule: "+o);this._parseMessageField(s,"optional",o)}return this.tn.omit(";"),t.messages.push(s),s},s._parseIgnored=function(){for(;";"!==this.tn.peek();)this.tn.next();this.tn.skip(";")},s._parseMessageField=function(t,r,i){var o,s,a;if(!e.RULE.test(r))throw Error("illegal message field rule: "+r);if(o={rule:r,type:"",name:"",options:{},id:0},"map"===r){if(i)throw Error("illegal type: "+i);if(this.tn.skip("<"),s=this.tn.next(),!e.TYPE.test(s)&&!e.TYPEREF.test(s))throw Error("illegal message field type: "+s);if(o.keytype=s,this.tn.skip(","),s=this.tn.next(),!e.TYPE.test(s)&&!e.TYPEREF.test(s))throw Error("illegal message field: "+s);if(o.type=s,this.tn.skip(">"),s=this.tn.next(),!e.NAME.test(s))throw Error("illegal message field name: "+s);o.name=s,this.tn.skip("="),o.id=n(this.tn.next()),"["===(s=this.tn.peek())&&this._parseFieldOptions(o),this.tn.skip(";")}else if("group"===(i=void 0!==i?i:this.tn.next())){if(a=this._parseMessage(t,o),!/^[A-Z]/.test(a.name))throw Error("illegal group name: "+a.name);o.type=a.name,o.name=a.name.toLowerCase(),this.tn.omit(";")}else{if(!e.TYPE.test(i)&&!e.TYPEREF.test(i))throw Error("illegal message field type: "+i);if(o.type=i,s=this.tn.next(),!e.NAME.test(s))throw Error("illegal message field name: "+s);o.name=s,this.tn.skip("="),o.id=n(this.tn.next()),"["===(s=this.tn.peek())&&this._parseFieldOptions(o),this.tn.skip(";")}return t.fields.push(o),o},s._parseMessageOneOf=function(t){var n,r,i,o=this.tn.next();if(!e.NAME.test(o))throw Error("illegal oneof name: "+o);for(r=o,i=[],this.tn.skip("{");"}"!==(o=this.tn.next());)(n=this._parseMessageField(t,"optional",o)).oneof=r,i.push(n.id);this.tn.omit(";"),t.oneofs[r]=i},s._parseFieldOptions=function(t){this.tn.skip("[");for(var e=!0;"]"!==this.tn.peek();)e||this.tn.skip(","),this._parseOption(t,!0),e=!1;this.tn.next()},s._parseEnum=function(t){var r,i={name:"",values:[],options:{}},o=this.tn.next();if(!e.NAME.test(o))throw Error("illegal name: "+o);for(i.name=o,this.tn.skip("{");"}"!==(o=this.tn.next());)if("option"===o)this._parseOption(i);else{if(!e.NAME.test(o))throw Error("illegal name: "+o);this.tn.skip("="),r={name:o,id:n(this.tn.next(),!0)},"["===(o=this.tn.peek())&&this._parseFieldOptions({options:{}}),this.tn.skip(";"),i.values.push(r)}this.tn.omit(";"),t.enums.push(i)},s._parseExtensionRanges=function(){var e,n,i,o=[];do{for(n=[];;){switch(e=this.tn.next()){case"min":i=t.ID_MIN;break;case"max":i=t.ID_MAX;break;default:i=r(e)}if(n.push(i),2===n.length)break;if("to"!==this.tn.peek()){n.push(i);break}this.tn.next()}o.push(n)}while(this.tn.omit(","));return this.tn.skip(";"),o},s._parseExtend=function(t){var n,r=this.tn.next();if(!e.TYPEREF.test(r))throw Error("illegal extend reference: "+r);for(n={ref:r,fields:[]},this.tn.skip("{");"}"!==(r=this.tn.next());)if(e.RULE.test(r))this._parseMessageField(n,r);else{if(!e.TYPEREF.test(r))throw Error("illegal extend token: "+r);if(!this.proto3)throw Error("illegal field rule: "+r);this._parseMessageField(n,"optional",r)}return this.tn.omit(";"),t.messages.push(n),n},s.toString=function(){return"Parser at line "+this.tn.line},a.Parser=o,a}(o,o.Lang),o.Reflect=function(t){function n(e,n){if(e&&"number"==typeof e.low&&"number"==typeof e.high&&"boolean"==typeof e.unsigned&&e.low==e.low&&e.high==e.high)return new t.Long(e.low,e.high,void 0===n?e.unsigned:n);if("string"==typeof e)return t.Long.fromString(e,n||!1,10);if("number"==typeof e)return t.Long.fromNumber(e,n||!1);throw Error("not convertible to Long")}function i(e,n){var r=n.readVarint32(),o=7&r,s=r>>>3;switch(o){case t.WIRE_TYPES.VARINT:do{r=n.readUint8()}while(128==(128&r));break;case t.WIRE_TYPES.BITS64:n.offset+=8;break;case t.WIRE_TYPES.LDELIM:r=n.readVarint32(),n.offset+=r;break;case t.WIRE_TYPES.STARTGROUP:i(s,n);break;case t.WIRE_TYPES.ENDGROUP:if(s===e)return!1;throw Error("Illegal GROUPEND after unknown group: "+s+" ("+e+" expected)");case t.WIRE_TYPES.BITS32:n.offset+=4;break;default:throw Error("Illegal wire type in unknown group "+e+": "+o)}return!0}var o,s,a,c,u,l,f,h,d,p,g,v,y,m,I,M,b={},C=function(t,e,n){this.builder=t,this.parent=e,this.name=n,this.className},_=C.prototype;return _.fqn=function(){for(var t=this.name,e=this;null!=(e=e.parent);)t=e.name+"."+t;return t},_.toString=function(t){return(t?this.className+" ":"")+this.fqn()},_.build=function(){throw Error(this.toString(!0)+" cannot be built directly")},b.T=C,o=function(t,e,n,r,i){C.call(this,t,e,n),this.className="Namespace",this.children=[],this.options=r||{},this.syntax=i||"proto2"},(s=o.prototype=Object.create(C.prototype)).getChildren=function(t){var e,n,r;if(null==(t=t||null))return this.children.slice();for(e=[],n=0,r=this.children.length;r>n;++n)this.children[n]instanceof t&&e.push(this.children[n]);return e},s.addChild=function(t){var e;if(e=this.getChild(t.name))if(e instanceof u.Field&&e.name!==e.originalName&&null===this.getChild(e.originalName))e.name=e.originalName;else{if(!(t instanceof u.Field&&t.name!==t.originalName&&null===this.getChild(t.originalName)))throw Error("Duplicate name in namespace "+this.toString(!0)+": "+t.name);t.name=t.originalName}this.children.push(t)},s.getChild=function(t){var e,n,r="number"==typeof t?"id":"name";for(e=0,n=this.children.length;n>e;++e)if(this.children[e][r]===t)return this.children[e];return null},s.resolve=function(t,e){var n,r="string"==typeof t?t.split("."):t,i=this,o=0;if(""===r[o]){for(;null!==i.parent;)i=i.parent;o++}do{do{if(!(i instanceof b.Namespace)){i=null;break}if(!((n=i.getChild(r[o]))&&n instanceof b.T&&(!e||n instanceof b.Namespace))){i=null;break}i=n,o++}while(o<r.length);if(null!=i)break;if(null!==this.parent)return this.parent.resolve(t,e)}while(null!=i);return i},s.qn=function(t){var e,n,r=[],i=t;do{r.unshift(i.name),i=i.parent}while(null!==i);for(e=1;e<=r.length;e++)if(n=r.slice(r.length-e),t===this.resolve(n,t instanceof b.Namespace))return n.join(".");return t.fqn()},s.build=function(){var t,e,n,r={},i=this.children;for(e=0,n=i.length;n>e;++e)(t=i[e])instanceof o&&(r[t.name]=t.build());return Object.defineProperty&&Object.defineProperty(r,"$options",{value:this.buildOpt()}),r},s.buildOpt=function(){var t,e,n,r,i={},o=Object.keys(this.options);for(t=0,e=o.length;e>t;++t)n=o[t],r=this.options[o[t]],i[n]=r;return i},s.getOption=function(t){return void 0===t?this.options:void 0!==this.options[t]?this.options[t]:null},b.Namespace=o,a=function(e,n,r,i){if(this.type=e,this.resolvedType=n,this.isMapKey=r,this.syntax=i,r&&t.MAP_KEY_TYPES.indexOf(e)<0)throw Error("Invalid map key type: "+e.name)},c=a.prototype,a.defaultFieldValue=function(e){if("string"==typeof e&&(e=t.TYPES[e]),void 0===e.defaultValue)throw Error("default value for type "+e.name+" is not supported");return e==t.TYPES.bytes?new r(0):e.defaultValue},c.verifyValue=function(r){var i,o,s,a=function(t,e){throw Error("Illegal value for "+this.toString(!0)+" of type "+this.type.name+": "+t+" ("+e+")")}.bind(this);switch(this.type){case t.TYPES.int32:case t.TYPES.sint32:case t.TYPES.sfixed32:return("number"!=typeof r||r==r&&r%1!=0)&&a(typeof r,"not an integer"),r>4294967295?0|r:r;case t.TYPES.uint32:case t.TYPES.fixed32:return("number"!=typeof r||r==r&&r%1!=0)&&a(typeof r,"not an integer"),r<0?r>>>0:r;case t.TYPES.int64:case t.TYPES.sint64:case t.TYPES.sfixed64:if(t.Long)try{return n(r,!1)}catch(e){a(typeof r,e.message)}else a(typeof r,"requires Long.js");case t.TYPES.uint64:case t.TYPES.fixed64:if(t.Long)try{return n(r,!0)}catch(e){a(typeof r,e.message)}else a(typeof r,"requires Long.js");case t.TYPES.bool:return"boolean"!=typeof r&&a(typeof r,"not a boolean"),r;case t.TYPES.float:case t.TYPES.double:return"number"!=typeof r&&a(typeof r,"not a number"),r;case t.TYPES.string:return"string"==typeof r||r&&r instanceof String||a(typeof r,"not a string"),""+r;case t.TYPES.bytes:return e.isByteBuffer(r)?r:e.wrap(r);case t.TYPES.enum:for(i=this.resolvedType.getChildren(t.Reflect.Enum.Value),s=0;s<i.length;s++){if(i[s].name==r)return i[s].id;if(i[s].id==r)return i[s].id}if("proto3"===this.syntax)return("number"!=typeof r||r==r&&r%1!=0)&&a(typeof r,"not an integer"),(r>4294967295||r<0)&&a(typeof r,"not in range for uint32"),r;a(r,"not a valid enum value");case t.TYPES.group:case t.TYPES.message:if(r&&"object"==typeof r||a(typeof r,"object expected"),r instanceof this.resolvedType.clazz)return r;if(r instanceof t.Builder.Message){for(s in o={},r)r.hasOwnProperty(s)&&(o[s]=r[s]);r=o}return new this.resolvedType.clazz(r)}throw Error("[INTERNAL] Illegal value for "+this.toString(!0)+": "+r+" (undefined type "+this.type+")")},c.calculateLength=function(e,n){if(null===n)return 0;var i;switch(this.type){case t.TYPES.int32:return n<0?r.calculateVarint64(n):r.calculateVarint32(n);case t.TYPES.uint32:return r.calculateVarint32(n);case t.TYPES.sint32:return r.calculateVarint32(r.zigZagEncode32(n));case t.TYPES.fixed32:case t.TYPES.sfixed32:case t.TYPES.float:return 4;case t.TYPES.int64:case t.TYPES.uint64:return r.calculateVarint64(n);case t.TYPES.sint64:return r.calculateVarint64(r.zigZagEncode64(n));case t.TYPES.fixed64:case t.TYPES.sfixed64:return 8;case t.TYPES.bool:return 1;case t.TYPES.enum:return r.calculateVarint32(n);case t.TYPES.double:return 8;case t.TYPES.string:return i=r.calculateUTF8Bytes(n),r.calculateVarint32(i)+i;case t.TYPES.bytes:if(n.remaining()<0)throw Error("Illegal value for "+this.toString(!0)+": "+n.remaining()+" bytes remaining");return r.calculateVarint32(n.remaining())+n.remaining();case t.TYPES.message:return i=this.resolvedType.calculate(n),r.calculateVarint32(i)+i;case t.TYPES.group:return(i=this.resolvedType.calculate(n))+r.calculateVarint32(e<<3|t.WIRE_TYPES.ENDGROUP)}throw Error("[INTERNAL] Illegal value to encode in "+this.toString(!0)+": "+n+" (unknown type)")},c.encodeValue=function(e,n,i){var o,s;if(null===n)return i;switch(this.type){case t.TYPES.int32:n<0?i.writeVarint64(n):i.writeVarint32(n);break;case t.TYPES.uint32:i.writeVarint32(n);break;case t.TYPES.sint32:i.writeVarint32ZigZag(n);break;case t.TYPES.fixed32:i.writeUint32(n);break;case t.TYPES.sfixed32:i.writeInt32(n);break;case t.TYPES.int64:case t.TYPES.uint64:i.writeVarint64(n);break;case t.TYPES.sint64:i.writeVarint64ZigZag(n);break;case t.TYPES.fixed64:i.writeUint64(n);break;case t.TYPES.sfixed64:i.writeInt64(n);break;case t.TYPES.bool:"string"==typeof n?i.writeVarint32("false"===n.toLowerCase()?0:!!n):i.writeVarint32(n?1:0);break;case t.TYPES.enum:i.writeVarint32(n);break;case t.TYPES.float:i.writeFloat32(n);break;case t.TYPES.double:i.writeFloat64(n);break;case t.TYPES.string:i.writeVString(n);break;case t.TYPES.bytes:if(n.remaining()<0)throw Error("Illegal value for "+this.toString(!0)+": "+n.remaining()+" bytes remaining");o=n.offset,i.writeVarint32(n.remaining()),i.append(n),n.offset=o;break;case t.TYPES.message:s=(new r).LE(),this.resolvedType.encode(n,s),i.writeVarint32(s.offset),i.append(s.flip());break;case t.TYPES.group:this.resolvedType.encode(n,i),i.writeVarint32(e<<3|t.WIRE_TYPES.ENDGROUP);break;default:throw Error("[INTERNAL] Illegal value to encode in "+this.toString(!0)+": "+n+" (unknown type)")}return i},c.decode=function(e,n,r){if(n!=this.type.wireType)throw Error("Unexpected wire type for element");var i,o;switch(this.type){case t.TYPES.int32:return 0|e.readVarint32();case t.TYPES.uint32:return e.readVarint32()>>>0;case t.TYPES.sint32:return 0|e.readVarint32ZigZag();case t.TYPES.fixed32:return e.readUint32()>>>0;case t.TYPES.sfixed32:return 0|e.readInt32();case t.TYPES.int64:return e.readVarint64();case t.TYPES.uint64:return e.readVarint64().toUnsigned();case t.TYPES.sint64:return e.readVarint64ZigZag();case t.TYPES.fixed64:return e.readUint64();case t.TYPES.sfixed64:return e.readInt64();case t.TYPES.bool:return!!e.readVarint32();case t.TYPES.enum:return e.readVarint32();case t.TYPES.float:return e.readFloat();case t.TYPES.double:return e.readDouble();case t.TYPES.string:return e.readVString();case t.TYPES.bytes:if(o=e.readVarint32(),e.remaining()<o)throw Error("Illegal number of bytes for "+this.toString(!0)+": "+o+" required but got only "+e.remaining());return(i=e.clone()).limit=i.offset+o,e.offset+=o,i;case t.TYPES.message:return o=e.readVarint32(),this.resolvedType.decode(e,o);case t.TYPES.group:return this.resolvedType.decode(e,-1,r)}throw Error("[INTERNAL] Illegal decode type")},c.valueFromString=function(e){if(!this.isMapKey)throw Error("valueFromString() called on non-map-key element");switch(this.type){case t.TYPES.int32:case t.TYPES.sint32:case t.TYPES.sfixed32:case t.TYPES.uint32:case t.TYPES.fixed32:return this.verifyValue(parseInt(e));case t.TYPES.int64:case t.TYPES.sint64:case t.TYPES.sfixed64:case t.TYPES.uint64:case t.TYPES.fixed64:return this.verifyValue(e);case t.TYPES.bool:return"true"===e;case t.TYPES.string:return this.verifyValue(e);case t.TYPES.bytes:return r.fromBinary(e)}},c.valueToString=function(e){if(!this.isMapKey)throw Error("valueToString() called on non-map-key element");return this.type===t.TYPES.bytes?e.toString("binary"):e.toString()},b.Element=a,u=function(t,e,n,r,i,s){o.call(this,t,e,n,r,s),this.className="Message",this.extensions=void 0,this.clazz=null,this.isGroup=!!i,this._fields=null,this._fieldsById=null,this._fieldsByName=null},(l=u.prototype=Object.create(o.prototype)).build=function(n){var i,o,s,a;if(this.clazz&&!n)return this.clazz;for(i=function(t,n){function i(e,n,o,s){var a,c,u,l,f,h,d;if(null===e||"object"!=typeof e)return s&&s instanceof t.Reflect.Enum&&null!==(a=t.Reflect.Enum.getName(s.object,e))?a:e;if(r.isByteBuffer(e))return n?e.toBase64():e.toBuffer();if(t.Long.isLong(e))return o?e.toString():t.Long.fromValue(e);if(Array.isArray(e))return c=[],e.forEach((function(t,e){c[e]=i(t,n,o,s)})),c;if(c={},e instanceof t.Map){for(l=(u=e.entries()).next();!l.done;l=u.next())c[e.keyElem.valueToString(l.value[0])]=i(l.value[1],n,o,e.valueElem.resolvedType);return c}for(d in f=e.$type,h=void 0,e)e.hasOwnProperty(d)&&(c[d]=f&&(h=f.getChild(d))?i(e[d],n,o,h.resolvedType):i(e[d],n,o));return c}var o,s,a=n.getChildren(t.Reflect.Message.Field),c=n.getChildren(t.Reflect.Message.OneOf),u=function(e){var i,o,s,l;for(t.Builder.Message.call(this),i=0,o=c.length;o>i;++i)this[c[i].name]=null;for(i=0,o=a.length;o>i;++i)this[(s=a[i]).name]=s.repeated?[]:s.map?new t.Map(s):null,!s.required&&"proto3"!==n.syntax||null===s.defaultValue||(this[s.name]=s.defaultValue);if(arguments.length>0)if(1!==arguments.length||null===e||"object"!=typeof e||!("function"!=typeof e.encode||e instanceof u)||Array.isArray(e)||e instanceof t.Map||r.isByteBuffer(e)||e instanceof ArrayBuffer||t.Long&&e instanceof t.Long)for(i=0,o=arguments.length;o>i;++i)void 0!==(l=arguments[i])&&this.$set(a[i].name,l);else this.$set(e)},l=u.prototype=Object.create(t.Builder.Message.prototype);for(l.add=function(e,r,i){var o=n._fieldsByName[e];if(!i){if(!o)throw Error(this+"#"+e+" is undefined");if(!(o instanceof t.Reflect.Message.Field))throw Error(this+"#"+e+" is not a field: "+o.toString(!0));if(!o.repeated)throw Error(this+"#"+e+" is not a repeated field");r=o.verifyValue(r,!0)}return null===this[e]&&(this[e]=[]),this[e].push(r),this},l.$add=l.add,l.set=function(e,r,i){var o,s,a;if(e&&"object"==typeof e){for(o in i=r,e)e.hasOwnProperty(o)&&void 0!==(r=e[o])&&this.$set(o,r,i);return this}if(s=n._fieldsByName[e],i)this[e]=r;else{if(!s)throw Error(this+"#"+e+" is not a field: undefined");if(!(s instanceof t.Reflect.Message.Field))throw Error(this+"#"+e+" is not a field: "+s.toString(!0));this[s.name]=r=s.verifyValue(r)}return s&&s.oneof&&(a=this[s.oneof.name],null!==r?(null!==a&&a!==s.name&&(this[a]=null),this[s.oneof.name]=s.name):a===e&&(this[s.oneof.name]=null)),this},l.$set=l.set,l.get=function(e,r){if(r)return this[e];var i=n._fieldsByName[e];if(!(i&&i instanceof t.Reflect.Message.Field))throw Error(this+"#"+e+" is not a field: undefined");if(!(i instanceof t.Reflect.Message.Field))throw Error(this+"#"+e+" is not a field: "+i.toString(!0));return this[i.name]},l.$get=l.get,o=0;o<a.length;o++)(s=a[o])instanceof t.Reflect.Message.ExtensionField||n.builder.options.populateAccessors&&function(t){var e,r,i,o=t.originalName.replace(/(_[a-zA-Z])/g,(function(t){return t.toUpperCase().replace("_","")}));o=o.substring(0,1).toUpperCase()+o.substring(1),e=t.originalName.replace(/([A-Z])/g,(function(t){return"_"+t})),r=function(e,n){return this[t.name]=n?e:t.verifyValue(e),this},i=function(){return this[t.name]},null===n.getChild("set"+o)&&(l["set"+o]=r),null===n.getChild("set_"+e)&&(l["set_"+e]=r),null===n.getChild("get"+o)&&(l["get"+o]=i),null===n.getChild("get_"+e)&&(l["get_"+e]=i)}(s);return l.encode=function(t,r){var i,o;"boolean"==typeof t&&(r=t,t=void 0),i=!1,t||(t=new e,i=!0),o=t.littleEndian;try{return n.encode(this,t.LE(),r),(i?t.flip():t).LE(o)}catch(e){throw t.LE(o),e}},u.encode=function(t,e,n){return new u(t).encode(e,n)},l.calculate=function(){return n.calculate(this)},l.encodeDelimited=function(t){var e,i=!1;return t||(t=new r,i=!0),e=(new r).LE(),n.encode(this,e).flip(),t.writeVarint32(e.remaining()),t.append(e),i?t.flip():t},l.encodeAB=function(){try{return this.encode().toArrayBuffer()}catch(e){throw e.encoded&&(e.encoded=e.encoded.toArrayBuffer()),e}},l.toArrayBuffer=l.encodeAB,l.encodeNB=function(){try{return this.encode().toBuffer()}catch(e){throw e.encoded&&(e.encoded=e.encoded.toBuffer()),e}},l.toBuffer=l.encodeNB,l.encode64=function(){try{return this.encode().toBase64()}catch(e){throw e.encoded&&(e.encoded=e.encoded.toBase64()),e}},l.toBase64=l.encode64,l.encodeHex=function(){try{return this.encode().toHex()}catch(e){throw e.encoded&&(e.encoded=e.encoded.toHex()),e}},l.toHex=l.encodeHex,l.toRaw=function(t,e){return i(this,!!t,!!e,this.$type)},l.encodeJSON=function(){return JSON.stringify(i(this,!0,!0,this.$type))},u.decode=function(t,e){var i,o;"string"==typeof t&&(t=r.wrap(t,e||"base64")),i=(t=r.isByteBuffer(t)?t:r.wrap(t)).littleEndian;try{return o=n.decode(t.LE()),t.LE(i),o}catch(e){throw t.LE(i),e}},u.decodeDelimited=function(t,e){var i,o,s;if("string"==typeof t&&(t=r.wrap(t,e||"base64")),(t=r.isByteBuffer(t)?t:r.wrap(t)).remaining()<1)return null;if(i=t.offset,o=t.readVarint32(),t.remaining()<o)return t.offset=i,null;try{return s=n.decode(t.slice(t.offset,t.offset+o).LE()),t.offset+=o,s}catch(e){throw t.offset+=o,e}},u.decode64=function(t){return u.decode(t,"base64")},u.decodeHex=function(t){return u.decode(t,"hex")},u.decodeJSON=function(t){return new u(JSON.parse(t))},l.toString=function(){return n.toString()},Object.defineProperty&&(Object.defineProperty(u,"$options",{value:n.buildOpt()}),Object.defineProperty(l,"$options",{value:u.$options}),Object.defineProperty(u,"$type",{value:n}),Object.defineProperty(l,"$type",{value:n})),u}(t,this),this._fields=[],this._fieldsById={},this._fieldsByName={},s=0,a=this.children.length;a>s;s++)if((o=this.children[s])instanceof g||o instanceof u||o instanceof m){if(i.hasOwnProperty(o.name))throw Error("Illegal reflect child of "+this.toString(!0)+": "+o.toString(!0)+" cannot override static property '"+o.name+"'");i[o.name]=o.build()}else if(o instanceof u.Field)o.build(),this._fields.push(o),this._fieldsById[o.id]=o,this._fieldsByName[o.name]=o;else if(!(o instanceof u.OneOf||o instanceof y))throw Error("Illegal reflect child of "+this.toString(!0)+": "+this.children[s].toString(!0));return this.clazz=i},l.encode=function(t,e,n){var r,i,o,s,a,c=null;for(o=0,s=this._fields.length;s>o;++o)i=t[(r=this._fields[o]).name],r.required&&null===i?null===c&&(c=r):r.encode(n?i:r.verifyValue(i),e,t);if(null!==c)throw(a=Error("Missing at least one required field for "+this.toString(!0)+": "+c)).encoded=e,a;return e},l.calculate=function(t){for(var e,n,r=0,i=0,o=this._fields.length;o>i;++i){if(n=t[(e=this._fields[i]).name],e.required&&null===n)throw Error("Missing at least one required field for "+this.toString(!0)+": "+e);r+=e.calculate(n,t)}return r},l.decode=function(e,n,r){var o,s,a,c,u,l,f,h,d,p,g,v;for(n="number"==typeof n?n:-1,u=e.offset,l=new this.clazz;e.offset<u+n||-1===n&&e.remaining()>0;){if(a=(o=e.readVarint32())>>>3,(s=7&o)===t.WIRE_TYPES.ENDGROUP){if(a!==r)throw Error("Illegal group end indicator for "+this.toString(!0)+": "+a+" ("+(r?r+" expected":"not a group")+")");break}if(c=this._fieldsById[a])c.repeated&&!c.options.packed?l[c.name].push(c.decode(s,e)):c.map?(h=c.decode(s,e),l[c.name].set(h[0],h[1])):(l[c.name]=c.decode(s,e),c.oneof&&(null!==(d=l[c.oneof.name])&&d!==c.name&&(l[d]=null),l[c.oneof.name]=c.name));else switch(s){case t.WIRE_TYPES.VARINT:e.readVarint32();break;case t.WIRE_TYPES.BITS32:e.offset+=4;break;case t.WIRE_TYPES.BITS64:e.offset+=8;break;case t.WIRE_TYPES.LDELIM:f=e.readVarint32(),e.offset+=f;break;case t.WIRE_TYPES.STARTGROUP:for(;i(a,e););break;default:throw Error("Illegal wire type for unknown field "+a+" in "+this.toString(!0)+"#decode: "+s)}}for(p=0,g=this._fields.length;g>p;++p)if(null===l[(c=this._fields[p]).name])if("proto3"===this.syntax)l[c.name]=c.defaultValue;else{if(c.required)throw(v=Error("Missing at least one required field for "+this.toString(!0)+": "+c.name)).decoded=l,v;t.populateDefaults&&null!==c.defaultValue&&(l[c.name]=c.defaultValue)}return l},b.Message=u,f=function(e,n,r,i,o,s,a,c,l,f){C.call(this,e,n,s),this.className="Message.Field",this.required="required"===r,this.repeated="repeated"===r,this.map="map"===r,this.keyType=i||null,this.type=o,this.resolvedType=null,this.id=a,this.options=c||{},this.defaultValue=null,this.oneof=l||null,this.syntax=f||"proto2",this.originalName=this.name,this.element=null,this.keyElement=null,!this.builder.options.convertFieldsToCamelCase||this instanceof u.ExtensionField||(this.name=t.Util.toCamelCase(this.name))},(h=f.prototype=Object.create(C.prototype)).build=function(){this.element=new a(this.type,this.resolvedType,!1,this.syntax),this.map&&(this.keyElement=new a(this.keyType,void 0,!0,this.syntax)),"proto3"!==this.syntax||this.repeated||this.map?void 0!==this.options.default&&(this.defaultValue=this.verifyValue(this.options.default)):this.defaultValue=a.defaultFieldValue(this.type)},h.verifyValue=function(e,n){var r,i,o;if(n=n||!1,r=function(t,e){throw Error("Illegal value for "+this.toString(!0)+" of type "+this.type.name+": "+t+" ("+e+")")}.bind(this),null===e)return this.required&&r(typeof e,"required"),"proto3"===this.syntax&&this.type!==t.TYPES.message&&r(typeof e,"proto3 field without field presence cannot be null"),null;if(this.repeated&&!n){for(Array.isArray(e)||(e=[e]),o=[],i=0;i<e.length;i++)o.push(this.element.verifyValue(e[i]));return o}return this.map&&!n?e instanceof t.Map?e:(e instanceof Object||r(typeof e,"expected ProtoBuf.Map or raw object for map field"),new t.Map(this,e)):(!this.repeated&&Array.isArray(e)&&r(typeof e,"no array expected"),this.element.verifyValue(e))},h.hasWirePresence=function(e,n){if("proto3"!==this.syntax)return null!==e;if(this.oneof&&n[this.oneof.name]===this.name)return!0;switch(this.type){case t.TYPES.int32:case t.TYPES.sint32:case t.TYPES.sfixed32:case t.TYPES.uint32:case t.TYPES.fixed32:return 0!==e;case t.TYPES.int64:case t.TYPES.sint64:case t.TYPES.sfixed64:case t.TYPES.uint64:case t.TYPES.fixed64:return 0!==e.low||0!==e.high;case t.TYPES.bool:return e;case t.TYPES.float:case t.TYPES.double:return 0!==e;case t.TYPES.string:return e.length>0;case t.TYPES.bytes:return e.remaining()>0;case t.TYPES.enum:return 0!==e;case t.TYPES.message:return null!==e;default:return!0}},h.encode=function(e,n,i){var o,s,a,c,u;if(null===this.type||"object"!=typeof this.type)throw Error("[INTERNAL] Unresolved type in "+this.toString(!0)+": "+this.type);if(null===e||this.repeated&&0==e.length)return n;try{if(this.repeated)if(this.options.packed&&t.PACKABLE_WIRE_TYPES.indexOf(this.type.wireType)>=0){for(n.writeVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),n.ensureCapacity(n.offset+=1),s=n.offset,o=0;o<e.length;o++)this.element.encodeValue(this.id,e[o],n);a=n.offset-s,(c=r.calculateVarint32(a))>1&&(u=n.slice(s,n.offset),s+=c-1,n.offset=s,n.append(u)),n.writeVarint32(a,s-c)}else for(o=0;o<e.length;o++)n.writeVarint32(this.id<<3|this.type.wireType),this.element.encodeValue(this.id,e[o],n);else this.map?e.forEach((function(e,i){var o=r.calculateVarint32(8|this.keyType.wireType)+this.keyElement.calculateLength(1,i)+r.calculateVarint32(16|this.type.wireType)+this.element.calculateLength(2,e);n.writeVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),n.writeVarint32(o),n.writeVarint32(8|this.keyType.wireType),this.keyElement.encodeValue(1,i,n),n.writeVarint32(16|this.type.wireType),this.element.encodeValue(2,e,n)}),this):this.hasWirePresence(e,i)&&(n.writeVarint32(this.id<<3|this.type.wireType),this.element.encodeValue(this.id,e,n))}catch(t){throw Error("Illegal value for "+this.toString(!0)+": "+e+" ("+t+")")}return n},h.calculate=function(e,n){var i,o,s;if(e=this.verifyValue(e),null===this.type||"object"!=typeof this.type)throw Error("[INTERNAL] Unresolved type in "+this.toString(!0)+": "+this.type);if(null===e||this.repeated&&0==e.length)return 0;i=0;try{if(this.repeated)if(this.options.packed&&t.PACKABLE_WIRE_TYPES.indexOf(this.type.wireType)>=0){for(i+=r.calculateVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),s=0,o=0;o<e.length;o++)s+=this.element.calculateLength(this.id,e[o]);i+=r.calculateVarint32(s),i+=s}else for(o=0;o<e.length;o++)i+=r.calculateVarint32(this.id<<3|this.type.wireType),i+=this.element.calculateLength(this.id,e[o]);else this.map?e.forEach((function(e,n){var o=r.calculateVarint32(8|this.keyType.wireType)+this.keyElement.calculateLength(1,n)+r.calculateVarint32(16|this.type.wireType)+this.element.calculateLength(2,e);i+=r.calculateVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),i+=r.calculateVarint32(o),i+=o}),this):this.hasWirePresence(e,n)&&(i+=r.calculateVarint32(this.id<<3|this.type.wireType),i+=this.element.calculateLength(this.id,e))}catch(t){throw Error("Illegal value for "+this.toString(!0)+": "+e+" ("+t+")")}return i},h.decode=function(e,n,r){var i,o,s,c,u,l,f;if(!(!this.map&&e==this.type.wireType||!r&&this.repeated&&this.options.packed&&e==t.WIRE_TYPES.LDELIM||this.map&&e==t.WIRE_TYPES.LDELIM))throw Error("Illegal wire type for field "+this.toString(!0)+": "+e+" ("+this.type.wireType+" expected)");if(e==t.WIRE_TYPES.LDELIM&&this.repeated&&this.options.packed&&t.PACKABLE_WIRE_TYPES.indexOf(this.type.wireType)>=0&&!r){for(o=n.readVarint32(),o=n.offset+o,s=[];n.offset<o;)s.push(this.decode(this.type.wireType,n,!0));return s}if(this.map){if(c=a.defaultFieldValue(this.keyType),i=a.defaultFieldValue(this.type),o=n.readVarint32(),n.remaining()<o)throw Error("Illegal number of bytes for "+this.toString(!0)+": "+o+" required but got only "+n.remaining());for((u=n.clone()).limit=u.offset+o,n.offset+=o;u.remaining()>0;)if(e=7&(l=u.readVarint32()),1==(f=l>>>3))c=this.keyElement.decode(u,e,f);else{if(2!==f)throw Error("Unexpected tag in map field key/value submessage");i=this.element.decode(u,e,f)}return[c,i]}return this.element.decode(n,e,this.id)},b.Message.Field=f,d=function(t,e,n,r,i,o,s){f.call(this,t,e,n,null,r,i,o,s),this.extension},d.prototype=Object.create(f.prototype),b.Message.ExtensionField=d,p=function(t,e,n){C.call(this,t,e,n),this.fields=[]},b.Message.OneOf=p,g=function(t,e,n,r,i){o.call(this,t,e,n,r,i),this.className="Enum",this.object=null},g.getName=function(t,e){var n,r,i=Object.keys(t);for(r=0;r<i.length;++r)if(t[n=i[r]]===e)return n;return null},(g.prototype=Object.create(o.prototype)).build=function(e){var n,r,i,o;if(this.object&&!e)return this.object;for(n=new t.Builder.Enum,i=0,o=(r=this.getChildren(g.Value)).length;o>i;++i)n[r[i].name]=r[i].id;return Object.defineProperty&&Object.defineProperty(n,"$options",{value:this.buildOpt(),enumerable:!1}),this.object=n},b.Enum=g,v=function(t,e,n,r){C.call(this,t,e,n),this.className="Enum.Value",this.id=r},v.prototype=Object.create(C.prototype),b.Enum.Value=v,y=function(t,e,n,r){C.call(this,t,e,n),this.field=r},y.prototype=Object.create(C.prototype),b.Extension=y,m=function(t,e,n,r){o.call(this,t,e,n,r),this.className="Service",this.clazz=null},(m.prototype=Object.create(o.prototype)).build=function(e){return this.clazz&&!e?this.clazz:this.clazz=function(t,e){var n,i=function(e){t.Builder.Service.call(this),this.rpcImpl=e||function(t,e,n){setTimeout(n.bind(this,Error("Not implemented, see: https://github.com/dcodeIO/ProtoBuf.js/wiki/Services")),0)}},o=i.prototype=Object.create(t.Builder.Service.prototype),s=e.getChildren(t.Reflect.Service.RPCMethod);for(n=0;n<s.length;n++)!function(t){o[t.name]=function(n,i){try{try{n=t.resolvedRequestType.clazz.decode(r.wrap(n))}catch(t){if(!(t instanceof TypeError))throw t}if(null===n||"object"!=typeof n)throw Error("Illegal arguments");n instanceof t.resolvedRequestType.clazz||(n=new t.resolvedRequestType.clazz(n)),this.rpcImpl(t.fqn(),n,(function(n,r){if(!n){try{r=t.resolvedResponseType.clazz.decode(r)}catch(t){}return r&&r instanceof t.resolvedResponseType.clazz?void i(null,r):void i(Error("Illegal response type received in service method "+e.name+"#"+t.name))}i(n)}))}catch(t){setTimeout(i.bind(this,t),0)}},i[t.name]=function(e,n,r){new i(e)[t.name](n,r)},Object.defineProperty&&(Object.defineProperty(i[t.name],"$options",{value:t.buildOpt()}),Object.defineProperty(o[t.name],"$options",{value:i[t.name].$options}))}(s[n]);return Object.defineProperty&&(Object.defineProperty(i,"$options",{value:e.buildOpt()}),Object.defineProperty(o,"$options",{value:i.$options}),Object.defineProperty(i,"$type",{value:e}),Object.defineProperty(o,"$type",{value:e})),i}(t,this)},b.Service=m,I=function(t,e,n,r){C.call(this,t,e,n),this.className="Service.Method",this.options=r||{}},(I.prototype=Object.create(C.prototype)).buildOpt=s.buildOpt,b.Service.Method=I,M=function(t,e,n,r,i,o,s,a){I.call(this,t,e,n,a),this.className="Service.RPCMethod",this.requestName=r,this.responseName=i,this.requestStream=o,this.responseStream=s,this.resolvedRequestType=null,this.resolvedResponseType=null},M.prototype=Object.create(I.prototype),b.Service.RPCMethod=M,b}(o),o.Builder=function(t,e,n){function r(t){t.messages&&t.messages.forEach((function(e){e.syntax=t.syntax,r(e)})),t.enums&&t.enums.forEach((function(e){e.syntax=t.syntax}))}var i=function(t){this.ns=new n.Namespace(this,null,""),this.ptr=this.ns,this.resolved=!1,this.result=null,this.files={},this.importRoot=null,this.options=t||{}},o=i.prototype;return i.isMessage=function(t){return"string"==typeof t.name&&void 0===t.values&&void 0===t.rpc},i.isMessageField=function(t){return"string"==typeof t.rule&&"string"==typeof t.name&&"string"==typeof t.type&&void 0!==t.id},i.isEnum=function(t){return"string"==typeof t.name&&!(void 0===t.values||!Array.isArray(t.values)||0===t.values.length)},i.isService=function(t){return!("string"!=typeof t.name||"object"!=typeof t.rpc||!t.rpc)},i.isExtend=function(t){return"string"==typeof t.ref},o.reset=function(){return this.ptr=this.ns,this},o.define=function(t){if("string"!=typeof t||!e.TYPEREF.test(t))throw Error("illegal namespace: "+t);return t.split(".").forEach((function(t){var e=this.ptr.getChild(t);null===e&&this.ptr.addChild(e=new n.Namespace(this,this.ptr,t)),this.ptr=e}),this),this},o.create=function(e){var r,o,s,a,c;if(!e)return this;if(Array.isArray(e)){if(0===e.length)return this;e=e.slice()}else e=[e];for(r=[e];r.length>0;){if(e=r.pop(),!Array.isArray(e))throw Error("not a valid namespace: "+JSON.stringify(e));for(;e.length>0;){if(o=e.shift(),i.isMessage(o)){if(s=new n.Message(this,this.ptr,o.name,o.options,o.isGroup,o.syntax),a={},o.oneofs&&Object.keys(o.oneofs).forEach((function(t){s.addChild(a[t]=new n.Message.OneOf(this,s,t))}),this),o.fields&&o.fields.forEach((function(t){if(null!==s.getChild(0|t.id))throw Error("duplicate or invalid field id in "+s.name+": "+t.id);if(t.options&&"object"!=typeof t.options)throw Error("illegal field options in "+s.name+"#"+t.name);var e=null;if("string"==typeof t.oneof&&!(e=a[t.oneof]))throw Error("illegal oneof in "+s.name+"#"+t.name+": "+t.oneof);t=new n.Message.Field(this,s,t.rule,t.keytype,t.type,t.name,t.id,t.options,e,o.syntax),e&&e.fields.push(t),s.addChild(t)}),this),c=[],o.enums&&o.enums.forEach((function(t){c.push(t)})),o.messages&&o.messages.forEach((function(t){c.push(t)})),o.services&&o.services.forEach((function(t){c.push(t)})),o.extensions&&(s.extensions="number"==typeof o.extensions[0]?[o.extensions]:o.extensions),this.ptr.addChild(s),c.length>0){r.push(e),e=c,c=null,this.ptr=s,s=null;continue}c=null}else if(i.isEnum(o))s=new n.Enum(this,this.ptr,o.name,o.options,o.syntax),o.values.forEach((function(t){s.addChild(new n.Enum.Value(this,s,t.name,t.id))}),this),this.ptr.addChild(s);else if(i.isService(o))s=new n.Service(this,this.ptr,o.name,o.options),Object.keys(o.rpc).forEach((function(t){var e=o.rpc[t];s.addChild(new n.Service.RPCMethod(this,s,t,e.request,e.response,!!e.request_stream,!!e.response_stream,e.options))}),this),this.ptr.addChild(s);else{if(!i.isExtend(o))throw Error("not a valid definition: "+JSON.stringify(o));if(s=this.ptr.resolve(o.ref,!0))o.fields.forEach((function(e){var r,i,o,a;if(null!==s.getChild(0|e.id))throw Error("duplicate extended field id in "+s.name+": "+e.id);if(s.extensions&&(r=!1,s.extensions.forEach((function(t){e.id>=t[0]&&e.id<=t[1]&&(r=!0)})),!r))throw Error("illegal extended field id in "+s.name+": "+e.id+" (not within valid ranges)");i=e.name,this.options.convertFieldsToCamelCase&&(i=t.Util.toCamelCase(i)),o=new n.Message.ExtensionField(this,s,e.rule,e.type,this.ptr.fqn()+"."+i,e.id,e.options),a=new n.Extension(this,this.ptr,e.name,o),o.extension=a,this.ptr.addChild(a),s.addChild(o)}),this);else if(!/\.?google\.protobuf\./.test(o.ref))throw Error("extended message "+o.ref+" is not defined")}o=null,s=null}e=null,this.ptr=this.ptr.parent}return this.resolved=!1,this.result=null,this},o.import=function(e,n){var i,o,s,a,c,u,l,f,h="/";if("string"==typeof n){if(t.Util.IS_NODE,!0===this.files[n])return this.reset();this.files[n]=!0}else if("object"==typeof n){if(i=n.root,t.Util.IS_NODE,(i.indexOf("\\")>=0||n.file.indexOf("\\")>=0)&&(h="\\"),o=i+h+n.file,!0===this.files[o])return this.reset();this.files[o]=!0}if(e.imports&&e.imports.length>0){for(a=!1,"object"==typeof n?(this.importRoot=n.root,a=!0,s=this.importRoot,n=n.file,(s.indexOf("\\")>=0||n.indexOf("\\")>=0)&&(h="\\")):"string"==typeof n?this.importRoot?s=this.importRoot:n.indexOf("/")>=0?""===(s=n.replace(/\/[^\/]*$/,""))&&(s="/"):n.indexOf("\\")>=0?(s=n.replace(/\\[^\\]*$/,""),h="\\"):s=".":s=null,c=0;c<e.imports.length;c++)if("string"==typeof e.imports[c]){if(!s)throw Error("cannot determine import root");if("google/protobuf/descriptor.proto"===(u=e.imports[c]))continue;if(u=s+h+u,!0===this.files[u])continue;if(/\.proto$/i.test(u)&&!t.DotProto&&(u=u.replace(/\.proto$/,".json")),null===(l=t.Util.fetch(u)))throw Error("failed to import '"+u+"' in '"+n+"': file not found");/\.json$/i.test(u)?this.import(JSON.parse(l+""),u):this.import(t.DotProto.Parser.parse(l),u)}else n?/\.(\w+)$/.test(n)?this.import(e.imports[c],n.replace(/^(.+)\.(\w+)$/,(function(t,e,n){return e+"_import"+c+"."+n}))):this.import(e.imports[c],n+"_import"+c):this.import(e.imports[c]);a&&(this.importRoot=null)}return e.package&&this.define(e.package),e.syntax&&r(e),f=this.ptr,e.options&&Object.keys(e.options).forEach((function(t){f.options[t]=e.options[t]})),e.messages&&(this.create(e.messages),this.ptr=f),e.enums&&(this.create(e.enums),this.ptr=f),e.services&&(this.create(e.services),this.ptr=f),e.extends&&this.create(e.extends),this.reset()},o.resolveAll=function(){var r;if(null==this.ptr||"object"==typeof this.ptr.type)return this;if(this.ptr instanceof n.Namespace)this.ptr.children.forEach((function(t){this.ptr=t,this.resolveAll()}),this);else if(this.ptr instanceof n.Message.Field){if(e.TYPE.test(this.ptr.type))this.ptr.type=t.TYPES[this.ptr.type];else{if(!e.TYPEREF.test(this.ptr.type))throw Error("illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.type);if(!(r=(this.ptr instanceof n.Message.ExtensionField?this.ptr.extension.parent:this.ptr.parent).resolve(this.ptr.type,!0)))throw Error("unresolvable type reference in "+this.ptr.toString(!0)+": "+this.ptr.type);if(this.ptr.resolvedType=r,r instanceof n.Enum){if(this.ptr.type=t.TYPES.enum,"proto3"===this.ptr.syntax&&"proto3"!==r.syntax)throw Error("proto3 message cannot reference proto2 enum")}else{if(!(r instanceof n.Message))throw Error("illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.type);this.ptr.type=r.isGroup?t.TYPES.group:t.TYPES.message}}if(this.ptr.map){if(!e.TYPE.test(this.ptr.keyType))throw Error("illegal key type for map field in "+this.ptr.toString(!0)+": "+this.ptr.keyType);this.ptr.keyType=t.TYPES[this.ptr.keyType]}}else if(this.ptr instanceof t.Reflect.Service.Method){if(!(this.ptr instanceof t.Reflect.Service.RPCMethod))throw Error("illegal service type in "+this.ptr.toString(!0));if(!((r=this.ptr.parent.resolve(this.ptr.requestName,!0))&&r instanceof t.Reflect.Message))throw Error("Illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.requestName);if(this.ptr.resolvedRequestType=r,!((r=this.ptr.parent.resolve(this.ptr.responseName,!0))&&r instanceof t.Reflect.Message))throw Error("Illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.responseName);this.ptr.resolvedResponseType=r}else if(!(this.ptr instanceof t.Reflect.Message.OneOf||this.ptr instanceof t.Reflect.Extension||this.ptr instanceof t.Reflect.Enum.Value))throw Error("illegal object in namespace: "+typeof this.ptr+": "+this.ptr);return this.reset()},o.build=function(t){var e,n,r;if(this.reset(),this.resolved||(this.resolveAll(),this.resolved=!0,this.result=null),null===this.result&&(this.result=this.ns.build()),!t)return this.result;for(e="string"==typeof t?t.split("."):t,n=this.result,r=0;r<e.length;r++){if(!n[e[r]]){n=null;break}n=n[e[r]]}return n},o.lookup=function(t,e){return t?this.ns.resolve(t,e):this.ns},o.toString=function(){return"Builder"},i.Message=function(){},i.Enum=function(){},i.Service=function(){},i}(o,o.Lang,o.Reflect),o.Map=function(t,e){function n(t){var e=0;return{next:function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}}var r=function(t,n){var r,i,o,s;if(!t.map)throw Error("field is not a map");if(this.field=t,this.keyElem=new e.Element(t.keyType,null,!0,t.syntax),this.valueElem=new e.Element(t.type,t.resolvedType,!1,t.syntax),this.map={},Object.defineProperty(this,"size",{get:function(){return Object.keys(this.map).length}}),n)for(r=Object.keys(n),i=0;i<r.length;i++)o=this.keyElem.valueFromString(r[i]),s=this.valueElem.verifyValue(n[r[i]]),this.map[this.keyElem.valueToString(o)]={key:o,value:s}},i=r.prototype;return i.clear=function(){this.map={}},i.delete=function(t){var e=this.keyElem.valueToString(this.keyElem.verifyValue(t)),n=e in this.map;return delete this.map[e],n},i.entries=function(){var t,e,r=[],i=Object.keys(this.map);for(e=0;e<i.length;e++)r.push([(t=this.map[i[e]]).key,t.value]);return n(r)},i.keys=function(){var t,e=[],r=Object.keys(this.map);for(t=0;t<r.length;t++)e.push(this.map[r[t]].key);return n(e)},i.values=function(){var t,e=[],r=Object.keys(this.map);for(t=0;t<r.length;t++)e.push(this.map[r[t]].value);return n(e)},i.forEach=function(t,e){var n,r,i=Object.keys(this.map);for(r=0;r<i.length;r++)t.call(e,(n=this.map[i[r]]).value,n.key,this)},i.set=function(t,e){var n=this.keyElem.verifyValue(t),r=this.valueElem.verifyValue(e);return this.map[this.keyElem.valueToString(n)]={key:n,value:r},this},i.get=function(t){var e=this.keyElem.valueToString(this.keyElem.verifyValue(t));return e in this.map?this.map[e].value:void 0},i.has=function(t){return this.keyElem.valueToString(this.keyElem.verifyValue(t))in this.map},r}(0,o.Reflect),o.loadProto=function(t,e,n){return("string"==typeof e||e&&"string"==typeof e.file&&"string"==typeof e.root)&&(n=e,e=void 0),o.loadJson(o.DotProto.Parser.parse(t),e,n)},o.protoFromString=o.loadProto,o.loadProtoFile=function(t,e,n){if(e&&"object"==typeof e?(n=e,e=null):e&&"function"==typeof e||(e=null),e)return o.Util.fetch("string"==typeof t?t:t.root+"/"+t.file,(function(r){if(null!==r)try{e(null,o.loadProto(r,n,t))}catch(t){e(t)}else e(Error("Failed to fetch file"))}));var r=o.Util.fetch("object"==typeof t?t.root+"/"+t.file:t);return null===r?null:o.loadProto(r,n,t)},o.protoFromFile=o.loadProtoFile,o.newBuilder=function(t){return void 0===(t=t||{}).convertFieldsToCamelCase&&(t.convertFieldsToCamelCase=o.convertFieldsToCamelCase),void 0===t.populateAccessors&&(t.populateAccessors=o.populateAccessors),new o.Builder(t)},o.loadJson=function(t,e,n){return("string"==typeof e||e&&"string"==typeof e.file&&"string"==typeof e.root)&&(n=e,e=null),e&&"object"==typeof e||(e=o.newBuilder()),"string"==typeof t&&(t=JSON.parse(t)),e.import(t,n),e.resolveAll(),e},o.loadJsonFile=function(t,e,n){if(e&&"object"==typeof e?(n=e,e=null):e&&"function"==typeof e||(e=null),e)return o.Util.fetch("string"==typeof t?t:t.root+"/"+t.file,(function(r){if(null!==r)try{e(null,o.loadJson(JSON.parse(r),n,t))}catch(t){e(t)}else e(Error("Failed to fetch file"))}));var r=o.Util.fetch("object"==typeof t?t.root+"/"+t.file:t);return null===r?null:o.loadJson(JSON.parse(r),n,t)},i=Xr,o.loadProto(i,void 0,"").build("Modules").probuf}(ei,ti),ni);ai.getModule=function(t){var e=new ai[t];return e.getArrayData=function(){var t=e.toArrayBuffer();return j(t)?[].slice.call(new Int8Array(t)):t},e};var ci,ui,li="pgMsgP",fi="chatMsg",hi="pcMsgP",di={PRIVATE:"ppMsgS",GROUP:"pgMsgS",CHATROOM:"chatMsgS"},pi="delMsg",gi="joinChrm",vi="joinChrmR",yi="exitChrm",mi="setKV",Ii="delKV",Mi="setKVS",bi="delKVS",Ci="qryRelationR",_i="delRelation",Ai="setSeAtt",Ti={PRIVATE:"cleanPMsg",GROUP:"cleanGMsg",ULTRA_GROUP:"cleanGMsg",CUSTOMER_SERVICE:"cleanCMsg",SYSTEM:"cleanSMsg"},wi="qryPMsg",Ei="qryGMsg",Ni="qryCHMsg",Si="qryCMsg",Oi="qrySMsg",Di=((ri={})["ppMsgP"]=N.PRIVATE,ri[li]=N.GROUP,ri[fi]=N.CHATROOM,ri[hi]=N.CUSTOMER_SERVICE,ri),xi=((ii={})[N.PRIVATE]=wi,ii[N.GROUP]=Ei,ii[N.CHATROOM]=Ni,ii[N.CUSTOMER_SERVICE]=Si,ii[N.SYSTEM]=Oi,ii),Li=((oi={})[N.PRIVATE]=Ti.PRIVATE,oi[N.GROUP]=Ti.GROUP,oi[N.ULTRA_GROUP]=Ti.ULTRA_GROUP,oi[N.CUSTOMER_SERVICE]=Ti.CUSTOMER_SERVICE,oi[N.SYSTEM]=Ti.SYSTEM,oi),Ri="1",ji="0",ki=1,Pi=2,Ui=3,zi=function(){function t(t){this._codec="websocket"===t?ai:Kr,this._connectType=t}return t.prototype.decodeByPBName=function(t,e,n){var r,i=this,o=t,s=((r={})[en]=i._formatSyncMessages,r[tn]=i._formatReceivedMessage,r[Je]=i._formatSentMessage,r[un]=i._formatHistoryMessages,r[fn]=i._formatConversationList,r[Cn]=i._formatChatRoomInfos,r[An]=i._formatRTCUserList,r[xn]=i._formatRTCData,r[Zn]=i._formatChatRoomKVList,r[rr]=i._formatUserSetting,r[sr]=i._formatConversationStatus,r[vr]=i._formatGrpReadReceiptQryResp,r[er]=i._formatSetUserSettingOutput,r[ir]=i._formatUserSettingNotification,r[Sr]=i._formatUltraMsgChangeList,r[Rr]=i._formatUltraOperateStatusNotifyList,r[xr]=i._formatUltraMsgList,r[Mn]=i._formatChrmKVVersion,r[zr]=i._formatRTCRoomKVList,r[Dn]=i._formatRTCAuidenceJoinRoomData,r[Gr]=i._formatRTCJoinedUserInfo,r)[e];try{o=t.length>0&&i._codec[e].decode(t),U(o)&&(o=function(t){for(var e in t)U(t[e])&&(t[e]=Se(t[e]));return t}(o)),z(s)&&(o=s.call(this,o,n))}catch(n){pe.error("PB parse error\n",n,t,e)}return o},t.prototype._readBytes=function(t){var e=t.offset,n=t.buffer,r=t.limit;if(e)try{var i=j(n)?new Uint8Array(n):n;return Ze.readUTF(i.subarray(e,r))}catch(t){pe.info("readBytes error\n",t)}return t},t.prototype._formatBytes=function(t){if(!t)return t;var e=this._readBytes(t);try{e=JSON.parse(e)}catch(t){pe.info("formatBytes error\n",t)}return e||t},t.prototype._formatSyncMessages=function(t,e){e=e||{};var n=this,r=t.list,i=t.syncTime,o=t.finished;return(B(o)||null===o)&&(t.finished=!0),t.syncTime=Se(i),t.list=ke(r,(function(t){return n._formatReceivedMessage(t,e)})),t},t.prototype._formatReceivedMessage=function(t,e){if(!t)return t;var n=(e=e||{}).currentUserId,r=e.connectedTime,i=t.content,s=t.fromUserId,a=t.type,c=t.groupId,u=t.status,l=t.dataTime,f=t.classname,h=t.msgId,d=t.extraContent,p=t.pushContent,g=t.pushExt,v=t.configFlag,y=t.extStatus;t.toUserId,t.groupUnpush;var I=(t.direction||Z.RECEIVE)===Z.SEND,M=function(t){var e=o.READ;return{isPersited:!!(16&t),isCounted:!!(32&t),isMentioned:!!(64&t),disableNotification:!!(512&t),receivedStatus:e=2&t?o.RETRIEVED:e,canIncludeExpansion:!!(1024&t)}}(u),b=M.isPersited,C=M.isCounted,_=M.isMentioned,A=M.disableNotification,T=M.receivedStatus,w=M.canIncludeExpansion,E=!!(2&(y||0)),S=!!(4&(y||0)),O=8&(y||0)?It.PRIVATE:It.PUBLIC,D=[N.GROUP,N.CHATROOM,N.RTC_ROOM,N.ULTRA_GROUP].indexOf(a)>-1?c:s,x=I?n:s,L=Se(l),R=L<r,j=a===N.CHATROOM,k=this._formatBytes(i),P={};if(g&&(P=xe(g.pushConfigs,g.pushId)),k.user){var U=k.user,z=U.portrait,B=U.portraitUri,G=z||B;G&&(k.user.portrait=k.user.portraitUri=G)}var Y,$=m(m({},P),{pushTitle:null==g?void 0:g.title,pushContent:p,pushData:p,disablePushTitle:!!v&&Boolean(4&v),forceShowDetailContent:!!v&&Boolean(8&v),templateId:null==g?void 0:g.templateId}),H=I?Z.SEND:Z.RECEIVE;j&&s===n&&(H=Z.SEND),d&&(Y={},Y=He(d));var F={conversationType:a,targetId:D,senderUserId:x,messageType:f,messageUId:h,isPersited:b,isCounted:C,isMentioned:_,sentTime:L,messageDirection:H,receivedTime:Fe.getTime(),disableNotification:A,receivedStatus:T,canIncludeExpansion:w,content:k,expansion:Y,configFlag:v,pushConfig:$,channelId:t.busChannel||"",isInterrupt:E,isModifyMessage:S};return a!==N.ULTRA_GROUP&&(F.isOffLineMessage=R),a===N.ULTRA_GROUP&&(F.channelType=O),F},t.prototype._formatSentMessage=function(t,e){var n,r=t.content,i=t.classname,o=t.sessionId,s=t.msgId,a=t.extraContent,c=t.pushExt,u=t.pushContent,l=t.configFlag,f=t.extStatus,h=e.signal,d=e.currentUserId,p=h.date,g=h.topic,v=h.targetId,y=!!(2&(f||0)),I=function(t){return{isPersited:!!(1&t),isCounted:!!(2&t),disableNotification:!!(32&t),canIncludeExpansion:!!(64&t)}}(o),M=I.isPersited,b=I.isCounted,C=I.disableNotification,_=I.canIncludeExpansion,A=Di[g]||N.PRIVATE,T=Ue(di,g),w=this._formatBytes(r),E=v;i===nt.RECALL&&(A=w.conversationType||A,E=w.targetId||v),a&&(n={},n=He(a));var S={};c&&(S=xe(c.pushConfigs,c.pushId));var O=m(m({},S),{pushTitle:null==c?void 0:c.title,pushContent:u,pushData:u,disablePushTitle:!!l&&Boolean(4&l),forceShowDetailContent:!!l&&Boolean(8&l),templateId:null==c?void 0:c.templateId});return{conversationType:A,targetId:E,messageType:i,messageUId:s,isPersited:M,isCounted:b,isStatusMessage:T,senderUserId:d,content:this._formatBytes(r),sentTime:1e3*p,receivedTime:Fe.getTime(),messageDirection:Z.SEND,isOffLineMessage:!1,disableNotification:C,canIncludeExpansion:_,expansion:n,pushConfig:O,channelId:t.busChannel||"",isInterrupt:y}},t.prototype._formatHistoryMessages=function(t,e){var n=this,r=e.conversation||{},i=t.list,o=t.hasMsg,s=r.targetId,a=Se(t.syncTime),c=[];return je(i,(function(t){var i=n._formatReceivedMessage(t,e);r.conversationType===N.ULTRA_GROUP?i.targetId=t.groupId||r.targetId:i.targetId=s,c.push(i)}),{isReverse:!0}),{syncTime:a,list:c,hasMore:!!o}},t.prototype._formatUltraMsgChangeList=function(t){var e=t.list,n=t.syncTime,r=t.hasNext;return{syncTime:n,list:e&&e.map((function(t){var e=t.targetId,n=t.type,r=t.time,i=t.changeType,o=t.msgUID,s=t.msgTime,a=t.busChannel,c=t.isAdmin,u=t.isDel,l=t.operatorId,f=t.subChangeType;return{targetId:e,conversationType:n,changeType:i,messageUId:o,changeTime:Se(r),sendTime:Se(s),channelId:a,isAdmin:c,isDel:u,operatorId:l,subChangeType:f}})),hasNext:r}},t.prototype._formatUltraOperateStatusNotifyList=function(t){var e=t.type,n=t.notifyType,r=t.info,i=t.summary,o=[],s=[],a=2==(2&n),c=1==(1&n);return c&&Array.isArray(r)&&r.forEach((function(t){var e=t.targetId,n=t.busChannel,r=t.userId,i=t.opType,s=t.optime,a=Se(s);o.push({targetId:e,channelId:n,userId:r,operationType:i,operationTime:a})})),a&&Array.isArray(i)&&i.forEach((function(t){var e=t.targetId,n=t.busChannel,r=t.count,i=t.opType;s.push({targetId:e,channelId:n,count:r,operationType:i})})),{conversationType:e,info:o,summary:s,hasInfo:c,hasSummary:a}},t.prototype._formatUltraMsgList=function(t,e){var n=this,r=t.list;return{list:r&&r.map((function(t){return n._formatReceivedMessage(t,e)}))}},t.prototype._formatConversationList=function(t,e){var n=this,r=t.info,i=e.afterDecode||function(){},o={list:(r=ke(r,(function(t){var r=t.msg,o=t.userId,s=t.type,a=t.unreadCount,c=t.busChannel,u=t.versionTime,l=t.remindCount,f=t.busChannelType,h=null;r&&((h=n._formatReceivedMessage(r,e)).targetId=o);var d={targetId:o,conversationType:s,unreadMessageCount:Se(a)||0,latestMessage:h||{},channelId:c||""};return s===N.ULTRA_GROUP&&(d.versionTime=Se(u)||0,d.unreadMentionedCount=Se(l)||0,d.channelType=f||It.PUBLIC),i(d)||d})))||[]};return((null==e?void 0:e.conversationType)||N.NONE)===N.ULTRA_GROUP&&(o.isFinished=t.isFinished),o},t.prototype._formatSetUserSettingOutput=function(t){return t},t.prototype._formatChatRoomInfos=function(t){var e=t.userTotalNums,n=t.userInfos;return{userCount:e,userInfos:ke(n,(function(t){var e=t.id,n=t.time;return{id:e,time:Se(n)}}))}},t.prototype._formatChatRoomKVList=function(t){var e=t.entries,n=t.bFullUpdate,r=t.syncTime;return e=ke(e=e||[],(function(t){var e=t.key,n=t.value,r=t.status,i=t.timestamp,o=t.uid,s=t.version,a=function(t){return{isAutoDelete:!!(1&t),isOverwrite:!!(2&t),type:4&t?gt.DELETE:gt.UPDATE}}(r);return{key:e,value:n,isAutoDelete:a.isAutoDelete,isOverwrite:a.isOverwrite,type:a.type,userId:o,timestamp:Se(i),version:Se(s)}})),{kvEntries:e,isFullUpdate:n,syncTime:r}},t.prototype._formatUserSetting=function(t){var e=this,n=t.items,r=t.version,i={};return je(n||[],(function(t){var n=t.key,r=t.version,o=t.value;t.version=Se(r),t.value=e._readBytes(o),"Tag"===n&&t.tags.forEach((function(t){t.createdTime=Se(t.createdTime),t.tagName=t.name})),i[n]=t})),{settings:i,version:r}},t.prototype._formatConversationStatus=function(t){var e=t.state,n=[];return je(e,(function(t){var e=t.type,r=t.channelId,i=t.time,o=t.stateItem,s=t.busChannel,a=it.CLOSE,c=st.NOT_SET,u=!1,l=[];je(o,(function(t){var e=t.sessionStateType,n=t.value,r=t.tags;switch(e){case ki:a=n===Ri?it.OPEN:it.CLOSE,c=Number(n)||st.NOT_SET;break;case Pi:u=n===Ri;break;case Ui:l=r}})),n.push({conversationType:e,type:e,targetId:r,notificationStatus:a,notificationLevel:c,isTop:u,updatedTime:Se(i),tags:l,channelId:s||""})})),n},t.prototype._formatRTCUserList=function(t){var e=t.users,n=t.token,r=t.sessionId,i=t.roomInfo,o=t.entries,s=t.offlineKickTime,a={};return je(e,(function(t){var e=t.userId,n=t.userData,r={};je(n,(function(t){var e=t.key,n=t.value;r[e]=n})),a[e]=r})),{users:a,token:n,sessionId:r,roomInfo:i,kvEntries:o,offlineKickTime:s}},t.prototype._formatRTCData=function(t){var e=t.outInfo,n={};return je(e,(function(t){n[t.key]=t.value})),n},t.prototype._formatRTCRoomInfo=function(t){var e=t.roomId,n=t.userCount,r=t.roomData,i={id:e,total:n};return je(r,(function(t){i[t.key]=t.value})),i},t.prototype._formatGrpReadReceiptQryResp=function(t){var e=t.totalMemberNum,n=t.list;return n.forEach((function(t){t.readTime=Se(t.readTime)})),{totalMemberCount:e,list:n}},t.prototype._formatUserSettingNotification=function(t){return t},t.prototype._formatRTCRoomKVList=function(t){var e=t.entries,n=t.bFullUpdate,r=t.syncTime;return{kvEntries:e=(e=e||[]).map((function(t){var e=t.timestamp;return Object.assign(t,{timestamp:Se(e)})})),isFullUpdate:n,syncTime:r}},t.prototype._formatChrmKVVersion=function(t){return t},t.prototype._formatRTCAuidenceJoinRoomData=function(t){return t},t.prototype._formatRTCJoinedUserInfo=function(t){return(t.info||[]).map((function(t){return{deviceId:t.deviceId,roomId:t.roomId,joinTime:Se(t.joinTime)}}))},t.prototype.encodeServerConfParams=function(){var t=this._codec.getModule(nn);return t.setNothing(1),t.getArrayData()},t.prototype._getUpMsgModule=function(t,e){var n,r,i,o="comet"===this._connectType,s=t.conversationType,a=e.messageType,c=e.isMentioned,u=e.mentionedType,l=e.mentionedUserIdList,f=e.content,h=e.pushContent,d=e.pushData,p=e.directionalUserIdList,g=e.isFilerWhiteBlacklist,v=e.isVoipPush,y=e.canIncludeExpansion,m=e.expansion,I=e.pushConfig,M=e.channelId;[N.GROUP,N.ULTRA_GROUP].includes(s);var b=this._codec.getModule(Je),C=function(t){var e=t.isStatusMessage,n=t.isPersited,r=t.isCounted;e&&(n=r=!1);var i=0;return n&&(i|=1),r&&(i|=2),t.isMentioned&&(i|=4),t.disableNotification&&(i|=32),t.canIncludeExpansion&&(i|=64),i}(e),_=I||{},A=_.pushTitle,T=_.pushContent,w=_.pushData,E=_.iOSConfig,S=_.androidConfig,O=_.templateId,D=_.disablePushTitle,x=_.forceShowDetailContent,L=0;b.setSessionId(C),c&&f&&(f.mentionedInfo={userIdList:(null===(n=f.mentionedInfo)||void 0===n?void 0:n.userIdList)||l||[],type:(null===(r=f.mentionedInfo)||void 0===r?void 0:r.type)||u||ct.ALL,mentionedContent:(null===(i=f.mentionedInfo)||void 0===i?void 0:i.mentionedContent)||""});var R=T||h||"",j=w||d||"";if(R&&b.setPushText(R),j&&b.setAppData(j),p&&b.setUserId(p),L|=v?1:0,L|=g?2:0,L|=D?4:0,L|=x?8:0,b.setConfigFlag(L),b.setClassname(a),f.user&&f.user.portraitUri&&(f.user.portrait=f.user.portraitUri),b.setContent(JSON.stringify(f)),y&&m){var k={};je(m,(function(t,e){k[e]={v:t}})),b.setExtraContent(JSON.stringify(k))}if(I){var P=this._codec.getModule(Xe);if(A&&P.setTitle(A),E&&S){var U=De(E,S);P.setPushConfigs(U)}(null==S?void 0:S.notificationId)&&P.setPushId(null==S?void 0:S.notificationId),P.setTemplateId(O||""),b.setPushExt(o?P.getArrayData():P)}return B(M)||b.setBusChannel(M),b},t.prototype.encodeUpMsg=function(t,e){return this._getUpMsgModule(t,e).getArrayData()},t.prototype.encodeSyncMsg=function(t){var e=t.sendboxTime,n=t.inboxTime,r=t.broadcastSyncTime,i=this._codec.getModule(on);return i.setIspolling(!1),i.setIsPullSend(!0),i.setSendBoxSyncTime(e),i.setSyncTime(n),i.setBroadcastSyncTime(r),i.getArrayData()},t.prototype.encodeChrmSyncMsg=function(t,e){t=t||0,e=e||0;var n=this._codec.getModule(sn);return n.setCount(e),n.setSyncTime(t),n.getArrayData()},t.prototype.encodeGetHistoryMsg=function(t,e){var n=e.count,r=e.order,i=e.timestamp,o=e.channelId,s=this._codec.getModule(cn);return s.setTargetId(t),s.setTime(i),s.setCount(n),s.setOrder(r),s.setBusChannel(o||""),s.getArrayData()},t.prototype.encodeSuperSyncMsg=function(t){var e=this._codec.getModule(Tr);return e.setSyncTime(t),e.getArrayData()},t.prototype.encodeGetConversationList=function(t){var e=(t=t||{}).count,n=t.startTime,r=this._codec.getModule(ln);return r.setType(1),r.setCount(e),r.setStartTime(n),r.getArrayData()},t.prototype.encodeOldConversationList=function(t){var e=(t=t||{}).count,n=t.type,r=t.startTime,i=t.order;e=e||0,r=r||0,i=i||0;var o=this._codec.getModule(ln);return o.setType(n),o.setCount(e),o.setStartTime(r),o.setOrder(i),o.getArrayData()},t.prototype.encodeRemoveOldConversationList=function(t){var e=(t=t||{}).conversationType,n=t.channelId,r=this._codec.getModule(gn);return r.setType(e),n&&r.setBusChannel([n]),r.getArrayData()},t.prototype.encodeRemoveConversationList=function(t){var e=this,n=this._codec.getModule(hn),r=[];return je(t,(function(t){var n=t.conversationType,i=t.targetId,o=e._codec.getModule(dn);o.setType(n),o.setChannelId(i),r.push(o)})),n.setSessions(r),n.getArrayData()},t.prototype.encodeDeleteMessages=function(t,e,n,r){var i=this._codec.getModule(vn),o=[];return je(n,(function(t){o.push({msgId:t.messageUId,msgDataTime:t.sentTime,direct:t.messageDirection})})),i.setType(t),i.setConversationId(e),i.setMsgs(o),i.setBusChannel(r),i.getArrayData()},t.prototype.encodeClearMessages=function(t,e,n,r){var i=this._codec.getModule(yn);return e=e||(new Date).getTime(),i.setDataTime(e),i.setTargetId(t),i.setBusChannel(n),i.setConversationType(r),i.getArrayData()},t.prototype.encodeClearUnreadCount=function(t,e){var n=t.conversationType,r=t.targetId,i=t.channelId,o=e.timestamp,s=this._codec.getModule(mn);return o=o||+new Date,s.setType(n),s.setChannelId(r),s.setMsgTime(o),s.setBusChannel(i),s.getArrayData()},t.prototype.encodeExpandUltraMessage=function(t,e){var n=t.targetId,r=t.conversationType,i=t.channelId,o=t.messageUId,s=t.sendTime,a=t.keys,c={mid:o,put:t.expansion,del:a,clear:t.removeAll?1:0},u=this._codec.getModule(wr);return u.setFromUserId(e),u.setTargetId(n),u.setType(r),u.setBusChannel(i||""),u.setMsgUID(o),u.setMsgTime(s),u.setContent(JSON.stringify(c)),u.getArrayData()},t.prototype.encodemodifyMessage=function(t,e){var n=t.targetId,r=t.conversationType,i=t.channelId,o=t.messageUId,s=t.sendTime,a=t.content,c=this._codec.getModule(wr);return c.setFromUserId(e),c.setTargetId(n),c.setType(r),c.setBusChannel(i||""),c.setMsgUID(o),c.setMsgTime(s),c.setContent(JSON.stringify(a)),c.getArrayData()},t.prototype.encodeQueryMsgChange=function(t){var e=this._codec.getModule(Er);return e.setSyncTime(t),e.getArrayData()},t.prototype.encodeMsgQuery=function(t){var e=t.targetId,n=t.conversationType,r=t.messages,i=this._codec.getModule(Or),o=r.map((function(t){return{msgTime:t.sendTime,msgUID:t.messageUId,busChannel:t.channelId}}));return i.setTargetId(e),i.setType(n),i.setQuery(o),i.getArrayData()},t.prototype.encodeOperateStatus=function(t,e,n,r){var i=this._codec.getModule(Lr);return i.setTargetId(t),i.setType(e),i.setBusChannel(n),i.setOpType(r),i.getArrayData()},t.prototype.encodeJoinOrQuitChatRoom=function(){var t=this._codec.getModule(In);return t.setNothing(1),t.getArrayData()},t.prototype.encodeGetChatRoomInfo=function(t,e){var n=this._codec.getModule(bn);return n.setCount(t),n.setOrder(e),n.getArrayData()},t.prototype.encodeSetUltraGroupDefaultNotificationLevel=function(t,e){var n=this._codec.getModule(hr);return n.setUnpushLevel(t),n.setBusChannel(e),n.getArrayData()},t.prototype.encodeGetUltraGroupDefaultNotificationLevel=function(t){var e=this._codec.getModule(fr);return e.setBusChannel(t),e.getArrayData()},t.prototype.encodeGetFileToken=function(t,e,n,r){var i=this._codec.getModule(zn);return i.setType(t),i.setKey(e),i.setHttpMethod(n),i.setQueryString(r),i.getArrayData()},t.prototype.encodeGetFileUrl=function(t,e,n,r){var i=this._codec.getModule(t);return i.setType(e),i.setKey(n),r&&i.setFileName(r),i.getArrayData()},t.prototype.encodeModifyChatRoomKV=function(t,e,n){var r="comet"===this._connectType,i=this._codec.getModule(Vn),o=e.key,s=e.value,a=e.notificationExtra,c=e.isSendNotification,u=e.type,l=e.timestamp,f=u||gt.UPDATE,h=Ve(e,f),d={key:o,value:s||"",uid:n,version:l};if(B(h)||(d.status=h),i.setEntry(d),c){var p={conversationType:N.CHATROOM,targetId:t},g={key:o,value:s,extra:a,type:f},v=this._getUpMsgModule(p,{messageType:nt.CHRM_KV_NOTIFY,content:g,isPersited:!1,isCounted:!1});r?i.setNotification(v.getArrayData()):i.setNotification(v),i.setBNotify(!0),i.setType(N.CHATROOM)}return i.getArrayData()},t.prototype.encodeModifyChatRoomKVS=function(t,e,n){this._connectType;var r=this._codec.getModule(Qn),i=e.entries,o=e.type||gt.UPDATE,s=Ve(e,o),a=[];return i.forEach((function(t){var e={key:t.key,value:t.value||"",uid:n,version:t.timestamp};B(s)||(e.status=s),a.push(e)})),r.setEntry(a),r.getArrayData()},t.prototype.encodePullChatRoomKV=function(t){var e=this._codec.getModule(Xn);return e.setTimestamp(t),e.getArrayData()},t.prototype.encodePullUserSetting=function(t){var e=this._codec.getModule(nr);return e.setVersion(t),e.getArrayData()},t.prototype.encodeGetConversationStatus=function(t){var e=this._codec.getModule(or);return e.setTime(t),e.getArrayData()},t.prototype.encodeSetConversationStatus=function(t,e){var n=this,r="comet"===this._connectType,i=this._codec.getModule(ur),o=Fe.getTime(),s=[];return je(t,(function(t){var e=n._codec.getModule(ar),i=t.conversationType,a=t.targetId,c=t.notificationStatus,u=t.isTop,l=t.channelId,f=t.notificationLevel,h=[];e.setType(i),e.setChannelId(a),e.setTime(o),e.setBusChannel(l);var d=c===it.OPEN,p={};B(c)||(p[ki]=d),B(f)||(p[ki]=f),B(u)||(p[Pi]=u),je(p,(function(t,e){if(!B(t)){var i=n._codec.getModule(cr);t=t?Ri:ji,B(f)||Number(e)!==ki||(t=String(f)),i.setSessionStateType(Number(e)),i.setValue(t);var o=r?i.getArrayData():i;h.push(o)}})),e.setStateItem(h);var g=r?e.getArrayData():e;s.push(g)})),i.setVersion(e||o),i.setState(s),i.getArrayData()},t.prototype.encodeReadReceipt=function(t,e){var n=this._codec.getModule(pr);return n.setMsgId(t),e&&n.setChannelId(e),n.getArrayData()},t.prototype.encodeCreateTag=function(t,e){var n=this,r="comet"===this._connectType,i=this._codec.getModule(mr),o=[];return t.forEach((function(t){var e=n._codec.getModule(Ir);e.setTagId(t.tagId),e.setName(t.tagName),o.push(r?e.getArrayData():e)})),i.setTags(o),i.setVersion(e),i.getArrayData()},t.prototype.encodeMessageReader=function(t,e){var n=this._codec.getModule(pr);return n.setMsgId(t),e&&n.setChannelId(e),n.getArrayData()},t.prototype.encodeRemoveTag=function(t,e){var n=this,r="comet"===this._connectType,i=this._codec.getModule(Mr),o=[];return t.forEach((function(t){var e=n._codec.getModule(Ir);e.setTagId(t),o.push(r?e.getArrayData():e)})),i.setTags(o),i.setVersion(e),i.getArrayData()},t.prototype.encodeDisConversationTag=function(t){var e=this._codec.getModule(br);return e.setTagId(t),e.getArrayData()},t.prototype.encodeUpdateConversationTag=function(t,e){var n=this,r="comet"===this._connectType,i=this._codec.getModule(ur),o=[];return e.forEach((function(e){var i=n._codec.getModule(ar),s=n._codec.getModule(cr),a=[];t.forEach((function(t){var e=n._codec.getModule(Ir);e.setTagId(t.tagId),B(t.isTop)||e.setIsTop(t.isTop),a.push(r?e.getArrayData():e)})),s.setSessionStateType(Ui),s.setValue(JSON.stringify(a)),s.setTags(a),i.setType(e.conversationType),i.setChannelId(e.targetId),i.setTime(Date.now()),i.setStateItem([r?s.getArrayData():s]),o.push(r?i.getArrayData():i)})),i.setState(o),i.setVersion(Fe.getTime()),i.getArrayData()},t.prototype.encodeReportSDKInfo=function(t){var e=this._codec.getModule(Cr);return e.setSdkInfo(t),e.getArrayData()},t.prototype.encodeUltraGroup=function(t,e){var n=this._codec.getModule(Ar);return n.setSyncTime(t),n.setIsEraseMsgContent(e),n.getArrayData()},t.prototype.encodeJoinRTCRoom=function(t,e,n,r,i){var o=this,s="comet"===this._connectType,a=this._codec.getModule(_n);if(t=t||0,a.setRoomType(t),B(e)||a.setBroadcastType(e),B(n)||a.setJoinType(n),r){var c=[],u=this._codec.getModule(Pn);for(var l in r)u.setKey(l),u.setValue(r[l]),s?c.push(u.getArrayData()):c.push(u);a.setInnerDatas(c)}if(i){var f=[];Object.keys(i).forEach((function(t){var e=o._codec.getModule(Pn);e.setKey(t),e.setValue(i[t]),s?f.push(e.getArrayData()):f.push(e)})),a.setOuterDatas(f)}return a.getArrayData()},t.prototype.encodeQuitRTCRoom=function(){return this._codec.getModule(Tn).getArrayData()},t.prototype.encodeSetRTCData=function(t,e,n,r,i){var o=this._codec.getModule(wn);if(o.setInterior(n),o.setTarget(r),o.setKey(t),o.setValue(e),i){i.name&&o.setObjectName(i.name);var s=i.content;s&&(U(s)&&(s=JSON.stringify(s)),o.setContent(s))}return o.getArrayData()},t.prototype.encodeUserSetRTCData=function(t,e,n,r){var i=this,o="comet"===this._connectType,s=this._codec.getModule(En);s.setObjectName(n);var a=this._codec.getModule(Pn);a.setKey(t.name),a.setValue(t.content),o?s.setContent(a.getArrayData()):s.setContent(a);var c=[];return["uris","mcu_uris"].forEach((function(t){var n=i._codec.getModule(Pn);n.setKey(t);var s="uris"===t?e:r;n.setValue(s),o?c.push(n.getArrayData()):c.push(n)})),s.setValueInfo(c),s.getArrayData()},t.prototype.encodeUserSetRTCCDNUris=function(t,e){this._connectType;var n=this._codec.getModule(En);n.setObjectName(t);var r=this._codec.getModule(Pn);return r.setKey("cdn_uris"),r.setValue(e),n.setValueInfo(r),n.getArrayData()},t.prototype.encodeGetRTCData=function(t,e,n){var r=this._codec.getModule(Nn);return r.setInterior(e),r.setTarget(n),r.setKey(t),r.getArrayData()},t.prototype.encodeRemoveRTCData=function(t,e,n,r){var i=this._codec.getModule(Nn);i.setInterior(e),i.setTarget(n),i.setKey(t);var o=(r=r||{}).name,s=r.content;return!B(o)&&i.setObjectName(o),B(s)||(U(s)&&(s=JSON.stringify(s)),i.setContent(s)),i.getArrayData()},t.prototype.encodeSetRTCOutData=function(t,e,n){var r=this._codec.getModule(Sn);r.setTarget(e),R(t)||(t=[t]),je(t,(function(e,n){e.key=e.key?e.key.toString():e.key,e.value=e.value?e.value.toString():e.value,t[n]=e})),r.setValueInfo(t);var i=(n=n||{}).name,o=n.content;return!B(i)&&r.setObjectName(i),B(o)||(U(o)&&(o=JSON.stringify(o)),r.setContent(o)),r.getArrayData()},t.prototype.ecnodeGetRTCOutData=function(t){var e=this._codec.getModule(Ln);return e.setUserId(t),e.getArrayData()},t.prototype.encodeSetRTCState=function(t){var e=this._codec.getModule(On);return e.setState(t),e.getArrayData()},t.prototype.encodeGetRTCRoomInfo=function(){var t=this._codec.getModule(jn);return t.setOrder(2),t.getArrayData()},t.prototype.encodeSetRTCUserInfo=function(t,e){var n=this._codec.getModule(Pn);return n.setKey(t),n.setValue(e),n.getArrayData()},t.prototype.encodeRemoveRTCUserInfo=function(t){var e=this._codec.getModule(Un);return e.setKey(t),e.getArrayData()},t.prototype.encodeIdentityChangeInfo=function(t,e,n){void 0===n&&(n=!1);var r=this._codec.getModule(_n);return r.setRoomType(_t.LIVE),e&&r.setBroadcastType(e),r.setIdentityChangeType(t),r.setNeedSysChatroom(n),r.getArrayData()},t.prototype.encodePullRTCRoomKV=function(t,e){var n=this._codec.getModule(Ur);return n.setTimestamp(e),n.setRoomId(t),n.getArrayData()},t.prototype.encodeQueryUserJoinedInfo=function(t){var e=this._codec.getModule(Br);return e.setUserId(t),e.getArrayData()},t.prototype.encodeRequestRoomPK=function(t){var e=t.invitedRoomId,n=t.invitedUserId,r=t.inviteSessionId,i=t.inviteTimeout,o=t.inviteInfo,s=this._codec.getModule($r);return s.setInvitedRoomId(e),s.setInvitedUserId(n),s.setInviteSessionId(r),s.setTimeoutTime(i),s.setInviteInfo(o),s.getArrayData()},t.prototype.encodeCancelRoomPK=function(t){var e=t.invitedRoomId,n=t.invitedUserId,r=t.inviteSessionId,i=t.inviteInfo,o=this._codec.getModule(Hr);return o.setInvitedRoomId(e),o.setInvitedUserId(n),o.setInviteSessionId(r),o.setInviteInfo(i),o.getArrayData()},t.prototype.encodeResponseRoomPK=function(t){var e=t.inviteUserId,n=t.inviteRoomId,r=t.inviteSessionId,i=t.content,o=t.key,s=t.value,a=t.agree?1:0,c=this._codec.getModule(Fr);return c.setInviteUserId(e),c.setInviteRoomId(n),c.setInviteSessionId(r),c.setContent(i),c.setKey(o),c.setValue(s),c.setAnswerCode(a),c.getArrayData()},t.prototype.encodeEndRoomPK=function(t){var e=t.endRoomId,n=t.sessionId,r=t.content,i=t.keys,o=this._codec.getModule(Vr);return o.setInviteRoomId(e),o.setInviteSessionId(n),o.setInviteContent(r),o.setInviteRoomKeys(i),o.getArrayData()},t.prototype.encodebindRTCRoomForChatroom=function(t){var e=this._codec.getModule(Qr);return e.setRtcRoomId(t.rtcRoomId),e.getArrayData()},t}(),Bi=function(t,e){this._watcher=e,this.codec=new zi(t)};function Gi(t,e,n){if(t&&Kt){var r=Gt(Ut(ft.STATISTICS),t,e,n);return Kt.reportRealtimeLog([r]).then((function(){Jt(dt.G_UPLOAD_LOG_S,"big data realtime report success")})).catch((function(t){Jt(dt.G_UPLOAD_LOG_E,"big data realtime report error -> "+t)}))}}!function(t){t[t.PRIVATE=1]="PRIVATE",t[t.OPEN=0]="OPEN"}(ci||(ci={})),function(t){t[t.NAVI=1]="NAVI",t[t.TCP=2]="TCP",t[t.WS=3]="WS"}(ui||(ui={}));var Yi,$i,Hi={},Fi={sdkPrivate:ci.OPEN,serverPrivate:ci.OPEN,bundleId:"lib-next"};function Vi(t){Fi.sdkPrivate=t.sdkPrivate===ci.PRIVATE?ci.PRIVATE:ci.OPEN,Fi.serverPrivate=t.serverPrivate===ci.PRIVATE?ci.PRIVATE:ci.OPEN,t.bundleId&&(Fi.bundleId=t.bundleId)}function Qi(){return Fi}function Wi(t,e,n){void 0===e&&(e={}),void 0===n&&(n=!1),U(e)&&t&&(Hi[t]&&!n||(Hi[t]={}),Hi[t]=m(m({},Hi[t]),e))}function Zi(t){return Hi[t]||{}}!function(t){t.GET="GET",t.POST="POST"}(Yi||(Yi={})),function(t){t.WIFI="wifi",t.FOUR_G="4g",t.THREE_G="3g",t.TWO_G="2g",t.FIVE_G="2g",t.THREE_GENT="3gnet",t.UNKONWN="unknown"}($i||($i={}));var Ki,qi=function(t,e){return t&&e?e+"_"+t:t||Date.now()},Ji=function(){function t(t){this.header=t,this._name=null,this.lengthSize=0,this.messageId=0,this.timestamp=0,this.syncMsg=!1,this.identifier=""}return t.prototype.getIdentifier=function(){var t=this.messageId,e=this.identifier;return qi(t,e)},t.prototype.read=function(t,e,n){this.readMessage(t,e,n)},t.prototype.readMessage=function(t,e,n){return{stream:t,length:e}},t}(),Xi=function(){function t(t){this.lengthSize=0,this.messageId=0,this.topic="",this.targetId="",this.identifier="",this._header=new We(t,!1,Me.AT_MOST_ONCE,!1)}return t.prototype.getIdentifier=function(){var t=this.messageId,e=this.identifier;return qi(t,e)},t.prototype.write=function(t){var e=this.getHeaderFlag();t.write(e),this.writeMessage(t)},t.prototype.setHeaderQos=function(t){this._header.qos=t},t.prototype.getHeaderFlag=function(){return this._header.encode()},t.prototype.getLengthSize=function(){return this.lengthSize},t.prototype.getBufferData=function(){var t=new qe;this.write(t);var e=t.getBytesArray();return new Int8Array(e)},t.prototype.getCometData=function(){var t=this.data||{};return JSON.stringify(t)},t}(),to=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._name=Ce.CONN_ACK,e.status=null,e.userId=null,e.timestamp=0,e}return y(e,t),e.prototype.readMessage=function(t,n,r){if(t.readByte(),this.status=+t.readByte(),n<=e.MESSAGE_LENGTH)return{stream:t,length:n};if(r===Ae.V4){var i=t.readByte();1&i&&(this.userId=t.readUTF()),2&i&&t.readUTF(),4&i&&(this.timestamp=t.readLong()),8&i&&(this.messageId=t.read2Byte())}else{this.userId=t.readUTF();var o=t.readUTF();pe.debug("server sessionId -> "+o),this.timestamp=t.readLong()}return{stream:t,length:n}},e.MESSAGE_LENGTH=2,e}(Ji),eo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._name=Ce.DISCONNECT,e.status=0,e}return y(e,t),e.prototype.readMessage=function(t,e){return t.readByte(),this.status=+t.readByte(),{stream:t,length:e}},e.MESSAGE_LENGTH=2,e}(Ji),no=function(t){function e(){var e=t.call(this,be.PING_REQ)||this;return e._name=Ce.PING_REQ,e}return y(e,t),e.prototype.writeMessage=function(t){},e}(Xi),ro=function(t){function e(e){var n=t.call(this,e)||this;return n._name=Ce.PING_RESP,n}return y(e,t),e}(Ji),io=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.messageId=0,e}return y(e,t),e.prototype.readMessage=function(t,e){var n=256*t.readByte()+t.readByte();return this.messageId=parseInt(n.toString(),10),{stream:t,length:e}},e}(Ji),oo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.messageId=0,e}return y(e,t),e.prototype.writeMessage=function(t){var e=this.messageId,n=255&e,r=(65280&e)>>8;t.write(r),t.write(n)},e}(Xi),so=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._name=Ce.PUBLISH,e.topic="",e.targetId="",e.syncMsg=!1,e.identifier=_e.PUB,e}return y(e,t),e.prototype.readMessage=function(e,n){return this.date=e.readInt(),this.topic=e.readUTF(),this.targetId=e.readUTF(),t.prototype.readMessage.call(this,e,n),this.data=e.readAll(),{stream:e,length:n}},e}(io),ao=function(t){function e(e,n,r){var i=t.call(this,be.PUBLISH)||this;return i._name=Ce.PUBLISH,i.syncMsg=!1,i.identifier=_e.PUB,i.topic=e,i.data=D(n)?Ze.writeUTF(n):n,i.targetId=r,i}return y(e,t),e.prototype.writeMessage=function(e){e.writeUTF(this.topic),e.writeUTF(this.targetId),t.prototype.writeMessage.call(this,e),e.write(this.data)},e}(oo),co=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._name=Ce.PUB_ACK,e.status=0,e.date=0,e.millisecond=0,e.messageUId="",e.timestamp=0,e.identifier=_e.PUB,e.topic="",e.targetId="",e}return y(e,t),e.prototype.readMessage=function(e,n){return t.prototype.readMessage.call(this,e,n),this.date=e.readInt(),this.status=256*e.readByte()+e.readByte(),this.millisecond=256*e.readByte()+e.readByte(),this.timestamp=1e3*this.date+this.millisecond,this.messageUId=e.readUTF(),{stream:e,length:n}},e}(io),uo=function(t){function e(e){var n=t.call(this,be.PUB_ACK)||this;return n._name=Ce.PUB_ACK,n.status=0,n.date=0,n.millisecond=0,n.messageUId="",n.timestamp=0,n.messageId=e,n}return y(e,t),e.prototype.writeMessage=function(e){t.prototype.writeMessage.call(this,e)},e}(oo),lo=function(t){function e(e,n,r){var i=t.call(this,be.QUERY)||this;return i.name=Ce.QUERY,i.identifier=_e.QUERY,i.topic=e,i.data=D(n)?Ze.writeUTF(n):n,i.targetId=r,i}return y(e,t),e.prototype.writeMessage=function(e){e.writeUTF(this.topic),e.writeUTF(this.targetId),t.prototype.writeMessage.call(this,e),e.write(this.data)},e}(oo),fo=function(t){function e(e){var n=t.call(this,be.QUERY_CONFIRM)||this;return n._name=Ce.QUERY_CON,n.messageId=e,n}return y(e,t),e}(oo),ho=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._name=Ce.QUERY_ACK,e.status=0,e.identifier=_e.QUERY,e.topic="",e.targetId="",e}return y(e,t),e.prototype.readMessage=function(e,n){return t.prototype.readMessage.call(this,e,n),this.date=e.readInt(),this.status=256*e.readByte()+e.readByte(),this.data=e.readAll(),{stream:e,length:n}},e}(io),po=function(t){var e,n=t.type;switch(n){case be.CONN_ACK:e=new to(t);break;case be.PUBLISH:(e=new so(t)).syncMsg=t.syncMsg;break;case be.PUB_ACK:e=new co(t);break;case be.QUERY_ACK:e=new ho(t);break;case be.SUB_ACK:case be.UNSUB_ACK:case be.PING_RESP:e=new ro(t);break;case be.DISCONNECT:e=new eo(t);break;default:e=new Ji(t),pe.error("No support for deserializing "+n+" messages")}return e};!function(t){t[t.ppMsgP=1]="ppMsgP",t[t.ppMsgN=2]="ppMsgN",t[t.ppMsgS=3]="ppMsgS",t[t.pgMsgP=4]="pgMsgP",t[t.chatMsg=5]="chatMsg",t[t.pcMsgP=6]="pcMsgP",t[t.qryPMsg=7]="qryPMsg",t[t.qryGMsg=8]="qryGMsg",t[t.qryCHMsg=9]="qryCHMsg",t[t.qryCMsg=10]="qryCMsg",t[t.qrySMsg=11]="qrySMsg",t[t.recallMsg=12]="recallMsg",t[t.prMsgS=13]="prMsgS",t[t.rrMsg=14]="rrMsg",t[t.rrList=15]="rrList",t[t.s_ntf=16]="s_ntf",t[t.s_msg=17]="s_msg",t[t.s_stat=18]="s_stat",t[t.s_cmd=19]="s_cmd",t[t.s_us=20]="s_us",t[t.pullUS=21]="pullUS",t[t.pgMsgS=22]="pgMsgS",t[t.chatMsgS=23]="chatMsgS",t[t.qrySessionsAtt=24]="qrySessionsAtt",t[t.pullMsg=25]="pullMsg",t[t.qrySessions=26]="qrySessions",t[t.delSessions=27]="delSessions",t[t.delMsg=28]="delMsg",t[t.updRRTime=29]="updRRTime",t[t.chrmPull=30]="chrmPull",t[t.joinChrm=31]="joinChrm",t[t.joinChrmR=32]="joinChrmR",t[t.exitChrm=33]="exitChrm",t[t.queryChrmI=34]="queryChrmI",t[t.setKV=35]="setKV",t[t.delKV=36]="delKV",t[t.pullKV=37]="pullKV",t[t.qryRelation=38]="qryRelation",t[t.delRelation=39]="delRelation",t[t.pullSeAtts=40]="pullSeAtts",t[t.setSeAtt=41]="setSeAtt",t[t.qnTkn=42]="qnTkn",t[t.qnUrl=43]="qnUrl",t[t.aliUrl=44]="aliUrl",t[t.s3Url=45]="s3Url",t[t.stcUrl=46]="stcUrl",t[t.cleanPMsg=47]="cleanPMsg",t[t.cleanGMsg=48]="cleanGMsg",t[t.cleanCMsg=49]="cleanCMsg",t[t.cleanSMsg=50]="cleanSMsg",t[t.rtcRJoin_data=51]="rtcRJoin_data",t[t.rtcRExit=52]="rtcRExit",t[t.rtcPing=53]="rtcPing",t[t.rtcSetData=54]="rtcSetData",t[t.rtc_ntf=55]="rtc_ntf",t[t.viewerJoinR=56]="viewerJoinR",t[t.viewerExitR=57]="viewerExitR",t[t.rtcPullKv=58]="rtcPullKv",t[t.rtcIdentityChange=59]="rtcIdentityChange",t[t.userSetData=60]="userSetData",t[t.rtcQryData=61]="rtcQryData",t[t.rtcDelData=62]="rtcDelData",t[t.rtcSetOutData=63]="rtcSetOutData",t[t.rtcQryUserOutData=64]="rtcQryUserOutData",t[t.rtcToken=65]="rtcToken",t[t.rtcUserState=66]="rtcUserState",t[t.rtcRInfo=67]="rtcRInfo",t[t.rtcUData=68]="rtcUData",t[t.rtcUPut=69]="rtcUPut",t[t.rtcUDel=70]="rtcUDel",t[t.rtcUList=71]="rtcUList",t[t.rtcQueryJoined=72]="rtcQueryJoined",t[t.rtcInvite=73]="rtcInvite",t[t.rtcCancelInvite=74]="rtcCancelInvite",t[t.rtcInviteAnswer=75]="rtcInviteAnswer",t[t.rtcEndInvite=76]="rtcEndInvite",t[t.addSeTag=77]="addSeTag",t[t.delSeTag=78]="delSeTag",t[t.addTag=79]="addTag",t[t.delTag=80]="delTag",t[t.disTag=81]="disTag",t[t.reportsdk=82]="reportsdk",t[t.pullUgSes=83]="pullUgSes",t[t.pullUgMsg=84]="pullUgMsg",t[t.ugMsg=85]="ugMsg",t[t.qryUgMsg=86]="qryUgMsg",t[t.updUgRTime=87]="updUgRTime",t[t.upMsgEx=88]="upMsgEx",t[t.modifyMsg=89]="modifyMsg",t[t.qryMsgChange=90]="qryMsgChange",t[t.qryMsg=91]="qryMsg",t[t.operate=92]="operate",t[t.s_opNtf=93]="s_opNtf",t[t.ugUnpushQuery=94]="ugUnpushQuery",t[t.ugUnpushSet=95]="ugUnpushSet",t[t.setRtcRoomId=96]="setRtcRoomId"}(Ki||(Ki={}));var go,vo,yo=Ki,mo=function(t,e,n,r,i,o,s,a){return"".concat(t,"://").concat(e,"/websocket?appId=").concat(n,"&token=").concat(encodeURIComponent(r),"&sdkVer=").concat(o,"&pid=").concat(s,"&apiVer=").concat(i.isFromUniapp?"uniapp":"normal").concat(i.connectPlatform?"&platform="+i.connectPlatform:"").concat(a?"&protocolVer="+a:"")},Io=function(t){return[yo.ppMsgS,yo.pgMsgS,yo.chatMsgS].map((function(t){return yo[t]})).indexOf(t)>=0};!function(t){t[t.REDIRECT=0]="REDIRECT",t[t.OTHER_DEVICE_LOGIN=1]="OTHER_DEVICE_LOGIN",t[t.BLOCK=2]="BLOCK",t[t.REMOTE_CLOSE=3]="REMOTE_CLOSE",t[t.LOGOUT=4]="LOGOUT",t[t.BLOCK_NEW=5]="BLOCK_NEW",t[t.REDIRECT_NEW=6]="REDIRECT_NEW"}(go||(go={})),function(t){t.IM_NAVI="IM-stats_navi-S",t.IM_WEBSOCKET="IM-stats_websocket-S",t.IM_COMET="IM-stats_comet-S",t.IM_CONNECTION_DURATION="IM-stats_con_dur-S"}(vo||(vo={}));var Mo=function(t,e){pe.info("websocket send -> messageId: ".concat(t.messageId," topic: ").concat(t.topic));var n=t.getBufferData();e.send(n.buffer)},bo=function(t){function e(e,n){var r=t.call(this,"websocket",n)||this;return r._runtime=e,r._socket=null,r._messageIds={},r._syncMessageIds={},r._failedCount=0,r.ALLOW_FAILED_TIMES=2,r._timer=null,r._idCount=0,r._generateMessageId=function(){return r._idCount>=65535&&(r._idCount=0),++r._idCount},r}return y(e,t),e.prototype.connect=function(t,e,n,r,i,o){return I(this,void 0,void 0,(function(){var s=this;return M(this,(function(a){return[2,new Promise((function(a){var c=n.slice(),u=!1,l=function(){return I(s,void 0,void 0,(function(){var n,s,f;return M(this,(function(h){switch(h.label){case 0:return 0===c.length||u?[2]:(u=!0,n=c.shift(),Wi(vo.IM_WEBSOCKET,{startTime:(new Date).getTime(),host:n,protocol:ui.WS}),[4,this._connect(t,e,n,r,i,o)]);case 1:if(s=h.sent(),f=s===q.SUCCESS||s===tt.REDIRECT?s:Ge(s),Wi(vo.IM_WEBSOCKET,{endTime:(new Date).getTime(),code:f}),function(t){I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h,d,p;return M(this,(function(g){switch(g.label){case 0:e=vo.IM_WEBSOCKET,n=Qi(),r=n.sdkPrivate,i=n.serverPrivate,o=n.bundleId,s=Zi(e),a=s.protocol,c=s.startTime,u=s.endTime,l=s.code,f=s.host,h=$i.UNKONWN,g.label=1;case 1:return g.trys.push([1,3,,4]),[4,t.getNetworkType()];case 2:return h=g.sent(),[3,4];case 3:return d=g.sent(),pe.info(d.message),[3,4];case 4:return p=0,L(c)&&L(u)&&u>c&&c&&(p=u-c),Gi(e,{spr:r,pr:i,bid:o,ptc:a,dur:p,cod:l,hos:f,net:h}),[2]}}))}))}(this._runtime),s===q.SUCCESS)this._checkAlive(),a(s);else if(s===tt.REDIRECT)a(s);else{if(0===c.length)return a(Ge(s)),[2];u=!1,l()}return[2]}}))}))};i=w(i),s._watcher.status(X.CONNECTING),l()}))]}))}))},e.prototype._connect=function(t,e,n,r,i,o){return I(this,void 0,void 0,(function(){var s,a,c,u,l,f=this;return M(this,(function(h){switch(h.label){case 0:return s=r.replace("http","ws"),a=mo(s,n,t,e,this._runtime,i,"",o),pe.info("conenct start -> ".concat(a)),this.sendConnectTime=Date.now(),c=this._runtime.createWebSocket(a),u=function(t){f._timer&&(clearTimeout(f._timer),f._timer=null),f._socket===c&&(f._socket=null,f._watcher.status(t))},[4,new Promise((function(t){c.onMessage((function(e){if("[object ArrayBuffer]"===Object.prototype.toString.call(e)){var n=function(t,e){var n=new Uint8Array(t),r=new Ke(n),i=r.readByte(),o=new We(i),s=po(o);return s.read(r,n.length-1,e),s}(e,o);if(n instanceof ro&&f._pingResolve)return f._pingResolve(q.SUCCESS),void(f._pingResolve=void 0);if(n instanceof to)return pe.info("recv connect ack -> ".concat(n.status)),n.status!==tt.ACCEPTED?(pe.warn("connect failed: ".concat(n.status)),void t(n.status)):(pe.info("connect success -> ".concat(a)),f.connectedTime=n.timestamp,f.userId=n.userId||"",f._idCount=n.messageId,void t(q.SUCCESS));if(n instanceof eo){var r=n.status;switch(pe.warn("recv disconnect signal -> status: ".concat(r)),r){case go.BLOCK_NEW:case go.BLOCK:f._watcher.status(X.BLOCKED);break;case go.OTHER_DEVICE_LOGIN:f._watcher.status(X.KICKED_OFFLINE_BY_OTHER_CLIENT);break;case go.REDIRECT_NEW:case go.REDIRECT:f._watcher.status(X.REDIRECT);break;default:f._watcher.status(X.DISCONNECT_BY_SERVER)}}else f._onReceiveSignal(n)}else pe.error("Socket received invalid data:",e)})),c.onClose((function(e,n){for(var r in pe.warn("websocket closed! code:",e,"reason:",n),u(X.CONNECTION_CLOSED),f._messageIds){var i=f._messageIds[r];delete f._messageIds[r],i(q.RC_NET_CHANNEL_INVALID)}t(e)})),c.onError((function(e){for(var n in pe.error("websocket error!",null==e?void 0:e.stack),u(X.WEBSOCKET_ERROR),f._messageIds){var r=f._messageIds[n];delete f._messageIds[n],r(q.RC_NET_CHANNEL_INVALID)}t(q.NETWORK_ERROR)})),c.onOpen((function(){return pe.info("websocket open =>",a)})),setTimeout((function(){t(q.TIMEOUT)}),5e3)}))];case 1:return(l=h.sent())===q.SUCCESS?this._socket=c:(pe.warn("connect result -> code: ".concat(l,", url: ").concat(a)),c.close()),[2,l]}}))}))},e.prototype._checkAlive=function(){var t;return I(this,void 0,void 0,(function(){var e,n,r=this;return M(this,(function(i){switch(i.label){case 0:return this._socket?(pe.info("send ping ->"),this.sendOnly(new no),e=Qt(),Jt(dt.L_CHECK_ALIVE_IM_T,{},{traceId:e}),[4,new Promise((function(t){r._pingResolve=t,r._timer&&clearTimeout(r._timer),r._timer=setTimeout((function(){r._pingResolve=void 0,t(q.TIMEOUT)}),15e3)}))]):[2];case 1:return n=i.sent(),(n===q.SUCCESS?Jt:Xt)(dt.L_CHECK_ALIVE_IM_R,{isSuccess:n===q.SUCCESS},{traceId:e}),n!==q.SUCCESS?(this._failedCount+=1,pe.warn("ping failed count: ".concat(this._failedCount,", code: ").concat(n)),this._failedCount>=this.ALLOW_FAILED_TIMES?(this._failedCount=0,pe.warn("ping timeout, close current websocket to reconnect!"),null===(t=this._socket)||void 0===t||t.close(),this._socket=null,this._watcher.status(X.NETWORK_UNAVAILABLE)):this._checkAlive(),[2]):(pe.info("recv ping <-"),this._failedCount=0,setTimeout((function(){return r._checkAlive()}),15e3),[2])}}))}))},e.prototype._onReceiveSignal=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a=this;return M(this,(function(c){switch(c.label){case 0:return e=t.messageId,t.header&&t.header.qos!==Me.AT_MOST_ONCE&&(t instanceof so&&!t.syncMsg&&(pe.info("send pubAck -> ".concat(e," ").concat(t.topic)),this.sendOnly(new uo(e))),t instanceof ho&&(pe.info("send queryCon -> ".concat(e," ").concat(t.topic)),this.sendOnly(new fo(e)))),e>0&&(t instanceof co||t instanceof ho)&&(pe.info("recv ack -> messageId: ".concat(e," ").concat(t.topic)),(n=this._messageIds[e])&&(n(t),delete this._messageIds[e]),(r=this._syncMessageIds[e])&&(delete this._syncMessageIds[e],r(t))),t instanceof so?(i=t.syncMsg,o=t.topic,pe.info("recv PublishReader -> messageId: ".concat(e," ").concat(o)),o===yo[yo.userSetData]?[2]:!i||Io(o)?(this._watcher.signal(t),[2]):[4,new Promise((function(t){a._syncMessageIds[e]=t}))]):[3,2];case 1:s=c.sent(),delete this._syncMessageIds[e],this._watcher.signal(t,s),c.label=2;case 2:return[2]}}))}))},e.prototype.sendOnly=function(t){this._socket&&((t instanceof ao||t instanceof lo)&&(t.messageId=this._generateMessageId()),Mo(t,this._socket))},e.prototype.send=function(t,e,n,r){return void 0===r&&(r=3e4),I(this,void 0,void 0,(function(){var i,o,s,a,c=this;return M(this,(function(u){switch(u.label){case 0:return this._socket?(i=this._generateMessageId(),t.messageId=i,Mo(t,this._socket),[4,new Promise((function(t){c._messageIds[i]=t,setTimeout((function(){c._messageIds[i]&&delete c._messageIds[i],t()}),r)}))]):[3,2];case 1:return(o=u.sent())?o instanceof ho||o instanceof co?(s=e&&o.data&&[q.SUCCESS,q.CHATROOM_KV_STORE_NOT_ALL_SUCCESS].indexOf(o.status)>=0,a=s?this.codec.decodeByPBName(o.data,e,n):o,0!==o.status?(pe.warn("send failed -> message: ".concat(i,", respPBName: ").concat(e,", status: ").concat(o.status)),[2,{code:o.status,data:e&&o.data?a:null}]):[2,{code:q.SUCCESS,data:a}]):[2,{code:o}]:(pe.warn("send timeout -> message: ".concat(i,", respPBName: ").concat(e,", timeout: ").concat(r)),[2,{code:q.TIMEOUT}]);case 2:return[2,{code:q.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.close=function(){this._socket&&(this._socket.close(),this._socket=null,this._watcher.status(X.DISCONNECTED))},e}(Bi),Co=function(t){function e(e,n){var r=t.call(this,"comet",n)||this;return r._runtime=e,r._messageIds={},r._syncMessageIds={},r._idCount=0,r._generateMessageId=function(){return++r._idCount},r._pid=encodeURIComponent((new Date).getTime()+Math.random()+""),r}return y(e,t),e.prototype.handleCometRes=function(t){var e=this;if(200!==t.status&&202!==t.status)return!1;var n=D(t.data)?JSON.parse(t.data):t.data;return n?!R(n)||(je(n,(function(t){return I(e,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h=this;return M(this,(function(d){switch(d.label){case 0:if((e=t.sessionid)&&(this._sessionid=e),n=function(t){var e=t.headerCode,n=new We(e),r=po(n);for(var i in t)r[i]=t[i];return r}(t),r=n.messageId,i=n._header,o=n.status,s=i&&i.qos!==Me.AT_MOST_ONCE,r&&n.getIdentifier&&((a=this._messageIds[r])&&a(n),this._syncMessageIds[r]&&this._syncMessageIds[r](n)),s&&(n instanceof so&&!n.syncMsg&&(c=new uo(r),this.sendOnly(c)),n instanceof ho&&(c=new fo(r),this.sendOnly(c))),n instanceof eo){switch(o){case go.OTHER_DEVICE_LOGIN:this._watcher.status(X.KICKED_OFFLINE_BY_OTHER_CLIENT);break;case go.BLOCK:case go.BLOCK_NEW:this._watcher.status(X.BLOCKED);break;case go.REDIRECT_NEW:case go.REDIRECT:this._watcher.status(X.REDIRECT);break;default:this._watcher.status(X.DISCONNECT_BY_SERVER)}return[2]}return n instanceof so?(u=n.syncMsg,l=n.topic,!u||Io(l)?(this._watcher.signal(n),[2,!1]):[4,new Promise((function(t){h._syncMessageIds[r]=t}))]):[3,2];case 1:f=d.sent(),delete this._syncMessageIds[r],this._watcher.signal(n,f),d.label=2;case 2:return[2]}}))}))})),!0):(pe.error("received data is not a validJson",n),!1)},e.prototype._startPullSignal=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o;return M(this,(function(s){switch(s.label){case 0:return e=(new Date).getTime(),n="".concat(t,"://").concat(this._domain,"/pullmsg.js?sessionid=").concat(this._sessionid,"×trap=").concat(e,"&pid=").concat(this._pid),r=Qt(),Jt(dt.L_CHECK_ALIVE_IM_T,{},{traceId:r}),[4,this._runtime.httpReq({url:n,body:{pid:this._pid},timeout:45e3})];case 1:return i=s.sent(),o=this.handleCometRes(i),(o?Jt:Xt)(dt.L_CHECK_ALIVE_IM_R,{isSuccess:o},{traceId:r}),this._isDisconnected||(o?this._startPullSignal(t):(this._isDisconnected=!0,this._watcher.status(X.NETWORK_UNAVAILABLE))),[2]}}))}))},e.prototype.connect=function(t,e,n,r,i,o){return I(this,void 0,void 0,(function(){var o,s,a=this;return M(this,(function(c){return i=w(i),this._protocol=r,this._isDisconnected=!1,this._watcher.status(X.CONNECTING),o=n.slice(),s=!1,[2,new Promise((function(n){var c=function(){return I(a,void 0,void 0,(function(){var a,u,l;return M(this,(function(f){switch(f.label){case 0:return 0===o.length||s?[2]:(s=!0,a=o.shift(),Wi(vo.IM_COMET,{startTime:(new Date).getTime(),host:a,protocol:ui.NAVI}),[4,this._connect(t,e,a,r,i)]);case 1:if(u=f.sent(),l=u===q.SUCCESS||u===tt.REDIRECT?u:Ge(u),Wi(vo.IM_COMET,{endTime:(new Date).getTime(),code:l}),function(t){I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h,d,p;return M(this,(function(g){switch(g.label){case 0:e=vo.IM_COMET,n=Qi(),r=n.sdkPrivate,i=n.serverPrivate,o=n.bundleId,s=Zi(e),a=s.protocol,c=s.startTime,u=s.endTime,l=s.code,f=s.host,h=$i.UNKONWN,g.label=1;case 1:return g.trys.push([1,3,,4]),[4,t.getNetworkType()];case 2:return h=g.sent(),[3,4];case 3:return d=g.sent(),pe.info(d.message),[3,4];case 4:return p=0,L(c)&&L(u)&&u>c&&c&&(p=u-c),Gi(e,{spr:r,pr:i,bid:o,ptc:a,dur:p,cod:l,hos:f,net:h}),[2]}}))}))}(this._runtime),u===q.SUCCESS)this._startPullSignal(r),n(u);else if(u===tt.REDIRECT)n(u);else{if(0===o.length)return n(Ge(u)),[2];s=!1,c()}return[2]}}))}))};a._watcher.status(X.CONNECTING),c()}))]}))}))},e.prototype._connect=function(t,e,n,r,i){return I(this,void 0,void 0,(function(){var o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return o=function(t){return 200!==t.status&&202!==t.status?(pe.error("handle comet res -> res: ".concat(JSON.stringify(t||{}))),!1):!!t.data&&(function(t){if(U(t))return!0;var e=!1;try{var n=JSON.parse(t);e=JSON.stringify(n)===t}catch(t){e=!1}return e}(t.data)?U(t.data)?t.data:JSON.parse(t.data):(pe.error("received data is not a validJson",t.data),!1))},s=mo(r,n,t,e,this._runtime,i,this._pid),this.sendConnectTime=Date.now(),pe.info("conenct start -> ".concat(s)),[4,this._runtime.httpReq({url:s,body:{pid:this._pid},timeout:5e3})];case 1:return a=u.sent(),c=o(a),this._domain=n,c&&0===c.status?(this._sessionid=c.sessionid,this.userId=c.userId,this.connectedTime=c.timestamp,Jt("connect success -> userId: ".concat(c.userId,", url: ").concat(s))):pe.warn("connect result -> code: ".concat(null==c?void 0:c.status,", url: ").concat(s)),[2,null==c?void 0:c.status]}}))}))},e.prototype.sendCometData=function(t,e){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l;return M(this,(function(f){switch(f.label){case 0:return n=(e=this)._domain,r=e._sessionid,i=e._pid,o=t.messageId,s=t.topic,a=t.targetId,c=t.getHeaderFlag(),u=s?"".concat(this._protocol,"://").concat(n,"/websocket?messageid=").concat(o,"&header=").concat(c,"&sessionid=").concat(r,"&topic=").concat(s,"&targetid=").concat(a,"&pid=").concat(i):"".concat(this._protocol,"://").concat(n,"/websocket?messageid=").concat(o,"&header=").concat(c,"&sessionid=").concat(r,"&pid=").concat(i),[4,this._runtime.httpReq({url:u,method:Yi.POST,body:t.getCometData()})];case 1:return l=f.sent(),this.handleCometRes(l),[2]}}))}))},e.prototype.sendOnly=function(t){this.sendCometData(t)},e.prototype.send=function(t,e,n,r){return void 0===r&&(r=3e4),I(this,void 0,void 0,(function(){var i,o,s,a,c=this;return M(this,(function(u){switch(u.label){case 0:return i=this._generateMessageId(),t.messageId=i,this.sendCometData(t),[4,new Promise((function(t){c._messageIds[i]=t,setTimeout((function(){delete c._messageIds[i],t()}),r)}))];case 1:return(o=u.sent())?(s=e&&o.data&&[q.SUCCESS,q.CHATROOM_KV_STORE_NOT_ALL_SUCCESS].indexOf(o.status)>=0,a=s?this.codec.decodeByPBName(o.data,e,n):o,0!==o.status?[2,{code:o.status,data:e&&o.data?a:null}]:[2,{code:q.SUCCESS,data:a}]):[2,{code:q.TIMEOUT}]}}))}))},e.prototype.close=function(){this._isDisconnected=!0,this._watcher.status(X.DISCONNECTED)},e}(Bi),_o=function(t){return["navi",t].join("_")};function Ao(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h,d,p;return M(this,(function(g){switch(g.label){case 0:e=vo.IM_NAVI,n=Qi(),r=n.sdkPrivate,i=n.serverPrivate,o=n.bundleId,s=Zi(e),a=s.protocol,c=s.startTime,u=s.endTime,l=s.code,f=s.host,h=$i.UNKONWN,g.label=1;case 1:return g.trys.push([1,3,,4]),[4,t.getNetworkType()];case 2:return h=g.sent(),[3,4];case 3:return d=g.sent(),pe.debug(d.message),[3,4];case 4:return p=0,L(c)&&L(u)&&u>c&&c&&(p=u-c),Gi(e,{spr:r,pr:i,bid:o,ptc:a,dur:p,cod:l,hos:f,net:h}),[2]}}))}))}var To=function(){function t(t,e,n){this.runtime=t,this._watcher=e,this._options=n,this._appkey=this._options.appkey,this._apiVer=this._options.apiVersion,this._apiVersion=w(this._options.apiVersion)}return t.prototype.getNaviInfo=function(t,e,n,r){return I(this,void 0,void 0,(function(){var r,i;return M(this,(function(o){switch(o.label){case 0:return n&&this._clear(t),r=function(t,e,n){var r,i,o=_o(t);try{var s=n.getItem(o);i=s?JSON.parse(s):[]}catch(t){i=[]}var a=Date.now();return i.length>0&&(i=i.filter((function(t){return a-t.timestamp<72e5}))),0===i.length?n.removeItem(o):n.setItem(o,JSON.stringify(i)),(null===(r=i.find((function(t){return t.token===e})))||void 0===r?void 0:r.naviInfo)||null}(this._appkey,t,this.runtime.localStorage),r?[2,r]:(i=this._options.navigators.slice(),e.length&&e.forEach((function(t){i.indexOf(t)<0&&i.unshift(t)})),[4,this.requestNaviInfo(i,this._appkey,t)]);case 1:return(r=o.sent())?(this.setNaviInfo2Cache(t,r),[2,r]):[2,r]}}))}))},t.prototype.setNaviInfo2Cache=function(t,e){!function(t,e,n,r){var i,o=_o(t);try{var s=r.getItem(o);i=s?JSON.parse(s):[]}catch(t){i=[]}var a=Date.now();i.length>0&&(i=i.filter((function(t){return a-t.timestamp<72e5&&e!==t.token}))),i.push({timestamp:a,naviInfo:n,token:e}),r.setItem(o,JSON.stringify(i))}(this._appkey,t,e,this.runtime.localStorage)},t.prototype._clear=function(t){!function(t,e,n){var r,i=_o(t);try{var o=n.getItem(i);r=o?JSON.parse(o):[]}catch(t){r=[]}var s=Date.now();r.length>0&&(r=r.filter((function(t){return s-t.timestamp<72e5&&e!==t.token}))),0===r.length?n.removeItem(i):n.setItem(i,JSON.stringify(r))}(this._appkey,t,this.runtime.localStorage)},t}(),wo=function(){function t(t){this._context=t}return t.prototype.__getContext=function(){return this._context},t.prototype.getNaviInfo=function(){return this._context.getInfoFromCache()},t.prototype.getCoreVersion=function(){return this._context.coreVersion},t.prototype.getAPIVersion=function(){return this._context.apiVersion},t.prototype.getAppkey=function(){return this._context.appkey},t.prototype.getCurrentId=function(){return this._context.getCurrentUserId()},t.prototype.getConnectionStatus=function(){return this._context.getConnectionStatus()},t.prototype.getDeviceId=function(){return this._context.getDeviceId()},t.prototype.sendMessage=function(t,e,n){return this._context.sendMessage(t,e,n)},t.prototype.registerMessageType=function(t,e,n,r){void 0===r&&(r=[]),this._context.registerMessageType(t,e,n,r)},t.prototype.getServerTime=function(){return this._context.getServerTime()},t.prototype.getRTCJoinedUserInfo=function(t){return this._context.getRTCJoinedUserInfo(t)},t}(),Eo=function(t,e,n){return[t,e,n].join("_")},No=function(){function t(t,e){this._runtime=t,this._appkey=e,this._users={}}return t.prototype._getMemData=function(t){return this._users[t]||(this._users[t]={inboxTime:0,outboxTime:0,broadcastSyncTime:0})},t.prototype.setInboxTime=function(t,e){var n=this._getMemData(e);if(!(n.inboxTime>t)){n.inboxTime=t;var r=Eo("inbox",this._appkey,e);this._runtime.localStorage.setItem(r,t.toString())}},t.prototype.getInboxTime=function(t){var e=this._getMemData(t);if(0===e.inboxTime){var n=Eo("inbox",this._appkey,t);e.inboxTime=parseInt(this._runtime.localStorage.getItem(n))||0}return e.inboxTime},t.prototype.setBroadcastSyncTime=function(t,e){var n=this._getMemData(e);if(!(n.broadcastSyncTime>=t||B(t))){n.broadcastSyncTime=t;var r=Eo("broadcastbox",this._appkey,e);this._runtime.localStorage.setItem(r,t.toString())}},t.prototype.getBroadcastSyncTime=function(t){var e=this._getMemData(t);if(!e||0===e.broadcastSyncTime){var n=Eo("broadcastbox",this._appkey,t);e.broadcastSyncTime=parseInt(this._runtime.localStorage.getItem(n))||1}return e.broadcastSyncTime},t.prototype.setOutboxTime=function(t,e){var n=this._getMemData(e);if(!(n.outboxTime>=t)){n.outboxTime=t;var r=Eo("outbox",this._appkey,e);this._runtime.localStorage.setItem(r,t.toString())}},t.prototype.getOutboxTime=function(t){var e=this._getMemData(t);if(0===e.outboxTime){var n=Eo("outbox",this._appkey,t);e.outboxTime=parseInt(this._runtime.localStorage.getItem(n))||0}return e.outboxTime},t}(),So={_caches:{},set:function(t,e){this._caches[t]=e},get:function(t){return this._caches[t]||0},clear:function(t){this._caches[t]=0}},Oo=function(){function t(t,e){this._kvCaches={},this._chatroomId=t,this._currentUserId=e}return t.prototype._add=function(t){var e=t.key;t.isDeleted=!1,this._kvCaches[e]=t},t.prototype._remove=function(t){var e=t.key,n=this._kvCaches[e];n&&(n.isDeleted=!0,this._kvCaches[e]=n)},t.prototype._setEntry=function(t,e){var n=t.key,r=t.type,i=t.isOverwrite,o=t.userId,s=this._getSetUserId(n),a=r===gt.DELETE,c=s===o,u=!this._isExisted(n),l=a?this._remove:this._add;(e||i||c||u)&&l.call(this,t)},t.prototype.getValue=function(t){var e=this._kvCaches[t]||{};return e.isDeleted?null:e.value},t.prototype.getVersion=function(t){var e=this._kvCaches[t]||{};return e.isDeleted?null:e.version},t.prototype.getAllValue=function(){var t={};for(var e in this._kvCaches)this._kvCaches[e].isDeleted||(t[e]=this._kvCaches[e].value);return t},t.prototype._getSetUserId=function(t){return(this._kvCaches[t]||{}).userId},t.prototype._isExisted=function(t){var e=this._kvCaches[t]||{},n=e.value,r=e.isDeleted;return n&&!r},t.prototype.setEntries=function(t){var e=this,n=t.kvEntries,r=t.isFullUpdate;n=n||[],(r=r||!1)&&this.clear(),n.forEach((function(t){e._setEntry(t,r)})),pe.debug("end setEntries")},t.prototype.clear=function(){this._kvCaches={}},t}(),Do=function(){function t(t){this._pullQueue=[],this._isPulling=!1,this._storeCaches={},this._engine=t}return t.prototype._startPull=function(){return I(this,void 0,void 0,(function(){var t,e,n,r,i,o,s;return M(this,(function(a){switch(a.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],e=t.chrmId,n=t.timestamp,(r=So.get(e))>n?(this._isPulling=!1,this._startPull(),[2]):[4,this._engine.pullChatroomEntry(e,r)]);case 1:return i=a.sent(),o=i.code,s=i.data,this._isPulling=!1,o===q.SUCCESS?(So.set(e,s.syncTime||0),this._startPull()):this._startPull(),[2]}}))}))},t.prototype.reset=function(t){So.clear(t);var e=this._storeCaches[t];e&&e.clear()},t.prototype.pullEntry=function(t,e){this._pullQueue.push({chrmId:t,timestamp:e}),this._startPull()},t.prototype.setLocal=function(t,e,n){var r=this._storeCaches[t];$(r)||(r=new Oo(t,n)),r.setEntries(e),this._storeCaches[t]=r},t.prototype.getValue=function(t,e){var n=this._storeCaches[t];return n?n.getValue(e):null},t.prototype.getVersion=function(t,e){var n=this._storeCaches[t];return n?n.getVersion(e):null},t.prototype.getAll=function(t){var e=this._storeCaches[t],n={};return e&&(n=e.getAllValue()),n},t}(),xo=function(){function t(t,e,n,r){this._runtime=t,this._appkey=e,this._userId=n,this._canJoinMulipleChrm=r,this._sessionKey="",this._joinedChrmsInfo={},this._sessionKey="sync-chrm-".concat(this._appkey,"-").concat(this._userId)}return t.prototype.set=function(t,e){void 0===e&&(e=10),!this._canJoinMulipleChrm&&(this._joinedChrmsInfo={}),this._joinedChrmsInfo[t]=e,this._runtime.sessionStorage.setItem(this._sessionKey,JSON.stringify(this._joinedChrmsInfo))},t.prototype.get=function(){var t,e;try{e=this._runtime.sessionStorage.getItem(this._sessionKey),t=JSON.parse(e||"{}")}catch(o){pe.error("parse rejoined chrm infos error -> ".concat(e)),t={}}return t},t.prototype.remove=function(t){delete this._joinedChrmsInfo[t],$(this._joinedChrmsInfo)?this._runtime.sessionStorage.setItem(this._sessionKey,JSON.stringify(this._joinedChrmsInfo)):this.clear()},t.prototype.clear=function(){this._joinedChrmsInfo={},this._runtime.sessionStorage.removeItem(this._sessionKey)},t}(),Lo="converStatusChanged",Ro=function(){function t(t,e,n){this._eventEmitter=new ge,this._pullQueue=[],this._isPulling=!1,this._storage=h(t.runtime),this._appkey=e,this._currentUserId=n,this._engine=t,this._storagePullTimeKey="con-s-".concat(e,"-").concat(n)}return t.prototype._set=function(t){var e=this;if(!B(t)&&Array.isArray(t)){var n=this._storage.get(this._storagePullTimeKey)||0,r=t.length;t.forEach((function(t,i){var o=t.updatedTime||0;n=o>n?o:n,t.conversationType=t.type,e._eventEmitter.emit(Lo,{statusItem:t,isLastPull:i===r-1})})),this._storage.set(this._storagePullTimeKey,n)}},t.prototype._startPull=function(){return I(this,void 0,void 0,(function(){var t,e,n,r;return M(this,(function(i){switch(i.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],[4,this._engine.pullConversationStatus(t)]);case 1:return e=i.sent(),n=e.code,r=e.data,n===q.SUCCESS?(this._isPulling=!1,this._set(r),this._startPull()):this._startPull(),[2]}}))}))},t.prototype.pull=function(t){var e=this._storage.get(this._storagePullTimeKey)||0;(t>e||0===t)&&(this._pullQueue.push(e),this._startPull())},t.prototype.watch=function(t){this._eventEmitter.on(Lo,(function(e){t(e)}))},t.prototype.unwatch=function(){this._eventEmitter.off(Lo,(function(t){}))},t}(),jo={c:{keyName:"unreadMessageCount",defaultVal:0},hm:{keyName:"hasMentioned",defaultVal:!1},m:{keyName:"mentionedInfo",defaultVal:null},t:{keyName:"lastUnreadTime",defaultVal:0},lt:{keyName:"lastReadTime",defaultVal:0},nc:{keyName:"notificationStatus",defaultVal:2},nl:{keyName:"notificationLevel",defaultVal:0},to:{keyName:"isTop",defaultVal:!1},tg:{keyName:"tags",defaultVal:{}},mc:{keyName:"unreadMentionedCount",defaultVal:0}},ko={};for(var Po in jo){var Uo=jo[Po].keyName;ko[Uo]=Po}var zo,Bo=function(){function t(t,e,n){this._appkey=e,this._currentUserId=n;var r="con-".concat(e,"-").concat(n);this.storage=new p(t,r),this._localStore=new p(t,"CONVER-".concat(e,"-").concat(n))}return t.prototype._getStoreKey=function(t,e,n){return"".concat(n,"_").concat(t,"_").concat(e)},t.prototype._getConOptionByKey=function(t){var e=(t=t||"").split("_");if(e.length>=2){var n=e.shift(),r=e.shift(),i=e.join("_");return{conversationType:Number(r),targetId:i,channelId:n}}return{conversationType:N.PRIVATE,targetId:"",channelId:""}},t.prototype.updateMentionedData=function(t){var e=this,n=t.conversationType,r=t.targetId,i=t.messageType,o=t.isMentioned,s=t.content,a=t.senderUserId,c=t.channelId,u=this._getStoreKey(n,r,c),l=this._localStore.get(u)||{},f=ko.mentionedInfo,h=ko.hasMentioned,d=l[f]||{},p=d.userIdList||[],g=s.mentionedInfo;if(g){if(o&&n===N.GROUP&&((g.userIdList||[]).forEach((function(t){t===e._currentUserId&&p.indexOf(a)<0&&p.push(a)})),g.type===ct.ALL&&p.indexOf(a)<0&&p.push(a)),i===nt.RECALL&&n===N.GROUP){var v=p.indexOf(a);v>=0&&p.splice(v,1)}g={userIdList:p,type:(null==g?void 0:g.type)||d.type},0!==p.length?(l[f]=g,l[h]=!0):(delete l[f],delete l[h]),$(l)?this._localStore.set(u,l):this._localStore.remove(u)}},t.prototype.set=function(t,e,n,r){var i=this._getStoreKey(t,e,r),o=this._localStore.get(i)||{};for(var s in n){var a=ko[s],c=n[s];if(!B(a)&&!B(c)&&"hasMentioned"!==s&&"MentionedInfo"!==s){if(c===jo[a].defaultVal||"tags"===s&&!$(c))delete o[a];else if("tags"===s){var u=c;for(var l in u)u[l].isTop||delete u[l].isTop;o[a]=c}else o[a]=c;o.c||(delete o.t,delete o.hm,delete o.m,delete o.mc)}}$(o)?this._localStore.set(i,o):this._localStore.remove(i)},t.prototype.get=function(t,e,n){void 0===n&&(n="");var r=this._getStoreKey(t,e,n),i=this._localStore.get(r)||{},o={};for(var s in jo){var a=jo[s],c=a.keyName,u=a.defaultVal;o[c]=i[s]||ze(u)}return o},t.prototype.getValue=function(t){var e=this._localStore.getValues()||{},n=[];for(var r in e){var i=this._getConOptionByKey(r),o={conversationType:i.conversationType,targetId:i.targetId,channelId:i.channelId},s=e[r];for(var a in s)if(jo[a]){var c=jo[a],u=c.keyName,l=c.defaultVal;o[u]=s[a]||ze(l)}o=t?t(o):o,n.push(o)}return n},t.prototype.getValueForTag=function(){var t=this._localStore.getValues()||{},e={};for(var n in t){var r=this._getConOptionByKey(n),i=r.conversationType,o=r.targetId,s={},a=t[n];for(var c in a){var u=jo[c],l=u.keyName,f=u.defaultVal;s[l]=a[c]||ze(f)}for(var h in s.tags){B(e[h])&&(e[h]=[]);var d=Object.assign({},s,{conversationType:i,targetId:o});delete d.tags,e[h].push(d)}}return e},t.prototype.adaptOldStore=function(){try{var t=this.storage.getValues();if(0===Object.keys(t).length)return;for(var e in t){var n="_".concat(e);this._localStore.set(n,t[e])}this.storage.clear()}catch(t){pe.error("adaptOldStore error: ".concat(t.message))}},t}(),Go=[N.PRIVATE,N.GROUP,N.SYSTEM,N.PUBLIC_SERVICE,N.APP_PUBLIC_SERVICE],Yo="conversationChanged",$o="conTagStatusChanged",Ho=function(){function t(t,e,n,r,i){var o=this;this._updatedConversations={},this._conTagStatusChanged=!1,this._eventEmitter=new ge,this._draftMap={},this._recallMsgTimeMap={},this._appkey=e,this._loginUserId=n,this._store=new Bo(t.runtime,e,n),this._statusManager=new Ro(t,e,n),this._statusManager.watch((function(t){var e=t.statusItem,n=t.isLastPull;o.addStatus(e,n)})),this._eventEmitter.on(Yo,(function(t){r(t)})),this._eventEmitter.on($o,(function(){i()}))}return t.prototype._calcUnreadCount=function(t,e){var n=t.content,r=t.messageType,i=t.sentTime,o=t.isCounted,s=t.messageDirection,a=t.senderUserId,c=s===Z.SEND&&a===this._loginUserId,u=r===nt.RECALL,l=U(n),f=!1,h={},d=e.lastUnreadTime||0,p=e.lastReadTime||0,g=e.unreadMessageCount||0;if(d>i||c)return{hasChanged:f,localConversation:e,updateItems:h};if(o&&(e.unreadMessageCount=g+1,e.lastUnreadTime=i,f=!0),u&&l){var v="".concat(t.conversationType,"_").concat(t.channelId,"_").concat(t.targetId),y=!this._recallMsgTimeMap[v]||this._recallMsgTimeMap[v]&&!this._recallMsgTimeMap[v].find((function(t){return t===n.sentTime})),m=d>=n.sentTime;p&&(m=p<n.sentTime),m&&g&&y&&(!this._recallMsgTimeMap[v]&&(this._recallMsgTimeMap[v]=[]),this._recallMsgTimeMap[v].push(n.sentTime),e.unreadMessageCount=g-1,f=!0)}return f&&(h.unreadMessageCount={val:e.unreadMessageCount,time:i}),{hasChanged:f,localConversation:e,updateItems:h}},t.prototype._calcMentionedInfo=function(t,e){var n=t.content,r=(t.messageDirection,t.isMentioned),i=t.sentTime;Z.SEND;var o=U(n),s=!1,a={};return r&&o&&n.mentionedInfo&&(e.hasMentioned=!0,s=!0,a.hasMentioned={val:!0,time:i},a.mentionedInfo={val:n.mentionedInfo,time:i}),{hasChanged:s,localConversation:e,updateItems:a}},t.prototype._calcMentionedCount=function(t,e){var n=t.content,r=t.messageDirection,i=!1;if(t.isMentioned&&r===Z.RECEIVE&&(null==n?void 0:n.mentionedInfo)){var o=n.mentionedInfo,s=o.type,a=o.userIdList;if(s===ct.ALL||(a||[]).includes(this._loginUserId)){i=!0;var c=e.unreadMentionedCount||0;e.unreadMentionedCount=c+1}}return{hasChanged:i,localConversation:e}},t.prototype._setUpdatedConversation=function(t){if(U(t)){var e=t.conversationType,n=t.targetId,r=t.channelId,i="".concat(e,"_").concat(n),o=this._store.get(e,n,r)||{};this._updatedConversations[i]=Object.assign(o,t)}},t.prototype._setConTagStatusChanged=function(t,e,n,r){var i=(this._store.get(t,e,r)||{}).tags||{};if(Object.keys(i).length===Object.keys(n).length){for(var o in i)if(!n[o]||!!i[o].isTop!=!!n[o].isTop)return void(this._conTagStatusChanged=!0)}else this._conTagStatusChanged=!0},t.prototype.addStatus=function(t,e){var n=t.conversationType,r=t.targetId,i=t.updatedTime,o=t.notificationStatus,s=t.notificationLevel,a=t.isTop,c=t.tags,u=t.channelId,l={},f={};n!==N.ULTRA_GROUP&&(B(o)||(f.notificationStatus={time:i,val:o}),B(s)||(f.notificationLevel={time:i,val:s}),B(a)||(f.isTop={time:i,val:a}),B(c)||(f.tags={time:i,val:c},null==c||c.forEach((function(t){l[t.tagId]={isTop:t.isTop}}))),this._setConTagStatusChanged(n,r,l,u),this._store.set(n,r,{notificationStatus:o,notificationLevel:s,isTop:a,tags:l},u),this._setUpdatedConversation({conversationType:n,targetId:r,updatedItems:f,channelId:u}),e&&this._notifyConversationChanged())},t.prototype._notifyConversationChanged=function(){var t=[];for(var e in this._updatedConversations)t.push(this._updatedConversations[e]);0!==t.length&&(this._eventEmitter.emit(Yo,t),this._updatedConversations={},this._conTagStatusChanged&&(this._eventEmitter.emit($o),this._conTagStatusChanged=!1))},t.prototype.setConversationCacheByMessage=function(t,e){var n=this,r=t.conversationType,i=t.isPersited,o=t.targetId,s=t.channelId;if(Go.indexOf(r)>=0){var a=!1,c=this._store.get(r,o,s),u={};if([this._calcUnreadCount,this._calcMentionedInfo,this._calcMentionedCount].forEach((function(e){var r=e.call(n,t,c),i=r.hasChanged,o=r.localConversation,s=r.updateItems;a=a||i,u=m(m({},u),s),c=ze(o)})),a&&this._store.set(r,o,c,s),this._store.updateMentionedData(t),i){var l=this._store.get(r,o,s);l.updatedItems=m({latestMessage:{time:t.sentTime,val:t}},u),l.latestMessage=t;var f=Object.assign(l,{conversationType:r,targetId:o,channelId:s});this._setUpdatedConversation(f)}(a||i)&&this._notifyConversationChanged()}},t.prototype.get=function(t,e,n){return void 0===n&&(n=""),this._store.get(t,e,n)},t.prototype.getAllUnreadCount=function(t,e,n){var r=this._store.getValue(),i=0;return r.forEach((function(t){var r=t.unreadMessageCount,o=t.notificationStatus,s=t.notificationLevel,a=t.conversationType;r=r||0,(n||1!==o||s===st.NOT_SET||s===st.ALL_MESSAGE)&&(e.length>0?e.includes(Number(a))&&(i+=Number(r)):i+=Number(r))})),i},t.prototype.getUnreadCountByTag=function(t,e){var n=this._store.getValueForTag()[t]||[],r=0;return n.forEach((function(t){var n=t.unreadMessageCount,i=t.notificationStatus,o=t.notificationLevel;(e||1!==i||-1===o||0===o)&&(n=n||0,r+=Number(n))})),r},t.prototype.getUnreadCount=function(t,e,n){return this._store.get(t,e,n).unreadMessageCount||0},t.prototype.clearUnreadCount=function(t,e,n,r){void 0===r&&(r=!0);var i=this._store.get(t,e,n);i.lastReadTime=i.lastUnreadTime,this._recallMsgTimeMap["".concat(t,"_").concat(n,"_").concat(e)]=[];var o=i.unreadMessageCount,s=i.hasMentioned,a={};if(o&&(i.unreadMessageCount=0,a.unreadMessageCount={val:0,time:Date.now()}),s&&(i.hasMentioned=!1,i.unreadMentionedCount=0,i.mentionedInfo=void 0,a.hasMentioned={val:!1,time:Date.now()},a.mentionedInfo={val:void 0,time:Date.now()}),this._store.set(t,e,i,n),r&&0!==Object.keys(a).length){var c=Object.assign(i,{conversationType:t,targetId:e,channelId:n,updatedItems:a});this._setUpdatedConversation(c),this._notifyConversationChanged()}},t.prototype.clearAllUnreadCount=function(){var t=this;this._store.getValue().forEach((function(e){e.unreadMessageCount&&(e.unreadMessageCount=0,e.lastReadTime=e.lastUnreadTime,t._recallMsgTimeMap={},t._store.set(e.conversationType,e.targetId,e,e.channelId))}))},t.prototype.startPullConversationStatus=function(t){this._statusManager.pull(t)},t.prototype.setDraft=function(t,e,n,r){var i="".concat(t,"_").concat(e,"_").concat(r);this._draftMap[i]=n},t.prototype.getDraft=function(t,e,n){var r="".concat(t,"_").concat(e,"_").concat(n);return this._draftMap[r]},t.prototype.clearDraft=function(t,e,n){var r="".concat(t,"_").concat(e,"_").concat(n);delete this._draftMap[r]},t.prototype.addTagStatus=function(t,e,n,r){void 0===r&&(r="");var i=this._store.get(t,e,r).tags;i=Object.assign(i,n),this._store.set(t,e,{tags:i},r)},t.prototype.deleteTagStatus=function(t,e,n,r){void 0===r&&(r="");var i=this._store.get(t,e,r).tags;n.forEach((function(t){delete i[t]})),this._store.set(t,e,{tags:i},r)},t.prototype.getConversationListForTag=function(){return this._store.getValueForTag()},t.prototype.getBlockConversationList=function(){return this._store.getValue().filter((function(t){return t.notificationStatus===it.OPEN||-1!==t.notificationLevel&&0!==t.notificationLevel})).map((function(t){return{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId}}))},t.prototype.getTopConversationList=function(){return(this._store.getValue()||{}).filter((function(t){return t.isTop})).map((function(t){return{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId}}))},t.prototype.adaptOldStore=function(){this._store.adaptOldStore()},t.prototype.getUnreadMentionedCount=function(t,e,n){return void 0===t&&(t=""),this.get(e,n,t).unreadMentionedCount||0},t.prototype.getAllUnreadMentionedCount=function(){var t=this._store.getValue(),e=0;return t.forEach((function(t){var n=t.unreadMentionedCount;n=n||0,e+=Number(n)})),e},t.prototype.getAllConversationState=function(){return this._store.getValue().filter((function(t){return t.unreadMessageCount||t.unreadMentionedCount})).map((function(t){return{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId,unreadCount:t.unreadMessageCount||0,unreadMentionedCount:t.unreadMentionedCount||0}}))},t}(),Fo=function(){function t(t,e,n,r){this._pullQueue=[],this._isPulling=!1,this._storageTagKey="tag-".concat(e,"-").concat(n),this._storagePullTimeKey="us-s-".concat(e,"-").concat(n),this._storage=h(t.runtime),this._engine=t,this._tagWatcherFunc=r}return t.prototype._updateTag=function(t){var e=t.tags,n={};e.forEach((function(t){n[t.tagId]={tagName:t.tagName,createdTime:t.createdTime}})),this._storage.set(this._storageTagKey,n),this._tagWatcherFunc()},t.prototype.addTag=function(t,e){var n=this._storage.get(this._storageTagKey)||{};t.forEach((function(t){var e,r=(null===(e=n[t.tagId])||void 0===e?void 0:e.createdTime)||t.createdTime||0;n[t.tagId]={tagName:t.tagName,createdTime:r}})),this._storage.set(this._storageTagKey,n),this._storage.set(this._storagePullTimeKey,e)},t.prototype.deleteTag=function(t,e){var n=this._storage.get(this._storageTagKey)||{};t.forEach((function(t){delete n[t]})),this._storage.set(this._storageTagKey,n),this._storage.set(this._storagePullTimeKey,e)},t.prototype.getTagsInfo=function(){return this._storage.get(this._storageTagKey)||{}},t.prototype.getTags=function(){var t=this._storage.get(this._storageTagKey)||{},e=[];for(var n in t)e.push({tagId:n,tagName:t[n].tagName,createdTime:t[n].createdTime,conversationCount:0});return e.sort((function(t,e){return(t.createdTime||0)-(e.createdTime||0)}))},t.prototype.getTagById=function(t){var e=this._storage.get(this._storageTagKey)||{};return e[t]?{tagId:t,tagName:e[t].tagName,createdTime:e[t].createdTime,conversationCount:0}:null},t.prototype._startPull=function(){return I(this,void 0,void 0,(function(){var t,e,n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],[4,this._engine.pullUserSettings(t)]);case 1:return e=c.sent(),n=e.code,r=e.data,n!==q.SUCCESS||B(r)?(this._isPulling=!1,this._startPull()):(o=(i=r).settings,s=i.version,a=o.Tag,B(a)||this._updateTag(a),this._storage.set(this._storagePullTimeKey,s),this._isPulling=!1,this._startPull()),[2]}}))}))},t.prototype.pullUserSettings=function(t){var e=this._storage.get(this._storagePullTimeKey)||0;(t>e||0===t)&&(this._pullQueue.push(e),this._startPull())},t.prototype.getVersion=function(){return this._storage.get(this._storagePullTimeKey)||0},t}(),Vo=function(){function t(t){this._pullQueue=[],this._isPulling=!1,this._pullTime=0,this._engine=t}return t.prototype._startPull=function(){return I(this,void 0,void 0,(function(){var t,e,n,r,i,o,s;return M(this,(function(a){switch(a.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],e=t.roomId,n=t.timestamp,(r=this._pullTime)>n?(this._isPulling=!1,this._startPull(),[2]):[4,this._engine.pullRTCRoomEntry(e,r)]);case 1:return i=a.sent(),o=i.code,s=i.data,o===q.SUCCESS?(this._isPulling=!1,this._pullTime=s.syncTime||0,this._startPull()):this._startPull(),[2]}}))}))},t.prototype.pullEntry=function(t,e){this._pullQueue.push({roomId:t,timestamp:e}),this._startPull()},t.prototype.reset=function(){this._pullTime=0,this._isPulling=!1},t}(),Qo=function(t,e){return["send_msg",t,e].join("_")},Wo=function(){function t(t,e){this._runtime=t,this._appkey=e,this._sendMessageMap={},this._userId=""}return t.prototype.init=function(t){this._userId=t;var e=Qo(this._appkey,t);this._sendMessageMap=this._getLocalInfo(e)},t.prototype._getLocalInfo=function(t){var e=this._runtime.localStorage.getItem(t);try{return e?JSON.parse(e):{}}catch(t){return{}}},t.prototype.setMessage=function(t,e){this._sendMessageMap[t]=e;var n=Qo(this._appkey,this._userId),r=this._getLocalInfo(n);r[t]=e,this._runtime.localStorage.setItem(n,JSON.stringify(r))},t.prototype.getSendMessageMap=function(){return this._sendMessageMap},t.prototype.removeByUID=function(t){delete this._sendMessageMap[t]},t.prototype.removeByTimestamp=function(t){var e=Qo(this._appkey,this._userId),n=this._getLocalInfo(e);Object.keys(n).forEach((function(e){n[e]<t&&delete n[e]})),this._runtime.localStorage.setItem(e,JSON.stringify(n))},t}();(zo={})[N.PRIVATE]=yo.qryPMsg,zo[N.GROUP]=yo.qryGMsg,zo[N.CHATROOM]=yo.qryCHMsg,zo[N.CUSTOMER_SERVICE]=yo.qryCMsg,zo[N.SYSTEM]=yo.qrySMsg;var Zo=[yo[yo.recallMsg],yo[yo.ppMsgS],yo[yo.pgMsgS],yo[yo.ppMsgP],yo[yo.pgMsgP],yo[yo.chatMsg],yo[yo.pcMsgP],yo[yo.prMsgS],yo[yo.updUgRTime]],Ko=function(){function t(t,e,n){this.ULTRA_GROUP_CONVERSATION="ultragroupconversation";var r="".concat(this.ULTRA_GROUP_CONVERSATION,"-").concat(e,"-").concat(n);this._localStore=new p(t,r)}return t.prototype.set=function(t,e,n,r){var i=this._getStoreKey(t,e,r),o=this._localStore.get(i)||{};for(var s in n){var a=Jo[s],c=n[s];B(a)||B(c)||(c===qo[a].defaultVal?delete o[a]:o[a]=c)}$(o)?this._localStore.set(i,o):this._localStore.remove(i)},t.prototype.get=function(t,e,n){void 0===n&&(n="");var r=this._getStoreKey(t,e,n),i=this._localStore.get(r)||{},o={};for(var s in qo){var a=qo[s],c=a.keyName,u=a.defaultVal;o[c]=i[s]||ze(u)}return o},t.prototype._getStoreKey=function(t,e,n){return"".concat(n,"_").concat(t,"_").concat(e)},t}(),qo={nc:{keyName:"notificationStatus",defaultVal:2},nl:{keyName:"notificationLevel",defaultVal:0}},Jo={};for(var Xo in qo){var ts=qo[Xo].keyName;Jo[ts]=Xo}var es=function(){function t(t,e,n){this._store=new Ko(t.runtime,e,n)}return t.prototype.addUltraGroupStatus=function(t){var e=t.conversationType,n=t.targetId,r=t.notificationStatus,i=t.notificationLevel,o=t.channelId;e===N.ULTRA_GROUP&&this._store.set(e,n,{notificationStatus:r,notificationLevel:i},o)},t.prototype.get=function(t,e,n){return void 0===n&&(n=""),this._store.get(t,e,n)},t}(),ns=function(t,e,n,r,i,s,a){return{conversationType:t,targetId:e,senderUserId:s,messageDirection:Z.SEND,isCounted:!!n.isCounted,isMentioned:!!n.isMentioned,content:n.content,messageType:n.messageType,isOffLineMessage:!1,isPersited:!!n.isPersited,messageUId:r,sentTime:i,receivedTime:0,disableNotification:!!n.disableNotification,isStatusMessage:!!n.isStatusMessage,canIncludeExpansion:!!n.canIncludeExpansion,expansion:n.canIncludeExpansion?n.expansion:null,receivedStatus:o.UNREAD,pushConfig:n.pushConfig,channelId:n.channelId,isInterrupt:n.isInterrupt,messageId:a||0}},rs=function(t){return t.sort((function(t,e){var n,r,i=(null===(n=t.latestMessage)||void 0===n?void 0:n.sentTime)||0;return((null===(r=e.latestMessage)||void 0===r?void 0:r.sentTime)||0)-i}))},is=0,os=function(){return++is},ss=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.naviInfo=null,i._customMessageType={},i._reconnectTimer=-1,i._pullOfflineFinished=!1,i._conversationUpdatedTime=0,i._miniConnectUrl="",i.currentUserId="",i._connectedTime=0,i._localConnectedTime=0,i._status=X.DISCONNECTED,i._pullingMsg=!1,i._pullQueue=[],i._chrmsQueue={},i._latestSyncTimestamp=0,i._intervalTimer=-1,i._pullChatroomEntryTimestamp=0,i._intervalTimerForChrmPull=-1,i._lastSyncUltraMsgTimeStamp=0,i._lastSyncUltraMsgLocalTimeStamp=0,i._ultraGroupTimer=-1,i._isUltraPulling=!1,i._ultraGroupTimeQue=[],i._isUltraGroupListExist=!1,i._ultraGroupMap={},i._firstPullUltraGroupTime=0,i._ultraMsgMap={},i._pullUltraChangeMessageQue=[],i._isPullingUltraChangeMessage=!1,i._lastPullingUltraChangeMessageTime=0,i._ultraMsgChangeMap={},i._letterbox=new No(e,r.appkey),i._sendMessageStore=new Wo(e,r.appkey),i._chrmEntryHandler=new Do(i),i._connectType=r.connectionType,i}return y(e,t),e.prototype._formatJSONPUrl=function(t,e,n,r){var i=this.runtime.isSupportSocket()&&"websocket"===this._connectType?"navi":"cometnavi";return"".concat(t,"/").concat(i,".js?appId=").concat(n,"&token=").concat(encodeURIComponent(e),"&callBack=").concat(r,"&v=").concat(this._apiVersion,"&r=").concat(Date.now())},e.prototype.getNaviInfo=function(e,n,r){var i;return I(this,void 0,void 0,(function(){var o;return M(this,(function(s){return this.runtime.useNavi||(o=void 0,o=this.runtime.isSupportSocket()&&"websocket"===this._connectType?a.join(","):c.join(","),this._miniConnectUrl=(null===(i=this._options.miniCMPProxy)||void 0===i?void 0:i.length)?this._options.miniCMPProxy.join(","):o||"",n=[]),[2,t.prototype.getNaviInfo.call(this,e,n,r)]}))}))},e.prototype.requestNaviInfo=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f,h,d;return M(this,(function(p){switch(p.label){case 0:r="getServerEndpoint",i=0,o=t.length,p.label=1;case 1:return i<o?(s=this._formatJSONPUrl(t[i],n,e,r),qt("req navi => ".concat(s)),[4,this.runtime.httpReq({url:s,timeout:1e4,dataType:"text"})]):[3,4];case 2:if(a=p.sent(),c=(new Date).getTime(),Wi(vo.IM_NAVI,{endTime:c}),200!==a.status)return u=void 0,403===a.status?(u=q.RC_CONN_USER_OR_PASSWD_ERROR,te("request navi error: "+u)):401===a.status&&(u=q.RC_CONN_APP_BLOCKED_OR_DELETED,te("request navi error: "+u)),Wi(vo.IM_NAVI,{code:u}),Ao(this.runtime),[3,3];try{return l=a.data.match(/{[\d\D]+}/),0===(f=l&&l[0]?l[0]:"").indexOf('{\\"code\\":')&&(f=JSON.parse('"'+f+'"')),d=JSON.parse(f),h=/^https/.test(s)?"https":"http",d.protocol=h,this.runtime.useNavi||(d.server="",d.backupServer=this._miniConnectUrl,d.logSwitch=0),Vi({serverPrivate:d.type===ci.PRIVATE?ci.PRIVATE:ci.OPEN}),Wi(vo.IM_NAVI,{code:q.SUCCESS}),d.userId&&(le({userId:d.userId}),Wt({userId:d.userId})),Ao(this.runtime),[2,d]}catch(t){te("parse navi err =>",t)}p.label=3;case 3:return i+=1,[3,1];case 4:return this.runtime.useNavi?[2,null]:(d={code:200,protocol:"https",server:"",voipCallInfo:"",kvStorage:0,openHttpDNS:!1,historyMsg:!1,chatroomMsg:!1,uploadServer:"https://upload.qiniup.com",bosAddr:"https://gz.bcebos.com",location:"",monitor:0,joinMChrm:!1,openMp:0,openUS:0,grpMsgLimit:0,isFormatted:0,gifSize:2048,logSwitch:0,logPolicy:"",compDays:0,msgAck:"",activeServer:"",qnAddr:"",extkitSwitch:0,alone:!1,voipServer:"",offlinelogserver:"",backupServer:this._miniConnectUrl},Wi(vo.IM_NAVI,{code:d.code,startTime:0,endTime:0,host:""}),Ao(this.runtime),[2,d])}}))}))},e.prototype.getNaviInfoFromCache=function(){return this.naviInfo?m({},this.naviInfo):null},e.prototype.getConnectedTime=function(){return this._connectedTime},e.prototype.connect=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a=this;return M(this,(function(c){switch(c.label){case 0:return n=[],this.naviInfo=e,e.server?n.push(e.server):pe.warn("navi.server is invalid"),(r=e.backupServer)&&r.split(",").forEach((function(t){n.indexOf(t)<0&&n.push(t)})),0===n.length?(pe.error("navi invaild.",n),[2,q.UNKNOWN]):(i=this.runtime.createDataChannel({status:function(r){a._connectionStatusHandler(r,t,n,e.protocol)},signal:this._signalHandler.bind(this)},this._options.connectionType),o=Ae.V3,1===e.openAnti&&(o=Ae.V4),[4,i.connect(this._appkey,t,n,e.protocol,this._apiVer,o)]);case 1:return(s=c.sent())===q.SUCCESS?(this._channel=i,this.currentUserId=i.userId,this._connectedTime=i.connectedTime,this._localConnectedTime=Math.floor((Date.now()+i.sendConnectTime)/2),this._watcher.status(X.CONNECTED),this._status=X.CONNECTED,this._pullOfflineFinished=!1,this._conversationManager=new Ho(this,this._appkey,this.currentUserId,this._watcher.conversation,this._watcher.conversationTag),this._ultraGroupManager=new es(this,this._appkey,this.currentUserId),this._conversationManager.startPullConversationStatus(0),this._userSettingManager=new Fo(this,this._appkey,this.currentUserId,this._watcher.tag),this._userSettingManager.pullUserSettings(0),this._sendMessageStore.init(this.currentUserId),this._conversationManager.adaptOldStore(),this._rtcKVManager=new Vo(this),this._joinedChrmManager=new xo(this.runtime,this._appkey,this.currentUserId,e.joinMChrm),this._startSyncInterval(),1===e.ugMsg&&this._startUltraSyncInterval()):i.close(),[2,s]}}))}))},e.prototype._connectionStatusHandler=function(t,e,n,r){if(pe.warn("connection status changed:",t),this._status=t,t!==X.CONNECTING)if(t!==X.CONNECTED){if(this._channel&&t!==X.DISCONNECTED)return t===X.BLOCKED||t===X.KICKED_OFFLINE_BY_OTHER_CLIENT||t===X.DISCONNECT_BY_SERVER?(this.disconnect(),void this._watcher.status(t)):void(t!==X.REDIRECT?(this._watcher.status(t),this._try2Reconnect(e,n,r)):this._watcher.status(t));this._watcher.status(t)}else this._watcher.status(t);else this._watcher.status(t)},e.prototype._try2Reconnect=function(t,e,n){var r,i;return I(this,void 0,void 0,(function(){var o,s=this;return M(this,(function(a){switch(a.label){case 0:return this._channel?(o=Ae.V3,1===(null===(r=this.naviInfo)||void 0===r?void 0:r.openAnti)&&(o=Ae.V4),[4,this._channel.connect(this._appkey,t,e,n,this._apiVer,o)]):[2];case 1:return a.sent()===q.SUCCESS?(this._pullOfflineFinished=!1,this._startSyncInterval(),this._watcher.status(X.CONNECTED),this._status=X.CONNECTED,1===(null===(i=this.naviInfo)||void 0===i?void 0:i.ugMsg)&&this._startUltraSyncInterval(),this._rejoinChrm(),[2]):(this._watcher.status(X.WEBSOCKET_UNAVAILABLE),this._status=X.WEBSOCKET_UNAVAILABLE,this._reconnectTimer=setTimeout((function(){s._reconnectTimer=-1,s._try2Reconnect(t,e,n)}),5e3),[2])}}))}))},e.prototype._signalHandler=function(t,e){var n=t.syncMsg,r=t.topic;if(n)this._receiveSyncMsg(t,e);else{var i=yo[r];if(i)switch(i){case yo.s_ntf:pe.info("recv s_ntf -> signal.messageId: ".concat(t.messageId)),this._pullMsg(t);break;case yo.s_msg:this._receiveMsg(t);break;case yo.s_cmd:this._receiveStateNotify(t);break;case yo.s_us:this._receiveSettingNotify(t);break;case yo.rtc_ntf:this._receiveRtcKv(t);break;case yo.s_opNtf:this._pullOperateStatusNotify(t)}else pe.error("unknown topic:",r)}},e.prototype._receiveStateNotify=function(t){var e,n=null===(e=this._channel)||void 0===e?void 0:e.codec.decodeByPBName(t.data,an),r=n.time,i=n.type,o=n.chrmId;switch(i){case 2:this._chrmEntryHandler.pullEntry(o,r);break;case 3:this._conversationManager.startPullConversationStatus(r);break;case 4:this._chrmEntryHandler.reset(o),this._watcher.chatroom({chatroomDestroyed:t.targetId});break;case 6:this._ultraGroupTimeQue.push(r),this._syncUltraMsg(this._lastSyncUltraMsgTimeStamp);break;case 7:this._pullUltraChangeMessageQue.push(r),this._pullUltraChangeMessageList(this._lastPullingUltraChangeMessageTime)}},e.prototype._receiveSettingNotify=function(t){var e,n=(null===(e=this._channel)||void 0===e?void 0:e.codec.decodeByPBName(t.data,ir)).version;this._userSettingManager.pullUserSettings(n)},e.prototype._receiveRtcKv=function(t){var e,n=null===(e=this._channel)||void 0===e?void 0:e.codec.decodeByPBName(t.data,Pr),r=n.time,i=n.type,o=n.roomId;1===i&&this._rtcKVManager.pullEntry(o,r)},e.prototype._receiveMessageExpansion=function(t){var e=t.content,n=e.put,r=e.del,i=e.mid;n&&this._watcher.expansion({updatedExpansion:{messageUId:i,expansion:n}}),r&&this._watcher.expansion({deletedExpansion:{messageUId:i,deletedKeys:r}})},e.prototype._receiveSyncMsg=function(t,e){var n,r;if(Zo.includes(t.topic)){if(t.topic===yo[yo.updUgRTime]){var i=null===(n=this._channel)||void 0===n?void 0:n.codec.decodeByPBName(t.data,mn),o=i.channelId,s=i.busChannel,a=this._ultraGroupMap[s+"_"+o];return a&&(a.unreadMessageCount=0,a.unreadMentionedCount=0,a.lastReadTime=e.timestamp,this._watcher.conversation($e([a]))),void(e&&(this._ultraMsgMap[e.messageUId]=e.timestamp))}var c=null===(r=this._channel)||void 0===r?void 0:r.codec.decodeByPBName(t.data,Je,{currentUserId:this.currentUserId,signal:t});c=this._handleMsgProperties(c),e&&(c.sentTime=e.timestamp,c.messageUId=e.messageUId),this._pullingMsg?this._pullQueue.push((null==e?void 0:e.timestamp)||c.sentTime):(e&&this._sendMessageStore.setMessage(e.messageUId,e.timestamp),c.messageType!==nt.EXPANSION_NOTIFY?(c.messageType===nt.SYNC_READ_STATUS&&this._conversationManager.clearUnreadCount(c.conversationType,c.targetId,c.channelId),this._conversationManager.setConversationCacheByMessage(c,!0),this._watcher.batchMessage([c])):this._receiveMessageExpansion(c))}},e.prototype._pullMsg=function(t){if(this._channel){var e=this._channel.codec.decodeByPBName(t.data,an),n=e.type,r=e.chrmId,i=e.time;if(pe.info("s_ntf -> type: ".concat(n,", chrmId: ").concat(r,", time: ").concat(i)),2===n){var o=this._chrmsQueue[r];if(!o)return;o.queue.push(i),this._pullChrmMsg(r)}else this._pullQueue.push(i),this._syncMsg()}},e.prototype._startSyncInterval=function(){var t=this;this._stopSyncInterval(),this._intervalTimer=setInterval((function(){Date.now()-t._latestSyncTimestamp>=18e4&&t._syncMsg()}),3e4),this._latestSyncTimestamp=Date.now(),this._syncMsg()},e.prototype._stopSyncInterval=function(){-1!==this._intervalTimer&&(clearInterval(this._intervalTimer),this._intervalTimer=-1)},e.prototype._syncMsg=function(){return I(this,void 0,void 0,(function(){var t,e,n,r,i,o,s,a,c,u,l,f,h,d,p,g,v,y,m,I=this;return M(this,(function(M){switch(M.label){case 0:return this._pullingMsg?[2]:this._channel?(this._pullingMsg=!0,t=this._letterbox.getOutboxTime(this.currentUserId),e=this._letterbox.getInboxTime(this.currentUserId),n=this._letterbox.getBroadcastSyncTime(this.currentUserId),pe.info("pullMsg -> sendboxTime: ".concat(t,", inboxTime: ").concat(e,", broadcastSyncTime: ").concat(n)),r=this._channel.codec.encodeSyncMsg({sendboxTime:t,inboxTime:e,broadcastSyncTime:n}),i=new lo(yo[yo.pullMsg],r,this.currentUserId),o=Qt(),Jt(dt.L_PULL_MSG_T,{outboxTime:t,inboxTime:e,broadcastSyncTime:n},{traceId:o}),[4,this._channel.send(i,en,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})]):(this._pullingMsg=!1,[2]);case 1:return s=M.sent(),a=s.code,c=s.data,this._latestSyncTimestamp=Date.now(),a!==q.SUCCESS||!c||B(c.finished)||B(c.list)||B(c.syncTime)?(pe.warn("pullMsg failed -> code:",a,", data: ",c),Xt(dt.L_PULL_MSG_R,{code:a,timestamp:this._latestSyncTimestamp},{traceId:o}),this._pullingMsg=!1,[2]):(u=c.list,l=c.finished,f=c.syncTime,h=c.broadcastSyncTime,d=void 0===h?1:h,pe.info("pullMsg success -> syncTime: ".concat(f,", finished: ").concat(l)),p=0,g=[],v=[],u.forEach((function(t){if(g.push(t.messageUId),t.messageDirection===Z.SEND&&(p=Math.max(t.sentTime,p),I._sendMessageStore.getSendMessageMap()[t.messageUId]))I._sendMessageStore.removeByUID(t.messageUId);else if(t.messageType!==nt.EXPANSION_NOTIFY){if(t.messageType===nt.SYNC_READ_STATUS){if(t.senderUserId!==I.currentUserId)return;I._conversationManager.clearUnreadCount(t.conversationType,t.targetId,t.channelId)}var e=I._handleMsgProperties(t);I._conversationManager.setConversationCacheByMessage(e,!0),v.push(e)}else I._receiveMessageExpansion(t)})),this._watcher.batchMessage(v),this._letterbox.setInboxTime(f,this.currentUserId),this._letterbox.setOutboxTime(p,this.currentUserId),this._letterbox.setBroadcastSyncTime(d,this.currentUserId),this._sendMessageStore.removeByTimestamp(p),this._pullingMsg=!1,y=this._pullQueue.filter((function(t){return t>f})),this._pullQueue.length=0,(m=this._pullQueue).push.apply(m,y),l&&!this._pullOfflineFinished&&(this._pullOfflineFinished=!0,this._watcher.pullFinished()),Jt(dt.L_PULL_MSG_R,{code:a,messageUIds:g.join(","),timestamp:this._latestSyncTimestamp,hasmore:!l},{traceId:o}),(!l||y.length>0)&&this._syncMsg(),[2])}}))}))},e.prototype._receiveMsg=function(t){if(this._channel){var e=this._channel.codec.decodeByPBName(t.data,tn,{currentUserId:this.currentUserId,connectedTime:this._channel.connectedTime});if((e=this._handleMsgProperties(e)).conversationType!==N.RTC_ROOM){if(this._pullingMsg)return;if(this._pullQueue.length>0)return void this._syncMsg()}e.senderUserId===this.currentUserId&&this._sendMessageStore.setMessage(e.messageUId,e.sentTime),e.isStatusMessage||e.senderUserId===this.currentUserId||this._letterbox.setInboxTime(e.sentTime,this.currentUserId),e.messageType!==nt.EXPANSION_NOTIFY?e.messageType===nt.SYNC_READ_STATUS&&e.senderUserId!==this.currentUserId||(this._conversationManager.setConversationCacheByMessage(e,!0),this._watcher.batchMessage([e])):this._receiveMessageExpansion(e)}},e.prototype._handleMsgProperties=function(t,e){void 0===e&&(e=!1);var n,r=t.messageType,i=t.isCounted,o=t.isPersited,s=t.isStatusMessage,a=r in u,c=r in this._customMessageType;if(n=a?m(m({},u[r]),{isStatusMessage:l.includes(r)}):c?this._customMessageType[r]:{isCounted:!G(i)&&i,isPersited:!G(o)&&o,isStatusMessage:!1},Object.assign(t,n),e&&!B(s)&&(t.isStatusMessage=s),!e){var f=t.content.user;if(f){var h=f.portrait,d=f.portraitUri,p=h||d;p&&(f.portrait=f.portraitUri=p)}}return t},e.prototype.getHistoryMessage=function(t,e,n,r,i,o,s,a){return void 0===o&&(o=""),I(this,void 0,void 0,(function(){var s,c,u,l,f,h,d,p,g,v;return M(this,(function(y){switch(y.label){case 0:return c=(s=this).currentUserId,u=s._channel,l=xi[t]||wi,f=1===r&&0===n,u?(h=u.codec.encodeGetHistoryMsg(e,{timestamp:n,count:f?2:r,order:i,channelId:o}),Jt(dt.L_GET_HISTORY_MSG_T,{targetId:e,conversationType:t,channelId:o,timestamp:n,count:r,order:i},{traceId:a}),[4,u.send(new lo(l,h,c),un,{currentUserId:c,connectedTime:u.connectedTime,conversation:{targetId:e}})]):[3,2];case 1:return d=y.sent(),(p=d.code)===q.SUCCESS&&h?(g=d.data,f&&2===g.list.length&&(g.hasMore=!0,0===i?g.list.shift():g.list.pop()),v=[],g.list&&g.list.forEach((function(t){t&&v.push(t.messageUId)})),Jt(dt.L_GET_HISTORY_MSG_R,{code:p,messageUIds:v.join(",")},{traceId:a}),[2,{code:p,data:{list:g.list,hasMore:g.hasMore}}]):(Xt(dt.L_GET_HISTORY_MSG_R,{code:p,messageUIds:""},{traceId:a}),[2,{code:p}]);case 2:return[2,{code:q.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.reportSDKInfo=function(t){var e=this.currentUserId,n=this._channel;if(n){pe.info("reportSDKInfo ->",t);var r=n.codec.encodeReportSDKInfo(JSON.stringify(t)),i=new lo(yo[yo.reportsdk],r,e);n.send(i).then((function(t){var e=t.code;e!==q.SUCCESS&&pe.warn("reportSDKInfo failed -> code: ".concat(e))}))}},e.prototype.deleteRemoteMessage=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l;return M(this,(function(f){switch(f.label){case 0:return o=(i=this).currentUserId,(s=i._channel)?(a=s.codec.encodeDeleteMessages(t,e,n,r),c=new lo(pi,a,o),[4,s.send(c)]):[3,2];case 1:return u=f.sent(),l=u.code,q.SUCCESS,[2,l];case 2:return[2,q.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype.deleteRemoteMessageByTimestamp=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f;return M(this,(function(h){switch(h.label){case 0:return o=(i=this).currentUserId,(s=i._channel)?(a=s.codec.encodeClearMessages(e,n,r,t),c=Li[t],u=new lo(c,a,o),[4,s.send(u)]):[3,2];case 1:return l=h.sent(),f=l.code,q.SUCCESS,[2,f];case 2:return[2,q.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype.getConversationList=function(t,e,n,r,i){return void 0===t&&(t=300),I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f,h=this;return M(this,(function(d){switch(d.label){case 0:return o=(i=this).currentUserId,s=i._channel,e=e||N.PRIVATE,s?(a=s.codec.encodeOldConversationList({count:t,type:e,startTime:n,order:r}),c=new lo(Ci,a,o),[4,s.send(c,fn,{currentUserId:o,connectedTime:s.connectedTime,afterDecode:function(t){var e=t.conversationType,n=t.targetId,r=t.channelId,i=h._conversationManager.get(e,n,r);return Object.assign(t,i),t}})]):[3,2];case 1:return u=d.sent(),l=u.code,f=u.data,l!==q.SUCCESS?[2,{code:l}]:[2,{code:l,data:null==f?void 0:f.list}];case 2:return[2,{code:q.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.removeConversation=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return(r=this._channel)?(i=r.codec.encodeRemoveOldConversationList({conversationType:t,channelId:n,targetId:e}),o=new lo(_i,i,e),[4,r.send(o)]):[3,2];case 1:return s=c.sent(),pe.info("RemoveConversation =>",s),a=s.code,q.SUCCESS,[2,a];case 2:return[2,q.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype.getConversation=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return t!==N.ULTRA_GROUP?[3,1]:(r=this._ultraGroupMap[n+"_"+e])?[3,3]:[2,{code:q.CONVER_GET_ERROR}];case 1:return(i=this._conversationManager.get(t,e,n))?[4,this.getHistoryMessage(t,e,0,1,0)]:[2,{code:q.CONVER_GET_ERROR}];case 2:if(o=u.sent(),s=o.code,a=o.data,s!==q.SUCCESS)return[2,{code:q.CONVER_GET_ERROR}];c=(null==a?void 0:a.list[0])||null,r={conversationType:t,targetId:e,channelId:n,unreadMessageCount:i.unreadMessageCount||0,latestMessage:c,notificationStatus:i.notificationStatus||it.CLOSE,notificationLevel:i.notificationLevel||st.NOT_SET,isTop:i.isTop||!1,lastUnreadTime:i.lastUnreadTime||0,unreadMentionedCount:i.unreadMentionedCount||0},u.label=3;case 3:return[2,{code:q.SUCCESS,data:r}]}}))}))},e.prototype.getAllConversationUnreadCount=function(t,e,n){var r=this._conversationManager.getAllUnreadCount(t,e,n);return Promise.resolve({code:q.SUCCESS,data:r})},e.prototype.getConversationUnreadCount=function(t,e,n){var r,i;return i=t===N.ULTRA_GROUP?(null===(r=this._ultraGroupMap[n+"_"+e])||void 0===r?void 0:r.unreadMessageCount)||0:this._conversationManager.getUnreadCount(t,e,n),Promise.resolve({code:q.SUCCESS,data:i})},e.prototype.clearConversationUnreadCount=function(t,e,n){return this._conversationManager.clearUnreadCount(t,e,n,!1),Promise.resolve(q.SUCCESS)},e.prototype.clearAllUnreadCount=function(){return this._conversationManager.clearAllUnreadCount(),Promise.resolve(q.SUCCESS)},e.prototype.getFirstUnreadMessage=function(t,e){throw new Error("Method not implemented.")},e.prototype.saveConversationMessageDraft=function(t,e,n,r){return this._conversationManager.setDraft(t,e,n,r),Promise.resolve(q.SUCCESS)},e.prototype.getConversationMessageDraft=function(t,e,n){var r=this._conversationManager.getDraft(t,e,n);return Promise.resolve({code:q.SUCCESS,data:r})},e.prototype.clearConversationMessageDraft=function(t,e,n){return this._conversationManager.clearDraft(t,e,n),Promise.resolve(q.SUCCESS)},e.prototype.pullConversationStatus=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l=this;return M(this,(function(f){switch(f.label){case 0:return n=(e=this)._channel,r=e.currentUserId,n?(i=n.codec.encodeGetConversationStatus(t),o=new lo(yo[yo.pullSeAtts],i,r),[4,n.send(o,sr)]):[3,2];case 1:return s=f.sent(),a=s.code,c=s.data,Jt(dt.L_PULL_CONVERSATION_S,{timestamp:t,userId:r}),a!==q.SUCCESS?[2,{code:a}]:(u=[],Array.isArray(c)&&c.forEach((function(t){var e=t.conversationType,n=t.targetId,r=t.notificationStatus,i=t.channelId,o=t.isTop,s=t.notificationLevel,a=l._ultraGroupMap[i+"_"+n];e===N.ULTRA_GROUP?a&&(void 0!==r&&(a.notificationStatus=r),void 0!==s&&(a.notificationLevel=s),void 0===s&&void 0===r||l._ultraGroupManager.addUltraGroupStatus(t),"boolean"==typeof o&&(a.isTop=o)):u.push(t)})),[2,{code:a,data:u}]);case 2:return[2,{code:q.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.batchSetConversationStatus=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h=this;return M(this,(function(d){switch(d.label){case 0:return n=(e=this).currentUserId,(r=e._channel)?(i=r.codec.encodeSetConversationStatus(t,this._conversationUpdatedTime),o=new lo(Ai,i,n),[4,r.send(o,lr)]):[3,2];case 1:return s=d.sent(),a=s.code,c=s.data,a===q.SUCCESS?(u=c,this._conversationUpdatedTime=u.version,l=[],t.forEach((function(t){var e=t.conversationType,n=t.targetId,r=t.notificationStatus,i=t.notificationLevel,o=t.channelId,s=t.isTop;if(e===N.ULTRA_GROUP){var a=h._ultraGroupMap[o+"_"+n];a&&(void 0!==r&&(a.notificationStatus=r),void 0!==i&&(a.notificationLevel=i),void 0===i&&void 0===r||h._ultraGroupManager.addUltraGroupStatus(a),void 0!==s&&(a.isTop=s),l.push(a))}else h._conversationManager.addStatus(m(m({},t),{updatedTime:u.version}),!0)})),l.length>0&&(f=$e(l),f=rs(f),this._watcher.conversation(f)),[2,a]):[2,a];case 2:return[2,q.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype._joinChrm=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f;return M(this,(function(h){switch(h.label){case 0:return(i=this._channel)?(o=i.codec.encodeJoinOrQuitChatRoom(),a=new lo(s=n?vi:gi,o,t),Jt(dt.L_JOIN_CHATROOM_T,{chatroomId:t,count:e,topic:s},{traceId:r}),[4,i.send(a,Mn)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return c=h.sent(),u=c.code,l=c.data,(u===q.SUCCESS?Jt:Xt)(dt.L_JOIN_CHATROOM_R,{code:u,timestamp:(new Date).getTime()},{traceId:r}),u===q.SUCCESS&&(f=l.joinTime,this._chrmsQueue[t]||(this._chrmsQueue[t]={pulling:!1,queue:[],timestamp:0}),this._pullChrmMsg(t,e,f),this.naviInfo.kvStorage&&this._chrmEntryHandler.pullEntry(t,0),this._joinedChrmManager.set(t,e),this._startSyncIntervalForChrmPull()),[2,u]}}))}))},e.prototype._rejoinChrm=function(){return I(this,void 0,void 0,(function(){var t,e,n,r,i,o,s;return M(this,(function(a){switch(a.label){case 0:for(n in t=this._joinedChrmManager.get(),e=[],t)e.push(n);r=0,a.label=1;case 1:return r<e.length?(i=e[r],Jt(dt.L_REJOIN_CHATROOM_T,{chatroomId:i,count:t[i]||10,topic:vi}),o=Qt(),[4,this._joinChrm(i,t[i]||10,!0,o)]):[3,4];case 2:s=a.sent(),(s===q.SUCCESS?Jt:Xt)(dt.L_REJOIN_CHATROOM_R,{code:s,timestamp:(new Date).getTime()},{traceId:o}),s===q.SUCCESS?this._watcher.chatroom({rejoinedRoom:{chatroomId:i,count:t[i]}}):this._watcher.chatroom({rejoinedRoom:{chatroomId:i,errorCode:s}}),a.label=3;case 3:return r++,[3,1];case 4:return[2]}}))}))},e.prototype._pullChrmMsg=function(t,e,n){return void 0===e&&(e=10),void 0===n&&(n=0),I(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f,h,d,p,g;return M(this,(function(v){switch(v.label){case 0:return this._channel?(r=this._chrmsQueue[t],i=r.pulling,o=r.timestamp,i?[2]:(r.pulling=!0,s=this._channel.codec.encodeChrmSyncMsg(o,e),a=new lo(yo[yo.chrmPull],s,t),Jt(dt.L_PULL_CHATROOM_MSG_T,{chatroomId:t,timestamp:o}),[4,this._channel.send(a,en,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})])):[2];case 1:return c=v.sent(),u=c.code,l=c.data,r.pulling=!1,u===q.SUCCESS&&l?(f=l.list,h=l.syncTime,d=l.finished,r.timestamp=n?Math.max(h,n):h,r.queue=r.queue.filter((function(t){return t>h})),p=[],g=[],f.forEach((function(t){t.sentTime<o||(p.push(t.messageUId),g.push(t))})),this._watcher.batchMessage(g),Jt(dt.L_PULL_CHATROOM_MSG_R,{code:u,timestamp:o,messageUIds:p.join(",")}),(!d||r.queue.length>0)&&this._pullChrmMsg(t),[2]):(Xt(dt.L_PULL_CHATROOM_MSG_R,{code:u,timestamp:o,messageUIds:""}),pe.warn("pull chatroom msg failed, code:",u,", data:",l),[2])}}))}))},e.prototype.joinChatroom=function(t,e,n){return I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._joinChrm(t,e,!1,n)]}))}))},e.prototype.joinExistChatroom=function(t,e,n){return I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._joinChrm(t,e,!0,n)]}))}))},e.prototype.quitChatroom=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o;return M(this,(function(s){switch(s.label){case 0:return(e=this._channel)?(n=e.codec.encodeJoinOrQuitChatRoom(),r=new lo(yi,n,t),[4,e.send(r)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return i=s.sent(),(o=i.code)===q.SUCCESS&&(delete this._chrmsQueue[t],this._chrmEntryHandler.reset(t),this._joinedChrmManager.remove(t)),[2,o]}}))}))},e.prototype.getChatroomInfo=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return(r=this._channel)?(i=r.codec.encodeGetChatRoomInfo(e,n),o=new lo(yo[yo.queryChrmI],i,t),[4,r.send(o,Cn)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return s=u.sent(),a=s.code,c=s.data,a!==q.SUCCESS?[2,{code:a}]:[2,{code:a,data:c}]}}))}))},e.prototype.getChatroomHistoryMessages=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u;return M(this,(function(l){switch(l.label){case 0:return(i=this._channel)?(o=i.codec.encodeGetHistoryMsg(t,{timestamp:e,count:n,order:r}),s=new lo(Ni,o,t),[4,i.send(s,un,{conversation:{targetId:t}})]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return a=l.sent(),c=a.code,u=a.data,c!==q.SUCCESS?[2,{code:c}]:[2,{code:c,data:{list:u.list,hasMore:u.hasMore}}]}}))}))},e.prototype._modifyChatroomKV=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l;return M(this,(function(f){switch(f.label){case 0:return r=(n=this)._channel,i=n.currentUserId,r?(o=this._chrmEntryHandler.getVersion(t,e.key),e.version=null==o?this.getServerTime():o,s=r.codec.encodeModifyChatRoomKV(t,e,i),a=e.type===gt.UPDATE?mi:Ii,c=new lo(a,s,t),[4,r.send(c,Mn)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return u=f.sent(),(l=u.code)===q.SUCCESS?(this._chrmEntryHandler.setLocal(t,{kvEntries:[e],syncTime:(new Date).getTime()},i),[2,l]):[2,l]}}))}))},e.prototype._modifyChatroomKVS=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l,f,h,d,p=this;return M(this,(function(g){switch(g.label){case 0:return r=(n=this)._channel,i=n.currentUserId,r?(e.entries.forEach((function(e){var n=p._chrmEntryHandler.getVersion(t,e.key);e.version=null==n?p.getServerTime():n})),o=r.codec.encodeModifyChatRoomKVS(t,e,i),s=e.type===gt.UPDATE?Mi:bi,a=new lo(s,o,t),[4,r.send(a,Kn)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return c=g.sent(),u=c.code,-1!==[q.SUCCESS,q.CHATROOM_KV_STORE_NOT_ALL_SUCCESS].indexOf(u)&&(f=[],delete(h=Object.assign({},e)).entries,e.entries.forEach((function(t){f.push(Object.assign({},t,h))})),u===q.CHATROOM_KV_STORE_NOT_ALL_SUCCESS&&(d=c.data,pe.warn("设置失败的属性:",d.errorKeys),l=d.errorKeys,d&&Array.isArray(d.errorKeys)&&d.errorKeys.forEach((function(t){var e=f.findIndex((function(e){return t.key===e.key}));-1!==e&&f.splice(e,1)}))),pe.warn("设置成功的属性:",f),this._chrmEntryHandler.setLocal(t,{kvEntries:f,syncTime:(new Date).getTime()},i)),[2,{code:u,data:l}]}}))}))},e.prototype.setChatroomEntry=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return e.type=gt.UPDATE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.setChatroomEntries=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return e.type=gt.UPDATE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKVS(t,e)]}))}))},e.prototype.forceSetChatroomEntry=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return e.type=gt.UPDATE,e.isOverwrite=!0,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.removeChatroomEntry=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return e.type=gt.DELETE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.removeChatroomEntries=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return e.type=gt.DELETE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKVS(t,e)]}))}))},e.prototype.forceRemoveChatroomEntry=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return e.type=gt.DELETE,e.isOverwrite=!0,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.getChatroomEntry=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return(n=this._chrmEntryHandler.getValue(t,e))?[2,Promise.resolve({code:q.SUCCESS,data:n})]:[3,1];case 1:return(r=this._channel)?(i=r.codec.encodePullChatRoomKV(0),o=new lo(yo[yo.pullKV],i,t),[4,r.send(o,Zn)]):[2,Promise.reject({code:q.RC_NET_CHANNEL_INVALID})];case 2:return s=u.sent(),(a=s.data||{})&&a.kvEntries&&a.kvEntries.length&&(c=a.kvEntries.find((function(t){return t.key===e})),void 0!==c)?[2,Promise.resolve({code:q.SUCCESS,data:null==c?void 0:c.value})]:[2,Promise.resolve({code:q.CHATROOM_KEY_NOT_EXIST})]}}))}))},e.prototype.getAllChatroomEntry=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return(e=this._chrmEntryHandler.getAll(t))&&Object.keys(e).length?[2,Promise.resolve({code:q.SUCCESS,data:e})]:[3,1];case 1:return(n=this._channel)?(r={},i=n.codec.encodePullChatRoomKV(0),o=new lo(yo[yo.pullKV],i,t),[4,n.send(o,Zn)]):[2,Promise.reject({code:q.RC_NET_CHANNEL_INVALID})];case 2:return s=c.sent(),(a=s.data||{})&&a.kvEntries&&a.kvEntries.length&&a.kvEntries.forEach((function(t){t.key&&(r[t.key]=t.value||"")})),[2,Promise.resolve({code:q.SUCCESS,data:r})]}}))}))},e.prototype.pullChatroomEntry=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l,f,h,d;return M(this,(function(p){switch(p.label){case 0:return r=(n=this)._channel,i=n.currentUserId,r?(e||(e=this._pullChatroomEntryTimestamp),o=r.codec.encodePullChatRoomKV(e),s=new lo(yo[yo.pullKV],o,t),Jt(dt.L_PULL_CHATROOM_KV_T,{chatroomId:t,timestamp:e}),[4,r.send(s,Zn)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return a=p.sent(),c=a.code,u=a.data,(c===q.SUCCESS?Jt:Xt)(dt.L_PULL_CHATROOM_KV_R,{code:c,timestamp:e}),c===q.SUCCESS?(pe.info("Pull success ChrmKV, "+JSON.stringify(a)),this._chrmEntryHandler.setLocal(t,u,i),pe.info("Save into cache success!"),f=(l=u).kvEntries,h=l.syncTime,this._pullChatroomEntryTimestamp=h||0,d=[],f.length>0&&(f.forEach((function(e){var n=e.key,r=e.value,i=e.type,o=e.timestamp;d.push({key:n,value:r,type:i,timestamp:o,chatroomId:t})})),this._watcher.chatroom({updatedEntries:d})),[2,{code:c,data:u}]):[2,{code:c}]}}))}))},e.prototype._startSyncIntervalForChrmPull=function(){var t=this;this._stopSyncIntervalForChrmPull(),this._intervalTimerForChrmPull=setInterval((function(){var e=Object.keys(t._chrmsQueue);0!==e.length&&t._channel?e.forEach((function(e){t._pullChrmMsg(e),t.naviInfo.kvStorage&&t._chrmEntryHandler.pullEntry(e,0)})):t._stopSyncIntervalForChrmPull()}),18e4)},e.prototype._stopSyncIntervalForChrmPull=function(){"number"!=typeof this._intervalTimerForChrmPull&&(clearInterval(this._intervalTimerForChrmPull),this._intervalTimerForChrmPull=-1)},e.prototype.sendMessage=function(t,e,n,r,i){return I(this,void 0,void 0,(function(){var o,s,a,c,u,l,f,h,d,p,g;return M(this,(function(v){switch(v.label){case 0:return this._channel?(n=function(t,e){return"RC:SRSMsg"===t.messageType&&Object.assign(t,{directionalUserIdList:[e]}),t}(n,this.currentUserId),n=this._handleMsgProperties(n,!0),o=!![N.PRIVATE,N.GROUP].includes(t)&&n.isStatusMessage,s=o?function(t){var e;return(e={},e[N.PRIVATE]=yo.ppMsgS,e[N.GROUP]=yo.pgMsgS,e)[t]}(t):function(t){var e;return(e={},e[N.PRIVATE]=yo.ppMsgP,e[N.GROUP]=yo.pgMsgP,e[N.CHATROOM]=yo.chatMsg,e[N.CUSTOMER_SERVICE]=yo.pcMsgP,e[N.RTC_ROOM]=yo.prMsgS,e)[t]}(t)||yo.ppMsgP,o&&(n.isPersited=!1,n.isCounted=!1),a=this._channel.codec.encodeUpMsg({conversationType:t,targetId:e},n),(c=new ao(yo[s],a,e)).setHeaderQos(Me.AT_LEAST_ONCE),u=n.isPersited?os():0,o?(this._channel.sendOnly(c),[2,{code:q.SUCCESS,data:ns(t,e,m({},n),"",0,this.currentUserId,u)}]):(l=Date.now()-this._localConnectedTime+this._connectedTime,f=ns(t,e,m({},n),"",l,this.currentUserId,u),r&&r(u),Jt(dt.L_SEND_MSG_T,{messageType:n.messageType,conversationType:t,targetId:e,channelId:n.channelId},{traceId:i}),[4,this._channel.send(c)])):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return h=v.sent(),d=h.code,p=h.data,d!==q.SUCCESS?(Xt(dt.L_SEND_MSG_R,{code:d,messageUId:f.messageUId,messageId:f.messageId},{traceId:i}),[2,{code:d,data:f}]):(Jt(dt.L_SEND_MSG_R,{code:d,messageUId:null==p?void 0:p.messageUId,messageId:null==p?void 0:p.messageId},{traceId:i}),g=p,this._sendMessageStore.setMessage(g.messageUId,g.timestamp),f.sentTime=g.timestamp,f.messageUId=g.messageUId,this._conversationManager.setConversationCacheByMessage(f,!0),[2,{code:q.SUCCESS,data:f}])}}))}))},e.prototype.recallMsg=function(t,e,n,r,i){var o;return I(this,void 0,void 0,(function(){var s,a,c,u,l,f,h,d,p,g,v,y,I;return M(this,(function(M){switch(M.label){case 0:return this._channel?(s=i.user,a=i.extra,c=i.isDelete,u={conversationType:t,targetId:e,messageUId:n,sentTime:r,channelId:i.channelId||"",isDelete:c||!1},s&&(u.user=s),a&&(u.extra=a),l={content:u,messageType:"RC:RcCmd",disableNotification:null==i?void 0:i.disableNotification,pushConfig:null==i?void 0:i.pushConfig,pushContent:(null===(o=i.pushConfig)||void 0===o?void 0:o.pushContent)||i.pushContent||"",channelId:i.channelId},f=yo[yo.recallMsg],h=this._channel.codec.encodeUpMsg({conversationType:t,targetId:e},l),(d=new ao(f,h,this.currentUserId)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(d)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return p=M.sent(),g=p.code,v=p.data,t===N.ULTRA_GROUP&&qt(dt.L_RECALL_ULTRA_MSG_S,{code:g,conversationType:t,targetId:e,channelId:i.channelId}),g!==q.SUCCESS?[2,{code:g}]:(y=v,t===N.ULTRA_GROUP?(this._ultraMsgMap[y.messageUId]=y.timestamp,this._updateUltraGroupWhenRecallMsg(e,i.channelId||"",n),[2,{code:q.SUCCESS}]):(this._sendMessageStore.setMessage(y.messageUId,y.timestamp),I=ns(t,e,m(m({},l),{isPersited:!0}),y.messageUId,y.timestamp,this.currentUserId),this._conversationManager.setConversationCacheByMessage(I,!0),[2,{code:q.SUCCESS,data:I}]))}}))}))},e.prototype.sendReadReceiptMessage=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i;return M(this,(function(o){switch(o.label){case 0:return this._channel?(r=this._channel.codec.encodeReadReceipt(e,n),i=new lo(yo[yo.rrMsg],r,t),[4,this._channel.send(i)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return[2,o.sent()]}}))}))},e.prototype.getMessageReader=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i;return M(this,(function(o){switch(o.label){case 0:return this._channel?(r=this._channel.codec.encodeMessageReader(e,n),i=new lo(yo[yo.rrList],r,t),[4,this._channel.send(i,vr)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return[2,o.sent()]}}))}))},e.prototype.pullUserSettings=function(t){return I(this,void 0,void 0,(function(){var e,n;return M(this,(function(r){return this._channel?(e=this._channel.codec.encodePullUserSetting(t),n=new lo(yo[yo.pullUS],e,this.currentUserId),[2,this._channel.send(n,rr)]):[2,{code:q.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.getFileToken=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u;return M(this,(function(l){switch(l.label){case 0:return this._channel?(i=r&&"uploads"!==r?e||"":Oe(t,e),o=this._channel.codec.encodeGetFileToken(t,i,n||"",r||""),s=new lo(yo[yo.qnTkn],o,this.currentUserId),[4,this._channel.send(s,Bn)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return a=l.sent(),c=a.code,u=a.data,u=Object.assign(u,{fileName:i}),c===q.SUCCESS?[2,{code:c,data:u}]:[2,{code:c}]}}))}))},e.prototype.getFileUrl=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f,h;return M(this,(function(d){switch(d.label){case 0:return this._channel?(i="",o="",s="",e===lt.QINIU?(o=Gn,s=$n):(o=Yn,s=Hn),i=e===lt.QINIU?yo[yo.qnUrl]:e===lt.AWS?yo[yo.s3Url]:e===lt.STC?yo[yo.stcUrl]:yo[yo.aliUrl],a=this._channel.codec.encodeGetFileUrl(o,t,n,r),c=new lo(i,a,this.currentUserId),[4,this._channel.send(c,s)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return u=d.sent(),l=u.code,f=u.data,h=f,l===q.SUCCESS?[2,{code:l,data:h}]:[2,{code:l}]}}))}))},e.prototype.disconnect=function(){-1!==this._reconnectTimer&&(clearTimeout(this._reconnectTimer),this._reconnectTimer=-1),this._channel&&(this._channel.close(),this._channel=void 0),this._pullQueue.length=0,this._stopSyncInterval(),this.resetUltraGroupData()},e.prototype.resetUltraGroupData=function(){this._stopUltraSyncInterval(),this._lastSyncUltraMsgTimeStamp=0,this._lastSyncUltraMsgLocalTimeStamp=0,this._isUltraPulling=!1,this._ultraGroupTimeQue=[],this._isUltraGroupListExist=!1,this._ultraGroupMap={}},e.prototype.destroy=function(){throw new Error("JSEngine's method not implemented.")},e.prototype.registerMessageType=function(t,e,n,r,i){this._customMessageType[t]={isPersited:e,isCounted:n,isStatusMessage:i}},e.prototype.getServerTime=function(){return Date.now()-this._localConnectedTime+this._connectedTime},e.prototype.getCurrentUserId=function(){return this.currentUserId},e.prototype.createTag=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._channel?(e=this._userSettingManager.getVersion(),n=this._channel.codec.encodeCreateTag([t],e),r=new lo(yo[yo.addSeTag],n,this.currentUserId),[4,this._channel.send(r,er)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==q.SUCCESS?[2,{code:o}]:(a=s.version,this._userSettingManager.addTag([m(m({},t),{createdTime:a})],a),[2,{code:q.SUCCESS,data:s}])}}))}))},e.prototype.removeTag=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._channel?(e=this._userSettingManager.getVersion(),n=this._channel.codec.encodeRemoveTag([t],e),r=new lo(yo[yo.delSeTag],n,this.currentUserId),[4,this._channel.send(r,er)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==q.SUCCESS?[2,{code:o}]:(a=s.version,this._userSettingManager.deleteTag([t],a),[2,{code:q.SUCCESS}])}}))}))},e.prototype.updateTag=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._channel?(e=this._userSettingManager.getVersion(),n=this._channel.codec.encodeCreateTag([t],e),r=new lo(yo[yo.addSeTag],n,this.currentUserId),[4,this._channel.send(r,er)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==q.SUCCESS?[2,{code:o}]:(a=s.version,this._userSettingManager.addTag([t],a),[2,{code:q.SUCCESS,data:s}])}}))}))},e.prototype.getTagList=function(){return I(this,void 0,void 0,(function(){var t,e;return M(this,(function(n){return t=this._userSettingManager.getTags(),e=this._conversationManager.getConversationListForTag(),t.forEach((function(t){t.conversationCount=e[t.tagId]?e[t.tagId].length:0})),[2,{code:q.SUCCESS,data:t}]}))}))},e.prototype.addTagForConversations=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s=this;return M(this,(function(a){switch(a.label){case 0:return this._channel?this._userSettingManager.getTagById(t)?(n=this._channel.codec.encodeUpdateConversationTag([{tagId:t}],e),r=new lo(yo[yo.addTag],n,this.currentUserId),[4,this._channel.send(r)]):[2,{code:q.TAG_NOT_EXIST}]:[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return(i=a.sent().code)!==q.SUCCESS?[2,{code:i}]:((o={})[t]={},e.forEach((function(t){s._conversationManager.addTagStatus(t.conversationType,t.targetId,o,t.channelId)})),[2,{code:q.SUCCESS}])}}))}))},e.prototype.removeTagForConversations=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o=this;return M(this,(function(s){switch(s.label){case 0:return this._channel?(n=this._channel.codec.encodeUpdateConversationTag([{tagId:t}],e),r=new lo(yo[yo.delTag],n,this.currentUserId),[4,this._channel.send(r)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return(i=s.sent().code)!==q.SUCCESS?[2,{code:i}]:(e.forEach((function(e){o._conversationManager.deleteTagStatus(e.conversationType,e.targetId,[t],e.channelId)})),[2,{code:q.SUCCESS}])}}))}))},e.prototype.removeTagsForConversation=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return this._channel?(n=t.conversationType,r=t.targetId,i=t.channelId,o=e.map((function(t){return{tagId:t}})),s=this._channel.codec.encodeUpdateConversationTag(o,[t]),a=new lo(yo[yo.delTag],s,this.currentUserId),[4,this._channel.send(a)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return(c=u.sent().code)!==q.SUCCESS?[2,{code:c}]:(this._conversationManager.deleteTagStatus(n,r,e,i),[2,{code:q.SUCCESS}])}}))}))},e.prototype.getConversationListByTag=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f;return M(this,(function(h){switch(h.label){case 0:return i=(r=this).currentUserId,(o=r._channel)?(s=o.codec.encodeOldConversationList({count:n,type:N.PRIVATE,startTime:e}),a=new lo(Ci,s,i),[4,o.send(a,fn,{currentUserId:i,connectedTime:o.connectedTime})]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return c=h.sent(),u=c.code,l=c.data,f=this._conversationHasTagFilter(t,null==l?void 0:l.list),pe.info("GetConversationListByTag",f),u!==q.SUCCESS?[2,{code:u}]:[2,{code:u,data:f}]}}))}))},e.prototype._conversationHasTagFilter=function(t,e){var n=this,r=[],i=[];function o(t,e){return t.latestMessage&&e.latestMessage?t.latestMessage.sentTime-e.latestMessage.sentTime:0}return e.forEach((function(e){var o=e.conversationType,s=e.targetId,a=e.channelId,c=n._conversationManager.get(o,s,a),u=c.hasMentioned,l=c.mentionedInfo,f=c.lastUnreadTime,h=c.notificationStatus,d=c.isTop,p=c.tags,g=c.unreadMessageCount,v=p&&p[t];if(v){var y=m(m({},e),{hasMentioned:u,mentionedInfo:l,lastUnreadTime:f,notificationStatus:h,isTop:d,unreadMessageCount:g});v.isTop?r.push(m(m({},y),{isTopInTag:!0})):i.push(m(m({},y),{isTopInTag:!1}))}})),b(b([],r.sort(o),!0),i.sort(o),!0)},e.prototype.getUnreadCountByTag=function(t,e){return I(this,void 0,void 0,(function(){var n;return M(this,(function(r){return this._channel?(n=this._conversationManager.getUnreadCountByTag(t,e),[2,{code:q.SUCCESS,data:n}]):[2,{code:q.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.setConversationStatusInTag=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f,h;return M(this,(function(d){switch(d.label){case 0:return this._channel?(r=e.targetId,i=e.conversationType,o=e.channelId,s=n.isTop,a=[{tagId:t,isTop:s}],(c=this._conversationManager.get(i,r,o)).tags&&Object.hasOwnProperty.call(c.tags,t)?(u=this._channel.codec.encodeUpdateConversationTag(a,[e]),l=new lo(yo[yo.addTag],u,this.currentUserId),[4,this._channel.send(l)]):[2,{code:q.NO_TAG_IN_CONVER}]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return(f=d.sent().code)!==q.SUCCESS?[2,{code:f}]:((h={})[t]={},s&&(h[t].isTop=!0),this._conversationManager.addTagStatus(i,r,h,o),[2,{code:q.SUCCESS}])}}))}))},e.prototype.getTagsForConversation=function(t){var e;return I(this,void 0,void 0,(function(){var n,r,i,o;return M(this,(function(s){if(!this._channel)return[2,{code:q.RC_NET_CHANNEL_INVALID}];if(n=this._conversationManager.get(t.conversationType,t.targetId,t.channelId),r=this._userSettingManager.getTagsInfo(),i=[],n.tags)for(o in n.tags)i.push({tagId:o,tagName:null===(e=r[o])||void 0===e?void 0:e.tagName});return[2,{code:q.SUCCESS,data:i}]}))}))},e.prototype.getBlockConversationList=function(){var t=this._conversationManager.getBlockConversationList();return Promise.resolve({code:q.SUCCESS,data:t})},e.prototype.getTopConversationList=function(){var t=this._conversationManager.getTopConversationList();return Promise.resolve({code:q.SUCCESS,data:t})},e.prototype.getUnreadMentionedCount=function(t){var e,n;return n=t.conversationType===N.ULTRA_GROUP?(null===(e=this._ultraGroupMap[t.channelId+"_"+t.targetId])||void 0===e?void 0:e.unreadMentionedCount)||0:this._conversationManager.getUnreadMentionedCount(t.channelId,t.conversationType,t.targetId),Promise.resolve({code:q.SUCCESS,data:n})},e.prototype.getAllUnreadMentionedCount=function(){var t=this._conversationManager.getAllUnreadMentionedCount();return Promise.resolve({code:q.SUCCESS,data:t})},e.prototype.getConversationNotificationLevel=function(t,e,n){if(!this._isUltraGroupListExist&&t===N.ULTRA_GROUP)return Promise.resolve({code:q.METHOD_NOT_AVAILABLE});var r;if(!(r=t===N.ULTRA_GROUP?this._ultraGroupManager.get(N.ULTRA_GROUP,e,n):this._conversationManager.get(t,e,n)))return Promise.resolve({code:q.SUCCESS,data:st.NOT_SET});var i=r.notificationLevel;return B(r.notificationLevel)&&!B(r.notificationStatus)&&(i=it.OPEN===r.notificationStatus?1:0),Promise.resolve({code:q.SUCCESS,data:i})},e.prototype.getConversationNotificationStatus=function(t,e,n){var r;return(r=t===N.ULTRA_GROUP?this._ultraGroupManager.get(N.ULTRA_GROUP,e,n):this._conversationManager.get(t,e,n))?Promise.resolve({code:q.SUCCESS,data:r.notificationStatus}):Promise.resolve({code:q.SUCCESS,data:it.CLOSE})},e.prototype.getRemoteHistoryMessages=function(t,e,n,r,i,o){return this.getHistoryMessage(t,e,n,r,i,o)},e.prototype.getUltraGroupList=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i;return M(this,(function(o){return e=t.targetId,n=t.channelType,this._isUltraGroupListExist?(r=(r=Object.values(this._ultraGroupMap)).filter((function(t){return!(t.targetId!==e&&e||t.channelType!==n&&L(n))})),r=rs(r),i=$e(r),[2,{code:q.SUCCESS,data:i}]):[2,{code:q.METHOD_NOT_AVAILABLE}]}))}))},e.prototype.getBlockUltraGroupList=function(){if(!this._isUltraGroupListExist)return Promise.resolve({code:q.METHOD_NOT_AVAILABLE});var t=Object.values(this._ultraGroupMap),e=[];return t.forEach((function(t){t.notificationStatus===it.OPEN&&e.push({conversationType:N.ULTRA_GROUP,targetId:t.targetId,channelId:t.channelId})})),Promise.resolve({code:q.SUCCESS,data:e})},e.prototype.getTopUltraGroupList=function(){if(!this._isUltraGroupListExist)return Promise.resolve({code:q.METHOD_NOT_AVAILABLE});var t=Object.values(this._ultraGroupMap),e=[];return t.forEach((function(t){!0===t.isTop&&e.push({conversationType:N.ULTRA_GROUP,targetId:t.targetId,channelId:t.channelId})})),Promise.resolve({code:q.SUCCESS,data:e})},e.prototype.getUltraGroupUnreadMentionedCountByTargetId=function(t){if(!this._isUltraGroupListExist)return Promise.resolve({code:q.METHOD_NOT_AVAILABLE});var e=0;for(var n in this._ultraGroupMap)n.match(/_.*/g)[0].substring(1)===t&&(e+=this._ultraGroupMap[n].unreadMentionedCount);return Promise.resolve({code:q.SUCCESS,data:e})},e.prototype.getUltraGroupUnreadCountByTargetId=function(t){var e=0;for(var n in this._ultraGroupMap){var r=this._ultraGroupMap[n];r.targetId===t&&(e+=r.unreadMessageCount||0)}return Promise.resolve({code:q.SUCCESS,data:e})},e.prototype.getAllUltraGroupUnreadCount=function(t){if(void 0===t&&(t=!1),!this._isUltraGroupListExist)return Promise.resolve({code:q.METHOD_NOT_AVAILABLE});var e=0;for(var n in this._ultraGroupMap)e+=t?this._ultraGroupMap[n].unreadMentionedCount||0:this._ultraGroupMap[n].unreadMessageCount||0;return Promise.resolve({code:q.SUCCESS,data:e})},e.prototype.clearUltraUnreadcount=function(t,e){return void 0===e&&(e=""),I(this,void 0,void 0,(function(){var n,r,i,o,s;return M(this,(function(a){switch(a.label){case 0:return this._isUltraGroupListExist?this._channel?this._status!==X.CONNECTED?[2,q.RC_NET_UNAVAILABLE]:(n=Date.now(),r=this._channel.codec.encodeClearUnreadCount({conversationType:N.ULTRA_GROUP,targetId:t,channelId:e},{timestamp:n}),(i=new ao(yo[yo.updUgRTime],r,this.currentUserId)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(i)]):[2,q.RC_NET_CHANNEL_INVALID]:[2,Promise.resolve(q.METHOD_NOT_AVAILABLE)];case 1:return(o=a.sent().code)===q.SUCCESS&&(s=this._ultraGroupMap[e+"_"+t])&&(s.unreadMessageCount=0,s.unreadMentionedCount=0,s.lastReadTime=n),[2,o]}}))}))},e.prototype._getUltraGroupList=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h,d,p=this;return M(this,(function(g){switch(g.label){case 0:return this._channel&&this._status===X.CONNECTED?(e=this._channel.codec.encodeUltraGroup(t,!1),n=new lo(yo[yo.pullUgSes],e,this.currentUserId),[4,this._channel.send(n,fn,{currentUserId:this.currentUserId,conversationType:N.ULTRA_GROUP})]):[2];case 1:return r=g.sent(),i=r.code,o=r.data,i===q.SUCCESS&&o?(a=(null==o?void 0:o.list)||[],c=null==o?void 0:o.isFinished,a.forEach((function(t){t.notificationStatus=it.CLOSE,t.notificationLevel=st.NOT_SET,t.isTop=!1,p._ultraGroupMap[t.channelId+"_"+t.targetId]=t,p._ultraGroupManager.addUltraGroupStatus(t)})),!1!==c?[3,2]:(u=a.length>0&&a[a.length-1].versionTime||0,this._getUltraGroupList(u),[3,4])):(pe.warn("pull super conversation failed, code:",i,", data:",o,"retrying..."),s=setTimeout((function(){p._firstPullUltraGroupTime=t,p._getUltraGroupList(t),clearTimeout(s)}),3e3),[2]);case 2:return[4,this.pullConversationStatus(this._firstPullUltraGroupTime)];case 3:l=g.sent(),f=l.code,h=l.data,f!==q.SUCCESS&&pe.warn("pullConversationStatus fail code: ".concat(f,", data: ").concat(h)),d=Object.values(this._ultraGroupMap),d=rs(d),this._isUltraGroupListExist=!0,this._watcher.ultraGroupEnable($e(d)),0===this._firstPullUltraGroupTime&&this._syncUltraMsg(this._lastSyncUltraMsgTimeStamp),g.label=4;case 4:return[2]}}))}))},e.prototype._startUltraSyncInterval=function(){var t=this,e=function(){t._ultraGroupTimer=setTimeout((function(){Date.now()-t._lastSyncUltraMsgLocalTimeStamp>=18e4&&t._syncUltraMsg(t._lastSyncUltraMsgTimeStamp),t._stopUltraSyncInterval(),e()}),3e4)};this._lastSyncUltraMsgLocalTimeStamp=Date.now(),this._syncUltraMsg(0),e()},e.prototype._stopUltraSyncInterval=function(){-1!==this._ultraGroupTimer&&(clearTimeout(this._ultraGroupTimer),this._ultraGroupTimer=-1)},e.prototype._syncUltraMsg=function(t){var e;return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l,f,h,d,p,g,v=this;return M(this,(function(y){switch(y.label){case 0:return this._channel&&this._status===X.CONNECTED?this._isUltraPulling?[2]:(pe.info("start pull ultra msg, time: ".concat(t)),this._isUltraPulling=!0,n=this._channel.codec.encodeSuperSyncMsg(t),r=new lo(yo[yo.pullUgMsg],n,this.currentUserId),i=Qt(),Jt(dt.L_PULL_ULTRA_MSG_T,{timestamp:t},{traceId:i}),[4,this._channel.send(r,en,{currentUserId:this.currentUserId,conversation:{conversationType:N.ULTRA_GROUP}})]):[2];case 1:if(o=y.sent(),s=o.code,a=o.data,pe.info("end pull ultra msg, code: ".concat(s,", syncTime: ").concat(null==a?void 0:a.syncTime,", count: ").concat(null===(e=null==a?void 0:a.list)||void 0===e?void 0:e.length)),this._lastSyncUltraMsgLocalTimeStamp=Date.now(),s!==q.SUCCESS||!a)return Xt(dt.L_PULL_ULTRA_MSG_R,{code:s,messageUIds:"",timestamp:t},{traceId:i}),pe.warn("sync super message failed, code:",s,", data:",a),this._isUltraPulling=!1,[2];if(this._isUltraPulling=!1,c=a.list,u=a.syncTime,l=a.finished,!this._isUltraGroupListExist)return pe.info("init getUltraGroupList"),this._firstPullUltraGroupTime=0,this._getUltraGroupList(0),this._lastSyncUltraMsgTimeStamp=u,[2];for(g in f=[],h={},d=[],c.forEach((function(t){var e,n,r,i=t.targetId,o=t.content,s=t.messageType,a=t.messageUId,c=t.channelId,l=t.isCounted,p=t.channelType;if(f.push(a),v._ultraMsgMap[a])delete v._ultraMsgMap[a];else{var g=0;((null===(e=null==o?void 0:o.mentionedInfo)||void 0===e?void 0:e.type)===ct.ALL||(null===(r=null===(n=null==o?void 0:o.mentionedInfo)||void 0===n?void 0:n.userIdList)||void 0===r?void 0:r.includes(v.currentUserId)))&&(g=1);var y=v._ultraGroupMap[c+"_"+i];if(y)l&&(s===nt.RECALL?y.unreadMessageCount>0&&(y.unreadMessageCount-=1):(y.unreadMessageCount+=1,y.unreadMentionedCount+=g)),y.versionTime=u,y.latestMessage=t,y.channelType=p,h[c+"_"+i]=y,v._ultraGroupManager.addUltraGroupStatus(y);else{var m={conversationType:N.ULTRA_GROUP,targetId:i,channelId:c,unreadMessageCount:l?1:0,unreadMentionedCount:l?g:0,versionTime:u,latestMessage:t,notificationStatus:it.CLOSE,notificationLevel:st.NOT_SET,isTop:!1,channelType:p};v._ultraGroupMap[c+"_"+i]=m,h[c+"_"+i]=m,v._ultraGroupManager.addUltraGroupStatus(m)}d.push(t)}})),Object.keys(h).length>0&&(pe.info("notice ultragroups"),p=Object.values(h),p=rs(p),this._watcher.conversation($e(p))),Jt(dt.L_PULL_ULTRA_MSG_R,{code:s,messageUIds:f.join(","),timestamp:u},{traceId:i}),pe.info("notice ultragroup message"),this._watcher.batchMessage(d),this._ultraGroupTimeQue=this._ultraGroupTimeQue.filter((function(t){return t>u})),this._ultraMsgMap)this._ultraMsgMap[g]<u&&delete this._ultraMsgMap[g];return!1===l?this._syncUltraMsg(u):c&&c.length>0&&(this._lastSyncUltraMsgTimeStamp=u),this._ultraGroupTimeQue.length>0&&this._syncUltraMsg(this._lastSyncUltraMsgTimeStamp),[2]}}))}))},e.prototype.sendUltraMessage=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f,h,d,p;return M(this,(function(g){switch(g.label){case 0:return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:("RC:SRSMsg"===e.messageType&&pe.warn("ultra group -> direction message convert to message"),e=this._handleMsgProperties(e,!0),i=this._channel.codec.encodeUpMsg({conversationType:N.ULTRA_GROUP,targetId:t},e),(o=new ao(yo[yo.ugMsg],i,t)).setHeaderQos(Me.AT_LEAST_ONCE),s=Date.now()-this._localConnectedTime+this._connectedTime,a=e.isPersited?os():0,c=ns(N.ULTRA_GROUP,t,m({},e),"",s,this.currentUserId,a),n&&n(a),Jt(dt.L_SEND_MSG_T,{messageType:e.messageType,conversationType:N.ULTRA_GROUP,targetId:t,channelId:e.channelId},{traceId:r}),[4,this._channel.send(o)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return u=g.sent(),l=u.code,f=u.data,l!==q.SUCCESS?(Xt(dt.L_SEND_MSG_R,{code:l,messageUId:c.messageUId,messageId:c.messageId},{traceId:r}),[2,{code:l,data:c}]):(Jt(dt.L_SEND_MSG_R,{code:l,messageUId:null==f?void 0:f.messageUId,messageId:null==f?void 0:f.messageId},{traceId:r}),h=f,c.sentTime=h.timestamp,c.messageUId=h.messageUId,this._ultraMsgMap[h.messageUId]=h.timestamp,d=e.channelId||"",(p=this._ultraGroupMap[d+"_"+t])?(p.latestMessage=c,L(p.channelType)&&(c.channelType=p.channelType)):(p={conversationType:N.ULTRA_GROUP,targetId:t,channelId:d,unreadMessageCount:0,unreadMentionedCount:0,versionTime:c.sentTime,latestMessage:c,notificationStatus:it.CLOSE,notificationLevel:st.NOT_SET,isTop:!1},this._ultraGroupMap[d+"_"+t]=p,this._ultraGroupManager.addUltraGroupStatus(p)),this._watcher.conversation($e([p])),[2,{code:l,data:c}])}}))}))},e.prototype.sendUltraGroupTypingStatus=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:(n=t.conversationType,r=t.channelId,i=t.targetId,o=this._channel.codec.encodeOperateStatus(i,n,r||"",e||0),(s=new ao(yo[yo.operate],o,i)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(s)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return(a=c.sent().code)!==q.SUCCESS?[2,{code:a,msg:q[a]}]:[2,{code:a}]}}))}))},e.prototype.getUltraGroupMessageListByMessageUId=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:t.messages&&t.messages.length<1||t.messages&&t.messages.length>20?[2,{code:q.MSG_LIMIT_ERROR}]:(e={},t.messages.forEach((function(t){e[t.messageUId]=void 0})),n=this._channel.codec.encodeMsgQuery(t),(r=new lo(yo[yo.qryMsg],n,this.currentUserId)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(r,xr,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==q.SUCCESS?[2,{code:o,msg:q[o]}]:(a=(s||{}).list,Array.isArray(a)&&a.forEach((function(t){var n=t.messageUId;e[n]=t})),[2,{code:0,data:e}])}}))}))},e.prototype._pullOperateStatusNotify=function(t){if(this._channel){var e=this._channel.codec.decodeByPBName(t.data,Rr),n=e.conversationType,r=e.info,i=e.summary;pe.info("s_opNtf -> type: ".concat(n,", info: ").concat(r,", summary: ").concat(i)),this._watcher.operateStatus(e)}},e.prototype.expandUltraMessage=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s;return M(this,(function(a){switch(a.label){case 0:return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:(e=this._channel.codec.encodeExpandUltraMessage(t,this.currentUserId),(n=new ao(yo[yo.upMsgEx],e,t.targetId)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(n)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return r=a.sent(),i=r.code,o=r.data,i!==q.SUCCESS?[2,{code:i,msg:q[i]}]:(s=o,this._ultraMsgMap[s.messageUId]=s.timestamp,[2,{code:i}])}}))}))},e.prototype.modifyMessage=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s;return M(this,(function(a){switch(a.label){case 0:return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:(e=this._channel.codec.encodemodifyMessage(t,this.currentUserId),(n=new ao(yo[yo.modifyMsg],e,t.targetId)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(n)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return r=a.sent(),i=r.code,o=r.data,i!==q.SUCCESS?[2,{code:i,msg:q[i]}]:(s=o,this._ultraMsgMap[s.messageUId]=s.timestamp,[2,{code:i}])}}))}))},e.prototype._pullUltraChangeMessageList=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f;return M(this,(function(h){switch(h.label){case 0:return this._channel?this._status!==X.CONNECTED||this._isPullingUltraChangeMessage?[2]:(this._isPullingUltraChangeMessage=!0,e=this._channel.codec.encodeQueryMsgChange(t),(n=new lo(yo[yo.qryMsgChange],e,this.currentUserId)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(n,Sr)]):[2];case 1:if(r=h.sent(),i=r.code,o=r.data,this._isPullingUltraChangeMessage=!1,i!==q.SUCCESS||!o)return[2];for(l in s=o.hasNext,a=o.list,c=(null==o?void 0:o.syncTime)||0,this._ultraChannelTypeChangeNotice(a),this._ultraChannelUserKickedNotice(a),this._ultraChannelDeleteNotice(a),this._ultraRecalledNotice(a),this._ultraMsgUpdateNotice(bt.MSG_EXPANSION,a),this._ultraMsgUpdateNotice(bt.MSG_MODIFY,a),u=this._pullUltraChangeMessageQue.filter((function(t){return t>c})),this._pullUltraChangeMessageQue.length=0,(f=this._pullUltraChangeMessageQue).push.apply(f,u),this._ultraMsgMap)this._ultraMsgMap[l]<c&&delete this._ultraMsgMap[l];return s?this._pullUltraChangeMessageList(c):this._lastPullingUltraChangeMessageTime=c,[2]}}))}))},e.prototype._ultraChannelTypeChangeNotice=function(t){var e=this,n=[];t.forEach((function(t){var r=t.targetId,i=t.changeType,o=t.subChangeType,s=t.channelId,a=void 0===s?"":s;if(i===bt.CHANNEL_CHANGE&&e._ultraGroupMap["".concat(a,"_").concat(r)]){var c=Ct.PUBLIC_TO_PRIVATE,u=Ct.PRIVATE_TO_PUBLIC,l=Ct.PUBLIC_TO_PRIVATE_USER_NOT_IN;o===u&&(e._ultraGroupMap["".concat(a,"_").concat(r)].channelType=It.PUBLIC),o===c&&(e._ultraGroupMap["".concat(a,"_").concat(r)].channelType=It.PRIVATE);var f=e._ultraGroupMap["".concat(a,"_").concat(r)].channelType,h=void 0===f?It.PUBLIC:f;[c,u,l].includes(o)&&n.push({targetId:r,channelId:a,changeType:o,channelType:h}),o===l&&delete e._ultraGroupMap["".concat(a,"_").concat(r)]}})),n.length>0&&this._watcher.ultraGroupChannelChangeType(n)},e.prototype._ultraChannelDeleteNotice=function(t){var e=this,n=[];Array.isArray(t)&&t.forEach((function(t){var r=t.targetId,i=t.sendTime,o=t.changeType,s=t.subChangeType,a=t.channelId,c=void 0===a?"":a;if(o===bt.CHANNEL_CHANGE&&e._ultraGroupMap["".concat(c,"_").concat(r)]){var u=e._ultraGroupMap["".concat(c,"_").concat(r)].channelType,l=void 0===u?It.PUBLIC:u;s===Ct.CHANNEL_DELETE&&(n.push({targetId:r,channelId:c,channelType:l,deleteTime:i}),delete e._ultraGroupMap["".concat(c,"_").concat(r)])}})),n.length>0&&this._watcher.ultraGroupChannelDelete(n)},e.prototype._ultraChannelUserKickedNotice=function(t){var e=this,n=[];t.forEach((function(t){var r=t.targetId,i=t.changeType,o=t.operatorId,s=t.subChangeType,a=t.channelId,c=void 0===a?"":a;i===bt.CHANNEL_CHANGE&&e._ultraGroupMap["".concat(c,"_").concat(r)]&&(s===Ct.CHANNEL_USER_KICKED&&n.push({targetId:r,channelId:c,userId:o,channelType:It.PRIVATE}),o===e.currentUserId&&s===Ct.CHANNEL_USER_KICKED&&delete e._ultraGroupMap["".concat(c,"_").concat(r)])})),n.length>0&&this._watcher.ultraGroupChannelUserKicked(n)},e.prototype._ultraRecalledNotice=function(t){var e=this,n=[];t.forEach((function(t){var r=t.targetId,i=t.conversationType,o=t.sendTime,s=t.messageUId,a=t.changeType,c=t.operatorId,u=t.channelId,l=void 0===u?"":u;a===bt.MSG_RECALL&&(e._updateUltraGroupWhenRecallMsg(r,l,s),n.push({targetId:r,conversationType:i,sendTime:o,messageUId:s,senderUserId:c,channelId:l}))})),n.length>0&&this._watcher.ultraGroupMessageRecalled(n)},e.prototype._ultraMsgUpdateNotice=function(t,e){var n=this,r={};e.forEach((function(e){var i=e.targetId,o=e.conversationType,s=e.sendTime,a=e.messageUId,c=e.changeType,u=e.channelId,l=o+"_"+i,f=a+"_"+(void 0===u?"":u)+"_"+s,h=r[l];if(h)h.add(f);else{var d=new Set([f]);r[l]=d}c===t&&(n._ultraMsgChangeMap[a]=c)}));var i=function(t){var e=t.split("_"),n=e.shift(),i=e.join("_"),s=r[t],a=[];s.forEach((function(t){var e=t.split("_"),n=e[0],r=e[1],i=e[2];a.push({sendTime:Number(i),messageUId:n,channelId:r})}));var c={targetId:i,conversationType:Number(n),messages:a};o._pullUltraMessageList(c)},o=this;for(var s in r)i(s)},e.prototype._pullUltraMessageList=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u=this;return M(this,(function(l){switch(l.label){case 0:return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:(e=this._channel.codec.encodeMsgQuery(t),(n=new lo(yo[yo.qryMsg],e,this.currentUserId)).setHeaderQos(Me.AT_LEAST_ONCE),[4,this._channel.send(n,xr,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return r=l.sent(),i=r.code,o=r.data,i!==q.SUCCESS?[2,{code:i,msg:q[i]}]:(s=(o||{}).list,a=[],c=[],Array.isArray(s)&&s.forEach((function(t){var e=t.targetId,n=t.channelId,r=t.messageUId,i=u._ultraGroupMap[n+"_"+e];i&&i.latestMessage.messageUId===t.messageUId&&(i.latestMessage=t);var o=u._ultraMsgChangeMap[r+""];o===bt.MSG_EXPANSION?a.push(t):o===bt.MSG_MODIFY&&c.push(t)})),a.length>0&&this._watcher.ultraGroupMessageExpansionUpdated(a||[]),c.length>0&&this._watcher.ultraGroupMessageModified(c||[]),[2])}}))}))},e.prototype.getUltraHistoryMsg=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:(r=this._channel.codec.encodeGetHistoryMsg(t,e),i=new lo(yo[yo.qryUgMsg],r,this.currentUserId),Jt(dt.L_GET_HISTORY_MSG_T,{targetId:t,conversationType:N.ULTRA_GROUP,channelId:e.channelId,timestamp:null==e?void 0:e.timestamp,count:null==e?void 0:e.count},{traceId:n}),[4,this._channel.send(i,un,{currentUserId:this.currentUserId,conversation:{conversationType:N.ULTRA_GROUP,targetId:t}})]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return o=u.sent(),s=o.code,a=o.data,s===q.SUCCESS&&a?(c=[],a.list&&a.list.forEach((function(t){t&&c.push(t.messageUId)})),Jt(dt.L_GET_HISTORY_MSG_R,{code:s,messageUIds:c.join(",")},{traceId:n}),[2,{code:s,data:a}]):(Xt(dt.L_GET_HISTORY_MSG_R,{code:s,messageUIds:""},{traceId:n}),pe.warn("get super history message failed, code:",s,", data:",a),[2,{code:s}])}}))}))},e.prototype.searchUltraGroupMessages=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(t){return this._channel?this._status!==X.CONNECTED?[2,{code:q.RC_NET_UNAVAILABLE}]:[2,{code:q.SUCCESS}]:[2,{code:q.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.setUltraGroupDefaultNotificationLevel=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._isUltraGroupListExist?(r=this._channel)?(i=r.codec.encodeSetUltraGroupDefaultNotificationLevel(e,n),o=new lo(yo[yo.ugUnpushSet],i,t),[4,r.send(o)]):[3,2]:[2,Promise.resolve({code:q.METHOD_NOT_AVAILABLE})];case 1:return s=c.sent(),a=s.code,q.SUCCESS,[2,{code:a}];case 2:return[2,{code:q.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.getUltraGroupDefaultNotificationLevel=function(t,e){return I(this,void 0,void 0,(function(){var n,r,i,o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return this._isUltraGroupListExist?(n=this._channel)?(r=n.codec.encodeGetUltraGroupDefaultNotificationLevel(e),i=new lo(yo[yo.ugUnpushQuery],r,t),[4,n.send(i,dr)]):[3,2]:[2,Promise.resolve({code:q.METHOD_NOT_AVAILABLE})];case 1:return o=u.sent(),s=o.code,a=o.data,s===q.SUCCESS&&a?(c=a.unpushLevel,[2,{code:s,data:c}]):[2,{code:s}];case 2:return[2,{code:q.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype._updateUltraGroupWhenRecallMsg=function(t,e,n){var r="".concat(e,"_").concat(t);if(this._ultraGroupMap[r]){var i=this._ultraGroupMap[r],o=i.latestMessage;o&&o.messageUId===n&&(i.latestMessage=null)}},e.prototype.getAllConversationState=function(){return Promise.resolve({code:q.SUCCESS,data:this._conversationManager.getAllConversationState()})},e.prototype.joinRTCRoom=function(t,e,n,r,i,o){return I(this,void 0,void 0,(function(){var s,a;return M(this,(function(c){return this._channel?(s=this._channel.codec.encodeJoinRTCRoom(e,n,r,i,o),a=new lo(yo[yo.rtcRJoin_data],s,t),[2,this._channel.send(a,An)]):[2,{code:q.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.quitRTCRoom=function(t){return I(this,void 0,void 0,(function(){var e,n;return M(this,(function(r){switch(r.label){case 0:return this._channel?(e=this._channel.codec.encodeQuitRTCRoom(),n=new lo(yo[yo.rtcRExit],e,t),[4,this._channel.send(n)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,r.sent().code]}}))}))},e.prototype.rtcPing=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i;return M(this,(function(o){switch(o.label){case 0:return this._channel?(r=this._channel.codec.encodeJoinRTCRoom(e,n),i=new lo(yo[yo.rtcPing],r,t),[4,this._channel.send(i)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,o.sent().code]}}))}))},e.prototype.getRTCRoomInfo=function(t){return I(this,void 0,void 0,(function(){var e,n;return M(this,(function(r){return this._channel?(e=this._channel.codec.encodeGetRTCRoomInfo(),n=new lo(yo[yo.rtcRInfo],e,t),[2,this._channel.send(n,kn)]):[2,{code:q.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.getRTCUserInfoList=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o;return M(this,(function(s){switch(s.label){case 0:return this._channel?(e=this._channel.codec.encodeGetRTCRoomInfo(),n=new lo(yo[yo.rtcUData],e,t),[4,this._channel.send(n,An)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return r=s.sent(),i=r.code,o=r.data,[2,{code:i,data:o?{users:o.users}:o}]}}))}))},e.prototype.setRTCUserInfo=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i;return M(this,(function(o){switch(o.label){case 0:return this._channel?(r=this._channel.codec.encodeSetRTCUserInfo(e,n),i=new lo(yo[yo.rtcUPut],r,t),[4,this._channel.send(i)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,o.sent().code]}}))}))},e.prototype.removeRTCUserInfo=function(t,e){return I(this,void 0,void 0,(function(){var n,r;return M(this,(function(i){switch(i.label){case 0:return this._channel?(n=this._channel.codec.encodeRemoveRTCUserInfo(e),r=new ao(yo[yo.rtcUDel],n,t),[4,this._channel.send(r)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,i.sent().code]}}))}))},e.prototype.setRTCData=function(t,e,n,r,i,o){return I(this,void 0,void 0,(function(){var s,a;return M(this,(function(c){switch(c.label){case 0:return this._channel?(s=this._channel.codec.encodeSetRTCData(e,n,r,i,o),a=new ao(yo[yo.rtcSetData],s,t),[4,this._channel.send(a)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,c.sent().code]}}))}))},e.prototype.setRTCTotalRes=function(t,e,n,r,i){return I(this,void 0,void 0,(function(){var o,s;return M(this,(function(a){switch(a.label){case 0:return this._channel?(o=this._channel.codec.encodeUserSetRTCData(e,n,r,i),s=new lo(yo[yo.userSetData],o,t),[4,this._channel.send(s)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,a.sent().code]}}))}))},e.prototype.setRTCCDNUris=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i;return M(this,(function(o){switch(o.label){case 0:return this._channel?(r=this._channel.codec.encodeUserSetRTCCDNUris(e,n),i=new lo(yo[yo.userSetData],r,t),[4,this._channel.send(i)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,o.sent().code]}}))}))},e.prototype.getRTCData=function(t,e,n,r){if(!this._channel)return Promise.resolve({code:q.RC_NET_CHANNEL_INVALID});var i=this._channel.codec.encodeGetRTCData(e,n,r),o=new lo(yo[yo.rtcQryData],i,t);return this._channel.send(o,xn)},e.prototype.removeRTCData=function(t,e,n,r,i){return I(this,void 0,void 0,(function(){var o,s;return M(this,(function(a){switch(a.label){case 0:return this._channel?(o=this._channel.codec.encodeRemoveRTCData(e,n,r,i),s=new ao(yo[yo.rtcDelData],o,t),[4,this._channel.send(s)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,a.sent().code]}}))}))},e.prototype.setRTCOutData=function(t,e,n,r){throw new Error("JSEngine's method not implemented.")},e.prototype.getRTCOutData=function(t,e){throw new Error("JSEngine's method not implemented.")},e.prototype.getRTCToken=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i;return M(this,(function(o){return this._channel?(r=this._channel.codec.encodeJoinRTCRoom(e,n),i=new lo(yo[yo.rtcToken],r,t),[2,this._channel.send(i,Dn)]):[2,{code:q.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.setRTCState=function(t,e){return I(this,void 0,void 0,(function(){var n,r;return M(this,(function(i){switch(i.label){case 0:return this._channel?(n=this._channel.codec.encodeSetRTCState(e),r=new lo(yo[yo.rtcUserState],n,t),[4,this._channel.send(r)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return[2,i.sent().code]}}))}))},e.prototype.getRTCUserInfo=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(t){throw new Error("Method not implemented.")}))}))},e.prototype.getRTCUserList=function(t){if(!this._channel)return Promise.resolve({code:q.RC_NET_CHANNEL_INVALID});var e=this._channel.codec.encodeGetRTCRoomInfo(),n=new lo(yo[yo.rtcUList],e,t);return this._channel.send(n,An)},e.prototype.joinLivingRoomAsAudience=function(t,e,n){return void 0===e&&(e=_t.LIVE),I(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l;return M(this,(function(f){switch(f.label){case 0:return this._channel?(r=this._channel.codec.encodeJoinRTCRoom(e,n),i=new lo(yo[yo.viewerJoinR],r,t),[4,this._channel.send(i,Yr)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return o=f.sent(),s=o.code,a=o.data,s!==q.SUCCESS?[2,{code:s}]:(u=(c=a).rtcToken,l=c.entries,[2,{code:s,data:{token:u,kvEntries:l}}])}}))}))},e.prototype.quitLivingRoomAsAudience=function(t){return I(this,void 0,void 0,(function(){var e,n,r;return M(this,(function(i){switch(i.label){case 0:return this._channel?(e=this._channel.codec.encodeQuitRTCRoom(),n=new lo(yo[yo.viewerExitR],e,t),[4,this._channel.send(n)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return r=i.sent().code,this._rtcKVManager.reset(),[2,r]}}))}))},e.prototype.rtcIdentityChange=function(t,e,n){return I(this,void 0,void 0,(function(){var r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return this._channel?(r=this._channel.codec.encodeIdentityChangeInfo(e,n),i=new lo(yo[yo.rtcIdentityChange],r,t),[4,this._channel.send(i,An)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return o=c.sent(),s=o.code,a=o.data,s!==q.SUCCESS?[2,{code:s}]:[2,{code:s,data:a}]}}))}))},e.prototype.pullRTCRoomEntry=function(t,e){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u;return M(this,(function(l){switch(l.label){case 0:return n=(e=this)._channel,r=e.currentUserId,n?(pe.info("audience in room start pull KV"),i=n.codec.encodePullRTCRoomKV(t,0),o=new lo(yo[yo.rtcPullKv],i,r),[4,n.send(o,zr)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return s=l.sent(),a=s.code,c=s.data,pe.info("audience in room end pull KV, code: ".concat(a,", data: ").concat(JSON.stringify(c||{}))),a===q.SUCCESS?(u=c.kvEntries,this._watcher.onRTCDataChange(u,t),[2,{code:a,data:c}]):[2,{code:a}]}}))}))},e.prototype.getRTCJoinedUserInfo=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c;return M(this,(function(u){switch(u.label){case 0:return n=(e=this)._channel,r=e.currentUserId,n?(i=n.codec.encodeQueryUserJoinedInfo(t),o=new lo(yo[yo.rtcQueryJoined],i,r),[4,n.send(o,Gr)]):[2,{code:q.RC_NET_CHANNEL_INVALID}];case 1:return s=u.sent(),a=s.code,c=s.data,a===q.SUCCESS?[2,{code:a,data:c}]:[2,{code:a}]}}))}))},e.prototype.getDeviceId=function(){return ie(this.runtime)},e.prototype.requestRoomPK=function(t){return I(this,void 0,void 0,(function(){var e,n,r;return M(this,(function(i){switch(i.label){case 0:return this._channel?(e=this._channel.codec.encodeRequestRoomPK(t),n=new lo(yo[yo.rtcInvite],e,t.roomId),[4,this._channel.send(n)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return r=i.sent().code,this._rtcKVManager.reset(),[2,r]}}))}))},e.prototype.cancelRoomPK=function(t){return I(this,void 0,void 0,(function(){var e,n,r;return M(this,(function(i){switch(i.label){case 0:return this._channel?(e=this._channel.codec.encodeCancelRoomPK(t),n=new lo(yo[yo.rtcCancelInvite],e,t.roomId),[4,this._channel.send(n)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return r=i.sent().code,this._rtcKVManager.reset(),[2,r]}}))}))},e.prototype.responseRoomPK=function(t){return I(this,void 0,void 0,(function(){var e,n,r;return M(this,(function(i){switch(i.label){case 0:return this._channel?(e=this._channel.codec.encodeResponseRoomPK(t),n=new lo(yo[yo.rtcInviteAnswer],e,t.roomId),[4,this._channel.send(n)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return r=i.sent().code,this._rtcKVManager.reset(),[2,r]}}))}))},e.prototype.endRoomPK=function(t){return I(this,void 0,void 0,(function(){var e,n,r;return M(this,(function(i){switch(i.label){case 0:return this._channel?(e=this._channel.codec.encodeEndRoomPK(t),n=new lo(yo[yo.rtcEndInvite],e,t.roomId),[4,this._channel.send(n)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return r=i.sent().code,this._rtcKVManager.reset(),[2,r]}}))}))},e.prototype.bindRTCRoomForChatroom=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i;return M(this,(function(o){switch(o.label){case 0:return this._channel?(e=t.chatRoomId,n=this._channel.codec.encodebindRTCRoomForChatroom(t),r=new lo(yo[yo.setRtcRoomId],n,e),[4,this._channel.send(r)]):[2,q.RC_NET_CHANNEL_INVALID];case 1:return i=o.sent(),[2,i.code]}}))}))},e.prototype.callExtra=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Promise.resolve({code:q.EXTRA_METHOD_UNDEFINED})},e.prototype.getConversationListWithAllChannel=function(){throw new Error("Method not implemented.")},e.prototype.getConversationListWithAllChannelByPage=function(t,e){throw new Error("Method not implemented.")},e.prototype.getConversationsByPage=function(t,e,n,r){throw new Error("Method not implemented.")},e.prototype.getHistoryMessagesByObjectNames=function(t,e,n,r,i,o,s){throw new Error("Method not implemented.")},e.prototype.clearConversations=function(){throw new Error("Method not implemented.")},e.prototype.setUserStatusListener=function(t,e){throw new Error("Method not implemented.")},e.prototype.setUserStatus=function(t){throw new Error("Method not implemented.")},e.prototype.subscribeUserStatus=function(t){throw new Error("Method not implemented.")},e.prototype.getUserStatus=function(t){throw new Error("Method not implemented.")},e.prototype.addToBlacklist=function(t){throw new Error("Method not implemented.")},e.prototype.removeFromBlacklist=function(t){throw new Error("Method not implemented.")},e.prototype.getBlacklist=function(){throw new Error("Method not implemented.")},e.prototype.getBlacklistStatus=function(t){throw new Error("Method not implemented.")},e.prototype.insertMessage=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.deleteMessages=function(t){throw new Error("Method not implemented.")},e.prototype.deleteMessagesByTimestamp=function(t,e,n,r,i){throw new Error("Method not implemented.")},e.prototype.clearMessages=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.getMessage=function(t){throw new Error("Method not implemented.")},e.prototype.setMessageContent=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.setMessageSearchField=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.searchConversationByContent=function(t,e,n,r){throw new Error("Method not implemented.")},e.prototype.searchConversationByContentWithAllChannel=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.searchMessageByContent=function(t,e,n,r,i,o){throw new Error("Method not implemented.")},e.prototype.searchMessageByContentWithAllChannel=function(t,e,n,r,i){throw new Error("Method not implemented.")},e.prototype.searchMessageByContentInTimeRangeWithAllChannel=function(t,e,n,r,i,o,s){throw new Error("Method not implemented.")},e.prototype.getUnreadMentionedMessages=function(t,e){throw new Error("Method not implemented.")},e.prototype.setMessageSentStatus=function(t,e){throw new Error("Method not implemented.")},e.prototype.updateMessageReceiptStatus=function(t,e,n,r){throw new Error("Method not implemented.")},e.prototype.setMessageReceivedStatus=function(t,e){throw new Error("Method not implemented.")},e.prototype.clearData=function(){throw new Error("Method not implemented.")},e.prototype.clearUnreadCountByTimestamp=function(t,e,n,r){throw new Error("Method not implemented.")},e}(To),as=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.prototype.getNaviInfo=function(){return this._context.getInfoFromCache()},e.prototype.joinRTCRoom=function(t,e,n,r,i,o){return this._context.joinRTCRoom(t,e,n,r,i,o)},e.prototype.quitRTCRoom=function(t){return this._context.quitRTCRoom(t)},e.prototype.rtcPing=function(t,e,n){return this._context.rtcPing(t,e,n)},e.prototype.getRTCRoomInfo=function(t){return this._context.getRTCRoomInfo(t)},e.prototype.getRTCUserInfoList=function(t){return this._context.getRTCUserInfoList(t)},e.prototype.getRTCUserInfo=function(t){return this._context.getRTCUserInfo(t)},e.prototype.setRTCUserInfo=function(t,e,n){return this._context.setRTCUserInfo(t,e,n)},e.prototype.removeRTCUserInfo=function(t,e){return this._context.removeRTCUserInfo(t,e)},e.prototype.setRTCData=function(t,e,n,r,i,o){return this._context.setRTCData(t,e,n,r,i,o)},e.prototype.setRTCTotalRes=function(t,e,n,r,i){return this._context.setRTCTotalRes(t,e,n,r,i)},e.prototype.setRTCCDNUris=function(t,e,n){return this._context.setRTCCDNUris(t,e,n)},e.prototype.getRTCData=function(t,e,n,r){return this._context.getRTCData(t,e,n,r)},e.prototype.removeRTCData=function(t,e,n,r,i){return this._context.removeRTCData(t,e,n,r,i)},e.prototype.setRTCOutData=function(t,e,n,r){return this._context.setRTCOutData(t,e,n,r)},e.prototype.getRTCOutData=function(t,e){return this._context.getRTCOutData(t,e)},e.prototype.getRTCToken=function(t,e,n){return this._context.getRTCToken(t,e,n)},e.prototype.setRTCState=function(t,e){return this._context.setRTCState(t,e)},e.prototype.getRTCUserList=function(t){return this._context.getRTCUserList(t)},e.prototype.joinLivingRoomAsAudience=function(t,e,n){return this._context.joinLivingRoomAsAudience(t,e,n)},e.prototype.quitLivingRoomAsAudience=function(t){return this._context.quitLivingRoomAsAudience(t)},e.prototype.rtcIdentityChange=function(t,e,n){return this._context.rtcIdentityChange(t,e,n)},e.prototype.requestRoomPK=function(t){return this._context.requestRoomPK(t)},e.prototype.cancelRoomPK=function(t){return this._context.cancelRoomPK(t)},e.prototype.responseRoomPK=function(t){return this._context.responseRoomPK(t)},e.prototype.endRoomPK=function(t){return this._context.endRoomPK(t)},e}(wo);function cs(t){return Object.assign({},t)}var us,ls=function(){function t(t,e){var n;this._runtime=t,this._token="",this._pluginContextQueue=[],this._pluginInstanseMap={},this.coreVersion="5.4.3",this._versionInfo={},this._typingInfo={},this._isInternalConnected=!1,this._connectionStatus=X.DISCONNECTED,this._canRedirectConnect=!1,this._watcher={message:void 0,batchMessage:void 0,conversationState:void 0,chatroomState:void 0,connectionState:void 0,rtcInnerWatcher:void 0,expansion:void 0,tag:void 0,conversationTagChanged:void 0,pullFinished:void 0,onConnecting:void 0,onConnected:void 0,onDisconnect:void 0,onSuspend:void 0,readReceiptReceived:void 0,messageReceiptRequest:void 0,messageReceiptResponse:void 0,typingState:void 0,messageBlocked:void 0,ultraGroupEnable:void 0,operateStatus:void 0,ultraGroupMessageExpansionUpdated:void 0,ultraGroupMessageModified:void 0,ultraGroupMessageRecalled:void 0,ultraGroupChannelChangeType:void 0,ultraGroupChannelUserKicked:void 0,ultraGroupChannelDelete:void 0},this._typingInternalTimer=-1,this._typingExpireTime=2e3,this._typingChangedList=[],this.getChatRoomHistoryMessages=this.getChatroomHistoryMessages,this._options=Object.assign({},e),this.appkey=this._options.appkey,this.apiVersion=this._options.apiVersion,this.apiPKGName=this._options.apiPKGName||"",this._options.typingExpireTime&&(this._options.typingExpireTime<2e3?this._typingExpireTime=2e3:this._options.typingExpireTime>6e3?this._typingExpireTime=6e3:this._typingExpireTime=this._options.typingExpireTime),this._options.navigators=this._options.navigators.filter((function(t){return/^https?:\/\//.test(t)})),this._options.navigators=this._options.navigators.map((function(t){return t.replace(/\/$/g,"")})),0===this._options.navigators.length&&(n=this._options.navigators).push.apply(n,s),Vi({bundleId:this.apiPKGName}),function(t){Kt=ae.init(m(m({},t),{sessionId:kt})),he()}({runtime:this._runtime,logSwitch:1,logPolicy:JSON.parse("{}"),appkey:this.appkey,version:this.apiVersion});var r={status:this._connectionStatusListener.bind(this),batchMessage:this._batchMessageReceiver.bind(this),chatroom:this._chatroomInfoListener.bind(this),conversation:this._conversationInfoListener.bind(this),expansion:this._expansionInfoListener.bind(this),tag:this._tagListener.bind(this),conversationTag:this._conversationTagListener.bind(this),onRTCDataChange:this._rtcDataChange.bind(this),pullFinished:this._pullFinishedListener.bind(this),ultraGroupEnable:this._ultraGroupEnableListener.bind(this),operateStatus:this._operateStatusListener.bind(this),ultraGroupMessageExpansionUpdated:this._ultraGroupMessageExpansionUpdatedListener.bind(this),ultraGroupMessageModified:this._ultraGroupMessageModifiedListener.bind(this),ultraGroupMessageRecalled:this._ultraGroupMessageRecalledListener.bind(this),ultraGroupChannelChangeType:this._ultraGroupChannelChangeTypeListener.bind(this),ultraGroupChannelUserKicked:this._ultraGroupChannelUserKickedListener.bind(this),ultraGroupChannelDelete:this._ultraGroupChannelDeleteListener.bind(this)};this._engine=Be()?new RCCppEngine(t,r,this._options):new ss(t,r,this._options)}return t.init=function(e,n){return Wt({customLogPrint:n.logStdout,localLogLevel:n.logLevel}),pe.setLogLevel(n.logLevel),pe.setLogStdout(n.logStdout),Jt(dt.L_INIT_O,{appkey:n.appkey,navigators:n.navigators,connectionType:n.connectionType,logLevel:n.logLevel,typingExpireTime:n.typingExpireTime}),!1===n.indexDBSwitch&&(Lt.indexDBSwitch=!1),Jt(dt.L_IMSDK_VER_O,{commitId:"b3936f05590d2beb491dee0dbb7071eeb648e941",version:"5.4.3"}),pe.debug("APIContext.init =>",n.appkey,n.navigators),this._context?(pe.error("Repeat initialize!"),this._context):(pe.warn("RCEngine Commit:","b3936f05590d2beb491dee0dbb7071eeb648e941"),this._context=new t(e,n),this._context)},t.destroy=function(){this._context&&(this._context._destroy(),this._context=void 0)},t.prototype.install=function(t,e){if(this._pluginInstanseMap[t.tag])return pe.warn("Repeat install plugin: ".concat(t.tag)),this._pluginInstanseMap[t.tag];var n="RCRTC"===t.tag?new as(this):new wo(this),r=null;try{if(!t.verify(this._runtime))return null;r=t.setup(n,this._runtime,e)}catch(t){pe.error("install plugin error!\n",t)}return["RCRTC","RCCall"].includes(t.tag)&&t.version&&t.name&&(this._versionInfo[t.name]=t.version),r&&this._pluginContextQueue.push(n),r&&(this._pluginInstanseMap[t.tag]=r),r},t.prototype._handleRedirect=function(){return I(this,void 0,void 0,(function(){var t,e=this;return M(this,(function(n){switch(n.label){case 0:return pe.debug("_handleRedirct",this._token),[4,this.connect(this._token,!0)];case 1:return(t=n.sent().code)!==q.SUCCESS&&this._canRedirectConnect&&(this._handleSuspend(t),setTimeout((function(){e._handleRedirect()}),5e3)),[2]}}))}))},t.prototype._connectionStatusListener=function(t){var e;return I(this,void 0,void 0,(function(){return M(this,(function(n){return Jt(dt.L_CONNECT_S,{status:t}),[X.REDIRECT,X.BLOCKED,X.KICKED_OFFLINE_BY_OTHER_CLIENT,X.DISCONNECT_BY_SERVER,X.DISCONNECTED,X.NETWORK_UNAVAILABLE].includes(t)&&(Wi(vo.IM_CONNECTION_DURATION,{endTime:(new Date).getTime(),code:t}),function(t){I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u;return M(this,(function(l){switch(l.label){case 0:e=vo.IM_CONNECTION_DURATION,n=Qi().bundleId,r=Zi(e),i=r.startTime,o=r.endTime,s=r.code,a=$i.UNKONWN,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,t.getNetworkType()];case 2:return a=l.sent(),[3,4];case 3:return c=l.sent(),pe.debug(c.message),[3,4];case 4:return u=0,L(i)&&L(o)&&o>i&&i&&(u=o-i),Gi(e,{bid:n,cod:s,dur:u,net:a}),[2]}}))}))}(this._runtime)),this._connectionStatus=t,t===X.REDIRECT?(this._canRedirectConnect=!0,this._handleSuspend(t),this._handleRedirect()):t===X.BLOCKED||t===X.KICKED_OFFLINE_BY_OTHER_CLIENT||t===X.DISCONNECT_BY_SERVER?(this._canRedirectConnect=!1,this._handleDisconnect(t)):t===X.CONNECTING?this._handleConnecting():t===X.CONNECTED?this._handleConnected():t===X.DISCONNECTED?this._handleDisconnect(t):t===X.NETWORK_UNAVAILABLE&&this._handleSuspend(t),(null===(e=this._watcher.rtcInnerWatcher)||void 0===e?void 0:e.status)&&this._watcher.rtcInnerWatcher.status(t),this._pluginContextQueue.forEach((function(e){e.onconnectionstatechange&&e.onconnectionstatechange(t)})),this._watcher.connectionState&&this._watcher.connectionState(t),[2]}))}))},t.prototype._handleConnecting=function(){this._watcher.onConnecting&&this._watcher.onConnecting()},t.prototype._handleConnected=function(){this._watcher.onConnected&&this._watcher.onConnected()},t.prototype._handleDisconnect=function(t){this._watcher.onDisconnect&&this._watcher.onDisconnect(t)},t.prototype._handleSuspend=function(t){this._watcher.onSuspend&&this._watcher.onSuspend(t)},t.prototype._messageReceiver=function(t,e,n){var r,i,o;if((t.conversationType===N.RTC_ROOM||Object.prototype.hasOwnProperty.call(St,t.messageType))&&this._watcher.rtcInnerWatcher&&this._watcher.rtcInnerWatcher.message)this._watcher.rtcInnerWatcher.message(cs(t));else if(-1===["RC:ChrmJoinNtf","RC:ChrmQuitNtf"].indexOf(t.messageType)||"function"!=typeof this._watcher.chatroomState){if("RC:ChrmMemChange"!==t.messageType){if(t.messageType!==nt.TYPING_STATUS||(this._addTypingInfo(cs(t)),!this._watcher.typingState))if(t.messageType!==nt.LOG_COMMAND||"rongcloudsystem"!==t.senderUserId)if(t.messageType!==nt.INTERCEPT){if(!this._pluginContextQueue.some((function(e){if(!e.onmessage)return!1;try{return e.onmessage(cs(t))}catch(t){return pe.error("plugin error =>",t),!1}})))if(this._watcher.message&&this._watcher.message(cs(t),e,n),"RC:ReadNtf"!==t.messageType)if("RC:RRReqMsg"!==t.messageType){if("RC:RRRspMsg"!==t.messageType)return t;var s=null===(o=t.content)||void 0===o?void 0:o.receiptMessageDic,a=this._engine.getCurrentUserId();s&&Array.isArray(s[a])&&"function"==typeof this._watcher.messageReceiptResponse&&this._watcher.messageReceiptResponse({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},t.senderUserId,s[a])}else"function"==typeof this._watcher.messageReceiptRequest&&this._watcher.messageReceiptRequest({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},t.content.messageUId,t.senderUserId);else"function"==typeof this._watcher.readReceiptReceived&&this._watcher.readReceiptReceived({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},t.content.messageUId,t.content.lastMessageSendTime)}else this._MessageBlockedListener({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId||"",blockType:t.content.interceptType,blockedMessageUId:t.content.msgUId,extra:t.content.extra});else{var c=t.content,u=c.startTime,l=c.endTime,f=c.platform,h=c.logId,d=c.uri,p=c.packageName,g={startTime:parseInt(u),endTime:parseInt(l),platform:f,logId:h,uri:d,packageName:p};null===(i=ae.getInstance())||void 0===i||i.reportFullLog(g)}}else if("function"==typeof this._watcher.chatroomState){var v={};Array.isArray(t.content.userList)&&t.content.userList.forEach((function(t){v[t.userId]=t.status})),this._watcher.chatroomState({userChange:{users:v,chatroomId:t.targetId}})}}else this._watcher.chatroomState({userChange:{users:(r={},r[t.senderUserId]="RC:ChrmQuitNtf"===t.messageType?yt.QUIT:yt.JOIN,r),chatroomId:t.targetId}})},t.prototype._batchMessageReceiver=function(t,e,n){var r=this,i=[];t.forEach((function(t){var o=r._messageReceiver(t,e,n);o&&i.push(o)})),i.length&&this._watcher.batchMessage&&this._watcher.batchMessage(i)},t.prototype._chatroomInfoListener=function(t){this._watcher.chatroomState&&this._watcher.chatroomState(t)},t.prototype._conversationInfoListener=function(t){this._watcher.conversationState&&this._watcher.conversationState(t)},t.prototype._expansionInfoListener=function(t){this._watcher.expansion&&this._watcher.expansion(t)},t.prototype._tagListener=function(){this._watcher.tag&&this._watcher.tag()},t.prototype._conversationTagListener=function(){this._watcher.conversationTagChanged&&this._watcher.conversationTagChanged()},t.prototype._typingStatusListener=function(t){this._watcher.typingState&&this._watcher.typingState(t)},t.prototype._pullFinishedListener=function(){this._watcher.pullFinished&&this._watcher.pullFinished()},t.prototype._MessageBlockedListener=function(t){this._watcher.messageBlocked&&this._watcher.messageBlocked(t)},t.prototype._ultraGroupEnableListener=function(t){this._watcher.ultraGroupEnable&&this._watcher.ultraGroupEnable(t)},t.prototype._operateStatusListener=function(t){this._watcher.operateStatus&&this._watcher.operateStatus(t)},t.prototype._ultraGroupMessageExpansionUpdatedListener=function(t){this._watcher.ultraGroupMessageExpansionUpdated&&this._watcher.ultraGroupMessageExpansionUpdated(t)},t.prototype._ultraGroupMessageModifiedListener=function(t){this._watcher.ultraGroupMessageModified&&this._watcher.ultraGroupMessageModified(t)},t.prototype._ultraGroupMessageRecalledListener=function(t){this._watcher.ultraGroupMessageRecalled&&this._watcher.ultraGroupMessageRecalled(t)},t.prototype._ultraGroupChannelChangeTypeListener=function(t){this._watcher.ultraGroupChannelChangeType&&this._watcher.ultraGroupChannelChangeType(t)},t.prototype._ultraGroupChannelUserKickedListener=function(t){this._watcher.ultraGroupChannelUserKicked&&this._watcher.ultraGroupChannelUserKicked(t)},t.prototype._ultraGroupChannelDeleteListener=function(t){this._watcher.ultraGroupChannelDelete&&this._watcher.ultraGroupChannelDelete(t)},t.prototype._rtcDataChange=function(t,e){this._pluginContextQueue.forEach((function(n){n.onrtcdatachange&&n.onrtcdatachange(t,e)}))},t.prototype.assignWatcher=function(t){var e=this;Object.keys(this._watcher).forEach((function(n){if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];e._watcher[n]=z(r)||U(r)?r:void 0}}))},t.prototype.resetWatcher=function(){var t=this;Object.keys(this._watcher).forEach((function(e){t._watcher[e]=void 0}))},t.prototype._addTypingInfo=function(t){var e=t.senderUserId,n=t.conversationType,r=t.targetId,i=t.content,o=t.channelId,s=i.typingContentType,a=o||"",c="".concat(n,"#").concat(r,"#").concat(a);this._typingInfo[c]||(this._typingInfo[c]=[]);var u=this._typingInfo[c].findIndex((function(t){return t.userId===e}));u>=0&&this._typingInfo[c][u].messageType===s?this._typingInfo[c][u].timestamp=Date.now():(u>=0&&this._typingInfo[c].splice(u,1),this._typingInfo[c].push({userId:e,messageType:s,timestamp:Date.now()}),this._typingChangedList.includes(c)||this._typingChangedList.push(c),this._startCheckTypingInfo())},t.prototype._startCheckTypingInfo=function(){var t=this;-1===this._typingInternalTimer&&0!==Object.keys(this._typingInfo).length&&(this._typingInternalTimer=setInterval((function(){for(var e in t._typingInfo){var n=t._typingInfo[e].length;t._typingInfo[e]=t._typingInfo[e].filter((function(e){return Date.now()-e.timestamp<t._typingExpireTime})),t._typingInfo[e].length===n||t._typingChangedList.includes(e)||t._typingChangedList.push(e),0===t._typingInfo[e].length&&delete t._typingInfo[e]}if(t._typingChangedList.length>0){var r=t._typingChangedList.map((function(e){return{conversationType:Number(e.split("#")[0]),targetId:e.split("#")[1],channelId:e.split("#")[2],list:t._typingInfo[e]||[]}}));t._typingStatusListener(r),t._typingChangedList=[]}0===Object.keys(t._typingInfo).length&&(clearInterval(t._typingInternalTimer),t._typingInternalTimer=-1)}),500))},t.prototype.getConnectedTime=function(){return this._engine.getConnectedTime()},t.prototype.getServerTime=function(){return this._engine.getServerTime()},t.prototype.getDeviceId=function(){return this._engine.getDeviceId()},t.prototype.getCurrentUserId=function(){return this._engine.getCurrentUserId()},t.prototype.getConnectionStatus=function(){return this._connectionStatus},Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),t.prototype.connect=function(t,e,n,r){return void 0===e&&(e=!1),I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l;return M(this,(function(f){switch(f.label){case 0:return this._connectionStatus===X.CONNECTED?[2,{code:q.SUCCESS,userId:this._engine.getCurrentUserId()}]:this._connectionStatus===X.CONNECTING?[2,{code:q.BIZ_ERROR_CONNECTING}]:"string"!=typeof t||0===t.length?[2,{code:q.RC_CONN_USER_OR_PASSWD_ERROR}]:(this._token=t,i=t.split("@"),o=i[1],s=o?o.split(";").map((function(t){return/^https?:/.test(t)?t:"https://".concat(t)})):[],Jt(dt.L_GET_NAVI_T,{token:t,uris:s},{traceId:r}),[4,this._engine.getNaviInfo(this._getTokenWithoutNavi(),s,e,this._options.checkCA)]);case 1:return(a=f.sent())?(Jt(dt.L_GET_NAVI_R,{code:q.SUCCESS,naviInfo:a},{traceId:r}),Jt(dt.L_ENV_S,{isEnterprise:1===(null==a?void 0:a.type)},{traceId:r}),1===(null==a?void 0:a.type)?[2,{code:q.PACKAGE_ENVIRONMENT_ERROR}]:(c=Ie.getInfo(),Jt(dt.L_CONNECT_T,{token:t,refreshNavi:e,reconnectKickEnable:n},{traceId:r}),[4,this._engine.connect(this._getTokenWithoutNavi(),a,n,r)])):(Xt(dt.L_GET_NAVI_R,{code:q.RC_NAVI_RESOURCE_ERROR},{traceId:r}),[2,{code:q.RC_NAVI_RESOURCE_ERROR}]);case 2:return u=f.sent(),(u===q.SUCCESS?Jt:Xt)(dt.L_CONNECT_R,{code:u,userId:this._engine.getCurrentUserId()},{traceId:r}),u!==tt.REDIRECT?[3,4]:(this._connectionStatus=X.REDIRECT,[4,this.connect(t,!0)]);case 3:return[2,f.sent()];case 4:return l=this._engine.getCurrentUserId(),u===q.SUCCESS&&(Wi(vo.IM_CONNECTION_DURATION,{startTime:(new Date).getTime()},!0),pe.info("connect success, userId: ".concat(l)),1!==(null==a?void 0:a.type)&&this._engine.reportSDKInfo&&this._engine.reportSDKInfo(c),le({runtime:this._runtime,logSwitch:(null==a?void 0:a.logSwitch)||0,logPolicy:JSON.parse((null==a?void 0:a.logPolicy)||"{}"),appkey:this.appkey,version:this.apiVersion,userId:l}),Wt({userId:l}),this._isInternalConnected=!0),u!==q.SUCCESS||Be()||1===a.openUS&&this._pullUserSettings(),u!==q.SUCCESS&&(this._connectionStatus=X.CONNECTION_CLOSED),[2,{code:u,userId:l}]}}))}))},t.prototype._pullUserSettings=function(){return I(this,void 0,void 0,(function(){return M(this,(function(t){return[2]}))}))},t.prototype.disconnect=function(){var t;return this._isInternalConnected=!1,clearInterval(this._typingInternalTimer),this._typingInternalTimer=-1,this._typingInfo={},null===(t=ae.getInstance())||void 0===t||t.distroy(),Wt({userId:""}),this._engine.disconnect(),this._pluginContextQueue.forEach((function(t){if(t.ondisconnect)try{t.ondisconnect()}catch(t){pe.error("plugin error =>",t)}})),Promise.resolve()},t.prototype.reconnect=function(t){return this._isInternalConnected?Promise.resolve({code:q.CAN_NOT_RECONNECT}):this.connect(this._getTokenWithoutNavi(),!1,t)},t.prototype._getTokenWithoutNavi=function(){return this._token.replace(/@.+$/,"@")},t.prototype.getInfoFromCache=function(){return this._engine.getNaviInfoFromCache()},t.prototype.registerMessageType=function(t,e,n,r,i){void 0===r&&(r=[]),void 0===i&&(i=!1),this._engine.registerMessageType(t,e,n,r,i)},t.prototype.sendMessage=function(t,e,n,r,i){if(t!==N.ULTRA_GROUP){var o=this.getInfoFromCache();if(1===((null==o?void 0:o.grpRRVer)||0)&&n.messageType===nt.READ_RECEIPT_RESPONSE)return Promise.resolve({code:q.READ_RECEIPT_ERROR})}var s=n.canIncludeExpansion,a=void 0!==s&&s,c=n.expansion;if(a){var u=Q(c),l=u.isIllgalEx,f=u.isExKeyOrValLengthExceedLimit;if(u.isExceedLimit||f)return Promise.resolve({code:q.EXPANSION_LIMIT_EXCEET});if(l)return Promise.resolve({code:q.BIZ_ERROR_INVALID_PARAMETER})}var h=JSON.stringify(n.content);return A(h)>131072?Promise.resolve({code:q.RC_MSG_CONTENT_EXCEED_LIMIT}):t===N.ULTRA_GROUP?this._engine.sendUltraMessage(e,n,r,i):this._engine.sendMessage(t,e,n,r,i)},t.prototype.sendExpansionMessage=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f;return M(this,(function(h){switch(h.label){case 0:return e=t.channelId,n=t.conversationType,r=t.targetId,i=t.messageUId,o=t.keys,s=t.expansion,a=t.removeAll,t.canIncludeExpansion?(c=Q(s),u=c.isIllgalEx,l=c.isExKeyOrValLengthExceedLimit,c.isExceedLimit||l?[2,Promise.resolve({code:q.EXPANSION_LIMIT_EXCEET})]:u?[2,Promise.resolve({code:q.BIZ_ERROR_INVALID_PARAMETER})]:(f={mid:i},s&&(f.put=s),o&&(f.del=o),a&&(f.removeAll=1),[4,this._engine.sendMessage(n,r,{content:f,messageType:nt.EXPANSION_NOTIFY,channelId:e})])):[2,{code:q.MESSAGE_KV_NOT_SUPPORT}];case 1:return[2,{code:h.sent().code}]}}))}))},t.prototype.sendReadReceiptMessage=function(t,e,n){return I(this,void 0,void 0,(function(){var r;return M(this,(function(i){return r=this.getInfoFromCache(),0===((null==r?void 0:r.grpRRVer)||0)?[2,{code:q.READ_RECEIPT_ERROR,data:"The read receipt switch is not on, please call the sendMessage method!"}]:[2,this._engine.sendReadReceiptMessage(t,e,n)]}))}))},t.prototype.getMessageReader=function(t,e,n){return I(this,void 0,void 0,(function(){var r;return M(this,(function(i){return r=this.getInfoFromCache(),0===((null==r?void 0:r.grpRRVer)||0)?[2,{code:q.READ_RECEIPT_ERROR}]:[2,this._engine.getMessageReader(t,e,n)]}))}))},t.prototype._destroy=function(){var t;this._isInternalConnected=!1,this._watcher={batchMessage:void 0,message:void 0,conversationState:void 0,chatroomState:void 0,connectionState:void 0,rtcInnerWatcher:void 0,expansion:void 0,tag:void 0,conversationTagChanged:void 0,typingState:void 0,pullFinished:void 0,onConnecting:void 0,onConnected:void 0,onDisconnect:void 0,onSuspend:void 0},this._engine.disconnect(),this._pluginContextQueue.forEach((function(t){if(t.ondestroy)try{t.ondestroy()}catch(t){pe.error("plugin error =>",t)}})),this._pluginContextQueue.length=0,this._pluginInstanseMap={},null===(t=ae.getInstance())||void 0===t||t.distroy(),Wt({userId:""})},t.prototype.getHistoryMessage=function(t,e,n,r,i,o,s,a){if(void 0===n&&(n=0),void 0===r&&(r=20),void 0===i&&(i=0),void 0===o&&(o=""),void 0===s&&(s=""),t===N.ULTRA_GROUP){var c={timestamp:n,count:r,order:i,channelId:o};return this._engine.getUltraHistoryMsg(e,c,a)}return this._engine.getHistoryMessage(t,e,n,r,i,o,s||"",a)},t.prototype.getHistoryMessagesByObjectNames=function(t,e,n,r,i,o,s){return this._engine.getHistoryMessagesByObjectNames(t,e,n,r,i,o,s)},t.prototype.getConversationList=function(t,e,n,r,i){if(void 0===t&&(t=300),void 0===i&&(i=""),e===N.ULTRA_GROUP){var o=q.METHOD_NOT_SUPPORT;return Promise.resolve({code:o,msg:q[o]})}return this._engine.getConversationList(t,e,n,r,i)},t.prototype.getConversationsByPage=function(t,e,n,r){return this._engine.getConversationsByPage(t,e,n,r)},t.prototype.getConversation=function(t,e,n){return this._engine.getConversation(t,e,n)},t.prototype.removeConversation=function(t,e,n){return void 0===n&&(n=""),t===N.ULTRA_GROUP?Promise.resolve(q.METHOD_NOT_SUPPORT):this._engine.removeConversation(t,e,n)},t.prototype.getUltraGroupList=function(t){return this._engine.getUltraGroupList(t)},t.prototype.getBlockUltraGroupList=function(){return this._engine.getBlockUltraGroupList()},t.prototype.getTopUltraGroupList=function(){return this._engine.getTopUltraGroupList()},t.prototype.clearUnreadCount=function(t,e,n){return void 0===n&&(n=""),t===N.ULTRA_GROUP?this._engine.clearUltraUnreadcount(e,n):this._engine.clearConversationUnreadCount(t,e,n)},t.prototype.clearAllUnreadCount=function(){return this._engine.clearAllUnreadCount()},t.prototype.getUnreadCount=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationUnreadCount(t,e,n)},t.prototype.getTotalUnreadCount=function(t,e,n){if(e&&e.includes(N.ULTRA_GROUP)){var r=q.METHOD_NOT_SUPPORT;return Promise.resolve({code:r,msg:q[r]})}return this._engine.getAllConversationUnreadCount(t,e&&e.length>0?e:[N.PRIVATE,N.GROUP,N.SYSTEM,N.PUBLIC_SERVICE],!!n)},t.prototype.getFirstUnreadMessage=function(t,e,n){return void 0===n&&(n=""),this._engine.getFirstUnreadMessage(t,e,n)},t.prototype.setConversationNotificationLevel=function(t,e,n,r){return void 0===r&&(r=""),I(this,void 0,void 0,(function(){var i;return M(this,(function(o){return i=[{conversationType:t,targetId:e,notificationLevel:n,channelId:r}],[2,this._engine.batchSetConversationStatus(i)]}))}))},t.prototype.setConversationStatus=function(t,e,n,r,i){if(void 0===i&&(i=""),t===N.ULTRA_GROUP&&void 0!==n)return Promise.resolve(q.METHOD_NOT_SUPPORT);var o=[{conversationType:t,targetId:e,isTop:n,notificationStatus:r,channelId:i}];return this._engine.batchSetConversationStatus(o)},t.prototype.saveConversationMessageDraft=function(t,e,n,r){return void 0===r&&(r=""),this._engine.saveConversationMessageDraft(t,e,n,r)},t.prototype.getConversationMessageDraft=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationMessageDraft(t,e,n)},t.prototype.clearConversationMessageDraft=function(t,e,n){return void 0===n&&(n=""),this._engine.clearConversationMessageDraft(t,e,n)},t.prototype.recallMessage=function(t,e,n,r,i){return this._engine.recallMsg(t,e,n,r,i)},t.prototype.deleteRemoteMessage=function(t,e,n,r){return void 0===r&&(r=""),t===N.ULTRA_GROUP?Promise.resolve(q.METHOD_NOT_SUPPORT):this._engine.deleteRemoteMessage(t,e,n,r)},t.prototype.deleteRemoteMessageByTimestamp=function(t,e,n,r){return void 0===r&&(r=""),this._engine.deleteRemoteMessageByTimestamp(t,e,n,r)},t.prototype.joinChatroom=function(t,e,n){return void 0===e&&(e=10),this._engine.joinChatroom(t,e,n)},t.prototype.joinExistChatroom=function(t,e,n){return void 0===e&&(e=10),this._engine.joinExistChatroom(t,e,n)},t.prototype.quitChatroom=function(t){return this._engine.quitChatroom(t)},t.prototype.getChatroomInfo=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=0),this._engine.getChatroomInfo(t,e,n)},t.prototype.setChatroomEntry=function(t,e){var n=e.key,r=e.value;return Le(n)&&Re(r)?this._engine.setChatroomEntry(t,e):Promise.resolve(q.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.setChatroomEntries=function(t,e){for(var n=0;n<e.entries.length;n++){var r=e.entries[n],i=r.key,o=r.value;if(!Le(i)||!Re(o))return Promise.resolve({code:q.BIZ_ERROR_INVALID_PARAMETER})}var s=m(m({},e),{isOverwrite:e.isForce});return this._engine.setChatroomEntries(t,s)},t.prototype.forceSetChatroomEntry=function(t,e){var n=e.key,r=e.value;return Le(n)&&Re(r)?this._engine.forceSetChatroomEntry(t,e):Promise.resolve(q.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.removeChatroomEntry=function(t,e){var n=e.key;return Le(n)?this._engine.removeChatroomEntry(t,e):Promise.resolve(q.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.removeChatroomEntries=function(t,e){for(var n=0;n<e.entries.length;n++){var r=e.entries[n].key;if(!Le(r))return Promise.resolve({code:q.BIZ_ERROR_INVALID_PARAMETER})}return this._engine.removeChatroomEntries(t,e)},t.prototype.forceRemoveChatroomEntry=function(t,e){var n=e.key;return Le(n)?this._engine.forceRemoveChatroomEntry(t,e):Promise.resolve(q.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.getChatroomEntry=function(t,e){return this._engine.getChatroomEntry(t,e)},t.prototype.getAllChatroomEntries=function(t){return this._engine.getAllChatroomEntry(t)},t.prototype.getChatroomHistoryMessages=function(t,e,n,r){return void 0===e&&(e=20),void 0===n&&(n=0),void 0===r&&(r=0),this._engine.getChatroomHistoryMessages(t,r,e,n)},t.prototype.getFileToken=function(t,e,n,r){return I(this,void 0,void 0,(function(){var i,o,s,a,c,u,l;return M(this,(function(f){switch(f.label){case 0:return i=this.getInfoFromCache(),o=(null==i?void 0:i.bosAddr)||"",s=(null==i?void 0:i.uploadServer)||"",a=(null==i?void 0:i.ossConfig)||"",[4,this._engine.getFileToken(t,e,n,r)];case 1:return c=f.sent(),u=c.code,l=c.data,u===q.SUCCESS&&l?[2,Promise.resolve(Object.assign(l,{bos:o,qiniu:s,ossConfig:a}))]:[2,Promise.reject(u)]}}))}))},t.prototype.getFileUrl=function(t,e,n,r,i){return void 0===i&&(i=lt.QINIU),I(this,void 0,void 0,(function(){var o,s,a;return M(this,(function(c){switch(c.label){case 0:return(null==r?void 0:r.isBosRes)?[2,Promise.resolve(r)]:[4,this._engine.getFileUrl(t,i,e,n)];case 1:return o=c.sent(),s=o.code,a=o.data,s===q.SUCCESS?[2,Promise.resolve(a)]:[2,Promise.reject(s)]}}))}))},t.prototype.createTag=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.createTag(t)]}))}))},t.prototype.removeTag=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.removeTag(t)]}))}))},t.prototype.updateTag=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.updateTag(t)]}))}))},t.prototype.getTagList=function(){return I(this,void 0,void 0,(function(){return M(this,(function(t){return[2,this._engine.getTagList()]}))}))},t.prototype.addTagForConversations=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return e.length>1e3?[2,Promise.reject(q.CONVER_OUT_LIMIT_ERROR)]:[2,this._engine.addTagForConversations(t,e)]}))}))},t.prototype.removeTagForConversations=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return[2,this._engine.removeTagForConversations(t,e)]}))}))},t.prototype.removeTagsForConversation=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return[2,this._engine.removeTagsForConversation(t,e)]}))}))},t.prototype.getConversationListByTag=function(t,e,n,r){return I(this,void 0,void 0,(function(){return M(this,(function(i){return[2,this._engine.getConversationListByTag(t,e,n,r)]}))}))},t.prototype.getUnreadCountByTag=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return[2,this._engine.getUnreadCountByTag(t,e)]}))}))},t.prototype.setConversationStatusInTag=function(t,e,n){return I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._engine.setConversationStatusInTag(t,e,n)]}))}))},t.prototype.getTagsForConversation=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.getTagsForConversation(t)]}))}))},t.prototype.getBlockConversationList=function(){return this._engine.getBlockConversationList()},t.prototype.getTopConversationList=function(){return this._engine.getTopConversationList()},t.prototype.getUnreadMentionedCount=function(t){return this._engine.getUnreadMentionedCount(t)},t.prototype.getAllUnreadMentionedCount=function(){return this._engine.getAllUnreadMentionedCount()},t.prototype.sendUltraGroupTypingStatus=function(t){if(t.conversationType!==N.ULTRA_GROUP){var e=q.METHOD_ONLY_SUPPORT_ULTRA_GROUP;return Promise.resolve({code:e,msg:q[e]})}return this._engine.sendUltraGroupTypingStatus(t)},t.prototype.getUltraGroupMessageListByMessageUId=function(t){return this._engine.getUltraGroupMessageListByMessageUId(t)},t.prototype.expandUltraMessage=function(t){return I(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return M(this,(function(c){switch(c.label){case 0:return e=t.conversationType,n=t.expansion,r=t.canIncludeExpansion,e!==N.ULTRA_GROUP?[2,{code:i=q.METHOD_ONLY_SUPPORT_ULTRA_GROUP,msg:q[i]}]:r?(o=Q(n),s=o.isIllgalEx,a=o.isExKeyOrValLengthExceedLimit,o.isExceedLimit||a?[2,{code:q.EXPANSION_LIMIT_EXCEET}]:s?[2,{code:q.BIZ_ERROR_INVALID_PARAMETER}]:[4,this._engine.expandUltraMessage(t)]):[2,{code:q.MESSAGE_KV_NOT_SUPPORT}];case 1:return[2,{code:c.sent().code}]}}))}))},t.prototype.modifyMessage=function(t){return I(this,void 0,void 0,(function(){var e;return M(this,(function(n){switch(n.label){case 0:return t.conversationType!==N.ULTRA_GROUP?[2,{code:e=q.METHOD_ONLY_SUPPORT_ULTRA_GROUP,msg:q[e]}]:[4,this._engine.modifyMessage(t)];case 1:return[2,{code:n.sent().code}]}}))}))},t.prototype.getUltraGroupUnreadMentionedCountByTargetId=function(t){return this._engine.getUltraGroupUnreadMentionedCountByTargetId(t)},t.prototype.getUltraGroupUnreadCountByTargetId=function(t){return this._engine.getUltraGroupUnreadCountByTargetId(t)},t.prototype.getAllUltraGroupUnreadCount=function(t){return void 0===t&&(t=!1),this._engine.getAllUltraGroupUnreadCount(t)},t.prototype.getAllConversationState=function(){return this._engine.getAllConversationState()},t.prototype.callExtra=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(e=this._engine).callExtra.apply(e,b([t],n,!1))},t.prototype.clearConversations=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){switch(n.label){case 0:return[4,this._engine.clearConversations(t,e)];case 1:return[2,n.sent()]}}))}))},t.prototype.setUserStatusListener=function(t,e){return this._engine.setUserStatusListener(t,(function(t){try{e(t)}catch(t){pe.error(t)}}))},t.prototype.addToBlacklist=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.addToBlacklist(t)]}))}))},t.prototype.removeFromBlacklist=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.removeFromBlacklist(t)]}))}))},t.prototype.getBlacklist=function(){return I(this,void 0,void 0,(function(){return M(this,(function(t){return[2,this._engine.getBlacklist()]}))}))},t.prototype.getBlacklistStatus=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.getBlacklistStatus(t)]}))}))},t.prototype.insertMessage=function(t,e,n){return I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._engine.insertMessage(t,e,n)]}))}))},t.prototype.deleteMessages=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.deleteMessages(t)]}))}))},t.prototype.deleteMessagesByTimestamp=function(t,e,n,r,i){return void 0===i&&(i=""),I(this,void 0,void 0,(function(){return M(this,(function(o){return[2,this._engine.deleteMessagesByTimestamp(t,e,n,r,i)]}))}))},t.prototype.clearMessages=function(t,e,n){return void 0===n&&(n=""),I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._engine.clearMessages(t,e,n)]}))}))},t.prototype.getMessage=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.getMessage(t)]}))}))},t.prototype.setMessageContent=function(t,e,n){return I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._engine.setMessageContent(t,e,n)]}))}))},t.prototype.setMessageSearchField=function(t,e,n){return I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._engine.setMessageSearchField(t,e,n)]}))}))},t.prototype.setMessageSentStatus=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return[2,this._engine.setMessageSentStatus(t,e)]}))}))},t.prototype.setMessageReceivedStatus=function(t,e){return I(this,void 0,void 0,(function(){return M(this,(function(n){return[2,this._engine.setMessageReceivedStatus(t,e)]}))}))},t.prototype.setMessageStatusToRead=function(t,e,n,r){return I(this,void 0,void 0,(function(){return M(this,(function(i){return[2,this._engine.updateMessageReceiptStatus(t,e,n,r)]}))}))},t.prototype.setUserStatus=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.setUserStatus(t)]}))}))},t.prototype.subscribeUserStatus=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.subscribeUserStatus(t)]}))}))},t.prototype.getUserStatus=function(t){return I(this,void 0,void 0,(function(){return M(this,(function(e){return[2,this._engine.getUserStatus(t)]}))}))},t.prototype.searchConversationByContent=function(t,e,n,r){return void 0===e&&(e=[]),void 0===n&&(n=""),I(this,void 0,void 0,(function(){return M(this,(function(i){return[2,this._engine.searchConversationByContent(t,e,n,r)]}))}))},t.prototype.searchConversationByContentWithAllChannel=function(t,e,n){return void 0===e&&(e=[]),I(this,void 0,void 0,(function(){return M(this,(function(r){return[2,this._engine.searchConversationByContentWithAllChannel(t,e,n)]}))}))},t.prototype.searchMessageByContent=function(t,e,n,r,i,o,s){return void 0===s&&(s=""),I(this,void 0,void 0,(function(){return M(this,(function(a){return[2,this._engine.searchMessageByContent(t,e,n,r,i,o,s)]}))}))},t.prototype.searchMessageByContentWithAllChannel=function(t,e,n,r,i){return I(this,void 0,void 0,(function(){return M(this,(function(o){return[2,this._engine.searchMessageByContentWithAllChannel(t,e,n,r,i)]}))}))},t.prototype.searchMessageByContentInTimeRangeWithAllChannel=function(t,e,n,r,i,o,s){return I(this,void 0,void 0,(function(){return M(this,(function(a){return[2,this._engine.searchMessageByContentInTimeRangeWithAllChannel(t,e,n,r,i,o,s)]}))}))},t.prototype.getUnreadMentionedMessages=function(t,e,n){return void 0===n&&(n=""),this._engine.getUnreadMentionedMessages(t,e,n)},t.prototype.clearUnreadCountByTimestamp=function(t,e,n,r){return void 0===r&&(r=""),this._engine.clearUnreadCountByTimestamp(t,e,n,r)},t.prototype.getUltraGroupDefaultNotificationLevel=function(t,e){return void 0===e&&(e=""),this._engine.getUltraGroupDefaultNotificationLevel(t,e)},t.prototype.setUltraGroupDefaultNotificationLevel=function(t,e,n){return void 0===n&&(n=""),this._engine.setUltraGroupDefaultNotificationLevel(t,e,n)},t.prototype.getConversationNotificationLevel=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationNotificationLevel(t,e,n)},t.prototype.getConversationNotificationStatus=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationNotificationStatus(t,e,n)},t.prototype.getRemoteHistoryMessages=function(t,e,n,r,i,o){return this._engine.getRemoteHistoryMessages(t,e,n,r,i,o)},t.prototype.getConversationListWithAllChannel=function(){return this._engine.getConversationListWithAllChannel()},t.prototype.getConversationListWithAllChannelByPage=function(t,e){return this._engine.getConversationListWithAllChannelByPage(t,e)},t.prototype.clearData=function(){return I(this,void 0,void 0,(function(){return M(this,(function(t){return[2,this._engine.clearData()]}))}))},t.prototype.joinRTCRoom=function(t,e,n,r,i,o){return this._engine.joinRTCRoom(t,e,n,r,i,o)},t.prototype.quitRTCRoom=function(t){return this._engine.quitRTCRoom(t)},t.prototype.rtcPing=function(t,e,n){return this._engine.rtcPing(t,e,n)},t.prototype.getRTCRoomInfo=function(t){return this._engine.getRTCRoomInfo(t)},t.prototype.getRTCUserInfoList=function(t){return this._engine.getRTCUserInfoList(t)},t.prototype.getRTCUserInfo=function(t){return this._engine.getRTCUserInfo(t)},t.prototype.setRTCUserInfo=function(t,e,n){return this._engine.setRTCUserInfo(t,e,n)},t.prototype.removeRTCUserInfo=function(t,e){return this._engine.removeRTCUserInfo(t,e)},t.prototype.setRTCData=function(t,e,n,r,i,o){return this._engine.setRTCData(t,e,n,r,i,o)},t.prototype.setRTCTotalRes=function(t,e,n,r,i){return void 0===i&&(i=""),this._engine.setRTCTotalRes(t,e,n,r,i)},t.prototype.setRTCCDNUris=function(t,e,n){return this._engine.setRTCCDNUris(t,e,n)},t.prototype.getRTCData=function(t,e,n,r){return this._engine.getRTCData(t,e,n,r)},t.prototype.removeRTCData=function(t,e,n,r,i){return this._engine.removeRTCData(t,e,n,r,i)},t.prototype.setRTCOutData=function(t,e,n,r){return this._engine.setRTCOutData(t,e,n,r)},t.prototype.getRTCOutData=function(t,e){return this._engine.getRTCOutData(t,e)},t.prototype.getRTCToken=function(t,e,n){return this._engine.getRTCToken(t,e,n)},t.prototype.setRTCState=function(t,e){return this._engine.setRTCState(t,e)},t.prototype.getRTCUserList=function(t){return this._engine.getRTCUserList(t)},t.prototype.joinLivingRoomAsAudience=function(t,e,n){return this._engine.joinLivingRoomAsAudience(t,e,n)},t.prototype.quitLivingRoomAsAudience=function(t){return this._engine.quitLivingRoomAsAudience(t)},t.prototype.rtcIdentityChange=function(t,e,n){return this._engine.rtcIdentityChange(t,e,n)},t.prototype.getRTCJoinedUserInfo=function(t){return this._engine.getRTCJoinedUserInfo(t)},t.prototype.requestRoomPK=function(t){return this._engine.requestRoomPK(t)},t.prototype.cancelRoomPK=function(t){return this._engine.cancelRoomPK(t)},t.prototype.responseRoomPK=function(t){return this._engine.responseRoomPK(t)},t.prototype.endRoomPK=function(t){return this._engine.endRoomPK(t)},t.prototype.bindRTCRoomForChatroom=function(t){return this._engine.bindRTCRoomForChatroom(t)},t}();!function(t){t[t.add=1]="add",t[t.update=2]="update",t[t.delete=3]="delete"}(us||(us={}))}).call(this,n("4362"))},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},9138:function(t,e,n){t.exports=n("35e8")},9152:function(t,e){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,u=c>>1,l=-7,f=n?i-1:0,h=n?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+t[e+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=u}return(d?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),e+=s+f>=1?h/c:h*Math.pow(2,1-f),e*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,i),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[n+d]=255&s,d+=p,s/=256,u-=8);t[n+d-p]|=128*g}},"91ca":function(t,e,n){var r=n("96fb"),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),c=i(2,-126),u=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),l=r(t);return i<c?l*u(i/c/s)*c*s:(e=(1+s/o)*i,n=e-(e-i),n>a||n!=n?l*(1/0):l*n)}},"91dd":function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var s={};if("string"!==typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var c=1e3;o&&"number"===typeof o.maxKeys&&(c=o.maxKeys);var u=t.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var f,h,d,p,g=t[l].replace(a,"%20"),v=g.indexOf(n);v>=0?(f=g.substr(0,v),h=g.substr(v+1)):(f=g,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),r(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},9253:function(t,e,n){var r=n("86cc"),i=n("11e9"),o=n("38fd"),s=n("69a8"),a=n("5ca1"),c=n("4630"),u=n("cb7c"),l=n("d3f4");function f(t,e,n){var a,h,d=arguments.length<4?t:arguments[3],p=i.f(u(t),e);if(!p){if(l(h=o(t)))return f(h,e,n,d);p=c(0)}if(s(p,"value")){if(!1===p.writable||!l(d))return!1;if(a=i.f(d,e)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,r.f(d,e,a)}else r.f(d,e,c(0,n));return!0}return void 0!==p.set&&(p.set.call(d,n),!0)}a(a.S,"Reflect",{set:f})},9275:function(t,e,n){var r=n("5ca1"),i=n("8b97");i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(n){return!1}}})},9278:function(t,e,n){var r=n("5ca1");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"92fa":function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var i,o,s,a,c;for(s in e)if(i=t[s],o=e[s],i&&n.test(s))if("class"===s&&("string"===typeof i&&(c=i,t[s]=i={},i[c]=!0),"string"===typeof o&&(c=o,e[s]=o={},o[c]=!0)),"on"===s||"nativeOn"===s||"hook"===s)for(a in o)i[a]=r(i[a],o[a]);else if(Array.isArray(i))t[s]=i.concat(o);else if(Array.isArray(o))t[s]=[i].concat(o);else for(a in o)i[a]=o[a];else t[s]=e[s];return t}),{})}},9306:function(t,e,n){"use strict";var r=n("8e60"),i=n("c3a1"),o=n("9aa9"),s=n("355d"),a=n("241e"),c=n("335c"),u=Object.assign;t.exports=!u||n("294c")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=a(t),u=arguments.length,l=1,f=o.f,h=s.f;while(u>l){var d,p=c(arguments[l++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},9427:function(t,e,n){var r=n("63b6");r(r.S,"Object",{create:n("a159")})},9619:function(t,e,n){var r=n("597f"),i=n("0e15");t.exports={throttle:r,debounce:i}},9675:function(t,e,n){"use strict";const r=n("52f6"),i=n("ef5d"),o=n("fb48");function s(t,e){switch(i(t)){case"object":return a(t,e);case"array":return c(t,e);default:return r(t)}}function a(t,e){if("function"===typeof e)return e(t);if(e||o(t)){const n=new t.constructor;for(let r in t)n[r]=s(t[r],e);return n}return t}function c(t,e){const n=new t.constructor(t.length);for(let r=0;r<t.length;r++)n[r]=s(t[r],e);return n}t.exports=s},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(x){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),s=new S(r||[]);return o._invoke=T(t,n,s),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(x){return{type:"throw",arg:x}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",g={};function v(){}function y(){}function m(){}var I={};c(I,o,(function(){return this}));var M=Object.getPrototypeOf,b=M&&M(M(O([])));b&&b!==n&&r.call(b,o)&&(I=b);var C=m.prototype=v.prototype=Object.create(I);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(i,o,s,a){var c=l(t[i],t,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,a)}),(function(t){n("throw",t,s,a)})):e.resolve(f).then((function(t){u.value=t,s(u)}),(function(t){return n("throw",t,s,a)}))}a(c.arg)}var i;function o(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}this._invoke=o}function T(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return D()}n.method=i,n.arg=o;while(1){var s=n.delegate;if(s){var a=w(s,n);if(a){if(a===g)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=l(t,e,n);if("normal"===c.type){if(r=n.done?p:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}function w(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,w(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=l(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var n=t[o];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,s=function n(){while(++i<t.length)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return s.next=s}}return{next:D}}function D(){return{value:e,done:!0}}return y.prototype=m,c(C,"constructor",m),c(m,"constructor",y),y.displayName=c(m,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,a,"GeneratorFunction")),t.prototype=Object.create(C),t},t.awrap=function(t){return{__await:t}},_(A.prototype),c(A.prototype,s,(function(){return this})),t.AsyncIterator=A,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var s=new A(u(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},_(C),c(C,a,"Generator"),c(C,o,(function(){return this})),c(C,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return a.type="throw",a.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var c=r.call(s,"catchLoc"),u=r.call(s,"finallyLoc");if(c&&u){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(c){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"96fb":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},9744:function(t,e,n){"use strict";var r=n("4588"),i=n("be13");t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},9865:function(t,e,n){"use strict";var r=n("5ca1"),i=n("6821"),o=n("4588"),s=n("9def"),a=[].lastIndexOf,c=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n("2f21")(a)),"Array",{lastIndexOf:function(t){if(c)return a.apply(this,arguments)||0;var e=i(this),n=s(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},"988d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("be13"),o=n("9def"),s=n("aae3"),a=n("0bfb"),c=RegExp.prototype,u=function(t,e){this._r=t,this._s=e};n("41a0")(u,"RegExp String",(function(){var t=this._r.exec(this._s);return{value:t,done:null===t}})),r(r.P,"String",{matchAll:function(t){if(i(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in c?String(t.flags):a.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new u(r,e)}})},"990b":function(t,e,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),s=n("7726").Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},9986:function(t,e,n){var r=n("6821"),i=n("11e9").f;n("5eda")("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},"99c5":function(t,e,n){n("c6a1")("Set")},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9aea":function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("preventExtensions",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c00":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o+(r>>>0)+((i&s|(i|s)&~(i+s>>>0))>>>31)|0}})},"9c12":function(t,e,n){var r=n("d3f4"),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},"9c29":function(t,e,n){n("ec30")("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9c86":function(t,e,n){"use strict";n("386b")("big",(function(t){return function(){return t(this,"big","","")}}))},"9d98":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperties:n("7e90")})},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9e6a":function(t,e,n){"use strict";var r=n("d233"),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"===typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",f=function(t,e){var n,f={},h=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,p=h.split(e.delimiter,d),g=-1,v=e.charset;if(e.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&(p[n]===l?v="utf-8":p[n]===u&&(v="iso-8859-1"),g=n,n=p.length);for(n=0;n<p.length;++n)if(n!==g){var y,m,I=p[n],M=I.indexOf("]="),b=-1===M?I.indexOf("="):M+1;-1===b?(y=e.decoder(I,s.decoder,v,"key"),m=e.strictNullHandling?null:""):(y=e.decoder(I.slice(0,b),s.decoder,v,"key"),m=r.maybeMap(c(I.slice(b+1),e),(function(t){return e.decoder(t,s.decoder,v,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===v&&(m=a(m)),I.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(f,y)?f[y]=r.combine(f[y],m):f[y]=m}return f},h=function(t,e,n,r){for(var i=r?e:c(e,n),o=t.length-1;o>=0;--o){var s,a=t[o];if("[]"===a&&n.parseArrays)s=[].concat(i);else{s=n.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&a!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(s=[],s[l]=i):"__proto__"!==u&&(s[u]=i):s={0:i}}i=s}return i},d=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&s.exec(o),u=c?o.slice(0,c.index):o,l=[];if(u){if(!n.plainObjects&&i.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}var f=0;while(n.depth>0&&null!==(c=a.exec(o))&&f<n.depth){if(f+=1,!n.plainObjects&&i.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+o.slice(c.index)+"]"),h(l,e,n,r)}},p=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!==typeof t.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e="undefined"===typeof t.charset?s.charset:t.charset;return{allowDots:"undefined"===typeof t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"===typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"===typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"===typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"===typeof t.comma?t.comma:s.comma,decoder:"function"===typeof t.decoder?t.decoder:s.decoder,delimiter:"string"===typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"===typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"===typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"===typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}};t.exports=function(t,e){var n=p(e);if(""===t||null===t||"undefined"===typeof t)return n.plainObjects?Object.create(null):{};for(var i="string"===typeof t?f(t,n):t,o=n.plainObjects?Object.create(null):{},s=Object.keys(i),a=0;a<s.length;++a){var c=s[a],u=d(c,i[c],n,"string"===typeof t);o=r.merge(o,u,n)}return!0===n.allowSparse?o:r.compact(o)}},"9ec8":function(t,e,n){"use strict";n("386b")("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},"9f3c":function(t,e,n){var r=n("5ca1"),i=n("2d5c");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},a032:function(t,e,n){"use strict";var r=n("5ca1"),i=n("02f4")(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},a0d3:function(t,e,n){"use strict";var r=n("0f7c");t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},a142:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"h",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return l})),n.d(e,"a",(function(){return f}));var r=n("2b0e"),i="undefined"!==typeof window,o=r["default"].prototype.$isServer;function s(){}function a(t){return void 0!==t&&null!==t}function c(t){return"function"===typeof t}function u(t){return null!==t&&"object"===typeof t}function l(t){return u(t)&&c(t.then)&&c(t.catch)}function f(t,e){var n=e.split("."),r=t;return n.forEach((function(t){var e;r=null!=(e=r[t])?e:""})),r}},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},a15e:function(t,e,n){"use strict";n.r(e);var r=n("41b2"),i=n.n(r),o=n("1098"),s=n.n(o),a=/%[sdj%]/g,c=function(){};function u(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=1,i=e[0],o=e.length;if("function"===typeof i)return i.apply(null,e.slice(1));if("string"===typeof i){for(var s=String(i).replace(a,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(e[r++]);case"%d":return Number(e[r++]);case"%j":try{return JSON.stringify(e[r++])}catch(n){return"[Circular]"}break;default:return t}})),c=e[r];r<o;c=e[++r])s+=" "+c;return s}return i}function l(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"pattern"===t}function f(t,e){return void 0===t||null===t||(!("array"!==e||!Array.isArray(t)||t.length)||!(!l(e)||"string"!==typeof t||t))}function h(t,e,n){var r=[],i=0,o=t.length;function s(t){r.push.apply(r,t),i++,i===o&&n(r)}t.forEach((function(t){e(t,s)}))}function d(t,e,n){var r=0,i=t.length;function o(s){if(s&&s.length)n(s);else{var a=r;r+=1,a<i?e(t[a],o):n([])}}o([])}function p(t){var e=[];return Object.keys(t).forEach((function(n){e.push.apply(e,t[n])})),e}function g(t,e,n,r){if(e.first){var i=p(t);return d(i,n,r)}var o=e.firstFields||[];!0===o&&(o=Object.keys(t));var s=Object.keys(t),a=s.length,c=0,u=[],l=function(t){u.push.apply(u,t),c++,c===a&&r(u)};s.forEach((function(e){var r=t[e];-1!==o.indexOf(e)?d(r,n,l):h(r,n,l)}))}function v(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:e,field:e.field||t.fullField}}}function y(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];"object"===("undefined"===typeof r?"undefined":s()(r))&&"object"===s()(t[n])?t[n]=i()({},t[n],r):t[n]=r}return t}function m(t,e,n,r,i,o){!t.required||n.hasOwnProperty(t.field)&&!f(e,o||t.type)||r.push(u(i.messages.required,t.fullField))}var I=m;function M(t,e,n,r,i){(/^\s+$/.test(e)||""===e)&&r.push(u(i.messages.whitespace,t.fullField))}var b=M,C={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_={integer:function(t){return _.number(t)&&parseInt(t,10)===t},float:function(t){return _.number(t)&&!_.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){return!1}},date:function(t){return"function"===typeof t.getTime&&"function"===typeof t.getMonth&&"function"===typeof t.getYear},number:function(t){return!isNaN(t)&&"number"===typeof t},object:function(t){return"object"===("undefined"===typeof t?"undefined":s()(t))&&!_.array(t)},method:function(t){return"function"===typeof t},email:function(t){return"string"===typeof t&&!!t.match(C.email)&&t.length<255},url:function(t){return"string"===typeof t&&!!t.match(C.url)},hex:function(t){return"string"===typeof t&&!!t.match(C.hex)}};function A(t,e,n,r,i){if(t.required&&void 0===e)I(t,e,n,r,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;o.indexOf(a)>-1?_[a](e)||r.push(u(i.messages.types[a],t.fullField,t.type)):a&&("undefined"===typeof e?"undefined":s()(e))!==t.type&&r.push(u(i.messages.types[a],t.fullField,t.type))}}var T=A;function w(t,e,n,r,i){var o="number"===typeof t.len,s="number"===typeof t.min,a="number"===typeof t.max,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,f=null,h="number"===typeof e,d="string"===typeof e,p=Array.isArray(e);if(h?f="number":d?f="string":p&&(f="array"),!f)return!1;p&&(l=e.length),d&&(l=e.replace(c,"_").length),o?l!==t.len&&r.push(u(i.messages[f].len,t.fullField,t.len)):s&&!a&&l<t.min?r.push(u(i.messages[f].min,t.fullField,t.min)):a&&!s&&l>t.max?r.push(u(i.messages[f].max,t.fullField,t.max)):s&&a&&(l<t.min||l>t.max)&&r.push(u(i.messages[f].range,t.fullField,t.min,t.max))}var E=w,N="enum";function S(t,e,n,r,i){t[N]=Array.isArray(t[N])?t[N]:[],-1===t[N].indexOf(e)&&r.push(u(i.messages[N],t.fullField,t[N].join(", ")))}var O=S;function D(t,e,n,r,i){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||r.push(u(i.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"===typeof t.pattern){var o=new RegExp(t.pattern);o.test(e)||r.push(u(i.messages.pattern.mismatch,t.fullField,e,t.pattern))}}var x=D,L={required:I,whitespace:b,type:T,range:E,enum:O,pattern:x};function R(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e,"string")&&!t.required)return n();L.required(t,e,r,o,i,"string"),f(e,"string")||(L.type(t,e,r,o,i),L.range(t,e,r,o,i),L.pattern(t,e,r,o,i),!0===t.whitespace&&L.whitespace(t,e,r,o,i))}n(o)}var j=R;function k(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var P=k;function U(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var z=U;function B(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var G=B;function Y(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),f(e)||L.type(t,e,r,o,i)}n(o)}var $=Y;function H(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var F=H;function V(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var Q=V;function W(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e,"array")&&!t.required)return n();L.required(t,e,r,o,i,"array"),f(e,"array")||(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var Z=W;function K(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var q=K,J="enum";function X(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),e&&L[J](t,e,r,o,i)}n(o)}var tt=X;function et(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e,"string")&&!t.required)return n();L.required(t,e,r,o,i),f(e,"string")||L.pattern(t,e,r,o,i)}n(o)}var nt=et;function rt(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();if(L.required(t,e,r,o,i),!f(e)){var a=void 0;a="number"===typeof e?new Date(e):e,L.type(t,a,r,o,i),a&&L.range(t,a.getTime(),r,o,i)}}n(o)}var it=rt;function ot(t,e,n,r,i){var o=[],a=Array.isArray(e)?"array":"undefined"===typeof e?"undefined":s()(e);L.required(t,e,r,o,i,a),n(o)}var st=ot;function at(t,e,n,r,i){var o=t.type,s=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e,o)&&!t.required)return n();L.required(t,e,r,s,i,o),f(e,o)||L.type(t,e,r,s,i)}n(s)}var ct=at,ut={string:j,method:P,number:z,boolean:G,regexp:$,integer:F,float:Q,array:Z,object:q,enum:tt,pattern:nt,date:it,url:ct,hex:ct,email:ct,required:st};function lt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ft=lt();function ht(t){this.rules=null,this._messages=ft,this.define(t)}ht.prototype={messages:function(t){return t&&(this._messages=y(lt(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof t?"undefined":s()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],o=t,a=n,l=r;if("function"===typeof a&&(l=a,a={}),this.rules&&0!==Object.keys(this.rules).length){if(a.messages){var f=this.messages();f===ft&&(f=lt()),y(f,a.messages),a.messages=f}else a.messages=this.messages();var h=void 0,d=void 0,p={},m=a.keys||Object.keys(this.rules);m.forEach((function(n){h=e.rules[n],d=o[n],h.forEach((function(r){var s=r;"function"===typeof s.transform&&(o===t&&(o=i()({},o)),d=o[n]=s.transform(d)),s="function"===typeof s?{validator:s}:i()({},s),s.validator=e.getValidationMethod(s),s.field=n,s.fullField=s.fullField||n,s.type=e.getType(s),s.validator&&(p[n]=p[n]||[],p[n].push({rule:s,value:d,source:o,field:n}))}))}));var I={};g(p,a,(function(t,e){var n=t.rule,r=("object"===n.type||"array"===n.type)&&("object"===s()(n.fields)||"object"===s()(n.defaultField));function o(t,e){return i()({},e,{fullField:n.fullField+"."+t})}function l(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=s;if(Array.isArray(l)||(l=[l]),l.length&&c("async-validator:",l),l.length&&n.message&&(l=[].concat(n.message)),l=l.map(v(n)),a.first&&l.length)return I[n.field]=1,e(l);if(r){if(n.required&&!t.value)return l=n.message?[].concat(n.message).map(v(n)):a.error?[a.error(n,u(a.messages.required,n.field))]:[],e(l);var f={};if(n.defaultField)for(var h in t.value)t.value.hasOwnProperty(h)&&(f[h]=n.defaultField);for(var d in f=i()({},f,t.rule.fields),f)if(f.hasOwnProperty(d)){var p=Array.isArray(f[d])?f[d]:[f[d]];f[d]=p.map(o.bind(null,d))}var g=new ht(f);g.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),g.validate(t.value,t.rule.options||a,(function(t){e(t&&t.length?l.concat(t):t)}))}else e(l)}r=r&&(n.required||!n.required&&t.value),n.field=t.field;var f=n.validator(n,t.value,l,t.source,a);f&&f.then&&f.then((function(){return l()}),(function(t){return l(t)}))}),(function(t){M(t)}))}else l&&l();function M(t){var e=void 0,n=void 0,r=[],i={};function o(t){Array.isArray(t)?r=r.concat.apply(r,t):r.push(t)}for(e=0;e<t.length;e++)o(t[e]);if(r.length)for(e=0;e<r.length;e++)n=r[e].field,i[n]=i[n]||[],i[n].push(r[e]);else r=null,i=null;l(r,i)}},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!==typeof t.validator&&t.type&&!ut.hasOwnProperty(t.type))throw new Error(u("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"===typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?ut.required:ut[this.getType(t)]||!1}},ht.register=function(t,e){if("function"!==typeof e)throw new Error("Cannot register a validator by type, validator is not a function");ut[t]=e},ht.messages=ft;e["default"]=ht},a19f:function(t,e,n){var r=n("5ca1"),i=n("cb7c"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(e){return!1}}})},a22a:function(t,e,n){var r=n("d864"),i=n("b0dc"),o=n("3702"),s=n("e4ae"),a=n("b447"),c=n("7cd6"),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,g,v,y=h?function(){return t}:c(t),m=r(n,f,e?2:1),I=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=a(t.length);d>I;I++)if(v=e?m(s(p=t[I])[0],p[1]):m(t[I]),v===u||v===l)return v}else for(g=y.call(t);!(p=g.next()).done;)if(v=i(g,m,p.value,e),v===u||v===l)return v};e.BREAK=u,e.RETURN=l},a234:function(t,e,n){var r=n("5ca1");r(r.S,"System",{global:n("7726")})},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a3c3:function(t,e,n){var r=n("63b6");r(r.S+r.F,"Object",{assign:n("9306")})},a3de:function(t,e,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},a471:function(t,e,n){!function(e,r){t.exports=r(n("5a0c"))}(0,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(t,e){return"W"===e?t+"周":t+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(t,e){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(r,null,!0),r}))},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,g){return[function(r,i){var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=g(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),d="function"===typeof e;d||(e=String(e));var y=f.global;if(y){var m=f.unicode;f.lastIndex=0}var I=[];while(1){var M=c(f,h);if(null===M)break;if(I.push(M),!y)break;var b=String(M[0]);""===b&&(f.lastIndex=a(h,o(f.lastIndex),m))}for(var C="",_=0,A=0;A<I.length;A++){M=I[A];for(var T=String(M[0]),w=u(l(s(M.index),h.length),0),E=[],N=1;N<M.length;N++)E.push(p(M[N]));var S=M.groups;if(d){var O=[T].concat(E,w,h);void 0!==S&&O.push(S);var D=String(e.apply(void 0,O))}else D=v(T,h,w,E,S,e);w>=_&&(C+=h.slice(_,w)+D,_=w+T.length)}return C+h.slice(_)}];function v(t,e,r,o,s,a){var c=r+t.length,u=o.length,l=d;return void 0!==s&&(s=i(s),l=h),n.call(a,l,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":a=s[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}a=o[l-1]}return void 0===a?"":a}))}}))},a4bb:function(t,e,n){t.exports=n("8aae")},a5b2:function(t,e,n){t.exports=n("aa28")},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},a5d8:function(t,e,n){},a69f:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},a745:function(t,e,n){t.exports=n("f410")},a753:function(t,e,n){},a78e:function(t,e,n){var r,i; /*! * JavaScript Cookie v2.2.0 * https://github.com/js-cookie/js-cookie * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license */(function(o){var s=!1;if(r=o,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i),s=!0,t.exports=o(),s=!0,!s){var a=window.Cookies,c=window.Cookies=o();c.noConflict=function(){return window.Cookies=a,c}}})((function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(n){function r(e,i,o){var s;if("undefined"!==typeof document){if(arguments.length>1){if(o=t({path:"/"},r.defaults,o),"number"===typeof o.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*o.expires),o.expires=a}o.expires=o.expires?o.expires.toUTCString():"";try{s=JSON.stringify(i),/^[\{\[]/.test(s)&&(i=s)}catch(v){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape);var c="";for(var u in o)o[u]&&(c+="; "+u,!0!==o[u]&&(c+="="+o[u]));return document.cookie=e+"="+i+c}e||(s={});for(var l=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,h=0;h<l.length;h++){var d=l[h].split("="),p=d.slice(1).join("=");this.json||'"'!==p.charAt(0)||(p=p.slice(1,-1));try{var g=d[0].replace(f,decodeURIComponent);if(p=n.read?n.read(p,g):n(p,g)||p.replace(f,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(v){}if(e===g){s=p;break}e||(s[g]=p)}catch(v){}}return s}}return r.set=r,r.get=function(t){return r.call(r,t)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(e,n){r(e,"",t(n,{expires:-1}))},r.withConverter=e,r}return e((function(){}))}))},a832:function(t,e,n){"use strict"; /*! * isobject <https://github.com/jonschlinkert/isobject> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */t.exports=function(t){return null!=t&&"object"===typeof t&&!1===Array.isArray(t)}},a8c1:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return c}));var r=/scroll|auto|overlay/i;function i(t,e){void 0===e&&(e=window);var n=t;while(n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e){var i=window.getComputedStyle(n),o=i.overflowY;if(r.test(o))return n;n=n.parentNode}return e}function o(t){var e="scrollTop"in t?t.scrollTop:t.pageYOffset;return Math.max(e,0)}function s(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function a(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function c(t){s(window,t),s(document.body,t)}},a8db:function(t,e,n){"use strict";var r=n("e265"),i=n.n(r),o=n("a4bb"),s=n.n(o);function a(t,e){if(null==t)return{};var n,r,i={},o=s()(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}function c(t,e){if(null==t)return{};var n,r,o=a(t,e);if(i.a){var s=i()(t);for(r=0;r<s.length;r++)n=s[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",(function(){return c}))},a9cc:function(t,e,n){"use strict";var r=n("5ca1"),i=n("a5b8"),o=n("9c80");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},aa28:function(t,e,n){n("733c"),t.exports=n("584a").Reflect.construct},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",c=" ",u=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(t,e,n){var i={},a=o((function(){return!!s[t]()||c[t]()!=c})),u=i[t]=a?e(h):s[t];n&&(i[n]=u),r(r.P+r.F*a,"String",i)},h=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},aba2:function(t,e,n){var r=n("e53d"),i=n("4178").set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n("6b4c")(s);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=s.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},abd7:function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},ac4d:function(t,e,n){n("3a72")("asyncIterator")},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={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=i(d),g=0;g<p.length;g++){var v,y=p[g],m=d[y],I=s[y],M=I&&I.prototype;if(M&&(M[l]||a(M,l,h),M[f]||a(M,f,y),c[y]=h,m))for(v in r)M[v]||o(M,v,r[v],!0)}},ad06:function(t,e,n){"use strict";var r=n("2638"),i=n.n(r),o=n("d282"),s=n("ea8e"),a=n("ba31"),c=n("a142"),u=Object(o["a"])("info"),l=u[0],f=u[1];function h(t,e,n,r){var o=e.dot,s=e.info,u=Object(c["c"])(s)&&""!==s;if(o||u)return t("div",i()([{class:f({dot:o})},Object(a["b"])(r,!0)]),[o?"":e.info])}h.props={dot:Boolean,info:[Number,String]};var d=l(h),p=Object(o["a"])("icon"),g=p[0],v=p[1];function y(t){return!!t&&-1!==t.indexOf("/")}var m={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function I(t){return t&&m[t]||t}function M(t,e,n,r){var o,c=I(e.name),u=y(c);return t(e.tag,i()([{class:[e.classPrefix,u?"":e.classPrefix+"-"+c],style:{color:e.color,fontSize:Object(s["a"])(e.size)}},Object(a["b"])(r,!0)]),[n.default&&n.default(),u&&t("img",{class:v("image"),attrs:{src:c}}),t(d,{attrs:{dot:e.dot,info:null!=(o=e.badge)?o:e.info}})])}M.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:v()}};e["a"]=g(M)},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},aef6:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),s="endsWith",a=""[s];r(r.P+r.F*n("5147")(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),c=void 0===n?r:Math.min(i(n),r),u=String(t);return a?a.call(e,u,c):e.slice(c-u.length,c)===u}})},af56:function(t,e,n){n("ec30")("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b05c:function(t,e,n){n("ec30")("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b0b4:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("85f2"),i=n.n(r);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),i()(t,r.key,r)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),i()(t,"prototype",{writable:!1}),t}},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b0dc:function(t,e,n){var r=n("e4ae");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(s){var o=t["return"];throw void 0!==o&&r(o.call(t)),s}}},b1b1:function(t,e,n){var r=n("5ca1"),i=n("9c12"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},b313:function(t,e,n){"use strict";var r=String.prototype.replace,i=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:function(t){return r.call(t,i,"+")},RFC3986:function(t){return String(t)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},b375:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}}}))},b383:function(t,e,n){"use strict";e.decode=e.parse=n("91dd"),e.encode=e.stringify=n("e099")},b39a:function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b4c2:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{imulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>16,c=i>>16,u=(a*s>>>0)+(o*s>>>16);return a*c+(u>>16)+((o*c>>>0)+(u&n)>>16)}})},b50d:function(t,e,n){"use strict";var r=n("c532"),i=n("467f"),o=n("30b5"),s=n("c345"),a=n("3934"),c=n("2d83");t.exports=function(t){return new Promise((function(e,u){var l=t.data,f=t.headers;r.isFormData(l)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",p=t.auth.password||"";f.Authorization="Basic "+btoa(d+":"+p)}if(h.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,o={data:r,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};i(e,u,o),h=null}},h.onerror=function(){u(c("Network Error",t,null,h)),h=null},h.ontimeout=function(){u(c("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=n("7aac"),v=(t.withCredentials||a(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;v&&(f[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&r.forEach(f,(function(t,e){"undefined"===typeof l&&"content-type"===e.toLowerCase()?delete f[e]:h.setRequestHeader(e,t)})),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(y){if("json"!==t.responseType)throw y}"function"===typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),u(t),h=null)})),void 0===l&&(l=null),h.send(l)}))}},b54a:function(t,e,n){"use strict";n("386b")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},b639:function(t,e,n){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <http://feross.org> * @license MIT */ var r=n("1fb5"),i=n("9152"),o=n("e3db");function s(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return l(this,t,e,n)}function l(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?v(t,e,n,r):"string"===typeof e?p(t,e,n):y(t,e)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e,n,r){return f(e),e<=0?c(t,e):void 0!==n?"string"===typeof r?c(t,e).fill(n,r):c(t,e).fill(n):c(t,e)}function d(t,e){if(f(e),t=c(t,e<0?0:0|m(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function p(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|M(e,n);t=c(t,r);var i=t.write(e,n);return i!==r&&(t=t.slice(0,i)),t}function g(t,e){var n=e.length<0?0:0|m(e.length);t=c(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function v(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=g(t,e),t}function y(t,e){if(u.isBuffer(e)){var n=0|m(e.length);return t=c(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?c(t,0):g(t,e);if("Buffer"===e.type&&o(e.data))return g(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function I(t){return+t!=t&&(t=0),u.alloc(+t)}function M(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(r)return K(t).length;e=(""+e).toLowerCase(),r=!0}}function b(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return x(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return k(this,e,n);case"base64":return D(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function C(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:A(t,e,n,r,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):A(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function A(t,e,n,r,i){var o,s=1,a=t.length,c=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var l=-1;for(o=n;o<a;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*s}else-1!==l&&(o-=o-l),l=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(t,o+h)!==u(e,h)){f=!1;break}if(f)return o}return-1}function T(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function w(t,e,n,r){return tt(K(e,t.length-n),t,n,r)}function E(t,e,n,r){return tt(q(e),t,n,r)}function N(t,e,n,r){return E(t,e,n,r)}function S(t,e,n,r){return tt(X(e),t,n,r)}function O(t,e,n,r){return tt(J(e,t.length-n),t,n,r)}function D(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function x(t,e,n){n=Math.min(t.length,n);var r=[],i=e;while(i<n){var o,s,a,c,u=t[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:o=t[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(l=c));break;case 3:o=t[i+1],s=t[i+2],128===(192&o)&&128===(192&s)&&(c=(15&u)<<12|(63&o)<<6|63&s,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return R(r)}e.Buffer=u,e.SlowBuffer=I,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),e.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return l(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return h(null,t,e,n)},u.allocUnsafe=function(t){return d(null,t)},u.allocUnsafeSlow=function(t){return d(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=u.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!u.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},u.byteLength=M,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)C(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?x(this,0,t):b.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,s=n-e,a=Math.min(o,s),c=this.slice(r,i),l=t.slice(e,n),f=0;f<a;++f)if(c[f]!==l[f]){o=c[f],s=l[f];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return _(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return _(this,t,e,n,!1)},u.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":return E(this,t,e,n);case"latin1":case"binary":return N(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function R(t){var e=t.length;if(e<=L)return String.fromCharCode.apply(String,t);var n="",r=0;while(r<e)n+=String.fromCharCode.apply(String,t.slice(r,r+=L));return n}function j(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function k(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function P(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=Z(t[o]);return i}function U(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function z(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function G(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Y(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function $(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function H(t,e,n,r,o){return o||$(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||$(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=u.prototype;else{var i=e-t;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return r},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=this[t+--e],i=1;while(e>0&&(i*=256))r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||z(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||z(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||z(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||z(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||z(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||z(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||z(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||z(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||z(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||z(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||z(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;B(this,t,e,n,i,0)}var o=1,s=0;this[e]=255&t;while(++s<n&&(o*=256))this[e+s]=t/o&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;B(this,t,e,n,i,0)}var o=n-1,s=1;this[e+o]=255&t;while(--o>=0&&(s*=256))this[e+o]=t/s&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Y(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;this[e]=255&t;while(++o<n&&(s*=256))t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;this[e+o]=255&t;while(--o>=0&&(s*=256))t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Y(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return H(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return H(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.prototype.fill=function(t,e,n,r){if("string"===typeof t){if("string"===typeof e?(r=e,e=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=u.isBuffer(t)?t:K(new u(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var V=/[^+\/0-9A-Za-z-_]/g;function Q(t){if(t=W(t).replace(V,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Z(t){return t<16?"0"+t.toString(16):t.toString(16)}function K(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],s=0;s<r;++s){if(n=t.charCodeAt(s),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function J(t,e){for(var n,r,i,o=[],s=0;s<t.length;++s){if((e-=2)<0)break;n=t.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function X(t){return r.toByteArray(Q(t))}function tt(t,e,n,r){for(var i=0;i<r;++i){if(i+n>=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n("c8ba"))},b6e4:function(t,e,n){n("ec30")("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b72c:function(t,e,n){var r=n("5ca1"),i=n("d752");r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},b749:function(t,e,n){"use strict";(function(){if("undefined"!==typeof window){var t,e="ontouchstart"in window;document.createTouch||(document.createTouch=function(t,e,r,i,o,s,a){return new n(e,r,{pageX:i,pageY:o,screenX:s,screenY:a,clientX:i-window.pageXOffset,clientY:o-window.pageYOffset},0,0)}),document.createTouchList||(document.createTouchList=function(){for(var t=i(),e=0;e<arguments.length;e++)t[e]=arguments[e];return t.length=arguments.length,t}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var n=function(t,e,n,r,i){r=r||0,i=i||0,this.identifier=e,this.target=t,this.clientX=n.clientX+r,this.clientY=n.clientY+i,this.screenX=n.screenX+r,this.screenY=n.screenY+i,this.pageX=n.pageX+r,this.pageY=n.pageY+i},r=!1;u["multiTouchOffset"]=75,e||new u}function i(){var t=[];return t["item"]=function(t){return this[t]||null},t["identifiedTouch"]=function(t){return this[t+1]||null},t}function o(e){return function(n){"mousedown"===n.type&&(r=!0),"mouseup"===n.type&&(r=!1),("mousemove"!==n.type||r)&&(("mousedown"===n.type||!t||t&&!t.dispatchEvent)&&(t=n.target),null==t.closest("[data-no-touch-simulate]")&&s(e,n),"mouseup"===n.type&&(t=null))}}function s(e,n){var r=document.createEvent("Event");r.initEvent(e,!0,!0),r.altKey=n.altKey,r.ctrlKey=n.ctrlKey,r.metaKey=n.metaKey,r.shiftKey=n.shiftKey,r.touches=c(n),r.targetTouches=c(n),r.changedTouches=a(n),t.dispatchEvent(r)}function a(e){var r=i();return r.push(new n(t,1,e,0,0)),r}function c(t){return"mouseup"===t.type?i():a(t)}function u(){window.addEventListener("mousedown",o("touchstart"),!0),window.addEventListener("mousemove",o("touchmove"),!0),window.addEventListener("mouseup",o("touchend"),!0)}})()},b80b:function(t,e,n){var r=n("4f7f"),i=n("4379"),o=n("37a7"),s=n("cb7c"),a=n("38fd"),c=o.keys,u=o.key,l=function(t,e){var n=c(t,e),o=a(t);if(null===o)return n;var s=l(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return l(s(t),arguments.length<2?void 0:u(arguments[1]))}})},b8e3:function(t,e){t.exports=!0},b9a1:function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99"),s=n("38fd"),a=n("11e9").f;n("9e1e")&&r(r.P+n("c5b4"),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.get}while(n=s(n))}})},ba16:function(t,e,n){var r=n("5ca1"),i=n("11e9").f,o=n("cb7c");r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},ba31:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return u}));var r=n("c31d"),i=n("2b0e"),o=["ref","key","style","class","attrs","refInFor","nativeOn","directives","staticClass","staticStyle"],s={nativeOn:"on"};function a(t,e){var n=o.reduce((function(e,n){return t.data[n]&&(e[s[n]||n]=t.data[n]),e}),{});return e&&(n.on=n.on||{},Object(r["a"])(n.on,t.data.on)),n}function c(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=t.listeners[e];o&&(Array.isArray(o)?o.forEach((function(t){t.apply(void 0,r)})):o.apply(void 0,r))}function u(t,e){var n=new i["default"]({el:document.createElement("div"),props:t.props,render:function(n){return n(t,Object(r["a"])({props:this.$props},e))}});return document.body.appendChild(n.$el),n}},ba92:function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),c=i(e,s),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?s:i(u,s))-c,s-a),f=1;c<a&&a<c+l&&(f=-1,c+=l-1,a+=l-1);while(l-- >0)c in n?n[a]=n[c]:delete n[a],a+=f,c+=f;return n}},ba99:function(t,e,n){var r=n("6abf"),i=n("9aa9"),o=n("e4ae"),s=n("e53d").Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},bc13:function(t,e,n){var r=n("e53d"),i=r.navigator;t.exports=i&&i.userAgent||""},bc3a:function(t,e,n){t.exports=n("cee4")},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},bd86:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("85f2"),i=n.n(r);function o(t,e,n){return e in t?i()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},bdd1:function(t,e,n){n("c6a1")("WeakSet")},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bef9:function(t,e,n){var r=n("2d95");t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},bf0b:function(t,e,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),s=n("1bc3"),a=n("07e3"),c=n("794b"),u=Object.getOwnPropertyDescriptor;e.f=n("8e60")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},bf90:function(t,e,n){var r=n("36c3"),i=n("bf0b").f;n("ce7e")("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},c02b:function(t,e,n){"use strict";var r=n("643e"),i=n("b39a"),o="WeakSet";n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t,!0)}},r,!1,!0)},c098:function(t,e,n){t.exports=n("d4af")},c189:function(t,e,n){"use strict";var r=n("79aa"),i=n("f772"),o=n("3024"),s=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function(){var r=n.concat(s.call(arguments));return this instanceof a?c(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},c207:function(t,e){},c26b:function(t,e,n){"use strict";var r=n("86cc").f,i=n("2aeb"),o=n("dcbc"),s=n("9b43"),a=n("f605"),c=n("4a59"),u=n("01f9"),l=n("d53b"),f=n("7a56"),h=n("9e1e"),d=n("67ab").fastKey,p=n("b39a"),g=h?"_s":"size",v=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){a(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&c(r,n,t[u],t)}));return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=p(this,e),r=v(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(t){p(this,e);var n,r=s(t,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!v(p(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return p(this,e)[g]}}),l},def:function(t,e,n){var r,i,o=v(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},c31d:function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,"a",(function(){return r}))},c345:function(t,e,n){"use strict";var r=n("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),s=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c401:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},c45f:function(t,e,n){"use strict";var r=n("1169"),i=n("d3f4"),o=n("9def"),s=n("9b43"),a=n("2b4c")("isConcatSpreadable");function c(t,e,n,u,l,f,h,d){var p,g,v=l,y=0,m=!!h&&s(h,d,3);while(y<u){if(y in n){if(p=m?m(n[y],y,e):n[y],g=!1,i(p)&&(g=p[a],g=void 0!==g?!!g:r(p)),g&&f>0)v=c(t,e,p,o(p.length),v,f-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=p}v++}y++}return v}t.exports=c},c4d8:function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var s=o(n("9675")),a=o(n("d540")),c=n("3b74"),u=Array.isArray;function l(t){var e=void 0===t?{}:t,n=e.customizeArray,o=e.customizeObject,f=e.key;return function t(e,h,d){var p=f?f+"."+d:d;if(c.isFunction(e)&&c.isFunction(h))return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return t(e.apply(void 0,i([],r(n))),h.apply(void 0,i([],r(n))),d)};if(u(e)&&u(h)){var g=n&&n(e,h,p);return g||i(i([],r(e)),r(h))}if(c.isRegex(h))return h;if(c.isPlainObject(e)&&c.isPlainObject(h)){g=o&&o(e,h,p);return g||a["default"]([e,h],l({customizeArray:n,customizeObject:o,key:p}))}return c.isPlainObject(h)?s["default"](h):u(h)?i([],r(h)):h}}e["default"]=l},c532:function(t,e,n){"use strict";var r=n("1d2b"),i=n("044b"),o=Object.prototype.toString;function s(t){return"[object Array]"===o.call(t)}function a(t){return"[object ArrayBuffer]"===o.call(t)}function c(t){return"undefined"!==typeof FormData&&t instanceof FormData}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function l(t){return"string"===typeof t}function f(t){return"number"===typeof t}function h(t){return"undefined"===typeof t}function d(t){return null!==t&&"object"===typeof t}function p(t){return"[object Date]"===o.call(t)}function g(t){return"[object File]"===o.call(t)}function v(t){return"[object Blob]"===o.call(t)}function y(t){return"[object Function]"===o.call(t)}function m(t){return d(t)&&y(t.pipe)}function I(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function M(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function C(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),s(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function _(){var t={};function e(e,n){"object"===typeof t[n]&&"object"===typeof e?t[n]=_(t[n],e):t[n]=e}for(var n=0,r=arguments.length;n<r;n++)C(arguments[n],e);return t}function A(t,e,n){return C(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}t.exports={isArray:s,isArrayBuffer:a,isBuffer:i,isFormData:c,isArrayBufferView:u,isString:l,isNumber:f,isObject:d,isUndefined:h,isDate:p,isFile:g,isBlob:v,isFunction:y,isStream:m,isURLSearchParams:I,isStandardBrowserEnv:b,forEach:C,merge:_,extend:A,trim:M}},c5b4:function(t,e,n){"use strict";t.exports=n("2d00")||!n("79e5")((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete n("7726")[t]}))},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,h=n("aa77").trim,d="Number",p=r[d],g=p,v=p.prototype,y=o(n("2aeb")(v))==d,m="trim"in String.prototype,I=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=m?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,c=e.slice(2),u=0,l=c.length;u<l;u++)if(s=c.charCodeAt(u),s<48||s>i)return NaN;return parseInt(c,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(y?c((function(){v.valueOf.call(n)})):o(n)!=d)?s(new g(I(e)),n,p):I(e)};for(var M,b=n("9e1e")?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;b.length>C;C++)i(g,M=b[C])&&!i(p,M)&&f(p,M,l(g,M));p.prototype=v,v.constructor=p,n("2aba")(r,d,p)}},c603:function(t,e,n){"use strict";var r=n("a5b2"),i=n.n(r),o=n("6bb5");function s(){if("undefined"===typeof Reflect||!i.a)return!1;if(i.a.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(t){return!1}}var a=n("308d");function c(t){var e=s();return function(){var n,r=Object(o["a"])(t);if(e){var s=Object(o["a"])(this).constructor;n=i()(r,arguments,s)}else n=r.apply(this,arguments);return Object(a["a"])(this,n)}}n.d(e,"a",(function(){return c}))},c66f:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0f88"),o=n("ed0b"),s=n("cb7c"),a=n("77f1"),c=n("9def"),u=n("d3f4"),l=n("7726").ArrayBuffer,f=n("ebd6"),h=o.ArrayBuffer,d=o.DataView,p=i.ABV&&l.isView,g=h.prototype.slice,v=i.VIEW,y="ArrayBuffer";r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,y,{isView:function(t){return p&&p(t)||u(t)&&v in t}}),r(r.P+r.U+r.F*n("79e5")((function(){return!new h(2).slice(1,void 0).byteLength})),y,{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(s(this),t);var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(f(this,h))(c(i-r)),u=new d(this),l=new d(o),p=0;while(r<i)l.setUint8(p++,u.getUint8(r++));return o}}),n("7a56")(y)},c698:function(t,e,n){var r=n("5ca1");r(r.S,"Reflect",{ownKeys:n("990b")})},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c6a1:function(t,e,n){"use strict";var r=n("5ca1");t.exports=function(t){r(r.S,t,{of:function(){var t=arguments.length,e=new Array(t);while(t--)e[t]=arguments[t];return new this(e)}})}},c775:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{scale:n("e9d2")})},c7c6:function(t,e,n){var r=n("5ca1"),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){var n,r,o=0,s=0,a=arguments.length,c=0;while(s<a)n=i(arguments[s++]),c<n?(r=c/n,o=o*r*r+1,c=n):n>0?(r=n/c,o+=r*r):o+=n;return c===1/0?1/0:c*Math.sqrt(o)}})},c7c62:function(t,e,n){var r=n("5ca1"),i=n("2d5c"),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},c7ca:function(t,e,n){n("3a72")("observable")},c80c:function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n("7618"),i=n("67bb"),o=n.n(i),s=n("85f2"),a=n.n(s),c=n("4aa6"),u=n.n(c),l=n("061b"),f=n.n(l),h=n("4d16"),d=n.n(h),p=n("795b"),g=n.n(p);function v(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ v=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof o.a?o.a:{},s=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function h(t,e,n){return a()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(R){h=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var i=e&&e.prototype instanceof I?e:I,o=u()(i.prototype),s=new D(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=N(s,n);if(a){if(a===m)continue;return a}}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 c=y(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,s),o}function y(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(R){return{type:"throw",arg:R}}}t.wrap=p;var m={};function I(){}function M(){}function b(){}var C={};h(C,s,(function(){return this}));var _=f.a,A=_&&_(_(x([])));A&&A!==e&&n.call(A,s)&&(C=A);var T=b.prototype=I.prototype=u()(C);function w(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function i(o,s,a,c){var u=y(t[o],t,s);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Object(r["a"])(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,a,c)}),(function(t){i("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return i("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}}function N(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=void 0,N(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=y(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,m;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function x(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return M.prototype=b,h(T,"constructor",b),h(b,"constructor",M),M.displayName=h(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===M||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return d.a?d()(t,b):(t.__proto__=b,h(t,l,"GeneratorFunction")),t.prototype=u()(T),t},t.awrap=function(t){return{__await:t}},w(E.prototype),h(E.prototype,c,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,i,o){void 0===o&&(o=g.a);var s=new E(p(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},w(T),h(T,l,"Generator"),h(T,s,(function(){return this})),h(T,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=x,D.prototype={constructor:D,reset:function(t){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(O),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return s.type="throw",s.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:x(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),m}},t}},c8af:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},c8ce:function(t,e,n){var r=n("2b4c")("toPrimitive"),i=Date.prototype;r in i||n("32e9")(i,r,n("8381"))},c98f:function(t,e,n){(function(t,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,u=9007199254740991,l="[object Arguments]",f="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",g="[object Function]",v="[object GeneratorFunction]",y="[object Map]",m="[object Number]",I="[object Object]",M="[object Promise]",b="[object RegExp]",C="[object Set]",_="[object String]",A="[object Symbol]",T="[object WeakMap]",w="[object ArrayBuffer]",E="[object DataView]",N="[object Float32Array]",S="[object Float64Array]",O="[object Int8Array]",D="[object Int16Array]",x="[object Int32Array]",L="[object Uint8Array]",R="[object Uint8ClampedArray]",j="[object Uint16Array]",k="[object Uint32Array]",P=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,z=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,Y=/\\(\\)?/g,$=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,F={};F[N]=F[S]=F[O]=F[D]=F[x]=F[L]=F[R]=F[j]=F[k]=!0,F[l]=F[f]=F[w]=F[h]=F[E]=F[d]=F[p]=F[g]=F[y]=F[m]=F[I]=F[b]=F[C]=F[_]=F[T]=!1;var V="object"==typeof t&&t&&t.Object===Object&&t,Q="object"==typeof self&&self&&self.Object===Object&&self,W=V||Q||Function("return this")(),Z=e&&!e.nodeType&&e,K=Z&&"object"==typeof n&&n&&!n.nodeType&&n,q=K&&K.exports===Z,J=q&&V.process,X=function(){try{return J&&J.binding("util")}catch(t){}}(),tt=X&&X.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(!1===e(t[n],n,t))break;return t}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function ot(t){return function(e){return t(e)}}function st(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function ct(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ut(t,e){return function(n){return t(e(n))}}function lt(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ft=Array.prototype,ht=Function.prototype,dt=Object.prototype,pt=W["__core-js_shared__"],gt=function(){var t=/[^.]+$/.exec(pt&&pt.keys&&pt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=ht.toString,yt=dt.hasOwnProperty,mt=dt.toString,It=RegExp("^"+vt.call(yt).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mt=W.Symbol,bt=W.Uint8Array,Ct=ut(Object.getPrototypeOf,Object),_t=Object.create,At=dt.propertyIsEnumerable,Tt=ft.splice,wt=ut(Object.keys,Object),Et=Be(W,"DataView"),Nt=Be(W,"Map"),St=Be(W,"Promise"),Ot=Be(W,"Set"),Dt=Be(W,"WeakMap"),xt=Be(Object,"create"),Lt=Je(Et),Rt=Je(Nt),jt=Je(St),kt=Je(Ot),Pt=Je(Dt),Ut=Mt?Mt.prototype:void 0,zt=Ut?Ut.valueOf:void 0,Bt=Ut?Ut.toString:void 0;function Gt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Yt(){this.__data__=xt?xt(null):{}}function $t(t){return this.has(t)&&delete this.__data__[t]}function Ht(t){var e=this.__data__;if(xt){var n=e[t];return n===o?void 0:n}return yt.call(e,t)?e[t]:void 0}function Ft(t){var e=this.__data__;return xt?void 0!==e[t]:yt.call(e,t)}function Vt(t,e){var n=this.__data__;return n[t]=xt&&void 0===e?o:e,this}function Qt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Wt(){this.__data__=[]}function Zt(t){var e=this.__data__,n=ge(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Tt.call(e,n,1),!0}function Kt(t){var e=this.__data__,n=ge(e,t);return n<0?void 0:e[n][1]}function qt(t){return ge(this.__data__,t)>-1}function Jt(t,e){var n=this.__data__,r=ge(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Xt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function te(){this.__data__={hash:new Gt,map:new(Nt||Qt),string:new Gt}}function ee(t){return Ue(this,t)["delete"](t)}function ne(t){return Ue(this,t).get(t)}function re(t){return Ue(this,t).has(t)}function ie(t,e){return Ue(this,t).set(t,e),this}function oe(t){var e=-1,n=t?t.length:0;this.__data__=new Xt;while(++e<n)this.add(t[e])}function se(t){return this.__data__.set(t,o),this}function ae(t){return this.__data__.has(t)}function ce(t){this.__data__=new Qt(t)}function ue(){this.__data__=new Qt}function le(t){return this.__data__["delete"](t)}function fe(t){return this.__data__.get(t)}function he(t){return this.__data__.has(t)}function de(t,e){var n=this.__data__;if(n instanceof Qt){var i=n.__data__;if(!Nt||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Xt(i)}return n.set(t,e),this}function pe(t,e){var n=nn(t)||en(t)?it(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!yt.call(t,o)||i&&("length"==o||$e(o,r))||n.push(o);return n}function ge(t,e){var n=t.length;while(n--)if(tn(t[n][0],e))return n;return-1}function ve(t){return cn(t)?_t(t):{}}Gt.prototype.clear=Yt,Gt.prototype["delete"]=$t,Gt.prototype.get=Ht,Gt.prototype.has=Ft,Gt.prototype.set=Vt,Qt.prototype.clear=Wt,Qt.prototype["delete"]=Zt,Qt.prototype.get=Kt,Qt.prototype.has=qt,Qt.prototype.set=Jt,Xt.prototype.clear=te,Xt.prototype["delete"]=ee,Xt.prototype.get=ne,Xt.prototype.has=re,Xt.prototype.set=ie,oe.prototype.add=oe.prototype.push=se,oe.prototype.has=ae,ce.prototype.clear=ue,ce.prototype["delete"]=le,ce.prototype.get=fe,ce.prototype.has=he,ce.prototype.set=de;var ye=Re();function me(t,e){return t&&ye(t,e,gn)}function Ie(t,e){e=He(e,t)?[e]:Le(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[qe(e[n++])];return n&&n==r?t:void 0}function Me(t){return mt.call(t)}function be(t,e){return null!=t&&e in Object(t)}function Ce(t,e,n,r,i){return t===e||(null==t||null==e||!cn(t)&&!un(e)?t!==t&&e!==e:_e(t,e,Ce,n,r,i))}function _e(t,e,n,r,i,o){var s=nn(t),c=nn(e),u=f,h=f;s||(u=Ge(t),u=u==l?I:u),c||(h=Ge(e),h=h==l?I:h);var d=u==I&&!at(t),p=h==I&&!at(e),g=u==h;if(g&&!d)return o||(o=new ce),s||fn(t)?je(t,e,n,r,i,o):ke(t,e,u,n,r,i,o);if(!(i&a)){var v=d&&yt.call(t,"__wrapped__"),y=p&&yt.call(e,"__wrapped__");if(v||y){var m=v?t.value():t,M=y?e.value():e;return o||(o=new ce),n(m,M,r,i,o)}}return!!g&&(o||(o=new ce),Pe(t,e,n,r,i,o))}function Ae(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var u=n[i];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}while(++i<o){u=n[i];var l=u[0],f=t[l],h=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var d=new ce;if(r)var p=r(f,h,l,t,e,d);if(!(void 0===p?Ce(h,f,r,s|a,d):p))return!1}}return!0}function Te(t){if(!cn(t)||Ve(t))return!1;var e=sn(t)||at(t)?It:$;return e.test(Je(t))}function we(t){return un(t)&&an(t.length)&&!!F[mt.call(t)]}function Ee(t){return"function"==typeof t?t:null==t?yn:"object"==typeof t?nn(t)?Oe(t[0],t[1]):Se(t):mn(t)}function Ne(t){if(!Qe(t))return wt(t);var e=[];for(var n in Object(t))yt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Se(t){var e=ze(t);return 1==e.length&&e[0][2]?Ze(e[0][0],e[0][1]):function(n){return n===t||Ae(n,t,e)}}function Oe(t,e){return He(t)&&We(e)?Ze(qe(t),e):function(n){var r=dn(n,t);return void 0===r&&r===e?pn(n,t):Ce(e,r,void 0,s|a)}}function De(t){return function(e){return Ie(e,t)}}function xe(t){if("string"==typeof t)return t;if(ln(t))return Bt?Bt.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Le(t){return nn(t)?t:Ke(t)}function Re(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function je(t,e,n,r,i,o){var c=i&a,u=t.length,l=e.length;if(u!=l&&!(c&&l>u))return!1;var f=o.get(t);if(f&&o.get(e))return f==e;var h=-1,d=!0,p=i&s?new oe:void 0;o.set(t,e),o.set(e,t);while(++h<u){var g=t[h],v=e[h];if(r)var y=c?r(v,g,h,e,t,o):r(g,v,h,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!nt(e,(function(t,e){if(!p.has(e)&&(g===t||n(g,t,r,i,o)))return p.add(e)}))){d=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){d=!1;break}}return o["delete"](t),o["delete"](e),d}function ke(t,e,n,r,i,o,c){switch(n){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case w:return!(t.byteLength!=e.byteLength||!r(new bt(t),new bt(e)));case h:case d:case m:return tn(+t,+e);case p:return t.name==e.name&&t.message==e.message;case b:case _:return t==e+"";case y:var u=ct;case C:var l=o&a;if(u||(u=lt),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;o|=s,c.set(t,e);var g=je(u(t),u(e),r,i,o,c);return c["delete"](t),g;case A:if(zt)return zt.call(t)==zt.call(e)}return!1}function Pe(t,e,n,r,i,o){var s=i&a,c=gn(t),u=c.length,l=gn(e),f=l.length;if(u!=f&&!s)return!1;var h=u;while(h--){var d=c[h];if(!(s?d in e:yt.call(e,d)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++h<u){d=c[h];var y=t[d],m=e[d];if(r)var I=s?r(m,y,d,e,t,o):r(y,m,d,t,e,o);if(!(void 0===I?y===m||n(y,m,r,i,o):I)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var M=t.constructor,b=e.constructor;M==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof M&&M instanceof M&&"function"==typeof b&&b instanceof b||(g=!1)}return o["delete"](t),o["delete"](e),g}function Ue(t,e){var n=t.__data__;return Fe(e)?n["string"==typeof e?"string":"hash"]:n.map}function ze(t){var e=gn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,We(i)]}return e}function Be(t,e){var n=st(t,e);return Te(n)?n:void 0}var Ge=Me;function Ye(t,e,n){e=He(e,t)?[e]:Le(e);var r,i=-1,o=e.length;while(++i<o){var s=qe(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&an(o)&&$e(s,o)&&(nn(t)||en(t))}function $e(t,e){return e=null==e?u:e,!!e&&("number"==typeof t||H.test(t))&&t>-1&&t%1==0&&t<e}function He(t,e){if(nn(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ln(t))||(U.test(t)||!P.test(t)||null!=e&&t in Object(e))}function Fe(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Ve(t){return!!gt&> in t}function Qe(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||dt;return t===n}function We(t){return t===t&&!cn(t)}function Ze(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Et&&Ge(new Et(new ArrayBuffer(1)))!=E||Nt&&Ge(new Nt)!=y||St&&Ge(St.resolve())!=M||Ot&&Ge(new Ot)!=C||Dt&&Ge(new Dt)!=T)&&(Ge=function(t){var e=mt.call(t),n=e==I?t.constructor:void 0,r=n?Je(n):void 0;if(r)switch(r){case Lt:return E;case Rt:return y;case jt:return M;case kt:return C;case Pt:return T}return e});var Ke=Xe((function(t){t=hn(t);var e=[];return z.test(t)&&e.push(""),t.replace(B,(function(t,n,r,i){e.push(r?i.replace(Y,"$1"):n||t)})),e}));function qe(t){if("string"==typeof t||ln(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Je(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Xe(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(Xe.Cache||Xt),n}function tn(t,e){return t===e||t!==t&&e!==e}function en(t){return on(t)&&yt.call(t,"callee")&&(!At.call(t,"callee")||mt.call(t)==l)}Xe.Cache=Xt;var nn=Array.isArray;function rn(t){return null!=t&&an(t.length)&&!sn(t)}function on(t){return un(t)&&rn(t)}function sn(t){var e=cn(t)?mt.call(t):"";return e==g||e==v}function an(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}function cn(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function un(t){return!!t&&"object"==typeof t}function ln(t){return"symbol"==typeof t||un(t)&&mt.call(t)==A}var fn=tt?ot(tt):we;function hn(t){return null==t?"":xe(t)}function dn(t,e,n){var r=null==t?void 0:Ie(t,e);return void 0===r?n:r}function pn(t,e){return null!=t&&Ye(t,e,be)}function gn(t){return rn(t)?pe(t):Ne(t)}function vn(t,e,n){var r=nn(t)||fn(t);if(e=Ee(e,4),null==n)if(r||cn(t)){var i=t.constructor;n=r?nn(t)?new i:[]:sn(i)?ve(Ct(t)):{}}else n={};return(r?et:me)(t,(function(t,r,i){return e(n,t,r,i)})),n}function yn(t){return t}function mn(t){return He(t)?rt(qe(t)):De(t)}n.exports=vn}).call(this,n("c8ba"),n("62e4")(t))},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ccb9:function(t,e,n){e.f=n("5168")},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},cd78:function(t,e,n){var r=n("e4ae"),i=n("f772"),o=n("656e");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},cd93:function(t,e){var n="[object Object]";function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function i(t,e){return function(n){return t(e(n))}}var o=Function.prototype,s=Object.prototype,a=o.toString,c=s.hasOwnProperty,u=a.call(Object),l=s.toString,f=i(Object.getPrototypeOf,Object);function h(t){return!!t&&"object"==typeof t}function d(t){if(!h(t)||l.call(t)!=n||r(t))return!1;var e=f(t);if(null===e)return!0;var i=c.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&a.call(i)==u}t.exports=d},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},ce7e:function(t,e,n){var r=n("63b6"),i=n("584a"),o=n("294c");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},ceaf:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.key,s=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=s(i(e),n,!1);if(void 0===r||!r["delete"](t))return!1;if(r.size)return!0;var c=a.get(e);return c["delete"](n),!!c.size||a["delete"](e)}})},cee4:function(t,e,n){"use strict";var r=n("c532"),i=n("1d2b"),o=n("0a06"),s=n("2444");function a(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var c=a(s);c.Axios=o,c.create=function(t){return a(r.merge(s,t))},c.Cancel=n("7a77"),c.CancelToken=n("8df4"),c.isCancel=n("2e67"),c.all=function(t){return Promise.all(t)},c.spread=n("0df6"),t.exports=c,t.exports.default=c},cf6a:function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("seal",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},d04f:function(t,e,n){n("7a56")("Array")},d0b0:function(t,e,n){"use strict";n("386b")("italics",(function(t){return function(){return t(this,"i","","")}}))},d0ca:function(t,e,n){var r=n("5ca1"),i=n("abd7")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},d185:function(t,e,n){var r=n("11e9"),i=n("38fd"),o=n("69a8"),s=n("5ca1"),a=n("d3f4"),c=n("cb7c");function u(t,e){var n,s,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=r.f(t,e))?o(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:a(s=i(t))?u(s,e,l):void 0}s(s.S,"Reflect",{get:u})},d225:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},d233:function(t,e,n){"use strict";var r=n("b313"),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t){while(t.length>1){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&r.push(n[i]);e.obj[e.prop]=r}}},c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)"undefined"!==typeof t[r]&&(n[r]=t[r]);return n},u=function t(e,n,r){if(!n)return e;if("object"!==typeof n){if(o(e))e.push(n);else{if(!e||"object"!==typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!==typeof e)return[e].concat(n);var s=e;return o(e)&&!o(n)&&(s=c(e,r)),o(e)&&o(n)?(n.forEach((function(n,o){if(i.call(e,o)){var s=e[o];s&&"object"===typeof s&&n&&"object"===typeof n?e[o]=t(s,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var s=n[o];return i.call(e,o)?e[o]=t(e[o],s,r):e[o]=s,e}),s)},l=function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},f=function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(i){return r}},h=function(t,e,n,i,o){if(0===t.length)return t;var a=t;if("symbol"===typeof t?a=Symbol.prototype.toString.call(t):"string"!==typeof t&&(a=String(t)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var c="",u=0;u<a.length;++u){var l=a.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?c+=a.charAt(u):l<128?c+=s[l]:l<2048?c+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?c+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&a.charCodeAt(u)),c+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return c},d=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],o=i.obj[i.prop],s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],l=o[u];"object"===typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:o,prop:u}),n.push(l))}return a(e),t},p=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},g=function(t){return!(!t||"object"!==typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},v=function(t,e){return[].concat(t,e)},y=function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)};t.exports={arrayToObject:c,assign:l,combine:v,compact:d,decode:f,encode:h,isBuffer:g,isRegExp:p,maybeMap:y,merge:u}},d25f:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(2);r(r.P+r.F*!n("2f21")([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},d263:function(t,e,n){"use strict";n("386b")("fixed",(function(t){return function(){return t(this,"tt","","")}}))},d282:function(t,e,n){"use strict";function r(t,e){return e?"string"===typeof e?" "+t+"--"+e:Array.isArray(e)?e.reduce((function(e,n){return e+r(t,n)}),""):Object.keys(e).reduce((function(n,i){return n+(e[i]?r(t,i):"")}),""):""}function i(t){return function(e,n){return e&&"string"!==typeof e&&(n=e,e=""),e=e?t+"__"+e:t,""+e+r(e,n)}}var o=n("a142"),s=/-(\w)/g;function a(t){return t.replace(s,(function(t,e){return e.toUpperCase()}))}var c={methods:{slots:function(t,e){void 0===t&&(t="default");var n=this.$slots,r=this.$scopedSlots,i=r[t];return i?i(e):n[t]}}};function u(t){var e=this.name;t.component(e,this),t.component(a("-"+e),this)}function l(t){var e=t.scopedSlots||t.data.scopedSlots||{},n=t.slots();return Object.keys(n).forEach((function(t){e[t]||(e[t]=function(){return n[t]})})),e}function f(t){return{functional:!0,props:t.props,model:t.model,render:function(e,n){return t(e,n.props,l(n),n)}}}function h(t){return function(e){return Object(o["d"])(e)&&(e=f(e)),e.functional||(e.mixins=e.mixins||[],e.mixins.push(c)),e.name=t,e.install=u,e}}var d=n("2b0e"),p=Object.prototype.hasOwnProperty;function g(t,e,n){var r=e[n];Object(o["c"])(r)&&(p.call(t,n)&&Object(o["e"])(r)?t[n]=v(Object(t[n]),e[n]):t[n]=r)}function v(t,e){return Object.keys(e).forEach((function(n){g(t,e,n)})),t}var y={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",vanCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",startEnd:"开始/结束",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanCascader:{select:"请选择"},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}},m=d["default"].prototype,I=d["default"].util.defineReactive;I(m,"$vantLang","zh-CN"),I(m,"$vantMessages",{"zh-CN":y});var M={messages:function(){return m.$vantMessages[m.$vantLang]},use:function(t,e){var n;m.$vantLang=t,this.add((n={},n[t]=e,n))},add:function(t){void 0===t&&(t={}),v(m.$vantMessages,t)}};function b(t){var e=a(t)+".";return function(t){for(var n=M.messages(),r=Object(o["a"])(n,e+t)||Object(o["a"])(n,t),i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return Object(o["d"])(r)?r.apply(void 0,s):r}}function C(t){return t="van-"+t,[h(t),i(t),b(t)]}n.d(e,"a",(function(){return C}))},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d4af:function(t,e,n){"use strict";var r=n("8eb7"),i=n("7b3e"),o=10,s=40,a=800;function c(t){var e=0,n=0,r=0,i=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),r=e*o,i=n*o,"deltaY"in t&&(i=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||i)&&t.deltaMode&&(1==t.deltaMode?(r*=s,i*=s):(r*=a,i*=a)),r&&!e&&(e=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:e,spinY:n,pixelX:r,pixelY:i}}c.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},t.exports=c},d4c0:function(t,e,n){var r=n("0d58"),i=n("2621"),o=n("52a7");t.exports=function(t){var e=r(t),n=i.f;if(n){var s,a=n(t),c=o.f,u=0;while(a.length>u)c.call(t,s=a[u++])&&e.push(s)}return e}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d540:function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s};function i(t,e){var n=r(t),i=n[0],s=n.slice(1),a=i;return s.forEach((function(t){a=o(a,t,e)})),a}function o(t,e,n){var r={};return Object.keys(t).concat(Object.keys(e)).forEach((function(i){var o=n(t[i],e[i],i);r[i]="undefined"===typeof o?t[i]:o})),r}e.__esModule=!0,e["default"]=i},d6c6:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},d752:function(t,e,n){var r=n("7726").parseFloat,i=n("aa77").trim;t.exports=1/r(n("fdef")+"-0")!==-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},d758:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){e.prototype.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)}}}))},d847:function(t,e,n){t.exports=n("5bba")},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d92a:function(t,e,n){var r=n("5ca1");r(r.P,"Function",{bind:n("f0c1")})},d9ab:function(t,e,n){var r=n("5ca1"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},db2a:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},db4d:function(t,e,n){"use strict";(function(t){if(n("66f9"),n("f3a2"),n("fd5a"),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var e="defineProperty";function r(t,n,r){t[n]||Object[e](t,n,{writable:!0,configurable:!0,value:r})}r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach((function(t){[][t]&&r(Array,t,Function.call.bind([][t]))}))}).call(this,n("c8ba"))},db72:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n("a4bb"),i=n.n(r),o=n("e265"),s=n.n(o),a=n("268f"),c=n.n(a),u=n("5e83"),l=n.n(u),f=n("d847"),h=n.n(f),d=n("85f2"),p=n.n(d),g=n("bd86");function v(t,e){var n=i()(t);if(s.a){var r=s()(t);e&&(r=r.filter((function(e){return c()(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(g["a"])(t,e,n[e])})):l.a?h()(t,l()(n)):v(Object(n)).forEach((function(e){p()(t,e,c()(n,e))}))}return t}},db97:function(t,e,n){var r=n("5ca1");r(r.S,"Object",{is:n("83a1")})},db9a:function(t,e,n){var r=n("5ca1");r(r.P+r.R,"Set",{toJSON:n("44b8")("Set")})},dbdb:function(t,e,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},dc62:function(t,e,n){n("9427");var r=n("584a").Object;t.exports=function(t,e){return r.create(t,e)}},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},dd8a:function(t,e,n){n("28e4")("Set")},df1b:function(t,e,n){var r=n("5ca1"),i=n("d8e8"),o=n("cb7c"),s=(n("7726").Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n("79e5")((function(){s((function(){}))})),"Reflect",{apply:function(t,e,n){var r=i(t),c=o(n);return s?s(r,e,c):a.call(r,e,c)}})},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}function i(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,r="/"===s.charAt(0))}return e=n(i(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),s="/"===o(t,-1);return t=n(i(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&s&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(i(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),a=s,c=0;c<s;c++)if(i[c]!==o[c]){a=c;break}var u=[];for(c=a;c<i.length;c++)u.push("..");return u=u.concat(o.slice(a)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,s=t.length-1;s>=0;--s){var a=t.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=s+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},dfaf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,iconPrefix:String,titleStyle:null,titleClass:null,valueClass:null,labelClass:null,title:[Number,String],value:[Number,String],label:[Number,String],arrowDirection:String,border:{type:Boolean,default:!0},clickable:{type:Boolean,default:null}}},e017:function(t,e,n){(function(e){(function(e,n){t.exports=n()})(0,(function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var n=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n};"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function r(t,e){return e={exports:{}},t(e,e.exports),e.exports}var i=r((function(t,e){(function(e,n){t.exports=n()})(0,(function(){function t(t){var e=t&&"object"===typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(t){return Array.isArray(t)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&t(n)?o(e(n),n,r):n}function r(e,r,i){var s=e.slice();return r.forEach((function(r,a){"undefined"===typeof s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function i(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}function o(t,e,o){var s=Array.isArray(e),a=o||{arrayMerge:r},c=a.arrayMerge||r;return s?Array.isArray(t)?c(t,e,o):n(e,o):i(t,e,o)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}))})),o=r((function(t,e){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};e.default=n,t.exports=e.default})),s=function(t){return Object.keys(t).map((function(e){var n=t[e].toString().replace(/"/g,""");return e+'="'+n+'"'})).join(" ")},a=o.svg,c=o.xlink,u={};u[a.name]=a.uri,u[c.name]=c.uri;var l=function(t,e){void 0===t&&(t="");var n=i(u,e||{}),r=s(n);return"<svg "+r+">"+t+"</svg>"},f=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"===typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return n(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,r),e}(t);return f}))}).call(this,n("c8ba"))},e099:function(t,e,n){"use strict";var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,a){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===typeof t?o(s(t),(function(s){var a=encodeURIComponent(r(s))+n;return i(t[s])?o(t[s],(function(t){return a+encodeURIComponent(r(t))})).join(e):a+encodeURIComponent(r(t[s]))})).join(e):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var s=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},e0b8:function(t,e,n){"use strict";var r=n("7726"),i=n("5ca1"),o=n("2aba"),s=n("dcbc"),a=n("67ab"),c=n("4a59"),u=n("f605"),l=n("d3f4"),f=n("79e5"),h=n("5cc5"),d=n("7f20"),p=n("5dbc");t.exports=function(t,e,n,g,v,y){var m=r[t],I=m,M=v?"set":"add",b=I&&I.prototype,C={},_=function(t){var e=b[t];o(b,t,"delete"==t||"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof I&&(y||b.forEach&&!f((function(){(new I).entries().next()})))){var A=new I,T=A[M](y?{}:-0,1)!=A,w=f((function(){A.has(1)})),E=h((function(t){new I(t)})),N=!y&&f((function(){var t=new I,e=5;while(e--)t[M](e,e);return!t.has(-0)}));E||(I=e((function(e,n){u(e,I,t);var r=p(new m,e,I);return void 0!=n&&c(n,v,r[M],r),r})),I.prototype=b,b.constructor=I),(w||N)&&(_("delete"),_("has"),v&&_("get")),(N||T)&&_(M),y&&b.clear&&delete b.clear}else I=g.getConstructor(e,t,v,M),s(I.prototype,n),a.NEED=!0;return d(I,t),C[t]=I,i(i.G+i.W+i.F*(I!=m),C),y||g.setStrong(I,t,v),I}},e11c:function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return Mt})),n.d(e,"e",(function(){return gt})),n.d(e,"h",(function(){return le})),n.d(e,"k",(function(){return bt})),n.d(e,"l",(function(){return mt})),n.d(e,"m",(function(){return K})),n.d(e,"n",(function(){return ot})),n.d(e,"o",(function(){return rt})),n.d(e,"p",(function(){return V})),n.d(e,"q",(function(){return ae})),n.d(e,"r",(function(){return Q})),n.d(e,"s",(function(){return J})),n.d(e,"t",(function(){return Z})),n.d(e,"u",(function(){return re})),n.d(e,"v",(function(){return W})),n.d(e,"w",(function(){return et})),n.d(e,"x",(function(){return it})),n.d(e,"y",(function(){return F})),n.d(e,"z",(function(){return se})),n.d(e,"A",(function(){return ue})),n.d(e,"B",(function(){return X})),n.d(e,"C",(function(){return q})),n.d(e,"D",(function(){return nt})),n.d(e,"E",(function(){return ee})),n.d(e,"F",(function(){return ne})),n.d(e,"G",(function(){return Xt})),n.d(e,"H",(function(){return ie})),n.d(e,"I",(function(){return oe})),n.d(e,"J",(function(){return ce})),n.d(e,"K",(function(){return ct})),n.d(e,"L",(function(){return ut})),n.d(e,"M",(function(){return lt}));var r=n("903e");n.d(e,"a",(function(){return r["e"]})),n.d(e,"b",(function(){return r["f"]})),n.d(e,"f",(function(){return r["l"]})),n.d(e,"g",(function(){return r["m"]})),n.d(e,"i",(function(){return r["q"]})),n.d(e,"j",(function(){return r["r"]}));var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function s(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))}function a(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}var c,u,l=new r["k"]("RCIM"),f=function(){return!("undefined"==typeof uni||!function(t){for(var e=["canIUse","getSystemInfo"],n=0,r=e.length;n<r;n++)if(!t[e[n]])return!1;return!0}(uni))},h=f(),d={tag:"browser",httpReq:function(t){var e=t.method||r["i"].GET,n=t.timeout||6e4,i=t.headers,o=t.query,s=t.body,a=Object(r["w"])(t.url,o);return new Promise((function(t){var r,o=(r="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,"undefined"!=typeof XMLHttpRequest&&r?new XMLHttpRequest:"undefined"!=typeof XDomainRequest?new XDomainRequest:new ActiveXObject("Microsoft.XMLHTTP")),c="[object XDomainRequest]"===Object.prototype.toString.call(o);if(o.open(e,a),i&&o.setRequestHeader)for(var u in i)o.setRequestHeader(u,i[u]);if(c){o.timeout=n,o.onload=function(){t({data:o.responseText,status:o.status||200})},o.onerror=function(){t({status:o.status||0})},o.ontimeout=function(){t({status:o.status||0})};var l="object"==typeof s?JSON.stringify(s):s;o.send(l)}else o.onreadystatechange=function(){4===o.readyState&&t({data:o.responseText,status:o.status})},o.onerror=function(){t({status:o.status||0})},setTimeout((function(){o.abort(),t({status:o.status||0})}),n),o.send(s)}))},localStorage:null===window||void 0===window?void 0:window.localStorage,sessionStorage:null===window||void 0===window?void 0:window.sessionStorage,isSupportSocket:function(){var t="undefined"!=typeof WebSocket;return t||console.warn("websocket not support"),t},useNavi:!0,connectPlatform:"",isFromUniapp:h,createWebSocket:function(t,e){var n=new WebSocket(t,e);return n.binaryType="arraybuffer",{onClose:function(t){n.onclose=function(e){var n=e.code,r=e.reason;t(n,r)}},onError:function(t){n.onerror=t},onMessage:function(t){n.onmessage=function(e){t(e.data)}},onOpen:function(t){n.onopen=t},send:function(t){n.send(t)},close:function(t,e){n.close()}}},createDataChannel:function(t,e){return this.isSupportSocket()&&"websocket"===e?new r["v"](this,t):new r["d"](this,t)},getNetworkType:function(){var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection,e=t.type,n=t.effectiveType,i=e||n||r["o"].UNKONWN;return new Promise((function(t){t(i)}))}},p=f(),g=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=r["H"].ID();try{return r["H"].info(r["j"].A_CALLBACK_O,{func_name:t,source:"wechat"},{traceId:i}),wx[t].apply(wx,e)}catch(e){r["H"].error(r["j"].A_CALLBACK_E,{func_name:t,source:"wechat"},{traceId:i}),console.error(e)}}},v={setItem:g("setStorageSync"),getItem:g("getStorageSync"),removeItem:g("removeStorageSync"),clear:g("clearStorageSync")},y={tag:"wechat",httpReq:function(t){var e=t.method||r["i"].GET,n=t.timeout||6e4,i=t.headers,o=t.query,s=t.body,a=Object(r["w"])(t.url,o);return new Promise((function(t){wx.request({url:a,method:e,headers:i,timeout:n,data:s,success:function(e){t({data:e.data,status:e.statusCode})},fail:function(){t({status:r["f"].RC_HTTP_REQ_TIMEOUT})}})}))},localStorage:v,sessionStorage:v,isSupportSocket:function(){return!0},useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:p,createWebSocket:function(t,e){var n=wx.connectSocket({url:t,protocols:e});return{onClose:function(t){n.onClose((function(e){t(e.code,e.reason)}))},onError:function(t){n.onError((function(e){t(e.errMsg)}))},onMessage:function(t){n.onMessage((function(e){t(e.data)}))},onOpen:function(t){n.onOpen(t)},send:function(t){n.send({data:t})},close:function(t,e){n.close({code:t,reason:e})}}},createDataChannel:function(t,e){return"websocket"===e?new r["v"](this,t):new r["d"](this,t)},getNetworkType:function(){return new Promise((function(t){wx.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["o"].UNKONWN)}})}))}},m=f(),I=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=r["H"].ID();try{return r["H"].info(r["j"].A_CALLBACK_O,{func_name:t,source:"alipay"},{traceId:i}),my[t].apply(my,e)}catch(e){r["H"].error(r["j"].A_CALLBACK_E,{func_name:t,source:"alipay"},{traceId:i}),console.error(e)}}},M={setItem:I("setStorageSync"),getItem:I("getStorageSync"),removeItem:I("removeStorageSync"),clear:I("clearStorageSync")},b={tag:"alipay",httpReq:function(t){var e=t.method||r["i"].GET,n=t.timeout||6e4,i=t.headers,o=t.query,s=t.body,a=Object(r["w"])(t.url,o),c=t.dataType||"json";return new Promise((function(t){my.request({url:a,method:e,headers:i,timeout:n,data:s,dataType:c,success:function(e){t({data:e.data,status:e.status})},fail:function(){t({status:r["f"].RC_HTTP_REQ_TIMEOUT})}})}))},localStorage:M,sessionStorage:M,isSupportSocket:function(){return!1},useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:m,createDataChannel:function(t,e){return"websocket"===e?new r["v"](this,t):new r["d"](this,t)},getNetworkType:function(){return new Promise((function(t){my.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["o"].UNKONWN)}})}))}},C=f(),_=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=r["H"].ID();try{return r["H"].info(r["j"].A_CALLBACK_O,{func_name:t,source:"toutiao"},{traceId:i}),tt[t].apply(tt,e)}catch(e){r["H"].error(r["j"].A_CALLBACK_E,{func_name:t,source:"toutiao"},{traceId:i}),console.error(e)}}},A={setItem:_("setStorageSync"),getItem:_("getStorageSync"),removeItem:_("removeStorageSync"),clear:_("clearStorageSync")},T={tag:"toutiao",isSupportSocket:function(){return!0},useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:C,localStorage:A,sessionStorage:A,httpReq:function(t){return new Promise((function(e,n){tt.request({url:t.url,data:t.body,header:t.headers,method:t.method,success:function(t){console.log("调用成功",t.data);var n=(null==t?void 0:t.data)||{},r={data:JSON.stringify(n),status:t.statusCode};e(r)},fail:function(t){console.log("调用失败",t.errMsg),n({data:t.errMsg})}})}))},createWebSocket:function(t,e){var n=tt.connectSocket({url:t,protocols:e});return{onOpen:function(t){n.onOpen(t)},onClose:function(t){n.onClose((function(e){return t(e.code,e.reason)}))},onError:function(t){n.onError((function(e){return t(e.errMsg)}))},onMessage:function(t){n.onMessage((function(e){return t(e.data)}))},send:function(t){n.send({data:t})},close:function(t,e){n.close({code:t,reason:e})}}},createDataChannel:function(t,e){return"websocket"===e?new r["v"](this,t):new r["d"](this,t)},getNetworkType:function(){return new Promise((function(t){tt.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["o"].UNKONWN)}})}))}},w=f(),E=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=r["H"].ID();try{return r["H"].info(r["j"].A_CALLBACK_O,{func_name:t,source:"baidu"},{traceId:i}),swan[t].apply(swan,e)}catch(e){r["H"].error(r["j"].A_CALLBACK_E,{func_name:t,source:"baidu"},{traceId:i}),console.error(e)}}},N={setItem:E("setStorageSync"),getItem:E("getStorageSync"),removeItem:E("removeStorageSync"),clear:E("clearStorageSync")},S={tag:"baidu",isSupportSocket:function(){return!0},useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:w,localStorage:N,sessionStorage:N,httpReq:function(t){return new Promise((function(e,n){swan.request({url:t.url,data:t.body,header:t.headers,method:t.method,success:function(t){console.log("调用成功",t.data);var n=(null==t?void 0:t.data)||{},r={data:JSON.stringify(n),status:t.statusCode};e(r)},fail:function(t){console.log("调用失败",t.errorCode),n({data:t.errorCode})}})}))},createWebSocket:function(t,e){var n=swan.connectSocket({url:t,protocols:e});return{onOpen:function(t){n.onOpen(t)},onClose:function(t){n.onClose((function(e){return t(e.code,e.reason)}))},onError:function(t){n.onError((function(e){return t(e.errMsg)}))},onMessage:function(t){n.onMessage((function(e){return t(e.data)}))},send:function(t){n.send({data:t})},close:function(t,e){n.close({code:t,reason:e})}}},createDataChannel:function(t,e){return"websocket"===e?new r["v"](this,t):new r["d"](this,t)},getNetworkType:function(){return s(this,void 0,void 0,(function(){return a(this,(function(t){return[2,new Promise((function(t){swan.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["o"].UNKONWN)}})}))]}))}))}},O=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=r["H"].ID();try{return r["H"].info(r["j"].A_CALLBACK_O,{func_name:t,source:"uniapp"},{traceId:i}),uni[t].apply(uni,e)}catch(e){r["H"].error(r["j"].A_CALLBACK_E,{func_name:t,source:"uniapp"},{traceId:i}),console.error(e)}}},D={setItem:O("setStorageSync"),getItem:O("getStorageSync"),removeItem:O("removeStorageSync"),clear:O("clearStorageSync")},x={tag:"uniapp",httpReq:function(t){var e=t.method||r["i"].GET,n=t.timeout||6e4,i=t.headers,o=t.query,s=t.body,a=Object(r["w"])(t.url,o);return new Promise((function(t){uni.request({url:a,method:e,headers:i,timeout:n,data:s,success:function(e){t({data:e.data,status:e.statusCode})},fail:function(){t({status:r["f"].RC_HTTP_REQ_TIMEOUT})}})}))},localStorage:D,sessionStorage:D,isSupportSocket:function(){return!0},useNavi:!0,connectPlatform:"",isFromUniapp:!0,createWebSocket:function(t,e){var n={complete:function(){},url:t,protocols:e},r=uni.connectSocket(n);return{onClose:function(t){r.onClose((function(e){t(e.code,e.reason)}))},onError:function(t){r.onError((function(e){t(e.errMsg)}))},onMessage:function(t){r.onMessage((function(e){t(e.data)}))},onOpen:function(t){r.onOpen(t)},send:function(t){r.send({data:t})},close:function(t,e){r.close({code:t,reason:e})}}},createDataChannel:function(t,e){return"websocket"===e?new r["v"](this,t):new r["d"](this,t)},getNetworkType:function(){return new Promise((function(t){uni.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["o"].UNKONWN)}})}))}},L=function(t){return t&&t.canIUse&&t.getSystemInfo},R="undefined"!=typeof uni&&L(uni)?function(){switch(Object({VUE_APP_BASE_API:"api",NODE_ENV:"production",BASE_URL:""}).VUE_APP_PLATFORM){case"app-plus":return x;case"mp-baidu":return S;case"mp-toutiao":return T;case"mp-alipay":return b;case"mp-weixin":return y;default:return d}}():"undefined"!=typeof my&&L(my)?b:"undefined"!=typeof tt&&L(tt)?T:"undefined"!=typeof swan&&L(swan)?S:"undefined"!=typeof wx&&L(wx)?y:d;function j(t){var e=t.conversationType,n=t.channelId,i=t.messageType,o=t.content,s=t.senderUserId,a=t.targetId,c=t.sentTime,u=t.receivedTime,l=t.messageUId,f=t.messageDirection,h=t.isPersited,d=t.isCounted,p=t.isOffLineMessage,g=t.canIncludeExpansion,v=t.expansion,y=t.receivedStatus,m=t.disableNotification,I=t.isMentioned,M=t.isStatusMessage,b=t.readReceiptInfo,C=t.pushConfig,_=t.messageId,A=t.isInterrupt,T=t.isModifyMessage,w=t.channelType,E=t.sentStatus;y||(y=r["r"].UNREAD);var N={messageType:i,channelId:n||"",content:o,senderUserId:s,targetId:a,conversationType:e,sentTime:c,receivedTime:u,messageUId:l,messageDirection:f,isPersited:h,isCounted:d,isMentioned:I,disableNotification:m,isStatusMessage:M,canIncludeExpansion:g,expansion:v,receivedStatus:y,readReceiptInfo:b,pushConfig:C,messageId:_,isInterrupt:A,isModifyMessage:T,sentStatus:E};return e!==r["e"].ULTRA_GROUP&&(N.isOffLineMessage=p),e===r["e"].ULTRA_GROUP&&Object(r["C"])(w)&&(N.channelType=w),N}function k(t){var e=t.conversationType,n=t.targetId,r=t.latestMessage,i=t.unreadMessageCount,o=t.hasMentioned,s=t.mentionedInfo,a=t.lastUnreadTime,c=t.notificationStatus,u=t.notificationLevel,l=t.isTop,f=t.channelId,h=t.unreadMentionedCount;return{conversationType:e,targetId:n,latestMessage:r&&j(r),unreadMessageCount:i,hasMentioned:o,mentionedInfo:o?{type:null==s?void 0:s.type,userIdList:null==s?void 0:s.userIdList}:void 0,lastUnreadTime:a,notificationStatus:c,notificationLevel:u,isTop:l,channelId:f,unreadMentionedCount:h}}!function(t){t.CONNECTING="CONNECTING",t.CONNECTED="CONNECTED",t.DISCONNECT="DISCONNECT",t.SUSPEND="SUSPEND",t.MESSAGES="MESSAGES",t.READ_RECEIPT_RECEIVED="READ_RECEIPT_RECEIVED",t.MESSAGE_RECEIPT_REQUEST="MESSAGE_RECEIPT_REQUEST",t.MESSAGE_RECEIPT_RESPONSE="MESSAGE_RECEIPT_RESPONSE",t.CONVERSATION="CONVERSATION",t.CHATROOM="CHATROOM",t.EXPANSION="EXPANSION",t.PULL_OFFLINE_MESSAGE_FINISHED="PULL_OFFLINE_MESSAGE_FINISHED",t.TAG="TAG",t.CONVERSATION_TAG="CONVERSATION_TAG",t.TYPING_STATUS="TYPING_STATUS",t.MESSAGE_BLOCKED="MESSAGE_BLOCKED",t.ULTRA_GROUP_ENABLE="ULTRA_GROUP_ENABLE",t.OPERATE_STATUS="OPERATE_STATUS",t.ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED="ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED",t.ULTRA_GROUP_MESSAGE_MODIFIED="ULTRA_GROUP_MESSAGE_MODIFIED",t.ULTRA_GROUP_MESSAGE_RECALLED="ULTRA_GROUP_MESSAGE_RECALLED",t.ULTRA_GROUP_CHANNEL_TYPE_CHANGE="ULTRA_GROUP_CHANNEL_TYPE_CHANGE",t.ULTRA_GROUP_CHANNEL_DELETE="ULTRA_GROUP_CHANNEL_DELETE",t.ULTRA_GROUP_CHANNEL_USER_KICKED="ULTRA_GROUP_CHANNEL_USER_KICKED"}(c||(c={})),function(t){t[t.SENDING=10]="SENDING",t[t.FAILED=20]="FAILED",t[t.SENT=30]="SENT",t[t.RECEIVED=40]="RECEIVED",t[t.READ=50]="READ",t[t.DESTROYED=60]="DESTROYED"}(u||(u={}));var P,U=function(t){function e(n){var i=t.call(this)||this;if(e.imClient)return l.error("Please do not repeatedly perform the init method"),e.imClient;i.initOptions=n,Object(r["x"])("options.navigators",n.navigators,(function(t){return Object(r["z"])(t)&&(0===t.length||t.every(r["B"]))})),l.setLogLevel(n.logLevel),l.setLogStdout(n.logStdout);var o=null==n?void 0:n.connectType;return o?r["c"].WEBSOCKET!==o&&r["c"].COMET!==o&&(l.warn("RongIMLib connectionType must be ".concat(r["c"].WEBSOCKET," or ").concat(r["c"].COMET)),o=r["c"].WEBSOCKET):o=r["c"].WEBSOCKET,r["H"].info(r["j"].A_INIT_O,{appkey:n.appkey,navigators:n.navigators||[],connectionType:o,logLevel:n.logLevel}),i._context=r["a"].init(R,{appkey:n.appkey,apiVersion:"5.4.3",navigators:n.navigators||[],miniCMPProxy:n.customCMP||[],connectionType:o,logLevel:n.logLevel,logStdout:n.logStdout,indexDBSwitch:n.indexDBSwitch,checkCA:n.checkCA}),i.watch(),e.imClient=i,i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"context",{get:function(){if(!this._context)throw new Error("Please perform the init method!");return this._context},enumerable:!1,configurable:!0}),e.prototype.watch=function(){var t=this,e=r["H"].ID(),n={onConnecting:function(){t.emit(c.CONNECTING)},onConnected:function(){t.emit(c.CONNECTED)},onDisconnect:function(n){r["H"].info(r["j"].A_CONNECT_S,{status:n},{traceId:e}),t.emit(c.DISCONNECT,n)},onSuspend:function(n){r["H"].info(r["j"].A_CONNECT_S,{status:n},{traceId:e}),t.emit(c.SUSPEND,n)},batchMessage:function(e){t.emit(c.MESSAGES,{messages:e.map((function(t){return j(t)}))})},typingState:function(e){t.emit(c.TYPING_STATUS,{status:e})},readReceiptReceived:function(e,n,r){t.emit(c.READ_RECEIPT_RECEIVED,{conversation:e,messageUId:n,sentTime:r})},messageReceiptRequest:function(e,n,r){t.emit(c.MESSAGE_RECEIPT_REQUEST,{conversation:e,messageUId:n,senderUserId:r})},messageReceiptResponse:function(e,n,r){t.emit(c.MESSAGE_RECEIPT_RESPONSE,{conversation:e,receivedUserId:n,messageUIdList:r})},conversationState:function(e){var n=e.map((function(t){var e=t.conversationType;return e===r["e"].ULTRA_GROUP?{conversation:{conversationType:e,latestMessage:t.latestMessage?j(t.latestMessage):null,targetId:t.targetId,unreadMessageCount:t.unreadMessageCount,unreadMentionedCount:t.unreadMentionedCount,versionTime:t.versionTime,notificationStatus:t.notificationStatus,notificationLevel:t.notificationLevel,lastUnreadTime:t.lastUnreadTime,channelId:t.channelId}}:{conversation:{conversationType:e,latestMessage:t.latestMessage?j(t.latestMessage):null,targetId:t.targetId,unreadMessageCount:t.unreadMessageCount,hasMentioned:t.hasMentioned,mentionedInfo:t.mentionedInfo,lastUnreadTime:t.lastUnreadTime,notificationStatus:t.notificationStatus,notificationLevel:t.notificationLevel,isTop:t.isTop,channelId:t.channelId,unreadMentionedCount:t.unreadMentionedCount},updatedItems:t.updatedItems}}));t.emit(c.CONVERSATION,{conversationList:n})},chatroomState:function(e){t.emit(c.CHATROOM,e)},expansion:function(e){t.emit(c.EXPANSION,e)},pullFinished:function(){t.emit(c.PULL_OFFLINE_MESSAGE_FINISHED)},tag:function(){t.emit(c.TAG)},conversationTagChanged:function(){t.emit(c.CONVERSATION_TAG)},messageBlocked:function(e){t.emit(c.MESSAGE_BLOCKED,e)},ultraGroupEnable:function(e){t.emit(c.ULTRA_GROUP_ENABLE,e)},operateStatus:function(e){t.emit(c.OPERATE_STATUS,e)},ultraGroupMessageExpansionUpdated:function(e){t.emit(c.ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED,e)},ultraGroupMessageModified:function(e){t.emit(c.ULTRA_GROUP_MESSAGE_MODIFIED,e)},ultraGroupMessageRecalled:function(e){t.emit(c.ULTRA_GROUP_MESSAGE_RECALLED,e)},ultraGroupChannelChangeType:function(e){t.emit(c.ULTRA_GROUP_CHANNEL_TYPE_CHANGE,e)},ultraGroupChannelUserKicked:function(e){t.emit(c.ULTRA_GROUP_CHANNEL_USER_KICKED,e)},ultraGroupChannelDelete:function(e){t.emit(c.ULTRA_GROUP_CHANNEL_DELETE,e)}};this.context.assignWatcher(n)},e}(r["g"]),z={TIMEOUT:{code:-1,msg:"Network timeout"},SDK_INTERNAL_ERROR:{code:-2,msg:"SDK internal error"},PARAMETER_ERROR:{code:-3,msg:"Please check the parameters, the {param} expected a value of {expect} but received {current}"},REJECTED_BY_BLACKLIST:{code:405,msg:"Blacklisted by the other party"},SEND_TOO_FAST:{code:20604,msg:"Sending messages too quickly"},NOT_IN_GROUP:{code:22406,msg:"Not in group"},ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL:{code:r["f"].ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL,msg:"ultra group user not in private channel"},FORBIDDEN_IN_GROUP:{code:22408,msg:"Forbbiden from speaking in the group"},NOT_IN_CHATROOM:{code:23406,msg:"Not in chatRoom"},FORBIDDEN_IN_CHATROOM:{code:23408,msg:"Forbbiden from speaking in the chatRoom"},KICKED_FROM_CHATROOM:{code:23409,msg:"Kicked out and forbbiden from joining the chatRoom"},CHATROOM_NOT_EXIST:{code:23410,msg:"ChatRoom does not exist"},CHATROOM_IS_FULL:{code:23411,msg:"ChatRoom members exceeded"},PARAMETER_INVALID_CHATROOM:{code:23412,msg:"Invalid chatRoom parameters"},ROAMING_SERVICE_UNAVAILABLE_CHATROOM:{code:23414,msg:"ChatRoom message roaming service is not open, Please go to the developer to open this service"},RECALLMESSAGE_PARAMETER_INVALID:{code:25101,msg:"Invalid recall message parameter"},ROAMING_SERVICE_UNAVAILABLE_MESSAGE:{code:25102,msg:"Single group chat roaming service is not open, Please go to the developer to open this service"},PUSHSETTING_PARAMETER_INVALID:{code:26001,msg:"Invalid push parameter"},OPERATION_BLOCKED:{code:20605,msg:"Operation is blocked"},OPERATION_NOT_SUPPORT:{code:20606,msg:"Operation is not supported"},MSG_BLOCKED_SENSITIVE_WORD:{code:21501,msg:"The sent message contains sensitive words"},REPLACED_SENSITIVE_WORD:{code:21502,msg:"Sensitive words in the message have been replaced"},NOT_CONNECTED:{code:30001,msg:"Please connect successfully first"},NAVI_REQUEST_ERROR:{code:30007,msg:"Navigation http request failed"},CMP_REQUEST_ERROR:{code:30010,msg:"CMP sniff http request failed"},CONN_APPKEY_FAKE:{code:31002,msg:"Your appkey is fake"},CONN_MINI_SERVICE_NOT_OPEN:{code:31003,msg:"Mini program service is not open, Please go to the developer to open this service"},CONN_ACK_TIMEOUT:{code:31e3,msg:"Connection ACK timeout"},CONN_TOKEN_INCORRECT:{code:31004,msg:"Your token is not valid or expired"},CONN_NOT_AUTHRORIZED:{code:31005,msg:"AppKey and Token do not match"},CONN_REDIRECTED:{code:31006,msg:"Connection redirection"},CONN_APP_BLOCKED_OR_DELETED:{code:31008,msg:"AppKey is banned or deleted"},CONN_USER_BLOCKED:{code:31009,msg:"User blocked"},CONN_DOMAIN_INCORRECT:{code:31012,msg:"Connect domain error, Please check the set security domain"},ROAMING_SERVICE_UNAVAILABLE:{code:33007,msg:"Roaming service cloud is not open, Please go to the developer to open this service"},RC_CONNECTION_EXIST:{code:34001,msg:"Connection already exists"},CHATROOM_KV_EXCEED:{code:23423,msg:"ChatRoom KV setting exceeds maximum"},CHATROOM_KV_OVERWRITE_INVALID:{code:23424,msg:"ChatRoom KV already exists"},CHATROOM_KV_STORE_NOT_OPEN:{code:23426,msg:"ChatRoom KV storage service is not open, Please go to the developer to open this service"},CHATROOM_KEY_NOT_EXIST:{code:23427,msg:"ChatRoom key does not exist"},MSG_KV_NOT_SUPPORT:{code:34008,msg:"The message cannot be extended"},SEND_MESSAGE_KV_FAIL:{code:34009,msg:"Sending RC expansion message fail"},EXPANSION_LIMIT_EXCEET:{code:34010,msg:"The message expansion size is beyond the limit"},ILLGAL_PARAMS:{code:33003,msg:"Incorrect parameters passed in while calling the interface"},UPLOAD_FILE_FAILED:{code:35020,msg:"File upload failed"},CHATROOM_KV_STORE_NOT_ALL_SUCCESS:{code:23428,msg:"Chatroom kv store not all success"},CHATROOM_KV_STORE_OUT_LIMIT:{code:23429,msg:"Chatroom kv's length is out of limit"},TAG_EXISTS:{code:33101,msg:"The tag already exists"},TAG_NOT_EXIST:{code:33100,msg:"The tag does not exist"},NOT_SUPPORT:{code:r["f"].NOT_SUPPORT,msg:"The method is not supported in a browser!"}},B={},G={};for(var Y in z){var $=z[Y],H=$.code;B[H]=Y,G[H]=$}z.ROAMING_SERVICE_UNAVAILABLE.code;var F=function(t){P=P||new U(t)};function V(t,e){return s(this,void 0,void 0,(function(){var n,i;return a(this,(function(o){switch(o.label){case 0:return Object(r["x"])("token",t,r["b"].STRING,!0),l.warn("RongIMLib Version: ".concat("5.4.3",", Commit: ").concat("b3936f05590d2beb491dee0dbb7071eeb648e941")),n=r["H"].ID(),r["H"].info(r["j"].A_CONNECT_T,{token:t,reconnectKickEnable:e},{traceId:n}),[4,P.context.connect(t,!1,e,n)];case 1:return i=o.sent(),(i.code===r["f"].SUCCESS?r["H"].info:r["H"].warn)(r["j"].A_CONNECT_R,{code:i.code,userId:i.userId},{traceId:n}),i.code===r["f"].SUCCESS?[2,{code:i.code,data:{userId:i.userId}}]:[2,{code:i.code,msg:B[i.code]}]}}))}))}function Q(){return r["H"].info(r["j"].A_DISCONNECT_O,{}),P.context.disconnect()}function W(){return P.context.getServerTime()}function Z(){return P.context.getCurrentUserId()}function K(t,e,n){P.on(t,e,n)}function q(t,e,n){P.off(t,e,n)}function J(t,e){return s(this,void 0,void 0,(function(){var n,i,o;return a(this,(function(s){switch(s.label){case 0:return l.debug("get conversation list ->"),[4,U.imClient.context.getConversationList(null==t?void 0:t.count,void 0,null==t?void 0:t.startTime,null==t?void 0:t.order,e)];case 1:return n=s.sent(),i=n.code,o=n.data,i===r["f"].SUCCESS&&o?[2,{code:0,data:o.map((function(t){return k(t)}))}]:(l.warn("get conversation list fail ->"+i+":"+B[i]),[2,{code:i,msg:B[i]}])}}))}))}function X(t){return s(this,void 0,void 0,(function(){var e,n;return a(this,(function(i){switch(i.label){case 0:return Object(r["x"])("options.conversationType",t.conversationType,r["F"],!0),Object(r["x"])("options.targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("options.channelId",t.channelId,r["b"].CHANNEL_ID),[4,U.imClient.context.removeConversation(t.conversationType,t.targetId,t.channelId)];case 1:return e=i.sent(),n="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("destroy conversation ->"+n),e!==r["f"].SUCCESS?(l.warn("destroy conversation fail ->"+e+":"+B[e]+","+n),[2,{code:e,msg:B[e]}]):[2,{code:e}]}}))}))}function et(t){return s(this,void 0,void 0,(function(){var e,n,i,o;return a(this,(function(s){switch(s.label){case 0:return Object(r["x"])("options.conversationType",t.conversationType,r["F"],!0),Object(r["x"])("options.targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("options.channelId",t.channelId,r["b"].CHANNEL_ID),[4,U.imClient.context.getConversationMessageDraft(t.conversationType,t.targetId,t.channelId)];case 1:return e=s.sent(),n=e.code,i=e.data,o="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("get draft ->"+o),n===r["f"].SUCCESS?[2,{code:n,data:i||""}]:(l.warn("get draft fail ->"+n+":"+B[n]+","+o),[2,{code:n,msg:B[n]}])}}))}))}function nt(t,e){return s(this,void 0,void 0,(function(){var n,i;return a(this,(function(o){switch(o.label){case 0:return Object(r["x"])("options.conversationType",t.conversationType,r["F"],!0),Object(r["x"])("options.targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("options.channelId",t.channelId,r["b"].CHANNEL_ID),Object(r["x"])("draft",e,r["b"].STRING,!0),n="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("set draft ->"+n),[4,U.imClient.context.saveConversationMessageDraft(t.conversationType,t.targetId,e,t.channelId)];case 1:return(i=o.sent())===r["f"].SUCCESS?[2,{code:i}]:(l.warn("set draft fail ->"+i+":"+B[i]+","+n),[2,{code:i,msg:B[i]}])}}))}))}function rt(t){return s(this,void 0,void 0,(function(){var e,n;return a(this,(function(i){switch(i.label){case 0:return Object(r["x"])("options.conversationType",t.conversationType,r["F"],!0),Object(r["x"])("options.targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("options.channelId",t.channelId,r["b"].CHANNEL_ID),e="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("delete draft ->"+e),[4,U.imClient.context.clearConversationMessageDraft(t.conversationType,t.targetId,t.channelId)];case 1:return(n=i.sent())===r["f"].SUCCESS?[2,{code:n}]:(l.warn("delete draft fail ->"+n+":"+B[n]+","+e),[2,{code:n,msg:B[n]}])}}))}))}function it(t,e){return s(this,void 0,void 0,(function(){var n,i,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:if(l.debug("get total unread count -> ConversationType:"+JSON.stringify(e)+" includeMuted:"+t),Object(r["x"])("includeMuted",t,r["b"].BOOLEAN,!1),Object(r["x"])("conversationTypes",e,r["b"].ARRAY,!1),e)for(n=0,i=e;n<i.length;n++)o=i[n],Object(r["x"])("conversationType",o,r["F"]);return[4,U.imClient.context.getTotalUnreadCount("",e,t)];case 1:return s=a.sent(),c=s.code,u=s.data,c===r["f"].SUCCESS?[2,{code:c,data:u}]:(l.warn("getTotalUnreadCount fail ->"+c+":"+B[c]),[2,{code:c,msg:B[c]}])}}))}))}function ot(t){return s(this,void 0,void 0,(function(){var e,n;return a(this,(function(i){switch(i.label){case 0:return Object(r["x"])("options.conversationType",t.conversationType,r["F"],!0),Object(r["x"])("options.targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("options.channelId",t.channelId,r["b"].CHANNEL_ID),[4,U.imClient.context.clearUnreadCount(t.conversationType,t.targetId,t.channelId)];case 1:return e=i.sent(),n="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("clear unreadMsgNum ->"+n),e!==r["f"].SUCCESS?(l.warn("clear unreadMsgNum fail ->"+e+":"+B[e]+","+n),[2,{code:e,msg:B[e]}]):[2,{code:e}]}}))}))}var st=function(t,e){void 0===e&&(e=""),Object(r["x"])("options.conversationType",t.conversationType,r["F"],!0),Object(r["x"])("options.targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("options.channelId",t.channelId,r["b"].CHANNEL_ID);var n="conversationType:"+t.conversationType+",targetId:"+t.targetId;return l.debug("".concat(e," -> ").concat(n)),n},at=function(t,e,n){return void 0===n&&(n=""),s(void 0,void 0,void 0,(function(){var i,o;return a(this,(function(s){switch(s.label){case 0:return i=st(t,n),[4,e()];case 1:return(o=s.sent())!==r["f"].SUCCESS?(l.warn("".concat(n," fail -> ").concat(o," : ").concat(B[o]," , ").concat(i)),[2,{code:o,msg:B[o]}]):[2,{code:o}]}}))}))};function ct(t,e){return s(this,void 0,void 0,(function(){return a(this,(function(n){return Object(r["x"])("notificationLevel",e,(function(e){return t.conversationType===r["e"].PRIVATE?[r["p"].ALL_MESSAGE,r["p"].NOT_SET,r["p"].AT_MESSAGE_NOTIFICATION].includes(e):void 0!==r["p"][e]}),!0),[2,at(t,(function(){return U.imClient.context.setConversationNotificationLevel(t.conversationType,t.targetId,e,t.channelId)}),"setConversationNotificationLevel")]}))}))}function ut(t,e){return s(this,void 0,void 0,(function(){return a(this,(function(n){return Object(r["x"])("notificationStatus",e,(function(t){return 1===t||2===t}),!0),[2,at(t,(function(){return U.imClient.context.setConversationStatus(t.conversationType,t.targetId,void 0,e,t.channelId)}),"setConversationNotificationStatus")]}))}))}function lt(t,e){return void 0===e&&(e=!0),s(this,void 0,void 0,(function(){var n,i;return a(this,(function(o){switch(o.label){case 0:return Object(r["x"])("options.type",t.conversationType,r["F"],!0),Object(r["x"])("options.targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("options.channelId",t.channelId,r["b"].CHANNEL_ID),n="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("set conversation status ->"+n),[4,U.imClient.context.setConversationStatus(t.conversationType,t.targetId,e,void 0,t.channelId)];case 1:return(i=o.sent())!==r["f"].SUCCESS?(l.warn("set conversation status fail ->"+i+":"+B[i]+","+n),[2,{code:i,msg:B[i]}]):[2,{code:i}]}}))}))}var ft=function(t,e,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0),this.messageType=t,this.content=e,this.isPersited=n,this.isCounted=r};function ht(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=!0),function(r){return new ft(t,r,e,n)}}var dt,pt,gt=ht("RC:ImgMsg"),vt=ht("RC:HQVCMsg"),yt=ht("RC:SightMsg"),mt=ht("RC:TxtMsg"),It=ht("RC:CombineMsg"),Mt=ht("RC:FileMsg"),bt=(ht("RC:GIFMsg"),ht("RC:VcMsg"),ht("RC:LBSMsg"),ht("RC:ReferenceMsg")),Ct=(ht("RC:ImgTextMsg"),{qiniu:function(t,e,n,i){var o=U.imClient.context.getInfoFromCache();if(1===(null==o?void 0:o.type)&&e.chunk_size&&i.size>e.chunk_size){var s=Object(r["y"])(),a=i.name.substr(i.name.lastIndexOf("."));s+=a,i.uniqueName=s,St(i,e,n)}else Nt(t,e,n,i)},baidu:function(t,e,n,r){if(r.size>At)throw new Error("the file size is over 5GB!");var i=e||{};e=e||pt;var o=new XMLHttpRequest,s=Tt();if(i.uploadHost.bos||i.bosUploadPath){var a=s+_t[0][1]+i.bosUploadPath;_t.shift();var c=i.bosHeader||{},u={filename:e.uniqueValue||r.uniqueName,name:r.name,downloadUrl:a,isBosRes:!0};o.upload&&e.support_options&&(o.upload.onprogress=function(t){n.onProgress(t.loaded,t.total,!0)}),o.onreadystatechange=function(){4===o.readyState&&(JSON.parse(o.responseText||"{}").filename=e.uniqueValue,200===o.status?n.onCompleted(u,!0):_t.length?Ct[_t[0][0]](t,e,n,r):n.onError("upload fail"))},o.open(e.method,a,!0),o.setRequestHeader("authorization",c.bosToken),o.setRequestHeader("x-bce-date",c.bosDate),o.send(r)}},aliyun:function(t,e,n,i){if(i.size>At)throw new Error("the file size is over 5GB!");var o=new FormData;o.set("file",t.get("file")),o.set("key",t.get("key")),o.set("token",t.get("token"));var s=_t[0][1];_t.shift(),t=t||dt,e=(e=e||{})||pt;var a=new XMLHttpRequest,c=Tt()+e.ossBucketName+"."+s;a.upload&&e.support_options&&(a.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),a.onreadystatechange=function(){if(4===a.readyState){var t=JSON.parse(a.responseText||"{}");t.name=e.uniqueValue,t.filename=e.uploadFileName,t.uploadMethod=r["t"]?r["t"].ALI:"",200===a.status?n.onCompleted(t):_t.length?Ct[_t[0][0]](o,e,n,i):n.onError("upload fail")}},a.open(e.method,c,!0),console.log("ali:url",c);var u=e.aliHeader||{};t.set("OSSAccessKeyId",u.osskeyId),t.set("policy",u.ossPolicy),t.set("Signature",u.ossSign),t.set("success_action_status",200),t.delete("key"),t.append("key",e.uploadFileName),t.delete("file"),t.append("file",i),a.send(t)},s3:function(t,e,n,i){var o=new FormData,s=new XMLHttpRequest,a=Tt(),c=e.contentDisposition,u=_t[0][1],l=a+e.s3BucketName+"."+u;console.log("uploadS3:url",l),_t.shift(),s.upload&&e.support_options&&(s.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),s.onreadystatechange=function(){if(4===s.readyState){var o=JSON.parse(s.responseText||"{}");if(o.name=e.uniqueValue,o.filename=e.uploadFileName,o.uploadMethod=r["t"].AWS,200===s.status||204===s.status)n.onCompleted(o);else if(_t.length){var a=new FormData;a.set("file",t.get("file")),a.set("key",t.get("key")),a.set("token",t.get("token")),Ct[_t[0][0]](a,e,n,i)}else n.onError("upload fail")}},s.open(e.method,l,!0);var f=e?e.s3Header:{},h=i&&i.type;c?o.set("Content-Disposition",c+";"):o.set("Content-Disposition","text/html"===h?"inline;":"attachment;"),o.set("Content-Type",h),o.set("x-amz-credential",f.s3Credential),o.set("x-amz-algorithm",f.s3Algorithm),o.set("x-amz-date",f.s3Date),o.set("policy",f.s3Policy),o.set("x-amz-signature",f.s3Signature),o.set("key",e.uploadFileName),o.set("file",i),s.send(o)},stc:function(t,e,n,i){var o=new XMLHttpRequest,s=e.contentDisposition,a="https://"+_t[0][1]+"/"+e.stcBucketName+"/"+e.uploadFileName;_t.shift(),o.upload&&e.support_options&&(o.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),o.onreadystatechange=function(){if(4===o.readyState){var s=JSON.parse(o.responseText||"{}");if(s.name=e.uniqueValue,s.filename=e.uploadFileName,s.uploadMethod=r["t"]?r["t"].STC:"",200===o.status||204===o.status)n.onCompleted(s);else if(_t.length){var a=new FormData;a.set("file",t.get("file")),a.set("key",t.get("key")),a.set("token",t.get("token")),Ct[_t[0][0]](a,e,n,i)}else n.onError("upload fail")}},o.open("PUT",a,!0);var c=e?e.stcHeader:{};o.setRequestHeader("Content-Type",i.type),s?o.setRequestHeader("Content-Disposition",s+";"):o.setRequestHeader("Content-Disposition","text/html"===i.type?"inline;":"attachment;"),o.setRequestHeader("Authorization",c.stcAuthorization),o.setRequestHeader("x-amz-content-sha256",c.stcContentSha256),o.setRequestHeader("x-amz-date",c.stcDate),o.send(i)}}),_t=[],At=5368709120;function Tt(){var t="https://";return"http:"!==location.protocol&&"file:"!==location.protocol||(t="http://"),t}var wt,Et=(wt="RC-upload-",{get:function(t){t=wt+t;var e=localStorage.getItem(t);if(e)return null!==(e=JSON.parse(e||"{}"))&&e.type&&e.data?e.data:null},set:function(t,e){var n=localStorage;t=wt+t,e={data:e,type:typeof e,updateTime:Date.now()},n.setItem(t,JSON.stringify(e))},remove:function(t){t=wt+t,localStorage.removeItem(t)}});function Nt(t,e,n,i){var o="https://"+e.uploadHost.qiniu,s=(/http/.test(_t[0][1])?"":Tt())+_t[0][1]||o;e.isChunk||_t.shift();var a=new XMLHttpRequest;a.upload&&e.support_options&&(a.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),a.onreadystatechange=function(){if(4===a.readyState){var o=JSON.parse(a.responseText||"{}");o.filename=e.uniqueValue,o.uploadMethod=r["t"]?r["t"].QINIU:"",200===a.status||204===a.status?n.onCompleted(o):_t.length?Ct[_t[0][0]](t,e,n,i):n.onError("upload fail")}},a.open(e.method,s,!0),n.onOpen(a),e.stream&&a.setRequestHeader("authorization","UpToken "+e.multi_parmas.token),function(t,e){for(var n in t)e(n,t[n])}(e.headers,(function(t,e){a.setRequestHeader(t,e)})),a.send(t)}function St(t,e,n,i){var o=0,s=i||Object(r["y"])(),a=Et.get(s);a&&(t.uniqueName=a.sessionId,o=a.offset);var c=Math.min(e.chunk_size,t.size-o),u=t.slice(o,o+c),l=t.uniqueName;e.multi_parmas.name=l,e.filesize=t.size;var f="bytes="+o+"-"+(o+c);e.headers={Range:f,"X-File-TransactionId":l,"X-File-Total-Size":t.size},e.isChunk=!0,u.name=t.name,u=function(t,e,n){var r=new FormData;for(var i in e.unique_key&&r.append(e.unique_key,n),r.append(e.file_data_name,t,t.name),e.multi_parmas){var o=e.multi_parmas[i];r.append(i,o)}return r}(u,e,t.uniqueName),Nt(u,e,{onCompleted:function(r){o+=c;var i=t.uniqueName;Et.set(s,{offset:o,sessionId:i}),o<t.size?St(t,e,n,s):(o=0,Et.remove(s),n.onCompleted(r))},onError:function(t){console.error(t),n.onError(t)},onProgress:function(t,r){var i=t+o;n.onProgress(i,e.filesize)},onOpen:function(t){n.onOpen(t)}},t)}function Ot(t,e,n){var i,o,s=t&&t.type||"text/plain",a=s.indexOf("image")>-1?1:4,c=e.contentDisposition,u=Math.ceil(t.size/e.stc_chunk_size),l=e&&JSON.parse(e.ossConfig?e.ossConfig:"");Array.isArray(l)||(l=[]);var f=l.find((function(t){return Object.keys(t).includes("stc")})),h="uploads";U.imClient.context.getFileToken(a,i,"POST",h).then((function(r){i=r.fileName,o="https://"+f.stc+"/"+e.stcBucketName+"/"+i,console.log("uploadStcMultipart:url",o);var a=new XMLHttpRequest;a.open("POST",o+"?"+h,!0),c?a.setRequestHeader("Content-Disposition",c+";"):a.setRequestHeader("Content-Disposition","text/html"===t.type?"inline;":"attachment;"),a.setRequestHeader("Authorization",r&&r.stcAuthorization),a.setRequestHeader("x-amz-content-sha256",r&&r.stcContentSha256),a.setRequestHeader("x-amz-date",r&&r.stcDate),a.setRequestHeader("Content-Type",s),a.send(),a.onreadystatechange=function(){if(4===a.readyState){var t=a.response.match(/(?:<UploadId>)(\S*?)(?:<\/UploadId>)/);console.log("uploadId",t),200===a.status||204===a.status?function(t){for(var e=[],n=1;n<=u;n++)e.push(v(t,n));g(t,e)}(Array.isArray(t)&&t[1]):n.onError("uploadStcMultipart:did not get uploadId")}}}),(function(t){n.onError("uploadStcMultipart:"+t)}));var d=[],p=new Map;function g(c,l){l&&Array.isArray(l)&&0!==l.length&&Promise.all(l).then((function(){var l="uploadId="+c;if(p.size===u)U.imClient.context.getFileToken(a,i,"POST",l).then((function(i){console.log("onSuccess",i),console.log("onSuccess:uploadId",c);var a=new XMLHttpRequest;a.open("POST",o+"?"+l,!0),a.setRequestHeader("Authorization",i&&i.stcAuthorization),a.setRequestHeader("x-amz-content-sha256",i&&i.stcContentSha256),a.setRequestHeader("x-amz-date",i&&i.stcDate),a.setRequestHeader("Content-Type",s);var u="<CompleteMultipartUpload xmlns='http://s3.amazonaws.com/doc/2006-03-01/'>",f=Array.from(p.keys()||[]).sort((function(t,e){return t-e}));console.log("keys",f),f.forEach((function(t){u+="<Part><ETag>".concat(p.get(t),"</ETag><PartNumber>").concat(t,"</PartNumber></Part>")})),u+="</CompleteMultipartUpload>",a.send(u),console.log("xml",u),a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status||204===a.status){var i={name:t.name,filename:e.uploadFileName,uploadMethod:r["t"].STC};n.onCompleted(i)}else n.onError("uploadStcMultipart:upload does not end")}}),(function(t){n.onError("uploadStcMultipart:"+t)}));else{for(var f=[],h=0,y=d;h<y.length;h++){var m=y[h];f.push(v(c,m))}g(c,f)}}),(function(t){console.error(t),n.onError("uploadStcMultipart: chunkFiles upload failed and those will reupload");for(var e=[],r=0,i=d;r<i.length;r++){var o=i[r];e.push(v(c,o))}g(c,e)}))}function v(n,r){return new Promise((function(c,u){var l="partNumber="+r+"&uploadId="+n;U.imClient.context.getFileToken(a,i,"PUT",l).then((function(n){console.log("signature "+r+" onSuccess",n);var i=t&&t.slice((r-1)*e.stc_chunk_size,r*e.stc_chunk_size);console.log("fileChunk:size",i.size);var a=new XMLHttpRequest;a.open("PUT",o+"?"+l,!0),a.setRequestHeader("Authorization",n&&n.stcAuthorization),a.setRequestHeader("x-amz-content-sha256",n&&n.stcContentSha256),a.setRequestHeader("x-amz-date",n&&n.stcDate),a.setRequestHeader("Content-Type",s),a.send(i),a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status||204===a.status){var t=a.getResponseHeader("etag");console.log("etag:"+r,t),p.set(r,t),c(t)}else d.includes(r)||d.push(r),u(r)}}),(function(t){console.log("getETags:签名验证失败"),d.includes(r)||d.push(r),u(r)}))}))}}var Dt={form:function(t,e){var n=new FormData;if(e.unique_key){var r=t.name.substr(t.name.lastIndexOf(".")),i=xt()+r;n.append(e.unique_key,i),e.uniqueValue=i}return n.append(e.file_data_name,t),Lt(e.multi_parmas,(function(t,e){n.append(t,e)})),n},json:function(t,e){var n={};if(e.unique_key){var r=t.name.substr(t.name.lastIndexOf(".")),i=xt()+r;n[e.unique_key]=i,e.uniqueValue=i}return n[e.file_data_name]=t,Lt(e.multi_parmas,(function(t,e){n[t]=e})),JSON.stringify(n)},data:function(t,e){return t}};function xt(){var t=(new Date).getTime();return"xxxxxx4xxxyxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:3&n|8).toString(16)}))}function Lt(t,e){for(var n in t)e(n,t[n])}var Rt,jt,kt,Pt=0,Ut=function(){function t(t){this.options=function(t){var e={domain:"",method:"POST",file_data_name:"file",unique_key:"key",base64_size:4194304,chunk_size:4194304,bos_chunk_size:4294967296,stc_chunk_size:10485760,headers:{},multi_parmas:{},query:{},support_options:!0,data:Dt.form,genUId:xt};if(!t||!t.domain)throw new Error("domain is null");for(var n in t)e[n]=t[n];return e}(t)}return t.prototype.setOptions=function(t){var e=this;Lt(t,(function(t,n){e.options[t]=n}))},t.prototype.upload=function(t,e){if(t){var n=this;!function(t,e,n){var r,i;dt=t,pt=e,_t=[];var o,s=U.imClient.context.getInfoFromCache();if(1===(null==s?void 0:s.type)&&(null===(r=U.imClient.initOptions)||void 0===r?void 0:r.uploadDomain))_t=[["qiniu",null===(i=U.imClient.initOptions)||void 0===i?void 0:i.uploadDomain]];else if(e.ossConfig){var a,c,u=JSON.parse(e.ossConfig),l="",f=[];u.forEach((function(t){var e=Number(t.p)-1;for(var n in t)"aliyun"===n&&(l=t[n]),"s3"===n&&(a=t[n]),"stc"===n&&(c=t[n]),"p"!==n&&(f[e]=[n,t[n]])})),f.forEach((function(t){t&&_t.push(t)})),u.length!==_t.length&&(_t=[["qiniu",e.domain],["baidu",e.uploadHost.bos],["aliyun",l],["s3",a],["stc",c]])}else _t=[["qiniu",e.domain],["baidu",e.uploadHost.bos]];if(e.ossConfig){var h=e&&JSON.parse(e.ossConfig);Array.isArray(h)||(h=[]),o=h.find((function(t){return Object.keys(t).includes("stc")}))}if(o&&1===parseInt(o.p)&&t.size>=4194304)Ot(t,e,n);else{var d=e.data(t,e);Ct[_t[0][0]](d,e,n,t)}}(t,this.options,{onProgress:function(t,n,r){Rt=t,r?Rt=Pt+t/n*(n-Pt):Pt=Rt,e.onProgress(Rt,n)},onCompleted:function(t){e.onCompleted(t)},onError:function(t){e.onError(t)},onOpen:function(t){n.xhr=t}})}else e.onError("upload file is null.")},t.prototype.cancel=function(){this.xhr&&this.xhr.abort()},t}(),zt={init:function(t){return new Ut(t)},dataType:Dt,resize:function(t,e,n){t.type;var r=document.createElement("canvas"),i=new FileReader;i.readAsDataURL(t),i.onload=function(t){var i=t.target.result,o=new Image;o.src=i;var s=o.width,a=o.height,c=function(t,e){var n=1,r=t.width,i=e.maxWidth||0;i>0&&r>i&&(n=i/r);var o=t.height,s=e.maxHeight||0;if(s>0&&o>s){var a=s/o;n=Math.min(n,a)}var c=e.maxSize||0,u=Math.ceil(t.size/1e3);if(u>c){var l=c/u;n=Math.min(n,l)}return n}({width:s,height:a,size:t.total},e),u=i;c<1&&(u=function(t,e,n){return r.width=e,r.height=n,r.getContext("2d").drawImage(t,0,0,e,n),r.toDataURL("image/jpg")}(o,s*c,a*c)),n(u)}}},Bt=function(t,e,n){var r=document.createElement("canvas"),i=r.getContext("2d"),o=new Image,s="string"==typeof t;o.onload=function(s){var a=function(t,e,n){var r,i,o,s=t<e,a=0,c=0;return(s?e/t:t/e)>n.scale?(s?(i=100,c=((o=e/(r=t/100))-n.maxHeight)/2):(o=100,a=((i=t/(r=e/100))-n.maxWidth)/2),{w:i,h:o,x:-a,y:-c}):(s?(r=e/n.maxHeight,o=n.maxHeight,i=t/r):(r=t/n.maxWidth,i=n.maxWidth,o=e/r),{w:i,h:o,x:-a,y:-c})}(o.width,o.height,e);r.width=a.w>e.maxWidth?e.maxWidth:a.w,r.height=a.h>e.maxHeight?e.maxHeight:a.h,i.drawImage(o,a.x,a.y,a.w,a.h);var c=r.toDataURL("string"==typeof t?"image/jpg":t.type,e.quality);c=c.replace(/data:image\/[^;]+;base64,/,""),n(c)},o.src=s?"data:image/jpg;base64,"+t:function(t){var e=window.URL||window.webkitURL;return e?e.createObjectURL(t):""}(t)},Gt=function(t,e){var n=t.file,r=t.compress;Bt(n,r,e)},Yt=function(t,e){if(t.getToken)t.getToken((function(n,r){r=r||{},t.multi_parmas||(t.multi_parmas={}),t.multi_parmas.token=n,t.uploadHost||(t.uploadHost={}),t.uploadHost.bos=r.bos,t.ossConfig=r.ossConfig,t.bosHeader||(t.bosHeader={}),t.bosHeader.bosDate=r.bosDate,t.bosHeader.bosToken=r.bosToken,t.bosUploadPath=r.path,t.aliHeader={},t.aliHeader.osskeyId=r.osskeyId,t.aliHeader.ossPolicy=r.ossPolicy,t.aliHeader.ossSign=r.ossSign,t.ossBucketName=r.ossBucketName,t.uploadFileName=r.fileName,t.s3Header={},t.s3Header.s3Credential=r.s3Credential,t.s3Header.s3Algorithm=r.s3Algorithm,t.s3Header.s3Date=r.s3Date,t.s3Header.s3Policy=r.s3Policy,t.s3Header.s3Signature=r.s3Signature,t.s3BucketName=r.s3BucketName,t.stcHeader={},t.stcHeader.stcAuthorization=r.stcAuthorization,t.stcHeader.stcContentSha256=r.stcContentSha256,t.stcHeader.stcDate=r.stcDate,t.stcBucketName=r.stcBucketName,t.headers||(t.headers={}),t.base64&&(t.headers["Content-type"]="application/octet-stream",t.headers.Authorization="UpToken "+n);var i=zt.init(t);e(i)}));else{t.headers||(t.headers={}),t.base64&&(t.headers["Content-type"]="application/octet-stream");var n=zt.init(t);e(n)}},$t=function(t,e,n){e.upload(t.file,{onError:function(t){n.onError(t)},onProgress:function(t,e){n.onProgress(t,e)},onCompleted:function(e){e.filename||(e.filename=e.hash);var r=t.compressThumbnail||Gt;t.compress?r(t,(function(t){e.thumbnail=t,n.onCompleted(e)})):n.onCompleted(e)}})},Ht=function(){function t(t){this.instance=t}return t.prototype.upload=function(t,e){$t({file:t},this.instance,e)},t.prototype.cancel=function(){this.instance.cancel()},t}(),Ft=function(){function t(t,e){this.instance=t,this.cfg=e}return t.prototype.upload=function(t,e){var n={file:t,compress:this.cfg};$t(n,this.instance,e)},t.prototype.cancel=function(){this.instance.cancel()},t}(),Vt=function(t,e){Yt(t,(function(n){var r,i,o,s,a={maxHeight:(null===(r=t.thumbnailConfig)||void 0===r?void 0:r.maxHeight)||160,maxWidth:(null===(i=t.thumbnailConfig)||void 0===i?void 0:i.maxWidth)||160,quality:(null===(o=t.thumbnailConfig)||void 0===o?void 0:o.quality)||.5,scale:(null===(s=t.thumbnailConfig)||void 0===s?void 0:s.scale)||2.4},c=new Ft(n,a);e(c)}))},Qt=function(t,e){Yt(t,(function(t){var n=new Ht(t);e(n)}))},Wt=Vt;function Zt(t,e,n,i){var c,u=this;void 0===e&&(e=r["h"].FILE),c=e===r["h"].IMAGE?r["h"].IMAGE:r["h"].FILE;var l=U.imClient.context.getInfoFromCache();if(!kt&&(kt="upload.qiniup.com",l&&l.ossConfig))try{var f=JSON.parse(l.ossConfig).find((function(t){return void 0!==t.qiniu}));f&&(kt=f.qiniu)}catch(t){}var h=o({domain:kt,getToken:function(t){U.imClient.context.getFileToken(c).then((function(e){t(e.token,e)})).catch((function(t){n.onFail(t)}))}},i);(c===r["h"].IMAGE?Wt:Qt)(h,(function(i){i.upload(t,{onProgress:function(t,e){var r,i=Math.floor(t/e*100);null===(r=n.onProgress)||void 0===r||r.call(n,i)},onCompleted:function(i){return s(u,void 0,void 0,(function(){return a(this,(function(u){return 1===(null==l?void 0:l.type)?function(t,e,n,i,s){var a,c={type:n.type,name:i.rc_url.file_name,downloadUrl:(null===(a=U.imClient.initOptions)||void 0===a?void 0:a.uploadDomain)+i.rc_url.path};t!==r["h"].AUDIO?(t===r["h"].IMAGE&&(c.thumbnail=i.thumbnail),s.onSuccess(c)):Kt(n).then((function(t){s.onSuccess(o(o({},c),t))}))}(e,0,t,i,n):function(t,e,n,i,c){var u=this;Jt(e,i.filename,i.name,i,i.uploadMethod).then((function(l){return s(u,void 0,void 0,(function(){var s;return a(this,(function(a){return 0!==l.code?(c.onFail(l),[2]):((s=l.data).type=n.type,s.name=i.name||i.filename,t===r["h"].AUDIO?(Kt(n).then((function(t){c.onSuccess(o(o({},s),t))})),[2]):(e===r["h"].IMAGE&&(s.thumbnail=i.thumbnail),c.onSuccess(s),[2]))}))}))})).catch((function(t){c.onFail(t)}))}(e,c,t,i,n),[2]}))}))},onError:function(t){n.onFail(t)}})}))}function Kt(t){return new Promise((function(e){if("function"==typeof t.arrayBuffer)return t.arrayBuffer().then(qt).then((function(t){e(t)}));var n=new FileReader;n.onload=function(){n.result?qt(n.result).then((function(t){e(t)}),(function(){e({})})):e({})},n.onerror=function(){e({duration:0})},n.readAsArrayBuffer(t)}))}function qt(t){return jt=jt||new AudioContext,new Promise((function(e,n){jt.decodeAudioData(t,(function(t){e({duration:t.duration,length:t.length})}),n)}))}function Jt(t,e,n,i,o){return Object(r["x"])("fileType",t,r["G"],!0),Object(r["x"])("filename",e,r["b"].STRING),Object(r["x"])("saveName",n,r["b"].STRING),Object(r["x"])("serverType",o,r["b"].NUMBER),new Promise((function(s){U.imClient.context.getFileUrl(t,e,n,i,o).then((function(t){s({code:r["f"].SUCCESS,data:t})})).catch((function(t){s({code:t})}))}))}function Xt(t,e,n){return s(this,void 0,void 0,(function(){var i,s,c,u,f,h,d,p,g,v,y,m;return a(this,(function(a){switch(a.label){case 0:return n=n||{},e instanceof ft==0?(l.warn("send message fail -> message parameter is not an instance of BaseMessage"),[2,z.ILLGAL_PARAMS]):(Object(r["x"])("conversation",t,r["b"].OBJECT,!0),i=t.conversationType,s=t.targetId,c=t.channelId,Object(r["x"])("conversation.targetId",s,r["b"].STRING,!0),Object(r["x"])("conversation.conversationType",i,r["b"].NUMBER),Object(r["x"])("conversation.channelId",c,r["b"].CHANNEL_ID),Object(r["x"])("options.isStatusMessage",null==n?void 0:n.isStatusMessage,r["b"].BOOLEAN),Object(r["x"])("options.disableNotification",null==n?void 0:n.disableNotification,r["b"].BOOLEAN),Object(r["x"])("options.pushContent",null==n?void 0:n.pushContent,r["b"].STRING),Object(r["x"])("options.pushData",null==n?void 0:n.pushData,r["b"].STRING),Object(r["x"])("options.isMentioned",null==n?void 0:n.isMentioned,r["b"].BOOLEAN),Object(r["x"])("options.mentionedType",null==n?void 0:n.mentionedType,r["b"].NUMBER),Object(r["x"])("options.mentionedUserIdList",null==n?void 0:n.mentionedUserIdList,r["b"].ARRAY),Object(r["x"])("options.directionalUserIdList",null==n?void 0:n.directionalUserIdList,r["b"].ARRAY),Object(r["x"])("options.isVoipPush",null==n?void 0:n.isVoipPush,r["b"].BOOLEAN),Object(r["x"])("options.canIncludeExpansion",null==n?void 0:n.canIncludeExpansion,r["b"].BOOLEAN),Object(r["x"])("options.expansion",null==n?void 0:n.expansion,r["b"].OBJECT),Object(r["x"])("options.pushConfig",null==n?void 0:n.pushConfig,r["b"].OBJECT),u="conversationType:"+i+",targetId:"+s,l.debug("send message ->"+u),f=function(t,e,n){var r=t.isStatusMessage,i=t.disableNotification,s=t.pushContent,a=t.pushData,c=t.isMentioned,u=t.mentionedType,l=t.mentionedUserIdList,f=t.directionalUserIdList,h=t.isVoipPush,d=t.canIncludeExpansion,p=t.expansion,g=t.isFilerWhiteBlacklist,v=t.pushConfig,y=n.channelId;return o({isStatusMessage:r,disableNotification:i,pushContent:s,pushData:a,isMentioned:c,mentionedType:u,mentionedUserIdList:l,directionalUserIdList:f,isVoipPush:h,canIncludeExpansion:d,expansion:p,isFilerWhiteBlacklist:g,pushConfig:v,channelId:y||""},e)}(n,e,t),h={isMentioned:!!n.isMentioned,content:e.content,messageType:e.messageType,isPersited:e.isPersited||!1,isCounted:e.isCounted||!1,disableNotification:!!(null==n?void 0:n.disableNotification),canIncludeExpansion:!!(null==n?void 0:n.canIncludeExpansion),expansion:(null==n?void 0:n.expansion)||null,conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId,senderUserId:U.imClient.context.getCurrentUserId(),messageUId:"",messageDirection:r["m"].SEND,receivedTime:0,isStatusMessage:n.isStatusMessage||!1,receivedStatus:r["r"].UNREAD,isOffLineMessage:!1,pushConfig:null==n?void 0:n.pushConfig},i!==r["e"].ULTRA_GROUP&&(h.isOffLineMessage=!1),d=function(t){h.messageId=t;try{(null==n?void 0:n.onSendBefore)&&n.onSendBefore(j(h))}catch(t){r["H"].error('Callback method "onSendBefore" execution error',t)}},p=r["H"].ID(),r["H"].info(r["j"].A_SEND_MSG_T,{messageType:e.messageType,conversationType:i,targetId:s,channelId:c},{traceId:p}),[4,U.imClient.context.sendMessage(i,s,f,d,p)]);case 1:return g=a.sent(),v=g.code,y=g.data,(v===r["f"].SUCCESS?r["H"].info:r["H"].warn)(r["j"].A_SEND_MSG_R,{code:v,messageUId:y?y.messageUId:"",messageId:y?y.messageId:""},{traceId:p}),v===r["f"].SUCCESS?(m=j(y),[2,{code:v,data:m}]):(l.warn("send message fail ->"+v+":"+B[v]+","+u),h.sentTime=(null==y?void 0:y.sentTime)||0,[2,{code:v,msg:B[v],data:j(h)}])}}))}))}function te(t,e){return function(n,i,o,s){Object(r["x"])("sendOptions.contentDisposition",null==s?void 0:s.contentDisposition,(function(t){return["inline","attachment"].includes(t)}));var a={contentDisposition:null==s?void 0:s.contentDisposition};if(s&&"thumbnailConfig"in s){var c=null==s?void 0:s.thumbnailConfig;Object(r["x"])("sendOptions.maxHeight",null==c?void 0:c.maxHeight,r["b"].NUMBER),Object(r["x"])("sendOptions.maxWidth",null==c?void 0:c.maxWidth,r["b"].NUMBER),Object(r["x"])("sendOptions.quality",null==c?void 0:c.quality,r["b"].NUMBER),Object(r["x"])("sendOptions.scale",null==c?void 0:c.scale,r["b"].NUMBER),a.thumbnailConfig=c}return new Promise((function(c){var u=r["H"].ID();r["H"].info(r["j"].L_MEDIA_UPLOAD_T,{filesize:i.file.size,type:t},{traceId:u}),Zt(i.file,t,{onProgress:null==o?void 0:o.onProgress,onSuccess:function(t){var a,l=(null===(a=null==o?void 0:o.onComplete)||void 0===a?void 0:a.call(o,{url:t.downloadUrl}))||e(t,i);t&&t.downloadUrl&&r["H"].info(r["j"].L_MEDIA_UPLOAD_R,{downurl:t.downloadUrl,code:r["f"].SUCCESS},{traceId:u}),Xt(n,l,s).then(c)},onFail:function(t){r["H"].warn(r["j"].L_MEDIA_UPLOAD_R,{code:r["f"].UPLOAD_FILE_FAILED},{traceId:u}),c({code:r["f"].UPLOAD_FILE_FAILED,msg:t||r["f"][r["f"].UPLOAD_FILE_FAILED]})}},a)}))}}zt.dataType;var ee=te(r["h"].FILE,(function(t,e){return new Mt({name:t.name,size:e.file.size,type:e.file.type,fileUrl:t.downloadUrl,user:e.user,extra:e.extra})})),ne=te(r["h"].IMAGE,(function(t,e){return new gt({content:t.thumbnail,imageUri:t.downloadUrl,user:e.user,extra:e.extra})}));te(r["h"].AUDIO,(function(t,e){return new vt({remoteUrl:t.downloadUrl,duration:t.duration,type:t.type,user:e.user,extra:e.extra})})),te(r["h"].SIGHT,(function(t,e){return new yt({sightUrl:t.downloadUrl,content:e.thumbnail,duration:e.duration,size:e.file.size||t.size,name:e.name||t.name,user:e.user,extra:e.extra})}));function re(t,e){return s(this,void 0,void 0,(function(){var n,i,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return Object(r["x"])("options.timestamp",null==e?void 0:e.timestamp,r["b"].NUMBER),Object(r["x"])("options.count",null==e?void 0:e.count,r["b"].NUMBER),Object(r["x"])("options.order",null==e?void 0:e.order,(function(t){return 0===t||1===t})),Object(r["x"])("conversation.channelId",null==t?void 0:t.channelId,r["b"].CHANNEL_ID),n="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("get history message ->"+n),i=r["H"].ID(),r["H"].info(r["j"].A_GET_HISTORY_MSG_T,{targetId:t.targetId,conversationType:t.conversationType,channelId:t.channelId,timestamp:null==e?void 0:e.timestamp,count:null==e?void 0:e.count},{traceId:i}),[4,U.imClient.context.getHistoryMessage(t.conversationType,t.targetId,null==e?void 0:e.timestamp,null==e?void 0:e.count,null==e?void 0:e.order,null==t?void 0:t.channelId,"",i)];case 1:return o=a.sent(),s=o.code,c=o.data,s===r["f"].SUCCESS&&c?(u=c.list.map((function(t){return j(t)})),r["H"].info(r["j"].A_GET_HISTORY_MSG_R,{code:s,messageLength:u.length},{traceId:i}),[2,{code:s,data:{list:u,hasMore:c.hasMore}}]):(r["H"].warn(r["j"].A_GET_HISTORY_MSG_R,{code:s,messageUIds:""},{traceId:i}),l.warn("get history message fail ->"+s+":"+B[s]+","+n),[2,{code:s,msg:B[s]}])}}))}))}function ie(t,e,n,i){return s(this,void 0,void 0,(function(){var o,s,c,u,l;return a(this,(function(a){switch(a.label){case 0:return o={targetId:t,conversationType:r["e"].PRIVATE,channelId:i},s=new ft("RC:ReadNtf",{messageUId:e,lastMessageSendTime:n,type:1}),[4,Xt(o,s)];case 1:return c=a.sent(),u=c.code,l=c.msg,0===u?[2,{code:u}]:[2,{code:u,msg:l}]}}))}))}function oe(t,e,n){return s(this,void 0,void 0,(function(){var i,o,s,c,u,f,h;return a(this,(function(a){switch(a.label){case 0:return Object(r["x"])("targetId",t,r["b"].STRING,!0),Object(r["x"])("messageList",e,r["b"].OBJECT,!0),Object(r["x"])("channelId",n,r["b"].CHANNEL_ID),Object.keys(e).forEach((function(t){Object(r["x"])(t,e[t],r["b"].ARRAY)})),i={targetId:t,conversationType:r["e"].GROUP,channelId:n},s=U.imClient.context.getInfoFromCache(),0!==(c=(null==s?void 0:s.grpRRVer)||0)?[3,2]:(u=new ft("RC:RRRspMsg",{receiptMessageDic:e}),[4,Xt(i,u)]);case 1:return o=a.sent(),[3,4];case 2:return 1!==c?[3,4]:(f=[],Object.keys(e).forEach((function(t){e[t].forEach((function(t){-1===f.indexOf(t)&&f.push(t)}))})),f.length?[4,U.imClient.context.sendReadReceiptMessage(t,f,n)]:(l.warn("Error in parameter messageList."),[2,{code:r["f"].PARAMETER_ERROR}]));case 3:o=a.sent(),a.label=4;case 4:return(h=o.code)===r["f"].SUCCESS?[2,{code:h}]:(l.warn("send read receipt message fail ->"+h+":"+B[h]),[2,{code:h,msg:B[h]}])}}))}))}function se(t,e){return s(this,void 0,void 0,(function(){var n,i,o,s,c;return a(this,(function(a){switch(a.label){case 0:return Object(r["x"])("options.messageUId",e.messageUId,r["b"].STRING,!0),Object(r["x"])("options.sentTime",e.sentTime,r["b"].NUMBER,!0),Object(r["x"])("options.disableNotification",null==e?void 0:e.disableNotification,r["b"].BOOLEAN),Object(r["x"])("options.pushConfig",null==e?void 0:e.pushConfig,r["b"].OBJECT),Object(r["x"])("conversation.channelId",null==t?void 0:t.channelId,r["b"].CHANNEL_ID),n={user:e.user,channelId:t.channelId||"",disableNotification:null==e?void 0:e.disableNotification,pushConfig:null==e?void 0:e.pushConfig,extra:e.extra,isDelete:e.isDelete},i="conversationType:"+t.conversationType+",targetId:"+t.targetId+",messageUId:"+e.messageUId,l.debug("recall message ->"+i),[4,U.imClient.context.recallMessage(t.conversationType,t.targetId,e.messageUId,e.sentTime,n)];case 1:return o=a.sent(),s=o.code,c=o.data,s===r["f"].SUCCESS&&c?[2,{code:s,data:j(c)}]:s===r["f"].SUCCESS?[2,{code:s}]:(l.warn("recall message fail ->"+s+":"+B[s]+","+i),[2,{code:s,msg:B[s]}])}}))}))}function ae(t,e){return s(this,void 0,void 0,(function(){var n,i;return a(this,(function(o){switch(o.label){case 0:return Object(r["x"])("options",e,(function(t){return Object(r["z"])(t)&&t.length}),!0),e.forEach((function(t){Object(r["x"])("options.messageUId",t.messageUId,r["b"].STRING,!0),Object(r["x"])("options.sentTime",t.sentTime,r["b"].NUMBER,!0),Object(r["x"])("options.messageDirection",t.messageDirection,(function(t){return 1===t||2===t}),!0)})),Object(r["x"])("conversation.channelId",null==t?void 0:t.channelId,r["b"].CHANNEL_ID),n="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("delete messages ->"+n),[4,U.imClient.context.deleteRemoteMessage(t.conversationType,t.targetId,e,t.channelId)];case 1:return(i=o.sent())!==r["f"].SUCCESS?(l.warn("delete message fail ->"+i+":"+B[i]+","+n),[2,{code:i,msg:B[i]}]):[2,{code:r["f"].SUCCESS}]}}))}))}function ce(t,e){return s(this,void 0,void 0,(function(){var n,i,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return Object(r["x"])("typingContentType",e,r["b"].STRING,!0),n="conversationType:"+t.conversationType+",targetId:"+t.targetId,l.debug("send typing status message ->"+n),i={messageType:"RC:TypSts",content:{typingContentType:e},isStatusMessage:!0,channelId:t.channelId},o=r["H"].ID(),r["H"].info(r["j"].A_SEND_MSG_T,{messageType:i.messageType,conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},{traceId:o}),[4,U.imClient.context.sendMessage(t.conversationType,t.targetId,i,void 0,o)];case 1:return s=a.sent(),c=s.code,u=s.data,(c===r["f"].SUCCESS?r["H"].info:r["H"].warn)(r["j"].A_SEND_MSG_R,{code:c,messageUId:u?u.messageUId:"",messageId:u?u.messageId:""},{traceId:o}),c===r["f"].SUCCESS?[2,{code:c,data:j(u)}]:(l.warn("send typing status message fail ->"+c+":"+B[c]+","+n),[2,{code:c,msg:B[c]}])}}))}))}function ue(t,e,n,i,o){return Object(r["x"])("messageType",t,r["b"].STRING,!0),Object(r["x"])("isPersited",e,r["b"].BOOLEAN,!0),Object(r["x"])("isCounted",n,r["b"].BOOLEAN,!0),Object(r["x"])("isStatusMessage",o,r["b"].BOOLEAN,!1),r["H"].info(r["j"].A_REGTYP_O,{messageType:t,isCounted:n,isStatusMessage:o,isPersited:e}),U.imClient.context.registerMessageType(t,e,n,i,o),ht(t,e,n)}te(r["h"].COMBINE_HTML,(function(t,e){return new It({remoteUrl:t.downloadUrl,nameList:e.nameList,summaryList:e.summaryList,conversationType:e.conversationType,user:e.user,extra:e.extra})}));var le={TEXT:"RC:TxtMsg",VOICE:"RC:VcMsg",HQ_VOICE:"RC:HQVCMsg",IMAGE:"RC:ImgMsg",GIF:"RC:GIFMsg",RICH_CONTENT:"RC:ImgTextMsg",LOCATION:"RC:LBSMsg",FILE:"RC:FileMsg",SIGHT:"RC:SightMsg",COMBINE:"RC:CombineMsg",CHRM_KV_NOTIFY:"RC:chrmKVNotiMsg",LOG_COMMAND:"RC:LogCmdMsg",EXPANSION_NOTIFY:"RC:MsgExMsg",REFERENCE:"RC:ReferenceMsg",RECALL_MESSAGE_TYPE:"RC:RcCmd"};Object.freeze({__proto__:null,getAllConversationList:function(t){return s(this,void 0,void 0,(function(){var e,n,i,o;return a(this,(function(s){switch(s.label){case 0:return Object(r["K"])()?(Object(r["x"])("channelId",t,r["b"].ONLY_STRING),l.info("getAllConversationList -> channelId: ".concat(t)),Object(r["E"])(t)?[4,U.imClient.context.getConversationListWithAllChannel()]:[3,2]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return e=s.sent(),[3,4];case 2:return[4,U.imClient.context.getConversationList(void 0,void 0,void 0,void 0,t)];case 3:e=s.sent(),s.label=4;case 4:return n=e.code,i=e.data,n===r["f"].SUCCESS&&i?(o=i.map((function(t){return k(t)})),[2,{code:n,data:o}]):(l.warn("getAllConversationList fail -> code: ".concat(n," channelId: ").concat(t)),[2,{code:n,msg:B[n]}])}}))}))},getConversationList:function(t,e,n){return s(this,void 0,void 0,(function(){var i,o,s,c,u,f;return a(this,(function(a){switch(a.label){case 0:return Object(r["K"])()?(Object(r["x"])("startTime",t,r["b"].NUMBER,!0),Object(r["x"])("count",e,r["b"].NUMBER,!0),Object(r["x"])("channelId",n,r["b"].ONLY_STRING),i="startTime: ".concat(t,", count: ").concat(e,", channelId: ").concat(n),l.info("getConversationList -> ".concat(i)),Object(r["E"])(n)?[4,U.imClient.context.getConversationListWithAllChannelByPage(t,e)]:[3,2]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return o=a.sent(),[3,4];case 2:return s=[1,2,3,5,6,7,8],[4,U.imClient.context.getConversationsByPage(s,t,e,n)];case 3:o=a.sent(),a.label=4;case 4:return c=o.code,u=o.data,c===r["f"].SUCCESS&&u?(f=u.map((function(t){return k(t)})),[2,{code:c,data:f}]):(l.warn("getConversationList fail -> code: ".concat(c," ").concat(i)),[2,{code:c,msg:B[c]}])}}))}))},searchConversationByContent:function(t,e,n){return s(this,void 0,void 0,(function(){var i,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return Object(r["K"])()?(Object(r["x"])("keyword",t,r["b"].STRING,!0),Object(r["x"])("messageTypes",e,r["b"].ARRAY,!0),Object(r["x"])("channelId",n,r["b"].ONLY_STRING),e.forEach((function(t){Object(r["x"])("messageType",t,r["b"].STRING,!0)})),i="keyword: ".concat(t,", messageTypes: ").concat(JSON.stringify(e),", channelId: ").concat(n),l.info("searchConversationByContent -> ".concat(r["k"])),Object(r["E"])(n)?[4,U.imClient.context.searchConversationByContentWithAllChannel(t,e)]:[3,2]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return o=a.sent(),[3,4];case 2:return[4,U.imClient.context.searchConversationByContent(t,e,n)];case 3:o=a.sent(),a.label=4;case 4:return s=o.code,c=o.data,s===r["f"].SUCCESS&&c?(u=c.map((function(t){return k(t)})),[2,{code:s,data:u}]):(l.warn("searchConversationByContent fail -> code: ".concat(s," ").concat(i)),[2,{code:s,msg:B[s]}])}}))}))},searchMessages:function(t,e,n,i){return s(this,void 0,void 0,(function(){var o,s,c,u,f,h,d,p,g,v;return a(this,(function(a){switch(a.label){case 0:return Object(r["K"])()?(Object(r["x"])("conversation",t,r["b"].CONVERSATION,!0),Object(r["x"])("keyword",e,r["b"].STRING,!0),Object(r["x"])("startTime",n,r["b"].NUMBER,!0),Object(r["x"])("count",i,r["b"].NUMBER,!0),o="conversation: ".concat(JSON.stringify(t),", keyword: ").concat(e,", timestamp: ").concat(n,", count: ").concat(i),l.info("searchMessages -> ".concat(o)),s=t.targetId,c=t.conversationType,u=t.channelId,Object(r["E"])(u)?[4,U.imClient.context.searchMessageByContentWithAllChannel(c,s,e,n,i)]:[3,2]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return f=a.sent(),[3,4];case 2:return[4,U.imClient.context.searchMessageByContent(c,s,e,n,i,0,u)];case 3:f=a.sent(),a.label=4;case 4:return h=f.code,d=f.data,h===r["f"].SUCCESS&&d?(p=d.messages,g=d.count,v=p.map((function(t){return j(t)})),[2,{code:h,data:{messages:v,count:g}}]):(l.warn("searchMessages fail -> code: ".concat(h," ").concat(o)),[2,{code:h,msg:B[h]}])}}))}))},searchMessageInTimeRange:function(t,e){return s(this,void 0,void 0,(function(){var n,i,o,s,c,u,f,h,d,p,g;return a(this,(function(a){switch(a.label){case 0:return Object(r["K"])()?(Object(r["x"])("conversation",t,r["b"].CONVERSATION,!0),Object(r["x"])("option",e,r["b"].OBJECT,!0),Object(r["x"])("option.keyword",e.keyword,r["b"].STRING,!0),Object(r["x"])("option.startTime",e.startTime,r["b"].NUMBER,!0),Object(r["x"])("option.endTime",e.endTime,r["b"].NUMBER,!0),Object(r["x"])("option.offset",e.offset,r["b"].NUMBER),Object(r["x"])("option.limit",e.limit,r["b"].NUMBER),n="conversation: ".concat(JSON.stringify(t),", option: ").concat(JSON.stringify(e)),l.info("searchMessageInTimeRange -> ".concat(n)),i=t.conversationType,o=t.targetId,s=e.keyword,c=e.startTime,u=e.endTime,f=e.offset,h=e.limit,f=f||0,h=h||5,[4,U.imClient.context.searchMessageByContentInTimeRangeWithAllChannel(i,o,s,c,u,f,h)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return d=a.sent(),p=d.code,g=d.data,p===r["f"].SUCCESS&&g?[2,{code:p,data:{messages:g.messages.map((function(t){return j(t)}))}}]:(l.warn("searchMessageInTimeRange fail -> code: ".concat(p,", ").concat(n)),[2,{code:p}])}}))}))},getHistoryMessagesByMessageTypes:function(t,e){return s(this,void 0,void 0,(function(){var n,i,o,s,c,u,f,h,d,p,g,v,y,m,I;return a(this,(function(a){switch(a.label){case 0:return Object(r["K"])()?(Object(r["x"])("conversation",t,r["b"].CONVERSATION,!0),Object(r["x"])("option",e,r["b"].OBJECT,!0),n=e.count,i=e.timestamp,o=e.order,s=e.messageTypes,Object(r["x"])("option.count",n,r["b"].NUMBER),Object(r["x"])("option.timestamp",i,r["b"].NUMBER),Object(r["x"])("option.order",o,(function(t){return[0,1].includes(t)})),Object(r["x"])("option.messageTypes",s,r["b"].ARRAY,!0),s.forEach((function(t){Object(r["x"])("option.messageType",t,r["b"].STRING,!0)})),c="conversation: ".concat(JSON.stringify(t),", option: ").concat(JSON.stringify(e)),l.info("getHistoryMessagesByMessageTypes -> ".concat(c)),u=t.conversationType,f=t.targetId,h=t.channelId,n||(n=20),i||(i=0),o||(o=0),h||(h=""),[4,U.imClient.context.getHistoryMessagesByObjectNames(u,f,i,n,s,o,h)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return d=a.sent(),p=d.code,g=d.data,p===r["f"].SUCCESS?(y=(v=g).list,m=v.hasMore,I=y.map((function(t){return j(t)})),[2,{code:p,data:{messages:I,hasMore:m}}]):(l.warn("getHistoryMessagesByMessageTypes fail -> code: ".concat(p," ").concat(c)),[2,{code:p,msg:B[p]}])}}))}))},setMessageStatusToRead:function(t,e){return s(this,void 0,void 0,(function(){var n,i,o,s;return a(this,(function(a){switch(a.label){case 0:return Object(r["K"])()?(Object(r["x"])("conversation",t,r["b"].CONVERSATION,!0),Object(r["x"])("timestamp",e,r["b"].NUMBER,!0),n="conversation: ".concat(JSON.stringify(t),", timestamp: ").concat(e),l.info("updateSentMsgReceiptStatus -> ".concat(n)),i=t.conversationType,o=t.targetId,s=t.channelId,[4,U.imClient.context.setMessageStatusToRead(i,o,e,s)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return[2,a.sent()]}}))}))},setMessageReceivedStatus:function(t,e){return s(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return Object(r["K"])()?(Object(r["x"])("messageId",t,r["b"].NUMBER,!0),Object(r["x"])("receivedStatus",e,(function(t){return!Object(r["E"])(r["r"][t])}),!0),l.info("setMessageReceivedStatus -> messageId: ".concat(t,", receivedStatus: ").concat(e)),[4,U.imClient.context.setMessageReceivedStatus(t,e)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return[2,{code:n.sent()}]}}))}))},setMessageSentStatus:function(t,e){return s(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return Object(r["K"])()?(Object(r["x"])("messageId",t,r["b"].NUMBER,!0),Object(r["x"])("sentStatus",e,(function(t){return!Object(r["E"])(u[t])}),!0),l.info("setMessageSentStatus ->messageId: ".concat(t,", sentStatus: ").concat(e)),[4,U.imClient.context.setMessageSentStatus(t,e)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return[2,{code:n.sent()}]}}))}))},setMessageContent:function(t,e,n){return void 0===n&&(n=""),s(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return Object(r["K"])()?(Object(r["x"])("messageId",t,r["b"].NUMBER,!0),Object(r["x"])("content",e,r["b"].OBJECT,!0),Object(r["x"])("messageType",n,r["b"].ONLY_STRING,!0),l.info("setMessageSentStatus ->messageId: ".concat(t,", messageType: ").concat(n)),[4,U.imClient.context.setMessageContent(t,e,n)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return[2,{code:i.sent()}]}}))}))},deleteMessages:function(t){return s(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return Object(r["K"])()?(Object(r["x"])("messageIds",t,r["b"].ARRAY,!0),t.forEach((function(t){Object(r["x"])("messageId",t,r["b"].NUMBER,!0)})),l.info("deleteMessages ->messageIds: ".concat(JSON.stringify(t))),[4,U.imClient.context.deleteMessages(t)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return[2,{code:e.sent()}]}}))}))},clearMessages:function(t){return s(this,void 0,void 0,(function(){var e;return a(this,(function(n){switch(n.label){case 0:return Object(r["K"])()?(l.info("clearMessages ->targetId:"+t.targetId+",conversationType:"+t.conversationType),[4,U.imClient.context.clearMessages(t.conversationType,t.targetId,t.channelId)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return(e=n.sent())===r["f"].SUCCESS?[2,{code:e}]:(l.warn("clearMessages ->code:"+e+",targetId:"+t.targetId),[2,{code:e,msg:B[e]}])}}))}))},deleteMessagesByTimestamp:function(t,e,n){return s(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return Object(r["K"])()?(Object(r["x"])("conversationType",t.conversationType,r["b"].NUMBER,!0),Object(r["x"])("targetId",t.targetId,r["b"].STRING,!0),Object(r["x"])("timestamp",e,r["b"].NUMBER,!0),Object(r["x"])("cleanSpace",n,r["b"].BOOLEAN),[4,U.imClient.context.deleteMessagesByTimestamp(t.conversationType,t.targetId,e,n,t.channelId)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return(i=o.sent())===r["f"].SUCCESS?[2,{code:i}]:(l.warn("deleteMessagesByTimestamp ->code:"+i+",targetId:"+t.targetId),[2,{code:i,msg:B[i]}])}}))}))},insertMessage:function(t,e,n){return void 0===n&&(n={}),s(this,void 0,void 0,(function(){var i,o,s,c,u,f,h,d,p,g,v,y,m,I,M,b;return a(this,(function(a){switch(a.label){case 0:return Object(r["K"])()?(i=e.senderUserId,o=e.messageType,s=e.content,c=e.messageDirection,u=e.messageUId,f=e.canIncludeExpansion,h=e.expansion,d=e.disableNotification,p=e.sentTime,g=e.sentStatus,l.info("insertMessage ->targetId:"+t.targetId+",conversationType:"+t.conversationType),v=n.isUnread,y=n.searchContent,m={senderUserId:i,messageType:o,content:s,messageDirection:c,sentTime:p,sentStatus:g,searchContent:y,isUnread:v,messageUId:u,disableNotification:d,canIncludeExpansion:f,expansionMsg:JSON.stringify(h),channelId:t.channelId||""},[4,U.imClient.context.insertMessage(t.conversationType,t.targetId,m)]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return I=a.sent(),M=I.code,b=I.data,M===r["f"].SUCCESS?[2,{code:M,data:j(b)}]:(l.warn("insertMessage ->code:"+M+",targetId:"+t.targetId),[2,{code:M,msg:B[M]}])}}))}))},clearLocalData:function(){return s(this,void 0,void 0,(function(){var t,e,n;return a(this,(function(i){switch(i.label){case 0:return Object(r["K"])()?(l.info("clearData -> "),[4,U.imClient.context.clearData()]):[2,{code:r["f"].NOT_SUPPORT,msg:B[r["f"].NOT_SUPPORT]}];case 1:return t=i.sent(),e=t.code,n=t.data,[2,{code:e,data:n}]}}))}))}});r["u"].add("imlib-next","5.4.3")},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e265:function(t,e,n){t.exports=n("ed33")},e394:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=n("38fd"),s=r.has,a=r.get,c=r.key,u=function(t,e,n){var r=s(t,e,n);if(r)return a(t,e,n);var i=o(e);return null!==i?u(t,i,n):void 0};r.exp({getMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:c(arguments[2]))}})},e3d0:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e3eb:function(t,e,n){const r=n("23db"),i=n("cd93"),o=n("c98f");t.exports=function t(e,{cleanKeys:n=[],cleanValues:s=[],emptyArrays:a=!0,emptyObjects:c=!0,emptyStrings:u=!0,NaNValues:l=!1,nullValues:f=!0,undefinedValues:h=!0}={}){return o(e,(e,o,d)=>{if(!n.includes(d)&&((Array.isArray(o)||i(o))&&(o=t(o,{NaNValues:l,cleanKeys:n,cleanValues:s,emptyArrays:a,emptyObjects:c,emptyStrings:u,nullValues:f,undefinedValues:h})),!s.includes(o)&&!(c&&i(o)&&r(o))&&(!a||!Array.isArray(o)||o.length)&&(!u||""!==o)&&(!l||!Number.isNaN(o))&&(!f||null!==o)&&(!h||void 0!==o)))return Array.isArray(e)?e.push(o):void(e[d]=o)})}},e418:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e,n){e.prototype.isBetween=function(t,e,r,i){var o=n(t),s=n(e),a="("===(i=i||"()")[0],c=")"===i[1];return(a?this.isAfter(o,r):!this.isBefore(o,r))&&(c?this.isBefore(s,r):!this.isAfter(s,r))||(a?this.isBefore(o,r):!this.isAfter(o,r))&&(c?this.isAfter(s,r):!this.isBefore(s,r))}}}))},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e4f7:function(t,e,n){var r=n("4bf8"),i=n("38fd");n("5eda")("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e630:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("774e"),i=n.n(r),o=n("db2a");function s(t,e){if(t){if("string"===typeof t)return Object(o["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?i()(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(o["a"])(t,e):void 0}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),s=n("5559")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},e76a:function(t,e,n){"use strict";const r={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,shadowDomShim:!1,slotChildNodesFix:!1,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0},i="app";let o,s,a,c,u=0,l=!1,f=!1,h=!1,d=!1,p=null,g=0,v=!1;const y="undefined"!==typeof window?window:{},m=(r.cssVarShim&&y.CSS,y.document||{head:{}}),I=(y.HTMLElement,{$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,r)=>t.addEventListener(e,n,r),rel:(t,e,n,r)=>t.removeEventListener(e,n,r),ce:(t,e)=>new CustomEvent(t,e)}),M=!r.shadowDomShim||!r.shadowDom||(()=>(m.head.attachShadow+"").indexOf("[native")>-1)(),b=(()=>{let t=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),C=t=>Promise.resolve(t),_=!!r.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"===typeof(new CSSStyleSheet).replace}catch(t){}return!1})(),A=(t,e,n,i)=>{r.hostListener&&n&&(r.hostListenerTargetParent&&(n=i?n.filter(([t])=>32&t):n.filter(([t])=>!(32&t))),n.map(([n,i,o])=>{const s=r.hostListenerTarget?w(t,n):t,a=T(e,o),c=E(n);I.ael(s,i,a,c),(e.$rmListeners$=e.$rmListeners$||[]).push(()=>I.rel(s,i,a,c))}))},T=(t,e)=>n=>{try{r.lazyLoad?256&t.$flags$?t.$lazyInstance$[e](n):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,n]):t.$hostElement$[e](n)}catch(i){ie(i)}},w=(t,e)=>r.hostListenerTargetDocument&&4&e?m:r.hostListenerTargetWindow&&8&e?y:r.hostListenerTargetBody&&16&e?m.body:r.hostListenerTargetParent&&32&e?t.parentElement:t,E=t=>b?{passive:0!==(1&t),capture:0!==(2&t)}:0!==(2&t),N="r",S="o",O="s",D="t",x="s-id",L="sty-id",R="c-id",j="http://www.w3.org/1999/xlink",k=(t,e="")=>{if(r.profile&&performance.mark){const n=`st:${t}:${e}:${u++}`;return performance.mark(n),()=>performance.measure(`[Stencil] ${t}() <${e}>`,n)}return()=>{}},P=(t,e)=>r.profile&&performance.mark?(0===performance.getEntriesByName(t).length&&performance.mark(t),()=>{0===performance.getEntriesByName(e).length&&performance.measure(e,t)}):()=>{},U=new WeakMap,z=(t,e,n)=>{let r=le.get(t);_&&n?(r=r||new CSSStyleSheet,r.replace(e)):r=e,le.set(t,r)},B=(t,e,n,i)=>{let o=Y(e,n),s=le.get(o);if(!r.attachStyles)return o;if(t=11===t.nodeType?t:m,s)if("string"===typeof s){t=t.head||t;let n,a=U.get(t);if(a||U.set(t,a=new Set),!a.has(o)){if(r.hydrateClientSide&&t.host&&(n=t.querySelector(`[${L}="${o}"]`)))n.innerHTML=s;else{if(r.cssVarShim&&I.$cssShim$){n=I.$cssShim$.createHostStyle(i,o,s,!!(10&e.$flags$));const t=n["s-sc"];t&&(o=t,a=null)}else n=m.createElement("style"),n.innerHTML=s;(r.hydrateServerSide||r.hotModuleReplacement)&&n.setAttribute(L,o),t.insertBefore(n,t.querySelector("link"))}a&&a.add(o)}}else r.constructableCSS&&!t.adoptedStyleSheets.includes(s)&&(t.adoptedStyleSheets=[...t.adoptedStyleSheets,s]);return o},G=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,i=e.$flags$,o=k("attachStyles",e.$tagName$),s=B(r.shadowDom&&M&&n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.$modeName$,n);(r.shadowDom||r.scoped)&&r.cssAnnotations&&10&i&&(n["s-sc"]=s,n.classList.add(s+"-h"),r.scoped&&2&i&&n.classList.add(s+"-s")),o()},Y=(t,e)=>"sc-"+(r.mode&&e&&32&t.$flags$?t.$tagName$+"-"+e:t.$tagName$),$=t=>fe.map(e=>e(t)).find(t=>!!t),H={},F="http://www.w3.org/2000/svg",V="http://www.w3.org/1999/xhtml",Q=t=>null!=t,W=t=>(t=typeof t,"object"===t||"function"===t),Z=(t,e,...n)=>{let i=null,o=null,s=null,a=!1,c=!1,u=[];const l=e=>{for(let n=0;n<e.length;n++)i=e[n],Array.isArray(i)?l(i):null!=i&&"boolean"!==typeof i&&((a="function"!==typeof t&&!W(i))?i=String(i):r.isDev&&"function"!==typeof t&&void 0===i.$flags$&&se("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),a&&c?u[u.length-1].$text$+=i:u.push(a?K(null,i):i),c=a)};if(l(n),e&&(r.isDev&&"input"===t&&nt(e),r.vdomKey&&e.key&&(o=e.key),r.slotRelocation&&e.name&&(s=e.name),r.vdomClass)){const t=e.className||e.class;t&&(e.class="object"!==typeof t?t:Object.keys(t).filter(e=>t[e]).join(" "))}if(r.isDev&&u.some(J)&&se("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),r.vdomFunctional&&"function"===typeof t)return t(null===e?{}:e,u,X);const f=K(t,null);return f.$attrs$=e,u.length>0&&(f.$children$=u),r.vdomKey&&(f.$key$=o),r.slotRelocation&&(f.$name$=s),f},K=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return r.vdomAttribute&&(n.$attrs$=null),r.vdomKey&&(n.$key$=null),r.slotRelocation&&(n.$name$=null),n},q={},J=t=>t&&t.$tag$===q,X={forEach:(t,e)=>t.map(tt).forEach(e),map:(t,e)=>t.map(tt).map(e).map(et)},tt=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),et=t=>{if("function"===typeof t.vtag){const e=Object.assign({},t.vattrs);return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Z(t.vtag,e,...t.vchildren||[])}const e=K(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},nt=t=>{const e=Object.keys(t),n=e.indexOf("type"),r=e.indexOf("min"),i=e.indexOf("max"),o=e.indexOf("min"),s=e.indexOf("value");-1!==s&&(s<n||s<r||s<i||s<o)&&ae('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},rt=(t,e,n,i,o,s)=>{if(n!==i){let c=re(t,e),u=e.toLowerCase();if(r.vdomClass&&"class"===e){const e=t.classList,r=ot(n),o=ot(i);e.remove(...r.filter(t=>t&&!o.includes(t))),e.add(...o.filter(t=>t&&!r.includes(t)))}else if(r.vdomStyle&&"style"===e){if(r.updatable)for(const e in n)i&&null!=i[e]||(!r.hydrateServerSide&&e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(!r.hydrateServerSide&&e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if(r.vdomKey&&"key"===e);else if(r.vdomRef&&"ref"===e)i&&i(t);else if(!r.vdomListener||(r.lazyLoad?c:t.__lookupSetter__(e))||"o"!==e[0]||"n"!==e[1]){if(r.vdomPropOrAttr){const l=W(i);if((c||l&&null!==i)&&!o)try{if(t.tagName.includes("-"))t[e]=i;else{let r=null==i?"":i;"list"===e?c=!1:null!=n&&t[e]==r||(t[e]=r)}}catch(a){}let f=!1;r.vdomXlink&&u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,f=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(r.vdomXlink&&f?t.removeAttributeNS(j,e):t.removeAttribute(e)):(!c||4&s||o)&&!l&&(i=!0===i?"":i,r.vdomXlink&&f?t.setAttributeNS(j,e,i):t.setAttribute(e,i))}}else e="-"===e[2]?e.slice(3):re(y,u)?u.slice(2):u[2]+e.slice(3),n&&I.rel(t,e,n,!1),i&&I.ael(t,e,i,!1)}},it=/\s/,ot=t=>t?t.split(it):[],st=(t,e,n,i)=>{const o=11===e.$elm$.nodeType&&e.$elm$.host?e.$elm$.host:e.$elm$,s=t&&t.$attrs$||H,a=e.$attrs$||H;if(r.updatable)for(i in s)i in a||rt(o,i,s[i],void 0,n,e.$flags$);for(i in a)rt(o,i,s[i],a[i],n,e.$flags$)},at=(t,e,n,i)=>{let c,u,f,p=e.$children$[n],g=0;if(r.slotRelocation&&!l&&(h=!0,"slot"===p.$tag$&&(o&&i.classList.add(o+"-s"),p.$flags$|=p.$children$?2:1)),r.isDev&&p.$elm$&&se(`The JSX ${null!==p.$text$?`"${p.$text$}" text`:`"${p.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),r.vdomText&&null!==p.$text$)c=p.$elm$=m.createTextNode(p.$text$);else if(r.slotRelocation&&1&p.$flags$)c=p.$elm$=r.isDebug||r.hydrateServerSide?Ct(p):m.createTextNode("");else{if(r.svg&&!d&&(d="svg"===p.$tag$),c=p.$elm$=r.svg?m.createElementNS(d?F:V,r.slotRelocation&&2&p.$flags$?"slot-fb":p.$tag$):m.createElement(r.slotRelocation&&2&p.$flags$?"slot-fb":p.$tag$),r.svg&&d&&"foreignObject"===p.$tag$&&(d=!1),r.vdomAttribute&&st(null,p,d),(r.shadowDom||r.scoped)&&Q(o)&&c["s-si"]!==o&&c.classList.add(c["s-si"]=o),p.$children$)for(g=0;g<p.$children$.length;++g)u=at(t,p,g,c),u&&c.appendChild(u);r.svg&&("svg"===p.$tag$?d=!1:"foreignObject"===c.tagName&&(d=!0))}return r.slotRelocation&&(c["s-hn"]=a,3&p.$flags$&&(c["s-sr"]=!0,c["s-cr"]=s,c["s-sn"]=p.$name$||"",f=t&&t.$children$&&t.$children$[n],f&&f.$tag$===p.$tag$&&t.$elm$&&ct(t.$elm$,!1))),c},ct=(t,e)=>{I.$flags$|=1;const n=t.childNodes;for(let r=n.length-1;r>=0;r--){const t=n[r];t["s-hn"]!==a&&t["s-ol"]&&(pt(t).insertBefore(t,dt(t)),t["s-ol"].remove(),t["s-ol"]=void 0,h=!0),e&&ct(t,e)}I.$flags$&=-2},ut=(t,e,n,i,o,s)=>{let c,u=r.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowDom&&u.shadowRoot&&u.tagName===a&&(u=u.shadowRoot);o<=s;++o)i[o]&&(c=at(null,n,o,t),c&&(i[o].$elm$=c,u.insertBefore(c,r.slotRelocation?dt(e):e)))},lt=(t,e,n,i,o)=>{for(;e<=n;++e)(i=t[e])&&(o=i.$elm$,Mt(i),r.slotRelocation&&(f=!0,o["s-ol"]?o["s-ol"].remove():ct(o,!0)),o.remove())},ft=(t,e,n,i)=>{let o,s,a=0,c=0,u=0,l=0,f=e.length-1,h=e[0],d=e[f],p=i.length-1,g=i[0],v=i[p];while(a<=f&&c<=p)if(null==h)h=e[++a];else if(null==d)d=e[--f];else if(null==g)g=i[++c];else if(null==v)v=i[--p];else if(ht(h,g))gt(h,g),h=e[++a],g=i[++c];else if(ht(d,v))gt(d,v),d=e[--f],v=i[--p];else if(ht(h,v))!r.slotRelocation||"slot"!==h.$tag$&&"slot"!==v.$tag$||ct(h.$elm$.parentNode,!1),gt(h,v),t.insertBefore(h.$elm$,d.$elm$.nextSibling),h=e[++a],v=i[--p];else if(ht(d,g))!r.slotRelocation||"slot"!==h.$tag$&&"slot"!==v.$tag$||ct(d.$elm$.parentNode,!1),gt(d,g),t.insertBefore(d.$elm$,h.$elm$),d=e[--f],g=i[++c];else{if(u=-1,r.vdomKey)for(l=a;l<=f;++l)if(e[l]&&null!==e[l].$key$&&e[l].$key$===g.$key$){u=l;break}r.vdomKey&&u>=0?(s=e[u],s.$tag$!==g.$tag$?o=at(e&&e[c],n,u,t):(gt(s,g),e[u]=void 0,o=s.$elm$),g=i[++c]):(o=at(e&&e[c],n,c,t),g=i[++c]),o&&(r.slotRelocation?pt(h.$elm$).insertBefore(o,dt(h.$elm$)):h.$elm$.parentNode.insertBefore(o,h.$elm$))}a>f?ut(t,null==i[p+1]?null:i[p+1].$elm$,n,i,c,p):r.updatable&&c>p&<(e,a,f)},ht=(t,e)=>t.$tag$===e.$tag$&&(r.slotRelocation&&"slot"===t.$tag$?t.$name$===e.$name$:!r.vdomKey||t.$key$===e.$key$),dt=t=>t&&t["s-ol"]||t,pt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,gt=(t,e)=>{const n=e.$elm$=t.$elm$,i=t.$children$,o=e.$children$,s=e.$tag$,a=e.$text$;let c;r.vdomText&&null!==a?r.vdomText&&r.slotRelocation&&(c=n["s-cr"])?c.parentNode.textContent=a:r.vdomText&&t.$text$!==a&&(n.data=a):(r.svg&&(d="svg"===s||"foreignObject"!==s&&d),(r.vdomAttribute||r.reflect)&&(r.slot&&"slot"===s||st(t,e,d)),r.updatable&&null!==i&&null!==o?ft(n,i,e,o):null!==o?(r.updatable&&r.vdomText&&null!==t.$text$&&(n.textContent=""),ut(n,null,e,o,0,o.length-1)):r.updatable&&null!==i&<(i,0,i.length-1),r.svg&&d&&"svg"===s&&(d=!1))},vt=t=>{let e,n,r,i,o,s,a=t.childNodes;for(n=0,r=a.length;n<r;n++)if(e=a[n],1===e.nodeType){if(e["s-sr"])for(o=e["s-sn"],e.hidden=!1,i=0;i<r;i++)if(s=a[i].nodeType,a[i]["s-hn"]!==e["s-hn"]||""!==o){if(1===s&&o===a[i].getAttribute("slot")){e.hidden=!0;break}}else if(1===s||3===s&&""!==a[i].textContent.trim()){e.hidden=!0;break}vt(e)}},yt=[],mt=t=>{let e,n,r,i,o,s,a=0,c=t.childNodes,u=c.length;for(;a<u;a++){if(e=c[a],e["s-sr"]&&(n=e["s-cr"])&&n.parentNode)for(r=n.parentNode.childNodes,i=e["s-sn"],s=r.length-1;s>=0;s--)n=r[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(It(n,i)?(o=yt.find(t=>t.$nodeToRelocate$===n),f=!0,n["s-sn"]=n["s-sn"]||i,o?o.$slotRefNode$=e:yt.push({$slotRefNode$:e,$nodeToRelocate$:n}),n["s-sr"]&&yt.map(t=>{It(t.$nodeToRelocate$,n["s-sn"])&&(o=yt.find(t=>t.$nodeToRelocate$===n),o&&!t.$slotRefNode$&&(t.$slotRefNode$=o.$slotRefNode$))})):yt.some(t=>t.$nodeToRelocate$===n)||yt.push({$nodeToRelocate$:n}));1===e.nodeType&&mt(e)}},It=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Mt=t=>{r.vdomRef&&(t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(Mt))},bt=(t,e)=>{const n=t.$hostElement$,i=t.$cmpMeta$,c=t.$vnode$||K(null,null),u=J(e)?e:Z(null,null,e);if(a=n.tagName,r.isDev&&Array.isArray(e)&&e.some(J))throw new Error(`The <Host> must be the single root component.\nLooks like the render() function of "${a.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(r.reflect&&i.$attrsToReflect$&&(u.$attrs$=u.$attrs$||{},i.$attrsToReflect$.map(([t,e])=>u.$attrs$[e]=n[t])),u.$tag$=null,u.$flags$|=4,t.$vnode$=u,u.$elm$=c.$elm$=r.shadowDom&&n.shadowRoot||n,(r.scoped||r.shadowDom)&&(o=n["s-sc"]),r.slotRelocation&&(s=n["s-cr"],l=M&&0!==(1&i.$flags$),f=!1),gt(c,u),r.slotRelocation){if(I.$flags$|=1,h){let t,e,n,i,o,s;mt(u.$elm$);let a=0;for(;a<yt.length;a++)t=yt[a],e=t.$nodeToRelocate$,e["s-ol"]||(n=r.isDebug||r.hydrateServerSide?_t(e):m.createTextNode(""),n["s-nr"]=e,e.parentNode.insertBefore(e["s-ol"]=n,e));for(a=0;a<yt.length;a++)if(t=yt[a],e=t.$nodeToRelocate$,t.$slotRefNode$){i=t.$slotRefNode$.parentNode,o=t.$slotRefNode$.nextSibling,n=e["s-ol"];while(n=n.previousSibling)if(s=n["s-nr"],s&&s["s-sn"]===e["s-sn"]&&i===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&i!==e.parentNode||e.nextSibling!==o)&&e!==o&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),i.insertBefore(e,o))}else 1===e.nodeType&&(e.hidden=!0)}f&&vt(u.$elm$),I.$flags$&=-2,yt.length=0}},Ct=t=>m.createComment(`<slot${t.$name$?' name="'+t.$name$+'"':""}> (host=${a.toLowerCase()})`),_t=t=>m.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`)),At=t=>r.lazyLoad?ee(t).$hostElement$:t,Tt=(t,e,n)=>{const i=At(t);return{emit:t=>(r.isDev&&!i.isConnected&&ae(`The "${e}" event was emitted, but the dispatcher node is no longer connected to the dom.`),wt(i,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t}))}},wt=(t,e,n)=>{const r=I.ce(e,n);return t.dispatchEvent(r),r},Et=(t,e)=>{r.asyncLoading&&e&&!t.$onRenderResolve$&&e["s-p"]&&e["s-p"].push(new Promise(e=>t.$onRenderResolve$=e))},Nt=(t,e)=>{if(r.taskQueue&&r.updatable&&(t.$flags$|=16),r.asyncLoading&&4&t.$flags$)return void(t.$flags$|=512);Et(t,t.$ancestorComponent$);const n=()=>St(t,e);return r.taskQueue?Me(n):n()},St=(t,e)=>{const n=t.$hostElement$,i=k("scheduleUpdate",t.$cmpMeta$.$tagName$),o=r.lazyLoad?t.$lazyInstance$:n;let s;return e?(r.lazyLoad&&r.hostListener&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([t,e])=>Rt(o,t,e)),t.$queuedListeners$=null)),kt(n,"componentWillLoad"),r.cmpWillLoad&&(s=Rt(o,"componentWillLoad"))):(kt(n,"componentWillUpdate"),r.cmpWillUpdate&&(s=Rt(o,"componentWillUpdate"))),kt(n,"componentWillRender"),r.cmpWillRender&&(s=jt(s,()=>Rt(o,"componentWillRender"))),i(),jt(s,()=>Ot(t,o,e))},Ot=async(t,e,n)=>{const i=t.$hostElement$,o=k("update",t.$cmpMeta$.$tagName$),s=i["s-rc"];r.style&&n&&G(t);const a=k("render",t.$cmpMeta$.$tagName$);if(r.isDev&&(t.$flags$|=1024),r.hydrateServerSide?await Dt(t,e,i):Dt(t,e,i),r.cssVarShim&&I.$cssShim$&&I.$cssShim$.updateHost(i),r.isDev&&(t.$renderCount$++,t.$flags$&=-1025),r.hydrateServerSide)try{Ut(i),n&&(1&t.$cmpMeta$.$flags$?i["s-en"]="":2&t.$cmpMeta$.$flags$&&(i["s-en"]="c"))}catch(c){ie(c,i)}if(r.asyncLoading&&s&&(s.map(t=>t()),i["s-rc"]=void 0),a(),o(),r.asyncLoading){const e=i["s-p"],n=()=>xt(t);0===e.length?n():(Promise.all(e).then(n),t.$flags$|=4,e.length=0)}else xt(t)},Dt=(t,e,n)=>{const i=!!r.allRenderFn,o=!!r.lazyLoad,s=!!r.taskQueue,a=!!r.updatable;try{if(p=e,e=(i||e.render)&&e.render(),a&&s&&(t.$flags$&=-17),(a||o)&&(t.$flags$|=2),r.hasRenderFn||r.reflect)if(r.vdomRender||r.reflect){if(r.hydrateServerSide)return Promise.resolve(e).then(e=>bt(t,e));bt(t,e)}else n.textContent=e}catch(c){ie(c,t.$hostElement$)}return p=null,null},xt=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,i=k("postUpdate",e),o=r.lazyLoad?t.$lazyInstance$:n,s=t.$ancestorComponent$;r.cmpDidRender&&(r.isDev&&(t.$flags$|=1024),Rt(o,"componentDidRender"),r.isDev&&(t.$flags$&=-1025)),kt(n,"componentDidRender"),64&t.$flags$?(r.cmpDidUpdate&&(r.isDev&&(t.$flags$|=1024),Rt(o,"componentDidUpdate"),r.isDev&&(t.$flags$&=-1025)),kt(n,"componentDidUpdate"),i()):(t.$flags$|=64,r.asyncLoading&&r.cssAnnotations&&Pt(n),r.cmpDidLoad&&(r.isDev&&(t.$flags$|=2048),Rt(o,"componentDidLoad"),r.isDev&&(t.$flags$&=-2049)),kt(n,"componentDidLoad"),i(),r.asyncLoading&&(t.$onReadyResolve$(n),s||Lt(e))),r.hotModuleReplacement&&n["s-hmr-load"]&&n["s-hmr-load"](),r.method&&r.lazyLoad&&t.$onInstanceResolve$(n),r.asyncLoading&&(t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),512&t.$flags$&&Ie(()=>Nt(t,!1)),t.$flags$&=-517)},Lt=t=>{r.cssAnnotations&&Pt(m.documentElement),r.asyncQueue&&(I.$flags$|=2),Ie(()=>wt(y,"appload",{detail:{namespace:i}})),r.profile&&performance.measure&&performance.measure(`[Stencil] ${i} initial load (by ${t})`,"st:app:start")},Rt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(r){ie(r)}},jt=(t,e)=>t&&t.then?t.then(e):e(),kt=(t,e)=>{r.lifecycleDOMEvents&&wt(t,"stencil_"+e,{bubbles:!0,composed:!0,detail:{namespace:i}})},Pt=t=>r.hydratedClass?t.classList.add("hydrated"):r.hydratedAttribute?t.setAttribute("hydrated",""):void 0,Ut=t=>{const e=t.children;if(null!=e)for(let n=0,r=e.length;n<r;n++){const t=e[n];"function"===typeof t.connectedCallback&&t.connectedCallback(),Ut(t)}},zt=(t,e,n,i)=>{const o=k("hydrateClient",e),s=t.shadowRoot,a=[],c=[],u=r.shadowDom&&s?[]:null,l=i.$vnode$=K(e,null);I.$orgLocNodes$||Gt(m.body,I.$orgLocNodes$=new Map),t[x]=n,t.removeAttribute(x),Bt(l,a,c,u,t,t,n),a.map(t=>{const n=t.$hostId$+"."+t.$nodeId$,r=I.$orgLocNodes$.get(n),i=t.$elm$;r&&M&&""===r["s-en"]&&r.parentNode.insertBefore(i,r.nextSibling),s||(i["s-hn"]=e,r&&(i["s-ol"]=r,i["s-ol"]["s-nr"]=i)),I.$orgLocNodes$.delete(n)}),r.shadowDom&&s&&u.map(t=>{t&&s.appendChild(t)}),o()},Bt=(t,e,n,i,o,s,a)=>{let c,u,l,f;if(1===s.nodeType){for(c=s.getAttribute(R),c&&(u=c.split("."),u[0]!==a&&"0"!==u[0]||(l={$flags$:0,$hostId$:u[0],$nodeId$:u[1],$depth$:u[2],$index$:u[3],$tag$:s.tagName.toLowerCase(),$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(l),s.removeAttribute(R),t.$children$||(t.$children$=[]),t.$children$[l.$index$]=l,t=l,i&&"0"===l.$depth$&&(i[l.$index$]=l.$elm$))),f=s.childNodes.length-1;f>=0;f--)Bt(t,e,n,i,o,s.childNodes[f],a);if(s.shadowRoot)for(f=s.shadowRoot.childNodes.length-1;f>=0;f--)Bt(t,e,n,i,o,s.shadowRoot.childNodes[f],a)}else if(8===s.nodeType)u=s.nodeValue.split("."),u[1]!==a&&"0"!==u[1]||(c=u[0],l={$flags$:0,$hostId$:u[1],$nodeId$:u[2],$depth$:u[3],$index$:u[4],$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},c===D?(l.$elm$=s.nextSibling,l.$elm$&&3===l.$elm$.nodeType&&(l.$text$=l.$elm$.textContent,e.push(l),s.remove(),t.$children$||(t.$children$=[]),t.$children$[l.$index$]=l,i&&"0"===l.$depth$&&(i[l.$index$]=l.$elm$))):l.$hostId$===a&&(c===O?(l.$tag$="slot",u[5]?s["s-sn"]=l.$name$=u[5]:s["s-sn"]="",s["s-sr"]=!0,r.shadowDom&&i&&(l.$elm$=m.createElement(l.$tag$),l.$name$&&l.$elm$.setAttribute("name",l.$name$),s.parentNode.insertBefore(l.$elm$,s),s.remove(),"0"===l.$depth$&&(i[l.$index$]=l.$elm$)),n.push(l),t.$children$||(t.$children$=[]),t.$children$[l.$index$]=l):c===N&&(r.shadowDom&&i?s.remove():r.slotRelocation&&(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.$tag$){const e=K(null,s.textContent);e.$elm$=s,e.$index$="0",t.$children$=[e]}},Gt=(t,e)=>{if(1===t.nodeType){let n=0;for(;n<t.childNodes.length;n++)Gt(t.childNodes[n],e);if(t.shadowRoot)for(n=0;n<t.shadowRoot.childNodes.length;n++)Gt(t.shadowRoot.childNodes[n],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");n[0]===S&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Yt=(t,e)=>null==t||W(t)?t:r.propBoolean&&4&e?"false"!==t&&(""===t||!!t):r.propNumber&&2&e?parseFloat(t):r.propString&&1&e?String(t):t,$t=(t,e)=>ee(t).$instanceValues$.get(e),Ht=(t,e,n,i)=>{const o=ee(t),s=r.lazyLoad?o.$hostElement$:t,a=o.$instanceValues$.get(e),c=o.$flags$,u=r.lazyLoad?o.$lazyInstance$:s;if(n=Yt(n,i.$members$[e][0]),(!r.lazyLoad||!(8&c)||void 0===a)&&n!==a&&(o.$instanceValues$.set(e,n),r.isDev&&(1024&o.$flags$?ae(`The state/prop "${e}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",s,"\nNew value",n,"\nOld value",a):2048&o.$flags$&&ae(`The state/prop "${e}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",s,"\nNew value",n,"\nOld value",a)),!r.lazyLoad||u)){if(r.watchCallback&&i.$watchers$&&128&c){const t=i.$watchers$[e];t&&t.map(t=>{try{u[t](n,a,e)}catch(r){ie(r,s)}})}if(r.updatable&&2===(18&c)){if(r.cmpShouldUpdate&&u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,a,e))return;Nt(o,!1)}}},Ft=(t,e,n)=>{if(r.member&&e.$members$){r.watchCallback&&t.watchers&&(e.$watchers$=t.watchers);const i=Object.entries(e.$members$),o=t.prototype;if(i.map(([t,[i]])=>{(r.prop||r.state)&&(31&i||(!r.lazyLoad||2&n)&&32&i)?Object.defineProperty(o,t,{get(){return $t(this,t)},set(o){if(r.isDev){const r=ee(this);0===(1&n)&&0===(8&r.$flags$)&&0!==(31&i)&&0===(1024&i)&&ae(`@Prop() "${t}" on <${e.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}Ht(this,t,o,e)},configurable:!0,enumerable:!0}):r.lazyLoad&&r.method&&1&n&&64&i&&Object.defineProperty(o,t,{value(...e){const n=ee(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[t](...e))}})}),r.observeAttribute&&(!r.lazyLoad||1&n)){const n=new Map;o.attributeChangedCallback=function(t,e,r){I.jmp(()=>{const e=n.get(t);this.hasOwnProperty(e)&&(r=this[e],delete this[e]),this[e]=(null!==r||"boolean"!==typeof this[e])&&r})},t.observedAttributes=i.filter(([t,e])=>15&e[0]).map(([t,i])=>{const o=i[1]||t;return n.set(o,t),r.reflect&&512&i[0]&&e.$attrsToReflect$.push([t,o]),o})}}return t},Vt=async(t,e,i,o,s)=>{if((r.lazyLoad||r.hydrateServerSide||r.style)&&0===(32&e.$flags$)){if(r.lazyLoad||r.hydrateClientSide){if(e.$flags$|=32,s=ue(i,e,o),s.then){const t=P(`st:load:${i.$tagName$}:${e.$modeName$}`,`[Stencil] Load module for <${i.$tagName$}>`);s=await s,t()}if((r.isDev||r.isDebug)&&!s)throw new Error(`Constructor for "${i.$tagName$}#${e.$modeName$}" was not found`);r.member&&!s.isProxied&&(r.watchCallback&&(i.$watchers$=s.watchers),Ft(s,i,2),s.isProxied=!0);const t=k("createInstance",i.$tagName$);r.member&&(e.$flags$|=8);try{new s(e)}catch(u){ie(u)}r.member&&(e.$flags$&=-9),r.watchCallback&&(e.$flags$|=128),t(),Qt(e.$lazyInstance$)}else s=t.constructor,e.$flags$|=32,customElements.whenDefined(i.$tagName$).then(()=>e.$flags$|=128);if(r.style&&s.style){let o=s.style;r.mode&&"string"!==typeof o&&(o=o[e.$modeName$=$(t)],r.hydrateServerSide&&e.$modeName$&&t.setAttribute("s-mode",e.$modeName$));const a=Y(i,e.$modeName$);if(!le.has(a)){const t=k("registerStyles",i.$tagName$);!r.hydrateServerSide&&r.shadowDom&&r.shadowDomShim&&8&i.$flags$&&(o=await n.e("chunk-2d0de941").then(n.bind(null,"85f4")).then(t=>t.scopeCss(o,a,!1))),z(a,o,!!(1&i.$flags$)),t()}}}const a=e.$ancestorComponent$,c=()=>Nt(e,!0);r.asyncLoading&&a&&a["s-rc"]?a["s-rc"].push(c):c()},Qt=t=>{r.lazyLoad&&r.connectedCallback&&Rt(t,"connectedCallback")},Wt=t=>{if(0===(1&I.$flags$)){const e=ee(t),n=e.$cmpMeta$,i=k("connectedCallback",n.$tagName$);if(r.hostListenerTargetParent&&A(t,e,n.$listeners$,!0),1&e.$flags$)A(t,e,n.$listeners$,!1),Qt(e.$lazyInstance$);else{let i;if(e.$flags$|=1,r.hydrateClientSide&&(i=t.getAttribute(x),i)){if(r.shadowDom&&M&&1&n.$flags$){const e=r.mode?B(t.shadowRoot,n,t.getAttribute("s-mode")):B(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}zt(t,n.$tagName$,i,e)}if(r.slotRelocation&&!i&&(r.hydrateServerSide||(r.slot||r.shadowDom)&&12&n.$flags$)&&Zt(t),r.asyncLoading){let n=t;while(n=n.parentNode||n.host)if(r.hydrateClientSide&&1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Et(e,e.$ancestorComponent$=n);break}}r.prop&&!r.hydrateServerSide&&n.$members$&&Object.entries(n.$members$).map(([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}}),r.initializeNextTick?Ie(()=>Vt(t,e,n)):Vt(t,e,n)}i()}},Zt=t=>{const e=t["s-cr"]=m.createComment(r.isDebug?`content-ref (host=${t.localName})`:"");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},Kt=t=>{if(0===(1&I.$flags$)){const e=ee(t),n=r.lazyLoad?e.$lazyInstance$:t;r.hostListener&&e.$rmListeners$&&(e.$rmListeners$.map(t=>t()),e.$rmListeners$=void 0),r.cssVarShim&&I.$cssShim$&&I.$cssShim$.removeHost(t),r.lazyLoad&&r.disconnectedCallback&&Rt(n,"disconnectedCallback"),r.cmpDidUnload&&Rt(n,"componentDidUnload")}},qt=(t,e)=>{const n={$flags$:e[0],$tagName$:e[1]};r.member&&(n.$members$=e[2]),r.hostListener&&(n.$listeners$=e[3]),r.watchCallback&&(n.$watchers$=t.$watchers$),r.reflect&&(n.$attrsToReflect$=[]),r.shadowDom&&!M&&1&n.$flags$&&(n.$flags$|=8);const i=t.prototype.connectedCallback,o=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){ne(this,n)},connectedCallback(){Wt(this),r.connectedCallback&&i&&i.call(this)},disconnectedCallback(){Kt(this),r.disconnectedCallback&&o&&o.call(this)}}),t.is=n.$tagName$,Ft(t,n,3)},Jt=t=>{M?t.attachShadow({mode:"open"}):t.shadowRoot=t},Xt=(t,e)=>e,te=new WeakMap,ee=t=>te.get(t),ne=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return r.isDev&&(n.$renderCount$=0),r.method&&r.lazyLoad&&(n.$onInstancePromise$=new Promise(t=>n.$onInstanceResolve$=t)),r.asyncLoading&&(n.$onReadyPromise$=new Promise(t=>n.$onReadyResolve$=t),t["s-p"]=[],t["s-rc"]=[]),A(t,n,e.$listeners$,!1),te.set(t,n)},re=(t,e)=>e in t,ie=(t,e)=>(c||console.error)(t,e),oe=r.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],se=(...t)=>console.error(...oe,...t),ae=(...t)=>console.warn(...oe,...t),ce=new Map,ue=(t,e,i)=>{const o=t.$tagName$.replace(/-/g,"_"),s=t.$lazyBundleId$;if(r.isDev&&"string"!==typeof s)return void se(`Trying to lazily load component <${t.$tagName$}> with style mode "${e.$modeName$}", but it does not exist.`);const a=!r.hotModuleReplacement&&ce.get(s);return a?a[o]:n("c2e1")(`./${s}.entry.js${r.hotModuleReplacement&&i?"?s-hmr="+i:""}`).then(t=>(r.hotModuleReplacement||ce.set(s,t),t[o]),ie)},le=new Map,fe=[],he=[],de=[],pe=[],ge=(t,e)=>n=>{t.push(n),v||(v=!0,e&&4&I.$flags$?Ie(me):I.raf(me))},ve=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){ie(e)}t.length=0},ye=(t,e)=>{let n=0,r=0;while(n<t.length&&(r=performance.now())<e)try{t[n++](r)}catch(i){ie(i)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},me=()=>{if(r.asyncQueue&&g++,ve(he),r.asyncQueue){const t=2===(6&I.$flags$)?performance.now()+14*Math.ceil(.1*g):1/0;ye(de,t),ye(pe,t),de.length>0&&(pe.push(...de),de.length=0),(v=he.length+de.length+pe.length>0)?I.raf(me):g=0}else ve(de),(v=he.length>0)&&I.raf(me)},Ie=t=>C().then(t),Me=ge(de,!0);r.isDev,r.isTesting;var be,Ce,_e,Ae=n("903e"),Te=n("e11c");function we(t){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},we(t)}function Ee(t){var e="function"===typeof Map?new Map:void 0;return Ee=function(t){if(null===t||!Se(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return Ne(t,arguments,ze(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Re(n,t)},Ee(t)}function Ne(t,e,n){return Ne=Ue()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=Function.bind.apply(t,r),o=new i;return n&&Re(o,n.prototype),o},Ne.apply(null,arguments)}function Se(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function Oe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function De(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oe(Object(n),!0).forEach((function(e){xe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Le(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Re(t,e)}function Re(t,e){return Re=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Re(t,e)}function je(t){var e=Ue();return function(){var n,r=ze(t);if(e){var i=ze(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ke(this,n)}}function ke(t,e){if(e&&("object"===we(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Pe(t)}function Pe(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ue(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ze(t){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ze(t)}function Be(t){return He(t)||$e(t)||Ye(t)||Ge()}function Ge(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ye(t,e){if(t){if("string"===typeof t)return Fe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fe(t,e):void 0}}function $e(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function He(t){if(Array.isArray(t))return Fe(t)}function Fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function We(t,e,n){return e&&Qe(t.prototype,e),n&&Qe(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,"a",(function(){return as})),function(t){t["INIT"]="INIT",t["CONNECTED"]="CONNECTED",t["MESSAGES"]="MESSAGES",t["CONVERSATION"]="conversation",t["UPDATE_CONVERSATION"]="udpate_conversation",t["TYPING_STATUS"]="typing_status",t["PULL_OFFLINE_MESSAGE_FINISHED"]="pull_offline_message_finished",t["READ_RECEIPT_RECEIVED"]="read_receipt_received",t["MESSAGE_RECEIPT_REQUEST"]="message_receipt_request",t["MESSAGE_RECEIPT_RESPONSE"]="message_receipt_response",t["SWITCH_CONVERSATION"]="switch_conversation",t["REFERENCE_MESSAGE"]="reference_message",t["CLOSE_REFERENCE"]="close_reference",t["UPDATE_MESSAGE"]="update_message",t["DELETE_MESSAGE"]="delete_message",t["MESSAGE_SENDING"]="message_sending",t["MESSAGE_SEND_SUCCESS"]="message_send_success",t["MESSAGE_SEND_FAIL"]="message_send_fail",t["UPLOAD_PROGRESS"]="upload_progress",t["UPLOAD_COMPLETE"]="upload_complete",t["LANGUAGE_CHANGED"]="language_changed"}(Ce||(Ce={})),function(t){t["A_KIT_INIT_O"]="A-kit-init-O",t["A_KIT_MSG_INSERT_O"]="A-kit-msg_insert-O",t["A_KIT_MSG_DELETE_O"]="A-kit-msg_delete-O",t["A_KIT_MSG_UPDATE_O"]="A-kit-msg_update-O",t["A_KIT_WILL__MSGMSG_RECALL_O"]="A-kit-msg_recall-O",t["A_KIT_WILL_SEND_MSG_T"]="A-kit-will_send_msg-T",t["A_KIT_WILL_SEND_MSG_R"]="A-kit-will_send_msg-R",t["A_KIT_WILL_DISPLAY_MSG_T"]="A-kit-will_display_msg-T",t["A_KIT_WILL_DISPLAY_MSG_R"]="A-kit-will_display_msg-R",t["A_KIT_CONVERSATION_CREATE_O"]="A-kit-conversation_create-O",t["A_KIT_CONVERSATION_UPDATE_O"]="A-kit-conversation_update-O",t["A_KIT_CONVERSATION_DELETE_O"]="A-kit-conversation_delete-O",t["A_KIT_CONVERSATION_UNREAD_TIME_S"]="A-kit-conversation_unread_time-S",t["A_KIT_CONVERSATION_LISTENER_S"]="A-kit-conversation_listener-S",t["A_KIT_MESSAGE_LISTENER_S"]="A-kit-message_listener-S",t["A_KIT_READ_RECEIOT_LISTENER_S"]="A-kit-read_receipt_listener-S",t["A_KIT_FORWARD_O"]="A-kit-forward-O"}(_e||(_e={}));var Ze,Ke="polyfill",qe=function(){function t(){Ve(this,t),this.FIRST_COUNT_BASE=30,this.COUNT_BASE=30,this.first=!0,this.topConversations=[],this.unTopConversations=[]}return We(t,[{key:"setPullCount",value:function(t){this.COUNT_BASE=t.pullCount,this.FIRST_COUNT_BASE=t.pullCount}},{key:"getRemoteConversation",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return Object(Te["s"])({count:t,startTime:n,order:i}).then((function(t){if(0===t.code){var n=t.data;n.forEach((function(t){var e=r.getUnReadTime(t.conversationType,t.targetId,t.channelId),n=t.latestMessage.conversationType===Ae["e"].PRIVATE,i=t.latestMessage.messageDirection===Ae["m"].SEND,o=t.latestMessage.sentTime>e||!e;n&&i&&o&&(t.latestMessage.receivedStatus=Ae["r"].UNREAD)})),e.customIntercept&&"function"===typeof e.customIntercept.interceptConversation&&(n=n.filter((function(t){var n=e.customIntercept.interceptConversation(t);return!n}))),e.customDisplayMessage&&e.customDisplayMessage.willDisplayConversationMessage&&"function"===typeof e.customDisplayMessage.willDisplayConversationMessage&&(n=n.map((function(t){var n=t.latestMessage;if(n){var r=e.customDisplayMessage.willDisplayConversationMessage(n.content,n.conversationType,n.targetId,n.messageType);t.latestMessage.content=r}return t}))),e.update(n.map((function(t){return{conversation:t}})))}}))}},{key:"findConversationFromList",value:function(t,e){var n=e.findIndex((function(e){return e.conversationType===t.conversationType&&e.targetId===t.targetId&&e.channelId===t.channelId}));return n}},{key:"findConversation",value:function(t){t.channelId=t.channelId||"";var e=this.findConversationFromList(t,this.topConversations);return-1!==e?{source:this.topConversations,index:e}:(e=this.findConversationFromList(t,this.unTopConversations),-1!==e?{source:this.unTopConversations,index:e}:null)}},{key:"update",value:function(t){var e=this,n=this.topConversations.filter((function(t){return t.latestMessage&&t.latestMessage.messageType===Ke})),r=this.unTopConversations.filter((function(t){return t.latestMessage&&t.latestMessage.messageType===Ke})),i=n.concat(r);t=t.concat(i.map((function(t){return{conversation:t}}))),t.forEach((function(t){if(t&&(t.conversation||t.updatedItems)){var n,r=e.findConversation({conversationType:t.conversation.conversationType,targetId:t.conversation.targetId,channelId:t.conversation.channelId||""});n=r?r.source[r.index]:t.conversation,e.merge(n,t.conversation),void 0!==t.updatedItems&&Object.keys(t.updatedItems).length?(t.updatedItems.hasOwnProperty("isTop")&&r&&r.source.splice(r.index,1),n&&Object.keys(t.updatedItems).forEach((function(e){n[e]=t.updatedItems[e].val}))):t.conversation&&r&&r.source.splice(r.index,1),n.isTop?e.sortConversation(n,e.topConversations):e.sortConversation(n,e.unTopConversations)}}))}},{key:"merge",value:function(t,e){for(var n in e)void 0!==e[n]&&null!==e[n]&&(t[n]=e[n])}},{key:"sortConversation",value:function(t,e){e.length||e.push(t);var n=e.findIndex((function(e){return e.targetId===t.targetId&&e.channelId===t.channelId&&e.conversationType===t.conversationType}));if(-1!==n){if(e[n].latestMessage){if(!t.latestMessage)return;if(e[n].latestMessage.sentTime>t.latestMessage.sentTime)return}e.splice(n,1)}for(var r=-1,i=0;i<e.length;i++){var o=e[i];if(!o.latestMessage){r=i;break}if(t.latestMessage&&t.latestMessage.sentTime>=o.latestMessage.sentTime){r=i;break}}-1===r&&(r=e.length),e.splice(r,0,t)}},{key:"create",value:function(t){var e={conversationType:t.conversationType,channelId:t.channelId,targetId:t.targetId,latestMessage:{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId,sentTime:(new Date).getTime(),messageType:Ke,content:"",senderUserId:"",receivedTime:0,messageUId:"none",messageDirection:1,isPersited:!0,isCounted:!0,isOffLineMessage:!1,canIncludeExpansion:!1,receivedStatus:Ae["r"].UNREAD}};this.sortConversation(e,this.unTopConversations),Ae["H"].info(_e.A_KIT_CONVERSATION_CREATE_O,e)}},{key:"remove",value:function(t){var e=this;return Object(Te["B"])(t).then((function(n){var r=e.findConversation(t);return r&&0===n.code&&(r.source.splice(r.index,1),Ae["H"].info(_e.A_KIT_CONVERSATION_DELETE_O,{index:r.index,conversation:r.source[r.index]})),n}))}},{key:"getLastTime",value:function(t){for(var e=(new Date).getTime(),n=t.length-1;n>=0;n--){var r=t[n];if(r.latestMessage){e=r.latestMessage.sentTime;break}}return e}},{key:"getList",value:function(t,e){var n=this;if(t){var r=this.getLastTime(this.topConversations),i=this.getLastTime(this.unTopConversations),o=this.first?this.FIRST_COUNT_BASE:this.COUNT_BASE,s=Math.min(r,i);return this.getRemoteConversation(o,s,e).then((function(){n.first=!1;var t=[].concat(Be(n.topConversations),Be(n.unTopConversations));return t}))}var a=[].concat(Be(this.topConversations),Be(this.unTopConversations));return Promise.resolve(a)}},{key:"changeTopStatus",value:function(t,e){return Object(Te["M"])(t,e).then((function(t){return t}))}},{key:"changeNotificationStatus",value:function(t,e){var n=this;return Object(Te["L"])(t,e).then((function(r){if(0===r.code){var i=n.findConversation(t);i.source[i.index].notificationStatus=e}return r}))}},{key:"clearLocalConversation",value:function(){this.unTopConversations=[],this.topConversations=[]}}]),t}();function Je(t,e){return(t.channelId||"")===(e.channelId||"")&&t.conversationType===e.conversationType&&t.targetId===e.targetId}function Xe(t){return t.conversationType+"&&"+t.targetId+"&&"+(t.channelId||"")}function tn(t){return new Promise((function(e,n){var r=new FileReader;r.readAsDataURL(t),r.onload=function(t){r.onerror=null,r.onload=null,e(t.target.result)},r.onerror=function(t){r.onerror=null,r.onload=null,n(t)}}))}var en,nn,rn={},on={},sn=function(){function t(e){Ve(this,t),this.config=e}return We(t,[{key:"getUserProfile",value:function(t){return this.config.getUserProfile?Ze?Promise.resolve(Ze):this.config.getUserProfile(t).then((function(t){return Ze=t,Ze})):Promise.reject(new Error("Method getUserProfile is not defined!"))}},{key:"getConversationProfile",value:function(t){if(!this.config.getConversationProfile)return Promise.reject(new Error("Method getConversationProfile is not defined!"));for(var e=[],n=0;n<t.length;n++){var r=t[n],i=Xe(r),o=rn[i];o&&(t.splice(n,1),e.push(o),n--)}return this.config.getConversationProfile(t).then((function(t){return t.forEach((function(t){if(t&&t.targetId&&t.conversationType){var e=Xe(t);rn[e]=t}})),[].concat(Be(t),e)}))}},{key:"getGroupMembers",value:function(t){if(!this.config.getGroupMembers)return Promise.reject(new Error("Method getGroupMembers is not defined!"));var e=Xe(t);return on[e]?Promise.resolve(on[e]):this.config.getGroupMembers(t).then((function(e){var n=Xe(t);return e?(on[n]=e,on[n]):null}))}},{key:"clearMyProfileCache",value:function(){Ze=null}}]),t}(),an=function(){function t(){Ve(this,t),this.localMessages={}}return We(t,[{key:"currentConversation",get:function(){return this._currentConversation},set:function(t){this._currentConversation=t}},{key:"getMessages",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20,i=arguments.length>3?arguments[3]:void 0;r=Math.min(20,Math.max(1,r)),this._unReadTime=i;var o=this.getLocalMessage(t,n,r);if(o.list&&o.list.forEach((function(t){var n=t.conversationType===Te["a"].PRIVATE,r=t.messageDirection===Te["g"].SEND,i=t.sentTime<=e._unReadTime;n&&r&&i&&(t.receivedStatus=Te["j"].READ)})),o.list.length>=r)return Promise.resolve(o);if(!1===o.hasMore)return Promise.resolve(o);var s=Xe(t),a=0;return this.localMessages[s]&&this.localMessages[s].list.length>0&&(a=this.localMessages[s].list[0].sentTime),this.getRemoteMessages(t,{count:r,timestamp:a}).then((function(){return e.getLocalMessage(t,n,r)}))}},{key:"getLocalMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20,r=Xe(t),i=this.localMessages[r];if(0===n)return i||{list:[],hasMore:!0};if(!i)return{list:[],hasMore:!0};0===e&&(e=Date.now());var o=i.list.findIndex((function(t){return e<=t.sentTime})),s=[];return 0===o?{list:[],hasMore:i.hasMore}:(-1===o&&(o=i.list.length),s=i.list.slice(Math.max(0,o-n),o),s.length>=n&&o-n>0?{list:s,hasMore:!0}:{list:s,hasMore:i.hasMore})}},{key:"getRemoteMessages",value:function(t,e){var n=this;return Object(Te["u"])(t,e).then((function(t){if(0===t.code){var e=t.data.list;n.customIntercept&&"function"===typeof n.customIntercept.interceptMessage&&(e=e.filter((function(t){var e=n.customIntercept.interceptMessage(t);return!e}))),n.customDisplayMessage&&n.customDisplayMessage.willDisplayMessages&&"function"===typeof n.customDisplayMessage.willDisplayMessages&&(e=e.map((function(t){var e=n.customDisplayMessage.willDisplayMessages(t.content,t.conversationType,t.targetId,t.messageType);return t.content=e,t}))),n.setLocalMessages(e,t.data.hasMore)}}))}},{key:"setLocalMessages",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=[];if(!e.length)return{new:r};var i=[],o=e[0].conversationType+"&&"+e[0].targetId+"&&"+(e[0].channelId||"");this.localMessages[o]?void 0!==n&&(this.localMessages[o].hasMore=n):this.localMessages[o]={list:[],hasMore:void 0===n||n};var s=this.localMessages[o].list;return e.forEach((function(e){var n=s.length;if("RC:RcCmd"===e.messageType&&e.messageDirection===Te["g"].RECEIVE){var a=e.content;if(a&&a.messageUId){var c=t.deleteMessageByUId(s,a.messageUId);c&&i.push(c)}}for(var u=0;u<s.length;u++){var l=s[u];if(e.messageUId===l.messageUId)return;if(e.sentTime<=l.sentTime){n=u;break}}t._currentConversation&&Je(e,t._currentConversation)&&r.push(e);var f=e.conversationType===Te["a"].PRIVATE,h=e.messageDirection===Te["g"].SEND,d=e.sentTime>t._unReadTime||!t._unReadTime;f&&h&&d&&(e.receivedStatus=Te["j"].UNREAD),t.localMessages[o].list.splice(n,0,e)})),r.sort((function(t,e){return t.sentTime-e.sentTime})),{new:r,remove:i}}},{key:"recallMessage",value:function(t){var e=Xe(t),n=this.localMessages[e];if(!n)return null;var r=n.list;if(r&&r.length){var i=r.findIndex((function(e){return e.messageUId===t.messageUId}));return-1!==i?(r[i].messageType="RC:RcCmd",r[i]):null}return null}},{key:"deleteMessage",value:function(t){var e=Xe(t),n=this.localMessages[e];if(!n)return!1;var r=n.list;if(r&&r.length){var i=r.findIndex((function(e){return e.messageUId===t.messageUId}));return-1!==i&&(Ae["H"].info(_e.A_KIT_MSG_DELETE_O,{index:i,message:r[i]}),r.splice(i,1),!0)}return!1}},{key:"deleteMessageByUId",value:function(t,e){var n=t.findIndex((function(t){return t.messageUId===e}));if(-1!==n){var r=t[n];return t.splice(n,1),Ae["H"].info(_e.A_KIT_MSG_DELETE_O,{index:n,message:t[n]}),r}}},{key:"insertMessage",value:function(t){var e=Xe(t),n=this.localMessages[e];if(n){var r=this.localMessages[e].list,i=r.findIndex((function(e){return e.sentTime>t.sentTime}));-1===i?r.push(t):r.splice(i,0,t),Ae["H"].info(_e.A_KIT_MSG_INSERT_O,{index:i,message:t})}else this.localMessages[e]={list:[t],hasMore:!0}}},{key:"updateMessage",value:function(t){var e=Xe(t),n=this.localMessages[e];if(n){var r=this.localMessages[e].list,i=-1;if(t.messageId&&(i=r.findIndex((function(e){return e.messageId===t.messageId}))),-1===i&&t.messageUId&&(i=r.findIndex((function(e){return e.messageUId===t.messageUId}))),-1!==i)for(var o in t)void 0!==t[o]&&(r[i][o]=t[o]);else this.insertMessage(t)}else this.insertMessage(t)}},{key:"cutMessages",value:function(){var t=Xe(this._currentConversation),e=this.localMessages[t];e&&e.list.length>100&&(e.list.splice(0,e.list.length-100),e.hasMore=!0)}},{key:"clearLocalConversation",value:function(){this.localMessages={}}}]),t}();(function(t){t["ZH_CN"]="zh_CN",t["ZH_TW"]="zh_TW",t["EN"]="en"})(en||(en={}));var cn=function(t,e,n){var r="imkit_".concat(e,"_").concat(n);return nn={set:function(e,n){var i=JSON.stringify(e);t.localStorage.setItem("".concat(r,"_").concat(n),i),void 0!==e&&null!==e||t.localStorage.removeItem("".concat(r,"_").concat(n))},get:function(e){var n;try{n=JSON.parse(t.localStorage.getItem("".concat(r,"_").concat(e)))}catch(i){n=null}return n},remove:function(e){t.localStorage.removeItem("".concat(r,"_").concat(e))}},nn},un=function(){function t(){Ve(this,t),this._conversationStorage={}}return We(t,[{key:"init",value:function(t,e){this._kitStorage=cn(window,t,e),this._conversationStorage=this._kitStorage.get("conversation")||{}}},{key:"updateUnReadTime",value:function(t,e,n,r){var i=this.getConversationKey(e,n,r);this._conversationStorage[i]=t,this._kitStorage.set(this._conversationStorage,"conversation")}},{key:"getUnReadTime",value:function(t,e,n){var r=this.getConversationKey(t,e,n);return this._conversationStorage[r]||0}},{key:"data",get:function(){return this._conversationStorage}},{key:"getConversationKey",value:function(t,e,n){return"".concat(n,"_").concat(t,"_").concat(e)}}]),t}(),ln=function(){function t(){Ve(this,t),this._LangStore=null}return We(t,[{key:"init",value:function(t,e){this._kitStorage=cn(window,t,e),this._LangStore=this._kitStorage.get("lang")||null}},{key:"setLang",value:function(t){this._LangStore=t,this._kitStorage.set(this._LangStore,"lang")}},{key:"getLang",value:function(){var t=this._LangStore&&this._LangStore.lang?this._LangStore.lang:en.ZH_CN;return t}}]),t}();function fn(){return~~(16777215*Math.random())}function hn(t){return-1!==["RC:Delivered"].indexOf(t)}var dn=!1,pn=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.switchTimes={},t.receiptRequstCache=[],t._fileCache={},n.INSTANCE?ke(t,n.INSTANCE):(t.conversationManager=new qe,t.messageManager=new an,t._conversationStorage=new un,t._langStore=new ln,n.INSTANCE=Pe(t),t)}return We(n,[{key:"init",value:function(t){dn&&Ae["H"].error(_e.A_KIT_INIT_O,{msg:"禁止多次初始化!"}),t.libOption&&Object(Ae["J"])(t.libOption.appkey)||Ae["H"].error(_e.A_KIT_INIT_O,{msg:"参数错误:libOption.appkey 为必传字段!",data:t}),this._appkey=t.libOption.appkey,Object(Te["y"])(t.libOption),t.conversationPullCount=t.conversationPullCount?t.conversationPullCount:30,this.conversationManager.setPullCount({pullCount:t.conversationPullCount}),this.customMessage=t.customMessage,this.customIntercept=t.customIntercept,this.conversationManager.customIntercept=this.customIntercept,this.customDisplayMessage=t.customDisplayMessage,this.messageManager.customIntercept=this.customIntercept,this.messageManager.customDisplayMessage=this.customDisplayMessage,this.conversationManager.customDisplayMessage=this.customDisplayMessage,this.service=new sn(t.service),this.setListener(),dn=!0,this.emit(Ce.INIT)}},{key:"connect",value:function(t,e){return Object(Te["p"])(t,e)}},{key:"disconnect",value:function(){return this.conversationManager.clearLocalConversation(),this.messageManager.clearLocalConversation(),this.service.clearMyProfileCache(),Object(Te["r"])()}},{key:"getTime",value:function(){return this.startLocalTime&&!this.startServerTime||(this.startLocalTime=Date.now(),this.startServerTime=Object(Te["v"])()),Date.now()-this.startLocalTime+this.startServerTime}},{key:"currentConversation",get:function(){return this._currentConversation},set:function(t){this._currentConversation=t}},{key:"lang",get:function(){var t=this._langStore.getLang()?this._langStore.getLang():en.ZH_CN;return t},set:function(t){this._langStore.setLang(t)}},{key:"selectConversation",value:function(t){var e=this;if(!this.currentConversation||!Je(this.currentConversation,t)){if(this.conversationManager.findConversation(t)||(this.createConversation(t),this.emit(Ce.CONVERSATION,this.currentConversation)),this.currentConversation){var n=Xe(this.currentConversation);this.switchTimes[n]=this.getTime(),this.messageManager.cutMessages()}this.currentConversation=t,this.messageManager.currentConversation=this.currentConversation,this.emit(Ce.SWITCH_CONVERSATION,this.currentConversation),this.receiptRequstCache.forEach((function(t){Je(t.conversation,e.currentConversation)&&e.emit(Ce.MESSAGE_RECEIPT_REQUEST,t)}))}}},{key:"changeLanguage",value:function(t){if(t&&t.lang)return this._langStore.setLang(t),void this.emit(Ce.LANGUAGE_CHANGED,t);console.log("参数异常,切换语言失败")}},{key:"setListener",value:function(){var t=this;Object(Te["m"])(Te["c"].CONNECTED,(function(){t._currentUsreId=Object(Te["t"])(),t._conversationStorage.init(t._appkey,t._currentUsreId),t._langStore.init(t._appkey,t._currentUsreId),t.emit(Ce.CONNECTED,!0),t.emit(Ce.LANGUAGE_CHANGED,{lang:t.lang})})),Object(Te["m"])(Te["c"].DISCONNECT,(function(){t.currentConversation=null,t.emit(Ce.SWITCH_CONVERSATION,t.currentConversation),t.emit(Ce.CONNECTED,!1)})),Object(Te["m"])(Te["c"].CONVERSATION,(function(e){Ae["H"].info(_e.A_KIT_CONVERSATION_LISTENER_S,e);var n=e.conversationList;t.customIntercept&&"function"===typeof t.customIntercept.interceptConversation&&(n=n.filter((function(e){var n=t.customIntercept.interceptConversation(e.conversation);return!n}))),n=n.filter((function(t){if(t.updatedItems&&t.updatedItems.latestMessage&&t.updatedItems.latestMessage.val){var e=t.updatedItems.latestMessage.val.messageType;return!hn(e)}return!0})),n.length&&(t.conversationManager.update(n),t.emit(Ce.CONVERSATION,n))})),Object(Te["m"])(Te["c"].MESSAGES,(function(e){Ae["H"].info(_e.A_KIT_MESSAGE_LISTENER_S,e);var n=e.messages;if(n.forEach((function(t){t.conversationType===Ae["e"].PRIVATE&&t.receivedStatus===Ae["r"].READ&&(t.receivedStatus=Ae["r"].UNREAD)})),t.customIntercept&&"function"===typeof t.customIntercept.interceptMessage&&(n=n.filter((function(e){var n=t.customIntercept.interceptMessage(e);return!n}))),t.customDisplayMessage&&t.customDisplayMessage.willDisplayMessages&&"function"===typeof t.customDisplayMessage.willDisplayMessages&&(n=n.map((function(e){var n=t.customDisplayMessage.willDisplayMessages(e.content,e.conversationType,e.targetId,e.messageType);return e.content=n,e}))),n=n.filter((function(t){return!hn(t.messageType)})),n.length){var r=t.messageManager.setLocalMessages(n);t.currentConversation&&r["new"].length&&t.emit(Ce.MESSAGES,r["new"]),r.remove&&r.remove.length&&t.emit(Ce.DELETE_MESSAGE,r.remove)}})),Object(Te["m"])(Te["c"].PULL_OFFLINE_MESSAGE_FINISHED,(function(){t.emit(Ce.PULL_OFFLINE_MESSAGE_FINISHED)})),Object(Te["m"])(Te["c"].TYPING_STATUS,(function(e){t.emit(Ce.TYPING_STATUS,e)})),Object(Te["m"])(Te["c"].READ_RECEIPT_RECEIVED,(function(e){var n=e.conversation,r=e.sentTime,i=t.conversationManager.findConversation(n);if(i){var o=i.source[i.index],s=o.latestMessage;s.sentTime&&s.sentTime===r&&(t.conversationManager.update([{conversation:o,updatedItems:{latestMessage:{time:Date.now(),val:De(De({},s),{},{receivedStatus:Ae["r"].READ})}}}]),t.emit(Ce.CONVERSATION,o))}var a=t.messageManager.getLocalMessage(n,0,0),c=a.list.findIndex((function(t){return t.sentTime===r}));-1!==c&&a.list.forEach((function(e){e.receivedStatus=Ae["r"].READ,t.messageManager.updateMessage(e),t.emit(Ce.UPDATE_MESSAGE,e)})),t._conversationStorage.updateUnReadTime(r,n.conversationType,n.targetId,n.channelId),t.emit(Ce.READ_RECEIPT_RECEIVED,e)})),Object(Te["m"])(Te["c"].MESSAGE_RECEIPT_REQUEST,(function(e){var n=e.conversation,r=e.messageUId;if(Je(t.currentConversation,n))t.emit(Ce.MESSAGE_RECEIPT_REQUEST,e);else{var i=Xe(n);if(t.switchTimes[i]){var o=t.messageManager.getLocalMessage(n,0,0),s=o.list.findIndex((function(e){return e.messageUId===r&&e.receivedTime<t.switchTimes[i]}));-1===s?t.receiptRequstCache.push(e):Object(Te["I"])(n.targetId,xe({},e.senderUserId,[e.messageUId]),n.channelId)}else t.receiptRequstCache.push(e)}})),Object(Te["m"])(Te["c"].MESSAGE_RECEIPT_RESPONSE,(function(e){t.emit(Ce.MESSAGE_RECEIPT_RESPONSE,e)}))}},{key:"getMessages",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20,r=this._conversationStorage.getUnReadTime(t.conversationType,t.targetId,t.channelId);return this.messageManager.getMessages(t,e,n,r)}},{key:"getConversation",value:function(t){var e=this.conversationManager.findConversation(t);return e&&-1!==e.index?this.service.getConversationProfile([t]).then((function(t){var n=t[0];return{conversation:e.source[e.index],profile:n}})):Promise.resolve(null)}},{key:"getConversationList",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.conversationManager.getList(e,this._conversationStorage).then((function(e){var n=e.map((function(t){return{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId}}));return t.service.getConversationProfile(n).then((function(t){return e.map((function(e){return{conversation:e,profile:t.find((function(t){return!(!t||!Je(t,e))}))}}))}))["catch"]((function(){return e.map((function(t){return{conversation:t}}))}))}))}},{key:"createConversation",value:function(t){return this.conversationManager.create(t)}},{key:"deleteConversation",value:function(t){return this.currentConversation=null,this.emit(Ce.SWITCH_CONVERSATION,this.currentConversation),this.conversationManager.remove(t)}},{key:"setConversationToTop",value:function(t,e){return this.conversationManager.changeTopStatus(t,e)}},{key:"setConversationNotificationStatus",value:function(t,e){return this.conversationManager.changeNotificationStatus(t,e)}},{key:"referenceMessage",value:function(t){this.emit(Ce.REFERENCE_MESSAGE,t)}},{key:"recallMessage",value:function(t){var e=this;Object(Te["z"])({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},{messageUId:t.messageUId,sentTime:t.sentTime}).then((function(n){if(0===n.code){var r=e.messageManager.recallMessage(t);r&&e.emit(Ce.UPDATE_MESSAGE,r)}}))}},{key:"deleteMessage",value:function(t){var e=this;Object(Te["q"])({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},[{messageUId:t.messageUId,sentTime:t.sentTime,messageDirection:t.messageDirection}]).then((function(n){if(0===n.code){var r=e.messageManager.deleteMessage(t);r&&e.emit(Ce.DELETE_MESSAGE,[t])}}))}},{key:"registerMessageType",value:function(t,e,n,r,i){return Object(Te["A"])(t,e,n,r,i)}},{key:"sendMessage",value:function(t,e,n){var r=fn(),i=e.content,o=e;return e.messageType===Ae["n"].REFERENCE&&(this.emit(Ce.CLOSE_REFERENCE),o=new Te["k"](Object.assign({},i))),e.messageType===Ae["n"].TextMessage&&(o=new Te["l"]({content:i.content})),e.messageType!==Ae["n"].TextMessage&&e.messageType!==Ae["n"].REFERENCE||(e.content=this._willSendMessage(e.content,t.conversationType,t.targetId,e.messageType)),this.decorateMessage(t,r,o,Object(Te["G"])(t,e,n))}},{key:"sendImageMessage",value:function(t,e,n,r){var i=this,o=fn();this._fileCache[o]=e;var s=function(s){return e=i._willSendMessage(e,t.conversationType,t.targetId,Ae["n"].IMAGE),i.decorateMessage(t,o,new Te["e"]({content:s,imageUri:""}),Object(Te["F"])(t,e,{onProgress:function(t){i.emit(Ce.UPLOAD_PROGRESS,{messageId:o,progress:t}),"function"===typeof n.onProgress&&n.onProgress(t)},onComplete:function(t){i.emit(Ce.UPLOAD_COMPLETE,{messageId:o,fileInfo:t}),"function"===typeof n.onComplete&&n.onComplete(t)}},r))};return tn(e.file).then((function(t){s(t)}))["catch"]((function(){s("")}))}},{key:"sendFileMessage",value:function(t,e,n,r){var i=this,o=fn(),s=e.file;return this._fileCache[o]=s,e=this._willSendMessage(e,t.conversationType,t.targetId,Ae["n"].FILE),this.decorateMessage(t,o,new Te["d"]({name:s.name,size:s.size,type:s.type,fileUrl:""}),Object(Te["E"])(t,e,{onProgress:function(t){i.emit(Ce.UPLOAD_PROGRESS,{messageId:o,progress:t}),"function"===typeof n.onProgress&&n.onProgress(t)},onComplete:function(t){i.emit(Ce.UPLOAD_COMPLETE,{messageId:o,fileInfo:t}),"function"===typeof n.onComplete&&n.onComplete(t)}},r))}},{key:"resendMessage",value:function(t,e){this.messageManager.deleteMessage(e),this.emit(Ce.DELETE_MESSAGE,[e]);var n=null,r=e.content;switch(e.messageType){case"RC:TxtMsg":var i=null;r.mentionedInfo&&(i=r.mentionedInfo,i.isMentioned=!0),n=new Te["l"]({content:r.content}),this.sendMessage(t,n,i);break;case"RC:ImgMsg":var o=this._fileCache[e.messageId];this.sendImageMessage(t,o,{onProgress:function(){},onComplete:function(){}}),delete this._fileCache[e.messageId];break;case"RC:FileMsg":var s=this._fileCache[e.messageId];this.sendFileMessage(t,{file:s},{onProgress:function(){},onComplete:function(){}}),delete this._fileCache[e.messageId];break;case"RC:ReferenceMsg":n=new Te["k"]({referMsgUserId:r.referMsgUserId,referMsg:r.referMsg,content:r.content,objName:r.objName}),this.sendMessage(t,n,i);break}}},{key:"_willSendMessage",value:function(t,e,n,r){return this.customDisplayMessage&&this.customDisplayMessage.willSendMessage&&"function"===typeof this.customDisplayMessage.willSendMessage&&(t=this.customDisplayMessage.willSendMessage(t,e,n,r)),t}},{key:"decorateMessage",value:function(t,e,n,r){var i=this,o={targetId:t.targetId,channelId:t.channelId,conversationType:t.conversationType,messageType:n.messageType,content:n.content,sentTime:Date.now(),messageDirection:Ae["m"].SEND,senderUserId:Object(Te["t"])(),receivedTime:void 0,isPersited:n.isPersited,isCounted:n.isCounted,messageUId:"sending_"+e,isOffLineMessage:!1,canIncludeExpansion:!1,receivedStatus:Ae["r"].UNREAD,messageId:e};this.messageManager.insertMessage(o),this.emit(Ce.MESSAGES,[o]);var s=this.conversationManager.findConversation(t),a=null;if(s){a=s.source[s.index];var c={conversation:a,updatedItems:{latestMessage:{time:Date.now(),val:o}}};this.conversationManager.update([c]),this.emit(Ce.UPDATE_CONVERSATION,[De(De({},a),{},{latestMessage:o})])}return this.emit(Ce.MESSAGE_SENDING,o),r.then((function(t){var n=t.data?t.data:o;if(n.messageId=e,n&&n.content&&i.customDisplayMessage&&i.customDisplayMessage.willDisplayMessages&&"function"===typeof i.customDisplayMessage.willDisplayMessages&&(n.content=i.customDisplayMessage.willDisplayMessages(n.content,n.conversationType,n.targetId,n.messageType)),0===t.code)i.messageManager.updateMessage(n),i.emit(Ce.MESSAGE_SEND_SUCCESS,n),delete i._fileCache[n.messageId];else{if(s){n.messageUId="fail_"+n.messageId;var r={conversation:a,updatedItems:{latestMessage:{time:Date.now(),val:n}}};i.conversationManager.update([r]),i.emit(Ce.UPDATE_CONVERSATION,[De(De({},a),{},{latestMessage:n})])}i.messageManager.updateMessage(n),i.emit(Ce.MESSAGE_SEND_FAIL,n)}return t}))}},{key:"getConversationProfile",value:function(t){return this.service.getConversationProfile([t]).then((function(t){return t&&t.length?t[0]:null}))}},{key:"getGroupMemberProfile",value:function(t,e){if(t.conversationType===Ae["e"].GROUP)return e?this.service.getGroupMembers(t).then((function(t){var n=t.findIndex((function(t){return t.id===e}));return-1!==n?t[n]:null})):null}},{key:"getGroupMembers",value:function(t){return this.service.getGroupMembers(t)}},{key:"getMyProfile",value:function(){var t=Object(Te["t"])();if(!t)throw new Error("Unable to get the current user ID.");return this.service.getUserProfile(t)}},{key:"isCustomUserMessage",value:function(t){if(!this.customMessage)return!1;var e=this.customMessage.userMessage;return e&&void 0!==e[t.messageType]}},{key:"createCustomUserMessageDom",value:function(t){if(!this.customMessage)return null;var e=this.customMessage.userMessage;return e?e[t.messageType](t):null}},{key:"isCustomNotifyMessage",value:function(t){if(!this.customMessage)return!1;var e=this.customMessage.notifyMessage;return e&&void 0!==e[t.messageType]}},{key:"createCustomNotifyMessageDom",value:function(t){if(!this.customMessage)return null;var e=this.customMessage.notifyMessage;return e?e[t.messageType](t):null}},{key:"isCustomLastMessage",value:function(t){if(!this.customMessage)return!1;var e=this.customMessage.lastMessage;return e&&void 0!==e[t.messageType]}},{key:"createCustomLastMessageDom",value:function(t){if(!this.customMessage)return null;var e=this.customMessage.lastMessage;return e?e[t.messageType](t):null}},{key:"clearMessagesUnreadStatus",value:function(t){Object(Te["n"])(t),this.conversationManager.update([{conversation:t,updatedItems:{unreadMessageCount:{time:Date.now(),val:0}}}]),this.emit(Ce.UPDATE_CONVERSATION,[De(De({},t),{},{unreadMessageCount:0})])}},{key:"saveTextMessageDraft",value:function(t,e){var n=this;Object(Te["D"])(t,e).then((function(t){0===t.code?n.emit(Ce.SWITCH_CONVERSATION,n.currentConversation):console.log(t.code,t.msg)}))}}]),n}(Ae["g"]);pn.INSTANCE=null;var gn=new pn;console.warn("IMKit版本信息","7/18/2022, 11:05:18 AM","ceb1d125c48ba324a45a764232c67ccf1f59bf33","5.3.0");var vn=0,yn=function(){function t(e,n,r){Ve(this,t),In(e),this.container=e,this.configs=mn(n),this.triggers=this.configs.map((function(t){return t.trigger})),this.triggering=!1,this.bindFuncs(),this.body=wn(e).body,this.body.addEventListener("keydown",this.checkKeyDown,!1),this.locale=r}return We(t,[{key:"bindFuncs",value:function(){this.checkKeyDown=this.checkKeyDown.bind(this),this.onSelect=this.onSelect.bind(this),this.checkMouse=this.checkMouse.bind(this)}},{key:"checkKeyDown",value:function(t){var e=t.key,n=this.triggers.indexOf(e);if(-1!==n){if(t.preventDefault(),this.triggering)return;var r=this.configs[n],i="<span id='at_"+vn+"' class='at-span' data-trigger='@'>@</span>",o=this.inserElement(i,vn);if(o){this.currentIndex=vn;var s=bn(o);"function"===typeof r.onTrigger&&(this.triggering=!0,r.onTrigger(s,this.onSelect))}}else if(8===t.keyCode){if(this.triggering)return t.preventDefault(),void this.cancelTrigger();var a=Tn(this.container);if(0===a.rangeCount)return;var c=wn(this.container).body,u=a.getRangeAt(0),l=u.commonAncestorContainer,f=l.parentNode;if(f&&this.isAtNode(f))return f.parentNode.removeChild(f),void t.preventDefault();var h=a.getRangeAt(0).cloneRange();h.collapse(!0),h.setStart(c,0);var d=h.cloneContents(),p=d.lastChild;if(this.isAtNode(p)){var g=c.querySelector("#"+p.id);g.parentNode.removeChild(g),t.preventDefault()}}else if(27===t.keyCode&&this.triggering)return t.preventDefault(),void this.cancelTrigger()}},{key:"cancelTrigger",value:function(){var t=wn(this.container),e=t.querySelector("#at_"+this.currentIndex);if(e){t.body.removeChild(e);var n=e.getAttribute("data-trigger"),r=this.triggers.indexOf(n);if(-1!==r){var i=this.configs[r];i.onCancel()}}this.triggering=!1}},{key:"isAtNode",value:function(t){return!!t&&(1===t.nodeType&&"SPAN"===t.nodeName&&void 0!==t.getAttribute("data-trigger"))}},{key:"onSelect",value:function(t){this.triggering=!1;var e=wn(this.container),n=e.querySelector("#at_"+this.currentIndex);if(n){n.innerHTML="@"+t.value;var r=t.value===this.locale.other.all?"all":t.id;n.setAttribute("data-id",r),vn++,e.body.focus();var i=e.createRange();i.setStartAfter(n.nextSibling||n),i.collapse(!0);var o=Tn(this.container);o.removeAllRanges(),o.addRange(i)}else this.cancelTrigger()}},{key:"inserElement",value:function(t,e){var n,r=wn(this.container);An(r.body);var i=Mn(t),o=Tn(this.container),s=o.getRangeAt(0);return s.insertNode(i),n=r.querySelector("#at_"+e),o.removeAllRanges(),o.selectAllChildren(n),o.collapseToEnd(),n}},{key:"checkMouse",value:function(t){if(this.triggering)t.preventDefault();else{var e,n=Cn(this.container);if(e=-[1]?n.lastChild:Mn(n).lastChild,null!=e&&1==e.nodeType&&"SPAN"==e.nodeName){var r=e.id;this.currentIndex=e.id.substring(3);var i=e.getAttribute("data-trigger"),o=this.triggers.indexOf(i);if(-1!==o){var s=wn(this.container).querySelector("#"+r);if(s){var a=this.configs[o],c=bn(s);"function"===typeof a.onTrigger&&(this.triggering=!0,a.onTrigger(c,this.onSelect))}}}}}},{key:"dispose",value:function(){this.body.removeEventListener("keydown",this.checkKeyDown,!1)}}]),t}();function mn(t){return t}function In(t){var e=t;if("IFRAME"===t.tagName)return e=t.contentWindow.document,void(e.contentEditable=!0);e.getAttribute&&void 0===e.getAttribute("contenteditable")&&e.setAttribute("contenteditable",!0)}function Mn(t){var e=document.createDocumentFragment(),n=document.createElement("div");n.innerHTML=t;while(n.firstChild)e.appendChild(n.firstChild);return e}function bn(t){var e=t.getBoundingClientRect();return{left:e.left,top:e.top,bottom:e.bottom,right:e.right,x:e.x,y:e.y,width:e.width,height:e.height}}function Cn(t){var e,n=wn(t).body,r=Tn(t);if(r.rangeCount>0){var i=r.getRangeAt(0).cloneRange();i.collapse(!0),i.setStart(n,0),e=i.cloneContents()}return e}function _n(t){var e,n=Tn(t);if(n.rangeCount>0){var r=wn(t).body,i=n.getRangeAt(0).cloneRange();i.collapse(!1),i.setEnd(r,r.childNodes.length),e=i.cloneContents()}return e}function An(t){t.focus();var e=wn(t),n=e.body;if("undefined"!=typeof window.getSelection&&"undefined"!=typeof document.createRange){var r=e.createRange();r.selectNodeContents(n),r.collapse(!1);var i=Tn(t);i.removeAllRanges(),i.addRange(r)}else if("undefined"!=typeof e.body.createTextRange){var o=e.body.createTextRange();o.moveToElementText(n),o.collapse(!1),o.select()}}function Tn(t){return"IFRAME"===t.tagName?t.contentWindow.getSelection():window.getSelection()}function wn(t){var e;return"IFRAME"===t.tagName&&(e=t),e?e.contentDocument?e.contentDocument:e.contentWindow?e.contentWindow.document:null:document}var En={area:"zh_CN",lang:"中文",conversation:{loading:"正在加载列表",forMore:"上拉获取更多",noData:"当前无会话",draft:"草稿",atMe:"有人@我",file:"文件",img:"图片",location:"位置消息",video:"短视频",audio:"语音消息",quote:"引用消息",yesterday:"昨天",before:"前天",top:"取消置顶",noTop:"置顶",inform:"允许消息通知",noInform:"消息免打扰",delete:"删除",read:"已读",unread:"未读",recall:"撤回了一条消息",you:"你"},message:{history:"下拉获取历史消息",noHistory:"没有更多历史消息了",loading:"加载中...",completed:"加载完毕",noData:"新的一天,新的开始",year:"年",month:"月",day:"日",hour:"点",minute:"分",copy:"复制",quote:"引用",recall:"撤回",delete:"删除",msgRecall:"撤回了一条消息",you:"你",opposite:"对方",file:"文件",location:"位置",nonsupport:"当前版本不支持查看此消息",forward:"转发"},messageEdit:{send:"发送",image:"图片",picError:"图片格式有误",file:"文件"},other:{unKnowMessage:"未知消息",all:"所有人"}},Nn={area:"en",lang:"English",conversation:{loading:"loading...",forMore:"more",noData:"empty",draft:"draft",atMe:"@me",file:"file",img:"image",location:"location",video:"video",audio:"audio",quote:"quote",yesterday:"yesterday",before:"before",top:"untop",noTop:"top",inform:"unmute",noInform:"mute",delete:"delete",read:"read",unread:"unread",recall:"recalled a message",you:"You "},message:{history:"more",noHistory:"no more",loading:"loading...",completed:"completed",noData:"empty",year:"year ",month:"month ",day:"day",hour:"hour",minute:"minute",copy:"copy",quote:"quote",recall:"recall",delete:"delete",msgRecall:"recalled message",you:"you",opposite:"opposite",file:"file",location:"location",nonsupport:"the current version does not support viewing this message",forward:"forward"},messageEdit:{send:"send",image:"image",picError:"image format is wrong",file:"file"},other:{unKnowMessage:"Unknown message",all:"all people"}},Sn={zh_CN:En,en:Nn},On=".editor-content{width:calc(100% - 11em);height:100%;line-height:1.5;font-size:1.8em;overflow:auto;border:none}.editor-content:focus{border:none;outline:none}.post-btn{position:absolute;right:4em;bottom:5em}.post-btn button{font-size:2.4em;border:0.1em solid #aaaeb2;border-radius:0.5em;height:2.83333em;width:7em;background:#fff;color:#0099ff;outline:none}.post-btn button:disabled{border:0.1em solid #c7cbce;color:#c7cbce}",Dn=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),Jt(Pe(t)),t.post=Tt(Pe(t),"post",7),t.contentChange=Tt(Pe(t),"contentChange",7),t.inputContent=Tt(Pe(t),"inputContent",7),t.memberListVisible=!1,t.hasContent=!1,t.lang=gn.lang,t.handleInput=t.handleInput.bind(Pe(t)),t.handleKeyDown=t.handleKeyDown.bind(Pe(t)),t.postHandler=t.postHandler.bind(Pe(t)),t.handlePastContent=t.handlePastContent.bind(Pe(t)),t.handleSelectMember=t.handleSelectMember.bind(Pe(t)),t.handleCloseMemberList=t.handleCloseMemberList.bind(Pe(t)),t.handleSwitchConversation=t.handleSwitchConversation.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"validateWatchData",value:function(t,e){if(!e||t.time!==e.time){var n=wn(this.contentRef);n.body.innerHTML=t.text,An(this.contentRef)}}},{key:"validateConversationData",value:function(t,e){e&&(e.conversationType!==Te["a"].GROUP?t&&t.conversationType===Te["a"].GROUP&&this.createAt():t&&t.conversationType!==Te["a"].GROUP&&this.at&&this.at.dispose())}},{key:"componentWillLoad",value:function(){gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){if(this.contentRef){var t=wn(this.contentRef);t&&(t.body.removeEventListener("paste",this.handlePastContent),t.body.removeEventListener("input",this.handleInput),t.body.removeEventListener("keydown",this.handleKeyDown))}this.at&&this.at.dispose(),gn.off(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"componentDidLoad",value:function(){var t=this;if(this.value){var e=wn(this.contentRef);e.body.innerHTML=this.value.text}setTimeout((function(){t.conversation.conversationType===Te["a"].GROUP&&t.createAt();var e=wn(t.contentRef);e&&(e.body.addEventListener("paste",t.handlePastContent),e.body.addEventListener("input",t.handleInput),e.body.addEventListener("keydown",t.handleKeyDown),e.designMode="on",e.contentEditable=!0,e.body.style.margin=0,e.body.style.padding=0,e.body.style.wordBreak="break-all")}),500),gn.on(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation)}},{key:"handleInput",value:function(){var t=this;this.checkContentLength(),this.contentChangeHandler(),this.inputTimer||this.inputContent.emit(),this.inputTimer=setTimeout((function(){clearTimeout(t.inputTimer),t.inputTimer=null}),5e3)}},{key:"checkContentLength",value:function(){var t=this;this.checkContentTimer||(this.checkContentTimer=setTimeout((function(){if(wn(t.contentRef)){var e=wn(t.contentRef).body.innerHTML;e=e.trim(),e=e.replace(/ /g,""),e=e.replace(/<br>/g,""),t.hasContent=!!e,t.checkContentTimer=null}}),400))}},{key:"contentChangeHandler",value:function(){this.contentChange.emit(wn(this.contentRef).body.innerHTML)}},{key:"handlePastContent",value:function(t){var e=(t.clipboardData||window.clipboardData).getData("text"),n=Tn(this.contentRef);if(!n.rangeCount)return!1;n.deleteFromDocument();var r=n.getRangeAt(0),i=document.createTextNode(e);r.insertNode(i),r.setStartAfter(i),r.collapse(!0),t.preventDefault(),this.checkContentLength()}},{key:"postHandler",value:function(){var t=wn(this.contentRef);this.post.emit(t.body.innerHTML),t.body.innerHTML="",this.hasContent=!1,this.at&&(this.at.triggering=!1)}},{key:"handleKeyDown",value:function(t){if(13===t.keyCode){if(t.preventDefault(),t.shiftKey){var e=Tn(this.contentRef),n=e.getRangeAt(0),r=_n(this.contentRef),i=Array.prototype.filter.call(r.childNodes,(function(t){return!("#text"===t.nodeName&&!t.data)}));if(!i.length){var o=document.createElement("br");n.insertNode(o)}var s=document.createElement("br");return n.insertNode(s),void n.collapse(!1)}this.memberListVisible=!1,this.postHandler()}this.checkContentLength()}},{key:"createAt",value:function(){var t=this;this.at=new yn(this.contentRef,[{trigger:"@",onTrigger:function(e,n){var r=t.contentRef.getBoundingClientRect();t.targetRect={width:e.width,height:e.height,x:e.x+r.x,y:e.y+r.y},t.memberListVisible=!0,t.atItemSelect=n},onCancel:function(){t.memberListVisible=!1}}],this.locale)}},{key:"handleSelectMember",value:function(t){var e=t.detail;this.atItemSelect(e),this.memberListVisible=!1,this.contentChange.emit(wn(this.contentRef).body.innerHTML)}},{key:"handleCloseMemberList",value:function(t){!t.detail&&this.at&&this.at.cancelTrigger(),this.memberListVisible=!1}},{key:"handleSwitchConversation",value:function(){this.handleCloseMemberList({}),this.checkContentLength()}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var e=this.locale;return Z(Xt,null,Z("iframe",{class:"editor-content",contenteditable:"true",ref:function(e){return t.contentRef=e}}),Z("div",{class:"post-btn"},Z("button",{disabled:!this.hasContent,onClick:this.postHandler},e.messageEdit.send)),Z("member-list",{conversation:this.conversation,visible:this.memberListVisible,targetRect:this.targetRect,onSelectMember:this.handleSelectMember,onClose:this.handleCloseMemberList}))}}],[{key:"watchers",get:function(){return{value:["validateWatchData"],conversation:["validateConversationData"]}}},{key:"style",get:function(){return On}}]),n}(Ee(HTMLElement)),xn=".context-menu{font-size:2em;position:fixed;top:0;left:0;z-index:1;min-width:7em;background:#ffffff;-webkit-box-shadow:0px 0px 15px 3px rgb(100 102 109 / 19%);box-shadow:0px 0px 15px 3px rgb(100 102 109 / 19%);border-radius:0.5em}.context-menu ul{list-style:none;margin:0;padding:0}.context-menu li{list-style:none;line-height:2;text-align:center;background:#fff;height:3em;line-height:3em;cursor:pointer;padding:0 1em;color:#111f2c}.context-menu li:hover,.context-menu li.hover{background:#f2f8ff}",Ln=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.hide=Tt(Pe(t),"hide",7),t.topStatusChange=Tt(Pe(t),"topStatusChange",7),t.notificationStatusChange=Tt(Pe(t),"notificationStatusChange",7),t["delete"]=Tt(Pe(t),"delete",7),t.position={top:0,left:0},t.visible=!1,t.topStatus=!1,t.notificationStatus=!1,t.lang=gn.lang,t.handleHide=t.handleHide.bind(Pe(t)),t.topStatusChangeHandler=t.topStatusChangeHandler.bind(Pe(t)),t.notificationStatusHandler=t.notificationStatusHandler.bind(Pe(t)),t.deleteHandler=t.deleteHandler.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"componentWillLoad",value:function(){document.body.addEventListener("mouseup",this.handleHide,!1),window.addEventListener("blur",this.handleHide,!1),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){document.body.removeEventListener("mouseup",this.handleHide,!1),window.removeEventListener("blur",this.handleHide,!1)}},{key:"handleHide",value:function(t){0===t.button&&this.hide.emit()}},{key:"topStatusChangeHandler",value:function(){this.topStatusChange.emit(!this.topStatus)}},{key:"notificationStatusHandler",value:function(){this.notificationStatusChange.emit(!this.notificationStatus)}},{key:"deleteHandler",value:function(){this["delete"].emit()}},{key:"createCustomMenu",value:function(){var t=this;if(!this.customMenu||!this.conversation)return[];var e=[];return this.customMenu.forEach((function(n){var r=n.name(t.conversation);r&&e.push({name:r,callback:function(){return n.callback(t.conversation)}})})),e}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t,e=this,n=this.createCustomMenu();this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var r=this.locale,i=document.documentElement.clientHeight,o=3;o+=n.length;var s=(null===(t=this.contextMenu)||void 0===t?void 0:t.childNodes[0].childNodes[0].clientHeight)*o||0;return Z("div",{class:"context-menu",style:{"z-index":this.visible?"1":"-1",display:"block",left:(this.position?this.position.left:0)+"px",top:(this.position?i-this.position.top<s?this.position.top-s:this.position.top:0)+"px"},ref:function(t){return e.contextMenu=t}},Z("ul",null,Z("li",{onClick:this.topStatusChangeHandler},this.topStatus?r.conversation.top:r.conversation.noTop),Z("li",{onClick:this.notificationStatusHandler},this.notificationStatus?r.conversation.inform:r.conversation.noInform),Z("li",{onClick:this.deleteHandler},r.conversation["delete"]),n.map((function(t){return Z("li",{onClick:t.callback},t.name)}))))}}],[{key:"style",get:function(){return xn}}]),n}(Ee(HTMLElement)),Rn={"/9j":{type:"image",suffix:"JPG"},iVB:{type:"image",suffix:"PNG"},Qk0:{type:"image",suffix:"BMP"},SUk:{type:"image",suffix:"TIFF"},JVB:{type:"image",suffix:"PDF"},UEs:{type:"image",suffix:"OFD"},IyF:{type:"audio",suffix:"AMR"}};function jn(t){if(t.startsWith("data:/")||t.startsWith("http"))return t;var e=t.substr(0,3);return Rn[e]?"data:".concat(Rn[e].type,"/").concat(Rn[e].suffix.toLowerCase(),";base64,").concat(t):t}function kn(t,e,n){if(e=Object.assign({year:n.message.year,month:n.message.month,day:n.message.day,hour:n.message.hour,minute:n.message.minute},e||{}),!t)return null;var r=new Date(t),i=r.getFullYear(),o=r.getMonth()+1,s=r.getDate(),a=r.getHours()+"";a.length<2&&(a="0"+a);var c=r.getMinutes()+"";c.length<2&&(c="0"+c);var u=new Date,l=Pn(r);if(-1===l){var f=n.conversation.yesterday;return"".concat(f)}return u.getFullYear()===i?u.toDateString()===r.toDateString()?"".concat(a,":").concat(c):"".concat(o,"/").concat(s):"zh_CN"===n.area?"".concat(i,"/").concat(o,"/").concat(s):"".concat(o,"/").concat(s,"/").concat(i)}function Pn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),o=new Date(n+"/"+r+"/"+i).getTime(),s=e.getFullYear(),a=e.getMonth()+1,c=e.getDate(),u=new Date(s+"/"+a+"/"+c).getTime(),l=(o-u)/1e3/60/60/24;return l}function Un(t){return t.replace(/<[^>]+>/g,"")}function zn(t){var e;if("object"===we(t))if(Array.isArray(t))for(var n in e=[],t)e.push(zn(t[n]));else if(null===t)e=null;else if(t instanceof RegExp)e=t;else for(var r in e={},t)e[r]=zn(t[r]);else e=t;return e}function Bn(t){var e=/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/g;return t=t.replace("<","<"),t=t.replace(">",">"),e.test(t)&&(t=t.replace(e,(function(t){var e="";return t.indexOf("http:")<0&&t.indexOf("https:")<0&&(e="//"),'<a target="_blank" class="url-wrap" href="'.concat(e).concat(t,'">').concat(t,"</a>")}))),t}var Gn='.conversation-item.top-item::after{content:" ";display:block;width:0;height:0;border-top:2em solid #4790ee;border-right:2em solid transparent;position:absolute;left:0;top:0}.conversation-item{height:10.4em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:0 2em 0 2em;position:relative;text-align:left}.conversation-item:hover{background:#f3f3f3}.conversation-item.hover{background:#f1f1f1}.conversation-item .user-avatar{width:6.4em;height:6.4em;margin:0 2em 0 0;position:relative}.avatar-image{background:#4790ee;border-radius:50%;width:6.4em;height:6.4em;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.conversation-item .user-avatar img{width:100%}.conversation-item .user-avatar .message-count{position:absolute;right:0;top:0;height:2em;line-height:2em;background-color:#ff4141;color:#fff;border-radius:1em;text-align:center;font-size:1.1em;min-width:2em;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 0.6em}.conversation-info{-ms-flex-positive:1;flex-grow:1;width:calc(100% - 10em)}.info-block{-ms-flex-positive:0;flex-grow:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin:0 0 0.6em;width:100%}.info-block:last-child{margin:0}.user-name{font-size:2.2em;height:1.091em;line-height:0.9em;font-weight:400;color:#111f2c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:49%}.latest-message{color:#a0a5ab;font-size:1.6em;line-height:1.6em;width:calc(100% - 2.2em);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.latest-message>div{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;font-size:1.25em;line-height:1.25em}.latest-message>div .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.last-time{color:#c7cbce;height:1.3333em;line-height:1.3333em;text-align:right;font-size:1.8em}.notification{height:2em;line-height:2em}.notification span{width:2em;height:2em;display:inline-block}.notification .disable{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjdweCIgaGVpZ2h0PSIyNnB4IiB2aWV3Qm94PSIwIDAgMjcgMjYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5YWN5omT5omwPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAxX+S8muivneWIl+ihqOamguiniCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQwMS4wMDAwMDAsIC02MzguMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuWFjeaJk+aJsCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAxLjQwMDAwMCwgNjM4LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy4zMTI1LDEyLjQ2ODUgTDE3LjYxOTUsMTguNjg3NSBMMTguNjg3NSwxOC42ODc1IEMxOS41ODQ5NjI3LDE4LjY4NzUgMjAuMzEyNSwxOS40MTUwMzczIDIwLjMxMjUsMjAuMzEyNSBDMjAuMzEyNSwyMS4yMDk5NjI3IDE5LjU4NDk2MjcsMjEuOTM3NSAxOC42ODc1LDIxLjkzNzUgTDYuNSwyMS45Mzc1IEM1LjYwMjUzNzI4LDIxLjkzNzUgNC44NzUsMjEuMjA5OTYyNyA0Ljg3NSwyMC4zMTI1IEM0Ljg3NSwxOS40MTUwMzczIDUuNjAyNTM3MjgsMTguNjg3NSA2LjUsMTguNjg3NSBMNy4zMTI1LDE4LjY4NzUgTDcuMzEyNSwxMi40Njg1IFogTTEyLjU5Mzc1LDQuMDYyNSBDMTMuMjY2ODQ3LDQuMDYyNSAxMy44MTI1LDQuNjA4MTUyOTYgMTMuODEyNSw1LjI4MTI1IEwxMy44MTI5ODE0LDUuODI4OTMzMzYgQzE2LjE0MTkzMjYsNi4zNzkzMDM1MyAxNy44NzUsOC40NzE2MzY5NyAxNy44NzUsMTAuOTY4NzUgTDE3Ljg3Mzk1NTQsMTQuOTYwNSBMMjIuMDU1OTU1NCwxNy40MjI1MjIxIEwyMS4yMjExOTk5LDE4Ljg5NjgyNzMgTDQuMTgwOTU1NDMsOC44NjQ5Mzk1MSBMNS4wMTU3MTA5Miw3LjM5MDYzNDM2IEw3LjcwMjgwMTc2LDguOTcyNTIwMjggQzguMzQwNzUxODksNy40MTEwOTUyMiA5LjcwNDY4NjA3LDYuMjIzMzQ3OTMgMTEuMzc1MDgyNiw1LjgyODgwMDExIEwxMS4zNzUsNS4yODEyNSBDMTEuMzc1LDQuNjA4MTUyOTYgMTEuOTIwNjUzLDQuMDYyNSAxMi41OTM3NSw0LjA2MjUgWiIgaWQ9IuW9oueKtue7k+WQiCIgZmlsbD0iI0QxRDFEMSI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=);background-repeat:no-repeat;background-size:contain}.latest-message .fail{}.latest-message .sending::before,.latest-message .fail::before{content:" ";display:inline-block;background-size:contain;background-repeat:no-repeat;vertical-align:middle;width:1.3em;height:1.3em;margin:0 0.2em 0 0}.latest-message .sending::before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjdweCIgaGVpZ2h0PSIyNnB4IiB2aWV3Qm94PSIwIDAgMjcgMjYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5q2j5Zyo5Y+R6YCBPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC01MzQuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hOWkh+S7vS00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjQwMDAwMCwgNDc1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9Iuato+WcqOWPkemAgSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjAwMDAwMCwgNTkuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC0yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMi4wMDAwMDAsIDQuMDAwMDAwKSIgZmlsbD0iI0Q4RDhEOCI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik05Ljg1NzE0Mjg2LDAgTDkuODU3MTQyODYsNC45MDkwOTA5MSBMMTUuNjA3MTQyOSw0LjkwOTA5MDkxIEwxNS42MDcxNDI5LDEzLjkwOTA5MDkgTDkuODU3MTQyODYsMTMuOTA5MDkwOSBMOS44NTcxNDI4NiwxOCBMMCw5LjAyNzU5MzU1IEw5Ljg1NzE0Mjg2LDAgWiBNMTkuNzE0Mjg1Nyw0LjkwOTA5MDkxIEwxOS43MTQyODU3LDEzLjkwOTA5MDkgTDE3LjI1LDEzLjkwOTA5MDkgTDE3LjI1LDQuOTA5MDkwOTEgTDE5LjcxNDI4NTcsNC45MDkwOTA5MSBaIE0yMyw0LjkwOTA5MDkxIEwyMywxMy45MDkwOTA5IEwyMS4zNTcxNDI5LDEzLjkwOTA5MDkgTDIxLjM1NzE0MjksNC45MDkwOTA5MSBMMjMsNC45MDkwOTA5MSBaIiBpZD0i5b2i54q257uT5ZCIIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.latest-message .fail::before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjVweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjUgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5oSf5Y+55Y+3PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC02MzkuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuaEn+WPueWPtyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjQwMDAwMCwgNjM5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjUwMDAwMCwgMS41MDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRjQxNDEiIGN4PSIxMC41IiBjeT0iMTAuNSIgcj0iMTAuNSI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgeD0iOS43NSIgeT0iNS4yNSIgd2lkdGg9IjEuNSIgaGVpZ2h0PSI3LjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRkZGRkYiIGN4PSIxMC41IiBjeT0iMTUiIHI9IjEiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.mentioned{color:red}.latest-message i{font-style:normal}',Yn=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.selectConversation=Tt(Pe(t),"selectConversation",7),t.isHover=!1,t.draft="",t.lang=gn.lang,t.selectHandler=t.selectHandler.bind(Pe(t)),t.handleSwitchConversation=t.handleSwitchConversation.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"componentWillLoad",value:function(){gn.on(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"componentDidUpdate",value:function(){gn.off(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation),gn.on(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){gn.off(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"handleSwitchConversation",value:function(){var t=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN,gn.currentConversation&&Je(gn.currentConversation,this.data.conversation)?this.draft="":Object(Te["w"])(this.data.conversation).then((function(e){if(0===e.code&&e.data){var n=document.createElement("div");n.innerHTML=e.data;var r="["+t.locale.conversation.draft+"]";t.draft=Z("span",null,Z("i",{style:{color:"red"}},r," ")," ",n.innerText)}else t.draft=""}))}},{key:"getLatestMessage",value:function(t,e){var n=this;if(!t)return"";var r="",i=0!=this.data.conversation.unreadMessageCount&&(!gn.currentConversation||!Je(gn.currentConversation,this.data.conversation));if(i){var o="["+e.conversation.atMe+"]";this.data.conversation.hasMentioned&&(r=Z("span",{class:"mentioned"},o))}var s="",a="";t.messageDirection===Te["g"].SEND&&(t.messageUId.startsWith("fail_")?a="fail":t.messageUId.startsWith("sending_")?a="sending":t.conversationType===Te["a"].PRIVATE&&"polyfill"!==t.messageType&&(s=t.receivedStatus===Te["j"].UNREAD?"["+e.conversation.unread+"]":"["+e.conversation.read+"]"));var c="";switch(t.messageType){case Te["h"].TEXT:c=t.content.content;break;case Te["h"].FILE:var u="["+e.conversation.file+"]";c=u;break;case Te["h"].IMAGE:var l="["+e.conversation.img+"]";c=l;break;case Te["h"].LOCATION:var f="["+e.conversation.location+"]";c=f;break;case Te["h"].SIGHT:var h="["+e.conversation.video+"]";c=h;break;case Te["h"].HQ_VOICE:var d="["+e.conversation.audio+"]";c=d;break;case Te["h"].REFERENCE:var p="["+e.conversation.quote+"]";c=p;break;case Te["h"].RECALL_MESSAGE_TYPE:var g=e.conversation.recall,v=e.conversation.you,y=t.messageDirection===Te["g"].SEND,m=y?v:"";t.conversationType!==Te["a"].PRIVATE||y?t.conversationType===Te["a"].GROUP&&gn.getGroupMemberProfile({targetId:t.targetId,conversationType:Te["a"].GROUP,channelId:t.channelId},t.senderUserId).then((function(e){m=e&&(e.groupNickname||e.name)||t.senderUserId,n.nameRef.innerText=m+" "+g})):gn.getConversationProfile({targetId:t.targetId,conversationType:Te["a"].PRIVATE,channelId:t.channelId}).then((function(e){m=e?e.name:t.senderUserId,n.nameRef.innerText=m+" "+g})),c=m+g,s="";break;default:gn.isCustomLastMessage(t)&&(c=gn.createCustomLastMessageDom(t)?gn.createCustomLastMessageDom(t):"")}return c=c.replace(/[\r\n]/g,""),this.nameRef&&(this.nameRef.innerText=" "+c),Z("div",{class:a},r,Z("span",{class:"ellipsis"},s,Z("span",{ref:function(t){return n.nameRef=t}}," "+c)))}},{key:"selectHandler",value:function(t){2!==t.button&&this.selectConversation.emit({conversationType:this.data.conversation.conversationType,targetId:this.data.conversation.targetId,channelId:this.data.conversation.channelId})}},{key:"conversationFormatTime",value:function(t,e){if(t)return kn(t.sentTime,{hour:":",minute:""},e)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang,this.handleSwitchConversation()}},{key:"render",value:function(){var t,e,n;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var r=this.data,i=this.isHover,o=this.locale;return Z("div",{class:"conversation-item "+(r.conversation.isTop?"top-item":"untop-item")+(i?" hover":""),key:r.conversation.targetId+"&&"+r.conversation.conversationType+"&&"+r.conversation.channelId,onMouseUp:this.selectHandler},Z("div",{class:"user-avatar"},Z("div",{class:"avatar-image"},null!==(t=r.profile)&&void 0!==t&&t.portraitUri?Z("img",{src:r.profile.portraitUri}):null),r.conversation.unreadMessageCount?Z("span",{class:"message-count"},r.conversation.unreadMessageCount):null),Z("div",{class:"conversation-info"},Z("div",{class:"info-block"},Z("div",{class:"user-name"},Z("span",null,null!==(e=r.profile)&&void 0!==e&&e.name?null===(n=r.profile)||void 0===n?void 0:n.name:r.conversation.targetId)),Z("div",{class:"last-time"},this.conversationFormatTime(r.conversation.latestMessage,o))),Z("div",{class:"info-block"},Z("div",{class:"latest-message"},Z("div",null,this.draft?this.draft:this.getLatestMessage(r.conversation.latestMessage,o))),Z("div",{class:"notification"},r.conversation.notificationStatus===Te["i"].OPEN?Z("span",{class:"disable"}):null))))}}],[{key:"style",get:function(){return Gn}}]),n}(Ee(HTMLElement)),$n=function(t,e){return $n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},$n(t,e)};function Hn(t,e){function n(){this.constructor=t}$n(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Fn=function(){return Fn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Fn.apply(this,arguments)};function Vn(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}var Qn=[{sourceKey:"scroller.scrollBehaviorX.currentPos",key:"x"},{sourceKey:"scroller.scrollBehaviorY.currentPos",key:"y"},{sourceKey:"scroller.scrollBehaviorX.hasScroll",key:"hasHorizontalScroll"},{sourceKey:"scroller.scrollBehaviorY.hasScroll",key:"hasVerticalScroll"},{sourceKey:"scroller.scrollBehaviorX.contentSize",key:"scrollerWidth"},{sourceKey:"scroller.scrollBehaviorY.contentSize",key:"scrollerHeight"},{sourceKey:"scroller.scrollBehaviorX.maxScrollPos",key:"maxScrollX"},{sourceKey:"scroller.scrollBehaviorY.maxScrollPos",key:"maxScrollY"},{sourceKey:"scroller.scrollBehaviorX.minScrollPos",key:"minScrollX"},{sourceKey:"scroller.scrollBehaviorY.minScrollPos",key:"minScrollY"},{sourceKey:"scroller.scrollBehaviorX.movingDirection",key:"movingDirectionX"},{sourceKey:"scroller.scrollBehaviorY.movingDirection",key:"movingDirectionY"},{sourceKey:"scroller.scrollBehaviorX.direction",key:"directionX"},{sourceKey:"scroller.scrollBehaviorY.direction",key:"directionY"},{sourceKey:"scroller.actions.enabled",key:"enabled"},{sourceKey:"scroller.animater.pending",key:"pending"},{sourceKey:"scroller.animater.stop",key:"stop"},{sourceKey:"scroller.scrollTo",key:"scrollTo"},{sourceKey:"scroller.scrollBy",key:"scrollBy"},{sourceKey:"scroller.scrollToElement",key:"scrollToElement"},{sourceKey:"scroller.resetPosition",key:"resetPosition"}];function Wn(t){console.error("[BScroll warn]: "+t)}var Zn="undefined"!==typeof window,Kn=Zn&&navigator.userAgent.toLowerCase(),qn=!(!Kn||!/wechatdevtools/.test(Kn)),Jn=Kn&&Kn.indexOf("android")>0,Xn=function(){if("string"===typeof Kn){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(Kn);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}return!1}(),tr=!1;if(Zn){var er="test-passive";try{var nr={};Object.defineProperty(nr,"passive",{get:function(){tr=!0}}),window.addEventListener(er,(function(){}),nr)}catch(cs){}}function rr(){return window.performance&&window.performance.now&&window.performance.timing?window.performance.now()+window.performance.timing.navigationStart:+new Date}var ir=function(t,e){for(var n in e)t[n]=e[n];return t};function or(t){return void 0===t||null===t}function sr(t,e,n){return t<e?e:t>n?n:t}var ar=Zn&&document.createElement("div").style,cr=function(){if(!Zn)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==ar[r.value])return r.key}return!1}();function ur(t){return!1===cr?t:"standard"===cr?"transitionEnd"===t?"transitionend":t:cr+t.charAt(0).toUpperCase()+t.substr(1)}function lr(t){return"string"===typeof t?document.querySelector(t):t}function fr(t,e,n,r){var i=tr?{passive:!1,capture:!!r}:!!r;t.addEventListener(e,n,i)}function hr(t,e,n,r){t.removeEventListener(e,n,{capture:!!r})}function dr(t){var e=0,n=0;while(t)e-=t.offsetLeft,n-=t.offsetTop,t=t.offsetParent;return{left:e,top:n}}cr&&"standard"!==cr&&cr.toLowerCase();var pr=ur("transform"),gr=ur("transition"),vr=Zn&&ur("perspective")in ar,yr=Zn&&("ontouchstart"in window||qn),mr=Zn&&gr in ar,Ir={transform:pr,transition:gr,transitionTimingFunction:ur("transitionTimingFunction"),transitionDuration:ur("transitionDuration"),transitionDelay:ur("transitionDelay"),transformOrigin:ur("transformOrigin"),transitionEnd:ur("transitionEnd"),transitionProperty:ur("transitionProperty")},Mr={touchstart:1,touchmove:1,touchend:1,touchcancel:1,mousedown:2,mousemove:2,mouseup:2};function br(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function Cr(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1}var _r=Cr;function Ar(t,e){var n=document.createEvent("Event");n.initEvent(e,!0,!0),n.pageX=t.pageX,n.pageY=t.pageY,t.target.dispatchEvent(n)}function Tr(t,e){var n;void 0===e&&(e="click"),"mouseup"===t.type?n=t:"touchend"!==t.type&&"touchcancel"!==t.type||(n=t.changedTouches[0]);var r,i={};n&&(i.screenX=n.screenX||0,i.screenY=n.screenY||0,i.clientX=n.clientX||0,i.clientY=n.clientY||0);var o=!0,s=!0,a=t.ctrlKey,c=t.shiftKey,u=t.altKey,l=t.metaKey,f={ctrlKey:a,shiftKey:c,altKey:u,metaKey:l};if("undefined"!==typeof MouseEvent)try{r=new MouseEvent(e,ir(Fn({bubbles:o,cancelable:s},f),i))}catch(t){h()}else h();function h(){r=document.createEvent("Event"),r.initEvent(e,o,s),ir(r,i)}r.forwardedTouchEvent=!0,r._constructed=!0,t.target.dispatchEvent(r)}function wr(t){Tr(t,"dblclick")}var Er={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},Nr=1e3/60,Sr=Zn&&window;function Or(){}var Dr=function(){return Zn?Sr.requestAnimationFrame||Sr.webkitRequestAnimationFrame||Sr.mozRequestAnimationFrame||Sr.oRequestAnimationFrame||function(t){return window.setTimeout(t,t.interval||Nr)}:Or}(),xr=function(){return Zn?Sr.cancelAnimationFrame||Sr.webkitCancelAnimationFrame||Sr.mozCancelAnimationFrame||Sr.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:Or}(),Lr=function(t){},Rr={enumerable:!0,configurable:!0,get:Lr,set:Lr},jr=function(t,e){for(var n=e.split("."),r=0;r<n.length-1;r++)if(t=t[n[r]],"object"!==we(t)||!t)return;var i=n.pop();return"function"===typeof t[i]?function(){return t[i].apply(t,arguments)}:t[i]},kr=function(t,e,n){for(var r,i=e.split("."),o=0;o<i.length-1;o++)r=i[o],t[r]||(t[r]={}),t=t[r];t[i.pop()]=n};function Pr(t,e,n){Rr.get=function(){return jr(this,e)},Rr.set=function(t){kr(this,e,t)},Object.defineProperty(t,n,Rr)}var Ur=function(){function t(t){this.events={},this.eventTypes={},this.registerType(t)}return t.prototype.on=function(t,e,n){return void 0===n&&(n=this),this.hasType(t),this.events[t]||(this.events[t]=[]),this.events[t].push([e,n]),this},t.prototype.once=function(t,e,n){var r=this;void 0===n&&(n=this),this.hasType(t);var i=function i(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];r.off(t,i);var a=e.apply(n,o);if(!0===a)return a};return i.fn=e,this.on(t,i),this},t.prototype.off=function(t,e){if(!t&&!e)return this.events={},this;if(t){if(this.hasType(t),!e)return this.events[t]=[],this;var n=this.events[t];if(!n)return this;var r=n.length;while(r--)(n[r][0]===e||n[r][0]&&n[r][0].fn===e)&&n.splice(r,1);return this}},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.hasType(t);var r=this.events[t];if(r)for(var i,o=r.length,s=Vn(r),a=0;a<o;a++){var c=s[a],u=c[0],l=c[1];if(u&&(i=u.apply(l,e),!0===i))return i}},t.prototype.registerType=function(t){var e=this;t.forEach((function(t){e.eventTypes[t]=t}))},t.prototype.destroy=function(){this.events={},this.eventTypes={}},t.prototype.hasType=function(t){var e=this.eventTypes,n=e[t]===t;n||Wn('EventEmitter has used unknown event type: "'+t+'", should be oneof ['+Object.keys(e).map((function(t){return JSON.stringify(t)}))+"]")},t}(),zr=function(){function t(t,e){this.wrapper=t,this.events=e,this.addDOMEvents()}return t.prototype.destroy=function(){this.removeDOMEvents(),this.events=[]},t.prototype.addDOMEvents=function(){this.handleDOMEvents(fr)},t.prototype.removeDOMEvents=function(){this.handleDOMEvents(hr)},t.prototype.handleDOMEvents=function(t){var e=this,n=this.wrapper;this.events.forEach((function(r){t(n,r.name,e,!!r.capture)}))},t.prototype.handleEvent=function(t){var e=t.type;this.events.some((function(n){return n.name===e&&(n.handler(t),!0)}))},t}(),Br=function(){function t(){}return t}(),Gr=function(t){function e(){var e=t.call(this)||this;return e.startX=0,e.startY=0,e.scrollX=!1,e.scrollY=!0,e.freeScroll=!1,e.directionLockThreshold=0,e.eventPassthrough="",e.click=!1,e.dblclick=!1,e.tap="",e.bounce={top:!0,bottom:!0,left:!0,right:!0},e.bounceTime=800,e.momentum=!0,e.momentumLimitTime=300,e.momentumLimitDistance=15,e.swipeTime=2500,e.swipeBounceTime=500,e.deceleration=.0015,e.flickLimitTime=200,e.flickLimitDistance=100,e.resizePolling=60,e.probeType=0,e.stopPropagation=!1,e.preventDefault=!0,e.preventDefaultException={tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|AUDIO)$/},e.tagException={tagName:/^TEXTAREA$/},e.HWCompositing=!0,e.useTransition=!0,e.bindToWrapper=!1,e.bindToTarget=!1,e.disableMouse=yr,e.disableTouch=!yr,e.autoBlur=!0,e.autoEndDistance=5,e.outOfBoundaryDampingFactor=1/3,e.specifiedIndexAsContent=0,e.quadrant=1,e}return Hn(e,t),e.prototype.merge=function(t){if(!t)return this;for(var e in t)"bounce"!==e?this[e]=t[e]:this.bounce=this.resolveBounce(t[e]);return this},e.prototype.process=function(){return this.translateZ=this.HWCompositing&&vr?" translateZ(1px)":"",this.useTransition=this.useTransition&&mr,this.preventDefault=!this.eventPassthrough&&this.preventDefault,this.scrollX="horizontal"!==this.eventPassthrough&&this.scrollX,this.scrollY="vertical"!==this.eventPassthrough&&this.scrollY,this.freeScroll=this.freeScroll&&!this.eventPassthrough,this.scrollX=!!this.freeScroll||this.scrollX,this.scrollY=!!this.freeScroll||this.scrollY,this.directionLockThreshold=this.eventPassthrough?0:this.directionLockThreshold,this},e.prototype.resolveBounce=function(t){var e,n={top:!0,right:!0,bottom:!0,left:!0},r={top:!1,right:!1,bottom:!1,left:!1};return e="object"===we(t)?ir(n,t):t?n:r,e},e}(Br),Yr=function(){function t(t,e){this.wrapper=t,this.options=e,this.hooks=new Ur(["beforeStart","start","move","end","click"]),this.handleDOMEvents()}return t.prototype.handleDOMEvents=function(){var t=this.options,e=t.bindToWrapper,n=t.disableMouse,r=t.disableTouch,i=t.click,o=this.wrapper,s=e?o:window,a=[],c=[],u=!r,l=!n;i&&a.push({name:"click",handler:this.click.bind(this),capture:!0}),u&&(a.push({name:"touchstart",handler:this.start.bind(this)}),c.push({name:"touchmove",handler:this.move.bind(this)},{name:"touchend",handler:this.end.bind(this)},{name:"touchcancel",handler:this.end.bind(this)})),l&&(a.push({name:"mousedown",handler:this.start.bind(this)}),c.push({name:"mousemove",handler:this.move.bind(this)},{name:"mouseup",handler:this.end.bind(this)})),this.wrapperEventRegister=new zr(o,a),this.targetEventRegister=new zr(s,c)},t.prototype.beforeHandler=function(t,e){var n=this.options,r=n.preventDefault,i=n.stopPropagation,o=n.preventDefaultException,s={start:function(){return r&&!Cr(t.target,o)},end:function(){return r&&!Cr(t.target,o)},move:function(){return r}};s[e]()&&t.preventDefault(),i&&t.stopPropagation()},t.prototype.setInitiated=function(t){void 0===t&&(t=0),this.initiated=t},t.prototype.start=function(t){var e=Mr[t.type];if(!this.initiated||this.initiated===e)if(this.setInitiated(e),_r(t.target,this.options.tagException))this.setInitiated();else if((2!==e||0===t.button)&&!this.hooks.trigger(this.hooks.eventTypes.beforeStart,t)){this.beforeHandler(t,"start");var n=t.touches?t.touches[0]:t;this.pointX=n.pageX,this.pointY=n.pageY,this.hooks.trigger(this.hooks.eventTypes.start,t)}},t.prototype.move=function(t){if(Mr[t.type]===this.initiated){this.beforeHandler(t,"move");var e=t.touches?t.touches[0]:t,n=e.pageX-this.pointX,r=e.pageY-this.pointY;if(this.pointX=e.pageX,this.pointY=e.pageY,!this.hooks.trigger(this.hooks.eventTypes.move,{deltaX:n,deltaY:r,e:t})){var i=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,o=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,s=this.pointX-i,a=this.pointY-o,c=this.options.autoEndDistance;(s>document.documentElement.clientWidth-c||a>document.documentElement.clientHeight-c||s<c||a<c)&&this.end(t)}}},t.prototype.end=function(t){Mr[t.type]===this.initiated&&(this.setInitiated(),this.beforeHandler(t,"end"),this.hooks.trigger(this.hooks.eventTypes.end,t))},t.prototype.click=function(t){this.hooks.trigger(this.hooks.eventTypes.click,t)},t.prototype.setContent=function(t){t!==this.wrapper&&(this.wrapper=t,this.rebindDOMEvents())},t.prototype.rebindDOMEvents=function(){this.wrapperEventRegister.destroy(),this.targetEventRegister.destroy(),this.handleDOMEvents()},t.prototype.destroy=function(){this.wrapperEventRegister.destroy(),this.targetEventRegister.destroy(),this.hooks.destroy()},t}(),$r={x:["translateX","px"],y:["translateY","px"]},Hr=function(){function t(t){this.setContent(t),this.hooks=new Ur(["beforeTranslate","translate"])}return t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.content,null),e=t[Ir.transform].split(")")[0].split(", "),n=+(e[12]||e[4])||0,r=+(e[13]||e[5])||0;return{x:n,y:r}},t.prototype.translate=function(t){var e=[];Object.keys(t).forEach((function(n){if($r[n]){var r=$r[n][0];if(r){var i=$r[n][1],o=t[n];e.push(r+"("+o+i+")")}}})),this.hooks.trigger(this.hooks.eventTypes.beforeTranslate,e,t),this.style[Ir.transform]=e.join(" "),this.hooks.trigger(this.hooks.eventTypes.translate,t)},t.prototype.setContent=function(t){this.content!==t&&(this.content=t,this.style=t.style)},t.prototype.destroy=function(){this.hooks.destroy()},t}(),Fr=function(){function t(t,e,n){this.translater=e,this.options=n,this.timer=0,this.hooks=new Ur(["move","end","beforeForceStop","forceStop","callStop","time","timeFunction"]),this.setContent(t)}return t.prototype.translate=function(t){this.translater.translate(t)},t.prototype.setPending=function(t){this.pending=t},t.prototype.setForceStopped=function(t){this.forceStopped=t},t.prototype.setCallStop=function(t){this.callStopWhenPending=t},t.prototype.setContent=function(t){this.content!==t&&(this.content=t,this.style=t.style,this.stop())},t.prototype.clearTimer=function(){this.timer&&(xr(this.timer),this.timer=0)},t.prototype.destroy=function(){this.hooks.destroy(),xr(this.timer)},t}(),Vr=function(t,e,n,r){var i=function(t,e){var n=t-e,r=n>0?-1:n<0?1:0;return r},o=i(e.x,t.x),s=i(e.y,t.y),a=n.x-r.x,c=n.y-r.y;return o*a<=0&&s*c<=0},Qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hn(e,t),e.prototype.startProbe=function(t,e){var n=this,r=t,i=function i(){var o=n.translater.getComputedPosition();Vr(t,e,o,r)&&n.hooks.trigger(n.hooks.eventTypes.move,o),n.pending||(n.callStopWhenPending?n.callStopWhenPending=!1:n.hooks.trigger(n.hooks.eventTypes.end,o)),r=o,n.pending&&(n.timer=Dr(i))};this.callStopWhenPending&&this.setCallStop(!1),xr(this.timer),i()},e.prototype.transitionTime=function(t){void 0===t&&(t=0),this.style[Ir.transitionDuration]=t+"ms",this.hooks.trigger(this.hooks.eventTypes.time,t)},e.prototype.transitionTimingFunction=function(t){this.style[Ir.transitionTimingFunction]=t,this.hooks.trigger(this.hooks.eventTypes.timeFunction,t)},e.prototype.transitionProperty=function(){this.style[Ir.transitionProperty]=Ir.transform},e.prototype.move=function(t,e,n,r){this.setPending(n>0),this.transitionTimingFunction(r),this.transitionProperty(),this.transitionTime(n),this.translate(e);var i=3===this.options.probeType;n&&i&&this.startProbe(t,e),n||(this._reflow=this.content.offsetHeight,i&&this.hooks.trigger(this.hooks.eventTypes.move,e),this.hooks.trigger(this.hooks.eventTypes.end,e))},e.prototype.doStop=function(){var t=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),t){this.setPending(!1),xr(this.timer);var e=this.translater.getComputedPosition(),n=e.x,r=e.y;this.transitionTime(),this.translate({x:n,y:r}),this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,{x:n,y:r})}return t},e.prototype.stop=function(){var t=this.doStop();t&&this.hooks.trigger(this.hooks.eventTypes.callStop)},e}(Fr),Wr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hn(e,t),e.prototype.move=function(t,e,n,r){if(!n)return this.translate(e),3===this.options.probeType&&this.hooks.trigger(this.hooks.eventTypes.move,e),void this.hooks.trigger(this.hooks.eventTypes.end,e);this.animate(t,e,n,r)},e.prototype.animate=function(t,e,n,r){var i=this,o=rr(),s=o+n,a=3===this.options.probeType,c=function c(){var u=rr();if(u>=s)return i.translate(e),a&&i.hooks.trigger(i.hooks.eventTypes.move,e),void i.hooks.trigger(i.hooks.eventTypes.end,e);u=(u-o)/n;var l=r(u),f={};Object.keys(e).forEach((function(n){var r=t[n],i=e[n];f[n]=(i-r)*l+r})),i.translate(f),a&&i.hooks.trigger(i.hooks.eventTypes.move,f),i.pending&&(i.timer=Dr(c)),i.pending||(i.callStopWhenPending?i.callStopWhenPending=!1:i.hooks.trigger(i.hooks.eventTypes.end,e))};this.setPending(!0),this.callStopWhenPending&&this.setCallStop(!1),xr(this.timer),c()},e.prototype.doStop=function(){var t=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),t){this.setPending(!1),xr(this.timer);var e=this.translater.getComputedPosition();this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,e)}return t},e.prototype.stop=function(){var t=this.doStop();t&&this.hooks.trigger(this.hooks.eventTypes.callStop)},e}(Fr);function Zr(t,e,n){var r=n.useTransition,i={};return Object.defineProperty(i,"probeType",{enumerable:!0,configurable:!1,get:function(){return n.probeType}}),r?new Qr(t,e,i):new Wr(t,e,i)}var Kr,qr,Jr,Xr,ti=function(){function t(t,e,n){this.wrapper=t,this.options=n,this.hooks=new Ur(["beforeComputeBoundary","computeBoundary","momentum","end","ignoreHasScroll"]),this.refresh(e)}return t.prototype.start=function(){this.dist=0,this.setMovingDirection(0),this.setDirection(0)},t.prototype.move=function(t){return t=this.hasScroll?t:0,this.setMovingDirection(t),this.performDampingAlgorithm(t,this.options.outOfBoundaryDampingFactor)},t.prototype.setMovingDirection=function(t){this.movingDirection=t>0?-1:t<0?1:0},t.prototype.setDirection=function(t){this.direction=t>0?-1:t<0?1:0},t.prototype.performDampingAlgorithm=function(t,e){var n=this.currentPos+t;return(n>this.minScrollPos||n<this.maxScrollPos)&&(n=n>this.minScrollPos&&this.options.bounces[0]||n<this.maxScrollPos&&this.options.bounces[1]?this.currentPos+t*e:n>this.minScrollPos?this.minScrollPos:this.maxScrollPos),n},t.prototype.end=function(t){var e={duration:0},n=Math.abs(this.currentPos-this.startPos);if(this.options.momentum&&t<this.options.momentumLimitTime&&n>this.options.momentumLimitDistance){var r=-1===this.direction&&this.options.bounces[0]||1===this.direction&&this.options.bounces[1]?this.wrapperSize:0;e=this.hasScroll?this.momentum(this.currentPos,this.startPos,t,this.maxScrollPos,this.minScrollPos,r,this.options):{destination:this.currentPos,duration:0}}else this.hooks.trigger(this.hooks.eventTypes.end,e);return e},t.prototype.momentum=function(t,e,n,r,i,o,s){void 0===s&&(s=this.options);var a=t-e,c=Math.abs(a)/n,u=s.deceleration,l=s.swipeBounceTime,f=s.swipeTime,h=Math.min(f,2*c/u),d={destination:t+c*c/u*(a<0?-1:1),duration:h,rate:15};return this.hooks.trigger(this.hooks.eventTypes.momentum,d,a),d.destination<r?(d.destination=o?Math.max(r-o/4,r-o/d.rate*c):r,d.duration=l):d.destination>i&&(d.destination=o?Math.min(i+o/4,i+o/d.rate*c):i,d.duration=l),d.destination=Math.round(d.destination),d},t.prototype.updateDirection=function(){var t=this.currentPos-this.absStartPos;this.setDirection(t)},t.prototype.refresh=function(t){var e=this.options.rect,n=e.size,r=e.position,i="static"===window.getComputedStyle(this.wrapper,null).position,o=br(this.wrapper);this.wrapperSize=this.wrapper["width"===n?"clientWidth":"clientHeight"],this.setContent(t);var s=br(this.content);this.contentSize=s[n],this.relativeOffset=s[r],i&&(this.relativeOffset-=o[r]),this.computeBoundary(),this.setDirection(0)},t.prototype.setContent=function(t){t!==this.content&&(this.content=t,this.resetState())},t.prototype.resetState=function(){this.currentPos=0,this.startPos=0,this.dist=0,this.setDirection(0),this.setMovingDirection(0),this.resetStartPos()},t.prototype.computeBoundary=function(){this.hooks.trigger(this.hooks.eventTypes.beforeComputeBoundary);var t={minScrollPos:0,maxScrollPos:this.wrapperSize-this.contentSize};t.maxScrollPos<0&&(t.maxScrollPos-=this.relativeOffset,0===this.options.specifiedIndexAsContent&&(t.minScrollPos=-this.relativeOffset)),this.hooks.trigger(this.hooks.eventTypes.computeBoundary,t),this.minScrollPos=t.minScrollPos,this.maxScrollPos=t.maxScrollPos,this.hasScroll=this.options.scrollable&&this.maxScrollPos<this.minScrollPos,!this.hasScroll&&this.minScrollPos<this.maxScrollPos&&(this.maxScrollPos=this.minScrollPos,this.contentSize=this.wrapperSize)},t.prototype.updatePosition=function(t){this.currentPos=t},t.prototype.getCurrentPos=function(){return this.currentPos},t.prototype.checkInBoundary=function(){var t=this.adjustPosition(this.currentPos),e=t===this.getCurrentPos();return{position:t,inBoundary:e}},t.prototype.adjustPosition=function(t){return this.hasScroll||this.hooks.trigger(this.hooks.eventTypes.ignoreHasScroll)?t>this.minScrollPos?t=this.minScrollPos:t<this.maxScrollPos&&(t=this.maxScrollPos):t=this.minScrollPos,t},t.prototype.updateStartPos=function(){this.startPos=this.currentPos},t.prototype.updateAbsStartPos=function(){this.absStartPos=this.currentPos},t.prototype.resetStartPos=function(){this.updateStartPos(),this.updateAbsStartPos()},t.prototype.getAbsDist=function(t){return this.dist+=t,Math.abs(this.dist)},t.prototype.destroy=function(){this.hooks.destroy()},t}(),ei=(Kr={},Kr["yes"]=function(t){return!0},Kr["no"]=function(t){return t.preventDefault(),!1},Kr),ni=(qr={},qr["horizontal"]=(Jr={},Jr["yes"]="horizontal",Jr["no"]="vertical",Jr),qr["vertical"]=(Xr={},Xr["yes"]="vertical",Xr["no"]="horizontal",Xr),qr),ri=function(){function t(t,e,n){this.directionLockThreshold=t,this.freeScroll=e,this.eventPassthrough=n,this.reset()}return t.prototype.reset=function(){this.directionLocked=""},t.prototype.checkMovingDirection=function(t,e,n){return this.computeDirectionLock(t,e),this.handleEventPassthrough(n)},t.prototype.adjustDelta=function(t,e){return"horizontal"===this.directionLocked?e=0:"vertical"===this.directionLocked&&(t=0),{deltaX:t,deltaY:e}},t.prototype.computeDirectionLock=function(t,e){""!==this.directionLocked||this.freeScroll||(t>e+this.directionLockThreshold?this.directionLocked="horizontal":e>=t+this.directionLockThreshold?this.directionLocked="vertical":this.directionLocked="none")},t.prototype.handleEventPassthrough=function(t){var e=ni[this.directionLocked];if(e){if(this.eventPassthrough===e["yes"])return ei["yes"](t);if(this.eventPassthrough===e["no"])return ei["no"](t)}return!1},t}(),ii=function(t,e,n){return 2===n?[e,-t]:3===n?[-t,-e]:4===n?[-e,t]:[t,e]},oi=function(){function t(t,e,n,r,i){this.hooks=new Ur(["start","beforeMove","scrollStart","scroll","beforeEnd","end","scrollEnd","contentNotMoved","detectMovingDirection","coordinateTransformation"]),this.scrollBehaviorX=t,this.scrollBehaviorY=e,this.actionsHandler=n,this.animater=r,this.options=i,this.directionLockAction=new ri(i.directionLockThreshold,i.freeScroll,i.eventPassthrough),this.enabled=!0,this.bindActionsHandler()}return t.prototype.bindActionsHandler=function(){var t=this;this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.start,(function(e){return!t.enabled||t.handleStart(e)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.move,(function(e){var n=e.deltaX,r=e.deltaY,i=e.e;if(!t.enabled)return!0;var o=ii(n,r,t.options.quadrant),s=o[0],a=o[1],c={deltaX:s,deltaY:a};return t.hooks.trigger(t.hooks.eventTypes.coordinateTransformation,c),t.handleMove(c.deltaX,c.deltaY,i)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.end,(function(e){return!t.enabled||t.handleEnd(e)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.click,(function(e){t.enabled&&!e._constructed&&t.handleClick(e)}))},t.prototype.handleStart=function(t){var e=rr();this.fingerMoved=!1,this.contentMoved=!1,this.startTime=e,this.directionLockAction.reset(),this.scrollBehaviorX.start(),this.scrollBehaviorY.start(),this.animater.doStop(),this.scrollBehaviorX.resetStartPos(),this.scrollBehaviorY.resetStartPos(),this.hooks.trigger(this.hooks.eventTypes.start,t)},t.prototype.handleMove=function(t,e,n){if(!this.hooks.trigger(this.hooks.eventTypes.beforeMove,n)){var r=this.scrollBehaviorX.getAbsDist(t),i=this.scrollBehaviorY.getAbsDist(e),o=rr();if(this.checkMomentum(r,i,o))return!0;if(this.directionLockAction.checkMovingDirection(r,i,n))return this.actionsHandler.setInitiated(),!0;var s=this.directionLockAction.adjustDelta(t,e),a=this.scrollBehaviorX.getCurrentPos(),c=this.scrollBehaviorX.move(s.deltaX),u=this.scrollBehaviorY.getCurrentPos(),l=this.scrollBehaviorY.move(s.deltaY);if(!this.hooks.trigger(this.hooks.eventTypes.detectMovingDirection)){this.fingerMoved||(this.fingerMoved=!0);var f=c!==a||l!==u;this.contentMoved||f||this.hooks.trigger(this.hooks.eventTypes.contentNotMoved),!this.contentMoved&&f&&(this.contentMoved=!0,this.hooks.trigger(this.hooks.eventTypes.scrollStart)),this.contentMoved&&f&&(this.animater.translate({x:c,y:l}),this.dispatchScroll(o))}}},t.prototype.dispatchScroll=function(t){t-this.startTime>this.options.momentumLimitTime&&(this.startTime=t,this.scrollBehaviorX.updateStartPos(),this.scrollBehaviorY.updateStartPos(),1===this.options.probeType&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())),this.options.probeType>1&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())},t.prototype.checkMomentum=function(t,e,n){return n-this.endTime>this.options.momentumLimitTime&&e<this.options.momentumLimitDistance&&t<this.options.momentumLimitDistance},t.prototype.handleEnd=function(t){if(!this.hooks.trigger(this.hooks.eventTypes.beforeEnd,t)){var e=this.getCurrentPos();if(this.scrollBehaviorX.updateDirection(),this.scrollBehaviorY.updateDirection(),this.hooks.trigger(this.hooks.eventTypes.end,t,e))return!0;e=this.ensureIntegerPos(e),this.animater.translate(e),this.endTime=rr();var n=this.endTime-this.startTime;this.hooks.trigger(this.hooks.eventTypes.scrollEnd,e,n)}},t.prototype.ensureIntegerPos=function(t){this.ensuringInteger=!0;var e=t.x,n=t.y,r=this.scrollBehaviorX,i=r.minScrollPos,o=r.maxScrollPos,s=this.scrollBehaviorY,a=s.minScrollPos,c=s.maxScrollPos;return e=e>0?Math.ceil(e):Math.floor(e),n=n>0?Math.ceil(n):Math.floor(n),e=sr(e,o,i),n=sr(n,c,a),{x:e,y:n}},t.prototype.handleClick=function(t){Cr(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation())},t.prototype.getCurrentPos=function(){return{x:this.scrollBehaviorX.getCurrentPos(),y:this.scrollBehaviorY.getCurrentPos()}},t.prototype.refresh=function(){this.endTime=0},t.prototype.destroy=function(){this.hooks.destroy()},t}();function si(t){var e=["click","bindToWrapper","disableMouse","disableTouch","preventDefault","stopPropagation","tagException","preventDefaultException","autoEndDistance"].reduce((function(e,n){return e[n]=t[n],e}),{});return e}function ai(t,e,n,r){var i=["momentum","momentumLimitTime","momentumLimitDistance","deceleration","swipeBounceTime","swipeTime","outOfBoundaryDampingFactor","specifiedIndexAsContent"].reduce((function(e,n){return e[n]=t[n],e}),{});return i.scrollable=!!t[e],i.bounces=n,i.rect=r,i}function ci(t,e,n){n.forEach((function(n){var r,i;"string"===typeof n?r=i=n:(r=n.source,i=n.target),t.on(r,(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.trigger.apply(e,Vn([i],t))}))}))}function ui(t,e){for(var n=Object.keys(t),r=0,i=n;r<i.length;r++){var o=i[r];if(t[o]!==e[o])return!1}return!0}var li=1,fi=function(){function t(t,e,n){this.wrapper=t,this.content=e,this.resizeTimeout=0,this.hooks=new Ur(["beforeStart","beforeMove","beforeScrollStart","scrollStart","scroll","beforeEnd","scrollEnd","resize","touchEnd","end","flick","scrollCancel","momentum","scrollTo","minDistanceScroll","scrollToElement","beforeRefresh"]),this.options=n;var r=this.options.bounce,i=r.left,o=r.right,s=r.top,a=r.bottom;this.scrollBehaviorX=new ti(t,e,ai(n,"scrollX",[i,o],{size:"width",position:"left"})),this.scrollBehaviorY=new ti(t,e,ai(n,"scrollY",[s,a],{size:"height",position:"top"})),this.translater=new Hr(this.content),this.animater=Zr(this.content,this.translater,this.options),this.actionsHandler=new Yr(this.options.bindToTarget?this.content:t,si(this.options)),this.actions=new oi(this.scrollBehaviorX,this.scrollBehaviorY,this.actionsHandler,this.animater,this.options);var c=this.resize.bind(this);this.resizeRegister=new zr(window,[{name:"orientationchange",handler:c},{name:"resize",handler:c}]),this.registerTransitionEnd(),this.init()}return t.prototype.init=function(){var t=this;this.bindTranslater(),this.bindAnimater(),this.bindActions(),this.hooks.on(this.hooks.eventTypes.scrollEnd,(function(){t.togglePointerEvents(!0)}))},t.prototype.registerTransitionEnd=function(){this.transitionEndRegister=new zr(this.content,[{name:Ir.transitionEnd,handler:this.transitionEnd.bind(this)}])},t.prototype.bindTranslater=function(){var t=this,e=this.translater.hooks;e.on(e.eventTypes.beforeTranslate,(function(e){t.options.translateZ&&e.push(t.options.translateZ)})),e.on(e.eventTypes.translate,(function(e){var n=t.getCurrentPos();t.updatePositions(e),!0!==t.actions.ensuringInteger?e.x===n.x&&e.y===n.y||t.togglePointerEvents(!1):t.actions.ensuringInteger=!1}))},t.prototype.bindAnimater=function(){var t=this;this.animater.hooks.on(this.animater.hooks.eventTypes.end,(function(e){t.resetPosition(t.options.bounceTime)||(t.animater.setPending(!1),t.hooks.trigger(t.hooks.eventTypes.scrollEnd,e))})),ci(this.animater.hooks,this.hooks,[{source:this.animater.hooks.eventTypes.move,target:this.hooks.eventTypes.scroll},{source:this.animater.hooks.eventTypes.forceStop,target:this.hooks.eventTypes.scrollEnd}])},t.prototype.bindActions=function(){var t=this,e=this.actions;ci(e.hooks,this.hooks,[{source:e.hooks.eventTypes.start,target:this.hooks.eventTypes.beforeStart},{source:e.hooks.eventTypes.start,target:this.hooks.eventTypes.beforeScrollStart},{source:e.hooks.eventTypes.beforeMove,target:this.hooks.eventTypes.beforeMove},{source:e.hooks.eventTypes.scrollStart,target:this.hooks.eventTypes.scrollStart},{source:e.hooks.eventTypes.scroll,target:this.hooks.eventTypes.scroll},{source:e.hooks.eventTypes.beforeEnd,target:this.hooks.eventTypes.beforeEnd}]),e.hooks.on(e.hooks.eventTypes.end,(function(n,r){return t.hooks.trigger(t.hooks.eventTypes.touchEnd,r),!!t.hooks.trigger(t.hooks.eventTypes.end,r)||(!(e.fingerMoved||(t.hooks.trigger(t.hooks.eventTypes.scrollCancel),!t.checkClick(n)))||(t.resetPosition(t.options.bounceTime,Er.bounce)?(t.animater.setForceStopped(!1),!0):void 0))})),e.hooks.on(e.hooks.eventTypes.scrollEnd,(function(n,r){var i=Math.abs(n.x-t.scrollBehaviorX.startPos),o=Math.abs(n.y-t.scrollBehaviorY.startPos);if(t.checkFlick(r,i,o))return t.animater.setForceStopped(!1),void t.hooks.trigger(t.hooks.eventTypes.flick);t.momentum(n,r)?t.animater.setForceStopped(!1):(e.contentMoved&&t.hooks.trigger(t.hooks.eventTypes.scrollEnd,n),t.animater.forceStopped&&t.animater.setForceStopped(!1))}))},t.prototype.checkFlick=function(t,e,n){var r=1;if(this.hooks.events.flick.length>1&&t<this.options.flickLimitTime&&e<this.options.flickLimitDistance&&n<this.options.flickLimitDistance&&(n>r||e>r))return!0},t.prototype.momentum=function(t,e){var n={time:0,easing:Er.swiper,newX:t.x,newY:t.y},r=this.scrollBehaviorX.end(e),i=this.scrollBehaviorY.end(e);if(n.newX=or(r.destination)?n.newX:r.destination,n.newY=or(i.destination)?n.newY:i.destination,n.time=Math.max(r.duration,i.duration),this.hooks.trigger(this.hooks.eventTypes.momentum,n,this),n.newX!==t.x||n.newY!==t.y)return(n.newX>this.scrollBehaviorX.minScrollPos||n.newX<this.scrollBehaviorX.maxScrollPos||n.newY>this.scrollBehaviorY.minScrollPos||n.newY<this.scrollBehaviorY.maxScrollPos)&&(n.easing=Er.swipeBounce),this.scrollTo(n.newX,n.newY,n.time,n.easing),!0},t.prototype.checkClick=function(t){var e={preventClick:this.animater.forceStopped};if(this.hooks.trigger(this.hooks.eventTypes.checkClick))return this.animater.setForceStopped(!1),!0;if(!e.preventClick){var n=this.options.dblclick,r=!1;if(n&&this.lastClickTime){var i=n.delay,o=void 0===i?300:i;rr()-this.lastClickTime<o&&(r=!0,wr(t))}return this.options.tap&&Ar(t,this.options.tap),this.options.click&&!Cr(t.target,this.options.preventDefaultException)&&Tr(t),this.lastClickTime=r?null:rr(),!0}return!1},t.prototype.resize=function(){var t=this;this.actions.enabled&&(Jn&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout((function(){t.hooks.trigger(t.hooks.eventTypes.resize)}),this.options.resizePolling))},t.prototype.transitionEnd=function(t){if(t.target===this.content&&this.animater.pending){var e=this.animater;e.transitionTime(),this.resetPosition(this.options.bounceTime,Er.bounce)||(this.animater.setPending(!1),3!==this.options.probeType&&this.hooks.trigger(this.hooks.eventTypes.scrollEnd,this.getCurrentPos()))}},t.prototype.togglePointerEvents=function(t){void 0===t&&(t=!0);for(var e=this.content.children.length?this.content.children:[this.content],n=t?"auto":"none",r=0;r<e.length;r++){var i=e[r];i.isBScrollContainer||(i.style.pointerEvents=n)}},t.prototype.refresh=function(t){var e=this.setContent(t);this.hooks.trigger(this.hooks.eventTypes.beforeRefresh),this.scrollBehaviorX.refresh(t),this.scrollBehaviorY.refresh(t),e&&(this.translater.setContent(t),this.animater.setContent(t),this.transitionEndRegister.destroy(),this.registerTransitionEnd(),this.options.bindToTarget&&this.actionsHandler.setContent(t)),this.actions.refresh(),this.wrapperOffset=dr(this.wrapper)},t.prototype.setContent=function(t){var e=t!==this.content;return e&&(this.content=t),e},t.prototype.scrollBy=function(t,e,n,r){void 0===n&&(n=0);var i=this.getCurrentPos(),o=i.x,s=i.y;r=r||Er.bounce,t+=o,e+=s,this.scrollTo(t,e,n,r)},t.prototype.scrollTo=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=Er.bounce),void 0===i&&(i={start:{},end:{}});var o=this.options.useTransition?r.style:r.fn,s=this.getCurrentPos(),a=Fn({x:s.x,y:s.y},i.start),c=Fn({x:t,y:e},i.end);if(this.hooks.trigger(this.hooks.eventTypes.scrollTo,c),!ui(a,c)){var u=Math.abs(c.x-a.x),l=Math.abs(c.y-a.y);u<li&&l<li&&(n=0,this.hooks.trigger(this.hooks.eventTypes.minDistanceScroll)),this.animater.move(a,c,n,o)}},t.prototype.scrollToElement=function(t,e,n,r,i){var o=lr(t),s=dr(o),a=function(t,e,n){return"number"===typeof t?t:t?Math.round(e/2-n/2):0};n=a(n,o.offsetWidth,this.wrapper.offsetWidth),r=a(r,o.offsetHeight,this.wrapper.offsetHeight);var c=function(t,e,n,r){return t-=e,t=r.adjustPosition(t-n),t};s.left=c(s.left,this.wrapperOffset.left,n,this.scrollBehaviorX),s.top=c(s.top,this.wrapperOffset.top,r,this.scrollBehaviorY),this.hooks.trigger(this.hooks.eventTypes.scrollToElement,o,s)||this.scrollTo(s.left,s.top,e,i)},t.prototype.resetPosition=function(t,e){void 0===t&&(t=0),void 0===e&&(e=Er.bounce);var n=this.scrollBehaviorX.checkInBoundary(),r=n.position,i=n.inBoundary,o=this.scrollBehaviorY.checkInBoundary(),s=o.position,a=o.inBoundary;return(!i||!a)&&(Xn&&this.reflow(),this.scrollTo(r,s,t,e),!0)},t.prototype.reflow=function(){this._reflow=this.content.offsetHeight},t.prototype.updatePositions=function(t){this.scrollBehaviorX.updatePosition(t.x),this.scrollBehaviorY.updatePosition(t.y)},t.prototype.getCurrentPos=function(){return this.actions.getCurrentPos()},t.prototype.enable=function(){this.actions.enabled=!0},t.prototype.disable=function(){xr(this.animater.timer),this.actions.enabled=!1},t.prototype.destroy=function(){var t=this,e=["resizeRegister","transitionEndRegister","actionsHandler","actions","hooks","animater","translater","scrollBehaviorX","scrollBehaviorY"];e.forEach((function(e){return t[e].destroy()}))},t}(),hi=function(t){function e(e,n){var r=t.call(this,["refresh","contentChanged","enable","disable","beforeScrollStart","scrollStart","scroll","scrollEnd","scrollCancel","touchEnd","flick","destroy"])||this,i=lr(e);return i?(r.plugins={},r.options=(new Gr).merge(n).process(),r.setContent(i).valid?(r.hooks=new Ur(["refresh","enable","disable","destroy","beforeInitialScrollTo","contentChanged"]),r.init(i),r):r):(Wn("Can not resolve the wrapper DOM."),r)}return Hn(e,t),e.use=function(t){var n=t.pluginName,r=e.plugins.some((function(e){return t===e.ctor}));return r?e:or(n)?(Wn("Plugin Class must specify plugin's name in static property by 'pluginName' field."),e):(e.pluginsMap[n]=!0,e.plugins.push({name:n,applyOrder:t.applyOrder,ctor:t}),e)},e.prototype.setContent=function(t){var e=!1,n=!0,r=t.children[this.options.specifiedIndexAsContent];return r?(e=this.content!==r,e&&(this.content=r)):(Wn("The wrapper need at least one child element to be content element to scroll."),n=!1),{valid:n,contentChanged:e}},e.prototype.init=function(t){var e=this;this.wrapper=t,t.isBScrollContainer=!0,this.scroller=new fi(t,this.content,this.options),this.scroller.hooks.on(this.scroller.hooks.eventTypes.resize,(function(){e.refresh()})),this.eventBubbling(),this.handleAutoBlur(),this.enable(),this.proxy(Qn),this.applyPlugins(),this.refreshWithoutReset(this.content);var n=this.options,r=n.startX,i=n.startY,o={x:r,y:i};this.hooks.trigger(this.hooks.eventTypes.beforeInitialScrollTo,o)||this.scroller.scrollTo(o.x,o.y)},e.prototype.applyPlugins=function(){var t=this,n=this.options;e.plugins.sort((function(t,e){var n,r=(n={},n["pre"]=-1,n["post"]=1,n),i=t.applyOrder?r[t.applyOrder]:0,o=e.applyOrder?r[e.applyOrder]:0;return i-o})).forEach((function(e){var r=e.ctor;n[e.name]&&"function"===typeof r&&(t.plugins[e.name]=new r(t))}))},e.prototype.handleAutoBlur=function(){this.options.autoBlur&&this.on(this.eventTypes.beforeScrollStart,(function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()}))},e.prototype.eventBubbling=function(){ci(this.scroller.hooks,this,[this.eventTypes.beforeScrollStart,this.eventTypes.scrollStart,this.eventTypes.scroll,this.eventTypes.scrollEnd,this.eventTypes.scrollCancel,this.eventTypes.touchEnd,this.eventTypes.flick])},e.prototype.refreshWithoutReset=function(t){this.scroller.refresh(t),this.hooks.trigger(this.hooks.eventTypes.refresh,t),this.trigger(this.eventTypes.refresh,t)},e.prototype.proxy=function(t){var e=this;t.forEach((function(t){var n=t.key,r=t.sourceKey;Pr(e,r,n)}))},e.prototype.refresh=function(){var t=this.setContent(this.wrapper),e=t.contentChanged,n=t.valid;if(n){var r=this.content;this.refreshWithoutReset(r),e&&(this.hooks.trigger(this.hooks.eventTypes.contentChanged,r),this.trigger(this.eventTypes.contentChanged,r)),this.scroller.resetPosition()}},e.prototype.enable=function(){this.scroller.enable(),this.hooks.trigger(this.hooks.eventTypes.enable),this.trigger(this.eventTypes.enable)},e.prototype.disable=function(){this.scroller.disable(),this.hooks.trigger(this.hooks.eventTypes.disable),this.trigger(this.eventTypes.disable)},e.prototype.destroy=function(){this.hooks.trigger(this.hooks.eventTypes.destroy),this.trigger(this.eventTypes.destroy),this.scroller.destroy()},e.prototype.eventRegister=function(t){this.registerType(t)},e.plugins=[],e.pluginsMap={},e}(Ur);function di(t,e){var n=new hi(t,e);return n}di.use=hi.use,di.plugins=hi.plugins,di.pluginsMap=hi.pluginsMap;var pi=di,gi="undefined"!==typeof window,vi=gi&&navigator.userAgent.toLowerCase(); /*! * better-scroll / pull-up * (c) 2016-2021 ustbhuangyi * Released under the MIT License. */if(vi&&/wechatdevtools/.test(vi),vi&&vi.indexOf("android"),function(){if("string"===typeof vi){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(vi);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}}(),gi){var yi="test-passive";try{var mi={};Object.defineProperty(mi,"passive",{get:function(){}}),window.addEventListener(yi,(function(){}),mi)}catch(cs){}}var Ii=function(t,e){for(var n in e)t[n]=e[n];return t},Mi=gi&&document.createElement("div").style,bi=function(){if(!gi)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==Mi[r.value])return r.key}return!1}();function Ci(t){return!1===bi?t:"standard"===bi?"transitionEnd"===t?"transitionend":t:bi+t.charAt(0).toUpperCase()+t.substr(1)}bi&&"standard"!==bi&&bi.toLowerCase();Ci("transform"),Ci("transition");gi&&Ci("perspective"),Ci("transitionTimingFunction"),Ci("transitionDuration"),Ci("transitionDelay"),Ci("transformOrigin"),Ci("transitionEnd"),Ci("transitionProperty");var _i="plugins.pullUpLoad",Ai=[{key:"finishPullUp",name:"finishPullUp"},{key:"openPullUp",name:"openPullUp"},{key:"closePullUp",name:"closePullUp"},{key:"autoPullUpLoad",name:"autoPullUpLoad"}],Ti=Ai.map((function(t){return{key:t.key,sourceKey:_i+"."+t.name}})),wi="pullingUp",Ei=function(){function t(t){this.scroll=t,this.pulling=!1,this.watching=!1,this.init()}return t.prototype.init=function(){this.handleBScroll(),this.handleOptions(this.scroll.options.pullUpLoad),this.handleHooks(),this.watch()},t.prototype.handleBScroll=function(){this.scroll.registerType([wi]),this.scroll.proxy(Ti)},t.prototype.handleOptions=function(t){void 0===t&&(t={}),t=!0===t?{}:t;var e={threshold:0};this.options=Ii(e,t),this.scroll.options.probeType=3},t.prototype.handleHooks=function(){var t=this;this.hooksFn=[];var e=this.scroll.scroller.scrollBehaviorY;this.registerHooks(this.scroll.hooks,this.scroll.hooks.eventTypes.contentChanged,(function(){t.finishPullUp()})),this.registerHooks(e.hooks,e.hooks.eventTypes.computeBoundary,(function(t){t.maxScrollPos>0&&(t.maxScrollPos=-1)}))},t.prototype.registerHooks=function(t,e,n){t.on(e,n,this),this.hooksFn.push([t,e,n])},t.prototype.watch=function(){this.watching||(this.watching=!0,this.registerHooks(this.scroll,this.scroll.eventTypes.scroll,this.checkPullUp))},t.prototype.unwatch=function(){this.watching=!1,this.scroll.off(this.scroll.eventTypes.scroll,this.checkPullUp)},t.prototype.checkPullUp=function(t){var e=this,n=this.options.threshold;1===this.scroll.movingDirectionY&&t.y<=this.scroll.maxScrollY+n&&(this.pulling=!0,this.scroll.once(this.scroll.eventTypes.scrollEnd,(function(){e.pulling=!1})),this.unwatch(),this.scroll.trigger(wi))},t.prototype.finishPullUp=function(){var t=this;this.scroll.scroller.scrollBehaviorY.setMovingDirection(0),this.pulling?this.scroll.once(this.scroll.eventTypes.scrollEnd,(function(){t.watch()})):this.watch()},t.prototype.openPullUp=function(t){void 0===t&&(t={}),this.handleOptions(t),this.watch()},t.prototype.closePullUp=function(){this.unwatch()},t.prototype.autoPullUpLoad=function(){var t=this.options.threshold,e=this.scroll.scroller.scrollBehaviorY;if(!this.pulling&&this.watching){var n=-1,r=e.maxScrollPos+t+n;this.scroll.scroller.scrollBehaviorY.setMovingDirection(n),this.scroll.scrollTo(this.scroll.x,r,this.scroll.options.bounceTime)}},t.pluginName="pullUpLoad",t}(); /*! * better-scroll / mouse-wheel * (c) 2016-2021 ustbhuangyi * Released under the MIT License. */ function Ni(t){console.error("[BScroll warn]: "+t)}var Si="undefined"!==typeof window,Oi=Si&&navigator.userAgent.toLowerCase();Oi&&/wechatdevtools/.test(Oi),Oi&&Oi.indexOf("android"),function(){if("string"===typeof Oi){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(Oi);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}}();var Di=!1;if(Si){var xi="test-passive";try{var Li={};Object.defineProperty(Li,"passive",{get:function(){Di=!0}}),window.addEventListener(xi,(function(){}),Li)}catch(cs){}}var Ri=function(t,e){for(var n in e)t[n]=e[n];return t},ji=Si&&document.createElement("div").style,ki=function(){if(!Si)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==ji[r.value])return r.key}return!1}();function Pi(t){return!1===ki?t:"standard"===ki?"transitionEnd"===t?"transitionend":t:ki+t.charAt(0).toUpperCase()+t.substr(1)}function Ui(t,e,n,r){var i=Di?{passive:!1,capture:!!r}:!!r;t.addEventListener(e,n,i)}function zi(t,e,n,r){t.removeEventListener(e,n,{capture:!!r})}ki&&"standard"!==ki&&ki.toLowerCase();Pi("transform"),Pi("transition");function Bi(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1}Si&&Pi("perspective"),Pi("transitionTimingFunction"),Pi("transitionDuration"),Pi("transitionDelay"),Pi("transformOrigin"),Pi("transitionEnd"),Pi("transitionProperty");var Gi=function(){function t(t,e){this.wrapper=t,this.events=e,this.addDOMEvents()}return t.prototype.destroy=function(){this.removeDOMEvents(),this.events=[]},t.prototype.addDOMEvents=function(){this.handleDOMEvents(Ui)},t.prototype.removeDOMEvents=function(){this.handleDOMEvents(zi)},t.prototype.handleDOMEvents=function(t){var e=this,n=this.wrapper;this.events.forEach((function(r){t(n,r.name,e,!!r.capture)}))},t.prototype.handleEvent=function(t){var e=t.type;this.events.some((function(n){return n.name===e&&(n.handler(t),!0)}))},t}(),Yi=function(){function t(t){this.scroll=t,this.wheelEndTimer=0,this.wheelMoveTimer=0,this.wheelStart=!1,this.init()}return t.prototype.init=function(){this.handleBScroll(),this.handleOptions(),this.handleHooks(),this.registerEvent()},t.prototype.handleBScroll=function(){this.scroll.registerType(["alterOptions","mousewheelStart","mousewheelMove","mousewheelEnd"])},t.prototype.handleOptions=function(){var t=!0===this.scroll.options.mouseWheel?{}:this.scroll.options.mouseWheel,e={speed:20,invert:!1,easeTime:300,discreteTime:400,throttleTime:0,dampingFactor:.1};this.mouseWheelOpt=Ri(e,t)},t.prototype.handleHooks=function(){this.hooksFn=[],this.registerHooks(this.scroll.hooks,"destroy",this.destroy)},t.prototype.registerEvent=function(){this.eventRegister=new Gi(this.scroll.scroller.wrapper,[{name:"wheel",handler:this.wheelHandler.bind(this)},{name:"mousewheel",handler:this.wheelHandler.bind(this)},{name:"DOMMouseScroll",handler:this.wheelHandler.bind(this)}])},t.prototype.registerHooks=function(t,e,n){t.on(e,n,this),this.hooksFn.push([t,e,n])},t.prototype.wheelHandler=function(t){if(this.scroll.enabled){this.beforeHandler(t),this.wheelStart||(this.wheelStartHandler(t),this.wheelStart=!0);var e=this.getWheelDelta(t);this.wheelMoveHandler(e),this.wheelEndDetector(e)}},t.prototype.wheelStartHandler=function(t){this.cleanCache();var e=this.scroll.scroller,n=e.scrollBehaviorX,r=e.scrollBehaviorY;n.setMovingDirection(0),r.setMovingDirection(0),n.setDirection(0),r.setDirection(0),this.scroll.trigger(this.scroll.eventTypes.alterOptions,this.mouseWheelOpt),this.scroll.trigger(this.scroll.eventTypes.mousewheelStart)},t.prototype.cleanCache=function(){this.deltaCache=[]},t.prototype.wheelMoveHandler=function(t){var e=this,n=this.mouseWheelOpt,r=n.throttleTime,i=n.dampingFactor;if(r&&this.wheelMoveTimer)this.deltaCache.push(t);else{var o=this.deltaCache.reduce((function(t,e){return{x:t.x+e.x,y:t.y+e.y}}),{x:0,y:0});this.cleanCache();var s=this.scroll.scroller,a=s.scrollBehaviorX,c=s.scrollBehaviorY;a.setMovingDirection(-t.directionX),c.setMovingDirection(-t.directionY),a.setDirection(t.x),c.setDirection(t.y);var u=a.performDampingAlgorithm(Math.round(t.x)+o.x,i),l=c.performDampingAlgorithm(Math.round(t.y)+o.x,i);if(!this.scroll.trigger(this.scroll.eventTypes.mousewheelMove,{x:u,y:l})){var f=this.getEaseTime();u===this.scroll.x&&l===this.scroll.y||this.scroll.scrollTo(u,l,f)}r&&(this.wheelMoveTimer=window.setTimeout((function(){e.wheelMoveTimer=0}),r))}},t.prototype.wheelEndDetector=function(t){var e=this;window.clearTimeout(this.wheelEndTimer),this.wheelEndTimer=window.setTimeout((function(){e.wheelStart=!1,window.clearTimeout(e.wheelMoveTimer),e.wheelMoveTimer=0,e.scroll.trigger(e.scroll.eventTypes.mousewheelEnd,t)}),this.mouseWheelOpt.discreteTime)},t.prototype.getWheelDelta=function(t){var e=this.mouseWheelOpt,n=e.speed,r=e.invert,i=0,o=0,s=r?-1:1;switch(!0){case"deltaX"in t:1===t.deltaMode?(i=-t.deltaX*n,o=-t.deltaY*n):(i=-t.deltaX,o=-t.deltaY);break;case"wheelDeltaX"in t:i=t.wheelDeltaX/120*n,o=t.wheelDeltaY/120*n;break;case"wheelDelta"in t:i=o=t.wheelDelta/120*n;break;case"detail"in t:i=o=-t.detail/3*n;break}i*=s,o*=s,this.scroll.hasVerticalScroll||(Math.abs(o)>Math.abs(i)&&(i=o),o=0),this.scroll.hasHorizontalScroll||(i=0);var a=i>0?-1:i<0?1:0,c=o>0?-1:o<0?1:0;return{x:i,y:o,directionX:a,directionY:c}},t.prototype.beforeHandler=function(t){var e=this.scroll.options,n=e.preventDefault,r=e.stopPropagation,i=e.preventDefaultException;n&&!Bi(t.target,i)&&t.preventDefault(),r&&t.stopPropagation()},t.prototype.getEaseTime=function(){var t=100,e=this.mouseWheelOpt.easeTime;return e<t&&Ni("easeTime should be greater than 100.If mouseWheel easeTime is too small,scrollEnd will be triggered many times."),Math.max(e,t)},t.prototype.destroy=function(){this.eventRegister.destroy(),window.clearTimeout(this.wheelEndTimer),window.clearTimeout(this.wheelMoveTimer),this.hooksFn.forEach((function(t){var e=t[0],n=t[1],r=t[2];e.off(n,r)}))},t.pluginName="mouseWheel",t.applyOrder="pre",t}();Yi.prototype.wheelMoveHandler=function(t){var e=this,n=this.mouseWheelOpt,r=n.throttleTime,i=n.dampingFactor;if(r&&this.wheelMoveTimer)this.deltaCache.push(t);else{var o=this.deltaCache.reduce((function(t,e){return{x:t.x+e.x,y:t.y+e.y}}),{x:0,y:0});this.cleanCache();var s=this.scroll.scroller,a=s.scrollBehaviorX,c=s.scrollBehaviorY;a.setMovingDirection(-t.directionX),c.setMovingDirection(-t.directionY),a.setDirection(t.x),c.setDirection(t.y);var u=a.performDampingAlgorithm(Math.round(t.x)+o.x,i),l=c.performDampingAlgorithm(Math.round(t.y)+o.x,i);if(!this.scroll.trigger(this.scroll.eventTypes.mousewheelMove,{x:u,y:l})){var f=this.getEaseTime();u===this.scroll.x&&l===this.scroll.y||(Math.abs(this.scroll.y-l)<1&&(l=this.scroll.y>l?this.scroll.y-1.01:this.scroll.y+1.01),this.scroll.scrollTo(u,l,f))}r&&(this.wheelMoveTimer=window.setTimeout((function(){e.wheelMoveTimer=0}),r))}};var $i={touchstart:1,touchmove:1,touchend:1,touchcancel:1,mousedown:2,mousemove:2,mouseup:2};function Hi(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1}var Fi=Hi,Vi=function(t){var e=$i[t.type];if(!this.initiated||this.initiated===e)if(this.setInitiated(e),Fi(t.target,this.options.tagException))this.setInitiated();else if(2!==e||0===t.button){if(!this.hooks.trigger(this.hooks.eventTypes.beforeStart,t)){this.beforeHandler(t,"start");var n=t.touches?t.touches[0]:t;this.pointX=n.pageX,this.pointY=n.pageY,this.hooks.trigger(this.hooks.eventTypes.start,t)}}else this.setInitiated()},Qi=".conversation-wrapper{height:100%;background:#fff;position:relative}.conversation-container{height:100%}.pullup-tips{text-align:center;color:#111f2c;height:3.4em;line-height:3.4em;width:100%;text-align:center;font-size:2em}.after-trigger::before{content:' ';display:inline-block;width:1.8em;height:1.8em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjhweCIgaGVpZ2h0PSIyOHB4IiB2aWV3Qm94PSIwIDAgMjggMjgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+bG9hZGluZzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9Ijk0LjA4NjkxNDElIiB5MT0iMCUiIHgyPSI5NC4wODY5MTQxJSIgeTI9IjkwLjU1OTA4MiUiIGlkPSJsaW5lYXJHcmFkaWVudC0xIj4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjAlIj48L3N0b3A+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIHN0b3Atb3BhY2l0eT0iMC4zIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iMTAwJSIgeTE9IjguNjczNzA2MDUlIiB4Mj0iMTAwJSIgeTI9IjkwLjYyODY2MjElIiBpZD0ibGluZWFyR3JhZGllbnQtMiI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwLjMiIG9mZnNldD0iMTAwJSI+PC9zdG9wPgogICAgICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTQyLjAwMDAwMCwgLTkxMS4wMDAwMDApIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0i572R57uc5LiN5Y+v55So5o+Q56S6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgNTc5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9ImxvYWRpbmciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0Mi4wMDAwMDAsIDMzMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iTG9hZGluZ0JyYW5kIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTEyLDAgQzE4LjYyNzQxNywwIDI0LDUuMzcyNTgzIDI0LDEyIEMyNCwxOC42Mjc0MTcgMTguNjI3NDE3LDI0IDEyLDI0IEwxMiwyMS45IEMxNy40Njc2MTksMjEuOSAyMS45LDE3LjQ2NzYxOSAyMS45LDEyIEMyMS45LDYuNTMyMzgwOTkgMTcuNDY3NjE5LDIuMSAxMiwyLjEgTDEyLDAgWiIgaWQ9Iui3r+W+hCIgZmlsbD0idXJsKCNsaW5lYXJHcmFkaWVudC0xKSI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTIsMCBMMTIsMi4xIEM2LjUzMjM4MDk5LDIuMSAyLjEsNi41MzIzODA5OSAyLjEsMTIgQzIuMSwxNy40Njc2MTkgNi41MzIzODA5OSwyMS45IDEyLDIxLjkgTDEyLDI0IEM1LjM3MjU4MywyNCAwLDE4LjYyNzQxNyAwLDEyIEMwLDUuMzcyNTgzIDUuMzcyNTgzLDAgMTIsMCBaIiBpZD0i6Lev5b6EIiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTIpIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgIDxjaXJjbGUgaWQ9Ik92YWwiIGZpbGw9IiM4Rjk0OUEiIGN4PSIxMi4xNSIgY3k9IjEuMDUiIHI9IjEuMDUiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;-webkit-animation:loading 1s infinite;animation:loading 1s infinite;vertical-align:middle;margin:0 0.8em 0 0}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.no-data{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:2.2em;color:#111f2c;background:#fff}.no-data::before{content:' ';display:block;width:5.81818em;height:5.81818em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTI4cHgiIGhlaWdodD0iMTI4cHgiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPue8uuecgWljb248L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMDJf5Lya6K+d5YiX6KGo5Li656m6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTYwLjAwMDAwMCwgLTM1NC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8uuecgWljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2MC4wMDAwMDAsIDM1NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0iYmVsbHMtKDEpIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjAwMDAwMCwgMTEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0yMDMiIHN0cm9rZS1vcGFjaXR5PSIwLjQiIHN0cm9rZT0iI0EzQjFCRiIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMjAuNSIgY3k9IjMuNSIgcj0iMy41Ij48L2NpcmNsZT4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsLTIwM+Wkh+S7vSIgc3Ryb2tlLW9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjQTNCMUJGIiBzdHJva2Utd2lkdGg9IjEuODI0IiBjeD0iMTA4IiBjeT0iMjMiIHI9IjIiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTcuNSw0NSBDMTE4LjA0ODAyMSw0NSAxMTguNDkyMjc5LDQ1LjQ0NDI1ODYgMTE4LjQ5MjI3OSw0NS45OTIyNzkzIEwxMTguNDkyLDQ4LjM2OCBMMTIxLDQ4LjM2ODM0NyBDMTIxLjU1MjI4NSw0OC4zNjgzNDcgMTIyLDQ4LjgxNjA2MjMgMTIyLDQ5LjM2ODM0NyBDMTIyLDQ5LjkyMDYzMTggMTIxLjU1MjI4NSw1MC4zNjgzNDcgMTIxLDUwLjM2ODM0NyBMMTE4LjQ5Miw1MC4zNjggTDExOC40OTIyNzksNTMuMDc3NzQ4MSBDMTE4LjQ5MjI3OSw1My42MjU3Njg4IDExOC4wNDgwMjEsNTQuMDcwMDI3NCAxMTcuNSw1NC4wNzAwMjc0IEMxMTYuOTUxOTc5LDU0LjA3MDAyNzQgMTE2LjUwNzcyMSw1My42MjU3Njg4IDExNi41MDc3MjEsNTMuMDc3NzQ4MSBMMTE2LjUwNyw1MC4zNjggTDExNCw1MC4zNjgzNDcgQzExMy40NDc3MTUsNTAuMzY4MzQ3IDExMyw0OS45MjA2MzE4IDExMyw0OS4zNjgzNDcgQzExMyw0OC44MTYwNjIzIDExMy40NDc3MTUsNDguMzY4MzQ3IDExNCw0OC4zNjgzNDcgTDExNi41MDcsNDguMzY4IEwxMTYuNTA3NzIxLDQ1Ljk5MjI3OTMgQzExNi41MDc3MjEsNDUuNDQ0MjU4NiAxMTYuOTUxOTc5LDQ1IDExNy41LDQ1IFoiIGlkPSJDb21iaW5lZC1TaGFwZSIgZmlsbC1vcGFjaXR5PSIwLjQiIGZpbGw9IiNBM0IxQkYiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNC41LDU5IEM1LjA0ODAyMDcsNTkgNS40OTIyNzkyNSw1OS40NDQyNTg2IDUuNDkyMjc5MjUsNTkuOTkyMjc5MyBMNS40OTIsNjIuMzY4IEw4LDYyLjM2ODM0NyBDOC41NTIyODQ3NSw2Mi4zNjgzNDcgOSw2Mi44MTYwNjIzIDksNjMuMzY4MzQ3IEM5LDYzLjkyMDYzMTggOC41NTIyODQ3NSw2NC4zNjgzNDcgOCw2NC4zNjgzNDcgTDUuNDkyLDY0LjM2OCBMNS40OTIyNzkyNSw2Ny4wNzc3NDgxIEM1LjQ5MjI3OTI1LDY3LjYyNTc2ODggNS4wNDgwMjA3LDY4LjA3MDAyNzQgNC41LDY4LjA3MDAyNzQgQzMuOTUxOTc5Myw2OC4wNzAwMjc0IDMuNTA3NzIwNzUsNjcuNjI1NzY4OCAzLjUwNzcyMDc1LDY3LjA3Nzc0ODEgTDMuNTA3LDY0LjM2OCBMMSw2NC4zNjgzNDcgQzAuNDQ3NzE1MjUsNjQuMzY4MzQ3IDYuNzYzNTM3NTFlLTE3LDYzLjkyMDYzMTggMCw2My4zNjgzNDcgQy02Ljc2MzUzNzUxZS0xNyw2Mi44MTYwNjIzIDAuNDQ3NzE1MjUsNjIuMzY4MzQ3IDEsNjIuMzY4MzQ3IEwzLjUwNyw2Mi4zNjggTDMuNTA3NzIwNzUsNTkuOTkyMjc5MyBDMy41MDc3MjA3NSw1OS40NDQyNTg2IDMuOTUxOTc5Myw1OSA0LjUsNTkgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlLUNvcHkiIGZpbGwtb3BhY2l0eT0iMC40IiBmaWxsPSIjQTNCMUJGIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtNCIgZmlsbD0iI0RBRTBFNSIgY3g9IjY0IiBjeT0iMTAyLjUiIHJ4PSIyOCIgcnk9IjIuNSI+PC9lbGxpcHNlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IjI0Z2wtYnViYmxlczciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2LjAwMDAwMCwgMjQuMDAwMDAwKSIgZmlsbD0iI0RBRTBFNSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNOS43OTE2NjY3LDU5LjIxMDI3NDggQzkuMjcyMjg0NCw1OS4yMTAyNzQ4IDguNzc0MTc0NjMsNTkuMDAyMzM0NSA4LjQwNjkxNTg4LDU4LjYzMjE5ODUgQzguMDM5NjU3MTIsNTguMjYyMDYyNSA3LjgzMzMzMzMsNTcuNzYwMDUwMyA3LjgzMzMzMzMsNTcuMjM2NTk5IEw3LjgzMzMzMzMsNDcuMzY4MjE5OCBDMy41MDkwNjAxOSw0Ny4zNjM0NjA4IDAuMDA0NzIxOTY0NzIsNDMuODMxNjY4IDAsMzkuNDczNTE2NSBMMCw3Ljg5NDcwMzI3IEMwLjAwNDcyMTk2NDcyLDMuNTM2NTUxOCAzLjUwOTA2MDE5LDAuMDA0NzU4OTU4NzggNy44MzMzMzMzLDAgTDU4Ljc1LDAgQzYzLjA3NDI3MzEsMC4wMDQ3NTg5NTg3OCA2Ni41Nzg2MTEzLDMuNTM2NTUxOCA2Ni41ODMzMzMzLDcuODk0NzAzMjcgTDY2LjU4MzMzMzMsMTMuODE1NzMwNyBDNjYuNTgzMzMzMywxNC45MDU3NjE4IDY1LjcwNjU1NzYsMTUuNzg5NDA2NSA2NC42MjUsMTUuNzg5NDA2NSBDNjMuNTQzNDQyNCwxNS43ODk0MDY1IDYyLjY2NjY2NjcsMTQuOTA1NzYxOCA2Mi42NjY2NjY3LDEzLjgxNTczMDcgTDYyLjY2NjY2NjcsNy44OTQ3MDMyNyBDNjIuNjY0MzA1Nyw1LjcxNTYyNzUyIDYwLjkxMjEzNjYsMy45NDk3MzExMSA1OC43NSwzLjk0NzM1MTY4IEw3LjgzMzMzMzMsMy45NDczNTE2OCBDNS42NzExOTY3NywzLjk0OTczMTE2IDMuOTE5MDI3NjgsNS43MTU2Mjc1NiAzLjkxNjY2NjcsNy44OTQ3MDMyNyBMMy45MTY2NjY3LDM5LjQ3MzUxNjUgQzMuOTE5MDI3NjgsNDEuNjUyNTkyMiA1LjY3MTE5Njc3LDQzLjQxODQ4ODYgNy44MzMzMzMzLDQzLjQyMDg2ODEgTDkuNzkxNjY2Nyw0My40MjA4NjgxIEMxMC4zMTEwNDksNDMuNDIwODY4MSAxMC44MDkxNTg3LDQzLjYyODgwODQgMTEuMTc2NDE3NSw0My45OTg5NDQ0IEMxMS41NDM2NzYyLDQ0LjM2OTA4MDQgMTEuNzUsNDQuODcxMDkyNiAxMS43NSw0NS4zOTQ1NDQgTDExLjc1LDUyLjQ3MjAyMjIgTDIwLjE1Njc1NzgsNDMuOTk4Nzg1MSBDMjAuOTIxNjIxOSw0My4yMjc5Mjg4IDIyLjE2MTcxMTQsNDMuMjI3OTI4OSAyMi45MjY1NzU0LDQzLjk5ODc4NTIgQzIzLjY5MTQzOTQsNDQuNzY5NjQxNSAyMy42OTE0Mzk1LDQ2LjAxOTQ0NjUgMjIuOTI2NTc1NSw0Ni43OTAzMDI4IEwxMS4xNzY1NzU1LDU4LjYzMjM1NzggQzEwLjgwOTI1MjIsNTkuMDAyNDc0NCAxMC4zMTEwODExLDU5LjIxMDI3NDggOS43OTE2NjY3LDU5LjIxMDI3NDggTDkuNzkxNjY2Nyw1OS4yMTAyNzQ4IFogTTY0LjA1MjE4NzUsNzQuNDIxNzY0NCBMNzEuMzEwODcyNCw2Ny4xMDQ5NzggTDg2LjE2NjY2NjcsNjcuMTA0OTc4IEM5MC40OTA5Mzk4LDY3LjEwMDIxOTEgOTMuOTk1Mjc4LDYzLjU2ODQyNjIgOTQsNTkuMjEwMjc0OCBMOTQsMjcuNjMxNDYxNiBDOTMuOTk1Mjc4MSwyMy4yNzMzMTAxIDkwLjQ5MDkzOTgsMTkuNzQxNTE3MiA4Ni4xNjY2NjY3LDE5LjczNjc1ODIgTDM1LjI1LDE5LjczNjc1ODIgQzMwLjkyNTcyNjksMTkuNzQxNTE3MiAyNy40MjEzODg2LDIzLjI3MzMxMDEgMjcuNDE2NjY2NywyNy42MzE0NjE2IEwyNy40MTY2NjY3LDU5LjIxMDI3NDggQzI3LjQyMTM4ODcsNjMuNTY4NDI2MiAzMC45MjU3MjY5LDY3LjEwMDIxOTEgMzUuMjUsNjcuMTA0OTc4IEw1NC4wMjI0NjA5LDY3LjEwNDk3OCBMNjEuMjgxNzU3OCw3NC40MjE3NjQ0IEM2MS42NDkwMjk0LDc0Ljc5MTk5NzkgNjIuMTQ3MjA2OSw3NSA2Mi42NjY2NjY3LDc1IEM2My4xODYxMjY0LDc1IDYzLjY4NDMwMzksNzQuNzkxOTk3OSA2NC4wNTE1NzU1LDc0LjQyMTc2NDQgTDY0LjA1MjE4NzUsNzQuNDIxNzY0NCBaIE04Ni4xNjY2NjY3LDIzLjY4NDEwOTkgQzg4LjMyODgwMzMsMjMuNjg2NDg5NCA5MC4wODA5NzI0LDI1LjQ1MjM4NTggOTAuMDgzMzMzMywyNy42MzE0NjE2IEw5MC4wODMzMzMzLDU5LjIxMDI3NDggQzkwLjA4MDk3MjQsNjEuMzg5MzUwNSA4OC4zMjg4MDMzLDYzLjE1NTI0NyA4Ni4xNjY2NjY3LDYzLjE1NzYyNjQgTDcwLjUsNjMuMTU3NjI2NCBDNjkuOTgwNTg1Niw2My4xNTc1NDE5IDY5LjQ4MjQxNDUsNjMuMzY1NDI2NyA2OS4xMTUwOTExLDYzLjczNTU0MzMgTDYyLjY2NjY2NjcsNzAuMjM1MTA0NiBMNTYuMjE4MjQyMiw2My43MzU1NDMzIEM1NS44NTA5MTg4LDYzLjM2NTQyNjcgNTUuMzUyNzQ3Nyw2My4xNTc1NDE5IDU0LjgzMzMzMzMsNjMuMTU3NjI2NCBMMzUuMjUsNjMuMTU3NjI2NCBDMzMuMDg3ODYzNCw2My4xNTUyNDcgMzEuMzM1Njk0Miw2MS4zODkzNTA1IDMxLjMzMzMzMzMsNTkuMjEwMjc0OCBMMzEuMzMzMzMzMywyNy42MzE0NjE2IEMzMS4zMzU2OTQyLDI1LjQ1MjM4NTggMzMuMDg3ODYzNCwyMy42ODY0ODkzIDM1LjI1LDIzLjY4NDEwOTkgTDg2LjE2NjY2NjcsMjMuNjg0MTA5OSBaIiBpZD0i5b2i54q2Ij48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);margin:0 0 1.04545em}.mentioned{margin:0 0.5em 0 0}";pi.use(Ei),pi.use(Yi);var Wi=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),Jt(Pe(t)),t.updateConversation=Tt(Pe(t),"updateConversation",7),t.tapConversation=Tt(Pe(t),"tapConversation",7),t.deleteConversation=Tt(Pe(t),"deleteConversation",7),t.baseSize="16px",t.isPullUpLoad=!1,t.data=[],t.lang=gn.lang,t.contextMenuData={visible:!1},t.getConversationList=t.getConversationList.bind(Pe(t)),t.handleUpdateConversation=t.handleUpdateConversation.bind(Pe(t)),t.switchConversation=t.switchConversation.bind(Pe(t)),t.hideContextMenu=t.hideContextMenu.bind(Pe(t)),t.handleTopStatusChange=t.handleTopStatusChange.bind(Pe(t)),t.handleDelete=t.handleDelete.bind(Pe(t)),t.handleNotificationStatusChange=t.handleNotificationStatusChange.bind(Pe(t)),t.pullingUpHandler=t.pullingUpHandler.bind(Pe(t)),t.handleSelectConversation=t.handleSelectConversation.bind(Pe(t)),t.handleMouseLeave=t.handleMouseLeave.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"componentWillLoad",value:function(){var t=this;gn.on(Ce.CONVERSATION,this.getConversationList),gn.on(Ce.UPDATE_CONVERSATION,this.handleUpdateConversation),gn.on(Ce.SWITCH_CONVERSATION,this.switchConversation),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.CONNECTED,(function(e){e?t.getConversationList(!0):t.data=[]}))}},{key:"disconnectedCallback",value:function(){gn.off(Ce.CONVERSATION,this.getConversationList),gn.off(Ce.UPDATE_CONVERSATION,this.handleUpdateConversation),gn.off(Ce.SWITCH_CONVERSATION,this.switchConversation),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),this.bscroll&&(this.bscroll.off("pullingUp",this.pullingUpHandler),this.bscroll.destroy())}},{key:"getConversationList",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return gn.getConversationList(e).then((function(e){t.data=e}))}},{key:"handleUpdateConversation",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var n=t.data.findIndex((function(t){return t.conversation&&Je(t.conversation,e)}));-1!==n&&(t.data[n].conversation=e)})),e.length&&(this.data=zn(this.data))}},{key:"switchConversation",value:function(t){this.currentConversation=t}},{key:"createScroll",value:function(){var t=this;this.scrollWrapper&&(this.bscroll=new pi(this.scrollWrapper,{bindToWrapper:!0,mouseWheel:{throttleTime:30},scrollX:!1,scrollY:!0,pullUpLoad:!0,click:!0,bounce:{top:!1,bottom:!0,left:!1,right:!1}}),this.bscroll.on("pullingUp",this.pullingUpHandler),this.bscroll.scroller.actionsHandler.wrapperEventRegister.events.forEach((function(e){"mousedown"===e.name&&(e.handler=Vi.bind(t.bscroll.scroller.actionsHandler))})))}},{key:"componentDidUpdate",value:function(){!this.bscroll&&this.scrollWrapper&&this.createScroll(),this.bscroll&&this.bscroll.refresh()}},{key:"pullingUpHandler",value:function(){var t=this;this.isPullUpLoad=!0,setTimeout((function(){t.getConversationList(!0).then((function(){setTimeout((function(){t.isPullUpLoad=!1,t.bscroll.finishPullUp()}),200)}))}),1e3)}},{key:"handleConversationRightClick",value:function(t,e){e.preventDefault();var n=e.clientY,r=e.clientX;this.contextMenuData={visible:!0,position:{top:n,left:r},topStatus:t.isTop,notificationStatus:1===t.notificationStatus},this.operatedConversation=t}},{key:"hideContextMenu",value:function(){this.contextMenuData={visible:!1}}},{key:"handleTopStatusChange",value:function(t){void 0!==t&&gn.setConversationToTop({conversationType:this.operatedConversation.conversationType,targetId:this.operatedConversation.targetId,channelId:this.operatedConversation.channelId},t.detail)}},{key:"handleNotificationStatusChange",value:function(t){void 0!==t&&gn.setConversationNotificationStatus({conversationType:this.operatedConversation.conversationType,targetId:this.operatedConversation.targetId,channelId:this.operatedConversation.channelId},t.detail?Te["i"].OPEN:Te["i"].CLOSE)}},{key:"handleDelete",value:function(){var t=this,e={conversationType:this.operatedConversation.conversationType,targetId:this.operatedConversation.targetId,channelId:this.operatedConversation.channelId||""};gn.deleteConversation(e).then((function(){t.getConversationList(!0),t.deleteConversation.emit(e)}))}},{key:"handleSelectConversation",value:function(t){gn.selectConversation(t.detail),this.tapConversation.emit(t.detail)}},{key:"isHover",value:function(t){return!!this.currentConversation&&(t.channelId===this.currentConversation.channelId&&t.targetId===this.currentConversation.targetId&&t.conversationType===this.currentConversation.conversationType)}},{key:"getPullupTip",value:function(){this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var t=this.locale;return this.isPullUpLoad?Z("div",{class:"after-trigger"},Z("span",{class:"pullup-txt"},t.conversation.loading)):"ontouchstart"in window&&!this.isPullUpLoad?Z("div",{class:"before-trigger"},Z("span",{class:"pullup-txt"},t.conversation.forMore)):null}},{key:"handleMouseLeave",value:function(){this.bscroll&&(this.bscroll.stop(),this.bscroll.scroller.actionsHandler.setInitiated())}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var e=this.contextMenuData,n=this.locale;return Z("div",{class:"conversation-wrapper",style:{fontSize:this.baseSize}},this.data.length?Z("conversation-context-menu",Object.assign({},e,{conversation:this.operatedConversation,onHide:this.hideContextMenu,onTopStatusChange:this.handleTopStatusChange,onNotificationStatusChange:this.handleNotificationStatusChange,onDelete:this.handleDelete,customMenu:this.customMenu})):null,this.data.length?Z("div",{class:"conversation-container",ref:function(e){return t.scrollWrapper=e}},Z("div",{class:"conversation-scroll-wrapper",onMouseLeave:this.handleMouseLeave},Z("div",{class:"conversation-list"},this.data.map((function(e){return Z("conversation-item",{key:e.conversation.targetId+"_"+e.conversation.channelId+"_"+e.conversation.conversationType,isHover:t.isHover(e.conversation),data:e,onContextMenu:function(n){return t.handleConversationRightClick(e.conversation,n)},onSelectConversation:t.handleSelectConversation})}))),Z("div",{class:"pullup-tips"},this.data.length?this.getPullupTip():null))):Z("div",{class:"no-data"},Z("span",null,n.conversation.noData)))}}],[{key:"style",get:function(){return Qi}}]),n}(Ee(HTMLElement)),Zi=".member-list{min-width:14em;max-width:30em;max-height:16em;background:#ffffff;-webkit-box-shadow:0em 0em 1.5em 0.3em rgba(100, 102, 109, 0.19);box-shadow:0em 0em 1.5em 0.3em rgba(100, 102, 109, 0.19);border-radius:0.4em;overflow:auto;position:fixed}.member-list ul{padding:0;margin:0;list-style:none}.member-list li{width:100%;height:4em;line-height:4em;cursor:pointer;padding:0 1em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1.3em}.member-list li:hover{background:#dfdfdf}",Ki=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.close=Tt(Pe(t),"close",7),t.selectMember=Tt(Pe(t),"selectMember",7),t.visible=!1,t.memberList=[],t.position={left:0,top:0},t.lang=gn.lang,t.selected=!1,t.selectMemberHandler=t.selectMemberHandler.bind(Pe(t)),t.closeHandler=t.closeHandler.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"validateWatchConversation",value:function(t,e){t.conversationType===e.conversationType&&t.channelId===e.channelId&&t.targetId===e.targetId||this.getMemberList()}},{key:"validateWatchVisible",value:function(t,e){t&&t!==e&&this.calcPopPosition()}},{key:"componentWillLoad",value:function(){window.addEventListener("click",this.closeHandler,!1),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),this.getMemberList()}},{key:"disconnectedCallback",value:function(){gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),window.removeEventListener("click",this.closeHandler,!1)}},{key:"closeHandler",value:function(){this.close.emit(this.selected),this.selected=!1}},{key:"getMemberList",value:function(){var t=this;this.conversation&&this.conversation.conversationType===Te["a"].GROUP&&gn.getGroupMembers(this.conversation).then((function(e){if(e){t.memberList=Be(e);var n=Object(Te["t"])(),r=t.memberList.findIndex((function(t){return t.id===n}));-1!==r&&t.memberList.splice(r,1)}else t.memberList=[]}))}},{key:"selectMemberHandler",value:function(t){var e=t.target,n=e.getAttribute("data-id");if(n){var r=e.getAttribute("data-name");this.selectMember.emit({id:n,value:r}),this.selected=!0}else this.selected=!1}},{key:"calcPopPosition",value:function(){var t=this;this.visible&&setTimeout((function(){var e=t.targetRect||{x:0,y:0,height:0,width:0,bottom:0,top:0,left:0,right:0};if(!t.listRef)return e;var n={left:e.x,top:e.y},r=t.listRef.getBoundingClientRect(),i=r.width||r.right-r.left,o=r.height||r.bottom-r.top,s=document.documentElement.clientWidth,a=document.documentElement.clientHeight,c=e.x,u=e.y+e.height;n.left=c+i>s?s-i:c<0?0:c,u+o>a?n.top=a-o:n.top<0?n.top=0:n.top=u,t.position=n}),17)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var e=this.memberList,n=this.visible,r=this.position,i=this.locale;return Z("div",{class:"member-list",ref:function(e){return t.listRef=e},style:{display:n?"block":"none",left:r.left+"px",top:r.top+"px"}},Z("ul",{onClick:this.selectMemberHandler},Z("li",{"data-id":"all","data-name":i.other.all},i.other.all),e.map((function(t){return Z("li",{"data-id":t.id,"data-name":t.groupNickname||t.name||t.id},t.groupNickname||t.name||t.id)}))))}}],[{key:"watchers",get:function(){return{conversation:["validateWatchConversation"],visible:["validateWatchVisible"]}}},{key:"style",get:function(){return Zi}}]),n}(Ee(HTMLElement)),qi=".message-context-menu{font-size:2em;position:fixed;top:0;left:0;z-index:1;min-width:7em;background:#FFFFFF;-webkit-box-shadow:0em 0em 0.75em 0.15em rgba(100, 102, 109, 0.19);box-shadow:0em 0em 0.75em 0.15em rgba(100, 102, 109, 0.19);border-radius:0.2em}.message-context-menu ul{list-style:none;padding:0;margin:0}.message-context-menu ul li{list-style:none;line-height:2;text-align:center;background:#fff;height:3em;line-height:3em;cursor:pointer;padding:0 1em;color:#111F2C}.message-context-menu ul li:hover{background:#F2F8FF}",Ji=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.position={top:0,left:0},t.visible=!1,t.lang=gn.lang,t.isShowForward=!1,t.msgType=["RC:TxtMsg","RC:FileMsg","RC:ImgMsg"],t.handleCopy=t.handleCopy.bind(Pe(t)),t.handleReference=t.handleReference.bind(Pe(t)),t.handleRecall=t.handleRecall.bind(Pe(t)),t.handleDelete=t.handleDelete.bind(Pe(t)),t.handlForward=t.handlForward.bind(Pe(t)),t.hide=t.hide.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"watchPosition",value:function(){this.visible||(this.visible=!0)}},{key:"watchMessage",value:function(){console.info(this.message)}},{key:"componentWillLoad",value:function(){document.body.addEventListener("mouseup",this.hide,!1),window.addEventListener("blur",this.hide,!1),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){document.body.removeEventListener("mouseup",this.hide,!1),window.removeEventListener("blur",this.hide,!1),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"handleCopy",value:function(){var t;switch(this.message.messageType){case Te["h"].TEXT:t=xe({},"text/plain",new Blob([this.message.content.content],{type:"text/plain"}));break;default:t=null}if(!t)throw new Error("No data copied");try{if(navigator.clipboard){var e=navigator.clipboard;return void e.write([new ClipboardItem(t)])}var n=document.createElement("input");n.setAttribute("id","COPY_INPUT"),n.style.position="fixed",n.style.left="-100%",n.style.top="0",n.style.zIndex="-100",n.style.opacity="0",document.body.appendChild(n),n.value=this.message.content.content,n.focus(),n.select(),document.execCommand("copy")&&document.execCommand("copy")}catch(cs){console.error("Failed to copy: ",cs)}}},{key:"handleReference",value:function(){this.message&&gn.referenceMessage(this.message)}},{key:"handleRecall",value:function(){this.message&&this.message.messageDirection===Te["g"].SEND&&gn.recallMessage(this.message)}},{key:"handleDelete",value:function(){this.message&&gn.deleteMessage(this.message)}},{key:"handlForward",value:function(){var t=this;if(this.message){var e=this.forwardList.callback(this.message);Object(Ae["z"])(e)?Object(Ae["I"])(e)?e.length>6?Ae["H"].error(_e.A_KIT_FORWARD_O,"Forwarding quantity exceeds the limit"):e.map((function(e){var n,r=t.message.content;switch(t.message.messageType){case"RC:TxtMsg":n=new Te["l"]({content:r.content});break;case"RC:ImgMsg":n=new Te["e"]({content:r.content,imageUri:r.imageUri});break;case"RC:FileMsg":n=new Te["d"]({name:r.name,size:r.size,type:r.type,fileUrl:r.fileUrl});break}var i={conversationType:e.conversationType,targetId:e.targetId};gn.sendMessage(i,n,null)})):Ae["H"].error(_e.A_KIT_FORWARD_O,"Forwarding list is empty"):Ae["H"].error(_e.A_KIT_FORWARD_O,"Forwardlist needs to return an array")}}},{key:"hide",value:function(t){2!=t.button&&this.hide&&(this.visible=!1)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"createCustomMenu",value:function(){var t=this;if(!this.customMenu||!this.message)return[];var e=[];return this.customMenu.forEach((function(n){var r=n.name(Object.assign({},t.message));r&&e.push({name:r,callback:function(){return n.callback(Object.assign({},t.message))}})})),e}},{key:"render",value:function(){var t,e,n=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var r=this.locale,i=this.message,o=this.createCustomMenu();this.isShowForward=!(!this.forwardList||!this.forwardList.callback);var s=document.documentElement.clientHeight,a=document.documentElement.clientWidth,c=2;i&&i.messageType===Te["h"].TEXT&&++c,(i&&i.messageDirection)===Te["g"].SEND&&++c,this.isShowForward&&++c,c+=o.length;var u=(null===(t=this.contextMenu)||void 0===t?void 0:t.childNodes[0].childNodes[0].clientHeight)*c||0,l=(null===(e=this.contextMenu)||void 0===e?void 0:e.childNodes[0].clientWidth)||0;return Z("div",{class:"message-context-menu",style:{"z-index":this.visible?"1":"-1",display:"block",left:(this.position?a-this.position.left<l?this.position.left-l:this.position.left:0)+"px",top:(this.position?s-this.position.top<u?this.position.top-u:this.position.top:0)+"px"},ref:function(t){return n.contextMenu=t}},Z("ul",null,i&&i.messageType===Te["h"].TEXT?Z("li",{onClick:this.handleCopy},r.message.copy):null,Z("li",{onClick:this.handleReference},r.message.quote),(i&&i.messageDirection)===Te["g"].SEND?Z("li",{onClick:this.handleRecall},r.message.recall):null,Z("li",{onClick:this.handleDelete},r.message["delete"]),this.isShowForward&&i&&this.msgType.indexOf(i.messageType)>-1?Z("li",{onClick:this.handlForward},r.message.forward):null,o.map((function(t){return Z("li",{onClick:t.callback},t.name)}))))}}],[{key:"watchers",get:function(){return{position:["watchPosition"],message:["watchMessage"]}}},{key:"style",get:function(){return qi}}]),n}(Ee(HTMLElement)),Xi=".message-editor-wrapper{position:relative;width:100%;height:100%;min-width:10em;min-height:10em;text-align:left;background:#fbfbfc;border-top:1px solid rgb(227, 229, 230)}.editor-body{width:100%;height:100%}.editor-tool-bar{width:100%;height:4em}.editor-content-wrapper{width:100%;height:calc(100% - 7.5em);padding:0.5em 1em;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.editor-tool-bar{padding:3em 0 0.5em 4em}.editor-tool-bar .buttons .button{width:3.6em;height:3.6em;overflow:hidden;display:inline-block;text-align:center;line-height:3em;margin:0 3em 0 0;border-radius:0.5em;cursor:pointer;overflow:hidden}.editor-tool-bar .buttons .button input{display:none}.editor-tool-bar .buttons .button .label{display:block;width:3.6em;padding:3.6em 0 0;height:0;overflow:hidden;background-repeat:no-repeat;background-size:contain}.editor-tool-bar .buttons .button.image-btn .label{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5Zu+54mHaWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDg3LjAwMDAwMCwgLTcxMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuWbvueJh2ljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ4Ny4wMDAwMDAsIDcxMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMwLjU5MDE2MzksNSBDMzEuMjU0NDc3Niw1IDMxLjg1NTgwNyw1LjI3MjE2MzE4IDMyLjI5MTMyMjksNS43MTA3NjA2MSBDMzIuNzI5MzgyNiw2LjE1MTkxOTczIDMzLDYuNzYxMzc4NTcgMzMsNy40MzM5NjIyNiBMMzMsNy40MzM5NjIyNiBMMzMsMjguNTY2MDM3NyBDMzMsMjkuMjM4NjIxNCAzMi43MjkzODI2LDI5Ljg0ODA4MDMgMzIuMjkxMzIyOSwzMC4yODkyMzk0IEMzMS44NTU4MDcsMzAuNzI3ODM2OCAzMS4yNTQ0Nzc2LDMxIDMwLjU5MDE2MzksMzEgTDMwLjU5MDE2MzksMzEgTDUuNDA5ODM2MDcsMzEgQzQuNzcxNDc4LDMxIDQuMTU5NTg0OTUsMzAuNzQ0MDcxIDMuNzA4MzEyOTcsMzAuMjg5NjA2MSBDMy4yNTQ0MDU4MywyOS44MzI0ODczIDMsMjkuMjEyMzQzNSAzLDI4LjU2NjAzNzcgTDMsMjguNTY2MDM3NyBMMyw3LjQzMzk2MjI2IEMzLDYuNzYxMzc4NTcgMy4yNzA2MTc0Myw2LjE1MTkxOTczIDMuNzA4Njc3MDgsNS43MTA3NjA2MSBDNC4xNDQxOTMwMyw1LjI3MjE2MzE4IDQuNzQ1NTIyNCw1IDUuNDA5ODM2MDcsNSBMNS40MDk4MzYwNyw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzc3Nzc3NyIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNC4zMjM1NDYyLDE2Ljc1Mzg3NTkgQzI1LjEyMjQ1ODksMTYuNjk2NDUxMSAyNS45MzcwMzc0LDE2Ljg0NTc5MSAyNi42Nzk5NjAxLDE3LjIwODk0OTMgTDI2LjY3OTk2MDEsMTcuMjA4OTQ5MyBMMzAuNTE2ODEyNCwxOS4wODMxNDM5IEMzMS4yNzg3ODQ4LDE5LjQ1NTU3NTIgMzEuOTAxMTEwOCwyMC4wMjE3NzQzIDMyLjMzMjMyNzEsMjAuNzAzODUwNSBDMzIuNzYwNDkyMiwyMS4zODExMDA3IDMzLDIyLjE3MjUzOTYgMzMsMjIuOTk5NjYyNiBMMzMsMjIuOTk5NjYyNiBMMzMsMjguNjY3NjgwNSBDMzMsMjkuMzA4ODQ1NiAzMi43MzE4Nzc1LDI5Ljg4ODQ0MzggMzIuMzAyMTI2MiwzMC4zMDg1MTY0IEMzMS44NjQwMzM2LDMwLjczNjc0MjUgMzEuMjU4NDYyNCwzMC45OTk5OTk2IDMwLjU5MDkwMjUsMzAuOTk5OTk5NiBMMzAuNTkwOTAyNSwzMC45OTk5OTk2IEw1Ljk3OTc4MjIsMzAuOTk5OTk5OCBDNS43MjU1NTQ0NiwzMS4wMDAxNDgxIDUuNDg1NjM4MDEsMzAuOTIwNDIxNCA1LjI5MDM3MTk0LDMwLjc4MDU1NjIgQzUuMTAxMzMwOTQsMzAuNjQ1MTQ5OSA0Ljk1NDExMjE3LDMwLjQ1MzAyNjEgNC44Nzk5NjA4LDMwLjIyMzEzMiBDNC44MDczNDIyNywyOS45OTc5OTAyIDQuODEzNjgyNjYsMjkuNzYyODQwOSA0Ljg4NzYxOTkxLDI5LjU1MDE1OTQgQzQuOTYzMjEzMzYsMjkuMzMyNzEzOCA1LjEwOTAwNzYsMjkuMTM5MjI0OCA1LjMxMTQ1OTczLDI5LjAwMDg0NDEgTDUuMzExNDU5NzMsMjkuMDAwODQ0MSBMMjIuMDYzMTA4MywxNy41Mzk4MDg2IEMyMi43NDI3NjU3LDE3LjA3NDk2NDYgMjMuNTI1NDg1NywxNi44MTEyMzk1IDI0LjMyMzU0NjIsMTYuNzUzODc1OSBaIiBpZD0i6Lev5b6EIiBzdHJva2U9IiM3Nzc3NzciIHN0cm9rZS13aWR0aD0iMiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuNjg1NzE0MywxNC44Mzg3MDk3IEMxMS45NDgwNzk0LDE0LjgzODcwOTcgMTIuOTcxNDI4NiwxMy44Mjc3Mzk4IDEyLjk3MTQyODYsMTIuNTgwNjQ1MiBDMTIuOTcxNDI4NiwxMS4zMzM1NTA2IDExLjk0ODA3OTQsMTAuMzIyNTgwNiAxMC42ODU3MTQzLDEwLjMyMjU4MDYgQzkuNDIzMzQ5MTIsMTAuMzIyNTgwNiA4LjQsMTEuMzMzNTUwNiA4LjQsMTIuNTgwNjQ1MiBDOC40LDEzLjgyNzczOTcgOS40MjMzNDkxMiwxNC44Mzg3MDk3IDEwLjY4NTcxNDMsMTQuODM4NzA5NyBMMTAuNjg1NzE0MywxNC44Mzg3MDk3IFoiIGlkPSLot6/lvoQiIGZpbGw9IiM3Nzc3NzciIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.editor-tool-bar .buttons .button.image-btn .label:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5Zu+54mHaWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIxN1/ljZXogYot5Y+R6YCB5Zu+54mH5raI5oGvIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDg3LjAwMDAwMCwgLTg2MC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuWbvueJh2ljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ4Ny4wMDAwMDAsIDg2MC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMwLjU5MDE2MzksNSBDMzEuMjU0NDc3Niw1IDMxLjg1NTgwNyw1LjI3MjE2MzE4IDMyLjI5MTMyMjksNS43MTA3NjA2MSBDMzIuNzI5MzgyNiw2LjE1MTkxOTczIDMzLDYuNzYxMzc4NTcgMzMsNy40MzM5NjIyNiBMMzMsNy40MzM5NjIyNiBMMzMsMjguNTY2MDM3NyBDMzMsMjkuMjM4NjIxNCAzMi43MjkzODI2LDI5Ljg0ODA4MDMgMzIuMjkxMzIyOSwzMC4yODkyMzk0IEMzMS44NTU4MDcsMzAuNzI3ODM2OCAzMS4yNTQ0Nzc2LDMxIDMwLjU5MDE2MzksMzEgTDMwLjU5MDE2MzksMzEgTDUuNDA5ODM2MDcsMzEgQzQuNzcxNDc4LDMxIDQuMTU5NTg0OTUsMzAuNzQ0MDcxIDMuNzA4MzEyOTcsMzAuMjg5NjA2MSBDMy4yNTQ0MDU4MywyOS44MzI0ODczIDMsMjkuMjEyMzQzNSAzLDI4LjU2NjAzNzcgTDMsMjguNTY2MDM3NyBMMyw3LjQzMzk2MjI2IEMzLDYuNzYxMzc4NTcgMy4yNzA2MTc0Myw2LjE1MTkxOTczIDMuNzA4Njc3MDgsNS43MTA3NjA2MSBDNC4xNDQxOTMwMyw1LjI3MjE2MzE4IDQuNzQ1NTIyNCw1IDUuNDA5ODM2MDcsNSBMNS40MDk4MzYwNyw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzAwOTlGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNC4zMjM1NDYyLDE2Ljc1Mzg3NTkgQzI1LjEyMjQ1ODksMTYuNjk2NDUxMSAyNS45MzcwMzc0LDE2Ljg0NTc5MSAyNi42Nzk5NjAxLDE3LjIwODk0OTMgTDI2LjY3OTk2MDEsMTcuMjA4OTQ5MyBMMzAuNTE2ODEyNCwxOS4wODMxNDM5IEMzMS4yNzg3ODQ4LDE5LjQ1NTU3NTIgMzEuOTAxMTEwOCwyMC4wMjE3NzQzIDMyLjMzMjMyNzEsMjAuNzAzODUwNSBDMzIuNzYwNDkyMiwyMS4zODExMDA3IDMzLDIyLjE3MjUzOTYgMzMsMjIuOTk5NjYyNiBMMzMsMjIuOTk5NjYyNiBMMzMsMjguNjY3NjgwNSBDMzMsMjkuMzA4ODQ1NiAzMi43MzE4Nzc1LDI5Ljg4ODQ0MzggMzIuMzAyMTI2MiwzMC4zMDg1MTY0IEMzMS44NjQwMzM2LDMwLjczNjc0MjUgMzEuMjU4NDYyNCwzMC45OTk5OTk2IDMwLjU5MDkwMjUsMzAuOTk5OTk5NiBMMzAuNTkwOTAyNSwzMC45OTk5OTk2IEw1Ljk3OTc4MjIsMzAuOTk5OTk5OCBDNS43MjU1NTQ0NiwzMS4wMDAxNDgxIDUuNDg1NjM4MDEsMzAuOTIwNDIxNCA1LjI5MDM3MTk0LDMwLjc4MDU1NjIgQzUuMTAxMzMwOTQsMzAuNjQ1MTQ5OSA0Ljk1NDExMjE3LDMwLjQ1MzAyNjEgNC44Nzk5NjA4LDMwLjIyMzEzMiBDNC44MDczNDIyNywyOS45OTc5OTAyIDQuODEzNjgyNjYsMjkuNzYyODQwOSA0Ljg4NzYxOTkxLDI5LjU1MDE1OTQgQzQuOTYzMjEzMzYsMjkuMzMyNzEzOCA1LjEwOTAwNzYsMjkuMTM5MjI0OCA1LjMxMTQ1OTczLDI5LjAwMDg0NDEgTDUuMzExNDU5NzMsMjkuMDAwODQ0MSBMMjIuMDYzMTA4MywxNy41Mzk4MDg2IEMyMi43NDI3NjU3LDE3LjA3NDk2NDYgMjMuNTI1NDg1NywxNi44MTEyMzk1IDI0LjMyMzU0NjIsMTYuNzUzODc1OSBaIiBpZD0i6Lev5b6EIiBzdHJva2U9IiMwMDk5RkYiIHN0cm9rZS13aWR0aD0iMiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuNjg1NzE0MywxNC44Mzg3MDk3IEMxMS45NDgwNzk0LDE0LjgzODcwOTcgMTIuOTcxNDI4NiwxMy44Mjc3Mzk4IDEyLjk3MTQyODYsMTIuNTgwNjQ1MiBDMTIuOTcxNDI4NiwxMS4zMzM1NTA2IDExLjk0ODA3OTQsMTAuMzIyNTgwNiAxMC42ODU3MTQzLDEwLjMyMjU4MDYgQzkuNDIzMzQ5MTIsMTAuMzIyNTgwNiA4LjQsMTEuMzMzNTUwNiA4LjQsMTIuNTgwNjQ1MiBDOC40LDEzLjgyNzczOTcgOS40MjMzNDkxMiwxNC44Mzg3MDk3IDEwLjY4NTcxNDMsMTQuODM4NzA5NyBMMTAuNjg1NzE0MywxNC44Mzg3MDk3IFoiIGlkPSLot6/lvoQiIGZpbGw9IiMwMDk5RkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.editor-tool-bar .buttons .button.file-btn .label{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5paH5Lu2aWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTUzLjAwMDAwMCwgLTcxMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuaWh+S7tmljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1My4wMDAwMDAsIDcxMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMxLjUsNSBDMzIuMTkwNTY5Miw1IDMyLjgxNTYxNjgsNS4yNzk2MzUwNSAzMy4yNjc5OTA5LDUuNzMyMDA5MTIgQzMzLjcyMDM2NDksNi4xODQzODMyIDM0LDYuODA5NDMwOCAzNCw3LjUgTDM0LDcuNSBMMzQsMjguNSBDMzQsMjkuMTkwNTY5MiAzMy43MjAzNjQ5LDI5LjgxNTYxNjggMzMuMjY3OTkwOSwzMC4yNjc5OTA5IEMzMi44MTU2MTY4LDMwLjcyMDM2NDkgMzIuMTkwNTY5MiwzMSAzMS41LDMxIEwzMS41LDMxIEw1LjUsMzEgQzQuODA5NDMwOCwzMSA0LjE4NDM4MzIsMzAuNzIwMzY0OSAzLjczMjAwOTEyLDMwLjI2Nzk5MDkgQzMuMjc5NjM1MDUsMjkuODE1NjE2OCAzLDI5LjE5MDU2OTIgMywyOC41IEwzLDI4LjUgTDMsMTEgQzMsMTAuMzA5NDMwOCAzLjI3OTYzNTA1LDkuNjg0MzgzMiAzLjczMjAwOTEyLDkuMjMyMDA5MTIgQzQuMTg0MzgzMiw4Ljc3OTYzNTA1IDQuODA5NDMwOCw4LjUgNS41LDguNSBMNS41LDguNSBMMTcuOTE0MjEzNiw4LjUgTDIxLjE5NTM4OCw1LjIxODgyNTUzIEMyMS4zMzYxNDA5LDUuMDc4MDcyNjggMjEuNTI3MzQzNyw1IDIxLjcyNjU2MjUsNSBMMjEuNzI2NTYyNSw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzc3Nzc3NyIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMTguMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0xOC4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTI3LjcyMjIyMjIsMjcgTDkuMjc3Nzc3NzgsMjcgQzguNTcxMDA2OTQsMjcgOCwyNi41NTMxMjUgOCwyNiBDOCwyNS40NDY4NzUgOC41NzEwMDY5NCwyNSA5LjI3Nzc3Nzc4LDI1IEwyNy43MjIyMjIyLDI1IEMyOC40Mjg5OTMxLDI1IDI5LDI1LjQ0Njg3NSAyOSwyNiBDMjksMjYuNTUzMTI1IDI4LjQyODk5MzEsMjcgMjcuNzIyMjIyMiwyNyBaIiBpZD0i6Lev5b6EIiBmaWxsPSIjNzc3Nzc3IiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMjYuMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0yNi4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.editor-tool-bar .buttons .button.file-btn .label:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5paH5Lu2aWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIxOV/ljZXogYot5paH5Lu25LiK5Lyg5LitIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTUzLjAwMDAwMCwgLTcxMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuaWh+S7tmljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1My4wMDAwMDAsIDcxMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMxLjUsNSBDMzIuMTkwNTY5Miw1IDMyLjgxNTYxNjgsNS4yNzk2MzUwNSAzMy4yNjc5OTA5LDUuNzMyMDA5MTIgQzMzLjcyMDM2NDksNi4xODQzODMyIDM0LDYuODA5NDMwOCAzNCw3LjUgTDM0LDcuNSBMMzQsMjguNSBDMzQsMjkuMTkwNTY5MiAzMy43MjAzNjQ5LDI5LjgxNTYxNjggMzMuMjY3OTkwOSwzMC4yNjc5OTA5IEMzMi44MTU2MTY4LDMwLjcyMDM2NDkgMzIuMTkwNTY5MiwzMSAzMS41LDMxIEwzMS41LDMxIEw1LjUsMzEgQzQuODA5NDMwOCwzMSA0LjE4NDM4MzIsMzAuNzIwMzY0OSAzLjczMjAwOTEyLDMwLjI2Nzk5MDkgQzMuMjc5NjM1MDUsMjkuODE1NjE2OCAzLDI5LjE5MDU2OTIgMywyOC41IEwzLDI4LjUgTDMsMTEgQzMsMTAuMzA5NDMwOCAzLjI3OTYzNTA1LDkuNjg0MzgzMiAzLjczMjAwOTEyLDkuMjMyMDA5MTIgQzQuMTg0MzgzMiw4Ljc3OTYzNTA1IDQuODA5NDMwOCw4LjUgNS41LDguNSBMNS41LDguNSBMMTcuOTE0MjEzNiw4LjUgTDIxLjE5NTM4OCw1LjIxODgyNTUzIEMyMS4zMzYxNDA5LDUuMDc4MDcyNjggMjEuNTI3MzQzNyw1IDIxLjcyNjU2MjUsNSBMMjEuNzI2NTYyNSw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzAwOTlGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMTguMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0xOC4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTI3LjcyMjIyMjIsMjcgTDkuMjc3Nzc3NzgsMjcgQzguNTcxMDA2OTQsMjcgOCwyNi41NTMxMjUgOCwyNiBDOCwyNS40NDY4NzUgOC41NzEwMDY5NCwyNSA5LjI3Nzc3Nzc4LDI1IEwyNy43MjIyMjIyLDI1IEMyOC40Mjg5OTMxLDI1IDI5LDI1LjQ0Njg3NSAyOSwyNiBDMjksMjYuNTUzMTI1IDI4LjQyODk5MzEsMjcgMjcuNzIyMjIyMiwyNyBaIiBpZD0i6Lev5b6EIiBmaWxsPSIjMDA5OUZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMjYuMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0yNi4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.error-tip{width:300px;height:50px;position:fixed;top:0;left:0;right:0;bottom:0;margin:auto;background:#f56c6c;line-height:50px;color:#fff;font-size:20px;border-radius:8px}",to=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.baseSize="16px",t.showMemberList=!1,t.isError=!1,t.lang=gn.lang,t.connected=!0,t.content="",t.switchConversation=t.switchConversation.bind(Pe(t)),t.sendFileMessage=t.sendFileMessage.bind(Pe(t)),t.sendImageMessage=t.sendImageMessage.bind(Pe(t)),t.handlePostMessage=t.handlePostMessage.bind(Pe(t)),t.handleEditorChange=t.handleEditorChange.bind(Pe(t)),t.handleReferenceMessage=t.handleReferenceMessage.bind(Pe(t)),t.handleCloseReference=t.handleCloseReference.bind(Pe(t)),t.handleConnected=t.handleConnected.bind(Pe(t)),t.handleConnecting=t.handleConnecting.bind(Pe(t)),t.handleSuspend=t.handleSuspend.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"checkMentioned",value:function(){var t={mentionedUserIdList:[],mentionedType:Te["f"].SINGAL},e=document.createElement("div");e.innerHTML=this.content;var n=e.querySelectorAll("span.at-span");if(n.length){for(var r=0;r<n.length;r++){var i=n[r],o=i.getAttribute("data-id");if("all"===o){t.mentionedType=Te["f"].ALL,t.mentionedUserIdList.length=0;break}-1===t.mentionedUserIdList.indexOf(o)&&t.mentionedUserIdList.push(o)}return t}return null}},{key:"handlePostMessage",value:function(t){var e=t.detail;if(e&&this.connected){var n,r,i=this.checkMentioned();if(e=e.replace(/\<br\s?\/?\>/gi,"\n"),e=e.replace(/ /gi," "),e=Un(e),this.referenceMessage)n=new Te["k"]({referMsgUserId:this.referenceMessage.message.senderUserId,referMsg:{content:this.referenceMessage.message.content},content:e,objName:this.referenceMessage.message.messageType});else{var o={content:e};r=i?De({isMentioned:!0},i):void 0,r||(o.mentionedInfo=r),n=new Te["l"](o)}gn.sendMessage(this.conversation,n,r),this.content=""}}},{key:"sendImageMessage",value:function(){var t=this,e=["image/jpeg","image/jpg","image/png"];if(this.connected){var n=this.imageInputRef.files;if(n.length){var r=n[0];if(-1===e.indexOf(n[0].type))return this.isError=!0,void setTimeout((function(){t.isError=!1}),2e3);gn.sendImageMessage(this.conversation,{file:r},{onProgress:function(t){console.log(t)},onComplete:function(){}}),this.imageInputRef.value=""}}}},{key:"sendFileMessage",value:function(){if(this.connected){var t=this.fileInputRef.files;if(t.length){var e=t[0];gn.sendFileMessage(this.conversation,{file:e},{onProgress:function(t){console.log(t)},onComplete:function(){}}),this.fileInputRef.value=""}}}},{key:"componentDidLoad",value:function(){this.draft&&(this.content=this.draft.text),Object(Te["m"])(Te["c"].CONNECTED,this.handleConnected),Object(Te["m"])(Te["c"].CONNECTING,this.handleConnecting),Object(Te["m"])(Te["c"].SUSPEND,this.handleSuspend)}},{key:"componentWillLoad",value:function(){this.conversation=gn.currentConversation,(gn.currentConversation&&gn.currentConversation.conversationType)===Te["a"].SYSTEM&&(this.conversation=null),gn.on(Ce.SWITCH_CONVERSATION,this.switchConversation),gn.on(Ce.REFERENCE_MESSAGE,this.handleReferenceMessage),gn.on(Ce.CLOSE_REFERENCE,this.handleCloseReference),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){gn.off(Ce.SWITCH_CONVERSATION,this.switchConversation),gn.off(Ce.REFERENCE_MESSAGE,this.handleReferenceMessage),gn.off(Ce.CLOSE_REFERENCE,this.handleCloseReference),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),Object(Te["C"])(Te["c"].CONNECTED,this.handleConnected),Object(Te["C"])(Te["c"].CONNECTING,this.handleConnecting),Object(Te["C"])(Te["c"].SUSPEND,this.handleSuspend),this.content&&gn.saveTextMessageDraft(this.conversation,this.content)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"handleConnected",value:function(){this.connected=!0}},{key:"handleConnecting",value:function(){this.connected=!1}},{key:"handleSuspend",value:function(){this.connected=!1}},{key:"handleReferenceMessage",value:function(t){this.referenceMessage={message:t,time:Date.now()}}},{key:"handleCloseReference",value:function(){this.referenceMessage=null}},{key:"switchConversation",value:function(t){var e=this;this.handleCloseReference(),this.conversation&&this.conversation!==t&&this.content&&gn.saveTextMessageDraft(this.conversation,this.content),this.conversation=t,this.draft={time:Date.now(),text:""},this.content="",t&&t.conversationType!==Te["a"].SYSTEM?Object(Te["w"])(this.conversation).then((function(t){0===t.code&&(t.data&&(e.draft={time:Date.now(),text:t.data},e.content=e.draft.text),Object(Te["o"])(e.conversation))})):this.conversation=null}},{key:"handleEditorChange",value:function(t){var e=t.detail;e=e.trim(),"<br>"===e&&(e=""),this.content=e}},{key:"onInputContent",value:function(){Object(Te["J"])(this.conversation,Te["h"].TEXT)}},{key:"render",value:function(){var t=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var e=this.conversation,n=this.isError,r=this.locale;return e?Z("div",{class:"message-editor-wrapper",style:{fontSize:this.baseSize}},Z("reference-message",{referenceMessage:this.referenceMessage,onClose:this.handleCloseReference}),Z("div",{class:"editor-body"},Z("div",{class:"editor-tool-bar"},Z("div",{class:"buttons"},Z("div",{class:"button image-btn"},Z("input",{type:"file",accept:"image/jpeg,image/jpg,image/png",ref:function(e){return t.imageInputRef=e},onChange:this.sendImageMessage}),Z("span",{class:"label",onClick:function(){return t.imageInputRef.click()}},r.messageEdit.picture),n?Z("div",{class:"error-tip"},r.messageEdit.picError):""),Z("div",{class:"button file-btn"},Z("input",{type:"file",accept:"*",ref:function(e){return t.fileInputRef=e},onChange:this.sendFileMessage}),Z("span",{class:"label",onClick:function(){return t.fileInputRef.click()}},r.messageEdit.file)))),Z("div",{class:"editor-content-wrapper"},Z("content-editor",{conversation:this.conversation,onPost:this.handlePostMessage,onContentChange:this.handleEditorChange,onInputContent:this.onInputContent,value:this.draft})))):null}}],[{key:"style",get:function(){return Xi}}]),n}(Ee(HTMLElement)),eo=function(){function t(e,n){Ve(this,t),this.uid=e.messageUId,this.direction=e.messageDirection,this.content=e.content,this.callback=n,this.messageType=e.messageType,this.conversationType=e.conversationType,this.senderUserId=e.senderUserId,this.targetId=e.targetId,this.channelId=e.channelId}return We(t,[{key:"wrap",value:function(t){return Z("div",{class:"message-content"},t)}}]),t}(),no={"application/zip":"file-zip","application/gzip":"file-zip","application/x-zip-compressed":"file-zip","application/x-tar":"file-zip","application/x-compressed":"file-zip","application/msword":"file-word","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"file-word","application/rtf":"file-text","application/vnd.ms-excel application/x-excel":"file-xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"file-xls","application/x-xls":"file-xls","text/csv":"file-xls","application/vnd.ms-excel":"file-xls","application/x-ppt":"file-ppt","application/vnd.ms-powerpoint":"file-ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"file-ppt","application/vnd.openxmlformats-officedocument.presentationml.slideshow":"file-ppt","application/pdf":"file-pdf","audio/mp3":"file-audio","audio/wav":"file-audio","audio/m3u":"file-audio","audio/midi":"file-audio","audio/flac":"file-audio","audio/ape":"file-audio","audio/x-ms-wma":"file-audio","video/mpeg4":"file-video","video/x-ms-wmv":"file-video","video/avi":"file-video","video/mpg":"file-video","video/mp4":"file-video","video/x-msvideo":"file-video","video/x-flv":"file-video","application/x-mpegURL":"file-video","video/3gpp":"file-video","text/plain":"file-plain","image/jpeg":"file-image","image/tiff":"file-image","image/png":"file-image","image/gif":"file-image","application/vnd.android.package-archive":"file-apk","application/xml":"file-text","application/rdf+xml":"file-text","application/rss+xml":"file-text","application/soap+xml":"file-text","application/atom+xml":"file-text","application/xhtml+xml":"file-text","text/html":"file-text","text/xml":"file-text","text/css":"file-text"};function ro(t){return t<1024?t+"B":(t>1073741824?t=(t/1024/1024/1024).toFixed(2)+"G":t>1048576?t=(t/1024/1024).toFixed(2)+"M":t>1024&&(t=(t/1024).toFixed(2)+"K"),t)}var io=function(t){Le(n,t);var e=je(n);function n(t,r){var i;return Ve(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Pe(i)),i}return We(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"file",url:this.content.fileUrl,size:this.content.size,name:this.content.name,fileType:this.content.type})}},{key:"getFileIcon",value:function(t,e){var n=no[t];return n||console.log("暂未识别的文件类型:"+t,e),n||"file-icon"}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"file-message-body","data-origin":t.imageUri},Z("div",{class:"file-message-icon "+this.getFileIcon(t.type,t.name)}),Z("div",{class:"file-desc"},Z("div",{class:"file-name",title:t.name},t.name),Z("div",{class:"file-size"},ro(t.size))),this.uid.startsWith("sending_")||this.uid.startsWith("fail_")?null:Z("div",{class:"file-download-btn",onClick:this.handleClick})))}}]),n}(eo),oo=function(t){Le(n,t);var e=je(n);function n(){return Ve(this,n),e.apply(this,arguments)}return We(n,[{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"gif-message-body"},Z("img",{src:t.remoteUrl})))}}]),n}(eo),so="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+6K+t6Z+z5aSH5Lu9IDI8L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMDVf5Y2V6IGKLeS4jeaUr+aMgeeahOa2iOaBr+exu+Weiy3or63pn7Pmtojmga8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODQuMDAwMDAwLCAtNjA0LjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4TlpIfku70tNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTY0LjAwMDAwMCwgNTg5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9Iuivremfs+Wkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMC4wMDAwMDAsIDE1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIGZpbGw9IiMwMDAwMDAiIG9wYWNpdHk9IjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PC9yZWN0PgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xOS44ODAxNiwyOS45MiBMMTcuNjY3NTIsMjcuNzA3MiBDMjEuMDI5NzYsMjQuODMwMjQgMjMuMTY4NDgsMjAuNTYzODQgMjMuMTY4NDgsMTUuNzkxMDQgQzIzLjE2ODQ4LDExLjI0NDMyIDIxLjIyMjA4LDcuMTYyMjQgMTguMTMxNjgsNC4yOTgwOCBMMjAuMzQ5NzYsMi4wOCBDMjQuMDA2NCw1LjUxMjE2IDI2LjMwMzIsMTAuMzc2MTYgMjYuMzAzMiwxNS43ODY1NiBDMjYuMzAzMiwyMS40MjU0NCAyMy44MTAwOCwyNi40NzEyIDE5Ljg4MDE2LDI5LjkyIFoiIGlkPSLot6/lvoQiIGZpbGw9IiMxMTFGMkMiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuOTA4OTYsMjMuOTQ4NjQgTDExLjYyOTYsMjEuNjY5NiBDMTMuNzAwOTYsMjAuNTI0NDggMTUuMTA0MzIsMTguMzIwNjQgMTUuMTA0MzIsMTUuNzg2NTYgQzE1LjEwNDMyLDEzLjQ4NjA4IDEzLjk0NjU2LDExLjQ1Nzc2IDEyLjE4MzM2LDEwLjI0NjI0IEwxNC40MjE2LDguMDA4MzIgQzE2Ljc0MTI4LDkuODExNjggMTguMjQsMTIuNjIxMjggMTguMjQsMTUuNzg2NTYgQzE4LjI0LDE5LjE4MjA4IDE2LjUyMjU2LDIyLjE3NTUyIDEzLjkwODk2LDIzLjk0ODY0IEwxMy45MDg5NiwyMy45NDg2NCBaIE03LjkzNjQ4LDE4LjQ3NDU2IEM2LjY5OTY4LDE4LjQ3NDU2IDUuNjk2OCwxNy40NzIgNS42OTY4LDE2LjIzNDcyIEM1LjY5NjgsMTQuOTk3MjggNi42OTk1MiwxMy45OTQ4OCA3LjkzNjQ4LDEzLjk5NDg4IEM5LjE3NDI0LDEzLjk5NDg4IDEwLjE3NjQ4LDE0Ljk5NzI4IDEwLjE3NjQ4LDE2LjIzNDcyIEMxMC4xNzY0OCwxNy40NzIgOS4xNzQyNCwxOC40NzQ1NiA3LjkzNjQ4LDE4LjQ3NDU2IEw3LjkzNjQ4LDE4LjQ3NDU2IFoiIGlkPSLlvaLnirYiIGZpbGw9IiMxMTFGMkMiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+",ao="data:image/gif;base64,R0lGODlhQABAAIcAAAAAABEfLBIgLREfLRIfLRIgLBEgLBEgLRIhLgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFFAAAACwAAAAAQABAAAAIiwABCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDihxJsqTJkyhTqlzJsqXLlzBjypxJs6bNmzhz6txJUsCAAgd2Bhg6tEBOAkSJBr2ZNOlNAU2J4ow6FGeBqEZxHki69OiAAwZ4ih1LtqzZs2jTql3Ltq3bt3Djyp1Lt67du3h1BgQAIfkEBRQAAAAsGAAQAAwAIAAACHEAAQgEIGCgwYEGAgQ4iFChQoYJHT40KNHhgYMVFQ7AmPGggIwFDX6syLDjwYgOCZQkyVHiSpctHTI8wJJizYEFbgo0aRPmwJEOQw4EaZDmTQJEh/IEkNPkgIwBLu6EavBpRaECrSpEwBCA1a4DuXYNCAAh+QQJFAAAACwkAAQAEQA4AAAIygABCASAYKDBgwMNBDCAsKHCABAbGnwIMUABiQIraiSAkYDGihgBUKzIEaOAjxZDHkAZEgDKiyZZqvwoIOQAmR0/lpR48mNLlAVzaqwZEqfEmxp/0lRaESZGow2hIvSYNCRVkCF7YsVY4GNQiV01fm2oFSJRsD6tpn26VqLUg28NfjyQ9SNDoRXHIowrMGxViSMDnI3aFmHZAAOKFj7oF+JOwyjvEl48EOlfhCvt8kRJt6HlywYbk3SLcvDBz4hbWu6sOnXLhK8BBAQAIfkEBRQAAAAsAAAAAAEAAQAACAQAAQQEADs=",co=function(t){Le(n,t);var e=je(n);function n(t,r){var i;return Ve(this,n),i=e.call(this,t,r),i.isPlaying=!1,i.handleClick=i.handleClick.bind(Pe(i)),i.onStart=i.onStart.bind(Pe(i)),i.onStop=i.onStop.bind(Pe(i)),i}return We(n,[{key:"handleClick",value:function(){var t;"function"===typeof this.callback&&("RC:VcMsg"===this.messageType?t=jn(this.content.content):this.messageType===Ae["n"].HQ_VOICE&&(t=this.content.remoteUrl),this.callback({uid:this.uid,type:"hqvoice",url:t,duration:this.content.duration,onStart:this.onStart,onStop:this.onStop}))}},{key:"onStart",value:function(){this.voiceIcon.src=ao}},{key:"onStop",value:function(){this.voiceIcon.src=so}},{key:"create",value:function(){var t=this,e=this.content;return this.wrap(Z("div",{class:"hqvoice-message-body",style:{width:Math.max(150,Math.min(500,e.duration/60*500))+"px"},"data-origin":e.remoteUrl,onClick:this.handleClick},Z("img",{ref:function(e){t.voiceIcon=e},class:"voice-icon",src:so}),e.duration?Z("span",null,Math.round(e.duration),"''"):null))}}]),n}(eo),uo=function(t){Le(n,t);var e=je(n);function n(t,r){var i;return Ve(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Pe(i)),i.onError=i.onError.bind(Pe(i)),i}return We(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"image",thumb:this.content.content,url:this.content.imageUri})}},{key:"onError",value:function(t){var e=t.target;e.src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjQwcHgiIGhlaWdodD0iMjQwcHgiIHZpZXdCb3g9IjAgMCAyNDAgMjQwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPuWbvueJh+WKoOi9veWksei0pTwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIxOF/ljZXogYot5Y+R6YCB5Zu+54mH5Yqg6L295aSx6LSlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTY0LjAwMDAwMCwgLTIzNS4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuWbvueJh+WKoOi9veWksei0pSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTY0LjAwMDAwMCwgMjM1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTE2LDAgTDIzNiwwIEMyMzguMjA5MTM5LC00LjA1ODEyMjUxZS0xNiAyNDAsMS43OTA4NjEgMjQwLDQgTDI0MCwyMjQgQzI0MCwyMzIuODM2NTU2IDIzMi44MzY1NTYsMjQwIDIyNCwyNDAgTDE2LDI0MCBDNy4xNjM0NDQsMjQwIDEuMDgyMTY2ZS0xNSwyMzIuODM2NTU2IDAsMjI0IEwwLDE2IEMtMS4wODIxNjZlLTE1LDcuMTYzNDQ0IDcuMTYzNDQ0LDEuNjIzMjQ5ZS0xNSAxNiwwIFoiIGlkPSLokpnniYgiIGZpbGwtcnVsZT0ibm9uemVybyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIwLjAwMDAwMCwgMTIwLjAwMDAwMCkgc2NhbGUoLTEsIDEpIHRyYW5zbGF0ZSgtMTIwLjAwMDAwMCwgLTEyMC4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iMjQiIGZvbnQtd2VpZ2h0PSJub3JtYWwiIGxldHRlci1zcGFjaW5nPSItMC4xNzM1NzE0MjkiIGZpbGw9IiNBMEE1QUIiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSI0OSIgeT0iMTg4Ij7lm77niYfliqDovb3lpLHotKU8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PgogICAgICAgICAgICAgICAgPGcgaWQ9IuaOpeaUtuaWueWKoOi9veWbvueJh+Wksei0pSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNzEuMDAwMDAwLCA0NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iOTgiIGhlaWdodD0iOTgiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNODMuNTEyMDE2Nyw3IEwxNC40ODc5ODMzLDcgQzguMTMxNzAwMjksNy4wMzk3NTQ3MSAzLDEyLjIxODA4MjUgMywxOC41OTIwODU3IEwzLDc2LjQzMjAxNDMgQzMuMDEzMTYwMDQsODIuODA1OTY0OCA4LjE1NTcwMzk4LDg3Ljk3MzUxMDcgMTQuNTEyMDE2Nyw4OCBMODMuNTEyMDE2Nyw4OCBDODkuODU4OTM3OSw4Ny45NjAzMTczIDk0Ljk4NjkyNzgsODIuNzk2NjE2IDk1LDc2LjQzMjAxNDMgTDk1LDE4LjU5MjA4NTcgQzk1LDEyLjIxODA4MjUgODkuODY4Mjk5Nyw3LjAzOTc1NDcxIDgzLjUxMjAxNjcsNyBaIE04OS4yNTYwMDgzLDY5Ljg1MjcyMjQgTDc1LjQzNjc4MTYsNTIuMTM5MjQ0MyBDNzQuNjg2MDAzLDUwLjgxNzI2MTcgNzMuMzI5NDg4LDQ5Ljk1NTUxMTIgNzEuODE2Nzc0NSw0OS44Mzk1Njk3IEM3MC4zMDQwNjEsNDkuNzIzNjI4MyA2OC44MzI2OTc3LDUwLjM2ODYzNjggNjcuODkwMjgyMiw1MS41NjA4NDUgTDU3Ljc5NjIzODMsNjEuNzMxMDMyNSBMNTUuODQ5NTI5OCw2My42ODMxMyBMNTEuODExOTEyMiw2Ny43NTYwMjUgTDQ4LjkyNzg5OTcsNjQuMDQ0NjI5NiBMMzUuMjA0ODA2Nyw0Ni4zMzExNTE1IEMzNC4zOTI4NTk2LDQ1LjIzOTIwNTUgMzMuMTE0MzI3MSw0NC41OTU5MjU1IDMxLjc1NjAwODQsNDQuNTk1OTI1NSBDMzAuMzk3Njg5Nyw0NC41OTU5MjU1IDI5LjExOTE1NzEsNDUuMjM5MjA1NSAyOC4zMDcyMTAxLDQ2LjMzMTE1MTUgTDguNzQzOTkxNjgsNzAuMDY5NjIyMSBMOC43NDM5OTE2OCwxOC41OTIwODU3IEM4LjU1MTk5NTA0LDE1LjU5MDgyOTcgMTAuODIyMTM0OSwxMy4wMDE1MzE4IDEzLjgxNTA0NywxMi44MDgwOTI4IEw4My41MTIwMTY3LDEyLjgwODA5MjggQzg2LjU5NzM3NzksMTMuMDI5NTA2MSA4OS4wNDgwOTA3LDE1LjQ5NzI4NTcgODkuMjU2MDA4MywxOC41OTIwODU3IEw4OS4yNTYwMDgzLDY5Ljg1MjcyMjQgWiBNNjkuNDc2NDg5MSwyNi45MDY1NzU1IEM2Ni4wODY2Mjk1LDIzLjUxMzU3MyA2MC41OTYxNDQyLDIzLjUxNjk0NTcgNTcuMjEwNDMyOCwyNi45MTQxMTA0IEM1My44MjQ3MjE0LDMwLjMxMTI3NSA1My44MjQ3MjE0LDM1LjgxNjk2MDggNTcuMjEwNDMyOCwzOS4yMTQxMjU0IEM2MC41OTYxNDQyLDQyLjYxMTI5IDY2LjA4NjYyOTUsNDIuNjE0NjYyNyA2OS40NzY0ODkxLDM5LjIyMTY2MDMgQzcxLjEwNzAxNzgsMzcuNTg5NjE5OCA3Mi4wMjMyOTEzLDM1LjM3NDI5NTQgNzIuMDIzMjkxMywzMy4wNjQxMTc5IEM3Mi4wMjMyOTEzLDMwLjc1Mzk0MDQgNzEuMTA3MDE3OCwyOC41Mzg2MTU5IDY5LjQ3NjQ4OTEsMjYuOTA2NTc1NSBMNjkuNDc2NDg5MSwyNi45MDY1NzU1IFoiIGlkPSLlvaLnirYiIGZpbGw9IiM4NTg1ODUiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgIDxwb2x5Z29uIGlkPSLot6/lvoQiIGZpbGw9IiNGRkZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgcG9pbnRzPSI2NCA2Ni42OTYxNzAyIDUyLjU1MTUzNzEgODggMzggODggNTQuNDU1Njk2MiA3MS42MDUxMDY0IDUwLjYyMjY5MjEgNjYuMjIyMDg3OSA1OC4xMjI5NjU2IDYwIj48L3BvbHlnb24+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"image-message-body","data-origin":t.imageUri,onClick:this.handleClick},t.content?Z("img",{src:jn(t.content),onError:this.onError}):null))}}]),n}(eo),lo=function(t){Le(n,t);var e=je(n);function n(){return Ve(this,n),e.apply(this,arguments)}return We(n,[{key:"create",value:function(){var t=gn.lang?gn.lang:Sn.zh_CN,e=Sn[t],n="["+e.message.location+"]"+e.message.nonsupport;return this.wrap(Z("div",{class:"location-message-body"},Z("p",null,n)))}}]),n}(eo),fo=function(t){Le(n,t);var e=je(n);function n(){return Ve(this,n),e.apply(this,arguments)}return We(n,[{key:"create",value:function(){var t,e=this,n=gn.lang?gn.lang:Sn.zh_CN,r=Sn[n];return this.direction===Te["g"].SEND?t=r.message.you+" ":this.conversationType===Te["a"].PRIVATE?gn.getConversationProfile({targetId:this.targetId,conversationType:Te["a"].PRIVATE,channelId:this.channelId}).then((function(n){t=n?n.name:e.senderUserId,e.nameRef.innerText=t+" "})):this.conversationType===Te["a"].GROUP&&gn.getGroupMemberProfile({targetId:this.targetId,conversationType:Te["a"].GROUP,channelId:this.channelId},this.senderUserId).then((function(n){t=n&&(n.groupNickname||n.name)||e.senderUserId,e.nameRef.innerText=t+" "})),this.wrap(Z("div",{class:"recall-message-body"},Z("div",{class:"tip-content"},Z("span",{ref:function(t){return e.nameRef=t}},t),r.message.msgRecall)))}}]),n}(eo),ho=function(t){Le(n,t);var e=je(n);function n(t,r){var i;return Ve(this,n),i=e.call(this,t,r),i.getName(t),i}return We(n,[{key:"getName",value:function(t){var e=this;this.name=this.content.referMsgUserId;var n={conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId};if(t.conversationType===Te["a"].GROUP)gn.getGroupMemberProfile(n,this.name).then((function(t){t&&(e.name=t.groupNickname||t.name,e.nameRef&&(e.nameRef.innerText=e.name))}));else if(t.conversationType===Te["a"].PRIVATE){var r;r=t.content.referMsgUserId===Object(Te["t"])()?gn.getMyProfile():gn.getConversationProfile(n),r.then((function(t){t&&(e.name=t.displayName||t.name,e.nameRef&&(e.nameRef.innerText=e.name))}))}}},{key:"getRererenceContent",value:function(t,e){var n="",r="",i=gn.lang?gn.lang:Sn.zh_CN,o=Sn[i];switch(t){case Te["h"].TEXT:n=e.content.content,r=Bn(n),n=Z("div",{innerHTML:r,class:"referenced-message-text"},Z("div",{class:"quote quoteContent",innerHTML:r}));break;case Te["h"].IMAGE:n=Z("img",{src:jn(e.content.content)});break;case Te["h"].GIF:n=Z("img",{src:e.content.remoteUrl});break;case Te["h"].FILE:n="["+o.conversation.file+"]"+" ".concat(e.content.name);break;case Te["h"].RICH_CONTENT:n="["+o.conversation.img+"]"+" ".concat(e.content.title);break;case Te["h"].REFERENCE:n=e.content.content;break}return n}},{key:"create",value:function(){var t=this,e=this.content;return this.wrap(Z("div",{class:"reference-message-body"},Z("div",{class:"reference-message-content"},Z("div",{class:"user",ref:function(e){return t.nameRef=e}},this.name),Z("div",{class:"content"},this.getRererenceContent(e.objName,e.referMsg))),Z("div",{class:"message-content",innerHTML:Bn(e.content)})))}}]),n}(eo),po=function(t){Le(n,t);var e=je(n);function n(t,r){var i;return Ve(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Pe(i)),i}return We(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"richContent",url:this.content.url})}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"rich-message-body","data-url":t.url,onClick:this.handleClick},Z("div",{class:"title"},t.title),Z("div",{class:"content"},t.imageUri?Z("img",{src:t.imageUri}):null,Z("p",null,t.content))))}}]),n}(eo),go=function(t){Le(n,t);var e=je(n);function n(t,r){var i;return Ve(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Pe(i)),i}return We(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"sight",url:this.content.sightUrl,thumb:this.content.content,duration:this.content.duration,size:this.content.size,name:this.content.name})}},{key:"formatDuration",value:function(t){var e=Math.floor(t/3600)>=10?Math.floor(t/3600):"0"+Math.floor(t/3600);t-=3600*e;var n=Math.floor(t/60)>=10?Math.floor(t/60):"0"+Math.floor(t/60);t-=60*n;var r=t>=10?t:"0"+t;return 1*e>0?e+":"+n+":"+r:n+":"+r}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"sight-message-body","data-origin":t.imageUri,onClick:this.handleClick},Z("img",{class:"sight-conver",src:jn(t.content)}),Z("div",{class:"file-duration"},this.formatDuration(t.duration)),Z("div",{class:"start-play-btn"},Z("button",null))))}}]),n}(eo),vo=function(t){Le(n,t);var e=je(n);function n(){return Ve(this,n),e.apply(this,arguments)}return We(n,[{key:"create",value:function(){var t=this.content.content;return t=Bn(t),this.wrap(Z("div",{class:"text-message-body"},Z("p",{innerHTML:t})))}}]),n}(eo),yo={"RC:RcCmd":fo,"RC:InfoNtf":null,"RC:ContactNtf":null,"RC:ProfileNtf":null,"RC:CmdNtf":null,"RC:GrpNtf":null},mo=(be={},xe(be,Te["h"].TEXT,vo),xe(be,Te["h"].IMAGE,uo),xe(be,Te["h"].FILE,io),xe(be,Te["h"].SIGHT,go),xe(be,Te["h"].HQ_VOICE,co),xe(be,Te["h"].GIF,oo),xe(be,Te["h"].REFERENCE,ho),xe(be,Te["h"].RICH_CONTENT,po),xe(be,Te["h"].LOCATION,lo),xe(be,"RC:VcMsg",co),be);function Io(t,e){var n=mo[t.messageType]||yo[t.messageType];return n?new n(t,e).create():"不识别的消息内容"}var Mo=".message-item{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start;margin:0 1.5em;padding:2em 0}.ntf-message-item{display:block}.ntf-message-item .tip-content{text-align:center}.message-item.receiver{-ms-flex-direction:row;flex-direction:row}.message-item.poster{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.message-item .avatar{width:6em;height:6em;border-radius:50%;background:#4790ee;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;overflow:hidden;-ms-flex-negative:0;flex-shrink:0}.message-item .avatar img{min-width:100%}.message-item .message-body-wrapper{position:relative;padding:0 1.6em;max-width:50em;-webkit-box-sizing:border-box;box-sizing:border-box}.message-item .message-body-wrapper .name{color:#a0a5ab;font-size:1.8em;line-height:1;margin:0 0 0.4em}.message-item .message-body{font-size:2.4em;border:0.1em solid #ccc;border-radius:1em;position:relative}.message-body .receive-status{width:3.67em;position:absolute;left:-4.2em;bottom:-0.2em;font-size:0.75em;color:#0099ff;text-align:right}.message-item.poster .message-body{border-radius:0.6667em 0.16666em 0.6667em 0.6667em;background:#d7eefd;border:1px solid #bdd9eb}.message-item.receiver .message-body{border-radius:0.16666em 0.6667em 0.6667em 0.6667em;border:1px solid #e2e4e5;background:#fff}.message-content p{margin:0;padding:0;line-height:1.5;font-weight:400;word-break:break-word}.time-separation,.message-group-notifi{font-size:2em;text-align:center;padding:1.5em;color:#a0a5ab}.message-item.fail .receive-status,.message-item.sending .receive-status{display:none}.message-item.sending .message-body::before,.message-item.fail .message-body::before{content:' ';display:block;width:1.6667em;height:1.6667em;background-repeat:no-repeat;background-size:contain;position:absolute;left:-2.2em;bottom:0}.message-item.fail .message-body::before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjVweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjUgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5oSf5Y+55Y+3PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC02MzkuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuaEn+WPueWPtyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjQwMDAwMCwgNjM5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjUwMDAwMCwgMS41MDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRjQxNDEiIGN4PSIxMC41IiBjeT0iMTAuNSIgcj0iMTAuNSI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgeD0iOS43NSIgeT0iNS4yNSIgd2lkdGg9IjEuNSIgaGVpZ2h0PSI3LjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRkZGRkYiIGN4PSIxMC41IiBjeT0iMTUiIHI9IjEiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.message-item.sending .message-body::before{content:' ';display:inline-block;width:1.5em;height:1.5em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjhweCIgaGVpZ2h0PSIyOHB4IiB2aWV3Qm94PSIwIDAgMjggMjgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+bG9hZGluZzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9Ijk0LjA4NjkxNDElIiB5MT0iMCUiIHgyPSI5NC4wODY5MTQxJSIgeTI9IjkwLjU1OTA4MiUiIGlkPSJsaW5lYXJHcmFkaWVudC0xIj4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjAlIj48L3N0b3A+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIHN0b3Atb3BhY2l0eT0iMC4zIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iMTAwJSIgeTE9IjguNjczNzA2MDUlIiB4Mj0iMTAwJSIgeTI9IjkwLjYyODY2MjElIiBpZD0ibGluZWFyR3JhZGllbnQtMiI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwLjMiIG9mZnNldD0iMTAwJSI+PC9zdG9wPgogICAgICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTQyLjAwMDAwMCwgLTkxMS4wMDAwMDApIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0i572R57uc5LiN5Y+v55So5o+Q56S6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgNTc5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9ImxvYWRpbmciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0Mi4wMDAwMDAsIDMzMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iTG9hZGluZ0JyYW5kIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTEyLDAgQzE4LjYyNzQxNywwIDI0LDUuMzcyNTgzIDI0LDEyIEMyNCwxOC42Mjc0MTcgMTguNjI3NDE3LDI0IDEyLDI0IEwxMiwyMS45IEMxNy40Njc2MTksMjEuOSAyMS45LDE3LjQ2NzYxOSAyMS45LDEyIEMyMS45LDYuNTMyMzgwOTkgMTcuNDY3NjE5LDIuMSAxMiwyLjEgTDEyLDAgWiIgaWQ9Iui3r+W+hCIgZmlsbD0idXJsKCNsaW5lYXJHcmFkaWVudC0xKSI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTIsMCBMMTIsMi4xIEM2LjUzMjM4MDk5LDIuMSAyLjEsNi41MzIzODA5OSAyLjEsMTIgQzIuMSwxNy40Njc2MTkgNi41MzIzODA5OSwyMS45IDEyLDIxLjkgTDEyLDI0IEM1LjM3MjU4MywyNCAwLDE4LjYyNzQxNyAwLDEyIEMwLDUuMzcyNTgzIDUuMzcyNTgzLDAgMTIsMCBaIiBpZD0i6Lev5b6EIiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTIpIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgIDxjaXJjbGUgaWQ9Ik92YWwiIGZpbGw9IiM4Rjk0OUEiIGN4PSIxMi4xNSIgY3k9IjEuMDUiIHI9IjEuMDUiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;-webkit-animation:loading 1s infinite;animation:loading 1s infinite;vertical-align:middle;}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.text-message-body,.location-message-body{padding:0.5em 0.8333em}.file-message-body{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0.83333em;display:-ms-flexbox;display:flex;max-width:20em;-ms-flex-align:center;align-items:center;}.file-message-body .file-message-icon{width:3.5em;height:3.5em;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;background-repeat:no-repeat;background-size:contain;margin:0 0.833333em 0 0}.file-message-body .file-message-icon.file-icon{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotf5pyq55+lPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgb3BhY2l0eT0iMC43Ij4KICAgICAgICA8ZyBpZD0i54q25oCB5YiH5Zu+IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExLjAwMDAwMCwgLTcwMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Imljb25f5paH5Lu257G75Z6LX+acquefpSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjExLjAwMDAwMCwgNzAwLjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zOC1Db3B5LTQiIGZpbGw9IiNCNUI5QkMiIHg9IjAiIHk9IjAiIHdpZHRoPSI4NCIgaGVpZ2h0PSI4NCIgcng9IjYiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC04IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMS4wMDAwMDAsIDE0LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNS41NDYzNTQyLDAgTDQxLjgwMywxNi4xNyBMNDEuODAzMTI1LDUzLjYyMDU4NTMgQzQxLjgwMzEyNSw1NC43ODk3MjUgNDAuODUxNDY1Miw1NS43Mzc1IDM5LjY3MjYzMDgsNTUuNzM3NSBMMi4xMzA0OTQyNCw1NS43Mzc1IEMwLjk1Mzg1NDc2MSw1NS43Mzc1IDAsNTQuNzkzNDU3OSAwLDUzLjYyMDU4NTMgTDAsMi4xMTY5MTQ2OSBDMCwwLjk0Nzc3NDk5IDAuOTUxNjU5Nzk2LDAgMi4xMzA0OTQyNCwwIEwyNS41NDYzNTQyLDAgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI1LjU0NjM1NDIsMCBMNDEuODQxOTYzOSwxNi4yMDg4NjAxIEwyNi42MTU1NTQ2LDE2LjIwODg2MDEgQzI2LjAyNTA1MTUsMTYuMjA4ODYwMSAyNS41NDYzNTQyLDE1Ljc0MTI0MDkgMjUuNTQ2MzU0MiwxNS4xNDUzNTE1IEwyNS41NDYzNTQyLDAgWiIgaWQ9IlRyaWFuZ2xlLTMiIGZpbGw9IiNENkQ2RDYiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-zip{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfemlwPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC04MDYuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei196aXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDgwNi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC0xMi1Db3B5IiBmaWxsPSIjRkZCRDRDIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTM4LUNvcHktNCIgeD0iMCIgeT0iMCIgd2lkdGg9Ijg0IiBoZWlnaHQ9Ijg0IiByeD0iNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMzLjAwMDAwMCwgMC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMiIHg9IjguNTk5NSIgeT0iMCIgd2lkdGg9IjguNTk5NSIgaGVpZ2h0PSIyMC45MDE1NjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHkiIHg9IjAiIHk9IjIwLjkwMTU2MjUiIHdpZHRoPSI4LjU5OTUiIGhlaWdodD0iOC4zNjA2MjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMtQ29weS0yIiB4PSI4LjU5OTUiIHk9IjI5LjI2MjE4NzUiIHdpZHRoPSI4LjU5OTUiIGhlaWdodD0iOC4zNjA2MjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMtQ29weS0zIiB4PSIwIiB5PSIzNy42MjI4MTI1IiB3aWR0aD0iOC41OTk1IiBoZWlnaHQ9IjguMzYwNjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHktNCIgeD0iOC41OTk1IiB5PSI0NS45ODM0Mzc1IiB3aWR0aD0iOC41OTk1IiBoZWlnaHQ9IjguMzYwNjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHktNSIgeD0iOC41OTk1IiB5PSI1NC4zNDQwNjI1IiB3aWR0aD0iOC41OTk1IiBoZWlnaHQ9IjguMzYwNjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHktNiIgeD0iMCIgeT0iNTQuMzQ0MDYyNSIgd2lkdGg9IjguNTk5NSIgaGVpZ2h0PSI4LjM2MDYyNSI+PC9yZWN0PgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.file-message-body .file-message-icon.file-word{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfZG9jPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0yNzQuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19kb2MiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDI3NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC02IiBmaWxsPSIjNjBBN0ZFIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTM4IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMjIuOTU0NTQ1NSwyMCBMMjIuOTU0LDU0LjQ0MyBMNDEuNDQ0MzQ2NCwzNi4wMDUwOTYyIEw0Ni4yMTk4NDI5LDQwLjc2NzI1MDYgTDQ2LjIxMyw0MC43NzMgTDYwLjA0NSw1NC40MzggTDYwLjA0NTQ1NDUsMjAgTDY3LDIwIEw2Nyw2My45MjIzOTgyIEw2MC4xNTMsNjMuOTIyIEw2MC4wNzkyNjk5LDY0IEw0MS41LDQ1LjQ3MyBMMjIuOTU5NDI2OSw2My45NjI2ODA1IEwyMi45MjEsNjMuOTIyIEwxNiw2My45MjIzOTgyIEwxNiwyMCBMMjIuOTU0NTQ1NSwyMCBaIiBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-xls{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfZXhjZWw8L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i54q25oCB5YiH5Zu+IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExLjAwMDAwMCwgLTQ4OC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Imljb25f5paH5Lu257G75Z6LX2V4Y2VsIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEuMDAwMDAwLCA0ODguMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTM4LUNvcHktMiIgZmlsbD0iIzAyRDFBNSIgeD0iMCIgeT0iMCIgd2lkdGg9Ijg0IiBoZWlnaHQ9Ijg0IiByeD0iNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTYzLDIxIEw0Ni45NzEsNDEuNSBMNjMsNjIgTDUzLjAzODU4MTksNjEuOTc2NzkwNSBMNDEuOTk5LDQ3Ljg1OCBMMzAuOTYxNDE4MSw2MS45NzY3OTA1IEwyMSw2MiBMMzcuMDI4LDQxLjUgTDIxLDIxIEwzMC45NjE0MTgxLDIxLjAyMzIwOTUgTDQyLDM1LjE0MSBMNTMuMDM4NTgxOSwyMS4wMjMyMDk1IEw2MywyMSBaIiBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-ppt{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfcHB0PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC05MTIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19wcHQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDkxMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weS01IiBmaWxsPSIjRkY4NjU0IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMjYsMjAgTDQ1Ljg2MDcxODIsMjAgQzQ4LjQ3MjI2NTUsMjAgNTAuNzc2OTIxNSwyMC40MjAyOTE0IDUyLjc3NDc1NTIsMjEuMjYwODg2OCBDNTQuNzcyNTg4OSwyMi4xMDE0ODIyIDU2LjQ1NzAxMTYsMjMuMjAwNzA1OCA1Ny44MjgwNzQsMjQuNTU4NTkwNyBDNTkuMTk5MTM2MywyNS45MTY0NzU1IDYwLjIzNzIxMDgsMjcuNDQyNDU2NiA2MC45NDIzMjg2LDI5LjEzNjU3OTYgQzYxLjY0NzQ0NjQsMzAuODMwNzAyNiA2MiwzMi41MTgzMzQyIDYyLDM0LjE5OTUyNDkgQzYyLDM2LjAzNTkwMjYgNjEuNjQwOTE3NiwzNy44MDc1OTI0IDYwLjkyMjc0MjEsMzkuNTE0NjQ3NyBDNjAuMjA0NTY2Niw0MS4yMjE3MDI5IDU5LjE1OTk2MzMsNDIuNzQxMjE3OSA1Ny43ODg5MDEsNDQuMDczMjM4MyBDNTYuNDE3ODM4Niw0NS40MDUyNTg3IDU0LjczMzQxNTksNDYuNDcyMTUyMiA1Mi43MzU1ODIyLDQ3LjI3Mzk1MDkgQzUwLjczNzc0ODQsNDguMDc1NzQ5NiA0OC40NDYxNSw0OC40NzY2NDI5IDQ1Ljg2MDcxODIsNDguNDc2NjQyOSBMMzQuMjY1NTA2LDQ4LjQ3NjY0MjkgTDM0LjI2NTUwNiw2OSBMMjYsNjkgTDI2LDIwIFogTTM0LjI2NTUwNiw0Mi44NTExNDgxIEw0NS44NjA3MTgyLDQyLjg1MTE0ODEgQzQ2LjkwNTMzNzEsNDIuODUxMTQ4MSA0Ny45MTA3Njc3LDQyLjYyNDgzNzMgNDguODc3MDQwMyw0Mi4xNzIyMDkgQzQ5Ljg0MzMxMjgsNDEuNzE5NTgwNyA1MC42ODU1MjQyLDQxLjA5ODg0MjcgNTEuNDAzNjk5Nyw0MC4zMDk5NzYyIEM1Mi4xMjE4NzUyLDM5LjUyMTEwOTggNTIuNjk2NDA3LDM4LjU5NjQ2ODcgNTMuMTI3MzEyMywzNy41MzYwMjUzIEM1My41NTgyMTc2LDM2LjQ3NTU4MTkgNTMuNzczNjY3LDM1LjMzNzU2MjIgNTMuNzczNjY3LDM0LjEyMTkzMTkgQzUzLjc3MzY2NywzMi45MzIxNjYxIDUzLjU3MTI3NTEsMzEuODI2NDc2NSA1My4xNjY0ODUzLDMwLjgwNDgyOTggQzUyLjc2MTY5NTUsMjkuNzgzMTgzMSA1Mi4yMDY3NSwyOC45MDM4MDQyIDUxLjUwMTYzMjIsMjguMTY2NjY2NyBDNTAuNzk2NTE0NCwyNy40Mjk1MjkyIDQ5Ljk2MDgzMTgsMjYuODQ3NTg3MiA0OC45OTQ1NTkzLDI2LjQyMDgyMzQgQzQ4LjAyODI4NjgsMjUuOTk0MDU5NiA0Ni45ODM2ODM1LDI1Ljc4MDY4MDkgNDUuODYwNzE4MiwyNS43ODA2ODA5IEwzNC4yNjU1MDYsMjUuNzgwNjgwOSBMMzQuMjY1NTA2LDQyLjg1MTE0ODEgWiIgaWQ9IlAiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-pdf{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfcGRmPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC01OTQuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19wZGYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDU5NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weS0zIiBmaWxsPSIjRjM2NjY2IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0icGRmIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOS4wMDAwMDAsIDE5LjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOS44ODk5NTUxLDMwLjI0MTE4MDkgQzI0LjY5ODg4OTksMzEuMzgyNTY3OSAxOS43NTk5Mjk0LDMzLjAzMzM2NTkgMTQuODIwOTY4OCwzNS4wNjcxNzk2IEMxMC44OTQyNDY5LDQyLjA1MzM4NzMgNy4yMTk2Mjk3Myw0NS42MTE2MDM4IDQuMDUzMDQxNzQsNDUuNjExNjAzOCBDMy40MTg5NjAxOCw0NS42MTE2MDM4IDIuNjU4ODI2MjcsNDUuNDg1MjA4NiAyLjE1MDc5NzA4LDQ1LjEwMjE5MjggQzAuODI0MDMxNTY4LDQ0LjQ4MDk5NTggLTAuMDE3MjE5NjYzNiw0My4xMzg1MjQ2IDAuMDAwMjY3NDczMDgzLDQxLjY3MDM3MTUgQzAuMDAwMjY3NDczMDgzLDQwLjUyODk4NDUgMC4yNTIzNzIxODcsMzcuMzUzNzgzOCAxMi4yODQ2NDI2LDMyLjE0ODU5OTQgQzE1LjAxNDYxMTYsMjcuMTIzOTMxNiAxNy4yNjE4MzkyLDIxLjg1MDMyMTQgMTguOTk1OTc1NywxNi4zOTg5OTEgQzE3LjQ3OTUyNzYsMTMuMzUwMTg1NCAxNC4xODMwNjc1LDUuODU4Mzk2OTcgMTYuNDYzNDY5MiwyLjA0NzM5MDA2IEMxNy4yMjM2MDMxLDAuNjQ5MzgyNDk3IDE4Ljc0Mzg3MSwtMC4xMTI4MTg4ODYgMjAuMzkwMTkxMSwwLjAxMzU3NjMxODMgQzIxLjY4MjUyMTYsMC4wMjY3OTYyNTY0IDIyLjg5Njg4NiwwLjYzNTYyOTkzNSAyMy42ODI4MzE1LDEuNjY0Mzc0MjkgQzI1LjMyOTE1MTcsMy45NTA5Nzg0NCAyNS4xOTkyNzk1LDguNzc2OTc3MTQgMjMuMDUyNTY5NywxNS44ODk1OCBDMjUuMDgwMzE2OCwxOS42OTY0NzE1IDI3LjczNTU3NjgsMjMuMTMyMDU3NiAzMC45MDYwMTM1LDI2LjA1MDk4ODQgQzMzLjU2NDU3MjMsMjUuNTQ1NDA3NiAzNi4yMjY5NTA5LDI1LjE2MjM5MTggMzguODg1NTA5NywyNS4xNjIzOTE4IEM0NC44NDA1Mjg2LDI1LjI4ODc4NyA0NS43MjY3MTQ5LDI4LjA4ODYzMjMgNDUuNjAwNjYyNSwyOS43MzE3Njk5IEM0NS41OTY4NDI4LDM0LjA1MjE4NzggNDEuNDE0MTk2NCwzNC4wNTIxODc4IDM5LjI2MzY2NjgsMzQuMDUyMTg3OCBDMzUuODEyNDI4NiwzMy44MjI0MTA2IDMyLjUyNjI0MTEsMzIuNDg2MzY3NCAyOS44ODk5NTUxLDMwLjI0MTE4MDkgWiBNMy44MDA5MzcwMiw0MS45MjY5OTIxIEw0LjE3OTA5NDA5LDQxLjgwMDU5NjkgQzUuOTUxNDY2NjMsNDEuMTY0NzkwNyA3LjM0NTY4MjA5LDM5Ljg5NzAwODUgOC4zNTc5MjA3MSwzOC4yNDIzODA0IEM2LjQ1NTY3NjA1LDM5LjAwODQxMTkgNC45MzkyMjgsNDAuMjcyMzYzOSAzLjgwMDkzNzAyLDQxLjkyNjk5MjEgTDMuODAwOTM3MDIsNDEuOTI2OTkyMSBaIE0yMC42NDYxMTU2LDMuODI0NTgzMjMgTDIwLjI2NDEzODgsMy44MjQ1ODMyMyBDMjAuMTM4MDg2NCwzLjgyNDU4MzIzIDE5Ljg4MjE2MTksMy44MjQ1ODMyMyAxOS43NTYxMDk2LDMuOTUwOTc4NDQgQzE5LjI1MTkwMDIsNi4xMTExODczOCAxOS42MzAwNTcyLDguMzk3NzkxNTMgMjAuNTIwMDYzMywxMC40MzE2MDUzIEMyMS4yNTQwNjYxLDguMjk3Mzc2MjkgMjEuMjk4MTc1Myw1Ljk4NTQwMDMxIDIwLjY0NjExNTYsMy44MjQ1ODMyMyBMMjAuNjQ2MTE1NiwzLjgyNDU4MzIzIFogTTIxLjUzMjMwMTksMjIuMjM5OTgxNSBMMjEuNDA2MjQ5NSwyMi40OTY2MDIgTDIxLjI3NjM3NzQsMjIuMzY2Mzc2NyBDMjAuMTM4MDg2NCwyNS4yODg3ODcgMTguODY5OTIzMywyOC4yMDczNjcyIDE3LjQ3NTcwNzksMzEuMDAzMzgyMyBMMTcuNzI3ODEyNiwzMC44NzY5ODcxIEwxNy43Mjc4MTI2LDMxLjEyOTc3NzUgQzIwLjU0NjA5NzksMzAuMTEyMzM3NSAyMy40MjIzOTgyLDI5LjI2NDM2NjggMjYuMzQxMzkwMywyOC41OTAzODI5IEwyNi4yMTkxNTc3LDI4LjQ2Mzk4NzcgTDI2LjYwMTEzNDUsMjguNDYzOTg3NyBDMjQuNjk4OTc0LDI2LjU3Mjg5MDEgMjMuMDAwMDUyOSwyNC40ODY3ODk0IDIxLjUzMjMwMTksMjIuMjM5OTgxNSBMMjEuNTMyMzAxOSwyMi4yMzk5ODE1IFogTTM4Ljc1NTYzNzYsMjguOTczMzk4NyBDMzcuNjE3MzQ2NiwyOC45NzMzOTg3IDM2LjYwNTEwOCwyOC45NzMzOTg3IDM1LjQ2NjgxNywyOS4yMjYxODkxIEMzNi43MzExNjAzLDI5Ljg1ODE2NTEgMzcuOTk5MzIzNCwzMC4xMTQ3ODU3IDM5LjI2MzY2NjgsMzAuMjQxMTgwOSBDNDAuMTQ5ODUzLDMwLjM2NzU3NjEgNDEuMDM5ODU5MSwzMC4yNDExODA5IDQxLjc5NjE3MzIsMjkuOTg4MzkwNSBDNDEuNzk2MTczMiwyOS42MDkyMDQ5IDQxLjI4ODE0NCwyOC45NzMzOTg3IDM4Ljc1NTYzNzYsMjguOTczMzk4NyBMMzguNzU1NjM3NiwyOC45NzMzOTg3IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.file-message-body .file-message-icon.file-audio{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfbXAzPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0zODIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19tcDMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDM4Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weSIgZmlsbD0iIzg5RDA0MiIgeD0iMCIgeT0iMCIgd2lkdGg9Ijg0IiBoZWlnaHQ9Ijg0IiByeD0iNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTM3LjQ3NTIyMjcsMzEuNzU2NTMyMyBMNTEuODYwODE3MSw1Ni4yNDQyMzQgQzU0LjQ1OTc1Miw2MC42NjgyMzkgNTIuNDYxMjgxNSw2Ni41ODQwMTU4IDQ3LjM5NzEwODQsNjkuNDU3NDkxMyBDNDIuMzMyOTM1Myw3Mi4zMzA5NjY5IDM2LjEyMDc1ODksNzEuMDc0MDE0NCAzMy41MjE4MjQxLDY2LjY1MDAwOTQgQzMwLjkyMjg4OTIsNjIuMjI2MDA0NCAzMi45MjEzNTk3LDU2LjMxMDIyNzYgMzcuOTg1NTMyOCw1My40MzY3NTIxIEM0MC44NjYwNDQ3LDUxLjgwMjMxMzQgNDQuMTE3OTc2Niw1MS41MDQyMTU4IDQ2Ljg2NTEyNzQsNTIuMzY1MTcxNCBMMzEsMjUuMzU4OTUyOCBMMzEuMjQ4NDgzOCwyNS4yMTc5NiBMMzEuMjQwMzE0NCwyNS4yMDYyOTgzIEMzMS4yNDAzMTQ0LDI1LjIwNjI5ODMgMzEuNDIzNDIxNSwyNS4xMTA4NzI3IDMxLjc0NzU5NjEsMjQuOTM0NzU3NCBMMzMuMDM3NjY1OSwyNC4yMDI3NTU1IEwzMy4wNDMyNDAzLDI0LjIxMjI0NDQgQzM2LjUzMDQ0OCwyMi4yMjE1Mjk2IDQzLjk1MDU0OTEsMTcuNjI5MzUwNyA0NS4wMDg2MzA2LDE0LjA0NDI2ODUgQzQ2LjM5OTEyMDQsOS4zMzI4OTE4OSA1Mi4xMzQ5MjcxLDIxLjgxMzIxMDQgNDYuMzc2NTA1MSwyNi42MzM0MDI0IEM0Mi41NDQyMDQ3LDI5Ljg0MTI5OTMgMzkuMjUwMTE5NCwzMS4yMDM4OTUxIDM3LjQ3NTIyMjcsMzEuNzU2NTMyMyBMMzcuNDc1MjIyNywzMS43NTY1MzIzIFoiIGlkPSJDb21iaW5lZC1TaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.file-message-body .file-message-icon.file-plain{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfdHh0PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0xMTI0LjAwMDAwMCkiPgogICAgICAgICAgICA8ZyBpZD0iaWNvbl/mlofku7bnsbvlnotfdHh0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEuMDAwMDAwLCAxMTI0LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTEyLUNvcHkiIGZpbGw9IiMzRUE5RkYiPgogICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weS00IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjEuMDAwMDAwLCAyMy4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4yNzk1MDAsIDAuMzc0NzA2KSI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtNSIgeD0iMCIgeT0iMCIgd2lkdGg9IjQxLjkyNSIgaGVpZ2h0PSI3LjAyNTczNTI5IiByeD0iMC42MzciPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTEuNjkzMjUsMTkuOTI1MzY3NiBMNDAuMjMxNzUsMTkuOTI1MzY3NiBDNDAuNTgzNTU1NCwxOS45MjUzNjc2IDQwLjg2ODc1LDIwLjIxMDU2MjMgNDAuODY4NzUsMjAuNTYyMzY3NiBMNDAuODY4NzUsMjYuMjc1ODY3NiBDNDAuODY4NzUsMjYuNjI3NjczIDQwLjU4MzU1NTQsMjYuOTEyODY3NiA0MC4yMzE3NSwyNi45MTI4Njc2IEwxLjY5MzI1LDI2LjkxMjg2NzYgQzEuMzQxNDQ0NjEsMjYuOTEyODY3NiAxLjA1NjI1LDI2LjYyNzY3MyAxLjA1NjI1LDI2LjI3NTg2NzYgTDEuMDU2MjUsMjAuNTYyMzY3NiBDMS4wNTYyNSwyMC4yMTA1NjIzIDEuMzQxNDQ0NjEsMTkuOTI1MzY3NiAxLjY5MzI1LDE5LjkyNTM2NzYgWiIgaWQ9IlJlY3RhbmdsZS01LUNvcHkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIwLjk2MjUwMCwgMjMuNDE5MTE4KSByb3RhdGUoLTI3MC4wMDAwMDApIHRyYW5zbGF0ZSgtMjAuOTYyNTAwLCAtMjMuNDE5MTE4KSAiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.file-message-body .file-message-icon.file-video{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfbXA0PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0xMDE4LjAwMDAwMCkiPgogICAgICAgICAgICA8ZyBpZD0iaWNvbl/mlofku7bnsbvlnotfbXA0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEuMDAwMDAwLCAxMDE4LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zOC1Db3B5LTYiIGZpbGw9IiNBMzk2RTgiIHg9IjAiIHk9IjAiIHdpZHRoPSI4NCIgaGVpZ2h0PSI4NCIgcng9IjYiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik02Mi4zNDQ4NDI5LDI1IEM2My44MTEyNDU3LDI1IDY1LDI2LjE4NDU2NzkgNjUsMjcuNjU5NDE1NyBMNjUsNTcuMzQwNTg0MyBDNjUsNTguODA5MzM5IDYzLjgxNjY4ODcsNjAgNjIuMzQ0ODQyOSw2MCBMMjEuNjU1MTU3MSw2MCBDMjAuMTg4NzU0Myw2MCAxOSw1OC44MTU0MzIxIDE5LDU3LjM0MDU4NDMgTDE5LDI3LjY1OTQxNTcgQzE5LDI2LjE5MDY2MSAyMC4xODMzMTEzLDI1IDIxLjY1NTE1NzEsMjUgTDYyLjM0NDg0MjksMjUgWiBNMzcuMSwzNS4yNjU5Njk2IEwzNy4xLDUwLjg5MDY5OTMgQzM3LjEsNTIuMzU0MzUxMiAzOC4wNTM2MTMzLDUyLjgyOTk2OCAzOS4yMzE1MzU5LDUxLjk1MTg0MDYgTDQ5LjAwMjk0NjksNDQuNjY3MzY5MiBDNTAuMTgwMTYxNyw0My43ODk3Njk1IDUwLjE4MDg2OTUsNDIuMzY3NDI3IDQ5LjAwMjk0NjksNDEuNDg5Mjk5NyBMMzkuMjMxNTM1OSwzNC4yMDQ4MjgyIEMzOC4wNTQzMjExLDMzLjMyNzIyODYgMzcuMSwzMy44MDA3NzEyIDM3LjEsMzUuMjY1OTY5NiBaIiBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-image{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAFQCAMAAADeNtbrAAAAq1BMVEUAAACK0EOK0UOK0EOP4VGJ0UOK0EOK0UKJ0EKK0EOL0UKK0UOK0EOP10iQ2EiK0UKJ0EL////o9tv7/fmV1VX5/Pbv+OX9/vy4442P0kvV7ruz4Yb3/PLy+urt9+Ge2GSM0Ufo9dnh88/0+u7e8sqY1lqR00+K0ETM6q2t3nu85JTl9dXT7bir3Xil22+b11/E56Cv34DP7LLA5pui2mqo3HTa8MOL0UbH6aaB6/VOAAAAEHRSTlMApHnxCP3l2NC+f29MIBPyp/tPoQAAByJJREFUeNrs10sOwjAMRdGXpP82wftfLROEKB8JWiN5cM8SruIk1l5d0zwWw1fKOKe16qO2TIafTUvTO13mZB5UcqcX22A4bNj0JPeGE/q8H/dkOCk9jj09HSTdZYODrJuN+9NFv90uUN53J0PHwP9h6Bv/eTelSVoMbhZJ7O+OJqkaHFWtBkcrS5KvpNngaNZocDTqYnBUZHBFUILGRlCCxkZQgsZGUILGRlCCxkZQgsZGUILGRlCCxkZQgsZGUILGRlCCxkZQgsZG0Cs7dCwAAAAAMMjfeho7CiGhb0KFvgkV+iZU6JtQoW9Chb4JFfomVOibUKFvQoW+CRX6JlTom1Chb0KFvgkV+iZU6JtQoW9Chb4JFfomVOibUKFvQoW+CRX6Fvt2ltsqEERheAunwjwagwHPseMp+1/ZjWRFSRoaQ9NIdt3+FsDDL5VUQtUm6JMGXYWuRS/JcsMVxtEfdDanlzafQdkUQXcOvThnB2X6g85evieRM4Mq/UFffN7v5lCkP+iKWFhBjf6gIbEQQo3+oC6x4EKN/qAvun+KLKjRH5SYgAIT1ASVMkGfHRSYoCaolAn67KDABDVBpUzQZwcFJqgJKmWCPjsoMEFNUCkT9NlBgQlqgkqZoM8OCv6DoF662KQODWaCtnL9Cl/q8yGhYUzQNocM325+QUOYoE1WhN/snAYwQZt8/JUNKWqCNmwhClLqzQQVWTYadtSbCSpaokVOfZmgoj1a+NSXCSpwarSwqS8TVJCilUU9maCCHK1c6skEFWzQqqCeTFBBgjYZ9cUiaOqX5dolPWy02FMnZkHnFb5kS9LCR4vubzMLapW4uySkwRuaqpjk2AU94FsQkgZHNHxQB25BkwA/jjGNVtgQRCTHL6jw83JBo20C/HH0SI5d0A0Ea4fGerPx47akDvyCniF639BYsV/jLlgn1IVd0C2a6pNHYxXL6LKLDrlF3bgFdWy0maU0HdZBT2iXLWkynIMmGWT2CU2DddAj5IItTYJz0BydjgXpxzmoN0M3+0q6sQ76gYd8h/TiHDSu8FiZk06sg67Ry8kifTgHdW/oZ/ZGurAOukNft0+P9OAcdIEB9i7pwDmo944H9G/5rIMuMdCqoLE4B40rDFVdaRzWQX0oiGIag3PQtIYKOyd1rINeoGhtkSrOQa9Q9j4nNZyDWiXU1WpbPuugnxjl7NJwnIMWAcYJPmgo1kF9jLZLaBjOQefQoAppCNZB91ClvuVzDhpiBMWzMs5BrRJjKG35rIMeMI7KWRnnoEkGneqDRw95i6gsI5dn0AianVPqlp7s+/I65xh0A926z8rijzO+lQ7DoGdM4JJIRz3DLz6/oFtMIggloy5YcAvq2NBK/njE2e7RZMfMgp6glXTLz6MMrSJeQd0M2jXPytxDCakrq6BHTKrciKPeVBWMguaYWL32Azxw5BP0H7t2kqQgFARh2CPkEwFBEREnnNv5/ifrHb1sFrXIfFHfEf7QoCAyr8GgjCboHRS2bSRB51tw6CIJegCLUxRBFzuwKKoYgp7B4xVB0DWY3OWD5lcwKTL1oHtwuYgHpTmZenvtoFOwWS6Ug455TqbeMxcO+gKhr27QNxh9xqpBkw0o1blo0C9I3TSDtgVI7RrJoDPQuiaCQRsQewgGvYDZUS5oCWrXRCxoMgG3g1jQG9itpIJWS7DbpEpBiU+m3lQo6BEK1jpBn1AwmasEPUHDTCRoyn4y9d4aQR9QMZkrBM34T6bej0LQDkJK/qArKNm27EFJ1rWDdexBSda1w524g/JNRf5TVNRBeda1g72YgxKta4e7EwdlWtcOVmS0QbnWtYNdWIOSrWuH25MGZVvXDjbJOYOq/kCBFWXQCrLWlEFbqNq1lEGD2Gv8nynpQ2n9gaRpTho0rPQeS8tDuSB+UwrVWMsiYf98Jw0GTIImIQoJDJgEzUIUMhgwCVqGKJQwYBK0C1HoYMAkKJoQgQYGjILWaZCX1rAxgoGzfNH0DCMjWKjF//VNDSsj2OjKTPQeTbKyg50RHOBBeXlQD8rNg3pQbh7Ug3LzoB6Umwf1oNw8qAfl5kE9KDcP6kG5edDf9uskt4EYBqJoSa2eB/P+p40TIEg8AYabi1r8d4QPSCQJ6o2gBPVGUIJ6IyhBvRGUoN4ISlBvBCWoN4IS1BtBCeqNoAT1RlCCeiMoQb0RlKDeCEpQbwQlqDeCEtQbQQnqjaAE9UZQgnojKEG9EZSg3ghKUG8EJag3ghLUG0EJ6o2gBPVGUIJ6IyhBvRGUoN7UBRJ1GgOJRs2BRLNKIFHRGki0ag8k2qUpkGaStATSLJIONtE03aGrGkhS9a0NgRRD04+tDyToN13x6NNU/eJcylD0p1H0tNL0X+UfPaWvurMx608YNj1olQ3/Q11teuZYuOs/MC2HXtrXMo+XwFsu41zWXTe+AIkX5RUygDIXAAAAAElFTkSuQmCC)}.file-message-body .file-message-icon.file-apk{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfYXBrPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0xNjU0LjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19hcGsiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDE2NTQuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy44NzQ5OTk5NywwIEw3Ni4xMjUsMCBDODAuNDU2MjUsMCA4NCwzLjU0Mzc1IDg0LDcuODc0OTk5OTcgTDg0LDc2LjEyNSBDODQsODAuNDU2MjUgODAuNDU2MjUsODQgNzYuMTI1LDg0IEw3Ljg3NDk5OTk3LDg0IEMzLjU0Mzc1LDg0IDAsODAuNDU2MjUgMCw3Ni4xMjUgTDAsNy44NzQ5OTk5NyBDMCwzLjU0Mzc1IDMuNTQzNzUsMCA3Ljg3NDk5OTk3LDAgWiIgaWQ9Iui3r+W+hCIgZmlsbD0iI0EwQzUzOCI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTU3Ljc2NjY2NjYsNDguNTEyODk0NyBDNTcuNzY2NjY2Niw1MC4xNjc0NjAzIDU5LjIzMzMzMzMsNTEuNjM4MTg1MiA2MC44ODMzMzMzLDUxLjYzODE4NTIgQzYyLjcxNjY2NjYsNTEuNjM4MTg1MiA2NCw1MC4xNjc0NjAzIDY0LDQ4LjUxMjg5NDcgTDY0LDM2LjE5NTU3MzQgQzY0LDM0LjM1NzE2NzIgNjIuNTMzMzMzMywzMy4wNzAyODI5IDYwLjg4MzMzMzMsMzMuMDcwMjgyOSBDNTkuMjMzMzMzMywzMy4wNzAyODI5IDU3Ljc2NjY2NjYsMzQuNTQxMDA3OCA1Ny43NjY2NjY2LDM2LjE5NTU3MzQgTDU3Ljc2NjY2NjYsNDguNTEyODk0NyBaIE00Ni41ODMzMzM0LDI1LjkwMDQ5ODkgQzQ2LjU4MzMzMzQsMjQuOTgxMjk1OCA0Ny4zMTY2NjY3LDI0LjQyOTc3MzkgNDguMDQ5OTk5OSwyNC40Mjk3NzM5IEM0OC45NjY2NjY2LDI0LjQyOTc3MzkgNDkuNjk5OTk5OSwyNS4xNjUxMzY0IDQ5LjY5OTk5OTksMjUuOTAwNDk4OSBDNDkuNjk5OTk5OSwyNi44MTk3MDIgNDguOTY2NjY2NiwyNy4zNzEyMjM3IDQ4LjA0OTk5OTksMjcuMzcxMjIzNyBDNDcuMTMzMzMzMywyNy4zNzEyMjM3IDQ2LjU4MzMzMzQsMjYuNjM1ODYxMyA0Ni41ODMzMzM0LDI1LjkwMDQ5ODkgWiBNMzQuNjY2NjY2NywyNS45MDA0OTg5IEMzNC42NjY2NjY3LDI0Ljk4MTI5NTggMzUuNCwyNC40Mjk3NzM5IDM2LjEzMzMzMzQsMjQuNDI5NzczOSBDMzcuMDUsMjQuNDI5NzczOSAzNy42MDAwMDAxLDI1LjE2NTEzNjQgMzcuNjAwMDAwMSwyNS45MDA0OTg5IEMzNy42MDAwMDAxLDI2LjgxOTcwMiAzNi44NjY2NjY3LDI3LjM3MTIyMzcgMzYuMTMzMzMzNCwyNy4zNzEyMjM3IEMzNS4yMTY2NjY3LDI3LjM3MTIyMzcgMzQuNjY2NjY2NywyNi42MzU4NjEzIDM0LjY2NjY2NjcsMjUuOTAwNDk4OSBaIE0yOC4wNjY2NjY3LDU1LjY4MjY3ODggQzI4LjA2NjY2NjcsNTYuOTY5NTYzMiAyOS4xNjY2NjY2LDU4LjA3MjYwNjggMzAuNDUsNTguMDcyNjA2NyBMMzMuMiw1OC4wNzI2MDY3IEwzMy4yLDY0Ljg3NDcwOTYgQzMzLjIsNjYuNTI5Mjc1MiAzNC40ODMzMzM0LDY4IDM2LjMxNjY2NjcsNjggQzM3Ljk2NjY2NjcsNjggMzkuNDMzMzMzNCw2Ni41MjkyNzUgMzkuNDMzMzMzNCw2NC44NzQ3MDk2IEwzOS40MzMzMzM0LDU4LjA3MjYwNjcgTDQ0LjM4MzMzMzMsNTguMDcyNjA2NyBMNDQuMzgzMzMzMyw2NC44NzQ3MDk2IEM0NC4zODMzMzMzLDY2LjUyOTI3NTIgNDUuNjY2NjY2Nyw2OCA0Ny41LDY4IEM0OS4zMzMzMzMzLDY4IDUwLjYxNjY2NjcsNjYuNTI5Mjc1IDUwLjYxNjY2NjYsNjQuODc0NzA5NiBMNTAuNjE2NjY2Niw1OC4wNzI2MDY3IEw1My4zNjY2NjY3LDU4LjA3MjYwNjcgQzU0LjgzMzMzMzQsNTguMDcyNjA2NyA1NS43NSw1Ni45Njk1NjMgNTUuNzUsNTUuNjgyNjc4OCBMNTUuNzUsMzMuMjU0MTIzNSBMMjguMDY2NjY2NywzMy4yNTQxMjM1IEwyOC4wNjY2NjY3LDU1LjY4MjY3ODggWiBNNTUuOTMzMzMzMywzMS4yMzE4NzY3IEM1NS41NjY2NjY3LDI3LjAwMzU0MjYgNTIuNjMzMzMzMywyMy41MTA1NzA5IDQ4LjYsMjEuNDg4MzI0IEw1MS4xNjY2NjY2LDE3LjgxMTUxMTcgQzUxLjM0OTk5OTksMTcuNjI3NjcxMiA1MS4zNDk5OTk5LDE3LjI1OTk4OTkgNTEuMTY2NjY2NiwxNy4wNzYxNDkzIEM1MC45ODMzMzMzLDE2Ljg5MjMwODcgNTAuOCwxNy4wNzYxNDkzIDUwLjYxNjY2NjYsMTcuMjU5OTg5OSBMNDcuODY2NjY2NiwyMS4xMjA2NDI4IEM0Ni4wMzMzMzMzLDIwLjM4NTI4MDQgNDQuMiwyMC4wMTc1OTkyIDQyLjE4MzMzMzMsMjAuMDE3NTk5MSBDNDAuMTY2NjY2NiwyMC4wMTc1OTg5IDM4LjE1LDIwLjM4NTI4MDIgMzYuMzE2NjY2NywyMS4xMjA2NDI4IEwzMy43NSwxNy4yNTk5ODk5IEMzMy41NjY2NjY3LDE3LjA3NjE0OTMgMzMuMzgzMzMzNCwxNi44OTIzMDg3IDMzLjIsMTcuMDc2MTQ5MyBDMzMuMDE2NjY2NywxNy4yNTk5ODk5IDMzLjAxNjY2NjcsMTcuNDQzODMwNCAzMy4wMTY2NjY3LDE3LjgxMTUxMTcgTDM1LjU4MzMzMzMsMjEuNDg4MzI0IEMzMS41NSwyMy4zMjY3MzAyIDI4LjYxNjY2NjcsMjYuODE5NzAxOCAyOC4yNSwzMS4yMzE4NzY3IEw1NS45MzMzMzMzLDMxLjIzMTg3NjcgTDU1LjkzMzMzMzMsMzEuMjMxODc2NyBaIE0yMCw0OC41MTI4OTQ3IEMyMCw1MC4xNjc0NjAzIDIxLjI4MzMzMzQsNTEuNjM4MTg1MiAyMy4xMTY2NjY3LDUxLjYzODE4NTIgQzI0Ljc2NjY2NjcsNTEuNjM4MTg1MiAyNi4yMzMzMzM0LDUwLjE2NzQ2MDMgMjYuMjMzMzMzNCw0OC41MTI4OTQ3IEwyNi4yMzMzMzM0LDM2LjE5NTU3MzQgQzI2LjIzMzMzMzQsMzQuMzU3MTY3MiAyNC43NjY2NjY3LDMzLjA3MDI4MjkgMjMuMTE2NjY2NywzMy4wNzAyODI5IEMyMS4yODMzMzM0LDMzLjA3MDI4MjkgMjAsMzQuNTQxMDA3OCAyMCwzNi4xOTU1NzM0IEwyMCw0OC41MTI4OTQ3IFoiIGlkPSLlvaLnirYiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-text{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTY4cHgiIGhlaWdodD0iMTY4cHgiIHZpZXdCb3g9IjAgMCAxNjggMTY4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPmljb25f5paH5Lu257G75Z6LX+aWh+S7tjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLnirbmgIHliIflm74iIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02OTYuMDAwMDAwLCAtMzE4Ni4wMDAwMDApIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0iaWNvbl/mlofku7bnsbvlnotf5paH5Lu2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2OTYuMDAwMDAwLCAzMTg2LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9ImFwayIgZmlsbD0iI0EwQzUzOCI+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTE1Ljg5NDE5NDcsMC4xNjM4NTc2OTggTDE1Mi4yMjM3ODMsMC4xNjM4NTc2OTggQzE2MC44NzU0NjgsMC4xNjM4NTc2OTggMTY3Ljk1NDEyLDcuMjQyNTA5MzggMTY3Ljk1NDEyLDE1Ljg5NDE5NDcgTDE2Ny45NTQxMiwxNTIuMjIzNzgzIEMxNjcuOTU0MTIsMTYwLjg3NTQ2OCAxNjAuODc1NDY4LDE2Ny45NTQxMiAxNTIuMjIzNzgzLDE2Ny45NTQxMiBMMTUuODk0MTk0NywxNjcuOTU0MTIgQzcuMjQyNTA5MzgsMTY3Ljk1NDEyIDAuMTYzODU3Njk4LDE2MC44NzU0NjggMC4xNjM4NTc2OTgsMTUyLjIyMzc4MyBMMC4xNjM4NTc2OTgsMTUuODk0MTk0NyBDMC4xNjM4NTc2OTgsNy4yNDI1MDkzOCA3LjI0MjUwOTM4LDAuMTYzODU3Njk4IDE1Ljg5NDE5NDcsMC4xNjM4NTc2OTggWiIgaWQ9Iui3r+W+hCI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IuaWh+S7tiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUuMDAwMDAwLCAzNi4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNzAuOTIxNzQ2NiwwIEw2LjM2ODMyMTkyLDAgQzIuNTcxMDYxNjQsMCAwLjAzOTU1NDc5NDUsMi41MzA0MzQ3OCAwLjAzOTU1NDc5NDUsNi4zMjYwODY5NiBMMC4wMzk1NTQ3OTQ1LDg5LjgzMDQzNDggQzAuMDM5NTU0Nzk0NSw5Mi45OTM0NzgzIDMuMjAzOTM4MzYsOTYuMTU2NTIxNyA2LjM2ODMyMTkyLDk2LjE1NjUyMTcgTDQ2Ljg3MjQzMTUsOTYuMTU2NTIxNyBDNTAuNjY5NjkxOCw5Ni4xNTY1MjE3IDUzLjIwMTE5ODYsOTMuNjI2MDg3IDUzLjIwMTE5ODYsODkuODMwNDM0OCBMNTMuMjAxMTk4Niw3Ni41NDU2NTIyIEM1My4yMDExOTg2LDczLjM4MjYwODcgNTYuMzY1NTgyMiw3MC4yMTk1NjUyIDU5LjUyOTk2NTgsNzAuMjE5NTY1MiBMNzAuMjg4ODY5OSw3MC4yMTk1NjUyIEM3NC4wODYxMzAxLDcwLjIxOTU2NTIgNzYuNjE3NjM3LDY3LjY4OTEzMDQgNzYuNjE3NjM3LDYzLjg5MzQ3ODMgTDc2LjYxNzYzNyw1LjY5MzQ3ODI2IEM3Ny44ODMzOTA0LDIuNTMwNDM0NzggNzQuNzE5MDA2OCwwIDcwLjkyMTc0NjYsMCBaIE01MC4wMzY4MTUxLDUxLjg3MzkxMyBDNTAuMDM2ODE1MSw1My43NzE3MzkxIDQ4Ljc3MTA2MTYsNTUuMDM2OTU2NSA0Ni44NzI0MzE1LDU1LjAzNjk1NjUgTDE4LjM5Mjk3OTUsNTUuMDM2OTU2NSBDMTYuNDk0MzQ5Myw1NS4wMzY5NTY1IDE1LjIyODU5NTksNTMuNzcxNzM5MSAxNS4yMjg1OTU5LDUxLjg3MzkxMyBMMTUuMjI4NTk1OSw1MS4yNDEzMDQzIEMxNS4yMjg1OTU5LDQ5LjM0MzQ3ODMgMTYuNDk0MzQ5Myw0OC4wNzgyNjA5IDE4LjM5Mjk3OTUsNDguMDc4MjYwOSBMNDYuODcyNDMxNSw0OC4wNzgyNjA5IEM0OC43NzEwNjE2LDQ4LjA3ODI2MDkgNTAuMDM2ODE1MSw0OS4zNDM0NzgzIDUwLjAzNjgxNTEsNTEuODczOTEzIFogTTYzLjk2MDEwMjcsMzQuNzkzNDc4MyBDNjMuOTYwMTAyNywzNi42OTEzMDQzIDYyLjY5NDM0OTMsMzcuOTU2NTIxNyA2MC43OTU3MTkyLDM3Ljk1NjUyMTcgTDE4LjM5Mjk3OTUsMzcuOTU2NTIxNyBDMTYuNDk0MzQ5MywzNy4zMjM5MTMgMTQuNTk1NzE5MiwzNi4wNTg2OTU3IDE0LjU5NTcxOTIsMzQuNzkzNDc4MyBMMTQuNTk1NzE5MiwzNC4xNjA4Njk2IEMxNC41OTU3MTkyLDMyLjI2MzA0MzUgMTUuODYxNDcyNiwzMC45OTc4MjYxIDE3Ljc2MDEwMjcsMzAuOTk3ODI2MSBMNjAuMTYyODQyNSwzMC45OTc4MjYxIEM2Mi42OTQzNDkzLDMwLjk5NzgyNjEgNjMuOTYwMTAyNywzMi4yNjMwNDM1IDYzLjk2MDEwMjcsMzQuNzkzNDc4MyBMNjMuOTYwMTAyNywzNC43OTM0NzgzIFogTTYzLjk2MDEwMjcsMTcuNzEzMDQzNSBDNjMuOTYwMTAyNywxOS42MTA4Njk2IDYyLjY5NDM0OTMsMjAuODc2MDg3IDYwLjc5NTcxOTIsMjAuODc2MDg3IEwxOC4zOTI5Nzk1LDIwLjg3NjA4NyBDMTYuNDk0MzQ5MywyMC44NzYwODcgMTUuMjI4NTk1OSwxOS42MTA4Njk2IDE1LjIyODU5NTksMTcuNzEzMDQzNSBMMTUuMjI4NTk1OSwxNy4wODA0MzQ4IEMxNS4yMjg1OTU5LDE1LjE4MjYwODcgMTYuNDk0MzQ5MywxMy45MTczOTEzIDE4LjM5Mjk3OTUsMTMuOTE3MzkxMyBMNjAuNzk1NzE5MiwxMy45MTczOTEzIEM2Mi42OTQzNDkzLDEzLjkxNzM5MTMgNjMuOTYwMTAyNywxNS4xODI2MDg3IDYzLjk2MDEwMjcsMTcuNzEzMDQzNSBaIiBpZD0i5b2i54q2Ij48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTU3LjYzMTMzNTYsODAuOTczOTEzIEw1Ny42MzEzMzU2LDg5LjgzMDQzNDggQzU3LjYzMTMzNTYsOTIuOTkzNDc4MyA2MS40Mjg1OTU5LDk0LjI1ODY5NTcgNjMuMzI3MjI2LDkyLjM2MDg2OTYgTDc1Ljk4NDc2MDMsNzkuNzA4Njk1NyBDNzcuODgzMzkwNCw3Ny44MTA4Njk2IDc2LjYxNzYzNyw3NC4wMTUyMTc0IDczLjQ1MzI1MzQsNzQuMDE1MjE3NCBMNjQuNTkyOTc5NSw3NC4wMTUyMTc0IEM2MC43OTU3MTkyLDc0LjAxNTIxNzQgNTcuNjMxMzM1Niw3Ny4xNzgyNjA5IDU3LjYzMTMzNTYsODAuOTczOTEzIFoiIGlkPSLot6/lvoQiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-desc{width:7.9166em;margin:0 0.41666em 0 0}.file-message-body .file-desc .file-name{height:2.3333em;line-height:1.1;text-overflow:ellipsis;font-size:1em;margin:0 0 0.1667em;word-break:break-all;overflow:hidden;white-space:nowrap}.file-message-body .file-desc .file-size{font-weight:400;color:#c7cbce;line-height:0.83333em;font-size:0.75em}.file-message-body .file-download-btn{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNzBweCIgaGVpZ2h0PSI3MHB4IiB2aWV3Qm94PSIwIDAgNzAgNzAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5LiL6L29aWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwNF/ljZXogYot5paH5Lu25raI5oGv5oKs5YGc54K55Ye754q25oCBIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTY1LjAwMDAwMCwgLTUyOC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hOWkh+S7vS01IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1NjQuMDAwMDAwLCA1MDEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0i5LiL6L29aWNvbiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAyLjAwMDAwMCwgMjguMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0i5qSt5ZyG5b2iIiBzdHJva2U9IiNFMkU0RTUiIGZpbGw9IiNGRkZGRkYiIGN4PSIzNCIgY3k9IjM0IiByPSIzNCI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTM1LjYyMTEzNzMsMzcuMzE4NDc0IEw0NC4xMDk2NTIzLDI4Ljg4MzU1NjcgQzQ0LjU0MjA5NTUsMjguNDUzODQ0IDQ1LjI0MzIyNDQsMjguNDUzODQ0IDQ1LjY3NTY2NzYsMjguODgzNTU2NyBDNDYuMTA4MTEwOCwyOS4zMTMyNjk0IDQ2LjEwODExMDgsMzAuMDA5OTcxMyA0NS42NzU2Njc2LDMwLjQzOTY4NCBMMzUuNDA3NTg5Nyw0MC42NDI5Mjc4IEMzNC45MTExNDk1LDQxLjExOTAyNDEgMzQuMTI0NDY3LDQxLjExOTAyNDEgMzMuNjI4MDI2OCw0MC42NDI5Mjc4IEwyMy4zMjQzNTc2LDMwLjQ1NzM2NzMgQzIzLjA0NDYxNTksMzAuMTc5MzkxOSAyMi45MzUzNjQ0LDI5Ljc3NDIzNCAyMy4wMzc3NTY5LDI5LjM5NDUxMjUgQzIzLjE0MDE0OTUsMjkuMDE0NzkxMSAyMy40Mzg2MzAzLDI4LjcxODE5NDkgMjMuODIwNzY0NiwyOC42MTY0NDg5IEMyNC4yMDI4OTg5LDI4LjUxNDcwMjggMjQuNjEwNjMxMywyOC42MjMyNjQ2IDI0Ljg5MDM3MywyOC45MDEyNCBMMzMuMzc4ODg4LDM3LjMzNjE1NzMgTDMzLjM3ODg4OCwyMC4yNTQxMjM1IEMzMy4zMjQyNjc1LDE5LjgyNTg5MjkgMzMuNTIzNTEzNywxOS40MDQ4NDk2IDMzLjg5MDI1NzUsMTkuMTczNTA3IEMzNC4yNTcwMDEzLDE4Ljk0MjE2NDMgMzQuNzI1MjI4MywxOC45NDIxNjQzIDM1LjA5MTk3MjEsMTkuMTczNTA3IEMzNS40NTg3MTU5LDE5LjQwNDg0OTYgMzUuNjU3OTYyMSwxOS44MjU4OTI5IDM1LjYwMzM0MTYsMjAuMjU0MTIzNSBMMzUuNjIxMTM3MywzNy4zMTg0NzQgWiBNMjEuOTQ4MjczMSw0NyBDMjEuNDA2MzAxMiw0Ni45MzYxNjMgMjEsNDYuNTA3Njk4NyAyMSw0NiBDMjEsNDUuNDkyMzAxMyAyMS40MDYzMDEyLDQ1LjA2MzgzNyAyMS45NDgyNzMxLDQ1IEw0Ni4wNTE3MjY5LDQ1IEM0Ni41OTM2OTg4LDQ1LjA2MzgzNyA0Nyw0NS40OTIzMDEzIDQ3LDQ2IEM0Nyw0Ni41MDc2OTg3IDQ2LjU5MzY5ODgsNDYuOTM2MTYzIDQ2LjA1MTcyNjksNDcgTDIxLjk0ODI3MzEsNDcgWiIgaWQ9IuW9oueKtiIgZmlsbD0iIzAwOTlGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==) no-repeat;background-size:contain;width:2.8333em;height:2.8333em;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;cursor:pointer}.hqvoice-message-body{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1em;color:#111f2c;padding:0.625em 0.8333em 0.625em;display:-ms-flexbox;display:flex}.message-item.receiver .hqvoice-message-body{-ms-flex-direction:row;flex-direction:row}.message-item.poster .hqvoice-message-body{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.hqvoice-message-body img{width:1.3333em;height:1.3333em}.message-item.receiver .hqvoice-message-body img{margin:0 1.6em 0 0}.message-item.poster .hqvoice-message-body img{margin:0 0 0 1.6em;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.sight-message-body{max-width:12.5em;position:relative;border-radius:0.5em;border:1px solid #e2e4e5;overflow:hidden}.sight-message-body img{display:block}.sight-message-body .file-duration{font-size:0.8333em;color:#ffffff;position:absolute;line-height:1.166667em;right:0.58333em;bottom:0.416667em;z-index:2}.sight-message-body .start-play-btn{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:rgba(0, 0, 0, 0.2);position:absolute;left:0;top:0;z-index:1;font-size:1em}.sight-message-body .start-play-btn button{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNzJweCIgaGVpZ2h0PSI3MnB4IiB2aWV3Qm94PSIwIDAgNzIgNzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+57yW57uEIDEwPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjE2X+WNleiBii3lsI/op4bpopHmtojmga8tMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTExMzYuMDAwMDAwLCAtNTAzLjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtMTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwMjAuMDAwMDAwLCA0NTEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMTYuMDAwMDAwLCA1Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMzYiIGN5PSIzNiIgcj0iMzUiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zMS41MzY0NDM1LDIzLjk3NjYzMTkgTDUwLjI0OTU5MiwzNS44NzE1NDI0IEM1MC43MTU2ODUxLDM2LjE2NzgxMTkgNTAuODUzMzU0MywzNi43ODU4MjkgNTAuNTU3MDg0OCwzNy4yNTE5MjIxIEM1MC40NzU2MTIyLDM3LjM4MDA5NTMgNTAuMzY2MDE1MSwzNy40ODgwMjcyIDUwLjIzNjYwOTgsMzcuNTY3NTI4MSBMMzEuNTIzNDYxMyw0OS4wNjQwNTMyIEMzMS4wNTI4ODczLDQ5LjM1MzE1MjkgMzAuNDM3MDUwMiw0OS4yMDYwMzkgMzAuMTQ3OTUwNSw0OC43MzU0NjUgQzMwLjA1MTIxMTcsNDguNTc4MDAxMSAzMCw0OC4zOTY4MDk4IDMwLDQ4LjIxMjAwMzggTDMwLDI0LjgyMDU2ODEgQzMwLDI0LjI2ODI4MzQgMzAuNDQ3NzE1MywyMy44MjA1NjgxIDMxLDIzLjgyMDU2ODEgQzMxLjE5MDAwOTksMjMuODIwNTY4MSAzMS4zNzYwODcyLDIzLjg3NDcwMjMgMzEuNTM2NDQzNSwyMy45NzY2MzE5IFoiIGlkPSLnn6nlvaIiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;background-size:contain;width:3em;height:3em;border:none}.gif-message-body img{max-width:30em;display:block}.reference-message-body{padding:0.5833em 0.8333em;min-width:8.333em}.reference-message-body .reference-message-content{border-bottom:1px solid rgba(160, 165, 171, 0.26)}.reference-message-body .reference-message-content .user{font-size:0.83333em;color:#a0a5ab;border-left:0.16667em solid #a0a5ab;padding:0 0 0 0.41666em;height:1.08333em;line-height:1.08333em}.reference-message-body .reference-message-content .content{color:#111f2c;padding:0.41667em 0 0.3em 0.58333em;word-break:break-all}.reference-message-body .reference-message-content .content img{width:2.91667em;height:2.91667em;border-radius:0.25em}.reference-message-body .message-content{color:#111f2c;font-size:1em;padding:0.41667em 0 0 0.05833em;word-break:break-all;position:relative}.rich-message-body{padding:0.58333em 0.83333em}.rich-message-body .title{color:#111f2c;font-size:1em;max-height:4.16667em;line-height:1.41667em;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box}.rich-message-body .content{line-height:1.4;color:#a0a5ab;font-size:0.83333em;overflow:hidden}.rich-message-body .content>p{height:5em;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box}.rich-message-body .content img{float:right;width:4.6667em;height:4.6667em;overflow:hidden;text-overflow:ellipsis;word-break:break-all;border-radius:0.25em;border:1px solid #979797;margin:0 0 0 1em}.message-item.custom-notify-message-item{text-align:center;display:block;font-size:1.5em}a.url-wrap{color:#0099ff;text-decoration:none}.referenced-message-text{height:1em;line-height:1;overflow:hidden;text-overflow:ellipsis;word-break:keep-all}div.referenced-message-text:hover div{visibility:visible}.quote{position:absolute;top:2em;z-index:100}.quoteContent{width:100%;word-break:break-all;visibility:hidden;padding:0.17em;background:#fff;-webkit-box-shadow:0px 0px 15px 3px rgba(100, 102, 109, 0.19);box-shadow:0px 0px 15px 3px rgba(100, 102, 109, 0.19);border-radius:0.17em;font-size:0.8em;font-family:PingFangSC-Regular, PingFang SC;font-weight:400;color:#111f2c;line-height:1.2}.sendFail{content:' ';display:block;width:1.6667em;height:1.6667em;background-repeat:no-repeat;background-size:contain;position:absolute;left:-2.2em;bottom:0;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjVweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjUgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5oSf5Y+55Y+3PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC02MzkuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuaEn+WPueWPtyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjQwMDAwMCwgNjM5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjUwMDAwMCwgMS41MDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRjQxNDEiIGN4PSIxMC41IiBjeT0iMTAuNSIgcj0iMTAuNSI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgeD0iOS43NSIgeT0iNS4yNSIgd2lkdGg9IjEuNSIgaGVpZ2h0PSI3LjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRkZGRkYiIGN4PSIxMC41IiBjeT0iMTUiIHI9IjEiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}",bo=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.rightClick=Tt(Pe(t),"rightClick",7),t.tapMessageItem=Tt(Pe(t),"tapMessageItem",7),t.lang=gn.lang,t.lastTime=0,t.tapMessageHandler=t.tapMessageHandler.bind(Pe(t)),t.rightClickHandler=t.rightClickHandler.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"validateData",value:function(t,e){t!==e&&(this.lastTime=0)}},{key:"componentWillLoad",value:function(){gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"handleLanguageChanged",value:function(t){this.lastTime=0,this.lang=t.lang}},{key:"findMember",value:function(t){if(this.groupMembers&&this.groupMembers.length)return this.groupMembers.find((function(e){return e.id===t}))}},{key:"getTimeLine",value:function(t,e){return Z("li",{class:"time-separation"},kn(t,{hour:":",minute:""},e))}},{key:"tapMessageHandler",value:function(t){this.tapMessageItem.emit(t.detail)}},{key:"getItem",value:function(t){if(-1!==t.messageType.indexOf("__RECALL"))return null;if(yo[t.messageType])return Z("li",{class:"message-item ntf-message-item"},Io(t));if(gn.isCustomNotifyMessage(t))return Z("li",{class:"message-item custom-notify-message-item",innerHTML:gn.createCustomNotifyMessageDom(t)});var e=t.conversationType===Ae["e"].GROUP,n={groupNickname:"",id:"",name:""};if(e){var r=this.findMember(t.senderUserId);r&&(n=r)}return Z("message-item",{member:n,message:t,isGroupMember:e,conversationProfile:this.conversationProfile,myProfile:this.myProfile,onRightClick:this.rightClickHandler,onTap:this.tapMessageHandler})}},{key:"rightClickHandler",value:function(t){this.rightClick.emit(t.detail)}},{key:"checkGroup",value:function(t){var e=this,n=this.messages;return n.map((function(n){return n.sentTime-e.lastTime<3e5?e.getItem(n):(e.lastTime=n.sentTime,Z(Xt,null,e.getTimeLine(n.sentTime,t),e.getItem(n)))}))}},{key:"render",value:function(){this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var t=this.locale;return Z("ul",{style:{"list-style":"none",padding:"0",margin:"0"}},this.checkGroup(t))}}],[{key:"watchers",get:function(){return{messages:["validateData"]}}},{key:"style",get:function(){return Mo}}]),n}(Ee(HTMLElement)),Co=".message-item.image-message-item .message-body,.message-item.sight-message-item .message-body,.message-item.gif-message-item .message-body{background:none;border:none;padding:0}.message-item.image-message-item .message-body .image-message-body img{max-width:10em;min-width:2.5em}.message-item.image-message-item .image-message-body{min-width:2.2222em;min-height:2.2222em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.message-item.file-message-item .upload-progress-mask{width:1.165em;height:1.165em;min-width:1.165em;top:0.27em;left:0.27em;border-radius:0.1em;background:none}.message-item.file-message-item .upload-progress-mask .upload-progress-bar{width:141.4%;height:141.4%}.message-item.file-message-item .upload-progress-mask .upload-progress-bar svg path{fill:rgba(0, 0, 0, .4)}",_o=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.rightClick=Tt(Pe(t),"rightClick",7),t.tap=Tt(Pe(t),"tap",7),t.lang=gn.lang,t.handleClick=t.handleClick.bind(Pe(t)),t.handleFail=t.handleFail.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),t}return We(n,[{key:"componentWillLoad",value:function(){gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"getMessageStyleClass",value:function(t){var e,n=(e={},xe(e,Te["h"].IMAGE,"image-message-item"),xe(e,Te["h"].SIGHT,"sight-message-item"),xe(e,Te["h"].GIF,"gif-message-item"),xe(e,Te["h"].FILE,"file-message-item"),e);return(n[t.messageType]||t.messageType)+" "}},{key:"rightClickHandler",value:function(t,e){if(2===e.button)return e.preventDefault(),this.rightClick.emit({message:t,position:{top:e.clientY,left:e.clientX}})}},{key:"getReceivedStatus",value:function(t,e){var n="";return t.messageDirection===Te["g"].SEND&&t.conversationType===Te["a"].PRIVATE&&(n=t.receivedStatus===Te["j"].UNREAD?e.conversation.unread:e.conversation.read),n}},{key:"getProgressBar",value:function(t){return 0===t.messageUId.indexOf("sending")&&t.messageId&&-1!==[Te["h"].IMAGE,Te["h"].FILE,Te["h"].SIGHT,Te["h"].HQ_VOICE,Te["h"].GIF].indexOf(t.messageType)?Z("progress-bar",{mId:t.messageId,reverse:t.messageType===Te["h"].FILE}):null}},{key:"handleClick",value:function(t){this.tap.emit(t)}},{key:"handleFail",value:function(){var t={conversationType:this.message.conversationType,targetId:this.message.targetId,channelId:this.message.channelId};gn.resendMessage(t,this.message)}},{key:"render",value:function(){var t=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var e=this.message,n=this.isGroupMember,r=this.member,i=this.locale;return mo[e.messageType]||gn.isCustomUserMessage(e)?Z("li",{class:"message-item "+this.getMessageStyleClass(e)+(e.conversationType===Te["a"].SYSTEM?"system-user-message-item ":"")+(e.messageDirection===Te["g"].RECEIVE?"receiver ":"poster ")+(e.messageUId.startsWith("sending_")?"sending ":""),key:e.messageUId,"data-key":e.messageUId},Z("div",{class:"avatar"},n?r&&r.portraitUri?Z("img",{src:r.portraitUri}):null:e.messageDirection===Te["g"].RECEIVE?this.conversationProfile?Z("img",{src:this.conversationProfile.portraitUri}):null:this.myProfile?Z("img",{src:this.myProfile.portraitUri}):null),Z("div",{class:"message-body-wrapper",onContextMenu:function(n){return t.rightClickHandler(e,n)}},n&&e.messageDirection===Te["g"].RECEIVE?Z("div",{class:"name"},Z("span",null,r.groupNickname||r.name||r.id)):null,e.conversationType===Te["a"].SYSTEM?Z("div",{class:"name"},Z("span",null,this.conversationProfile.name)):null,Z("div",{class:"message-body"},mo[e.messageType]?Z(Xt,null,e.messageUId.startsWith("fail_")?Z("div",{onClick:this.handleFail,class:"sendFail"}):Z("div",{class:"receive-status"}," ",this.getReceivedStatus(e,i)," "),Io(e,this.handleClick),this.getProgressBar(e)):gn.isCustomUserMessage(e)?Z("div",null,Z("div",{class:"receive-status"}," ",this.getReceivedStatus(e,i)," "),Z("div",{innerHTML:gn.createCustomUserMessageDom(e)})):null))):(console.log("无法识别的消息",e.messageType,JSON.stringify(e.content)),null)}}],[{key:"style",get:function(){return Co}}]),n}(Ee(HTMLElement)),Ao="undefined"!==typeof window,To=Ao&&navigator.userAgent.toLowerCase();if(To&&/wechatdevtools/.test(To),To&&To.indexOf("android"),function(){if("string"===typeof To){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(To);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}}(),Ao){var wo="test-passive";try{var Eo={};Object.defineProperty(Eo,"passive",{get:function(){}}),window.addEventListener(wo,(function(){}),Eo)}catch(cs){}}var No=function(t,e){for(var n in e)t[n]=e[n];return t},So=Ao&&document.createElement("div").style,Oo=function(){if(!Ao)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==So[r.value])return r.key}return!1}();function Do(t){return!1===Oo?t:"standard"===Oo?"transitionEnd"===t?"transitionend":t:Oo+t.charAt(0).toUpperCase()+t.substr(1)}Oo&&"standard"!==Oo&&Oo.toLowerCase();Do("transform"),Do("transition");Ao&&Do("perspective"),Do("transitionTimingFunction"),Do("transitionDuration"),Do("transitionDelay"),Do("transformOrigin"),Do("transitionEnd"),Do("transitionProperty");var xo={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},Lo="plugins.pullDownRefresh",Ro=[{key:"finishPullDown",name:"finishPullDown"},{key:"openPullDown",name:"openPullDown"},{key:"closePullDown",name:"closePullDown"},{key:"autoPullDownRefresh",name:"autoPullDownRefresh"}],jo=Ro.map((function(t){return{key:t.key,sourceKey:Lo+"."+t.name}})),ko="pullingDown",Po="enterThreshold",Uo="leaveThreshold",zo=function(){function t(t){this.scroll=t,this.pulling=0,this.thresholdBoundary=0,this.init()}return t.prototype.setPulling=function(t){this.pulling=t},t.prototype.setThresholdBoundary=function(t){this.thresholdBoundary=t},t.prototype.init=function(){this.handleBScroll(),this.handleOptions(this.scroll.options.pullDownRefresh),this.handleHooks(),this.watch()},t.prototype.handleBScroll=function(){this.scroll.registerType([ko,Po,Uo]),this.scroll.proxy(jo)},t.prototype.handleOptions=function(t){void 0===t&&(t={}),t=!0===t?{}:t;var e={threshold:90,stop:40};this.options=No(e,t),this.scroll.options.probeType=3},t.prototype.handleHooks=function(){var t=this;this.hooksFn=[];var e=this.scroll.scroller,n=e.scrollBehaviorY;this.currentMinScrollY=this.cachedOriginanMinScrollY=n.minScrollPos,this.registerHooks(this.scroll.hooks,this.scroll.hooks.eventTypes.contentChanged,(function(){t.finishPullDown()})),this.registerHooks(n.hooks,n.hooks.eventTypes.computeBoundary,(function(e){e.maxScrollPos>0&&(e.maxScrollPos=-1),e.minScrollPos=t.currentMinScrollY})),this.hasMouseWheelPlugin()&&(this.registerHooks(this.scroll,this.scroll.eventTypes.alterOptions,(function(t){var e=300,n=350;t.discreteTime=e,t.easeTime=n})),this.registerHooks(this.scroll,this.scroll.eventTypes.mousewheelEnd,(function(){e.hooks.trigger(e.hooks.eventTypes.end)})))},t.prototype.registerHooks=function(t,e,n){t.on(e,n,this),this.hooksFn.push([t,e,n])},t.prototype.hasMouseWheelPlugin=function(){return!!this.scroll.eventTypes.alterOptions},t.prototype.watch=function(){var t=this.scroll.scroller;this.watching=!0,this.registerHooks(t.hooks,t.hooks.eventTypes.end,this.checkPullDown),this.registerHooks(this.scroll,this.scroll.eventTypes.scrollStart,this.resetStateBeforeScrollStart),this.registerHooks(this.scroll,this.scroll.eventTypes.scroll,this.checkLocationOfThresholdBoundary),this.hasMouseWheelPlugin()&&this.registerHooks(this.scroll,this.scroll.eventTypes.mousewheelStart,this.resetStateBeforeScrollStart)},t.prototype.resetStateBeforeScrollStart=function(){this.isFetchingStatus()||(this.setPulling(1),this.setThresholdBoundary(0))},t.prototype.checkLocationOfThresholdBoundary=function(){if(1===this.pulling){var t=this.scroll,e=1!==this.thresholdBoundary&&this.locateInsideThresholdBoundary(),n=2!==this.thresholdBoundary&&!this.locateInsideThresholdBoundary();e&&(this.setThresholdBoundary(1),t.trigger(Po)),n&&(this.setThresholdBoundary(2),t.trigger(Uo))}},t.prototype.locateInsideThresholdBoundary=function(){return this.scroll.y<=this.options.threshold},t.prototype.unwatch=function(){var t=this.scroll,e=t.scroller;this.watching=!1,e.hooks.off(e.hooks.eventTypes.end,this.checkPullDown),t.off(t.eventTypes.scrollStart,this.resetStateBeforeScrollStart),t.off(t.eventTypes.scroll,this.checkLocationOfThresholdBoundary),this.hasMouseWheelPlugin()&&t.off(t.eventTypes.mousewheelStart,this.resetStateBeforeScrollStart)},t.prototype.checkPullDown=function(){var t=this.options,e=t.threshold,n=t.stop;return!(this.scroll.y<e)&&(1===this.pulling&&(this.modifyBehaviorYBoundary(n),this.setPulling(2),this.scroll.trigger(ko)),this.scroll.scrollTo(this.scroll.x,n,this.scroll.options.bounceTime,xo.bounce),this.isFetchingStatus())},t.prototype.isFetchingStatus=function(){return 2===this.pulling},t.prototype.modifyBehaviorYBoundary=function(t){var e=this.scroll.scroller.scrollBehaviorY;this.cachedOriginanMinScrollY=e.minScrollPos,this.currentMinScrollY=t,e.computeBoundary()},t.prototype.finishPullDown=function(){if(this.isFetchingStatus()){var t=this.scroll.scroller.scrollBehaviorY;this.currentMinScrollY=this.cachedOriginanMinScrollY,t.computeBoundary(),this.setPulling(0),this.scroll.resetPosition(this.scroll.options.bounceTime,xo.bounce)}},t.prototype.openPullDown=function(t){void 0===t&&(t={}),this.handleOptions(t),this.watching||this.watch()},t.prototype.closePullDown=function(){this.unwatch()},t.prototype.autoPullDownRefresh=function(){var t=this.options,e=t.threshold,n=t.stop;!this.isFetchingStatus()&&this.watching&&(this.modifyBehaviorYBoundary(n),this.scroll.trigger(this.scroll.eventTypes.scrollStart),this.scroll.scrollTo(this.scroll.x,e),this.setPulling(2),this.scroll.trigger(ko),this.scroll.scrollTo(this.scroll.x,n,this.scroll.options.bounceTime,xo.bounce))},t.pluginName="pullDownRefresh",t}(),Bo='.message-container{width:100%;height:100%;background:#fbfbfc}.message-list-container{height:calc(100% - 10.5em);overflow:hidden;position:relative}.message-list-scroller{min-height:101%}.message-list-wrapper{position:relative;height:100%;overflow:hidden}.conversation-info{border-bottom:0.1em solid #e3e5e6;padding:0 2.5em;height:10.4em;text-align:left}.conversation-info .receiver{padding:0 0 0;color:#333;font-size:2.8em;font-weight:500;line-height:3.714}.message-list{list-style:none;padding:0 1em}.pulldown-wrapper{position:absolute;width:100%;padding:2em;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateY(-100%) translateZ(0);transform:translateY(-100%) translateZ(0);text-align:center;color:#999;font-size:2em}.message-loading{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;color:rgb(153, 153, 153);font-size:2em}.no-data{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#fff}.no-data::before{content:" ";display:block;width:12.8em;height:12.8em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTI4cHgiIGhlaWdodD0iMTI4cHgiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPue8uuecgWljb248L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMDJf5Lya6K+d5YiX6KGo5Li656m6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTYwLjAwMDAwMCwgLTM1NC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8uuecgWljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2MC4wMDAwMDAsIDM1NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0iYmVsbHMtKDEpIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjAwMDAwMCwgMTEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0yMDMiIHN0cm9rZS1vcGFjaXR5PSIwLjQiIHN0cm9rZT0iI0EzQjFCRiIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMjAuNSIgY3k9IjMuNSIgcj0iMy41Ij48L2NpcmNsZT4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsLTIwM+Wkh+S7vSIgc3Ryb2tlLW9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjQTNCMUJGIiBzdHJva2Utd2lkdGg9IjEuODI0IiBjeD0iMTA4IiBjeT0iMjMiIHI9IjIiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTcuNSw0NSBDMTE4LjA0ODAyMSw0NSAxMTguNDkyMjc5LDQ1LjQ0NDI1ODYgMTE4LjQ5MjI3OSw0NS45OTIyNzkzIEwxMTguNDkyLDQ4LjM2OCBMMTIxLDQ4LjM2ODM0NyBDMTIxLjU1MjI4NSw0OC4zNjgzNDcgMTIyLDQ4LjgxNjA2MjMgMTIyLDQ5LjM2ODM0NyBDMTIyLDQ5LjkyMDYzMTggMTIxLjU1MjI4NSw1MC4zNjgzNDcgMTIxLDUwLjM2ODM0NyBMMTE4LjQ5Miw1MC4zNjggTDExOC40OTIyNzksNTMuMDc3NzQ4MSBDMTE4LjQ5MjI3OSw1My42MjU3Njg4IDExOC4wNDgwMjEsNTQuMDcwMDI3NCAxMTcuNSw1NC4wNzAwMjc0IEMxMTYuOTUxOTc5LDU0LjA3MDAyNzQgMTE2LjUwNzcyMSw1My42MjU3Njg4IDExNi41MDc3MjEsNTMuMDc3NzQ4MSBMMTE2LjUwNyw1MC4zNjggTDExNCw1MC4zNjgzNDcgQzExMy40NDc3MTUsNTAuMzY4MzQ3IDExMyw0OS45MjA2MzE4IDExMyw0OS4zNjgzNDcgQzExMyw0OC44MTYwNjIzIDExMy40NDc3MTUsNDguMzY4MzQ3IDExNCw0OC4zNjgzNDcgTDExNi41MDcsNDguMzY4IEwxMTYuNTA3NzIxLDQ1Ljk5MjI3OTMgQzExNi41MDc3MjEsNDUuNDQ0MjU4NiAxMTYuOTUxOTc5LDQ1IDExNy41LDQ1IFoiIGlkPSJDb21iaW5lZC1TaGFwZSIgZmlsbC1vcGFjaXR5PSIwLjQiIGZpbGw9IiNBM0IxQkYiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNC41LDU5IEM1LjA0ODAyMDcsNTkgNS40OTIyNzkyNSw1OS40NDQyNTg2IDUuNDkyMjc5MjUsNTkuOTkyMjc5MyBMNS40OTIsNjIuMzY4IEw4LDYyLjM2ODM0NyBDOC41NTIyODQ3NSw2Mi4zNjgzNDcgOSw2Mi44MTYwNjIzIDksNjMuMzY4MzQ3IEM5LDYzLjkyMDYzMTggOC41NTIyODQ3NSw2NC4zNjgzNDcgOCw2NC4zNjgzNDcgTDUuNDkyLDY0LjM2OCBMNS40OTIyNzkyNSw2Ny4wNzc3NDgxIEM1LjQ5MjI3OTI1LDY3LjYyNTc2ODggNS4wNDgwMjA3LDY4LjA3MDAyNzQgNC41LDY4LjA3MDAyNzQgQzMuOTUxOTc5Myw2OC4wNzAwMjc0IDMuNTA3NzIwNzUsNjcuNjI1NzY4OCAzLjUwNzcyMDc1LDY3LjA3Nzc0ODEgTDMuNTA3LDY0LjM2OCBMMSw2NC4zNjgzNDcgQzAuNDQ3NzE1MjUsNjQuMzY4MzQ3IDYuNzYzNTM3NTFlLTE3LDYzLjkyMDYzMTggMCw2My4zNjgzNDcgQy02Ljc2MzUzNzUxZS0xNyw2Mi44MTYwNjIzIDAuNDQ3NzE1MjUsNjIuMzY4MzQ3IDEsNjIuMzY4MzQ3IEwzLjUwNyw2Mi4zNjggTDMuNTA3NzIwNzUsNTkuOTkyMjc5MyBDMy41MDc3MjA3NSw1OS40NDQyNTg2IDMuOTUxOTc5Myw1OSA0LjUsNTkgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlLUNvcHkiIGZpbGwtb3BhY2l0eT0iMC40IiBmaWxsPSIjQTNCMUJGIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtNCIgZmlsbD0iI0RBRTBFNSIgY3g9IjY0IiBjeT0iMTAyLjUiIHJ4PSIyOCIgcnk9IjIuNSI+PC9lbGxpcHNlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IjI0Z2wtYnViYmxlczciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2LjAwMDAwMCwgMjQuMDAwMDAwKSIgZmlsbD0iI0RBRTBFNSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNOS43OTE2NjY3LDU5LjIxMDI3NDggQzkuMjcyMjg0NCw1OS4yMTAyNzQ4IDguNzc0MTc0NjMsNTkuMDAyMzM0NSA4LjQwNjkxNTg4LDU4LjYzMjE5ODUgQzguMDM5NjU3MTIsNTguMjYyMDYyNSA3LjgzMzMzMzMsNTcuNzYwMDUwMyA3LjgzMzMzMzMsNTcuMjM2NTk5IEw3LjgzMzMzMzMsNDcuMzY4MjE5OCBDMy41MDkwNjAxOSw0Ny4zNjM0NjA4IDAuMDA0NzIxOTY0NzIsNDMuODMxNjY4IDAsMzkuNDczNTE2NSBMMCw3Ljg5NDcwMzI3IEMwLjAwNDcyMTk2NDcyLDMuNTM2NTUxOCAzLjUwOTA2MDE5LDAuMDA0NzU4OTU4NzggNy44MzMzMzMzLDAgTDU4Ljc1LDAgQzYzLjA3NDI3MzEsMC4wMDQ3NTg5NTg3OCA2Ni41Nzg2MTEzLDMuNTM2NTUxOCA2Ni41ODMzMzMzLDcuODk0NzAzMjcgTDY2LjU4MzMzMzMsMTMuODE1NzMwNyBDNjYuNTgzMzMzMywxNC45MDU3NjE4IDY1LjcwNjU1NzYsMTUuNzg5NDA2NSA2NC42MjUsMTUuNzg5NDA2NSBDNjMuNTQzNDQyNCwxNS43ODk0MDY1IDYyLjY2NjY2NjcsMTQuOTA1NzYxOCA2Mi42NjY2NjY3LDEzLjgxNTczMDcgTDYyLjY2NjY2NjcsNy44OTQ3MDMyNyBDNjIuNjY0MzA1Nyw1LjcxNTYyNzUyIDYwLjkxMjEzNjYsMy45NDk3MzExMSA1OC43NSwzLjk0NzM1MTY4IEw3LjgzMzMzMzMsMy45NDczNTE2OCBDNS42NzExOTY3NywzLjk0OTczMTE2IDMuOTE5MDI3NjgsNS43MTU2Mjc1NiAzLjkxNjY2NjcsNy44OTQ3MDMyNyBMMy45MTY2NjY3LDM5LjQ3MzUxNjUgQzMuOTE5MDI3NjgsNDEuNjUyNTkyMiA1LjY3MTE5Njc3LDQzLjQxODQ4ODYgNy44MzMzMzMzLDQzLjQyMDg2ODEgTDkuNzkxNjY2Nyw0My40MjA4NjgxIEMxMC4zMTEwNDksNDMuNDIwODY4MSAxMC44MDkxNTg3LDQzLjYyODgwODQgMTEuMTc2NDE3NSw0My45OTg5NDQ0IEMxMS41NDM2NzYyLDQ0LjM2OTA4MDQgMTEuNzUsNDQuODcxMDkyNiAxMS43NSw0NS4zOTQ1NDQgTDExLjc1LDUyLjQ3MjAyMjIgTDIwLjE1Njc1NzgsNDMuOTk4Nzg1MSBDMjAuOTIxNjIxOSw0My4yMjc5Mjg4IDIyLjE2MTcxMTQsNDMuMjI3OTI4OSAyMi45MjY1NzU0LDQzLjk5ODc4NTIgQzIzLjY5MTQzOTQsNDQuNzY5NjQxNSAyMy42OTE0Mzk1LDQ2LjAxOTQ0NjUgMjIuOTI2NTc1NSw0Ni43OTAzMDI4IEwxMS4xNzY1NzU1LDU4LjYzMjM1NzggQzEwLjgwOTI1MjIsNTkuMDAyNDc0NCAxMC4zMTEwODExLDU5LjIxMDI3NDggOS43OTE2NjY3LDU5LjIxMDI3NDggTDkuNzkxNjY2Nyw1OS4yMTAyNzQ4IFogTTY0LjA1MjE4NzUsNzQuNDIxNzY0NCBMNzEuMzEwODcyNCw2Ny4xMDQ5NzggTDg2LjE2NjY2NjcsNjcuMTA0OTc4IEM5MC40OTA5Mzk4LDY3LjEwMDIxOTEgOTMuOTk1Mjc4LDYzLjU2ODQyNjIgOTQsNTkuMjEwMjc0OCBMOTQsMjcuNjMxNDYxNiBDOTMuOTk1Mjc4MSwyMy4yNzMzMTAxIDkwLjQ5MDkzOTgsMTkuNzQxNTE3MiA4Ni4xNjY2NjY3LDE5LjczNjc1ODIgTDM1LjI1LDE5LjczNjc1ODIgQzMwLjkyNTcyNjksMTkuNzQxNTE3MiAyNy40MjEzODg2LDIzLjI3MzMxMDEgMjcuNDE2NjY2NywyNy42MzE0NjE2IEwyNy40MTY2NjY3LDU5LjIxMDI3NDggQzI3LjQyMTM4ODcsNjMuNTY4NDI2MiAzMC45MjU3MjY5LDY3LjEwMDIxOTEgMzUuMjUsNjcuMTA0OTc4IEw1NC4wMjI0NjA5LDY3LjEwNDk3OCBMNjEuMjgxNzU3OCw3NC40MjE3NjQ0IEM2MS42NDkwMjk0LDc0Ljc5MTk5NzkgNjIuMTQ3MjA2OSw3NSA2Mi42NjY2NjY3LDc1IEM2My4xODYxMjY0LDc1IDYzLjY4NDMwMzksNzQuNzkxOTk3OSA2NC4wNTE1NzU1LDc0LjQyMTc2NDQgTDY0LjA1MjE4NzUsNzQuNDIxNzY0NCBaIE04Ni4xNjY2NjY3LDIzLjY4NDEwOTkgQzg4LjMyODgwMzMsMjMuNjg2NDg5NCA5MC4wODA5NzI0LDI1LjQ1MjM4NTggOTAuMDgzMzMzMywyNy42MzE0NjE2IEw5MC4wODMzMzMzLDU5LjIxMDI3NDggQzkwLjA4MDk3MjQsNjEuMzg5MzUwNSA4OC4zMjg4MDMzLDYzLjE1NTI0NyA4Ni4xNjY2NjY3LDYzLjE1NzYyNjQgTDcwLjUsNjMuMTU3NjI2NCBDNjkuOTgwNTg1Niw2My4xNTc1NDE5IDY5LjQ4MjQxNDUsNjMuMzY1NDI2NyA2OS4xMTUwOTExLDYzLjczNTU0MzMgTDYyLjY2NjY2NjcsNzAuMjM1MTA0NiBMNTYuMjE4MjQyMiw2My43MzU1NDMzIEM1NS44NTA5MTg4LDYzLjM2NTQyNjcgNTUuMzUyNzQ3Nyw2My4xNTc1NDE5IDU0LjgzMzMzMzMsNjMuMTU3NjI2NCBMMzUuMjUsNjMuMTU3NjI2NCBDMzMuMDg3ODYzNCw2My4xNTUyNDcgMzEuMzM1Njk0Miw2MS4zODkzNTA1IDMxLjMzMzMzMzMsNTkuMjEwMjc0OCBMMzEuMzMzMzMzMywyNy42MzE0NjE2IEMzMS4zMzU2OTQyLDI1LjQ1MjM4NTggMzMuMDg3ODYzNCwyMy42ODY0ODkzIDM1LjI1LDIzLjY4NDEwOTkgTDg2LjE2NjY2NjcsMjMuNjg0MTA5OSBaIiBpZD0i5b2i54q2Ij48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);margin:0 0 1em}.no-data span{font-size:2.2em}.typing-status{position:absolute;bottom:20px;left:20px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:40px}.typing-status span{display:block;width:6px;height:6px;border-radius:50%;background:#111f2c}.typing-status span:nth-child(1){opacity:90%;-webkit-animation:animatedBackground_0 1s linear infinite;animation:animatedBackground_0 1s linear infinite}.typing-status span:nth-child(2){opacity:40%;-webkit-animation:animatedBackground_1 1s linear infinite;animation:animatedBackground_1 1s linear infinite}.typing-status span:nth-child(3){opacity:20%;-webkit-animation:animatedBackground_2 1s linear infinite;animation:animatedBackground_2 1s linear infinite}@-webkit-keyframes animatedBackground_0{0%{opacity:90%}33.33%{opacity:20%}66.66%{opacity:40%}100%{opacity:90%}}@keyframes animatedBackground_0{0%{opacity:90%}33.33%{opacity:20%}66.66%{opacity:40%}100%{opacity:90%}}@-webkit-keyframes animatedBackground_1{0%{opacity:40%}33.33%{opacity:90%}66.66%{opacity:20%}100%{opacity:40%}}@keyframes animatedBackground_1{0%{opacity:40%}33.33%{opacity:90%}66.66%{opacity:20%}100%{opacity:40%}}@-webkit-keyframes animatedBackground_2{0%{opacity:20%}33.33%{opacity:40%}66.66%{opacity:90%}100%{opacity:20%}}@keyframes animatedBackground_2{0%{opacity:20%}33.33%{opacity:40%}66.66%{opacity:90%}100%{opacity:20%}}';pi.use(zo),pi.use(Yi);var Go=70,Yo=56,$o=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),Jt(Pe(t)),t.tapMessage=Tt(Pe(t),"tapMessage",7),t.baseSize="16px",t.messages=[],t.hasMore=!0,t.beforePullDown=!0,t.isPullingDown=!1,t.isLoading=!1,t.lang=gn.lang,t.isGetHistory=!1,t.scrollWrapper=null,t.lastPosition=0,t.groupMembers=[],t.handleSwitchConversation=t.handleSwitchConversation.bind(Pe(t)),t.handleMessages=t.handleMessages.bind(Pe(t)),t.pullingDownHandler=t.pullingDownHandler.bind(Pe(t)),t.handleReceiptRequest=t.handleReceiptRequest.bind(Pe(t)),t.handleSelectMessage=t.handleSelectMessage.bind(Pe(t)),t.handleUpdateMessage=t.handleUpdateMessage.bind(Pe(t)),t.handleDeleteMessage=t.handleDeleteMessage.bind(Pe(t)),t.tapMessageHandler=t.tapMessageHandler.bind(Pe(t)),t.handleTypingStatus=t.handleTypingStatus.bind(Pe(t)),t.handleMouseLeave=t.handleMouseLeave.bind(Pe(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Pe(t)),gn.on(Ce.CONNECTED,(function(e){t.isConnect=e,t.isConnect?t.updateMyProfile():t.myProfile=null})),t}return We(n,[{key:"updateMyProfile",value:function(){var t=this;gn.getMyProfile().then((function(e){t.myProfile=e}))}},{key:"updateMessageList",value:function(t){var e=this,n=t||gn.currentConversation;n&&n!==this.conversation&&gn.getConversation(n).then((function(t){t&&e.loadData(t)}))}},{key:"componentWillLoad",value:function(){gn.on(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation),gn.on(Ce.MESSAGES,this.handleMessages),gn.on(Ce.MESSAGE_RECEIPT_REQUEST,this.handleReceiptRequest),gn.on(Ce.UPDATE_MESSAGE,this.handleUpdateMessage),gn.on(Ce.DELETE_MESSAGE,this.handleDeleteMessage),gn.on(Ce.MESSAGE_SEND_SUCCESS,this.handleUpdateMessage),gn.on(Ce.MESSAGE_SEND_FAIL,this.handleUpdateMessage),gn.on(Ce.TYPING_STATUS,this.handleTypingStatus),gn.on(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"componentDidLoad",value:function(){var t=this;this.scrollWrapper&&this.mountScroller(),document.addEventListener("visibilitychange",(function(){"visible"==document.visibilityState&&t.bscroll&&setTimeout((function(){t.bscroll.refresh(),t.bscroll.scrollTo(0,t.bscroll.maxScrollY)}),100)})),gn.currentConversation&&this.handleSwitchConversation(gn.currentConversation)}},{key:"disconnectedCallback",value:function(){this.bscroll&&(this.bscroll.off("pullingDown",this.pullingDownHandler),this.bscroll.destroy()),gn.off(Ce.SWITCH_CONVERSATION,this.handleSwitchConversation),gn.off(Ce.MESSAGES,this.handleMessages),gn.off(Ce.MESSAGE_RECEIPT_REQUEST,this.handleReceiptRequest),gn.off(Ce.UPDATE_MESSAGE,this.handleUpdateMessage),gn.off(Ce.DELETE_MESSAGE,this.handleDeleteMessage),gn.off(Ce.MESSAGE_SEND_SUCCESS,this.handleUpdateMessage),gn.off(Ce.MESSAGE_SEND_FAIL,this.handleUpdateMessage),gn.off(Ce.TYPING_STATUS,this.handleTypingStatus),gn.off(Ce.LANGUAGE_CHANGED,this.handleLanguageChanged),document.removeEventListener("visibilitychange",(function(){console.info("removeEventListener visibilitychange")}))}},{key:"componentDidUpdate",value:function(){this.isGetHistory&&(this.bscroll&&(this.bscroll.refresh(),this.bscroll.scrollTo(0,Math.min(0,this.lastPosition+this.bscroll.maxScrollY))),this.isGetHistory=!1)}},{key:"mountScroller",value:function(){var t=this;this.scrollWrapper&&(this.bscroll=new pi(this.scrollWrapper,{bindToWrapper:!0,mouseWheel:{throttleTime:30},scrollX:!1,scrollY:!0,pullDownRefresh:{threshold:Go,stop:Yo},bounce:{top:!0,bottom:!1,left:!1,right:!1},preventDefaultException:{className:/((hqvoice|sight|image|richContent)-message-body)|file-download-btn/}}),this.bscroll.on("pullingDown",this.pullingDownHandler),this.bscroll.scroller.actionsHandler.wrapperEventRegister.events.forEach((function(e){"mousedown"===e.name&&(e.handler=Vi.bind(t.bscroll.scroller.actionsHandler))})),setTimeout((function(){t.bscroll.refresh(),t.bscroll.scrollTo(0,t.bscroll.maxScrollY)}),600))}},{key:"pullingDownHandler",value:function(){var t=this;if(this.lastPosition=-this.bscroll.maxScrollY,!this.hasMore)return this.beforePullDown=!0,this.isPullingDown=!1,void this.bscroll.finishPullDown();this.beforePullDown=!1,this.isPullingDown=!0;var e=Date.now();this.messages.length&&(e=this.messages[0].sentTime),this.isConnect&&gn.getMessages({conversationType:this.conversation.conversationType,targetId:this.conversation.targetId,channelId:this.conversation.channelId},e,30).then((function(e){return e.list.length?e.list[0].conversationType!==t.conversation.conversationType||e.list[0].targetId!==t.conversation.targetId||e.list[0].channelId!==t.conversation.channelId?(t.beforePullDown=!0,t.isPullingDown=!1,void t.bscroll.finishPullDown()):void setTimeout((function(){t.messages=e.list.concat(t.messages),t.hasMore=e.hasMore,t.beforePullDown=!0,t.isPullingDown=!1,t.bscroll.finishPullDown(),t.isGetHistory=!0}),600):(t.hasMore=e.hasMore,t.beforePullDown=!0,t.isPullingDown=!1,void t.bscroll.finishPullDown())}))}},{key:"handleSwitchConversation",value:function(t){if(!t)return this.conversation=null,void(this.bscroll=null);this.hasMore=!0,this.bscroll||this.mountScroller(),this.isPullingDown=!1,this.beforePullDown=!0,this.messages&&(this.messages=[]),this.updateMessageList(t)}},{key:"loadData",value:function(t){var e=this;this.conversation=t.conversation,this.conversationProfile=t.profile,this.conversation.conversationType===Te["a"].GROUP?gn.getGroupMembers(this.conversation).then((function(t){e.groupMembers=Be(t),e.getMessages()})):(this.groupMembers=null,this.getMessages())}},{key:"getMessages",value:function(){var t=this;return this.isLoading=!0,gn.getMessages({conversationType:this.conversation.conversationType,targetId:this.conversation.targetId,channelId:this.conversation.channelId}).then((function(e){if(t.isLoading=!1,t.messages=e.list,t.hasMore=e.hasMore,t.messages.length&&(t.bscroll?setTimeout((function(){t.bscroll.refresh(),t.bscroll.scrollTo(0,t.bscroll.maxScrollY)}),600):setTimeout((function(){t.mountScroller()}),100)),t.conversation.unreadMessageCount){var n=t.messages[t.messages.length-1];n&&t.sendReadReceipt(n)}}))}},{key:"handleMessages",value:function(t){var e=this;if(t.length&&this.conversation&&Je(t[0],this.conversation)){var n=function(){var n=[].concat(Be(e.messages),Be(t));e.messages=n,e.bscroll||e.mountScroller(),e.bscroll.y<e.bscroll.maxScrollY+30?setTimeout((function(){e.bscroll.refresh(),e.bscroll.scrollTo(0,e.bscroll.maxScrollY)}),100):setTimeout((function(){e.bscroll.refresh()}),100);var r=n[n.length-1];r&&e.sendReadReceipt(r)};this.conversation.conversationType===Te["a"].GROUP?gn.getGroupMembers({conversationType:this.conversation.conversationType,targetId:this.conversation.targetId,channelId:this.conversation.channelId}).then((function(t){e.groupMembers=t,n()})):(this.groupMembers=null,n())}}},{key:"sendReadReceipt",value:function(t){gn.clearMessagesUnreadStatus(this.conversation),t&&t.conversationType===Te["a"].PRIVATE&&Object(Te["H"])(this.conversation.targetId,t.messageUId,t.sentTime,this.conversation.channelId)}},{key:"handleReceiptRequest",value:function(t){Object(Te["I"])(t.conversation.targetId,xe({},t.senderUserId,[t.messageUId]),t.conversation.channelId)}},{key:"handleSelectMessage",value:function(t){var e=t.detail,n=e.message,r=e.position;n.messageUId.startsWith("sending_")||n.messageUId.startsWith("fail_")||(this.selectedMessage=n,this.contextMenuPosition=r)}},{key:"handleUpdateMessage",value:function(t){var e=this,n=this.messages.findIndex((function(e){return t.messageUId===e.messageUId}));-1!==n&&(this.messages[n]=t,this.messages=Be(this.messages),this.bscroll?setTimeout((function(){e.bscroll.refresh()}),100):this.mountScroller())}},{key:"handleDeleteMessage",value:function(t){var e=this;t.forEach((function(t){var n=e.messages.findIndex((function(e){return t.messageUId===e.messageUId}));-1!==n&&e.messages.splice(n,1)})),this.messages=Be(this.messages),this.bscroll?setTimeout((function(){e.bscroll.refresh()}),100):this.mountScroller()}},{key:"tapMessageHandler",value:function(t){this.tapMessage.emit(t.detail)}},{key:"handleMouseLeave",value:function(){this.bscroll&&(this.bscroll.stop(),this.bscroll.scroller.actionsHandler.setInitiated())}},{key:"handleTypingStatus",value:function(t){var e=this,n=t.status||[],r=n.findIndex((function(t){return e.conversation&&Je(t,e.conversation)}));-1!==r&&(this.typingTimer&&(clearTimeout(this.typingTimer),this.typingTimer=null),this.showTypingStatus=!0,this.typingTimer=setTimeout((function(){e.showTypingStatus=!1}),5e3))}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t=this;this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var e=this.conversationProfile,n=this.conversation,r=this.messages,i=this.groupMembers,o=this.myProfile,s=this.locale;return n?Z("div",{class:"message-container",style:{fontSize:this.baseSize}},Z("div",{class:"conversation-info"},Z("div",{class:"receiver"},Z("span",{class:"name"},e?e.name:n.targetId),n.conversationType===Te["a"].GROUP?Z("span",{class:"count"},"(",null===e||void 0===e?void 0:e.memberCount,")"):null)),Z("div",{class:"message-list-container",onMouseLeave:this.handleMouseLeave},Z("div",{class:"input-tip"}),Z("message-context-menu",{message:this.selectedMessage,position:this.contextMenuPosition,customMenu:this.customMenu,forwardList:this.forwardList}),Z("div",{class:"message-loading"},Z("div",{style:{display:this.isLoading?"block":"none"}},Z("span",null,s.message.loading))),Z("div",{class:"message-list-wrapper",ref:function(e){return t.scrollWrapper=e}},Z("div",{class:"message-list-scroller"},Z("div",{class:"pulldown-wrapper"},Z("div",{style:{display:this.beforePullDown?"block":"none"}},this.hasMore?Z("span",null,s.message.loading):Z("span",null,s.message.noHistory))),Z("div",{class:"message-list"},Z("message-group",{messages:r,groupMembers:i,conversationProfile:e,myProfile:o,onRightClick:this.handleSelectMessage,onTapMessageItem:this.tapMessageHandler})))),Z("div",{class:"typing-status",style:{display:this.showTypingStatus?"flex":"none"}},Z("span",null),Z("span",null),Z("span",null)))):Z("div",{class:"no-data",style:{fontSize:this.baseSize}},Z("span",null,s.message.noData))}}],[{key:"style",get:function(){return Bo}}]),n}(Ee(HTMLElement)),Ho=".upload-progress-mask{width:100%;height:100%;position:absolute;top:0;left:0;background:rgba(0, 0, 0, 0.4);font-size:72px;min-width:2.2222em;min-height:1em;overflow:hidden}.upload-progress-bar{position:absolute;width:1em;height:1em;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.upload-progress-bar svg{fill:#ffffff}";function Fo(t,e){var n="http://www.w3.org/2000/svg",r=document.createElementNS(n,t);for(var i in e)r.setAttribute(i,e[i]);return r}var Vo=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.reverse=!1,t.handleUploadProgress=t.handleUploadProgress.bind(Pe(t)),t}return We(n,[{key:"componentWillLoad",value:function(){gn.on(Ce.UPLOAD_PROGRESS,this.handleUploadProgress)}},{key:"disconnectedCallback",value:function(){gn.off(Ce.UPLOAD_PROGRESS,this.handleUploadProgress)}},{key:"drawPath",value:function(t){t=t||0;var e,n=146,r=150,i=150,o=r+Math.sin(Math.PI/180*t)*n,s=i-Math.cos(Math.PI/180*t)*n;e=this.reverse?t<=180?"M".concat(r," ").concat(i-n,"A").concat(n," ").concat(n," 0 0 0 ").concat(r," ").concat(i+n,"A").concat(n," ").concat(n," 0 0 0 ").concat(o," ").concat(s,"L").concat(r," ").concat(i," L").concat(r," ").concat(i-n,"Z"):"M".concat(r," ").concat(i-n,"A").concat(n," ").concat(n," 0 0 0 ").concat(o," ").concat(s,"L").concat(r," ").concat(i," L").concat(r," ").concat(i-n,"Z"):t<=180?"M".concat(r," ").concat(i-n,"A").concat(n," ").concat(n," 0 0 1 ").concat(o," ").concat(s,"L").concat(r," ").concat(i," L").concat(r," ").concat(i-n,"Z"):"M".concat(r," ").concat(i-n,"A").concat(n," ").concat(n," 0 0 1 ").concat(r," ").concat(i+n,"A").concat(n," ").concat(n," 0 0 1 ").concat(o," ").concat(s,"L").concat(r," ").concat(i," L").concat(r," ").concat(i-n,"Z");var a=Fo("path",{fill:"rgba(255, 255, 255, 1)",d:e});while(this.svg.childNodes.length>1)this.svg.removeChild(this.svg.childNodes[1]);this.svg.appendChild(a)}},{key:"handleUploadProgress",value:function(t){this.mId===t.messageId&&this.drawPath(3.6*t.progress)}},{key:"render",value:function(){var t=this;return Z("div",{class:"upload-progress-mask"},Z("div",{class:"upload-progress-bar"},Z("svg",{ref:function(e){return t.svg=e},id:"svg",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 300 300"},Z("circle",{xmlns:"http://www.w3.org/2000/svg",cx:"150",cy:"150",r:"148",stroke:"#ffffff","stroke-width":"2",fill:"none"}))))}}],[{key:"style",get:function(){return Ho}}]),n}(Ee(HTMLElement)),Qo=".message-reference{position:absolute;-webkit-transform:translateY(calc(-100% - 1px));transform:translateY(calc(-100% - 1px));min-height:4.5em;padding:.83333em .291667em .83333em .83333em;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:2.4em;background:#fff}.message-reference .close-btn{position:absolute;right:.83333em;top:.83333em;width:1.33333em;height:0;padding-top:1.33333em;overflow:hidden;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5YWzICDpl63lpIfku708L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMTBf5Y2V6IGKLeW8leeUqOa2iOaBr+agt+W8jyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEzODkuMDAwMDAwLCAtNTkyLjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSLlhbMtLemXreWkh+S7vSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTM4OS4wMDAwMDAsIDU5Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIGZpbGw9IiMwMDAwMDAiIG9wYWNpdHk9IjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTE3LjcxNzk4NzEsMTYuMjg0MjcxMiBMMjYuNzc3NTg3OSw3LjIyNDY3MDQxIEMyNy4yMzQ4OTM4LDYuNzY3MzY0NSAyNy4yMzQ4OTM4LDYuMDEzNDI3NzMgMjYuNzc3NTg3OSw1LjU1NjEyMTgzIEwyNi43MjgxNDk0LDUuNTA2NjgzMzUgQzI2LjI3MDg0MzUsNS4wNDkzNzc0NCAyNS41MTY5MDY3LDUuMDQ5Mzc3NDQgMjUuMDU5NjAwOCw1LjUwNjY4MzM1IEwxNiwxNC41Nzg2NDM4IEw2Ljk0MDM5OTE3LDUuNTA2NjgzMzUgQzYuNDgzMDkzMjYsNS4wNDkzNzc0NCA1LjcyOTE1NjQ5LDUuMDQ5Mzc3NDQgNS4yNzE4NTA1OSw1LjUwNjY4MzM1IEw1LjIyMjQxMjExLDUuNTU2MTIxODMgQzQuNzUyNzQ2NTgsNi4wMTM0Mjc3MyA0Ljc1Mjc0NjU4LDYuNzY3MzY0NSA1LjIyMjQxMjExLDcuMjI0NjcwNDEgTDE0LjI4MjAxMjksMTYuMjg0MjcxMiBMNS4yMjI0MTIxMSwyNS4zNDM4NzIxIEM0Ljc2NTEwNjIsMjUuODAxMTc4IDQuNzY1MTA2MiwyNi41NTUxMTQ3IDUuMjIyNDEyMTEsMjcuMDEyNDIwNyBMNS4yNzE4NTA1OSwyNy4wNjE4NTkxIEM1LjcyOTE1NjQ5LDI3LjUxOTE2NSA2LjQ4MzA5MzI2LDI3LjUxOTE2NSA2Ljk0MDM5OTE3LDI3LjA2MTg1OTEgTDE2LDE4LjAwMjI1ODMgTDI1LjA1OTYwMDgsMjcuMDYxODU5MSBDMjUuNTE2OTA2NywyNy41MTkxNjUgMjYuMjcwODQzNSwyNy41MTkxNjUgMjYuNzI4MTQ5NCwyNy4wNjE4NTkxIEwyNi43Nzc1ODc5LDI3LjAxMjQyMDcgQzI3LjIzNDg5MzgsMjYuNTU1MTE0NyAyNy4yMzQ4OTM4LDI1LjgwMTE3OCAyNi43Nzc1ODc5LDI1LjM0Mzg3MjEgTDE3LjcxNzk4NzEsMTYuMjg0MjcxMiBaIiBpZD0i6Lev5b6EIiBmaWxsPSIjQTBBNUFCIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==) no-repeat;background-size:contain;border:none;cursor:pointer}.message-reference .message-body{border-left:0.08333em solid #E3E5E6;padding:0 0 0 0.83333em;height:100%}.message-reference .content{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reference .content .reference-image{width:100%;height:2.92em}.message-reference .content .reference-image img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}",Wo=function(t){Le(n,t);var e=je(n);function n(){var t;return Ve(this,n),t=e.call(this),t.__registerHost(),t.close=Tt(Pe(t),"close",7),t.lang=gn.lang,t.closeReference=t.closeReference.bind(Pe(t)),t}return We(n,[{key:"validateData",value:function(){this.referenceMessage?this.handleReferenceMessage(this.referenceMessage.message):this.closeReference()}},{key:"closeReference",value:function(){this.name="",this.content="",this.close.emit()}},{key:"handleReferenceMessage",value:function(t){var e,n=this,r={conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId};e=t.conversationType===Te["a"].GROUP?gn.getGroupMemberProfile(r,t.senderUserId).then((function(e){return e?e.groupNickname||e.name:t.senderUserId})):t.senderUserId===Object(Te["t"])()?gn.getMyProfile().then((function(e){return e.displayName||e.name||t.senderUserId})):gn.getConversationProfile(r).then((function(e){return e?e.displayName||e.name:t.senderUserId})),e&&e.then((function(e){switch(n.name=e,t.messageType){case Te["h"].TEXT:n.content=t.content.content;break;case Te["h"].IMAGE:n.content=Z("div",{class:"reference-image"},Z("img",{src:jn(t.content.content)}));break;case Te["h"].FILE:n.content="["+n.locale.conversation.file+"]"+t.content.name;break;case Te["h"].GIF:n.content=Z("img",{src:t.content.remoteUrl});break;case Te["h"].HQ_VOICE:n.content="["+n.locale.conversation.file+"]";break;case Te["h"].SIGHT:n.content=Z("img",{src:t.content.content});break;case Te["h"].RICH_CONTENT:n.content=t.content.title;break;case Te["h"].REFERENCE:n.content=t.content.content||"";break;default:n.content="["+n.locale.other.unKnowMessage+"]";break}}))}},{key:"componentShouldUpdate",value:function(){return!(!this.name&&!this.content)}},{key:"render",value:function(){this.locale=this.lang?Sn[this.lang]:Sn.zh_CN;var t=this.name,e=this.content;return t&&e?Z("div",{class:"message-reference"},Z("div",{class:"message-body"},Z("div",{class:"name"},this.name,":"),Z("div",{class:"content"},this.content)),Z("button",{class:"close-btn",onClick:this.closeReference},"关闭")):null}}],[{key:"watchers",get:function(){return{referenceMessage:["validateData"]}}},{key:"style",get:function(){return Qo}}]),n}(Ee(HTMLElement)),Zo=qt(Dn,[1,"content-editor",{conversation:[16],value:[16],memberListVisible:[32],targetRect:[32],hasContent:[32],locale:[32],lang:[32]}]),Ko=qt(Ln,[0,"conversation-context-menu",{position:[16],visible:[4],topStatus:[4,"top-status"],notificationStatus:[4,"notification-status"],customMenu:[16],conversation:[16],locale:[32],lang:[32]}]),qo=qt(Yn,[0,"conversation-item",{data:[16],isHover:[4,"is-hover"],draft:[32],locale:[32],lang:[32]}]),Jo=qt(Wi,[1,"conversation-list",{baseSize:[1,"base-size"],userBackground:[1,"user-background"],customMenu:[16],currentConversation:[32],isPullUpLoad:[32],data:[32],locale:[32],lang:[32],contextMenuData:[32]}]),Xo=qt(Ki,[0,"member-list",{conversation:[16],visible:[4],targetRect:[16],memberList:[32],position:[32],locale:[32],lang:[32]}]),ts=qt(Ji,[0,"message-context-menu",{position:[16],message:[16],customMenu:[16],forwardList:[16],visible:[32],locale:[32],lang:[32],isShowForward:[32],msgType:[32]}]),es=qt(to,[0,"message-editor",{baseSize:[1,"base-size"],conversation:[32],hasContent:[32],referenceMessage:[32],showMemberList:[32],draft:[32],isError:[32],locale:[32],lang:[32]}]),ns=qt(bo,[0,"message-group",{messages:[16],groupMembers:[16],conversationProfile:[16],myProfile:[16],locale:[32],lang:[32]}]),rs=qt(_o,[0,"message-item",{message:[16],member:[16],isGroupMember:[4,"is-group-member"],conversationProfile:[16],myProfile:[16],locale:[32],lang:[32]}]),is=qt($o,[1,"message-list",{baseSize:[1,"base-size"],customMenu:[16],forwardList:[16],conversation:[32],conversationProfile:[32],messages:[32],hasMore:[32],beforePullDown:[32],isPullingDown:[32],isLoading:[32],locale:[32],lang:[32],selectedMessage:[32],contextMenuPosition:[32],showTypingStatus:[32]}]),os=qt(Vo,[0,"progress-bar",{mId:[2,"m-id"],reverse:[4]}]),ss=qt(Wo,[0,"reference-message",{referenceMessage:[16],content:[32],name:[32],locale:[32],lang:[32]}]),as=function(t){"undefined"!==typeof customElements&&[Zo,Ko,qo,Jo,Xo,ts,es,ns,rs,is,os,ss].forEach((function(e){customElements.get(e.is)||customElements.define(e.is,e,t)}))}},e804:function(t,e,n){"use strict";var r=n("5ca1"),i=n("f1ae");r(r.S+r.F*n("79e5")((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);while(e>t)i(n,t,arguments[t++]);return n.length=e,n}})},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},e956:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c45f"),o=n("4bf8"),s=n("9def"),a=n("d8e8"),c=n("cd1c");r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return a(t),e=s(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n("9c6c")("flatMap")},e9d2:function(t,e){t.exports=Math.scale||function(t,e,n,r,i){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-e)*(i-r)/(n-e)+r}},ea8e:function(t,e,n){"use strict";var r=n("a142");function i(t){return/^\d+(\.\d+)?$/.test(t)}function o(t){if(Object(r["c"])(t))return t=String(t),i(t)?t+"px":t}n.d(e,"a",(function(){return o}))},ead6:function(t,e,n){var r=n("f772"),i=n("e4ae"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("d864")(Function.call,n("bf0b").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},ebde:function(t,e,n){var r=n("11e9"),i=n("5ca1"),o=n("cb7c");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},ebfd:function(t,e,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),s=n("d9f6").f,a=0,c=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},ec30:function(t,e,n){"use strict";if(n("9e1e")){var r=n("2d00"),i=n("7726"),o=n("79e5"),s=n("5ca1"),a=n("0f88"),c=n("ed0b"),u=n("9b43"),l=n("f605"),f=n("4630"),h=n("32e9"),d=n("dcbc"),p=n("4588"),g=n("9def"),v=n("09fa"),y=n("77f1"),m=n("6a99"),I=n("69a8"),M=n("23c6"),b=n("d3f4"),C=n("4bf8"),_=n("33a4"),A=n("2aeb"),T=n("38fd"),w=n("9093").f,E=n("27ee"),N=n("ca5a"),S=n("2b4c"),O=n("0a49"),D=n("c366"),x=n("ebd6"),L=n("cadf"),R=n("84f2"),j=n("5cc5"),k=n("7a56"),P=n("36bd"),U=n("ba92"),z=n("86cc"),B=n("11e9"),G=z.f,Y=B.f,$=i.RangeError,H=i.TypeError,F=i.Uint8Array,V="ArrayBuffer",Q="Shared"+V,W="BYTES_PER_ELEMENT",Z="prototype",K=Array[Z],q=c.ArrayBuffer,J=c.DataView,X=O(0),tt=O(2),et=O(3),nt=O(4),rt=O(5),it=O(6),ot=D(!0),st=D(!1),at=L.values,ct=L.keys,ut=L.entries,lt=K.lastIndexOf,ft=K.reduce,ht=K.reduceRight,dt=K.join,pt=K.sort,gt=K.slice,vt=K.toString,yt=K.toLocaleString,mt=S("iterator"),It=S("toStringTag"),Mt=N("typed_constructor"),bt=N("def_constructor"),Ct=a.CONSTR,_t=a.TYPED,At=a.VIEW,Tt="Wrong length!",wt=O(1,(function(t,e){return Dt(x(t,t[bt]),e)})),Et=o((function(){return 1===new F(new Uint16Array([1]).buffer)[0]})),Nt=!!F&&!!F[Z].set&&o((function(){new F(1).set({})})),St=function(t,e){var n=p(t);if(n<0||n%e)throw $("Wrong offset!");return n},Ot=function(t){if(b(t)&&_t in t)return t;throw H(t+" is not a typed array!")},Dt=function(t,e){if(!b(t)||!(Mt in t))throw H("It is not a typed array constructor!");return new t(e)},xt=function(t,e){return Lt(x(t,t[bt]),e)},Lt=function(t,e){var n=0,r=e.length,i=Dt(t,r);while(r>n)i[n]=e[n++];return i},Rt=function(t,e,n){G(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,i,o,s,a=C(t),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,h=E(a);if(void 0!=h&&!_(h)){for(s=h.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(f&&c>2&&(l=u(l,arguments[2],2)),e=0,n=g(a.length),i=Dt(this,n);n>e;e++)i[e]=f?l(a[e],e):a[e];return i},kt=function(){var t=0,e=arguments.length,n=Dt(this,e);while(e>t)n[t]=arguments[t++];return n},Pt=!!F&&o((function(){yt.call(new F(1))})),Ut=function(){return yt.apply(Pt?gt.call(Ot(this)):Ot(this),arguments)},zt={copyWithin:function(t,e){return U.call(Ot(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return P.apply(Ot(this),arguments)},filter:function(t){return xt(this,tt(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return st(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(Ot(this),arguments)},lastIndexOf:function(t){return lt.apply(Ot(this),arguments)},map:function(t){return wt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ft.apply(Ot(this),arguments)},reduceRight:function(t){return ht.apply(Ot(this),arguments)},reverse:function(){var t,e=this,n=Ot(e).length,r=Math.floor(n/2),i=0;while(i<r)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return pt.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),r=n.length,i=y(t,r);return new(x(n,n[bt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,g((void 0===e?r:y(e,r))-i))}},Bt=function(t,e){return xt(this,gt.call(Ot(this),t,e))},Gt=function(t){Ot(this);var e=St(arguments[1],1),n=this.length,r=C(t),i=g(r.length),o=0;if(i+e>n)throw $(Tt);while(o<i)this[e+o]=r[o++]},Yt={entries:function(){return ut.call(Ot(this))},keys:function(){return ct.call(Ot(this))},values:function(){return at.call(Ot(this))}},$t=function(t,e){return b(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ht=function(t,e){return $t(t,e=m(e,!0))?f(2,t[e]):Y(t,e)},Ft=function(t,e,n){return!($t(t,e=m(e,!0))&&b(n)&&I(n,"value"))||I(n,"get")||I(n,"set")||n.configurable||I(n,"writable")&&!n.writable||I(n,"enumerable")&&!n.enumerable?G(t,e,n):(t[e]=n.value,t)};Ct||(B.f=Ht,z.f=Ft),s(s.S+s.F*!Ct,"Object",{getOwnPropertyDescriptor:Ht,defineProperty:Ft}),o((function(){vt.call({})}))&&(vt=yt=function(){return dt.call(this)});var Vt=d({},zt);d(Vt,Yt),h(Vt,mt,Yt.values),d(Vt,{slice:Bt,set:Gt,constructor:function(){},toString:vt,toLocaleString:Ut}),Rt(Vt,"buffer","b"),Rt(Vt,"byteOffset","o"),Rt(Vt,"byteLength","l"),Rt(Vt,"length","e"),G(Vt,It,{get:function(){return this[_t]}}),t.exports=function(t,e,n,c){c=!!c;var u=t+(c?"Clamped":"")+"Array",f="get"+t,d="set"+t,p=i[u],y=p||{},m=p&&T(p),I=!p||!a.ABV,C={},_=p&&p[Z],E=function(t,n){var r=t._d;return r.v[f](n*e+r.o,Et)},N=function(t,n,r){var i=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,Et)},S=function(t,e){G(t,e,{get:function(){return E(this,e)},set:function(t){return N(this,e,t)},enumerable:!0})};I?(p=n((function(t,n,r,i){l(t,p,u,"_d");var o,s,a,c,f=0,d=0;if(b(n)){if(!(n instanceof q||(c=M(n))==V||c==Q))return _t in n?Lt(p,n):jt.call(p,n);o=n,d=St(r,e);var y=n.byteLength;if(void 0===i){if(y%e)throw $(Tt);if(s=y-d,s<0)throw $(Tt)}else if(s=g(i)*e,s+d>y)throw $(Tt);a=s/e}else a=v(n),s=a*e,o=new q(s);h(t,"_d",{b:o,o:d,l:s,e:a,v:new J(o)});while(f<a)S(t,f++)})),_=p[Z]=A(Vt),h(_,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&j((function(t){new p,new p(null),new p(1.5),new p(t)}),!0)||(p=n((function(t,n,r,i){var o;return l(t,p,u),b(n)?n instanceof q||(o=M(n))==V||o==Q?void 0!==i?new y(n,St(r,e),i):void 0!==r?new y(n,St(r,e)):new y(n):_t in n?Lt(p,n):jt.call(p,n):new y(v(n))})),X(m!==Function.prototype?w(y).concat(w(m)):w(y),(function(t){t in p||h(p,t,y[t])})),p[Z]=_,r||(_.constructor=p));var O=_[mt],D=!!O&&("values"==O.name||void 0==O.name),x=Yt.values;h(p,Mt,!0),h(_,_t,u),h(_,At,!0),h(_,bt,p),(c?new p(1)[It]==u:It in _)||G(_,It,{get:function(){return u}}),C[u]=p,s(s.G+s.W+s.F*(p!=y),C),s(s.S,u,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*o((function(){y.of.call(p,1)})),u,{from:jt,of:kt}),W in _||h(_,W,e),s(s.P,u,zt),k(u),s(s.P+s.F*Nt,u,{set:Gt}),s(s.P+s.F*!D,u,Yt),r||_.toString==vt||(_.toString=vt),s(s.P+s.F*o((function(){new p(1).slice()})),u,{slice:Bt}),s(s.P+s.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){_.toLocaleString.call([1,2])}))),u,{toLocaleString:Ut}),R[u]=D?O:x,r||D||h(_,mt,x)}}else t.exports=function(){}},ec39:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},ed0b:function(t,e,n){"use strict";var r=n("7726"),i=n("9e1e"),o=n("2d00"),s=n("0f88"),a=n("32e9"),c=n("dcbc"),u=n("79e5"),l=n("f605"),f=n("4588"),h=n("9def"),d=n("09fa"),p=n("9093").f,g=n("86cc").f,v=n("36bd"),y=n("7f20"),m="ArrayBuffer",I="DataView",M="prototype",b="Wrong length!",C="Wrong index!",_=r[m],A=r[I],T=r.Math,w=r.RangeError,E=r.Infinity,N=_,S=T.abs,O=T.pow,D=T.floor,x=T.log,L=T.LN2,R="buffer",j="byteLength",k="byteOffset",P=i?"_b":R,U=i?"_l":j,z=i?"_o":k;function B(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,c=(1<<a)-1,u=c>>1,l=23===e?O(2,-24)-O(2,-77):0,f=0,h=t<0||0===t&&1/t<0?1:0;for(t=S(t),t!=t||t===E?(i=t!=t?1:0,r=c):(r=D(x(t)/L),t*(o=O(2,-r))<1&&(r--,o*=2),t+=r+u>=1?l/o:l*O(2,1-u),t*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(t*o-1)*O(2,e),r+=u):(i=t*O(2,u-1)*O(2,e),r=0));e>=8;s[f++]=255&i,i/=256,e-=8);for(r=r<<e|i,a+=e;a>0;s[f++]=255&r,r/=256,a-=8);return s[--f]|=128*h,s}function G(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,s=o>>1,a=i-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;a>0;l=256*l+t[c],c--,a-=8);for(r=l&(1<<-a)-1,l>>=-a,a+=e;a>0;r=256*r+t[c],c--,a-=8);if(0===l)l=1-s;else{if(l===o)return r?NaN:u?-E:E;r+=O(2,e),l-=s}return(u?-1:1)*r*O(2,l-e)}function Y(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function $(t){return[255&t]}function H(t){return[255&t,t>>8&255]}function F(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function V(t){return B(t,52,8)}function Q(t){return B(t,23,4)}function W(t,e,n){g(t[M],e,{get:function(){return this[n]}})}function Z(t,e,n,r){var i=+n,o=d(i);if(o+e>t[U])throw w(C);var s=t[P]._b,a=o+t[z],c=s.slice(a,a+e);return r?c:c.reverse()}function K(t,e,n,r,i,o){var s=+n,a=d(s);if(a+e>t[U])throw w(C);for(var c=t[P]._b,u=a+t[z],l=r(+i),f=0;f<e;f++)c[u+f]=l[o?f:e-f-1]}if(s.ABV){if(!u((function(){_(1)}))||!u((function(){new _(-1)}))||u((function(){return new _,new _(1.5),new _(NaN),_.name!=m}))){_=function(t){return l(this,_),new N(d(t))};for(var q,J=_[M]=N[M],X=p(N),tt=0;X.length>tt;)(q=X[tt++])in _||a(_,q,N[q]);o||(J.constructor=_)}var et=new A(new _(2)),nt=A[M].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||c(A[M],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else _=function(t){l(this,_,m);var e=d(t);this._b=v.call(new Array(e),0),this[U]=e},A=function(t,e,n){l(this,A,I),l(t,_,I);var r=t[U],i=f(e);if(i<0||i>r)throw w("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw w(b);this[P]=t,this[z]=i,this[U]=n},i&&(W(_,j,"_l"),W(A,R,"_b"),W(A,j,"_l"),W(A,k,"_o")),c(A[M],{getInt8:function(t){return Z(this,1,t)[0]<<24>>24},getUint8:function(t){return Z(this,1,t)[0]},getInt16:function(t){var e=Z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return Y(Z(this,4,t,arguments[1]))},getUint32:function(t){return Y(Z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return G(Z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return G(Z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){K(this,1,t,$,e)},setUint8:function(t,e){K(this,1,t,$,e)},setInt16:function(t,e){K(this,2,t,H,e,arguments[2])},setUint16:function(t,e){K(this,2,t,H,e,arguments[2])},setInt32:function(t,e){K(this,4,t,F,e,arguments[2])},setUint32:function(t,e){K(this,4,t,F,e,arguments[2])},setFloat32:function(t,e){K(this,4,t,Q,e,arguments[2])},setFloat64:function(t,e){K(this,8,t,V,e,arguments[2])}});y(_,m),y(A,I),a(A[M],s.VIEW,!0),e[m]=_,e[I]=A},ed33:function(t,e,n){n("014b"),t.exports=n("584a").Object.getOwnPropertySymbols},ed50:function(t,e,n){"use strict";var r=n("5ca1"),i=n("2e08"),o=n("a25f"),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},ed7e:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},ee1d:function(t,e,n){var r=n("5ca1");r(r.S,"Number",{isNaN:function(t){return t!=t}})},ee6d:function(t,e,n){var r=n("63b6"),i=n("ba99"),o=n("36c3"),s=n("bf0b"),a=n("20fd");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=s.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&a(l,e,n);return l}})},ef5d:function(t,e){var n=Object.prototype.toString;function r(t){return"function"===typeof t.constructor?t.constructor.name:null}function i(t){return Array.isArray?Array.isArray(t):t instanceof Array}function o(t){return t instanceof Error||"string"===typeof t.message&&t.constructor&&"number"===typeof t.constructor.stackTraceLimit}function s(t){return t instanceof Date||"function"===typeof t.toDateString&&"function"===typeof t.getDate&&"function"===typeof t.setDate}function a(t){return t instanceof RegExp||"string"===typeof t.flags&&"boolean"===typeof t.ignoreCase&&"boolean"===typeof t.multiline&&"boolean"===typeof t.global}function c(t,e){return"GeneratorFunction"===r(t)}function u(t){return"function"===typeof t.throw&&"function"===typeof t.return&&"function"===typeof t.next}function l(t){try{if("number"===typeof t.length&&"function"===typeof t.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}function f(t){return!(!t.constructor||"function"!==typeof t.constructor.isBuffer)&&t.constructor.isBuffer(t)}t.exports=function(t){if(void 0===t)return"undefined";if(null===t)return"null";var e=typeof t;if("boolean"===e)return"boolean";if("string"===e)return"string";if("number"===e)return"number";if("symbol"===e)return"symbol";if("function"===e)return c(t)?"generatorfunction":"function";if(i(t))return"array";if(f(t))return"buffer";if(l(t))return"arguments";if(s(t))return"date";if(o(t))return"error";if(a(t))return"regexp";switch(r(t)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(u(t))return"generator";switch(e=n.call(t),e){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}},f0c1:function(t,e,n){"use strict";var r=n("d8e8"),i=n("d3f4"),o=n("31f4"),s=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function(){var r=n.concat(s.call(arguments));return this instanceof a?c(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},f1ae:function(t,e,n){"use strict";var r=n("86cc"),i=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},f201:function(t,e,n){var r=n("e4ae"),i=n("79aa"),o=n("5168")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},f386:function(t,e,n){"use strict";n("386b")("small",(function(t){return function(){return t(this,"small","","")}}))},f3a2:function(t,e,n){(function(e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",u="object"===typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{l=e.regeneratorRuntime=u?t.exports:{},l.wrap=M;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",g={},v={};v[s]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(x([])));m&&m!==r&&i.call(m,s)&&(v=m);var I=A.prototype=C.prototype=Object.create(v);_.prototype=I.constructor=A,A.constructor=_,A[c]=_.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(I),t},l.awrap=function(t){return{__await:t}},T(w.prototype),w.prototype[a]=function(){return this},l.AsyncIterator=w,l.async=function(t,e,n,r){var i=new w(M(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},T(I),I[c]="Generator",I[s]=function(){return this},I.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=x,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var c=i.call(s,"catchLoc"),u=i.call(s,"finallyLoc");if(c&&u){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(c){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:x(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function M(t,e,n,r){var i=e&&e.prototype instanceof C?e:C,o=Object.create(i.prototype),s=new D(r||[]);return o._invoke=E(t,n,s),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function C(){}function _(){}function A(){}function T(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function w(t){function n(e,r,o,s){var a=b(t[e],t,r);if("throw"!==a.type){var c=a.arg,u=c.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(t){n("next",t,o,s)}),(function(t){n("throw",t,o,s)})):Promise.resolve(u).then((function(t){c.value=t,o(c)}),s)}s(a.arg)}var r;function o(t,e){function i(){return new Promise((function(r,i){n(t,e,r,i)}))}return r=r?r.then(i,i):i()}"object"===typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n)),this._invoke=o}function E(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return L()}n.method=i,n.arg=o;while(1){var s=n.delegate;if(s){var a=N(s,n);if(a){if(a===g)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=b(t,e,n);if("normal"===c.type){if(r=n.done?p:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}function N(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,N(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=b(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function x(t){if(t){var e=t[s];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:n,done:!0}}}("object"===typeof e?e:"object"===typeof window?window:"object"===typeof self?self:this)}).call(this,n("c8ba"))},f3e2:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(0),o=n("2f21")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},f400:function(t,e,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Map";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,o),t);return e&&e.v},set:function(t,e){return r.def(i(this,o),0===t?0:t,e)}},r,!0)},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f4ff:function(t,e,n){var r=n("5ca1"),i=Math.imul;r(r.S+r.F*n("79e5")((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},f559:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),s="startsWith",a=""[s];r(r.P+r.F*n("5147")(s),"String",{startsWith:function(t){var e=o(this,t,s),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},f576:function(t,e,n){"use strict";var r=n("5ca1"),i=n("2e08"),o=n("a25f"),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},f5df:function(t,e,n){},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f6b3:function(t,e,n){var r=n("5ca1");r(r.S,"Reflect",{has:function(t,e){return e in t}})},f6b4:function(t,e,n){"use strict";var r=n("c532");function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f893:function(t,e,n){t.exports={default:n("f921"),__esModule:!0}},f904:function(t,e,n){"use strict";var r=n("13d9"),i={"text/plain":"Text","text/html":"Url",default:"Text"},o="Copy to clipboard: #{key}, Enter";function s(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}function a(t,e){var n,a,c,u,l,f,h=!1;e||(e={}),n=e.debug||!1;try{c=r(),u=document.createRange(),l=document.getSelection(),f=document.createElement("span"),f.textContent=t,f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",(function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[e.format]||i["default"];window.clipboardData.setData(o,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))})),document.body.appendChild(f),u.selectNodeContents(f),l.addRange(u);var d=document.execCommand("copy");if(!d)throw new Error("copy command was unsuccessful");h=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),h=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),a=s("message"in e?e.message:o),window.prompt(a,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(u):l.removeAllRanges()),f&&document.body.removeChild(f),c()}return h}t.exports=a},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},f9ab:function(t,e,n){var r=n("5ca1"),i=n("96fb");r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fa83:function(t,e,n){"use strict";n("386b")("blink",(function(t){return function(){return t(this,"blink","","")}}))},fa99:function(t,e,n){n("0293"),t.exports=n("584a").Object.getPrototypeOf},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb48:function(t,e,n){"use strict"; /*! * is-plain-object <https://github.com/jonschlinkert/is-plain-object> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */var r=n("a832");function i(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,n;return!1!==i(t)&&(e=t.constructor,"function"===typeof e&&(n=e.prototype,!1!==i(n)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},fca0:function(t,e,n){var r=n("5ca1"),i=n("7726").isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},fd24:function(t,e,n){var r=n("5ca1");r(r.S,"Object",{setPrototypeOf:n("8b97").set})},fd5a:function(t,e,n){n("d0ca"),t.exports=n("8378").RegExp.escape},fde4:function(t,e,n){n("bf90");var r=n("584a").Object;t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)}},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},fee7:function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("d8e8"),s=n("86cc");n("9e1e")&&r(r.P+n("c5b4"),"Object",{__defineSetter__:function(t,e){s.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},ffc1:function(t,e,n){var r=n("5ca1"),i=n("504c")(!0);r(r.S,"Object",{entries:function(t){return i(t)}})}}]);