AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.17.110.242
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/js/pull/protobuf/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/js/pull/protobuf/protobuf.min.js
(function(global,undefined){"use strict";(function e(t,r,i){function n(e){var i=r[e];if(!i)t[e][0].call(i=r[e]={exports:{}},n,i,i.exports);return i.exports}var s=global.protobuf=n(i[0])})({1:[function(e,t,r){"use strict";t.exports=i;function i(e,t){var r=new Array(arguments.length-1),i=0,n=2,s=true;while(n<arguments.length)r[i++]=arguments[n++];return new Promise(function n(o,f){r[i]=function e(t){if(s){s=false;if(t)f(t);else{var r=new Array(arguments.length-1),i=0;while(i<r.length)r[i++]=arguments[i];o.apply(null,r)}}};try{e.apply(t||null,r)}catch(e){if(s){s=false;f(e)}}})}},{}],2:[function(e,t,r){"use strict";var i=r;i.length=function e(t){var r=t.length;if(!r)return 0;var i=0;while(--r%4>1&&t.charAt(r)==="=")++i;return Math.ceil(t.length*3)/4-i};var n=new Array(64);var s=new Array(123);for(var o=0;o<64;)s[n[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;i.encode=function e(t,r,i){var s=null,o=[];var f=0,a=0,u;while(r<i){var l=t[r++];switch(a){case 0:o[f++]=n[l>>2];u=(l&3)<<4;a=1;break;case 1:o[f++]=n[u|l>>4];u=(l&15)<<2;a=2;break;case 2:o[f++]=n[u|l>>6];o[f++]=n[l&63];a=0;break}if(f>8191){(s||(s=[])).push(String.fromCharCode.apply(String,o));f=0}}if(a){o[f++]=n[u];o[f++]=61;if(a===1)o[f++]=61}if(s){if(f)s.push(String.fromCharCode.apply(String,o.slice(0,f)));return s.join("")}return String.fromCharCode.apply(String,o.slice(0,f))};var f="invalid encoding";i.decode=function e(t,r,i){var n=i;var o=0,a;for(var u=0;u<t.length;){var l=t.charCodeAt(u++);if(l===61&&o>1)break;if((l=s[l])===undefined)throw Error(f);switch(o){case 0:a=l;o=1;break;case 1:r[i++]=a<<2|(l&48)>>4;a=l;o=2;break;case 2:r[i++]=(a&15)<<4|(l&60)>>2;a=l;o=3;break;case 3:r[i++]=(a&3)<<6|l;o=0;break}}if(o===1)throw Error(f);return i-n};i.test=function e(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},{}],3:[function(e,t,r){"use strict";t.exports=i;function i(e,t){if(typeof e==="string"){t=e;e=undefined}var r=[];function n(e){if(typeof e!=="string"){var t=s();if(i.verbose)console.log("codegen: "+t);t="return "+t;if(e){var o=Object.keys(e),f=new Array(o.length+1),a=new Array(o.length),u=0;while(u<o.length){f[u]=o[u];a[u]=e[o[u++]]}f[u]=t;return Function.apply(null,f).apply(null,a)}return Function(t)()}var l=new Array(arguments.length-1),c=0;while(c<l.length)l[c]=arguments[++c];c=0;e=e.replace(/%([%dfijs])/g,function e(t,r){var i=l[c++];switch(r){case"d":case"f":return String(Number(i));case"i":return String(Math.floor(i));case"j":return JSON.stringify(i);case"s":return String(i)}return"%"});if(c!==l.length)throw Error("parameter count mismatch");r.push(e);return n}function s(i){return"function "+(i||t||"")+"("+(e&&e.join(",")||"")+"){\n  "+r.join("\n  ")+"\n}"}n.toString=s;return n}i.verbose=false},{}],4:[function(e,t,r){"use strict";t.exports=i;function i(){this._listeners={}}i.prototype.on=function e(t,r,i){(this._listeners[t]||(this._listeners[t]=[])).push({fn:r,ctx:i||this});return this};i.prototype.off=function e(t,r){if(t===undefined)this._listeners={};else{if(r===undefined)this._listeners[t]=[];else{var i=this._listeners[t];for(var n=0;n<i.length;)if(i[n].fn===r)i.splice(n,1);else++n}}return this};i.prototype.emit=function e(t){var r=this._listeners[t];if(r){var i=[],n=1;for(;n<arguments.length;)i.push(arguments[n++]);for(n=0;n<r.length;)r[n].fn.apply(r[n++].ctx,i)}return this}},{}],5:[function(e,t,r){"use strict";t.exports=o;var i=e(1),n=e(7);var s=n("fs");function o(e,t,r){if(typeof t==="function"){r=t;t={}}else if(!t)t={};if(!r)return i(o,this,e,t);if(!t.xhr&&s&&s.readFile)return s.readFile(e,function i(n,s){return n&&typeof XMLHttpRequest!=="undefined"?o.xhr(e,t,r):n?r(n):r(null,t.binary?s:s.toString("utf8"))});return o.xhr(e,t,r)}o.xhr=function e(t,r,i){var n=new XMLHttpRequest;n.onreadystatechange=function e(){if(n.readyState!==4)return undefined;if(n.status!==0&&n.status!==200)return i(Error("status "+n.status));if(r.binary){var t=n.response;if(!t){t=[];for(var s=0;s<n.responseText.length;++s)t.push(n.responseText.charCodeAt(s)&255)}return i(null,typeof Uint8Array!=="undefined"?new Uint8Array(t):t)}return i(null,n.responseText)};if(r.binary){if("overrideMimeType"in n)n.overrideMimeType("text/plain; charset=x-user-defined");n.responseType="arraybuffer"}n.open("GET",t);n.send()}},{1:1,7:7}],6:[function(e,t,r){"use strict";t.exports=i(i);function i(e){if(typeof Float32Array!=="undefined")(function(){var t=new Float32Array([-0]),r=new Uint8Array(t.buffer),i=r[3]===128;function n(e,i,n){t[0]=e;i[n]=r[0];i[n+1]=r[1];i[n+2]=r[2];i[n+3]=r[3]}function s(e,i,n){t[0]=e;i[n]=r[3];i[n+1]=r[2];i[n+2]=r[1];i[n+3]=r[0]}e.writeFloatLE=i?n:s;e.writeFloatBE=i?s:n;function o(e,i){r[0]=e[i];r[1]=e[i+1];r[2]=e[i+2];r[3]=e[i+3];return t[0]}function f(e,i){r[3]=e[i];r[2]=e[i+1];r[1]=e[i+2];r[0]=e[i+3];return t[0]}e.readFloatLE=i?o:f;e.readFloatBE=i?f:o})();else(function(){function t(e,t,r,i){var n=t<0?1:0;if(n)t=-t;if(t===0)e(1/t>0?0:2147483648,r,i);else if(isNaN(t))e(2143289344,r,i);else if(t>3.4028234663852886e38)e((n<<31|2139095040)>>>0,r,i);else if(t<1.1754943508222875e-38)e((n<<31|Math.round(t/1.401298464324817e-45))>>>0,r,i);else{var s=Math.floor(Math.log(t)/Math.LN2),o=Math.round(t*Math.pow(2,-s)*8388608)&8388607;e((n<<31|s+127<<23|o)>>>0,r,i)}}e.writeFloatLE=t.bind(null,n);e.writeFloatBE=t.bind(null,s);function r(e,t,r){var i=e(t,r),n=(i>>31)*2+1,s=i>>>23&255,o=i&8388607;return s===255?o?NaN:n*Infinity:s===0?n*1.401298464324817e-45*o:n*Math.pow(2,s-150)*(o+8388608)}e.readFloatLE=r.bind(null,o);e.readFloatBE=r.bind(null,f)})();if(typeof Float64Array!=="undefined")(function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),i=r[7]===128;function n(e,i,n){t[0]=e;i[n]=r[0];i[n+1]=r[1];i[n+2]=r[2];i[n+3]=r[3];i[n+4]=r[4];i[n+5]=r[5];i[n+6]=r[6];i[n+7]=r[7]}function s(e,i,n){t[0]=e;i[n]=r[7];i[n+1]=r[6];i[n+2]=r[5];i[n+3]=r[4];i[n+4]=r[3];i[n+5]=r[2];i[n+6]=r[1];i[n+7]=r[0]}e.writeDoubleLE=i?n:s;e.writeDoubleBE=i?s:n;function o(e,i){r[0]=e[i];r[1]=e[i+1];r[2]=e[i+2];r[3]=e[i+3];r[4]=e[i+4];r[5]=e[i+5];r[6]=e[i+6];r[7]=e[i+7];return t[0]}function f(e,i){r[7]=e[i];r[6]=e[i+1];r[5]=e[i+2];r[4]=e[i+3];r[3]=e[i+4];r[2]=e[i+5];r[1]=e[i+6];r[0]=e[i+7];return t[0]}e.readDoubleLE=i?o:f;e.readDoubleBE=i?f:o})();else(function(){function t(e,t,r,i,n,s){var o=i<0?1:0;if(o)i=-i;if(i===0){e(0,n,s+t);e(1/i>0?0:2147483648,n,s+r)}else if(isNaN(i)){e(0,n,s+t);e(2146959360,n,s+r)}else if(i>1.7976931348623157e308){e(0,n,s+t);e((o<<31|2146435072)>>>0,n,s+r)}else{var f;if(i<2.2250738585072014e-308){f=i/5e-324;e(f>>>0,n,s+t);e((o<<31|f/4294967296)>>>0,n,s+r)}else{var a=Math.floor(Math.log(i)/Math.LN2);if(a===1024)a=1023;f=i*Math.pow(2,-a);e(f*4503599627370496>>>0,n,s+t);e((o<<31|a+1023<<20|f*1048576&1048575)>>>0,n,s+r)}}}e.writeDoubleLE=t.bind(null,n,0,4);e.writeDoubleBE=t.bind(null,s,4,0);function r(e,t,r,i,n){var s=e(i,n+t),o=e(i,n+r);var f=(o>>31)*2+1,a=o>>>20&2047,u=4294967296*(o&1048575)+s;return a===2047?u?NaN:f*Infinity:a===0?f*5e-324*u:f*Math.pow(2,a-1075)*(u+4503599627370496)}e.readDoubleLE=r.bind(null,o,0,4);e.readDoubleBE=r.bind(null,f,4,0)})();return e}function n(e,t,r){t[r]=e&255;t[r+1]=e>>>8&255;t[r+2]=e>>>16&255;t[r+3]=e>>>24}function s(e,t,r){t[r]=e>>>24;t[r+1]=e>>>16&255;t[r+2]=e>>>8&255;t[r+3]=e&255}function o(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function f(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}},{}],7:[function(require,module,exports){"use strict";module.exports=inquire;function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}},{}],8:[function(e,t,r){"use strict";var i=r;var n=i.isAbsolute=function e(t){return/^(?:\/|\w+:)/.test(t)};var s=i.normalize=function e(t){t=t.replace(/\\/g,"/").replace(/\/{2,}/g,"/");var r=t.split("/"),i=n(t),s="";if(i)s=r.shift()+"/";for(var o=0;o<r.length;){if(r[o]===".."){if(o>0&&r[o-1]!=="..")r.splice(--o,2);else if(i)r.splice(o,1);else++o}else if(r[o]===".")r.splice(o,1);else++o}return s+r.join("/")};i.resolve=function e(t,r,i){if(!i)r=s(r);if(n(r))return r;if(!i)t=s(t);return(t=t.replace(/(?:\/|^)[^/]+$/,"")).length?s(t+"/"+r):r}},{}],9:[function(e,t,r){"use strict";t.exports=i;function i(e,t,r){var i=r||8192;var n=i>>>1;var s=null;var o=i;return function r(f){if(f<1||f>n)return e(f);if(o+f>i){s=e(i);o=0}var a=t.call(s,o,o+=f);if(o&7)o=(o|7)+1;return a}}},{}],10:[function(e,t,r){"use strict";var i=r;i.length=function e(t){var r=0,i=0;for(var n=0;n<t.length;++n){i=t.charCodeAt(n);if(i<128)r+=1;else if(i<2048)r+=2;else if((i&64512)===55296&&(t.charCodeAt(n+1)&64512)===56320){++n;r+=4}else r+=3}return r};i.read=function e(t,r,i){var n=i-r;if(n<1)return"";var s=null,o=[],f=0,a;while(r<i){a=t[r++];if(a<128)o[f++]=a;else if(a>191&&a<224)o[f++]=(a&31)<<6|t[r++]&63;else if(a>239&&a<365){a=((a&7)<<18|(t[r++]&63)<<12|(t[r++]&63)<<6|t[r++]&63)-65536;o[f++]=55296+(a>>10);o[f++]=56320+(a&1023)}else o[f++]=(a&15)<<12|(t[r++]&63)<<6|t[r++]&63;if(f>8191){(s||(s=[])).push(String.fromCharCode.apply(String,o));f=0}}if(s){if(f)s.push(String.fromCharCode.apply(String,o.slice(0,f)));return s.join("")}return String.fromCharCode.apply(String,o.slice(0,f))};i.write=function e(t,r,i){var n=i,s,o;for(var f=0;f<t.length;++f){s=t.charCodeAt(f);if(s<128){r[i++]=s}else if(s<2048){r[i++]=s>>6|192;r[i++]=s&63|128}else if((s&64512)===55296&&((o=t.charCodeAt(f+1))&64512)===56320){s=65536+((s&1023)<<10)+(o&1023);++f;r[i++]=s>>18|240;r[i++]=s>>12&63|128;r[i++]=s>>6&63|128;r[i++]=s&63|128}else{r[i++]=s>>12|224;r[i++]=s>>6&63|128;r[i++]=s&63|128}}return i-n}},{}],11:[function(e,t,r){"use strict";t.exports=n;var i=/\/|\./;function n(e,t){if(!i.test(e)){e="google/protobuf/"+e+".proto";t={nested:{google:{nested:{protobuf:{nested:t}}}}}}n[e]=t}n("any",{Any:{fields:{type_url:{type:"string",id:1},value:{type:"bytes",id:2}}}});var s;n("duration",{Duration:s={fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}}});n("timestamp",{Timestamp:s});n("empty",{Empty:{fields:{}}});n("struct",{Struct:{fields:{fields:{keyType:"string",type:"Value",id:1}}},Value:{oneofs:{kind:{oneof:["nullValue","numberValue","stringValue","boolValue","structValue","listValue"]}},fields:{nullValue:{type:"NullValue",id:1},numberValue:{type:"double",id:2},stringValue:{type:"string",id:3},boolValue:{type:"bool",id:4},structValue:{type:"Struct",id:5},listValue:{type:"ListValue",id:6}}},NullValue:{values:{NULL_VALUE:0}},ListValue:{fields:{values:{rule:"repeated",type:"Value",id:1}}}});n("wrappers",{DoubleValue:{fields:{value:{type:"double",id:1}}},FloatValue:{fields:{value:{type:"float",id:1}}},Int64Value:{fields:{value:{type:"int64",id:1}}},UInt64Value:{fields:{value:{type:"uint64",id:1}}},Int32Value:{fields:{value:{type:"int32",id:1}}},UInt32Value:{fields:{value:{type:"uint32",id:1}}},BoolValue:{fields:{value:{type:"bool",id:1}}},StringValue:{fields:{value:{type:"string",id:1}}},BytesValue:{fields:{value:{type:"bytes",id:1}}}});n("field_mask",{FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}}});n.get=function e(t){return n[t]||null}},{}],12:[function(e,t,r){"use strict";var i=r;var n=e(15),s=e(37);function o(e,t,r,i){if(t.resolvedType){if(t.resolvedType instanceof n){e("switch(d%s){",i);for(var s=t.resolvedType.values,o=Object.keys(s),f=0;f<o.length;++f){if(t.repeated&&s[o[f]]===t.typeDefault)e("default:");e("case%j:",o[f])("case %i:",s[o[f]])("m%s=%j",i,s[o[f]])("break")}e("}")}else e('if(typeof d%s!=="object")',i)("throw TypeError(%j)",t.fullName+": object expected")("m%s=types[%i].fromObject(d%s)",i,r,i)}else{var a=false;switch(t.type){case"double":case"float":e("m%s=Number(d%s)",i,i);break;case"uint32":case"fixed32":e("m%s=d%s>>>0",i,i);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",i,i);break;case"uint64":a=true;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",i,i,a)('else if(typeof d%s==="string")',i)("m%s=parseInt(d%s,10)",i,i)('else if(typeof d%s==="number")',i)("m%s=d%s",i,i)('else if(typeof d%s==="object")',i)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",i,i,i,a?"true":"");break;case"bytes":e('if(typeof d%s==="string")',i)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",i,i,i)("else if(d%s.length)",i)("m%s=d%s",i,i);break;case"string":e("m%s=String(d%s)",i,i);break;case"bool":e("m%s=Boolean(d%s)",i,i);break}}return e}i.fromObject=function e(t){var r=t.fieldsArray;var i=s.codegen(["d"],t.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!r.length)return i("return new this.ctor");i("var m=new this.ctor");for(var f=0;f<r.length;++f){var a=r[f].resolve(),u=s.safeProp(a.name);if(a.map){i("if(d%s){",u)('if(typeof d%s!=="object")',u)("throw TypeError(%j)",a.fullName+": object expected")("m%s={}",u)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){",u);o(i,a,f,u+"[ks[i]]")("}")("}")}else if(a.repeated){i("if(d%s){",u)("if(!Array.isArray(d%s))",u)("throw TypeError(%j)",a.fullName+": array expected")("m%s=[]",u)("for(var i=0;i<d%s.length;++i){",u);o(i,a,f,u+"[i]")("}")("}")}else{if(!(a.resolvedType instanceof n))i("if(d%s!=null){",u);o(i,a,f,u);if(!(a.resolvedType instanceof n))i("}")}}return i("return m")};function f(e,t,r,i){if(t.resolvedType){if(t.resolvedType instanceof n)e("d%s=o.enums===String?types[%i].values[m%s]:m%s",i,r,i,i);else e("d%s=types[%i].toObject(m%s,o)",i,r,i)}else{var s=false;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",i,i,i,i);break;case"uint64":s=true;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',i)("d%s=o.longs===String?String(m%s):m%s",i,i,i)("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",i,i,i,i,s?"true":"",i);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",i,i,i,i,i);break;default:e("d%s=m%s",i,i);break}}return e}i.toObject=function e(t){var r=t.fieldsArray.slice().sort(s.compareFieldsById);if(!r.length)return s.codegen()("return {}");var i=s.codegen(["m","o"],t.name+"$toObject")("if(!o)")("o={}")("var d={}");var o=[],a=[],u=[],l=0;for(;l<r.length;++l)if(!r[l].partOf)(r[l].resolve().repeated?o:r[l].map?a:u).push(r[l]);if(o.length){i("if(o.arrays||o.defaults){");for(l=0;l<o.length;++l)i("d%s=[]",s.safeProp(o[l].name));i("}")}if(a.length){i("if(o.objects||o.defaults){");for(l=0;l<a.length;++l)i("d%s={}",s.safeProp(a[l].name));i("}")}if(u.length){i("if(o.defaults){");for(l=0;l<u.length;++l){var c=u[l],p=s.safeProp(c.name);if(c.resolvedType instanceof n)i("d%s=o.enums===String?%j:%j",p,c.resolvedType.valuesById[c.typeDefault],c.typeDefault);else if(c.long)i("if(util.Long){")("var n=new util.Long(%i,%i,%j)",c.typeDefault.low,c.typeDefault.high,c.typeDefault.unsigned)("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n",p)("}else")("d%s=o.longs===String?%j:%i",p,c.typeDefault.toString(),c.typeDefault.toNumber());else if(c.bytes)i("d%s=o.bytes===String?%j:%s",p,String.fromCharCode.apply(String,c.typeDefault),"["+Array.prototype.slice.call(c.typeDefault).join(",")+"]");else i("d%s=%j",p,c.typeDefault)}i("}")}var h=false;for(l=0;l<r.length;++l){var c=r[l],d=t._fieldsArray.indexOf(c),p=s.safeProp(c.name);if(c.map){if(!h){h=true;i("var ks2")}i("if(m%s&&(ks2=Object.keys(m%s)).length){",p,p)("d%s={}",p)("for(var j=0;j<ks2.length;++j){");f(i,c,d,p+"[ks2[j]]")("}")}else if(c.repeated){i("if(m%s&&m%s.length){",p,p)("d%s=[]",p)("for(var j=0;j<m%s.length;++j){",p);f(i,c,d,p+"[j]")("}")}else{i("if(m%s!=null&&m.hasOwnProperty(%j)){",p,c.name);f(i,c,d,p);if(c.partOf)i("if(o.oneofs)")("d%s=%j",s.safeProp(c.partOf.name),c.name)}i("}")}return i("return d")}},{15:15,37:37}],13:[function(e,t,r){"use strict";t.exports=f;var i=e(15),n=e(36),s=e(37);function o(e){return"missing required '"+e.name+"'"}function f(e){var t=s.codegen(["r","l"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter(function(e){return e.map}).length?",k":""))("while(r.pos<c){")("var t=r.uint32()");if(e.group)t("if((t&7)===4)")("break");t("switch(t>>>3){");var r=0;for(;r<e.fieldsArray.length;++r){var f=e._fieldsArray[r].resolve(),a=f.resolvedType instanceof i?"int32":f.type,u="m"+s.safeProp(f.name);t("case %i:",f.id);if(f.map){t("r.skip().pos++")("if(%s===util.emptyObject)",u)("%s={}",u)("k=r.%s()",f.keyType)("r.pos++");if(n.long[f.keyType]!==undefined){if(n.basic[a]===undefined)t('%s[typeof k==="object"?util.longToHash(k):k]=types[%i].decode(r,r.uint32())',u,r);else t('%s[typeof k==="object"?util.longToHash(k):k]=r.%s()',u,a)}else{if(n.basic[a]===undefined)t("%s[k]=types[%i].decode(r,r.uint32())",u,r);else t("%s[k]=r.%s()",u,a)}}else if(f.repeated){t("if(!(%s&&%s.length))",u,u)("%s=[]",u);if(n.packed[a]!==undefined)t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())",u,a)("}else");if(n.basic[a]===undefined)t(f.resolvedType.group?"%s.push(types[%i].decode(r))":"%s.push(types[%i].decode(r,r.uint32()))",u,r);else t("%s.push(r.%s())",u,a)}else if(n.basic[a]===undefined)t(f.resolvedType.group?"%s=types[%i].decode(r)":"%s=types[%i].decode(r,r.uint32())",u,r);else t("%s=r.%s()",u,a);t("break")}t("default:")("r.skipType(t&7)")("break")("}")("}");for(r=0;r<e._fieldsArray.length;++r){var l=e._fieldsArray[r];if(l.required)t("if(!m.hasOwnProperty(%j))",l.name)("throw util.ProtocolError(%j,{instance:m})",o(l))}return t("return m")}},{15:15,36:36,37:37}],14:[function(e,t,r){"use strict";t.exports=f;var i=e(15),n=e(36),s=e(37);function o(e,t,r,i){return t.resolvedType.group?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",r,i,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",r,i,(t.id<<3|2)>>>0)}function f(e){var t=s.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()");var r,f;var a=e.fieldsArray.slice().sort(s.compareFieldsById);for(var r=0;r<a.length;++r){var u=a[r].resolve(),l=e._fieldsArray.indexOf(u),c=u.resolvedType instanceof i?"int32":u.type,p=n.basic[c];f="m"+s.safeProp(u.name);if(u.map){t("if(%s!=null&&m.hasOwnProperty(%j)){",f,u.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){",f)("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(u.id<<3|2)>>>0,8|n.mapKey[u.keyType],u.keyType);if(p===undefined)t("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",l,f);else t(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|p,c,f);t("}")("}")}else if(u.repeated){t("if(%s!=null&&%s.length){",f,f);if(u.packed&&n.packed[c]!==undefined){t("w.uint32(%i).fork()",(u.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",f)("w.%s(%s[i])",c,f)("w.ldelim()")}else{t("for(var i=0;i<%s.length;++i)",f);if(p===undefined)o(t,u,l,f+"[i]");else t("w.uint32(%i).%s(%s[i])",(u.id<<3|p)>>>0,c,f)}t("}")}else{if(u.optional)t("if(%s!=null&&m.hasOwnProperty(%j))",f,u.name);if(p===undefined)o(t,u,l,f);else t("w.uint32(%i).%s(%s)",(u.id<<3|p)>>>0,c,f)}}return t("return w")}},{15:15,36:36,37:37}],15:[function(e,t,r){"use strict";t.exports=o;var i=e(24);((o.prototype=Object.create(i.prototype)).constructor=o).className="Enum";var n=e(23),s=e(37);function o(e,t,r,n,s){i.call(this,e,r);if(t&&typeof t!=="object")throw TypeError("values must be an object");this.valuesById={};this.values=Object.create(this.valuesById);this.comment=n;this.comments=s||{};this.reserved=undefined;if(t)for(var o=Object.keys(t),f=0;f<o.length;++f)if(typeof t[o[f]]==="number")this.valuesById[this.values[o[f]]=t[o[f]]]=o[f]}o.fromJSON=function e(t,r){var i=new o(t,r.values,r.options,r.comment,r.comments);i.reserved=r.reserved;return i};o.prototype.toJSON=function e(t){var r=t?Boolean(t.keepComments):false;return s.toObject(["options",this.options,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:undefined,"comment",r?this.comment:undefined,"comments",r?this.comments:undefined])};o.prototype.add=function e(t,r,i){if(!s.isString(t))throw TypeError("name must be a string");if(!s.isInteger(r))throw TypeError("id must be an integer");if(this.values[t]!==undefined)throw Error("duplicate name '"+t+"' in "+this);if(this.isReservedId(r))throw Error("id "+r+" is reserved in "+this);if(this.isReservedName(t))throw Error("name '"+t+"' is reserved in "+this);if(this.valuesById[r]!==undefined){if(!(this.options&&this.options.allow_alias))throw Error("duplicate id "+r+" in "+this);this.values[t]=r}else this.valuesById[this.values[t]=r]=t;this.comments[t]=i||null;return this};o.prototype.remove=function e(t){if(!s.isString(t))throw TypeError("name must be a string");var r=this.values[t];if(r==null)throw Error("name '"+t+"' does not exist in "+this);delete this.valuesById[r];delete this.values[t];delete this.comments[t];return this};o.prototype.isReservedId=function e(t){return n.isReservedId(this.reserved,t)};o.prototype.isReservedName=function e(t){return n.isReservedName(this.reserved,t)}},{23:23,24:24,37:37}],16:[function(e,t,r){"use strict";t.exports=u;var i=e(24);((u.prototype=Object.create(i.prototype)).constructor=u).className="Field";var n=e(15),s=e(36),o=e(37);var f;var a=/^required|optional|repeated$/;u.fromJSON=function e(t,r){return new u(t,r.id,r.type,r.rule,r.extend,r.options,r.comment)};function u(e,t,r,n,f,u,l){if(o.isObject(n)){l=f;u=n;n=f=undefined}else if(o.isObject(f)){l=u;u=f;f=undefined}i.call(this,e,u);if(!o.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!o.isString(r))throw TypeError("type must be a string");if(n!==undefined&&!a.test(n=n.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(f!==undefined&&!o.isString(f))throw TypeError("extend must be a string");this.rule=n&&n!=="optional"?n:undefined;this.type=r;this.id=t;this.extend=f||undefined;this.required=n==="required";this.optional=!this.required;this.repeated=n==="repeated";this.map=false;this.message=null;this.partOf=null;this.typeDefault=null;this.defaultValue=null;this.long=o.Long?s.long[r]!==undefined:false;this.bytes=r==="bytes";this.resolvedType=null;this.extensionField=null;this.declaringField=null;this._packed=null;this.comment=l}Object.defineProperty(u.prototype,"packed",{get:function(){if(this._packed===null)this._packed=this.getOption("packed")!==false;return this._packed}});u.prototype.setOption=function e(t,r,n){if(t==="packed")this._packed=null;return i.prototype.setOption.call(this,t,r,n)};u.prototype.toJSON=function e(t){var r=t?Boolean(t.keepComments):false;return o.toObject(["rule",this.rule!=="optional"&&this.rule||undefined,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",r?this.comment:undefined])};u.prototype.resolve=function e(){if(this.resolved)return this;if((this.typeDefault=s.defaults[this.type])===undefined){this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type);if(this.resolvedType instanceof f)this.typeDefault=null;else this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]}if(this.options&&this.options["default"]!=null){this.typeDefault=this.options["default"];if(this.resolvedType instanceof n&&typeof this.typeDefault==="string")this.typeDefault=this.resolvedType.values[this.typeDefault]}if(this.options){if(this.options.packed===true||this.options.packed!==undefined&&this.resolvedType&&!(this.resolvedType instanceof n))delete this.options.packed;if(!Object.keys(this.options).length)this.options=undefined}if(this.long){this.typeDefault=o.Long.fromNumber(this.typeDefault,this.type.charAt(0)==="u");if(Object.freeze)Object.freeze(this.typeDefault)}else if(this.bytes&&typeof this.typeDefault==="string"){var t;if(o.base64.test(this.typeDefault))o.base64.decode(this.typeDefault,t=o.newBuffer(o.base64.length(this.typeDefault)),0);else o.utf8.write(this.typeDefault,t=o.newBuffer(o.utf8.length(this.typeDefault)),0);this.typeDefault=t}if(this.map)this.defaultValue=o.emptyObject;else if(this.repeated)this.defaultValue=o.emptyArray;else this.defaultValue=this.typeDefault;if(this.parent instanceof f)this.parent.ctor.prototype[this.name]=this.defaultValue;return i.prototype.resolve.call(this)};u.d=function e(t,r,i,n){if(typeof r==="function")r=o.decorateType(r).name;else if(r&&typeof r==="object")r=o.decorateEnum(r).name;return function e(s,f){o.decorateType(s.constructor).add(new u(f,t,r,i,{default:n}))}};u._configure=function e(t){f=t}},{15:15,24:24,36:36,37:37}],17:[function(e,t,r){"use strict";var i=t.exports=e(18);i.build="light";function n(e,t,r){if(typeof t==="function"){r=t;t=new i.Root}else if(!t)t=new i.Root;return t.load(e,r)}i.load=n;function s(e,t){if(!t)t=new i.Root;return t.loadSync(e)}i.loadSync=s;i.encoder=e(14);i.decoder=e(13);i.verifier=e(40);i.converter=e(12);i.ReflectionObject=e(24);i.Namespace=e(23);i.Root=e(29);i.Enum=e(15);i.Type=e(35);i.Field=e(16);i.OneOf=e(25);i.MapField=e(20);i.Service=e(33);i.Method=e(22);i.Message=e(21);i.wrappers=e(41);i.types=e(36);i.util=e(37);i.ReflectionObject._configure(i.Root);i.Namespace._configure(i.Type,i.Service);i.Root._configure(i.Type);i.Field._configure(i.Type)},{12:12,13:13,14:14,15:15,16:16,18:18,20:20,21:21,22:22,23:23,24:24,25:25,29:29,33:33,35:35,36:36,37:37,40:40,41:41}],18:[function(e,t,r){"use strict";var i=r;i.build="minimal";i.Writer=e(42);i.BufferWriter=e(43);i.Reader=e(27);i.BufferReader=e(28);i.util=e(39);i.rpc=e(31);i.roots=e(30);i.configure=n;function n(){i.Reader._configure(i.BufferReader);i.util._configure()}i.Writer._configure(i.BufferWriter);n()},{27:27,28:28,30:30,31:31,39:39,42:42,43:43}],19:[function(e,t,r){"use strict";var i=t.exports=e(17);i.build="full";i.tokenize=e(34);i.parse=e(26);i.common=e(11);i.Root._configure(i.Type,i.parse,i.common)},{11:11,17:17,26:26,34:34}],20:[function(e,t,r){"use strict";t.exports=o;var i=e(16);((o.prototype=Object.create(i.prototype)).constructor=o).className="MapField";var n=e(36),s=e(37);function o(e,t,r,n,o,f){i.call(this,e,t,n,undefined,undefined,o,f);if(!s.isString(r))throw TypeError("keyType must be a string");this.keyType=r;this.resolvedKeyType=null;this.map=true}o.fromJSON=function e(t,r){return new o(t,r.id,r.keyType,r.type,r.options,r.comment)};o.prototype.toJSON=function e(t){var r=t?Boolean(t.keepComments):false;return s.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",r?this.comment:undefined])};o.prototype.resolve=function e(){if(this.resolved)return this;if(n.mapKey[this.keyType]===undefined)throw Error("invalid key type: "+this.keyType);return i.prototype.resolve.call(this)};o.d=function e(t,r,i){if(typeof i==="function")i=s.decorateType(i).name;else if(i&&typeof i==="object")i=s.decorateEnum(i).name;return function e(n,f){s.decorateType(n.constructor).add(new o(f,t,r,i))}}},{16:16,36:36,37:37}],21:[function(e,t,r){"use strict";t.exports=n;var i=e(39);function n(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)this[t[r]]=e[t[r]]}n.create=function e(t){return this.$type.create(t)};n.encode=function e(t,r){return this.$type.encode(t,r)};n.encodeDelimited=function e(t,r){return this.$type.encodeDelimited(t,r)};n.decode=function e(t){return this.$type.decode(t)};n.decodeDelimited=function e(t){return this.$type.decodeDelimited(t)};n.verify=function e(t){return this.$type.verify(t)};n.fromObject=function e(t){return this.$type.fromObject(t)};n.toObject=function e(t,r){return this.$type.toObject(t,r)};n.prototype.toJSON=function e(){return this.$type.toObject(this,i.toJSONOptions)}},{39:39}],22:[function(e,t,r){"use strict";t.exports=s;var i=e(24);((s.prototype=Object.create(i.prototype)).constructor=s).className="Method";var n=e(37);function s(e,t,r,s,o,f,a,u){if(n.isObject(o)){a=o;o=f=undefined}else if(n.isObject(f)){a=f;f=undefined}if(!(t===undefined||n.isString(t)))throw TypeError("type must be a string");if(!n.isString(r))throw TypeError("requestType must be a string");if(!n.isString(s))throw TypeError("responseType must be a string");i.call(this,e,a);this.type=t||"rpc";this.requestType=r;this.requestStream=o?true:undefined;this.responseType=s;this.responseStream=f?true:undefined;this.resolvedRequestType=null;this.resolvedResponseType=null;this.comment=u}s.fromJSON=function e(t,r){return new s(t,r.type,r.requestType,r.responseType,r.requestStream,r.responseStream,r.options,r.comment)};s.prototype.toJSON=function e(t){var r=t?Boolean(t.keepComments):false;return n.toObject(["type",this.type!=="rpc"&&this.type||undefined,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",r?this.comment:undefined])};s.prototype.resolve=function e(){if(this.resolved)return this;this.resolvedRequestType=this.parent.lookupType(this.requestType);this.resolvedResponseType=this.parent.lookupType(this.responseType);return i.prototype.resolve.call(this)}},{24:24,37:37}],23:[function(e,t,r){"use strict";t.exports=l;var i=e(24);((l.prototype=Object.create(i.prototype)).constructor=l).className="Namespace";var n=e(15),s=e(16),o=e(37);var f,a;l.fromJSON=function e(t,r){return new l(t,r.options).addJSON(r.nested)};function u(e,t){if(!(e&&e.length))return undefined;var r={};for(var i=0;i<e.length;++i)r[e[i].name]=e[i].toJSON(t);return r}l.arrayToJSON=u;l.isReservedId=function e(t,r){if(t)for(var i=0;i<t.length;++i)if(typeof t[i]!=="string"&&t[i][0]<=r&&t[i][1]>=r)return true;return false};l.isReservedName=function e(t,r){if(t)for(var i=0;i<t.length;++i)if(t[i]===r)return true;return false};function l(e,t){i.call(this,e,t);this.nested=undefined;this._nestedArray=null}function c(e){e._nestedArray=null;return e}Object.defineProperty(l.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=o.toArray(this.nested))}});l.prototype.toJSON=function e(t){return o.toObject(["options",this.options,"nested",u(this.nestedArray,t)])};l.prototype.addJSON=function e(t){var r=this;if(t){for(var i=Object.keys(t),o=0,u;o<i.length;++o){u=t[i[o]];r.add((u.fields!==undefined?f.fromJSON:u.values!==undefined?n.fromJSON:u.methods!==undefined?a.fromJSON:u.id!==undefined?s.fromJSON:l.fromJSON)(i[o],u))}}return this};l.prototype.get=function e(t){return this.nested&&this.nested[t]||null};l.prototype.getEnum=function e(t){if(this.nested&&this.nested[t]instanceof n)return this.nested[t].values;throw Error("no such enum: "+t)};l.prototype.add=function e(t){if(!(t instanceof s&&t.extend!==undefined||t instanceof f||t instanceof n||t instanceof a||t instanceof l))throw TypeError("object must be a valid nested object");if(!this.nested)this.nested={};else{var r=this.get(t.name);if(r){if(r instanceof l&&t instanceof l&&!(r instanceof f||r instanceof a)){var i=r.nestedArray;for(var o=0;o<i.length;++o)t.add(i[o]);this.remove(r);if(!this.nested)this.nested={};t.setOptions(r.options,true)}else throw Error("duplicate name '"+t.name+"' in "+this)}}this.nested[t.name]=t;t.onAdd(this);return c(this)};l.prototype.remove=function e(t){if(!(t instanceof i))throw TypeError("object must be a ReflectionObject");if(t.parent!==this)throw Error(t+" is not a member of "+this);delete this.nested[t.name];if(!Object.keys(this.nested).length)this.nested=undefined;t.onRemove(this);return c(this)};l.prototype.define=function e(t,r){if(o.isString(t))t=t.split(".");else if(!Array.isArray(t))throw TypeError("illegal path");if(t&&t.length&&t[0]==="")throw Error("path must be relative");var i=this;while(t.length>0){var n=t.shift();if(i.nested&&i.nested[n]){i=i.nested[n];if(!(i instanceof l))throw Error("path conflicts with non-namespace objects")}else i.add(i=new l(n))}if(r)i.addJSON(r);return i};l.prototype.resolveAll=function e(){var t=this.nestedArray,r=0;while(r<t.length)if(t[r]instanceof l)t[r++].resolveAll();else t[r++].resolve();return this.resolve()};l.prototype.lookup=function e(t,r,i){if(typeof r==="boolean"){i=r;r=undefined}else if(r&&!Array.isArray(r))r=[r];if(o.isString(t)&&t.length){if(t===".")return this.root;t=t.split(".")}else if(!t.length)return this;if(t[0]==="")return this.root.lookup(t.slice(1),r);var n=this.get(t[0]);if(n){if(t.length===1){if(!r||r.indexOf(n.constructor)>-1)return n}else if(n instanceof l&&(n=n.lookup(t.slice(1),r,true)))return n}else for(var s=0;s<this.nestedArray.length;++s)if(this._nestedArray[s]instanceof l&&(n=this._nestedArray[s].lookup(t,r,true)))return n;if(this.parent===null||i)return null;return this.parent.lookup(t,r)};l.prototype.lookupType=function e(t){var r=this.lookup(t,[f]);if(!r)throw Error("no such type: "+t);return r};l.prototype.lookupEnum=function e(t){var r=this.lookup(t,[n]);if(!r)throw Error("no such Enum '"+t+"' in "+this);return r};l.prototype.lookupTypeOrEnum=function e(t){var r=this.lookup(t,[f,n]);if(!r)throw Error("no such Type or Enum '"+t+"' in "+this);return r};l.prototype.lookupService=function e(t){var r=this.lookup(t,[a]);if(!r)throw Error("no such Service '"+t+"' in "+this);return r};l._configure=function(e,t){f=e;a=t}},{15:15,16:16,24:24,37:37}],24:[function(e,t,r){"use strict";t.exports=s;s.className="ReflectionObject";var i=e(37);var n;function s(e,t){if(!i.isString(e))throw TypeError("name must be a string");if(t&&!i.isObject(t))throw TypeError("options must be an object");this.options=t;this.name=e;this.parent=null;this.resolved=false;this.comment=null;this.filename=null}Object.defineProperties(s.prototype,{root:{get:function(){var e=this;while(e.parent!==null)e=e.parent;return e}},fullName:{get:function(){var e=[this.name],t=this.parent;while(t){e.unshift(t.name);t=t.parent}return e.join(".")}}});s.prototype.toJSON=function e(){throw Error()};s.prototype.onAdd=function e(t){if(this.parent&&this.parent!==t)this.parent.remove(this);this.parent=t;this.resolved=false;var r=t.root;if(r instanceof n)r._handleAdd(this)};s.prototype.onRemove=function e(t){var r=t.root;if(r instanceof n)r._handleRemove(this);this.parent=null;this.resolved=false};s.prototype.resolve=function e(){if(this.resolved)return this;if(this.root instanceof n)this.resolved=true;return this};s.prototype.getOption=function e(t){if(this.options)return this.options[t];return undefined};s.prototype.setOption=function e(t,r,i){if(!i||!this.options||this.options[t]===undefined)(this.options||(this.options={}))[t]=r;return this};s.prototype.setOptions=function e(t,r){if(t)for(var i=Object.keys(t),n=0;n<i.length;++n)this.setOption(i[n],t[i[n]],r);return this};s.prototype.toString=function e(){var t=this.constructor.className,r=this.fullName;if(r.length)return t+" "+r;return t};s._configure=function(e){n=e}},{37:37}],25:[function(e,t,r){"use strict";t.exports=o;var i=e(24);((o.prototype=Object.create(i.prototype)).constructor=o).className="OneOf";var n=e(16),s=e(37);function o(e,t,r,n){if(!Array.isArray(t)){r=t;t=undefined}i.call(this,e,r);if(!(t===undefined||Array.isArray(t)))throw TypeError("fieldNames must be an Array");this.oneof=t||[];this.fieldsArray=[];this.comment=n}o.fromJSON=function e(t,r){return new o(t,r.oneof,r.options,r.comment)};o.prototype.toJSON=function e(t){var r=t?Boolean(t.keepComments):false;return s.toObject(["options",this.options,"oneof",this.oneof,"comment",r?this.comment:undefined])};function f(e){if(e.parent)for(var t=0;t<e.fieldsArray.length;++t)if(!e.fieldsArray[t].parent)e.parent.add(e.fieldsArray[t])}o.prototype.add=function e(t){if(!(t instanceof n))throw TypeError("field must be a Field");if(t.parent&&t.parent!==this.parent)t.parent.remove(t);this.oneof.push(t.name);this.fieldsArray.push(t);t.partOf=this;f(this);return this};o.prototype.remove=function e(t){if(!(t instanceof n))throw TypeError("field must be a Field");var r=this.fieldsArray.indexOf(t);if(r<0)throw Error(t+" is not a member of "+this);this.fieldsArray.splice(r,1);r=this.oneof.indexOf(t.name);if(r>-1)this.oneof.splice(r,1);t.partOf=null;return this};o.prototype.onAdd=function e(t){i.prototype.onAdd.call(this,t);var r=this;for(var n=0;n<this.oneof.length;++n){var s=t.get(this.oneof[n]);if(s&&!s.partOf){s.partOf=r;r.fieldsArray.push(s)}}f(this)};o.prototype.onRemove=function e(t){for(var r=0,n;r<this.fieldsArray.length;++r)if((n=this.fieldsArray[r]).parent)n.parent.remove(n);i.prototype.onRemove.call(this,t)};o.d=function e(){var t=new Array(arguments.length),r=0;while(r<arguments.length)t[r]=arguments[r++];return function e(r,i){s.decorateType(r.constructor).add(new o(i,t));Object.defineProperty(r,i,{get:s.oneOfGetter(t),set:s.oneOfSetter(t)})}}},{16:16,24:24,37:37}],26:[function(e,t,r){"use strict";t.exports=A;A.filename=null;A.defaults={keepCase:false};var i=e(34),n=e(29),s=e(35),o=e(16),f=e(20),a=e(25),u=e(15),l=e(33),c=e(22),p=e(36),h=e(37);var d=/^[1-9][0-9]*$/,y=/^-?[1-9][0-9]*$/,m=/^0[x][0-9a-fA-F]+$/,v=/^-?0[x][0-9a-fA-F]+$/,g=/^0[0-7]+$/,b=/^-?0[0-7]+$/,w=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/,k=/^[a-zA-Z_][a-zA-Z_0-9]*$/,O=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/,j=/^(?:\.[a-zA-Z_][a-zA-Z_0-9]*)+$/;function A(e,t,r){if(!(t instanceof n)){r=t;t=new n}if(!r)r=A.defaults;var x=i(e,r.alternateCommentMode||false),S=x.next,_=x.push,T=x.peek,N=x.skip,E=x.cmnt;var B=true,I,R,D,F,L=false;var J=t;var $=r.keepCase?function(e){return e}:h.camelCase;function P(e,t,r){var i=A.filename;if(!r)A.filename=null;return Error("illegal "+(t||"token")+" '"+e+"' ("+(i?i+", ":"")+"line "+x.line+")")}function C(){var e=[],t;do{if((t=S())!=='"'&&t!=="'")throw P(t);e.push(S());N(t);t=T()}while(t==='"'||t==="'");return e.join("")}function q(e){var t=S();switch(t){case"'":case'"':_(t);return C();case"true":case"TRUE":return true;case"false":case"FALSE":return false}try{return V(t,true)}catch(r){if(e&&O.test(t))return t;throw P(t,"value")}}function z(e,t){var r,i;do{if(t&&((r=T())==='"'||r==="'"))e.push(C());else e.push([i=M(S()),N("to",true)?M(S()):i])}while(N(",",true));N(";")}function V(e,t){var r=1;if(e.charAt(0)==="-"){r=-1;e=e.substring(1)}switch(e){case"inf":case"INF":case"Inf":return r*Infinity;case"nan":case"NAN":case"Nan":case"NaN":return NaN;case"0":return 0}if(d.test(e))return r*parseInt(e,10);if(m.test(e))return r*parseInt(e,16);if(g.test(e))return r*parseInt(e,8);if(w.test(e))return r*parseFloat(e);throw P(e,"number",t)}function M(e,t){switch(e){case"max":case"MAX":case"Max":return 536870911;case"0":return 0}if(!t&&e.charAt(0)==="-")throw P(e,"id");if(y.test(e))return parseInt(e,10);if(v.test(e))return parseInt(e,16);if(b.test(e))return parseInt(e,8);throw P(e,"id")}function U(){if(I!==undefined)throw P("package");I=S();if(!O.test(I))throw P(I,"name");J=J.define(I);N(";")}function H(){var e=T();var t;switch(e){case"weak":t=D||(D=[]);S();break;case"public":S();default:t=R||(R=[]);break}e=C();N(";");t.push(e)}function Z(){N("=");F=C();L=F==="proto3";if(!L&&F!=="proto2")throw P(F,"syntax");N(";")}function W(e,t){switch(t){case"option":ie(e,t);N(";");return true;case"message":G(e,t);return true;case"enum":te(e,t);return true;case"service":fe(e,t);return true;case"extend":ue(e,t);return true}return false}function K(e,t,r){var i=x.line;if(e){e.comment=E();e.filename=A.filename}if(N("{",true)){var n;while((n=S())!=="}")t(n);N(";",true)}else{if(r)r();N(";");if(e&&typeof e.comment!=="string")e.comment=E(i)}}function G(e,t){if(!k.test(t=S()))throw P(t,"type name");var r=new s(t);K(r,function e(t){if(W(r,t))return;switch(t){case"map":Y(r,t);break;case"required":case"optional":case"repeated":X(r,t);break;case"oneof":ee(r,t);break;case"extensions":z(r.extensions||(r.extensions=[]));break;case"reserved":z(r.reserved||(r.reserved=[]),true);break;default:if(!L||!O.test(t))throw P(t);_(t);X(r,"optional");break}});e.add(r)}function X(e,t,r){var i=S();if(i==="group"){Q(e,t);return}if(!O.test(i))throw P(i,"type");var n=S();if(!k.test(n))throw P(n,"name");n=$(n);N("=");var s=new o(n,M(S()),i,t,r);K(s,function e(t){if(t==="option"){ie(s,t);N(";")}else throw P(t)},function e(){oe(s)});e.add(s);if(!L&&s.repeated&&(p.packed[i]!==undefined||p.basic[i]===undefined))s.setOption("packed",false,true)}function Q(e,t){var r=S();if(!k.test(r))throw P(r,"name");var i=h.lcFirst(r);if(r===i)r=h.ucFirst(r);N("=");var n=M(S());var f=new s(r);f.group=true;var a=new o(i,n,r,t);a.filename=A.filename;K(f,function e(t){switch(t){case"option":ie(f,t);N(";");break;case"required":case"optional":case"repeated":X(f,t);break;default:throw P(t)}});e.add(f).add(a)}function Y(e){N("<");var t=S();if(p.mapKey[t]===undefined)throw P(t,"type");N(",");var r=S();if(!O.test(r))throw P(r,"type");N(">");var i=S();if(!k.test(i))throw P(i,"name");N("=");var n=new f($(i),M(S()),t,r);K(n,function e(t){if(t==="option"){ie(n,t);N(";")}else throw P(t)},function e(){oe(n)});e.add(n)}function ee(e,t){if(!k.test(t=S()))throw P(t,"name");var r=new a($(t));K(r,function e(t){if(t==="option"){ie(r,t);N(";")}else{_(t);X(r,"optional")}});e.add(r)}function te(e,t){if(!k.test(t=S()))throw P(t,"name");var r=new u(t);K(r,function e(t){switch(t){case"option":ie(r,t);N(";");break;case"reserved":z(r.reserved||(r.reserved=[]),true);break;default:re(r,t)}});e.add(r)}function re(e,t){if(!k.test(t))throw P(t,"name");N("=");var r=M(S(),true),i={};K(i,function e(t){if(t==="option"){ie(i,t);N(";")}else throw P(t)},function e(){oe(i)});e.add(t,r,i.comment)}function ie(e,t){var r=N("(",true);if(!O.test(t=S()))throw P(t,"name");var i=t;if(r){N(")");i="("+i+")";t=T();if(j.test(t)){i+=t;S()}}N("=");ne(e,i)}function ne(e,t){if(N("{",true)){do{if(!k.test(le=S()))throw P(le,"name");if(T()==="{")ne(e,t+"."+le);else{N(":");if(T()==="{")ne(e,t+"."+le);else se(e,t+"."+le,q(true))}}while(!N("}",true))}else se(e,t,q(true))}function se(e,t,r){if(e.setOption)e.setOption(t,r)}function oe(e){if(N("[",true)){do{ie(e,"option")}while(N(",",true));N("]")}return e}function fe(e,t){if(!k.test(t=S()))throw P(t,"service name");var r=new l(t);K(r,function e(t){if(W(r,t))return;if(t==="rpc")ae(r,t);else throw P(t)});e.add(r)}function ae(e,t){var r=t;if(!k.test(t=S()))throw P(t,"name");var i=t,n,s,o,f;N("(");if(N("stream",true))s=true;if(!O.test(t=S()))throw P(t);n=t;N(")");N("returns");N("(");if(N("stream",true))f=true;if(!O.test(t=S()))throw P(t);o=t;N(")");var a=new c(i,r,n,o,s,f);K(a,function e(t){if(t==="option"){ie(a,t);N(";")}else throw P(t)});e.add(a)}function ue(e,t){if(!O.test(t=S()))throw P(t,"reference");var r=t;K(null,function t(i){switch(i){case"required":case"repeated":case"optional":X(e,i,r);break;default:if(!L||!O.test(i))throw P(i);_(i);X(e,"optional",r);break}})}var le;while((le=S())!==null){switch(le){case"package":if(!B)throw P(le);U();break;case"import":if(!B)throw P(le);H();break;case"syntax":if(!B)throw P(le);Z();break;case"option":if(!B)throw P(le);ie(J,le);N(";");break;default:if(W(J,le)){B=false;continue}throw P(le)}}A.filename=null;return{package:I,imports:R,weakImports:D,syntax:F,root:t}}},{15:15,16:16,20:20,22:22,25:25,29:29,33:33,34:34,35:35,36:36,37:37}],27:[function(e,t,r){"use strict";t.exports=a;var i=e(39);var n;var s=i.LongBits,o=i.utf8;function f(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function a(e){this.buf=e;this.pos=0;this.len=e.length}var u=typeof Uint8Array!=="undefined"?function e(t){if(t instanceof Uint8Array||Array.isArray(t))return new a(t);throw Error("illegal buffer")}:function e(t){if(Array.isArray(t))return new a(t);throw Error("illegal buffer")};a.create=i.Buffer?function e(t){return(a.create=function e(t){return i.Buffer.isBuffer(t)?new n(t):u(t)})(t)}:u;a.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice;a.prototype.uint32=function e(){var t=4294967295;return function e(){t=(this.buf[this.pos]&127)>>>0;if(this.buf[this.pos++]<128)return t;t=(t|(this.buf[this.pos]&127)<<7)>>>0;if(this.buf[this.pos++]<128)return t;t=(t|(this.buf[this.pos]&127)<<14)>>>0;if(this.buf[this.pos++]<128)return t;t=(t|(this.buf[this.pos]&127)<<21)>>>0;if(this.buf[this.pos++]<128)return t;t=(t|(this.buf[this.pos]&15)<<28)>>>0;if(this.buf[this.pos++]<128)return t;if((this.pos+=5)>this.len){this.pos=this.len;throw f(this,10)}return t}}();a.prototype.int32=function e(){return this.uint32()|0};a.prototype.sint32=function e(){var t=this.uint32();return t>>>1^-(t&1)|0};function l(){var e=new s(0,0);var t=0;if(this.len-this.pos>4){for(;t<4;++t){e.lo=(e.lo|(this.buf[this.pos]&127)<<t*7)>>>0;if(this.buf[this.pos++]<128)return e}e.lo=(e.lo|(this.buf[this.pos]&127)<<28)>>>0;e.hi=(e.hi|(this.buf[this.pos]&127)>>4)>>>0;if(this.buf[this.pos++]<128)return e;t=0}else{for(;t<3;++t){if(this.pos>=this.len)throw f(this);e.lo=(e.lo|(this.buf[this.pos]&127)<<t*7)>>>0;if(this.buf[this.pos++]<128)return e}e.lo=(e.lo|(this.buf[this.pos++]&127)<<t*7)>>>0;return e}if(this.len-this.pos>4){for(;t<5;++t){e.hi=(e.hi|(this.buf[this.pos]&127)<<t*7+3)>>>0;if(this.buf[this.pos++]<128)return e}}else{for(;t<5;++t){if(this.pos>=this.len)throw f(this);e.hi=(e.hi|(this.buf[this.pos]&127)<<t*7+3)>>>0;if(this.buf[this.pos++]<128)return e}}throw Error("invalid varint encoding")}a.prototype.bool=function e(){return this.uint32()!==0};function c(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}a.prototype.fixed32=function e(){if(this.pos+4>this.len)throw f(this,4);return c(this.buf,this.pos+=4)};a.prototype.sfixed32=function e(){if(this.pos+4>this.len)throw f(this,4);return c(this.buf,this.pos+=4)|0};function p(){if(this.pos+8>this.len)throw f(this,8);return new s(c(this.buf,this.pos+=4),c(this.buf,this.pos+=4))}a.prototype.float=function e(){if(this.pos+4>this.len)throw f(this,4);var t=i.float.readFloatLE(this.buf,this.pos);this.pos+=4;return t};a.prototype.double=function e(){if(this.pos+8>this.len)throw f(this,4);var t=i.float.readDoubleLE(this.buf,this.pos);this.pos+=8;return t};a.prototype.bytes=function e(){var t=this.uint32(),r=this.pos,i=this.pos+t;if(i>this.len)throw f(this,t);this.pos+=t;if(Array.isArray(this.buf))return this.buf.slice(r,i);return r===i?new this.buf.constructor(0):this._slice.call(this.buf,r,i)};a.prototype.string=function e(){var t=this.bytes();return o.read(t,0,t.length)};a.prototype.skip=function e(t){if(typeof t==="number"){if(this.pos+t>this.len)throw f(this,t);this.pos+=t}else{do{if(this.pos>=this.len)throw f(this)}while(this.buf[this.pos++]&128)}return this};a.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:do{if((e=this.uint32()&7)===4)break;this.skipType(e)}while(true);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this};a._configure=function(e){n=e;var t=i.Long?"toLong":"toNumber";i.merge(a.prototype,{int64:function e(){return l.call(this)[t](false)},uint64:function e(){return l.call(this)[t](true)},sint64:function e(){return l.call(this).zzDecode()[t](false)},fixed64:function e(){return p.call(this)[t](true)},sfixed64:function e(){return p.call(this)[t](false)}})}},{39:39}],28:[function(e,t,r){"use strict";t.exports=s;var i=e(27);(s.prototype=Object.create(i.prototype)).constructor=s;var n=e(39);function s(e){i.call(this,e)}if(n.Buffer)s.prototype._slice=n.Buffer.prototype.slice;s.prototype.string=function e(){var t=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len))}},{27:27,39:39}],29:[function(e,t,r){"use strict";t.exports=c;var i=e(23);((c.prototype=Object.create(i.prototype)).constructor=c).className="Root";var n=e(16),s=e(15),o=e(25),f=e(37);var a,u,l;function c(e){i.call(this,"",e);this.deferred=[];this.files=[]}c.fromJSON=function e(t,r){if(!r)r=new c;if(t.options)r.setOptions(t.options);return r.addJSON(t.nested)};c.prototype.resolvePath=f.path.resolve;function p(){}c.prototype.load=function e(t,r,i){if(typeof r==="function"){i=r;r=undefined}var n=this;if(!i)return f.asPromise(e,n,t,r);var s=i===p;function o(e,t){if(!i)return;var r=i;i=null;if(s)throw e;r(e,t)}function a(e,t){try{if(f.isString(t)&&t.charAt(0)==="{")t=JSON.parse(t);if(!f.isString(t))n.setOptions(t.options).addJSON(t.nested);else{u.filename=e;var i=u(t,n,r),a,l=0;if(i.imports)for(;l<i.imports.length;++l)if(a=n.resolvePath(e,i.imports[l]))c(a);if(i.weakImports)for(l=0;l<i.weakImports.length;++l)if(a=n.resolvePath(e,i.weakImports[l]))c(a,true)}}catch(e){o(e)}if(!s&&!h)o(null,n)}function c(e,t){var r=e.lastIndexOf("google/protobuf/");if(r>-1){var u=e.substring(r);if(u in l)e=u}if(n.files.indexOf(e)>-1)return;n.files.push(e);if(e in l){if(s)a(e,l[e]);else{++h;setTimeout(function(){--h;a(e,l[e])})}return}if(s){var c;try{c=f.fs.readFileSync(e).toString("utf8")}catch(e){if(!t)o(e);return}a(e,c)}else{++h;f.fetch(e,function(r,s){--h;if(!i)return;if(r){if(!t)o(r);else if(!h)o(null,n);return}a(e,s)})}}var h=0;if(f.isString(t))t=[t];for(var d=0,y;d<t.length;++d)if(y=n.resolvePath("",t[d]))c(y);if(s)return n;if(!h)o(null,n);return undefined};c.prototype.loadSync=function e(t,r){if(!f.isNode)throw Error("not supported");return this.load(t,r,p)};c.prototype.resolveAll=function e(){if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map(function(e){return"'extend "+e.extend+"' in "+e.parent.fullName}).join(", "));return i.prototype.resolveAll.call(this)};var h=/^[A-Z]/;function d(e,t){var r=t.parent.lookup(t.extend);if(r){var i=new n(t.fullName,t.id,t.type,t.rule,undefined,t.options);i.declaringField=t;t.extensionField=i;r.add(i);return true}return false}c.prototype._handleAdd=function e(t){if(t instanceof n){if(t.extend!==undefined&&!t.extensionField)if(!d(this,t))this.deferred.push(t)}else if(t instanceof s){if(h.test(t.name))t.parent[t.name]=t.values}else if(!(t instanceof o)){if(t instanceof a)for(var r=0;r<this.deferred.length;)if(d(this,this.deferred[r]))this.deferred.splice(r,1);else++r;for(var i=0;i<t.nestedArray.length;++i)this._handleAdd(t._nestedArray[i]);if(h.test(t.name))t.parent[t.name]=t}};c.prototype._handleRemove=function e(t){if(t instanceof n){if(t.extend!==undefined){if(t.extensionField){t.extensionField.parent.remove(t.extensionField);t.extensionField=null}else{var r=this.deferred.indexOf(t);if(r>-1)this.deferred.splice(r,1)}}}else if(t instanceof s){if(h.test(t.name))delete t.parent[t.name]}else if(t instanceof i){for(var o=0;o<t.nestedArray.length;++o)this._handleRemove(t._nestedArray[o]);if(h.test(t.name))delete t.parent[t.name]}};c._configure=function(e,t,r){a=e;u=t;l=r}},{15:15,16:16,23:23,25:25,37:37}],30:[function(e,t,r){"use strict";t.exports={}},{}],31:[function(e,t,r){"use strict";var i=r;i.Service=e(32)},{32:32}],32:[function(e,t,r){"use strict";t.exports=n;var i=e(39);(n.prototype=Object.create(i.EventEmitter.prototype)).constructor=n;function n(e,t,r){if(typeof e!=="function")throw TypeError("rpcImpl must be a function");i.EventEmitter.call(this);this.rpcImpl=e;this.requestDelimited=Boolean(t);this.responseDelimited=Boolean(r)}n.prototype.rpcCall=function e(t,r,n,s,o){if(!s)throw TypeError("request must be specified");var f=this;if(!o)return i.asPromise(e,f,t,r,n,s);if(!f.rpcImpl){setTimeout(function(){o(Error("already ended"))},0);return undefined}try{return f.rpcImpl(t,r[f.requestDelimited?"encodeDelimited":"encode"](s).finish(),function e(r,i){if(r){f.emit("error",r,t);return o(r)}if(i===null){f.end(true);return undefined}if(!(i instanceof n)){try{i=n[f.responseDelimited?"decodeDelimited":"decode"](i)}catch(r){f.emit("error",r,t);return o(r)}}f.emit("data",i,t);return o(null,i)})}catch(e){f.emit("error",e,t);setTimeout(function(){o(e)},0);return undefined}};n.prototype.end=function e(t){if(this.rpcImpl){if(!t)this.rpcImpl(null,null,null);this.rpcImpl=null;this.emit("end").off()}return this}},{39:39}],33:[function(e,t,r){"use strict";t.exports=f;var i=e(23);((f.prototype=Object.create(i.prototype)).constructor=f).className="Service";var n=e(22),s=e(37),o=e(31);function f(e,t){i.call(this,e,t);this.methods={};this._methodsArray=null}f.fromJSON=function e(t,r){var i=new f(t,r.options);if(r.methods)for(var s=Object.keys(r.methods),o=0;o<s.length;++o)i.add(n.fromJSON(s[o],r.methods[s[o]]));if(r.nested)i.addJSON(r.nested);i.comment=r.comment;return i};f.prototype.toJSON=function e(t){var r=i.prototype.toJSON.call(this,t);var n=t?Boolean(t.keepComments):false;return s.toObject(["options",r&&r.options||undefined,"methods",i.arrayToJSON(this.methodsArray,t)||{},"nested",r&&r.nested||undefined,"comment",n?this.comment:undefined])};Object.defineProperty(f.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=s.toArray(this.methods))}});function a(e){e._methodsArray=null;return e}f.prototype.get=function e(t){return this.methods[t]||i.prototype.get.call(this,t)};f.prototype.resolveAll=function e(){var t=this.methodsArray;for(var r=0;r<t.length;++r)t[r].resolve();return i.prototype.resolve.call(this)};f.prototype.add=function e(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);if(t instanceof n){this.methods[t.name]=t;t.parent=this;return a(this)}return i.prototype.add.call(this,t)};f.prototype.remove=function e(t){if(t instanceof n){if(this.methods[t.name]!==t)throw Error(t+" is not a member of "+this);delete this.methods[t.name];t.parent=null;return a(this)}return i.prototype.remove.call(this,t)};f.prototype.create=function e(t,r,i){var n=new o.Service(t,r,i);for(var f=0,a;f<this.methodsArray.length;++f){var u=s.lcFirst((a=this._methodsArray[f]).resolve().name).replace(/[^$\w_]/g,"");n[u]=s.codegen(["r","c"],s.isReserved(u)?u+"_":u)("return this.rpcCall(m,q,s,r,c)")({m:a,q:a.resolvedRequestType.ctor,s:a.resolvedResponseType.ctor})}return n}},{22:22,23:23,31:31,37:37}],34:[function(e,t,r){"use strict";t.exports=h;var i=/[\s{}=;:[\],'"()<>]/g,n=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,s=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g;var o=/^ *[*/]+ */,f=/^\s*\*?\/*/,a=/\n/g,u=/\s/,l=/\\(.?)/g;var c={0:"\0",r:"\r",n:"\n",t:"\t"};function p(e){return e.replace(l,function(e,t){switch(t){case"\\":case"":return t;default:return c[t]||""}})}h.unescape=p;function h(e,t){e=e.toString();var r=0,l=e.length,c=1,h=null,d=null,y=0,m=false;var v=[];var g=null;function b(e){return Error("illegal "+e+" (line "+c+")")}function w(){var t=g==="'"?s:n;t.lastIndex=r-1;var i=t.exec(e);if(!i)throw b("string");r=t.lastIndex;S(g);g=null;return p(i[1])}function k(t){return e.charAt(t)}function O(r,i){h=e.charAt(r++);y=c;m=false;var n;if(t){n=2}else{n=3}var s=r-n,u;do{if(--s<0||(u=e.charAt(s))==="\n"){m=true;break}}while(u===" "||u==="\t");var l=e.substring(r,i).split(a);for(var p=0;p<l.length;++p)l[p]=l[p].replace(t?f:o,"").trim();d=l.join("\n").trim()}function j(t){var r=A(t);var i=e.substring(t,r);var n=/^\s*\/{1,2}/.test(i);return n}function A(e){var t=e;while(t<l&&k(t)!=="\n"){t++}return t}function x(){if(v.length>0)return v.shift();if(g)return w();var n,s,o,f,a;do{if(r===l)return null;n=false;while(u.test(o=k(r))){if(o==="\n")++c;if(++r===l)return null}if(k(r)==="/"){if(++r===l){throw b("comment")}if(k(r)==="/"){if(!t){a=k(f=r+1)==="/";while(k(++r)!=="\n"){if(r===l){return null}}++r;if(a){O(f,r-1)}++c;n=true}else{f=r;a=false;if(j(r)){a=true;do{r=A(r);if(r===l){break}r++}while(j(r))}else{r=Math.min(l,A(r)+1)}if(a){O(f,r)}c++;n=true}}else if((o=k(r))==="*"){f=r+1;a=t||k(f)==="*";do{if(o==="\n"){++c}if(++r===l){throw b("comment")}s=o;o=k(r)}while(s!=="*"||o!=="/");++r;if(a){O(f,r-2)}n=true}else{return"/"}}}while(n);var p=r;i.lastIndex=0;var h=i.test(k(p++));if(!h)while(p<l&&!i.test(k(p)))++p;var d=e.substring(r,r=p);if(d==='"'||d==="'")g=d;return d}function S(e){v.push(e)}function _(){if(!v.length){var e=x();if(e===null)return null;S(e)}return v[0]}function T(e,t){var r=_(),i=r===e;if(i){x();return true}if(!t)throw b("token '"+r+"', '"+e+"' expected");return false}function N(e){var r=null;if(e===undefined){if(y===c-1&&(t||h==="*"||m)){r=d}}else{if(y<e){_()}if(y===e&&!m&&(t||h==="/")){r=d}}return r}return Object.defineProperty({next:x,peek:_,push:S,skip:T,cmnt:N},"line",{get:function(){return c}})}},{}],35:[function(e,t,r){"use strict";t.exports=g;var i=e(23);((g.prototype=Object.create(i.prototype)).constructor=g).className="Type";var n=e(15),s=e(25),o=e(16),f=e(20),a=e(33),u=e(21),l=e(27),c=e(42),p=e(37),h=e(14),d=e(13),y=e(40),m=e(12),v=e(41);function g(e,t){i.call(this,e,t);this.fields={};this.oneofs=undefined;this.extensions=undefined;this.reserved=undefined;this.group=undefined;this._fieldsById=null;this._fieldsArray=null;this._oneofsArray=null;this._ctor=null}Object.defineProperties(g.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t<e.length;++t){var r=this.fields[e[t]],i=r.id;if(this._fieldsById[i])throw Error("duplicate id "+i+" in "+this);this._fieldsById[i]=r}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=p.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=p.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=g.generateConstructor(this)())},set:function(e){var t=e.prototype;if(!(t instanceof u)){(e.prototype=new u).constructor=e;p.merge(e.prototype,t)}e.$type=e.prototype.$type=this;p.merge(e,u,true);this._ctor=e;var r=0;for(;r<this.fieldsArray.length;++r)this._fieldsArray[r].resolve();var i={};for(r=0;r<this.oneofsArray.length;++r)i[this._oneofsArray[r].resolve().name]={get:p.oneOfGetter(this._oneofsArray[r].oneof),set:p.oneOfSetter(this._oneofsArray[r].oneof)};if(r)Object.defineProperties(e.prototype,i)}}});g.generateConstructor=function e(t){var r=p.codegen(["p"],t.name);for(var i=0,n;i<t.fieldsArray.length;++i)if((n=t._fieldsArray[i]).map)r("this%s={}",p.safeProp(n.name));else if(n.repeated)r("this%s=[]",p.safeProp(n.name));return r("if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)")("this[ks[i]]=p[ks[i]]")};function b(e){e._fieldsById=e._fieldsArray=e._oneofsArray=null;delete e.encode;delete e.decode;delete e.verify;return e}g.fromJSON=function e(t,r){var u=new g(t,r.options);u.extensions=r.extensions;u.reserved=r.reserved;var l=Object.keys(r.fields),c=0;for(;c<l.length;++c)u.add((typeof r.fields[l[c]].keyType!=="undefined"?f.fromJSON:o.fromJSON)(l[c],r.fields[l[c]]));if(r.oneofs)for(l=Object.keys(r.oneofs),c=0;c<l.length;++c)u.add(s.fromJSON(l[c],r.oneofs[l[c]]));if(r.nested)for(l=Object.keys(r.nested),c=0;c<l.length;++c){var p=r.nested[l[c]];u.add((p.id!==undefined?o.fromJSON:p.fields!==undefined?g.fromJSON:p.values!==undefined?n.fromJSON:p.methods!==undefined?a.fromJSON:i.fromJSON)(l[c],p))}if(r.extensions&&r.extensions.length)u.extensions=r.extensions;if(r.reserved&&r.reserved.length)u.reserved=r.reserved;if(r.group)u.group=true;if(r.comment)u.comment=r.comment;return u};g.prototype.toJSON=function e(t){var r=i.prototype.toJSON.call(this,t);var n=t?Boolean(t.keepComments):false;return p.toObject(["options",r&&r.options||undefined,"oneofs",i.arrayToJSON(this.oneofsArray,t),"fields",i.arrayToJSON(this.fieldsArray.filter(function(e){return!e.declaringField}),t)||{},"extensions",this.extensions&&this.extensions.length?this.extensions:undefined,"reserved",this.reserved&&this.reserved.length?this.reserved:undefined,"group",this.group||undefined,"nested",r&&r.nested||undefined,"comment",n?this.comment:undefined])};g.prototype.resolveAll=function e(){var t=this.fieldsArray,r=0;while(r<t.length)t[r++].resolve();var n=this.oneofsArray;r=0;while(r<n.length)n[r++].resolve();return i.prototype.resolveAll.call(this)};g.prototype.get=function e(t){return this.fields[t]||this.oneofs&&this.oneofs[t]||this.nested&&this.nested[t]||null};g.prototype.add=function e(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);if(t instanceof o&&t.extend===undefined){if(this._fieldsById?this._fieldsById[t.id]: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))throw Error("name '"+t.name+"' is reserved in "+this);if(t.parent)t.parent.remove(t);this.fields[t.name]=t;t.message=this;t.onAdd(this);return b(this)}if(t instanceof s){if(!this.oneofs)this.oneofs={};this.oneofs[t.name]=t;t.onAdd(this);return b(this)}return i.prototype.add.call(this,t)};g.prototype.remove=function e(t){if(t instanceof o&&t.extend===undefined){if(!this.fields||this.fields[t.name]!==t)throw Error(t+" is not a member of "+this);delete this.fields[t.name];t.parent=null;t.onRemove(this);return b(this)}if(t instanceof s){if(!this.oneofs||this.oneofs[t.name]!==t)throw Error(t+" is not a member of "+this);delete this.oneofs[t.name];t.parent=null;t.onRemove(this);return b(this)}return i.prototype.remove.call(this,t)};g.prototype.isReservedId=function e(t){return i.isReservedId(this.reserved,t)};g.prototype.isReservedName=function e(t){return i.isReservedName(this.reserved,t)};g.prototype.create=function e(t){return new this.ctor(t)};g.prototype.setup=function e(){var t=this.fullName,r=[];for(var i=0;i<this.fieldsArray.length;++i)r.push(this._fieldsArray[i].resolve().resolvedType);this.encode=h(this)({Writer:c,types:r,util:p});this.decode=d(this)({Reader:l,types:r,util:p});this.verify=y(this)({types:r,util:p});this.fromObject=m.fromObject(this)({types:r,util:p});this.toObject=m.toObject(this)({types:r,util:p});var n=v[t];if(n){var s=Object.create(this);s.fromObject=this.fromObject;this.fromObject=n.fromObject.bind(s);s.toObject=this.toObject;this.toObject=n.toObject.bind(s)}return this};g.prototype.encode=function e(t,r){return this.setup().encode(t,r)};g.prototype.encodeDelimited=function e(t,r){return this.encode(t,r&&r.len?r.fork():r).ldelim()};g.prototype.decode=function e(t,r){return this.setup().decode(t,r)};g.prototype.decodeDelimited=function e(t){if(!(t instanceof l))t=l.create(t);return this.decode(t,t.uint32())};g.prototype.verify=function e(t){return this.setup().verify(t)};g.prototype.fromObject=function e(t){return this.setup().fromObject(t)};g.prototype.toObject=function e(t,r){return this.setup().toObject(t,r)};g.d=function e(t){return function e(r){p.decorateType(r,t)}}},{12:12,13:13,14:14,15:15,16:16,20:20,21:21,23:23,25:25,27:27,33:33,37:37,40:40,41:41,42:42}],36:[function(e,t,r){"use strict";var i=r;var n=e(37);var s=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function o(e,t){var r=0,i={};t|=0;while(r<e.length)i[s[r+t]]=e[r++];return i}i.basic=o([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]);i.defaults=o([0,0,0,0,0,0,0,0,0,0,0,0,false,"",n.emptyArray,null]);i.long=o([0,0,0,1,1],7);i.mapKey=o([0,0,0,5,5,0,0,0,1,1,0,2],2);i.packed=o([1,5,0,0,0,5,5,0,0,0,1,1,0])},{37:37}],37:[function(e,t,r){"use strict";var i=t.exports=e(39);var n=e(30);var s,o;i.codegen=e(3);i.fetch=e(5);i.path=e(8);i.fs=i.inquire("fs");i.toArray=function e(t){if(t){var r=Object.keys(t),i=new Array(r.length),n=0;while(n<r.length)i[n]=t[r[n++]];return i}return[]};i.toObject=function e(t){var r={},i=0;while(i<t.length){var n=t[i++],s=t[i++];if(s!==undefined)r[n]=s}return r};var f=/\\/g,a=/"/g;i.isReserved=function e(t){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(t)};i.safeProp=function e(t){if(!/^[$\w_]+$/.test(t)||i.isReserved(t))return'["'+t.replace(f,"\\\\").replace(a,'\\"')+'"]';return"."+t};i.ucFirst=function e(t){return t.charAt(0).toUpperCase()+t.substring(1)};var u=/_([a-z])/g;i.camelCase=function e(t){return t.substring(0,1)+t.substring(1).replace(u,function(e,t){return t.toUpperCase()})};i.compareFieldsById=function e(t,r){return t.id-r.id};i.decorateType=function t(r,n){if(r.$type){if(n&&r.$type.name!==n){i.decorateRoot.remove(r.$type);r.$type.name=n;i.decorateRoot.add(r.$type)}return r.$type}if(!s)s=e(35);var o=new s(n||r.name);i.decorateRoot.add(o);o.ctor=r;Object.defineProperty(r,"$type",{value:o,enumerable:false});Object.defineProperty(r.prototype,"$type",{value:o,enumerable:false});return o};var l=0;i.decorateEnum=function t(r){if(r.$type)return r.$type;if(!o)o=e(15);var n=new o("Enum"+l++,r);i.decorateRoot.add(n);Object.defineProperty(r,"$type",{value:n,enumerable:false});return n};Object.defineProperty(i,"decorateRoot",{get:function(){return n["decorated"]||(n["decorated"]=new(e(29)))}})},{15:15,29:29,3:3,30:30,35:35,39:39,5:5,8:8}],38:[function(e,t,r){"use strict";t.exports=n;var i=e(39);function n(e,t){this.lo=e>>>0;this.hi=t>>>0}var s=n.zero=new n(0,0);s.toNumber=function(){return 0};s.zzEncode=s.zzDecode=function(){return this};s.length=function(){return 1};var o=n.zeroHash="\0\0\0\0\0\0\0\0";n.fromNumber=function e(t){if(t===0)return s;var r=t<0;if(r)t=-t;var i=t>>>0,o=(t-i)/4294967296>>>0;if(r){o=~o>>>0;i=~i>>>0;if(++i>4294967295){i=0;if(++o>4294967295)o=0}}return new n(i,o)};n.from=function e(t){if(typeof t==="number")return n.fromNumber(t);if(i.isString(t)){if(i.Long)t=i.Long.fromString(t);else return n.fromNumber(parseInt(t,10))}return t.low||t.high?new n(t.low>>>0,t.high>>>0):s};n.prototype.toNumber=function e(t){if(!t&&this.hi>>>31){var r=~this.lo+1>>>0,i=~this.hi>>>0;if(!r)i=i+1>>>0;return-(r+i*4294967296)}return this.lo+this.hi*4294967296};n.prototype.toLong=function e(t){return i.Long?new i.Long(this.lo|0,this.hi|0,Boolean(t)):{low:this.lo|0,high:this.hi|0,unsigned:Boolean(t)}};var f=String.prototype.charCodeAt;n.fromHash=function e(t){if(t===o)return s;return new n((f.call(t,0)|f.call(t,1)<<8|f.call(t,2)<<16|f.call(t,3)<<24)>>>0,(f.call(t,4)|f.call(t,5)<<8|f.call(t,6)<<16|f.call(t,7)<<24)>>>0)};n.prototype.toHash=function e(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)};n.prototype.zzEncode=function e(){var t=this.hi>>31;this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0;this.lo=(this.lo<<1^t)>>>0;return this};n.prototype.zzDecode=function e(){var t=-(this.lo&1);this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0;this.hi=(this.hi>>>1^t)>>>0;return this};n.prototype.length=function e(){var t=this.lo,r=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return i===0?r===0?t<16384?t<128?1:2:t<2097152?3:4:r<16384?r<128?5:6:r<2097152?7:8:i<128?9:10}},{39:39}],39:[function(e,t,r){"use strict";var i=r;i.asPromise=e(1);i.base64=e(2);i.EventEmitter=e(4);i.float=e(6);i.inquire=e(7);i.utf8=e(10);i.pool=e(9);i.LongBits=e(38);i.emptyArray=Object.freeze?Object.freeze([]):[];i.emptyObject=Object.freeze?Object.freeze({}):{};i.isNode=Boolean(global.process&&global.process.versions&&global.process.versions.node);i.isInteger=Number.isInteger||function e(t){return typeof t==="number"&&isFinite(t)&&Math.floor(t)===t};i.isString=function e(t){return typeof t==="string"||t instanceof String};i.isObject=function e(t){return t&&typeof t==="object"};i.isset=i.isSet=function e(t,r){var i=t[r];if(i!=null&&t.hasOwnProperty(r))return typeof i!=="object"||(Array.isArray(i)?i.length:Object.keys(i).length)>0;return false};i.Buffer=function(){try{var e=i.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}();i._Buffer_from=null;i._Buffer_allocUnsafe=null;i.newBuffer=function e(t){return typeof t==="number"?i.Buffer?i._Buffer_allocUnsafe(t):new i.Array(t):i.Buffer?i._Buffer_from(t):typeof Uint8Array==="undefined"?t:new Uint8Array(t)};i.Array=typeof Uint8Array!=="undefined"?Uint8Array:Array;i.Long=global.dcodeIO&&global.dcodeIO.Long||i.inquire("long");i.key2Re=/^true|false|0|1$/;i.key32Re=/^-?(?:0|[1-9][0-9]*)$/;i.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;i.longToHash=function e(t){return t?i.LongBits.from(t).toHash():i.LongBits.zeroHash};i.longFromHash=function e(t,r){var n=i.LongBits.fromHash(t);if(i.Long)return i.Long.fromBits(n.lo,n.hi,r);return n.toNumber(Boolean(r))};function n(e,t,r){for(var i=Object.keys(t),n=0;n<i.length;++n)if(e[i[n]]===undefined||!r)e[i[n]]=t[i[n]];return e}i.merge=n;i.lcFirst=function e(t){return t.charAt(0).toLowerCase()+t.substring(1)};function s(e){function t(e,r){if(!(this instanceof t))return new t(e,r);Object.defineProperty(this,"message",{get:function(){return e}});if(Error.captureStackTrace)Error.captureStackTrace(this,t);else Object.defineProperty(this,"stack",{value:(new Error).stack||""});if(r)n(this,r)}(t.prototype=Object.create(Error.prototype)).constructor=t;Object.defineProperty(t.prototype,"name",{get:function(){return e}});t.prototype.toString=function e(){return this.name+": "+this.message};return t}i.newError=s;i.ProtocolError=s("ProtocolError");i.oneOfGetter=function e(t){var r={};for(var i=0;i<t.length;++i)r[t[i]]=1;return function(){for(var e=Object.keys(this),t=e.length-1;t>-1;--t)if(r[e[t]]===1&&this[e[t]]!==undefined&&this[e[t]]!==null)return e[t]}};i.oneOfSetter=function e(t){return function(e){for(var r=0;r<t.length;++r)if(t[r]!==e)delete this[t[r]]}};i.toJSONOptions={longs:String,enums:String,bytes:String,json:true};i._configure=function(){var e=i.Buffer;if(!e){i._Buffer_from=i._Buffer_allocUnsafe=null;return}i._Buffer_from=e.from!==Uint8Array.from&&e.from||function t(r,i){return new e(r,i)};i._Buffer_allocUnsafe=e.allocUnsafe||function t(r){return new e(r)}}},{1:1,10:10,2:2,38:38,4:4,6:6,7:7,9:9}],40:[function(e,t,r){"use strict";t.exports=a;var i=e(15),n=e(37);function s(e,t){return e.name+": "+t+(e.repeated&&t!=="array"?"[]":e.map&&t!=="object"?"{k:"+e.keyType+"}":"")+" expected"}function o(e,t,r,n){if(t.resolvedType){if(t.resolvedType instanceof i){e("switch(%s){",n)("default:")("return%j",s(t,"enum value"));for(var o=Object.keys(t.resolvedType.values),f=0;f<o.length;++f)e("case %i:",t.resolvedType.values[o[f]]);e("break")("}")}else{e("{")("var e=types[%i].verify(%s);",r,n)("if(e)")("return%j+e",t.name+".")("}")}}else{switch(t.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.isInteger(%s))",n)("return%j",s(t,"integer"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))",n,n,n,n)("return%j",s(t,"integer|Long"));break;case"float":case"double":e('if(typeof %s!=="number")',n)("return%j",s(t,"number"));break;case"bool":e('if(typeof %s!=="boolean")',n)("return%j",s(t,"boolean"));break;case"string":e("if(!util.isString(%s))",n)("return%j",s(t,"string"));break;case"bytes":e('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))',n,n,n)("return%j",s(t,"buffer"));break}}return e}function f(e,t,r){switch(t.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":e("if(!util.key32Re.test(%s))",r)("return%j",s(t,"integer key"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":e("if(!util.key64Re.test(%s))",r)("return%j",s(t,"integer|Long key"));break;case"bool":e("if(!util.key2Re.test(%s))",r)("return%j",s(t,"boolean key"));break}return e}function a(e){var t=n.codegen(["m"],e.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected");var r=e.oneofsArray,i={};if(r.length)t("var p={}");for(var a=0;a<e.fieldsArray.length;++a){var u=e._fieldsArray[a].resolve(),l="m"+n.safeProp(u.name);if(u.optional)t("if(%s!=null&&m.hasOwnProperty(%j)){",l,u.name);if(u.map){t("if(!util.isObject(%s))",l)("return%j",s(u,"object"))("var k=Object.keys(%s)",l)("for(var i=0;i<k.length;++i){");f(t,u,"k[i]");o(t,u,a,l+"[k[i]]")("}")}else if(u.repeated){t("if(!Array.isArray(%s))",l)("return%j",s(u,"array"))("for(var i=0;i<%s.length;++i){",l);o(t,u,a,l+"[i]")("}")}else{if(u.partOf){var c=n.safeProp(u.partOf.name);if(i[u.partOf.name]===1)t("if(p%s===1)",c)("return%j",u.partOf.name+": multiple values");i[u.partOf.name]=1;t("p%s=1",c)}o(t,u,a,l)}if(u.optional)t("}")}return t("return null")}},{15:15,37:37}],41:[function(e,t,r){"use strict";var i=r;var n=e(21);i[".google.protobuf.Any"]={fromObject:function(e){if(e&&e["@type"]){var t=this.lookup(e["@type"]);if(t){var r=e["@type"].charAt(0)==="."?e["@type"].substr(1):e["@type"];return this.create({type_url:"/"+r,value:t.encode(t.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){if(t&&t.json&&e.type_url&&e.value){var r=e.type_url.substring(e.type_url.lastIndexOf("/")+1);var i=this.lookup(r);if(i)e=i.decode(e.value)}if(!(e instanceof this.ctor)&&e instanceof n){var s=e.$type.toObject(e,t);s["@type"]=e.$type.fullName;return s}return this.toObject(e,t)}}},{21:21}],42:[function(e,t,r){"use strict";t.exports=c;var i=e(39);var n;var s=i.LongBits,o=i.base64,f=i.utf8;function a(e,t,r){this.fn=e;this.len=t;this.next=undefined;this.val=r}function u(){}function l(e){this.head=e.head;this.tail=e.tail;this.len=e.len;this.next=e.states}function c(){this.len=0;this.head=new a(u,0,0);this.tail=this.head;this.states=null}c.create=i.Buffer?function e(){return(c.create=function e(){return new n})()}:function e(){return new c};c.alloc=function e(t){return new i.Array(t)};if(i.Array!==Array)c.alloc=i.pool(c.alloc,i.Array.prototype.subarray);c.prototype._push=function e(t,r,i){this.tail=this.tail.next=new a(t,r,i);this.len+=r;return this};function p(e,t,r){t[r]=e&255}function h(e,t,r){while(e>127){t[r++]=e&127|128;e>>>=7}t[r]=e}function d(e,t){this.len=e;this.next=undefined;this.val=t}d.prototype=Object.create(a.prototype);d.prototype.fn=h;c.prototype.uint32=function e(t){this.len+=(this.tail=this.tail.next=new d((t=t>>>0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len;return this};c.prototype.int32=function e(t){return t<0?this._push(y,10,s.fromNumber(t)):this.uint32(t)};c.prototype.sint32=function e(t){return this.uint32((t<<1^t>>31)>>>0)};function y(e,t,r){while(e.hi){t[r++]=e.lo&127|128;e.lo=(e.lo>>>7|e.hi<<25)>>>0;e.hi>>>=7}while(e.lo>127){t[r++]=e.lo&127|128;e.lo=e.lo>>>7}t[r++]=e.lo}c.prototype.uint64=function e(t){var r=s.from(t);return this._push(y,r.length(),r)};c.prototype.int64=c.prototype.uint64;c.prototype.sint64=function e(t){var r=s.from(t).zzEncode();return this._push(y,r.length(),r)};c.prototype.bool=function e(t){return this._push(p,1,t?1:0)};function m(e,t,r){t[r]=e&255;t[r+1]=e>>>8&255;t[r+2]=e>>>16&255;t[r+3]=e>>>24}c.prototype.fixed32=function e(t){return this._push(m,4,t>>>0)};c.prototype.sfixed32=c.prototype.fixed32;c.prototype.fixed64=function e(t){var r=s.from(t);return this._push(m,4,r.lo)._push(m,4,r.hi)};c.prototype.sfixed64=c.prototype.fixed64;c.prototype.float=function e(t){return this._push(i.float.writeFloatLE,4,t)};c.prototype.double=function e(t){return this._push(i.float.writeDoubleLE,8,t)};var v=i.Array.prototype.set?function e(t,r,i){r.set(t,i)}:function e(t,r,i){for(var n=0;n<t.length;++n)r[i+n]=t[n]};c.prototype.bytes=function e(t){var r=t.length>>>0;if(!r)return this._push(p,1,0);if(i.isString(t)){var n=c.alloc(r=o.length(t));o.decode(t,n,0);t=n}return this.uint32(r)._push(v,r,t)};c.prototype.string=function e(t){var r=f.length(t);return r?this.uint32(r)._push(f.write,r,t):this._push(p,1,0)};c.prototype.fork=function e(){this.states=new l(this);this.head=this.tail=new a(u,0,0);this.len=0;return this};c.prototype.reset=function e(){if(this.states){this.head=this.states.head;this.tail=this.states.tail;this.len=this.states.len;this.states=this.states.next}else{this.head=this.tail=new a(u,0,0);this.len=0}return this};c.prototype.ldelim=function e(){var t=this.head,r=this.tail,i=this.len;this.reset().uint32(i);if(i){this.tail.next=t.next;this.tail=r;this.len+=i}return this};c.prototype.finish=function e(){var t=this.head.next,r=this.constructor.alloc(this.len),i=0;while(t){t.fn(t.val,r,i);i+=t.len;t=t.next}return r};c._configure=function(e){n=e}},{39:39}],43:[function(e,t,r){"use strict";t.exports=o;var i=e(42);(o.prototype=Object.create(i.prototype)).constructor=o;var n=e(39);var s=n.Buffer;function o(){i.call(this)}o.alloc=function e(t){return(o.alloc=n._Buffer_allocUnsafe)(t)};var f=s&&s.prototype instanceof Uint8Array&&s.prototype.set.name==="set"?function e(t,r,i){r.set(t,i)}:function e(t,r,i){if(t.copy)t.copy(r,i,0,t.length);else for(var n=0;n<t.length;)r[i++]=t[n++]};o.prototype.bytes=function e(t){if(n.isString(t))t=n._Buffer_from(t,"base64");var r=t.length>>>0;this.uint32(r);if(r)this._push(f,r,t);return this};function a(e,t,r){if(e.length<40)n.utf8.write(e,t,r);else t.utf8Write(e,r)}o.prototype.string=function e(t){var r=s.byteLength(t);this.uint32(r);if(r)this._push(a,r,t);return this}},{39:39,42:42}]},{},[19])})(typeof window==="object"&&window||typeof self==="object"&&self||this);
//# sourceMappingURL=protobuf.map.js

Anon7 - 2022
AnonSec Team