(window["webpackJsonp_OnlineschoolSaasManageFe"]=window["webpackJsonp_OnlineschoolSaasManageFe"]||[]).push([["google-protobuf-js"],{8513:function(t,o,r){(function(t){var r="function"==typeof Object.defineProperties?Object.defineProperty:function(t,o,r){t!=Array.prototype&&t!=Object.prototype&&(t[o]=r.value)},e="undefined"!=typeof window&&window===this?this:"undefined"!=typeof t&&null!=t?t:this;function i(t,o){if(o){var i=e;t=t.split(".");for(var n=0;n<t.length-1;n++){var p=t[n];p in i||(i[p]={}),i=i[p]}t=t[t.length-1],n=i[t],o=o(n),o!=n&&null!=o&&r(i,t,{configurable:!0,writable:!0,value:o})}}function n(t){var o=0;return function(){return o<t.length?{done:!1,value:t[o++]}:{done:!0}}}function p(){p=function(){},e.Symbol||(e.Symbol=s)}function a(t,o){this.a=t,r(this,"description",{configurable:!0,writable:!0,value:o})}a.prototype.toString=function(){return this.a};var s=function(){function t(r){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new a("jscomp_symbol_"+(r||"")+"_"+o++,r)}var o=0;return t}();function h(){p();var t=e.Symbol.iterator;t||(t=e.Symbol.iterator=e.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[t]&&r(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return u(n(this))}}),h=function(){}}function u(t){return h(),t={next:t},t[e.Symbol.iterator]=function(){return this},t}function y(t,o){h(),t instanceof String&&(t+="");var r=0,e={next:function(){if(r<t.length){var i=r++;return{value:o(i,t[i]),done:!1}}return e.next=function(){return{done:!0,value:void 0}},e.next()}};return e[Symbol.iterator]=function(){return e},e}i("Array.prototype.entries",(function(t){return t||function(){return y(this,(function(t,o){return[t,o]}))}}));var f=this||self;function c(t,o,r){t=t.split("."),r=r||f,t[0]in r||"undefined"==typeof r.execScript||r.execScript("var "+t[0]);for(var e;t.length&&(e=t.shift());)t.length||void 0===o?r=r[e]&&r[e]!==Object.prototype[e]?r[e]:r[e]={}:r[e]=o}function l(t){var o=typeof t;if("object"==o){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return o;var r=Object.prototype.toString.call(t);if("[object Window]"==r)return"object";if("[object Array]"==r||"number"==typeof t.length&&"undefined"!=typeof t.splice&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==r||"undefined"!=typeof t.call&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==o&&"undefined"==typeof t.call)return"object";return o}function d(t){var o=typeof t;return"object"==o&&null!=t||"function"==o}function g(t,o,r){c(t,o,r)}function b(t,o){function r(){}r.prototype=o.prototype,t.prototype=new r,t.prototype.constructor=t}var v="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function w(t,o){for(var r,e,i=1;i<arguments.length;i++){for(r in e=arguments[i],e)t[r]=e[r];for(var n=0;n<v.length;n++)r=v[n],Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}}var S=Array.prototype.forEach?function(t,o){Array.prototype.forEach.call(t,o,void 0)}:function(t,o){for(var r=t.length,e="string"===typeof t?t.split(""):t,i=0;i<r;i++)i in e&&o.call(void 0,e[i],i,t)},j=Array.prototype.map?function(t,o){return Array.prototype.map.call(t,o,void 0)}:function(t,o){for(var r=t.length,e=Array(r),i="string"===typeof t?t.split(""):t,n=0;n<r;n++)n in i&&(e[n]=o.call(void 0,i[n],n,t));return e};function x(t,o,r){return 2>=arguments.length?Array.prototype.slice.call(t,o):Array.prototype.slice.call(t,o,r)}function F(t,o,r,e){var i="Assertion failed";if(r){i+=": "+r;var n=e}else t&&(i+=": "+t,n=o);throw Error(i,n||[])}function m(t,o,r){for(var e=[],i=2;i<arguments.length;++i)e[i-2]=arguments[i];return t||F("",null,o,e),t}function k(t,o,r){for(var e=[],i=2;i<arguments.length;++i)e[i-2]=arguments[i];"string"!==typeof t&&F("Expected string but got %s: %s.",[l(t),t],o,e)}function A(t,o,r){for(var e=[],i=2;i<arguments.length;++i)e[i-2]=arguments[i];Array.isArray(t)||F("Expected array but got %s: %s.",[l(t),t],o,e)}function M(t,o){for(var r=[],e=1;e<arguments.length;++e)r[e-1]=arguments[e];throw Error("Failure"+(t?": "+t:""),r)}function C(t,o,r,e){for(var i=[],n=3;n<arguments.length;++n)i[n-3]=arguments[n];t instanceof o||F("Expected instanceof %s but got %s.",[P(o),P(t)],r,i)}function P(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):null===t?"null":typeof t}function E(t,o){if(this.c=t,this.b=o,this.a={},this.arrClean=!0,0<this.c.length){for(t=0;t<this.c.length;t++){o=this.c[t];var r=o[0];this.a[r.toString()]=new U(r,o[1])}this.arrClean=!0}}function I(t){this.a=0,this.b=t}function B(t,o){return t.b?(o.a||(o.a=new t.b(o.value)),o.a):o.value}function O(t){t=t.a;var o,r=[];for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&r.push(o);return r}function U(t,o){this.key=t,this.value=o,this.a=void 0}function T(t){if(8192>=t.length)return String.fromCharCode.apply(null,t);for(var o="",r=0;r<t.length;r+=8192)o+=String.fromCharCode.apply(null,x(t,r,r+8192));return o}c("jspb.Map",E,void 0),E.prototype.g=function(){if(this.arrClean){if(this.b){var t,o=this.a;for(t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var r=o[t].a;r&&r.g()}}}else{for(this.c.length=0,o=O(this),o.sort(),t=0;t<o.length;t++){var e=this.a[o[t]];(r=e.a)&&r.g(),this.c.push([e.key,e.value])}this.arrClean=!0}return this.c},E.prototype.toArray=E.prototype.g,E.prototype.Mc=function(t,o){for(var r=this.g(),e=[],i=0;i<r.length;i++){var n=this.a[r[i][0].toString()];B(this,n);var p=n.a;p?(m(o),e.push([n.key,o(t,p)])):e.push([n.key,n.value])}return e},E.prototype.toObject=E.prototype.Mc,E.fromObject=function(t,o,r){o=new E([],o);for(var e=0;e<t.length;e++){var i=t[e][0],n=r(t[e][1]);o.set(i,n)}return o},I.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},"undefined"!=typeof Symbol&&(I.prototype[Symbol.iterator]=function(){return this}),E.prototype.Jb=function(){return O(this).length},E.prototype.getLength=E.prototype.Jb,E.prototype.clear=function(){this.a={},this.arrClean=!1},E.prototype.clear=E.prototype.clear,E.prototype.Cb=function(t){t=t.toString();var o=this.a.hasOwnProperty(t);return delete this.a[t],this.arrClean=!1,o},E.prototype.del=E.prototype.Cb,E.prototype.Eb=function(){var t=[],o=O(this);o.sort();for(var r=0;r<o.length;r++){var e=this.a[o[r]];t.push([e.key,e.value])}return t},E.prototype.getEntryList=E.prototype.Eb,E.prototype.entries=function(){var t=[],o=O(this);o.sort();for(var r=0;r<o.length;r++){var e=this.a[o[r]];t.push([e.key,B(this,e)])}return new I(t)},E.prototype.entries=E.prototype.entries,E.prototype.keys=function(){var t=[],o=O(this);o.sort();for(var r=0;r<o.length;r++)t.push(this.a[o[r]].key);return new I(t)},E.prototype.keys=E.prototype.keys,E.prototype.values=function(){var t=[],o=O(this);o.sort();for(var r=0;r<o.length;r++)t.push(B(this,this.a[o[r]]));return new I(t)},E.prototype.values=E.prototype.values,E.prototype.forEach=function(t,o){var r=O(this);r.sort();for(var e=0;e<r.length;e++){var i=this.a[r[e]];t.call(o,B(this,i),i.key,this)}},E.prototype.forEach=E.prototype.forEach,E.prototype.set=function(t,o){var r=new U(t);return this.b?(r.a=o,r.value=o.g()):r.value=o,this.a[t.toString()]=r,this.arrClean=!1,this},E.prototype.set=E.prototype.set,E.prototype.get=function(t){if(t=this.a[t.toString()])return B(this,t)},E.prototype.get=E.prototype.get,E.prototype.has=function(t){return t.toString()in this.a},E.prototype.has=E.prototype.has,E.prototype.Jc=function(t,o,r,e,i){var n=O(this);n.sort();for(var p=0;p<n.length;p++){var a=this.a[n[p]];o.Va(t),r.call(o,1,a.key),this.b?e.call(o,2,B(this,a),i):e.call(o,2,a.value),o.Ya()}},E.prototype.serializeBinary=E.prototype.Jc,E.deserializeBinary=function(t,o,r,e,i,n,p){for(;o.oa()&&!o.bb();){var a=o.c;1==a?n=r.call(o):2==a&&(t.b?(m(i),p||(p=new t.b),e.call(o,p,i)):p=e.call(o))}m(void 0!=n),m(void 0!=p),t.set(n,p)};var R={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},V={"'":"\\'"},H={},N=null;function D(t,o){void 0===o&&(o=0),W(),o=H[o];for(var r=[],e=0;e<t.length;e+=3){var i=t[e],n=e+1<t.length,p=n?t[e+1]:0,a=e+2<t.length,s=a?t[e+2]:0,h=i>>2;i=(3&i)<<4|p>>4,p=(15&p)<<2|s>>6,s&=63,a||(s=64,n||(p=64)),r.push(o[h],o[i],o[p]||"",o[s]||"")}return r.join("")}function L(t){var o=t.length,r=3*o/4;r%3?r=Math.floor(r):-1!="=.".indexOf(t[o-1])&&(r=-1!="=.".indexOf(t[o-2])?r-2:r-1);var e=new Uint8Array(r),i=0;return z(t,(function(t){e[i++]=t})),e.subarray(0,i)}function z(t,o){function r(o){for(;e<t.length;){var r=t.charAt(e++),i=N[r];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(r))throw Error("Unknown base64 encoding at char: "+r)}return o}W();for(var e=0;;){var i=r(-1),n=r(0),p=r(64),a=r(64);if(64===a&&-1===i)break;o(i<<2|n>>4),64!=p&&(o(n<<4&240|p>>2),64!=a&&o(p<<6&192|a))}}function W(){if(!N){N={};for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),o=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var e=t.concat(o[r].split(""));H[r]=e;for(var i=0;i<e.length;i++){var n=e[i];void 0===N[n]&&(N[n]=i)}}}}c("jspb.ConstBinaryMessage",(function(){}),void 0),c("jspb.BinaryMessage",(function(){}),void 0),c("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0),c("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0),c("jspb.BinaryConstants.FieldTypeToWireType",(function(t){switch(t){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}}),void 0),c("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),c("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),c("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),c("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),c("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),c("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),c("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),c("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),c("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),c("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),c("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),c("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),c("jspb.BinaryConstants.TWO_TO_63",0x8000000000000000,void 0),c("jspb.BinaryConstants.TWO_TO_64",0x10000000000000000,void 0),c("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var _=0,Z=0;function G(t){var o=t>>>0;t=Math.floor((t-o)/4294967296)>>>0,_=o,Z=t}function J(t){var o=0>t;t=Math.abs(t);var r=t>>>0;t=Math.floor((t-r)/4294967296),t>>>=0,o&&(t=~t>>>0,r=1+(~r>>>0),4294967295<r&&(r=0,t++,4294967295<t&&(t=0))),_=r,Z=t}function $(t){var o=0>t;t=2*Math.abs(t),G(t),t=_;var r=Z;o&&(0==t?0==r?r=t=4294967295:(r--,t=4294967295):t--),_=t,Z=r}function K(t){var o=0>t?1:0;if(t=o?-t:t,0===t)0<1/t?_=Z=0:(Z=0,_=2147483648);else if(isNaN(t))Z=0,_=2147483647;else if(34028234663852886e22<t)Z=0,_=(o<<31|2139095040)>>>0;else if(11754943508222875e-54>t)t=Math.round(t/Math.pow(2,-149)),Z=0,_=(o<<31|t)>>>0;else{var r=Math.floor(Math.log(t)/Math.LN2);t*=Math.pow(2,-r),t=Math.round(8388608*t),16777216<=t&&++r,Z=0,_=(o<<31|r+127<<23|8388607&t)>>>0}}function X(t){var o=0>t?1:0;if(t=o?-t:t,0===t)Z=0<1/t?0:2147483648,_=0;else if(isNaN(t))Z=2147483647,_=4294967295;else if(17976931348623157e292<t)Z=(o<<31|2146435072)>>>0,_=0;else if(22250738585072014e-324>t)t/=Math.pow(2,-1074),Z=(o<<31|t/4294967296)>>>0,_=t>>>0;else{var r=t,e=0;if(2<=r)for(;2<=r&&1023>e;)e++,r/=2;else for(;1>r&&-1022<e;)r*=2,e--;t*=Math.pow(2,-e),Z=(o<<31|e+1023<<20|1048576*t&1048575)>>>0,_=4503599627370496*t>>>0}}function Y(t){var o=t.charCodeAt(4),r=t.charCodeAt(5),e=t.charCodeAt(6),i=t.charCodeAt(7);_=t.charCodeAt(0)+(t.charCodeAt(1)<<8)+(t.charCodeAt(2)<<16)+(t.charCodeAt(3)<<24)>>>0,Z=o+(r<<8)+(e<<16)+(i<<24)>>>0}function q(t,o){return 4294967296*o+(t>>>0)}function Q(t,o){var r=2147483648&o;return r&&(t=1+~t>>>0,o=~o>>>0,0==t&&(o=o+1>>>0)),t=q(t,o),r?-t:t}function tt(t,o,r){var e=o>>31;return r(t<<1^e,(o<<1|t>>>31)^e)}function ot(t,o){return rt(t,o,Q)}function rt(t,o,r){var e=-(1&t);return r((t>>>1|o<<31)^e,o>>>1^e)}function et(t){var o=2*(t>>31)+1,r=t>>>23&255;return t&=8388607,255==r?t?NaN:1/0*o:0==r?o*Math.pow(2,-149)*t:o*Math.pow(2,r-150)*(t+Math.pow(2,23))}function it(t,o){var r=2*(o>>31)+1,e=o>>>20&2047;return t=4294967296*(1048575&o)+t,2047==e?t?NaN:1/0*r:0==e?r*Math.pow(2,-1074)*t:r*Math.pow(2,e-1075)*(t+4503599627370496)}function nt(t,o){return String.fromCharCode(t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255,o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255)}function pt(t,o){function r(t,o){return t=t?String(t):"",o?"0000000".slice(t.length)+t:t}if(2097151>=o)return""+q(t,o);var e=(t>>>24|o<<8)>>>0&16777215;return o=o>>16&65535,t=(16777215&t)+6777216*e+6710656*o,e+=8147497*o,o*=2,1e7<=t&&(e+=Math.floor(t/1e7),t%=1e7),1e7<=e&&(o+=Math.floor(e/1e7),e%=1e7),r(o,0)+r(e,o)+r(t,1)}function at(t,o){var r=2147483648&o;return r&&(t=1+~t>>>0,o=~o+(0==t?1:0)>>>0),t=pt(t,o),r?"-"+t:t}function st(t,o){Y(t),t=_;var r=Z;return o?at(t,r):pt(t,r)}function ht(t){function o(t,o){for(var r=0;8>r&&(1!==t||0<o);r++)o=t*i[r]+o,i[r]=255&o,o>>>=8}function r(){for(var t=0;8>t;t++)i[t]=255&~i[t]}m(0<t.length);var e=!1;"-"===t[0]&&(e=!0,t=t.slice(1));for(var i=[0,0,0,0,0,0,0,0],n=0;n<t.length;n++)o(10,t.charCodeAt(n)-48);return e&&(r(),o(1,1)),T(i)}function ut(t){return String.fromCharCode(10>t?48+t:87+t)}function yt(t){return 97<=t?t-97+10:t-48}function ft(t,o,r,e,i){var n=0;if(128>e)for(;o<r&&t[o++]==e;)n++,o+=i;else for(;o<r;){for(var p=e;128<p;){if(t[o++]!=(127&p|128))return n;p>>=7}if(t[o++]!=p)break;n++,o+=i}return n}function ct(t){return t.constructor===Uint8Array?t:t.constructor===ArrayBuffer||t.constructor===Array?new Uint8Array(t):t.constructor===String?L(t):t instanceof Uint8Array?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):(M("Type not convertible to Uint8Array."),new Uint8Array(0))}function lt(t,o,r){this.b=null,this.a=this.c=this.h=0,this.v=!1,t&&this.H(t,o,r)}c("jspb.utils.getSplit64Low",(function(){return _}),void 0),c("jspb.utils.getSplit64High",(function(){return Z}),void 0),c("jspb.utils.splitUint64",G,void 0),c("jspb.utils.splitInt64",J,void 0),c("jspb.utils.splitZigzag64",$,void 0),c("jspb.utils.splitFloat32",K,void 0),c("jspb.utils.splitFloat64",X,void 0),c("jspb.utils.splitHash64",Y,void 0),c("jspb.utils.joinUint64",q,void 0),c("jspb.utils.joinInt64",Q,void 0),c("jspb.utils.toZigzag64",tt,void 0),c("jspb.utils.joinZigzag64",ot,void 0),c("jspb.utils.fromZigzag64",rt,void 0),c("jspb.utils.joinFloat32",et,void 0),c("jspb.utils.joinFloat64",it,void 0),c("jspb.utils.joinHash64",nt,void 0),c("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0),c("jspb.utils.joinUnsignedDecimalString",pt,void 0),c("jspb.utils.joinSignedDecimalString",at,void 0),c("jspb.utils.hash64ToDecimalString",st,void 0),c("jspb.utils.hash64ArrayToDecimalStrings",(function(t,o){for(var r=Array(t.length),e=0;e<t.length;e++)r[e]=st(t[e],o);return r}),void 0),c("jspb.utils.decimalStringToHash64",ht,void 0),c("jspb.utils.splitDecimalString",(function(t){Y(ht(t))}),void 0),c("jspb.utils.hash64ToHexString",(function(t){var o=Array(18);o[0]="0",o[1]="x";for(var r=0;8>r;r++){var e=t.charCodeAt(7-r);o[2*r+2]=ut(e>>4),o[2*r+3]=ut(15&e)}return o.join("")}),void 0),c("jspb.utils.hexStringToHash64",(function(t){t=t.toLowerCase(),m(18==t.length),m("0"==t[0]),m("x"==t[1]);for(var o="",r=0;8>r;r++)o=String.fromCharCode(16*yt(t.charCodeAt(2*r+2))+yt(t.charCodeAt(2*r+3)))+o;return o}),void 0),c("jspb.utils.hash64ToNumber",(function(t,o){Y(t),t=_;var r=Z;return o?Q(t,r):q(t,r)}),void 0),c("jspb.utils.numberToHash64",(function(t){return J(t),nt(_,Z)}),void 0),c("jspb.utils.countVarints",(function(t,o,r){for(var e=0,i=o;i<r;i++)e+=t[i]>>7;return r-o-e}),void 0),c("jspb.utils.countVarintFields",(function(t,o,r,e){var i=0;if(e*=8,128>e)for(;o<r&&t[o++]==e;)for(i++;;){var n=t[o++];if(0==(128&n))break}else for(;o<r;){for(n=e;128<n;){if(t[o]!=(127&n|128))return i;o++,n>>=7}if(t[o++]!=n)break;for(i++;n=t[o++],0!=(128&n););}return i}),void 0),c("jspb.utils.countFixed32Fields",(function(t,o,r,e){return ft(t,o,r,8*e+5,4)}),void 0),c("jspb.utils.countFixed64Fields",(function(t,o,r,e){return ft(t,o,r,8*e+1,8)}),void 0),c("jspb.utils.countDelimitedFields",(function(t,o,r,e){var i=0;for(e=8*e+2;o<r;){for(var n=e;128<n;){if(t[o++]!=(127&n|128))return i;n>>=7}if(t[o++]!=n)break;i++;for(var p=0,a=1;n=t[o++],p+=(127&n)*a,a*=128,0!=(128&n););o+=p}return i}),void 0),c("jspb.utils.debugBytesToTextFormat",(function(t){var o='"';if(t){t=ct(t);for(var r=0;r<t.length;r++)o+="\\x",16>t[r]&&(o+="0"),o+=t[r].toString(16)}return o+'"'}),void 0),c("jspb.utils.debugScalarToTextFormat",(function(t){if("string"===typeof t){t=String(t);for(var o=['"'],r=0;r<t.length;r++){var e,i=t.charAt(r),n=i.charCodeAt(0),p=r+1;(e=R[i])||(31<n&&127>n||(n=i,n in V?i=V[n]:n in R?i=V[n]=R[n]:(e=n.charCodeAt(0),31<e&&127>e?i=n:(256>e?(i="\\x",(16>e||256<e)&&(i+="0")):(i="\\u",4096>e&&(i+="0")),i+=e.toString(16).toUpperCase()),i=V[n]=i)),e=i),o[p]=e}o.push('"'),t=o.join("")}else t=t.toString();return t}),void 0),c("jspb.utils.stringToByteArray",(function(t){for(var o=new Uint8Array(t.length),r=0;r<t.length;r++){var e=t.charCodeAt(r);if(255<e)throw Error("Conversion error: string contains codepoint outside of byte range");o[r]=e}return o}),void 0),c("jspb.utils.byteSourceToUint8Array",ct,void 0),c("jspb.BinaryDecoder",lt,void 0);var dt=[];function gt(t,o,r){if(dt.length){var e=dt.pop();return t&&e.H(t,o,r),e}return new lt(t,o,r)}function bt(t,o,r){this.a=gt(t,o,r),this.O=this.a.B(),this.b=this.c=-1,this.h=!1,this.v=null}lt.getInstanceCacheLength=function(){return dt.length},lt.alloc=gt,lt.prototype.Ca=function(){this.clear(),100>dt.length&&dt.push(this)},lt.prototype.free=lt.prototype.Ca,lt.prototype.clone=function(){return gt(this.b,this.h,this.c-this.h)},lt.prototype.clone=lt.prototype.clone,lt.prototype.clear=function(){this.b=null,this.a=this.c=this.h=0,this.v=!1},lt.prototype.clear=lt.prototype.clear,lt.prototype.Y=function(){return this.b},lt.prototype.getBuffer=lt.prototype.Y,lt.prototype.H=function(t,o,r){this.b=ct(t),this.h=void 0!==o?o:0,this.c=void 0!==r?this.h+r:this.b.length,this.a=this.h},lt.prototype.setBlock=lt.prototype.H,lt.prototype.Db=function(){return this.c},lt.prototype.getEnd=lt.prototype.Db,lt.prototype.setEnd=function(t){this.c=t},lt.prototype.setEnd=lt.prototype.setEnd,lt.prototype.reset=function(){this.a=this.h},lt.prototype.reset=lt.prototype.reset,lt.prototype.B=function(){return this.a},lt.prototype.getCursor=lt.prototype.B,lt.prototype.Ma=function(t){this.a=t},lt.prototype.setCursor=lt.prototype.Ma,lt.prototype.advance=function(t){this.a+=t,m(this.a<=this.c)},lt.prototype.advance=lt.prototype.advance,lt.prototype.ya=function(){return this.a==this.c},lt.prototype.atEnd=lt.prototype.ya,lt.prototype.Qb=function(){return this.a>this.c},lt.prototype.pastEnd=lt.prototype.Qb,lt.prototype.getError=function(){return this.v||0>this.a||this.a>this.c},lt.prototype.getError=lt.prototype.getError,lt.prototype.w=function(t){for(var o=128,r=0,e=0,i=0;4>i&&128<=o;i++)o=this.b[this.a++],r|=(127&o)<<7*i;if(128<=o&&(o=this.b[this.a++],r|=(127&o)<<28,e|=(127&o)>>4),128<=o)for(i=0;5>i&&128<=o;i++)o=this.b[this.a++],e|=(127&o)<<7*i+3;if(128>o)return t(r>>>0,e>>>0);M("Failed to read varint, encoding is invalid."),this.v=!0},lt.prototype.readSplitVarint64=lt.prototype.w,lt.prototype.ea=function(t){return this.w((function(o,r){return rt(o,r,t)}))},lt.prototype.readSplitZigzagVarint64=lt.prototype.ea,lt.prototype.ta=function(t){var o=this.b,r=this.a;this.a+=8;for(var e=0,i=0,n=r+7;n>=r;n--)e=e<<8|o[n],i=i<<8|o[n+4];return t(e,i)},lt.prototype.readSplitFixed64=lt.prototype.ta,lt.prototype.kb=function(){for(;128&this.b[this.a];)this.a++;this.a++},lt.prototype.skipVarint=lt.prototype.kb,lt.prototype.mb=function(t){for(;128<t;)this.a--,t>>>=7;this.a--},lt.prototype.unskipVarint=lt.prototype.mb,lt.prototype.o=function(){var t=this.b,o=t[this.a],r=127&o;return 128>o?(this.a+=1,m(this.a<=this.c),r):(o=t[this.a+1],r|=(127&o)<<7,128>o?(this.a+=2,m(this.a<=this.c),r):(o=t[this.a+2],r|=(127&o)<<14,128>o?(this.a+=3,m(this.a<=this.c),r):(o=t[this.a+3],r|=(127&o)<<21,128>o?(this.a+=4,m(this.a<=this.c),r):(o=t[this.a+4],r|=(15&o)<<28,128>o?(this.a+=5,m(this.a<=this.c),r>>>0):(this.a+=5,128<=t[this.a++]&&128<=t[this.a++]&&128<=t[this.a++]&&128<=t[this.a++]&&128<=t[this.a++]&&m(!1),m(this.a<=this.c),r)))))},lt.prototype.readUnsignedVarint32=lt.prototype.o,lt.prototype.da=function(){return~~this.o()},lt.prototype.readSignedVarint32=lt.prototype.da,lt.prototype.O=function(){return this.o().toString()},lt.prototype.Ea=function(){return this.da().toString()},lt.prototype.readSignedVarint32String=lt.prototype.Ea,lt.prototype.Ia=function(){var t=this.o();return t>>>1^-(1&t)},lt.prototype.readZigzagVarint32=lt.prototype.Ia,lt.prototype.Ga=function(){return this.w(q)},lt.prototype.readUnsignedVarint64=lt.prototype.Ga,lt.prototype.Ha=function(){return this.w(pt)},lt.prototype.readUnsignedVarint64String=lt.prototype.Ha,lt.prototype.sa=function(){return this.w(Q)},lt.prototype.readSignedVarint64=lt.prototype.sa,lt.prototype.Fa=function(){return this.w(at)},lt.prototype.readSignedVarint64String=lt.prototype.Fa,lt.prototype.Ja=function(){return this.w(ot)},lt.prototype.readZigzagVarint64=lt.prototype.Ja,lt.prototype.fb=function(){return this.ea(nt)},lt.prototype.readZigzagVarintHash64=lt.prototype.fb,lt.prototype.Ka=function(){return this.ea(at)},lt.prototype.readZigzagVarint64String=lt.prototype.Ka,lt.prototype.Gc=function(){var t=this.b[this.a];return this.a+=1,m(this.a<=this.c),t},lt.prototype.readUint8=lt.prototype.Gc,lt.prototype.Ec=function(){var t=this.b[this.a],o=this.b[this.a+1];return this.a+=2,m(this.a<=this.c),t<<0|o<<8},lt.prototype.readUint16=lt.prototype.Ec,lt.prototype.m=function(){var t=this.b[this.a],o=this.b[this.a+1],r=this.b[this.a+2],e=this.b[this.a+3];return this.a+=4,m(this.a<=this.c),(t<<0|o<<8|r<<16|e<<24)>>>0},lt.prototype.readUint32=lt.prototype.m,lt.prototype.ga=function(){var t=this.m(),o=this.m();return q(t,o)},lt.prototype.readUint64=lt.prototype.ga,lt.prototype.ha=function(){var t=this.m(),o=this.m();return pt(t,o)},lt.prototype.readUint64String=lt.prototype.ha,lt.prototype.Xb=function(){var t=this.b[this.a];return this.a+=1,m(this.a<=this.c),t<<24>>24},lt.prototype.readInt8=lt.prototype.Xb,lt.prototype.Vb=function(){var t=this.b[this.a],o=this.b[this.a+1];return this.a+=2,m(this.a<=this.c),(t<<0|o<<8)<<16>>16},lt.prototype.readInt16=lt.prototype.Vb,lt.prototype.P=function(){var t=this.b[this.a],o=this.b[this.a+1],r=this.b[this.a+2],e=this.b[this.a+3];return this.a+=4,m(this.a<=this.c),t<<0|o<<8|r<<16|e<<24},lt.prototype.readInt32=lt.prototype.P,lt.prototype.ba=function(){var t=this.m(),o=this.m();return Q(t,o)},lt.prototype.readInt64=lt.prototype.ba,lt.prototype.ca=function(){var t=this.m(),o=this.m();return at(t,o)},lt.prototype.readInt64String=lt.prototype.ca,lt.prototype.aa=function(){var t=this.m();return et(t,0)},lt.prototype.readFloat=lt.prototype.aa,lt.prototype.Z=function(){var t=this.m(),o=this.m();return it(t,o)},lt.prototype.readDouble=lt.prototype.Z,lt.prototype.pa=function(){return!!this.b[this.a++]},lt.prototype.readBool=lt.prototype.pa,lt.prototype.ra=function(){return this.da()},lt.prototype.readEnum=lt.prototype.ra,lt.prototype.fa=function(t){var o=this.b,r=this.a;t=r+t;for(var e=[],i="";r<t;){var n=o[r++];if(128>n)e.push(n);else{if(192>n)continue;if(224>n){var p=o[r++];e.push((31&n)<<6|63&p)}else if(240>n){p=o[r++];var a=o[r++];e.push((15&n)<<12|(63&p)<<6|63&a)}else if(248>n){p=o[r++],a=o[r++];var s=o[r++];n=(7&n)<<18|(63&p)<<12|(63&a)<<6|63&s,n-=65536,e.push(55296+(n>>10&1023),56320+(1023&n))}}8192<=e.length&&(i+=String.fromCharCode.apply(null,e),e.length=0)}return i+=T(e),this.a=r,i},lt.prototype.readString=lt.prototype.fa,lt.prototype.Dc=function(){var t=this.o();return this.fa(t)},lt.prototype.readStringWithLength=lt.prototype.Dc,lt.prototype.qa=function(t){if(0>t||this.a+t>this.b.length)return this.v=!0,M("Invalid byte length!"),new Uint8Array(0);var o=this.b.subarray(this.a,this.a+t);return this.a+=t,m(this.a<=this.c),o},lt.prototype.readBytes=lt.prototype.qa,lt.prototype.ia=function(){return this.w(nt)},lt.prototype.readVarintHash64=lt.prototype.ia,lt.prototype.$=function(){var t=this.b,o=this.a,r=t[o],e=t[o+1],i=t[o+2],n=t[o+3],p=t[o+4],a=t[o+5],s=t[o+6];return t=t[o+7],this.a+=8,String.fromCharCode(r,e,i,n,p,a,s,t)},lt.prototype.readFixedHash64=lt.prototype.$,c("jspb.BinaryReader",bt,void 0);var vt=[];function wt(t,o,r){if(vt.length){var e=vt.pop();return t&&e.a.H(t,o,r),e}return new bt(t,o,r)}function St(t,o){m(2==t.b);var r=t.a.o();r=t.a.B()+r;for(var e=[];t.a.B()<r;)e.push(o.call(t.a));return e}function jt(t,o,r,e,i){this.ma=t,this.Ba=o,this.la=r,this.Na=e,this.na=i}function xt(t,o,r,e,i,n){this.Za=t,this.za=o,this.Aa=r,this.Wa=e,this.Ab=i,this.Nb=n}function Ft(){}bt.clearInstanceCache=function(){vt=[]},bt.getInstanceCacheLength=function(){return vt.length},bt.alloc=wt,bt.prototype.zb=wt,bt.prototype.alloc=bt.prototype.zb,bt.prototype.Ca=function(){this.a.clear(),this.b=this.c=-1,this.h=!1,this.v=null,100>vt.length&&vt.push(this)},bt.prototype.free=bt.prototype.Ca,bt.prototype.Fb=function(){return this.O},bt.prototype.getFieldCursor=bt.prototype.Fb,bt.prototype.B=function(){return this.a.B()},bt.prototype.getCursor=bt.prototype.B,bt.prototype.Y=function(){return this.a.Y()},bt.prototype.getBuffer=bt.prototype.Y,bt.prototype.Hb=function(){return this.c},bt.prototype.getFieldNumber=bt.prototype.Hb,bt.prototype.Lb=function(){return this.b},bt.prototype.getWireType=bt.prototype.Lb,bt.prototype.Mb=function(){return 2==this.b},bt.prototype.isDelimited=bt.prototype.Mb,bt.prototype.bb=function(){return 4==this.b},bt.prototype.isEndGroup=bt.prototype.bb,bt.prototype.getError=function(){return this.h||this.a.getError()},bt.prototype.getError=bt.prototype.getError,bt.prototype.H=function(t,o,r){this.a.H(t,o,r),this.b=this.c=-1},bt.prototype.setBlock=bt.prototype.H,bt.prototype.reset=function(){this.a.reset(),this.b=this.c=-1},bt.prototype.reset=bt.prototype.reset,bt.prototype.advance=function(t){this.a.advance(t)},bt.prototype.advance=bt.prototype.advance,bt.prototype.oa=function(){if(this.a.ya())return!1;if(this.getError())return M("Decoder hit an error"),!1;this.O=this.a.B();var t=this.a.o(),o=t>>>3;return t&=7,0!=t&&5!=t&&1!=t&&2!=t&&3!=t&&4!=t?(M("Invalid wire type: %s (at position %s)",t,this.O),this.h=!0,!1):(this.c=o,this.b=t,!0)},bt.prototype.nextField=bt.prototype.oa,bt.prototype.Oa=function(){this.a.mb(this.c<<3|this.b)},bt.prototype.unskipHeader=bt.prototype.Oa,bt.prototype.Lc=function(){var t=this.c;for(this.Oa();this.oa()&&this.c==t;)this.C();this.a.ya()||this.Oa()},bt.prototype.skipMatchingFields=bt.prototype.Lc,bt.prototype.lb=function(){0!=this.b?(M("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},bt.prototype.skipVarintField=bt.prototype.lb,bt.prototype.gb=function(){if(2!=this.b)M("Invalid wire type for skipDelimitedField"),this.C();else{var t=this.a.o();this.a.advance(t)}},bt.prototype.skipDelimitedField=bt.prototype.gb,bt.prototype.hb=function(){5!=this.b?(M("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},bt.prototype.skipFixed32Field=bt.prototype.hb,bt.prototype.ib=function(){1!=this.b?(M("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},bt.prototype.skipFixed64Field=bt.prototype.ib,bt.prototype.jb=function(){var t=this.c;do{if(!this.oa()){M("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(4==this.b){this.c!=t&&(M("Unmatched end-group tag"),this.h=!0);break}this.C()}while(1)},bt.prototype.skipGroup=bt.prototype.jb,bt.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:M("Invalid wire encoding for field.")}},bt.prototype.skipField=bt.prototype.C,bt.prototype.Hc=function(t,o){null===this.v&&(this.v={}),m(!this.v[t]),this.v[t]=o},bt.prototype.registerReadCallback=bt.prototype.Hc,bt.prototype.Ic=function(t){return m(null!==this.v),t=this.v[t],m(t),t(this)},bt.prototype.runReadCallback=bt.prototype.Ic,bt.prototype.Yb=function(t,o){m(2==this.b);var r=this.a.c,e=this.a.o();e=this.a.B()+e,this.a.setEnd(e),o(t,this),this.a.Ma(e),this.a.setEnd(r)},bt.prototype.readMessage=bt.prototype.Yb,bt.prototype.Ub=function(t,o,r){m(3==this.b),m(this.c==t),r(o,this),this.h||4==this.b||(M("Group submessage did not end with an END_GROUP tag"),this.h=!0)},bt.prototype.readGroup=bt.prototype.Ub,bt.prototype.Gb=function(){m(2==this.b);var t=this.a.o(),o=this.a.B(),r=o+t;return t=gt(this.a.Y(),o,t),this.a.Ma(r),t},bt.prototype.getFieldDecoder=bt.prototype.Gb,bt.prototype.P=function(){return m(0==this.b),this.a.da()},bt.prototype.readInt32=bt.prototype.P,bt.prototype.Wb=function(){return m(0==this.b),this.a.Ea()},bt.prototype.readInt32String=bt.prototype.Wb,bt.prototype.ba=function(){return m(0==this.b),this.a.sa()},bt.prototype.readInt64=bt.prototype.ba,bt.prototype.ca=function(){return m(0==this.b),this.a.Fa()},bt.prototype.readInt64String=bt.prototype.ca,bt.prototype.m=function(){return m(0==this.b),this.a.o()},bt.prototype.readUint32=bt.prototype.m,bt.prototype.Fc=function(){return m(0==this.b),this.a.O()},bt.prototype.readUint32String=bt.prototype.Fc,bt.prototype.ga=function(){return m(0==this.b),this.a.Ga()},bt.prototype.readUint64=bt.prototype.ga,bt.prototype.ha=function(){return m(0==this.b),this.a.Ha()},bt.prototype.readUint64String=bt.prototype.ha,bt.prototype.zc=function(){return m(0==this.b),this.a.Ia()},bt.prototype.readSint32=bt.prototype.zc,bt.prototype.Ac=function(){return m(0==this.b),this.a.Ja()},bt.prototype.readSint64=bt.prototype.Ac,bt.prototype.Bc=function(){return m(0==this.b),this.a.Ka()},bt.prototype.readSint64String=bt.prototype.Bc,bt.prototype.Rb=function(){return m(5==this.b),this.a.m()},bt.prototype.readFixed32=bt.prototype.Rb,bt.prototype.Sb=function(){return m(1==this.b),this.a.ga()},bt.prototype.readFixed64=bt.prototype.Sb,bt.prototype.Tb=function(){return m(1==this.b),this.a.ha()},bt.prototype.readFixed64String=bt.prototype.Tb,bt.prototype.vc=function(){return m(5==this.b),this.a.P()},bt.prototype.readSfixed32=bt.prototype.vc,bt.prototype.wc=function(){return m(5==this.b),this.a.P().toString()},bt.prototype.readSfixed32String=bt.prototype.wc,bt.prototype.xc=function(){return m(1==this.b),this.a.ba()},bt.prototype.readSfixed64=bt.prototype.xc,bt.prototype.yc=function(){return m(1==this.b),this.a.ca()},bt.prototype.readSfixed64String=bt.prototype.yc,bt.prototype.aa=function(){return m(5==this.b),this.a.aa()},bt.prototype.readFloat=bt.prototype.aa,bt.prototype.Z=function(){return m(1==this.b),this.a.Z()},bt.prototype.readDouble=bt.prototype.Z,bt.prototype.pa=function(){return m(0==this.b),!!this.a.o()},bt.prototype.readBool=bt.prototype.pa,bt.prototype.ra=function(){return m(0==this.b),this.a.sa()},bt.prototype.readEnum=bt.prototype.ra,bt.prototype.fa=function(){m(2==this.b);var t=this.a.o();return this.a.fa(t)},bt.prototype.readString=bt.prototype.fa,bt.prototype.qa=function(){m(2==this.b);var t=this.a.o();return this.a.qa(t)},bt.prototype.readBytes=bt.prototype.qa,bt.prototype.ia=function(){return m(0==this.b),this.a.ia()},bt.prototype.readVarintHash64=bt.prototype.ia,bt.prototype.Cc=function(){return m(0==this.b),this.a.fb()},bt.prototype.readSintHash64=bt.prototype.Cc,bt.prototype.w=function(t){return m(0==this.b),this.a.w(t)},bt.prototype.readSplitVarint64=bt.prototype.w,bt.prototype.ea=function(t){return m(0==this.b),this.a.w((function(o,r){return rt(o,r,t)}))},bt.prototype.readSplitZigzagVarint64=bt.prototype.ea,bt.prototype.$=function(){return m(1==this.b),this.a.$()},bt.prototype.readFixedHash64=bt.prototype.$,bt.prototype.ta=function(t){return m(1==this.b),this.a.ta(t)},bt.prototype.readSplitFixed64=bt.prototype.ta,bt.prototype.gc=function(){return St(this,this.a.da)},bt.prototype.readPackedInt32=bt.prototype.gc,bt.prototype.hc=function(){return St(this,this.a.Ea)},bt.prototype.readPackedInt32String=bt.prototype.hc,bt.prototype.ic=function(){return St(this,this.a.sa)},bt.prototype.readPackedInt64=bt.prototype.ic,bt.prototype.jc=function(){return St(this,this.a.Fa)},bt.prototype.readPackedInt64String=bt.prototype.jc,bt.prototype.qc=function(){return St(this,this.a.o)},bt.prototype.readPackedUint32=bt.prototype.qc,bt.prototype.rc=function(){return St(this,this.a.O)},bt.prototype.readPackedUint32String=bt.prototype.rc,bt.prototype.sc=function(){return St(this,this.a.Ga)},bt.prototype.readPackedUint64=bt.prototype.sc,bt.prototype.tc=function(){return St(this,this.a.Ha)},bt.prototype.readPackedUint64String=bt.prototype.tc,bt.prototype.nc=function(){return St(this,this.a.Ia)},bt.prototype.readPackedSint32=bt.prototype.nc,bt.prototype.oc=function(){return St(this,this.a.Ja)},bt.prototype.readPackedSint64=bt.prototype.oc,bt.prototype.pc=function(){return St(this,this.a.Ka)},bt.prototype.readPackedSint64String=bt.prototype.pc,bt.prototype.bc=function(){return St(this,this.a.m)},bt.prototype.readPackedFixed32=bt.prototype.bc,bt.prototype.cc=function(){return St(this,this.a.ga)},bt.prototype.readPackedFixed64=bt.prototype.cc,bt.prototype.dc=function(){return St(this,this.a.ha)},bt.prototype.readPackedFixed64String=bt.prototype.dc,bt.prototype.kc=function(){return St(this,this.a.P)},bt.prototype.readPackedSfixed32=bt.prototype.kc,bt.prototype.lc=function(){return St(this,this.a.ba)},bt.prototype.readPackedSfixed64=bt.prototype.lc,bt.prototype.mc=function(){return St(this,this.a.ca)},bt.prototype.readPackedSfixed64String=bt.prototype.mc,bt.prototype.fc=function(){return St(this,this.a.aa)},bt.prototype.readPackedFloat=bt.prototype.fc,bt.prototype.$b=function(){return St(this,this.a.Z)},bt.prototype.readPackedDouble=bt.prototype.$b,bt.prototype.Zb=function(){return St(this,this.a.pa)},bt.prototype.readPackedBool=bt.prototype.Zb,bt.prototype.ac=function(){return St(this,this.a.ra)},bt.prototype.readPackedEnum=bt.prototype.ac,bt.prototype.uc=function(){return St(this,this.a.ia)},bt.prototype.readPackedVarintHash64=bt.prototype.uc,bt.prototype.ec=function(){return St(this,this.a.$)},bt.prototype.readPackedFixedHash64=bt.prototype.ec,c("jspb.ExtensionFieldInfo",jt,void 0),c("jspb.ExtensionFieldBinaryInfo",xt,void 0),jt.prototype.F=function(){return!!this.la},jt.prototype.isMessageType=jt.prototype.F,c("jspb.Message",Ft,void 0),Ft.GENERATE_TO_OBJECT=!0,Ft.GENERATE_FROM_OBJECT=!0;var mt="function"==typeof Uint8Array;Ft.prototype.Ib=function(){return this.b},Ft.prototype.getJsPbMessageId=Ft.prototype.Ib,Ft.initialize=function(t,o,r,e,i,n){if(t.f=null,o||(o=r?[r]:[]),t.b=r?String(r):void 0,t.D=0===r?-1:0,t.u=o,r=t.u.length,o=-1,!r||(o=r-1,r=t.u[o],null===r||"object"!=typeof r||Array.isArray(r)||mt&&r instanceof Uint8Array)?-1<e?(t.G=Math.max(e,o+1-t.D),t.i=null):t.G=Number.MAX_VALUE:(t.G=o-t.D,t.i=r),t.a={},i)for(e=0;e<i.length;e++)o=i[e],o<t.G?(o+=t.D,t.u[o]=t.u[o]||kt):(At(t),t.i[o]=t.i[o]||kt);if(n&&n.length)for(e=0;e<n.length;e++)Ht(t,n[e])};var kt=Object.freeze?Object.freeze([]):[];function At(t){var o=t.G+t.D;t.u[o]||(t.i=t.u[o]={})}function Mt(t,o,r){for(var e=[],i=0;i<t.length;i++)e[i]=o.call(t[i],r,t[i]);return e}function Ct(t,o){if(o<t.G){o+=t.D;var r=t.u[o];return r===kt?t.u[o]=[]:r}if(t.i)return r=t.i[o],r===kt?t.i[o]=[]:r}function Pt(t,o){return t=Ct(t,o),null==t?t:+t}function Et(t,o){return t=Ct(t,o),null==t?t:!!t}function It(t){return null==t||"string"===typeof t?t:mt&&t instanceof Uint8Array?D(t):(M("Cannot coerce to b64 string: "+l(t)),null)}function Bt(t){return null==t||t instanceof Uint8Array?t:"string"===typeof t?L(t):(M("Cannot coerce to Uint8Array: "+l(t)),null)}function Ot(t){if(t&&1<t.length){var o=l(t[0]);S(t,(function(t){l(t)!=o&&M("Inconsistent type in JSPB repeated field array. Got "+l(t)+" expected "+o)}))}}function Ut(t,o,r){return t=Ct(t,o),null==t?r:t}function Tt(t,o,r){return C(t,Ft),o<t.G?t.u[o+t.D]=r:(At(t),t.i[o]=r),t}function Rt(t,o,r,e){return C(t,Ft),r!==e?Tt(t,o,r):o<t.G?t.u[o+t.D]=null:(At(t),delete t.i[o]),t}function Vt(t,o,r,e){return C(t,Ft),(r=Ht(t,r))&&r!==o&&void 0!==e&&(t.f&&r in t.f&&(t.f[r]=void 0),Tt(t,r,void 0)),Tt(t,o,e)}function Ht(t,o){for(var r,e,i=0;i<o.length;i++){var n=o[i],p=Ct(t,n);null!=p&&(r=n,e=p,Tt(t,n,void 0))}return r?(Tt(t,r,e),r):0}function Nt(t,o,r){if(t.f||(t.f={}),!t.f[r]){for(var e=Ct(t,r),i=[],n=0;n<e.length;n++)i[n]=new o(e[n]);t.f[r]=i}}function Dt(t){if(t.f)for(var o in t.f){var r=t.f[o];if(Array.isArray(r))for(var e=0;e<r.length;e++)r[e]&&r[e].g();else r&&r.g()}}function Lt(t,o){t=t||{},o=o||{};var r,e={};for(r in t)e[r]=0;for(r in o)e[r]=0;for(r in e)if(!zt(t[r],o[r]))return!1;return!0}function zt(t,o){if(t==o)return!0;if(!d(t)||!d(o))return!!("number"===typeof t&&isNaN(t)||"number"===typeof o&&isNaN(o))&&String(t)==String(o);if(t.constructor!=o.constructor)return!1;if(mt&&t.constructor===Uint8Array){if(t.length!=o.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!=o[r])return!1;return!0}if(t.constructor===Array){var e=void 0,i=void 0,n=Math.max(t.length,o.length);for(r=0;r<n;r++){var p=t[r],a=o[r];if(p&&p.constructor==Object&&(m(void 0===e),m(r===t.length-1),e=p,p=void 0),a&&a.constructor==Object&&(m(void 0===i),m(r===o.length-1),i=a,a=void 0),!zt(p,a))return!1}return!e&&!i||(e=e||{},i=i||{},Lt(e,i))}if(t.constructor===Object)return Lt(t,o);throw Error("Invalid type in JSPB array")}function Wt(t){return new t.constructor(_t(t.g()))}function _t(t){if(Array.isArray(t)){for(var o=Array(t.length),r=0;r<t.length;r++){var e=t[r];null!=e&&(o[r]="object"==typeof e?_t(m(e)):e)}return o}if(mt&&t instanceof Uint8Array)return new Uint8Array(t);for(r in o={},t)e=t[r],null!=e&&(o[r]="object"==typeof e?_t(m(e)):e);return o}Ft.toObjectList=Mt,Ft.toObjectExtension=function(t,o,r,e,i){for(var n in r){var p=r[n],a=e.call(t,p);if(null!=a){for(var s in p.Ba)if(p.Ba.hasOwnProperty(s))break;o[s]=p.Na?p.na?Mt(a,p.Na,i):p.Na(i,a):a}}},Ft.serializeBinaryExtensions=function(t,o,r,e){for(var i in r){var n=r[i],p=n.Za;if(!n.Aa)throw Error("Message extension present that was generated without binary serialization support");var a=e.call(t,p);if(null!=a)if(p.F()){if(!n.Wa)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");n.Aa.call(o,p.ma,a,n.Wa)}else n.Aa.call(o,p.ma,a)}},Ft.readBinaryExtension=function(t,o,r,e,i){var n=r[o.c];if(n){if(r=n.Za,!n.za)throw Error("Deserializing extension whose generated code does not support binary format");if(r.F()){var p=new r.la;n.za.call(o,p,n.Ab)}else p=n.za.call(o);r.na&&!n.Nb?(o=e.call(t,r))?o.push(p):i.call(t,r,[p]):i.call(t,r,p)}else o.C()},Ft.getField=Ct,Ft.getRepeatedField=function(t,o){return Ct(t,o)},Ft.getOptionalFloatingPointField=Pt,Ft.getBooleanField=Et,Ft.getRepeatedFloatingPointField=function(t,o){var r=Ct(t,o);if(t.a||(t.a={}),!t.a[o]){for(var e=0;e<r.length;e++)r[e]=+r[e];t.a[o]=!0}return r},Ft.getRepeatedBooleanField=function(t,o){var r=Ct(t,o);if(t.a||(t.a={}),!t.a[o]){for(var e=0;e<r.length;e++)r[e]=!!r[e];t.a[o]=!0}return r},Ft.bytesAsB64=It,Ft.bytesAsU8=Bt,Ft.bytesListAsB64=function(t){return Ot(t),t.length&&"string"!==typeof t[0]?j(t,It):t},Ft.bytesListAsU8=function(t){return Ot(t),!t.length||t[0]instanceof Uint8Array?t:j(t,Bt)},Ft.getFieldWithDefault=Ut,Ft.getBooleanFieldWithDefault=function(t,o,r){return t=Et(t,o),null==t?r:t},Ft.getFloatingPointFieldWithDefault=function(t,o,r){return t=Pt(t,o),null==t?r:t},Ft.getFieldProto3=Ut,Ft.getMapField=function(t,o,r,e){if(t.f||(t.f={}),o in t.f)return t.f[o];var i=Ct(t,o);if(!i){if(r)return;i=[],Tt(t,o,i)}return t.f[o]=new E(i,e)},Ft.setField=Tt,Ft.setProto3IntField=function(t,o,r){return Rt(t,o,r,0)},Ft.setProto3FloatField=function(t,o,r){return Rt(t,o,r,0)},Ft.setProto3BooleanField=function(t,o,r){return Rt(t,o,r,!1)},Ft.setProto3StringField=function(t,o,r){return Rt(t,o,r,"")},Ft.setProto3BytesField=function(t,o,r){return Rt(t,o,r,"")},Ft.setProto3EnumField=function(t,o,r){return Rt(t,o,r,0)},Ft.setProto3StringIntField=function(t,o,r){return Rt(t,o,r,"0")},Ft.addToRepeatedField=function(t,o,r,e){return C(t,Ft),o=Ct(t,o),void 0!=e?o.splice(e,0,r):o.push(r),t},Ft.setOneofField=Vt,Ft.computeOneofCase=Ht,Ft.getWrapperField=function(t,o,r,e){if(t.f||(t.f={}),!t.f[r]){var i=Ct(t,r);(e||i)&&(t.f[r]=new o(i))}return t.f[r]},Ft.getRepeatedWrapperField=function(t,o,r){return Nt(t,o,r),o=t.f[r],o==kt&&(o=t.f[r]=[]),o},Ft.setWrapperField=function(t,o,r){C(t,Ft),t.f||(t.f={});var e=r?r.g():r;return t.f[o]=r,Tt(t,o,e)},Ft.setOneofWrapperField=function(t,o,r,e){C(t,Ft),t.f||(t.f={});var i=e?e.g():e;return t.f[o]=e,Vt(t,o,r,i)},Ft.setRepeatedWrapperField=function(t,o,r){C(t,Ft),t.f||(t.f={}),r=r||[];for(var e=[],i=0;i<r.length;i++)e[i]=r[i].g();return t.f[o]=r,Tt(t,o,e)},Ft.addToRepeatedWrapperField=function(t,o,r,e,i){Nt(t,e,o);var n=t.f[o];return n||(n=t.f[o]=[]),r=r||new e,t=Ct(t,o),void 0!=i?(n.splice(i,0,r),t.splice(i,0,r.g())):(n.push(r),t.push(r.g())),r},Ft.toMap=function(t,o,r,e){for(var i={},n=0;n<t.length;n++)i[o.call(t[n])]=r?r.call(t[n],e,t[n]):t[n];return i},Ft.prototype.g=function(){return Dt(this),this.u},Ft.prototype.toArray=Ft.prototype.g,Ft.prototype.toString=function(){return Dt(this),this.u.toString()},Ft.prototype.getExtension=function(t){if(this.i){this.f||(this.f={});var o=t.ma;if(t.na){if(t.F())return this.f[o]||(this.f[o]=j(this.i[o]||[],(function(o){return new t.la(o)}))),this.f[o]}else if(t.F())return!this.f[o]&&this.i[o]&&(this.f[o]=new t.la(this.i[o])),this.f[o];return this.i[o]}},Ft.prototype.getExtension=Ft.prototype.getExtension,Ft.prototype.Kc=function(t,o){this.f||(this.f={}),At(this);var r=t.ma;return t.na?(o=o||[],t.F()?(this.f[r]=o,this.i[r]=j(o,(function(t){return t.g()}))):this.i[r]=o):t.F()?(this.f[r]=o,this.i[r]=o?o.g():o):this.i[r]=o,this},Ft.prototype.setExtension=Ft.prototype.Kc,Ft.difference=function(t,o){if(!(t instanceof o.constructor))throw Error("Messages have different types.");var r=t.g();o=o.g();var e=[],i=0,n=r.length>o.length?r.length:o.length;for(t.b&&(e[0]=t.b,i=1);i<n;i++)zt(r[i],o[i])||(e[i]=o[i]);return new t.constructor(e)},Ft.equals=function(t,o){return t==o||!(!t||!o)&&t instanceof o.constructor&&zt(t.g(),o.g())},Ft.compareExtensions=Lt,Ft.compareFields=zt,Ft.prototype.Bb=function(){return Wt(this)},Ft.prototype.cloneMessage=Ft.prototype.Bb,Ft.prototype.clone=function(){return Wt(this)},Ft.prototype.clone=Ft.prototype.clone,Ft.clone=function(t){return Wt(t)},Ft.copyInto=function(t,o){C(t,Ft),C(o,Ft),m(t.constructor==o.constructor,"Copy source and target message should have the same type."),t=Wt(t);for(var r=o.g(),e=t.g(),i=r.length=0;i<e.length;i++)r[i]=e[i];o.f=t.f,o.i=t.i},Ft.registerMessageType=function(t,o){o.we=t};var Zt={dump:function(t){return C(t,Ft,"jspb.Message instance expected"),m(t.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),Zt.X(t)}};function Gt(){this.a=[]}function Jt(t,o){this.lo=t,this.hi=o}function $t(t,o){var r=65535&t;t>>>=16;var e=65535&o,i=o>>>16;for(o=r*e+65536*(r*i&65535)+65536*(t*e&65535),r=t*i+(r*i>>>16)+(t*e>>>16);4294967296<=o;)o-=4294967296,r+=1;return new Jt(o>>>0,r>>>0)}function Kt(t){for(var o=new Jt(0,0),r=new Jt(0,0),e=0;e<t.length;e++){if("0">t[e]||"9"<t[e])return null;r.lo=parseInt(t[e],10),o=o.eb(10).add(r)}return o}function Xt(t,o){this.lo=t,this.hi=o}function Yt(t){var o=0<t.length&&"-"==t[0];return o&&(t=t.substring(1)),t=Kt(t),null===t?null:(o&&(t=new Jt(0,0).sub(t)),new Xt(t.lo,t.hi))}function qt(){this.c=[],this.b=0,this.a=new Gt,this.h=[]}function Qt(t,o){var r=t.a.end();t.c.push(r),t.c.push(o),t.b+=r.length+o.length}function to(t,o){return ro(t,o,2),o=t.a.end(),t.c.push(o),t.b+=o.length,o.push(t.b),o}function oo(t,o){var r=o.pop();for(r=t.b+t.a.length()-r,m(0<=r);127<r;)o.push(127&r|128),r>>>=7,t.b++;o.push(r),t.b++}function ro(t,o,r){m(1<=o&&o==Math.floor(o)),t.a.j(8*o+r)}function eo(t,o,r){null!=r&&(ro(t,o,0),t.a.j(r))}function io(t,o,r){null!=r&&(ro(t,o,0),t.a.M(r))}c("jspb.debug.dump",Zt.dump,void 0),Zt.X=function(t){var o=l(t);if("number"==o||"string"==o||"boolean"==o||"null"==o||"undefined"==o||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array)return t;if("array"==o)return A(t),j(t,Zt.X);if(t instanceof E){var r={};t=t.entries();for(var e=t.next();!e.done;e=t.next())r[e.value[0]]=Zt.X(e.value[1]);return r}C(t,Ft,"Only messages expected: "+t),o=t.constructor;var i={$name:o.name||o.displayName};for(a in o.prototype){var n=/^get([A-Z]\w*)/.exec(a);if(n&&"getExtension"!=a&&"getJsPbMessageId"!=a){var p="has"+n[1];t[p]&&!t[p]()||(p=t[a](),i[Zt.$a(n[1])]=Zt.X(p))}}if(t.extensionObject_)return i.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",i;for(e in o.extensions)if(/^\d+$/.test(e)){p=o.extensions[e];var a=t.getExtension(p);n=void 0,p=p.Ba;var s=[],h=0;for(n in p)s[h++]=n;n=s[0],null!=a&&(r||(r=i.$extensions={}),r[Zt.$a(n)]=Zt.X(a))}return i},Zt.$a=function(t){return t.replace(/^[A-Z]/,(function(t){return t.toLowerCase()}))},c("jspb.BinaryEncoder",Gt,void 0),Gt.prototype.length=function(){return this.a.length},Gt.prototype.length=Gt.prototype.length,Gt.prototype.end=function(){var t=this.a;return this.a=[],t},Gt.prototype.end=Gt.prototype.end,Gt.prototype.l=function(t,o){for(m(t==Math.floor(t)),m(o==Math.floor(o)),m(0<=t&&4294967296>t),m(0<=o&&4294967296>o);0<o||127<t;)this.a.push(127&t|128),t=(t>>>7|o<<25)>>>0,o>>>=7;this.a.push(t)},Gt.prototype.writeSplitVarint64=Gt.prototype.l,Gt.prototype.A=function(t,o){m(t==Math.floor(t)),m(o==Math.floor(o)),m(0<=t&&4294967296>t),m(0<=o&&4294967296>o),this.s(t),this.s(o)},Gt.prototype.writeSplitFixed64=Gt.prototype.A,Gt.prototype.j=function(t){for(m(t==Math.floor(t)),m(0<=t&&4294967296>t);127<t;)this.a.push(127&t|128),t>>>=7;this.a.push(t)},Gt.prototype.writeUnsignedVarint32=Gt.prototype.j,Gt.prototype.M=function(t){if(m(t==Math.floor(t)),m(-2147483648<=t&&2147483648>t),0<=t)this.j(t);else{for(var o=0;9>o;o++)this.a.push(127&t|128),t>>=7;this.a.push(1)}},Gt.prototype.writeSignedVarint32=Gt.prototype.M,Gt.prototype.va=function(t){m(t==Math.floor(t)),m(0<=t&&0x10000000000000000>t),J(t),this.l(_,Z)},Gt.prototype.writeUnsignedVarint64=Gt.prototype.va,Gt.prototype.ua=function(t){m(t==Math.floor(t)),m(-0x8000000000000000<=t&&0x8000000000000000>t),J(t),this.l(_,Z)},Gt.prototype.writeSignedVarint64=Gt.prototype.ua,Gt.prototype.wa=function(t){m(t==Math.floor(t)),m(-2147483648<=t&&2147483648>t),this.j((t<<1^t>>31)>>>0)},Gt.prototype.writeZigzagVarint32=Gt.prototype.wa,Gt.prototype.xa=function(t){m(t==Math.floor(t)),m(-0x8000000000000000<=t&&0x8000000000000000>t),$(t),this.l(_,Z)},Gt.prototype.writeZigzagVarint64=Gt.prototype.xa,Gt.prototype.Ta=function(t){this.W(ht(t))},Gt.prototype.writeZigzagVarint64String=Gt.prototype.Ta,Gt.prototype.W=function(t){var o=this;Y(t),tt(_,Z,(function(t,r){o.l(t>>>0,r>>>0)}))},Gt.prototype.writeZigzagVarintHash64=Gt.prototype.W,Gt.prototype.be=function(t){m(t==Math.floor(t)),m(0<=t&&256>t),this.a.push(t>>>0&255)},Gt.prototype.writeUint8=Gt.prototype.be,Gt.prototype.ae=function(t){m(t==Math.floor(t)),m(0<=t&&65536>t),this.a.push(t>>>0&255),this.a.push(t>>>8&255)},Gt.prototype.writeUint16=Gt.prototype.ae,Gt.prototype.s=function(t){m(t==Math.floor(t)),m(0<=t&&4294967296>t),this.a.push(t>>>0&255),this.a.push(t>>>8&255),this.a.push(t>>>16&255),this.a.push(t>>>24&255)},Gt.prototype.writeUint32=Gt.prototype.s,Gt.prototype.V=function(t){m(t==Math.floor(t)),m(0<=t&&0x10000000000000000>t),G(t),this.s(_),this.s(Z)},Gt.prototype.writeUint64=Gt.prototype.V,Gt.prototype.Qc=function(t){m(t==Math.floor(t)),m(-128<=t&&128>t),this.a.push(t>>>0&255)},Gt.prototype.writeInt8=Gt.prototype.Qc,Gt.prototype.Pc=function(t){m(t==Math.floor(t)),m(-32768<=t&&32768>t),this.a.push(t>>>0&255),this.a.push(t>>>8&255)},Gt.prototype.writeInt16=Gt.prototype.Pc,Gt.prototype.S=function(t){m(t==Math.floor(t)),m(-2147483648<=t&&2147483648>t),this.a.push(t>>>0&255),this.a.push(t>>>8&255),this.a.push(t>>>16&255),this.a.push(t>>>24&255)},Gt.prototype.writeInt32=Gt.prototype.S,Gt.prototype.T=function(t){m(t==Math.floor(t)),m(-0x8000000000000000<=t&&0x8000000000000000>t),J(t),this.A(_,Z)},Gt.prototype.writeInt64=Gt.prototype.T,Gt.prototype.ka=function(t){m(t==Math.floor(t)),m(-0x8000000000000000<=+t&&0x8000000000000000>+t),Y(ht(t)),this.A(_,Z)},Gt.prototype.writeInt64String=Gt.prototype.ka,Gt.prototype.L=function(t){m(1/0===t||-1/0===t||isNaN(t)||-34028234663852886e22<=t&&34028234663852886e22>=t),K(t),this.s(_)},Gt.prototype.writeFloat=Gt.prototype.L,Gt.prototype.J=function(t){m(1/0===t||-1/0===t||isNaN(t)||-17976931348623157e292<=t&&17976931348623157e292>=t),X(t),this.s(_),this.s(Z)},Gt.prototype.writeDouble=Gt.prototype.J,Gt.prototype.I=function(t){m("boolean"===typeof t||"number"===typeof t),this.a.push(t?1:0)},Gt.prototype.writeBool=Gt.prototype.I,Gt.prototype.R=function(t){m(t==Math.floor(t)),m(-2147483648<=t&&2147483648>t),this.M(t)},Gt.prototype.writeEnum=Gt.prototype.R,Gt.prototype.ja=function(t){this.a.push.apply(this.a,t)},Gt.prototype.writeBytes=Gt.prototype.ja,Gt.prototype.N=function(t){Y(t),this.l(_,Z)},Gt.prototype.writeVarintHash64=Gt.prototype.N,Gt.prototype.K=function(t){Y(t),this.s(_),this.s(Z)},Gt.prototype.writeFixedHash64=Gt.prototype.K,Gt.prototype.U=function(t){var o=this.a.length;k(t);for(var r=0;r<t.length;r++){var e=t.charCodeAt(r);if(128>e)this.a.push(e);else if(2048>e)this.a.push(e>>6|192),this.a.push(63&e|128);else if(65536>e)if(55296<=e&&56319>=e&&r+1<t.length){var i=t.charCodeAt(r+1);56320<=i&&57343>=i&&(e=1024*(e-55296)+i-56320+65536,this.a.push(e>>18|240),this.a.push(e>>12&63|128),this.a.push(e>>6&63|128),this.a.push(63&e|128),r++)}else this.a.push(e>>12|224),this.a.push(e>>6&63|128),this.a.push(63&e|128)}return this.a.length-o},Gt.prototype.writeString=Gt.prototype.U,c("jspb.arith.UInt64",Jt,void 0),Jt.prototype.cmp=function(t){return this.hi<t.hi||this.hi==t.hi&&this.lo<t.lo?-1:this.hi==t.hi&&this.lo==t.lo?0:1},Jt.prototype.cmp=Jt.prototype.cmp,Jt.prototype.La=function(){return new Jt((this.lo>>>1|(1&this.hi)<<31)>>>0,this.hi>>>1>>>0)},Jt.prototype.rightShift=Jt.prototype.La,Jt.prototype.Da=function(){return new Jt(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},Jt.prototype.leftShift=Jt.prototype.Da,Jt.prototype.cb=function(){return!!(2147483648&this.hi)},Jt.prototype.msb=Jt.prototype.cb,Jt.prototype.Ob=function(){return!!(1&this.lo)},Jt.prototype.lsb=Jt.prototype.Ob,Jt.prototype.Ua=function(){return 0==this.lo&&0==this.hi},Jt.prototype.zero=Jt.prototype.Ua,Jt.prototype.add=function(t){return new Jt((this.lo+t.lo&4294967295)>>>0>>>0,((this.hi+t.hi&4294967295)>>>0)+(4294967296<=this.lo+t.lo?1:0)>>>0)},Jt.prototype.add=Jt.prototype.add,Jt.prototype.sub=function(t){return new Jt((this.lo-t.lo&4294967295)>>>0>>>0,((this.hi-t.hi&4294967295)>>>0)-(0>this.lo-t.lo?1:0)>>>0)},Jt.prototype.sub=Jt.prototype.sub,Jt.mul32x32=$t,Jt.prototype.eb=function(t){var o=$t(this.lo,t);return t=$t(this.hi,t),t.hi=t.lo,t.lo=0,o.add(t)},Jt.prototype.mul=Jt.prototype.eb,Jt.prototype.Xa=function(t){if(0==t)return[];var o=new Jt(0,0),r=new Jt(this.lo,this.hi);t=new Jt(t,0);for(var e=new Jt(1,0);!t.cb();)t=t.Da(),e=e.Da();for(;!e.Ua();)0>=t.cmp(r)&&(o=o.add(e),r=r.sub(t)),t=t.La(),e=e.La();return[o,r]},Jt.prototype.div=Jt.prototype.Xa,Jt.prototype.toString=function(){for(var t="",o=this;!o.Ua();){o=o.Xa(10);var r=o[0];t=o[1].lo+t,o=r}return""==t&&(t="0"),t},Jt.prototype.toString=Jt.prototype.toString,Jt.fromString=Kt,Jt.prototype.clone=function(){return new Jt(this.lo,this.hi)},Jt.prototype.clone=Jt.prototype.clone,c("jspb.arith.Int64",Xt,void 0),Xt.prototype.add=function(t){return new Xt((this.lo+t.lo&4294967295)>>>0>>>0,((this.hi+t.hi&4294967295)>>>0)+(4294967296<=this.lo+t.lo?1:0)>>>0)},Xt.prototype.add=Xt.prototype.add,Xt.prototype.sub=function(t){return new Xt((this.lo-t.lo&4294967295)>>>0>>>0,((this.hi-t.hi&4294967295)>>>0)-(0>this.lo-t.lo?1:0)>>>0)},Xt.prototype.sub=Xt.prototype.sub,Xt.prototype.clone=function(){return new Xt(this.lo,this.hi)},Xt.prototype.clone=Xt.prototype.clone,Xt.prototype.toString=function(){var t=0!=(2147483648&this.hi),o=new Jt(this.lo,this.hi);return t&&(o=new Jt(0,0).sub(o)),(t?"-":"")+o.toString()},Xt.prototype.toString=Xt.prototype.toString,Xt.fromString=Yt,c("jspb.BinaryWriter",qt,void 0),qt.prototype.pb=function(t,o,r){Qt(this,t.subarray(o,r))},qt.prototype.writeSerializedMessage=qt.prototype.pb,qt.prototype.Pb=function(t,o,r){null!=t&&null!=o&&null!=r&&this.pb(t,o,r)},qt.prototype.maybeWriteSerializedMessage=qt.prototype.Pb,qt.prototype.reset=function(){this.c=[],this.a.end(),this.b=0,this.h=[]},qt.prototype.reset=qt.prototype.reset,qt.prototype.ab=function(){m(0==this.h.length);for(var t=new Uint8Array(this.b+this.a.length()),o=this.c,r=o.length,e=0,i=0;i<r;i++){var n=o[i];t.set(n,e),e+=n.length}return o=this.a.end(),t.set(o,e),e+=o.length,m(e==t.length),this.c=[t],t},qt.prototype.getResultBuffer=qt.prototype.ab,qt.prototype.Kb=function(t){return D(this.ab(),t)},qt.prototype.getResultBase64String=qt.prototype.Kb,qt.prototype.Va=function(t){this.h.push(to(this,t))},qt.prototype.beginSubMessage=qt.prototype.Va,qt.prototype.Ya=function(){m(0<=this.h.length),oo(this,this.h.pop())},qt.prototype.endSubMessage=qt.prototype.Ya,qt.prototype.Nc=function(t,o,r){switch(t){case 1:this.J(o,r);break;case 2:this.L(o,r);break;case 3:this.T(o,r);break;case 4:this.V(o,r);break;case 5:this.S(o,r);break;case 6:this.Qa(o,r);break;case 7:this.Pa(o,r);break;case 8:this.I(o,r);break;case 9:this.U(o,r);break;case 10:M("Group field type not supported in writeAny()");break;case 11:M("Message field type not supported in writeAny()");break;case 12:this.ja(o,r);break;case 13:this.s(o,r);break;case 14:this.R(o,r);break;case 15:this.Ra(o,r);break;case 16:this.Sa(o,r);break;case 17:this.rb(o,r);break;case 18:this.sb(o,r);break;case 30:this.K(o,r);break;case 31:this.N(o,r);break;default:M("Invalid field type in writeAny()")}},qt.prototype.writeAny=qt.prototype.Nc,qt.prototype.S=function(t,o){null!=o&&(m(-2147483648<=o&&2147483648>o),io(this,t,o))},qt.prototype.writeInt32=qt.prototype.S,qt.prototype.ob=function(t,o){null!=o&&(o=parseInt(o,10),m(-2147483648<=o&&2147483648>o),io(this,t,o))},qt.prototype.writeInt32String=qt.prototype.ob,qt.prototype.T=function(t,o){null!=o&&(m(-0x8000000000000000<=o&&0x8000000000000000>o),null!=o&&(ro(this,t,0),this.a.ua(o)))},qt.prototype.writeInt64=qt.prototype.T,qt.prototype.ka=function(t,o){null!=o&&(o=Yt(o),ro(this,t,0),this.a.l(o.lo,o.hi))},qt.prototype.writeInt64String=qt.prototype.ka,qt.prototype.s=function(t,o){null!=o&&(m(0<=o&&4294967296>o),eo(this,t,o))},qt.prototype.writeUint32=qt.prototype.s,qt.prototype.ub=function(t,o){null!=o&&(o=parseInt(o,10),m(0<=o&&4294967296>o),eo(this,t,o))},qt.prototype.writeUint32String=qt.prototype.ub,qt.prototype.V=function(t,o){null!=o&&(m(0<=o&&0x10000000000000000>o),null!=o&&(ro(this,t,0),this.a.va(o)))},qt.prototype.writeUint64=qt.prototype.V,qt.prototype.vb=function(t,o){null!=o&&(o=Kt(o),ro(this,t,0),this.a.l(o.lo,o.hi))},qt.prototype.writeUint64String=qt.prototype.vb,qt.prototype.rb=function(t,o){null!=o&&(m(-2147483648<=o&&2147483648>o),null!=o&&(ro(this,t,0),this.a.wa(o)))},qt.prototype.writeSint32=qt.prototype.rb,qt.prototype.sb=function(t,o){null!=o&&(m(-0x8000000000000000<=o&&0x8000000000000000>o),null!=o&&(ro(this,t,0),this.a.xa(o)))},qt.prototype.writeSint64=qt.prototype.sb,qt.prototype.$d=function(t,o){null!=o&&null!=o&&(ro(this,t,0),this.a.W(o))},qt.prototype.writeSintHash64=qt.prototype.$d,qt.prototype.Zd=function(t,o){null!=o&&null!=o&&(ro(this,t,0),this.a.Ta(o))},qt.prototype.writeSint64String=qt.prototype.Zd,qt.prototype.Pa=function(t,o){null!=o&&(m(0<=o&&4294967296>o),ro(this,t,5),this.a.s(o))},qt.prototype.writeFixed32=qt.prototype.Pa,qt.prototype.Qa=function(t,o){null!=o&&(m(0<=o&&0x10000000000000000>o),ro(this,t,1),this.a.V(o))},qt.prototype.writeFixed64=qt.prototype.Qa,qt.prototype.nb=function(t,o){null!=o&&(o=Kt(o),ro(this,t,1),this.a.A(o.lo,o.hi))},qt.prototype.writeFixed64String=qt.prototype.nb,qt.prototype.Ra=function(t,o){null!=o&&(m(-2147483648<=o&&2147483648>o),ro(this,t,5),this.a.S(o))},qt.prototype.writeSfixed32=qt.prototype.Ra,qt.prototype.Sa=function(t,o){null!=o&&(m(-0x8000000000000000<=o&&0x8000000000000000>o),ro(this,t,1),this.a.T(o))},qt.prototype.writeSfixed64=qt.prototype.Sa,qt.prototype.qb=function(t,o){null!=o&&(o=Yt(o),ro(this,t,1),this.a.A(o.lo,o.hi))},qt.prototype.writeSfixed64String=qt.prototype.qb,qt.prototype.L=function(t,o){null!=o&&(ro(this,t,5),this.a.L(o))},qt.prototype.writeFloat=qt.prototype.L,qt.prototype.J=function(t,o){null!=o&&(ro(this,t,1),this.a.J(o))},qt.prototype.writeDouble=qt.prototype.J,qt.prototype.I=function(t,o){null!=o&&(m("boolean"===typeof o||"number"===typeof o),ro(this,t,0),this.a.I(o))},qt.prototype.writeBool=qt.prototype.I,qt.prototype.R=function(t,o){null!=o&&(m(-2147483648<=o&&2147483648>o),ro(this,t,0),this.a.M(o))},qt.prototype.writeEnum=qt.prototype.R,qt.prototype.U=function(t,o){null!=o&&(t=to(this,t),this.a.U(o),oo(this,t))},qt.prototype.writeString=qt.prototype.U,qt.prototype.ja=function(t,o){null!=o&&(o=ct(o),ro(this,t,2),this.a.j(o.length),Qt(this,o))},qt.prototype.writeBytes=qt.prototype.ja,qt.prototype.Rc=function(t,o,r){null!=o&&(t=to(this,t),r(o,this),oo(this,t))},qt.prototype.writeMessage=qt.prototype.Rc,qt.prototype.Sc=function(t,o,r){null!=o&&(ro(this,1,3),ro(this,2,0),this.a.M(t),t=to(this,3),r(o,this),oo(this,t),ro(this,1,4))},qt.prototype.writeMessageSet=qt.prototype.Sc,qt.prototype.Oc=function(t,o,r){null!=o&&(ro(this,t,3),r(o,this),ro(this,t,4))},qt.prototype.writeGroup=qt.prototype.Oc,qt.prototype.K=function(t,o){null!=o&&(m(8==o.length),ro(this,t,1),this.a.K(o))},qt.prototype.writeFixedHash64=qt.prototype.K,qt.prototype.N=function(t,o){null!=o&&(m(8==o.length),ro(this,t,0),this.a.N(o))},qt.prototype.writeVarintHash64=qt.prototype.N,qt.prototype.A=function(t,o,r){ro(this,t,1),this.a.A(o,r)},qt.prototype.writeSplitFixed64=qt.prototype.A,qt.prototype.l=function(t,o,r){ro(this,t,0),this.a.l(o,r)},qt.prototype.writeSplitVarint64=qt.prototype.l,qt.prototype.tb=function(t,o,r){ro(this,t,0);var e=this.a;tt(o,r,(function(t,o){e.l(t>>>0,o>>>0)}))},qt.prototype.writeSplitZigzagVarint64=qt.prototype.tb,qt.prototype.Ed=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)io(this,t,o[r])},qt.prototype.writeRepeatedInt32=qt.prototype.Ed,qt.prototype.Fd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.ob(t,o[r])},qt.prototype.writeRepeatedInt32String=qt.prototype.Fd,qt.prototype.Gd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++){var e=o[r];null!=e&&(ro(this,t,0),this.a.ua(e))}},qt.prototype.writeRepeatedInt64=qt.prototype.Gd,qt.prototype.Qd=function(t,o,r,e){if(null!=o)for(var i=0;i<o.length;i++)this.A(t,r(o[i]),e(o[i]))},qt.prototype.writeRepeatedSplitFixed64=qt.prototype.Qd,qt.prototype.Rd=function(t,o,r,e){if(null!=o)for(var i=0;i<o.length;i++)this.l(t,r(o[i]),e(o[i]))},qt.prototype.writeRepeatedSplitVarint64=qt.prototype.Rd,qt.prototype.Sd=function(t,o,r,e){if(null!=o)for(var i=0;i<o.length;i++)this.tb(t,r(o[i]),e(o[i]))},qt.prototype.writeRepeatedSplitZigzagVarint64=qt.prototype.Sd,qt.prototype.Hd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.ka(t,o[r])},qt.prototype.writeRepeatedInt64String=qt.prototype.Hd,qt.prototype.Ud=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)eo(this,t,o[r])},qt.prototype.writeRepeatedUint32=qt.prototype.Ud,qt.prototype.Vd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.ub(t,o[r])},qt.prototype.writeRepeatedUint32String=qt.prototype.Vd,qt.prototype.Wd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++){var e=o[r];null!=e&&(ro(this,t,0),this.a.va(e))}},qt.prototype.writeRepeatedUint64=qt.prototype.Wd,qt.prototype.Xd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.vb(t,o[r])},qt.prototype.writeRepeatedUint64String=qt.prototype.Xd,qt.prototype.Md=function(t,o){if(null!=o)for(var r=0;r<o.length;r++){var e=o[r];null!=e&&(ro(this,t,0),this.a.wa(e))}},qt.prototype.writeRepeatedSint32=qt.prototype.Md,qt.prototype.Nd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++){var e=o[r];null!=e&&(ro(this,t,0),this.a.xa(e))}},qt.prototype.writeRepeatedSint64=qt.prototype.Nd,qt.prototype.Od=function(t,o){if(null!=o)for(var r=0;r<o.length;r++){var e=o[r];null!=e&&(ro(this,t,0),this.a.Ta(e))}},qt.prototype.writeRepeatedSint64String=qt.prototype.Od,qt.prototype.Pd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++){var e=o[r];null!=e&&(ro(this,t,0),this.a.W(e))}},qt.prototype.writeRepeatedSintHash64=qt.prototype.Pd,qt.prototype.yd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.Pa(t,o[r])},qt.prototype.writeRepeatedFixed32=qt.prototype.yd,qt.prototype.zd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.Qa(t,o[r])},qt.prototype.writeRepeatedFixed64=qt.prototype.zd,qt.prototype.Ad=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.nb(t,o[r])},qt.prototype.writeRepeatedFixed64String=qt.prototype.Ad,qt.prototype.Jd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.Ra(t,o[r])},qt.prototype.writeRepeatedSfixed32=qt.prototype.Jd,qt.prototype.Kd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.Sa(t,o[r])},qt.prototype.writeRepeatedSfixed64=qt.prototype.Kd,qt.prototype.Ld=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.qb(t,o[r])},qt.prototype.writeRepeatedSfixed64String=qt.prototype.Ld,qt.prototype.Cd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.L(t,o[r])},qt.prototype.writeRepeatedFloat=qt.prototype.Cd,qt.prototype.wd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.J(t,o[r])},qt.prototype.writeRepeatedDouble=qt.prototype.wd,qt.prototype.ud=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.I(t,o[r])},qt.prototype.writeRepeatedBool=qt.prototype.ud,qt.prototype.xd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.R(t,o[r])},qt.prototype.writeRepeatedEnum=qt.prototype.xd,qt.prototype.Td=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.U(t,o[r])},qt.prototype.writeRepeatedString=qt.prototype.Td,qt.prototype.vd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.ja(t,o[r])},qt.prototype.writeRepeatedBytes=qt.prototype.vd,qt.prototype.Id=function(t,o,r){if(null!=o)for(var e=0;e<o.length;e++){var i=to(this,t);r(o[e],this),oo(this,i)}},qt.prototype.writeRepeatedMessage=qt.prototype.Id,qt.prototype.Dd=function(t,o,r){if(null!=o)for(var e=0;e<o.length;e++)ro(this,t,3),r(o[e],this),ro(this,t,4)},qt.prototype.writeRepeatedGroup=qt.prototype.Dd,qt.prototype.Bd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.K(t,o[r])},qt.prototype.writeRepeatedFixedHash64=qt.prototype.Bd,qt.prototype.Yd=function(t,o){if(null!=o)for(var r=0;r<o.length;r++)this.N(t,o[r])},qt.prototype.writeRepeatedVarintHash64=qt.prototype.Yd,qt.prototype.ad=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.M(o[r]);oo(this,t)}},qt.prototype.writePackedInt32=qt.prototype.ad,qt.prototype.bd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.M(parseInt(o[r],10));oo(this,t)}},qt.prototype.writePackedInt32String=qt.prototype.bd,qt.prototype.cd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.ua(o[r]);oo(this,t)}},qt.prototype.writePackedInt64=qt.prototype.cd,qt.prototype.md=function(t,o,r,e){if(null!=o){t=to(this,t);for(var i=0;i<o.length;i++)this.a.A(r(o[i]),e(o[i]));oo(this,t)}},qt.prototype.writePackedSplitFixed64=qt.prototype.md,qt.prototype.nd=function(t,o,r,e){if(null!=o){t=to(this,t);for(var i=0;i<o.length;i++)this.a.l(r(o[i]),e(o[i]));oo(this,t)}},qt.prototype.writePackedSplitVarint64=qt.prototype.nd,qt.prototype.od=function(t,o,r,e){if(null!=o){t=to(this,t);for(var i=this.a,n=0;n<o.length;n++)tt(r(o[n]),e(o[n]),(function(t,o){i.l(t>>>0,o>>>0)}));oo(this,t)}},qt.prototype.writePackedSplitZigzagVarint64=qt.prototype.od,qt.prototype.dd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++){var e=Yt(o[r]);this.a.l(e.lo,e.hi)}oo(this,t)}},qt.prototype.writePackedInt64String=qt.prototype.dd,qt.prototype.pd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.j(o[r]);oo(this,t)}},qt.prototype.writePackedUint32=qt.prototype.pd,qt.prototype.qd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.j(parseInt(o[r],10));oo(this,t)}},qt.prototype.writePackedUint32String=qt.prototype.qd,qt.prototype.rd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.va(o[r]);oo(this,t)}},qt.prototype.writePackedUint64=qt.prototype.rd,qt.prototype.sd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++){var e=Kt(o[r]);this.a.l(e.lo,e.hi)}oo(this,t)}},qt.prototype.writePackedUint64String=qt.prototype.sd,qt.prototype.hd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.wa(o[r]);oo(this,t)}},qt.prototype.writePackedSint32=qt.prototype.hd,qt.prototype.jd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.xa(o[r]);oo(this,t)}},qt.prototype.writePackedSint64=qt.prototype.jd,qt.prototype.kd=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.W(ht(o[r]));oo(this,t)}},qt.prototype.writePackedSint64String=qt.prototype.kd,qt.prototype.ld=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.W(o[r]);oo(this,t)}},qt.prototype.writePackedSintHash64=qt.prototype.ld,qt.prototype.Wc=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(4*o.length),t=0;t<o.length;t++)this.a.s(o[t])},qt.prototype.writePackedFixed32=qt.prototype.Wc,qt.prototype.Xc=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(8*o.length),t=0;t<o.length;t++)this.a.V(o[t])},qt.prototype.writePackedFixed64=qt.prototype.Xc,qt.prototype.Yc=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(8*o.length),t=0;t<o.length;t++){var r=Kt(o[t]);this.a.A(r.lo,r.hi)}},qt.prototype.writePackedFixed64String=qt.prototype.Yc,qt.prototype.ed=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(4*o.length),t=0;t<o.length;t++)this.a.S(o[t])},qt.prototype.writePackedSfixed32=qt.prototype.ed,qt.prototype.fd=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(8*o.length),t=0;t<o.length;t++)this.a.T(o[t])},qt.prototype.writePackedSfixed64=qt.prototype.fd,qt.prototype.gd=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(8*o.length),t=0;t<o.length;t++)this.a.ka(o[t])},qt.prototype.writePackedSfixed64String=qt.prototype.gd,qt.prototype.$c=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(4*o.length),t=0;t<o.length;t++)this.a.L(o[t])},qt.prototype.writePackedFloat=qt.prototype.$c,qt.prototype.Uc=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(8*o.length),t=0;t<o.length;t++)this.a.J(o[t])},qt.prototype.writePackedDouble=qt.prototype.Uc,qt.prototype.Tc=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(o.length),t=0;t<o.length;t++)this.a.I(o[t])},qt.prototype.writePackedBool=qt.prototype.Tc,qt.prototype.Vc=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.R(o[r]);oo(this,t)}},qt.prototype.writePackedEnum=qt.prototype.Vc,qt.prototype.Zc=function(t,o){if(null!=o&&o.length)for(ro(this,t,2),this.a.j(8*o.length),t=0;t<o.length;t++)this.a.K(o[t])},qt.prototype.writePackedFixedHash64=qt.prototype.Zc,qt.prototype.td=function(t,o){if(null!=o&&o.length){t=to(this,t);for(var r=0;r<o.length;r++)this.a.N(o[r]);oo(this,t)}},qt.prototype.writePackedVarintHash64=qt.prototype.td,o.debug=Zt,o.Map=E,o.Message=Ft,o.BinaryReader=bt,o.BinaryWriter=qt,o.ExtensionFieldInfo=jt,o.ExtensionFieldBinaryInfo=xt,o.exportSymbol=g,o.inherits=b,o.object={extend:w},o.typeOf=l}).call(this,r("c8ba"))}}]);