!function(e){function t(o){if(i[o])return i[o].exports;var r=i[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var i={};t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,o){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=29)}([function(e,t,i){"use strict";var o,r,n=e.exports=i(2),s=i(19);n.codegen=i(31),n.fetch=i(33),n.path=i(35),n.fs=n.inquire("fs"),n.toArray=function(e){if(e){for(var t=Object.keys(e),i=new Array(t.length),o=0;o0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=e.dcodeIO&&e.dcodeIO.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var i=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(i.lo,i.hi,t):i.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=r,n.ProtocolError=r("ProtocolError"),n.oneOfGetter=function(e){for(var t={},i=0;i-1;--i)if(1===t[e[i]]&&void 0!==this[e[i]]&&null!==this[e[i]])return e[i]}},n.oneOfSetter=function(e){return function(t){for(var i=0;i=t)return!0;return!1},r.isReservedName=function(e,t){if(e)for(var i=0;i0;){var o=e.shift();if(i.nested&&i.nested[o]){if(!((i=i.nested[o])instanceof r))throw Error("path conflicts with non-namespace objects")}else i.add(i=new r(o))}return t&&i.addJSON(t),i},r.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t-1)return o}else if(o instanceof r&&(o=o.lookup(e.slice(1),t,!0)))return o}else for(var n=0;n-1&&this.oneof.splice(t,1),e.partOf=null,this},o.prototype.onAdd=function(e){n.prototype.onAdd.call(this,e);for(var t=this,i=0;i "+e.len)}function r(e){this.buf=e,this.pos=0,this.len=e.length}function n(){var e=new l(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw o(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw o(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function s(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw o(this,8);return new l(s(this.buf,this.pos+=4),s(this.buf,this.pos+=4))}e.exports=r;var a,p=i(2),l=p.LongBits,u=p.utf8,f="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new r(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new r(e);throw Error("illegal buffer")};r.create=p.Buffer?function(e){return(r.create=function(e){return p.Buffer.isBuffer(e)?new a(e):f(e)})(e)}:f,r.prototype._slice=p.Array.prototype.subarray||p.Array.prototype.slice,r.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return e}}(),r.prototype.int32=function(){return 0|this.uint32()},r.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},r.prototype.bool=function(){return 0!==this.uint32()},r.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return s(this.buf,this.pos+=4)},r.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return 0|s(this.buf,this.pos+=4)},r.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var e=p.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},r.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var e=p.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},r.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw o(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,i):t===i?new this.buf.constructor(0):this._slice.call(this.buf,t,i)},r.prototype.string=function(){var e=this.bytes();return u.read(e,0,e.length)},r.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw o(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw o(this)}while(128&this.buf[this.pos++]);return this},r.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){if(4==(e=7&this.uint32()))break;this.skipType(e)}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},r._configure=function(e){a=e;var t=p.Long?"toLong":"toNumber";p.merge(r.prototype,{int64:function(){return n.call(this)[t](!1)},uint64:function(){return n.call(this)[t](!0)},sint64:function(){return n.call(this).zzDecode()[t](!1)},fixed64:function(){return d.call(this)[t](!0)},sfixed64:function(){return d.call(this)[t](!1)}})}},function(e,t,i){"use strict";function o(e,t,i){this.fn=e,this.len=t,this.next=void 0,this.val=i}function r(){}function n(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function s(){this.len=0,this.head=new o(r,0,0),this.tail=this.head,this.states=null}function d(e,t,i){t[i]=255&e}function a(e,t,i){for(;e>127;)t[i++]=127&e|128,e>>>=7;t[i]=e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function l(e,t,i){for(;e.hi;)t[i++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[i++]=127&e.lo|128,e.lo=e.lo>>>7;t[i++]=e.lo}function u(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}e.exports=s;var f,y=i(2),c=y.LongBits,h=y.base64,g=y.utf8;s.create=y.Buffer?function(){return(s.create=function(){return new f})()}:function(){return new s},s.alloc=function(e){return new y.Array(e)},y.Array!==Array&&(s.alloc=y.pool(s.alloc,y.Array.prototype.subarray)),s.prototype._push=function(e,t,i){return this.tail=this.tail.next=new o(e,t,i),this.len+=t,this},p.prototype=Object.create(o.prototype),p.prototype.fn=a,s.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},s.prototype.int32=function(e){return e<0?this._push(l,10,c.fromNumber(e)):this.uint32(e)},s.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},s.prototype.uint64=function(e){var t=c.from(e);return this._push(l,t.length(),t)},s.prototype.int64=s.prototype.uint64,s.prototype.sint64=function(e){var t=c.from(e).zzEncode();return this._push(l,t.length(),t)},s.prototype.bool=function(e){return this._push(d,1,e?1:0)},s.prototype.fixed32=function(e){return this._push(u,4,e>>>0)},s.prototype.sfixed32=s.prototype.fixed32,s.prototype.fixed64=function(e){var t=c.from(e);return this._push(u,4,t.lo)._push(u,4,t.hi)},s.prototype.sfixed64=s.prototype.fixed64,s.prototype.float=function(e){return this._push(y.float.writeFloatLE,4,e)},s.prototype.double=function(e){return this._push(y.float.writeDoubleLE,8,e)};var m=y.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var o=0;o>>0;if(!t)return this._push(d,1,0);if(y.isString(e)){var i=s.alloc(t=h.length(e));h.decode(e,i,0),e=i}return this.uint32(t)._push(m,t,e)},s.prototype.string=function(e){var t=g.length(e);return t?this.uint32(t)._push(g.write,t,e):this._push(d,1,0)},s.prototype.fork=function(){return this.states=new n(this),this.head=this.tail=new o(r,0,0),this.len=0,this},s.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new o(r,0,0),this.len=0),this},s.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this},s.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t},s._configure=function(e){f=e}},function(e,t,i){"use strict";function o(e,t){for(var i=new Array(arguments.length-1),o=0,r=2,n=!0;r>>0",o,o);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",o,o);break;case"uint64":a=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",o,o,a)('else if(typeof d%s==="string")',o)("m%s=parseInt(d%s,10)",o,o)('else if(typeof d%s==="number")',o)("m%s=d%s",o,o)('else if(typeof d%s==="object")',o)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",o,o,o,a?"true":"");break;case"bytes":e('if(typeof d%s==="string")',o)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",o,o,o)("else if(d%s.length)",o)("m%s=d%s",o,o);break;case"string":e("m%s=String(d%s)",o,o);break;case"bool":e("m%s=Boolean(d%s)",o,o)}}return e}function r(e,t,i,o){if(t.resolvedType)t.resolvedType instanceof s?e("d%s=o.enums===String?types[%i].values[m%s]:m%s",o,i,o,o):e("d%s=types[%i].toObject(m%s,o)",o,i,o);else{var r=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",o,o,o,o);break;case"uint64":r=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',o)("d%s=o.longs===String?String(m%s):m%s",o,o,o)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",o,o,o,o,r?"true":"",o);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",o,o,o,o,o);break;default:e("d%s=m%s",o,o)}}return e}var n=t,s=i(1),d=i(0);n.fromObject=function(e){var t=e.fieldsArray,i=d.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return i("return new this.ctor");i("var m=new this.ctor");for(var r=0;r>>3){");for(var i=0;i>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",i,o,(t.id<<3|2)>>>0)}function r(e){for(var t,i,r=d.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()"),a=e.fieldsArray.slice().sort(d.compareFieldsById),t=0;t>>0,8|s.mapKey[p.keyType],p.keyType),void 0===f?r("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",l,i):r(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|f,u,i),r("}")("}")):p.repeated?(r("if(%s!=null&&%s.length){",i,i),p.packed&&void 0!==s.packed[u]?r("w.uint32(%i).fork()",(p.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",i)("w.%s(%s[i])",u,i)("w.ldelim()"):(r("for(var i=0;i<%s.length;++i)",i),void 0===f?o(r,p,l,i+"[i]"):r("w.uint32(%i).%s(%s[i])",(p.id<<3|f)>>>0,u,i)),r("}")):(p.optional&&r("if(%s!=null&&m.hasOwnProperty(%j))",i,p.name),void 0===f?o(r,p,l,i):r("w.uint32(%i).%s(%s)",(p.id<<3|f)>>>0,u,i))}return r("return w")}e.exports=r;var n=i(1),s=i(6),d=i(0)},function(e,t,i){"use strict";function o(e,t,i,o,n){if(r.call(this,e,t,o,n),!s.isString(i))throw TypeError("keyType must be a string");this.keyType=i,this.resolvedKeyType=null,this.map=!0}e.exports=o;var r=i(3);((o.prototype=Object.create(r.prototype)).constructor=o).className="MapField";var n=i(6),s=i(0);o.fromJSON=function(e,t){return new o(e,t.id,t.keyType,t.type,t.options)},o.prototype.toJSON=function(){return s.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options])},o.prototype.resolve=function(){if(this.resolved)return this;if(void 0===n.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return r.prototype.resolve.call(this)},o.d=function(e,t,i){return"function"==typeof i?i=s.decorateType(i).name:i&&"object"==typeof i&&(i=s.decorateEnum(i).name),function(r,n){s.decorateType(r.constructor).add(new o(n,e,t,i))}}},function(e,t,i){"use strict";function o(e,t,i,o,s,d,a){if(n.isObject(s)?(a=s,s=d=void 0):n.isObject(d)&&(a=d,d=void 0),void 0!==t&&!n.isString(t))throw TypeError("type must be a string");if(!n.isString(i))throw TypeError("requestType must be a string");if(!n.isString(o))throw TypeError("responseType must be a string");r.call(this,e,a),this.type=t||"rpc",this.requestType=i,this.requestStream=!!s||void 0,this.responseType=o,this.responseStream=!!d||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null}e.exports=o;var r=i(4);((o.prototype=Object.create(r.prototype)).constructor=o).className="Method";var n=i(0);o.fromJSON=function(e,t){return new o(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options)},o.prototype.toJSON=function(){return n.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options])},o.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),r.prototype.resolve.call(this))}},function(e,t,i){"use strict";function o(e){s.call(this,"",e),this.deferred=[],this.files=[]}function r(){}function n(e,t){var i=t.parent.lookup(t.extend);if(i){var o=new l(t.fullName,t.id,t.type,t.rule,void 0,t.options);return o.declaringField=t,t.extensionField=o,i.add(o),!0}return!1}e.exports=o;var s=i(5);((o.prototype=Object.create(s.prototype)).constructor=o).className="Root";var d,a,p,l=i(3),u=i(1),f=i(8),y=i(0);o.fromJSON=function(e,t){return t||(t=new o),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},o.prototype.resolvePath=y.path.resolve,o.prototype.load=function e(t,i,o){function n(e,t){if(o){var i=o;if(o=null,u)throw e;i(e,t)}}function s(e,t){try{if(y.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),y.isString(t)){a.filename=e;var o,r=a(t,l,i),s=0;if(r.imports)for(;s-1){var r=e.substring(i);r in p&&(e=r)}if(!(l.files.indexOf(e)>-1)){if(l.files.push(e),e in p)return void(u?s(e,p[e]):(++f,setTimeout(function(){--f,s(e,p[e])})));if(u){var d;try{d=y.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||n(e))}s(e,d)}else++f,y.fetch(e,function(i,r){if(--f,o)return i?void(t?f||n(null,l):n(i)):void s(e,r)})}}"function"==typeof i&&(o=i,i=void 0);var l=this;if(!o)return y.asPromise(e,l,t,i);var u=o===r,f=0;y.isString(t)&&(t=[t]);for(var c,h=0;h-1&&this.deferred.splice(t,1)}}else if(e instanceof u)c.test(e.name)&&delete e.parent[e.name];else if(e instanceof s){for(var i=0;i1&&"="===e.charAt(t);)++i;return Math.ceil(3*e.length)/4-i};for(var r=new Array(64),n=new Array(123),s=0;s<64;)n[r[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;o.encode=function(e,t,i){for(var o,n=null,s=[],d=0,a=0;t>2],o=(3&p)<<4,a=1;break;case 1:s[d++]=r[o|p>>4],o=(15&p)<<2,a=2;break;case 2:s[d++]=r[o|p>>6],s[d++]=r[63&p],a=0}d>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,s)),d=0)}return a&&(s[d++]=r[o],s[d++]=61,1===a&&(s[d++]=61)),n?(d&&n.push(String.fromCharCode.apply(String,s.slice(0,d))),n.join("")):String.fromCharCode.apply(String,s.slice(0,d))};o.decode=function(e,t,i){for(var o,r=i,s=0,d=0;d1)break;if(void 0===(a=n[a]))throw Error("invalid encoding");switch(s){case 0:o=a,s=1;break;case 1:t[i++]=o<<2|(48&a)>>4,o=a,s=2;break;case 2:t[i++]=(15&o)<<4|(60&a)>>2,o=a,s=3;break;case 3:t[i++]=(3&o)<<6|a,s=0}}if(1===s)throw Error("invalid encoding");return i-r},o.test=function(e){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e)}},function(e,t,i){"use strict";function o(e,t){function i(e){if("string"!=typeof e){var t=r();if(o.verbose&&console.log("codegen: "+t),t="return "+t,e){for(var s=Object.keys(e),d=new Array(s.length+1),a=new Array(s.length),p=0;p0?0:2147483648,i,o);else if(isNaN(t))e(2143289344,i,o);else if(t>3.4028234663852886e38)e((r<<31|2139095040)>>>0,i,o);else if(t<1.1754943508222875e-38)e((r<<31|Math.round(t/1.401298464324817e-45))>>>0,i,o);else{var n=Math.floor(Math.log(t)/Math.LN2),s=8388607&Math.round(t*Math.pow(2,-n)*8388608);e((r<<31|n+127<<23|s)>>>0,i,o)}}function i(e,t,i){var o=e(t,i),r=2*(o>>31)+1,n=o>>>23&255,s=8388607&o;return 255===n?s?NaN:r*(1/0):0===n?1.401298464324817e-45*r*s:r*Math.pow(2,n-150)*(s+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=i.bind(null,s),e.readFloatBE=i.bind(null,d)}(),"undefined"!=typeof Float64Array?function(){function t(e,t,i){n[0]=e,t[i]=s[0],t[i+1]=s[1],t[i+2]=s[2],t[i+3]=s[3],t[i+4]=s[4],t[i+5]=s[5],t[i+6]=s[6],t[i+7]=s[7]}function i(e,t,i){n[0]=e,t[i]=s[7],t[i+1]=s[6],t[i+2]=s[5],t[i+3]=s[4],t[i+4]=s[3],t[i+5]=s[2],t[i+6]=s[1],t[i+7]=s[0]}function o(e,t){return s[0]=e[t],s[1]=e[t+1],s[2]=e[t+2],s[3]=e[t+3],s[4]=e[t+4],s[5]=e[t+5],s[6]=e[t+6],s[7]=e[t+7],n[0]}function r(e,t){return s[7]=e[t],s[6]=e[t+1],s[5]=e[t+2],s[4]=e[t+3],s[3]=e[t+4],s[2]=e[t+5],s[1]=e[t+6],s[0]=e[t+7],n[0]}var n=new Float64Array([-0]),s=new Uint8Array(n.buffer),d=128===s[7];e.writeDoubleLE=d?t:i,e.writeDoubleBE=d?i:t,e.readDoubleLE=d?o:r,e.readDoubleBE=d?r:o}():function(){function t(e,t,i,o,r,n){var s=o<0?1:0;if(s&&(o=-o),0===o)e(0,r,n+t),e(1/o>0?0:2147483648,r,n+i);else if(isNaN(o))e(0,r,n+t),e(2146959360,r,n+i);else if(o>1.7976931348623157e308)e(0,r,n+t),e((s<<31|2146435072)>>>0,r,n+i);else{var d;if(o<2.2250738585072014e-308)d=o/5e-324,e(d>>>0,r,n+t),e((s<<31|d/4294967296)>>>0,r,n+i);else{var a=Math.floor(Math.log(o)/Math.LN2);1024===a&&(a=1023),d=o*Math.pow(2,-a),e(4503599627370496*d>>>0,r,n+t),e((s<<31|a+1023<<20|1048576*d&1048575)>>>0,r,n+i)}}}function i(e,t,i,o,r){var n=e(o,r+t),s=e(o,r+i),d=2*(s>>31)+1,a=s>>>20&2047,p=4294967296*(1048575&s)+n;return 2047===a?p?NaN:d*(1/0):0===a?5e-324*d*p:d*Math.pow(2,a-1075)*(p+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=i.bind(null,s,0,4),e.readDoubleBE=i.bind(null,d,4,0)}(),e}function r(e,t,i){t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24}function n(e,t,i){t[i]=e>>>24,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function d(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=o(o)},function(e,t,i){"use strict";var o=t,r=o.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},n=o.normalize=function(e){e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/");var t=e.split("/"),i=r(e),o="";i&&(o=t.shift()+"/");for(var n=0;n0&&".."!==t[n-1]?t.splice(--n,2):i?t.splice(n,1):++n:"."===t[n]?t.splice(n,1):++n;return o+t.join("/")};o.resolve=function(e,t,i){return i||(t=n(t)),r(t)?t:(i||(e=n(e)),(e=e.replace(/(?:\/|^)[^\/]+$/,"")).length?n(e+"/"+t):t)}},function(e,t,i){"use strict";function o(e,t,i){var o=i||8192,r=o>>>1,n=null,s=o;return function(i){if(i<1||i>r)return e(i);s+i>o&&(n=e(o),s=0);var d=t.call(n,s,s+=i);return 7&s&&(s=1+(7|s)),d}}e.exports=o},function(e,t,i){"use strict";var o=t;o.length=function(e){for(var t=0,i=0,o=0;o191&&o<224?n[s++]=(31&o)<<6|63&e[t++]:o>239&&o<365?(o=((7&o)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,n[s++]=55296+(o>>10),n[s++]=56320+(1023&o)):n[s++]=(15&o)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,n)),s=0);return r?(s&&r.push(String.fromCharCode.apply(String,n.slice(0,s))),r.join("")):String.fromCharCode.apply(String,n.slice(0,s))},o.write=function(e,t,i){for(var o,r,n=i,s=0;s>6|192,t[i++]=63&o|128):55296==(64512&o)&&56320==(64512&(r=e.charCodeAt(s+1)))?(o=65536+((1023&o)<<10)+(1023&r),++s,t[i++]=o>>18|240,t[i++]=o>>12&63|128,t[i++]=o>>6&63|128,t[i++]=63&o|128):(t[i++]=o>>12|224,t[i++]=o>>6&63|128,t[i++]=63&o|128);return i-n}},function(e,t,i){"use strict";function o(e,t,i){return"function"==typeof t?(i=t,t=new n.Root):t||(t=new n.Root),t.load(e,i)}function r(e,t){return t||(t=new n.Root),t.loadSync(e)}var n=e.exports=i(39);n.build="light",n.load=o,n.loadSync=r,n.encoder=i(15),n.decoder=i(14),n.verifier=i(23),n.converter=i(13),n.ReflectionObject=i(4),n.Namespace=i(5),n.Root=i(18),n.Enum=i(1),n.Type=i(22),n.Field=i(3),n.OneOf=i(8),n.MapField=i(16),n.Service=i(21),n.Method=i(17),n.Message=i(7),n.wrappers=i(24),n.types=i(6),n.util=i(0),n.ReflectionObject._configure(n.Root),n.Namespace._configure(n.Type,n.Service),n.Root._configure(n.Type),n.Field._configure(n.Type)},function(e,t,i){"use strict";function o(){r.Reader._configure(r.BufferReader),r.util._configure()}var r=t;r.build="minimal",r.Writer=i(10),r.BufferWriter=i(43),r.Reader=i(9),r.BufferReader=i(40),r.util=i(2),r.rpc=i(20),r.roots=i(19),r.configure=o,r.Writer._configure(r.BufferWriter),o()},function(e,t,i){"use strict";function o(e){r.call(this,e)}e.exports=o;var r=i(9);(o.prototype=Object.create(r.prototype)).constructor=o;var n=i(2);n.Buffer&&(o.prototype._slice=n.Buffer.prototype.slice),o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len))}},function(e,t,i){"use strict";function o(e,t,i){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(i)}e.exports=o;var r=i(2);(o.prototype=Object.create(r.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,i,o,n,s){if(!n)throw TypeError("request must be specified");var d=this;if(!s)return r.asPromise(e,d,t,i,o,n);if(!d.rpcImpl)return void setTimeout(function(){s(Error("already ended"))},0);try{return d.rpcImpl(t,i[d.requestDelimited?"encodeDelimited":"encode"](n).finish(),function(e,i){if(e)return d.emit("error",e,t),s(e);if(null===i)return void d.end(!0);if(!(i instanceof o))try{i=o[d.responseDelimited?"decodeDelimited":"decode"](i)}catch(e){return d.emit("error",e,t),s(e)}return d.emit("data",i,t),s(null,i)})}catch(e){return d.emit("error",e,t),void setTimeout(function(){s(e)},0)}},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,i){"use strict";function o(e,t){this.lo=e>>>0,this.hi=t>>>0}e.exports=o;var r=i(2),n=o.zero=new o(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return n;var t=e<0;t&&(e=-e);var i=e>>>0,r=(e-i)/4294967296>>>0;return t&&(r=~r>>>0,i=~i>>>0,++i>4294967295&&(i=0,++r>4294967295&&(r=0))),new o(i,r)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(r.isString(e)){if(!r.Long)return o.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):n},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+4294967296*i)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var d=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?n:new o((d.call(e,0)|d.call(e,1)<<8|d.call(e,2)<<16|d.call(e,3)<<24)>>>0,(d.call(e,4)|d.call(e,5)<<8|d.call(e,6)<<16|d.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return 0===i?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}},function(e,t,i){"use strict";function o(){n.call(this)}function r(e,t,i){e.length<40?s.utf8.write(e,t,i):t.utf8Write(e,i)}e.exports=o;var n=i(10);(o.prototype=Object.create(n.prototype)).constructor=o;var s=i(2),d=s.Buffer;o.alloc=function(e){return(o.alloc=s._Buffer_allocUnsafe)(e)};var a=d&&d.prototype instanceof Uint8Array&&"set"===d.prototype.set.name?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var o=0;o>>0;return this.uint32(t),t&&this._push(a,t,e),this},o.prototype.string=function(e){var t=d.byteLength(e);return this.uint32(t),t&&this._push(r,t,e),this}},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i}]); //# sourceMappingURL=5edf3e08e204ac1407e2.worker.js.map