/*! * protobuf.js v8.6.3 (c) 2016, daniel wirtz * compiled thu, 11 jun 2026 00:02:30 utc * licensed under the bsd-3-clause license * see: https://github.com/dcodeio/protobuf.js for details */ !function(w){"use strict";var r,e,i;r={1:[function(t,i,n){},{}],2:[function(t,i,n){var v=t(5),b=t(23),p=t(24);function u(t,i,n,r){var e=!1;if(i.resolvedType)if(i.resolvedType instanceof v){t("switch(d%s){",r);for(var s=i.resolvedType.values,o=Object.keys(s),u=0;u>>0",r,r);break;case"int32":case"sint32":case"sfixed32":t("m%s=d%s|0",r,r);break;case"uint64":case"fixed64":h=!0;case"int64":case"sint64":case"sfixed64":t("if(util.Long)")("m%s=util.Long.fromValue(d%s,%j)",r,r,h)('else if(typeof d%s==="string")',r)("m%s=parseInt(d%s,10)",r,r)('else if(typeof d%s==="number")',r)("m%s=d%s",r,r)('else if(typeof d%s==="object")',r)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",r,r,r,h?"true":"");break;case"bytes":t('if(typeof d%s==="string")',r)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",r,r,r)("else if(d%s.length>=0)",r)("m%s=d%s",r,r);break;case"string":t("m%s=String(d%s)",r,r);break;case"bool":t("m%s=Boolean(d%s)",r,r)}}return t}function m(t,i,n,r,e){if(e=e||r,i.resolvedType)i.resolvedType instanceof v?t("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",r,n,e,e,n,e,e):t("d%s=types[%i].toObject(m%s,o,q+1)",r,n,e);else{var s=!1;switch(i.type){case"double":case"float":t("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",r,e,e,e);break;case"uint64":case"fixed64":s=!0;case"int64":case"sint64":case"sfixed64":t('if(typeof BigInt!=="undefined"&&o.longs===BigInt)')('d%s=typeof m%s==="number"?BigInt(m%s):util.Long.fromBits(m%s.low>>>0,m%s.high>>>0,%j).toBigInt()',r,e,e,e,e,s)('else if(typeof m%s==="number")',e)("d%s=o.longs===String?String(m%s):m%s",r,e,e)("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",r,e,e,e,s?"true":"",e);break;case"bytes":t("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",r,e,e,e,e);break;default:t("d%s=m%s",r,e)}}return t}n.fromObject=function(t){var i=t.fieldsArray,n=p.codegen(["d","q"])("if(d instanceof C)")("return d")("if(!util.isObject(d))")("throw TypeError(%j)",t.fullName+": object expected")("if(q===undefined)q=0")("if(q>util.recursionLimit)")('throw Error("max depth exceeded")');if(!i.length)return n("return new C");n("var m=new C");for(var r=0;rutil.recursionLimit)")('throw Error("max depth exceeded")')("var d={}"),r=[],e=[],s=[],o=0;oReader.recursionLimit)")('throw Error("max depth exceeded")')("var c=l===undefined?r.len:r.pos+l,m=g||new C"+(i?",k,v":n?",v":""))("while(r.pos>>=3){");for(r=0;r>>=3){")("case 1:")("if(u!==%i)",l.mapKey[u.keyType])("break")("k=r.%s()","string"===u.keyType?v(u):u.keyType)("continue")("case 2:")("if(u!==%i)",l.basic[h]===w?2:l.basic[h])("break"),l.basic[h]===w?s("v=types[%i].decode(r,r.uint32(),undefined,q+1)",r):s("v=r.%s()","string"===h?v(u):h),s("continue")("}")("r.skipType(u,q,t2)")("}"),o=l.basic[h]===w?"v||new types["+r+"].ctor":"v",l.long[u.keyType]!==w?s('%s[typeof k==="object"?util.longToHash(k):k]=%s',f,o):("string"===u.keyType&&s('if(k==="__proto__")')("util.makeProp(%s,k)",f),s("%s[k]=%s",f,o))):u.repeated?(s("case %i:",u.id)("{"),l.packed[h]!==w&&s("if(u===2){")("if(!(%s&&%s.length))",f,f)("%s=[]",f)("var c2=r.uint32()+r.pos")("while(r.posutil.recursionLimit)")('throw Error("max depth exceeded")'),r=t.fieldsArray.slice().sort(a.compareFieldsById),e=0;e>>0,8|c.mapKey[s.keyType]):c.long[s.keyType]!==w?n("w.uint32(%i).fork().uint32(%i).%s(util.longFromKey(ks[i],%j))",(s.id<<3|2)>>>0,8|c.mapKey[s.keyType],s.keyType,"uint64"===s.keyType||"fixed64"===s.keyType):n("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(s.id<<3|2)>>>0,8|c.mapKey[s.keyType],s.keyType),h===w?n("types[%i].encode(%s[ks[i]],w.uint32(18).fork(),q+1).ldelim().ldelim()",o,i):n(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|h,u,i),n("}")("}")):s.repeated?(n("if(%s!=null&&%s.length){",i,i),s.packed&&c.packed[u]!==w?n("w.uint32(%i).fork()",(s.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",i)("w.%s(%s[i])",u,i)("w.ldelim()"):(n("for(var i=0;i<%s.length;++i)",i),h===w?l(n,s,o,i+"[i]"):n("w.uint32(%i).%s(%s[i])",(s.id<<3|h)>>>0,u,i)),n("}")):(s.required||n("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",i,s.name),h===w?l(n,s,o,i):n("w.uint32(%i).%s(%s)",(s.id<<3|h)>>>0,u,i))}return n('if(m.$unknowns!=null&&Object.hasOwnProperty.call(m,"$unknowns"))')("for(var i=0;i>>0,(i.id<<3|4)>>>0):t("types[%i].encode(%s,w.uint32(%i).fork(),q+1).ldelim()",n,r,(i.id<<3|2)>>>0)}},{23:23,24:24,5:5}],5:[function(t,i,n){i.exports=s;var h=t(13),r=(((s.prototype=Object.create(h.prototype)).constructor=s).className="Enum",t(12)),e=t(24);function s(t,i,n,r,e,s){if(h.call(this,t,n),i&&"object"!=typeof i)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=r,this.comments=e||{},this.valuesOptions=s,this.n={},this.reserved=w,i)for(var o=Object.keys(i),u=0;u{var i=e.merge({},this.i);this.n[t]=e.merge(i,this.valuesOptions&&this.valuesOptions[t]&&this.valuesOptions[t].features||{})}),this},s.fromJSON=function(t,i){t=new s(t,i.values,i.options,i.comment,i.comments,i.valuesOptions);return t.reserved=i.reserved,i.edition&&(t.e=i.edition),t.s="proto3",t},s.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return e.toObject(["edition",this.o(),"options",this.options,"valuesOptions",this.valuesOptions,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:w,"comment",t?this.comment:w,"comments",t?this.comments:w])},s.prototype.add=function(t,i,n,r){if(!e.isString(t))throw TypeError("name must be a string");if(!e.isInteger(i))throw TypeError("id must be an integer");if("__proto__"!==t){if(this.values[t]!==w)throw Error("duplicate name '"+t+"' in "+this);if(this.isReservedId(i))throw Error("id "+i+" is reserved in "+this);if(this.isReservedName(t))throw Error("name '"+t+"' is reserved in "+this);if(this.valuesById[i]!==w){if(!this.options||!this.options.allow_alias)throw Error("duplicate id "+i+" in "+this);this.values[t]=i}else this.valuesById[this.values[t]=i]=t;r&&(this.valuesOptions===w&&(this.valuesOptions={}),this.valuesOptions[t]=r||null),this.comments[t]=n||null}return this},s.prototype.remove=function(t){if(!e.isString(t))throw TypeError("name must be a string");var i=this.values[t];if(null==i)throw Error("name '"+t+"' does not exist in "+this);return delete this.valuesById[i],delete this.values[t],delete this.comments[t],this.valuesOptions&&delete this.valuesOptions[t],this},s.prototype.isReservedId=function(t){return r.isReservedId(this.reserved,t)},s.prototype.isReservedName=function(t){return r.isReservedName(this.reserved,t)}},{12:12,13:13,24:24}],6:[function(t,i,n){i.exports=o;var r,u=t(13),e=(((o.prototype=Object.create(u.prototype)).constructor=o).className="Field",t(5)),h=t(23),f=t(24),c=/^(?:required|optional|repeated)$/;function o(t,i,n,r,e,s,o){if(f.isObject(r)?(o=e,s=r,r=e=w):f.isObject(e)&&(o=s,s=e,e=w),u.call(this,t,s),!f.isInteger(i)||i<0)throw TypeError("id must be a non-negative integer");if(!f.isString(n))throw TypeError("type must be a string");if(r!==w&&!c.test(r=r.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(e!==w&&!f.isString(e))throw TypeError("extend must be a string");this.rule=r&&"optional"!==r?r:w,this.type=n,this.id=i,this.extend=e||w,this.repeated="repeated"===r,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!f.Long&&h.long[n]!==w,this.bytes="bytes"===n,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this.comment=o,this.protoName=w,this.jsonName=w}o.fromJSON=function(t,i){t=new o(t,i.id,i.type,i.rule,i.extend,i.options,i.comment);return i.edition&&(t.e=i.edition),i.protoName&&(t.protoName=i.protoName),i.jsonName!==w?t.jsonName=i.jsonName:i.options&&i.options.json_name!==w&&(t.jsonName=i.options.json_name),t.s="proto3",t},Object.defineProperty(o.prototype,"required",{get:function(){return"LEGACY_REQUIRED"===this.i.field_presence}}),Object.defineProperty(o.prototype,"optional",{get:function(){return!this.required}}),Object.defineProperty(o.prototype,"delimited",{get:function(){return this.resolvedType instanceof r&&"DELIMITED"===this.i.message_encoding}}),Object.defineProperty(o.prototype,"packed",{get:function(){return"PACKED"===this.i.repeated_field_encoding}}),Object.defineProperty(o.prototype,"hasPresence",{get:function(){return!this.repeated&&!this.map&&(this.partOf||this.declaringField||this.extensionField||"IMPLICIT"!==this.i.field_presence)}}),o.prototype.setOption=function(t,i,n){return u.prototype.setOption.call(this,t,i,n)},o.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return f.toObject(["edition",this.o(),"rule","optional"!==this.rule&&this.rule||w,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:w,"jsonName",this.jsonName!==f.jsonName(this.protoName||this.name)?this.jsonName:w,"options",this.options,"comment",t?this.comment:w])},o.prototype.resolve=function(){var t;return this.resolved?this:((this.typeDefault=h.defaults[this.type])===w?(this.resolvedType=(this.declaringField||this).parent.lookupTypeOrEnum(this.type),this.resolvedType instanceof r?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof e&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(this.options.packed===w||!this.resolvedType||this.resolvedType instanceof e||delete this.options.packed,Object.keys(this.options).length||(this.options=w)),this.long?(this.typeDefault=f.Long.fromNumber(this.typeDefault,"uint64"===this.type||"fixed64"===this.type),Object.freeze&&Object.freeze(this.typeDefault)):this.bytes&&"string"==typeof this.typeDefault&&(f.base64.test(this.typeDefault)?f.base64.decode(this.typeDefault,t=f.newBuffer(f.base64.length(this.typeDefault)),0):f.utf8.write(this.typeDefault,t=f.newBuffer(f.utf8.length(this.typeDefault)),0),this.typeDefault=t),this.map?this.defaultValue=f.emptyObject:this.repeated?this.defaultValue=f.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof r&&this.parent.u&&(this.parent.u.prototype[this.name]=this.defaultValue),this.protoName===w&&(this.protoName=this.name),this.jsonName===w&&(this.jsonName=f.jsonName(this.protoName)),u.prototype.resolve.call(this))},o.prototype.h=function(t){var i;return"proto2"!==t&&"proto3"!==t?{}:(t={},"required"===this.rule&&(t.field_presence="LEGACY_REQUIRED"),this.parent&&h.defaults[this.type]===w&&(i=this.parent.get(this.type.split(".").pop()))&&i instanceof r&&i.group&&(t.message_encoding="DELIMITED"),!0===this.getOption("packed")?t.repeated_field_encoding="PACKED":!1===this.getOption("packed")&&(t.repeated_field_encoding="EXPANDED"),t)},o.prototype.r=function(t){return u.prototype.r.call(this,this.e||t)},o.d=function(n,r,e,s){return"function"==typeof r?r=f.decorateType(r).name:r&&"object"==typeof r&&(r=f.decorateEnum(r).name),function(t,i){f.decorateType(t.constructor).add(new o(i,n,r,e,{default:s}))}},o.f=function(t){r=t}},{13:13,23:23,24:24,5:5}],7:[function(t,i,r){(r=i.exports=t(8)).build="light",r.load=function(t,i,n){return(i="function"==typeof i?(n=i,new r.Root):i||new r.Root).load(t,n)},r.loadSync=function(t,i){return(i=i||new r.Root).loadSync(t)},r.encoder=t(4),r.decoder=t(3),r.verifier=t(38),r.converter=t(2),r.ReflectionObject=t(13),r.Namespace=t(12),r.Root=t(17),r.Enum=t(5),r.Type=t(22),r.Field=t(6),r.OneOf=t(14),r.MapField=t(9),r.Service=t(21),r.Method=t(11),r.Message=t(10),r.wrappers=t(39),r.types=t(23),r.util=t(24),r.ReflectionObject.f(r.Root),r.Namespace.f(r.Type,r.Service,r.Enum),r.Root.f(r.Type,w,{}),r.Field.f(r.Type)},{10:10,11:11,12:12,13:13,14:14,17:17,2:2,21:21,22:22,23:23,24:24,3:3,38:38,39:39,4:4,5:5,6:6,8:8,9:9}],8:[function(t,i,n){function r(){n.util.f(),n.Writer.f(n.BufferWriter),n.Reader.f(n.BufferReader)}n.build="minimal",n.Writer=t(40),n.BufferWriter=t(41),n.Reader=t(15),n.BufferReader=t(16),n.util=t(33),n.rpc=t(19),n.roots=t(18),n.configure=r,r()},{15:15,16:16,18:18,19:19,33:33,40:40,41:41}],9:[function(t,i,n){i.exports=s;var o=t(6),r=(((s.prototype=Object.create(o.prototype)).constructor=s).className="MapField",t(23)),u=t(24);function s(t,i,n,r,e,s){if(o.call(this,t,i,r,w,w,e,s),!u.isString(n))throw TypeError("keyType must be a string");this.keyType=n,this.resolvedKeyType=null,this.map=!0}s.fromJSON=function(t,i){t=new s(t,i.id,i.keyType,i.type,i.options,i.comment);return i.protoName&&(t.protoName=i.protoName),i.jsonName!==w?t.jsonName=i.jsonName:i.options&&i.options.json_name!==w&&(t.jsonName=i.options.json_name),t},s.prototype.toJSON=function(t){t=!!t&&!!t.keepComments;return u.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"protoName",this.protoName!==this.name?this.protoName:w,"jsonName",this.jsonName!==u.jsonName(this.protoName||this.name)?this.jsonName:w,"options",this.options,"comment",t?this.comment:w])},s.prototype.resolve=function(){if(this.resolved)return this;if(r.mapKey[this.keyType]===w)throw Error("invalid key type: "+this.keyType);return o.prototype.resolve.call(this)},s.d=function(n,r,e){return"function"==typeof e?e=u.decorateType(e).name:e&&"object"==typeof e&&(e=u.decorateEnum(e).name),function(t,i){u.decorateType(t.constructor).add(new s(i,n,r,e))}}},{23:23,24:24,6:6}],10:[function(t,i,n){i.exports=e;var r=t(33);function e(t){if(t)for(var i=Object.keys(t),n=0;nf.recursionLimit)throw Error("max depth exceeded");return new a(t,i.options).addJSON(i.nested,n)},a.arrayToJSON=e,a.isReservedId=function(t,i){if(t)for(var n=0;n=i)return!0;return!1},a.isReservedName=function(t,i){if(t)for(var n=0;nf.recursionLimit)throw Error("max depth exceeded");if(t)for(var n,r=Object.keys(t),e=0;ef.recursionLimit)throw Error("max depth exceeded");for(var n=this;0{t.b(i)})),this},a.prototype.lookup=function(t,i,n){if("boolean"==typeof i?(n=i,i=w):i&&!Array.isArray(i)&&(i=[i]),f.isString(t)&&t.length){if("."===t)return this.root;t=t.split(".")}else if(!t.length)return this;var r=t.join(".");if(""===t[0])return this.root.lookup(t.slice(1),i);var e=this.p(t,r);if(e&&(!i||~i.indexOf(e.constructor)))return e;if((e=this.root.m&&this.root.m["."+r])&&(!i||~i.indexOf(e.constructor)))return e;if(!n)for(var s=this;s.parent;){if((e=s.parent.p(t,r))&&(!i||~i.indexOf(e.constructor)))return e;s=s.parent}return null},a.prototype.p=function(t,i){if(Object.prototype.hasOwnProperty.call(this.a,i))return this.a[i];var n=this.get(t[0]),r=null;if(n)1===t.length?r=n:n instanceof a&&(t=t.slice(1),r=n.p(t,t.join(".")));else for(var e=0;e "+t.len)}function h(t){this.buf=t,this.pos=0,this.len=t.length,this.discardUnknown=h.discardUnknown}function f(){return e.Buffer?function(t){return(h.create=function(t){return e.Buffer.isBuffer(t)?new r(t):c(t)})(t)}:c}var c="undefined"!=typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new h(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new h(t);throw Error("illegal buffer")};function a(){var t=new s(0,0),i=0;if(!(4=this.len)throw u(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return t}throw u(this)}for(;i<4;++i)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*i)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(i=0,4>>0,this.buf[this.pos++]<128)return t}else for(;i<5;++i){if(this.pos>=this.len)throw u(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*i+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function l(t,i){return(t[i-4]|t[i-3]<<8|t[i-2]<<16|t[i-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw u(this,8);return new s(l(this.buf,this.pos+=4),l(this.buf,this.pos+=4))}h.create=f(),h.prototype.j=e.Array.prototype.subarray||e.Array.prototype.slice,h.prototype.raw=function(t,i){return Array.isArray(this.buf)?this.buf.slice(t,i):t===i?new this.buf.constructor(0):this.j.call(this.buf,t,i)},h.prototype.uint32=function(){var t=this.buf,i=this.pos,n=(127&t[i])>>>0;if(t[i++]<128)return this.pos=i,n;if(n=(n|(127&t[i])<<7)>>>0,t[i++]<128)return this.pos=i,n;if(n=(n|(127&t[i])<<14)>>>0,t[i++]<128)return this.pos=i,n;if(n=(n|(127&t[i])<<21)>>>0,t[i++]<128)return this.pos=i,n;if(n=(n|(15&t[i])<<28)>>>0,t[i++]<128)return this.pos=i,n;for(var r=0;r<5;++r){if(i>=this.len)throw this.pos=i,u(this);if(t[i++]<128)return this.pos=i,n}throw this.pos=i,Error("invalid varint encoding")},h.prototype.tag=function(){var t=this.buf,i=this.pos,n=(127&t[i])>>>0;if(t[i++]<128)return this.pos=i,n;if(n=(n|(127&t[i])<<7)>>>0,t[i++]<128)return this.pos=i,n;if(n=(n|(127&t[i])<<14)>>>0,t[i++]<128)return this.pos=i,n;if(n=(n|(127&t[i])<<21)>>>0,t[i++]<128)return this.pos=i,n;if(n=(n|(15&t[i])<<28)>>>0,t[i]<128&&0==(112&t[i]))return this.pos=i+1,n;throw this.pos=i+1,Error("invalid tag encoding")},h.prototype.int32=function(){return 0|this.uint32()},h.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0},h.prototype.bool=function(){for(var t,i=!1,n=0;n<10;++n){if(this.pos>=this.len)throw u(this);if(127&(t=this.buf[this.pos++])&&(i=!0),t<128)return i}throw Error("invalid varint encoding")},h.prototype.fixed32=function(){if(this.pos+4>this.len)throw u(this,4);return l(this.buf,this.pos+=4)},h.prototype.sfixed32=function(){if(this.pos+4>this.len)throw u(this,4);return 0|l(this.buf,this.pos+=4)},h.prototype.float=function(){if(this.pos+4>this.len)throw u(this,4);var t=e.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},h.prototype.double=function(){if(this.pos+8>this.len)throw u(this,4);var t=e.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},h.prototype.bytes=function(){var t=this.uint32(),i=this.pos,n=this.pos+t;if(n>this.len)throw u(this,t);return this.pos=n,this.raw(i,n)},h.prototype.string=function(){var t=this.uint32(),i=this.pos,n=this.pos+t;if(n>this.len)throw u(this,t);return this.pos=n,o.read(this.buf,i,n)},h.prototype.stringVerify=function(){var t=this.uint32(),i=this.pos,n=this.pos+t;if(n>this.len)throw u(this,t);return this.pos=n,o.readStrict(this.buf,i,n)},h.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw u(this,t);this.pos+=t}else do{if(this.pos>=this.len)throw u(this)}while(128&this.buf[this.pos++]);return this},h.recursionLimit=e.recursionLimit,h.discardUnknown=!0,h.prototype.skipType=function(t,i,n){if(h.recursionLimit<(i=i===w?0:i))throw Error("max depth exceeded");if(0===n)throw Error("illegal tag: field number 0");switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){var r=this.tag(),e=r>>>3;if(!e)throw Error("illegal tag: field number 0");if(4===(t=7&r)){if(n!==w&&e!==n)throw Error("invalid end group tag");break}this.skipType(t,i+1,e)}break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},h.f=function(t){r=t,h.create=f(),r.f();var i=e.Long?"toLong":"toNumber";e.merge(h.prototype,{int64:function(){return a.call(this)[i](!1)},uint64:function(){return a.call(this)[i](!0)},sint64:function(){return a.call(this).zzDecode()[i](!1)},fixed64:function(){return d.call(this)[i](!0)},sfixed64:function(){return d.call(this)[i](!1)}})}},{33:33}],16:[function(t,i,n){i.exports=s;var r=t(15),e=((s.prototype=Object.create(r.prototype)).constructor=s,t(33));function s(t){r.call(this,t)}s.f=function(){e.Buffer&&(s.prototype.j=e.Buffer.prototype.slice)},s.prototype.raw=function(t,i){return t===i?e.Buffer.alloc(0):this.j.call(this.buf,t,i)},s.prototype.string=function(){var t=this.uint32(),i=this.pos,n=this.pos+t;if(n>this.len)throw RangeError("index out of range: "+this.pos+" + "+t+" > "+this.len);return this.pos=n,this.buf.utf8Slice?this.buf.utf8Slice(i,n):this.buf.toString("utf-8",i,n)},s.f()},{15:15,33:33}],17:[function(t,i,n){i.exports=h;var r,v,b,e=t(12),s=(((h.prototype=Object.create(e.prototype)).constructor=h).className="Root",t(6)),o=t(5),u=t(14),p=t(24);function h(t){e.call(this,"",t),this.deferred=[],this.files=[],this.e="proto2",this.m={}}function m(){}h.fromJSON=function(t,i,n){if((n=n===w?0:n)>p.recursionLimit)throw Error("max depth exceeded");return i=i||new h,t.options&&i.setOptions(t.options),i.addJSON(t.nested,n).resolveAll()},h.prototype.resolvePath=p.path.resolve,h.prototype.fetch=p.fetch,h.prototype.load=function t(i,o,s){"function"==typeof o&&(s=o,o=w);var u=this;if(!s)return p.asPromise(t,u,i,o);var h=s===m;function f(t,i){if(s){if(h)throw t;i&&i.resolveAll();var n=s;s=null,n(t,i)}}function c(t){var i=t.lastIndexOf("google/protobuf/");if(-1p.recursionLimit)throw Error("max depth exceeded");if(p.isString(i)&&"{"==(i[0]||"")&&(i=JSON.parse(i)),p.isString(i)){v.filename=t;var r,e=v(i,u,o),s=0;if(e.imports)for(;su.recursionLimit)throw Error("max depth exceeded");var r=new f(t,i.options);if(i.methods)for(var e=Object.keys(i.methods),s=0;s{t.b(i)})),this},f.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);return t instanceof o?"__proto__"===t.name?this:e((this.methods[t.name]=t).parent=this):r.prototype.add.call(this,t)},f.prototype.remove=function(t){if(t instanceof o){if(this.methods[t.name]!==t)throw Error(t+" is not a member of "+this);return delete this.methods[t.name],t.parent=null,e(this)}return r.prototype.remove.call(this,t)},f.prototype.create=function(t,i,n){for(var r,e=new h.Service(t,i,n),s=0;sd.nestingLimit)throw Error("max depth exceeded");for(var r=new g(t,i.options),e=(r.extensions=i.extensions,r.reserved=i.reserved,Object.keys(i.fields)),s=0;s{t.r(i)}),this.fieldsArray.forEach(t=>{t.r(i)})),this},g.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.fields,t)?this.fields[t]:this.oneofs&&Object.prototype.hasOwnProperty.call(this.oneofs,t)?this.oneofs[t]:this.nested&&Object.prototype.hasOwnProperty.call(this.nested,t)?this.nested[t]:null},g.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);if(t instanceof c&&t.extend===w){if((this._||this.fieldsById)[t.id])throw Error("duplicate id "+t.id+" in "+this);if(this.isReservedId(t.id))throw Error("id "+t.id+" is reserved in "+this);if(this.isReservedName(t.name)||"$"==(t.name[0]||""))throw Error("name '"+t.name+"' is reserved in "+this);return"__proto__"===t.name?this:(t.parent&&t.parent.remove(t),(this.fields[t.name]=t).message=this,t.onAdd(this),r(this))}if(t instanceof f){if("$"==(t.name[0]||""))throw Error("name '"+t.name+"' is reserved in "+this);return"__proto__"===t.name?this:(this.oneofs||(this.oneofs={}),(this.oneofs[t.name]=t).onAdd(this),r(this))}return u.prototype.add.call(this,t)},g.prototype.remove=function(t){if(t instanceof c&&t.extend===w){if(d.remove(this.fields,t,t.name))return t.parent=null,t.onRemove(this),r(this);throw Error(t+" is not a member of "+this)}if(t instanceof f){if(d.remove(this.oneofs,t,t.name))return t.parent=null,t.onRemove(this),r(this);throw Error(t+" is not a member of "+this)}return u.prototype.remove.call(this,t)},g.prototype.isReservedId=function(t){return u.isReservedId(this.reserved,t)},g.prototype.isReservedName=function(t){return u.isReservedName(this.reserved,t)},g.prototype.create=function(t){return new this.ctor(t)},g.prototype.setup=function(){for(var t=this.fullName,i=[],n=0;no.recursionLimit)throw Error("max depth exceeded");return function t(i,n,r){var e=n.shift();if(!o.isUnsafeProperty(e))if(0>2],r=(3&h)<<4,u=1;break;case 1:s[o++]=f[r|h>>4],r=(15&h)<<2,u=2;break;case 2:s[o++]=f[r|h>>6],s[o++]=f[63&h],u=0}8191>4,r=u,s=2;break;case 2:i[n++]=(15&r)<<4|(60&u)>>2,r=u,s=3;break;case 3:i[n++]=(3&r)<<6|u,s=0}}if(1===s)throw Error(c);return n-e},/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/),s=/[-_]/,o=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2}(?:==)?|[A-Za-z0-9_-]{3}=?)?$/;n.test=function(t){return e.test(t)||s.test(t)&&o.test(t)}},{}],27:[function(t,i,n){i.exports=a;var r=t(35).reservedRe;function a(i,n){"string"==typeof i&&(n=i,i=w);var h=[];function f(t){if("string"!=typeof t){var i=c();if(a.verbose&&console.log("codegen: "+i),i="return "+i,t){for(var n=Object.keys(t),r=Array(n.length+1),e=Array(n.length),s=0;s>>0:i<11754943508222875e-54?(e<<31|Math.round(i/1401298464324817e-60))>>>0:(e<<31|127+(t=Math.floor(Math.log(i)/Math.LN2))<<23|8388607&Math.round(i*Math.pow(2,-t)*8388608))>>>0,n,r)}function n(t,i,n){t=t(i,n),i=2*(t>>31)+1,n=t>>>23&255,t&=8388607;return 255==n?t?NaN:1/0*i:0==n?1401298464324817e-60*i*t:i*Math.pow(2,n-150)*(8388608+t)}function r(t,i,n){u[0]=t,i[n]=h[0],i[n+1]=h[1],i[n+2]=h[2],i[n+3]=h[3]}function e(t,i,n){u[0]=t,i[n]=h[3],i[n+1]=h[2],i[n+2]=h[1],i[n+3]=h[0]}function s(t,i){return h[0]=t[i],h[1]=t[i+1],h[2]=t[i+2],h[3]=t[i+3],u[0]}function o(t,i){return h[3]=t[i],h[2]=t[i+1],h[1]=t[i+2],h[0]=t[i+3],u[0]}var u,h,f,c,a;function l(t,i,n,r,e,s){var o,u=r<0?1:0;0===(r=u?-r:r)?(t(0,e,s+i),t(0<1/r?0:2147483648,e,s+n)):isNaN(r)?(t(0,e,s+i),t(2146959360,e,s+n)):17976931348623157e292>>0,e,s+n)):r<22250738585072014e-324?(t((o=r/5e-324)>>>0,e,s+i),t((u<<31|o/4294967296)>>>0,e,s+n)):(t(4503599627370496*(o=r*Math.pow(2,-(r=1024===(r=Math.floor(Math.log(r)/Math.LN2))?1023:r)))>>>0,e,s+i),t((u<<31|r+1023<<20|1048576*o&1048575)>>>0,e,s+n))}function d(t,i,n,r,e){i=t(r,e+i),t=t(r,e+n),r=2*(t>>31)+1,e=t>>>20&2047,n=4294967296*(1048575&t)+i;return 2047==e?n?NaN:1/0*r:0==e?5e-324*r*n:r*Math.pow(2,e-1075)*(n+4503599627370496)}function v(t,i,n){f[0]=t,i[n]=c[0],i[n+1]=c[1],i[n+2]=c[2],i[n+3]=c[3],i[n+4]=c[4],i[n+5]=c[5],i[n+6]=c[6],i[n+7]=c[7]}function b(t,i,n){f[0]=t,i[n]=c[7],i[n+1]=c[6],i[n+2]=c[5],i[n+3]=c[4],i[n+4]=c[3],i[n+5]=c[2],i[n+6]=c[1],i[n+7]=c[0]}function p(t,i){return c[0]=t[i],c[1]=t[i+1],c[2]=t[i+2],c[3]=t[i+3],c[4]=t[i+4],c[5]=t[i+5],c[6]=t[i+6],c[7]=t[i+7],f[0]}function m(t,i){return c[7]=t[i],c[6]=t[i+1],c[5]=t[i+2],c[4]=t[i+3],c[3]=t[i+4],c[2]=t[i+5],c[1]=t[i+6],c[0]=t[i+7],f[0]}return"undefined"!=typeof Float32Array?(u=new Float32Array([-0]),h=new Uint8Array(u.buffer),a=128===h[3],t.writeFloatLE=a?r:e,t.writeFloatBE=a?e:r,t.readFloatLE=a?s:o,t.readFloatBE=a?o:s):(t.writeFloatLE=i.bind(null,y),t.writeFloatBE=i.bind(null,g),t.readFloatLE=n.bind(null,w),t.readFloatBE=n.bind(null,j)),"undefined"!=typeof Float64Array?(f=new Float64Array([-0]),c=new Uint8Array(f.buffer),a=128===c[7],t.writeDoubleLE=a?v:b,t.writeDoubleBE=a?b:v,t.readDoubleLE=a?p:m,t.readDoubleBE=a?m:p):(t.writeDoubleLE=l.bind(null,y,0,4),t.writeDoubleBE=l.bind(null,g,4,0),t.readDoubleLE=d.bind(null,w,0,4),t.readDoubleBE=d.bind(null,j,4,0)),t}function y(t,i,n){i[n]=255&t,i[n+1]=t>>>8&255,i[n+2]=t>>>16&255,i[n+3]=t>>>24}function g(t,i,n){i[n]=t>>>24,i[n+1]=t>>>16&255,i[n+2]=t>>>8&255,i[n+3]=255&t}function w(t,i){return(t[i]|t[i+1]<<8|t[i+2]<<16|t[i+3]<<24)>>>0}function j(t,i){return(t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3])>>>0}i.exports=r(r)},{}],31:[function(t,i,n){var r=null;try{(r=t(1))&&r.readFile&&r.readFileSync||(r=null)}catch(t){}i.exports=r},{1:1}],32:[function(t,i,n){i.exports=e;var r=t(33);function e(t,i){this.lo=t>>>0,this.hi=i>>>0}var s=e.zero=new e(0,0),o=(s.toNumber=function(){return 0},s.zzEncode=s.zzDecode=function(){return this},s.length=function(){return 1},e.zeroHash="\0\0\0\0\0\0\0\0",e.fromNumber=function(t){var i,n;return 0===t?s:(n=(t=(i=t<0)?-t:t)>>>0,t=(t-n)/4294967296>>>0,i&&(t=~t>>>0,n=~n>>>0,4294967295<++n&&(n=0,4294967295<++t&&(t=0))),new e(n,t))},e.from=function(t){if("number"==typeof t)return e.fromNumber(t);if(r.isString(t)){if(!r.Long)return e.fromNumber(parseInt(t,10));t=r.Long.fromString(t)}return t.low||t.high?new e(t.low>>>0,t.high>>>0):s},e.prototype.toNumber=function(t){var i;return!t&&this.hi>>>31?(t=1+~this.lo>>>0,i=~this.hi>>>0,-(t+4294967296*(i=t?i:i+1>>>0))):this.lo+4294967296*this.hi},e.prototype.toLong=function(t){return r.Long?new r.Long(0|this.lo,0|this.hi,!!t):{low:0|this.lo,high:0|this.hi,unsigned:!!t}},String.prototype.charCodeAt);e.fromHash=function(t){return"\0\0\0\0\0\0\0\0"===t?s:new e((o.call(t,0)|o.call(t,1)<<8|o.call(t,2)<<16|o.call(t,3)<<24)>>>0,(o.call(t,4)|o.call(t,5)<<8|o.call(t,6)<<16|o.call(t,7)<<24)>>>0)},e.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)},e.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},e.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},e.prototype.length=function(){var t=this.lo,i=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0==n?0==i?t<16384?t<128?1:2:t<2097152?3:4:i<16384?i<128?5:6:i<2097152?7:8:n<128?9:10}},{33:33}],33:[function(i,t,n){var r=n;function u(t){return"__proto__"===t||"prototype"===t||"constructor"===t}function e(t){for(var i=(n="boolean"==typeof arguments[arguments.length-1])?arguments.length-1:arguments.length,n=n&&arguments[arguments.length-1],r=1;r>>1,s=null,o=r;return function(t){if(t<1||e>10))+String.fromCharCode(56320+(1023&o)))}return r}function v(t,i,n){t=0===i&&n===t.length?t:t.subarray?t.subarray(i,n):t.slice(i,n);return Array.isArray(t)&&(t=Uint8Array.from(t)),r.decode(t)}n.length=function(t){for(var i,n=0,r=0;r>6|192:(55296==(64512&r)&&56320==(64512&(e=t.charCodeAt(o+1)))?(++o,i[n++]=(r=65536+((1023&r)<<10)+(1023&e))>>18|240,i[n++]=r>>12&63|128):i[n++]=r>>12|224,i[n++]=r>>6&63|128),i[n++]=63&r|128);return n-s}},{}],38:[function(t,i,n){i.exports=function(t){var i=h.codegen(["m","q"])('if(typeof m!=="object"||m===null)')("return%j","object expected")("if(q===undefined)q=0")("if(q>util.recursionLimit)")("return%j","max depth exceeded"),n=t.oneofsArray,r={};n.length&&i("var p={}");for(var e=0;eh.recursionLimit)throw Error("max depth exceeded");var r,e,s="",o="";return i&&i.json&&t.type_url&&t.value&&(o=t.type_url.substring(1+t.type_url.lastIndexOf("/")),s=t.type_url.substring(0,1+t.type_url.lastIndexOf("/")),(r=this.lookup(o))&&(t=r.decode(t.value,w,w,n+1))),!(t instanceof this.ctor)&&t instanceof u?(r=t.$type.toObject(t,i,n+1),e="."===t.$type.fullName[0]?t.$type.fullName.slice(1):t.$type.fullName,r["@type"]=o=(s=""===s?"type.googleapis.com/":s)+e,r):this.toObject(t,i,n)}}},{10:10,33:33}],40:[function(t,i,n){i.exports=a;var r,e=t(33),s=e.LongBits,o=e.base64,u=e.utf8;function h(t,i,n){this.fn=t,this.len=i,this.next=w,this.val=n}function f(){}function c(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states}function a(){this.len=0,this.head=new h(f,0,0),this.tail=this.head,this.states=null}function l(){return e.Buffer?function(){return(a.create=function(){return new r})()}:function(){return new a}}function d(t,i,n){i[n]=255&t}function v(t,i,n){for(var r=0;r>>7|e<<25)>>>0,e>>>=7;for(;127>>=7;i[n++]=r}function m(t,i,n){i[n]=255&t,i[n+1]=t>>>8&255,i[n+2]=t>>>16&255,i[n+3]=t>>>24}a.create=l(),a.alloc=function(t){return new e.Array(t)},e.Array!==Array&&(a.alloc=e.pool(a.alloc,e.Array.prototype.subarray)),a.prototype.S=function(t,i,n){return this.tail=this.tail.next=new h(t,i,n),this.len+=i,this},(b.prototype=Object.create(h.prototype)).fn=function(t,i,n){for(;127>>=7;i[n]=t},a.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new b((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this},a.prototype.int32=function(t){return(t|=0)<0?this.S(p,10,s.fromNumber(t)):this.uint32(t)},a.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},a.prototype.int64=a.prototype.uint64=function(t){t=s.from(t);return this.S(p,t.length(),t)},a.prototype.sint64=function(t){t=s.from(t).zzEncode();return this.S(p,t.length(),t)},a.prototype.bool=function(t){return this.S(d,1,t?1:0)},a.prototype.sfixed32=a.prototype.fixed32=function(t){return this.S(m,4,t>>>0)},a.prototype.sfixed64=a.prototype.fixed64=function(t){t=s.from(t);return this.S(m,4,t.lo).S(m,4,t.hi)},a.prototype.float=function(t){return this.S(e.float.writeFloatLE,4,t)},a.prototype.double=function(t){return this.S(e.float.writeDoubleLE,8,t)};var y=e.Array.prototype.set?function(t,i,n){i.set(t,n)}:function(t,i,n){for(var r=0;r>>0;return n?(e.isString(t)&&(i=a.alloc(n=o.length(t)),o.decode(t,i,0),t=i),this.uint32(n).S(y,n,t)):this.S(d,1,0)},a.prototype.raw=function(t){var i=t.length>>>0;return i?this.S(y,i,t):this},a.prototype.string=function(t){var i=u.length(t);return i?this.uint32(i).S(i===t.length?v:u.write,i,t):this.S(d,1,0)},a.prototype.fork=function(){return this.states=new c(this),this.head=this.tail=new h(f,0,0),this.len=0,this},a.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 h(f,0,0),this.len=0),this},a.prototype.ldelim=function(){var t=this.head,i=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=t.next,this.tail=i,this.len+=n),this},a.prototype.finish=function(){return this.finishInto(this.constructor.alloc(this.len),0)},a.prototype.finishInto=function(t,i){for(var n=this.head.next,r=i=i===w?0:i;n;)n.fn(n.val,t,r),r+=n.len,n=n.next;return t},a.f=function(t){r=t,a.create=l(),r.f()}},{33:33}],41:[function(t,i,n){i.exports=s;var r=t(40),e=((s.prototype=Object.create(r.prototype)).constructor=s,t(33));function s(){r.call(this)}function o(t,i,n){for(var r=0;r>>0;return this.uint32(i),i&&this.S(s.writeBytesBuffer,i,t),this},s.prototype.raw=function(t){var i=t.length>>>0;return i?this.S(s.writeBytesBuffer,i,t):this},s.prototype.string=function(t){var i=e.Buffer.byteLength(t);return this.uint32(i),i&&this.S(i===t.length&&i<40?o:u,i,t),this},s.f()},{33:33,40:40}]},e={},(i=function t(i){var n=e[i];return n||r[i][0].call(n=e[i]={exports:{}},t,n,n.exports),n.exports}([7][0])).util.global.protobuf=i,"function"==typeof define&&define.amd&&define(["long"],function(t){return t&&t.isLong&&(i.util.Long=t,i.configure()),i}),"object"==typeof module&&module&&module.exports&&(module.exports=i)}(); //# sourceMappingURL=protobuf.min.js.map